@seamapi/types 1.207.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 +31 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +68 -0
- package/lib/seam/connect/models/acs/acs-user.d.ts +64 -0
- package/lib/seam/connect/models/acs/acs-user.js +15 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +13 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +22 -0
- package/src/lib/seam/connect/openapi.ts +13 -0
- package/src/lib/seam/connect/route-types.ts +25 -0
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
|
},
|