@seamapi/types 1.945.0 → 1.947.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.
@@ -164,22 +164,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
164
164
  message: z.ZodString;
165
165
  is_access_code_error: z.ZodLiteral<true>;
166
166
  created_at: z.ZodOptional<z.ZodString>;
167
- } & {
168
- error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
169
- }, "strip", z.ZodTypeAny, {
170
- message: string;
171
- error_code: "salto_ks_user_not_subscribed";
172
- is_access_code_error: true;
173
- created_at?: string | undefined;
174
- }, {
175
- message: string;
176
- error_code: "salto_ks_user_not_subscribed";
177
- is_access_code_error: true;
178
- created_at?: string | undefined;
179
- }>, z.ZodObject<{
180
- message: z.ZodString;
181
- is_access_code_error: z.ZodLiteral<true>;
182
- created_at: z.ZodOptional<z.ZodString>;
183
167
  } & {
184
168
  error_code: z.ZodLiteral<"insufficient_permissions">;
185
169
  }, "strip", z.ZodTypeAny, {
@@ -211,14 +195,14 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
211
195
  message: z.ZodString;
212
196
  created_at: z.ZodOptional<z.ZodString>;
213
197
  } & {
214
- warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
198
+ warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
215
199
  }, "strip", z.ZodTypeAny, {
216
200
  message: string;
217
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
201
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
218
202
  created_at?: string | undefined;
219
203
  }, {
220
204
  message: string;
221
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
205
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
222
206
  created_at?: string | undefined;
223
207
  }>, z.ZodObject<{
224
208
  message: z.ZodString;
@@ -527,22 +511,6 @@ declare const access_code: z.ZodObject<{
527
511
  message: z.ZodString;
528
512
  is_access_code_error: z.ZodLiteral<true>;
529
513
  created_at: z.ZodOptional<z.ZodString>;
530
- } & {
531
- error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
532
- }, "strip", z.ZodTypeAny, {
533
- message: string;
534
- error_code: "salto_ks_user_not_subscribed";
535
- is_access_code_error: true;
536
- created_at?: string | undefined;
537
- }, {
538
- message: string;
539
- error_code: "salto_ks_user_not_subscribed";
540
- is_access_code_error: true;
541
- created_at?: string | undefined;
542
- }>, z.ZodObject<{
543
- message: z.ZodString;
544
- is_access_code_error: z.ZodLiteral<true>;
545
- created_at: z.ZodOptional<z.ZodString>;
546
514
  } & {
547
515
  error_code: z.ZodLiteral<"insufficient_permissions">;
548
516
  }, "strip", z.ZodTypeAny, {
@@ -946,14 +914,14 @@ declare const access_code: z.ZodObject<{
946
914
  message: z.ZodString;
947
915
  created_at: z.ZodOptional<z.ZodString>;
948
916
  } & {
949
- warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
917
+ warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
950
918
  }, "strip", z.ZodTypeAny, {
951
919
  message: string;
952
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
920
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
953
921
  created_at?: string | undefined;
954
922
  }, {
955
923
  message: string;
956
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
924
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
957
925
  created_at?: string | undefined;
958
926
  }>, z.ZodObject<{
959
927
  message: z.ZodString;
@@ -1465,11 +1433,6 @@ declare const access_code: z.ZodObject<{
1465
1433
  error_code: "access_code_inactive";
1466
1434
  is_access_code_error: true;
1467
1435
  created_at?: string | undefined;
1468
- } | {
1469
- message: string;
1470
- error_code: "salto_ks_user_not_subscribed";
1471
- is_access_code_error: true;
1472
- created_at?: string | undefined;
1473
1436
  })[];
1474
1437
  warnings: ({
1475
1438
  message: string;
@@ -1487,7 +1450,7 @@ declare const access_code: z.ZodObject<{
1487
1450
  created_at?: string | undefined;
1488
1451
  } | {
1489
1452
  message: string;
1490
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
1453
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
1491
1454
  created_at?: string | undefined;
1492
1455
  } | {
1493
1456
  message: string;
@@ -1758,11 +1721,6 @@ declare const access_code: z.ZodObject<{
1758
1721
  error_code: "access_code_inactive";
1759
1722
  is_access_code_error: true;
1760
1723
  created_at?: string | undefined;
1761
- } | {
1762
- message: string;
1763
- error_code: "salto_ks_user_not_subscribed";
1764
- is_access_code_error: true;
1765
- created_at?: string | undefined;
1766
1724
  })[];
1767
1725
  warnings: ({
1768
1726
  message: string;
@@ -1780,7 +1738,7 @@ declare const access_code: z.ZodObject<{
1780
1738
  created_at?: string | undefined;
1781
1739
  } | {
1782
1740
  message: string;
1783
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
1741
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
1784
1742
  created_at?: string | undefined;
1785
1743
  } | {
1786
1744
  message: string;
@@ -2056,22 +2014,6 @@ declare const unmanaged_access_code: z.ZodObject<{
2056
2014
  message: z.ZodString;
2057
2015
  is_access_code_error: z.ZodLiteral<true>;
2058
2016
  created_at: z.ZodOptional<z.ZodString>;
2059
- } & {
2060
- error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
2061
- }, "strip", z.ZodTypeAny, {
2062
- message: string;
2063
- error_code: "salto_ks_user_not_subscribed";
2064
- is_access_code_error: true;
2065
- created_at?: string | undefined;
2066
- }, {
2067
- message: string;
2068
- error_code: "salto_ks_user_not_subscribed";
2069
- is_access_code_error: true;
2070
- created_at?: string | undefined;
2071
- }>, z.ZodObject<{
2072
- message: z.ZodString;
2073
- is_access_code_error: z.ZodLiteral<true>;
2074
- created_at: z.ZodOptional<z.ZodString>;
2075
2017
  } & {
2076
2018
  error_code: z.ZodLiteral<"insufficient_permissions">;
2077
2019
  }, "strip", z.ZodTypeAny, {
@@ -2475,14 +2417,14 @@ declare const unmanaged_access_code: z.ZodObject<{
2475
2417
  message: z.ZodString;
2476
2418
  created_at: z.ZodOptional<z.ZodString>;
2477
2419
  } & {
2478
- warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
2420
+ warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
2479
2421
  }, "strip", z.ZodTypeAny, {
2480
2422
  message: string;
2481
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
2423
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
2482
2424
  created_at?: string | undefined;
2483
2425
  }, {
2484
2426
  message: string;
2485
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
2427
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
2486
2428
  created_at?: string | undefined;
2487
2429
  }>, z.ZodObject<{
2488
2430
  message: z.ZodString;
@@ -2820,11 +2762,6 @@ declare const unmanaged_access_code: z.ZodObject<{
2820
2762
  error_code: "access_code_inactive";
2821
2763
  is_access_code_error: true;
2822
2764
  created_at?: string | undefined;
2823
- } | {
2824
- message: string;
2825
- error_code: "salto_ks_user_not_subscribed";
2826
- is_access_code_error: true;
2827
- created_at?: string | undefined;
2828
2765
  })[];
2829
2766
  warnings: ({
2830
2767
  message: string;
@@ -2842,7 +2779,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2842
2779
  created_at?: string | undefined;
2843
2780
  } | {
2844
2781
  message: string;
2845
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
2782
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
2846
2783
  created_at?: string | undefined;
2847
2784
  } | {
2848
2785
  message: string;
@@ -3060,11 +2997,6 @@ declare const unmanaged_access_code: z.ZodObject<{
3060
2997
  error_code: "access_code_inactive";
3061
2998
  is_access_code_error: true;
3062
2999
  created_at?: string | undefined;
3063
- } | {
3064
- message: string;
3065
- error_code: "salto_ks_user_not_subscribed";
3066
- is_access_code_error: true;
3067
- created_at?: string | undefined;
3068
3000
  })[];
3069
3001
  warnings: ({
3070
3002
  message: string;
@@ -3082,7 +3014,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3082
3014
  created_at?: string | undefined;
3083
3015
  } | {
3084
3016
  message: string;
3085
- warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
3017
+ warning_code: "time_frame_adjusted_for_unknown_time_zone";
3086
3018
  created_at?: string | undefined;
3087
3019
  } | {
3088
3020
  message: string;
@@ -31784,15 +31716,6 @@ type Routes = {
31784
31716
  created_at?: string | undefined;
31785
31717
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31786
31718
  error_code: 'access_code_inactive';
31787
- } | {
31788
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31789
- message: string;
31790
- /** Indicates that this is an access code error. */
31791
- is_access_code_error: true;
31792
- /** Date and time at which Seam created the error. */
31793
- created_at?: string | undefined;
31794
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31795
- error_code: 'salto_ks_user_not_subscribed';
31796
31719
  } | {
31797
31720
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31798
31721
  message: string;
@@ -31969,7 +31892,7 @@ type Routes = {
31969
31892
  /** Date and time at which Seam created the warning. */
31970
31893
  created_at?: string | undefined;
31971
31894
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31972
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
31895
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
31973
31896
  } | {
31974
31897
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31975
31898
  message: string;
@@ -32308,15 +32231,6 @@ type Routes = {
32308
32231
  created_at?: string | undefined;
32309
32232
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32310
32233
  error_code: 'access_code_inactive';
32311
- } | {
32312
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32313
- message: string;
32314
- /** Indicates that this is an access code error. */
32315
- is_access_code_error: true;
32316
- /** Date and time at which Seam created the error. */
32317
- created_at?: string | undefined;
32318
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32319
- error_code: 'salto_ks_user_not_subscribed';
32320
32234
  } | {
32321
32235
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32322
32236
  message: string;
@@ -32493,7 +32407,7 @@ type Routes = {
32493
32407
  /** Date and time at which Seam created the warning. */
32494
32408
  created_at?: string | undefined;
32495
32409
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32496
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
32410
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
32497
32411
  } | {
32498
32412
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
32499
32413
  message: string;
@@ -34520,15 +34434,6 @@ type Routes = {
34520
34434
  created_at?: string | undefined;
34521
34435
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34522
34436
  error_code: 'access_code_inactive';
34523
- } | {
34524
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34525
- message: string;
34526
- /** Indicates that this is an access code error. */
34527
- is_access_code_error: true;
34528
- /** Date and time at which Seam created the error. */
34529
- created_at?: string | undefined;
34530
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34531
- error_code: 'salto_ks_user_not_subscribed';
34532
34437
  } | {
34533
34438
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34534
34439
  message: string;
@@ -34705,7 +34610,7 @@ type Routes = {
34705
34610
  /** Date and time at which Seam created the warning. */
34706
34611
  created_at?: string | undefined;
34707
34612
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34708
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
34613
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
34709
34614
  } | {
34710
34615
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34711
34616
  message: string;
@@ -35090,15 +34995,6 @@ type Routes = {
35090
34995
  created_at?: string | undefined;
35091
34996
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35092
34997
  error_code: 'access_code_inactive';
35093
- } | {
35094
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35095
- message: string;
35096
- /** Indicates that this is an access code error. */
35097
- is_access_code_error: true;
35098
- /** Date and time at which Seam created the error. */
35099
- created_at?: string | undefined;
35100
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35101
- error_code: 'salto_ks_user_not_subscribed';
35102
34998
  } | {
35103
34999
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35104
35000
  message: string;
@@ -35275,7 +35171,7 @@ type Routes = {
35275
35171
  /** Date and time at which Seam created the warning. */
35276
35172
  created_at?: string | undefined;
35277
35173
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35278
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
35174
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
35279
35175
  } | {
35280
35176
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35281
35177
  message: string;
@@ -35605,15 +35501,6 @@ type Routes = {
35605
35501
  created_at?: string | undefined;
35606
35502
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35607
35503
  error_code: 'access_code_inactive';
35608
- } | {
35609
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35610
- message: string;
35611
- /** Indicates that this is an access code error. */
35612
- is_access_code_error: true;
35613
- /** Date and time at which Seam created the error. */
35614
- created_at?: string | undefined;
35615
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35616
- error_code: 'salto_ks_user_not_subscribed';
35617
35504
  } | {
35618
35505
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35619
35506
  message: string;
@@ -35790,7 +35677,7 @@ type Routes = {
35790
35677
  /** Date and time at which Seam created the warning. */
35791
35678
  created_at?: string | undefined;
35792
35679
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35793
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
35680
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
35794
35681
  } | {
35795
35682
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35796
35683
  message: string;
@@ -36097,15 +35984,6 @@ type Routes = {
36097
35984
  created_at?: string | undefined;
36098
35985
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36099
35986
  error_code: 'access_code_inactive';
36100
- } | {
36101
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36102
- message: string;
36103
- /** Indicates that this is an access code error. */
36104
- is_access_code_error: true;
36105
- /** Date and time at which Seam created the error. */
36106
- created_at?: string | undefined;
36107
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36108
- error_code: 'salto_ks_user_not_subscribed';
36109
35987
  } | {
36110
35988
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36111
35989
  message: string;
@@ -36282,7 +36160,7 @@ type Routes = {
36282
36160
  /** Date and time at which Seam created the warning. */
36283
36161
  created_at?: string | undefined;
36284
36162
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36285
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
36163
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
36286
36164
  } | {
36287
36165
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36288
36166
  message: string;
@@ -36622,15 +36500,6 @@ type Routes = {
36622
36500
  created_at?: string | undefined;
36623
36501
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36624
36502
  error_code: 'access_code_inactive';
36625
- } | {
36626
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36627
- message: string;
36628
- /** Indicates that this is an access code error. */
36629
- is_access_code_error: true;
36630
- /** Date and time at which Seam created the error. */
36631
- created_at?: string | undefined;
36632
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36633
- error_code: 'salto_ks_user_not_subscribed';
36634
36503
  } | {
36635
36504
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36636
36505
  message: string;
@@ -36807,7 +36676,7 @@ type Routes = {
36807
36676
  /** Date and time at which Seam created the warning. */
36808
36677
  created_at?: string | undefined;
36809
36678
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36810
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
36679
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
36811
36680
  } | {
36812
36681
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36813
36682
  message: string;
@@ -38743,15 +38612,6 @@ type Routes = {
38743
38612
  created_at?: string | undefined;
38744
38613
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38745
38614
  error_code: 'access_code_inactive';
38746
- } | {
38747
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38748
- message: string;
38749
- /** Indicates that this is an access code error. */
38750
- is_access_code_error: true;
38751
- /** Date and time at which Seam created the error. */
38752
- created_at?: string | undefined;
38753
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38754
- error_code: 'salto_ks_user_not_subscribed';
38755
38615
  } | {
38756
38616
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38757
38617
  message: string;
@@ -38928,7 +38788,7 @@ type Routes = {
38928
38788
  /** Date and time at which Seam created the warning. */
38929
38789
  created_at?: string | undefined;
38930
38790
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38931
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
38791
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
38932
38792
  } | {
38933
38793
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38934
38794
  message: string;
@@ -39154,15 +39014,6 @@ type Routes = {
39154
39014
  created_at?: string | undefined;
39155
39015
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39156
39016
  error_code: 'access_code_inactive';
39157
- } | {
39158
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39159
- message: string;
39160
- /** Indicates that this is an access code error. */
39161
- is_access_code_error: true;
39162
- /** Date and time at which Seam created the error. */
39163
- created_at?: string | undefined;
39164
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39165
- error_code: 'salto_ks_user_not_subscribed';
39166
39017
  } | {
39167
39018
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39168
39019
  message: string;
@@ -39339,7 +39190,7 @@ type Routes = {
39339
39190
  /** Date and time at which Seam created the warning. */
39340
39191
  created_at?: string | undefined;
39341
39192
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39342
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
39193
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
39343
39194
  } | {
39344
39195
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39345
39196
  message: string;
@@ -149018,15 +148869,6 @@ type Routes = {
149018
148869
  created_at?: string | undefined;
149019
148870
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149020
148871
  error_code: 'access_code_inactive';
149021
- } | {
149022
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149023
- message: string;
149024
- /** Indicates that this is an access code error. */
149025
- is_access_code_error: true;
149026
- /** Date and time at which Seam created the error. */
149027
- created_at?: string | undefined;
149028
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149029
- error_code: 'salto_ks_user_not_subscribed';
149030
148872
  } | {
149031
148873
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149032
148874
  message: string;
@@ -149203,7 +149045,7 @@ type Routes = {
149203
149045
  /** Date and time at which Seam created the warning. */
149204
149046
  created_at?: string | undefined;
149205
149047
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149206
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
149048
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
149207
149049
  } | {
149208
149050
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149209
149051
  message: string;
@@ -149413,15 +149255,6 @@ type Routes = {
149413
149255
  created_at?: string | undefined;
149414
149256
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149415
149257
  error_code: 'access_code_inactive';
149416
- } | {
149417
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149418
- message: string;
149419
- /** Indicates that this is an access code error. */
149420
- is_access_code_error: true;
149421
- /** Date and time at which Seam created the error. */
149422
- created_at?: string | undefined;
149423
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149424
- error_code: 'salto_ks_user_not_subscribed';
149425
149258
  } | {
149426
149259
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149427
149260
  message: string;
@@ -149598,7 +149431,7 @@ type Routes = {
149598
149431
  /** Date and time at which Seam created the warning. */
149599
149432
  created_at?: string | undefined;
149600
149433
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
149601
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
149434
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
149602
149435
  } | {
149603
149436
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
149604
149437
  message: string;
package/dist/index.cjs CHANGED
@@ -2646,17 +2646,6 @@ var access_code_inactive_error = common_access_code_error.extend({
2646
2646
  ---
2647
2647
  Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
2648
2648
  `);
2649
- var salto_ks_user_not_subscribed = common_access_code_error.extend({
2650
- error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
2651
- }).describe(
2652
- `
2653
- ---
2654
- resource_type: access_code
2655
- deprecated: Use \`access_code_inactive\` instead.
2656
- ---
2657
- Salto site user is not subscribed.
2658
- `
2659
- );
2660
2649
  var access_code_error = zod.z.discriminatedUnion("error_code", [
2661
2650
  provider_issue2,
2662
2651
  failed_to_set_on_device,
@@ -2666,7 +2655,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2666
2655
  no_space_for_access_code_on_device,
2667
2656
  code_modified_external_to_seam_error,
2668
2657
  access_code_inactive_error,
2669
- salto_ks_user_not_subscribed,
2670
2658
  insufficient_permissions2
2671
2659
  ]).describe(
2672
2660
  "Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
@@ -2680,8 +2668,7 @@ zod.z.object({
2680
2668
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
2681
2669
  insufficient_permissions: insufficient_permissions2.optional().nullable(),
2682
2670
  code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
2683
- access_code_inactive: access_code_inactive_error.optional().nullable(),
2684
- salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
2671
+ access_code_inactive: access_code_inactive_error.optional().nullable()
2685
2672
  });
2686
2673
  var common_access_code_warning = zod.z.object({
2687
2674
  message: zod.z.string().describe(
@@ -2706,10 +2693,10 @@ var code_rotates_periodically = common_access_code_warning.extend({
2706
2693
  }).describe(
2707
2694
  "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use."
2708
2695
  );
2709
- var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
2710
- warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
2696
+ var time_frame_adjusted_for_unknown_time_zone = common_access_code_warning.extend({
2697
+ warning_code: zod.z.literal("time_frame_adjusted_for_unknown_time_zone").describe(warning_code_description3)
2711
2698
  }).describe(
2712
- "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."
2699
+ "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame 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 time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling."
2713
2700
  );
2714
2701
  var delay_in_setting_on_device = common_access_code_warning.extend({
2715
2702
  warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
@@ -2738,7 +2725,7 @@ var being_deleted2 = common_access_code_warning.extend({
2738
2725
  }).describe("Access code is being deleted.");
2739
2726
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2740
2727
  code_rotates_periodically,
2741
- schlage_access_code_ambiguous_timezone_dst_risk,
2728
+ time_frame_adjusted_for_unknown_time_zone,
2742
2729
  code_modified_external_to_seam_warning,
2743
2730
  delay_in_setting_on_device,
2744
2731
  delay_in_removing_from_device,
@@ -2752,7 +2739,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2752
2739
  );
2753
2740
  zod.z.object({
2754
2741
  code_rotates_periodically: code_rotates_periodically.optional().nullable(),
2755
- schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2742
+ time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
2756
2743
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2757
2744
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
2758
2745
  delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
@@ -7908,35 +7895,6 @@ var openapi = {
7908
7895
  type: "object",
7909
7896
  "x-resource-type": "access_code"
7910
7897
  },
7911
- {
7912
- deprecated: true,
7913
- description: "Salto site user is not subscribed.",
7914
- properties: {
7915
- created_at: {
7916
- description: "Date and time at which Seam created the error.",
7917
- format: "date-time",
7918
- type: "string"
7919
- },
7920
- error_code: {
7921
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7922
- enum: ["salto_ks_user_not_subscribed"],
7923
- type: "string"
7924
- },
7925
- is_access_code_error: {
7926
- description: "Indicates that this is an access code error.",
7927
- enum: [true],
7928
- type: "boolean"
7929
- },
7930
- message: {
7931
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7932
- type: "string"
7933
- }
7934
- },
7935
- required: ["message", "is_access_code_error", "error_code"],
7936
- type: "object",
7937
- "x-deprecated": "Use `access_code_inactive` instead.",
7938
- "x-resource-type": "access_code"
7939
- },
7940
7898
  {
7941
7899
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
7942
7900
  properties: {
@@ -8858,7 +8816,7 @@ var openapi = {
8858
8816
  type: "object"
8859
8817
  },
8860
8818
  {
8861
- 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.",
8819
+ description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame 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 time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
8862
8820
  properties: {
8863
8821
  created_at: {
8864
8822
  description: "Date and time at which Seam created the warning.",
@@ -8871,7 +8829,7 @@ var openapi = {
8871
8829
  },
8872
8830
  warning_code: {
8873
8831
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8874
- enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
8832
+ enum: ["time_frame_adjusted_for_unknown_time_zone"],
8875
8833
  type: "string"
8876
8834
  }
8877
8835
  },
@@ -33914,35 +33872,6 @@ var openapi = {
33914
33872
  type: "object",
33915
33873
  "x-resource-type": "access_code"
33916
33874
  },
33917
- {
33918
- deprecated: true,
33919
- description: "Salto site user is not subscribed.",
33920
- properties: {
33921
- created_at: {
33922
- description: "Date and time at which Seam created the error.",
33923
- format: "date-time",
33924
- type: "string"
33925
- },
33926
- error_code: {
33927
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33928
- enum: ["salto_ks_user_not_subscribed"],
33929
- type: "string"
33930
- },
33931
- is_access_code_error: {
33932
- description: "Indicates that this is an access code error.",
33933
- enum: [true],
33934
- type: "boolean"
33935
- },
33936
- message: {
33937
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33938
- type: "string"
33939
- }
33940
- },
33941
- required: ["message", "is_access_code_error", "error_code"],
33942
- type: "object",
33943
- "x-deprecated": "Use `access_code_inactive` instead.",
33944
- "x-resource-type": "access_code"
33945
- },
33946
33875
  {
33947
33876
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
33948
33877
  properties: {
@@ -34581,7 +34510,7 @@ var openapi = {
34581
34510
  type: "object"
34582
34511
  },
34583
34512
  {
34584
- 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.",
34513
+ description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame 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 time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
34585
34514
  properties: {
34586
34515
  created_at: {
34587
34516
  description: "Date and time at which Seam created the warning.",
@@ -34594,7 +34523,7 @@ var openapi = {
34594
34523
  },
34595
34524
  warning_code: {
34596
34525
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34597
- enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
34526
+ enum: ["time_frame_adjusted_for_unknown_time_zone"],
34598
34527
  type: "string"
34599
34528
  }
34600
34529
  },