@seamapi/types 1.238.0 → 1.239.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
@@ -902,7 +902,8 @@ var PROVIDER_CATEGORY_MAP = {
902
902
  "pti",
903
903
  "visionline",
904
904
  "assa_abloy_credential_service",
905
- "latch"
905
+ "latch",
906
+ "salto"
906
907
  ],
907
908
  internal_beta: ALL_DEVICE_PROVIDERS
908
909
  };
@@ -1207,15 +1208,22 @@ var salto_site_user_limit_reached = common_acs_system_error.extend({
1207
1208
  "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."
1208
1209
  )
1209
1210
  });
1211
+ var salto_seam_integration_blocked = common_acs_system_error.extend({
1212
+ error_code: zod.z.literal("salto_seam_integration_blocked").describe(
1213
+ "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block"
1214
+ )
1215
+ });
1210
1216
  var acs_system_error = zod.z.union([
1211
1217
  seam_bridge_disconnected,
1212
1218
  visionline_instance_unreachable,
1213
- salto_site_user_limit_reached
1219
+ salto_site_user_limit_reached,
1220
+ salto_seam_integration_blocked
1214
1221
  ]).describe("Error associated with the `acs_system`.");
1215
1222
  zod.z.object({
1216
1223
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
1217
1224
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
1218
- salto_site_user_limit_reached: salto_site_user_limit_reached.optional().nullable()
1225
+ salto_site_user_limit_reached: salto_site_user_limit_reached.optional().nullable(),
1226
+ salto_seam_integration_blocked: salto_seam_integration_blocked.optional().nullable()
1219
1227
  });
1220
1228
  var common_acs_system_warning = zod.z.object({
1221
1229
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -2777,6 +2785,26 @@ var openapi_default = {
2777
2785
  },
2778
2786
  required: ["created_at", "message", "error_code"],
2779
2787
  type: "object"
2788
+ },
2789
+ {
2790
+ properties: {
2791
+ created_at: {
2792
+ description: "Date and time at which Seam created the error.",
2793
+ format: "date-time",
2794
+ type: "string"
2795
+ },
2796
+ error_code: {
2797
+ description: "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
2798
+ enum: ["salto_seam_integration_blocked"],
2799
+ type: "string"
2800
+ },
2801
+ message: {
2802
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
2803
+ type: "string"
2804
+ }
2805
+ },
2806
+ required: ["created_at", "message", "error_code"],
2807
+ type: "object"
2780
2808
  }
2781
2809
  ]
2782
2810
  },