@seamapi/types 1.273.0 → 1.274.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 +30 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +304 -19
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
- package/lib/seam/connect/models/devices/device-metadata.d.ts +38 -0
- package/lib/seam/connect/models/devices/device-metadata.js +11 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +54 -0
- package/lib/seam/connect/models/devices/phone.d.ts +38 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +38 -0
- package/lib/seam/connect/openapi.d.ts +25 -0
- package/lib/seam/connect/openapi.js +19 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +168 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +11 -1
- package/src/lib/seam/connect/openapi.ts +20 -0
- package/src/lib/seam/connect/route-types.ts +196 -0
package/dist/connect.cjs
CHANGED
|
@@ -503,6 +503,17 @@ var device_metadata = zod.z.object({
|
|
|
503
503
|
battery_level: zod.z.string(),
|
|
504
504
|
locked_state: zod.z.string(),
|
|
505
505
|
model: zod.z.string().optional()
|
|
506
|
+
}).describe(`
|
|
507
|
+
---
|
|
508
|
+
deprecated: Use \`salto_ks_metadata \` instead.
|
|
509
|
+
`),
|
|
510
|
+
salto_ks_metadata: zod.z.object({
|
|
511
|
+
lock_id: zod.z.string(),
|
|
512
|
+
customer_reference: zod.z.string(),
|
|
513
|
+
lock_type: zod.z.string(),
|
|
514
|
+
battery_level: zod.z.string(),
|
|
515
|
+
locked_state: zod.z.string(),
|
|
516
|
+
model: zod.z.string().optional()
|
|
506
517
|
}),
|
|
507
518
|
genie_metadata: zod.z.object({
|
|
508
519
|
device_name: zod.z.string(),
|
|
@@ -6337,7 +6348,26 @@ var openapi_default = {
|
|
|
6337
6348
|
required: ["device_id", "device_name"],
|
|
6338
6349
|
type: "object"
|
|
6339
6350
|
},
|
|
6351
|
+
salto_ks_metadata: {
|
|
6352
|
+
properties: {
|
|
6353
|
+
battery_level: { type: "string" },
|
|
6354
|
+
customer_reference: { type: "string" },
|
|
6355
|
+
lock_id: { type: "string" },
|
|
6356
|
+
lock_type: { type: "string" },
|
|
6357
|
+
locked_state: { type: "string" },
|
|
6358
|
+
model: { type: "string" }
|
|
6359
|
+
},
|
|
6360
|
+
required: [
|
|
6361
|
+
"lock_id",
|
|
6362
|
+
"customer_reference",
|
|
6363
|
+
"lock_type",
|
|
6364
|
+
"battery_level",
|
|
6365
|
+
"locked_state"
|
|
6366
|
+
],
|
|
6367
|
+
type: "object"
|
|
6368
|
+
},
|
|
6340
6369
|
salto_metadata: {
|
|
6370
|
+
description: "\n ---\n deprecated: Use `salto_ks_metadata ` instead.\n ",
|
|
6341
6371
|
properties: {
|
|
6342
6372
|
battery_level: { type: "string" },
|
|
6343
6373
|
customer_reference: { type: "string" },
|