@seamapi/types 1.632.0 → 1.633.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.
@@ -11399,6 +11399,13 @@ export type Routes = {
11399
11399
  created_at: string;
11400
11400
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11401
11401
  warning_code: 'lockly_time_zone_not_configured';
11402
+ } | {
11403
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11404
+ message: string;
11405
+ /** Date and time at which Seam created the warning. */
11406
+ created_at: string;
11407
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11408
+ warning_code: 'hub_required_for_addtional_capabilities';
11402
11409
  })[];
11403
11410
  /** Date and time at which the device object was created. */
11404
11411
  created_at: string;
@@ -14837,6 +14844,13 @@ export type Routes = {
14837
14844
  created_at: string;
14838
14845
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14839
14846
  warning_code: 'lockly_time_zone_not_configured';
14847
+ } | {
14848
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14849
+ message: string;
14850
+ /** Date and time at which Seam created the warning. */
14851
+ created_at: string;
14852
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14853
+ warning_code: 'hub_required_for_addtional_capabilities';
14840
14854
  })[];
14841
14855
  /** Date and time at which the device object was created. */
14842
14856
  created_at: string;
@@ -17456,6 +17470,13 @@ export type Routes = {
17456
17470
  created_at: string;
17457
17471
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17458
17472
  warning_code: 'lockly_time_zone_not_configured';
17473
+ } | {
17474
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17475
+ message: string;
17476
+ /** Date and time at which Seam created the warning. */
17477
+ created_at: string;
17478
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17479
+ warning_code: 'hub_required_for_addtional_capabilities';
17459
17480
  })[];
17460
17481
  /** Date and time at which the device object was created. */
17461
17482
  created_at: string;
@@ -33734,6 +33755,13 @@ export type Routes = {
33734
33755
  created_at: string;
33735
33756
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33736
33757
  warning_code: 'lockly_time_zone_not_configured';
33758
+ } | {
33759
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33760
+ message: string;
33761
+ /** Date and time at which Seam created the warning. */
33762
+ created_at: string;
33763
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33764
+ warning_code: 'hub_required_for_addtional_capabilities';
33737
33765
  })[];
33738
33766
  /** Date and time at which the device object was created. */
33739
33767
  created_at: string;
@@ -34997,6 +35025,13 @@ export type Routes = {
34997
35025
  created_at: string;
34998
35026
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34999
35027
  warning_code: 'lockly_time_zone_not_configured';
35028
+ } | {
35029
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35030
+ message: string;
35031
+ /** Date and time at which Seam created the warning. */
35032
+ created_at: string;
35033
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35034
+ warning_code: 'hub_required_for_addtional_capabilities';
35000
35035
  })[];
35001
35036
  /** Date and time at which the device object was created. */
35002
35037
  created_at: string;
@@ -35446,6 +35481,13 @@ export type Routes = {
35446
35481
  created_at: string;
35447
35482
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35448
35483
  warning_code: 'lockly_time_zone_not_configured';
35484
+ } | {
35485
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35486
+ message: string;
35487
+ /** Date and time at which Seam created the warning. */
35488
+ created_at: string;
35489
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35490
+ warning_code: 'hub_required_for_addtional_capabilities';
35449
35491
  })[];
35450
35492
  /** Date and time at which the device object was created. */
35451
35493
  created_at: string;
@@ -35879,6 +35921,13 @@ export type Routes = {
35879
35921
  created_at: string;
35880
35922
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35881
35923
  warning_code: 'lockly_time_zone_not_configured';
35924
+ } | {
35925
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35926
+ message: string;
35927
+ /** Date and time at which Seam created the warning. */
35928
+ created_at: string;
35929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35930
+ warning_code: 'hub_required_for_addtional_capabilities';
35882
35931
  })[];
35883
35932
  /** Date and time at which the device object was created. */
35884
35933
  created_at: string;
@@ -41219,6 +41268,13 @@ export type Routes = {
41219
41268
  created_at: string;
41220
41269
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41221
41270
  warning_code: 'lockly_time_zone_not_configured';
41271
+ } | {
41272
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41273
+ message: string;
41274
+ /** Date and time at which Seam created the warning. */
41275
+ created_at: string;
41276
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41277
+ warning_code: 'hub_required_for_addtional_capabilities';
41222
41278
  })[];
41223
41279
  /** Date and time at which the device object was created. */
41224
41280
  created_at: string;
@@ -42433,6 +42489,13 @@ export type Routes = {
42433
42489
  created_at: string;
42434
42490
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42435
42491
  warning_code: 'lockly_time_zone_not_configured';
42492
+ } | {
42493
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42494
+ message: string;
42495
+ /** Date and time at which Seam created the warning. */
42496
+ created_at: string;
42497
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42498
+ warning_code: 'hub_required_for_addtional_capabilities';
42436
42499
  })[];
42437
42500
  /** Date and time at which the device object was created. */
42438
42501
  created_at: string;
