@seamapi/types 1.1093.0 → 1.1094.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.
@@ -824,6 +824,7 @@ export declare const external_resources: z.ZodObject<{
824
824
  export type ExternalResources = z.infer<typeof external_resources>;
825
825
  export declare const customer_data: z.ZodObject<{
826
826
  customer_key: z.ZodEffects<z.ZodString, string, string>;
827
+ customization_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
828
  } & {
828
829
  spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
830
  name: z.ZodString;
@@ -1327,6 +1328,7 @@ export declare const customer_data: z.ZodObject<{
1327
1328
  name: string;
1328
1329
  property_key: string;
1329
1330
  }[] | undefined;
1331
+ customization_profile_id?: string | null | undefined;
1330
1332
  user_identities?: {
1331
1333
  name: string;
1332
1334
  user_identity_key: string;
@@ -1492,6 +1494,7 @@ export declare const customer_data: z.ZodObject<{
1492
1494
  name: string;
1493
1495
  property_key: string;
1494
1496
  }[] | undefined;
1497
+ customization_profile_id?: string | null | undefined;
1495
1498
  user_identities?: {
1496
1499
  name: string;
1497
1500
  user_identity_key: string;
@@ -77,6 +77,12 @@ export const customer_data = z
77
77
  message: 'Must not have leading or trailing whitespace',
78
78
  })
79
79
  .describe('Your unique identifier for the customer.'),
80
+ customization_profile_id: z
81
+ .string()
82
+ .uuid()
83
+ .nullable()
84
+ .optional()
85
+ .describe("ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile."),
80
86
  })
81
87
  .merge(external_resources);
82
88
  export * from './access-grant-resources.js';
