@seamapi/types 1.931.0 → 1.932.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 +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +6 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.js +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +10 -0
- package/src/lib/seam/connect/route-types.ts +32 -0
package/dist/connect.cjs
CHANGED
|
@@ -6655,6 +6655,9 @@ var noise_sensor_noise_threshold_triggered_event = device_event.extend(
|
|
|
6655
6655
|
var lock_locked_event = device_event.extend({
|
|
6656
6656
|
event_type: zod.z.literal("lock.locked"),
|
|
6657
6657
|
access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used to lock the device."),
|
|
6658
|
+
code: zod.z.string().optional().describe(`
|
|
6659
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
6660
|
+
`),
|
|
6658
6661
|
access_code_is_managed: zod.z.boolean().optional().describe(
|
|
6659
6662
|
"Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set."
|
|
6660
6663
|
),
|
|
@@ -6681,6 +6684,9 @@ var lock_unlocked_event = device_event.extend({
|
|
|
6681
6684
|
access_code_id: zod.z.string().uuid().optional().describe(
|
|
6682
6685
|
"ID of the access code that was used to unlock the affected device."
|
|
6683
6686
|
),
|
|
6687
|
+
code: zod.z.string().optional().describe(`
|
|
6688
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
6689
|
+
`),
|
|
6684
6690
|
access_code_is_managed: zod.z.boolean().optional().describe(
|
|
6685
6691
|
"Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set."
|
|
6686
6692
|
),
|
|
@@ -30302,6 +30308,10 @@ var openapi = {
|
|
|
30302
30308
|
format: "uuid",
|
|
30303
30309
|
type: "string"
|
|
30304
30310
|
},
|
|
30311
|
+
code: {
|
|
30312
|
+
description: "\n Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ",
|
|
30313
|
+
type: "string"
|
|
30314
|
+
},
|
|
30305
30315
|
connected_account_custom_metadata: {
|
|
30306
30316
|
additionalProperties: {
|
|
30307
30317
|
oneOf: [{ type: "string" }, { type: "boolean" }]
|
|
@@ -30410,6 +30420,10 @@ var openapi = {
|
|
|
30410
30420
|
format: "uuid",
|
|
30411
30421
|
type: "string"
|
|
30412
30422
|
},
|
|
30423
|
+
code: {
|
|
30424
|
+
description: "\n Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ",
|
|
30425
|
+
type: "string"
|
|
30426
|
+
},
|
|
30413
30427
|
connected_account_custom_metadata: {
|
|
30414
30428
|
additionalProperties: {
|
|
30415
30429
|
oneOf: [{ type: "string" }, { type: "boolean" }]
|