@vercel/sdk 1.17.4 → 1.17.5
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 +331 -369
- package/bin/mcp-server.js.map +14 -14
- package/esm/__tests__/accessgroups.test.js +2 -6
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +1 -1
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +1 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -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/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 +0 -37
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +0 -23
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +0 -37
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +0 -22
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +152 -152
- package/esm/models/createintegrationstoredirectop.js +218 -218
- package/esm/models/createprojectop.d.ts +18 -18
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getdeploymentop.d.ts +0 -37
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +0 -22
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getmemberop.d.ts +4 -0
- package/esm/models/getmemberop.d.ts.map +1 -1
- package/esm/models/getmemberop.js +4 -0
- package/esm/models/getmemberop.js.map +1 -1
- package/esm/models/team.d.ts +11 -11
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +8 -8
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +18 -18
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +18 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/types/enums.d.ts +1 -8
- package/esm/types/enums.d.ts.map +1 -1
- package/esm/types/enums.js +1 -18
- package/esm/types/enums.js.map +1 -1
- package/esm/types/unrecognized.d.ts +10 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +23 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +2 -6
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +1 -1
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +1 -3
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/__tests__/teams.test.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 +0 -76
- package/src/models/createdeploymentop.ts +0 -87
- package/src/models/createintegrationstoredirectop.ts +471 -471
- package/src/models/createprojectop.ts +30 -30
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getdeploymentop.ts +0 -88
- package/src/models/getmemberop.ts +8 -0
- package/src/models/team.ts +15 -15
- package/src/models/updateprojectop.ts +30 -30
- package/src/types/enums.ts +1 -21
- package/src/types/unrecognized.ts +27 -0
- package/vercel-spec.json +155 -230
package/esm/types/enums.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
|
|
3
|
-
export type Unrecognized<T> = T & {
|
|
4
|
-
[__brand]: "unrecognized";
|
|
5
|
-
};
|
|
2
|
+
import { Unrecognized } from "./unrecognized.js";
|
|
6
3
|
export type ClosedEnum<T extends Readonly<Record<string, string | number>>> = T[keyof T];
|
|
7
4
|
export type OpenEnum<T extends Readonly<Record<string, string | number>>> = T[keyof T] | Unrecognized<T[keyof T] extends number ? number : string>;
|
|
8
|
-
export declare function unrecognizedCounter(): {
|
|
9
|
-
count: () => number;
|
|
10
|
-
};
|
|
11
5
|
export declare function inboundSchema<T extends Record<string, string>>(enumObj: T): z.ZodType<OpenEnum<T>, z.ZodTypeDef, unknown>;
|
|
12
6
|
export declare function inboundSchemaInt<T extends Record<string, number | string>>(enumObj: T): z.ZodType<OpenEnum<T>, z.ZodTypeDef, unknown>;
|
|
13
7
|
export declare function outboundSchema<T extends Record<string, string>>(_: T): z.ZodType<string, z.ZodTypeDef, OpenEnum<T>>;
|
|
14
8
|
export declare function outboundSchemaInt<T extends Record<string, number | string>>(_: T): z.ZodType<number, z.ZodTypeDef, OpenEnum<T>>;
|
|
15
|
-
export {};
|
|
16
9
|
//# sourceMappingURL=enums.d.ts.map
|
package/esm/types/enums.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAgB,MAAM,mBAAmB,CAAC;AAE/D,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,IACxE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACb,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,IACpE,CAAC,CAAC,MAAM,CAAC,CAAC,GACV,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;AAE9D,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC5D,OAAO,EAAE,CAAC,GACT,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAAC,CAM/C;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EACxE,OAAO,EAAE,CAAC,GACT,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAAC,CAO/C;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC7D,CAAC,EAAE,CAAC,GACH,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EACzE,CAAC,EAAE,CAAC,GACH,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAE9C"}
|
package/esm/types/enums.js
CHANGED
|
@@ -2,24 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
|
-
|
|
6
|
-
unrecognizedCount++;
|
|
7
|
-
return value;
|
|
8
|
-
}
|
|
9
|
-
let unrecognizedCount = 0;
|
|
10
|
-
let refCount = 0;
|
|
11
|
-
export function unrecognizedCounter() {
|
|
12
|
-
refCount++;
|
|
13
|
-
const start = unrecognizedCount;
|
|
14
|
-
return {
|
|
15
|
-
count: () => {
|
|
16
|
-
const count = unrecognizedCount - start;
|
|
17
|
-
if (--refCount === 0)
|
|
18
|
-
unrecognizedCount = 0;
|
|
19
|
-
return count;
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
}
|
|
5
|
+
import { unrecognized } from "./unrecognized.js";
|
|
23
6
|
export function inboundSchema(enumObj) {
|
|
24
7
|
const options = Object.values(enumObj);
|
|
25
8
|
return z.union([
|
package/esm/types/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAgB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAQ/D,MAAM,UAAU,aAAa,CAC3B,OAAU;IAEV,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,CAAC,CAAC,KAAK,CAAC;QACb,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACjC,CAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;KACpC,CAAC,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC9B,OAAU;IAEV,wEAAwE;IACxE,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC;IAC1E,OAAO,CAAC,CAAC,KAAK,CAAC;QACb,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACjC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;KAC1C,CAAC,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,cAAc,CAC5B,CAAI;IAEJ,OAAO,CAAC,CAAC,MAAM,EAAS,CAAC;AAC3B,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,CAAI;IAEJ,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAS,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const __brand: unique symbol;
|
|
2
|
+
export type Unrecognized<T> = T & {
|
|
3
|
+
[__brand]: "unrecognized";
|
|
4
|
+
};
|
|
5
|
+
declare function unrecognized<T>(value: T): Unrecognized<T>;
|
|
6
|
+
export declare function startCountingUnrecognized(): {
|
|
7
|
+
end: () => number;
|
|
8
|
+
};
|
|
9
|
+
export { unrecognized };
|
|
10
|
+
//# sourceMappingURL=unrecognized.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unrecognized.d.ts","sourceRoot":"","sources":["../../src/types/unrecognized.ts"],"names":[],"mappings":"AAIA,OAAO,CAAC,MAAM,OAAO,EAAE,OAAO,MAAM,CAAC;AACrC,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,CAAC,OAAO,CAAC,EAAE,cAAc,CAAA;CAAE,CAAC;AAEhE,iBAAS,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAGlD;AAID,wBAAgB,yBAAyB;;EAUxC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
function unrecognized(value) {
|
|
5
|
+
globalCount++;
|
|
6
|
+
return value;
|
|
7
|
+
}
|
|
8
|
+
let globalCount = 0;
|
|
9
|
+
let refCount = 0;
|
|
10
|
+
export function startCountingUnrecognized() {
|
|
11
|
+
refCount++;
|
|
12
|
+
const start = globalCount;
|
|
13
|
+
return {
|
|
14
|
+
end: () => {
|
|
15
|
+
const count = globalCount - start;
|
|
16
|
+
if (--refCount === 0)
|
|
17
|
+
globalCount = 0;
|
|
18
|
+
return count;
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export { unrecognized };
|
|
23
|
+
//# sourceMappingURL=unrecognized.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unrecognized.js","sourceRoot":"","sources":["../../src/types/unrecognized.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,SAAS,YAAY,CAAI,KAAQ;IAC/B,WAAW,EAAE,CAAC;IACd,OAAO,KAAwB,CAAC;AAClC,CAAC;AAED,IAAI,WAAW,GAAG,CAAC,CAAC;AACpB,IAAI,QAAQ,GAAG,CAAC,CAAC;AACjB,MAAM,UAAU,yBAAyB;IACvC,QAAQ,EAAE,CAAC;IACX,MAAM,KAAK,GAAG,WAAW,CAAC;IAC1B,OAAO;QACL,GAAG,EAAE,GAAG,EAAE;YACR,MAAM,KAAK,GAAG,WAAW,GAAG,KAAK,CAAC;YAClC,IAAI,EAAE,QAAQ,KAAK,CAAC;gBAAE,WAAW,GAAG,CAAC,CAAC;YACtC,OAAO,KAAK,CAAC;QACf,CAAC;KACF,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
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",
|
|
@@ -245,9 +243,7 @@ test("Access Groups Create Access Group", async () => {
|
|
|
245
243
|
});
|
|
246
244
|
expect(result).toBeDefined();
|
|
247
245
|
expect(result).toEqual({
|
|
248
|
-
entitlements: [
|
|
249
|
-
"v0",
|
|
250
|
-
],
|
|
246
|
+
entitlements: [],
|
|
251
247
|
membersCount: 446.92,
|
|
252
248
|
projectsCount: 5113.22,
|
|
253
249
|
name: "my-access-group",
|
|
@@ -362,8 +362,8 @@ 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: 3106.09,
|
|
366
|
+
reason: "available_slots",
|
|
367
367
|
message: "<value>",
|
|
368
368
|
});
|
|
369
369
|
});
|
|
@@ -322,10 +322,10 @@ test("Security Get Bypass Ip", async () => {
|
|
|
322
322
|
{
|
|
323
323
|
ownerId: "<id>",
|
|
324
324
|
id: "<id>",
|
|
325
|
-
domain: "
|
|
326
|
-
ip: "
|
|
327
|
-
createdAt: "
|
|
328
|
-
updatedAt: "
|
|
325
|
+
domain: "perky-making.info",
|
|
326
|
+
ip: "9df8:bbce:110c:bdfb:ab2e:3eb9:5bac:0ddd",
|
|
327
|
+
createdAt: "1733915638461",
|
|
328
|
+
updatedAt: "1735662108592",
|
|
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,
|
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.17.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.17.
|
|
64
|
+
sdkVersion: "1.17.5",
|
|
65
|
+
genVersion: "2.760.2",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.17.5 2.760.2 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -1328,22 +1328,6 @@ export type CancelDeploymentFlags =
|
|
|
1328
1328
|
| CancelDeploymentFlags1
|
|
1329
1329
|
| Array<CancelDeploymentFlags2>;
|
|
1330
1330
|
|
|
1331
|
-
/**
|
|
1332
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1333
|
-
*/
|
|
1334
|
-
export type MicrofrontendsApplications = {
|
|
1335
|
-
isDefaultApp?: boolean | undefined;
|
|
1336
|
-
/**
|
|
1337
|
-
* This is the production alias, it will always show the most up to date of each application.
|
|
1338
|
-
*/
|
|
1339
|
-
productionHost: string;
|
|
1340
|
-
/**
|
|
1341
|
-
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
1342
|
-
*/
|
|
1343
|
-
deploymentAlias?: string | undefined;
|
|
1344
|
-
deploymentHost?: string | undefined;
|
|
1345
|
-
};
|
|
1346
|
-
|
|
1347
1331
|
/**
|
|
1348
1332
|
* 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.
|
|
1349
1333
|
*/
|
|
@@ -1361,10 +1345,6 @@ export type MicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
|
1361
1345
|
|
|
1362
1346
|
export type CancelDeploymentMicrofrontends2 = {
|
|
1363
1347
|
isDefaultApp: boolean;
|
|
1364
|
-
/**
|
|
1365
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1366
|
-
*/
|
|
1367
|
-
applications?: { [k: string]: MicrofrontendsApplications } | undefined;
|
|
1368
1348
|
/**
|
|
1369
1349
|
* 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.
|
|
1370
1350
|
*/
|
|
@@ -6628,54 +6608,6 @@ export function cancelDeploymentFlagsFromJSON(
|
|
|
6628
6608
|
);
|
|
6629
6609
|
}
|
|
6630
6610
|
|
|
6631
|
-
/** @internal */
|
|
6632
|
-
export const MicrofrontendsApplications$inboundSchema: z.ZodType<
|
|
6633
|
-
MicrofrontendsApplications,
|
|
6634
|
-
z.ZodTypeDef,
|
|
6635
|
-
unknown
|
|
6636
|
-
> = z.object({
|
|
6637
|
-
isDefaultApp: z.boolean().optional(),
|
|
6638
|
-
productionHost: z.string(),
|
|
6639
|
-
deploymentAlias: z.string().optional(),
|
|
6640
|
-
deploymentHost: z.string().optional(),
|
|
6641
|
-
});
|
|
6642
|
-
/** @internal */
|
|
6643
|
-
export type MicrofrontendsApplications$Outbound = {
|
|
6644
|
-
isDefaultApp?: boolean | undefined;
|
|
6645
|
-
productionHost: string;
|
|
6646
|
-
deploymentAlias?: string | undefined;
|
|
6647
|
-
deploymentHost?: string | undefined;
|
|
6648
|
-
};
|
|
6649
|
-
|
|
6650
|
-
/** @internal */
|
|
6651
|
-
export const MicrofrontendsApplications$outboundSchema: z.ZodType<
|
|
6652
|
-
MicrofrontendsApplications$Outbound,
|
|
6653
|
-
z.ZodTypeDef,
|
|
6654
|
-
MicrofrontendsApplications
|
|
6655
|
-
> = z.object({
|
|
6656
|
-
isDefaultApp: z.boolean().optional(),
|
|
6657
|
-
productionHost: z.string(),
|
|
6658
|
-
deploymentAlias: z.string().optional(),
|
|
6659
|
-
deploymentHost: z.string().optional(),
|
|
6660
|
-
});
|
|
6661
|
-
|
|
6662
|
-
export function microfrontendsApplicationsToJSON(
|
|
6663
|
-
microfrontendsApplications: MicrofrontendsApplications,
|
|
6664
|
-
): string {
|
|
6665
|
-
return JSON.stringify(
|
|
6666
|
-
MicrofrontendsApplications$outboundSchema.parse(microfrontendsApplications),
|
|
6667
|
-
);
|
|
6668
|
-
}
|
|
6669
|
-
export function microfrontendsApplicationsFromJSON(
|
|
6670
|
-
jsonString: string,
|
|
6671
|
-
): SafeParseResult<MicrofrontendsApplications, SDKValidationError> {
|
|
6672
|
-
return safeParse(
|
|
6673
|
-
jsonString,
|
|
6674
|
-
(x) => MicrofrontendsApplications$inboundSchema.parse(JSON.parse(x)),
|
|
6675
|
-
`Failed to parse 'MicrofrontendsApplications' from JSON`,
|
|
6676
|
-
);
|
|
6677
|
-
}
|
|
6678
|
-
|
|
6679
6611
|
/** @internal */
|
|
6680
6612
|
export const MicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum<
|
|
6681
6613
|
typeof MicrofrontendsMfeConfigUploadState
|
|
@@ -6692,8 +6624,6 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
6692
6624
|
unknown
|
|
6693
6625
|
> = z.object({
|
|
6694
6626
|
isDefaultApp: z.boolean(),
|
|
6695
|
-
applications: z.record(z.lazy(() => MicrofrontendsApplications$inboundSchema))
|
|
6696
|
-
.optional(),
|
|
6697
6627
|
mfeConfigUploadState: MicrofrontendsMfeConfigUploadState$inboundSchema
|
|
6698
6628
|
.optional(),
|
|
6699
6629
|
defaultAppProjectName: z.string(),
|
|
@@ -6703,9 +6633,6 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
6703
6633
|
/** @internal */
|
|
6704
6634
|
export type CancelDeploymentMicrofrontends2$Outbound = {
|
|
6705
6635
|
isDefaultApp: boolean;
|
|
6706
|
-
applications?:
|
|
6707
|
-
| { [k: string]: MicrofrontendsApplications$Outbound }
|
|
6708
|
-
| undefined;
|
|
6709
6636
|
mfeConfigUploadState?: string | undefined;
|
|
6710
6637
|
defaultAppProjectName: string;
|
|
6711
6638
|
defaultRoute?: string | undefined;
|
|
@@ -6719,9 +6646,6 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
6719
6646
|
CancelDeploymentMicrofrontends2
|
|
6720
6647
|
> = z.object({
|
|
6721
6648
|
isDefaultApp: z.boolean(),
|
|
6722
|
-
applications: z.record(
|
|
6723
|
-
z.lazy(() => MicrofrontendsApplications$outboundSchema),
|
|
6724
|
-
).optional(),
|
|
6725
6649
|
mfeConfigUploadState: MicrofrontendsMfeConfigUploadState$outboundSchema
|
|
6726
6650
|
.optional(),
|
|
6727
6651
|
defaultAppProjectName: z.string(),
|
|
@@ -1730,22 +1730,6 @@ export type Flags1 = {
|
|
|
1730
1730
|
|
|
1731
1731
|
export type Flags = Flags1 | Array<Flags2>;
|
|
1732
1732
|
|
|
1733
|
-
/**
|
|
1734
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1735
|
-
*/
|
|
1736
|
-
export type CreateDeploymentMicrofrontendsApplications = {
|
|
1737
|
-
isDefaultApp?: boolean | undefined;
|
|
1738
|
-
/**
|
|
1739
|
-
* This is the production alias, it will always show the most up to date of each application.
|
|
1740
|
-
*/
|
|
1741
|
-
productionHost: string;
|
|
1742
|
-
/**
|
|
1743
|
-
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
1744
|
-
*/
|
|
1745
|
-
deploymentAlias?: string | undefined;
|
|
1746
|
-
deploymentHost?: string | undefined;
|
|
1747
|
-
};
|
|
1748
|
-
|
|
1749
1733
|
/**
|
|
1750
1734
|
* 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.
|
|
1751
1735
|
*/
|
|
@@ -1761,12 +1745,6 @@ export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
|
|
|
1761
1745
|
|
|
1762
1746
|
export type CreateDeploymentMicrofrontends2 = {
|
|
1763
1747
|
isDefaultApp: boolean;
|
|
1764
|
-
/**
|
|
1765
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1766
|
-
*/
|
|
1767
|
-
applications?:
|
|
1768
|
-
| { [k: string]: CreateDeploymentMicrofrontendsApplications }
|
|
1769
|
-
| undefined;
|
|
1770
1748
|
/**
|
|
1771
1749
|
* 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.
|
|
1772
1750
|
*/
|
|
@@ -7661,62 +7639,6 @@ export function flagsFromJSON(
|
|
|
7661
7639
|
);
|
|
7662
7640
|
}
|
|
7663
7641
|
|
|
7664
|
-
/** @internal */
|
|
7665
|
-
export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
|
|
7666
|
-
z.ZodType<CreateDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown> =
|
|
7667
|
-
z.object({
|
|
7668
|
-
isDefaultApp: z.boolean().optional(),
|
|
7669
|
-
productionHost: z.string(),
|
|
7670
|
-
deploymentAlias: z.string().optional(),
|
|
7671
|
-
deploymentHost: z.string().optional(),
|
|
7672
|
-
});
|
|
7673
|
-
/** @internal */
|
|
7674
|
-
export type CreateDeploymentMicrofrontendsApplications$Outbound = {
|
|
7675
|
-
isDefaultApp?: boolean | undefined;
|
|
7676
|
-
productionHost: string;
|
|
7677
|
-
deploymentAlias?: string | undefined;
|
|
7678
|
-
deploymentHost?: string | undefined;
|
|
7679
|
-
};
|
|
7680
|
-
|
|
7681
|
-
/** @internal */
|
|
7682
|
-
export const CreateDeploymentMicrofrontendsApplications$outboundSchema:
|
|
7683
|
-
z.ZodType<
|
|
7684
|
-
CreateDeploymentMicrofrontendsApplications$Outbound,
|
|
7685
|
-
z.ZodTypeDef,
|
|
7686
|
-
CreateDeploymentMicrofrontendsApplications
|
|
7687
|
-
> = z.object({
|
|
7688
|
-
isDefaultApp: z.boolean().optional(),
|
|
7689
|
-
productionHost: z.string(),
|
|
7690
|
-
deploymentAlias: z.string().optional(),
|
|
7691
|
-
deploymentHost: z.string().optional(),
|
|
7692
|
-
});
|
|
7693
|
-
|
|
7694
|
-
export function createDeploymentMicrofrontendsApplicationsToJSON(
|
|
7695
|
-
createDeploymentMicrofrontendsApplications:
|
|
7696
|
-
CreateDeploymentMicrofrontendsApplications,
|
|
7697
|
-
): string {
|
|
7698
|
-
return JSON.stringify(
|
|
7699
|
-
CreateDeploymentMicrofrontendsApplications$outboundSchema.parse(
|
|
7700
|
-
createDeploymentMicrofrontendsApplications,
|
|
7701
|
-
),
|
|
7702
|
-
);
|
|
7703
|
-
}
|
|
7704
|
-
export function createDeploymentMicrofrontendsApplicationsFromJSON(
|
|
7705
|
-
jsonString: string,
|
|
7706
|
-
): SafeParseResult<
|
|
7707
|
-
CreateDeploymentMicrofrontendsApplications,
|
|
7708
|
-
SDKValidationError
|
|
7709
|
-
> {
|
|
7710
|
-
return safeParse(
|
|
7711
|
-
jsonString,
|
|
7712
|
-
(x) =>
|
|
7713
|
-
CreateDeploymentMicrofrontendsApplications$inboundSchema.parse(
|
|
7714
|
-
JSON.parse(x),
|
|
7715
|
-
),
|
|
7716
|
-
`Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`,
|
|
7717
|
-
);
|
|
7718
|
-
}
|
|
7719
|
-
|
|
7720
7642
|
/** @internal */
|
|
7721
7643
|
export const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum<
|
|
7722
7644
|
typeof MfeConfigUploadState
|
|
@@ -7733,9 +7655,6 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
7733
7655
|
unknown
|
|
7734
7656
|
> = z.object({
|
|
7735
7657
|
isDefaultApp: z.boolean(),
|
|
7736
|
-
applications: z.record(
|
|
7737
|
-
z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema),
|
|
7738
|
-
).optional(),
|
|
7739
7658
|
mfeConfigUploadState: MfeConfigUploadState$inboundSchema.optional(),
|
|
7740
7659
|
defaultAppProjectName: z.string(),
|
|
7741
7660
|
defaultRoute: z.string().optional(),
|
|
@@ -7744,9 +7663,6 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
7744
7663
|
/** @internal */
|
|
7745
7664
|
export type CreateDeploymentMicrofrontends2$Outbound = {
|
|
7746
7665
|
isDefaultApp: boolean;
|
|
7747
|
-
applications?: {
|
|
7748
|
-
[k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
|
|
7749
|
-
} | undefined;
|
|
7750
7666
|
mfeConfigUploadState?: string | undefined;
|
|
7751
7667
|
defaultAppProjectName: string;
|
|
7752
7668
|
defaultRoute?: string | undefined;
|
|
@@ -7760,9 +7676,6 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
7760
7676
|
CreateDeploymentMicrofrontends2
|
|
7761
7677
|
> = z.object({
|
|
7762
7678
|
isDefaultApp: z.boolean(),
|
|
7763
|
-
applications: z.record(
|
|
7764
|
-
z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema),
|
|
7765
|
-
).optional(),
|
|
7766
7679
|
mfeConfigUploadState: MfeConfigUploadState$outboundSchema.optional(),
|
|
7767
7680
|
defaultAppProjectName: z.string(),
|
|
7768
7681
|
defaultRoute: z.string().optional(),
|