@seamapi/types 1.848.0 → 1.849.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
@@ -3899,6 +3899,11 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
3899
3899
  }).describe(
3900
3900
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
3901
3901
  );
3902
+ var provider_service_unavailable2 = common_acs_system_error.extend({
3903
+ error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description7)
3904
+ }).describe(
3905
+ "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
3906
+ );
3902
3907
  var acs_system_error = zod.z.discriminatedUnion("error_code", [
3903
3908
  seam_bridge_disconnected,
3904
3909
  bridge_disconnected2,
@@ -3906,7 +3911,8 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
3906
3911
  salto_ks_subscription_limit_exceeded3,
3907
3912
  acs_system_disconnected,
3908
3913
  account_disconnected3,
3909
- salto_ks_certification_expired
3914
+ salto_ks_certification_expired,
3915
+ provider_service_unavailable2
3910
3916
  ]).describe(
3911
3917
  "Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
3912
3918
  );
@@ -3917,7 +3923,8 @@ zod.z.object({
3917
3923
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded3.optional().nullable(),
3918
3924
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
3919
3925
  account_disconnected: account_disconnected3.optional().nullable(),
3920
- salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
3926
+ salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable(),
3927
+ provider_service_unavailable: provider_service_unavailable2.optional().nullable()
3921
3928
  });
3922
3929
  var common_acs_system_warning = zod.z.object({
3923
3930
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -11352,6 +11359,27 @@ var openapi = {
11352
11359
  },
11353
11360
  required: ["created_at", "message", "error_code"],
11354
11361
  type: "object"
11362
+ },
11363
+ {
11364
+ description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
11365
+ properties: {
11366
+ created_at: {
11367
+ description: "Date and time at which Seam created the error.",
11368
+ format: "date-time",
11369
+ type: "string"
11370
+ },
11371
+ error_code: {
11372
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
11373
+ enum: ["provider_service_unavailable"],
11374
+ type: "string"
11375
+ },
11376
+ message: {
11377
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11378
+ type: "string"
11379
+ }
11380
+ },
11381
+ required: ["created_at", "message", "error_code"],
11382
+ type: "object"
11355
11383
  }
11356
11384
  ]
11357
11385
  },