@@ -1 +1 @@
1
- {"version":3,"file":"customer-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,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AC3B,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,EAAE,EAAE;QACnC,OAAO,EAAE,8CAA8C;KACxD,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;CACxD,CAAC;KACD,KAAK,CAAC,kBAAkB,CAAC,CAAA;AAI5B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
1
+ {"version":3,"file":"customer-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,aAAa,GACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,EAAE;SACV,QAAQ,CAAC,kCAAkC,CAAC;IAC/C,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,aAAa,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,EAAE;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,CAAC;SACf,KAAK,CAAC,sBAAsB,CAAC;SAC7B,QAAQ,EAAE;SACV,QAAQ,CAAC,0BAA0B,CAAC;IACvC,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;IAErC,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,QAAQ,CAAC,uBAAuB,CAAC;IACpC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC5E,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,EAAE,EAAE;QACnC,OAAO,EAAE,8CAA8C;KACxD,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;IACvD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iMAAiM,CAClM;CACJ,CAAC;KACD,KAAK,CAAC,kBAAkB,CAAC,CAAA;AAI5B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
@@ -3,13 +3,16 @@ export declare const customer: z.ZodObject<{
3
3
  customer_key: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
5
  created_at: z.ZodString;
6
+ customization_profile_id: z.ZodNullable<z.ZodString>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  workspace_id: string;
8
9
  created_at: string;
9
10
  customer_key: string;
11
+ customization_profile_id: string | null;
10
12
  }, {
11
13
  workspace_id: string;
12
14
  created_at: string;
13
15
  customer_key: string;
16
+ customization_profile_id: string | null;
14
17
  }>;
15
18
  export type Customer = z.infer<typeof customer>;
@@ -9,6 +9,11 @@ export const customer = z.object({
9
9
  .uuid()
10
10
  .describe('ID of the workspace associated with the customer.'),
11
11
  created_at: datetime.describe('Date and time at which the customer was created.'),
12
+ customization_profile_id: z
13
+ .string()
14
+ .uuid()
15
+ .nullable()
16
+ .describe('ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.'),
12
17
  }).describe(`
13
18
  ---
14
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;CACF,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,yIAAyI,CAC1I;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -11984,13 +11984,24 @@ const openapi = {
11984
11984
  description: 'Unique key for the customer within the workspace.',
11985
11985
  type: 'string',
11986
11986
  },
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.',
11989
+ format: 'uuid',
11990
+ nullable: true,
11991
+ type: 'string',
11992
+ },
11987
11993
  workspace_id: {
11988
11994
  description: 'ID of the workspace associated with the customer.',
11989
11995
  format: 'uuid',
11990
11996
  type: 'string',
11991
11997
  },
11992
11998
  },
11993
- required: ['customer_key', 'workspace_id', 'created_at'],
11999
+ required: [
12000
+ 'customer_key',
12001
+ 'workspace_id',
12002
+ 'created_at',
12003
+ 'customization_profile_id',
12004
+ ],
11994
12005
  type: 'object',
11995
12006
  'x-route-path': '/customers',
11996
12007
  'x-undocumented': 'Internal resource.',
@@ -44276,6 +44287,12 @@ const openapi = {
44276
44287
  minLength: 1,
44277
44288
  type: 'string',
44278
44289
  },
44290
+ customization_profile_id: {
44291
+ description: "ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile.",
44292
+ format: 'uuid',
44293
+ nullable: true,
44294
+ type: 'string',
44295
+ },
44279
44296
  facilities: {
44280
44297
  description: 'List of gym or fitness facilities.',
44281
44298
  items: {
@@ -45324,6 +45341,12 @@ const openapi = {
45324
45341
  minLength: 1,
45325
45342
  type: 'string',
45326
45343
  },
45344
+ customization_profile_id: {
45345
+ description: "ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile.",
45346
+ format: 'uuid',
45347
+ nullable: true,
45348
+ type: 'string',
45349
+ },
45327
45350
  facilities: {
45328
45351
  description: 'List of gym or fitness facilities.',
45329
45352
  items: {
@@ -56833,6 +56856,65 @@ const openapi = {
56833
56856
  'x-undocumented': 'Internal endpoint for customer portals.',
56834
56857
  },
56835
56858
  },
56859
+ '/seam/customer/v1/customers/get': {
56860
+ get: {
56861
+ description: 'Returns a specified customer.',
56862
+ operationId: 'seamCustomerV1CustomersGetGet',
56863
+ parameters: [
56864
+ {
56865
+ in: 'query',
56866
+ name: 'customer_key',
56867
+ schema: {
56868
+ description: 'Key of the customer that you want to get.',
56869
+ minLength: 1,
56870
+ type: 'string',
56871
+ },
56872
+ },
56873
+ {
56874
+ in: 'query',
56875
+ name: 'customer_id',
56876
+ schema: {
56877
+ description: 'ID of the customer that you want to get.',
56878
+ format: 'uuid',
56879
+ type: 'string',
56880
+ },
56881
+ },
56882
+ ],
56883
+ responses: {
56884
+ '200': {
56885
+ content: {
56886
+ 'application/json': {
56887
+ schema: {
56888
+ properties: {
56889
+ customer: { $ref: '#/components/schemas/customer' },
56890
+ ok: { type: 'boolean' },
56891
+ },
56892
+ required: ['customer', 'ok'],
56893
+ type: 'object',
56894
+ },
56895
+ },
56896
+ },
56897
+ description: 'OK',
56898
+ },
56899
+ '400': { description: 'Bad Request' },
56900
+ '401': { description: 'Unauthorized' },
56901
+ },
56902
+ security: [
56903
+ { api_key: [] },
56904
+ { pat_with_workspace: [] },
56905
+ { console_session_with_workspace: [] },
56906
+ ],
56907
+ summary: '/seam/customer/v1/customers/get',
56908
+ tags: [],
56909
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
56910
+ 'x-fern-sdk-method-name': 'get',
56911
+ 'x-fern-sdk-return-value': 'customer',
56912
+ 'x-has-required-parameters': true,
56913
+ 'x-response-key': 'customer',
56914
+ 'x-title': 'Get a Customer',
56915
+ 'x-undocumented': 'Internal endpoint for Console.',
56916
+ },
56917
+ },
56836
56918
  '/seam/customer/v1/customers/list': {
56837
56919
  get: {
56838
56920
  description: 'Returns a list of all customers within the workspace.',