@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.
@@ -242,19 +242,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
242
242
  }>, z.ZodObject<{
243
243
  message: z.ZodString;
244
244
  created_at: z.ZodOptional<z.ZodString>;
245
- } & {
246
- warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
247
- }, "strip", z.ZodTypeAny, {
248
- message: string;
249
- warning_code: "schlage_detected_duplicate";
250
- created_at?: string | undefined;
251
- }, {
252
- message: string;
253
- warning_code: "schlage_detected_duplicate";
254
- created_at?: string | undefined;
255
- }>, z.ZodObject<{
256
- message: z.ZodString;
257
- created_at: z.ZodOptional<z.ZodString>;
258
245
  } & {
259
246
  warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
260
247
  }, "strip", z.ZodTypeAny, {
@@ -1035,19 +1022,6 @@ declare const access_code: z.ZodObject<{
1035
1022
  }>, z.ZodObject<{
1036
1023
  message: z.ZodString;
1037
1024
  created_at: z.ZodOptional<z.ZodString>;
1038
- } & {
1039
- warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
1040
- }, "strip", z.ZodTypeAny, {
1041
- message: string;
1042
- warning_code: "schlage_detected_duplicate";
1043
- created_at?: string | undefined;
1044
- }, {
1045
- message: string;
1046
- warning_code: "schlage_detected_duplicate";
1047
- created_at?: string | undefined;
1048
- }>, z.ZodObject<{
1049
- message: z.ZodString;
1050
- created_at: z.ZodOptional<z.ZodString>;
1051
1025
  } & {
1052
1026
  warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
1053
1027
  }, "strip", z.ZodTypeAny, {
@@ -1607,10 +1581,6 @@ declare const access_code: z.ZodObject<{
1607
1581
  to: string | null;
1608
1582
  field: string;
1609
1583
  }[] | undefined;
1610
- } | {
1611
- message: string;
1612
- warning_code: "schlage_detected_duplicate";
1613
- created_at?: string | undefined;
1614
1584
  } | {
1615
1585
  message: string;
1616
1586
  warning_code: "provider_issue";
@@ -1918,10 +1888,6 @@ declare const access_code: z.ZodObject<{
1918
1888
  to: string | null;
1919
1889
  field: string;
1920
1890
  }[] | undefined;
1921
- } | {
1922
- message: string;
1923
- warning_code: "schlage_detected_duplicate";
1924
- created_at?: string | undefined;
1925
1891
  } | {
1926
1892
  message: string;
1927
1893
  warning_code: "provider_issue";
@@ -2658,19 +2624,6 @@ declare const unmanaged_access_code: z.ZodObject<{
2658
2624
  }>, z.ZodObject<{
2659
2625
  message: z.ZodString;
2660
2626
  created_at: z.ZodOptional<z.ZodString>;
2661
- } & {
2662
- warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
2663
- }, "strip", z.ZodTypeAny, {
2664
- message: string;
2665
- warning_code: "schlage_detected_duplicate";
2666
- created_at?: string | undefined;
2667
- }, {
2668
- message: string;
2669
- warning_code: "schlage_detected_duplicate";
2670
- created_at?: string | undefined;
2671
- }>, z.ZodObject<{
2672
- message: z.ZodString;
2673
- created_at: z.ZodOptional<z.ZodString>;
2674
2627
  } & {
2675
2628
  warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
2676
2629
  }, "strip", z.ZodTypeAny, {
@@ -3056,10 +3009,6 @@ declare const unmanaged_access_code: z.ZodObject<{
3056
3009
  to: string | null;
3057
3010
  field: string;
3058
3011
  }[] | undefined;
3059
- } | {
3060
- message: string;
3061
- warning_code: "schlage_detected_duplicate";
3062
- created_at?: string | undefined;
3063
3012
  } | {
3064
3013
  message: string;
3065
3014
  warning_code: "provider_issue";
@@ -3314,10 +3263,6 @@ declare const unmanaged_access_code: z.ZodObject<{
3314
3263
  to: string | null;
3315
3264
  field: string;
3316
3265
  }[] | undefined;
3317
- } | {
3318
- message: string;
3319
- warning_code: "schlage_detected_duplicate";
3320
- created_at?: string | undefined;
3321
3266
  } | {
3322
3267
  message: string;
3323
3268
  warning_code: "provider_issue";
@@ -31650,13 +31595,6 @@ type Routes = {
31650
31595
  created_at?: string | undefined;
31651
31596
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31652
31597
  warning_code: 'provider_issue';
31653
- } | {
31654
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31655
- message: string;
31656
- /** Date and time at which Seam created the warning. */
31657
- created_at?: string | undefined;
31658
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31659
- warning_code: 'schlage_detected_duplicate';
31660
31598
  } | {
31661
31599
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31662
31600
  message: string;
@@ -32206,13 +32144,6 @@ type Routes = {
32206
32144
  created_at?: string | undefined;
32207
32145
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32208
32146
  warning_code: 'provider_issue';
32209
- } | {
32210
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
32211
- message: string;
32212
- /** Date and time at which Seam created the warning. */
32213
- created_at?: string | undefined;
32214
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32215
- warning_code: 'schlage_detected_duplicate';
32216
32147
  } | {
32217
32148
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
32218
32149
  message: string;
@@ -34450,13 +34381,6 @@ type Routes = {
34450
34381
  created_at?: string | undefined;
34451
34382
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34452
34383
  warning_code: 'provider_issue';
34453
- } | {
34454
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34455
- message: string;
34456
- /** Date and time at which Seam created the warning. */
34457
- created_at?: string | undefined;
34458
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34459
- warning_code: 'schlage_detected_duplicate';
34460
34384
  } | {
34461
34385
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34462
34386
  message: string;
@@ -35052,13 +34976,6 @@ type Routes = {
35052
34976
  created_at?: string | undefined;
35053
34977
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35054
34978
  warning_code: 'provider_issue';
35055
- } | {
35056
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35057
- message: string;
35058
- /** Date and time at which Seam created the warning. */
35059
- created_at?: string | undefined;
35060
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35061
- warning_code: 'schlage_detected_duplicate';
35062
34979
  } | {
35063
34980
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35064
34981
  message: string;
@@ -35599,13 +35516,6 @@ type Routes = {
35599
35516
  created_at?: string | undefined;
35600
35517
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35601
35518
  warning_code: 'provider_issue';
35602
- } | {
35603
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35604
- message: string;
35605
- /** Date and time at which Seam created the warning. */
35606
- created_at?: string | undefined;
35607
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35608
- warning_code: 'schlage_detected_duplicate';
35609
35519
  } | {
35610
35520
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35611
35521
  message: string;
@@ -36123,13 +36033,6 @@ type Routes = {
36123
36033
  created_at?: string | undefined;
36124
36034
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36125
36035
  warning_code: 'provider_issue';
36126
- } | {
36127
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36128
- message: string;
36129
- /** Date and time at which Seam created the warning. */
36130
- created_at?: string | undefined;
36131
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36132
- warning_code: 'schlage_detected_duplicate';
36133
36036
  } | {
36134
36037
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36135
36038
  message: string;
@@ -36680,13 +36583,6 @@ type Routes = {
36680
36583
  created_at?: string | undefined;
36681
36584
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36682
36585
  warning_code: 'provider_issue';
36683
- } | {
36684
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36685
- message: string;
36686
- /** Date and time at which Seam created the warning. */
36687
- created_at?: string | undefined;
36688
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36689
- warning_code: 'schlage_detected_duplicate';
36690
36586
  } | {
36691
36587
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36692
36588
  message: string;
@@ -38833,13 +38729,6 @@ type Routes = {
38833
38729
  created_at?: string | undefined;
38834
38730
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38835
38731
  warning_code: 'provider_issue';
38836
- } | {
38837
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38838
- message: string;
38839
- /** Date and time at which Seam created the warning. */
38840
- created_at?: string | undefined;
38841
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38842
- warning_code: 'schlage_detected_duplicate';
38843
38732
  } | {
38844
38733
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38845
38734
  message: string;
@@ -39276,13 +39165,6 @@ type Routes = {
39276
39165
  created_at?: string | undefined;
39277
39166
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39278
39167
  warning_code: 'provider_issue';
39279
- } | {
39280
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39281
- message: string;
39282
- /** Date and time at which Seam created the warning. */
39283
- created_at?: string | undefined;
39284
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39285
- warning_code: 'schlage_detected_duplicate';
39286
39168
  } | {
39287
39169
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39288
39170
  message: string;
@@ -147556,13 +147438,6 @@ type Routes = {
147556
147438
  created_at?: string | undefined;
147557
147439
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147558
147440
  warning_code: 'provider_issue';
147559
- } | {
147560
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147561
- message: string;
147562
- /** Date and time at which Seam created the warning. */
147563
- created_at?: string | undefined;
147564
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147565
- warning_code: 'schlage_detected_duplicate';
147566
147441
  } | {
147567
147442
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147568
147443
  message: string;
@@ -147983,13 +147858,6 @@ type Routes = {
147983
147858
  created_at?: string | undefined;
147984
147859
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147985
147860
  warning_code: 'provider_issue';
147986
- } | {
147987
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147988
- message: string;
147989
- /** Date and time at which Seam created the warning. */
147990
- created_at?: string | undefined;
147991
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147992
- warning_code: 'schlage_detected_duplicate';
147993
147861
  } | {
147994
147862
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147995
147863
  message: string;
package/dist/index.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: {