@seamapi/types 1.432.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(
@@ -1927,7 +1933,6 @@ var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
1927
1933
  var PROVIDER_CATEGORY_MAP = {
1928
1934
  stable: [
1929
1935
  "august",
1930
- "avigilon_alta",
1931
1936
  "brivo",
1932
1937
  "schlage",
1933
1938
  "smartthings",
@@ -1935,7 +1940,6 @@ var PROVIDER_CATEGORY_MAP = {
1935
1940
  "nuki",
1936
1941
  "salto",
1937
1942
  "salto_space",
1938
- "controlbyweb",
1939
1943
  "minut",
1940
1944
  "my_2n",
1941
1945
  "kwikset",
@@ -1943,7 +1947,6 @@ var PROVIDER_CATEGORY_MAP = {
1943
1947
  "noiseaware",
1944
1948
  "igloohome",
1945
1949
  "ecobee",
1946
- "four_suites",
1947
1950
  "lockly",
1948
1951
  "wyze",
1949
1952
  "nest",
@@ -5316,6 +5319,13 @@ var user_identity_being_deleted = common_user_identity_warning.extend({
5316
5319
  "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
5317
5320
  )
5318
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
+ );
5319
5329
  var user_identity_issue_with_acs_user = common_user_identity_error.extend({
5320
5330
  error_code: zod.z.literal("issue_with_acs_user").describe(
5321
5331
  "Unique identifier of the type of error. Enables quick recognition and categorization of the issue."
@@ -5332,9 +5342,13 @@ zod.z.object({
5332
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."
5333
5343
  )
5334
5344
  });
5335
- 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.");
5336
5349
  zod.z.object({
5337
- 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()
5338
5352
  });
5339
5353
  var user_identity_errors = zod.z.discriminatedUnion("error_code", [user_identity_issue_with_acs_user]).describe("Errors associated with the user identity.");
5340
5354
  var user_identity = zod.z.object({
@@ -16540,7 +16554,8 @@ var openapi_default = {
16540
16554
  }
16541
16555
  },
16542
16556
  required: ["message", "created_at", "warning_code"],
16543
- type: "object"
16557
+ type: "object",
16558
+ "x-variant-group-key": "access_codes"
16544
16559
  },
16545
16560
  {
16546
16561
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
@@ -16561,7 +16576,8 @@ var openapi_default = {
16561
16576
  }
16562
16577
  },
16563
16578
  required: ["message", "created_at", "warning_code"],
16564
- type: "object"
16579
+ type: "object",
16580
+ "x-variant-group-key": "access_codes"
16565
16581
  },
16566
16582
  {
16567
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.",
@@ -26512,7 +26528,8 @@ var openapi_default = {
26512
26528
  }
26513
26529
  },
26514
26530
  required: ["message", "created_at", "warning_code"],
26515
- type: "object"
26531
+ type: "object",
26532
+ "x-variant-group-key": "access_codes"
26516
26533
  },
26517
26534
  {
26518
26535
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
@@ -26533,7 +26550,8 @@ var openapi_default = {
26533
26550
  }
26534
26551
  },
26535
26552
  required: ["message", "created_at", "warning_code"],
26536
- type: "object"
26553
+ type: "object",
26554
+ "x-variant-group-key": "access_codes"
26537
26555
  },
26538
26556
  {
26539
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.",
@@ -26748,6 +26766,27 @@ var openapi_default = {
26748
26766
  },
26749
26767
  required: ["created_at", "message", "warning_code"],
26750
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"
26751
26790
  }
26752
26791
  ]
26753
26792
  },
@@ -33660,6 +33699,15 @@ var openapi_default = {
33660
33699
  format: "uuid",
33661
33700
  type: "string"
33662
33701
  }
33702
+ },
33703
+ {
33704
+ in: "query",
33705
+ name: "connected_account_id",
33706
+ schema: {
33707
+ description: "ID of the connected account for which you want to retrieve all entrances.",
33708
+ format: "uuid",
33709
+ type: "string"
33710
+ }
33663
33711
  }
33664
33712
  ],
33665
33713
  responses: {
@@ -33726,6 +33774,11 @@ var openapi_default = {
33726
33774
  format: "uuid",
33727
33775
  type: "string"
33728
33776
  },
33777
+ connected_account_id: {
33778
+ description: "ID of the connected account for which you want to retrieve all entrances.",
33779
+ format: "uuid",
33780
+ type: "string"
33781
+ },
33729
33782
  location_id: {
33730
33783
  deprecated: true,
33731
33784
  format: "uuid",