@vercel/sdk 1.16.0 → 1.16.1
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/README.md +39 -37
- package/bin/mcp-server.js +1263 -912
- package/bin/mcp-server.js.map +42 -39
- package/docs/sdks/logdrains/README.md +7 -7
- package/docs/sdks/projects/README.md +78 -0
- package/docs/sdks/teams/README.md +1 -1
- package/esm/__tests__/accessgroups.test.js +6 -2
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +5 -5
- 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__/logdrains.test.js +4 -4
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +17 -0
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -7
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/funcs/projectsGetProjectClientCerts.d.ts +17 -0
- package/esm/funcs/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectClientCerts.js +88 -0
- package/esm/funcs/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/funcs/teamsInviteUserToTeam.d.ts +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsCreateLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.d.ts.map +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts +7 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js +28 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js +1 -1
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js.map +1 -1
- package/esm/models/approverollingreleasestageop.d.ts +78 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +18 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/authuser.d.ts +67 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +49 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +106 -1
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +9 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +78 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +18 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +106 -1
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +9 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +285 -285
- package/esm/models/createintegrationstoredirectop.js +351 -351
- package/esm/models/createlogdrainop.d.ts +3 -0
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +1 -0
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +67 -15
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +47 -6
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getdeploymentop.d.ts +212 -2
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +18 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +3 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectclientcertsop.d.ts +97 -0
- package/esm/models/getprojectclientcertsop.d.ts.map +1 -0
- package/esm/models/getprojectclientcertsop.js +87 -0
- package/esm/models/getprojectclientcertsop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +67 -15
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +47 -6
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +78 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +18 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +67 -15
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +47 -6
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +67 -15
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +47 -6
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatestaticipsop.d.ts +3 -3
- package/esm/models/updatestaticipsop.js +1 -1
- package/esm/models/updatestaticipsop.js.map +1 -1
- package/esm/models/userevent.d.ts +176 -30
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +136 -12
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +7 -7
- package/esm/sdk/logdrains.js +7 -7
- package/esm/sdk/projects.d.ts +8 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +10 -0
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/teams.d.ts +1 -1
- package/esm/sdk/teams.js +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 +6 -2
- package/src/__tests__/domains.test.ts +5 -5
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +4 -4
- package/src/__tests__/projects.test.ts +20 -0
- package/src/__tests__/rollingrelease.test.ts +2 -7
- package/src/__tests__/security.test.ts +1 -11
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsCreateLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetAllLogDrains.ts +1 -1
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/funcs/projectsGetProjectClientCerts.ts +177 -0
- package/src/funcs/teamsInviteUserToTeam.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsCreateLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts +2 -1
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/mcp-server/tools/projectsGetProjectClientCerts.ts +37 -0
- package/src/mcp-server/tools/teamsInviteUserToTeam.ts +1 -1
- package/src/models/approverollingreleasestageop.ts +78 -0
- package/src/models/authuser.ts +100 -0
- package/src/models/canceldeploymentop.ts +106 -1
- package/src/models/completerollingreleaseop.ts +78 -0
- package/src/models/createdeploymentop.ts +106 -1
- package/src/models/createintegrationstoredirectop.ts +604 -604
- package/src/models/createlogdrainop.ts +1 -0
- package/src/models/createprojectop.ts +126 -19
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getdeploymentop.ts +212 -2
- package/src/models/getintegrationlogdrainsop.ts +1 -0
- package/src/models/getprojectclientcertsop.ts +207 -0
- package/src/models/getprojectsop.ts +124 -19
- package/src/models/getrollingreleaseop.ts +78 -0
- package/src/models/updateprojectdatacacheop.ts +129 -19
- package/src/models/updateprojectop.ts +126 -19
- package/src/models/updatestaticipsop.ts +1 -1
- package/src/models/userevent.ts +329 -39
- package/src/sdk/logdrains.ts +7 -7
- package/src/sdk/projects.ts +22 -0
- package/src/sdk/teams.ts +1 -1
- package/vercel-spec.json +1092 -278
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { VercelCore } from "../core.js";
|
|
6
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import {
|
|
14
|
+
GetProjectClientCertsRequest,
|
|
15
|
+
GetProjectClientCertsRequest$outboundSchema,
|
|
16
|
+
GetProjectClientCertsResponseBody,
|
|
17
|
+
GetProjectClientCertsResponseBody$inboundSchema,
|
|
18
|
+
} from "../models/getprojectclientcertsop.js";
|
|
19
|
+
import {
|
|
20
|
+
ConnectionError,
|
|
21
|
+
InvalidRequestError,
|
|
22
|
+
RequestAbortedError,
|
|
23
|
+
RequestTimeoutError,
|
|
24
|
+
UnexpectedClientError,
|
|
25
|
+
} from "../models/httpclienterrors.js";
|
|
26
|
+
import { ResponseValidationError } from "../models/responsevalidationerror.js";
|
|
27
|
+
import { SDKValidationError } from "../models/sdkvalidationerror.js";
|
|
28
|
+
import { VercelError } from "../models/vercelerror.js";
|
|
29
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
30
|
+
import { Result } from "../types/fp.js";
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Get client certificates for a project
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Retrieve client certificates configured for a project's mTLS egress authentication.
|
|
37
|
+
*/
|
|
38
|
+
export function projectsGetProjectClientCerts(
|
|
39
|
+
client: VercelCore,
|
|
40
|
+
request: GetProjectClientCertsRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<
|
|
43
|
+
Result<
|
|
44
|
+
GetProjectClientCertsResponseBody,
|
|
45
|
+
| VercelError
|
|
46
|
+
| ResponseValidationError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| InvalidRequestError
|
|
51
|
+
| UnexpectedClientError
|
|
52
|
+
| SDKValidationError
|
|
53
|
+
>
|
|
54
|
+
> {
|
|
55
|
+
return new APIPromise($do(
|
|
56
|
+
client,
|
|
57
|
+
request,
|
|
58
|
+
options,
|
|
59
|
+
));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async function $do(
|
|
63
|
+
client: VercelCore,
|
|
64
|
+
request: GetProjectClientCertsRequest,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
GetProjectClientCertsResponseBody,
|
|
70
|
+
| VercelError
|
|
71
|
+
| ResponseValidationError
|
|
72
|
+
| ConnectionError
|
|
73
|
+
| RequestAbortedError
|
|
74
|
+
| RequestTimeoutError
|
|
75
|
+
| InvalidRequestError
|
|
76
|
+
| UnexpectedClientError
|
|
77
|
+
| SDKValidationError
|
|
78
|
+
>,
|
|
79
|
+
APICall,
|
|
80
|
+
]
|
|
81
|
+
> {
|
|
82
|
+
const parsed = safeParse(
|
|
83
|
+
request,
|
|
84
|
+
(value) => GetProjectClientCertsRequest$outboundSchema.parse(value),
|
|
85
|
+
"Input validation failed",
|
|
86
|
+
);
|
|
87
|
+
if (!parsed.ok) {
|
|
88
|
+
return [parsed, { status: "invalid" }];
|
|
89
|
+
}
|
|
90
|
+
const payload = parsed.value;
|
|
91
|
+
const body = null;
|
|
92
|
+
|
|
93
|
+
const pathParams = {
|
|
94
|
+
idOrName: encodeSimple("idOrName", payload.idOrName, {
|
|
95
|
+
explode: false,
|
|
96
|
+
charEncoding: "percent",
|
|
97
|
+
}),
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
const path = pathToFunc("/v1/projects/{idOrName}/client-cert")(pathParams);
|
|
101
|
+
|
|
102
|
+
const query = encodeFormQuery({
|
|
103
|
+
"slug": payload.slug,
|
|
104
|
+
"teamId": payload.teamId,
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
const headers = new Headers(compactMap({
|
|
108
|
+
Accept: "application/json",
|
|
109
|
+
}));
|
|
110
|
+
|
|
111
|
+
const secConfig = await extractSecurity(client._options.bearerToken);
|
|
112
|
+
const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
|
|
113
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
|
+
|
|
115
|
+
const context = {
|
|
116
|
+
options: client._options,
|
|
117
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
118
|
+
operationID: "getProjectClientCerts",
|
|
119
|
+
oAuth2Scopes: null,
|
|
120
|
+
|
|
121
|
+
resolvedSecurity: requestSecurity,
|
|
122
|
+
|
|
123
|
+
securitySource: client._options.bearerToken,
|
|
124
|
+
retryConfig: options?.retries
|
|
125
|
+
|| client._options.retryConfig
|
|
126
|
+
|| { strategy: "none" },
|
|
127
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
const requestRes = client._createRequest(context, {
|
|
131
|
+
security: requestSecurity,
|
|
132
|
+
method: "GET",
|
|
133
|
+
baseURL: options?.serverURL,
|
|
134
|
+
path: path,
|
|
135
|
+
headers: headers,
|
|
136
|
+
query: query,
|
|
137
|
+
body: body,
|
|
138
|
+
userAgent: client._options.userAgent,
|
|
139
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
140
|
+
}, options);
|
|
141
|
+
if (!requestRes.ok) {
|
|
142
|
+
return [requestRes, { status: "invalid" }];
|
|
143
|
+
}
|
|
144
|
+
const req = requestRes.value;
|
|
145
|
+
|
|
146
|
+
const doResult = await client._do(req, {
|
|
147
|
+
context,
|
|
148
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
|
|
149
|
+
retryConfig: context.retryConfig,
|
|
150
|
+
retryCodes: context.retryCodes,
|
|
151
|
+
});
|
|
152
|
+
if (!doResult.ok) {
|
|
153
|
+
return [doResult, { status: "request-error", request: req }];
|
|
154
|
+
}
|
|
155
|
+
const response = doResult.value;
|
|
156
|
+
|
|
157
|
+
const [result] = await M.match<
|
|
158
|
+
GetProjectClientCertsResponseBody,
|
|
159
|
+
| VercelError
|
|
160
|
+
| ResponseValidationError
|
|
161
|
+
| ConnectionError
|
|
162
|
+
| RequestAbortedError
|
|
163
|
+
| RequestTimeoutError
|
|
164
|
+
| InvalidRequestError
|
|
165
|
+
| UnexpectedClientError
|
|
166
|
+
| SDKValidationError
|
|
167
|
+
>(
|
|
168
|
+
M.json(200, GetProjectClientCertsResponseBody$inboundSchema),
|
|
169
|
+
M.fail([400, 401, 403, 404, "4XX"]),
|
|
170
|
+
M.fail("5XX"),
|
|
171
|
+
)(response, req);
|
|
172
|
+
if (!result.ok) {
|
|
173
|
+
return [result, { status: "complete", request: req, response }];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
return [result, { status: "complete", request: req, response }];
|
|
177
|
+
}
|
|
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
* Invite a user
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user
|
|
36
|
+
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email.
|
|
37
37
|
*/
|
|
38
38
|
export function teamsInviteUserToTeam(
|
|
39
39
|
client: VercelCore,
|
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.16.
|
|
65
|
-
genVersion: "2.730.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.16.
|
|
64
|
+
sdkVersion: "1.16.1",
|
|
65
|
+
genVersion: "2.730.5",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.16.1 2.730.5 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -174,6 +174,7 @@ import { tool$projectsCreateProjectTransferRequest } from "./tools/projectsCreat
|
|
|
174
174
|
import { tool$projectsDeleteProject } from "./tools/projectsDeleteProject.js";
|
|
175
175
|
import { tool$projectsEditProjectEnv } from "./tools/projectsEditProjectEnv.js";
|
|
176
176
|
import { tool$projectsFilterProjectEnvs } from "./tools/projectsFilterProjectEnvs.js";
|
|
177
|
+
import { tool$projectsGetProjectClientCerts } from "./tools/projectsGetProjectClientCerts.js";
|
|
177
178
|
import { tool$projectsGetProjectDomain } from "./tools/projectsGetProjectDomain.js";
|
|
178
179
|
import { tool$projectsGetProjectDomains } from "./tools/projectsGetProjectDomains.js";
|
|
179
180
|
import { tool$projectsGetProjectEnv } from "./tools/projectsGetProjectEnv.js";
|
|
@@ -238,7 +239,7 @@ export function createMCPServer(deps: {
|
|
|
238
239
|
}) {
|
|
239
240
|
const server = new McpServer({
|
|
240
241
|
name: "Vercel",
|
|
241
|
-
version: "1.16.
|
|
242
|
+
version: "1.16.1",
|
|
242
243
|
});
|
|
243
244
|
|
|
244
245
|
const client = new VercelCore({
|
|
@@ -309,6 +310,7 @@ export function createMCPServer(deps: {
|
|
|
309
310
|
tool(tool$projectsEditProjectEnv);
|
|
310
311
|
tool(tool$projectsBatchRemoveProjectEnv);
|
|
311
312
|
tool(tool$projectsUploadProjectClientCert);
|
|
313
|
+
tool(tool$projectsGetProjectClientCerts);
|
|
312
314
|
tool(tool$projectsCreateProjectTransferRequest);
|
|
313
315
|
tool(tool$projectsAcceptProjectTransferRequest);
|
|
314
316
|
tool(tool$projectsUpdateProjectProtectionBypass);
|
|
@@ -14,7 +14,7 @@ export const tool$logDrainsCreateConfigurableLogDrain: ToolDefinition<
|
|
|
14
14
|
typeof args
|
|
15
15
|
> = {
|
|
16
16
|
name: "log-drains-create-configurable-log-drain",
|
|
17
|
-
description: `Creates a Configurable Log Drain
|
|
17
|
+
description: `Creates a Configurable Log Drain (deprecated)
|
|
18
18
|
|
|
19
19
|
Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)`,
|
|
20
20
|
args,
|
|
@@ -12,7 +12,7 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$logDrainsCreateLogDrain: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "log-drains-create-log-drain",
|
|
15
|
-
description: `Creates a new Integration Log Drain
|
|
15
|
+
description: `Creates a new Integration Log Drain (deprecated)
|
|
16
16
|
|
|
17
17
|
Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.`,
|
|
18
18
|
args,
|
|
@@ -14,7 +14,7 @@ export const tool$logDrainsDeleteConfigurableLogDrain: ToolDefinition<
|
|
|
14
14
|
typeof args
|
|
15
15
|
> = {
|
|
16
16
|
name: "log-drains-delete-configurable-log-drain",
|
|
17
|
-
description: `Deletes a Configurable Log Drain
|
|
17
|
+
description: `Deletes a Configurable Log Drain (deprecated)
|
|
18
18
|
|
|
19
19
|
Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.`,
|
|
20
20
|
args,
|
|
@@ -14,7 +14,8 @@ export const tool$logDrainsDeleteIntegrationLogDrain: ToolDefinition<
|
|
|
14
14
|
typeof args
|
|
15
15
|
> = {
|
|
16
16
|
name: "log-drains-delete-integration-log-drain",
|
|
17
|
-
description:
|
|
17
|
+
description:
|
|
18
|
+
`Deletes the Integration log drain with the provided \`id\` (deprecated)
|
|
18
19
|
|
|
19
20
|
Deletes the Integration log drain with the provided \`id\`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.`,
|
|
20
21
|
args,
|
|
@@ -12,7 +12,7 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$logDrainsGetAllLogDrains: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "log-drains-get-all-log-drains",
|
|
15
|
-
description: `Retrieves a list of all the Log Drains
|
|
15
|
+
description: `Retrieves a list of all the Log Drains (deprecated)
|
|
16
16
|
|
|
17
17
|
Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.`,
|
|
18
18
|
args,
|
|
@@ -14,7 +14,7 @@ export const tool$logDrainsGetConfigurableLogDrain: ToolDefinition<
|
|
|
14
14
|
typeof args
|
|
15
15
|
> = {
|
|
16
16
|
name: "log-drains-get-configurable-log-drain",
|
|
17
|
-
description: `Retrieves a Configurable Log Drain
|
|
17
|
+
description: `Retrieves a Configurable Log Drain (deprecated)
|
|
18
18
|
|
|
19
19
|
Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.`,
|
|
20
20
|
args,
|
|
@@ -14,7 +14,7 @@ export const tool$logDrainsGetIntegrationLogDrains: ToolDefinition<
|
|
|
14
14
|
typeof args
|
|
15
15
|
> = {
|
|
16
16
|
name: "log-drains-get-integration-log-drains",
|
|
17
|
-
description: `Retrieves a list of Integration log drains
|
|
17
|
+
description: `Retrieves a list of Integration log drains (deprecated)
|
|
18
18
|
|
|
19
19
|
Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.`,
|
|
20
20
|
args,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { projectsGetProjectClientCerts } from "../../funcs/projectsGetProjectClientCerts.js";
|
|
6
|
+
import { GetProjectClientCertsRequest$inboundSchema } from "../../models/getprojectclientcertsop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: GetProjectClientCertsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$projectsGetProjectClientCerts: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "projects-get-project-client-certs",
|
|
15
|
+
description: `Get client certificates for a project
|
|
16
|
+
|
|
17
|
+
Retrieve client certificates configured for a project's mTLS egress authentication.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await projectsGetProjectClientCerts(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -14,7 +14,7 @@ export const tool$teamsInviteUserToTeam: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "teams-invite-user-to-team",
|
|
15
15
|
description: `Invite a user
|
|
16
16
|
|
|
17
|
-
Invite a user to join the team specified in the URL. The authenticated user needs to be an \`OWNER\` in order to successfully invoke this endpoint. The user
|
|
17
|
+
Invite a user to join the team specified in the URL. The authenticated user needs to be an \`OWNER\` in order to successfully invoke this endpoint. The user to be invited must be specified by email.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await teamsInviteUserToTeam(
|
|
@@ -51,14 +51,23 @@ export type ApproveRollingReleaseStageState = ClosedEnum<
|
|
|
51
51
|
typeof ApproveRollingReleaseStageState
|
|
52
52
|
>;
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
56
|
+
*/
|
|
54
57
|
export const ApproveRollingReleaseStageTarget = {
|
|
55
58
|
Staging: "staging",
|
|
56
59
|
Production: "production",
|
|
57
60
|
} as const;
|
|
61
|
+
/**
|
|
62
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
63
|
+
*/
|
|
58
64
|
export type ApproveRollingReleaseStageTarget = ClosedEnum<
|
|
59
65
|
typeof ApproveRollingReleaseStageTarget
|
|
60
66
|
>;
|
|
61
67
|
|
|
68
|
+
/**
|
|
69
|
+
* Where was the deployment created from
|
|
70
|
+
*/
|
|
62
71
|
export const ApproveRollingReleaseStageSource = {
|
|
63
72
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
64
73
|
Cli: "cli",
|
|
@@ -69,10 +78,16 @@ export const ApproveRollingReleaseStageSource = {
|
|
|
69
78
|
Redeploy: "redeploy",
|
|
70
79
|
V0Web: "v0-web",
|
|
71
80
|
} as const;
|
|
81
|
+
/**
|
|
82
|
+
* Where was the deployment created from
|
|
83
|
+
*/
|
|
72
84
|
export type ApproveRollingReleaseStageSource = ClosedEnum<
|
|
73
85
|
typeof ApproveRollingReleaseStageSource
|
|
74
86
|
>;
|
|
75
87
|
|
|
88
|
+
/**
|
|
89
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
90
|
+
*/
|
|
76
91
|
export const ApproveRollingReleaseStageReadyState = {
|
|
77
92
|
Building: "BUILDING",
|
|
78
93
|
Error: "ERROR",
|
|
@@ -81,6 +96,9 @@ export const ApproveRollingReleaseStageReadyState = {
|
|
|
81
96
|
Ready: "READY",
|
|
82
97
|
Canceled: "CANCELED",
|
|
83
98
|
} as const;
|
|
99
|
+
/**
|
|
100
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
101
|
+
*/
|
|
84
102
|
export type ApproveRollingReleaseStageReadyState = ClosedEnum<
|
|
85
103
|
typeof ApproveRollingReleaseStageReadyState
|
|
86
104
|
>;
|
|
@@ -89,24 +107,54 @@ export type ApproveRollingReleaseStageReadyState = ClosedEnum<
|
|
|
89
107
|
* The current deployment receiving production traffic
|
|
90
108
|
*/
|
|
91
109
|
export type ApproveRollingReleaseStageCurrentDeployment = {
|
|
110
|
+
/**
|
|
111
|
+
* A string holding the unique ID of the deployment
|
|
112
|
+
*/
|
|
92
113
|
id: string;
|
|
114
|
+
/**
|
|
115
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
116
|
+
*/
|
|
93
117
|
name: string;
|
|
118
|
+
/**
|
|
119
|
+
* A string with the unique URL of the deployment
|
|
120
|
+
*/
|
|
94
121
|
url: string;
|
|
122
|
+
/**
|
|
123
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
124
|
+
*/
|
|
95
125
|
target?: ApproveRollingReleaseStageTarget | null | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Where was the deployment created from
|
|
128
|
+
*/
|
|
96
129
|
source?: ApproveRollingReleaseStageSource | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
132
|
+
*/
|
|
97
133
|
createdAt: number;
|
|
134
|
+
/**
|
|
135
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
136
|
+
*/
|
|
98
137
|
readyState: ApproveRollingReleaseStageReadyState;
|
|
99
138
|
readyStateAt?: number | undefined;
|
|
100
139
|
};
|
|
101
140
|
|
|
141
|
+
/**
|
|
142
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
143
|
+
*/
|
|
102
144
|
export const ApproveRollingReleaseStageRollingReleaseTarget = {
|
|
103
145
|
Staging: "staging",
|
|
104
146
|
Production: "production",
|
|
105
147
|
} as const;
|
|
148
|
+
/**
|
|
149
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
150
|
+
*/
|
|
106
151
|
export type ApproveRollingReleaseStageRollingReleaseTarget = ClosedEnum<
|
|
107
152
|
typeof ApproveRollingReleaseStageRollingReleaseTarget
|
|
108
153
|
>;
|
|
109
154
|
|
|
155
|
+
/**
|
|
156
|
+
* Where was the deployment created from
|
|
157
|
+
*/
|
|
110
158
|
export const ApproveRollingReleaseStageRollingReleaseSource = {
|
|
111
159
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
112
160
|
Cli: "cli",
|
|
@@ -117,10 +165,16 @@ export const ApproveRollingReleaseStageRollingReleaseSource = {
|
|
|
117
165
|
Redeploy: "redeploy",
|
|
118
166
|
V0Web: "v0-web",
|
|
119
167
|
} as const;
|
|
168
|
+
/**
|
|
169
|
+
* Where was the deployment created from
|
|
170
|
+
*/
|
|
120
171
|
export type ApproveRollingReleaseStageRollingReleaseSource = ClosedEnum<
|
|
121
172
|
typeof ApproveRollingReleaseStageRollingReleaseSource
|
|
122
173
|
>;
|
|
123
174
|
|
|
175
|
+
/**
|
|
176
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
177
|
+
*/
|
|
124
178
|
export const ApproveRollingReleaseStageRollingReleaseReadyState = {
|
|
125
179
|
Building: "BUILDING",
|
|
126
180
|
Error: "ERROR",
|
|
@@ -129,6 +183,9 @@ export const ApproveRollingReleaseStageRollingReleaseReadyState = {
|
|
|
129
183
|
Ready: "READY",
|
|
130
184
|
Canceled: "CANCELED",
|
|
131
185
|
} as const;
|
|
186
|
+
/**
|
|
187
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
188
|
+
*/
|
|
132
189
|
export type ApproveRollingReleaseStageRollingReleaseReadyState = ClosedEnum<
|
|
133
190
|
typeof ApproveRollingReleaseStageRollingReleaseReadyState
|
|
134
191
|
>;
|
|
@@ -137,12 +194,33 @@ export type ApproveRollingReleaseStageRollingReleaseReadyState = ClosedEnum<
|
|
|
137
194
|
* The canary deployment being rolled out
|
|
138
195
|
*/
|
|
139
196
|
export type ApproveRollingReleaseStageCanaryDeployment = {
|
|
197
|
+
/**
|
|
198
|
+
* A string holding the unique ID of the deployment
|
|
199
|
+
*/
|
|
140
200
|
id: string;
|
|
201
|
+
/**
|
|
202
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
203
|
+
*/
|
|
141
204
|
name: string;
|
|
205
|
+
/**
|
|
206
|
+
* A string with the unique URL of the deployment
|
|
207
|
+
*/
|
|
142
208
|
url: string;
|
|
209
|
+
/**
|
|
210
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
211
|
+
*/
|
|
143
212
|
target?: ApproveRollingReleaseStageRollingReleaseTarget | null | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* Where was the deployment created from
|
|
215
|
+
*/
|
|
144
216
|
source?: ApproveRollingReleaseStageRollingReleaseSource | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
219
|
+
*/
|
|
145
220
|
createdAt: number;
|
|
221
|
+
/**
|
|
222
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
223
|
+
*/
|
|
146
224
|
readyState: ApproveRollingReleaseStageRollingReleaseReadyState;
|
|
147
225
|
readyStateAt?: number | undefined;
|
|
148
226
|
};
|
package/src/models/authuser.ts
CHANGED
|
@@ -88,6 +88,28 @@ export type AuthUserBuildEntitlements = {
|
|
|
88
88
|
enhancedBuilds?: boolean | undefined;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
93
|
+
*/
|
|
94
|
+
export const AuthUserConfiguration = {
|
|
95
|
+
SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE",
|
|
96
|
+
WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE",
|
|
97
|
+
} as const;
|
|
98
|
+
/**
|
|
99
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
100
|
+
*/
|
|
101
|
+
export type AuthUserConfiguration = ClosedEnum<typeof AuthUserConfiguration>;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
105
|
+
*/
|
|
106
|
+
export type BuildQueue = {
|
|
107
|
+
/**
|
|
108
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
109
|
+
*/
|
|
110
|
+
configuration?: AuthUserConfiguration | undefined;
|
|
111
|
+
};
|
|
112
|
+
|
|
91
113
|
/**
|
|
92
114
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
93
115
|
*/
|
|
@@ -164,6 +186,10 @@ export type AuthUserResourceConfig = {
|
|
|
164
186
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
165
187
|
*/
|
|
166
188
|
buildEntitlements?: AuthUserBuildEntitlements | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
191
|
+
*/
|
|
192
|
+
buildQueue?: BuildQueue | undefined;
|
|
167
193
|
/**
|
|
168
194
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
169
195
|
*/
|
|
@@ -627,6 +653,77 @@ export function authUserBuildEntitlementsFromJSON(
|
|
|
627
653
|
);
|
|
628
654
|
}
|
|
629
655
|
|
|
656
|
+
/** @internal */
|
|
657
|
+
export const AuthUserConfiguration$inboundSchema: z.ZodNativeEnum<
|
|
658
|
+
typeof AuthUserConfiguration
|
|
659
|
+
> = z.nativeEnum(AuthUserConfiguration);
|
|
660
|
+
|
|
661
|
+
/** @internal */
|
|
662
|
+
export const AuthUserConfiguration$outboundSchema: z.ZodNativeEnum<
|
|
663
|
+
typeof AuthUserConfiguration
|
|
664
|
+
> = AuthUserConfiguration$inboundSchema;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @internal
|
|
668
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
669
|
+
*/
|
|
670
|
+
export namespace AuthUserConfiguration$ {
|
|
671
|
+
/** @deprecated use `AuthUserConfiguration$inboundSchema` instead. */
|
|
672
|
+
export const inboundSchema = AuthUserConfiguration$inboundSchema;
|
|
673
|
+
/** @deprecated use `AuthUserConfiguration$outboundSchema` instead. */
|
|
674
|
+
export const outboundSchema = AuthUserConfiguration$outboundSchema;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** @internal */
|
|
678
|
+
export const BuildQueue$inboundSchema: z.ZodType<
|
|
679
|
+
BuildQueue,
|
|
680
|
+
z.ZodTypeDef,
|
|
681
|
+
unknown
|
|
682
|
+
> = z.object({
|
|
683
|
+
configuration: AuthUserConfiguration$inboundSchema.optional(),
|
|
684
|
+
});
|
|
685
|
+
|
|
686
|
+
/** @internal */
|
|
687
|
+
export type BuildQueue$Outbound = {
|
|
688
|
+
configuration?: string | undefined;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
/** @internal */
|
|
692
|
+
export const BuildQueue$outboundSchema: z.ZodType<
|
|
693
|
+
BuildQueue$Outbound,
|
|
694
|
+
z.ZodTypeDef,
|
|
695
|
+
BuildQueue
|
|
696
|
+
> = z.object({
|
|
697
|
+
configuration: AuthUserConfiguration$outboundSchema.optional(),
|
|
698
|
+
});
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @internal
|
|
702
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
703
|
+
*/
|
|
704
|
+
export namespace BuildQueue$ {
|
|
705
|
+
/** @deprecated use `BuildQueue$inboundSchema` instead. */
|
|
706
|
+
export const inboundSchema = BuildQueue$inboundSchema;
|
|
707
|
+
/** @deprecated use `BuildQueue$outboundSchema` instead. */
|
|
708
|
+
export const outboundSchema = BuildQueue$outboundSchema;
|
|
709
|
+
/** @deprecated use `BuildQueue$Outbound` instead. */
|
|
710
|
+
export type Outbound = BuildQueue$Outbound;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export function buildQueueToJSON(buildQueue: BuildQueue): string {
|
|
714
|
+
return JSON.stringify(BuildQueue$outboundSchema.parse(buildQueue));
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export function buildQueueFromJSON(
|
|
718
|
+
jsonString: string,
|
|
719
|
+
): SafeParseResult<BuildQueue, SDKValidationError> {
|
|
720
|
+
return safeParse(
|
|
721
|
+
jsonString,
|
|
722
|
+
(x) => BuildQueue$inboundSchema.parse(JSON.parse(x)),
|
|
723
|
+
`Failed to parse 'BuildQueue' from JSON`,
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
|
|
630
727
|
/** @internal */
|
|
631
728
|
export const PurchaseType$inboundSchema: z.ZodNativeEnum<typeof PurchaseType> =
|
|
632
729
|
z.nativeEnum(PurchaseType);
|
|
@@ -779,6 +876,7 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType<
|
|
|
779
876
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
780
877
|
buildEntitlements: z.lazy(() => AuthUserBuildEntitlements$inboundSchema)
|
|
781
878
|
.optional(),
|
|
879
|
+
buildQueue: z.lazy(() => BuildQueue$inboundSchema).optional(),
|
|
782
880
|
awsAccountType: z.string().optional(),
|
|
783
881
|
awsAccountIds: z.array(z.string()).optional(),
|
|
784
882
|
cfZoneName: z.string().optional(),
|
|
@@ -809,6 +907,7 @@ export type AuthUserResourceConfig$Outbound = {
|
|
|
809
907
|
concurrentBuilds?: number | undefined;
|
|
810
908
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
811
909
|
buildEntitlements?: AuthUserBuildEntitlements$Outbound | undefined;
|
|
910
|
+
buildQueue?: BuildQueue$Outbound | undefined;
|
|
812
911
|
awsAccountType?: string | undefined;
|
|
813
912
|
awsAccountIds?: Array<string> | undefined;
|
|
814
913
|
cfZoneName?: string | undefined;
|
|
@@ -844,6 +943,7 @@ export const AuthUserResourceConfig$outboundSchema: z.ZodType<
|
|
|
844
943
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
845
944
|
buildEntitlements: z.lazy(() => AuthUserBuildEntitlements$outboundSchema)
|
|
846
945
|
.optional(),
|
|
946
|
+
buildQueue: z.lazy(() => BuildQueue$outboundSchema).optional(),
|
|
847
947
|
awsAccountType: z.string().optional(),
|
|
848
948
|
awsAccountIds: z.array(z.string()).optional(),
|
|
849
949
|
cfZoneName: z.string().optional(),
|