@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.
@@ -13,7 +13,7 @@ export const customer = z.object({
13
13
  .string()
14
14
  .uuid()
15
15
  .nullable()
16
- .describe('ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.'),
16
+ .describe('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.'),
17
17
  }).describe(`
18
18
  ---
19
19
  route_path: /customers
@@ -1 +1 @@
1
- {"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,yIAAyI,CAC1I;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,mLAAmL,CACpL;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -11985,7 +11985,7 @@ const openapi = {
11985
11985
  type: 'string',
11986
11986
  },
11987
11987
  customization_profile_id: {
11988
- description: 'ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.',
11988
+ description: '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.',
11989
11989
  format: 'uuid',
11990
11990
  nullable: true,
11991
11991
  type: 'string',
@@ -66240,7 +66240,7 @@ const openapi = {
66240
66240
  },
66241
66241
  '/workspaces/customization_profiles/create': {
66242
66242
  post: {
66243
- description: 'Updates the customization profile for the workspace.',
66243
+ description: "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.",
66244
66244
  operationId: 'workspacesCustomizationProfilesCreatePost',
66245
66245
  requestBody: {
66246
66246
  content: {
@@ -66307,7 +66307,7 @@ const openapi = {
66307
66307
  'x-fern-sdk-method-name': 'create',
66308
66308
  'x-fern-sdk-return-value': 'customization_profile',
66309
66309
  'x-response-key': 'customization_profile',
66310
- 'x-title': 'Update Customization Profile',
66310
+ 'x-title': 'Create Customization Profile',
66311
66311
  'x-undocumented': 'Unreleased.',
66312
66312
  },
66313
66313
  },
@@ -66363,14 +66363,14 @@ const openapi = {
66363
66363
  },
66364
66364
  '/workspaces/customization_profiles/list': {
66365
66365
  get: {
66366
- description: 'Retrieves the customization profile for the workspace.',
66366
+ description: '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`.',
66367
66367
  operationId: 'workspacesCustomizationProfilesListGet',
66368
66368
  parameters: [
66369
66369
  {
66370
66370
  in: 'query',
66371
66371
  name: 'customer_key',
66372
66372
  schema: {
66373
- description: 'Customer key for which you want to list customization profiles.',
66373
+ description: 'Key of the customer whose owned customization profiles you want to list. This filters by owner, not by the profile the customer uses.',
66374
66374
  minLength: 1,
66375
66375
  type: 'string',
66376
66376
  },
@@ -66413,7 +66413,7 @@ const openapi = {
66413
66413
  'x-fern-sdk-method-name': 'list',
66414
66414
  'x-fern-sdk-return-value': 'customization_profiles',
66415
66415
  'x-response-key': 'customization_profiles',
66416
- 'x-title': 'Get Customization Profile',
66416
+ 'x-title': 'List Customization Profiles',
66417
66417
  'x-undocumented': 'Unreleased.',
66418
66418
  },
66419
66419
  },