@seamapi/types 1.433.0 → 1.434.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/dist/connect.cjs CHANGED
@@ -1457,14 +1457,20 @@ var many_active_backup_codes = common_device_warning.extend({
1457
1457
  `);
1458
1458
  var salto_ks_office_mode = common_device_warning.extend({
1459
1459
  warning_code: zod.z.literal("salto_ks_office_mode").describe(warning_code_description2)
1460
- }).describe(
1461
- "Indicates that the Salto KS lock is in Office Mode. Access Codes will not unlock doors."
1462
- );
1460
+ }).describe(`
1461
+ ---
1462
+ variant_group_key: access_codes
1463
+ ---
1464
+ Indicates that the Salto KS lock is in Office Mode. Access Codes will not unlock doors.
1465
+ `);
1463
1466
  var salto_ks_privacy_mode = common_device_warning.extend({
1464
1467
  warning_code: zod.z.literal("salto_ks_privacy_mode").describe(warning_code_description2)
1465
- }).describe(
1466
- "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors."
1467
- );
1468
+ }).describe(`
1469
+ ---
1470
+ variant_group_key: access_codes
1471
+ ---
1472
+ Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
1473
+ `);
1468
1474
  var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend({
1469
1475
  warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description2)
1470
1476
  }).describe(
@@ -5313,6 +5319,13 @@ var user_identity_being_deleted = common_user_identity_warning.extend({
5313
5319
  "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
5314
5320
  )
5315
5321
  }).describe("Indicates that the user identity is currently being deleted.");
5322
+ var acs_user_profile_does_not_match_user_identity = common_user_identity_warning.extend({
5323
+ warning_code: zod.z.literal("acs_user_profile_does_not_match_user_identity").describe(
5324
+ "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
5325
+ )
5326
+ }).describe(
5327
+ "Indicates that the ACS user's profile does not match the user identity's profile"
5328
+ );
5316
5329
  var user_identity_issue_with_acs_user = common_user_identity_error.extend({
5317
5330
  error_code: zod.z.literal("issue_with_acs_user").describe(
5318
5331
  "Unique identifier of the type of error. Enables quick recognition and categorization of the issue."
@@ -5329,9 +5342,13 @@ zod.z.object({
5329
5342
  "Map of access system user IDs to issues with the access system user. The key is the access system user ID, and the value is the issue with the access system user."
5330
5343
  )
5331
5344
  });
5332
- var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [user_identity_being_deleted]).describe("Warnings associated with the user identity.");
5345
+ var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [
5346
+ user_identity_being_deleted,
5347
+ acs_user_profile_does_not_match_user_identity
5348
+ ]).describe("Warnings associated with the user identity.");
5333
5349
  zod.z.object({
5334
- user_identity_being_deleted: user_identity_being_deleted.optional().nullable()
5350
+ user_identity_being_deleted: user_identity_being_deleted.optional().nullable(),
5351
+ acs_user_profile_does_not_match_user_identity: acs_user_profile_does_not_match_user_identity.optional().nullable()
5335
5352
  });
5336
5353
  var user_identity_errors = zod.z.discriminatedUnion("error_code", [user_identity_issue_with_acs_user]).describe("Errors associated with the user identity.");
5337
5354
  var user_identity = zod.z.object({
@@ -16537,7 +16554,8 @@ var openapi_default = {
16537
16554
  }
16538
16555
  },
16539
16556
  required: ["message", "created_at", "warning_code"],
16540
- type: "object"
16557
+ type: "object",
16558
+ "x-variant-group-key": "access_codes"
16541
16559
  },
16542
16560
  {
16543
16561
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
@@ -16558,7 +16576,8 @@ var openapi_default = {
16558
16576
  }
16559
16577
  },
16560
16578
  required: ["message", "created_at", "warning_code"],
16561
- type: "object"
16579
+ type: "object",
16580
+ "x-variant-group-key": "access_codes"
16562
16581
  },
16563
16582
  {
16564
16583
  description: "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.",
@@ -26509,7 +26528,8 @@ var openapi_default = {
26509
26528
  }
26510
26529
  },
26511
26530
  required: ["message", "created_at", "warning_code"],
26512
- type: "object"
26531
+ type: "object",
26532
+ "x-variant-group-key": "access_codes"
26513
26533
  },
26514
26534
  {
26515
26535
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
@@ -26530,7 +26550,8 @@ var openapi_default = {
26530
26550
  }
26531
26551
  },
26532
26552
  required: ["message", "created_at", "warning_code"],
26533
- type: "object"
26553
+ type: "object",
26554
+ "x-variant-group-key": "access_codes"
26534
26555
  },
26535
26556
  {
26536
26557
  description: "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.",
@@ -26745,6 +26766,27 @@ var openapi_default = {
26745
26766
  },
26746
26767
  required: ["created_at", "message", "warning_code"],
26747
26768
  type: "object"
26769
+ },
26770
+ {
26771
+ description: "Indicates that the ACS user's profile does not match the user identity's profile",
26772
+ properties: {
26773
+ created_at: {
26774
+ description: "Date and time at which Seam created the warning.",
26775
+ format: "date-time",
26776
+ type: "string"
26777
+ },
26778
+ message: {
26779
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
26780
+ type: "string"
26781
+ },
26782
+ warning_code: {
26783
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
26784
+ enum: ["acs_user_profile_does_not_match_user_identity"],
26785
+ type: "string"
26786
+ }
26787
+ },
26788
+ required: ["created_at", "message", "warning_code"],
26789
+ type: "object"
26748
26790
  }
26749
26791
  ]
26750
26792
  },