@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/dist/connect.cjs
CHANGED
|
@@ -171,6 +171,11 @@ var access_code_capability_properties = zod.z.object({
|
|
|
171
171
|
property_group_key: access_codes
|
|
172
172
|
---
|
|
173
173
|
Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).`),
|
|
174
|
+
backup_access_code_pool_enabled: zod.z.boolean().optional().describe(`
|
|
175
|
+
---
|
|
176
|
+
property_group_key: access_codes
|
|
177
|
+
---
|
|
178
|
+
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).`),
|
|
174
179
|
has_native_entry_events: zod.z.boolean().optional().describe(`
|
|
175
180
|
---
|
|
176
181
|
property_group_key: access_codes
|
|
@@ -3671,7 +3676,8 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
3671
3676
|
"dormakaba_ambiance_credential",
|
|
3672
3677
|
"hotek_card",
|
|
3673
3678
|
"salto_ks_tag",
|
|
3674
|
-
"avigilon_alta_credential"
|
|
3679
|
+
"avigilon_alta_credential",
|
|
3680
|
+
"kisi_credential"
|
|
3675
3681
|
]);
|
|
3676
3682
|
var acs_credential_access_method_type = zod.z.enum([
|
|
3677
3683
|
"code",
|
|
@@ -4135,7 +4141,8 @@ var acs_system_external_type = zod.z.enum([
|
|
|
4135
4141
|
"legic_connect_credential_service",
|
|
4136
4142
|
"assa_abloy_vostio",
|
|
4137
4143
|
"assa_abloy_vostio_credential_service",
|
|
4138
|
-
"hotek_site"
|
|
4144
|
+
"hotek_site",
|
|
4145
|
+
"kisi_organization"
|
|
4139
4146
|
]);
|
|
4140
4147
|
var common_acs_system_error = zod.z.object({
|
|
4141
4148
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -4534,7 +4541,8 @@ var acs_user_external_type = zod.z.enum([
|
|
|
4534
4541
|
"latch_user",
|
|
4535
4542
|
"dormakaba_community_user",
|
|
4536
4543
|
"salto_space_user",
|
|
4537
|
-
"avigilon_alta_user"
|
|
4544
|
+
"avigilon_alta_user",
|
|
4545
|
+
"kisi_user"
|
|
4538
4546
|
]);
|
|
4539
4547
|
var common_acs_user_error = zod.z.object({
|
|
4540
4548
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -10667,7 +10675,8 @@ var openapi = {
|
|
|
10667
10675
|
"dormakaba_ambiance_credential",
|
|
10668
10676
|
"hotek_card",
|
|
10669
10677
|
"salto_ks_tag",
|
|
10670
|
-
"avigilon_alta_credential"
|
|
10678
|
+
"avigilon_alta_credential",
|
|
10679
|
+
"kisi_credential"
|
|
10671
10680
|
],
|
|
10672
10681
|
type: "string"
|
|
10673
10682
|
},
|
|
@@ -11754,7 +11763,8 @@ var openapi = {
|
|
|
11754
11763
|
"legic_connect_credential_service",
|
|
11755
11764
|
"assa_abloy_vostio",
|
|
11756
11765
|
"assa_abloy_vostio_credential_service",
|
|
11757
|
-
"hotek_site"
|
|
11766
|
+
"hotek_site",
|
|
11767
|
+
"kisi_organization"
|
|
11758
11768
|
],
|
|
11759
11769
|
type: "string"
|
|
11760
11770
|
},
|
|
@@ -11807,7 +11817,8 @@ var openapi = {
|
|
|
11807
11817
|
"legic_connect_credential_service",
|
|
11808
11818
|
"assa_abloy_vostio",
|
|
11809
11819
|
"assa_abloy_vostio_credential_service",
|
|
11810
|
-
"hotek_site"
|
|
11820
|
+
"hotek_site",
|
|
11821
|
+
"kisi_organization"
|
|
11811
11822
|
],
|
|
11812
11823
|
type: "string",
|
|
11813
11824
|
"x-deprecated": "Use `external_type`."
|
|
@@ -12140,7 +12151,8 @@ var openapi = {
|
|
|
12140
12151
|
"latch_user",
|
|
12141
12152
|
"dormakaba_community_user",
|
|
12142
12153
|
"salto_space_user",
|
|
12143
|
-
"avigilon_alta_user"
|
|
12154
|
+
"avigilon_alta_user",
|
|
12155
|
+
"kisi_user"
|
|
12144
12156
|
],
|
|
12145
12157
|
type: "string"
|
|
12146
12158
|
},
|
|
@@ -13218,7 +13230,8 @@ var openapi = {
|
|
|
13218
13230
|
"dormakaba_ambiance_credential",
|
|
13219
13231
|
"hotek_card",
|
|
13220
13232
|
"salto_ks_tag",
|
|
13221
|
-
"avigilon_alta_credential"
|
|
13233
|
+
"avigilon_alta_credential",
|
|
13234
|
+
"kisi_credential"
|
|
13222
13235
|
],
|
|
13223
13236
|
type: "string"
|
|
13224
13237
|
},
|
|
@@ -13615,7 +13628,8 @@ var openapi = {
|
|
|
13615
13628
|
"dormakaba_ambiance_credential",
|
|
13616
13629
|
"hotek_card",
|
|
13617
13630
|
"salto_ks_tag",
|
|
13618
|
-
"avigilon_alta_credential"
|
|
13631
|
+
"avigilon_alta_credential",
|
|
13632
|
+
"kisi_credential"
|
|
13619
13633
|
],
|
|
13620
13634
|
type: "string"
|
|
13621
13635
|
},
|
|
@@ -14234,7 +14248,8 @@ var openapi = {
|
|
|
14234
14248
|
"dormakaba_ambiance_credential",
|
|
14235
14249
|
"hotek_card",
|
|
14236
14250
|
"salto_ks_tag",
|
|
14237
|
-
"avigilon_alta_credential"
|
|
14251
|
+
"avigilon_alta_credential",
|
|
14252
|
+
"kisi_credential"
|
|
14238
14253
|
],
|
|
14239
14254
|
type: "string"
|
|
14240
14255
|
},
|
|
@@ -14629,7 +14644,8 @@ var openapi = {
|
|
|
14629
14644
|
"dormakaba_ambiance_credential",
|
|
14630
14645
|
"hotek_card",
|
|
14631
14646
|
"salto_ks_tag",
|
|
14632
|
-
"avigilon_alta_credential"
|
|
14647
|
+
"avigilon_alta_credential",
|
|
14648
|
+
"kisi_credential"
|
|
14633
14649
|
],
|
|
14634
14650
|
type: "string"
|
|
14635
14651
|
},
|
|
@@ -15275,7 +15291,8 @@ var openapi = {
|
|
|
15275
15291
|
"dormakaba_ambiance_credential",
|
|
15276
15292
|
"hotek_card",
|
|
15277
15293
|
"salto_ks_tag",
|
|
15278
|
-
"avigilon_alta_credential"
|
|
15294
|
+
"avigilon_alta_credential",
|
|
15295
|
+
"kisi_credential"
|
|
15279
15296
|
],
|
|
15280
15297
|
type: "string"
|
|
15281
15298
|
},
|
|
@@ -21275,6 +21292,11 @@ var openapi = {
|
|
|
21275
21292
|
type: "boolean",
|
|
21276
21293
|
"x-property-group-key": "locks"
|
|
21277
21294
|
},
|
|
21295
|
+
backup_access_code_pool_enabled: {
|
|
21296
|
+
description: "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).",
|
|
21297
|
+
type: "boolean",
|
|
21298
|
+
"x-property-group-key": "access_codes"
|
|
21299
|
+
},
|
|
21278
21300
|
code_constraints: {
|
|
21279
21301
|
description: "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.",
|
|
21280
21302
|
items: {
|
|
@@ -32684,7 +32706,8 @@ var openapi = {
|
|
|
32684
32706
|
"dormakaba_ambiance_credential",
|
|
32685
32707
|
"hotek_card",
|
|
32686
32708
|
"salto_ks_tag",
|
|
32687
|
-
"avigilon_alta_credential"
|
|
32709
|
+
"avigilon_alta_credential",
|
|
32710
|
+
"kisi_credential"
|
|
32688
32711
|
],
|
|
32689
32712
|
type: "string"
|
|
32690
32713
|
},
|
|
@@ -35440,7 +35463,8 @@ var openapi = {
|
|
|
35440
35463
|
"dormakaba_ambiance_credential",
|
|
35441
35464
|
"hotek_card",
|
|
35442
35465
|
"salto_ks_tag",
|
|
35443
|
-
"avigilon_alta_credential"
|
|
35466
|
+
"avigilon_alta_credential",
|
|
35467
|
+
"kisi_credential"
|
|
35444
35468
|
],
|
|
35445
35469
|
type: "string"
|
|
35446
35470
|
},
|
|
@@ -35895,7 +35919,8 @@ var openapi = {
|
|
|
35895
35919
|
"latch_user",
|
|
35896
35920
|
"dormakaba_community_user",
|
|
35897
35921
|
"salto_space_user",
|
|
35898
|
-
"avigilon_alta_user"
|
|
35922
|
+
"avigilon_alta_user",
|
|
35923
|
+
"kisi_user"
|
|
35899
35924
|
],
|
|
35900
35925
|
type: "string"
|
|
35901
35926
|
},
|
|
@@ -62740,6 +62765,10 @@ var openapi = {
|
|
|
62740
62765
|
"application/json": {
|
|
62741
62766
|
schema: {
|
|
62742
62767
|
properties: {
|
|
62768
|
+
backup_access_code_pool_enabled: {
|
|
62769
|
+
description: "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.",
|
|
62770
|
+
type: "boolean"
|
|
62771
|
+
},
|
|
62743
62772
|
custom_metadata: {
|
|
62744
62773
|
additionalProperties: {
|
|
62745
62774
|
nullable: true,
|
|
@@ -62821,6 +62850,10 @@ var openapi = {
|
|
|
62821
62850
|
"application/json": {
|
|
62822
62851
|
schema: {
|
|
62823
62852
|
properties: {
|
|
62853
|
+
backup_access_code_pool_enabled: {
|
|
62854
|
+
description: "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.",
|
|
62855
|
+
type: "boolean"
|
|
62856
|
+
},
|
|
62824
62857
|
custom_metadata: {
|
|
62825
62858
|
additionalProperties: {
|
|
62826
62859
|
nullable: true,
|