@seamapi/types 1.390.0 → 1.391.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
@@ -1581,6 +1581,9 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
1581
1581
  var schlage_detected_duplicate = common_access_code_warning.extend({
1582
1582
  warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
1583
1583
  }).describe("Duplicate access code detected.");
1584
+ var schlage_detected_duplicate_code_name = common_access_code_warning.extend({
1585
+ warning_code: zod.z.literal("schlage_detected_duplicate_code_name").describe(warning_code_description3)
1586
+ }).describe("Duplicate access code name detected.");
1584
1587
  var schlage_creation_outage = common_access_code_warning.extend({
1585
1588
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
1586
1589
  }).describe("Received an error when attempting to create this code.");
@@ -1607,6 +1610,7 @@ var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
1607
1610
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
1608
1611
  smartthings_failed_to_set_access_code_warning,
1609
1612
  schlage_detected_duplicate,
1613
+ schlage_detected_duplicate_code_name,
1610
1614
  schlage_creation_outage,
1611
1615
  code_modified_external_to_seam_warning,
1612
1616
  delay_in_setting_on_device,
@@ -1623,6 +1627,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
1623
1627
  zod.z.object({
1624
1628
  smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
1625
1629
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
1630
+ schlage_duplicate_code_name: schlage_detected_duplicate_code_name.optional().nullable(),
1626
1631
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
1627
1632
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
1628
1633
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
@@ -5633,6 +5638,27 @@ var openapi_default = {
5633
5638
  required: ["message", "warning_code"],
5634
5639
  type: "object"
5635
5640
  },
5641
+ {
5642
+ description: "Duplicate access code name detected.",
5643
+ properties: {
5644
+ created_at: {
5645
+ description: "Date and time at which Seam created the warning.",
5646
+ format: "date-time",
5647
+ type: "string"
5648
+ },
5649
+ message: {
5650
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5651
+ type: "string"
5652
+ },
5653
+ warning_code: {
5654
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5655
+ enum: ["schlage_detected_duplicate_code_name"],
5656
+ type: "string"
5657
+ }
5658
+ },
5659
+ required: ["message", "warning_code"],
5660
+ type: "object"
5661
+ },
5636
5662
  {
5637
5663
  description: "Received an error when attempting to create this code.",
5638
5664
  properties: {
@@ -19439,6 +19465,27 @@ var openapi_default = {
19439
19465
  required: ["message", "warning_code"],
19440
19466
  type: "object"
19441
19467
  },
19468
+ {
19469
+ description: "Duplicate access code name detected.",
19470
+ properties: {
19471
+ created_at: {
19472
+ description: "Date and time at which Seam created the warning.",
19473
+ format: "date-time",
19474
+ type: "string"
19475
+ },
19476
+ message: {
19477
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
19478
+ type: "string"
19479
+ },
19480
+ warning_code: {
19481
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
19482
+ enum: ["schlage_detected_duplicate_code_name"],
19483
+ type: "string"
19484
+ }
19485
+ },
19486
+ required: ["message", "warning_code"],
19487
+ type: "object"
19488
+ },
19442
19489
  {
19443
19490
  description: "Received an error when attempting to create this code.",
19444
19491
  properties: {