@seamapi/types 1.319.0 → 1.320.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 +42 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +74 -16
- package/lib/seam/connect/models/acs/acs-credential.d.ts +14 -0
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +45 -8
- package/lib/seam/connect/models/connected-accounts/connected-account.js +17 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +28 -8
- package/lib/seam/connect/openapi.js +24 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -3
- package/src/lib/seam/connect/openapi.ts +26 -6
- package/src/lib/seam/connect/route-types.ts +33 -12
package/dist/connect.cjs
CHANGED
|
@@ -56,15 +56,24 @@ var common_connected_account_error = zod.z.object({
|
|
|
56
56
|
message: zod.z.string(),
|
|
57
57
|
is_connected_account_error: zod.z.literal(true)
|
|
58
58
|
});
|
|
59
|
+
var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
59
60
|
var common_connected_account_warning = zod.z.object({
|
|
60
61
|
message: zod.z.string()
|
|
61
62
|
});
|
|
62
63
|
var connected_account_error = common_connected_account_error.extend({
|
|
63
64
|
error_code: zod.z.string()
|
|
64
65
|
});
|
|
65
|
-
var
|
|
66
|
-
warning_code: zod.z.
|
|
67
|
-
})
|
|
66
|
+
var unknown_issue_with_connected_account = common_connected_account_warning.extend({
|
|
67
|
+
warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
|
|
68
|
+
}).describe(
|
|
69
|
+
"An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
|
|
70
|
+
);
|
|
71
|
+
var connected_account_warning = zod.z.union([
|
|
72
|
+
common_connected_account_warning.extend({
|
|
73
|
+
warning_code: zod.z.string()
|
|
74
|
+
}),
|
|
75
|
+
unknown_issue_with_connected_account
|
|
76
|
+
]).describe("Warning associated with the `connected_account`.");
|
|
68
77
|
var connected_account = zod.z.object({
|
|
69
78
|
connected_account_id: zod.z.string().uuid().optional(),
|
|
70
79
|
created_at: zod.z.string().datetime().optional(),
|
|
@@ -1265,25 +1274,25 @@ var common_acs_credential_warning = zod.z.object({
|
|
|
1265
1274
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1266
1275
|
)
|
|
1267
1276
|
});
|
|
1268
|
-
var
|
|
1277
|
+
var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1269
1278
|
var waiting_to_be_issued = common_acs_credential_warning.extend({
|
|
1270
|
-
warning_code: zod.z.literal("waiting_to_be_issued").describe(
|
|
1279
|
+
warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description2)
|
|
1271
1280
|
}).describe("Indicates that the credential is waiting to be issued.");
|
|
1272
1281
|
var schedule_externally_modified = common_acs_credential_warning.extend({
|
|
1273
|
-
warning_code: zod.z.literal("schedule_externally_modified").describe(
|
|
1282
|
+
warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description2)
|
|
1274
1283
|
}).describe(
|
|
1275
1284
|
"Indicates that the schedule of one of the credential's children was modified externally."
|
|
1276
1285
|
);
|
|
1277
1286
|
var schedule_modified = common_acs_credential_warning.extend({
|
|
1278
|
-
warning_code: zod.z.literal("schedule_modified").describe(
|
|
1287
|
+
warning_code: zod.z.literal("schedule_modified").describe(warning_code_description2)
|
|
1279
1288
|
}).describe(
|
|
1280
1289
|
"Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
|
|
1281
1290
|
);
|
|
1282
1291
|
var being_deleted = common_acs_credential_warning.extend({
|
|
1283
|
-
warning_code: zod.z.literal("being_deleted").describe(
|
|
1292
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description2)
|
|
1284
1293
|
}).describe("Indicates that this credential is being deleted.");
|
|
1285
1294
|
var unknown_issue_with_credential = common_acs_credential_warning.extend({
|
|
1286
|
-
warning_code: zod.z.literal("unknown_issue_with_credential").describe(
|
|
1295
|
+
warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description2)
|
|
1287
1296
|
}).describe(
|
|
1288
1297
|
"An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
|
|
1289
1298
|
);
|
|
@@ -6762,12 +6771,30 @@ var openapi_default = {
|
|
|
6762
6771
|
},
|
|
6763
6772
|
warnings: {
|
|
6764
6773
|
items: {
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6774
|
+
description: "Warning associated with the `connected_account`.",
|
|
6775
|
+
oneOf: [
|
|
6776
|
+
{
|
|
6777
|
+
properties: {
|
|
6778
|
+
message: { type: "string" },
|
|
6779
|
+
warning_code: { type: "string" }
|
|
6780
|
+
},
|
|
6781
|
+
required: ["message", "warning_code"],
|
|
6782
|
+
type: "object"
|
|
6783
|
+
},
|
|
6784
|
+
{
|
|
6785
|
+
description: "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.",
|
|
6786
|
+
properties: {
|
|
6787
|
+
message: { type: "string" },
|
|
6788
|
+
warning_code: {
|
|
6789
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
6790
|
+
enum: ["unknown_issue_with_connected_account"],
|
|
6791
|
+
type: "string"
|
|
6792
|
+
}
|
|
6793
|
+
},
|
|
6794
|
+
required: ["message", "warning_code"],
|
|
6795
|
+
type: "object"
|
|
6796
|
+
}
|
|
6797
|
+
]
|
|
6771
6798
|
},
|
|
6772
6799
|
type: "array"
|
|
6773
6800
|
}
|