@seamapi/types 1.560.0 → 1.562.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/dist/connect.cjs +245 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +502 -10
- package/dist/index.cjs +245 -1
- package/dist/index.cjs.map +1 -1
- 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 +11 -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/batch.d.ts +144 -0
- package/lib/seam/connect/openapi.d.ts +214 -10
- package/lib/seam/connect/openapi.js +237 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +148 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +249 -0
- package/src/lib/seam/connect/route-types.ts +161 -0
|
@@ -1762,6 +1762,16 @@ export type Routes = {
|
|
|
1762
1762
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1763
1763
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
1764
1764
|
}
|
|
1765
|
+
| {
|
|
1766
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1767
|
+
message: string
|
|
1768
|
+
/** Indicates that this is an access code error. */
|
|
1769
|
+
is_access_code_error: true
|
|
1770
|
+
/** Date and time at which Seam created the error. */
|
|
1771
|
+
created_at?: string | undefined
|
|
1772
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1773
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
1774
|
+
}
|
|
1765
1775
|
| {
|
|
1766
1776
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1767
1777
|
message: string
|
|
@@ -2361,6 +2371,16 @@ export type Routes = {
|
|
|
2361
2371
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2362
2372
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
2363
2373
|
}
|
|
2374
|
+
| {
|
|
2375
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2376
|
+
message: string
|
|
2377
|
+
/** Indicates that this is an access code error. */
|
|
2378
|
+
is_access_code_error: true
|
|
2379
|
+
/** Date and time at which Seam created the error. */
|
|
2380
|
+
created_at?: string | undefined
|
|
2381
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2382
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
2383
|
+
}
|
|
2364
2384
|
| {
|
|
2365
2385
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2366
2386
|
message: string
|
|
@@ -4403,6 +4423,16 @@ export type Routes = {
|
|
|
4403
4423
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4404
4424
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
4405
4425
|
}
|
|
4426
|
+
| {
|
|
4427
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4428
|
+
message: string
|
|
4429
|
+
/** Indicates that this is an access code error. */
|
|
4430
|
+
is_access_code_error: true
|
|
4431
|
+
/** Date and time at which Seam created the error. */
|
|
4432
|
+
created_at?: string | undefined
|
|
4433
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4434
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
4435
|
+
}
|
|
4406
4436
|
| {
|
|
4407
4437
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4408
4438
|
message: string
|
|
@@ -4976,6 +5006,16 @@ export type Routes = {
|
|
|
4976
5006
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4977
5007
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
4978
5008
|
}
|
|
5009
|
+
| {
|
|
5010
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5011
|
+
message: string
|
|
5012
|
+
/** Indicates that this is an access code error. */
|
|
5013
|
+
is_access_code_error: true
|
|
5014
|
+
/** Date and time at which Seam created the error. */
|
|
5015
|
+
created_at?: string | undefined
|
|
5016
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5017
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
5018
|
+
}
|
|
4979
5019
|
| {
|
|
4980
5020
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4981
5021
|
message: string
|
|
@@ -5555,6 +5595,16 @@ export type Routes = {
|
|
|
5555
5595
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5556
5596
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
5557
5597
|
}
|
|
5598
|
+
| {
|
|
5599
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5600
|
+
message: string
|
|
5601
|
+
/** Indicates that this is an access code error. */
|
|
5602
|
+
is_access_code_error: true
|
|
5603
|
+
/** Date and time at which Seam created the error. */
|
|
5604
|
+
created_at?: string | undefined
|
|
5605
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5606
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
5607
|
+
}
|
|
5558
5608
|
| {
|
|
5559
5609
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5560
5610
|
message: string
|
|
@@ -6112,6 +6162,16 @@ export type Routes = {
|
|
|
6112
6162
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6113
6163
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
6114
6164
|
}
|
|
6165
|
+
| {
|
|
6166
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6167
|
+
message: string
|
|
6168
|
+
/** Indicates that this is an access code error. */
|
|
6169
|
+
is_access_code_error: true
|
|
6170
|
+
/** Date and time at which Seam created the error. */
|
|
6171
|
+
created_at?: string | undefined
|
|
6172
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6173
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
6174
|
+
}
|
|
6115
6175
|
| {
|
|
6116
6176
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6117
6177
|
message: string
|
|
@@ -6702,6 +6762,16 @@ export type Routes = {
|
|
|
6702
6762
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6703
6763
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
6704
6764
|
}
|
|
6765
|
+
| {
|
|
6766
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6767
|
+
message: string
|
|
6768
|
+
/** Indicates that this is an access code error. */
|
|
6769
|
+
is_access_code_error: true
|
|
6770
|
+
/** Date and time at which Seam created the error. */
|
|
6771
|
+
created_at?: string | undefined
|
|
6772
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6773
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
6774
|
+
}
|
|
6705
6775
|
| {
|
|
6706
6776
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6707
6777
|
message: string
|
|
@@ -8731,6 +8801,16 @@ export type Routes = {
|
|
|
8731
8801
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8732
8802
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
8733
8803
|
}
|
|
8804
|
+
| {
|
|
8805
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8806
|
+
message: string
|
|
8807
|
+
/** Indicates that this is an access code error. */
|
|
8808
|
+
is_access_code_error: true
|
|
8809
|
+
/** Date and time at which Seam created the error. */
|
|
8810
|
+
created_at?: string | undefined
|
|
8811
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8812
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
8813
|
+
}
|
|
8734
8814
|
| {
|
|
8735
8815
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8736
8816
|
message: string
|
|
@@ -9282,6 +9362,16 @@ export type Routes = {
|
|
|
9282
9362
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9283
9363
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
9284
9364
|
}
|
|
9365
|
+
| {
|
|
9366
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9367
|
+
message: string
|
|
9368
|
+
/** Indicates that this is an access code error. */
|
|
9369
|
+
is_access_code_error: true
|
|
9370
|
+
/** Date and time at which Seam created the error. */
|
|
9371
|
+
created_at?: string | undefined
|
|
9372
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9373
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
9374
|
+
}
|
|
9285
9375
|
| {
|
|
9286
9376
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9287
9377
|
message: string
|
|
@@ -22600,6 +22690,16 @@ export type Routes = {
|
|
|
22600
22690
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22601
22691
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
22602
22692
|
}
|
|
22693
|
+
| {
|
|
22694
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
22695
|
+
message: string
|
|
22696
|
+
/** Indicates that this is an access code error. */
|
|
22697
|
+
is_access_code_error: true
|
|
22698
|
+
/** Date and time at which Seam created the error. */
|
|
22699
|
+
created_at?: string | undefined
|
|
22700
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22701
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
22702
|
+
}
|
|
22603
22703
|
| {
|
|
22604
22704
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
22605
22705
|
message: string
|
|
@@ -23146,6 +23246,16 @@ export type Routes = {
|
|
|
23146
23246
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23147
23247
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
23148
23248
|
}
|
|
23249
|
+
| {
|
|
23250
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
23251
|
+
message: string
|
|
23252
|
+
/** Indicates that this is an access code error. */
|
|
23253
|
+
is_access_code_error: true
|
|
23254
|
+
/** Date and time at which Seam created the error. */
|
|
23255
|
+
created_at?: string | undefined
|
|
23256
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23257
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
23258
|
+
}
|
|
23149
23259
|
| {
|
|
23150
23260
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
23151
23261
|
message: string
|
|
@@ -69109,6 +69219,35 @@ export type Routes = {
|
|
|
69109
69219
|
}
|
|
69110
69220
|
}
|
|
69111
69221
|
}
|
|
69222
|
+
'/seam/customer/v1/reservations/get': {
|
|
69223
|
+
route: '/seam/customer/v1/reservations/get'
|
|
69224
|
+
method: 'GET' | 'POST'
|
|
69225
|
+
queryParams: {}
|
|
69226
|
+
jsonBody: {}
|
|
69227
|
+
commonParams: {
|
|
69228
|
+
/** ID of the reservation to retrieve. */
|
|
69229
|
+
reservation_id?: string | undefined
|
|
69230
|
+
/** Key of the reservation to retrieve. */
|
|
69231
|
+
reservation_key?: string | undefined
|
|
69232
|
+
}
|
|
69233
|
+
formData: {}
|
|
69234
|
+
jsonResponse: {
|
|
69235
|
+
reservation: {
|
|
69236
|
+
reservation_id: string
|
|
69237
|
+
reservation_key: string
|
|
69238
|
+
name: string | null
|
|
69239
|
+
starts_at: string | null
|
|
69240
|
+
ends_at: string | null
|
|
69241
|
+
created_at: string
|
|
69242
|
+
guest_name: string | null
|
|
69243
|
+
access_methods: {
|
|
69244
|
+
access_method_id: string
|
|
69245
|
+
mode: string
|
|
69246
|
+
is_issued: boolean
|
|
69247
|
+
}[]
|
|
69248
|
+
}
|
|
69249
|
+
}
|
|
69250
|
+
}
|
|
69112
69251
|
'/seam/customer/v1/reservations/list': {
|
|
69113
69252
|
route: '/seam/customer/v1/reservations/list'
|
|
69114
69253
|
method: 'GET' | 'POST'
|
|
@@ -69117,6 +69256,8 @@ export type Routes = {
|
|
|
69117
69256
|
commonParams: {
|
|
69118
69257
|
/** Filter reservations by space key. */
|
|
69119
69258
|
space_key?: string | undefined
|
|
69259
|
+
/** Filter reservations by space ID (UUID). */
|
|
69260
|
+
space_id?: string | undefined
|
|
69120
69261
|
/** Maximum number of records to return per page. */
|
|
69121
69262
|
limit?: number
|
|
69122
69263
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
@@ -102200,6 +102341,16 @@ export type Routes = {
|
|
|
102200
102341
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102201
102342
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
102202
102343
|
}
|
|
102344
|
+
| {
|
|
102345
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102346
|
+
message: string
|
|
102347
|
+
/** Indicates that this is an access code error. */
|
|
102348
|
+
is_access_code_error: true
|
|
102349
|
+
/** Date and time at which Seam created the error. */
|
|
102350
|
+
created_at?: string | undefined
|
|
102351
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102352
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
102353
|
+
}
|
|
102203
102354
|
| {
|
|
102204
102355
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102205
102356
|
message: string
|
|
@@ -102746,6 +102897,16 @@ export type Routes = {
|
|
|
102746
102897
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102747
102898
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
102748
102899
|
}
|
|
102900
|
+
| {
|
|
102901
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102902
|
+
message: string
|
|
102903
|
+
/** Indicates that this is an access code error. */
|
|
102904
|
+
is_access_code_error: true
|
|
102905
|
+
/** Date and time at which Seam created the error. */
|
|
102906
|
+
created_at?: string | undefined
|
|
102907
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102908
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
102909
|
+
}
|
|
102749
102910
|
| {
|
|
102750
102911
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102751
102912
|
message: string
|