@seamapi/types 1.1091.0 → 1.1093.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/acs/acs-system.js +1 -1
- 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 +30 -30
- package/lib/seam/connect/models/devices/device.js +1 -1
- package/lib/seam/connect/openapi.js +17 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -12
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -1
- package/src/lib/seam/connect/models/devices/device.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +17 -11
- package/src/lib/seam/connect/route-types.ts +12 -12
|
@@ -129,7 +129,7 @@ const insufficient_permissions = common_acs_system_error.extend({
|
|
|
129
129
|
---
|
|
130
130
|
resource_type: acs_system
|
|
131
131
|
---
|
|
132
|
-
Indicates that
|
|
132
|
+
Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider.
|
|
133
133
|
`);
|
|
134
134
|
const acs_system_error = z
|
|
135
135
|
.discriminatedUnion('error_code', [
|
|
@@ -50,7 +50,7 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
50
50
|
name: z.ZodOptional<z.ZodString>;
|
|
51
51
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
52
52
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
53
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
53
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
} & {
|
|
55
55
|
reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
56
56
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
@@ -76,7 +76,7 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
76
76
|
ends_at?: string | undefined;
|
|
77
77
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
78
78
|
user_identity_key?: string | undefined;
|
|
79
|
-
preferred_code?: string | undefined;
|
|
79
|
+
preferred_code?: string | null | undefined;
|
|
80
80
|
guest_key?: string | undefined;
|
|
81
81
|
tenant_key?: string | undefined;
|
|
82
82
|
resident_key?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const reservation_resource: z.ZodObject<{
|
|
|
96
96
|
ends_at?: string | undefined;
|
|
97
97
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
98
98
|
user_identity_key?: string | undefined;
|
|
99
|
-
preferred_code?: string | undefined;
|
|
99
|
+
preferred_code?: string | null | undefined;
|
|
100
100
|
guest_key?: string | undefined;
|
|
101
101
|
tenant_key?: string | undefined;
|
|
102
102
|
resident_key?: string | undefined;
|
|
@@ -114,7 +114,7 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
114
114
|
name: z.ZodOptional<z.ZodString>;
|
|
115
115
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
116
116
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
117
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
117
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
118
|
} & {
|
|
119
119
|
booking_key: z.ZodEffects<z.ZodString, string, string>;
|
|
120
120
|
} & {
|
|
@@ -138,7 +138,7 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
138
138
|
starts_at?: string | undefined;
|
|
139
139
|
ends_at?: string | undefined;
|
|
140
140
|
user_identity_key?: string | undefined;
|
|
141
|
-
preferred_code?: string | undefined;
|
|
141
|
+
preferred_code?: string | null | undefined;
|
|
142
142
|
guest_key?: string | undefined;
|
|
143
143
|
tenant_key?: string | undefined;
|
|
144
144
|
resident_key?: string | undefined;
|
|
@@ -157,7 +157,7 @@ export declare const booking_resource: z.ZodObject<{
|
|
|
157
157
|
starts_at?: string | undefined;
|
|
158
158
|
ends_at?: string | undefined;
|
|
159
159
|
user_identity_key?: string | undefined;
|
|
160
|
-
preferred_code?: string | undefined;
|
|
160
|
+
preferred_code?: string | null | undefined;
|
|
161
161
|
guest_key?: string | undefined;
|
|
162
162
|
tenant_key?: string | undefined;
|
|
163
163
|
resident_key?: string | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
175
175
|
name: z.ZodOptional<z.ZodString>;
|
|
176
176
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
177
177
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
178
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
178
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
179
|
} & {
|
|
180
180
|
access_grant_key: z.ZodEffects<z.ZodString, string, string>;
|
|
181
181
|
} & {
|
|
@@ -199,7 +199,7 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
199
199
|
starts_at?: string | undefined;
|
|
200
200
|
ends_at?: string | undefined;
|
|
201
201
|
user_identity_key?: string | undefined;
|
|
202
|
-
preferred_code?: string | undefined;
|
|
202
|
+
preferred_code?: string | null | undefined;
|
|
203
203
|
guest_key?: string | undefined;
|
|
204
204
|
tenant_key?: string | undefined;
|
|
205
205
|
resident_key?: string | undefined;
|
|
@@ -218,7 +218,7 @@ export declare const access_grant_resource: z.ZodObject<{
|
|
|
218
218
|
starts_at?: string | undefined;
|
|
219
219
|
ends_at?: string | undefined;
|
|
220
220
|
user_identity_key?: string | undefined;
|
|
221
|
-
preferred_code?: string | undefined;
|
|
221
|
+
preferred_code?: string | null | undefined;
|
|
222
222
|
guest_key?: string | undefined;
|
|
223
223
|
tenant_key?: string | undefined;
|
|
224
224
|
resident_key?: string | undefined;
|
|
@@ -236,7 +236,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
236
236
|
name: z.ZodOptional<z.ZodString>;
|
|
237
237
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
238
238
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
239
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
239
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
240
|
} & {
|
|
241
241
|
reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
242
242
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
@@ -262,7 +262,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
262
262
|
ends_at?: string | undefined;
|
|
263
263
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
264
264
|
user_identity_key?: string | undefined;
|
|
265
|
-
preferred_code?: string | undefined;
|
|
265
|
+
preferred_code?: string | null | undefined;
|
|
266
266
|
guest_key?: string | undefined;
|
|
267
267
|
tenant_key?: string | undefined;
|
|
268
268
|
resident_key?: string | undefined;
|
|
@@ -282,7 +282,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
282
282
|
ends_at?: string | undefined;
|
|
283
283
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
284
284
|
user_identity_key?: string | undefined;
|
|
285
|
-
preferred_code?: string | undefined;
|
|
285
|
+
preferred_code?: string | null | undefined;
|
|
286
286
|
guest_key?: string | undefined;
|
|
287
287
|
tenant_key?: string | undefined;
|
|
288
288
|
resident_key?: string | undefined;
|
|
@@ -299,7 +299,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
299
299
|
name: z.ZodOptional<z.ZodString>;
|
|
300
300
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
301
301
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
302
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
302
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
303
|
} & {
|
|
304
304
|
booking_key: z.ZodEffects<z.ZodString, string, string>;
|
|
305
305
|
} & {
|
|
@@ -323,7 +323,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
323
323
|
starts_at?: string | undefined;
|
|
324
324
|
ends_at?: string | undefined;
|
|
325
325
|
user_identity_key?: string | undefined;
|
|
326
|
-
preferred_code?: string | undefined;
|
|
326
|
+
preferred_code?: string | null | undefined;
|
|
327
327
|
guest_key?: string | undefined;
|
|
328
328
|
tenant_key?: string | undefined;
|
|
329
329
|
resident_key?: string | undefined;
|
|
@@ -342,7 +342,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
342
342
|
starts_at?: string | undefined;
|
|
343
343
|
ends_at?: string | undefined;
|
|
344
344
|
user_identity_key?: string | undefined;
|
|
345
|
-
preferred_code?: string | undefined;
|
|
345
|
+
preferred_code?: string | null | undefined;
|
|
346
346
|
guest_key?: string | undefined;
|
|
347
347
|
tenant_key?: string | undefined;
|
|
348
348
|
resident_key?: string | undefined;
|
|
@@ -359,7 +359,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
359
359
|
name: z.ZodOptional<z.ZodString>;
|
|
360
360
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
361
361
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
362
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
362
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
363
|
} & {
|
|
364
364
|
access_grant_key: z.ZodEffects<z.ZodString, string, string>;
|
|
365
365
|
} & {
|
|
@@ -383,7 +383,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
383
383
|
starts_at?: string | undefined;
|
|
384
384
|
ends_at?: string | undefined;
|
|
385
385
|
user_identity_key?: string | undefined;
|
|
386
|
-
preferred_code?: string | undefined;
|
|
386
|
+
preferred_code?: string | null | undefined;
|
|
387
387
|
guest_key?: string | undefined;
|
|
388
388
|
tenant_key?: string | undefined;
|
|
389
389
|
resident_key?: string | undefined;
|
|
@@ -402,7 +402,7 @@ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
|
402
402
|
starts_at?: string | undefined;
|
|
403
403
|
ends_at?: string | undefined;
|
|
404
404
|
user_identity_key?: string | undefined;
|
|
405
|
-
preferred_code?: string | undefined;
|
|
405
|
+
preferred_code?: string | null | undefined;
|
|
406
406
|
guest_key?: string | undefined;
|
|
407
407
|
tenant_key?: string | undefined;
|
|
408
408
|
resident_key?: string | undefined;
|
|
@@ -14,8 +14,9 @@ const base_access_grant_resource = z.object({
|
|
|
14
14
|
.describe('Ending date and time for the access grant.'),
|
|
15
15
|
preferred_code: z
|
|
16
16
|
.string()
|
|
17
|
+
.nullable()
|
|
17
18
|
.optional()
|
|
18
|
-
.describe('Preferred PIN code to use when creating access for this reservation.'),
|
|
19
|
+
.describe('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.'),
|
|
19
20
|
});
|
|
20
21
|
export const user_identity_reference = z.object({
|
|
21
22
|
guest_key: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grant-resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/access-grant-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2CAA2C,CAAC;IACxD,SAAS,EAAE,QAAQ;SAChB,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,OAAO,EAAE,QAAQ;SACd,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;IACzD,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"access-grant-resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/access-grant-resources.ts"],"names":[],"mappings":"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"}
|
|
@@ -310,7 +310,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
310
310
|
name: z.ZodOptional<z.ZodString>;
|
|
311
311
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
312
312
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
313
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
313
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
314
314
|
} & {
|
|
315
315
|
reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
316
316
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
@@ -336,7 +336,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
336
336
|
ends_at?: string | undefined;
|
|
337
337
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
338
338
|
user_identity_key?: string | undefined;
|
|
339
|
-
preferred_code?: string | undefined;
|
|
339
|
+
preferred_code?: string | null | undefined;
|
|
340
340
|
guest_key?: string | undefined;
|
|
341
341
|
tenant_key?: string | undefined;
|
|
342
342
|
resident_key?: string | undefined;
|
|
@@ -356,7 +356,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
356
356
|
ends_at?: string | undefined;
|
|
357
357
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
358
358
|
user_identity_key?: string | undefined;
|
|
359
|
-
preferred_code?: string | undefined;
|
|
359
|
+
preferred_code?: string | null | undefined;
|
|
360
360
|
guest_key?: string | undefined;
|
|
361
361
|
tenant_key?: string | undefined;
|
|
362
362
|
resident_key?: string | undefined;
|
|
@@ -374,7 +374,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
374
374
|
name: z.ZodOptional<z.ZodString>;
|
|
375
375
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
376
376
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
377
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
377
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
378
|
} & {
|
|
379
379
|
booking_key: z.ZodEffects<z.ZodString, string, string>;
|
|
380
380
|
} & {
|
|
@@ -398,7 +398,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
398
398
|
starts_at?: string | undefined;
|
|
399
399
|
ends_at?: string | undefined;
|
|
400
400
|
user_identity_key?: string | undefined;
|
|
401
|
-
preferred_code?: string | undefined;
|
|
401
|
+
preferred_code?: string | null | undefined;
|
|
402
402
|
guest_key?: string | undefined;
|
|
403
403
|
tenant_key?: string | undefined;
|
|
404
404
|
resident_key?: string | undefined;
|
|
@@ -417,7 +417,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
417
417
|
starts_at?: string | undefined;
|
|
418
418
|
ends_at?: string | undefined;
|
|
419
419
|
user_identity_key?: string | undefined;
|
|
420
|
-
preferred_code?: string | undefined;
|
|
420
|
+
preferred_code?: string | null | undefined;
|
|
421
421
|
guest_key?: string | undefined;
|
|
422
422
|
tenant_key?: string | undefined;
|
|
423
423
|
resident_key?: string | undefined;
|
|
@@ -435,7 +435,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
435
435
|
name: z.ZodOptional<z.ZodString>;
|
|
436
436
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
437
437
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
438
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
438
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
439
439
|
} & {
|
|
440
440
|
access_grant_key: z.ZodEffects<z.ZodString, string, string>;
|
|
441
441
|
} & {
|
|
@@ -459,7 +459,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
459
459
|
starts_at?: string | undefined;
|
|
460
460
|
ends_at?: string | undefined;
|
|
461
461
|
user_identity_key?: string | undefined;
|
|
462
|
-
preferred_code?: string | undefined;
|
|
462
|
+
preferred_code?: string | null | undefined;
|
|
463
463
|
guest_key?: string | undefined;
|
|
464
464
|
tenant_key?: string | undefined;
|
|
465
465
|
resident_key?: string | undefined;
|
|
@@ -478,7 +478,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
478
478
|
starts_at?: string | undefined;
|
|
479
479
|
ends_at?: string | undefined;
|
|
480
480
|
user_identity_key?: string | undefined;
|
|
481
|
-
preferred_code?: string | undefined;
|
|
481
|
+
preferred_code?: string | null | undefined;
|
|
482
482
|
guest_key?: string | undefined;
|
|
483
483
|
tenant_key?: string | undefined;
|
|
484
484
|
resident_key?: string | undefined;
|
|
@@ -529,7 +529,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
529
529
|
starts_at?: string | undefined;
|
|
530
530
|
ends_at?: string | undefined;
|
|
531
531
|
user_identity_key?: string | undefined;
|
|
532
|
-
preferred_code?: string | undefined;
|
|
532
|
+
preferred_code?: string | null | undefined;
|
|
533
533
|
guest_key?: string | undefined;
|
|
534
534
|
tenant_key?: string | undefined;
|
|
535
535
|
resident_key?: string | undefined;
|
|
@@ -622,7 +622,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
622
622
|
ends_at?: string | undefined;
|
|
623
623
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
624
624
|
user_identity_key?: string | undefined;
|
|
625
|
-
preferred_code?: string | undefined;
|
|
625
|
+
preferred_code?: string | null | undefined;
|
|
626
626
|
guest_key?: string | undefined;
|
|
627
627
|
tenant_key?: string | undefined;
|
|
628
628
|
resident_key?: string | undefined;
|
|
@@ -642,7 +642,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
642
642
|
starts_at?: string | undefined;
|
|
643
643
|
ends_at?: string | undefined;
|
|
644
644
|
user_identity_key?: string | undefined;
|
|
645
|
-
preferred_code?: string | undefined;
|
|
645
|
+
preferred_code?: string | null | undefined;
|
|
646
646
|
guest_key?: string | undefined;
|
|
647
647
|
tenant_key?: string | undefined;
|
|
648
648
|
resident_key?: string | undefined;
|
|
@@ -693,7 +693,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
693
693
|
starts_at?: string | undefined;
|
|
694
694
|
ends_at?: string | undefined;
|
|
695
695
|
user_identity_key?: string | undefined;
|
|
696
|
-
preferred_code?: string | undefined;
|
|
696
|
+
preferred_code?: string | null | undefined;
|
|
697
697
|
guest_key?: string | undefined;
|
|
698
698
|
tenant_key?: string | undefined;
|
|
699
699
|
resident_key?: string | undefined;
|
|
@@ -786,7 +786,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
786
786
|
ends_at?: string | undefined;
|
|
787
787
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
788
788
|
user_identity_key?: string | undefined;
|
|
789
|
-
preferred_code?: string | undefined;
|
|
789
|
+
preferred_code?: string | null | undefined;
|
|
790
790
|
guest_key?: string | undefined;
|
|
791
791
|
tenant_key?: string | undefined;
|
|
792
792
|
resident_key?: string | undefined;
|
|
@@ -806,7 +806,7 @@ export declare const external_resources: z.ZodObject<{
|
|
|
806
806
|
starts_at?: string | undefined;
|
|
807
807
|
ends_at?: string | undefined;
|
|
808
808
|
user_identity_key?: string | undefined;
|
|
809
|
-
preferred_code?: string | undefined;
|
|
809
|
+
preferred_code?: string | null | undefined;
|
|
810
810
|
guest_key?: string | undefined;
|
|
811
811
|
tenant_key?: string | undefined;
|
|
812
812
|
resident_key?: string | undefined;
|
|
@@ -1135,7 +1135,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1135
1135
|
name: z.ZodOptional<z.ZodString>;
|
|
1136
1136
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
1137
1137
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
1138
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1139
1139
|
} & {
|
|
1140
1140
|
reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1141
1141
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
@@ -1161,7 +1161,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1161
1161
|
ends_at?: string | undefined;
|
|
1162
1162
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1163
1163
|
user_identity_key?: string | undefined;
|
|
1164
|
-
preferred_code?: string | undefined;
|
|
1164
|
+
preferred_code?: string | null | undefined;
|
|
1165
1165
|
guest_key?: string | undefined;
|
|
1166
1166
|
tenant_key?: string | undefined;
|
|
1167
1167
|
resident_key?: string | undefined;
|
|
@@ -1181,7 +1181,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1181
1181
|
ends_at?: string | undefined;
|
|
1182
1182
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1183
1183
|
user_identity_key?: string | undefined;
|
|
1184
|
-
preferred_code?: string | undefined;
|
|
1184
|
+
preferred_code?: string | null | undefined;
|
|
1185
1185
|
guest_key?: string | undefined;
|
|
1186
1186
|
tenant_key?: string | undefined;
|
|
1187
1187
|
resident_key?: string | undefined;
|
|
@@ -1199,7 +1199,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1199
1199
|
name: z.ZodOptional<z.ZodString>;
|
|
1200
1200
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
1201
1201
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
1202
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1203
1203
|
} & {
|
|
1204
1204
|
booking_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1205
1205
|
} & {
|
|
@@ -1223,7 +1223,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1223
1223
|
starts_at?: string | undefined;
|
|
1224
1224
|
ends_at?: string | undefined;
|
|
1225
1225
|
user_identity_key?: string | undefined;
|
|
1226
|
-
preferred_code?: string | undefined;
|
|
1226
|
+
preferred_code?: string | null | undefined;
|
|
1227
1227
|
guest_key?: string | undefined;
|
|
1228
1228
|
tenant_key?: string | undefined;
|
|
1229
1229
|
resident_key?: string | undefined;
|
|
@@ -1242,7 +1242,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1242
1242
|
starts_at?: string | undefined;
|
|
1243
1243
|
ends_at?: string | undefined;
|
|
1244
1244
|
user_identity_key?: string | undefined;
|
|
1245
|
-
preferred_code?: string | undefined;
|
|
1245
|
+
preferred_code?: string | null | undefined;
|
|
1246
1246
|
guest_key?: string | undefined;
|
|
1247
1247
|
tenant_key?: string | undefined;
|
|
1248
1248
|
resident_key?: string | undefined;
|
|
@@ -1260,7 +1260,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1260
1260
|
name: z.ZodOptional<z.ZodString>;
|
|
1261
1261
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
1262
1262
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
preferred_code: z.ZodOptional<z.ZodString
|
|
1263
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1264
1264
|
} & {
|
|
1265
1265
|
access_grant_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1266
1266
|
} & {
|
|
@@ -1284,7 +1284,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1284
1284
|
starts_at?: string | undefined;
|
|
1285
1285
|
ends_at?: string | undefined;
|
|
1286
1286
|
user_identity_key?: string | undefined;
|
|
1287
|
-
preferred_code?: string | undefined;
|
|
1287
|
+
preferred_code?: string | null | undefined;
|
|
1288
1288
|
guest_key?: string | undefined;
|
|
1289
1289
|
tenant_key?: string | undefined;
|
|
1290
1290
|
resident_key?: string | undefined;
|
|
@@ -1303,7 +1303,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1303
1303
|
starts_at?: string | undefined;
|
|
1304
1304
|
ends_at?: string | undefined;
|
|
1305
1305
|
user_identity_key?: string | undefined;
|
|
1306
|
-
preferred_code?: string | undefined;
|
|
1306
|
+
preferred_code?: string | null | undefined;
|
|
1307
1307
|
guest_key?: string | undefined;
|
|
1308
1308
|
tenant_key?: string | undefined;
|
|
1309
1309
|
resident_key?: string | undefined;
|
|
@@ -1355,7 +1355,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1355
1355
|
starts_at?: string | undefined;
|
|
1356
1356
|
ends_at?: string | undefined;
|
|
1357
1357
|
user_identity_key?: string | undefined;
|
|
1358
|
-
preferred_code?: string | undefined;
|
|
1358
|
+
preferred_code?: string | null | undefined;
|
|
1359
1359
|
guest_key?: string | undefined;
|
|
1360
1360
|
tenant_key?: string | undefined;
|
|
1361
1361
|
resident_key?: string | undefined;
|
|
@@ -1448,7 +1448,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1448
1448
|
ends_at?: string | undefined;
|
|
1449
1449
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1450
1450
|
user_identity_key?: string | undefined;
|
|
1451
|
-
preferred_code?: string | undefined;
|
|
1451
|
+
preferred_code?: string | null | undefined;
|
|
1452
1452
|
guest_key?: string | undefined;
|
|
1453
1453
|
tenant_key?: string | undefined;
|
|
1454
1454
|
resident_key?: string | undefined;
|
|
@@ -1468,7 +1468,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1468
1468
|
starts_at?: string | undefined;
|
|
1469
1469
|
ends_at?: string | undefined;
|
|
1470
1470
|
user_identity_key?: string | undefined;
|
|
1471
|
-
preferred_code?: string | undefined;
|
|
1471
|
+
preferred_code?: string | null | undefined;
|
|
1472
1472
|
guest_key?: string | undefined;
|
|
1473
1473
|
tenant_key?: string | undefined;
|
|
1474
1474
|
resident_key?: string | undefined;
|
|
@@ -1520,7 +1520,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1520
1520
|
starts_at?: string | undefined;
|
|
1521
1521
|
ends_at?: string | undefined;
|
|
1522
1522
|
user_identity_key?: string | undefined;
|
|
1523
|
-
preferred_code?: string | undefined;
|
|
1523
|
+
preferred_code?: string | null | undefined;
|
|
1524
1524
|
guest_key?: string | undefined;
|
|
1525
1525
|
tenant_key?: string | undefined;
|
|
1526
1526
|
resident_key?: string | undefined;
|
|
@@ -1613,7 +1613,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1613
1613
|
ends_at?: string | undefined;
|
|
1614
1614
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1615
1615
|
user_identity_key?: string | undefined;
|
|
1616
|
-
preferred_code?: string | undefined;
|
|
1616
|
+
preferred_code?: string | null | undefined;
|
|
1617
1617
|
guest_key?: string | undefined;
|
|
1618
1618
|
tenant_key?: string | undefined;
|
|
1619
1619
|
resident_key?: string | undefined;
|
|
@@ -1633,7 +1633,7 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1633
1633
|
starts_at?: string | undefined;
|
|
1634
1634
|
ends_at?: string | undefined;
|
|
1635
1635
|
user_identity_key?: string | undefined;
|
|
1636
|
-
preferred_code?: string | undefined;
|
|
1636
|
+
preferred_code?: string | null | undefined;
|
|
1637
1637
|
guest_key?: string | undefined;
|
|
1638
1638
|
tenant_key?: string | undefined;
|
|
1639
1639
|
resident_key?: string | undefined;
|
|
@@ -242,7 +242,7 @@ const insufficient_permissions = common_device_error.extend({
|
|
|
242
242
|
---
|
|
243
243
|
resource_type: connected_account
|
|
244
244
|
---
|
|
245
|
-
Indicates that
|
|
245
|
+
Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.
|
|
246
246
|
`);
|
|
247
247
|
export const device_error = z
|
|
248
248
|
.discriminatedUnion('error_code', [
|
|
@@ -502,7 +502,7 @@ const openapi = {
|
|
|
502
502
|
'x-variant-group-key': 'locks',
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
description: "Indicates that
|
|
505
|
+
description: "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
|
|
506
506
|
properties: {
|
|
507
507
|
created_at: {
|
|
508
508
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -4275,7 +4275,7 @@ const openapi = {
|
|
|
4275
4275
|
'x-resource-type': 'acs_system',
|
|
4276
4276
|
},
|
|
4277
4277
|
{
|
|
4278
|
-
description: "Indicates that
|
|
4278
|
+
description: "Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider.",
|
|
4279
4279
|
properties: {
|
|
4280
4280
|
created_at: {
|
|
4281
4281
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -12418,7 +12418,7 @@ const openapi = {
|
|
|
12418
12418
|
'x-variant-group-key': 'locks',
|
|
12419
12419
|
},
|
|
12420
12420
|
{
|
|
12421
|
-
description: "Indicates that
|
|
12421
|
+
description: "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
|
|
12422
12422
|
properties: {
|
|
12423
12423
|
created_at: {
|
|
12424
12424
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -29067,7 +29067,7 @@ const openapi = {
|
|
|
29067
29067
|
'x-variant-group-key': 'locks',
|
|
29068
29068
|
},
|
|
29069
29069
|
{
|
|
29070
|
-
description: "Indicates that
|
|
29070
|
+
description: "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
|
|
29071
29071
|
properties: {
|
|
29072
29072
|
created_at: {
|
|
29073
29073
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -32849,7 +32849,7 @@ const openapi = {
|
|
|
32849
32849
|
'x-variant-group-key': 'locks',
|
|
32850
32850
|
},
|
|
32851
32851
|
{
|
|
32852
|
-
description: "Indicates that
|
|
32852
|
+
description: "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
|
|
32853
32853
|
properties: {
|
|
32854
32854
|
created_at: {
|
|
32855
32855
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -44083,7 +44083,8 @@ const openapi = {
|
|
|
44083
44083
|
type: 'string',
|
|
44084
44084
|
},
|
|
44085
44085
|
preferred_code: {
|
|
44086
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
44086
|
+
description: '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.',
|
|
44087
|
+
nullable: true,
|
|
44087
44088
|
type: 'string',
|
|
44088
44089
|
},
|
|
44089
44090
|
property_keys: {
|
|
@@ -44176,7 +44177,8 @@ const openapi = {
|
|
|
44176
44177
|
type: 'string',
|
|
44177
44178
|
},
|
|
44178
44179
|
preferred_code: {
|
|
44179
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
44180
|
+
description: '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.',
|
|
44181
|
+
nullable: true,
|
|
44180
44182
|
type: 'string',
|
|
44181
44183
|
},
|
|
44182
44184
|
property_keys: {
|
|
@@ -44437,7 +44439,8 @@ const openapi = {
|
|
|
44437
44439
|
type: 'string',
|
|
44438
44440
|
},
|
|
44439
44441
|
preferred_code: {
|
|
44440
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
44442
|
+
description: '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.',
|
|
44443
|
+
nullable: true,
|
|
44441
44444
|
type: 'string',
|
|
44442
44445
|
},
|
|
44443
44446
|
property_keys: {
|
|
@@ -45128,7 +45131,8 @@ const openapi = {
|
|
|
45128
45131
|
type: 'string',
|
|
45129
45132
|
},
|
|
45130
45133
|
preferred_code: {
|
|
45131
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
45134
|
+
description: '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.',
|
|
45135
|
+
nullable: true,
|
|
45132
45136
|
type: 'string',
|
|
45133
45137
|
},
|
|
45134
45138
|
property_keys: {
|
|
@@ -45221,7 +45225,8 @@ const openapi = {
|
|
|
45221
45225
|
type: 'string',
|
|
45222
45226
|
},
|
|
45223
45227
|
preferred_code: {
|
|
45224
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
45228
|
+
description: '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.',
|
|
45229
|
+
nullable: true,
|
|
45225
45230
|
type: 'string',
|
|
45226
45231
|
},
|
|
45227
45232
|
property_keys: {
|
|
@@ -45482,7 +45487,8 @@ const openapi = {
|
|
|
45482
45487
|
type: 'string',
|
|
45483
45488
|
},
|
|
45484
45489
|
preferred_code: {
|
|
45485
|
-
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
45490
|
+
description: '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.',
|
|
45491
|
+
nullable: true,
|
|
45486
45492
|
type: 'string',
|
|
45487
45493
|
},
|
|
45488
45494
|
property_keys: {
|