@@ -43696,6 +43759,13 @@ export type Routes = {
43696
43759
  created_at: string;
43697
43760
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43698
43761
  warning_code: 'lockly_time_zone_not_configured';
43762
+ } | {
43763
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43764
+ message: string;
43765
+ /** Date and time at which Seam created the warning. */
43766
+ created_at: string;
43767
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43768
+ warning_code: 'hub_required_for_addtional_capabilities';
43699
43769
  })[];
43700
43770
  /** Date and time at which the device object was created. */
43701
43771
  created_at: string;
@@ -44909,6 +44979,13 @@ export type Routes = {
44909
44979
  created_at: string;
44910
44980
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44911
44981
  warning_code: 'lockly_time_zone_not_configured';
44982
+ } | {
44983
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44984
+ message: string;
44985
+ /** Date and time at which Seam created the warning. */
44986
+ created_at: string;
44987
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44988
+ warning_code: 'hub_required_for_addtional_capabilities';
44912
44989
  })[];
44913
44990
  /** Date and time at which the device object was created. */
44914
44991
  created_at: string;
@@ -51250,6 +51327,13 @@ export type Routes = {
51250
51327
  created_at: string;
51251
51328
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51252
51329
  warning_code: 'lockly_time_zone_not_configured';
51330
+ } | {
51331
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51332
+ message: string;
51333
+ /** Date and time at which Seam created the warning. */
51334
+ created_at: string;
51335
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51336
+ warning_code: 'hub_required_for_addtional_capabilities';
51253
51337
  })[];
51254
51338
  /** Date and time at which the device object was created. */
51255
51339
  created_at: string;
@@ -52463,6 +52547,13 @@ export type Routes = {
52463
52547
  created_at: string;
52464
52548
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52465
52549
  warning_code: 'lockly_time_zone_not_configured';
52550
+ } | {
52551
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52552
+ message: string;
52553
+ /** Date and time at which Seam created the warning. */
52554
+ created_at: string;
52555
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52556
+ warning_code: 'hub_required_for_addtional_capabilities';
52466
52557
  })[];
52467
52558
  /** Date and time at which the device object was created. */
52468
52559
  created_at: string;
@@ -61770,6 +61861,13 @@ export type Routes = {
61770
61861
  created_at: string;
61771
61862
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61772
61863
  warning_code: 'lockly_time_zone_not_configured';
61864
+ } | {
61865
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61866
+ message: string;
61867
+ /** Date and time at which Seam created the warning. */
61868
+ created_at: string;
61869
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61870
+ warning_code: 'hub_required_for_addtional_capabilities';
61773
61871
  })[];
61774
61872
  /** Date and time at which the device object was created. */
61775
61873
  created_at: string;
@@ -67415,6 +67513,13 @@ export type Routes = {
67415
67513
  created_at: string;
67416
67514
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67417
67515
  warning_code: 'lockly_time_zone_not_configured';
67516
+ } | {
67517
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67518
+ message: string;
67519
+ /** Date and time at which Seam created the warning. */
67520
+ created_at: string;
67521
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67522
+ warning_code: 'hub_required_for_addtional_capabilities';
67418
67523
  })[];
67419
67524
  /** Date and time at which the device object was created. */
67420
67525
  created_at: string;
@@ -71230,6 +71335,13 @@ export type Routes = {
71230
71335
  created_at: string;
71231
71336
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71232
71337
  warning_code: 'lockly_time_zone_not_configured';
71338
+ } | {
71339
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71340
+ message: string;
71341
+ /** Date and time at which Seam created the warning. */
71342
+ created_at: string;
71343
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71344
+ warning_code: 'hub_required_for_addtional_capabilities';
71233
71345
  })[];
71234
71346
  /** Date and time at which the device object was created. */
71235
71347
  created_at: string;
@@ -72443,6 +72555,13 @@ export type Routes = {
72443
72555
  created_at: string;
72444
72556
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72445
72557
  warning_code: 'lockly_time_zone_not_configured';
72558
+ } | {
72559
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72560
+ message: string;
72561
+ /** Date and time at which Seam created the warning. */
72562
+ created_at: string;
72563
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72564
+ warning_code: 'hub_required_for_addtional_capabilities';
72446
72565
  })[];
72447
72566
  /** Date and time at which the device object was created. */
72448
72567
  created_at: string;
@@ -79654,6 +79773,13 @@ export type Routes = {
79654
79773
  created_at: string;
79655
79774
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
79656
79775
  warning_code: 'lockly_time_zone_not_configured';
79776
+ } | {
79777
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
79778
+ message: string;
79779
+ /** Date and time at which Seam created the warning. */
79780
+ created_at: string;
79781
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
79782
+ warning_code: 'hub_required_for_addtional_capabilities';
79657
79783
  })[];
79658
79784
  /** Date and time at which the device object was created. */
79659
79785
  created_at: string;
