@seamapi/types 1.218.1 → 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
@@ -600,11 +600,11 @@ var device_metadata = zod.z.object({
600
600
  device_label: zod.z.string()
601
601
  }),
602
602
  dormakaba_oracode_metadata: zod.z.object({
603
- door_id: zod.z.number(),
603
+ door_id: zod.z.number().optional(),
604
604
  door_name: zod.z.string(),
605
- device_id: zod.z.number().optional(),
605
+ device_id: zod.z.number().or(zod.z.string()).optional(),
606
606
  door_is_wireless: zod.z.boolean(),
607
- site_id: zod.z.number(),
607
+ site_id: zod.z.number().nullable().describe("@DEPRECATED"),
608
608
  site_name: zod.z.string(),
609
609
  iana_timezone: zod.z.string().optional(),
610
610
  predefined_time_slots: zod.z.array(dormakaba_oracode_time_slot).optional()
@@ -4537,7 +4537,12 @@ var openapi_default = {
4537
4537
  },
4538
4538
  dormakaba_oracode_metadata: {
4539
4539
  properties: {
4540
- device_id: { format: "float", type: "number" },
4540
+ device_id: {
4541
+ oneOf: [
4542
+ { format: "float", type: "number" },
4543
+ { type: "string" }
4544
+ ]
4545
+ },
4541
4546
  door_id: { format: "float", type: "number" },
4542
4547
  door_is_wireless: { type: "boolean" },
4543
4548
  door_name: { type: "string" },
@@ -4578,11 +4583,15 @@ var openapi_default = {
4578
4583
  },
4579
4584
  type: "array"
4580
4585
  },
4581
- site_id: { format: "float", type: "number" },
4586
+ site_id: {
4587
+ description: "@DEPRECATED",
4588
+ format: "float",
4589
+ nullable: true,
4590
+ type: "number"
4591
+ },
4582
4592
  site_name: { type: "string" }
4583
4593
  },
4584
4594
  required: [
4585
- "door_id",
4586
4595
  "door_name",
4587
4596
  "door_is_wireless",
4588
4597
  "site_id",