@seamapi/types 1.685.0 → 1.687.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.
@@ -11391,13 +11391,6 @@ export type Routes = {
11391
11391
  created_at: string;
11392
11392
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11393
11393
  warning_code: 'wyze_device_missing_gateway';
11394
- } | {
11395
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11396
- message: string;
11397
- /** Date and time at which Seam created the warning. */
11398
- created_at: string;
11399
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11400
- warning_code: 'functional_offline_device';
11401
11394
  } | {
11402
11395
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11403
11396
  message: string;
@@ -14791,13 +14784,6 @@ export type Routes = {
14791
14784
  created_at: string;
14792
14785
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14793
14786
  warning_code: 'wyze_device_missing_gateway';
14794
- } | {
14795
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14796
- message: string;
14797
- /** Date and time at which Seam created the warning. */
14798
- created_at: string;
14799
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14800
- warning_code: 'functional_offline_device';
14801
14787
  } | {
14802
14788
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14803
14789
  message: string;
@@ -28494,13 +28480,6 @@ export type Routes = {
28494
28480
  created_at: string;
28495
28481
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28496
28482
  warning_code: 'wyze_device_missing_gateway';
28497
- } | {
28498
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
28499
- message: string;
28500
- /** Date and time at which Seam created the warning. */
28501
- created_at: string;
28502
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28503
- warning_code: 'functional_offline_device';
28504
28483
  } | {
28505
28484
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
28506
28485
  message: string;
@@ -29780,13 +29759,6 @@ export type Routes = {
29780
29759
  created_at: string;
29781
29760
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29782
29761
  warning_code: 'wyze_device_missing_gateway';
29783
- } | {
29784
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29785
- message: string;
29786
- /** Date and time at which Seam created the warning. */
29787
- created_at: string;
29788
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29789
- warning_code: 'functional_offline_device';
29790
29762
  } | {
29791
29763
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29792
29764
  message: string;
@@ -30272,13 +30244,6 @@ export type Routes = {
30272
30244
  created_at: string;
30273
30245
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30274
30246
  warning_code: 'wyze_device_missing_gateway';
30275
- } | {
30276
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30277
- message: string;
30278
- /** Date and time at which Seam created the warning. */
30279
- created_at: string;
30280
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30281
- warning_code: 'functional_offline_device';
30282
30247
  } | {
30283
30248
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30284
30249
  message: string;
@@ -30720,13 +30685,6 @@ export type Routes = {
30720
30685
  created_at: string;
30721
30686
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30722
30687
  warning_code: 'wyze_device_missing_gateway';
30723
- } | {
30724
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30725
- message: string;
30726
- /** Date and time at which Seam created the warning. */
30727
- created_at: string;
30728
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30729
- warning_code: 'functional_offline_device';
30730
30688
  } | {
30731
30689
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30732
30690
  message: string;
@@ -36152,13 +36110,6 @@ export type Routes = {
36152
36110
  created_at: string;
36153
36111
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36154
36112
  warning_code: 'wyze_device_missing_gateway';
36155
- } | {
36156
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36157
- message: string;
36158
- /** Date and time at which Seam created the warning. */
36159
- created_at: string;
36160
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36161
- warning_code: 'functional_offline_device';
36162
36113
  } | {
36163
36114
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36164
36115
  message: string;
@@ -37388,13 +37339,6 @@ export type Routes = {
37388
37339
  created_at: string;
37389
37340
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37390
37341
  warning_code: 'wyze_device_missing_gateway';
37391
- } | {
37392
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37393
- message: string;
37394
- /** Date and time at which Seam created the warning. */
37395
- created_at: string;
37396
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37397
- warning_code: 'functional_offline_device';
37398
37342
  } | {
37399
37343
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37400
37344
  message: string;
@@ -38674,13 +38618,6 @@ export type Routes = {
38674
38618
  created_at: string;
38675
38619
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38676
38620
  warning_code: 'wyze_device_missing_gateway';
38677
- } | {
38678
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38679
- message: string;
38680
- /** Date and time at which Seam created the warning. */
38681
- created_at: string;
38682
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38683
- warning_code: 'functional_offline_device';
38684
38621
  } | {
38685
38622
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38686
38623
  message: string;
@@ -39909,13 +39846,6 @@ export type Routes = {
39909
39846
  created_at: string;
39910
39847
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39911
39848
  warning_code: 'wyze_device_missing_gateway';
39912
- } | {
39913
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39914
- message: string;
39915
- /** Date and time at which Seam created the warning. */
39916
- created_at: string;
39917
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39918
- warning_code: 'functional_offline_device';
39919
39849
  } | {
39920
39850
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39921
39851
  message: string;
@@ -46277,13 +46207,6 @@ export type Routes = {
46277
46207
  created_at: string;
46278
46208
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46279
46209
  warning_code: 'wyze_device_missing_gateway';
46280
- } | {
46281
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
46282
- message: string;
46283
- /** Date and time at which Seam created the warning. */
46284
- created_at: string;
46285
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46286
- warning_code: 'functional_offline_device';
46287
46210
  } | {
46288
46211
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
46289
46212
  message: string;
@@ -47512,13 +47435,6 @@ export type Routes = {
47512
47435
  created_at: string;
47513
47436
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47514
47437
  warning_code: 'wyze_device_missing_gateway';
47515
- } | {
47516
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47517
- message: string;
47518
- /** Date and time at which Seam created the warning. */
47519
- created_at: string;
47520
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47521
- warning_code: 'functional_offline_device';
47522
47438
  } | {
47523
47439
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47524
47440
  message: string;
@@ -57109,13 +57025,6 @@ export type Routes = {
57109
57025
  created_at: string;
57110
57026
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57111
57027
  warning_code: 'wyze_device_missing_gateway';
57112
- } | {
57113
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57114
- message: string;
57115
- /** Date and time at which Seam created the warning. */
57116
- created_at: string;
57117
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57118
- warning_code: 'functional_offline_device';
57119
57028
  } | {
57120
57029
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57121
57030
  message: string;
@@ -62790,13 +62699,6 @@ export type Routes = {
62790
62699
  created_at: string;
62791
62700
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62792
62701
  warning_code: 'wyze_device_missing_gateway';
62793
- } | {
62794
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62795
- message: string;
62796
- /** Date and time at which Seam created the warning. */
62797
- created_at: string;
62798
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62799
- warning_code: 'functional_offline_device';
62800
62702
  } | {
62801
62703
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62802
62704
  message: string;
@@ -66630,13 +66532,6 @@ export type Routes = {
66630
66532
  created_at: string;
66631
66533
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66632
66534
  warning_code: 'wyze_device_missing_gateway';
66633
- } | {
66634
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66635
- message: string;
66636
- /** Date and time at which Seam created the warning. */
66637
- created_at: string;
66638
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66639
- warning_code: 'functional_offline_device';
66640
66535
  } | {
66641
66536
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66642
66537
  message: string;
@@ -67865,13 +67760,6 @@ export type Routes = {
67865
67760
  created_at: string;
67866
67761
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67867
67762
  warning_code: 'wyze_device_missing_gateway';
67868
- } | {
67869
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67870
- message: string;
67871
- /** Date and time at which Seam created the warning. */
67872
- created_at: string;
67873
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67874
- warning_code: 'functional_offline_device';
67875
67763
  } | {
67876
67764
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67877
67765
  message: string;
@@ -75120,13 +75008,6 @@ export type Routes = {
75120
75008
  created_at: string;
75121
75009
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75122
75010
  warning_code: 'wyze_device_missing_gateway';
75123
- } | {
75124
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75125
- message: string;
75126
- /** Date and time at which Seam created the warning. */
75127
- created_at: string;
75128
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75129
- warning_code: 'functional_offline_device';
75130
75011
  } | {
75131
75012
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75132
75013
  message: string;
@@ -76357,13 +76238,6 @@ export type Routes = {
76357
76238
  created_at: string;
76358
76239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76359
76240
  warning_code: 'wyze_device_missing_gateway';
76360
- } | {
76361
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76362
- message: string;
76363
- /** Date and time at which Seam created the warning. */
76364
- created_at: string;
76365
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76366
- warning_code: 'functional_offline_device';
76367
76241
  } | {
76368
76242
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76369
76243
  message: string;
@@ -78559,13 +78433,6 @@ export type Routes = {
78559
78433
  created_at: string;
78560
78434
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
78561
78435
  warning_code: 'wyze_device_missing_gateway';
78562
- } | {
78563
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
78564
- message: string;
78565
- /** Date and time at which Seam created the warning. */
78566
- created_at: string;
78567
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
78568
- warning_code: 'functional_offline_device';
78569
78436
  } | {
78570
78437
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
78571
78438
  message: string;
@@ -80960,13 +80827,6 @@ export type Routes = {
80960
80827
  created_at: string;
80961
80828
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80962
80829
  warning_code: 'wyze_device_missing_gateway';
80963
- } | {
80964
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
80965
- message: string;
80966
- /** Date and time at which Seam created the warning. */
80967
- created_at: string;
80968
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80969
- warning_code: 'functional_offline_device';
80970
80830
  } | {
80971
80831
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
80972
80832
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.685.0",
3
+ "version": "1.687.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -97,6 +97,7 @@ export const PROVIDER_CATEGORY_MAP = {
97
97
  'assa_abloy_vostio',
98
98
  'avigilon_alta',
99
99
  'keynest',
100
+ 'hotek',
100
101
  ],
101
102
 
102
103
  consumer_smartlocks: [
@@ -316,16 +316,6 @@ const wyze_device_missing_gateway = common_device_warning.extend({
316
316
  Indicates that the Wyze Lock is not connected to a gateway.
317
317
  `)
318
318
 
319
- const functional_offline_device = common_device_warning
320
- .extend({
321
- warning_code: z
322
- .literal('functional_offline_device')
323
- .describe(warning_code_description),
324
- })
325
- .describe(
326
- 'Indicates that the device is offline but has some functionality available.',
327
- )
328
-
329
319
  const third_party_integration_detected = common_device_warning
330
320
  .extend({
331
321
  warning_code: z
@@ -446,7 +436,6 @@ const device_warning = z.discriminatedUnion('warning_code', [
446
436
  partial_backup_access_code_pool,
447
437
  many_active_backup_codes,
448
438
  wyze_device_missing_gateway,
449
- functional_offline_device,
450
439
  third_party_integration_detected,
451
440
  ttlock_lock_gateway_unlocking_not_enabled,
452
441
  ttlock_weak_gateway_signal,
@@ -481,7 +470,6 @@ const _device_warning_map = z.object({
481
470
  wyze_device_missing_gateway: wyze_device_missing_gateway
482
471
  .optional()
483
472
  .nullable(),
484
- functional_offline_device: functional_offline_device.optional().nullable(),
485
473
  third_party_integration_detected: third_party_integration_detected
486
474
  .optional()
487
475
  .nullable(),
@@ -13045,31 +13045,6 @@ export default {
13045
13045
  required: ['message', 'created_at', 'warning_code'],
13046
13046
  type: 'object',
13047
13047
  },
13048
- {
13049
- description:
13050
- 'Indicates that the device is offline but has some functionality available.',
13051
- properties: {
13052
- created_at: {
13053
- description:
13054
- 'Date and time at which Seam created the warning.',
13055
- format: 'date-time',
13056
- type: 'string',
13057
- },
13058
- message: {
13059
- description:
13060
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13061
- type: 'string',
13062
- },
13063
- warning_code: {
13064
- description:
13065
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13066
- enum: ['functional_offline_device'],
13067
- type: 'string',
13068
- },
13069
- },
13070
- required: ['message', 'created_at', 'warning_code'],
13071
- type: 'object',
13072
- },
13073
13048
  {
13074
13049
  description:
13075
13050
  'Indicates that a third-party integration has been detected.',
@@ -25680,31 +25655,6 @@ export default {
25680
25655
  required: ['message', 'created_at', 'warning_code'],
25681
25656
  type: 'object',
25682
25657
  },
25683
- {
25684
- description:
25685
- 'Indicates that the device is offline but has some functionality available.',
25686
- properties: {
25687
- created_at: {
25688
- description:
25689
- 'Date and time at which Seam created the warning.',
25690
- format: 'date-time',
25691
- type: 'string',
25692
- },
25693
- message: {
25694
- description:
25695
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
25696
- type: 'string',
25697
- },
25698
- warning_code: {
25699
- description:
25700
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
25701
- enum: ['functional_offline_device'],
25702
- type: 'string',
25703
- },
25704
- },
25705
- required: ['message', 'created_at', 'warning_code'],
25706
- type: 'object',
25707
- },
25708
25658
  {
25709
25659
  description:
25710
25660
  'Indicates that a third-party integration has been detected.',