Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .changeset/mighty-moles-raise.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @team-plain/typescript-sdk

## 4.0.0

### Major Changes

- 4551691: Added the following queries:

- `getCustomerCustomerGroupMemberships`
- `getCustomerTenantMemberships`
- `getTenantById`
- `getTenants`
- `searchTenants`
- `getCompanies`
- `searchCompanies`
- `getTierById`
- `getTiers`

Added support for the following mutations:

- `upsertTenant`
- `setCustomerTenants`
- `addCustomerToTenants`
- `removeCustomerFromTenants`
- `updateCustomerCompany`
- `addMembersToTier`
- `removeMembersFromTier`

Breaking change:

- 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.

## 3.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@team-plain/typescript-sdk",
"version": "3.9.0",
"version": "4.0.0",
"description": "Typescript SDK for Plain's Core GraphQL API",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down