@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 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" },