@seamapi/types 1.332.1 → 1.334.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.
Files changed (33) hide show
  1. package/dist/connect.cjs +1541 -161
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4917 -923
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +568 -25
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js +4 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
  12. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
  13. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +216 -0
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
  17. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  19. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  21. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  23. package/lib/seam/connect/openapi.d.ts +309 -164
  24. package/lib/seam/connect/openapi.js +1346 -104
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +2391 -310
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
  29. package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -1
  30. package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
  31. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  32. package/src/lib/seam/connect/openapi.ts +1518 -173
  33. package/src/lib/seam/connect/route-types.ts +3016 -297
@@ -38,23 +38,26 @@ declare const _default: {
38
38
  description: string;
39
39
  items: {
40
40
  oneOf: ({
41
- properties: {
42
- error_code: {
43
- type: string;
44
- };
45
- is_access_code_error: {
46
- enum: boolean[];
47
- type: string;
48
- };
49
- message: {
50
- type: string;
41
+ oneOf: {
42
+ description: string;
43
+ properties: {
44
+ error_code: {
45
+ description: string;
46
+ enum: string[];
47
+ type: string;
48
+ };
49
+ is_access_code_error: {
50
+ enum: boolean[];
51
+ type: string;
52
+ };
53
+ message: {
54
+ type: string;
55
+ };
51
56
  };
52
- is_connected_account_error?: never;
53
- };
54
- required: string[];
55
- type: string;
57
+ required: string[];
58
+ type: string;
59
+ }[];
56
60
  description?: never;
57
- oneOf?: never;
58
61
  } | {
59
62
  description: string;
60
63
  oneOf: {
@@ -76,27 +79,27 @@ declare const _default: {
76
79
  required: string[];
77
80
  type: string;
78
81
  }[];
79
- properties?: never;
80
- required?: never;
81
- type?: never;
82
82
  } | {
83
- properties: {
84
- error_code: {
85
- type: string;
86
- };
87
- is_connected_account_error: {
88
- enum: boolean[];
89
- type: string;
90
- };
91
- message: {
92
- type: string;
83
+ oneOf: {
84
+ description: string;
85
+ properties: {
86
+ error_code: {
87
+ description: string;
88
+ enum: string[];
89
+ type: string;
90
+ };
91
+ is_connected_account_error: {
92
+ enum: boolean[];
93
+ type: string;
94
+ };
95
+ message: {
96
+ type: string;
97
+ };
93
98
  };
94
- is_access_code_error?: never;
95
- };
96
- required: string[];
97
- type: string;
99
+ required: string[];
100
+ type: string;
101
+ }[];
98
102
  description?: never;
99
- oneOf?: never;
100
103
  })[];
101
104
  };
102
105
  type: string;
@@ -164,16 +167,21 @@ declare const _default: {
164
167
  warnings: {
165
168
  description: string;
166
169
  items: {
167
- properties: {
168
- message: {
169
- type: string;
170
- };
171
- warning_code: {
172
- type: string;
170
+ oneOf: {
171
+ description: string;
172
+ properties: {
173
+ message: {
174
+ type: string;
175
+ };
176
+ warning_code: {
177
+ description: string;
178
+ enum: string[];
179
+ type: string;
180
+ };
173
181
  };
174
- };
175
- required: string[];
176
- type: string;
182
+ required: string[];
183
+ type: string;
184
+ }[];
177
185
  };
178
186
  type: string;
179
187
  };
@@ -293,6 +301,33 @@ declare const _default: {
293
301
  format: string;
294
302
  type: string;
295
303
  };
304
+ assa_abloy_vostio_metadata: {
305
+ description: string;
306
+ properties: {
307
+ door_names: {
308
+ items: {
309
+ type: string;
310
+ };
311
+ type: string;
312
+ };
313
+ endpoint_id: {
314
+ type: string;
315
+ };
316
+ key_id: {
317
+ type: string;
318
+ };
319
+ key_issuing_request_id: {
320
+ type: string;
321
+ };
322
+ override_guest_acs_entrance_ids: {
323
+ items: {
324
+ type: string;
325
+ };
326
+ type: string;
327
+ };
328
+ };
329
+ type: string;
330
+ };
296
331
  card_number: {
297
332
  nullable: boolean;
298
333
  type: string;
@@ -1348,6 +1383,33 @@ declare const _default: {
1348
1383
  format: string;
1349
1384
  type: string;
1350
1385
  };
1386
+ assa_abloy_vostio_metadata: {
1387
+ description: string;
1388
+ properties: {
1389
+ door_names: {
1390
+ items: {
1391
+ type: string;
1392
+ };
1393
+ type: string;
1394
+ };
1395
+ endpoint_id: {
1396
+ type: string;
1397
+ };
1398
+ key_id: {
1399
+ type: string;
1400
+ };
1401
+ key_issuing_request_id: {
1402
+ type: string;
1403
+ };
1404
+ override_guest_acs_entrance_ids: {
1405
+ items: {
1406
+ type: string;
1407
+ };
1408
+ type: string;
1409
+ };
1410
+ };
1411
+ type: string;
1412
+ };
1351
1413
  card_number: {
1352
1414
  nullable: boolean;
1353
1415
  type: string;
@@ -1646,6 +1708,33 @@ declare const _default: {
1646
1708
  format: string;
1647
1709
  type: string;
1648
1710
  };
1711
+ assa_abloy_vostio_metadata: {
1712
+ description: string;
1713
+ properties: {
1714
+ door_names: {
1715
+ items: {
1716
+ type: string;
1717
+ };
1718
+ type: string;
1719
+ };
1720
+ endpoint_id: {
1721
+ type: string;
1722
+ };
1723
+ key_id: {
1724
+ type: string;
1725
+ };
1726
+ key_issuing_request_id: {
1727
+ type: string;
1728
+ };
1729
+ override_guest_acs_entrance_ids: {
1730
+ items: {
1731
+ type: string;
1732
+ };
1733
+ type: string;
1734
+ };
1735
+ };
1736
+ type: string;
1737
+ };
1649
1738
  card_number: {
1650
1739
  nullable: boolean;
1651
1740
  type: string;
@@ -2208,20 +2297,25 @@ declare const _default: {
2208
2297
  };
2209
2298
  errors: {
2210
2299
  items: {
2211
- properties: {
2212
- error_code: {
2213
- type: string;
2214
- };
2215
- is_connected_account_error: {
2216
- enum: boolean[];
2217
- type: string;
2218
- };
2219
- message: {
2220
- type: string;
2300
+ oneOf: {
2301
+ description: string;
2302
+ properties: {
2303
+ error_code: {
2304
+ description: string;
2305
+ enum: string[];
2306
+ type: string;
2307
+ };
2308
+ is_connected_account_error: {
2309
+ enum: boolean[];
2310
+ type: string;
2311
+ };
2312
+ message: {
2313
+ type: string;
2314
+ };
2221
2315
  };
2222
- };
2223
- required: string[];
2224
- type: string;
2316
+ required: string[];
2317
+ type: string;
2318
+ }[];
2225
2319
  };
2226
2320
  type: string;
2227
2321
  };
@@ -2248,21 +2342,7 @@ declare const _default: {
2248
2342
  warnings: {
2249
2343
  items: {
2250
2344
  description: string;
2251
- oneOf: ({
2252
- properties: {
2253
- message: {
2254
- type: string;
2255
- };
2256
- warning_code: {
2257
- type: string;
2258
- description?: never;
2259
- enum?: never;
2260
- };
2261
- };
2262
- required: string[];
2263
- type: string;
2264
- description?: never;
2265
- } | {
2345
+ oneOf: {
2266
2346
  description: string;
2267
2347
  properties: {
2268
2348
  message: {
@@ -2276,7 +2356,7 @@ declare const _default: {
2276
2356
  };
2277
2357
  required: string[];
2278
2358
  type: string;
2279
- })[];
2359
+ }[];
2280
2360
  };
2281
2361
  type: string;
2282
2362
  };
@@ -2386,26 +2466,27 @@ declare const _default: {
2386
2466
  required: string[];
2387
2467
  type: string;
2388
2468
  }[];
2389
- properties?: never;
2390
- required?: never;
2391
- type?: never;
2392
2469
  } | {
2393
- properties: {
2394
- error_code: {
2395
- type: string;
2396
- };
2397
- is_connected_account_error: {
2398
- enum: boolean[];
2399
- type: string;
2400
- };
2401
- message: {
2402
- type: string;
2470
+ oneOf: {
2471
+ description: string;
2472
+ properties: {
2473
+ error_code: {
2474
+ description: string;
2475
+ enum: string[];
2476
+ type: string;
2477
+ };
2478
+ is_connected_account_error: {
2479
+ enum: boolean[];
2480
+ type: string;
2481
+ };
2482
+ message: {
2483
+ type: string;
2484
+ };
2403
2485
  };
2404
- };
2405
- required: string[];
2406
- type: string;
2486
+ required: string[];
2487
+ type: string;
2488
+ }[];
2407
2489
  description?: never;
2408
- oneOf?: never;
2409
2490
  })[];
2410
2491
  };
2411
2492
  type: string;
@@ -6669,26 +6750,27 @@ declare const _default: {
6669
6750
  required: string[];
6670
6751
  type: string;
6671
6752
  }[];
6672
- properties?: never;
6673
- required?: never;
6674
- type?: never;
6675
6753
  } | {
6676
- properties: {
6677
- error_code: {
6678
- type: string;
6679
- };
6680
- is_connected_account_error: {
6681
- enum: boolean[];
6682
- type: string;
6683
- };
6684
- message: {
6685
- type: string;
6754
+ oneOf: {
6755
+ description: string;
6756
+ properties: {
6757
+ error_code: {
6758
+ description: string;
6759
+ enum: string[];
6760
+ type: string;
6761
+ };
6762
+ is_connected_account_error: {
6763
+ enum: boolean[];
6764
+ type: string;
6765
+ };
6766
+ message: {
6767
+ type: string;
6768
+ };
6686
6769
  };
6687
- };
6688
- required: string[];
6689
- type: string;
6770
+ required: string[];
6771
+ type: string;
6772
+ }[];
6690
6773
  description?: never;
6691
- oneOf?: never;
6692
6774
  })[];
6693
6775
  };
6694
6776
  type: string;
@@ -6893,23 +6975,26 @@ declare const _default: {
6893
6975
  description: string;
6894
6976
  items: {
6895
6977
  oneOf: ({
6896
- properties: {
6897
- error_code: {
6898
- type: string;
6899
- };
6900
- is_access_code_error: {
6901
- enum: boolean[];
6902
- type: string;
6903
- };
6904
- message: {
6905
- type: string;
6978
+ oneOf: {
6979
+ description: string;
6980
+ properties: {
6981
+ error_code: {
6982
+ description: string;
6983
+ enum: string[];
6984
+ type: string;
6985
+ };
6986
+ is_access_code_error: {
6987
+ enum: boolean[];
6988
+ type: string;
6989
+ };
6990
+ message: {
6991
+ type: string;
6992
+ };
6906
6993
  };
6907
- is_connected_account_error?: never;
6908
- };
6909
- required: string[];
6910
- type: string;
6994
+ required: string[];
6995
+ type: string;
6996
+ }[];
6911
6997
  description?: never;
6912
- oneOf?: never;
6913
6998
  } | {
6914
6999
  description: string;
6915
7000
  oneOf: {
@@ -6931,27 +7016,27 @@ declare const _default: {
6931
7016
  required: string[];
6932
7017
  type: string;
6933
7018
  }[];
6934
- properties?: never;
6935
- required?: never;
6936
- type?: never;
6937
7019
  } | {
6938
- properties: {
6939
- error_code: {
6940
- type: string;
6941
- };
6942
- is_connected_account_error: {
6943
- enum: boolean[];
6944
- type: string;
6945
- };
6946
- message: {
6947
- type: string;
7020
+ oneOf: {
7021
+ description: string;
7022
+ properties: {
7023
+ error_code: {
7024
+ description: string;
7025
+ enum: string[];
7026
+ type: string;
7027
+ };
7028
+ is_connected_account_error: {
7029
+ enum: boolean[];
7030
+ type: string;
7031
+ };
7032
+ message: {
7033
+ type: string;
7034
+ };
6948
7035
  };
6949
- is_access_code_error?: never;
6950
- };
6951
- required: string[];
6952
- type: string;
7036
+ required: string[];
7037
+ type: string;
7038
+ }[];
6953
7039
  description?: never;
6954
- oneOf?: never;
6955
7040
  })[];
6956
7041
  };
6957
7042
  type: string;
@@ -6983,16 +7068,21 @@ declare const _default: {
6983
7068
  warnings: {
6984
7069
  description: string;
6985
7070
  items: {
6986
- properties: {
6987
- message: {
6988
- type: string;
6989
- };
6990
- warning_code: {
6991
- type: string;
7071
+ oneOf: {
7072
+ description: string;
7073
+ properties: {
7074
+ message: {
7075
+ type: string;
7076
+ };
7077
+ warning_code: {
7078
+ description: string;
7079
+ enum: string[];
7080
+ type: string;
7081
+ };
6992
7082
  };
6993
- };
6994
- required: string[];
6995
- type: string;
7083
+ required: string[];
7084
+ type: string;
7085
+ }[];
6996
7086
  };
6997
7087
  type: string;
6998
7088
  };
@@ -7090,26 +7180,27 @@ declare const _default: {
7090
7180
  required: string[];
7091
7181
  type: string;
7092
7182
  }[];
7093
- properties?: never;
7094
- required?: never;
7095
- type?: never;
7096
7183
  } | {
7097
- properties: {
7098
- error_code: {
7099
- type: string;
7100
- };
7101
- is_connected_account_error: {
7102
- enum: boolean[];
7103
- type: string;
7104
- };
7105
- message: {
7106
- type: string;
7184
+ oneOf: {
7185
+ description: string;
7186
+ properties: {
7187
+ error_code: {
7188
+ description: string;
7189
+ enum: string[];
7190
+ type: string;
7191
+ };
7192
+ is_connected_account_error: {
7193
+ enum: boolean[];
7194
+ type: string;
7195
+ };
7196
+ message: {
7197
+ type: string;
7198
+ };
7107
7199
  };
7108
- };
7109
- required: string[];
7110
- type: string;
7200
+ required: string[];
7201
+ type: string;
7202
+ }[];
7111
7203
  description?: never;
7112
- oneOf?: never;
7113
7204
  })[];
7114
7205
  };
7115
7206
  type: string;
@@ -11403,6 +11494,33 @@ declare const _default: {
11403
11494
  format: string;
11404
11495
  type: string;
11405
11496
  };
11497
+ assa_abloy_vostio_metadata: {
11498
+ description: string;
11499
+ properties: {
11500
+ door_names: {
11501
+ items: {
11502
+ type: string;
11503
+ };
11504
+ type: string;
11505
+ };
11506
+ endpoint_id: {
11507
+ type: string;
11508
+ };
11509
+ key_id: {
11510
+ type: string;
11511
+ };
11512
+ key_issuing_request_id: {
11513
+ type: string;
11514
+ };
11515
+ override_guest_acs_entrance_ids: {
11516
+ items: {
11517
+ type: string;
11518
+ };
11519
+ type: string;
11520
+ };
11521
+ };
11522
+ type: string;
11523
+ };
11406
11524
  card_number: {
11407
11525
  nullable: boolean;
11408
11526
  type: string;
@@ -11712,6 +11830,33 @@ declare const _default: {
11712
11830
  format: string;
11713
11831
  type: string;
11714
11832
  };
11833
+ assa_abloy_vostio_metadata: {
11834
+ description: string;
11835
+ properties: {
11836
+ door_names: {
11837
+ items: {
11838
+ type: string;
11839
+ };
11840
+ type: string;
11841
+ };
11842
+ endpoint_id: {
11843
+ type: string;
11844
+ };
11845
+ key_id: {
11846
+ type: string;
11847
+ };
11848
+ key_issuing_request_id: {
11849
+ type: string;
11850
+ };
11851
+ override_guest_acs_entrance_ids: {
11852
+ items: {
11853
+ type: string;
11854
+ };
11855
+ type: string;
11856
+ };
11857
+ };
11858
+ type: string;
11859
+ };
11715
11860
  card_number: {
11716
11861
  nullable: boolean;
11717
11862
  type: string;