@seamapi/types 1.801.0 → 1.802.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.
@@ -1765,6 +1765,13 @@ export type Routes = {
1765
1765
  created_at?: string | undefined;
1766
1766
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1767
1767
  warning_code: 'schlage_creation_outage';
1768
+ } | {
1769
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1770
+ message: string;
1771
+ /** Date and time at which Seam created the warning. */
1772
+ created_at?: string | undefined;
1773
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1774
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
1768
1775
  } | {
1769
1776
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1770
1777
  message: string;
@@ -2393,6 +2400,13 @@ export type Routes = {
2393
2400
  created_at?: string | undefined;
2394
2401
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2395
2402
  warning_code: 'schlage_creation_outage';
2403
+ } | {
2404
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2405
+ message: string;
2406
+ /** Date and time at which Seam created the warning. */
2407
+ created_at?: string | undefined;
2408
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2409
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2396
2410
  } | {
2397
2411
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2398
2412
  message: string;
@@ -4369,6 +4383,13 @@ export type Routes = {
4369
4383
  created_at?: string | undefined;
4370
4384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4371
4385
  warning_code: 'schlage_creation_outage';
4386
+ } | {
4387
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4388
+ message: string;
4389
+ /** Date and time at which Seam created the warning. */
4390
+ created_at?: string | undefined;
4391
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4392
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
4372
4393
  } | {
4373
4394
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4374
4395
  message: string;
@@ -5045,6 +5066,13 @@ export type Routes = {
5045
5066
  created_at?: string | undefined;
5046
5067
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5047
5068
  warning_code: 'schlage_creation_outage';
5069
+ } | {
5070
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5071
+ message: string;
5072
+ /** Date and time at which Seam created the warning. */
5073
+ created_at?: string | undefined;
5074
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5075
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5048
5076
  } | {
5049
5077
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5050
5078
  message: string;
@@ -5664,6 +5692,13 @@ export type Routes = {
5664
5692
  created_at?: string | undefined;
5665
5693
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5666
5694
  warning_code: 'schlage_creation_outage';
5695
+ } | {
5696
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5697
+ message: string;
5698
+ /** Date and time at which Seam created the warning. */
5699
+ created_at?: string | undefined;
5700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5701
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5667
5702
  } | {
5668
5703
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5669
5704
  message: string;
@@ -6260,6 +6295,13 @@ export type Routes = {
6260
6295
  created_at?: string | undefined;
6261
6296
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6262
6297
  warning_code: 'schlage_creation_outage';
6298
+ } | {
6299
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6300
+ message: string;
6301
+ /** Date and time at which Seam created the warning. */
6302
+ created_at?: string | undefined;
6303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6304
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6263
6305
  } | {
6264
6306
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6265
6307
  message: string;
@@ -6891,6 +6933,13 @@ export type Routes = {
6891
6933
  created_at?: string | undefined;
6892
6934
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6893
6935
  warning_code: 'schlage_creation_outage';
6936
+ } | {
6937
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6938
+ message: string;
6939
+ /** Date and time at which Seam created the warning. */
6940
+ created_at?: string | undefined;
6941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6942
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6894
6943
  } | {
6895
6944
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6896
6945
  message: string;
@@ -8774,6 +8823,13 @@ export type Routes = {
8774
8823
  created_at?: string | undefined;
8775
8824
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8776
8825
  warning_code: 'schlage_creation_outage';
8826
+ } | {
8827
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8828
+ message: string;
8829
+ /** Date and time at which Seam created the warning. */
8830
+ created_at?: string | undefined;
8831
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8832
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
8777
8833
  } | {
8778
8834
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8779
8835
  message: string;
@@ -9287,6 +9343,13 @@ export type Routes = {
9287
9343
  created_at?: string | undefined;
9288
9344
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9289
9345
  warning_code: 'schlage_creation_outage';
9346
+ } | {
9347
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9348
+ message: string;
9349
+ /** Date and time at which Seam created the warning. */
9350
+ created_at?: string | undefined;
9351
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9352
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
9290
9353
  } | {
9291
9354
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9292
9355
  message: string;
@@ -99669,6 +99732,13 @@ export type Routes = {
99669
99732
  created_at?: string | undefined;
99670
99733
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99671
99734
  warning_code: 'schlage_creation_outage';
99735
+ } | {
99736
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99737
+ message: string;
99738
+ /** Date and time at which Seam created the warning. */
99739
+ created_at?: string | undefined;
99740
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99741
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
99672
99742
  } | {
99673
99743
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99674
99744
  message: string;
@@ -100166,6 +100236,13 @@ export type Routes = {
100166
100236
  created_at?: string | undefined;
100167
100237
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100168
100238
  warning_code: 'schlage_creation_outage';
100239
+ } | {
100240
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100241
+ message: string;
100242
+ /** Date and time at which Seam created the warning. */
100243
+ created_at?: string | undefined;
100244
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100245
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
100169
100246
  } | {
100170
100247
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100171
100248
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.801.0",
3
+ "version": "1.802.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -368,6 +368,17 @@ const schlage_creation_outage = common_access_code_warning
368
368
  })
369
369
  .describe('Received an error when attempting to create this code.')
370
370
 
371
+ const schlage_access_code_ambiguous_timezone_dst_risk =
372
+ common_access_code_warning
373
+ .extend({
374
+ warning_code: z
375
+ .literal('schlage_access_code_ambiguous_timezone_dst_risk')
376
+ .describe(warning_code_description),
377
+ })
378
+ .describe(
379
+ "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 — 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.",
380
+ )
381
+
371
382
  const delay_in_setting_on_device = common_access_code_warning
372
383
  .extend({
373
384
  warning_code: z
@@ -449,6 +460,7 @@ const access_code_warning = z
449
460
  smartthings_failed_to_set_access_code_warning,
450
461
  schlage_detected_duplicate,
451
462
  schlage_creation_outage,
463
+ schlage_access_code_ambiguous_timezone_dst_risk,
452
464
  code_modified_external_to_seam_warning,
453
465
  delay_in_setting_on_device,
454
466
  delay_in_removing_from_device,
@@ -473,6 +485,8 @@ const _access_code_warning_map = z.object({
473
485
  smartthings_failed_to_set_access_code_warning.optional().nullable(),
474
486
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
475
487
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
488
+ schlage_access_code_ambiguous_timezone_dst_risk:
489
+ schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
476
490
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
477
491
  .optional()
478
492
  .nullable(),
@@ -1753,6 +1753,31 @@ export default {
1753
1753
  required: ['message', 'warning_code'],
1754
1754
  type: 'object',
1755
1755
  },
1756
+ {
1757
+ description:
1758
+ "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 — 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.",
1759
+ properties: {
1760
+ created_at: {
1761
+ description:
1762
+ 'Date and time at which Seam created the warning.',
1763
+ format: 'date-time',
1764
+ type: 'string',
1765
+ },
1766
+ message: {
1767
+ description:
1768
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1769
+ type: 'string',
1770
+ },
1771
+ warning_code: {
1772
+ description:
1773
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1774
+ enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
1775
+ type: 'string',
1776
+ },
1777
+ },
1778
+ required: ['message', 'warning_code'],
1779
+ type: 'object',
1780
+ },
1756
1781
  {
1757
1782
  description:
1758
1783
  'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -27457,6 +27482,31 @@ export default {
27457
27482
  required: ['message', 'warning_code'],
27458
27483
  type: 'object',
27459
27484
  },
27485
+ {
27486
+ description:
27487
+ "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 — 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.",
27488
+ properties: {
27489
+ created_at: {
27490
+ description:
27491
+ 'Date and time at which Seam created the warning.',
27492
+ format: 'date-time',
27493
+ type: 'string',
27494
+ },
27495
+ message: {
27496
+ description:
27497
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27498
+ type: 'string',
27499
+ },
27500
+ warning_code: {
27501
+ description:
27502
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
27503
+ enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
27504
+ type: 'string',
27505
+ },
27506
+ },
27507
+ required: ['message', 'warning_code'],
27508
+ type: 'object',
27509
+ },
27460
27510
  {
27461
27511
  description:
27462
27512
  'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -2019,6 +2019,14 @@ export type Routes = {
2019
2019
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2020
2020
  warning_code: 'schlage_creation_outage'
2021
2021
  }
2022
+ | {
2023
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2024
+ message: string
2025
+ /** Date and time at which Seam created the warning. */
2026
+ created_at?: string | undefined
2027
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2028
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
2029
+ }
2022
2030
  | {
2023
2031
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2024
2032
  message: string
@@ -2710,6 +2718,14 @@ export type Routes = {
2710
2718
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2711
2719
  warning_code: 'schlage_creation_outage'
2712
2720
  }
2721
+ | {
2722
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2723
+ message: string
2724
+ /** Date and time at which Seam created the warning. */
2725
+ created_at?: string | undefined
2726
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2727
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
2728
+ }
2713
2729
  | {
2714
2730
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2715
2731
  message: string
@@ -4961,6 +4977,14 @@ export type Routes = {
4961
4977
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4962
4978
  warning_code: 'schlage_creation_outage'
4963
4979
  }
4980
+ | {
4981
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4982
+ message: string
4983
+ /** Date and time at which Seam created the warning. */
4984
+ created_at?: string | undefined
4985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4986
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
4987
+ }
4964
4988
  | {
4965
4989
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4966
4990
  message: string
@@ -5741,6 +5765,14 @@ export type Routes = {
5741
5765
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5742
5766
  warning_code: 'schlage_creation_outage'
5743
5767
  }
5768
+ | {
5769
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5770
+ message: string
5771
+ /** Date and time at which Seam created the warning. */
5772
+ created_at?: string | undefined
5773
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5774
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
5775
+ }
5744
5776
  | {
5745
5777
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5746
5778
  message: string
@@ -6423,6 +6455,14 @@ export type Routes = {
6423
6455
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6424
6456
  warning_code: 'schlage_creation_outage'
6425
6457
  }
6458
+ | {
6459
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6460
+ message: string
6461
+ /** Date and time at which Seam created the warning. */
6462
+ created_at?: string | undefined
6463
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6464
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
6465
+ }
6426
6466
  | {
6427
6467
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6428
6468
  message: string
@@ -7082,6 +7122,14 @@ export type Routes = {
7082
7122
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7083
7123
  warning_code: 'schlage_creation_outage'
7084
7124
  }
7125
+ | {
7126
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7127
+ message: string
7128
+ /** Date and time at which Seam created the warning. */
7129
+ created_at?: string | undefined
7130
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7131
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
7132
+ }
7085
7133
  | {
7086
7134
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7087
7135
  message: string
@@ -7776,6 +7824,14 @@ export type Routes = {
7776
7824
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7777
7825
  warning_code: 'schlage_creation_outage'
7778
7826
  }
7827
+ | {
7828
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7829
+ message: string
7830
+ /** Date and time at which Seam created the warning. */
7831
+ created_at?: string | undefined
7832
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7833
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
7834
+ }
7779
7835
  | {
7780
7836
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7781
7837
  message: string
@@ -9927,6 +9983,14 @@ export type Routes = {
9927
9983
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9928
9984
  warning_code: 'schlage_creation_outage'
9929
9985
  }
9986
+ | {
9987
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9988
+ message: string
9989
+ /** Date and time at which Seam created the warning. */
9990
+ created_at?: string | undefined
9991
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9992
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
9993
+ }
9930
9994
  | {
9931
9995
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9932
9996
  message: string
@@ -10496,6 +10560,14 @@ export type Routes = {
10496
10560
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10497
10561
  warning_code: 'schlage_creation_outage'
10498
10562
  }
10563
+ | {
10564
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10565
+ message: string
10566
+ /** Date and time at which Seam created the warning. */
10567
+ created_at?: string | undefined
10568
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10569
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
10570
+ }
10499
10571
  | {
10500
10572
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10501
10573
  message: string
@@ -118640,6 +118712,14 @@ export type Routes = {
118640
118712
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118641
118713
  warning_code: 'schlage_creation_outage'
118642
118714
  }
118715
+ | {
118716
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118717
+ message: string
118718
+ /** Date and time at which Seam created the warning. */
118719
+ created_at?: string | undefined
118720
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118721
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
118722
+ }
118643
118723
  | {
118644
118724
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118645
118725
  message: string
@@ -119195,6 +119275,14 @@ export type Routes = {
119195
119275
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119196
119276
  warning_code: 'schlage_creation_outage'
119197
119277
  }
119278
+ | {
119279
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119280
+ message: string
119281
+ /** Date and time at which Seam created the warning. */
119282
+ created_at?: string | undefined
119283
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119284
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
119285
+ }
119198
119286
  | {
119199
119287
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119200
119288
  message: string