@seamapi/types 1.271.0 → 1.272.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
@@ -598,8 +598,9 @@ var device_metadata = zod.z.object({
598
598
  nest_device_id: zod.z.string(),
599
599
  device_name: zod.z.string(),
600
600
  // set by Google
601
- custom_name: zod.z.string()
601
+ custom_name: zod.z.string(),
602
602
  // set by device owner
603
+ display_name: zod.z.string().optional()
603
604
  }),
604
605
  ecobee_metadata: zod.z.object({
605
606
  ecobee_device_id: zod.z.string(),
@@ -6259,6 +6260,7 @@ var openapi_default = {
6259
6260
  properties: {
6260
6261
  custom_name: { type: "string" },
6261
6262
  device_name: { type: "string" },
6263
+ display_name: { type: "string" },
6262
6264
  nest_device_id: { type: "string" }
6263
6265
  },
6264
6266
  required: [
@@ -10607,34 +10609,12 @@ var openapi_default = {
10607
10609
  content: {
10608
10610
  "application/json": {
10609
10611
  schema: {
10610
- oneOf: [
10611
- {
10612
- properties: {
10613
- acs_credential_id: { format: "uuid", type: "string" },
10614
- acs_system_id: { format: "uuid", type: "string" },
10615
- device_name: { type: "string" }
10616
- },
10617
- required: [
10618
- "acs_system_id",
10619
- "device_name",
10620
- "acs_credential_id"
10621
- ],
10622
- type: "object"
10623
- },
10624
- {
10625
- properties: {
10626
- acs_credential_id: { format: "uuid", type: "string" },
10627
- acs_system_id: { format: "uuid", type: "string" },
10628
- device_id: { format: "uuid", type: "string" }
10629
- },
10630
- required: [
10631
- "acs_system_id",
10632
- "device_id",
10633
- "acs_credential_id"
10634
- ],
10635
- type: "object"
10636
- }
10637
- ]
10612
+ properties: {
10613
+ acs_credential_id: { format: "uuid", type: "string" },
10614
+ device_id: { format: "uuid", type: "string" }
10615
+ },
10616
+ required: ["device_id", "acs_credential_id"],
10617
+ type: "object"
10638
10618
  }
10639
10619
  }
10640
10620
  }
@@ -10767,24 +10747,12 @@ var openapi_default = {
10767
10747
  content: {
10768
10748
  "application/json": {
10769
10749
  schema: {
10770
- oneOf: [
10771
- {
10772
- properties: {
10773
- acs_system_id: { format: "uuid", type: "string" },
10774
- device_name: { type: "string" }
10775
- },
10776
- required: ["acs_system_id", "device_name"],
10777
- type: "object"
10778
- },
10779
- {
10780
- properties: {
10781
- acs_system_id: { format: "uuid", type: "string" },
10782
- device_id: { format: "uuid", type: "string" }
10783
- },
10784
- required: ["acs_system_id", "device_id"],
10785
- type: "object"
10786
- }
10787
- ]
10750
+ properties: {
10751
+ acs_system_id: { format: "uuid", type: "string" },
10752
+ device_id: { format: "uuid", type: "string" }
10753
+ },
10754
+ required: ["acs_system_id", "device_id"],
10755
+ type: "object"
10788
10756
  }
10789
10757
  }
10790
10758
  }