@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.
@@ -1832,15 +1832,6 @@ export type Routes = {
1832
1832
  created_at?: string | undefined;
1833
1833
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1834
1834
  error_code: 'access_code_inactive';
1835
- } | {
1836
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1837
- message: string;
1838
- /** Indicates that this is an access code error. */
1839
- is_access_code_error: true;
1840
- /** Date and time at which Seam created the error. */
1841
- created_at?: string | undefined;
1842
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1843
- error_code: 'salto_ks_user_not_subscribed';
1844
1835
  } | {
1845
1836
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1846
1837
  message: string;
@@ -2017,7 +2008,7 @@ export type Routes = {
2017
2008
  /** Date and time at which Seam created the warning. */
2018
2009
  created_at?: string | undefined;
2019
2010
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2020
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2011
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
2021
2012
  } | {
2022
2013
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2023
2014
  message: string;
@@ -2356,15 +2347,6 @@ export type Routes = {
2356
2347
  created_at?: string | undefined;
2357
2348
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2358
2349
  error_code: 'access_code_inactive';
2359
- } | {
2360
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2361
- message: string;
2362
- /** Indicates that this is an access code error. */
2363
- is_access_code_error: true;
2364
- /** Date and time at which Seam created the error. */
2365
- created_at?: string | undefined;
2366
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2367
- error_code: 'salto_ks_user_not_subscribed';
2368
2350
  } | {
2369
2351
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2370
2352
  message: string;
@@ -2541,7 +2523,7 @@ export type Routes = {
2541
2523
  /** Date and time at which Seam created the warning. */
2542
2524
  created_at?: string | undefined;
2543
2525
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2544
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2526
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
2545
2527
  } | {
2546
2528
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2547
2529
  message: string;
@@ -4568,15 +4550,6 @@ export type Routes = {
4568
4550
  created_at?: string | undefined;
4569
4551
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4570
4552
  error_code: 'access_code_inactive';
4571
- } | {
4572
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4573
- message: string;
4574
- /** Indicates that this is an access code error. */
4575
- is_access_code_error: true;
4576
- /** Date and time at which Seam created the error. */
4577
- created_at?: string | undefined;
4578
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4579
- error_code: 'salto_ks_user_not_subscribed';
4580
4553
  } | {
4581
4554
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4582
4555
  message: string;
@@ -4753,7 +4726,7 @@ export type Routes = {
4753
4726
  /** Date and time at which Seam created the warning. */
4754
4727
  created_at?: string | undefined;
4755
4728
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4756
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
4729
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
4757
4730
  } | {
4758
4731
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4759
4732
  message: string;
@@ -5138,15 +5111,6 @@ export type Routes = {
5138
5111
  created_at?: string | undefined;
5139
5112
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5140
5113
  error_code: 'access_code_inactive';
5141
- } | {
5142
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5143
- message: string;
5144
- /** Indicates that this is an access code error. */
5145
- is_access_code_error: true;
5146
- /** Date and time at which Seam created the error. */
5147
- created_at?: string | undefined;
5148
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5149
- error_code: 'salto_ks_user_not_subscribed';
5150
5114
  } | {
5151
5115
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5152
5116
  message: string;
@@ -5323,7 +5287,7 @@ export type Routes = {
5323
5287
  /** Date and time at which Seam created the warning. */
5324
5288
  created_at?: string | undefined;
5325
5289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5326
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5290
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
5327
5291
  } | {
5328
5292
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5329
5293
  message: string;
@@ -5653,15 +5617,6 @@ export type Routes = {
5653
5617
  created_at?: string | undefined;
5654
5618
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5655
5619
  error_code: 'access_code_inactive';
5656
- } | {
5657
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5658
- message: string;
5659
- /** Indicates that this is an access code error. */
5660
- is_access_code_error: true;
5661
- /** Date and time at which Seam created the error. */
5662
- created_at?: string | undefined;
5663
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5664
- error_code: 'salto_ks_user_not_subscribed';
5665
5620
  } | {
5666
5621
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5667
5622
  message: string;
@@ -5838,7 +5793,7 @@ export type Routes = {
5838
5793
  /** Date and time at which Seam created the warning. */
5839
5794
  created_at?: string | undefined;
5840
5795
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5841
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5796
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
5842
5797
  } | {
5843
5798
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5844
5799
  message: string;
@@ -6145,15 +6100,6 @@ export type Routes = {
6145
6100
  created_at?: string | undefined;
6146
6101
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6147
6102
  error_code: 'access_code_inactive';
6148
- } | {
6149
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6150
- message: string;
6151
- /** Indicates that this is an access code error. */
6152
- is_access_code_error: true;
6153
- /** Date and time at which Seam created the error. */
6154
- created_at?: string | undefined;
6155
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6156
- error_code: 'salto_ks_user_not_subscribed';
6157
6103
  } | {
6158
6104
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6159
6105
  message: string;
@@ -6330,7 +6276,7 @@ export type Routes = {
6330
6276
  /** Date and time at which Seam created the warning. */
6331
6277
  created_at?: string | undefined;
6332
6278
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6333
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6279
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
6334
6280
  } | {
6335
6281
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6336
6282
  message: string;
@@ -6670,15 +6616,6 @@ export type Routes = {
6670
6616
  created_at?: string | undefined;
6671
6617
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6672
6618
  error_code: 'access_code_inactive';
6673
- } | {
6674
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6675
- message: string;
6676
- /** Indicates that this is an access code error. */
6677
- is_access_code_error: true;
6678
- /** Date and time at which Seam created the error. */
6679
- created_at?: string | undefined;
6680
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6681
- error_code: 'salto_ks_user_not_subscribed';
6682
6619
  } | {
6683
6620
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6684
6621
  message: string;
@@ -6855,7 +6792,7 @@ export type Routes = {
6855
6792
  /** Date and time at which Seam created the warning. */
6856
6793
  created_at?: string | undefined;
6857
6794
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6858
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6795
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
6859
6796
  } | {
6860
6797
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6861
6798
  message: string;
@@ -8791,15 +8728,6 @@ export type Routes = {
8791
8728
  created_at?: string | undefined;
8792
8729
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8793
8730
  error_code: 'access_code_inactive';
8794
- } | {
8795
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8796
- message: string;
8797
- /** Indicates that this is an access code error. */
8798
- is_access_code_error: true;
8799
- /** Date and time at which Seam created the error. */
8800
- created_at?: string | undefined;
8801
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8802
- error_code: 'salto_ks_user_not_subscribed';
8803
8731
  } | {
8804
8732
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8805
8733
  message: string;
@@ -8976,7 +8904,7 @@ export type Routes = {
8976
8904
  /** Date and time at which Seam created the warning. */
8977
8905
  created_at?: string | undefined;
8978
8906
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8979
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
8907
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
8980
8908
  } | {
8981
8909
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8982
8910
  message: string;
@@ -9202,15 +9130,6 @@ export type Routes = {
9202
9130
  created_at?: string | undefined;
9203
9131
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9204
9132
  error_code: 'access_code_inactive';
9205
- } | {
9206
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9207
- message: string;
9208
- /** Indicates that this is an access code error. */
9209
- is_access_code_error: true;
9210
- /** Date and time at which Seam created the error. */
9211
- created_at?: string | undefined;
9212
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9213
- error_code: 'salto_ks_user_not_subscribed';
9214
9133
  } | {
9215
9134
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9216
9135
  message: string;
@@ -9387,7 +9306,7 @@ export type Routes = {
9387
9306
  /** Date and time at which Seam created the warning. */
9388
9307
  created_at?: string | undefined;
9389
9308
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9390
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
9309
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
9391
9310
  } | {
9392
9311
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9393
9312
  message: string;
@@ -119066,15 +118985,6 @@ export type Routes = {
119066
118985
  created_at?: string | undefined;
119067
118986
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119068
118987
  error_code: 'access_code_inactive';
119069
- } | {
119070
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119071
- message: string;
119072
- /** Indicates that this is an access code error. */
119073
- is_access_code_error: true;
119074
- /** Date and time at which Seam created the error. */
119075
- created_at?: string | undefined;
119076
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119077
- error_code: 'salto_ks_user_not_subscribed';
119078
118988
  } | {
119079
118989
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119080
118990
  message: string;
@@ -119251,7 +119161,7 @@ export type Routes = {
119251
119161
  /** Date and time at which Seam created the warning. */
119252
119162
  created_at?: string | undefined;
119253
119163
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119254
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
119164
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
119255
119165
  } | {
119256
119166
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119257
119167
  message: string;
@@ -119461,15 +119371,6 @@ export type Routes = {
119461
119371
  created_at?: string | undefined;
119462
119372
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119463
119373
  error_code: 'access_code_inactive';
119464
- } | {
119465
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119466
- message: string;
119467
- /** Indicates that this is an access code error. */
119468
- is_access_code_error: true;
119469
- /** Date and time at which Seam created the error. */
119470
- created_at?: string | undefined;
119471
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119472
- error_code: 'salto_ks_user_not_subscribed';
119473
119374
  } | {
119474
119375
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119475
119376
  message: string;
@@ -119646,7 +119547,7 @@ export type Routes = {
119646
119547
  /** Date and time at which Seam created the warning. */
119647
119548
  created_at?: string | undefined;
119648
119549
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119649
- warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
119550
+ warning_code: 'time_frame_adjusted_for_unknown_time_zone';
119650
119551
  } | {
119651
119552
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119652
119553
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.945.0",
3
+ "version": "1.947.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -155,22 +155,6 @@ const access_code_inactive_error = common_access_code_error.extend({
155
155
  Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
156
156
  `)
157
157
 
158
- const salto_ks_user_not_subscribed = common_access_code_error
159
- .extend({
160
- error_code: z
161
- .literal('salto_ks_user_not_subscribed')
162
- .describe(error_code_description),
163
- })
164
- .describe(
165
- `
166
- ---
167
- resource_type: access_code
168
- deprecated: Use \`access_code_inactive\` instead.
169
- ---
170
- Salto site user is not subscribed.
171
- `,
172
- )
173
-
174
158
  const access_code_error = z
175
159
  .discriminatedUnion('error_code', [
176
160
  provider_issue,
@@ -181,7 +165,6 @@ const access_code_error = z
181
165
  no_space_for_access_code_on_device,
182
166
  code_modified_external_to_seam_error,
183
167
  access_code_inactive_error,
184
- salto_ks_user_not_subscribed,
185
168
  insufficient_permissions,
186
169
  ])
187
170
  .describe(
@@ -208,9 +191,6 @@ const _access_code_error_map = z.object({
208
191
  .optional()
209
192
  .nullable(),
210
193
  access_code_inactive: access_code_inactive_error.optional().nullable(),
211
- salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
212
- .optional()
213
- .nullable(),
214
194
  })
215
195
 
216
196
  export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
@@ -263,16 +243,15 @@ const code_rotates_periodically = common_access_code_warning
263
243
  "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
264
244
  )
265
245
 
266
- const schlage_access_code_ambiguous_timezone_dst_risk =
267
- common_access_code_warning
268
- .extend({
269
- warning_code: z
270
- .literal('schlage_access_code_ambiguous_timezone_dst_risk')
271
- .describe(warning_code_description),
272
- })
273
- .describe(
274
- "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.",
275
- )
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
+ )
276
255
 
277
256
  const delay_in_setting_on_device = common_access_code_warning
278
257
  .extend({
@@ -335,7 +314,7 @@ const being_deleted = common_access_code_warning
335
314
  const access_code_warning = z
336
315
  .discriminatedUnion('warning_code', [
337
316
  code_rotates_periodically,
338
- schlage_access_code_ambiguous_timezone_dst_risk,
317
+ time_frame_adjusted_for_unknown_time_zone,
339
318
  code_modified_external_to_seam_warning,
340
319
  delay_in_setting_on_device,
341
320
  delay_in_removing_from_device,
@@ -353,8 +332,8 @@ export type AccessCodeWarning = z.infer<typeof access_code_warning>
353
332
 
354
333
  const _access_code_warning_map = z.object({
355
334
  code_rotates_periodically: code_rotates_periodically.optional().nullable(),
356
- schlage_access_code_ambiguous_timezone_dst_risk:
357
- 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(),
358
337
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
359
338
  .optional()
360
339
  .nullable(),
@@ -400,39 +400,6 @@ const openapi: OpenAPISpec = {
400
400
  type: 'object',
401
401
  'x-resource-type': 'access_code',
402
402
  },
403
- {
404
- deprecated: true,
405
- description: 'Salto site user is not subscribed.',
406
- properties: {
407
- created_at: {
408
- description:
409
- 'Date and time at which Seam created the error.',
410
- format: 'date-time',
411
- type: 'string',
412
- },
413
- error_code: {
414
- description:
415
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
416
- enum: ['salto_ks_user_not_subscribed'],
417
- type: 'string',
418
- },
419
- is_access_code_error: {
420
- description:
421
- 'Indicates that this is an access code error.',
422
- enum: [true],
423
- type: 'boolean',
424
- },
425
- message: {
426
- description:
427
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
428
- type: 'string',
429
- },
430
- },
431
- required: ['message', 'is_access_code_error', 'error_code'],
432
- type: 'object',
433
- 'x-deprecated': 'Use `access_code_inactive` instead.',
434
- 'x-resource-type': 'access_code',
435
- },
436
403
  {
437
404
  description:
438
405
  'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
@@ -1475,7 +1442,7 @@ const openapi: OpenAPISpec = {
1475
1442
  },
1476
1443
  {
1477
1444
  description:
1478
- "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.",
1479
1446
  properties: {
1480
1447
  created_at: {
1481
1448
  description:
@@ -1491,7 +1458,7 @@ const openapi: OpenAPISpec = {
1491
1458
  warning_code: {
1492
1459
  description:
1493
1460
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1494
- enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
1461
+ enum: ['time_frame_adjusted_for_unknown_time_zone'],
1495
1462
  type: 'string',
1496
1463
  },
1497
1464
  },
@@ -29324,39 +29291,6 @@ const openapi: OpenAPISpec = {
29324
29291
  type: 'object',
29325
29292
  'x-resource-type': 'access_code',
29326
29293
  },
29327
- {
29328
- deprecated: true,
29329
- description: 'Salto site user is not subscribed.',
29330
- properties: {
29331
- created_at: {
29332
- description:
29333
- 'Date and time at which Seam created the error.',
29334
- format: 'date-time',
29335
- type: 'string',
29336
- },
29337
- error_code: {
29338
- description:
29339
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29340
- enum: ['salto_ks_user_not_subscribed'],
29341
- type: 'string',
29342
- },
29343
- is_access_code_error: {
29344
- description:
29345
- 'Indicates that this is an access code error.',
29346
- enum: [true],
29347
- type: 'boolean',
29348
- },
29349
- message: {
29350
- description:
29351
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
29352
- type: 'string',
29353
- },
29354
- },
29355
- required: ['message', 'is_access_code_error', 'error_code'],
29356
- type: 'object',
29357
- 'x-deprecated': 'Use `access_code_inactive` instead.',
29358
- 'x-resource-type': 'access_code',
29359
- },
29360
29294
  {
29361
29295
  description:
29362
29296
  'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
@@ -30088,7 +30022,7 @@ const openapi: OpenAPISpec = {
30088
30022
  },
30089
30023
  {
30090
30024
  description:
30091
- "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.",
30092
30026
  properties: {
30093
30027
  created_at: {
30094
30028
  description:
@@ -30104,7 +30038,7 @@ const openapi: OpenAPISpec = {
30104
30038
  warning_code: {
30105
30039
  description:
30106
30040
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30107
- enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
30041
+ enum: ['time_frame_adjusted_for_unknown_time_zone'],
30108
30042
  type: 'string',
30109
30043
  },
30110
30044
  },