@seamapi/types 1.297.0 → 1.298.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
@@ -1020,7 +1020,9 @@ var PROVIDER_CATEGORY_MAP = {
1020
1020
  "visionline",
1021
1021
  "assa_abloy_credential_service",
1022
1022
  "latch",
1023
- "salto_ks"
1023
+ "salto_ks",
1024
+ "assa_abloy_vostio",
1025
+ "assa_abloy_vostio_credential_service"
1024
1026
  ],
1025
1027
  internal_beta: ALL_DEVICE_PROVIDERS
1026
1028
  };
@@ -1488,19 +1490,26 @@ var account_disconnected = common_acs_system_error.extend({
1488
1490
  }).describe(
1489
1491
  "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access."
1490
1492
  );
1493
+ var salto_ks_certification_expired = common_acs_system_error.extend({
1494
+ error_code: zod.z.literal("salto_ks_certification_expired").describe(
1495
+ "Indicates that the access system has lost its Salto KS certification. Please contact support to regain access."
1496
+ )
1497
+ });
1491
1498
  var acs_system_error = zod.z.union([
1492
1499
  seam_bridge_disconnected,
1493
1500
  visionline_instance_unreachable,
1494
1501
  salto_ks_subscription_limit_exceeded,
1495
1502
  acs_system_disconnected,
1496
- account_disconnected
1503
+ account_disconnected,
1504
+ salto_ks_certification_expired
1497
1505
  ]).describe("Error associated with the `acs_system`.");
1498
1506
  zod.z.object({
1499
1507
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
1500
1508
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
1501
1509
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional().nullable(),
1502
1510
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
1503
- account_disconnected: account_disconnected.optional().nullable()
1511
+ account_disconnected: account_disconnected.optional().nullable(),
1512
+ salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
1504
1513
  });
1505
1514
  var common_acs_system_warning = zod.z.object({
1506
1515
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -3636,6 +3645,26 @@ var openapi_default = {
3636
3645
  },
3637
3646
  required: ["created_at", "message", "error_code"],
3638
3647
  type: "object"
3648
+ },
3649
+ {
3650
+ properties: {
3651
+ created_at: {
3652
+ description: "Date and time at which Seam created the error.",
3653
+ format: "date-time",
3654
+ type: "string"
3655
+ },
3656
+ error_code: {
3657
+ description: "Indicates that the access system has lost its Salto KS certification. Please contact support to regain access.",
3658
+ enum: ["salto_ks_certification_expired"],
3659
+ type: "string"
3660
+ },
3661
+ message: {
3662
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
3663
+ type: "string"
3664
+ }
3665
+ },
3666
+ required: ["created_at", "message", "error_code"],
3667
+ type: "object"
3639
3668
  }
3640
3669
  ]
3641
3670
  },