@seamapi/types 1.1092.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.
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -18
- package/lib/seam/connect/models/customer/access-grant-resources.js +2 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +33 -30
- 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/openapi.js +95 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +47 -12
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -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/openapi.ts +98 -7
- package/src/lib/seam/connect/route-types.ts +49 -12
|
@@ -43384,6 +43384,8 @@ export type Routes = {
|
|
|
43384
43384
|
customer_data?: {
|
|
43385
43385
|
/** Your unique identifier for the customer. */
|
|
43386
43386
|
customer_key: string;
|
|
43387
|
+
/** 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. */
|
|
43388
|
+
customization_profile_id?: (string | null) | undefined;
|
|
43387
43389
|
/** List of general spaces or areas. */
|
|
43388
43390
|
spaces?: {
|
|
43389
43391
|
/** Your display name for this location resource. */
|
|
@@ -43580,8 +43582,8 @@ export type Routes = {
|
|
|
43580
43582
|
starts_at?: string | undefined;
|
|
43581
43583
|
/** Ending date and time for the access grant. */
|
|
43582
43584
|
ends_at?: string | undefined;
|
|
43583
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
43584
|
-
preferred_code?: string | undefined;
|
|
43585
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
43586
|
+
preferred_code?: (string | null) | undefined;
|
|
43585
43587
|
/** Your unique identifier for the reservation. */
|
|
43586
43588
|
reservation_key: string;
|
|
43587
43589
|
/** Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
|
|
@@ -43623,8 +43625,8 @@ export type Routes = {
|
|
|
43623
43625
|
starts_at?: string | undefined;
|
|
43624
43626
|
/** Ending date and time for the access grant. */
|
|
43625
43627
|
ends_at?: string | undefined;
|
|
43626
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
43627
|
-
preferred_code?: string | undefined;
|
|
43628
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
43629
|
+
preferred_code?: (string | null) | undefined;
|
|
43628
43630
|
/** Your unique identifier for the booking. */
|
|
43629
43631
|
booking_key: string;
|
|
43630
43632
|
/** Guest key associated with the access grant. */
|
|
@@ -43662,8 +43664,8 @@ export type Routes = {
|
|
|
43662
43664
|
starts_at?: string | undefined;
|
|
43663
43665
|
/** Ending date and time for the access grant. */
|
|
43664
43666
|
ends_at?: string | undefined;
|
|
43665
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
43666
|
-
preferred_code?: string | undefined;
|
|
43667
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
43668
|
+
preferred_code?: (string | null) | undefined;
|
|
43667
43669
|
/** Your unique identifier for the access grant. */
|
|
43668
43670
|
access_grant_key: string;
|
|
43669
43671
|
/** Guest key associated with the access grant. */
|
|
@@ -43791,6 +43793,8 @@ export type Routes = {
|
|
|
43791
43793
|
jsonBody: {
|
|
43792
43794
|
/** Your unique identifier for the customer. */
|
|
43793
43795
|
customer_key: string;
|
|
43796
|
+
/** 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. */
|
|
43797
|
+
customization_profile_id?: (string | null) | undefined;
|
|
43794
43798
|
/** List of general spaces or areas. */
|
|
43795
43799
|
spaces?: {
|
|
43796
43800
|
/** Your display name for this location resource. */
|
|
@@ -43987,8 +43991,8 @@ export type Routes = {
|
|
|
43987
43991
|
starts_at?: string | undefined;
|
|
43988
43992
|
/** Ending date and time for the access grant. */
|
|
43989
43993
|
ends_at?: string | undefined;
|
|
43990
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
43991
|
-
preferred_code?: string | undefined;
|
|
43994
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
43995
|
+
preferred_code?: (string | null) | undefined;
|
|
43992
43996
|
/** Your unique identifier for the reservation. */
|
|
43993
43997
|
reservation_key: string;
|
|
43994
43998
|
/** Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
|
|
@@ -44030,8 +44034,8 @@ export type Routes = {
|
|
|
44030
44034
|
starts_at?: string | undefined;
|
|
44031
44035
|
/** Ending date and time for the access grant. */
|
|
44032
44036
|
ends_at?: string | undefined;
|
|
44033
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
44034
|
-
preferred_code?: string | undefined;
|
|
44037
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
44038
|
+
preferred_code?: (string | null) | undefined;
|
|
44035
44039
|
/** Your unique identifier for the booking. */
|
|
44036
44040
|
booking_key: string;
|
|
44037
44041
|
/** Guest key associated with the access grant. */
|
|
@@ -44069,8 +44073,8 @@ export type Routes = {
|
|
|
44069
44073
|
starts_at?: string | undefined;
|
|
44070
44074
|
/** Ending date and time for the access grant. */
|
|
44071
44075
|
ends_at?: string | undefined;
|
|
44072
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
44073
|
-
preferred_code?: string | undefined;
|
|
44076
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
44077
|
+
preferred_code?: (string | null) | undefined;
|
|
44074
44078
|
/** Your unique identifier for the access grant. */
|
|
44075
44079
|
access_grant_key: string;
|
|
44076
44080
|
/** Guest key associated with the access grant. */
|
|
@@ -84624,6 +84628,34 @@ export type Routes = {
|
|
|
84624
84628
|
jsonResponse: {};
|
|
84625
84629
|
maxDuration: undefined;
|
|
84626
84630
|
};
|
|
84631
|
+
'/seam/customer/v1/customers/get': {
|
|
84632
|
+
route: '/seam/customer/v1/customers/get';
|
|
84633
|
+
method: 'GET' | 'POST';
|
|
84634
|
+
queryParams: {};
|
|
84635
|
+
jsonBody: {};
|
|
84636
|
+
commonParams: {
|
|
84637
|
+
/** Key of the customer that you want to get. */
|
|
84638
|
+
customer_key: string;
|
|
84639
|
+
} | {
|
|
84640
|
+
/** ID of the customer that you want to get. */
|
|
84641
|
+
customer_id: string;
|
|
84642
|
+
};
|
|
84643
|
+
formData: {};
|
|
84644
|
+
jsonResponse: {
|
|
84645
|
+
/** Represents a customer within a workspace. Customers are used to organize resources and manage access for different clients, such as hotels, property managers, and more. */
|
|
84646
|
+
customer: {
|
|
84647
|
+
/** Unique key for the customer within the workspace. */
|
|
84648
|
+
customer_key: string;
|
|
84649
|
+
/** ID of the workspace associated with the customer. */
|
|
84650
|
+
workspace_id: string;
|
|
84651
|
+
/** Date and time at which the customer was created. */
|
|
84652
|
+
created_at: string;
|
|
84653
|
+
/** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
|
|
84654
|
+
customization_profile_id: string | null;
|
|
84655
|
+
};
|
|
84656
|
+
};
|
|
84657
|
+
maxDuration: undefined;
|
|
84658
|
+
};
|
|
84627
84659
|
'/seam/customer/v1/customers/list': {
|
|
84628
84660
|
route: '/seam/customer/v1/customers/list';
|
|
84629
84661
|
method: 'GET' | 'POST';
|
|
@@ -84646,6 +84678,8 @@ export type Routes = {
|
|
|
84646
84678
|
workspace_id: string;
|
|
84647
84679
|
/** Date and time at which the customer was created. */
|
|
84648
84680
|
created_at: string;
|
|
84681
|
+
/** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
|
|
84682
|
+
customization_profile_id: string | null;
|
|
84649
84683
|
}[];
|
|
84650
84684
|
/** Information about the current page of results. */
|
|
84651
84685
|
pagination: {
|
|
@@ -84669,6 +84703,7 @@ export type Routes = {
|
|
|
84669
84703
|
jsonResponse: {
|
|
84670
84704
|
customer: {
|
|
84671
84705
|
customer_key: string;
|
|
84706
|
+
customization_profile_id: string | null;
|
|
84672
84707
|
};
|
|
84673
84708
|
connector?: {
|
|
84674
84709
|
connector_type: string;
|
package/package.json
CHANGED
|
@@ -16,9 +16,10 @@ const base_access_grant_resource = z.object({
|
|
|
16
16
|
.describe('Ending date and time for the access grant.'),
|
|
17
17
|
preferred_code: z
|
|
18
18
|
.string()
|
|
19
|
+
.nullable()
|
|
19
20
|
.optional()
|
|
20
21
|
.describe(
|
|
21
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
22
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
22
23
|
),
|
|
23
24
|
})
|
|
24
25
|
|
|
@@ -106,6 +106,14 @@ export const customer_data = z
|
|
|
106
106
|
message: 'Must not have leading or trailing whitespace',
|
|
107
107
|
})
|
|
108
108
|
.describe('Your unique identifier for the customer.'),
|
|
109
|
+
customization_profile_id: z
|
|
110
|
+
.string()
|
|
111
|
+
.uuid()
|
|
112
|
+
.nullable()
|
|
113
|
+
.optional()
|
|
114
|
+
.describe(
|
|
115
|
+
"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.",
|
|
116
|
+
),
|
|
109
117
|
})
|
|
110
118
|
.merge(external_resources)
|
|
111
119
|
|
|
@@ -13,6 +13,13 @@ export const customer = z.object({
|
|
|
13
13
|
created_at: datetime.describe(
|
|
14
14
|
'Date and time at which the customer was created.',
|
|
15
15
|
),
|
|
16
|
+
customization_profile_id: z
|
|
17
|
+
.string()
|
|
18
|
+
.uuid()
|
|
19
|
+
.nullable()
|
|
20
|
+
.describe(
|
|
21
|
+
'ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.',
|
|
22
|
+
),
|
|
16
23
|
}).describe(`
|
|
17
24
|
---
|
|
18
25
|
route_path: /customers
|
|
@@ -13560,13 +13560,25 @@ const openapi: OpenAPISpec = {
|
|
|
13560
13560
|
description: 'Unique key for the customer within the workspace.',
|
|
13561
13561
|
type: 'string',
|
|
13562
13562
|
},
|
|
13563
|
+
customization_profile_id: {
|
|
13564
|
+
description:
|
|
13565
|
+
'ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile.',
|
|
13566
|
+
format: 'uuid',
|
|
13567
|
+
nullable: true,
|
|
13568
|
+
type: 'string',
|
|
13569
|
+
},
|
|
13563
13570
|
workspace_id: {
|
|
13564
13571
|
description: 'ID of the workspace associated with the customer.',
|
|
13565
13572
|
format: 'uuid',
|
|
13566
13573
|
type: 'string',
|
|
13567
13574
|
},
|
|
13568
13575
|
},
|
|
13569
|
-
required: [
|
|
13576
|
+
required: [
|
|
13577
|
+
'customer_key',
|
|
13578
|
+
'workspace_id',
|
|
13579
|
+
'created_at',
|
|
13580
|
+
'customization_profile_id',
|
|
13581
|
+
],
|
|
13570
13582
|
type: 'object',
|
|
13571
13583
|
'x-route-path': '/customers',
|
|
13572
13584
|
'x-undocumented': 'Internal resource.',
|
|
@@ -48792,7 +48804,8 @@ const openapi: OpenAPISpec = {
|
|
|
48792
48804
|
},
|
|
48793
48805
|
preferred_code: {
|
|
48794
48806
|
description:
|
|
48795
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
48807
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
48808
|
+
nullable: true,
|
|
48796
48809
|
type: 'string',
|
|
48797
48810
|
},
|
|
48798
48811
|
property_keys: {
|
|
@@ -48903,7 +48916,8 @@ const openapi: OpenAPISpec = {
|
|
|
48903
48916
|
},
|
|
48904
48917
|
preferred_code: {
|
|
48905
48918
|
description:
|
|
48906
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
48919
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
48920
|
+
nullable: true,
|
|
48907
48921
|
type: 'string',
|
|
48908
48922
|
},
|
|
48909
48923
|
property_keys: {
|
|
@@ -49016,6 +49030,13 @@ const openapi: OpenAPISpec = {
|
|
|
49016
49030
|
minLength: 1,
|
|
49017
49031
|
type: 'string',
|
|
49018
49032
|
},
|
|
49033
|
+
customization_profile_id: {
|
|
49034
|
+
description:
|
|
49035
|
+
"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.",
|
|
49036
|
+
format: 'uuid',
|
|
49037
|
+
nullable: true,
|
|
49038
|
+
type: 'string',
|
|
49039
|
+
},
|
|
49019
49040
|
facilities: {
|
|
49020
49041
|
description: 'List of gym or fitness facilities.',
|
|
49021
49042
|
items: {
|
|
@@ -49202,7 +49223,8 @@ const openapi: OpenAPISpec = {
|
|
|
49202
49223
|
},
|
|
49203
49224
|
preferred_code: {
|
|
49204
49225
|
description:
|
|
49205
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
49226
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
49227
|
+
nullable: true,
|
|
49206
49228
|
type: 'string',
|
|
49207
49229
|
},
|
|
49208
49230
|
property_keys: {
|
|
@@ -49969,7 +49991,8 @@ const openapi: OpenAPISpec = {
|
|
|
49969
49991
|
},
|
|
49970
49992
|
preferred_code: {
|
|
49971
49993
|
description:
|
|
49972
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
49994
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
49995
|
+
nullable: true,
|
|
49973
49996
|
type: 'string',
|
|
49974
49997
|
},
|
|
49975
49998
|
property_keys: {
|
|
@@ -50080,7 +50103,8 @@ const openapi: OpenAPISpec = {
|
|
|
50080
50103
|
},
|
|
50081
50104
|
preferred_code: {
|
|
50082
50105
|
description:
|
|
50083
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
50106
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
50107
|
+
nullable: true,
|
|
50084
50108
|
type: 'string',
|
|
50085
50109
|
},
|
|
50086
50110
|
property_keys: {
|
|
@@ -50191,6 +50215,13 @@ const openapi: OpenAPISpec = {
|
|
|
50191
50215
|
minLength: 1,
|
|
50192
50216
|
type: 'string',
|
|
50193
50217
|
},
|
|
50218
|
+
customization_profile_id: {
|
|
50219
|
+
description:
|
|
50220
|
+
"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.",
|
|
50221
|
+
format: 'uuid',
|
|
50222
|
+
nullable: true,
|
|
50223
|
+
type: 'string',
|
|
50224
|
+
},
|
|
50194
50225
|
facilities: {
|
|
50195
50226
|
description: 'List of gym or fitness facilities.',
|
|
50196
50227
|
items: {
|
|
@@ -50375,7 +50406,8 @@ const openapi: OpenAPISpec = {
|
|
|
50375
50406
|
},
|
|
50376
50407
|
preferred_code: {
|
|
50377
50408
|
description:
|
|
50378
|
-
'Preferred PIN code to use when creating access for this reservation.',
|
|
50409
|
+
'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
|
|
50410
|
+
nullable: true,
|
|
50379
50411
|
type: 'string',
|
|
50380
50412
|
},
|
|
50381
50413
|
property_keys: {
|
|
@@ -62044,6 +62076,65 @@ const openapi: OpenAPISpec = {
|
|
|
62044
62076
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
62045
62077
|
},
|
|
62046
62078
|
},
|
|
62079
|
+
'/seam/customer/v1/customers/get': {
|
|
62080
|
+
get: {
|
|
62081
|
+
description: 'Returns a specified customer.',
|
|
62082
|
+
operationId: 'seamCustomerV1CustomersGetGet',
|
|
62083
|
+
parameters: [
|
|
62084
|
+
{
|
|
62085
|
+
in: 'query',
|
|
62086
|
+
name: 'customer_key',
|
|
62087
|
+
schema: {
|
|
62088
|
+
description: 'Key of the customer that you want to get.',
|
|
62089
|
+
minLength: 1,
|
|
62090
|
+
type: 'string',
|
|
62091
|
+
},
|
|
62092
|
+
},
|
|
62093
|
+
{
|
|
62094
|
+
in: 'query',
|
|
62095
|
+
name: 'customer_id',
|
|
62096
|
+
schema: {
|
|
62097
|
+
description: 'ID of the customer that you want to get.',
|
|
62098
|
+
format: 'uuid',
|
|
62099
|
+
type: 'string',
|
|
62100
|
+
},
|
|
62101
|
+
},
|
|
62102
|
+
],
|
|
62103
|
+
responses: {
|
|
62104
|
+
'200': {
|
|
62105
|
+
content: {
|
|
62106
|
+
'application/json': {
|
|
62107
|
+
schema: {
|
|
62108
|
+
properties: {
|
|
62109
|
+
customer: { $ref: '#/components/schemas/customer' },
|
|
62110
|
+
ok: { type: 'boolean' },
|
|
62111
|
+
},
|
|
62112
|
+
required: ['customer', 'ok'],
|
|
62113
|
+
type: 'object',
|
|
62114
|
+
},
|
|
62115
|
+
},
|
|
62116
|
+
},
|
|
62117
|
+
description: 'OK',
|
|
62118
|
+
},
|
|
62119
|
+
'400': { description: 'Bad Request' },
|
|
62120
|
+
'401': { description: 'Unauthorized' },
|
|
62121
|
+
},
|
|
62122
|
+
security: [
|
|
62123
|
+
{ api_key: [] },
|
|
62124
|
+
{ pat_with_workspace: [] },
|
|
62125
|
+
{ console_session_with_workspace: [] },
|
|
62126
|
+
],
|
|
62127
|
+
summary: '/seam/customer/v1/customers/get',
|
|
62128
|
+
tags: [],
|
|
62129
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
|
|
62130
|
+
'x-fern-sdk-method-name': 'get',
|
|
62131
|
+
'x-fern-sdk-return-value': 'customer',
|
|
62132
|
+
'x-has-required-parameters': true,
|
|
62133
|
+
'x-response-key': 'customer',
|
|
62134
|
+
'x-title': 'Get a Customer',
|
|
62135
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
62136
|
+
},
|
|
62137
|
+
},
|
|
62047
62138
|
'/seam/customer/v1/customers/list': {
|
|
62048
62139
|
get: {
|
|
62049
62140
|
description: 'Returns a list of all customers within the workspace.',
|
|
@@ -50856,6 +50856,8 @@ export type Routes = {
|
|
|
50856
50856
|
| {
|
|
50857
50857
|
/** Your unique identifier for the customer. */
|
|
50858
50858
|
customer_key: string
|
|
50859
|
+
/** 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. */
|
|
50860
|
+
customization_profile_id?: (string | null) | undefined
|
|
50859
50861
|
/** List of general spaces or areas. */
|
|
50860
50862
|
spaces?:
|
|
50861
50863
|
| {
|
|
@@ -51091,8 +51093,8 @@ export type Routes = {
|
|
|
51091
51093
|
starts_at?: string | undefined
|
|
51092
51094
|
/** Ending date and time for the access grant. */
|
|
51093
51095
|
ends_at?: string | undefined
|
|
51094
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51095
|
-
preferred_code?: string | undefined
|
|
51096
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51097
|
+
preferred_code?: (string | null) | undefined
|
|
51096
51098
|
/** Your unique identifier for the reservation. */
|
|
51097
51099
|
reservation_key: string
|
|
51098
51100
|
/** Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
|
|
@@ -51138,8 +51140,8 @@ export type Routes = {
|
|
|
51138
51140
|
starts_at?: string | undefined
|
|
51139
51141
|
/** Ending date and time for the access grant. */
|
|
51140
51142
|
ends_at?: string | undefined
|
|
51141
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51142
|
-
preferred_code?: string | undefined
|
|
51143
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51144
|
+
preferred_code?: (string | null) | undefined
|
|
51143
51145
|
/** Your unique identifier for the booking. */
|
|
51144
51146
|
booking_key: string
|
|
51145
51147
|
/** Guest key associated with the access grant. */
|
|
@@ -51179,8 +51181,8 @@ export type Routes = {
|
|
|
51179
51181
|
starts_at?: string | undefined
|
|
51180
51182
|
/** Ending date and time for the access grant. */
|
|
51181
51183
|
ends_at?: string | undefined
|
|
51182
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51183
|
-
preferred_code?: string | undefined
|
|
51184
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51185
|
+
preferred_code?: (string | null) | undefined
|
|
51184
51186
|
/** Your unique identifier for the access grant. */
|
|
51185
51187
|
access_grant_key: string
|
|
51186
51188
|
/** Guest key associated with the access grant. */
|
|
@@ -51310,6 +51312,8 @@ export type Routes = {
|
|
|
51310
51312
|
jsonBody: {
|
|
51311
51313
|
/** Your unique identifier for the customer. */
|
|
51312
51314
|
customer_key: string
|
|
51315
|
+
/** 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. */
|
|
51316
|
+
customization_profile_id?: (string | null) | undefined
|
|
51313
51317
|
/** List of general spaces or areas. */
|
|
51314
51318
|
spaces?:
|
|
51315
51319
|
| {
|
|
@@ -51545,8 +51549,8 @@ export type Routes = {
|
|
|
51545
51549
|
starts_at?: string | undefined
|
|
51546
51550
|
/** Ending date and time for the access grant. */
|
|
51547
51551
|
ends_at?: string | undefined
|
|
51548
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51549
|
-
preferred_code?: string | undefined
|
|
51552
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51553
|
+
preferred_code?: (string | null) | undefined
|
|
51550
51554
|
/** Your unique identifier for the reservation. */
|
|
51551
51555
|
reservation_key: string
|
|
51552
51556
|
/** Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
|
|
@@ -51592,8 +51596,8 @@ export type Routes = {
|
|
|
51592
51596
|
starts_at?: string | undefined
|
|
51593
51597
|
/** Ending date and time for the access grant. */
|
|
51594
51598
|
ends_at?: string | undefined
|
|
51595
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51596
|
-
preferred_code?: string | undefined
|
|
51599
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51600
|
+
preferred_code?: (string | null) | undefined
|
|
51597
51601
|
/** Your unique identifier for the booking. */
|
|
51598
51602
|
booking_key: string
|
|
51599
51603
|
/** Guest key associated with the access grant. */
|
|
@@ -51633,8 +51637,8 @@ export type Routes = {
|
|
|
51633
51637
|
starts_at?: string | undefined
|
|
51634
51638
|
/** Ending date and time for the access grant. */
|
|
51635
51639
|
ends_at?: string | undefined
|
|
51636
|
-
/** Preferred PIN code to use when creating access for this reservation. */
|
|
51637
|
-
preferred_code?: string | undefined
|
|
51640
|
+
/** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
|
|
51641
|
+
preferred_code?: (string | null) | undefined
|
|
51638
51642
|
/** Your unique identifier for the access grant. */
|
|
51639
51643
|
access_grant_key: string
|
|
51640
51644
|
/** Guest key associated with the access grant. */
|
|
@@ -101617,6 +101621,36 @@ export type Routes = {
|
|
|
101617
101621
|
jsonResponse: {}
|
|
101618
101622
|
maxDuration: undefined
|
|
101619
101623
|
}
|
|
101624
|
+
'/seam/customer/v1/customers/get': {
|
|
101625
|
+
route: '/seam/customer/v1/customers/get'
|
|
101626
|
+
method: 'GET' | 'POST'
|
|
101627
|
+
queryParams: {}
|
|
101628
|
+
jsonBody: {}
|
|
101629
|
+
commonParams:
|
|
101630
|
+
| {
|
|
101631
|
+
/** Key of the customer that you want to get. */
|
|
101632
|
+
customer_key: string
|
|
101633
|
+
}
|
|
101634
|
+
| {
|
|
101635
|
+
/** ID of the customer that you want to get. */
|
|
101636
|
+
customer_id: string
|
|
101637
|
+
}
|
|
101638
|
+
formData: {}
|
|
101639
|
+
jsonResponse: {
|
|
101640
|
+
/** Represents a customer within a workspace. Customers are used to organize resources and manage access for different clients, such as hotels, property managers, and more. */
|
|
101641
|
+
customer: {
|
|
101642
|
+
/** Unique key for the customer within the workspace. */
|
|
101643
|
+
customer_key: string
|
|
101644
|
+
/** ID of the workspace associated with the customer. */
|
|
101645
|
+
workspace_id: string
|
|
101646
|
+
/** Date and time at which the customer was created. */
|
|
101647
|
+
created_at: string
|
|
101648
|
+
/** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
|
|
101649
|
+
customization_profile_id: string | null
|
|
101650
|
+
}
|
|
101651
|
+
}
|
|
101652
|
+
maxDuration: undefined
|
|
101653
|
+
}
|
|
101620
101654
|
'/seam/customer/v1/customers/list': {
|
|
101621
101655
|
route: '/seam/customer/v1/customers/list'
|
|
101622
101656
|
method: 'GET' | 'POST'
|
|
@@ -101639,6 +101673,8 @@ export type Routes = {
|
|
|
101639
101673
|
workspace_id: string
|
|
101640
101674
|
/** Date and time at which the customer was created. */
|
|
101641
101675
|
created_at: string
|
|
101676
|
+
/** ID of the customization profile associated with the customer. Access grants that automations create for this customer use this profile. */
|
|
101677
|
+
customization_profile_id: string | null
|
|
101642
101678
|
}[]
|
|
101643
101679
|
/** Information about the current page of results. */
|
|
101644
101680
|
pagination: {
|
|
@@ -101662,6 +101698,7 @@ export type Routes = {
|
|
|
101662
101698
|
jsonResponse: {
|
|
101663
101699
|
customer: {
|
|
101664
101700
|
customer_key: string
|
|
101701
|
+
customization_profile_id: string | null
|
|
101665
101702
|
}
|
|
101666
101703
|
connector?:
|
|
101667
101704
|
| {
|