@seamapi/types 1.946.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.
@@ -2008,7 +2008,7 @@ export type Routes = {
2008
2008
  /** Date and time at which Seam created the warning. */
2009
2009
  created_at?: string | undefined;
2010
2010
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2011
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2011
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
2012
2012
  } | {
2013
2013
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2014
2014
  message: string;
@@ -2523,7 +2523,7 @@ export type Routes = {
2523
2523
  /** Date and time at which Seam created the warning. */
2524
2524
  created_at?: string | undefined;
2525
2525
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2526
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2526
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
2527
2527
  } | {
2528
2528
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2529
2529
  message: string;
@@ -4726,7 +4726,7 @@ export type Routes = {
4726
4726
  /** Date and time at which Seam created the warning. */
4727
4727
  created_at?: string | undefined;
4728
4728
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4729
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
4729
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
4730
4730
  } | {
4731
4731
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4732
4732
  message: string;
@@ -5287,7 +5287,7 @@ export type Routes = {
5287
5287
  /** Date and time at which Seam created the warning. */
5288
5288
  created_at?: string | undefined;
5289
5289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5290
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5290
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
5291
5291
  } | {
5292
5292
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5293
5293
  message: string;
@@ -5793,7 +5793,7 @@ export type Routes = {
5793
5793
  /** Date and time at which Seam created the warning. */
5794
5794
  created_at?: string | undefined;
5795
5795
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5796
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5796
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
5797
5797
  } | {
5798
5798
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5799
5799
  message: string;
@@ -6276,7 +6276,7 @@ export type Routes = {
6276
6276
  /** Date and time at which Seam created the warning. */
6277
6277
  created_at?: string | undefined;
6278
6278
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6279
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6279
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
6280
6280
  } | {
6281
6281
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6282
6282
  message: string;
@@ -6792,7 +6792,7 @@ export type Routes = {
6792
6792
  /** Date and time at which Seam created the warning. */
6793
6793
  created_at?: string | undefined;
6794
6794
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6795
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6795
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
6796
6796
  } | {
6797
6797
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6798
6798
  message: string;
@@ -8904,7 +8904,7 @@ export type Routes = {
8904
8904
  /** Date and time at which Seam created the warning. */
8905
8905
  created_at?: string | undefined;
8906
8906
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8907
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
8907
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
8908
8908
  } | {
8909
8909
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8910
8910
  message: string;
@@ -9306,7 +9306,7 @@ export type Routes = {
9306
9306
  /** Date and time at which Seam created the warning. */
9307
9307
  created_at?: string | undefined;
9308
9308
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9309
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
9309
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
9310
9310
  } | {
9311
9311
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9312
9312
  message: string;
@@ -119161,7 +119161,7 @@ export type Routes = {
119161
119161
  /** Date and time at which Seam created the warning. */
119162
119162
  created_at?: string | undefined;
119163
119163
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119164
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
119164
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
119165
119165
  } | {
119166
119166
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119167
119167
  message: string;
@@ -119547,7 +119547,7 @@ export type Routes = {
119547
119547
  /** Date and time at which Seam created the warning. */
119548
119548
  created_at?: string | undefined;
119549
119549
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119550
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
119550
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
119551
119551
  } | {
119552
119552
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119553
119553
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.946.0",
3
+ "version": "1.947.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -243,16 +243,15 @@ const code_rotates_periodically = common_access_code_warning
243
243
  "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
244
244
  )
245
245
 
246
- const schlage_access_code_ambiguous_timezone_dst_risk =
247
- common_access_code_warning
248
- .extend({
249
- warning_code: z
250
- .literal('schlage_access_code_ambiguous_timezone_dst_risk')
251
- .describe(warning_code_description),
252
- })
253
- .describe(
254
- "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.",
255
- )
246
+ const time_frame_adjusted_for_unknown_time_zone = common_access_code_warning
247
+ .extend({
248
+ warning_code: z
249
+ .literal('time_frame_adjusted_for_unknown_time_zone')
250
+ .describe(warning_code_description),
251
+ })
252
+ .describe(
253
+ "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 — 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.",
254
+ )
256
255
 
257
256
  const delay_in_setting_on_device = common_access_code_warning
258
257
  .extend({
@@ -315,7 +314,7 @@ const being_deleted = common_access_code_warning
315
314
  const access_code_warning = z
316
315
  .discriminatedUnion('warning_code', [
317
316
  code_rotates_periodically,
318
- schlage_access_code_ambiguous_timezone_dst_risk,
317
+ time_frame_adjusted_for_unknown_time_zone,
319
318
  code_modified_external_to_seam_warning,
320
319
  delay_in_setting_on_device,
321
320
  delay_in_removing_from_device,
@@ -333,8 +332,8 @@ export type AccessCodeWarning = z.infer<typeof access_code_warning>
333
332
 
334
333
  const _access_code_warning_map = z.object({
335
334
  code_rotates_periodically: code_rotates_periodically.optional().nullable(),
336
- schlage_access_code_ambiguous_timezone_dst_risk:
337
- schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
335
+ time_frame_adjusted_for_unknown_time_zone:
336
+ time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
338
337
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
339
338
  .optional()
340
339
  .nullable(),
@@ -1442,7 +1442,7 @@ const openapi: OpenAPISpec = {
1442
1442
  },
1443
1443
  {
1444
1444
  description:
1445
- "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.",
1445
+ "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 — 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.",
1446
1446
  properties: {
1447
1447
  created_at: {
1448
1448
  description:
@@ -1458,7 +1458,7 @@ const openapi: OpenAPISpec = {
1458
1458
  warning_code: {
1459
1459
  description:
1460
1460
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1461
- enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
1461
+ enum: ['time_frame_adjusted_for_unknown_time_zone'],
1462
1462
  type: 'string',
1463
1463
  },
1464
1464
  },
@@ -30022,7 +30022,7 @@ const openapi: OpenAPISpec = {
30022
30022
  },
30023
30023
  {
30024
30024
  description:
30025
- "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.",
30025
+ "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 — 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.",
30026
30026
  properties: {
30027
30027
  created_at: {
30028
30028
  description:
@@ -30038,7 +30038,7 @@ const openapi: OpenAPISpec = {
30038
30038
  warning_code: {
30039
30039
  description:
30040
30040
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30041
- enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
30041
+ enum: ['time_frame_adjusted_for_unknown_time_zone'],
30042
30042
  type: 'string',
30043
30043
  },
30044
30044
  },
@@ -2309,7 +2309,7 @@ export type Routes = {
2309
2309
  /** Date and time at which Seam created the warning. */
2310
2310
  created_at?: string | undefined
2311
2311
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2312
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
2312
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
2313
2313
  }
2314
2314
  | {
2315
2315
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -2874,7 +2874,7 @@ export type Routes = {
2874
2874
  /** Date and time at which Seam created the warning. */
2875
2875
  created_at?: string | undefined
2876
2876
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2877
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
2877
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
2878
2878
  }
2879
2879
  | {
2880
2880
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -5398,7 +5398,7 @@ export type Routes = {
5398
5398
  /** Date and time at which Seam created the warning. */
5399
5399
  created_at?: string | undefined
5400
5400
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5401
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
5401
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
5402
5402
  }
5403
5403
  | {
5404
5404
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -6062,7 +6062,7 @@ export type Routes = {
6062
6062
  /** Date and time at which Seam created the warning. */
6063
6063
  created_at?: string | undefined
6064
6064
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6065
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
6065
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
6066
6066
  }
6067
6067
  | {
6068
6068
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -6618,7 +6618,7 @@ export type Routes = {
6618
6618
  /** Date and time at which Seam created the warning. */
6619
6619
  created_at?: string | undefined
6620
6620
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6621
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
6621
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
6622
6622
  }
6623
6623
  | {
6624
6624
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -7151,7 +7151,7 @@ export type Routes = {
7151
7151
  /** Date and time at which Seam created the warning. */
7152
7152
  created_at?: string | undefined
7153
7153
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7154
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
7154
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
7155
7155
  }
7156
7156
  | {
7157
7157
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -7717,7 +7717,7 @@ export type Routes = {
7717
7717
  /** Date and time at which Seam created the warning. */
7718
7718
  created_at?: string | undefined
7719
7719
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7720
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
7720
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
7721
7721
  }
7722
7722
  | {
7723
7723
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -10143,7 +10143,7 @@ export type Routes = {
10143
10143
  /** Date and time at which Seam created the warning. */
10144
10144
  created_at?: string | undefined
10145
10145
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10146
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
10146
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
10147
10147
  }
10148
10148
  | {
10149
10149
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -10588,7 +10588,7 @@ export type Routes = {
10588
10588
  /** Date and time at which Seam created the warning. */
10589
10589
  created_at?: string | undefined
10590
10590
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10591
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
10591
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
10592
10592
  }
10593
10593
  | {
10594
10594
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -142035,7 +142035,7 @@ export type Routes = {
142035
142035
  /** Date and time at which Seam created the warning. */
142036
142036
  created_at?: string | undefined
142037
142037
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142038
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
142038
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
142039
142039
  }
142040
142040
  | {
142041
142041
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -142466,7 +142466,7 @@ export type Routes = {
142466
142466
  /** Date and time at which Seam created the warning. */
142467
142467
  created_at?: string | undefined
142468
142468
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142469
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk'
142469
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone'
142470
142470
  }
142471
142471
  | {
142472
142472
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */