@seamapi/types 1.1093.0 → 1.1095.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-data.d.ts +3 -0
- package/lib/seam/connect/models/customer/customer-data.js +6 -0
- package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
- package/lib/seam/connect/models/customer/customer.d.ts +3 -0
- package/lib/seam/connect/models/customer/customer.js +5 -0
- 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 +89 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-data.ts +8 -0
- package/src/lib/seam/connect/models/customer/customer.ts +7 -0
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +93 -1
- package/src/lib/seam/connect/route-types.ts +47 -0
|
@@ -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,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;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AC5B,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;
|
|
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"}
|
|
@@ -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,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,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+MAA+M,CAChN;IACH,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"}
|
|
@@ -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: [
|
|
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.',
|
|
@@ -12037,6 +12048,11 @@ const openapi = {
|
|
|
12037
12048
|
description: 'A customization profile.',
|
|
12038
12049
|
properties: {
|
|
12039
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
|
+
},
|
|
12040
12056
|
customer_portal_theme: {
|
|
12041
12057
|
properties: {
|
|
12042
12058
|
font_family: { type: 'string' },
|
|
@@ -12066,6 +12082,7 @@ const openapi = {
|
|
|
12066
12082
|
'workspace_id',
|
|
12067
12083
|
'name',
|
|
12068
12084
|
'customization_profile_id',
|
|
12085
|
+
'customer_key',
|
|
12069
12086
|
'created_at',
|
|
12070
12087
|
],
|
|
12071
12088
|
type: 'object',
|
|
@@ -44276,6 +44293,12 @@ const openapi = {
|
|
|
44276
44293
|
minLength: 1,
|
|
44277
44294
|
type: 'string',
|
|
44278
44295
|
},
|
|
44296
|
+
customization_profile_id: {
|
|
44297
|
+
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.",
|
|
44298
|
+
format: 'uuid',
|
|
44299
|
+
nullable: true,
|
|
44300
|
+
type: 'string',
|
|
44301
|
+
},
|
|
44279
44302
|
facilities: {
|
|
44280
44303
|
description: 'List of gym or fitness facilities.',
|
|
44281
44304
|
items: {
|
|
@@ -45324,6 +45347,12 @@ const openapi = {
|
|
|
45324
45347
|
minLength: 1,
|
|
45325
45348
|
type: 'string',
|
|
45326
45349
|
},
|
|
45350
|
+
customization_profile_id: {
|
|
45351
|
+
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.",
|
|
45352
|
+
format: 'uuid',
|
|
45353
|
+
nullable: true,
|
|
45354
|
+
type: 'string',
|
|
45355
|
+
},
|
|
45327
45356
|
facilities: {
|
|
45328
45357
|
description: 'List of gym or fitness facilities.',
|
|
45329
45358
|
items: {
|
|
@@ -56833,6 +56862,65 @@ const openapi = {
|
|
|
56833
56862
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
56834
56863
|
},
|
|
56835
56864
|
},
|
|
56865
|
+
'/seam/customer/v1/customers/get': {
|
|
56866
|
+
get: {
|
|
56867
|
+
description: 'Returns a specified customer.',
|
|
56868
|
+
operationId: 'seamCustomerV1CustomersGetGet',
|
|
56869
|
+
parameters: [
|
|
56870
|
+
{
|
|
56871
|
+
in: 'query',
|
|
56872
|
+
name: 'customer_key',
|
|
56873
|
+
schema: {
|
|
56874
|
+
description: 'Key of the customer that you want to get.',
|
|
56875
|
+
minLength: 1,
|
|
56876
|
+
type: 'string',
|
|
56877
|
+
},
|
|
56878
|
+
},
|
|
56879
|
+
{
|
|
56880
|
+
in: 'query',
|
|
56881
|
+
name: 'customer_id',
|
|
56882
|
+
schema: {
|
|
56883
|
+
description: 'ID of the customer that you want to get.',
|
|
56884
|
+
format: 'uuid',
|
|
56885
|
+
type: 'string',
|
|
56886
|
+
},
|
|
56887
|
+
},
|
|
56888
|
+
],
|
|
56889
|
+
responses: {
|
|
56890
|
+
'200': {
|
|
56891
|
+
content: {
|
|
56892
|
+
'application/json': {
|
|
56893
|
+
schema: {
|
|
56894
|
+
properties: {
|
|
56895
|
+
customer: { $ref: '#/components/schemas/customer' },
|
|
56896
|
+
ok: { type: 'boolean' },
|
|
56897
|
+
},
|
|
56898
|
+
required: ['customer', 'ok'],
|
|
56899
|
+
type: 'object',
|
|
56900
|
+
},
|
|
56901
|
+
},
|
|
56902
|
+
},
|
|
56903
|
+
description: 'OK',
|
|
56904
|
+
},
|
|
56905
|
+
'400': { description: 'Bad Request' },
|
|
56906
|
+
'401': { description: 'Unauthorized' },
|
|
56907
|
+
},
|
|
56908
|
+
security: [
|
|
56909
|
+
{ api_key: [] },
|
|
56910
|
+
{ pat_with_workspace: [] },
|
|
56911
|
+
{ console_session_with_workspace: [] },
|
|
56912
|
+
],
|
|
56913
|
+
summary: '/seam/customer/v1/customers/get',
|
|
56914
|
+
tags: [],
|
|
56915
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
|
|
56916
|
+
'x-fern-sdk-method-name': 'get',
|
|
56917
|
+
'x-fern-sdk-return-value': 'customer',
|
|
56918
|
+
'x-has-required-parameters': true,
|
|
56919
|
+
'x-response-key': 'customer',
|
|
56920
|
+
'x-title': 'Get a Customer',
|
|
56921
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
56922
|
+
},
|
|
56923
|
+
},
|
|
56836
56924
|
'/seam/customer/v1/customers/list': {
|
|
56837
56925
|
get: {
|
|
56838
56926
|
description: 'Returns a list of all customers within the workspace.',
|