@seamapi/types 1.1152.0 → 1.1154.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 +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +10 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +13 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +4 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +14 -0
- package/lib/seam/connect/openapi.js +90 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +111 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +16 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +106 -0
- package/src/lib/seam/connect/route-types.ts +122 -0
|
@@ -2992,6 +2992,16 @@ export type Routes = {
|
|
|
2992
2992
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2993
2993
|
warning_code: 'being_deleted'
|
|
2994
2994
|
}
|
|
2995
|
+
| {
|
|
2996
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2997
|
+
message: string
|
|
2998
|
+
/** Date and time at which Seam created the warning. */
|
|
2999
|
+
created_at?: string | undefined
|
|
3000
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3001
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
3002
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
3003
|
+
device_unreachable_since: string
|
|
3004
|
+
}
|
|
2995
3005
|
| {
|
|
2996
3006
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2997
3007
|
message: string
|
|
@@ -3578,6 +3588,16 @@ export type Routes = {
|
|
|
3578
3588
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3579
3589
|
warning_code: 'being_deleted'
|
|
3580
3590
|
}
|
|
3591
|
+
| {
|
|
3592
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
3593
|
+
message: string
|
|
3594
|
+
/** Date and time at which Seam created the warning. */
|
|
3595
|
+
created_at?: string | undefined
|
|
3596
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3597
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
3598
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
3599
|
+
device_unreachable_since: string
|
|
3600
|
+
}
|
|
3581
3601
|
| {
|
|
3582
3602
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
3583
3603
|
message: string
|
|
@@ -6717,6 +6737,16 @@ export type Routes = {
|
|
|
6717
6737
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6718
6738
|
warning_code: 'being_deleted'
|
|
6719
6739
|
}
|
|
6740
|
+
| {
|
|
6741
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6742
|
+
message: string
|
|
6743
|
+
/** Date and time at which Seam created the warning. */
|
|
6744
|
+
created_at?: string | undefined
|
|
6745
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6746
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
6747
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
6748
|
+
device_unreachable_since: string
|
|
6749
|
+
}
|
|
6720
6750
|
| {
|
|
6721
6751
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6722
6752
|
message: string
|
|
@@ -7414,6 +7444,16 @@ export type Routes = {
|
|
|
7414
7444
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7415
7445
|
warning_code: 'being_deleted'
|
|
7416
7446
|
}
|
|
7447
|
+
| {
|
|
7448
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7449
|
+
message: string
|
|
7450
|
+
/** Date and time at which Seam created the warning. */
|
|
7451
|
+
created_at?: string | undefined
|
|
7452
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7453
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
7454
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
7455
|
+
device_unreachable_since: string
|
|
7456
|
+
}
|
|
7417
7457
|
| {
|
|
7418
7458
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7419
7459
|
message: string
|
|
@@ -7991,6 +8031,16 @@ export type Routes = {
|
|
|
7991
8031
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7992
8032
|
warning_code: 'being_deleted'
|
|
7993
8033
|
}
|
|
8034
|
+
| {
|
|
8035
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
8036
|
+
message: string
|
|
8037
|
+
/** Date and time at which Seam created the warning. */
|
|
8038
|
+
created_at?: string | undefined
|
|
8039
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
8040
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
8041
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
8042
|
+
device_unreachable_since: string
|
|
8043
|
+
}
|
|
7994
8044
|
| {
|
|
7995
8045
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7996
8046
|
message: string
|
|
@@ -8545,6 +8595,16 @@ export type Routes = {
|
|
|
8545
8595
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
8546
8596
|
warning_code: 'being_deleted'
|
|
8547
8597
|
}
|
|
8598
|
+
| {
|
|
8599
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
8600
|
+
message: string
|
|
8601
|
+
/** Date and time at which Seam created the warning. */
|
|
8602
|
+
created_at?: string | undefined
|
|
8603
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
8604
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
8605
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
8606
|
+
device_unreachable_since: string
|
|
8607
|
+
}
|
|
8548
8608
|
| {
|
|
8549
8609
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
8550
8610
|
message: string
|
|
@@ -9132,6 +9192,16 @@ export type Routes = {
|
|
|
9132
9192
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9133
9193
|
warning_code: 'being_deleted'
|
|
9134
9194
|
}
|
|
9195
|
+
| {
|
|
9196
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9197
|
+
message: string
|
|
9198
|
+
/** Date and time at which Seam created the warning. */
|
|
9199
|
+
created_at?: string | undefined
|
|
9200
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9201
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
9202
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
9203
|
+
device_unreachable_since: string
|
|
9204
|
+
}
|
|
9135
9205
|
| {
|
|
9136
9206
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9137
9207
|
message: string
|
|
@@ -12173,6 +12243,16 @@ export type Routes = {
|
|
|
12173
12243
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12174
12244
|
warning_code: 'being_deleted'
|
|
12175
12245
|
}
|
|
12246
|
+
| {
|
|
12247
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12248
|
+
message: string
|
|
12249
|
+
/** Date and time at which Seam created the warning. */
|
|
12250
|
+
created_at?: string | undefined
|
|
12251
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12252
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
12253
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
12254
|
+
device_unreachable_since: string
|
|
12255
|
+
}
|
|
12176
12256
|
| {
|
|
12177
12257
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12178
12258
|
message: string
|
|
@@ -12639,6 +12719,16 @@ export type Routes = {
|
|
|
12639
12719
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12640
12720
|
warning_code: 'being_deleted'
|
|
12641
12721
|
}
|
|
12722
|
+
| {
|
|
12723
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12724
|
+
message: string
|
|
12725
|
+
/** Date and time at which Seam created the warning. */
|
|
12726
|
+
created_at?: string | undefined
|
|
12727
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12728
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
12729
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
12730
|
+
device_unreachable_since: string
|
|
12731
|
+
}
|
|
12642
12732
|
| {
|
|
12643
12733
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12644
12734
|
message: string
|
|
@@ -57176,6 +57266,8 @@ export type Routes = {
|
|
|
57176
57266
|
preferred_code?: (string | null) | undefined
|
|
57177
57267
|
/** Your identifier for the sub-reservation. Must be unique within its reservation. */
|
|
57178
57268
|
sub_reservation_key: string
|
|
57269
|
+
/** 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. */
|
|
57270
|
+
is_primary?: boolean | undefined
|
|
57179
57271
|
/** 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. */
|
|
57180
57272
|
custom_metadata?:
|
|
57181
57273
|
| {
|
|
@@ -57681,6 +57773,8 @@ export type Routes = {
|
|
|
57681
57773
|
preferred_code?: (string | null) | undefined
|
|
57682
57774
|
/** Your identifier for the sub-reservation. Must be unique within its reservation. */
|
|
57683
57775
|
sub_reservation_key: string
|
|
57776
|
+
/** 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. */
|
|
57777
|
+
is_primary?: boolean | undefined
|
|
57684
57778
|
/** 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. */
|
|
57685
57779
|
custom_metadata?:
|
|
57686
57780
|
| {
|
|
@@ -119433,10 +119527,14 @@ export type Routes = {
|
|
|
119433
119527
|
parent_reservation_id: string | null
|
|
119434
119528
|
/** 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. */
|
|
119435
119529
|
parent_reservation_key: string | null
|
|
119530
|
+
/** 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. */
|
|
119531
|
+
is_primary: boolean | null
|
|
119436
119532
|
/** 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. */
|
|
119437
119533
|
sub_reservations: {
|
|
119438
119534
|
sub_reservation_id: string
|
|
119439
119535
|
sub_reservation_key: string
|
|
119536
|
+
/** 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. */
|
|
119537
|
+
is_primary: boolean
|
|
119440
119538
|
name: string | null
|
|
119441
119539
|
starts_at: string | null
|
|
119442
119540
|
ends_at: string | null
|
|
@@ -119546,6 +119644,8 @@ export type Routes = {
|
|
|
119546
119644
|
sub_reservations: {
|
|
119547
119645
|
sub_reservation_id: string
|
|
119548
119646
|
sub_reservation_key: string
|
|
119647
|
+
/** 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. */
|
|
119648
|
+
is_primary: boolean
|
|
119549
119649
|
name: string | null
|
|
119550
119650
|
starts_at: string | null
|
|
119551
119651
|
ends_at: string | null
|
|
@@ -120174,6 +120274,8 @@ export type Routes = {
|
|
|
120174
120274
|
parent_reservation_id: string | null
|
|
120175
120275
|
/** 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. */
|
|
120176
120276
|
parent_reservation_key: string | null
|
|
120277
|
+
/** 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. */
|
|
120278
|
+
is_primary: boolean | null
|
|
120177
120279
|
}[]
|
|
120178
120280
|
}
|
|
120179
120281
|
maxDuration: undefined
|
|
@@ -202169,6 +202271,16 @@ export type Routes = {
|
|
|
202169
202271
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
202170
202272
|
warning_code: 'being_deleted'
|
|
202171
202273
|
}
|
|
202274
|
+
| {
|
|
202275
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
202276
|
+
message: string
|
|
202277
|
+
/** Date and time at which Seam created the warning. */
|
|
202278
|
+
created_at?: string | undefined
|
|
202279
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
202280
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
202281
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
202282
|
+
device_unreachable_since: string
|
|
202283
|
+
}
|
|
202172
202284
|
| {
|
|
202173
202285
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
202174
202286
|
message: string
|
|
@@ -202621,6 +202733,16 @@ export type Routes = {
|
|
|
202621
202733
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
202622
202734
|
warning_code: 'being_deleted'
|
|
202623
202735
|
}
|
|
202736
|
+
| {
|
|
202737
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
202738
|
+
message: string
|
|
202739
|
+
/** Date and time at which Seam created the warning. */
|
|
202740
|
+
created_at?: string | undefined
|
|
202741
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
202742
|
+
warning_code: 'device_unreachable_for_extended_period'
|
|
202743
|
+
/** Date and time since which Seam has been unable to reach the device. */
|
|
202744
|
+
device_unreachable_since: string
|
|
202745
|
+
}
|
|
202624
202746
|
| {
|
|
202625
202747
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
202626
202748
|
message: string
|