@seamapi/types 1.218.0 → 1.219.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
@@ -392,11 +392,7 @@ var intercom = zod.z.object({
392
392
  can_remotely_unlock: zod.z.boolean(),
393
393
  can_program_access_codes: zod.z.boolean(),
394
394
  can_unlock_with_face_recognition: zod.z.boolean().default(false),
395
- supports_onvif: zod.z.boolean().default(false),
396
- can_hvac_heat: zod.z.boolean(),
397
- can_hvac_cool: zod.z.boolean(),
398
- can_hvac_heat_cool: zod.z.boolean(),
399
- can_turn_off_hvac: zod.z.boolean()
395
+ supports_onvif: zod.z.boolean().default(false)
400
396
  })
401
397
  });
402
398
  var accessory = zod.z.object({
@@ -604,11 +600,11 @@ var device_metadata = zod.z.object({
604
600
  device_label: zod.z.string()
605
601
  }),
606
602
  dormakaba_oracode_metadata: zod.z.object({
607
- door_id: zod.z.number(),
603
+ door_id: zod.z.number().optional(),
608
604
  door_name: zod.z.string(),
609
- device_id: zod.z.number().optional(),
605
+ device_id: zod.z.number().or(zod.z.string()).optional(),
610
606
  door_is_wireless: zod.z.boolean(),
611
- site_id: zod.z.number(),
607
+ site_id: zod.z.number().nullable().describe("@DEPRECATED"),
612
608
  site_name: zod.z.string(),
613
609
  iana_timezone: zod.z.string().optional(),
614
610
  predefined_time_slots: zod.z.array(dormakaba_oracode_time_slot).optional()
@@ -4541,7 +4537,12 @@ var openapi_default = {
4541
4537
  },
4542
4538
  dormakaba_oracode_metadata: {
4543
4539
  properties: {
4544
- device_id: { format: "float", type: "number" },
4540
+ device_id: {
4541
+ oneOf: [
4542
+ { format: "float", type: "number" },
4543
+ { type: "string" }
4544
+ ]
4545
+ },
4545
4546
  door_id: { format: "float", type: "number" },
4546
4547
  door_is_wireless: { type: "boolean" },
4547
4548
  door_name: { type: "string" },
@@ -4582,11 +4583,15 @@ var openapi_default = {
4582
4583
  },
4583
4584
  type: "array"
4584
4585
  },
4585
- site_id: { format: "float", type: "number" },
4586
+ site_id: {
4587
+ description: "@DEPRECATED",
4588
+ format: "float",
4589
+ nullable: true,
4590
+ type: "number"
4591
+ },
4586
4592
  site_name: { type: "string" }
4587
4593
  },
4588
4594
  required: [
4589
- "door_id",
4590
4595
  "door_name",
4591
4596
  "door_is_wireless",
4592
4597
  "site_id",