@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.
|
@@ -100021,6 +100021,30 @@ export type Routes = {
|
|
|
100021
100021
|
message?: string | undefined;
|
|
100022
100022
|
created_at: string;
|
|
100023
100023
|
} | null;
|
|
100024
|
+
/** 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. */
|
|
100025
|
+
parent_reservation_id: string | null;
|
|
100026
|
+
/** 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. */
|
|
100027
|
+
parent_reservation_key: string | null;
|
|
100028
|
+
/** 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. */
|
|
100029
|
+
sub_reservations: {
|
|
100030
|
+
sub_reservation_id: string;
|
|
100031
|
+
sub_reservation_key: string;
|
|
100032
|
+
name: string | null;
|
|
100033
|
+
starts_at: string | null;
|
|
100034
|
+
ends_at: string | null;
|
|
100035
|
+
is_resource_syncing: boolean;
|
|
100036
|
+
access_grant_id: string | null;
|
|
100037
|
+
spaces: {
|
|
100038
|
+
space_id: string | null;
|
|
100039
|
+
space_key: string;
|
|
100040
|
+
name: string | null;
|
|
100041
|
+
}[];
|
|
100042
|
+
access_methods: {
|
|
100043
|
+
access_method_id: string;
|
|
100044
|
+
mode: string;
|
|
100045
|
+
is_issued: boolean;
|
|
100046
|
+
}[];
|
|
100047
|
+
}[];
|
|
100024
100048
|
};
|
|
100025
100049
|
};
|
|
100026
100050
|
maxDuration: undefined;
|
|
@@ -100110,6 +100134,26 @@ export type Routes = {
|
|
|
100110
100134
|
message?: string | undefined;
|
|
100111
100135
|
created_at: string;
|
|
100112
100136
|
} | null;
|
|
100137
|
+
/** 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. */
|
|
100138
|
+
sub_reservations: {
|
|
100139
|
+
sub_reservation_id: string;
|
|
100140
|
+
sub_reservation_key: string;
|
|
100141
|
+
name: string | null;
|
|
100142
|
+
starts_at: string | null;
|
|
100143
|
+
ends_at: string | null;
|
|
100144
|
+
is_resource_syncing: boolean;
|
|
100145
|
+
access_grant_id: string | null;
|
|
100146
|
+
spaces: {
|
|
100147
|
+
space_id: string | null;
|
|
100148
|
+
space_key: string;
|
|
100149
|
+
name: string | null;
|
|
100150
|
+
}[];
|
|
100151
|
+
access_methods: {
|
|
100152
|
+
access_method_id: string;
|
|
100153
|
+
mode: string;
|
|
100154
|
+
is_issued: boolean;
|
|
100155
|
+
}[];
|
|
100156
|
+
}[];
|
|
100113
100157
|
}[];
|
|
100114
100158
|
/** Information about the current page of results. */
|
|
100115
100159
|
pagination: {
|
|
@@ -100657,6 +100701,10 @@ export type Routes = {
|
|
|
100657
100701
|
message?: string | undefined;
|
|
100658
100702
|
created_at: string;
|
|
100659
100703
|
} | null;
|
|
100704
|
+
/** 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. */
|
|
100705
|
+
parent_reservation_id: string | null;
|
|
100706
|
+
/** 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. */
|
|
100707
|
+
parent_reservation_key: string | null;
|
|
100660
100708
|
}[];
|
|
100661
100709
|
};
|
|
100662
100710
|
maxDuration: undefined;
|
package/package.json
CHANGED
|
@@ -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
|