@seamapi/types 1.387.0 → 1.389.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.387.0",
3
+ "version": "1.389.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -14,6 +14,7 @@ export const acs_credential_external_type = z.enum([
14
14
  'salto_ks_credential',
15
15
  'assa_abloy_vostio_key',
16
16
  'salto_space_key',
17
+ 'latch_access',
17
18
  ])
18
19
 
19
20
  export const acs_credential_access_method_type = z.enum([
@@ -133,6 +133,14 @@ export const unknown_issue_with_acs_user = common_acs_user_warning
133
133
  'An unknown issue occurred while syncing the state of this [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.',
134
134
  )
135
135
 
136
+ export const latch_resident_user = common_acs_user_warning
137
+ .extend({
138
+ warning_code: z.literal('latch_resident_user'),
139
+ })
140
+ .describe(
141
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
142
+ )
143
+
136
144
  export const acs_users_warning_map = z.object({
137
145
  being_deleted: acs_users_being_deleted.optional().nullable(),
138
146
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
@@ -141,6 +149,7 @@ export const acs_users_warning_map = z.object({
141
149
  unknown_issue_with_acs_user: unknown_issue_with_acs_user
142
150
  .optional()
143
151
  .nullable(),
152
+ latch_resident_user: latch_resident_user.optional().nullable(),
144
153
  })
145
154
 
146
155
  export const acs_users_warnings = z
@@ -148,6 +157,7 @@ export const acs_users_warnings = z
148
157
  acs_users_being_deleted,
149
158
  acs_users_salto_ks_user_not_subscribed,
150
159
  unknown_issue_with_acs_user,
160
+ latch_resident_user,
151
161
  ])
152
162
  .describe(
153
163
  'Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
@@ -1715,6 +1715,7 @@ export default {
1715
1715
  'salto_ks_credential',
1716
1716
  'assa_abloy_vostio_key',
1717
1717
  'salto_space_key',
1718
+ 'latch_access',
1718
1719
  ],
1719
1720
  type: 'string',
1720
1721
  },
@@ -3281,6 +3282,29 @@ export default {
3281
3282
  required: ['created_at', 'message', 'warning_code'],
3282
3283
  type: 'object',
3283
3284
  },
3285
+ {
3286
+ description:
3287
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
3288
+ properties: {
3289
+ created_at: {
3290
+ description:
3291
+ 'Date and time at which Seam created the warning.',
3292
+ format: 'date-time',
3293
+ type: 'string',
3294
+ },
3295
+ message: {
3296
+ description:
3297
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
3298
+ type: 'string',
3299
+ },
3300
+ warning_code: {
3301
+ enum: ['latch_resident_user'],
3302
+ type: 'string',
3303
+ },
3304
+ },
3305
+ required: ['created_at', 'message', 'warning_code'],
3306
+ type: 'object',
3307
+ },
3284
3308
  ],
3285
3309
  },
3286
3310
  type: 'array',
@@ -3764,6 +3788,7 @@ export default {
3764
3788
  'salto_ks_credential',
3765
3789
  'assa_abloy_vostio_key',
3766
3790
  'salto_space_key',
3791
+ 'latch_access',
3767
3792
  ],
3768
3793
  type: 'string',
3769
3794
  },
@@ -4159,6 +4184,7 @@ export default {
4159
4184
  'salto_ks_credential',
4160
4185
  'assa_abloy_vostio_key',
4161
4186
  'salto_space_key',
4187
+ 'latch_access',
4162
4188
  ],
4163
4189
  type: 'string',
4164
4190
  },
@@ -4955,6 +4981,7 @@ export default {
4955
4981
  'salto_ks_credential',
4956
4982
  'assa_abloy_vostio_key',
4957
4983
  'salto_space_key',
4984
+ 'latch_access',
4958
4985
  ],
4959
4986
  type: 'string',
4960
4987
  },
@@ -5348,6 +5375,7 @@ export default {
5348
5375
  'salto_ks_credential',
5349
5376
  'assa_abloy_vostio_key',
5350
5377
  'salto_space_key',
5378
+ 'latch_access',
5351
5379
  ],
5352
5380
  type: 'string',
5353
5381
  },
@@ -16643,6 +16671,7 @@ export default {
16643
16671
  'salto_ks_credential',
16644
16672
  'assa_abloy_vostio_key',
16645
16673
  'salto_space_key',
16674
+ 'latch_access',
16646
16675
  ],
16647
16676
  type: 'string',
16648
16677
  },
@@ -17477,6 +17506,29 @@ export default {
17477
17506
  required: ['created_at', 'message', 'warning_code'],
17478
17507
  type: 'object',
17479
17508
  },
17509
+ {
17510
+ description:
17511
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
17512
+ properties: {
17513
+ created_at: {
17514
+ description:
17515
+ 'Date and time at which Seam created the warning.',
17516
+ format: 'date-time',
17517
+ type: 'string',
17518
+ },
17519
+ message: {
17520
+ description:
17521
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
17522
+ type: 'string',
17523
+ },
17524
+ warning_code: {
17525
+ enum: ['latch_resident_user'],
17526
+ type: 'string',
17527
+ },
17528
+ },
17529
+ required: ['created_at', 'message', 'warning_code'],
17530
+ type: 'object',
17531
+ },
17480
17532
  ],
17481
17533
  },
17482
17534
  type: 'array',