@seamapi/types 1.816.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.816.0",
3
+ "version": "1.818.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9,7 +9,6 @@ import {
9
9
  export const acs_credential_external_type = z.enum([
10
10
  'pti_card',
11
11
  'brivo_credential',
12
- 'brivo_digital_credential',
13
12
  'hid_credential',
14
13
  'visionline_card',
15
14
  'salto_ks_credential',
@@ -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()
@@ -3796,7 +3796,6 @@ export default {
3796
3796
  enum: [
3797
3797
  'pti_card',
3798
3798
  'brivo_credential',
3799
- 'brivo_digital_credential',
3800
3799
  'hid_credential',
3801
3800
  'visionline_card',
3802
3801
  'salto_ks_credential',
@@ -6368,7 +6367,6 @@ export default {
6368
6367
  enum: [
6369
6368
  'pti_card',
6370
6369
  'brivo_credential',
6371
- 'brivo_digital_credential',
6372
6370
  'hid_credential',
6373
6371
  'visionline_card',
6374
6372
  'salto_ks_credential',
@@ -6825,7 +6823,6 @@ export default {
6825
6823
  enum: [
6826
6824
  'pti_card',
6827
6825
  'brivo_credential',
6828
- 'brivo_digital_credential',
6829
6826
  'hid_credential',
6830
6827
  'visionline_card',
6831
6828
  'salto_ks_credential',
@@ -7538,7 +7535,6 @@ export default {
7538
7535
  enum: [
7539
7536
  'pti_card',
7540
7537
  'brivo_credential',
7541
- 'brivo_digital_credential',
7542
7538
  'hid_credential',
7543
7539
  'visionline_card',
7544
7540
  'salto_ks_credential',
@@ -7992,7 +7988,6 @@ export default {
7992
7988
  enum: [
7993
7989
  'pti_card',
7994
7990
  'brivo_credential',
7995
- 'brivo_digital_credential',
7996
7991
  'hid_credential',
7997
7992
  'visionline_card',
7998
7993
  'salto_ks_credential',
@@ -15244,6 +15239,32 @@ export default {
15244
15239
  required: ['message', 'created_at', 'warning_code'],
15245
15240
  type: 'object',
15246
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
+ },
15247
15268
  {
15248
15269
  description:
15249
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.',
@@ -25267,7 +25288,6 @@ export default {
25267
25288
  enum: [
25268
25289
  'pti_card',
25269
25290
  'brivo_credential',
25270
- 'brivo_digital_credential',
25271
25291
  'hid_credential',
25272
25292
  'visionline_card',
25273
25293
  'salto_ks_credential',
@@ -28647,7 +28667,6 @@ export default {
28647
28667
  enum: [
28648
28668
  'pti_card',
28649
28669
  'brivo_credential',
28650
- 'brivo_digital_credential',
28651
28670
  'hid_credential',
28652
28671
  'visionline_card',
28653
28672
  'salto_ks_credential',
@@ -31007,6 +31026,32 @@ export default {
31007
31026
  required: ['message', 'created_at', 'warning_code'],
31008
31027
  type: 'object',
31009
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
+ },
31010
31055
  {
31011
31056
  description:
31012
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.',