@seamapi/types 1.768.1 → 1.770.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 (35) hide show
  1. package/dist/connect.cjs +159 -35
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +834 -90
  4. package/dist/index.cjs +159 -35
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +10 -10
  7. package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -6
  8. package/lib/seam/connect/models/access-grants/access-method.js +2 -2
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  11. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  12. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -6
  14. package/lib/seam/connect/models/acs/acs-entrance.js +4 -4
  15. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  16. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +60 -0
  17. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +30 -0
  18. package/lib/seam/connect/models/action-attempts/encode-credential.js +22 -0
  19. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
  20. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +30 -0
  21. package/lib/seam/connect/models/action-attempts/scan-credential.js +22 -0
  22. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  23. package/lib/seam/connect/models/batch.d.ts +101 -17
  24. package/lib/seam/connect/models/phones/phone-session.d.ts +16 -16
  25. package/lib/seam/connect/openapi.js +110 -26
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +662 -62
  28. package/package.json +1 -1
  29. package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -2
  30. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +2 -2
  31. package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -4
  32. package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +34 -0
  33. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +34 -0
  34. package/src/lib/seam/connect/openapi.ts +122 -26
  35. package/src/lib/seam/connect/route-types.ts +782 -62
@@ -1823,8 +1823,8 @@ export default {
1823
1823
  type: 'integer',
1824
1824
  },
1825
1825
  mode: {
1826
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
1827
- enum: ['code', 'card', 'mobile_key'],
1826
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
1827
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
1828
1828
  type: 'string',
1829
1829
  },
1830
1830
  },
@@ -2115,8 +2115,8 @@ export default {
2115
2115
  type: 'string',
2116
2116
  },
2117
2117
  mode: {
2118
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
2119
- enum: ['code', 'card', 'mobile_key'],
2118
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
2119
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
2120
2120
  type: 'string',
2121
2121
  },
2122
2122
  pending_mutations: {
@@ -3431,7 +3431,7 @@ export default {
3431
3431
  type: 'boolean',
3432
3432
  },
3433
3433
  can_unlock_with_cloud_key: {
3434
- description: 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.',
3434
+ description: 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.',
3435
3435
  type: 'boolean',
3436
3436
  },
3437
3437
  can_unlock_with_code: {
@@ -6047,6 +6047,38 @@ export default {
6047
6047
  required: ['type', 'message'],
6048
6048
  type: 'object',
6049
6049
  },
6050
+ {
6051
+ description: 'Error to indicate that communication with the encoder timed out.',
6052
+ properties: {
6053
+ message: {
6054
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
6055
+ type: 'string',
6056
+ },
6057
+ type: {
6058
+ description: 'Error type to indicate that communication with the encoder timed out.',
6059
+ enum: ['encoder_timeout_error'],
6060
+ type: 'string',
6061
+ },
6062
+ },
6063
+ required: ['type', 'message'],
6064
+ type: 'object',
6065
+ },
6066
+ {
6067
+ description: 'Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.',
6068
+ properties: {
6069
+ message: {
6070
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
6071
+ type: 'string',
6072
+ },
6073
+ type: {
6074
+ description: 'Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.',
6075
+ enum: ['bridge_disconnected'],
6076
+ type: 'string',
6077
+ },
6078
+ },
6079
+ required: ['type', 'message'],
6080
+ type: 'object',
6081
+ },
6050
6082
  ],
6051
6083
  },
6052
6084
  result: {
@@ -7019,6 +7051,38 @@ export default {
7019
7051
  required: ['type', 'message'],
7020
7052
  type: 'object',
7021
7053
  },
7054
+ {
7055
+ description: 'Error to indicate that communication with the encoder timed out.',
7056
+ properties: {
7057
+ message: {
7058
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7059
+ type: 'string',
7060
+ },
7061
+ type: {
7062
+ description: 'Error type to indicate that communication with the encoder timed out.',
7063
+ enum: ['encoder_timeout_error'],
7064
+ type: 'string',
7065
+ },
7066
+ },
7067
+ required: ['type', 'message'],
7068
+ type: 'object',
7069
+ },
7070
+ {
7071
+ description: 'Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.',
7072
+ properties: {
7073
+ message: {
7074
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7075
+ type: 'string',
7076
+ },
7077
+ type: {
7078
+ description: 'Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.',
7079
+ enum: ['bridge_disconnected'],
7080
+ type: 'string',
7081
+ },
7082
+ },
7083
+ required: ['type', 'message'],
7084
+ type: 'object',
7085
+ },
7022
7086
  ],
