@seamapi/types 1.1146.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.
|
@@ -63560,6 +63560,17 @@ const openapi = {
|
|
|
63560
63560
|
type: 'object',
|
|
63561
63561
|
},
|
|
63562
63562
|
name: { nullable: true, type: 'string' },
|
|
63563
|
+
parent_reservation_id: {
|
|
63564
|
+
description: '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.',
|
|
63565
|
+
format: 'uuid',
|
|
63566
|
+
nullable: true,
|
|
63567
|
+
type: 'string',
|
|
63568
|
+
},
|
|
63569
|
+
parent_reservation_key: {
|
|
63570
|
+
description: '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.',
|
|
63571
|
+
nullable: true,
|
|
63572
|
+
type: 'string',
|
|
63573
|
+
},
|
|
63563
63574
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
63564
63575
|
reservation_key: { type: 'string' },
|
|
63565
63576
|
spaces: {
|
|
@@ -63583,6 +63594,70 @@ const openapi = {
|
|
|
63583
63594
|
nullable: true,
|
|
63584
63595
|
type: 'string',
|
|
63585
63596
|
},
|
|
63597
|
+
sub_reservations: {
|
|
63598
|
+
description: "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.",
|
|
63599
|
+
items: {
|
|
63600
|
+
properties: {
|
|
63601
|
+
access_grant_id: {
|
|
63602
|
+
format: 'uuid',
|
|
63603
|
+
nullable: true,
|
|
63604
|
+
type: 'string',
|
|
63605
|
+
},
|
|
63606
|
+
access_methods: {
|
|
63607
|
+
items: {
|
|
63608
|
+
$ref: '#/components/schemas/access_method',
|
|
63609
|
+
},
|
|
63610
|
+
type: 'array',
|
|
63611
|
+
},
|
|
63612
|
+
ends_at: {
|
|
63613
|
+
format: 'date-time',
|
|
63614
|
+
nullable: true,
|
|
63615
|
+
type: 'string',
|
|
63616
|
+
},
|
|
63617
|
+
is_resource_syncing: { type: 'boolean' },
|
|
63618
|
+
name: { nullable: true, type: 'string' },
|
|
63619
|
+
spaces: {
|
|
63620
|
+
items: {
|
|
63621
|
+
properties: {
|
|
63622
|
+
name: { nullable: true, type: 'string' },
|
|
63623
|
+
space_id: {
|
|
63624
|
+
format: 'uuid',
|
|
63625
|
+
nullable: true,
|
|
63626
|
+
type: 'string',
|
|
63627
|
+
},
|
|
63628
|
+
space_key: { type: 'string' },
|
|
63629
|
+
},
|
|
63630
|
+
required: ['space_id', 'space_key', 'name'],
|
|
63631
|
+
type: 'object',
|
|
63632
|
+
},
|
|
63633
|
+
type: 'array',
|
|
63634
|
+
},
|
|
63635
|
+
starts_at: {
|
|
63636
|
+
format: 'date-time',
|
|
63637
|
+
nullable: true,
|
|
63638
|
+
type: 'string',
|
|
63639
|
+
},
|
|
63640
|
+
sub_reservation_id: {
|
|
63641
|
+
format: 'uuid',
|
|
63642
|
+
type: 'string',
|
|
63643
|
+
},
|
|
63644
|
+
sub_reservation_key: { type: 'string' },
|
|
63645
|
+
},
|
|
63646
|
+
required: [
|
|
63647
|
+
'sub_reservation_id',
|
|
63648
|
+
'sub_reservation_key',
|
|
63649
|
+
'name',
|
|
63650
|
+
'starts_at',
|
|
63651
|
+
'ends_at',
|
|
63652
|
+
'is_resource_syncing',
|
|
63653
|
+
'access_grant_id',
|
|
63654
|
+
'spaces',
|
|
63655
|
+
'access_methods',
|
|
63656
|
+
],
|
|
63657
|
+
type: 'object',
|
|
63658
|
+
},
|
|
63659
|
+
type: 'array',
|
|
63660
|
+
},
|
|
63586
63661
|
},
|
|
63587
63662
|
required: [
|
|
63588
63663
|
'reservation_id',
|
|
@@ -63599,6 +63674,9 @@ const openapi = {
|
|
|
63599
63674
|
'access_methods',
|
|
63600
63675
|
'connected_account_id',
|
|
63601
63676
|
'last_automation_result',
|
|
63677
|
+
'parent_reservation_id',
|
|
63678
|
+
'parent_reservation_key',
|
|
63679
|
+
'sub_reservations',
|
|
63602
63680
|
],
|
|
63603
63681
|
type: 'object',
|
|
63604
63682
|
},
|
|
@@ -63905,6 +63983,70 @@ const openapi = {
|
|
|
63905
63983
|
nullable: true,
|
|
63906
63984
|
type: 'string',
|
|
63907
63985
|
},
|
|
63986
|
+
sub_reservations: {
|
|
63987
|
+
description: "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.",
|
|
63988
|
+
items: {
|
|
63989
|
+
properties: {
|
|
63990
|
+
access_grant_id: {
|
|
63991
|
+
format: 'uuid',
|
|
63992
|
+
nullable: true,
|
|
63993
|
+
type: 'string',
|
|
63994
|
+
},
|
|
63995
|
+
access_methods: {
|
|
63996
|
+
items: {
|
|
63997
|
+
$ref: '#/components/schemas/access_method',
|
|
63998
|
+
},
|
|
63999
|
+
type: 'array',
|
|
64000
|
+
},
|
|
64001
|
+
ends_at: {
|
|
64002
|
+
format: 'date-time',
|
|
64003
|
+
nullable: true,
|
|
64004
|
+
type: 'string',
|
|
64005
|
+
},
|
|
64006
|
+
is_resource_syncing: { type: 'boolean' },
|
|
64007
|
+
name: { nullable: true, type: 'string' },
|
|
64008
|
+
spaces: {
|
|
64009
|
+
items: {
|
|
64010
|
+
properties: {
|
|
64011
|
+
name: { nullable: true, type: 'string' },
|
|
64012
|
+
space_id: {
|
|
64013
|
+
format: 'uuid',
|
|
64014
|
+
nullable: true,
|
|
64015
|
+
type: 'string',
|
|
64016
|
+
},
|
|
64017
|
+
space_key: { type: 'string' },
|
|
64018
|
+
},
|
|
64019
|
+
required: ['space_id', 'space_key', 'name'],
|
|
64020
|
+
type: 'object',
|
|
64021
|
+
},
|
|
64022
|
+
type: 'array',
|
|
64023
|
+
},
|
|
64024
|
+
starts_at: {
|
|
64025
|
+
format: 'date-time',
|
|
64026
|
+
nullable: true,
|
|
64027
|
+
type: 'string',
|
|
64028
|
+
},
|
|
64029
|
+
sub_reservation_id: {
|
|
64030
|
+
format: 'uuid',
|
|
64031
|
+
type: 'string',
|
|
64032
|
+
},
|
|
64033
|
+
sub_reservation_key: { type: 'string' },
|
|
64034
|
+
},
|
|
64035
|
+
required: [
|
|
64036
|
+
'sub_reservation_id',
|
|
64037
|
+
'sub_reservation_key',
|
|
64038
|
+
'name',
|
|
64039
|
+
'starts_at',
|
|
64040
|
+
'ends_at',
|
|
64041
|
+
'is_resource_syncing',
|
|
64042
|
+
'access_grant_id',
|
|
64043
|
+
'spaces',
|
|
64044
|
+
'access_methods',
|
|
64045
|
+
],
|
|
64046
|
+
type: 'object',
|
|
64047
|
+
},
|
|
64048
|
+
type: 'array',
|
|
64049
|
+
},
|
|
63908
64050
|
warnings: {
|
|
63909
64051
|
items: {
|
|
63910
64052
|
properties: {
|
|
@@ -63940,6 +64082,7 @@ const openapi = {
|
|
|
63940
64082
|
'spaces',
|
|
63941
64083
|
'connected_account_id',
|
|
63942
64084
|
'last_automation_result',
|
|
64085
|
+
'sub_reservations',
|
|
63943
64086
|
],
|
|
63944
64087
|
type: 'object',
|
|
63945
64088
|
},
|
|
@@ -64664,6 +64807,17 @@ const openapi = {
|
|
|
64664
64807
|
type: 'object',
|
|
64665
64808
|
},
|
|
64666
64809
|
name: { nullable: true, type: 'string' },
|
|
64810
|
+
parent_reservation_id: {
|
|
64811
|
+
description: '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.',
|
|
64812
|
+
format: 'uuid',
|
|
64813
|
+
nullable: true,
|
|
64814
|
+
type: 'string',
|
|
64815
|
+
},
|
|
64816
|
+
parent_reservation_key: {
|
|
64817
|
+
description: '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.',
|
|
64818
|
+
nullable: true,
|
|
64819
|
+
type: 'string',
|
|
64820
|
+
},
|
|
64667
64821
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
64668
64822
|
reservation_key: { type: 'string' },
|
|
64669
64823
|
starts_at: {
|
|
@@ -64683,6 +64837,8 @@ const openapi = {
|
|
|
64683
64837
|
'has_issued_access',
|
|
64684
64838
|
'access_methods',
|
|
64685
64839
|
'last_automation_result',
|
|
64840
|
+
'parent_reservation_id',
|
|
64841
|
+
'parent_reservation_key',
|
|
64686
64842
|
],
|
|
64687
64843
|
type: 'object',
|
|
64688
64844
|
},
|