@seamapi/types 1.817.0 → 1.818.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.
@@ -12615,6 +12615,13 @@ export type Routes = {
12615
12615
  created_at: string;
12616
12616
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12617
12617
  warning_code: 'salto_ks_subscription_limit_almost_reached';
12618
+ } | {
12619
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
12620
+ message: string;
12621
+ /** Date and time at which Seam created the warning. */
12622
+ created_at: string;
12623
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12624
+ warning_code: 'salto_ks_lock_access_code_support_removed';
12618
12625
  } | {
12619
12626
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
12620
12627
  message: string;
@@ -17031,6 +17038,13 @@ export type Routes = {
17031
17038
  created_at: string;
17032
17039
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17033
17040
  warning_code: 'salto_ks_subscription_limit_almost_reached';
17041
+ } | {
17042
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17043
+ message: string;
17044
+ /** Date and time at which Seam created the warning. */
17045
+ created_at: string;
17046
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17047
+ warning_code: 'salto_ks_lock_access_code_support_removed';
17034
17048
  } | {
17035
17049
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17036
17050
  message: string;
@@ -33604,6 +33618,13 @@ export type Routes = {
33604
33618
  created_at: string;
33605
33619
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33606
33620
  warning_code: 'salto_ks_subscription_limit_almost_reached';
33621
+ } | {
33622
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33623
+ message: string;
33624
+ /** Date and time at which Seam created the warning. */
33625
+ created_at: string;
33626
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33627
+ warning_code: 'salto_ks_lock_access_code_support_removed';
33607
33628
  } | {
33608
33629
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33609
33630
  message: string;
@@ -34979,6 +35000,13 @@ export type Routes = {
34979
35000
  created_at: string;
34980
35001
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34981
35002
  warning_code: 'salto_ks_subscription_limit_almost_reached';
35003
+ } | {
35004
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35005
+ message: string;
35006
+ /** Date and time at which Seam created the warning. */
35007
+ created_at: string;
35008
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35009
+ warning_code: 'salto_ks_lock_access_code_support_removed';
34982
35010
  } | {
34983
35011
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34984
35012
  message: string;
@@ -35533,6 +35561,13 @@ export type Routes = {
35533
35561
  created_at: string;
35534
35562
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35535
35563
  warning_code: 'salto_ks_subscription_limit_almost_reached';
35564
+ } | {
35565
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35566
+ message: string;
35567
+ /** Date and time at which Seam created the warning. */
35568
+ created_at: string;
35569
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35570
+ warning_code: 'salto_ks_lock_access_code_support_removed';
35536
35571
  } | {
35537
35572
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35538
35573
  message: string;
@@ -36017,6 +36052,13 @@ export type Routes = {
36017
36052
  created_at: string;
36018
36053
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36019
36054
  warning_code: 'salto_ks_subscription_limit_almost_reached';
36055
+ } | {
36056
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36057
+ message: string;
36058
+ /** Date and time at which Seam created the warning. */
36059
+ created_at: string;
36060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36061
+ warning_code: 'salto_ks_lock_access_code_support_removed';
36020
36062
  } | {
36021
36063
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36022
36064
  message: string;
@@ -44528,6 +44570,13 @@ export type Routes = {
44528
44570
  created_at: string;
44529
44571
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44530
44572
  warning_code: 'salto_ks_subscription_limit_almost_reached';
44573
+ } | {
44574
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44575
+ message: string;
44576
+ /** Date and time at which Seam created the warning. */
44577
+ created_at: string;
44578
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44579
+ warning_code: 'salto_ks_lock_access_code_support_removed';
44531
44580
  } | {
44532
44581
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44533
44582
  message: string;
@@ -45853,6 +45902,13 @@ export type Routes = {
45853
45902
  created_at: string;
45854
45903
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45855
45904
  warning_code: 'salto_ks_subscription_limit_almost_reached';
45905
+ } | {
45906
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45907
+ message: string;
45908
+ /** Date and time at which Seam created the warning. */
45909
+ created_at: string;
45910
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45911
+ warning_code: 'salto_ks_lock_access_code_support_removed';
45856
45912
  } | {
45857
45913
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45858
45914
  message: string;
@@ -47228,6 +47284,13 @@ export type Routes = {
47228
47284
  created_at: string;
47229
47285
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47230
47286
  warning_code: 'salto_ks_subscription_limit_almost_reached';
47287
+ } | {
47288
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47289
+ message: string;
47290
+ /** Date and time at which Seam created the warning. */
47291
+ created_at: string;
47292
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47293
+ warning_code: 'salto_ks_lock_access_code_support_removed';
47231
47294
  } | {
47232
47295
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47233
47296
  message: string;
@@ -48552,6 +48615,13 @@ export type Routes = {
48552
48615
  created_at: string;
48553
48616
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48554
48617
  warning_code: 'salto_ks_subscription_limit_almost_reached';
48618
+ } | {
48619
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48620
+ message: string;
48621
+ /** Date and time at which Seam created the warning. */
48622
+ created_at: string;
48623
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48624
+ warning_code: 'salto_ks_lock_access_code_support_removed';
48555
48625
  } | {
48556
48626
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48557
48627
  message: string;
@@ -55293,6 +55363,13 @@ export type Routes = {
55293
55363
  created_at: string;
55294
55364
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55295
55365
  warning_code: 'salto_ks_subscription_limit_almost_reached';
55366
+ } | {
55367
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55368
+ message: string;
55369
+ /** Date and time at which Seam created the warning. */
55370
+ created_at: string;
55371
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55372
+ warning_code: 'salto_ks_lock_access_code_support_removed';
55296
55373
  } | {
55297
55374
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55298
55375
  message: string;
@@ -56617,6 +56694,13 @@ export type Routes = {
56617
56694
  created_at: string;
56618
56695
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56619
56696
  warning_code: 'salto_ks_subscription_limit_almost_reached';
56697
+ } | {
56698
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56699
+ message: string;
56700
+ /** Date and time at which Seam created the warning. */
56701
+ created_at: string;
56702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56703
+ warning_code: 'salto_ks_lock_access_code_support_removed';
56620
56704
  } | {
56621
56705
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56622
56706
  message: string;
@@ -70161,6 +70245,13 @@ export type Routes = {
70161
70245
  created_at: string;
70162
70246
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70163
70247
  warning_code: 'salto_ks_subscription_limit_almost_reached';
70248
+ } | {
70249
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70250
+ message: string;
70251
+ /** Date and time at which Seam created the warning. */
70252
+ created_at: string;
70253
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70254
+ warning_code: 'salto_ks_lock_access_code_support_removed';
70164
70255
  } | {
70165
70256
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70166
70257
  message: string;
@@ -76333,6 +76424,13 @@ export type Routes = {
76333
76424
  created_at: string;
76334
76425
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76335
76426
  warning_code: 'salto_ks_subscription_limit_almost_reached';
76427
+ } | {
76428
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76429
+ message: string;
76430
+ /** Date and time at which Seam created the warning. */
76431
+ created_at: string;
76432
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76433
+ warning_code: 'salto_ks_lock_access_code_support_removed';
76336
76434
  } | {
76337
76435
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76338
76436
  message: string;
@@ -80404,6 +80502,13 @@ export type Routes = {
80404
80502
  created_at: string;
80405
80503
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80406
80504
  warning_code: 'salto_ks_subscription_limit_almost_reached';
80505
+ } | {
80506
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
80507
+ message: string;
80508
+ /** Date and time at which Seam created the warning. */
80509
+ created_at: string;
80510
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80511
+ warning_code: 'salto_ks_lock_access_code_support_removed';
80407
80512
  } | {
80408
80513
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
80409
80514
  message: string;
@@ -81728,6 +81833,13 @@ export type Routes = {
81728
81833
  created_at: string;
81729
81834
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81730
81835
  warning_code: 'salto_ks_subscription_limit_almost_reached';
81836
+ } | {
81837
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81838
+ message: string;
81839
+ /** Date and time at which Seam created the warning. */
81840
+ created_at: string;
81841
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81842
+ warning_code: 'salto_ks_lock_access_code_support_removed';
81731
81843
  } | {
81732
81844
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81733
81845
  message: string;
@@ -89362,6 +89474,13 @@ export type Routes = {
89362
89474
  created_at: string;
89363
89475
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89364
89476
  warning_code: 'salto_ks_subscription_limit_almost_reached';
89477
+ } | {
89478
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
89479
+ message: string;
89480
+ /** Date and time at which Seam created the warning. */
89481
+ created_at: string;
89482
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89483
+ warning_code: 'salto_ks_lock_access_code_support_removed';
89365
89484
  } | {
89366
89485
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
89367
89486
  message: string;
@@ -90688,6 +90807,13 @@ export type Routes = {
90688
90807
  created_at: string;
90689
90808
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90690
90809
  warning_code: 'salto_ks_subscription_limit_almost_reached';
90810
+ } | {
90811
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90812
+ message: string;
90813
+ /** Date and time at which Seam created the warning. */
90814
+ created_at: string;
90815
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90816
+ warning_code: 'salto_ks_lock_access_code_support_removed';
90691
90817
  } | {
90692
90818
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90693
90819
  message: string;
@@ -93137,6 +93263,13 @@ export type Routes = {
93137
93263
  created_at: string;
93138
93264
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
93139
93265
  warning_code: 'salto_ks_subscription_limit_almost_reached';
93266
+ } | {
93267
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
93268
+ message: string;
93269
+ /** Date and time at which Seam created the warning. */
93270
+ created_at: string;
93271
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
93272
+ warning_code: 'salto_ks_lock_access_code_support_removed';
93140
93273
  } | {
93141
93274
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
93142
93275
  message: string;
@@ -95939,6 +96072,13 @@ export type Routes = {
95939
96072
  created_at: string;
95940
96073
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95941
96074
  warning_code: 'salto_ks_subscription_limit_almost_reached';
96075
+ } | {
96076
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
96077
+ message: string;
96078
+ /** Date and time at which Seam created the warning. */
96079
+ created_at: string;
96080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96081
+ warning_code: 'salto_ks_lock_access_code_support_removed';
95942
96082
  } | {
95943
96083
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95944
96084
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.817.0",
3
+ "version": "1.818.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -309,6 +309,17 @@ const salto_ks_subscription_limit_almost_reached = common_device_warning
309
309
  'Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site.',
310
310
  )
311
311
 
312
+ const salto_ks_lock_access_code_support_removed = common_device_warning.extend({
313
+ warning_code: z
314
+ .literal('salto_ks_lock_access_code_support_removed')
315
+ .describe(warning_code_description),
316
+ }).describe(`
317
+ ---
318
+ variant_group_key: access_codes
319
+ ---
320
+ Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.
321
+ `)
322
+
312
323
  const wyze_device_missing_gateway = common_device_warning.extend({
313
324
  warning_code: z
314
325
  .literal('wyze_device_missing_gateway')
@@ -511,6 +522,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
511
522
  salto_ks_office_mode,
512
523
  salto_ks_privacy_mode,
513
524
  salto_ks_subscription_limit_almost_reached,
525
+ salto_ks_lock_access_code_support_removed,
514
526
  unknown_issue_with_phone,
515
527
  lockly_time_zone_not_configured,
516
528
  ultraloq_time_zone_unknown,
@@ -559,6 +571,8 @@ export const device_warning_map = z.object({
559
571
  salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
560
572
  salto_ks_subscription_limit_almost_reached:
561
573
  salto_ks_subscription_limit_almost_reached.optional().nullable(),
574
+ salto_ks_lock_access_code_support_removed:
575
+ salto_ks_lock_access_code_support_removed.optional().nullable(),
562
576
  unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
563
577
  lockly_time_zone_not_configured: lockly_time_zone_not_configured
564
578
  .optional()
@@ -15239,6 +15239,32 @@ export default {
15239
15239
  required: ['message', 'created_at', 'warning_code'],
15240
15240
  type: 'object',
15241
15241
  },
15242
+ {
15243
+ description:
15244
+ 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
15245
+ properties: {
15246
+ created_at: {
15247
+ description:
15248
+ 'Date and time at which Seam created the warning.',
15249
+ format: 'date-time',
15250
+ type: 'string',
15251
+ },
15252
+ message: {
15253
+ description:
15254
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
15255
+ type: 'string',
15256
+ },
15257
+ warning_code: {
15258
+ description:
15259
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
15260
+ enum: ['salto_ks_lock_access_code_support_removed'],
15261
+ type: 'string',
15262
+ },
15263
+ },
15264
+ required: ['message', 'created_at', 'warning_code'],
15265
+ type: 'object',
15266
+ 'x-variant-group-key': 'access_codes',
15267
+ },
15242
15268
  {
15243
15269
  description:
15244
15270
  '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.',
@@ -31000,6 +31026,32 @@ export default {
31000
31026
  required: ['message', 'created_at', 'warning_code'],
31001
31027
  type: 'object',
31002
31028
  },
31029
+ {
31030
+ description:
31031
+ 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
31032
+ properties: {
31033
+ created_at: {
31034
+ description:
31035
+ 'Date and time at which Seam created the warning.',
31036
+ format: 'date-time',
31037
+ type: 'string',
31038
+ },
31039
+ message: {
31040
+ description:
31041
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
31042
+ type: 'string',
31043
+ },
31044
+ warning_code: {
31045
+ description:
31046
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
31047
+ enum: ['salto_ks_lock_access_code_support_removed'],
31048
+ type: 'string',
31049
+ },
31050
+ },
31051
+ required: ['message', 'created_at', 'warning_code'],
31052
+ type: 'object',
31053
+ 'x-variant-group-key': 'access_codes',
31054
+ },
31003
31055
  {
31004
31056
  description:
31005
31057
  '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.',