@seamapi/types 1.1094.0 → 1.1096.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.
- package/lib/seam/connect/models/customer/customer.js +1 -1
- package/lib/seam/connect/models/customer/customer.js.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +3 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +4 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/openapi.js +10 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer.ts +1 -1
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +12 -4
- package/src/lib/seam/connect/route-types.ts +13 -3
|
@@ -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
|
|
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,
|
|
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"}
|
|
@@ -26,6 +26,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
26
26
|
workspace_id: z.ZodString;
|
|
27
27
|
name: z.ZodNullable<z.ZodString>;
|
|
28
28
|
customization_profile_id: z.ZodString;
|
|
29
|
+
customer_key: z.ZodNullable<z.ZodString>;
|
|
29
30
|
created_at: z.ZodString;
|
|
30
31
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
31
32
|
primary_color: z.ZodOptional<z.ZodString>;
|
|
@@ -57,6 +58,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
57
58
|
name: string | null;
|
|
58
59
|
workspace_id: string;
|
|
59
60
|
created_at: string;
|
|
61
|
+
customer_key: string | null;
|
|
60
62
|
customization_profile_id: string;
|
|
61
63
|
primary_color?: string | undefined;
|
|
62
64
|
secondary_color?: string | undefined;
|
|
@@ -74,6 +76,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
74
76
|
name: string | null;
|
|
75
77
|
workspace_id: string;
|
|
76
78
|
created_at: string;
|
|
79
|
+
customer_key: string | null;
|
|
77
80
|
customization_profile_id: string;
|
|
78
81
|
primary_color?: string | undefined;
|
|
79
82
|
secondary_color?: string | undefined;
|
|
@@ -14,6 +14,10 @@ export const customization_profile = z.object({
|
|
|
14
14
|
workspace_id: z.string().uuid(),
|
|
15
15
|
name: z.string().nullable(),
|
|
16
16
|
customization_profile_id: z.string().uuid(),
|
|
17
|
+
customer_key: z
|
|
18
|
+
.string()
|
|
19
|
+
.nullable()
|
|
20
|
+
.describe('Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer.'),
|
|
17
21
|
created_at: datetime,
|
|
18
22
|
logo_url: z.string().url().optional(),
|
|
19
23
|
primary_color: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC,QAAQ,EAAE;IACxC,wBAAwB,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,cAAc,CAAC,QAAQ,EAAE;IAC1C,0BAA0B,EAAE,cAAc,CAAC,QAAQ,EAAE;IACrD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CACvC,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CACjC,CAAA;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACvD,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOX,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,C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CAOX,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
|
|
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',
|
|
@@ -12048,6 +12048,11 @@ const openapi = {
|
|
|
12048
12048
|
description: 'A customization profile.',
|
|
12049
12049
|
properties: {
|
|
12050
12050
|
created_at: { format: 'date-time', type: 'string' },
|
|
12051
|
+
customer_key: {
|
|
12052
|
+
description: 'Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer.',
|
|
12053
|
+
nullable: true,
|
|
12054
|
+
type: 'string',
|
|
12055
|
+
},
|
|
12051
12056
|
customer_portal_theme: {
|
|
12052
12057
|
properties: {
|
|
12053
12058
|
font_family: { type: 'string' },
|
|
@@ -12077,6 +12082,7 @@ const openapi = {
|
|
|
12077
12082
|
'workspace_id',
|
|
12078
12083
|
'name',
|
|
12079
12084
|
'customization_profile_id',
|
|
12085
|
+
'customer_key',
|
|
12080
12086
|
'created_at',
|
|
12081
12087
|
],
|
|
12082
12088
|
type: 'object',
|
|
@@ -66357,14 +66363,14 @@ const openapi = {
|
|
|
66357
66363
|
},
|
|
66358
66364
|
'/workspaces/customization_profiles/list': {
|
|
66359
66365
|
get: {
|
|
66360
|
-
description: '
|
|
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`.',
|
|
66361
66367
|
operationId: 'workspacesCustomizationProfilesListGet',
|
|
66362
66368
|
parameters: [
|
|
66363
66369
|
{
|
|
66364
66370
|
in: 'query',
|
|
66365
66371
|
name: 'customer_key',
|
|
66366
66372
|
schema: {
|
|
66367
|
-
description: '
|
|
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.',
|
|
66368
66374
|
minLength: 1,
|
|
66369
66375
|
type: 'string',
|
|
66370
66376
|
},
|
|
@@ -66407,7 +66413,7 @@ const openapi = {
|
|
|
66407
66413
|
'x-fern-sdk-method-name': 'list',
|
|
66408
66414
|
'x-fern-sdk-return-value': 'customization_profiles',
|
|
66409
66415
|
'x-response-key': 'customization_profiles',
|
|
66410
|
-
'x-title': '
|
|
66416
|
+
'x-title': 'List Customization Profiles',
|
|
66411
66417
|
'x-undocumented': 'Unreleased.',
|
|
66412
66418
|
},
|
|
66413
66419
|
},
|