@@ -80869,6 +80995,13 @@ export type Routes = {
80869
80995
  created_at: string;
80870
80996
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80871
80997
  warning_code: 'lockly_time_zone_not_configured';
80998
+ } | {
80999
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81000
+ message: string;
81001
+ /** Date and time at which Seam created the warning. */
81002
+ created_at: string;
81003
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81004
+ warning_code: 'hub_required_for_addtional_capabilities';
80872
81005
  })[];
80873
81006
  /** Date and time at which the device object was created. */
80874
81007
  created_at: string;
@@ -83015,6 +83148,13 @@ export type Routes = {
83015
83148
  created_at: string;
83016
83149
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83017
83150
  warning_code: 'lockly_time_zone_not_configured';
83151
+ } | {
83152
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83153
+ message: string;
83154
+ /** Date and time at which Seam created the warning. */
83155
+ created_at: string;
83156
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83157
+ warning_code: 'hub_required_for_addtional_capabilities';
83018
83158
  })[];
83019
83159
  /** Date and time at which the device object was created. */
83020
83160
  created_at: string;
@@ -85634,6 +85774,13 @@ export type Routes = {
85634
85774
  created_at: string;
85635
85775
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85636
85776
  warning_code: 'lockly_time_zone_not_configured';
85777
+ } | {
85778
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
85779
+ message: string;
85780
+ /** Date and time at which Seam created the warning. */
85781
+ created_at: string;
85782
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85783
+ warning_code: 'hub_required_for_addtional_capabilities';
85637
85784
  })[];
85638
85785
  /** Date and time at which the device object was created. */
85639
85786
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.632.0",
3
+ "version": "1.633.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -420,6 +420,17 @@ export const unknown_issue_with_phone = common_device_warning.extend({
420
420
  Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
421
421
  `)
422
422
 
423
+ const hub_required_for_addtional_capabilities = common_device_warning.extend({
424
+ warning_code: z
425
+ .literal('hub_required_for_addtional_capabilities')
426
+ .describe(warning_code_description),
427
+ }).describe(`
428
+ ---
429
+ variant_group_key: locks
430
+ ---
431
+ Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
432
+ `)
433
+
423
434
  const device_warning = z.discriminatedUnion('warning_code', [
424
435
  partial_backup_access_code_pool,
425
436
  many_active_backup_codes,
@@ -438,6 +449,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
438
449
  salto_ks_subscription_limit_almost_reached,
439
450
  unknown_issue_with_phone,
440
451
  lockly_time_zone_not_configured,
452
+ hub_required_for_addtional_capabilities,
441
453
  ])
442
454
 
443
455
  export type DeviceWarning = z.infer<typeof device_warning>
@@ -482,6 +494,8 @@ const _device_warning_map = z.object({
482
494
  lockly_time_zone_not_configured: lockly_time_zone_not_configured
483
495
  .optional()
484
496
  .nullable(),
497
+ hub_required_for_addtional_capabilities:
498
+ hub_required_for_addtional_capabilities.optional().nullable(),
485
499
  })
486
500
 
487
501
  export type DeviceWarningMap = z.infer<typeof _device_warning_map>
@@ -13145,6 +13145,32 @@ export default {
13145
13145
  required: ['message', 'created_at', 'warning_code'],
13146
13146
  type: 'object',
13147
13147
  },
13148
+ {
13149
+ description:
13150
+ 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
13151
+ properties: {
13152
+ created_at: {
13153
+ description:
13154
+ 'Date and time at which Seam created the warning.',
13155
+ format: 'date-time',
13156
+ type: 'string',
13157
+ },
13158
+ message: {
13159
+ description:
13160
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13161
+ type: 'string',
13162
+ },
13163
+ warning_code: {
13164
+ description:
13165
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13166
+ enum: ['hub_required_for_addtional_capabilities'],
13167
+ type: 'string',
13168
+ },
13169
+ },
13170
+ required: ['message', 'created_at', 'warning_code'],
13171
+ type: 'object',
13172
+ 'x-variant-group-key': 'locks',
13173
+ },
13148
13174
  ],
13149
13175
  },
13150
13176
  type: 'array',
@@ -25620,6 +25646,32 @@ export default {
25620
25646
  required: ['message', 'created_at', 'warning_code'],
25621
25647
  type: 'object',
25622
25648
  },
25649
+ {
25650
+ description:
25651
+ 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
25652
+ properties: {
25653
+ created_at: {
25654
+ description:
25655
+ 'Date and time at which Seam created the warning.',
25656
+ format: 'date-time',
25657
+ type: 'string',
25658
+ },
25659
+ message: {
25660
+ description:
25661
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
25662
+ type: 'string',
25663
+ },
25664
+ warning_code: {
25665
+ description:
25666
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
25667
+ enum: ['hub_required_for_addtional_capabilities'],
25668
+ type: 'string',
25669
+ },
25670
+ },
25671
+ required: ['message', 'created_at', 'warning_code'],
25672
+ type: 'object',
25673
+ 'x-variant-group-key': 'locks',
25674
+ },
25623
25675
  ],
25624
25676
  },
25625
25677
  type: 'array',