@seamapi/types 1.923.0 → 1.924.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
@@ -2635,16 +2635,6 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
2635
2635
  }).describe(
2636
2636
  "Code was modified or removed externally after Seam successfully set it on the device."
2637
2637
  );
2638
- var schlage_detected_duplicate = common_access_code_warning.extend({
2639
- warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
2640
- }).describe(
2641
- `
2642
- ---
2643
- deprecated: Use \`duplicate_code_on_device\` error instead.
2644
- ---
2645
- Duplicate access code detected.
2646
- `
2647
- );
2648
2638
  var provider_issue_warning = common_access_code_warning.extend({
2649
2639
  warning_code: zod.z.literal("provider_issue").describe(warning_code_description3)
2650
2640
  }).describe(
@@ -2687,7 +2677,6 @@ var being_deleted2 = common_access_code_warning.extend({
2687
2677
  }).describe("Access code is being deleted.");
2688
2678
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2689
2679
  provider_issue_warning,
2690
- schlage_detected_duplicate,
2691
2680
  schlage_access_code_ambiguous_timezone_dst_risk,
2692
2681
  code_modified_external_to_seam_warning,
2693
2682
  delay_in_setting_on_device,
@@ -2703,7 +2692,6 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2703
2692
  );
2704
2693
  zod.z.object({
2705
2694
  provider_issue: provider_issue_warning.optional().nullable(),
2706
- schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
2707
2695
  schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2708
2696
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2709
2697
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
@@ -8853,29 +8841,6 @@ var openapi = {
8853
8841
  required: ["message", "warning_code"],
8854
8842
  type: "object"
8855
8843
  },
8856
- {
8857
- deprecated: true,
8858
- description: "Duplicate access code detected.",
8859
- properties: {
8860
- created_at: {
8861
- description: "Date and time at which Seam created the warning.",
8862
- format: "date-time",
8863
- type: "string"
8864
- },
8865
- message: {
8866
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8867
- type: "string"
8868
- },
8869
- warning_code: {
8870
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8871
- enum: ["schlage_detected_duplicate"],
8872
- type: "string"
8873
- }
8874
- },
8875
- required: ["message", "warning_code"],
8876
- type: "object",
8877
- "x-deprecated": "Use `duplicate_code_on_device` error instead."
8878
- },
8879
8844
  {
8880
8845
  description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
8881
8846
  properties: {
@@ -34428,29 +34393,6 @@ var openapi = {
34428
34393
  required: ["message", "warning_code"],
34429
34394
  type: "object"
34430
34395
  },
34431
- {
34432
- deprecated: true,
34433
- description: "Duplicate access code detected.",
34434
- properties: {
34435
- created_at: {
34436
- description: "Date and time at which Seam created the warning.",
34437
- format: "date-time",
34438
- type: "string"
34439
- },
34440
- message: {
34441
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
34442
- type: "string"
34443
- },
34444
- warning_code: {
34445
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34446
- enum: ["schlage_detected_duplicate"],
34447
- type: "string"
34448
- }
34449
- },
34450
- required: ["message", "warning_code"],
34451
- type: "object",
34452
- "x-deprecated": "Use `duplicate_code_on_device` error instead."
34453
- },
34454
34396
  {
34455
34397
  description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
34456
34398
  properties: {