7023
7087
  },
7024
7088
  result: {
@@ -21860,7 +21924,7 @@ export default {
21860
21924
  type: 'boolean',
21861
21925
  },
21862
21926
  can_unlock_with_cloud_key: {
21863
- description: 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.',
21927
+ description: 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.',
21864
21928
  type: 'boolean',
21865
21929
  },
21866
21930
  can_unlock_with_code: {
@@ -30666,8 +30730,8 @@ export default {
30666
30730
  type: 'integer',
30667
30731
  },
30668
30732
  mode: {
30669
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
30670
- enum: ['code', 'card', 'mobile_key'],
30733
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
30734
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
30671
30735
  type: 'string',
30672
30736
  },
30673
30737
  },
@@ -31513,8 +31577,8 @@ export default {
31513
31577
  type: 'integer',
31514
31578
  },
31515
31579
  mode: {
31516
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
31517
- enum: ['code', 'card', 'mobile_key'],
31580
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
31581
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
31518
31582
  type: 'string',
31519
31583
  },
31520
31584
  },
@@ -31835,8 +31899,13 @@ export default {
31835
31899
  type: 'integer',
31836
31900
  },
31837
31901
  mode: {
31838
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
31839
- enum: ['code', 'card', 'mobile_key'],
31902
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
31903
+ enum: [
31904
+ 'code',
31905
+ 'card',
31906
+ 'mobile_key',
31907
+ 'cloud_key',
31908
+ ],
31840
31909
  type: 'string',
31841
31910
  },
31842
31911
  },
@@ -32385,8 +32454,13 @@ export default {
32385
32454
  type: 'integer',
32386
32455
  },
32387
32456
  mode: {
32388
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
32389
- enum: ['code', 'card', 'mobile_key'],
32457
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
32458
+ enum: [
32459
+ 'code',
32460
+ 'card',
32461
+ 'mobile_key',
32462
+ 'cloud_key',
32463
+ ],
32390
32464
  type: 'string',
32391
32465
  },
32392
32466
  },
@@ -32977,8 +33051,13 @@ export default {
32977
33051
  type: 'integer',
32978
33052
  },
32979
33053
  mode: {
32980
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
32981
- enum: ['code', 'card', 'mobile_key'],
33054
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
33055
+ enum: [
33056
+ 'code',
33057
+ 'card',
33058
+ 'mobile_key',
33059
+ 'cloud_key',
33060
+ ],
32982
33061
  type: 'string',
32983
33062
  },
32984
33063
  },
@@ -33555,8 +33634,13 @@ export default {
33555
33634
  type: 'integer',
33556
33635
  },
33557
33636
  mode: {
33558
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
33559
- enum: ['code', 'card', 'mobile_key'],
33637
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
33638
+ enum: [
33639
+ 'code',
33640
+ 'card',
33641
+ 'mobile_key',
33642
+ 'cloud_key',
33643
+ ],
33560
33644
  type: 'string',
33561
33645
  },
33562
33646
  },
@@ -34880,8 +34964,8 @@ export default {
34880
34964
  type: 'string',
34881
34965
  },
34882
34966
  mode: {
34883
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
34884
- enum: ['code', 'card', 'mobile_key'],
34967
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
34968
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
34885
34969
  type: 'string',
34886
34970
  },
34887
34971
  pending_mutations: {
@@ -35276,8 +35360,8 @@ export default {
35276
35360
  type: 'string',
35277
35361
  },
35278
35362
  mode: {
35279
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35280
- enum: ['code', 'card', 'mobile_key'],
35363
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
35364
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
35281
35365
  type: 'string',
35282
35366
  },
35283
35367
  pending_mutations: {
@@ -35700,8 +35784,8 @@ export default {
35700
35784
  type: 'string',
35701
35785
  },
35702
35786
  mode: {
35703
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35704
- enum: ['code', 'card', 'mobile_key'],
35787
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
35788
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
35705
35789
  type: 'string',
35706
35790
  },
35707
35791
  pending_mutations: {
@@ -36115,8 +36199,8 @@ export default {
36115
36199
  type: 'string',
36116
36200
  },
36117
36201
  mode: {
36118
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
36119
- enum: ['code', 'card', 'mobile_key'],
36202
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
36203
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
36120
36204
  type: 'string',
36121
36205
  },
36122
36206
  pending_mutations: {