@seamapi/types 1.1162.0 → 1.1163.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.js +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/openapi.js +14 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +16 -4
- package/src/lib/seam/connect/route-types.ts +8 -4
|
@@ -49120,7 +49120,7 @@ export type Routes = {
|
|
|
49120
49120
|
ends_at?: string | undefined;
|
|
49121
49121
|
/** 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. */
|
|
49122
49122
|
preferred_code?: (string | null) | undefined;
|
|
49123
|
-
/** Your identifier for the sub-reservation. Must be unique
|
|
49123
|
+
/** Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation. */
|
|
49124
49124
|
sub_reservation_key: string;
|
|
49125
49125
|
/** Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary. */
|
|
49126
49126
|
is_primary?: boolean | undefined;
|
|
@@ -49576,7 +49576,7 @@ export type Routes = {
|
|
|
49576
49576
|
ends_at?: string | undefined;
|
|
49577
49577
|
/** 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. */
|
|
49578
49578
|
preferred_code?: (string | null) | undefined;
|
|
49579
|
-
/** Your identifier for the sub-reservation. Must be unique
|
|
49579
|
+
/** Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation. */
|
|
49580
49580
|
sub_reservation_key: string;
|
|
49581
49581
|
/** Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary. */
|
|
49582
49582
|
is_primary?: boolean | undefined;
|
|
@@ -100645,7 +100645,7 @@ export type Routes = {
|
|
|
100645
100645
|
} | null;
|
|
100646
100646
|
/** 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. */
|
|
100647
100647
|
parent_reservation_id: string | null;
|
|
100648
|
-
/** Key of the parent reservation when this reservation is a sub-reservation.
|
|
100648
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Null otherwise. */
|
|
100649
100649
|
parent_reservation_key: string | null;
|
|
100650
100650
|
/** Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation. */
|
|
100651
100651
|
is_primary: boolean | null;
|
|
@@ -100653,6 +100653,8 @@ export type Routes = {
|
|
|
100653
100653
|
sub_reservations: {
|
|
100654
100654
|
sub_reservation_id: string;
|
|
100655
100655
|
sub_reservation_key: string;
|
|
100656
|
+
/** Key of the reservation this sub-reservation belongs to. */
|
|
100657
|
+
parent_reservation_key: string;
|
|
100656
100658
|
/** Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user. */
|
|
100657
100659
|
is_primary: boolean;
|
|
100658
100660
|
name: string | null;
|
|
@@ -100766,6 +100768,8 @@ export type Routes = {
|
|
|
100766
100768
|
sub_reservations: {
|
|
100767
100769
|
sub_reservation_id: string;
|
|
100768
100770
|
sub_reservation_key: string;
|
|
100771
|
+
/** Key of the reservation this sub-reservation belongs to. */
|
|
100772
|
+
parent_reservation_key: string;
|
|
100769
100773
|
/** Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user. */
|
|
100770
100774
|
is_primary: boolean;
|
|
100771
100775
|
name: string | null;
|
|
@@ -101333,7 +101337,7 @@ export type Routes = {
|
|
|
101333
101337
|
} | null;
|
|
101334
101338
|
/** 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. */
|
|
101335
101339
|
parent_reservation_id: string | null;
|
|
101336
|
-
/** Key of the parent reservation when this reservation is a sub-reservation.
|
|
101340
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Null otherwise. */
|
|
101337
101341
|
parent_reservation_key: string | null;
|
|
101338
101342
|
/** Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation. */
|
|
101339
101343
|
is_primary: boolean | null;
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ export const sub_reservation_resource = base_access_grant_resource
|
|
|
90
90
|
message: 'Must not have leading or trailing whitespace',
|
|
91
91
|
})
|
|
92
92
|
.describe(
|
|
93
|
-
'Your identifier for the sub-reservation. Must be unique
|
|
93
|
+
'Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation.',
|
|
94
94
|
),
|
|
95
95
|
is_primary: z
|
|
96
96
|
.boolean()
|
|
@@ -53827,7 +53827,7 @@ const openapi: OpenAPISpec = {
|
|
|
53827
53827
|
},
|
|
53828
53828
|
sub_reservation_key: {
|
|
53829
53829
|
description:
|
|
53830
|
-
'Your identifier for the sub-reservation. Must be unique
|
|
53830
|
+
'Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation.',
|
|
53831
53831
|
minLength: 1,
|
|
53832
53832
|
type: 'string',
|
|
53833
53833
|
},
|
|
@@ -55149,7 +55149,7 @@ const openapi: OpenAPISpec = {
|
|
|
55149
55149
|
},
|
|
55150
55150
|
sub_reservation_key: {
|
|
55151
55151
|
description:
|
|
55152
|
-
'Your identifier for the sub-reservation. Must be unique
|
|
55152
|
+
'Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation.',
|
|
55153
55153
|
minLength: 1,
|
|
55154
55154
|
type: 'string',
|
|
55155
55155
|
},
|
|
@@ -70994,7 +70994,7 @@ const openapi: OpenAPISpec = {
|
|
|
70994
70994
|
},
|
|
70995
70995
|
parent_reservation_key: {
|
|
70996
70996
|
description:
|
|
70997
|
-
'Key of the parent reservation when this reservation is a sub-reservation.
|
|
70997
|
+
'Key of the parent reservation when this reservation is a sub-reservation. Null otherwise.',
|
|
70998
70998
|
nullable: true,
|
|
70999
70999
|
type: 'string',
|
|
71000
71000
|
},
|
|
@@ -71049,6 +71049,11 @@ const openapi: OpenAPISpec = {
|
|
|
71049
71049
|
},
|
|
71050
71050
|
is_resource_syncing: { type: 'boolean' },
|
|
71051
71051
|
name: { nullable: true, type: 'string' },
|
|
71052
|
+
parent_reservation_key: {
|
|
71053
|
+
description:
|
|
71054
|
+
'Key of the reservation this sub-reservation belongs to.',
|
|
71055
|
+
type: 'string',
|
|
71056
|
+
},
|
|
71052
71057
|
spaces: {
|
|
71053
71058
|
items: {
|
|
71054
71059
|
properties: {
|
|
@@ -71079,6 +71084,7 @@ const openapi: OpenAPISpec = {
|
|
|
71079
71084
|
required: [
|
|
71080
71085
|
'sub_reservation_id',
|
|
71081
71086
|
'sub_reservation_key',
|
|
71087
|
+
'parent_reservation_key',
|
|
71082
71088
|
'is_primary',
|
|
71083
71089
|
'name',
|
|
71084
71090
|
'starts_at',
|
|
@@ -71461,6 +71467,11 @@ const openapi: OpenAPISpec = {
|
|
|
71461
71467
|
},
|
|
71462
71468
|
is_resource_syncing: { type: 'boolean' },
|
|
71463
71469
|
name: { nullable: true, type: 'string' },
|
|
71470
|
+
parent_reservation_key: {
|
|
71471
|
+
description:
|
|
71472
|
+
'Key of the reservation this sub-reservation belongs to.',
|
|
71473
|
+
type: 'string',
|
|
71474
|
+
},
|
|
71464
71475
|
spaces: {
|
|
71465
71476
|
items: {
|
|
71466
71477
|
properties: {
|
|
@@ -71491,6 +71502,7 @@ const openapi: OpenAPISpec = {
|
|
|
71491
71502
|
required: [
|
|
71492
71503
|
'sub_reservation_id',
|
|
71493
71504
|
'sub_reservation_key',
|
|
71505
|
+
'parent_reservation_key',
|
|
71494
71506
|
'is_primary',
|
|
71495
71507
|
'name',
|
|
71496
71508
|
'starts_at',
|
|
@@ -72317,7 +72329,7 @@ const openapi: OpenAPISpec = {
|
|
|
72317
72329
|
},
|
|
72318
72330
|
parent_reservation_key: {
|
|
72319
72331
|
description:
|
|
72320
|
-
'Key of the parent reservation when this reservation is a sub-reservation.
|
|
72332
|
+
'Key of the parent reservation when this reservation is a sub-reservation. Null otherwise.',
|
|
72321
72333
|
nullable: true,
|
|
72322
72334
|
type: 'string',
|
|
72323
72335
|
},
|
|
@@ -57307,7 +57307,7 @@ export type Routes = {
|
|
|
57307
57307
|
ends_at?: string | undefined
|
|
57308
57308
|
/** 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. */
|
|
57309
57309
|
preferred_code?: (string | null) | undefined
|
|
57310
|
-
/** Your identifier for the sub-reservation. Must be unique
|
|
57310
|
+
/** Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation. */
|
|
57311
57311
|
sub_reservation_key: string
|
|
57312
57312
|
/** Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary. */
|
|
57313
57313
|
is_primary?: boolean | undefined
|
|
@@ -57814,7 +57814,7 @@ export type Routes = {
|
|
|
57814
57814
|
ends_at?: string | undefined
|
|
57815
57815
|
/** 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. */
|
|
57816
57816
|
preferred_code?: (string | null) | undefined
|
|
57817
|
-
/** Your identifier for the sub-reservation. Must be unique
|
|
57817
|
+
/** Your identifier for the sub-reservation. Must be unique across all your reservations and sub-reservations, and stay with the same reservation. */
|
|
57818
57818
|
sub_reservation_key: string
|
|
57819
57819
|
/** Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary. */
|
|
57820
57820
|
is_primary?: boolean | undefined
|
|
@@ -120075,7 +120075,7 @@ export type Routes = {
|
|
|
120075
120075
|
} | null
|
|
120076
120076
|
/** 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. */
|
|
120077
120077
|
parent_reservation_id: string | null
|
|
120078
|
-
/** Key of the parent reservation when this reservation is a sub-reservation.
|
|
120078
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Null otherwise. */
|
|
120079
120079
|
parent_reservation_key: string | null
|
|
120080
120080
|
/** Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation. */
|
|
120081
120081
|
is_primary: boolean | null
|
|
@@ -120083,6 +120083,8 @@ export type Routes = {
|
|
|
120083
120083
|
sub_reservations: {
|
|
120084
120084
|
sub_reservation_id: string
|
|
120085
120085
|
sub_reservation_key: string
|
|
120086
|
+
/** Key of the reservation this sub-reservation belongs to. */
|
|
120087
|
+
parent_reservation_key: string
|
|
120086
120088
|
/** Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user. */
|
|
120087
120089
|
is_primary: boolean
|
|
120088
120090
|
name: string | null
|
|
@@ -120196,6 +120198,8 @@ export type Routes = {
|
|
|
120196
120198
|
sub_reservations: {
|
|
120197
120199
|
sub_reservation_id: string
|
|
120198
120200
|
sub_reservation_key: string
|
|
120201
|
+
/** Key of the reservation this sub-reservation belongs to. */
|
|
120202
|
+
parent_reservation_key: string
|
|
120199
120203
|
/** Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user. */
|
|
120200
120204
|
is_primary: boolean
|
|
120201
120205
|
name: string | null
|
|
@@ -120824,7 +120828,7 @@ export type Routes = {
|
|
|
120824
120828
|
} | null
|
|
120825
120829
|
/** 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. */
|
|
120826
120830
|
parent_reservation_id: string | null
|
|
120827
|
-
/** Key of the parent reservation when this reservation is a sub-reservation.
|
|
120831
|
+
/** Key of the parent reservation when this reservation is a sub-reservation. Null otherwise. */
|
|
120828
120832
|
parent_reservation_key: string | null
|
|
120829
120833
|
/** Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation. */
|
|
120830
120834
|
is_primary: boolean | null
|