Skip to content

Commit cb45db9

Browse files
Version Packages (#116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 4551691 commit cb45db9

File tree

3 files changed

+31
-28
lines changed

3 files changed

+31
-28
lines changed

.changeset/mighty-moles-raise.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @team-plain/typescript-sdk
22

3+
## 4.0.0
4+
5+
### Major Changes
6+
7+
- 4551691: Added the following queries:
8+
9+
- `getCustomerCustomerGroupMemberships`
10+
- `getCustomerTenantMemberships`
11+
- `getTenantById`
12+
- `getTenants`
13+
- `searchTenants`
14+
- `getCompanies`
15+
- `searchCompanies`
16+
- `getTierById`
17+
- `getTiers`
18+
19+
Added support for the following mutations:
20+
21+
- `upsertTenant`
22+
- `setCustomerTenants`
23+
- `addCustomerToTenants`
24+
- `removeCustomerFromTenants`
25+
- `updateCustomerCompany`
26+
- `addMembersToTier`
27+
- `removeMembersFromTier`
28+
29+
Breaking change:
30+
31+
- You previously received customer group memberships whenever you got a customer back. As there might be many customer groups this is now it's own separate query (`getCustomerCustomerGroupMemberships`). This allows you to fetch and paginate through a customer's customer groups.
32+
333
## 3.9.0
434

535
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@team-plain/typescript-sdk",
3-
"version": "3.9.0",
3+
"version": "4.0.0",
44
"description": "Typescript SDK for Plain's Core GraphQL API",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)