@seamapi/types 1.206.0 → 1.208.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
@@ -1261,6 +1261,21 @@ var acs_user_external_type = zod.z.enum([
1261
1261
  "salto_site_user",
1262
1262
  "latch_user"
1263
1263
  ]);
1264
+ var common_acs_users_warning = zod.z.object({
1265
+ created_at: zod.z.string().datetime(),
1266
+ message: zod.z.string()
1267
+ });
1268
+ var acs_users_being_deleted = common_acs_users_warning.extend({
1269
+ warning_code: zod.z.literal("being_deleted")
1270
+ });
1271
+ zod.z.object({
1272
+ being_deleted: acs_users_being_deleted.optional().nullable()
1273
+ });
1274
+ var acs_users_warning = (
1275
+ // TODO: once we have more than one warning we should use z.union
1276
+ // z.union([
1277
+ acs_users_being_deleted
1278
+ );
1264
1279
  var user_fields = zod.z.object({
1265
1280
  full_name: zod.z.string().optional(),
1266
1281
  email: zod.z.string().email().optional().describe(`
@@ -1287,7 +1302,8 @@ var acs_user = zod.z.object({
1287
1302
  user_identity_email_address: zod.z.string().nullable().optional(),
1288
1303
  user_identity_phone_number: zod.z.string().nullable().optional(),
1289
1304
  latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional(),
1290
- is_latest_desired_state_synced_with_provider: zod.z.boolean().optional()
1305
+ is_latest_desired_state_synced_with_provider: zod.z.boolean().optional(),
1306
+ warnings: zod.z.array(acs_users_warning)
1291
1307
  }).merge(user_fields);
1292
1308
  var common_action_attempt = zod.z.object({
1293
1309
  action_attempt_id: zod.z.string().uuid().describe(`
@@ -2771,6 +2787,18 @@ var openapi_default = {
2771
2787
  user_identity_full_name: { nullable: true, type: "string" },
2772
2788
  user_identity_id: { type: "string" },
2773
2789
  user_identity_phone_number: { nullable: true, type: "string" },
2790
+ warnings: {
2791
+ items: {
2792
+ properties: {
2793
+ created_at: { format: "date-time", type: "string" },
2794
+ message: { type: "string" },
2795
+ warning_code: { enum: ["being_deleted"], type: "string" }
2796
+ },
2797
+ required: ["created_at", "message", "warning_code"],
2798
+ type: "object"
2799
+ },
2800
+ type: "array"
2801
+ },
2774
2802
  workspace_id: { format: "uuid", type: "string" }
2775
2803
  },
2776
2804
  required: [
@@ -2779,7 +2807,8 @@ var openapi_default = {
2779
2807
  "workspace_id",
2780
2808
  "created_at",
2781
2809
  "display_name",
2782
- "is_suspended"
2810
+ "is_suspended",
2811
+ "warnings"
2783
2812
  ],
2784
2813
  type: "object"
2785
2814
  },
@@ -8770,13 +8799,18 @@ var openapi_default = {
8770
8799
  },
8771
8800
  "/acs/systems/list": {
8772
8801
  post: {
8802
+ description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the \n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the \nresponse includes all access control systems connected to your workspace.",
8773
8803
  operationId: "acsSystemsListPost",
8774
8804
  requestBody: {
8775
8805
  content: {
8776
8806
  "application/json": {
8777
8807
  schema: {
8778
8808
  properties: {
8779
- connected_account_id: { format: "uuid", type: "string" }
8809
+ connected_account_id: {
8810
+ description: "ID of the connected account by which to filter the list of returned access control systems.",
8811
+ format: "uuid",
8812
+ type: "string"
8813
+ }
8780
8814
  },
8781
8815
  type: "object"
8782
8816
  }
@@ -8815,7 +8849,8 @@ var openapi_default = {
8815
8849
  tags: ["/acs"],
8816
8850
  "x-fern-sdk-group-name": ["acs", "systems"],
8817
8851
  "x-fern-sdk-method-name": "list",
8818
- "x-fern-sdk-return-value": "acs_systems"
8852
+ "x-fern-sdk-return-value": "acs_systems",
8853
+ "x-title": "List ACS Systems"
8819
8854
  }
8820
8855
  },
8821
8856
  "/acs/systems/list_compatible_credential_manager_acs_systems": {