@seamapi/types 1.690.0 → 1.692.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.
@@ -11482,6 +11482,13 @@ export type Routes = {
11482
11482
  created_at: string;
11483
11483
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11484
11484
  warning_code: 'lockly_time_zone_not_configured';
11485
+ } | {
11486
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11487
+ message: string;
11488
+ /** Date and time at which Seam created the warning. */
11489
+ created_at: string;
11490
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11491
+ warning_code: 'ultraloq_time_zone_unknown';
11485
11492
  } | {
11486
11493
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11487
11494
  message: string;
@@ -14885,6 +14892,13 @@ export type Routes = {
14885
14892
  created_at: string;
14886
14893
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14887
14894
  warning_code: 'lockly_time_zone_not_configured';
14895
+ } | {
14896
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14897
+ message: string;
14898
+ /** Date and time at which Seam created the warning. */
14899
+ created_at: string;
14900
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14901
+ warning_code: 'ultraloq_time_zone_unknown';
14888
14902
  } | {
14889
14903
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14890
14904
  message: string;
@@ -28597,6 +28611,13 @@ export type Routes = {
28597
28611
  created_at: string;
28598
28612
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28599
28613
  warning_code: 'lockly_time_zone_not_configured';
28614
+ } | {
28615
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
28616
+ message: string;
28617
+ /** Date and time at which Seam created the warning. */
28618
+ created_at: string;
28619
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28620
+ warning_code: 'ultraloq_time_zone_unknown';
28600
28621
  } | {
28601
28622
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
28602
28623
  message: string;
@@ -29883,6 +29904,13 @@ export type Routes = {
29883
29904
  created_at: string;
29884
29905
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29885
29906
  warning_code: 'lockly_time_zone_not_configured';
29907
+ } | {
29908
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29909
+ message: string;
29910
+ /** Date and time at which Seam created the warning. */
29911
+ created_at: string;
29912
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29913
+ warning_code: 'ultraloq_time_zone_unknown';
29886
29914
  } | {
29887
29915
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29888
29916
  message: string;
@@ -30375,6 +30403,13 @@ export type Routes = {
30375
30403
  created_at: string;
30376
30404
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30377
30405
  warning_code: 'lockly_time_zone_not_configured';
30406
+ } | {
30407
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30408
+ message: string;
30409
+ /** Date and time at which Seam created the warning. */
30410
+ created_at: string;
30411
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30412
+ warning_code: 'ultraloq_time_zone_unknown';
30378
30413
  } | {
30379
30414
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30380
30415
  message: string;
@@ -30823,6 +30858,13 @@ export type Routes = {
30823
30858
  created_at: string;
30824
30859
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30825
30860
  warning_code: 'lockly_time_zone_not_configured';
30861
+ } | {
30862
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30863
+ message: string;
30864
+ /** Date and time at which Seam created the warning. */
30865
+ created_at: string;
30866
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30867
+ warning_code: 'ultraloq_time_zone_unknown';
30826
30868
  } | {
30827
30869
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30828
30870
  message: string;
@@ -36255,6 +36297,13 @@ export type Routes = {
36255
36297
  created_at: string;
36256
36298
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36257
36299
  warning_code: 'lockly_time_zone_not_configured';
36300
+ } | {
36301
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36302
+ message: string;
36303
+ /** Date and time at which Seam created the warning. */
36304
+ created_at: string;
36305
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36306
+ warning_code: 'ultraloq_time_zone_unknown';
36258
36307
  } | {
36259
36308
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36260
36309
  message: string;
@@ -37491,6 +37540,13 @@ export type Routes = {
37491
37540
  created_at: string;
37492
37541
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37493
37542
  warning_code: 'lockly_time_zone_not_configured';
37543
+ } | {
37544
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37545
+ message: string;
37546
+ /** Date and time at which Seam created the warning. */
37547
+ created_at: string;
37548
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37549
+ warning_code: 'ultraloq_time_zone_unknown';
37494
37550
  } | {
37495
37551
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37496
37552
  message: string;
@@ -38777,6 +38833,13 @@ export type Routes = {
38777
38833
  created_at: string;
38778
38834
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38779
38835
  warning_code: 'lockly_time_zone_not_configured';
38836
+ } | {
38837
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38838
+ message: string;
38839
+ /** Date and time at which Seam created the warning. */
38840
+ created_at: string;
38841
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38842
+ warning_code: 'ultraloq_time_zone_unknown';
38780
38843
  } | {
38781
38844
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38782
38845
  message: string;
@@ -40012,6 +40075,13 @@ export type Routes = {
40012
40075
  created_at: string;
40013
40076
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40014
40077
  warning_code: 'lockly_time_zone_not_configured';
40078
+ } | {
40079
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40080
+ message: string;
40081
+ /** Date and time at which Seam created the warning. */
40082
+ created_at: string;
40083
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40084
+ warning_code: 'ultraloq_time_zone_unknown';
40015
40085
  } | {
40016
40086
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40017
40087
  message: string;
@@ -46380,6 +46450,13 @@ export type Routes = {
46380
46450
  created_at: string;
46381
46451
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46382
46452
  warning_code: 'lockly_time_zone_not_configured';
46453
+ } | {
46454
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
46455
+ message: string;
46456
+ /** Date and time at which Seam created the warning. */
46457
+ created_at: string;
46458
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46459
+ warning_code: 'ultraloq_time_zone_unknown';
46383
46460
  } | {
46384
46461
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
46385
46462
  message: string;
@@ -47615,6 +47692,13 @@ export type Routes = {
47615
47692
  created_at: string;
47616
47693
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47617
47694
  warning_code: 'lockly_time_zone_not_configured';
47695
+ } | {
47696
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47697
+ message: string;
47698
+ /** Date and time at which Seam created the warning. */
47699
+ created_at: string;
47700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47701
+ warning_code: 'ultraloq_time_zone_unknown';
47618
47702
  } | {
47619
47703
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47620
47704
  message: string;
@@ -52691,11 +52775,11 @@ export type Routes = {
52691
52775
  /** ID of the connector to sync */
52692
52776
  connector_id: string;
52693
52777
  /** Type of the connector to sync */
52694
- connector_type: string;
52778
+ connector_type?: string | undefined;
52695
52779
  /** ID of the customer to sync */
52696
- customer_id: string;
52780
+ customer_id?: string | undefined;
52697
52781
  /** Key of the customer to sync */
52698
- customer_key: string;
52782
+ customer_key?: string | undefined;
52699
52783
  /** ID of the connector customer to sync */
52700
52784
  connector_customer_id: string | null;
52701
52785
  /** Unique provider resource key of the connector to sync */
@@ -57225,6 +57309,13 @@ export type Routes = {
57225
57309
  created_at: string;
57226
57310
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57227
57311
  warning_code: 'lockly_time_zone_not_configured';
57312
+ } | {
57313
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57314
+ message: string;
57315
+ /** Date and time at which Seam created the warning. */
57316
+ created_at: string;
57317
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57318
+ warning_code: 'ultraloq_time_zone_unknown';
57228
57319
  } | {
57229
57320
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57230
57321
  message: string;
@@ -62909,6 +63000,13 @@ export type Routes = {
62909
63000
  created_at: string;
62910
63001
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62911
63002
  warning_code: 'lockly_time_zone_not_configured';
63003
+ } | {
63004
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63005
+ message: string;
63006
+ /** Date and time at which Seam created the warning. */
63007
+ created_at: string;
63008
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63009
+ warning_code: 'ultraloq_time_zone_unknown';
62912
63010
  } | {
62913
63011
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62914
63012
  message: string;
@@ -66749,6 +66847,13 @@ export type Routes = {
66749
66847
  created_at: string;
66750
66848
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66751
66849
  warning_code: 'lockly_time_zone_not_configured';
66850
+ } | {
66851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66852
+ message: string;
66853
+ /** Date and time at which Seam created the warning. */
66854
+ created_at: string;
66855
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66856
+ warning_code: 'ultraloq_time_zone_unknown';
66752
66857
  } | {
66753
66858
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66754
66859
  message: string;
@@ -67984,6 +68089,13 @@ export type Routes = {
67984
68089
  created_at: string;
67985
68090
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67986
68091
  warning_code: 'lockly_time_zone_not_configured';
68092
+ } | {
68093
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68094
+ message: string;
68095
+ /** Date and time at which Seam created the warning. */
68096
+ created_at: string;
68097
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68098
+ warning_code: 'ultraloq_time_zone_unknown';
67987
68099
  } | {
67988
68100
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67989
68101
  message: string;
@@ -75239,6 +75351,13 @@ export type Routes = {
75239
75351
  created_at: string;
75240
75352
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75241
75353
  warning_code: 'lockly_time_zone_not_configured';
75354
+ } | {
75355
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75356
+ message: string;
75357
+ /** Date and time at which Seam created the warning. */
75358
+ created_at: string;
75359
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75360
+ warning_code: 'ultraloq_time_zone_unknown';
75242
75361
  } | {
75243
75362
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75244
75363
  message: string;
@@ -76476,6 +76595,13 @@ export type Routes = {
76476
76595
  created_at: string;
76477
76596
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76478
76597
  warning_code: 'lockly_time_zone_not_configured';
76598
+ } | {
76599
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76600
+ message: string;
76601
+ /** Date and time at which Seam created the warning. */
76602
+ created_at: string;
76603
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76604
+ warning_code: 'ultraloq_time_zone_unknown';
76479
76605
  } | {
76480
76606
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76481
76607
  message: string;
@@ -78678,6 +78804,13 @@ export type Routes = {
78678
78804
  created_at: string;
78679
78805
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
78680
78806
  warning_code: 'lockly_time_zone_not_configured';
78807
+ } | {
78808
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
78809
+ message: string;
78810
+ /** Date and time at which Seam created the warning. */
78811
+ created_at: string;
78812
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
78813
+ warning_code: 'ultraloq_time_zone_unknown';
78681
78814
  } | {
78682
78815
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
78683
78816
  message: string;
@@ -81079,6 +81212,13 @@ export type Routes = {
81079
81212
  created_at: string;
81080
81213
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81081
81214
  warning_code: 'lockly_time_zone_not_configured';
81215
+ } | {
81216
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81217
+ message: string;
81218
+ /** Date and time at which Seam created the warning. */
81219
+ created_at: string;
81220
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81221
+ warning_code: 'ultraloq_time_zone_unknown';
81082
81222
  } | {
81083
81223
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81084
81224
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.690.0",
3
+ "version": "1.692.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -399,6 +399,16 @@ const lockly_time_zone_not_configured = common_device_warning
399
399
  'Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.',
400
400
  )
401
401
 
402
+ const ultraloq_time_zone_unknown = common_device_warning
403
+ .extend({
404
+ warning_code: z
405
+ .literal('ultraloq_time_zone_unknown')
406
+ .describe(warning_code_description),
407
+ })
408
+ .describe(
409
+ 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
410
+ )
411
+
402
412
  export const unknown_issue_with_phone = common_device_warning.extend({
403
413
  warning_code: z
404
414
  .literal('unknown_issue_with_phone')
@@ -460,6 +470,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
460
470
  salto_ks_subscription_limit_almost_reached,
461
471
  unknown_issue_with_phone,
462
472
  lockly_time_zone_not_configured,
473
+ ultraloq_time_zone_unknown,
463
474
  hub_required_for_addtional_capabilities,
464
475
  keynest_unsupported_locker,
465
476
  accessory_keypad_setup_required,
@@ -506,6 +517,7 @@ const _device_warning_map = z.object({
506
517
  lockly_time_zone_not_configured: lockly_time_zone_not_configured
507
518
  .optional()
508
519
  .nullable(),
520
+ ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
509
521
  hub_required_for_addtional_capabilities:
510
522
  hub_required_for_addtional_capabilities.optional().nullable(),
511
523
  keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
@@ -13383,6 +13383,31 @@ export default {
13383
13383
  required: ['message', 'created_at', 'warning_code'],
13384
13384
  type: 'object',
13385
13385
  },
13386
+ {
13387
+ description:
13388
+ 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
13389
+ properties: {
13390
+ created_at: {
13391
+ description:
13392
+ 'Date and time at which Seam created the warning.',
13393
+ format: 'date-time',
13394
+ type: 'string',
13395
+ },
13396
+ message: {
13397
+ description:
13398
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13399
+ type: 'string',
13400
+ },
13401
+ warning_code: {
13402
+ description:
13403
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13404
+ enum: ['ultraloq_time_zone_unknown'],
13405
+ type: 'string',
13406
+ },
13407
+ },
13408
+ required: ['message', 'created_at', 'warning_code'],
13409
+ type: 'object',
13410
+ },
13386
13411
  {
13387
13412
  description:
13388
13413
  'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
@@ -26019,6 +26044,31 @@ export default {
26019
26044
  required: ['message', 'created_at', 'warning_code'],
26020
26045
  type: 'object',
26021
26046
  },
26047
+ {
26048
+ description:
26049
+ 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
26050
+ properties: {
26051
+ created_at: {
26052
+ description:
26053
+ 'Date and time at which Seam created the warning.',
26054
+ format: 'date-time',
26055
+ type: 'string',
26056
+ },
26057
+ message: {
26058
+ description:
26059
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26060
+ type: 'string',
26061
+ },
26062
+ warning_code: {
26063
+ description:
26064
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26065
+ enum: ['ultraloq_time_zone_unknown'],
26066
+ type: 'string',
26067
+ },
26068
+ },
26069
+ required: ['message', 'created_at', 'warning_code'],
26070
+ type: 'object',
26071
+ },
26022
26072
  {
26023
26073
  description:
26024
26074
  'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
@@ -54523,9 +54573,6 @@ export default {
54523
54573
  },
54524
54574
  required: [
54525
54575
  'connector_id',
54526
- 'connector_type',
54527
- 'customer_id',
54528
- 'customer_key',
54529
54576
  'connector_customer_id',
54530
54577
  'unique_provider_resource_key',
54531
54578
  ],