@vercel/sdk 1.11.0 → 1.11.2
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/bin/mcp-server.js +1341 -1092
- package/bin/mcp-server.js.map +30 -30
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -0
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -1
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +2 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +0 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +2 -2
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +9 -6
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +3 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +47 -41
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +17 -15
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +2 -0
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -0
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +282 -243
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +320 -295
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +6 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getallchecksop.d.ts +2 -0
- package/esm/models/getallchecksop.d.ts.map +1 -1
- package/esm/models/getallchecksop.js +2 -0
- package/esm/models/getallchecksop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +421 -331
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +482 -410
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +9 -6
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +3 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +3 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +1 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomaintransferop.d.ts +99 -25
- package/esm/models/getdomaintransferop.d.ts.map +1 -1
- package/esm/models/getdomaintransferop.js +101 -25
- package/esm/models/getdomaintransferop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +2 -0
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -0
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +3 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +1 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +36 -30
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +12 -10
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +3 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +1 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +36 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +25 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +12 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +4 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/team.d.ts +150 -26
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +110 -30
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +2 -0
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -0
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +3 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +1 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +6 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +0 -5
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +0 -4
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +963 -773
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1102 -974
- package/esm/models/userevent.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -0
- package/src/__tests__/domains.test.ts +3 -1
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/__tests__/teams.test.ts +2 -2
- package/src/funcs/deploymentsUploadFile.ts +0 -5
- package/src/funcs/domainsGetDomainTransfer.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +5 -4
- package/src/models/createdeploymentop.ts +21 -19
- package/src/models/createedgeconfigop.ts +4 -0
- package/src/models/createintegrationstoredirectop.ts +546 -506
- package/src/models/createprojectop.ts +2 -0
- package/src/models/getallchecksop.ts +4 -0
- package/src/models/getconfigurationproductsop.ts +847 -706
- package/src/models/getdeploymentop.ts +5 -4
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getdomaintransferop.ts +203 -39
- package/src/models/getedgeconfigop.ts +4 -0
- package/src/models/getprojectsop.ts +1 -0
- package/src/models/getteammembersop.ts +12 -10
- package/src/models/getwebhooksop.ts +1 -0
- package/src/models/importresourceop.ts +34 -0
- package/src/models/patchteamop.ts +4 -0
- package/src/models/team.ts +177 -42
- package/src/models/updateedgeconfigop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +1 -0
- package/src/models/updateprojectop.ts +2 -0
- package/src/models/uploadfileop.ts +0 -9
- package/src/models/userevent.ts +2222 -1920
- package/vercel-spec.json +517 -260
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -107,9 +107,7 @@ test("Access Groups Update Access Group", async () => {
|
|
|
107
107
|
});
|
|
108
108
|
expect(result).toBeDefined();
|
|
109
109
|
expect(result).toEqual({
|
|
110
|
-
entitlements: [
|
|
111
|
-
"v0",
|
|
112
|
-
],
|
|
110
|
+
entitlements: [],
|
|
113
111
|
name: "my-access-group",
|
|
114
112
|
createdAt: "1588720733602",
|
|
115
113
|
teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50",
|
|
@@ -131,7 +131,9 @@ test("Domains Get Domain Config", async () => {
|
|
|
131
131
|
expect(result).toBeDefined();
|
|
132
132
|
expect(result).toEqual({
|
|
133
133
|
configuredBy: "http",
|
|
134
|
-
acceptedChallenges: [
|
|
134
|
+
acceptedChallenges: [
|
|
135
|
+
"dns-01",
|
|
136
|
+
],
|
|
135
137
|
recommendedIPv4: [
|
|
136
138
|
{
|
|
137
139
|
rank: 4375.87,
|
|
@@ -50,8 +50,8 @@ test("Edge Config Create Edge Config", async () => {
|
|
|
50
50
|
});
|
|
51
51
|
expect(result).toBeDefined();
|
|
52
52
|
expect(result).toEqual({
|
|
53
|
-
createdAt:
|
|
54
|
-
updatedAt:
|
|
53
|
+
createdAt: 5488.14,
|
|
54
|
+
updatedAt: 7151.9,
|
|
55
55
|
id: "<id>",
|
|
56
56
|
slug: "<value>",
|
|
57
57
|
ownerId: "<id>",
|
|
@@ -77,8 +77,8 @@ test("Edge Config Get Edge Config", async () => {
|
|
|
77
77
|
});
|
|
78
78
|
expect(result).toBeDefined();
|
|
79
79
|
expect(result).toEqual({
|
|
80
|
-
createdAt:
|
|
81
|
-
updatedAt:
|
|
80
|
+
createdAt: 6027.63,
|
|
81
|
+
updatedAt: 5448.83,
|
|
82
82
|
id: "<id>",
|
|
83
83
|
slug: "<value>",
|
|
84
84
|
ownerId: "<id>",
|
|
@@ -107,8 +107,8 @@ test("Edge Config Update Edge Config", async () => {
|
|
|
107
107
|
});
|
|
108
108
|
expect(result).toBeDefined();
|
|
109
109
|
expect(result).toEqual({
|
|
110
|
-
createdAt:
|
|
111
|
-
updatedAt:
|
|
110
|
+
createdAt: 4236.55,
|
|
111
|
+
updatedAt: 6458.94,
|
|
112
112
|
id: "<id>",
|
|
113
113
|
slug: "<value>",
|
|
114
114
|
ownerId: "<id>",
|
|
@@ -362,8 +362,12 @@ test("Rolling Release Get Rolling Release Billing Status", async () => {
|
|
|
362
362
|
});
|
|
363
363
|
expect(result).toBeDefined();
|
|
364
364
|
expect(result).toEqual({
|
|
365
|
-
availableSlots:
|
|
366
|
-
reason: "
|
|
365
|
+
availableSlots: 7151.9,
|
|
366
|
+
reason: "no_available_slots",
|
|
367
367
|
message: "<value>",
|
|
368
|
+
enabledProjects: [
|
|
369
|
+
"<value 1>",
|
|
370
|
+
"<value 2>",
|
|
371
|
+
],
|
|
368
372
|
});
|
|
369
373
|
});
|
|
@@ -322,10 +322,10 @@ test("Security Get Bypass Ip", async () => {
|
|
|
322
322
|
{
|
|
323
323
|
ownerId: "<id>",
|
|
324
324
|
id: "<id>",
|
|
325
|
-
domain: "
|
|
326
|
-
ip: "165.
|
|
327
|
-
createdAt: "
|
|
328
|
-
updatedAt: "
|
|
325
|
+
domain: "ill-fated-halt.com",
|
|
326
|
+
ip: "165.140.153.117",
|
|
327
|
+
createdAt: "1730327928522",
|
|
328
|
+
updatedAt: "1735622982324",
|
|
329
329
|
updatedAtHour: "<value>",
|
|
330
330
|
},
|
|
331
331
|
],
|
|
@@ -167,8 +167,8 @@ test("Teams Get Team", async () => {
|
|
|
167
167
|
emailDomain: "example.com",
|
|
168
168
|
saml: {
|
|
169
169
|
connection: {
|
|
170
|
-
status: "linked",
|
|
171
170
|
type: "OktaSAML",
|
|
171
|
+
status: "linked",
|
|
172
172
|
state: "active",
|
|
173
173
|
connectedAt: 1611796915677,
|
|
174
174
|
lastReceivedWebhookEvent: 1611796915677,
|
|
@@ -240,8 +240,8 @@ test("Teams Patch Team", async () => {
|
|
|
240
240
|
emailDomain: "example.com",
|
|
241
241
|
saml: {
|
|
242
242
|
connection: {
|
|
243
|
-
status: "linked",
|
|
244
243
|
type: "OktaSAML",
|
|
244
|
+
status: "linked",
|
|
245
245
|
state: "active",
|
|
246
246
|
connectedAt: 1611796915677,
|
|
247
247
|
lastReceivedWebhookEvent: 1611796915677,
|
|
@@ -117,11 +117,6 @@ async function $do(
|
|
|
117
117
|
payload["Content-Length"],
|
|
118
118
|
{ explode: false, charEncoding: "none" },
|
|
119
119
|
),
|
|
120
|
-
"x-internal-v0-token": encodeSimple(
|
|
121
|
-
"x-internal-v0-token",
|
|
122
|
-
payload["x-internal-v0-token"],
|
|
123
|
-
{ explode: false, charEncoding: "none" },
|
|
124
|
-
),
|
|
125
120
|
"x-now-digest": encodeSimple("x-now-digest", payload["x-now-digest"], {
|
|
126
121
|
explode: false,
|
|
127
122
|
charEncoding: "none",
|
|
@@ -157,7 +157,7 @@ async function $do(
|
|
|
157
157
|
|
|
158
158
|
const doResult = await client._do(req, {
|
|
159
159
|
context,
|
|
160
|
-
errorCodes: ["400", "401", "403", "4XX", "5XX"],
|
|
160
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
161
161
|
retryConfig: context.retryConfig,
|
|
162
162
|
retryCodes: context.retryCodes,
|
|
163
163
|
});
|
|
@@ -187,7 +187,7 @@ async function $do(
|
|
|
187
187
|
M.jsonErr(400, VercelBadRequestError$inboundSchema),
|
|
188
188
|
M.jsonErr(401, VercelForbiddenError$inboundSchema),
|
|
189
189
|
M.fail([403, "4XX"]),
|
|
190
|
-
M.fail("5XX"),
|
|
190
|
+
M.fail([500, "5XX"]),
|
|
191
191
|
)(response, req, { extraFields: responseFields });
|
|
192
192
|
if (!result.ok) {
|
|
193
193
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -169,7 +169,7 @@ async function $do(
|
|
|
169
169
|
|
|
170
170
|
const doResult = await client._do(req, {
|
|
171
171
|
context,
|
|
172
|
-
errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
|
|
172
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "5XX"],
|
|
173
173
|
retryConfig: context.retryConfig,
|
|
174
174
|
retryCodes: context.retryCodes,
|
|
175
175
|
});
|
|
@@ -200,7 +200,7 @@ async function $do(
|
|
|
200
200
|
M.jsonErr(400, VercelBadRequestError$inboundSchema),
|
|
201
201
|
M.jsonErr(401, VercelForbiddenError$inboundSchema),
|
|
202
202
|
M.jsonErr(404, VercelNotFoundError$inboundSchema),
|
|
203
|
-
M.fail([403, "4XX"]),
|
|
203
|
+
M.fail([403, 422, "4XX"]),
|
|
204
204
|
M.fail("5XX"),
|
|
205
205
|
)(response, req, { extraFields: responseFields });
|
|
206
206
|
if (!result.ok) {
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "1.11.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.11.
|
|
64
|
+
sdkVersion: "1.11.2",
|
|
65
|
+
genVersion: "2.707.0",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.11.2 2.707.0 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -85,6 +85,7 @@ export const CancelDeploymentFramework = {
|
|
|
85
85
|
Vitepress: "vitepress",
|
|
86
86
|
Vuepress: "vuepress",
|
|
87
87
|
Parcel: "parcel",
|
|
88
|
+
Fastapi: "fastapi",
|
|
88
89
|
Fasthtml: "fasthtml",
|
|
89
90
|
SanityV3: "sanity-v3",
|
|
90
91
|
Sanity: "sanity",
|
|
@@ -1294,15 +1295,15 @@ export type MicrofrontendsApplications = {
|
|
|
1294
1295
|
};
|
|
1295
1296
|
|
|
1296
1297
|
/**
|
|
1297
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1298
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1298
1299
|
*/
|
|
1299
1300
|
export const MicrofrontendsMfeConfigUploadState = {
|
|
1300
|
-
Error: "error",
|
|
1301
1301
|
Success: "success",
|
|
1302
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1302
1303
|
NoConfig: "no_config",
|
|
1303
1304
|
} as const;
|
|
1304
1305
|
/**
|
|
1305
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1306
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1306
1307
|
*/
|
|
1307
1308
|
export type MicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
1308
1309
|
typeof MicrofrontendsMfeConfigUploadState
|
|
@@ -1315,7 +1316,7 @@ export type CancelDeploymentMicrofrontends2 = {
|
|
|
1315
1316
|
*/
|
|
1316
1317
|
applications?: { [k: string]: MicrofrontendsApplications } | undefined;
|
|
1317
1318
|
/**
|
|
1318
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1319
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1319
1320
|
*/
|
|
1320
1321
|
mfeConfigUploadState?: MicrofrontendsMfeConfigUploadState | undefined;
|
|
1321
1322
|
/**
|
|
@@ -271,6 +271,7 @@ export const Framework = {
|
|
|
271
271
|
Vitepress: "vitepress",
|
|
272
272
|
Vuepress: "vuepress",
|
|
273
273
|
Parcel: "parcel",
|
|
274
|
+
Fastapi: "fastapi",
|
|
274
275
|
Fasthtml: "fasthtml",
|
|
275
276
|
SanityV3: "sanity-v3",
|
|
276
277
|
Sanity: "sanity",
|
|
@@ -484,6 +485,7 @@ export const CreateDeploymentFramework = {
|
|
|
484
485
|
Vitepress: "vitepress",
|
|
485
486
|
Vuepress: "vuepress",
|
|
486
487
|
Parcel: "parcel",
|
|
488
|
+
Fastapi: "fastapi",
|
|
487
489
|
Fasthtml: "fasthtml",
|
|
488
490
|
SanityV3: "sanity-v3",
|
|
489
491
|
Sanity: "sanity",
|
|
@@ -526,11 +528,11 @@ export type CreateDeploymentProjectSettings = {
|
|
|
526
528
|
};
|
|
527
529
|
|
|
528
530
|
export const CreateDeploymentDeploymentsStatus = {
|
|
531
|
+
Error: "error",
|
|
532
|
+
Timeout: "timeout",
|
|
529
533
|
Skipped: "skipped",
|
|
530
534
|
Pending: "pending",
|
|
531
535
|
Ready: "ready",
|
|
532
|
-
Error: "error",
|
|
533
|
-
Timeout: "timeout",
|
|
534
536
|
} as const;
|
|
535
537
|
export type CreateDeploymentDeploymentsStatus = ClosedEnum<
|
|
536
538
|
typeof CreateDeploymentDeploymentsStatus
|
|
@@ -622,8 +624,8 @@ export type Creator = {
|
|
|
622
624
|
};
|
|
623
625
|
|
|
624
626
|
export const CreateDeploymentReadyState = {
|
|
625
|
-
Building: "BUILDING",
|
|
626
627
|
Error: "ERROR",
|
|
628
|
+
Building: "BUILDING",
|
|
627
629
|
Initializing: "INITIALIZING",
|
|
628
630
|
Ready: "READY",
|
|
629
631
|
} as const;
|
|
@@ -643,8 +645,8 @@ export type Lambdas = {
|
|
|
643
645
|
id: string;
|
|
644
646
|
createdAt?: number | undefined;
|
|
645
647
|
readyState?: CreateDeploymentReadyState | undefined;
|
|
646
|
-
entrypoint?: string | null | undefined;
|
|
647
648
|
readyStateAt?: number | undefined;
|
|
649
|
+
entrypoint?: string | null | undefined;
|
|
648
650
|
output: Array<CreateDeploymentOutput>;
|
|
649
651
|
};
|
|
650
652
|
|
|
@@ -1214,14 +1216,14 @@ export const CreateDeploymentPlan = {
|
|
|
1214
1216
|
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
|
|
1215
1217
|
|
|
1216
1218
|
export const FunctionType = {
|
|
1217
|
-
Fluid: "fluid",
|
|
1218
1219
|
Standard: "standard",
|
|
1220
|
+
Fluid: "fluid",
|
|
1219
1221
|
} as const;
|
|
1220
1222
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
1221
1223
|
|
|
1222
1224
|
export const FunctionMemoryType = {
|
|
1223
|
-
Standard: "standard",
|
|
1224
1225
|
StandardLegacy: "standard_legacy",
|
|
1226
|
+
Standard: "standard",
|
|
1225
1227
|
Performance: "performance",
|
|
1226
1228
|
} as const;
|
|
1227
1229
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -1306,12 +1308,12 @@ export type Routes3 = {
|
|
|
1306
1308
|
};
|
|
1307
1309
|
|
|
1308
1310
|
export const Handle = {
|
|
1309
|
-
Error: "error",
|
|
1310
1311
|
Filesystem: "filesystem",
|
|
1312
|
+
Error: "error",
|
|
1311
1313
|
Hit: "hit",
|
|
1312
1314
|
Miss: "miss",
|
|
1313
|
-
Rewrite: "rewrite",
|
|
1314
1315
|
Resource: "resource",
|
|
1316
|
+
Rewrite: "rewrite",
|
|
1315
1317
|
} as const;
|
|
1316
1318
|
export type Handle = ClosedEnum<typeof Handle>;
|
|
1317
1319
|
|
|
@@ -1474,8 +1476,8 @@ export const RoutesType = {
|
|
|
1474
1476
|
export type RoutesType = ClosedEnum<typeof RoutesType>;
|
|
1475
1477
|
|
|
1476
1478
|
export const CreateDeploymentRoutesOp = {
|
|
1477
|
-
Append: "append",
|
|
1478
1479
|
Set: "set",
|
|
1480
|
+
Append: "append",
|
|
1479
1481
|
Delete: "delete",
|
|
1480
1482
|
} as const;
|
|
1481
1483
|
export type CreateDeploymentRoutesOp = ClosedEnum<
|
|
@@ -1594,15 +1596,15 @@ export type CreateDeploymentMicrofrontendsApplications = {
|
|
|
1594
1596
|
};
|
|
1595
1597
|
|
|
1596
1598
|
/**
|
|
1597
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1599
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1598
1600
|
*/
|
|
1599
1601
|
export const MfeConfigUploadState = {
|
|
1600
|
-
Error: "error",
|
|
1601
1602
|
Success: "success",
|
|
1603
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1602
1604
|
NoConfig: "no_config",
|
|
1603
1605
|
} as const;
|
|
1604
1606
|
/**
|
|
1605
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1607
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1606
1608
|
*/
|
|
1607
1609
|
export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
|
|
1608
1610
|
|
|
@@ -1615,7 +1617,7 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1615
1617
|
| { [k: string]: CreateDeploymentMicrofrontendsApplications }
|
|
1616
1618
|
| undefined;
|
|
1617
1619
|
/**
|
|
1618
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1620
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1619
1621
|
*/
|
|
1620
1622
|
mfeConfigUploadState?: MfeConfigUploadState | undefined;
|
|
1621
1623
|
/**
|
|
@@ -1693,8 +1695,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
|
|
|
1693
1695
|
>;
|
|
1694
1696
|
|
|
1695
1697
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
1696
|
-
Team: "team",
|
|
1697
1698
|
User: "user",
|
|
1699
|
+
Team: "team",
|
|
1698
1700
|
} as const;
|
|
1699
1701
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
|
|
1700
1702
|
typeof CreateDeploymentGitRepoOwnerType
|
|
@@ -1721,8 +1723,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
|
|
|
1721
1723
|
>;
|
|
1722
1724
|
|
|
1723
1725
|
export const GitRepoOwnerType = {
|
|
1724
|
-
Team: "team",
|
|
1725
1726
|
User: "user",
|
|
1727
|
+
Team: "team",
|
|
1726
1728
|
} as const;
|
|
1727
1729
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1728
1730
|
|
|
@@ -1745,8 +1747,8 @@ export const GitRepoType = {
|
|
|
1745
1747
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1746
1748
|
|
|
1747
1749
|
export const OwnerType = {
|
|
1748
|
-
Team: "team",
|
|
1749
1750
|
User: "user",
|
|
1751
|
+
Team: "team",
|
|
1750
1752
|
} as const;
|
|
1751
1753
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1752
1754
|
|
|
@@ -3931,8 +3933,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
|
|
|
3931
3933
|
id: z.string(),
|
|
3932
3934
|
createdAt: z.number().optional(),
|
|
3933
3935
|
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
3934
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
3935
3936
|
readyStateAt: z.number().optional(),
|
|
3937
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
3936
3938
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
3937
3939
|
});
|
|
3938
3940
|
|
|
@@ -3941,8 +3943,8 @@ export type Lambdas$Outbound = {
|
|
|
3941
3943
|
id: string;
|
|
3942
3944
|
createdAt?: number | undefined;
|
|
3943
3945
|
readyState?: string | undefined;
|
|
3944
|
-
entrypoint?: string | null | undefined;
|
|
3945
3946
|
readyStateAt?: number | undefined;
|
|
3947
|
+
entrypoint?: string | null | undefined;
|
|
3946
3948
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
3947
3949
|
};
|
|
3948
3950
|
|
|
@@ -3955,8 +3957,8 @@ export const Lambdas$outboundSchema: z.ZodType<
|
|
|
3955
3957
|
id: z.string(),
|
|
3956
3958
|
createdAt: z.number().optional(),
|
|
3957
3959
|
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
3958
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
3959
3960
|
readyStateAt: z.number().optional(),
|
|
3961
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
3960
3962
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
3961
3963
|
});
|
|
3962
3964
|
|
|
@@ -67,6 +67,7 @@ export type CreateEdgeConfigPurpose = Purpose1 | Purpose2;
|
|
|
67
67
|
export type CreateEdgeConfigResponseBody = {
|
|
68
68
|
createdAt: number;
|
|
69
69
|
updatedAt: number;
|
|
70
|
+
deletedAt?: number | undefined;
|
|
70
71
|
id: string;
|
|
71
72
|
/**
|
|
72
73
|
* Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
|
|
@@ -533,6 +534,7 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
533
534
|
> = z.object({
|
|
534
535
|
createdAt: z.number(),
|
|
535
536
|
updatedAt: z.number(),
|
|
537
|
+
deletedAt: z.number().optional(),
|
|
536
538
|
id: z.string(),
|
|
537
539
|
slug: z.string(),
|
|
538
540
|
ownerId: z.string(),
|
|
@@ -552,6 +554,7 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
552
554
|
export type CreateEdgeConfigResponseBody$Outbound = {
|
|
553
555
|
createdAt: number;
|
|
554
556
|
updatedAt: number;
|
|
557
|
+
deletedAt?: number | undefined;
|
|
555
558
|
id: string;
|
|
556
559
|
slug: string;
|
|
557
560
|
ownerId: string;
|
|
@@ -572,6 +575,7 @@ export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
572
575
|
> = z.object({
|
|
573
576
|
createdAt: z.number(),
|
|
574
577
|
updatedAt: z.number(),
|
|
578
|
+
deletedAt: z.number().optional(),
|
|
575
579
|
id: z.string(),
|
|
576
580
|
slug: z.string(),
|
|
577
581
|
ownerId: z.string(),
|