@vercel/sdk 1.11.1 → 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 +1329 -1215
- package/bin/mcp-server.js.map +21 -21
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +12 -3
- package/esm/__tests__/domains.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 +11 -1
- package/esm/__tests__/security.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 +6 -6
- package/esm/models/canceldeploymentop.js +2 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +41 -41
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +15 -15
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +273 -246
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +317 -296
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +162 -164
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +154 -156
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +6 -6
- package/esm/models/getdeploymentop.js +2 -2
- package/esm/models/getdeploymentop.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/getprojectsop.d.ts +0 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +0 -2
- package/esm/models/getprojectsop.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/updateprojectdatacacheop.d.ts +0 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +0 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +0 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +0 -2
- 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 +960 -770
- 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__/domains.test.ts +12 -3
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +11 -1
- 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 +4 -4
- package/src/models/createdeploymentop.ts +19 -19
- package/src/models/createintegrationstoredirectop.ts +543 -507
- package/src/models/createprojectop.ts +299 -303
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +4 -4
- package/src/models/getdomaintransferop.ts +203 -39
- package/src/models/getprojectsop.ts +0 -4
- package/src/models/patchteamop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +0 -4
- package/src/models/updateprojectop.ts +0 -4
- package/src/models/uploadfileop.ts +0 -9
- package/src/models/userevent.ts +2219 -1917
- package/vercel-spec.json +613 -503
|
@@ -2010,15 +2010,15 @@ export type GetDeploymentMicrofrontendsApplications = {
|
|
|
2010
2010
|
};
|
|
2011
2011
|
|
|
2012
2012
|
/**
|
|
2013
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
2013
|
+
* 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.
|
|
2014
2014
|
*/
|
|
2015
2015
|
export const GetDeploymentMicrofrontendsMfeConfigUploadState = {
|
|
2016
|
-
Error: "error",
|
|
2017
2016
|
Success: "success",
|
|
2017
|
+
WaitingOnBuild: "waiting_on_build",
|
|
2018
2018
|
NoConfig: "no_config",
|
|
2019
2019
|
} as const;
|
|
2020
2020
|
/**
|
|
2021
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
2021
|
+
* 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.
|
|
2022
2022
|
*/
|
|
2023
2023
|
export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
2024
2024
|
typeof GetDeploymentMicrofrontendsMfeConfigUploadState
|
|
@@ -2033,7 +2033,7 @@ export type GetDeploymentMicrofrontends2 = {
|
|
|
2033
2033
|
| { [k: string]: GetDeploymentMicrofrontendsApplications }
|
|
2034
2034
|
| undefined;
|
|
2035
2035
|
/**
|
|
2036
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
2036
|
+
* 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.
|
|
2037
2037
|
*/
|
|
2038
2038
|
mfeConfigUploadState?:
|
|
2039
2039
|
| GetDeploymentMicrofrontendsMfeConfigUploadState
|
|
@@ -23,7 +23,7 @@ export type GetDomainTransferRequest = {
|
|
|
23
23
|
/**
|
|
24
24
|
* The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
|
|
25
25
|
*/
|
|
26
|
-
export const
|
|
26
|
+
export const ResponseBodyTransferPolicy = {
|
|
27
27
|
ChargeAndRenew: "charge-and-renew",
|
|
28
28
|
NoChargeNoChange: "no-charge-no-change",
|
|
29
29
|
NoChange: "no-change",
|
|
@@ -33,28 +33,30 @@ export const TransferPolicy = {
|
|
|
33
33
|
/**
|
|
34
34
|
* The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
|
|
35
35
|
*/
|
|
36
|
-
export type
|
|
36
|
+
export type ResponseBodyTransferPolicy = ClosedEnum<
|
|
37
|
+
typeof ResponseBodyTransferPolicy
|
|
38
|
+
>;
|
|
37
39
|
|
|
38
40
|
/**
|
|
39
41
|
* The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
|
|
40
42
|
*/
|
|
41
|
-
export const
|
|
43
|
+
export const GetDomainTransferResponseBodyStatus = {
|
|
44
|
+
Completed: "completed",
|
|
45
|
+
Undef: "undef",
|
|
42
46
|
PendingOwner: "pending_owner",
|
|
43
47
|
PendingAdmin: "pending_admin",
|
|
44
48
|
PendingRegistry: "pending_registry",
|
|
45
|
-
Completed: "completed",
|
|
46
49
|
Cancelled: "cancelled",
|
|
47
|
-
Undef: "undef",
|
|
48
50
|
Unknown: "unknown",
|
|
49
51
|
} as const;
|
|
50
52
|
/**
|
|
51
53
|
* The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
|
|
52
54
|
*/
|
|
53
|
-
export type
|
|
54
|
-
typeof
|
|
55
|
+
export type GetDomainTransferResponseBodyStatus = ClosedEnum<
|
|
56
|
+
typeof GetDomainTransferResponseBodyStatus
|
|
55
57
|
>;
|
|
56
58
|
|
|
57
|
-
export type
|
|
59
|
+
export type GetDomainTransferResponseBody2 = {
|
|
58
60
|
/**
|
|
59
61
|
* Whether or not the domain is transferable
|
|
60
62
|
*/
|
|
@@ -62,7 +64,7 @@ export type GetDomainTransferResponseBody = {
|
|
|
62
64
|
/**
|
|
63
65
|
* The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
|
|
64
66
|
*/
|
|
65
|
-
transferPolicy:
|
|
67
|
+
transferPolicy: ResponseBodyTransferPolicy | null;
|
|
66
68
|
/**
|
|
67
69
|
* Description associated with transferable state.
|
|
68
70
|
*/
|
|
@@ -70,9 +72,25 @@ export type GetDomainTransferResponseBody = {
|
|
|
70
72
|
/**
|
|
71
73
|
* The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
|
|
72
74
|
*/
|
|
73
|
-
status:
|
|
75
|
+
status: GetDomainTransferResponseBodyStatus;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export const TransferPolicy = {
|
|
79
|
+
ChargeAndRenew: "charge-and-renew",
|
|
80
|
+
} as const;
|
|
81
|
+
export type TransferPolicy = ClosedEnum<typeof TransferPolicy>;
|
|
82
|
+
|
|
83
|
+
export type GetDomainTransferResponseBody1 = {
|
|
84
|
+
reason: string;
|
|
85
|
+
status: string;
|
|
86
|
+
transferable: boolean;
|
|
87
|
+
transferPolicy: TransferPolicy;
|
|
74
88
|
};
|
|
75
89
|
|
|
90
|
+
export type GetDomainTransferResponseBody =
|
|
91
|
+
| GetDomainTransferResponseBody1
|
|
92
|
+
| GetDomainTransferResponseBody2;
|
|
93
|
+
|
|
76
94
|
/** @internal */
|
|
77
95
|
export const GetDomainTransferRequest$inboundSchema: z.ZodType<
|
|
78
96
|
GetDomainTransferRequest,
|
|
@@ -133,6 +151,115 @@ export function getDomainTransferRequestFromJSON(
|
|
|
133
151
|
);
|
|
134
152
|
}
|
|
135
153
|
|
|
154
|
+
/** @internal */
|
|
155
|
+
export const ResponseBodyTransferPolicy$inboundSchema: z.ZodNativeEnum<
|
|
156
|
+
typeof ResponseBodyTransferPolicy
|
|
157
|
+
> = z.nativeEnum(ResponseBodyTransferPolicy);
|
|
158
|
+
|
|
159
|
+
/** @internal */
|
|
160
|
+
export const ResponseBodyTransferPolicy$outboundSchema: z.ZodNativeEnum<
|
|
161
|
+
typeof ResponseBodyTransferPolicy
|
|
162
|
+
> = ResponseBodyTransferPolicy$inboundSchema;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
+
*/
|
|
168
|
+
export namespace ResponseBodyTransferPolicy$ {
|
|
169
|
+
/** @deprecated use `ResponseBodyTransferPolicy$inboundSchema` instead. */
|
|
170
|
+
export const inboundSchema = ResponseBodyTransferPolicy$inboundSchema;
|
|
171
|
+
/** @deprecated use `ResponseBodyTransferPolicy$outboundSchema` instead. */
|
|
172
|
+
export const outboundSchema = ResponseBodyTransferPolicy$outboundSchema;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/** @internal */
|
|
176
|
+
export const GetDomainTransferResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
177
|
+
typeof GetDomainTransferResponseBodyStatus
|
|
178
|
+
> = z.nativeEnum(GetDomainTransferResponseBodyStatus);
|
|
179
|
+
|
|
180
|
+
/** @internal */
|
|
181
|
+
export const GetDomainTransferResponseBodyStatus$outboundSchema:
|
|
182
|
+
z.ZodNativeEnum<typeof GetDomainTransferResponseBodyStatus> =
|
|
183
|
+
GetDomainTransferResponseBodyStatus$inboundSchema;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
188
|
+
*/
|
|
189
|
+
export namespace GetDomainTransferResponseBodyStatus$ {
|
|
190
|
+
/** @deprecated use `GetDomainTransferResponseBodyStatus$inboundSchema` instead. */
|
|
191
|
+
export const inboundSchema =
|
|
192
|
+
GetDomainTransferResponseBodyStatus$inboundSchema;
|
|
193
|
+
/** @deprecated use `GetDomainTransferResponseBodyStatus$outboundSchema` instead. */
|
|
194
|
+
export const outboundSchema =
|
|
195
|
+
GetDomainTransferResponseBodyStatus$outboundSchema;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** @internal */
|
|
199
|
+
export const GetDomainTransferResponseBody2$inboundSchema: z.ZodType<
|
|
200
|
+
GetDomainTransferResponseBody2,
|
|
201
|
+
z.ZodTypeDef,
|
|
202
|
+
unknown
|
|
203
|
+
> = z.object({
|
|
204
|
+
transferable: z.boolean(),
|
|
205
|
+
transferPolicy: z.nullable(ResponseBodyTransferPolicy$inboundSchema),
|
|
206
|
+
reason: z.string(),
|
|
207
|
+
status: GetDomainTransferResponseBodyStatus$inboundSchema,
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
/** @internal */
|
|
211
|
+
export type GetDomainTransferResponseBody2$Outbound = {
|
|
212
|
+
transferable: boolean;
|
|
213
|
+
transferPolicy: string | null;
|
|
214
|
+
reason: string;
|
|
215
|
+
status: string;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/** @internal */
|
|
219
|
+
export const GetDomainTransferResponseBody2$outboundSchema: z.ZodType<
|
|
220
|
+
GetDomainTransferResponseBody2$Outbound,
|
|
221
|
+
z.ZodTypeDef,
|
|
222
|
+
GetDomainTransferResponseBody2
|
|
223
|
+
> = z.object({
|
|
224
|
+
transferable: z.boolean(),
|
|
225
|
+
transferPolicy: z.nullable(ResponseBodyTransferPolicy$outboundSchema),
|
|
226
|
+
reason: z.string(),
|
|
227
|
+
status: GetDomainTransferResponseBodyStatus$outboundSchema,
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @internal
|
|
232
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
233
|
+
*/
|
|
234
|
+
export namespace GetDomainTransferResponseBody2$ {
|
|
235
|
+
/** @deprecated use `GetDomainTransferResponseBody2$inboundSchema` instead. */
|
|
236
|
+
export const inboundSchema = GetDomainTransferResponseBody2$inboundSchema;
|
|
237
|
+
/** @deprecated use `GetDomainTransferResponseBody2$outboundSchema` instead. */
|
|
238
|
+
export const outboundSchema = GetDomainTransferResponseBody2$outboundSchema;
|
|
239
|
+
/** @deprecated use `GetDomainTransferResponseBody2$Outbound` instead. */
|
|
240
|
+
export type Outbound = GetDomainTransferResponseBody2$Outbound;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export function getDomainTransferResponseBody2ToJSON(
|
|
244
|
+
getDomainTransferResponseBody2: GetDomainTransferResponseBody2,
|
|
245
|
+
): string {
|
|
246
|
+
return JSON.stringify(
|
|
247
|
+
GetDomainTransferResponseBody2$outboundSchema.parse(
|
|
248
|
+
getDomainTransferResponseBody2,
|
|
249
|
+
),
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export function getDomainTransferResponseBody2FromJSON(
|
|
254
|
+
jsonString: string,
|
|
255
|
+
): SafeParseResult<GetDomainTransferResponseBody2, SDKValidationError> {
|
|
256
|
+
return safeParse(
|
|
257
|
+
jsonString,
|
|
258
|
+
(x) => GetDomainTransferResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
259
|
+
`Failed to parse 'GetDomainTransferResponseBody2' from JSON`,
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
|
|
136
263
|
/** @internal */
|
|
137
264
|
export const TransferPolicy$inboundSchema: z.ZodNativeEnum<
|
|
138
265
|
typeof TransferPolicy
|
|
@@ -155,24 +282,68 @@ export namespace TransferPolicy$ {
|
|
|
155
282
|
}
|
|
156
283
|
|
|
157
284
|
/** @internal */
|
|
158
|
-
export const
|
|
159
|
-
|
|
160
|
-
|
|
285
|
+
export const GetDomainTransferResponseBody1$inboundSchema: z.ZodType<
|
|
286
|
+
GetDomainTransferResponseBody1,
|
|
287
|
+
z.ZodTypeDef,
|
|
288
|
+
unknown
|
|
289
|
+
> = z.object({
|
|
290
|
+
reason: z.string(),
|
|
291
|
+
status: z.string(),
|
|
292
|
+
transferable: z.boolean(),
|
|
293
|
+
transferPolicy: TransferPolicy$inboundSchema,
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
/** @internal */
|
|
297
|
+
export type GetDomainTransferResponseBody1$Outbound = {
|
|
298
|
+
reason: string;
|
|
299
|
+
status: string;
|
|
300
|
+
transferable: boolean;
|
|
301
|
+
transferPolicy: string;
|
|
302
|
+
};
|
|
161
303
|
|
|
162
304
|
/** @internal */
|
|
163
|
-
export const
|
|
164
|
-
|
|
165
|
-
|
|
305
|
+
export const GetDomainTransferResponseBody1$outboundSchema: z.ZodType<
|
|
306
|
+
GetDomainTransferResponseBody1$Outbound,
|
|
307
|
+
z.ZodTypeDef,
|
|
308
|
+
GetDomainTransferResponseBody1
|
|
309
|
+
> = z.object({
|
|
310
|
+
reason: z.string(),
|
|
311
|
+
status: z.string(),
|
|
312
|
+
transferable: z.boolean(),
|
|
313
|
+
transferPolicy: TransferPolicy$outboundSchema,
|
|
314
|
+
});
|
|
166
315
|
|
|
167
316
|
/**
|
|
168
317
|
* @internal
|
|
169
318
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
170
319
|
*/
|
|
171
|
-
export namespace
|
|
172
|
-
/** @deprecated use `
|
|
173
|
-
export const inboundSchema =
|
|
174
|
-
/** @deprecated use `
|
|
175
|
-
export const outboundSchema =
|
|
320
|
+
export namespace GetDomainTransferResponseBody1$ {
|
|
321
|
+
/** @deprecated use `GetDomainTransferResponseBody1$inboundSchema` instead. */
|
|
322
|
+
export const inboundSchema = GetDomainTransferResponseBody1$inboundSchema;
|
|
323
|
+
/** @deprecated use `GetDomainTransferResponseBody1$outboundSchema` instead. */
|
|
324
|
+
export const outboundSchema = GetDomainTransferResponseBody1$outboundSchema;
|
|
325
|
+
/** @deprecated use `GetDomainTransferResponseBody1$Outbound` instead. */
|
|
326
|
+
export type Outbound = GetDomainTransferResponseBody1$Outbound;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export function getDomainTransferResponseBody1ToJSON(
|
|
330
|
+
getDomainTransferResponseBody1: GetDomainTransferResponseBody1,
|
|
331
|
+
): string {
|
|
332
|
+
return JSON.stringify(
|
|
333
|
+
GetDomainTransferResponseBody1$outboundSchema.parse(
|
|
334
|
+
getDomainTransferResponseBody1,
|
|
335
|
+
),
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export function getDomainTransferResponseBody1FromJSON(
|
|
340
|
+
jsonString: string,
|
|
341
|
+
): SafeParseResult<GetDomainTransferResponseBody1, SDKValidationError> {
|
|
342
|
+
return safeParse(
|
|
343
|
+
jsonString,
|
|
344
|
+
(x) => GetDomainTransferResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
345
|
+
`Failed to parse 'GetDomainTransferResponseBody1' from JSON`,
|
|
346
|
+
);
|
|
176
347
|
}
|
|
177
348
|
|
|
178
349
|
/** @internal */
|
|
@@ -180,32 +351,25 @@ export const GetDomainTransferResponseBody$inboundSchema: z.ZodType<
|
|
|
180
351
|
GetDomainTransferResponseBody,
|
|
181
352
|
z.ZodTypeDef,
|
|
182
353
|
unknown
|
|
183
|
-
> = z.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
status: GetDomainTransferStatus$inboundSchema,
|
|
188
|
-
});
|
|
354
|
+
> = z.union([
|
|
355
|
+
z.lazy(() => GetDomainTransferResponseBody1$inboundSchema),
|
|
356
|
+
z.lazy(() => GetDomainTransferResponseBody2$inboundSchema),
|
|
357
|
+
]);
|
|
189
358
|
|
|
190
359
|
/** @internal */
|
|
191
|
-
export type GetDomainTransferResponseBody$Outbound =
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
reason: string;
|
|
195
|
-
status: string;
|
|
196
|
-
};
|
|
360
|
+
export type GetDomainTransferResponseBody$Outbound =
|
|
361
|
+
| GetDomainTransferResponseBody1$Outbound
|
|
362
|
+
| GetDomainTransferResponseBody2$Outbound;
|
|
197
363
|
|
|
198
364
|
/** @internal */
|
|
199
365
|
export const GetDomainTransferResponseBody$outboundSchema: z.ZodType<
|
|
200
366
|
GetDomainTransferResponseBody$Outbound,
|
|
201
367
|
z.ZodTypeDef,
|
|
202
368
|
GetDomainTransferResponseBody
|
|
203
|
-
> = z.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
status: GetDomainTransferStatus$outboundSchema,
|
|
208
|
-
});
|
|
369
|
+
> = z.union([
|
|
370
|
+
z.lazy(() => GetDomainTransferResponseBody1$outboundSchema),
|
|
371
|
+
z.lazy(() => GetDomainTransferResponseBody2$outboundSchema),
|
|
372
|
+
]);
|
|
209
373
|
|
|
210
374
|
/**
|
|
211
375
|
* @internal
|
|
@@ -1534,7 +1534,6 @@ export type GetProjectsPermissions = {
|
|
|
1534
1534
|
jobGlobal?: Array<ACLAction> | undefined;
|
|
1535
1535
|
drain?: Array<ACLAction> | undefined;
|
|
1536
1536
|
logDrain?: Array<ACLAction> | undefined;
|
|
1537
|
-
traceDrain?: Array<ACLAction> | undefined;
|
|
1538
1537
|
monitoring?: Array<ACLAction> | undefined;
|
|
1539
1538
|
monitoringSettings?: Array<ACLAction> | undefined;
|
|
1540
1539
|
monitoringQuery?: Array<ACLAction> | undefined;
|
|
@@ -8689,7 +8688,6 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
|
|
|
8689
8688
|
jobGlobal: z.array(ACLAction$inboundSchema).optional(),
|
|
8690
8689
|
drain: z.array(ACLAction$inboundSchema).optional(),
|
|
8691
8690
|
logDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
8692
|
-
traceDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
8693
8691
|
Monitoring: z.array(ACLAction$inboundSchema).optional(),
|
|
8694
8692
|
monitoringSettings: z.array(ACLAction$inboundSchema).optional(),
|
|
8695
8693
|
monitoringQuery: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -8913,7 +8911,6 @@ export type GetProjectsPermissions$Outbound = {
|
|
|
8913
8911
|
jobGlobal?: Array<string> | undefined;
|
|
8914
8912
|
drain?: Array<string> | undefined;
|
|
8915
8913
|
logDrain?: Array<string> | undefined;
|
|
8916
|
-
traceDrain?: Array<string> | undefined;
|
|
8917
8914
|
Monitoring?: Array<string> | undefined;
|
|
8918
8915
|
monitoringSettings?: Array<string> | undefined;
|
|
8919
8916
|
monitoringQuery?: Array<string> | undefined;
|
|
@@ -9142,7 +9139,6 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
|
|
|
9142
9139
|
jobGlobal: z.array(ACLAction$outboundSchema).optional(),
|
|
9143
9140
|
drain: z.array(ACLAction$outboundSchema).optional(),
|
|
9144
9141
|
logDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
9145
|
-
traceDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
9146
9142
|
monitoring: z.array(ACLAction$outboundSchema).optional(),
|
|
9147
9143
|
monitoringSettings: z.array(ACLAction$outboundSchema).optional(),
|
|
9148
9144
|
monitoringQuery: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -122,6 +122,8 @@ export type PatchTeamDefaultDeploymentProtection = {
|
|
|
122
122
|
* The time period to keep non-production deployments for
|
|
123
123
|
*/
|
|
124
124
|
export const Expiration = {
|
|
125
|
+
Threey: "3y",
|
|
126
|
+
Twoy: "2y",
|
|
125
127
|
Oney: "1y",
|
|
126
128
|
Sixm: "6m",
|
|
127
129
|
Threem: "3m",
|
|
@@ -141,6 +143,8 @@ export type Expiration = ClosedEnum<typeof Expiration>;
|
|
|
141
143
|
* The time period to keep production deployments for
|
|
142
144
|
*/
|
|
143
145
|
export const ExpirationProduction = {
|
|
146
|
+
Threey: "3y",
|
|
147
|
+
Twoy: "2y",
|
|
144
148
|
Oney: "1y",
|
|
145
149
|
Sixm: "6m",
|
|
146
150
|
Threem: "3m",
|
|
@@ -1402,7 +1402,6 @@ export type Permissions = {
|
|
|
1402
1402
|
jobGlobal?: Array<ACLAction> | undefined;
|
|
1403
1403
|
drain?: Array<ACLAction> | undefined;
|
|
1404
1404
|
logDrain?: Array<ACLAction> | undefined;
|
|
1405
|
-
traceDrain?: Array<ACLAction> | undefined;
|
|
1406
1405
|
monitoring?: Array<ACLAction> | undefined;
|
|
1407
1406
|
monitoringSettings?: Array<ACLAction> | undefined;
|
|
1408
1407
|
monitoringQuery?: Array<ACLAction> | undefined;
|
|
@@ -8497,7 +8496,6 @@ export const Permissions$inboundSchema: z.ZodType<
|
|
|
8497
8496
|
jobGlobal: z.array(ACLAction$inboundSchema).optional(),
|
|
8498
8497
|
drain: z.array(ACLAction$inboundSchema).optional(),
|
|
8499
8498
|
logDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
8500
|
-
traceDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
8501
8499
|
Monitoring: z.array(ACLAction$inboundSchema).optional(),
|
|
8502
8500
|
monitoringSettings: z.array(ACLAction$inboundSchema).optional(),
|
|
8503
8501
|
monitoringQuery: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -8723,7 +8721,6 @@ export type Permissions$Outbound = {
|
|
|
8723
8721
|
jobGlobal?: Array<string> | undefined;
|
|
8724
8722
|
drain?: Array<string> | undefined;
|
|
8725
8723
|
logDrain?: Array<string> | undefined;
|
|
8726
|
-
traceDrain?: Array<string> | undefined;
|
|
8727
8724
|
Monitoring?: Array<string> | undefined;
|
|
8728
8725
|
monitoringSettings?: Array<string> | undefined;
|
|
8729
8726
|
monitoringQuery?: Array<string> | undefined;
|
|
@@ -8950,7 +8947,6 @@ export const Permissions$outboundSchema: z.ZodType<
|
|
|
8950
8947
|
jobGlobal: z.array(ACLAction$outboundSchema).optional(),
|
|
8951
8948
|
drain: z.array(ACLAction$outboundSchema).optional(),
|
|
8952
8949
|
logDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
8953
|
-
traceDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
8954
8950
|
monitoring: z.array(ACLAction$outboundSchema).optional(),
|
|
8955
8951
|
monitoringSettings: z.array(ACLAction$outboundSchema).optional(),
|
|
8956
8952
|
monitoringQuery: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -1858,7 +1858,6 @@ export type UpdateProjectPermissions = {
|
|
|
1858
1858
|
jobGlobal?: Array<ACLAction> | undefined;
|
|
1859
1859
|
drain?: Array<ACLAction> | undefined;
|
|
1860
1860
|
logDrain?: Array<ACLAction> | undefined;
|
|
1861
|
-
traceDrain?: Array<ACLAction> | undefined;
|
|
1862
1861
|
monitoring?: Array<ACLAction> | undefined;
|
|
1863
1862
|
monitoringSettings?: Array<ACLAction> | undefined;
|
|
1864
1863
|
monitoringQuery?: Array<ACLAction> | undefined;
|
|
@@ -9953,7 +9952,6 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
9953
9952
|
jobGlobal: z.array(ACLAction$inboundSchema).optional(),
|
|
9954
9953
|
drain: z.array(ACLAction$inboundSchema).optional(),
|
|
9955
9954
|
logDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
9956
|
-
traceDrain: z.array(ACLAction$inboundSchema).optional(),
|
|
9957
9955
|
Monitoring: z.array(ACLAction$inboundSchema).optional(),
|
|
9958
9956
|
monitoringSettings: z.array(ACLAction$inboundSchema).optional(),
|
|
9959
9957
|
monitoringQuery: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -10177,7 +10175,6 @@ export type UpdateProjectPermissions$Outbound = {
|
|
|
10177
10175
|
jobGlobal?: Array<string> | undefined;
|
|
10178
10176
|
drain?: Array<string> | undefined;
|
|
10179
10177
|
logDrain?: Array<string> | undefined;
|
|
10180
|
-
traceDrain?: Array<string> | undefined;
|
|
10181
10178
|
Monitoring?: Array<string> | undefined;
|
|
10182
10179
|
monitoringSettings?: Array<string> | undefined;
|
|
10183
10180
|
monitoringQuery?: Array<string> | undefined;
|
|
@@ -10406,7 +10403,6 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
10406
10403
|
jobGlobal: z.array(ACLAction$outboundSchema).optional(),
|
|
10407
10404
|
drain: z.array(ACLAction$outboundSchema).optional(),
|
|
10408
10405
|
logDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
10409
|
-
traceDrain: z.array(ACLAction$outboundSchema).optional(),
|
|
10410
10406
|
monitoring: z.array(ACLAction$outboundSchema).optional(),
|
|
10411
10407
|
monitoringSettings: z.array(ACLAction$outboundSchema).optional(),
|
|
10412
10408
|
monitoringQuery: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -25,10 +25,6 @@ export type UploadFileRequest = {
|
|
|
25
25
|
* The file size as an alternative to `Content-Length`
|
|
26
26
|
*/
|
|
27
27
|
xNowSize?: number | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
|
|
30
|
-
*/
|
|
31
|
-
xInternalV0Token?: string | undefined;
|
|
32
28
|
/**
|
|
33
29
|
* The Team identifier to perform the request on behalf of.
|
|
34
30
|
*/
|
|
@@ -74,7 +70,6 @@ export const UploadFileRequest$inboundSchema: z.ZodType<
|
|
|
74
70
|
"x-vercel-digest": z.string().optional(),
|
|
75
71
|
"x-now-digest": z.string().optional(),
|
|
76
72
|
"x-now-size": z.number().optional(),
|
|
77
|
-
"x-internal-v0-token": z.string().optional(),
|
|
78
73
|
teamId: z.string().optional(),
|
|
79
74
|
slug: z.string().optional(),
|
|
80
75
|
RequestBody: z.union([
|
|
@@ -89,7 +84,6 @@ export const UploadFileRequest$inboundSchema: z.ZodType<
|
|
|
89
84
|
"x-vercel-digest": "xVercelDigest",
|
|
90
85
|
"x-now-digest": "xNowDigest",
|
|
91
86
|
"x-now-size": "xNowSize",
|
|
92
|
-
"x-internal-v0-token": "xInternalV0Token",
|
|
93
87
|
"RequestBody": "requestBody",
|
|
94
88
|
});
|
|
95
89
|
});
|
|
@@ -100,7 +94,6 @@ export type UploadFileRequest$Outbound = {
|
|
|
100
94
|
"x-vercel-digest"?: string | undefined;
|
|
101
95
|
"x-now-digest"?: string | undefined;
|
|
102
96
|
"x-now-size"?: number | undefined;
|
|
103
|
-
"x-internal-v0-token"?: string | undefined;
|
|
104
97
|
teamId?: string | undefined;
|
|
105
98
|
slug?: string | undefined;
|
|
106
99
|
RequestBody?:
|
|
@@ -121,7 +114,6 @@ export const UploadFileRequest$outboundSchema: z.ZodType<
|
|
|
121
114
|
xVercelDigest: z.string().optional(),
|
|
122
115
|
xNowDigest: z.string().optional(),
|
|
123
116
|
xNowSize: z.number().optional(),
|
|
124
|
-
xInternalV0Token: z.string().optional(),
|
|
125
117
|
teamId: z.string().optional(),
|
|
126
118
|
slug: z.string().optional(),
|
|
127
119
|
requestBody: z.union([
|
|
@@ -136,7 +128,6 @@ export const UploadFileRequest$outboundSchema: z.ZodType<
|
|
|
136
128
|
xVercelDigest: "x-vercel-digest",
|
|
137
129
|
xNowDigest: "x-now-digest",
|
|
138
130
|
xNowSize: "x-now-size",
|
|
139
|
-
xInternalV0Token: "x-internal-v0-token",
|
|
140
131
|
requestBody: "RequestBody",
|
|
141
132
|
});
|
|
142
133
|
});
|