@seamapi/types 1.290.0 → 1.291.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
@@ -1381,20 +1381,20 @@ var visionline_instance_unreachable = common_acs_system_error.extend({
1381
1381
  For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
1382
1382
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
1383
1383
  var salto_ks_subscription_limit_exceeded = common_acs_system_error.extend({
1384
- error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(
1385
- "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
1386
- )
1387
- });
1384
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description)
1385
+ }).describe(
1386
+ "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
1387
+ );
1388
1388
  var acs_system_disconnected = common_acs_system_error.extend({
1389
- error_code: zod.z.literal("acs_system_disconnected").describe(
1390
- "Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue."
1391
- )
1392
- });
1389
+ error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description)
1390
+ }).describe(
1391
+ "Indicates that the access system has been disconnected. See [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue."
1392
+ );
1393
1393
  var account_disconnected = common_acs_system_error.extend({
1394
- error_code: zod.z.literal("account_disconnected").describe(
1395
- "Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access."
1396
- )
1397
- });
1394
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description)
1395
+ }).describe(
1396
+ "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access."
1397
+ );
1398
1398
  var acs_system_error = zod.z.union([
1399
1399
  seam_bridge_disconnected,
1400
1400
  visionline_instance_unreachable,
@@ -2237,6 +2237,19 @@ var acs_credential_events = [
2237
2237
  acs_credential_deleted_event,
2238
2238
  acs_credential_issued
2239
2239
  ];
2240
+ var acs_encoder_event = common_acs_event.extend({
2241
+ acs_encoder_id: zod.z.string().uuid().describe("ID of the ACS encoder.")
2242
+ });
2243
+ var acs_encoder_added_event = acs_encoder_event.extend({
2244
+ event_type: zod.z.literal("acs_encoder.added")
2245
+ }).describe("An ACS encoder was added.");
2246
+ var acs_encoder_removed_event = acs_encoder_event.extend({
2247
+ event_type: zod.z.literal("acs_encoder.removed")
2248
+ }).describe("An ACS encoder was removed.");
2249
+ var acs_encoder_events = [
2250
+ acs_encoder_added_event,
2251
+ acs_encoder_removed_event
2252
+ ];
2240
2253
  var acs_system_event = common_acs_event.extend({});
2241
2254
  var acs_system_connected_event = acs_system_event.extend({
2242
2255
  event_type: zod.z.literal("acs_system.connected")
@@ -2260,7 +2273,8 @@ var acs_user_events = [acs_user_deleted_event];
2260
2273
  var acs_events = [
2261
2274
  ...acs_system_events,
2262
2275
  ...acs_credential_events,
2263
- ...acs_user_events
2276
+ ...acs_user_events,
2277
+ ...acs_encoder_events
2264
2278
  ];
2265
2279
  var action_attempt_event = common_event.extend({
2266
2280
  action_attempt_id: zod.z.string().uuid().describe(`
@@ -3379,6 +3393,7 @@ var openapi_default = {
3379
3393
  type: "object"
3380
3394
  },
3381
3395
  {
3396
+ description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
3382
3397
  properties: {
3383
3398
  created_at: {
3384
3399
  description: "Date and time at which Seam created the error.",
@@ -3386,7 +3401,7 @@ var openapi_default = {
3386
3401
  type: "string"
3387
3402
  },
3388
3403
  error_code: {
3389
- description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
3404
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3390
3405
  enum: ["salto_ks_subscription_limit_exceeded"],
3391
3406
  type: "string"
3392
3407
  },
@@ -3399,6 +3414,7 @@ var openapi_default = {
3399
3414
  type: "object"
3400
3415
  },
3401
3416
  {
3417
+ description: "Indicates that the access system has been disconnected. See [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.",
3402
3418
  properties: {
3403
3419
  created_at: {
3404
3420
  description: "Date and time at which Seam created the error.",
@@ -3406,7 +3422,7 @@ var openapi_default = {
3406
3422
  type: "string"
3407
3423
  },
3408
3424
  error_code: {
3409
- description: "Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.",
3425
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3410
3426
  enum: ["acs_system_disconnected"],
3411
3427
  type: "string"
3412
3428
  },
@@ -3419,6 +3435,7 @@ var openapi_default = {
3419
3435
  type: "object"
3420
3436
  },
3421
3437
  {
3438
+ description: "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access.",
3422
3439
  properties: {
3423
3440
  created_at: {
3424
3441
  description: "Date and time at which Seam created the error.",
@@ -3426,7 +3443,7 @@ var openapi_default = {
3426
3443
  type: "string"
3427
3444
  },
3428
3445
  error_code: {
3429
- description: "Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.",
3446
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3430
3447
  enum: ["account_disconnected"],
3431
3448
  type: "string"
3432
3449
  },
@@ -16070,6 +16087,8 @@ var openapi_default = {
16070
16087
  "acs_user.deleted",
16071
16088
  "acs_credential.deleted",
16072
16089
  "acs_credential.issued",
16090
+ "acs_encoder.added",
16091
+ "acs_encoder.removed",
16073
16092
  "enrollment_automation.deleted",
16074
16093
  "client_session.deleted",
16075
16094
  "action_attempt.lock_door.succeeded",
@@ -16144,6 +16163,8 @@ var openapi_default = {
16144
16163
  "acs_user.deleted",
16145
16164
  "acs_credential.deleted",
16146
16165
  "acs_credential.issued",
16166
+ "acs_encoder.added",
16167
+ "acs_encoder.removed",
16147
16168
  "enrollment_automation.deleted",
16148
16169
  "client_session.deleted",
16149
16170
  "action_attempt.lock_door.succeeded",