@seamapi/types 1.1095.0 → 1.1097.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84652,7 +84652,7 @@ export type Routes = {
84652
84652
  workspace_id: string;
84653
84653
  /** Date and time at which the customer was created. */
84654
84654
  created_at: string;
84655
- /** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
84655
+ /** ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns. */
84656
84656
  customization_profile_id: string | null;
84657
84657
  };
84658
84658
  };
@@ -84680,7 +84680,7 @@ export type Routes = {
84680
84680
  workspace_id: string;
84681
84681
  /** Date and time at which the customer was created. */
84682
84682
  created_at: string;
84683
- /** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
84683
+ /** ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns. */
84684
84684
  customization_profile_id: string | null;
84685
84685
  }[];
84686
84686
  /** Information about the current page of results. */
@@ -125276,7 +125276,7 @@ export type Routes = {
125276
125276
  queryParams: {};
125277
125277
  jsonBody: {};
125278
125278
  commonParams: {
125279
- /** Customer key for which you want to list customization profiles. */
125279
+ /** Key of the customer whose owned customization profiles you want to list. This filters by owner, not by the profile the customer uses. */
125280
125280
  customer_key?: string | undefined;
125281
125281
  };
125282
125282
  formData: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1095.0",
3
+ "version": "1.1097.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -18,7 +18,7 @@ export const customer = z.object({
18
18
  .uuid()
19
19
  .nullable()
20
20
  .describe(
21
- 'ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.',
21
+ 'ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns.',
22
22
  ),
23
23
  }).describe(`
24
24
  ---
@@ -13562,7 +13562,7 @@ const openapi: OpenAPISpec = {
13562
13562
  },
13563
13563
  customization_profile_id: {
13564
13564
  description:
13565
- 'ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.',
13565
+ 'ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns.',
13566
13566
  format: 'uuid',
13567
13567
  nullable: true,
13568
13568
  type: 'string',
@@ -71954,7 +71954,8 @@ const openapi: OpenAPISpec = {
71954
71954
  },
71955
71955
  '/workspaces/customization_profiles/create': {
71956
71956
  post: {
71957
- description: 'Updates the customization profile for the workspace.',
71957
+ description:
71958
+ "Creates a customization profile. From a customer client session, the profile is owned by that customer, and it becomes the customer's `customization_profile_id` when the customer has none yet.",
71958
71959
  operationId: 'workspacesCustomizationProfilesCreatePost',
71959
71960
  requestBody: {
71960
71961
  content: {
@@ -72021,7 +72022,7 @@ const openapi: OpenAPISpec = {
72021
72022
  'x-fern-sdk-method-name': 'create',
72022
72023
  'x-fern-sdk-return-value': 'customization_profile',
72023
72024
  'x-response-key': 'customization_profile',
72024
- 'x-title': 'Update Customization Profile',
72025
+ 'x-title': 'Create Customization Profile',
72025
72026
  'x-undocumented': 'Unreleased.',
72026
72027
  },
72027
72028
  },
@@ -72077,7 +72078,8 @@ const openapi: OpenAPISpec = {
72077
72078
  },
72078
72079
  '/workspaces/customization_profiles/list': {
72079
72080
  get: {
72080
- description: 'Retrieves the customization profile for the workspace.',
72081
+ description:
72082
+ 'Returns the customization profiles in the workspace. With `customer_key`, or from a customer client session, returns only the profiles that customer owns. A customer can own a profile without using it: the profile applied to the customer is `customization_profile_id` on `/seam/customer/v1/customers/get`.',
72081
72083
  operationId: 'workspacesCustomizationProfilesListGet',
72082
72084
  parameters: [
72083
72085
  {
@@ -72085,7 +72087,7 @@ const openapi: OpenAPISpec = {
72085
72087
  name: 'customer_key',
72086
72088
  schema: {
72087
72089
  description:
72088
- 'Customer key for which you want to list customization profiles.',
72090
+ 'Key of the customer whose owned customization profiles you want to list. This filters by owner, not by the profile the customer uses.',
72089
72091
  minLength: 1,
72090
72092
  type: 'string',
72091
72093
  },
@@ -72128,7 +72130,7 @@ const openapi: OpenAPISpec = {
72128
72130
  'x-fern-sdk-method-name': 'list',
72129
72131
  'x-fern-sdk-return-value': 'customization_profiles',
72130
72132
  'x-response-key': 'customization_profiles',
72131
- 'x-title': 'Get Customization Profile',
72133
+ 'x-title': 'List Customization Profiles',
72132
72134
  'x-undocumented': 'Unreleased.',
72133
72135
  },
72134
72136
  },
@@ -101647,7 +101647,7 @@ export type Routes = {
101647
101647
  workspace_id: string
101648
101648
  /** Date and time at which the customer was created. */
101649
101649
  created_at: string
101650
- /** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
101650
+ /** ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns. */
101651
101651
  customization_profile_id: string | null
101652
101652
  }
101653
101653
  }
@@ -101675,7 +101675,7 @@ export type Routes = {
101675
101675
  workspace_id: string
101676
101676
  /** Date and time at which the customer was created. */
101677
101677
  created_at: string
101678
- /** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
101678
+ /** ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns. */
101679
101679
  customization_profile_id: string | null
101680
101680
  }[]
101681
101681
  /** Information about the current page of results. */
@@ -149906,7 +149906,7 @@ export type Routes = {
149906
149906
  queryParams: {}
149907
149907
  jsonBody: {}
149908
149908
  commonParams: {
149909
- /** Customer key for which you want to list customization profiles. */
149909
+ /** Key of the customer whose owned customization profiles you want to list. This filters by owner, not by the profile the customer uses. */
149910
149910
  customer_key?: string | undefined
149911
149911
  }
149912
149912
  formData: {}