@seamapi/types 1.938.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 +18 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +44 -0
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- 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/openapi.js +13 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +44 -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
|
|
@@ -21287,6 +21292,11 @@ var openapi = {
|
|
|
21287
21292
|
type: "boolean",
|
|
21288
21293
|
"x-property-group-key": "locks"
|
|
21289
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
|
+
},
|
|
21290
21300
|
code_constraints: {
|
|
21291
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.",
|
|
21292
21302
|
items: {
|
|
@@ -62755,6 +62765,10 @@ var openapi = {
|
|
|
62755
62765
|
"application/json": {
|
|
62756
62766
|
schema: {
|
|
62757
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
|
+
},
|
|
62758
62772
|
custom_metadata: {
|
|
62759
62773
|
additionalProperties: {
|
|
62760
62774
|
nullable: true,
|
|
@@ -62836,6 +62850,10 @@ var openapi = {
|
|
|
62836
62850
|
"application/json": {
|
|
62837
62851
|
schema: {
|
|
62838
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
|
+
},
|
|
62839
62857
|
custom_metadata: {
|
|
62840
62858
|
additionalProperties: {
|
|
62841
62859
|
nullable: true,
|