@seamapi/types 1.937.0 → 1.939.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 +48 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +294 -250
- package/dist/index.cjs +48 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +1 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +1 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +1 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +29 -29
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +3 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +5 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +5 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/openapi.js +25 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +239 -203
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +1 -0
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +28 -0
- package/src/lib/seam/connect/route-types.ts +247 -0
package/package.json
CHANGED
|
@@ -153,6 +153,11 @@ export const access_code_capability_properties = z.object({
|
|
|
153
153
|
property_group_key: access_codes
|
|
154
154
|
---
|
|
155
155
|
Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).`),
|
|
156
|
+
backup_access_code_pool_enabled: z.boolean().optional().describe(`
|
|
157
|
+
---
|
|
158
|
+
property_group_key: access_codes
|
|
159
|
+
---
|
|
160
|
+
Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to \`false\` using [/devices/update](https://docs.seam.co/api/devices/update).`),
|
|
156
161
|
has_native_entry_events: z.boolean().optional().describe(`
|
|
157
162
|
---
|
|
158
163
|
property_group_key: access_codes
|
|
@@ -3524,6 +3524,7 @@ const openapi: OpenAPISpec = {
|
|
|
3524
3524
|
'hotek_card',
|
|
3525
3525
|
'salto_ks_tag',
|
|
3526
3526
|
'avigilon_alta_credential',
|
|
3527
|
+
'kisi_credential',
|
|
3527
3528
|
],
|
|
3528
3529
|
type: 'string',
|
|
3529
3530
|
},
|
|
@@ -4773,6 +4774,7 @@ const openapi: OpenAPISpec = {
|
|
|
4773
4774
|
'assa_abloy_vostio',
|
|
4774
4775
|
'assa_abloy_vostio_credential_service',
|
|
4775
4776
|
'hotek_site',
|
|
4777
|
+
'kisi_organization',
|
|
4776
4778
|
],
|
|
4777
4779
|
type: 'string',
|
|
4778
4780
|
},
|
|
@@ -4833,6 +4835,7 @@ const openapi: OpenAPISpec = {
|
|
|
4833
4835
|
'assa_abloy_vostio',
|
|
4834
4836
|
'assa_abloy_vostio_credential_service',
|
|
4835
4837
|
'hotek_site',
|
|
4838
|
+
'kisi_organization',
|
|
4836
4839
|
],
|
|
4837
4840
|
type: 'string',
|
|
4838
4841
|
'x-deprecated': 'Use `external_type`.',
|
|
@@ -5216,6 +5219,7 @@ const openapi: OpenAPISpec = {
|
|
|
5216
5219
|
'dormakaba_community_user',
|
|
5217
5220
|
'salto_space_user',
|
|
5218
5221
|
'avigilon_alta_user',
|
|
5222
|
+
'kisi_user',
|
|
5219
5223
|
],
|
|
5220
5224
|
type: 'string',
|
|
5221
5225
|
},
|
|
@@ -6424,6 +6428,7 @@ const openapi: OpenAPISpec = {
|
|
|
6424
6428
|
'hotek_card',
|
|
6425
6429
|
'salto_ks_tag',
|
|
6426
6430
|
'avigilon_alta_credential',
|
|
6431
|
+
'kisi_credential',
|
|
6427
6432
|
],
|
|
6428
6433
|
type: 'string',
|
|
6429
6434
|
},
|
|
@@ -6889,6 +6894,7 @@ const openapi: OpenAPISpec = {
|
|
|
6889
6894
|
'hotek_card',
|
|
6890
6895
|
'salto_ks_tag',
|
|
6891
6896
|
'avigilon_alta_credential',
|
|
6897
|
+
'kisi_credential',
|
|
6892
6898
|
],
|
|
6893
6899
|
type: 'string',
|
|
6894
6900
|
},
|
|
@@ -7605,6 +7611,7 @@ const openapi: OpenAPISpec = {
|
|
|
7605
7611
|
'hotek_card',
|
|
7606
7612
|
'salto_ks_tag',
|
|
7607
7613
|
'avigilon_alta_credential',
|
|
7614
|
+
'kisi_credential',
|
|
7608
7615
|
],
|
|
7609
7616
|
type: 'string',
|
|
7610
7617
|
},
|
|
@@ -8067,6 +8074,7 @@ const openapi: OpenAPISpec = {
|
|
|
8067
8074
|
'hotek_card',
|
|
8068
8075
|
'salto_ks_tag',
|
|
8069
8076
|
'avigilon_alta_credential',
|
|
8077
|
+
'kisi_credential',
|
|
8070
8078
|
],
|
|
8071
8079
|
type: 'string',
|
|
8072
8080
|
},
|
|
@@ -8817,6 +8825,7 @@ const openapi: OpenAPISpec = {
|
|
|
8817
8825
|
'hotek_card',
|
|
8818
8826
|
'salto_ks_tag',
|
|
8819
8827
|
'avigilon_alta_credential',
|
|
8828
|
+
'kisi_credential',
|
|
8820
8829
|
],
|
|
8821
8830
|
type: 'string',
|
|
8822
8831
|
},
|
|
@@ -15447,6 +15456,12 @@ const openapi: OpenAPISpec = {
|
|
|
15447
15456
|
type: 'boolean',
|
|
15448
15457
|
'x-property-group-key': 'locks',
|
|
15449
15458
|
},
|
|
15459
|
+
backup_access_code_pool_enabled: {
|
|
15460
|
+
description:
|
|
15461
|
+
'Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update).',
|
|
15462
|
+
type: 'boolean',
|
|
15463
|
+
'x-property-group-key': 'access_codes',
|
|
15464
|
+
},
|
|
15450
15465
|
code_constraints: {
|
|
15451
15466
|
description:
|
|
15452
15467
|
'Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific.',
|
|
@@ -27947,6 +27962,7 @@ const openapi: OpenAPISpec = {
|
|
|
27947
27962
|
'hotek_card',
|
|
27948
27963
|
'salto_ks_tag',
|
|
27949
27964
|
'avigilon_alta_credential',
|
|
27965
|
+
'kisi_credential',
|
|
27950
27966
|
],
|
|
27951
27967
|
type: 'string',
|
|
27952
27968
|
},
|
|
@@ -31069,6 +31085,7 @@ const openapi: OpenAPISpec = {
|
|
|
31069
31085
|
'hotek_card',
|
|
31070
31086
|
'salto_ks_tag',
|
|
31071
31087
|
'avigilon_alta_credential',
|
|
31088
|
+
'kisi_credential',
|
|
31072
31089
|
],
|
|
31073
31090
|
type: 'string',
|
|
31074
31091
|
},
|
|
@@ -31599,6 +31616,7 @@ const openapi: OpenAPISpec = {
|
|
|
31599
31616
|
'dormakaba_community_user',
|
|
31600
31617
|
'salto_space_user',
|
|
31601
31618
|
'avigilon_alta_user',
|
|
31619
|
+
'kisi_user',
|
|
31602
31620
|
],
|
|
31603
31621
|
type: 'string',
|
|
31604
31622
|
},
|
|
@@ -60543,6 +60561,11 @@ const openapi: OpenAPISpec = {
|
|
|
60543
60561
|
'application/json': {
|
|
60544
60562
|
schema: {
|
|
60545
60563
|
properties: {
|
|
60564
|
+
backup_access_code_pool_enabled: {
|
|
60565
|
+
description:
|
|
60566
|
+
"Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use.",
|
|
60567
|
+
type: 'boolean',
|
|
60568
|
+
},
|
|
60546
60569
|
custom_metadata: {
|
|
60547
60570
|
additionalProperties: {
|
|
60548
60571
|
nullable: true,
|
|
@@ -60627,6 +60650,11 @@ const openapi: OpenAPISpec = {
|
|
|
60627
60650
|
'application/json': {
|
|
60628
60651
|
schema: {
|
|
60629
60652
|
properties: {
|
|
60653
|
+
backup_access_code_pool_enabled: {
|
|
60654
|
+
description:
|
|
60655
|
+
"Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use.",
|
|
60656
|
+
type: 'boolean',
|
|
60657
|
+
},
|
|
60630
60658
|
custom_metadata: {
|
|
60631
60659
|
additionalProperties: {
|
|
60632
60660
|
nullable: true,
|