@seamapi/types 1.882.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;
@@ -83662,8 +83753,6 @@ export type Routes = {
83662
83753
  device_ids?: string[] | undefined;
83663
83754
  /** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
83664
83755
  acs_entrance_ids?: string[] | undefined;
83665
- /** Customer key for which you want to update the space. */
83666
- customer_key?: string | undefined;
83667
83756
  /** Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it. */
83668
83757
  customer_data?: {
83669
83758
  /** IANA time zone for the space, e.g. America/Los_Angeles. */
@@ -90140,6 +90229,13 @@ export type Routes = {
90140
90229
  created_at: string;
90141
90230
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90142
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';
90143
90239
  } | {
90144
90240
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90145
90241
  message: string;
@@ -94902,6 +94998,13 @@ export type Routes = {
94902
94998
  created_at: string;
94903
94999
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94904
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';
94905
95008
  } | {
94906
95009
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94907
95010
  message: string;
@@ -96255,6 +96358,13 @@ export type Routes = {
96255
96358
  created_at: string;
96256
96359
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96257
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';
96258
96368
  } | {
96259
96369
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
96260
96370
  message: string;
@@ -105246,6 +105356,13 @@ export type Routes = {
105246
105356
  created_at: string;
105247
105357
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
105248
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';
105249
105366
  } | {
105250
105367
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
105251
105368
  message: string;
@@ -106601,6 +106718,13 @@ export type Routes = {
106601
106718
  created_at: string;
106602
106719
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
106603
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';
106604
106728
  } | {
106605
106729
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
106606
106730
  message: string;
@@ -109152,6 +109276,13 @@ export type Routes = {
109152
109276
  created_at: string;
109153
109277
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
109154
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';
109155
109286
  } | {
109156
109287
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
109157
109288
  message: string;
@@ -112389,6 +112520,13 @@ export type Routes = {
112389
112520
  created_at: string;
112390
112521
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112391
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';
112392
112530
  } | {
112393
112531
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112394
112532
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.882.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.',
@@ -78241,12 +78293,6 @@ const openapi: OpenAPISpec = {
78241
78293
  },
78242
78294
  type: 'object',
78243
78295
  },
78244
- customer_key: {
78245
- description:
78246
- 'Customer key for which you want to update the space.',
78247
- minLength: 1,
78248
- type: 'string',
78249
- },
78250
78296
  device_ids: {
78251
78297
  description:
78252
78298
  'IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.',
@@ -78344,12 +78390,6 @@ const openapi: OpenAPISpec = {
78344
78390
  },
78345
78391
  type: 'object',
78346
78392
  },
78347
- customer_key: {
78348
- description:
78349
- 'Customer key for which you want to update the space.',
78350
- minLength: 1,
78351
- type: 'string',
78352
- },
78353
78393
  device_ids: {
78354
78394
  description:
78355
78395
  'IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.',