@seamapi/types 1.923.0 → 1.924.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2029,13 +2029,6 @@ export type Routes = {
2029
2029
  created_at?: string | undefined;
2030
2030
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2031
2031
  warning_code: 'provider_issue';
2032
- } | {
2033
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2034
- message: string;
2035
- /** Date and time at which Seam created the warning. */
2036
- created_at?: string | undefined;
2037
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2038
- warning_code: 'schlage_detected_duplicate';
2039
2032
  } | {
2040
2033
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2041
2034
  message: string;
@@ -2585,13 +2578,6 @@ export type Routes = {
2585
2578
  created_at?: string | undefined;
2586
2579
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2587
2580
  warning_code: 'provider_issue';
2588
- } | {
2589
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2590
- message: string;
2591
- /** Date and time at which Seam created the warning. */
2592
- created_at?: string | undefined;
2593
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2594
- warning_code: 'schlage_detected_duplicate';
2595
2581
  } | {
2596
2582
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2597
2583
  message: string;
@@ -4829,13 +4815,6 @@ export type Routes = {
4829
4815
  created_at?: string | undefined;
4830
4816
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4831
4817
  warning_code: 'provider_issue';
4832
- } | {
4833
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4834
- message: string;
4835
- /** Date and time at which Seam created the warning. */
4836
- created_at?: string | undefined;
4837
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4838
- warning_code: 'schlage_detected_duplicate';
4839
4818
  } | {
4840
4819
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4841
4820
  message: string;
@@ -5431,13 +5410,6 @@ export type Routes = {
5431
5410
  created_at?: string | undefined;
5432
5411
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5433
5412
  warning_code: 'provider_issue';
5434
- } | {
5435
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5436
- message: string;
5437
- /** Date and time at which Seam created the warning. */
5438
- created_at?: string | undefined;
5439
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5440
- warning_code: 'schlage_detected_duplicate';
5441
5413
  } | {
5442
5414
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5443
5415
  message: string;
@@ -5978,13 +5950,6 @@ export type Routes = {
5978
5950
  created_at?: string | undefined;
5979
5951
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5980
5952
  warning_code: 'provider_issue';
5981
- } | {
5982
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5983
- message: string;
5984
- /** Date and time at which Seam created the warning. */
5985
- created_at?: string | undefined;
5986
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5987
- warning_code: 'schlage_detected_duplicate';
5988
5953
  } | {
5989
5954
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5990
5955
  message: string;
@@ -6502,13 +6467,6 @@ export type Routes = {
6502
6467
  created_at?: string | undefined;
6503
6468
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6504
6469
  warning_code: 'provider_issue';
6505
- } | {
6506
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6507
- message: string;
6508
- /** Date and time at which Seam created the warning. */
6509
- created_at?: string | undefined;
6510
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6511
- warning_code: 'schlage_detected_duplicate';
6512
6470
  } | {
6513
6471
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6514
6472
  message: string;
@@ -7059,13 +7017,6 @@ export type Routes = {
7059
7017
  created_at?: string | undefined;
7060
7018
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7061
7019
  warning_code: 'provider_issue';
7062
- } | {
7063
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7064
- message: string;
7065
- /** Date and time at which Seam created the warning. */
7066
- created_at?: string | undefined;
7067
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7068
- warning_code: 'schlage_detected_duplicate';
7069
7020
  } | {
7070
7021
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7071
7022
  message: string;
@@ -9212,13 +9163,6 @@ export type Routes = {
9212
9163
  created_at?: string | undefined;
9213
9164
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9214
9165
  warning_code: 'provider_issue';
9215
- } | {
9216
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9217
- message: string;
9218
- /** Date and time at which Seam created the warning. */
9219
- created_at?: string | undefined;
9220
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9221
- warning_code: 'schlage_detected_duplicate';
9222
9166
  } | {
9223
9167
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9224
9168
  message: string;
@@ -9655,13 +9599,6 @@ export type Routes = {
9655
9599
  created_at?: string | undefined;
9656
9600
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9657
9601
  warning_code: 'provider_issue';
9658
- } | {
9659
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9660
- message: string;
9661
- /** Date and time at which Seam created the warning. */
9662
- created_at?: string | undefined;
9663
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9664
- warning_code: 'schlage_detected_duplicate';
9665
9602
  } | {
9666
9603
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9667
9604
  message: string;
@@ -117935,13 +117872,6 @@ export type Routes = {
117935
117872
  created_at?: string | undefined;
117936
117873
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117937
117874
  warning_code: 'provider_issue';
117938
- } | {
117939
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117940
- message: string;
117941
- /** Date and time at which Seam created the warning. */
117942
- created_at?: string | undefined;
117943
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117944
- warning_code: 'schlage_detected_duplicate';
117945
117875
  } | {
117946
117876
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117947
117877
  message: string;
@@ -118362,13 +118292,6 @@ export type Routes = {
118362
118292
  created_at?: string | undefined;
118363
118293
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118364
118294
  warning_code: 'provider_issue';
118365
- } | {
118366
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118367
- message: string;
118368
- /** Date and time at which Seam created the warning. */
118369
- created_at?: string | undefined;
118370
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118371
- warning_code: 'schlage_detected_duplicate';
118372
118295
  } | {
118373
118296
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118374
118297
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.923.0",
3
+ "version": "1.924.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -283,21 +283,6 @@ const code_modified_external_to_seam_warning = common_access_code_warning
283
283
  'Code was modified or removed externally after Seam successfully set it on the device.',
284
284
  )
285
285
 
286
- const schlage_detected_duplicate = common_access_code_warning
287
- .extend({
288
- warning_code: z
289
- .literal('schlage_detected_duplicate')
290
- .describe(warning_code_description),
291
- })
292
- .describe(
293
- `
294
- ---
295
- deprecated: Use \`duplicate_code_on_device\` error instead.
296
- ---
297
- Duplicate access code detected.
298
- `,
299
- )
300
-
301
286
  const provider_issue_warning = common_access_code_warning
302
287
  .extend({
303
288
  warning_code: z
@@ -390,7 +375,6 @@ const being_deleted = common_access_code_warning
390
375
  const access_code_warning = z
391
376
  .discriminatedUnion('warning_code', [
392
377
  provider_issue_warning,
393
- schlage_detected_duplicate,
394
378
  schlage_access_code_ambiguous_timezone_dst_risk,
395
379
  code_modified_external_to_seam_warning,
396
380
  delay_in_setting_on_device,
@@ -410,7 +394,6 @@ export type AccessCodeWarning = z.infer<typeof access_code_warning>
410
394
 
411
395
  const _access_code_warning_map = z.object({
412
396
  provider_issue: provider_issue_warning.optional().nullable(),
413
- schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
414
397
  schlage_access_code_ambiguous_timezone_dst_risk:
415
398
  schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
416
399
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
@@ -1537,33 +1537,6 @@ const openapi: OpenAPISpec = {
1537
1537
  required: ['message', 'warning_code'],
1538
1538
  type: 'object',
1539
1539
  },
1540
- {
1541
- deprecated: true,
1542
- description: 'Duplicate access code detected.',
1543
- properties: {
1544
- created_at: {
1545
- description:
1546
- 'Date and time at which Seam created the warning.',
1547
- format: 'date-time',
1548
- type: 'string',
1549
- },
1550
- message: {
1551
- description:
1552
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1553
- type: 'string',
1554
- },
1555
- warning_code: {
1556
- description:
1557
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1558
- enum: ['schlage_detected_duplicate'],
1559
- type: 'string',
1560
- },
1561
- },
1562
- required: ['message', 'warning_code'],
1563
- type: 'object',
1564
- 'x-deprecated':
1565
- 'Use `duplicate_code_on_device` error instead.',
1566
- },
1567
1540
  {
1568
1541
  description:
1569
1542
  "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.",
@@ -29978,33 +29951,6 @@ const openapi: OpenAPISpec = {
29978
29951
  required: ['message', 'warning_code'],
29979
29952
  type: 'object',
29980
29953
  },
29981
- {
29982
- deprecated: true,
29983
- description: 'Duplicate access code detected.',
29984
- properties: {
29985
- created_at: {
29986
- description:
29987
- 'Date and time at which Seam created the warning.',
29988
- format: 'date-time',
29989
- type: 'string',
29990
- },
29991
- message: {
29992
- description:
29993
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
29994
- type: 'string',
29995
- },
29996
- warning_code: {
29997
- description:
29998
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
29999
- enum: ['schlage_detected_duplicate'],
30000
- type: 'string',
30001
- },
30002
- },
30003
- required: ['message', 'warning_code'],
30004
- type: 'object',
30005
- 'x-deprecated':
30006
- 'Use `duplicate_code_on_device` error instead.',
30007
- },
30008
29954
  {
30009
29955
  description:
30010
29956
  "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.",
@@ -2328,14 +2328,6 @@ export type Routes = {
2328
2328
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2329
2329
  warning_code: 'provider_issue'
2330
2330
  }
2331
- | {
2332
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2333
- message: string
2334
- /** Date and time at which Seam created the warning. */
2335
- created_at?: string | undefined
2336
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2337
- warning_code: 'schlage_detected_duplicate'
2338
- }
2339
2331
  | {
2340
2332
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2341
2333
  message: string
@@ -2939,14 +2931,6 @@ export type Routes = {
2939
2931
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2940
2932
  warning_code: 'provider_issue'
2941
2933
  }
2942
- | {
2943
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2944
- message: string
2945
- /** Date and time at which Seam created the warning. */
2946
- created_at?: string | undefined
2947
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2948
- warning_code: 'schlage_detected_duplicate'
2949
- }
2950
2934
  | {
2951
2935
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2952
2936
  message: string
@@ -5504,14 +5488,6 @@ export type Routes = {
5504
5488
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5505
5489
  warning_code: 'provider_issue'
5506
5490
  }
5507
- | {
5508
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5509
- message: string
5510
- /** Date and time at which Seam created the warning. */
5511
- created_at?: string | undefined
5512
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5513
- warning_code: 'schlage_detected_duplicate'
5514
- }
5515
5491
  | {
5516
5492
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5517
5493
  message: string
@@ -6202,14 +6178,6 @@ export type Routes = {
6202
6178
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6203
6179
  warning_code: 'provider_issue'
6204
6180
  }
6205
- | {
6206
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6207
- message: string
6208
- /** Date and time at which Seam created the warning. */
6209
- created_at?: string | undefined
6210
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6211
- warning_code: 'schlage_detected_duplicate'
6212
- }
6213
6181
  | {
6214
6182
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6215
6183
  message: string
@@ -6804,14 +6772,6 @@ export type Routes = {
6804
6772
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6805
6773
  warning_code: 'provider_issue'
6806
6774
  }
6807
- | {
6808
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6809
- message: string
6810
- /** Date and time at which Seam created the warning. */
6811
- created_at?: string | undefined
6812
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6813
- warning_code: 'schlage_detected_duplicate'
6814
- }
6815
6775
  | {
6816
6776
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6817
6777
  message: string
@@ -7383,14 +7343,6 @@ export type Routes = {
7383
7343
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7384
7344
  warning_code: 'provider_issue'
7385
7345
  }
7386
- | {
7387
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7388
- message: string
7389
- /** Date and time at which Seam created the warning. */
7390
- created_at?: string | undefined
7391
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7392
- warning_code: 'schlage_detected_duplicate'
7393
- }
7394
7346
  | {
7395
7347
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7396
7348
  message: string
@@ -7995,14 +7947,6 @@ export type Routes = {
7995
7947
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7996
7948
  warning_code: 'provider_issue'
7997
7949
  }
7998
- | {
7999
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8000
- message: string
8001
- /** Date and time at which Seam created the warning. */
8002
- created_at?: string | undefined
8003
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8004
- warning_code: 'schlage_detected_duplicate'
8005
- }
8006
7950
  | {
8007
7951
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8008
7952
  message: string
@@ -10462,14 +10406,6 @@ export type Routes = {
10462
10406
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10463
10407
  warning_code: 'provider_issue'
10464
10408
  }
10465
- | {
10466
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10467
- message: string
10468
- /** Date and time at which Seam created the warning. */
10469
- created_at?: string | undefined
10470
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10471
- warning_code: 'schlage_detected_duplicate'
10472
- }
10473
10409
  | {
10474
10410
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10475
10411
  message: string
@@ -10953,14 +10889,6 @@ export type Routes = {
10953
10889
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10954
10890
  warning_code: 'provider_issue'
10955
10891
  }
10956
- | {
10957
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10958
- message: string
10959
- /** Date and time at which Seam created the warning. */
10960
- created_at?: string | undefined
10961
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10962
- warning_code: 'schlage_detected_duplicate'
10963
- }
10964
10892
  | {
10965
10893
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10966
10894
  message: string
@@ -140277,14 +140205,6 @@ export type Routes = {
140277
140205
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140278
140206
  warning_code: 'provider_issue'
140279
140207
  }
140280
- | {
140281
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140282
- message: string
140283
- /** Date and time at which Seam created the warning. */
140284
- created_at?: string | undefined
140285
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140286
- warning_code: 'schlage_detected_duplicate'
140287
- }
140288
140208
  | {
140289
140209
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140290
140210
  message: string
@@ -140754,14 +140674,6 @@ export type Routes = {
140754
140674
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140755
140675
  warning_code: 'provider_issue'
140756
140676
  }
140757
- | {
140758
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140759
- message: string
140760
- /** Date and time at which Seam created the warning. */
140761
- created_at?: string | undefined
140762
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140763
- warning_code: 'schlage_detected_duplicate'
140764
- }
140765
140677
  | {
140766
140678
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140767
140679
  message: string