@seamapi/types 1.1145.0 → 1.1147.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/access-codes/managed-access-code.d.ts +92 -92
- package/lib/seam/connect/models/access-codes/managed-access-code.js +23 -37
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +44 -44
- package/lib/seam/connect/models/access-grants/access-grant.js +11 -16
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +40 -40
- package/lib/seam/connect/models/access-grants/access-method.js +10 -16
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-access-group.js +3 -5
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +32 -32
- package/lib/seam/connect/models/acs/acs-credential.js +8 -12
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +24 -24
- package/lib/seam/connect/models/acs/acs-entrance.js +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-system.js +14 -26
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +44 -44
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +11 -23
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +8 -8
- package/lib/seam/connect/models/bridges/bridge-client-session.js +2 -4
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +48 -48
- package/lib/seam/connect/models/connected-accounts/connected-account.js +12 -24
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +168 -168
- package/lib/seam/connect/models/devices/device.js +42 -70
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +8 -8
- package/lib/seam/connect/models/spaces/space.js +2 -4
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
- package/lib/seam/connect/models/user-identities/user-identity.js +2 -3
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.js +156 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +48 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -37
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -16
- package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -16
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +4 -5
- package/src/lib/seam/connect/models/acs/acs-credential.ts +9 -12
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -6
- package/src/lib/seam/connect/models/acs/acs-system.ts +16 -26
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -23
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -4
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +15 -24
- package/src/lib/seam/connect/models/devices/device.ts +43 -70
- package/src/lib/seam/connect/models/spaces/space.ts +3 -4
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +2 -3
- package/src/lib/seam/connect/openapi.ts +162 -0
- package/src/lib/seam/connect/route-types.ts +48 -0
|
@@ -383,25 +383,20 @@ export const device_error = z
|
|
|
383
383
|
export type DeviceError = z.infer<typeof device_error>
|
|
384
384
|
|
|
385
385
|
export const device_error_map = z.object({
|
|
386
|
-
device_offline: device_offline.optional()
|
|
387
|
-
device_removed: device_removed.optional()
|
|
388
|
-
hub_disconnected: hub_disconnected.optional()
|
|
389
|
-
device_disconnected: device_disconnected.optional()
|
|
390
|
-
account_disconnected: account_disconnected.optional()
|
|
391
|
-
empty_backup_access_code_pool: empty_backup_access_code_pool
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
.optional()
|
|
401
|
-
.nullable(),
|
|
402
|
-
missing_device_credentials: missing_device_credentials.optional().nullable(),
|
|
403
|
-
auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
|
|
404
|
-
subscription_required: subscription_required.optional().nullable(),
|
|
386
|
+
device_offline: device_offline.optional(),
|
|
387
|
+
device_removed: device_removed.optional(),
|
|
388
|
+
hub_disconnected: hub_disconnected.optional(),
|
|
389
|
+
device_disconnected: device_disconnected.optional(),
|
|
390
|
+
account_disconnected: account_disconnected.optional(),
|
|
391
|
+
empty_backup_access_code_pool: empty_backup_access_code_pool.optional(),
|
|
392
|
+
august_lock_not_authorized: august_lock_not_authorized.optional(),
|
|
393
|
+
salto_ks_subscription_limit_exceeded:
|
|
394
|
+
salto_ks_subscription_limit_exceeded.optional(),
|
|
395
|
+
insufficient_permissions: insufficient_permissions.optional(),
|
|
396
|
+
dormakaba_sites_disconnected: dormakaba_sites_disconnected.optional(),
|
|
397
|
+
missing_device_credentials: missing_device_credentials.optional(),
|
|
398
|
+
auxiliary_heat_running: auxiliary_heat_running.optional(),
|
|
399
|
+
subscription_required: subscription_required.optional(),
|
|
405
400
|
})
|
|
406
401
|
|
|
407
402
|
export type DeviceErrorMap = z.infer<typeof device_error_map>
|
|
@@ -770,61 +765,39 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
770
765
|
export type DeviceWarning = z.infer<typeof device_warning>
|
|
771
766
|
|
|
772
767
|
export const device_warning_map = z.object({
|
|
773
|
-
partial_backup_access_code_pool: partial_backup_access_code_pool
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
device_has_flaky_connection: device_has_flaky_connection
|
|
778
|
-
.optional()
|
|
779
|
-
.nullable(),
|
|
780
|
-
third_party_integration_detected: third_party_integration_detected
|
|
781
|
-
.optional()
|
|
782
|
-
.nullable(),
|
|
768
|
+
partial_backup_access_code_pool: partial_backup_access_code_pool.optional(),
|
|
769
|
+
many_active_backup_codes: many_active_backup_codes.optional(),
|
|
770
|
+
device_has_flaky_connection: device_has_flaky_connection.optional(),
|
|
771
|
+
third_party_integration_detected: third_party_integration_detected.optional(),
|
|
783
772
|
ttlock_lock_gateway_unlocking_not_enabled:
|
|
784
|
-
ttlock_lock_gateway_unlocking_not_enabled.optional()
|
|
785
|
-
ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional()
|
|
786
|
-
power_saving_mode: power_saving_mode.optional()
|
|
787
|
-
temperature_threshold_exceeded: temperature_threshold_exceeded
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
scheduled_maintenance_window: scheduled_maintenance_window
|
|
794
|
-
.optional()
|
|
795
|
-
.nullable(),
|
|
796
|
-
salto_ks_office_mode: salto_ks_office_mode.optional().nullable(),
|
|
797
|
-
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
798
|
-
privacy_mode: privacy_mode.optional().nullable(),
|
|
773
|
+
ttlock_lock_gateway_unlocking_not_enabled.optional(),
|
|
774
|
+
ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional(),
|
|
775
|
+
power_saving_mode: power_saving_mode.optional(),
|
|
776
|
+
temperature_threshold_exceeded: temperature_threshold_exceeded.optional(),
|
|
777
|
+
device_communication_degraded: device_communication_degraded.optional(),
|
|
778
|
+
scheduled_maintenance_window: scheduled_maintenance_window.optional(),
|
|
779
|
+
salto_ks_office_mode: salto_ks_office_mode.optional(),
|
|
780
|
+
salto_ks_privacy_mode: salto_ks_privacy_mode.optional(),
|
|
781
|
+
privacy_mode: privacy_mode.optional(),
|
|
799
782
|
salto_ks_subscription_limit_almost_reached:
|
|
800
|
-
salto_ks_subscription_limit_almost_reached.optional()
|
|
783
|
+
salto_ks_subscription_limit_almost_reached.optional(),
|
|
801
784
|
salto_ks_lock_access_code_support_removed:
|
|
802
|
-
salto_ks_lock_access_code_support_removed.optional()
|
|
803
|
-
unknown_issue_with_phone: unknown_issue_with_phone.optional()
|
|
804
|
-
lockly_time_zone_not_configured: lockly_time_zone_not_configured
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
time_zone_mismatch: time_zone_mismatch.optional().nullable(),
|
|
810
|
-
two_n_device_missing_timezone: two_n_device_missing_timezone
|
|
811
|
-
.optional()
|
|
812
|
-
.nullable(),
|
|
785
|
+
salto_ks_lock_access_code_support_removed.optional(),
|
|
786
|
+
unknown_issue_with_phone: unknown_issue_with_phone.optional(),
|
|
787
|
+
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional(),
|
|
788
|
+
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional(),
|
|
789
|
+
time_zone_unknown: time_zone_unknown.optional(),
|
|
790
|
+
time_zone_mismatch: time_zone_mismatch.optional(),
|
|
791
|
+
two_n_device_missing_timezone: two_n_device_missing_timezone.optional(),
|
|
813
792
|
hub_required_for_additional_capabilities:
|
|
814
|
-
hub_required_for_additional_capabilities.optional()
|
|
815
|
-
provider_issue: provider_issue.optional()
|
|
816
|
-
keynest_unsupported_locker: keynest_unsupported_locker.optional()
|
|
817
|
-
accessory_keypad_setup_required: accessory_keypad_setup_required
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
.nullable(),
|
|
823
|
-
unreliable_online_status: unreliable_online_status.optional().nullable(),
|
|
824
|
-
max_access_codes_reached: max_access_codes_reached.optional().nullable(),
|
|
825
|
-
cloud_recording_not_enabled: cloud_recording_not_enabled
|
|
826
|
-
.optional()
|
|
827
|
-
.nullable(),
|
|
793
|
+
hub_required_for_additional_capabilities.optional(),
|
|
794
|
+
provider_issue: provider_issue.optional(),
|
|
795
|
+
keynest_unsupported_locker: keynest_unsupported_locker.optional(),
|
|
796
|
+
accessory_keypad_setup_required: accessory_keypad_setup_required.optional(),
|
|
797
|
+
accessory_keypad_low_battery: accessory_keypad_low_battery.optional(),
|
|
798
|
+
unreliable_online_status: unreliable_online_status.optional(),
|
|
799
|
+
max_access_codes_reached: max_access_codes_reached.optional(),
|
|
800
|
+
cloud_recording_not_enabled: cloud_recording_not_enabled.optional(),
|
|
828
801
|
})
|
|
829
802
|
|
|
830
803
|
export type DeviceWarningMap = z.infer<typeof device_warning_map>
|
|
@@ -82,10 +82,9 @@ const space_warning = z
|
|
|
82
82
|
.describe('Warning associated with the space.')
|
|
83
83
|
|
|
84
84
|
const _space_warning_map = z.object({
|
|
85
|
-
being_deleted: space_being_deleted.optional()
|
|
86
|
-
noise_sensor_configuration_mismatch:
|
|
87
|
-
.optional()
|
|
88
|
-
.nullable(),
|
|
85
|
+
being_deleted: space_being_deleted.optional(),
|
|
86
|
+
noise_sensor_configuration_mismatch:
|
|
87
|
+
space_noise_sensor_configuration_mismatch.optional(),
|
|
89
88
|
})
|
|
90
89
|
|
|
91
90
|
export type SpaceWarningMap = z.infer<typeof _space_warning_map>
|
|
@@ -75,7 +75,6 @@ const _user_identity_error_map = z.object({
|
|
|
75
75
|
issue_with_acs_user: z
|
|
76
76
|
.record(z.string().uuid(), user_identity_issue_with_acs_user)
|
|
77
77
|
.optional()
|
|
78
|
-
.nullable()
|
|
79
78
|
.describe(
|
|
80
79
|
'Map of access system user IDs to issues with the access system user. The key is the access system user ID, and the value is the issue with the access system user.',
|
|
81
80
|
),
|
|
@@ -91,9 +90,9 @@ const user_identity_warning = z
|
|
|
91
90
|
.describe('Warnings associated with the user identity.')
|
|
92
91
|
|
|
93
92
|
const _user_identity_warning_map = z.object({
|
|
94
|
-
being_deleted: user_identity_being_deleted.optional()
|
|
93
|
+
being_deleted: user_identity_being_deleted.optional(),
|
|
95
94
|
acs_user_profile_does_not_match_user_identity:
|
|
96
|
-
acs_user_profile_does_not_match_user_identity.optional()
|
|
95
|
+
acs_user_profile_does_not_match_user_identity.optional(),
|
|
97
96
|
})
|
|
98
97
|
|
|
99
98
|
export type UserIdentityWarningMap = z.infer<typeof _user_identity_warning_map>
|
|
@@ -69432,6 +69432,19 @@ const openapi: OpenAPISpec = {
|
|
|
69432
69432
|
type: 'object',
|
|
69433
69433
|
},
|
|
69434
69434
|
name: { nullable: true, type: 'string' },
|
|
69435
|
+
parent_reservation_id: {
|
|
69436
|
+
description:
|
|
69437
|
+
'ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise.',
|
|
69438
|
+
format: 'uuid',
|
|
69439
|
+
nullable: true,
|
|
69440
|
+
type: 'string',
|
|
69441
|
+
},
|
|
69442
|
+
parent_reservation_key: {
|
|
69443
|
+
description:
|
|
69444
|
+
'Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise.',
|
|
69445
|
+
nullable: true,
|
|
69446
|
+
type: 'string',
|
|
69447
|
+
},
|
|
69435
69448
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
69436
69449
|
reservation_key: { type: 'string' },
|
|
69437
69450
|
spaces: {
|
|
@@ -69455,6 +69468,71 @@ const openapi: OpenAPISpec = {
|
|
|
69455
69468
|
nullable: true,
|
|
69456
69469
|
type: 'string',
|
|
69457
69470
|
},
|
|
69471
|
+
sub_reservations: {
|
|
69472
|
+
description:
|
|
69473
|
+
"Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces.",
|
|
69474
|
+
items: {
|
|
69475
|
+
properties: {
|
|
69476
|
+
access_grant_id: {
|
|
69477
|
+
format: 'uuid',
|
|
69478
|
+
nullable: true,
|
|
69479
|
+
type: 'string',
|
|
69480
|
+
},
|
|
69481
|
+
access_methods: {
|
|
69482
|
+
items: {
|
|
69483
|
+
$ref: '#/components/schemas/access_method',
|
|
69484
|
+
},
|
|
69485
|
+
type: 'array',
|
|
69486
|
+
},
|
|
69487
|
+
ends_at: {
|
|
69488
|
+
format: 'date-time',
|
|
69489
|
+
nullable: true,
|
|
69490
|
+
type: 'string',
|
|
69491
|
+
},
|
|
69492
|
+
is_resource_syncing: { type: 'boolean' },
|
|
69493
|
+
name: { nullable: true, type: 'string' },
|
|
69494
|
+
spaces: {
|
|
69495
|
+
items: {
|
|
69496
|
+
properties: {
|
|
69497
|
+
name: { nullable: true, type: 'string' },
|
|
69498
|
+
space_id: {
|
|
69499
|
+
format: 'uuid',
|
|
69500
|
+
nullable: true,
|
|
69501
|
+
type: 'string',
|
|
69502
|
+
},
|
|
69503
|
+
space_key: { type: 'string' },
|
|
69504
|
+
},
|
|
69505
|
+
required: ['space_id', 'space_key', 'name'],
|
|
69506
|
+
type: 'object',
|
|
69507
|
+
},
|
|
69508
|
+
type: 'array',
|
|
69509
|
+
},
|
|
69510
|
+
starts_at: {
|
|
69511
|
+
format: 'date-time',
|
|
69512
|
+
nullable: true,
|
|
69513
|
+
type: 'string',
|
|
69514
|
+
},
|
|
69515
|
+
sub_reservation_id: {
|
|
69516
|
+
format: 'uuid',
|
|
69517
|
+
type: 'string',
|
|
69518
|
+
},
|
|
69519
|
+
sub_reservation_key: { type: 'string' },
|
|
69520
|
+
},
|
|
69521
|
+
required: [
|
|
69522
|
+
'sub_reservation_id',
|
|
69523
|
+
'sub_reservation_key',
|
|
69524
|
+
'name',
|
|
69525
|
+
'starts_at',
|
|
69526
|
+
'ends_at',
|
|
69527
|
+
'is_resource_syncing',
|
|
69528
|
+
'access_grant_id',
|
|
69529
|
+
'spaces',
|
|
69530
|
+
'access_methods',
|
|
69531
|
+
],
|
|
69532
|
+
type: 'object',
|
|
69533
|
+
},
|
|
69534
|
+
type: 'array',
|
|
69535
|
+
},
|
|
69458
69536
|
},
|
|
69459
69537
|
required: [
|
|
69460
69538
|
'reservation_id',
|
|
@@ -69471,6 +69549,9 @@ const openapi: OpenAPISpec = {
|
|
|
69471
69549
|
'access_methods',
|
|
69472
69550
|
'connected_account_id',
|
|
69473
69551
|
'last_automation_result',
|
|
69552
|
+
'parent_reservation_id',
|
|
69553
|
+
'parent_reservation_key',
|
|
69554
|
+
'sub_reservations',
|
|
69474
69555
|
],
|
|
69475
69556
|
type: 'object',
|
|
69476
69557
|
},
|
|
@@ -69785,6 +69866,71 @@ const openapi: OpenAPISpec = {
|
|
|
69785
69866
|
nullable: true,
|
|
69786
69867
|
type: 'string',
|
|
69787
69868
|
},
|
|
69869
|
+
sub_reservations: {
|
|
69870
|
+
description:
|
|
69871
|
+
"Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces.",
|
|
69872
|
+
items: {
|
|
69873
|
+
properties: {
|
|
69874
|
+
access_grant_id: {
|
|
69875
|
+
format: 'uuid',
|
|
69876
|
+
nullable: true,
|
|
69877
|
+
type: 'string',
|
|
69878
|
+
},
|
|
69879
|
+
access_methods: {
|
|
69880
|
+
items: {
|
|
69881
|
+
$ref: '#/components/schemas/access_method',
|
|
69882
|
+
},
|
|
69883
|
+
type: 'array',
|
|
69884
|
+
},
|
|
69885
|
+
ends_at: {
|
|
69886
|
+
format: 'date-time',
|
|
69887
|
+
nullable: true,
|
|
69888
|
+
type: 'string',
|
|
69889
|
+
},
|
|
69890
|
+
is_resource_syncing: { type: 'boolean' },
|
|
69891
|
+
name: { nullable: true, type: 'string' },
|
|
69892
|
+
spaces: {
|
|
69893
|
+
items: {
|
|
69894
|
+
properties: {
|
|
69895
|
+
name: { nullable: true, type: 'string' },
|
|
69896
|
+
space_id: {
|
|
69897
|
+
format: 'uuid',
|
|
69898
|
+
nullable: true,
|
|
69899
|
+
type: 'string',
|
|
69900
|
+
},
|
|
69901
|
+
space_key: { type: 'string' },
|
|
69902
|
+
},
|
|
69903
|
+
required: ['space_id', 'space_key', 'name'],
|
|
69904
|
+
type: 'object',
|
|
69905
|
+
},
|
|
69906
|
+
type: 'array',
|
|
69907
|
+
},
|
|
69908
|
+
starts_at: {
|
|
69909
|
+
format: 'date-time',
|
|
69910
|
+
nullable: true,
|
|
69911
|
+
type: 'string',
|
|
69912
|
+
},
|
|
69913
|
+
sub_reservation_id: {
|
|
69914
|
+
format: 'uuid',
|
|
69915
|
+
type: 'string',
|
|
69916
|
+
},
|
|
69917
|
+
sub_reservation_key: { type: 'string' },
|
|
69918
|
+
},
|
|
69919
|
+
required: [
|
|
69920
|
+
'sub_reservation_id',
|
|
69921
|
+
'sub_reservation_key',
|
|
69922
|
+
'name',
|
|
69923
|
+
'starts_at',
|
|
69924
|
+
'ends_at',
|
|
69925
|
+
'is_resource_syncing',
|
|
69926
|
+
'access_grant_id',
|
|
69927
|
+
'spaces',
|
|
69928
|
+
'access_methods',
|
|
69929
|
+
],
|
|
69930
|
+
type: 'object',
|
|
69931
|
+
},
|
|
69932
|
+
type: 'array',
|
|
69933
|
+
},
|
|
69788
69934
|
warnings: {
|
|
69789
69935
|
items: {
|
|
69790
69936
|
properties: {
|
|
@@ -69820,6 +69966,7 @@ const openapi: OpenAPISpec = {
|
|
|
69820
69966
|
'spaces',
|
|
69821
69967
|
'connected_account_id',
|
|
69822
69968
|
'last_automation_result',
|
|
69969
|
+
'sub_reservations',
|
|
69823
69970
|
],
|
|
69824
69971
|
type: 'object',
|
|
69825
69972
|
},
|
|
@@ -70581,6 +70728,19 @@ const openapi: OpenAPISpec = {
|
|
|
70581
70728
|
type: 'object',
|
|
70582
70729
|
},
|
|
70583
70730
|
name: { nullable: true, type: 'string' },
|
|
70731
|
+
parent_reservation_id: {
|
|
70732
|
+
description:
|
|
70733
|
+
'ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise.',
|
|
70734
|
+
format: 'uuid',
|
|
70735
|
+
nullable: true,
|
|
70736
|
+
type: 'string',
|
|
70737
|
+
},
|
|
70738
|
+
parent_reservation_key: {
|
|
70739
|
+
description:
|
|
70740
|
+
'Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise.',
|
|
70741
|
+
nullable: true,
|
|
70742
|
+
type: 'string',
|
|
70743
|
+
},
|
|
70584
70744
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
70585
70745
|
reservation_key: { type: 'string' },
|
|
70586
70746
|
starts_at: {
|
|
@@ -70600,6 +70760,8 @@ const openapi: OpenAPISpec = {
|
|
|
70600
70760
|
'has_issued_access',
|
|
70601
70761
|
'access_methods',
|
|
70602
70762
|
'last_automation_result',
|
|
70763
|
+
'parent_reservation_id',
|
|
70764
|
+
'parent_reservation_key',
|
|
70603
70765
|
],
|
|
70604
70766
|
type: 'object',
|
|
70605
70767
|
},
|
|
@@ -119270,6 +119270,30 @@ export type Routes = {
|
|
|
119270
119270
|
message?: string | undefined
|
|
119271
119271
|
created_at: string
|
|
119272
119272
|
} | null
|
|
119273
|
+
/** ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise. */
|
|
119274
|
+
parent_reservation_id: string | null
|
|
119275
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise. */
|
|
119276
|
+
parent_reservation_key: string | null
|
|
119277
|
+
/** Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces. */
|
|
119278
|
+
sub_reservations: {
|
|
119279
|
+
sub_reservation_id: string
|
|
119280
|
+
sub_reservation_key: string
|
|
119281
|
+
name: string | null
|
|
119282
|
+
starts_at: string | null
|
|
119283
|
+
ends_at: string | null
|
|
119284
|
+
is_resource_syncing: boolean
|
|
119285
|
+
access_grant_id: string | null
|
|
119286
|
+
spaces: {
|
|
119287
|
+
space_id: string | null
|
|
119288
|
+
space_key: string
|
|
119289
|
+
name: string | null
|
|
119290
|
+
}[]
|
|
119291
|
+
access_methods: {
|
|
119292
|
+
access_method_id: string
|
|
119293
|
+
mode: string
|
|
119294
|
+
is_issued: boolean
|
|
119295
|
+
}[]
|
|
119296
|
+
}[]
|
|
119273
119297
|
}
|
|
119274
119298
|
}
|
|
119275
119299
|
maxDuration: undefined
|
|
@@ -119359,6 +119383,26 @@ export type Routes = {
|
|
|
119359
119383
|
message?: string | undefined
|
|
119360
119384
|
created_at: string
|
|
119361
119385
|
} | null
|
|
119386
|
+
/** Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces. */
|
|
119387
|
+
sub_reservations: {
|
|
119388
|
+
sub_reservation_id: string
|
|
119389
|
+
sub_reservation_key: string
|
|
119390
|
+
name: string | null
|
|
119391
|
+
starts_at: string | null
|
|
119392
|
+
ends_at: string | null
|
|
119393
|
+
is_resource_syncing: boolean
|
|
119394
|
+
access_grant_id: string | null
|
|
119395
|
+
spaces: {
|
|
119396
|
+
space_id: string | null
|
|
119397
|
+
space_key: string
|
|
119398
|
+
name: string | null
|
|
119399
|
+
}[]
|
|
119400
|
+
access_methods: {
|
|
119401
|
+
access_method_id: string
|
|
119402
|
+
mode: string
|
|
119403
|
+
is_issued: boolean
|
|
119404
|
+
}[]
|
|
119405
|
+
}[]
|
|
119362
119406
|
}[]
|
|
119363
119407
|
/** Information about the current page of results. */
|
|
119364
119408
|
pagination: {
|
|
@@ -119967,6 +120011,10 @@ export type Routes = {
|
|
|
119967
120011
|
message?: string | undefined
|
|
119968
120012
|
created_at: string
|
|
119969
120013
|
} | null
|
|
120014
|
+
/** ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise. */
|
|
120015
|
+
parent_reservation_id: string | null
|
|
120016
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise. */
|
|
120017
|
+
parent_reservation_key: string | null
|
|
119970
120018
|
}[]
|
|
119971
120019
|
}
|
|
119972
120020
|
maxDuration: undefined
|