@seamapi/types 1.391.0 → 1.392.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.391.0",
3
+ "version": "1.392.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -372,14 +372,6 @@ const schlage_detected_duplicate = common_access_code_warning
372
372
  })
373
373
  .describe('Duplicate access code detected.')
374
374
 
375
- const schlage_detected_duplicate_code_name = common_access_code_warning
376
- .extend({
377
- warning_code: z
378
- .literal('schlage_detected_duplicate_code_name')
379
- .describe(warning_code_description),
380
- })
381
- .describe('Duplicate access code name detected.')
382
-
383
375
  const schlage_creation_outage = common_access_code_warning
384
376
  .extend({
385
377
  warning_code: z
@@ -442,7 +434,6 @@ const access_code_warning = z
442
434
  .discriminatedUnion('warning_code', [
443
435
  smartthings_failed_to_set_access_code_warning,
444
436
  schlage_detected_duplicate,
445
- schlage_detected_duplicate_code_name,
446
437
  schlage_creation_outage,
447
438
  code_modified_external_to_seam_warning,
448
439
  delay_in_setting_on_device,
@@ -464,9 +455,6 @@ const access_code_warning_map = z.object({
464
455
  smartthings_failed_to_set_access_code:
465
456
  smartthings_failed_to_set_access_code_warning.optional().nullable(),
466
457
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
467
- schlage_duplicate_code_name: schlage_detected_duplicate_code_name
468
- .optional()
469
- .nullable(),
470
458
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
471
459
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
472
460
  .optional()
@@ -13,6 +13,7 @@ export type AcsEntranceAssaAbloyVostioMetadata = z.infer<
13
13
  >
14
14
 
15
15
  export const acs_credential_vostio_metadata = z.object({
16
+ auto_join: z.boolean().optional(),
16
17
  override_guest_acs_entrance_ids: z.string().array().optional(),
17
18
  key_id: z.string().optional(),
18
19
  key_issuing_request_id: z.string().optional(),
@@ -1236,30 +1236,6 @@ export default {
1236
1236
  required: ['message', 'warning_code'],
1237
1237
  type: 'object',
1238
1238
  },
1239
- {
1240
- description: 'Duplicate access code name detected.',
1241
- properties: {
1242
- created_at: {
1243
- description:
1244
- 'Date and time at which Seam created the warning.',
1245
- format: 'date-time',
1246
- type: 'string',
1247
- },
1248
- message: {
1249
- description:
1250
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1251
- type: 'string',
1252
- },
1253
- warning_code: {
1254
- description:
1255
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1256
- enum: ['schlage_detected_duplicate_code_name'],
1257
- type: 'string',
1258
- },
1259
- },
1260
- required: ['message', 'warning_code'],
1261
- type: 'object',
1262
- },
1263
1239
  {
1264
1240
  description:
1265
1241
  'Received an error when attempting to create this code.',
@@ -1675,6 +1651,7 @@ export default {
1675
1651
  description:
1676
1652
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
1677
1653
  properties: {
1654
+ auto_join: { type: 'boolean' },
1678
1655
  door_names: { items: { type: 'string' }, type: 'array' },
1679
1656
  endpoint_id: { type: 'string' },
1680
1657
  key_id: { type: 'string' },
@@ -3745,6 +3722,7 @@ export default {
3745
3722
  description:
3746
3723
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
3747
3724
  properties: {
3725
+ auto_join: { type: 'boolean' },
3748
3726
  door_names: {
3749
3727
  items: { type: 'string' },
3750
3728
  type: 'array',
@@ -4141,6 +4119,7 @@ export default {
4141
4119
  description:
4142
4120
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
4143
4121
  properties: {
4122
+ auto_join: { type: 'boolean' },
4144
4123
  door_names: {
4145
4124
  items: { type: 'string' },
4146
4125
  type: 'array',
@@ -4938,6 +4917,7 @@ export default {
4938
4917
  description:
4939
4918
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
4940
4919
  properties: {
4920
+ auto_join: { type: 'boolean' },
4941
4921
  door_names: {
4942
4922
  items: { type: 'string' },
4943
4923
  type: 'array',
@@ -5332,6 +5312,7 @@ export default {
5332
5312
  description:
5333
5313
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
5334
5314
  properties: {
5315
+ auto_join: { type: 'boolean' },
5335
5316
  door_names: {
5336
5317
  items: { type: 'string' },
5337
5318
  type: 'array',
@@ -16321,30 +16302,6 @@ export default {
16321
16302
  required: ['message', 'warning_code'],
16322
16303
  type: 'object',
16323
16304
  },
16324
- {
16325
- description: 'Duplicate access code name detected.',
16326
- properties: {
16327
- created_at: {
16328
- description:
16329
- 'Date and time at which Seam created the warning.',
16330
- format: 'date-time',
16331
- type: 'string',
16332
- },
16333
- message: {
16334
- description:
16335
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
16336
- type: 'string',
16337
- },
16338
- warning_code: {
16339
- description:
16340
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
16341
- enum: ['schlage_detected_duplicate_code_name'],
16342
- type: 'string',
16343
- },
16344
- },
16345
- required: ['message', 'warning_code'],
16346
- type: 'object',
16347
- },
16348
16305
  {
16349
16306
  description:
16350
16307
  'Received an error when attempting to create this code.',
@@ -16753,6 +16710,7 @@ export default {
16753
16710
  description:
16754
16711
  'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
16755
16712
  properties: {
16713
+ auto_join: { type: 'boolean' },
16756
16714
  door_names: { items: { type: 'string' }, type: 'array' },
16757
16715
  endpoint_id: { type: 'string' },
16758
16716
  key_id: { type: 'string' },
@@ -21486,6 +21444,7 @@ export default {
21486
21444
  description:
21487
21445
  'Vostio-specific metadata for the new credential.',
21488
21446
  properties: {
21447
+ auto_join: { type: 'boolean' },
21489
21448
  join_all_guest_acs_entrances: { type: 'boolean' },
21490
21449
  override_all_guest_acs_entrances: { type: 'boolean' },
21491
21450
  override_guest_acs_entrance_ids: {