@seamapi/types 1.297.1 → 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
@@ -1490,19 +1490,26 @@ var account_disconnected = common_acs_system_error.extend({
1490
1490
  }).describe(
1491
1491
  "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access."
1492
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
+ });
1493
1498
  var acs_system_error = zod.z.union([
1494
1499
  seam_bridge_disconnected,
1495
1500
  visionline_instance_unreachable,
1496
1501
  salto_ks_subscription_limit_exceeded,
1497
1502
  acs_system_disconnected,
1498
- account_disconnected
1503
+ account_disconnected,
1504
+ salto_ks_certification_expired
1499
1505
  ]).describe("Error associated with the `acs_system`.");
1500
1506
  zod.z.object({
1501
1507
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
1502
1508
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
1503
1509
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional().nullable(),
1504
1510
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
1505
- account_disconnected: account_disconnected.optional().nullable()
1511
+ account_disconnected: account_disconnected.optional().nullable(),
1512
+ salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
1506
1513
  });
1507
1514
  var common_acs_system_warning = zod.z.object({
1508
1515
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -3638,6 +3645,26 @@ var openapi_default = {
3638
3645
  },
3639
3646
  required: ["created_at", "message", "error_code"],
3640
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"
3641
3668
  }
3642
3669
  ]
3643
3670
  },