@seamapi/types 1.1144.0 → 1.1145.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 +276 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +19 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +296 -0
- package/lib/seam/connect/openapi.js +210 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +86 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +250 -0
- package/src/lib/seam/connect/route-types.ts +94 -0
|
@@ -314,6 +314,70 @@ export declare const external_resources: z.ZodObject<{
|
|
|
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>>>;
|
|
317
|
+
sub_reservations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
|
+
name: z.ZodOptional<z.ZodString>;
|
|
319
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
320
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
321
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
322
|
+
} & {
|
|
323
|
+
sub_reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
324
|
+
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>>>;
|
|
325
|
+
} & {
|
|
326
|
+
guest_key: z.ZodOptional<z.ZodString>;
|
|
327
|
+
tenant_key: z.ZodOptional<z.ZodString>;
|
|
328
|
+
resident_key: z.ZodOptional<z.ZodString>;
|
|
329
|
+
user_key: z.ZodOptional<z.ZodString>;
|
|
330
|
+
user_identity_key: z.ZodOptional<z.ZodString>;
|
|
331
|
+
} & {
|
|
332
|
+
space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
333
|
+
property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
334
|
+
room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
335
|
+
common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
336
|
+
unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
337
|
+
facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
338
|
+
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
339
|
+
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
sub_reservation_key: string;
|
|
342
|
+
name?: string | undefined;
|
|
343
|
+
starts_at?: string | undefined;
|
|
344
|
+
ends_at?: string | undefined;
|
|
345
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
346
|
+
preferred_code?: string | null | undefined;
|
|
347
|
+
guest_key?: string | undefined;
|
|
348
|
+
tenant_key?: string | undefined;
|
|
349
|
+
resident_key?: string | undefined;
|
|
350
|
+
user_key?: string | undefined;
|
|
351
|
+
user_identity_key?: string | undefined;
|
|
352
|
+
space_keys?: string[] | undefined;
|
|
353
|
+
property_keys?: string[] | undefined;
|
|
354
|
+
room_keys?: string[] | undefined;
|
|
355
|
+
common_area_keys?: string[] | undefined;
|
|
356
|
+
unit_keys?: string[] | undefined;
|
|
357
|
+
facility_keys?: string[] | undefined;
|
|
358
|
+
building_keys?: string[] | undefined;
|
|
359
|
+
listing_keys?: string[] | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
sub_reservation_key: string;
|
|
362
|
+
name?: string | undefined;
|
|
363
|
+
starts_at?: string | undefined;
|
|
364
|
+
ends_at?: string | undefined;
|
|
365
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
366
|
+
preferred_code?: string | null | undefined;
|
|
367
|
+
guest_key?: string | undefined;
|
|
368
|
+
tenant_key?: string | undefined;
|
|
369
|
+
resident_key?: string | undefined;
|
|
370
|
+
user_key?: string | undefined;
|
|
371
|
+
user_identity_key?: string | undefined;
|
|
372
|
+
space_keys?: string[] | undefined;
|
|
373
|
+
property_keys?: string[] | undefined;
|
|
374
|
+
room_keys?: string[] | undefined;
|
|
375
|
+
common_area_keys?: string[] | undefined;
|
|
376
|
+
unit_keys?: string[] | undefined;
|
|
377
|
+
facility_keys?: string[] | undefined;
|
|
378
|
+
building_keys?: string[] | undefined;
|
|
379
|
+
listing_keys?: string[] | undefined;
|
|
380
|
+
}>, "many">>;
|
|
317
381
|
} & {
|
|
318
382
|
guest_key: z.ZodOptional<z.ZodString>;
|
|
319
383
|
tenant_key: z.ZodOptional<z.ZodString>;
|
|
@@ -349,6 +413,27 @@ export declare const external_resources: z.ZodObject<{
|
|
|
349
413
|
facility_keys?: string[] | undefined;
|
|
350
414
|
building_keys?: string[] | undefined;
|
|
351
415
|
listing_keys?: string[] | undefined;
|
|
416
|
+
sub_reservations?: {
|
|
417
|
+
sub_reservation_key: string;
|
|
418
|
+
name?: string | undefined;
|
|
419
|
+
starts_at?: string | undefined;
|
|
420
|
+
ends_at?: string | undefined;
|
|
421
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
422
|
+
preferred_code?: string | null | undefined;
|
|
423
|
+
guest_key?: string | undefined;
|
|
424
|
+
tenant_key?: string | undefined;
|
|
425
|
+
resident_key?: string | undefined;
|
|
426
|
+
user_key?: string | undefined;
|
|
427
|
+
user_identity_key?: string | undefined;
|
|
428
|
+
space_keys?: string[] | undefined;
|
|
429
|
+
property_keys?: string[] | undefined;
|
|
430
|
+
room_keys?: string[] | undefined;
|
|
431
|
+
common_area_keys?: string[] | undefined;
|
|
432
|
+
unit_keys?: string[] | undefined;
|
|
433
|
+
facility_keys?: string[] | undefined;
|
|
434
|
+
building_keys?: string[] | undefined;
|
|
435
|
+
listing_keys?: string[] | undefined;
|
|
436
|
+
}[] | undefined;
|
|
352
437
|
}, {
|
|
353
438
|
reservation_key: string;
|
|
354
439
|
name?: string | undefined;
|
|
@@ -369,6 +454,27 @@ export declare const external_resources: z.ZodObject<{
|
|
|
369
454
|
facility_keys?: string[] | undefined;
|
|
370
455
|
building_keys?: string[] | undefined;
|
|
371
456
|
listing_keys?: string[] | undefined;
|
|
457
|
+
sub_reservations?: {
|
|
458
|
+
sub_reservation_key: string;
|
|
459
|
+
name?: string | undefined;
|
|
460
|
+
starts_at?: string | undefined;
|
|
461
|
+
ends_at?: string | undefined;
|
|
462
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
463
|
+
preferred_code?: string | null | undefined;
|
|
464
|
+
guest_key?: string | undefined;
|
|
465
|
+
tenant_key?: string | undefined;
|
|
466
|
+
resident_key?: string | undefined;
|
|
467
|
+
user_key?: string | undefined;
|
|
468
|
+
user_identity_key?: string | undefined;
|
|
469
|
+
space_keys?: string[] | undefined;
|
|
470
|
+
property_keys?: string[] | undefined;
|
|
471
|
+
room_keys?: string[] | undefined;
|
|
472
|
+
common_area_keys?: string[] | undefined;
|
|
473
|
+
unit_keys?: string[] | undefined;
|
|
474
|
+
facility_keys?: string[] | undefined;
|
|
475
|
+
building_keys?: string[] | undefined;
|
|
476
|
+
listing_keys?: string[] | undefined;
|
|
477
|
+
}[] | undefined;
|
|
372
478
|
}>, "many">>;
|
|
373
479
|
bookings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
374
480
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -635,6 +741,27 @@ export declare const external_resources: z.ZodObject<{
|
|
|
635
741
|
facility_keys?: string[] | undefined;
|
|
636
742
|
building_keys?: string[] | undefined;
|
|
637
743
|
listing_keys?: string[] | undefined;
|
|
744
|
+
sub_reservations?: {
|
|
745
|
+
sub_reservation_key: string;
|
|
746
|
+
name?: string | undefined;
|
|
747
|
+
starts_at?: string | undefined;
|
|
748
|
+
ends_at?: string | undefined;
|
|
749
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
750
|
+
preferred_code?: string | null | undefined;
|
|
751
|
+
guest_key?: string | undefined;
|
|
752
|
+
tenant_key?: string | undefined;
|
|
753
|
+
resident_key?: string | undefined;
|
|
754
|
+
user_key?: string | undefined;
|
|
755
|
+
user_identity_key?: string | undefined;
|
|
756
|
+
space_keys?: string[] | undefined;
|
|
757
|
+
property_keys?: string[] | undefined;
|
|
758
|
+
room_keys?: string[] | undefined;
|
|
759
|
+
common_area_keys?: string[] | undefined;
|
|
760
|
+
unit_keys?: string[] | undefined;
|
|
761
|
+
facility_keys?: string[] | undefined;
|
|
762
|
+
building_keys?: string[] | undefined;
|
|
763
|
+
listing_keys?: string[] | undefined;
|
|
764
|
+
}[] | undefined;
|
|
638
765
|
}[] | undefined;
|
|
639
766
|
bookings?: {
|
|
640
767
|
booking_key: string;
|
|
@@ -799,6 +926,27 @@ export declare const external_resources: z.ZodObject<{
|
|
|
799
926
|
facility_keys?: string[] | undefined;
|
|
800
927
|
building_keys?: string[] | undefined;
|
|
801
928
|
listing_keys?: string[] | undefined;
|
|
929
|
+
sub_reservations?: {
|
|
930
|
+
sub_reservation_key: string;
|
|
931
|
+
name?: string | undefined;
|
|
932
|
+
starts_at?: string | undefined;
|
|
933
|
+
ends_at?: string | undefined;
|
|
934
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
935
|
+
preferred_code?: string | null | undefined;
|
|
936
|
+
guest_key?: string | undefined;
|
|
937
|
+
tenant_key?: string | undefined;
|
|
938
|
+
resident_key?: string | undefined;
|
|
939
|
+
user_key?: string | undefined;
|
|
940
|
+
user_identity_key?: string | undefined;
|
|
941
|
+
space_keys?: string[] | undefined;
|
|
942
|
+
property_keys?: string[] | undefined;
|
|
943
|
+
room_keys?: string[] | undefined;
|
|
944
|
+
common_area_keys?: string[] | undefined;
|
|
945
|
+
unit_keys?: string[] | undefined;
|
|
946
|
+
facility_keys?: string[] | undefined;
|
|
947
|
+
building_keys?: string[] | undefined;
|
|
948
|
+
listing_keys?: string[] | undefined;
|
|
949
|
+
}[] | undefined;
|
|
802
950
|
}[] | undefined;
|
|
803
951
|
bookings?: {
|
|
804
952
|
booking_key: string;
|
|
@@ -1141,6 +1289,70 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1141
1289
|
} & {
|
|
1142
1290
|
reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1143
1291
|
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>>>;
|
|
1292
|
+
sub_reservations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1293
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
preferred_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1297
|
+
} & {
|
|
1298
|
+
sub_reservation_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1299
|
+
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>>>;
|
|
1300
|
+
} & {
|
|
1301
|
+
guest_key: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
tenant_key: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
resident_key: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
user_key: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
user_identity_key: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
} & {
|
|
1307
|
+
space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1308
|
+
property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1309
|
+
room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
|
+
common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1311
|
+
unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1312
|
+
facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1313
|
+
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1314
|
+
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1315
|
+
}, "strip", z.ZodTypeAny, {
|
|
1316
|
+
sub_reservation_key: string;
|
|
1317
|
+
name?: string | undefined;
|
|
1318
|
+
starts_at?: string | undefined;
|
|
1319
|
+
ends_at?: string | undefined;
|
|
1320
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1321
|
+
preferred_code?: string | null | undefined;
|
|
1322
|
+
guest_key?: string | undefined;
|
|
1323
|
+
tenant_key?: string | undefined;
|
|
1324
|
+
resident_key?: string | undefined;
|
|
1325
|
+
user_key?: string | undefined;
|
|
1326
|
+
user_identity_key?: string | undefined;
|
|
1327
|
+
space_keys?: string[] | undefined;
|
|
1328
|
+
property_keys?: string[] | undefined;
|
|
1329
|
+
room_keys?: string[] | undefined;
|
|
1330
|
+
common_area_keys?: string[] | undefined;
|
|
1331
|
+
unit_keys?: string[] | undefined;
|
|
1332
|
+
facility_keys?: string[] | undefined;
|
|
1333
|
+
building_keys?: string[] | undefined;
|
|
1334
|
+
listing_keys?: string[] | undefined;
|
|
1335
|
+
}, {
|
|
1336
|
+
sub_reservation_key: string;
|
|
1337
|
+
name?: string | undefined;
|
|
1338
|
+
starts_at?: string | undefined;
|
|
1339
|
+
ends_at?: string | undefined;
|
|
1340
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1341
|
+
preferred_code?: string | null | undefined;
|
|
1342
|
+
guest_key?: string | undefined;
|
|
1343
|
+
tenant_key?: string | undefined;
|
|
1344
|
+
resident_key?: string | undefined;
|
|
1345
|
+
user_key?: string | undefined;
|
|
1346
|
+
user_identity_key?: string | undefined;
|
|
1347
|
+
space_keys?: string[] | undefined;
|
|
1348
|
+
property_keys?: string[] | undefined;
|
|
1349
|
+
room_keys?: string[] | undefined;
|
|
1350
|
+
common_area_keys?: string[] | undefined;
|
|
1351
|
+
unit_keys?: string[] | undefined;
|
|
1352
|
+
facility_keys?: string[] | undefined;
|
|
1353
|
+
building_keys?: string[] | undefined;
|
|
1354
|
+
listing_keys?: string[] | undefined;
|
|
1355
|
+
}>, "many">>;
|
|
1144
1356
|
} & {
|
|
1145
1357
|
guest_key: z.ZodOptional<z.ZodString>;
|
|
1146
1358
|
tenant_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1176,6 +1388,27 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1176
1388
|
facility_keys?: string[] | undefined;
|
|
1177
1389
|
building_keys?: string[] | undefined;
|
|
1178
1390
|
listing_keys?: string[] | undefined;
|
|
1391
|
+
sub_reservations?: {
|
|
1392
|
+
sub_reservation_key: string;
|
|
1393
|
+
name?: string | undefined;
|
|
1394
|
+
starts_at?: string | undefined;
|
|
1395
|
+
ends_at?: string | undefined;
|
|
1396
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1397
|
+
preferred_code?: string | null | undefined;
|
|
1398
|
+
guest_key?: string | undefined;
|
|
1399
|
+
tenant_key?: string | undefined;
|
|
1400
|
+
resident_key?: string | undefined;
|
|
1401
|
+
user_key?: string | undefined;
|
|
1402
|
+
user_identity_key?: string | undefined;
|
|
1403
|
+
space_keys?: string[] | undefined;
|
|
1404
|
+
property_keys?: string[] | undefined;
|
|
1405
|
+
room_keys?: string[] | undefined;
|
|
1406
|
+
common_area_keys?: string[] | undefined;
|
|
1407
|
+
unit_keys?: string[] | undefined;
|
|
1408
|
+
facility_keys?: string[] | undefined;
|
|
1409
|
+
building_keys?: string[] | undefined;
|
|
1410
|
+
listing_keys?: string[] | undefined;
|
|
1411
|
+
}[] | undefined;
|
|
1179
1412
|
}, {
|
|
1180
1413
|
reservation_key: string;
|
|
1181
1414
|
name?: string | undefined;
|
|
@@ -1196,6 +1429,27 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1196
1429
|
facility_keys?: string[] | undefined;
|
|
1197
1430
|
building_keys?: string[] | undefined;
|
|
1198
1431
|
listing_keys?: string[] | undefined;
|
|
1432
|
+
sub_reservations?: {
|
|
1433
|
+
sub_reservation_key: string;
|
|
1434
|
+
name?: string | undefined;
|
|
1435
|
+
starts_at?: string | undefined;
|
|
1436
|
+
ends_at?: string | undefined;
|
|
1437
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1438
|
+
preferred_code?: string | null | undefined;
|
|
1439
|
+
guest_key?: string | undefined;
|
|
1440
|
+
tenant_key?: string | undefined;
|
|
1441
|
+
resident_key?: string | undefined;
|
|
1442
|
+
user_key?: string | undefined;
|
|
1443
|
+
user_identity_key?: string | undefined;
|
|
1444
|
+
space_keys?: string[] | undefined;
|
|
1445
|
+
property_keys?: string[] | undefined;
|
|
1446
|
+
room_keys?: string[] | undefined;
|
|
1447
|
+
common_area_keys?: string[] | undefined;
|
|
1448
|
+
unit_keys?: string[] | undefined;
|
|
1449
|
+
facility_keys?: string[] | undefined;
|
|
1450
|
+
building_keys?: string[] | undefined;
|
|
1451
|
+
listing_keys?: string[] | undefined;
|
|
1452
|
+
}[] | undefined;
|
|
1199
1453
|
}>, "many">>;
|
|
1200
1454
|
bookings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1201
1455
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1465,6 +1719,27 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1465
1719
|
facility_keys?: string[] | undefined;
|
|
1466
1720
|
building_keys?: string[] | undefined;
|
|
1467
1721
|
listing_keys?: string[] | undefined;
|
|
1722
|
+
sub_reservations?: {
|
|
1723
|
+
sub_reservation_key: string;
|
|
1724
|
+
name?: string | undefined;
|
|
1725
|
+
starts_at?: string | undefined;
|
|
1726
|
+
ends_at?: string | undefined;
|
|
1727
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1728
|
+
preferred_code?: string | null | undefined;
|
|
1729
|
+
guest_key?: string | undefined;
|
|
1730
|
+
tenant_key?: string | undefined;
|
|
1731
|
+
resident_key?: string | undefined;
|
|
1732
|
+
user_key?: string | undefined;
|
|
1733
|
+
user_identity_key?: string | undefined;
|
|
1734
|
+
space_keys?: string[] | undefined;
|
|
1735
|
+
property_keys?: string[] | undefined;
|
|
1736
|
+
room_keys?: string[] | undefined;
|
|
1737
|
+
common_area_keys?: string[] | undefined;
|
|
1738
|
+
unit_keys?: string[] | undefined;
|
|
1739
|
+
facility_keys?: string[] | undefined;
|
|
1740
|
+
building_keys?: string[] | undefined;
|
|
1741
|
+
listing_keys?: string[] | undefined;
|
|
1742
|
+
}[] | undefined;
|
|
1468
1743
|
}[] | undefined;
|
|
1469
1744
|
bookings?: {
|
|
1470
1745
|
booking_key: string;
|
|
@@ -1632,6 +1907,27 @@ export declare const customer_data: z.ZodObject<{
|
|
|
1632
1907
|
facility_keys?: string[] | undefined;
|
|
1633
1908
|
building_keys?: string[] | undefined;
|
|
1634
1909
|
listing_keys?: string[] | undefined;
|
|
1910
|
+
sub_reservations?: {
|
|
1911
|
+
sub_reservation_key: string;
|
|
1912
|
+
name?: string | undefined;
|
|
1913
|
+
starts_at?: string | undefined;
|
|
1914
|
+
ends_at?: string | undefined;
|
|
1915
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1916
|
+
preferred_code?: string | null | undefined;
|
|
1917
|
+
guest_key?: string | undefined;
|
|
1918
|
+
tenant_key?: string | undefined;
|
|
1919
|
+
resident_key?: string | undefined;
|
|
1920
|
+
user_key?: string | undefined;
|
|
1921
|
+
user_identity_key?: string | undefined;
|
|
1922
|
+
space_keys?: string[] | undefined;
|
|
1923
|
+
property_keys?: string[] | undefined;
|
|
1924
|
+
room_keys?: string[] | undefined;
|
|
1925
|
+
common_area_keys?: string[] | undefined;
|
|
1926
|
+
unit_keys?: string[] | undefined;
|
|
1927
|
+
facility_keys?: string[] | undefined;
|
|
1928
|
+
building_keys?: string[] | undefined;
|
|
1929
|
+
listing_keys?: string[] | undefined;
|
|
1930
|
+
}[] | undefined;
|
|
1635
1931
|
}[] | undefined;
|
|
1636
1932
|
bookings?: {
|
|
1637
1933
|
booking_key: string;
|
|
@@ -48351,6 +48351,111 @@ const openapi = {
|
|
|
48351
48351
|
format: 'date-time',
|
|
48352
48352
|
type: 'string',
|
|
48353
48353
|
},
|
|
48354
|
+
sub_reservations: {
|
|
48355
|
+
description: "Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged.",
|
|
48356
|
+
items: {
|
|
48357
|
+
properties: {
|
|
48358
|
+
building_keys: {
|
|
48359
|
+
description: 'Building keys associated with the access grant.',
|
|
48360
|
+
items: { type: 'string' },
|
|
48361
|
+
type: 'array',
|
|
48362
|
+
},
|
|
48363
|
+
common_area_keys: {
|
|
48364
|
+
description: 'Common area keys associated with the access grant.',
|
|
48365
|
+
items: { type: 'string' },
|
|
48366
|
+
type: 'array',
|
|
48367
|
+
},
|
|
48368
|
+
custom_metadata: {
|
|
48369
|
+
additionalProperties: {
|
|
48370
|
+
nullable: true,
|
|
48371
|
+
oneOf: [
|
|
48372
|
+
{ maxLength: 500, type: 'string' },
|
|
48373
|
+
{ type: 'boolean' },
|
|
48374
|
+
],
|
|
48375
|
+
},
|
|
48376
|
+
description: "Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata.",
|
|
48377
|
+
type: 'object',
|
|
48378
|
+
},
|
|
48379
|
+
ends_at: {
|
|
48380
|
+
description: 'Ending date and time for the access grant.',
|
|
48381
|
+
format: 'date-time',
|
|
48382
|
+
type: 'string',
|
|
48383
|
+
},
|
|
48384
|
+
facility_keys: {
|
|
48385
|
+
description: 'Facility keys associated with the access grant.',
|
|
48386
|
+
items: { type: 'string' },
|
|
48387
|
+
type: 'array',
|
|
48388
|
+
},
|
|
48389
|
+
guest_key: {
|
|
48390
|
+
description: 'Guest key associated with the access grant.',
|
|
48391
|
+
type: 'string',
|
|
48392
|
+
},
|
|
48393
|
+
listing_keys: {
|
|
48394
|
+
description: 'Listing keys associated with the access grant.',
|
|
48395
|
+
items: { type: 'string' },
|
|
48396
|
+
type: 'array',
|
|
48397
|
+
},
|
|
48398
|
+
name: {
|
|
48399
|
+
description: 'Your name for this access grant resource.',
|
|
48400
|
+
type: 'string',
|
|
48401
|
+
},
|
|
48402
|
+
preferred_code: {
|
|
48403
|
+
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.',
|
|
48404
|
+
nullable: true,
|
|
48405
|
+
type: 'string',
|
|
48406
|
+
},
|
|
48407
|
+
property_keys: {
|
|
48408
|
+
description: 'Property keys associated with the access grant.',
|
|
48409
|
+
items: { type: 'string' },
|
|
48410
|
+
type: 'array',
|
|
48411
|
+
},
|
|
48412
|
+
resident_key: {
|
|
48413
|
+
description: 'Resident key associated with the access grant.',
|
|
48414
|
+
type: 'string',
|
|
48415
|
+
},
|
|
48416
|
+
room_keys: {
|
|
48417
|
+
description: 'Room keys associated with the access grant.',
|
|
48418
|
+
items: { type: 'string' },
|
|
48419
|
+
type: 'array',
|
|
48420
|
+
},
|
|
48421
|
+
space_keys: {
|
|
48422
|
+
description: 'Space keys associated with the access grant.',
|
|
48423
|
+
items: { type: 'string' },
|
|
48424
|
+
type: 'array',
|
|
48425
|
+
},
|
|
48426
|
+
starts_at: {
|
|
48427
|
+
description: 'Starting date and time for the access grant.',
|
|
48428
|
+
format: 'date-time',
|
|
48429
|
+
type: 'string',
|
|
48430
|
+
},
|
|
48431
|
+
sub_reservation_key: {
|
|
48432
|
+
description: 'Your identifier for the sub-reservation. Must be unique within its reservation.',
|
|
48433
|
+
minLength: 1,
|
|
48434
|
+
type: 'string',
|
|
48435
|
+
},
|
|
48436
|
+
tenant_key: {
|
|
48437
|
+
description: 'Tenant key associated with the access grant.',
|
|
48438
|
+
type: 'string',
|
|
48439
|
+
},
|
|
48440
|
+
unit_keys: {
|
|
48441
|
+
description: 'Unit keys associated with the access grant.',
|
|
48442
|
+
items: { type: 'string' },
|
|
48443
|
+
type: 'array',
|
|
48444
|
+
},
|
|
48445
|
+
user_identity_key: {
|
|
48446
|
+
description: 'User identity key associated with the access grant.',
|
|
48447
|
+
type: 'string',
|
|
48448
|
+
},
|
|
48449
|
+
user_key: {
|
|
48450
|
+
description: 'User key associated with the access grant.',
|
|
48451
|
+
type: 'string',
|
|
48452
|
+
},
|
|
48453
|
+
},
|
|
48454
|
+
required: ['sub_reservation_key'],
|
|
48455
|
+
type: 'object',
|
|
48456
|
+
},
|
|
48457
|
+
type: 'array',
|
|
48458
|
+
},
|
|
48354
48459
|
tenant_key: {
|
|
48355
48460
|
description: 'Tenant key associated with the access grant.',
|
|
48356
48461
|
type: 'string',
|
|
@@ -49413,6 +49518,111 @@ const openapi = {
|
|
|
49413
49518
|
format: 'date-time',
|
|
49414
49519
|
type: 'string',
|
|
49415
49520
|
},
|
|
49521
|
+
sub_reservations: {
|
|
49522
|
+
description: "Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged.",
|
|
49523
|
+
items: {
|
|
49524
|
+
properties: {
|
|
49525
|
+
building_keys: {
|
|
49526
|
+
description: 'Building keys associated with the access grant.',
|
|
49527
|
+
items: { type: 'string' },
|
|
49528
|
+
type: 'array',
|
|
49529
|
+
},
|
|
49530
|
+
common_area_keys: {
|
|
49531
|
+
description: 'Common area keys associated with the access grant.',
|
|
49532
|
+
items: { type: 'string' },
|
|
49533
|
+
type: 'array',
|
|
49534
|
+
},
|
|
49535
|
+
custom_metadata: {
|
|
49536
|
+
additionalProperties: {
|
|
49537
|
+
nullable: true,
|
|
49538
|
+
oneOf: [
|
|
49539
|
+
{ maxLength: 500, type: 'string' },
|
|
49540
|
+
{ type: 'boolean' },
|
|
49541
|
+
],
|
|
49542
|
+
},
|
|
49543
|
+
description: "Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata.",
|
|
49544
|
+
type: 'object',
|
|
49545
|
+
},
|
|
49546
|
+
ends_at: {
|
|
49547
|
+
description: 'Ending date and time for the access grant.',
|
|
49548
|
+
format: 'date-time',
|
|
49549
|
+
type: 'string',
|
|
49550
|
+
},
|
|
49551
|
+
facility_keys: {
|
|
49552
|
+
description: 'Facility keys associated with the access grant.',
|
|
49553
|
+
items: { type: 'string' },
|
|
49554
|
+
type: 'array',
|
|
49555
|
+
},
|
|
49556
|
+
guest_key: {
|
|
49557
|
+
description: 'Guest key associated with the access grant.',
|
|
49558
|
+
type: 'string',
|
|
49559
|
+
},
|
|
49560
|
+
listing_keys: {
|
|
49561
|
+
description: 'Listing keys associated with the access grant.',
|
|
49562
|
+
items: { type: 'string' },
|
|
49563
|
+
type: 'array',
|
|
49564
|
+
},
|
|
49565
|
+
name: {
|
|
49566
|
+
description: 'Your name for this access grant resource.',
|
|
49567
|
+
type: 'string',
|
|
49568
|
+
},
|
|
49569
|
+
preferred_code: {
|
|
49570
|
+
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.',
|
|
49571
|
+
nullable: true,
|
|
49572
|
+
type: 'string',
|
|
49573
|
+
},
|
|
49574
|
+
property_keys: {
|
|
49575
|
+
description: 'Property keys associated with the access grant.',
|
|
49576
|
+
items: { type: 'string' },
|
|
49577
|
+
type: 'array',
|
|
49578
|
+
},
|
|
49579
|
+
resident_key: {
|
|
49580
|
+
description: 'Resident key associated with the access grant.',
|
|
49581
|
+
type: 'string',
|
|
49582
|
+
},
|
|
49583
|
+
room_keys: {
|
|
49584
|
+
description: 'Room keys associated with the access grant.',
|
|
49585
|
+
items: { type: 'string' },
|
|
49586
|
+
type: 'array',
|
|
49587
|
+
},
|
|
49588
|
+
space_keys: {
|
|
49589
|
+
description: 'Space keys associated with the access grant.',
|
|
49590
|
+
items: { type: 'string' },
|
|
49591
|
+
type: 'array',
|
|
49592
|
+
},
|
|
49593
|
+
starts_at: {
|
|
49594
|
+
description: 'Starting date and time for the access grant.',
|
|
49595
|
+
format: 'date-time',
|
|
49596
|
+
type: 'string',
|
|
49597
|
+
},
|
|
49598
|
+
sub_reservation_key: {
|
|
49599
|
+
description: 'Your identifier for the sub-reservation. Must be unique within its reservation.',
|
|
49600
|
+
minLength: 1,
|
|
49601
|
+
type: 'string',
|
|
49602
|
+
},
|
|
49603
|
+
tenant_key: {
|
|
49604
|
+
description: 'Tenant key associated with the access grant.',
|
|
49605
|
+
type: 'string',
|
|
49606
|
+
},
|
|
49607
|
+
unit_keys: {
|
|
49608
|
+
description: 'Unit keys associated with the access grant.',
|
|
49609
|
+
items: { type: 'string' },
|
|
49610
|
+
type: 'array',
|
|
49611
|
+
},
|
|
49612
|
+
user_identity_key: {
|
|
49613
|
+
description: 'User identity key associated with the access grant.',
|
|
49614
|
+
type: 'string',
|
|
49615
|
+
},
|
|
49616
|
+
user_key: {
|
|
49617
|
+
description: 'User key associated with the access grant.',
|
|
49618
|
+
type: 'string',
|
|
49619
|
+
},
|
|
49620
|
+
},
|
|
49621
|
+
required: ['sub_reservation_key'],
|
|
49622
|
+
type: 'object',
|
|
49623
|
+
},
|
|
49624
|
+
type: 'array',
|
|
49625
|
+
},
|
|
49416
49626
|
tenant_key: {
|
|
49417
49627
|
description: 'Tenant key associated with the access grant.',
|
|
49418
49628
|
type: 'string',
|