@seamapi/types 1.883.0 → 1.884.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.
@@ -14391,6 +14391,13 @@ export type Routes = {
14391
14391
  created_at: string;
14392
14392
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14393
14393
  warning_code: 'hub_required_for_additional_capabilities';
14394
+ } | {
14395
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14396
+ message: string;
14397
+ /** Date and time at which Seam created the warning. */
14398
+ created_at: string;
14399
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14400
+ warning_code: 'provider_issue';
14394
14401
  } | {
14395
14402
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14396
14403
  message: string;
@@ -20931,6 +20938,13 @@ export type Routes = {
20931
20938
  created_at: string;
20932
20939
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20933
20940
  warning_code: 'hub_required_for_additional_capabilities';
20941
+ } | {
20942
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20943
+ message: string;
20944
+ /** Date and time at which Seam created the warning. */
20945
+ created_at: string;
20946
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20947
+ warning_code: 'provider_issue';
20934
20948
  } | {
20935
20949
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20936
20950
  message: string;
@@ -43038,6 +43052,13 @@ export type Routes = {
43038
43052
  created_at: string;
43039
43053
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43040
43054
  warning_code: 'hub_required_for_additional_capabilities';
43055
+ } | {
43056
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43057
+ message: string;
43058
+ /** Date and time at which Seam created the warning. */
43059
+ created_at: string;
43060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43061
+ warning_code: 'provider_issue';
43041
43062
  } | {
43042
43063
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43043
43064
  message: string;
@@ -44442,6 +44463,13 @@ export type Routes = {
44442
44463
  created_at: string;
44443
44464
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44444
44465
  warning_code: 'hub_required_for_additional_capabilities';
44466
+ } | {
44467
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44468
+ message: string;
44469
+ /** Date and time at which Seam created the warning. */
44470
+ created_at: string;
44471
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44472
+ warning_code: 'provider_issue';
44445
44473
  } | {
44446
44474
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44447
44475
  message: string;
@@ -45015,6 +45043,13 @@ export type Routes = {
45015
45043
  created_at: string;
45016
45044
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45017
45045
  warning_code: 'hub_required_for_additional_capabilities';
45046
+ } | {
45047
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45048
+ message: string;
45049
+ /** Date and time at which Seam created the warning. */
45050
+ created_at: string;
45051
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45052
+ warning_code: 'provider_issue';
45018
45053
  } | {
45019
45054
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45020
45055
  message: string;
@@ -45513,6 +45548,13 @@ export type Routes = {
45513
45548
  created_at: string;
45514
45549
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45515
45550
  warning_code: 'hub_required_for_additional_capabilities';
45551
+ } | {
45552
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45553
+ message: string;
45554
+ /** Date and time at which Seam created the warning. */
45555
+ created_at: string;
45556
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45557
+ warning_code: 'provider_issue';
45516
45558
  } | {
45517
45559
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45518
45560
  message: string;
@@ -54404,6 +54446,13 @@ export type Routes = {
54404
54446
  created_at: string;
54405
54447
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54406
54448
  warning_code: 'hub_required_for_additional_capabilities';
54449
+ } | {
54450
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54451
+ message: string;
54452
+ /** Date and time at which Seam created the warning. */
54453
+ created_at: string;
54454
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54455
+ warning_code: 'provider_issue';
54407
54456
  } | {
54408
54457
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54409
54458
  message: string;
@@ -55758,6 +55807,13 @@ export type Routes = {
55758
55807
  created_at: string;
55759
55808
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55760
55809
  warning_code: 'hub_required_for_additional_capabilities';
55810
+ } | {
55811
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55812
+ message: string;
55813
+ /** Date and time at which Seam created the warning. */
55814
+ created_at: string;
55815
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55816
+ warning_code: 'provider_issue';
55761
55817
  } | {
55762
55818
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55763
55819
  message: string;
@@ -57162,6 +57218,13 @@ export type Routes = {
57162
57218
  created_at: string;
57163
57219
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57164
57220
  warning_code: 'hub_required_for_additional_capabilities';
57221
+ } | {
57222
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57223
+ message: string;
57224
+ /** Date and time at which Seam created the warning. */
57225
+ created_at: string;
57226
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57227
+ warning_code: 'provider_issue';
57165
57228
  } | {
57166
57229
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57167
57230
  message: string;
@@ -58515,6 +58578,13 @@ export type Routes = {
58515
58578
  created_at: string;
58516
58579
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58517
58580
  warning_code: 'hub_required_for_additional_capabilities';
58581
+ } | {
58582
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58583
+ message: string;
58584
+ /** Date and time at which Seam created the warning. */
58585
+ created_at: string;
58586
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58587
+ warning_code: 'provider_issue';
58518
58588
  } | {
58519
58589
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58520
58590
  message: string;
@@ -66609,6 +66679,13 @@ export type Routes = {
66609
66679
  created_at: string;
66610
66680
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66611
66681
  warning_code: 'hub_required_for_additional_capabilities';
66682
+ } | {
66683
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66684
+ message: string;
66685
+ /** Date and time at which Seam created the warning. */
66686
+ created_at: string;
66687
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66688
+ warning_code: 'provider_issue';
66612
66689
  } | {
66613
66690
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66614
66691
  message: string;
@@ -67962,6 +68039,13 @@ export type Routes = {
67962
68039
  created_at: string;
67963
68040
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67964
68041
  warning_code: 'hub_required_for_additional_capabilities';
68042
+ } | {
68043
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68044
+ message: string;
68045
+ /** Date and time at which Seam created the warning. */
68046
+ created_at: string;
68047
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68048
+ warning_code: 'provider_issue';
67965
68049
  } | {
67966
68050
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67967
68051
  message: string;
@@ -82869,6 +82953,13 @@ export type Routes = {
82869
82953
  created_at: string;
82870
82954
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82871
82955
  warning_code: 'hub_required_for_additional_capabilities';
82956
+ } | {
82957
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82958
+ message: string;
82959
+ /** Date and time at which Seam created the warning. */
82960
+ created_at: string;
82961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82962
+ warning_code: 'provider_issue';
82872
82963
  } | {
82873
82964
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82874
82965
  message: string;
@@ -90138,6 +90229,13 @@ export type Routes = {
90138
90229
  created_at: string;
90139
90230
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90140
90231
  warning_code: 'hub_required_for_additional_capabilities';
90232
+ } | {
90233
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90234
+ message: string;
90235
+ /** Date and time at which Seam created the warning. */
90236
+ created_at: string;
90237
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90238
+ warning_code: 'provider_issue';
90141
90239
  } | {
90142
90240
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90143
90241
  message: string;
@@ -94900,6 +94998,13 @@ export type Routes = {
94900
94998
  created_at: string;
94901
94999
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94902
95000
  warning_code: 'hub_required_for_additional_capabilities';
95001
+ } | {
95002
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95003
+ message: string;
95004
+ /** Date and time at which Seam created the warning. */
95005
+ created_at: string;
95006
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95007
+ warning_code: 'provider_issue';
94903
95008
  } | {
94904
95009
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94905
95010
  message: string;
@@ -96253,6 +96358,13 @@ export type Routes = {
96253
96358
  created_at: string;
96254
96359
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96255
96360
  warning_code: 'hub_required_for_additional_capabilities';
96361
+ } | {
96362
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
96363
+ message: string;
96364
+ /** Date and time at which Seam created the warning. */
96365
+ created_at: string;
96366
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96367
+ warning_code: 'provider_issue';
96256
96368
  } | {
96257
96369
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
96258
96370
  message: string;
@@ -105244,6 +105356,13 @@ export type Routes = {
105244
105356
  created_at: string;
105245
105357
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
105246
105358
  warning_code: 'hub_required_for_additional_capabilities';
105359
+ } | {
105360
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
105361
+ message: string;
105362
+ /** Date and time at which Seam created the warning. */
105363
+ created_at: string;
105364
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
105365
+ warning_code: 'provider_issue';
105247
105366
  } | {
105248
105367
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
105249
105368
  message: string;
@@ -106599,6 +106718,13 @@ export type Routes = {
106599
106718
  created_at: string;
106600
106719
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
106601
106720
  warning_code: 'hub_required_for_additional_capabilities';
106721
+ } | {
106722
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
106723
+ message: string;
106724
+ /** Date and time at which Seam created the warning. */
106725
+ created_at: string;
106726
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
106727
+ warning_code: 'provider_issue';
106602
106728
  } | {
106603
106729
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
106604
106730
  message: string;
@@ -109150,6 +109276,13 @@ export type Routes = {
109150
109276
  created_at: string;
109151
109277
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
109152
109278
  warning_code: 'hub_required_for_additional_capabilities';
109279
+ } | {
109280
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
109281
+ message: string;
109282
+ /** Date and time at which Seam created the warning. */
109283
+ created_at: string;
109284
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
109285
+ warning_code: 'provider_issue';
109153
109286
  } | {
109154
109287
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
109155
109288
  message: string;
@@ -112387,6 +112520,13 @@ export type Routes = {
112387
112520
  created_at: string;
112388
112521
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112389
112522
  warning_code: 'hub_required_for_additional_capabilities';
112523
+ } | {
112524
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112525
+ message: string;
112526
+ /** Date and time at which Seam created the warning. */
112527
+ created_at: string;
112528
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112529
+ warning_code: 'provider_issue';
112390
112530
  } | {
112391
112531
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112392
112532
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.883.0",
3
+ "version": "1.884.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -470,6 +470,15 @@ const hub_required_for_additional_capabilities = common_device_warning.extend({
470
470
  Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
471
471
  `)
472
472
 
473
+ const provider_issue = common_device_warning.extend({
474
+ warning_code: z.literal('provider_issue').describe(warning_code_description),
475
+ }).describe(`
476
+ ---
477
+ variant_group_key: access_codes
478
+ ---
479
+ Indicates a provider-specific issue that may affect device functionality.
480
+ `)
481
+
473
482
  const keynest_unsupported_locker = common_device_warning.extend({
474
483
  warning_code: z
475
484
  .literal('keynest_unsupported_locker')
@@ -556,6 +565,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
556
565
  ultraloq_time_zone_unknown,
557
566
  two_n_device_missing_timezone,
558
567
  hub_required_for_additional_capabilities,
568
+ provider_issue,
559
569
  keynest_unsupported_locker,
560
570
  accessory_keypad_setup_required,
561
571
  unreliable_online_status,
@@ -612,6 +622,7 @@ export const device_warning_map = z.object({
612
622
  .nullable(),
613
623
  hub_required_for_additional_capabilities:
614
624
  hub_required_for_additional_capabilities.optional().nullable(),
625
+ provider_issue: provider_issue.optional().nullable(),
615
626
  keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
616
627
  accessory_keypad_setup_required: accessory_keypad_setup_required
617
628
  .optional()
@@ -17086,6 +17086,32 @@ const openapi: OpenAPISpec = {
17086
17086
  type: 'object',
17087
17087
  'x-variant-group-key': 'locks',
17088
17088
  },
17089
+ {
17090
+ description:
17091
+ 'Indicates a provider-specific issue that may affect device functionality.',
17092
+ properties: {
17093
+ created_at: {
17094
+ description:
17095
+ 'Date and time at which Seam created the warning.',
17096
+ format: 'date-time',
17097
+ type: 'string',
17098
+ },
17099
+ message: {
17100
+ description:
17101
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
17102
+ type: 'string',
17103
+ },
17104
+ warning_code: {
17105
+ description:
17106
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
17107
+ enum: ['provider_issue'],
17108
+ type: 'string',
17109
+ },
17110
+ },
17111
+ required: ['message', 'created_at', 'warning_code'],
17112
+ type: 'object',
17113
+ 'x-variant-group-key': 'access_codes',
17114
+ },
17089
17115
  {
17090
17116
  description:
17091
17117
  'Indicates that the key is in a locker that does not support the access codes API.',
@@ -33374,6 +33400,32 @@ const openapi: OpenAPISpec = {
33374
33400
  type: 'object',
33375
33401
  'x-variant-group-key': 'locks',
33376
33402
  },
33403
+ {
33404
+ description:
33405
+ 'Indicates a provider-specific issue that may affect device functionality.',
33406
+ properties: {
33407
+ created_at: {
33408
+ description:
33409
+ 'Date and time at which Seam created the warning.',
33410
+ format: 'date-time',
33411
+ type: 'string',
33412
+ },
33413
+ message: {
33414
+ description:
33415
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
33416
+ type: 'string',
33417
+ },
33418
+ warning_code: {
33419
+ description:
33420
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
33421
+ enum: ['provider_issue'],
33422
+ type: 'string',
33423
+ },
33424
+ },
33425
+ required: ['message', 'created_at', 'warning_code'],
33426
+ type: 'object',
33427
+ 'x-variant-group-key': 'access_codes',
33428
+ },
33377
33429
  {
33378
33430
  description:
33379
33431
  'Indicates that the key is in a locker that does not support the access codes API.',