@vercel/sdk 1.11.2 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -59
- package/bin/mcp-server.js +4502 -3066
- package/bin/mcp-server.js.map +46 -40
- package/docs/sdks/deployments/README.md +8 -0
- package/docs/sdks/edgecache/README.md +169 -0
- package/docs/sdks/integrations/README.md +83 -0
- package/docs/sdks/projects/README.md +0 -2
- package/docs/sdks/vercel/README.md +0 -74
- package/esm/__tests__/deployments.test.js +1 -1
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -12
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +28 -1
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +9 -0
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- 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__/vercel.test.js +3 -27
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +1 -0
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
- package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts → edgeCacheInvalidateByTags.d.ts} +9 -3
- package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
- package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
- package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
- package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
- package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
- package/esm/funcs/marketplaceImportResource.js +2 -2
- package/esm/funcs/marketplaceImportResource.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +0 -1
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/url.js +1 -1
- package/esm/lib/url.js.map +1 -1
- 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 +7 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
- package/esm/models/approverollingreleasestageop.d.ts +15 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +6 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +63 -50
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +59 -54
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +15 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +6 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +289 -144
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +259 -124
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +2 -2
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -2
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +906 -308
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +1077 -371
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +126 -4
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +129 -1
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +43 -30
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +24 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
- package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
- package/esm/models/dangerouslydeletebytagsop.js +117 -0
- package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
- package/esm/models/getbillingplansop.d.ts +257 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -0
- package/esm/models/getbillingplansop.js +244 -0
- package/esm/models/getbillingplansop.js.map +1 -0
- package/esm/models/getconfigurationop.d.ts +8 -8
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +12 -12
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +909 -390
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +1104 -471
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +3 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +1 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +33 -20
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +25 -20
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +8 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +3 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +2 -2
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -2
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +130 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +206 -178
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +207 -166
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
- package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseconfigop.js +2 -0
- package/esm/models/getrollingreleaseconfigop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +15 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +6 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +3 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +1 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +15 -15
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +17 -15
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/invalidatebytagsop.d.ts +115 -0
- package/esm/models/invalidatebytagsop.d.ts.map +1 -0
- package/esm/models/invalidatebytagsop.js +116 -0
- package/esm/models/invalidatebytagsop.js.map +1 -0
- package/esm/models/updateedgeconfigop.d.ts +2 -2
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -2
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +10 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +5 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +149 -136
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +146 -140
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
- package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.js +2 -0
- package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
- package/esm/models/userevent.d.ts +1300 -1049
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1654 -1406
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/edgecache.d.ts +20 -0
- package/esm/sdk/edgecache.d.ts.map +1 -0
- package/esm/sdk/edgecache.js +28 -0
- package/esm/sdk/edgecache.js.map +1 -0
- package/esm/sdk/integrations.d.ts +8 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +10 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +4 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -5
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/deployments.test.ts +1 -1
- package/src/__tests__/domains.test.ts +3 -12
- package/src/__tests__/integrations.test.ts +32 -1
- package/src/__tests__/logdrains.test.ts +9 -0
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +4 -4
- package/src/__tests__/vercel.test.ts +4 -33
- package/src/funcs/deploymentsGetDeployments.ts +1 -0
- package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
- package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
- package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
- package/src/funcs/marketplaceImportResource.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -5
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
- package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
- package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
- package/src/models/approverollingreleasestageop.ts +21 -0
- package/src/models/canceldeploymentop.ts +127 -104
- package/src/models/completerollingreleaseop.ts +21 -0
- package/src/models/createdeploymentop.ts +532 -226
- package/src/models/createedgeconfigop.ts +4 -4
- package/src/models/createintegrationstoredirectop.ts +2459 -673
- package/src/models/createlogdrainop.ts +260 -2
- package/src/models/createprojectop.ts +43 -30
- package/src/models/dangerouslydeletebytagsop.ts +249 -0
- package/src/models/getbillingplansop.ts +508 -0
- package/src/models/getconfigurationop.ts +20 -15
- package/src/models/getconfigurationproductsop.ts +2433 -838
- package/src/models/getconfigurationsop.ts +1 -0
- package/src/models/getdeploymentop.ts +63 -48
- package/src/models/getdeploymentsop.ts +8 -0
- package/src/models/getedgeconfigop.ts +4 -4
- package/src/models/getintegrationlogdrainsop.ts +237 -0
- package/src/models/getprojectsop.ts +434 -336
- package/src/models/getrollingreleaseconfigop.ts +7 -0
- package/src/models/getrollingreleaseop.ts +21 -0
- package/src/models/getwebhooksop.ts +1 -0
- package/src/models/importresourceop.ts +27 -29
- package/src/models/invalidatebytagsop.ts +227 -0
- package/src/models/updateedgeconfigop.ts +4 -4
- package/src/models/updateprojectdatacacheop.ts +12 -0
- package/src/models/updateprojectop.ts +299 -286
- package/src/models/updaterollingreleaseconfigop.ts +7 -0
- package/src/models/userevent.ts +3017 -2473
- package/src/sdk/edgecache.ts +46 -0
- package/src/sdk/integrations.ts +22 -0
- package/src/sdk/sdk.ts +7 -23
- package/vercel-spec.json +3578 -2444
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
|
@@ -15,7 +15,6 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
15
15
|
export const DeliveryFormat = {
|
|
16
16
|
Json: "json",
|
|
17
17
|
Ndjson: "ndjson",
|
|
18
|
-
Syslog: "syslog",
|
|
19
18
|
} as const;
|
|
20
19
|
/**
|
|
21
20
|
* The delivery log format
|
|
@@ -53,7 +52,7 @@ export type CreateLogDrainRequestBody = {
|
|
|
53
52
|
*/
|
|
54
53
|
deliveryFormat?: DeliveryFormat | undefined;
|
|
55
54
|
/**
|
|
56
|
-
* The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson
|
|
55
|
+
* The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`.
|
|
57
56
|
*/
|
|
58
57
|
url: string;
|
|
59
58
|
sources?: Array<Sources> | undefined;
|
|
@@ -136,6 +135,36 @@ export type CreateLogDrainEnvironments = ClosedEnum<
|
|
|
136
135
|
typeof CreateLogDrainEnvironments
|
|
137
136
|
>;
|
|
138
137
|
|
|
138
|
+
export const CreateLogDrainSourceLogDrainsKind = {
|
|
139
|
+
Integration: "integration",
|
|
140
|
+
} as const;
|
|
141
|
+
export type CreateLogDrainSourceLogDrainsKind = ClosedEnum<
|
|
142
|
+
typeof CreateLogDrainSourceLogDrainsKind
|
|
143
|
+
>;
|
|
144
|
+
|
|
145
|
+
export type CreateLogDrainSource2 = {
|
|
146
|
+
kind: CreateLogDrainSourceLogDrainsKind;
|
|
147
|
+
resourceId?: string | undefined;
|
|
148
|
+
externalResourceId?: string | undefined;
|
|
149
|
+
integrationId: string;
|
|
150
|
+
integrationConfigurationId: string;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export const CreateLogDrainSourceKind = {
|
|
154
|
+
SelfServed: "self-served",
|
|
155
|
+
} as const;
|
|
156
|
+
export type CreateLogDrainSourceKind = ClosedEnum<
|
|
157
|
+
typeof CreateLogDrainSourceKind
|
|
158
|
+
>;
|
|
159
|
+
|
|
160
|
+
export type CreateLogDrainSource1 = {
|
|
161
|
+
kind: CreateLogDrainSourceKind;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export type CreateLogDrainSource =
|
|
165
|
+
| CreateLogDrainSource2
|
|
166
|
+
| CreateLogDrainSource1;
|
|
167
|
+
|
|
139
168
|
/**
|
|
140
169
|
* The log drain was successfully created
|
|
141
170
|
*/
|
|
@@ -201,6 +230,7 @@ export type CreateLogDrainResponseBody = {
|
|
|
201
230
|
* The sampling rate of log drain
|
|
202
231
|
*/
|
|
203
232
|
samplingRate?: number | undefined;
|
|
233
|
+
source: CreateLogDrainSource2 | CreateLogDrainSource1;
|
|
204
234
|
};
|
|
205
235
|
|
|
206
236
|
/** @internal */
|
|
@@ -489,6 +519,225 @@ export namespace CreateLogDrainEnvironments$ {
|
|
|
489
519
|
export const outboundSchema = CreateLogDrainEnvironments$outboundSchema;
|
|
490
520
|
}
|
|
491
521
|
|
|
522
|
+
/** @internal */
|
|
523
|
+
export const CreateLogDrainSourceLogDrainsKind$inboundSchema: z.ZodNativeEnum<
|
|
524
|
+
typeof CreateLogDrainSourceLogDrainsKind
|
|
525
|
+
> = z.nativeEnum(CreateLogDrainSourceLogDrainsKind);
|
|
526
|
+
|
|
527
|
+
/** @internal */
|
|
528
|
+
export const CreateLogDrainSourceLogDrainsKind$outboundSchema: z.ZodNativeEnum<
|
|
529
|
+
typeof CreateLogDrainSourceLogDrainsKind
|
|
530
|
+
> = CreateLogDrainSourceLogDrainsKind$inboundSchema;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @internal
|
|
534
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
535
|
+
*/
|
|
536
|
+
export namespace CreateLogDrainSourceLogDrainsKind$ {
|
|
537
|
+
/** @deprecated use `CreateLogDrainSourceLogDrainsKind$inboundSchema` instead. */
|
|
538
|
+
export const inboundSchema = CreateLogDrainSourceLogDrainsKind$inboundSchema;
|
|
539
|
+
/** @deprecated use `CreateLogDrainSourceLogDrainsKind$outboundSchema` instead. */
|
|
540
|
+
export const outboundSchema =
|
|
541
|
+
CreateLogDrainSourceLogDrainsKind$outboundSchema;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/** @internal */
|
|
545
|
+
export const CreateLogDrainSource2$inboundSchema: z.ZodType<
|
|
546
|
+
CreateLogDrainSource2,
|
|
547
|
+
z.ZodTypeDef,
|
|
548
|
+
unknown
|
|
549
|
+
> = z.object({
|
|
550
|
+
kind: CreateLogDrainSourceLogDrainsKind$inboundSchema,
|
|
551
|
+
resourceId: z.string().optional(),
|
|
552
|
+
externalResourceId: z.string().optional(),
|
|
553
|
+
integrationId: z.string(),
|
|
554
|
+
integrationConfigurationId: z.string(),
|
|
555
|
+
});
|
|
556
|
+
|
|
557
|
+
/** @internal */
|
|
558
|
+
export type CreateLogDrainSource2$Outbound = {
|
|
559
|
+
kind: string;
|
|
560
|
+
resourceId?: string | undefined;
|
|
561
|
+
externalResourceId?: string | undefined;
|
|
562
|
+
integrationId: string;
|
|
563
|
+
integrationConfigurationId: string;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
/** @internal */
|
|
567
|
+
export const CreateLogDrainSource2$outboundSchema: z.ZodType<
|
|
568
|
+
CreateLogDrainSource2$Outbound,
|
|
569
|
+
z.ZodTypeDef,
|
|
570
|
+
CreateLogDrainSource2
|
|
571
|
+
> = z.object({
|
|
572
|
+
kind: CreateLogDrainSourceLogDrainsKind$outboundSchema,
|
|
573
|
+
resourceId: z.string().optional(),
|
|
574
|
+
externalResourceId: z.string().optional(),
|
|
575
|
+
integrationId: z.string(),
|
|
576
|
+
integrationConfigurationId: z.string(),
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @internal
|
|
581
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
582
|
+
*/
|
|
583
|
+
export namespace CreateLogDrainSource2$ {
|
|
584
|
+
/** @deprecated use `CreateLogDrainSource2$inboundSchema` instead. */
|
|
585
|
+
export const inboundSchema = CreateLogDrainSource2$inboundSchema;
|
|
586
|
+
/** @deprecated use `CreateLogDrainSource2$outboundSchema` instead. */
|
|
587
|
+
export const outboundSchema = CreateLogDrainSource2$outboundSchema;
|
|
588
|
+
/** @deprecated use `CreateLogDrainSource2$Outbound` instead. */
|
|
589
|
+
export type Outbound = CreateLogDrainSource2$Outbound;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export function createLogDrainSource2ToJSON(
|
|
593
|
+
createLogDrainSource2: CreateLogDrainSource2,
|
|
594
|
+
): string {
|
|
595
|
+
return JSON.stringify(
|
|
596
|
+
CreateLogDrainSource2$outboundSchema.parse(createLogDrainSource2),
|
|
597
|
+
);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export function createLogDrainSource2FromJSON(
|
|
601
|
+
jsonString: string,
|
|
602
|
+
): SafeParseResult<CreateLogDrainSource2, SDKValidationError> {
|
|
603
|
+
return safeParse(
|
|
604
|
+
jsonString,
|
|
605
|
+
(x) => CreateLogDrainSource2$inboundSchema.parse(JSON.parse(x)),
|
|
606
|
+
`Failed to parse 'CreateLogDrainSource2' from JSON`,
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/** @internal */
|
|
611
|
+
export const CreateLogDrainSourceKind$inboundSchema: z.ZodNativeEnum<
|
|
612
|
+
typeof CreateLogDrainSourceKind
|
|
613
|
+
> = z.nativeEnum(CreateLogDrainSourceKind);
|
|
614
|
+
|
|
615
|
+
/** @internal */
|
|
616
|
+
export const CreateLogDrainSourceKind$outboundSchema: z.ZodNativeEnum<
|
|
617
|
+
typeof CreateLogDrainSourceKind
|
|
618
|
+
> = CreateLogDrainSourceKind$inboundSchema;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @internal
|
|
622
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
623
|
+
*/
|
|
624
|
+
export namespace CreateLogDrainSourceKind$ {
|
|
625
|
+
/** @deprecated use `CreateLogDrainSourceKind$inboundSchema` instead. */
|
|
626
|
+
export const inboundSchema = CreateLogDrainSourceKind$inboundSchema;
|
|
627
|
+
/** @deprecated use `CreateLogDrainSourceKind$outboundSchema` instead. */
|
|
628
|
+
export const outboundSchema = CreateLogDrainSourceKind$outboundSchema;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/** @internal */
|
|
632
|
+
export const CreateLogDrainSource1$inboundSchema: z.ZodType<
|
|
633
|
+
CreateLogDrainSource1,
|
|
634
|
+
z.ZodTypeDef,
|
|
635
|
+
unknown
|
|
636
|
+
> = z.object({
|
|
637
|
+
kind: CreateLogDrainSourceKind$inboundSchema,
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
/** @internal */
|
|
641
|
+
export type CreateLogDrainSource1$Outbound = {
|
|
642
|
+
kind: string;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
/** @internal */
|
|
646
|
+
export const CreateLogDrainSource1$outboundSchema: z.ZodType<
|
|
647
|
+
CreateLogDrainSource1$Outbound,
|
|
648
|
+
z.ZodTypeDef,
|
|
649
|
+
CreateLogDrainSource1
|
|
650
|
+
> = z.object({
|
|
651
|
+
kind: CreateLogDrainSourceKind$outboundSchema,
|
|
652
|
+
});
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @internal
|
|
656
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
657
|
+
*/
|
|
658
|
+
export namespace CreateLogDrainSource1$ {
|
|
659
|
+
/** @deprecated use `CreateLogDrainSource1$inboundSchema` instead. */
|
|
660
|
+
export const inboundSchema = CreateLogDrainSource1$inboundSchema;
|
|
661
|
+
/** @deprecated use `CreateLogDrainSource1$outboundSchema` instead. */
|
|
662
|
+
export const outboundSchema = CreateLogDrainSource1$outboundSchema;
|
|
663
|
+
/** @deprecated use `CreateLogDrainSource1$Outbound` instead. */
|
|
664
|
+
export type Outbound = CreateLogDrainSource1$Outbound;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export function createLogDrainSource1ToJSON(
|
|
668
|
+
createLogDrainSource1: CreateLogDrainSource1,
|
|
669
|
+
): string {
|
|
670
|
+
return JSON.stringify(
|
|
671
|
+
CreateLogDrainSource1$outboundSchema.parse(createLogDrainSource1),
|
|
672
|
+
);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export function createLogDrainSource1FromJSON(
|
|
676
|
+
jsonString: string,
|
|
677
|
+
): SafeParseResult<CreateLogDrainSource1, SDKValidationError> {
|
|
678
|
+
return safeParse(
|
|
679
|
+
jsonString,
|
|
680
|
+
(x) => CreateLogDrainSource1$inboundSchema.parse(JSON.parse(x)),
|
|
681
|
+
`Failed to parse 'CreateLogDrainSource1' from JSON`,
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/** @internal */
|
|
686
|
+
export const CreateLogDrainSource$inboundSchema: z.ZodType<
|
|
687
|
+
CreateLogDrainSource,
|
|
688
|
+
z.ZodTypeDef,
|
|
689
|
+
unknown
|
|
690
|
+
> = z.union([
|
|
691
|
+
z.lazy(() => CreateLogDrainSource2$inboundSchema),
|
|
692
|
+
z.lazy(() => CreateLogDrainSource1$inboundSchema),
|
|
693
|
+
]);
|
|
694
|
+
|
|
695
|
+
/** @internal */
|
|
696
|
+
export type CreateLogDrainSource$Outbound =
|
|
697
|
+
| CreateLogDrainSource2$Outbound
|
|
698
|
+
| CreateLogDrainSource1$Outbound;
|
|
699
|
+
|
|
700
|
+
/** @internal */
|
|
701
|
+
export const CreateLogDrainSource$outboundSchema: z.ZodType<
|
|
702
|
+
CreateLogDrainSource$Outbound,
|
|
703
|
+
z.ZodTypeDef,
|
|
704
|
+
CreateLogDrainSource
|
|
705
|
+
> = z.union([
|
|
706
|
+
z.lazy(() => CreateLogDrainSource2$outboundSchema),
|
|
707
|
+
z.lazy(() => CreateLogDrainSource1$outboundSchema),
|
|
708
|
+
]);
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* @internal
|
|
712
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
713
|
+
*/
|
|
714
|
+
export namespace CreateLogDrainSource$ {
|
|
715
|
+
/** @deprecated use `CreateLogDrainSource$inboundSchema` instead. */
|
|
716
|
+
export const inboundSchema = CreateLogDrainSource$inboundSchema;
|
|
717
|
+
/** @deprecated use `CreateLogDrainSource$outboundSchema` instead. */
|
|
718
|
+
export const outboundSchema = CreateLogDrainSource$outboundSchema;
|
|
719
|
+
/** @deprecated use `CreateLogDrainSource$Outbound` instead. */
|
|
720
|
+
export type Outbound = CreateLogDrainSource$Outbound;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export function createLogDrainSourceToJSON(
|
|
724
|
+
createLogDrainSource: CreateLogDrainSource,
|
|
725
|
+
): string {
|
|
726
|
+
return JSON.stringify(
|
|
727
|
+
CreateLogDrainSource$outboundSchema.parse(createLogDrainSource),
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export function createLogDrainSourceFromJSON(
|
|
732
|
+
jsonString: string,
|
|
733
|
+
): SafeParseResult<CreateLogDrainSource, SDKValidationError> {
|
|
734
|
+
return safeParse(
|
|
735
|
+
jsonString,
|
|
736
|
+
(x) => CreateLogDrainSource$inboundSchema.parse(JSON.parse(x)),
|
|
737
|
+
`Failed to parse 'CreateLogDrainSource' from JSON`,
|
|
738
|
+
);
|
|
739
|
+
}
|
|
740
|
+
|
|
492
741
|
/** @internal */
|
|
493
742
|
export const CreateLogDrainResponseBody$inboundSchema: z.ZodType<
|
|
494
743
|
CreateLogDrainResponseBody,
|
|
@@ -511,6 +760,10 @@ export const CreateLogDrainResponseBody$inboundSchema: z.ZodType<
|
|
|
511
760
|
environments: z.array(CreateLogDrainEnvironments$inboundSchema).optional(),
|
|
512
761
|
branch: z.string().optional(),
|
|
513
762
|
samplingRate: z.number().optional(),
|
|
763
|
+
source: z.union([
|
|
764
|
+
z.lazy(() => CreateLogDrainSource2$inboundSchema),
|
|
765
|
+
z.lazy(() => CreateLogDrainSource1$inboundSchema),
|
|
766
|
+
]),
|
|
514
767
|
});
|
|
515
768
|
|
|
516
769
|
/** @internal */
|
|
@@ -531,6 +784,7 @@ export type CreateLogDrainResponseBody$Outbound = {
|
|
|
531
784
|
environments?: Array<string> | undefined;
|
|
532
785
|
branch?: string | undefined;
|
|
533
786
|
samplingRate?: number | undefined;
|
|
787
|
+
source: CreateLogDrainSource2$Outbound | CreateLogDrainSource1$Outbound;
|
|
534
788
|
};
|
|
535
789
|
|
|
536
790
|
/** @internal */
|
|
@@ -555,6 +809,10 @@ export const CreateLogDrainResponseBody$outboundSchema: z.ZodType<
|
|
|
555
809
|
environments: z.array(CreateLogDrainEnvironments$outboundSchema).optional(),
|
|
556
810
|
branch: z.string().optional(),
|
|
557
811
|
samplingRate: z.number().optional(),
|
|
812
|
+
source: z.union([
|
|
813
|
+
z.lazy(() => CreateLogDrainSource2$outboundSchema),
|
|
814
|
+
z.lazy(() => CreateLogDrainSource1$outboundSchema),
|
|
815
|
+
]),
|
|
558
816
|
});
|
|
559
817
|
|
|
560
818
|
/**
|
|
@@ -125,6 +125,7 @@ export const CreateProjectFramework = {
|
|
|
125
125
|
Nitro: "nitro",
|
|
126
126
|
Hono: "hono",
|
|
127
127
|
Express: "express",
|
|
128
|
+
H3: "h3",
|
|
128
129
|
Xmcp: "xmcp",
|
|
129
130
|
} as const;
|
|
130
131
|
/**
|
|
@@ -467,10 +468,10 @@ export type CreateProjectProjectsTarget =
|
|
|
467
468
|
|
|
468
469
|
export const CreateProjectProjectsResponseType = {
|
|
469
470
|
System: "system",
|
|
470
|
-
Secret: "secret",
|
|
471
471
|
Encrypted: "encrypted",
|
|
472
472
|
Plain: "plain",
|
|
473
473
|
Sensitive: "sensitive",
|
|
474
|
+
Secret: "secret",
|
|
474
475
|
} as const;
|
|
475
476
|
export type CreateProjectProjectsResponseType = ClosedEnum<
|
|
476
477
|
typeof CreateProjectProjectsResponseType
|
|
@@ -946,6 +947,7 @@ export const CreateProjectProjectsFramework = {
|
|
|
946
947
|
Nitro: "nitro",
|
|
947
948
|
Hono: "hono",
|
|
948
949
|
Express: "express",
|
|
950
|
+
H3: "h3",
|
|
949
951
|
Xmcp: "xmcp",
|
|
950
952
|
} as const;
|
|
951
953
|
export type CreateProjectProjectsFramework = ClosedEnum<
|
|
@@ -1230,18 +1232,18 @@ export type CreateProjectLinkProjectsDeployHooks = {
|
|
|
1230
1232
|
|
|
1231
1233
|
export type CreateProjectLink2 = {
|
|
1232
1234
|
type: CreateProjectLinkProjectsType;
|
|
1233
|
-
updatedAt?: number | undefined;
|
|
1234
|
-
createdAt?: number | undefined;
|
|
1235
1235
|
repo?: string | undefined;
|
|
1236
|
-
|
|
1236
|
+
repoId?: number | undefined;
|
|
1237
|
+
createdAt?: number | undefined;
|
|
1238
|
+
updatedAt?: number | undefined;
|
|
1237
1239
|
org: string;
|
|
1238
1240
|
/**
|
|
1239
1241
|
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
1240
1242
|
*/
|
|
1241
1243
|
repoOwnerId?: number | undefined;
|
|
1242
|
-
repoId?: number | undefined;
|
|
1243
1244
|
deployHooks: Array<CreateProjectLinkProjectsDeployHooks>;
|
|
1244
1245
|
gitCredentialId: string;
|
|
1246
|
+
sourceless?: boolean | undefined;
|
|
1245
1247
|
productionBranch: string;
|
|
1246
1248
|
};
|
|
1247
1249
|
|
|
@@ -1361,6 +1363,7 @@ export type CreateProjectBuildMachineType = ClosedEnum<
|
|
|
1361
1363
|
>;
|
|
1362
1364
|
|
|
1363
1365
|
export type CreateProjectProjectsResourceConfig = {
|
|
1366
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1364
1367
|
fluid?: boolean | undefined;
|
|
1365
1368
|
functionDefaultRegions: Array<string>;
|
|
1366
1369
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -1368,7 +1371,6 @@ export type CreateProjectProjectsResourceConfig = {
|
|
|
1368
1371
|
| CreateProjectFunctionDefaultMemoryType
|
|
1369
1372
|
| undefined;
|
|
1370
1373
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1371
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1372
1374
|
buildMachineType?: CreateProjectBuildMachineType | undefined;
|
|
1373
1375
|
isNSNBDisabled?: boolean | undefined;
|
|
1374
1376
|
};
|
|
@@ -1411,6 +1413,10 @@ export type CreateProjectStages = {
|
|
|
1411
1413
|
* Duration in minutes for automatic advancement to the next stage
|
|
1412
1414
|
*/
|
|
1413
1415
|
duration?: number | undefined;
|
|
1416
|
+
/**
|
|
1417
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
1418
|
+
*/
|
|
1419
|
+
linearShift?: boolean | undefined;
|
|
1414
1420
|
};
|
|
1415
1421
|
|
|
1416
1422
|
/**
|
|
@@ -1449,6 +1455,7 @@ export type CreateProjectProjectsBuildMachineType = ClosedEnum<
|
|
|
1449
1455
|
>;
|
|
1450
1456
|
|
|
1451
1457
|
export type CreateProjectDefaultResourceConfig = {
|
|
1458
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1452
1459
|
fluid?: boolean | undefined;
|
|
1453
1460
|
functionDefaultRegions: Array<string>;
|
|
1454
1461
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -1456,14 +1463,13 @@ export type CreateProjectDefaultResourceConfig = {
|
|
|
1456
1463
|
| CreateProjectProjectsFunctionDefaultMemoryType
|
|
1457
1464
|
| undefined;
|
|
1458
1465
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1459
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1460
1466
|
buildMachineType?: CreateProjectProjectsBuildMachineType | undefined;
|
|
1461
1467
|
isNSNBDisabled?: boolean | undefined;
|
|
1462
1468
|
};
|
|
1463
1469
|
|
|
1464
1470
|
export const CreateProjectProjectsDeploymentType = {
|
|
1465
|
-
All: "all",
|
|
1466
1471
|
Preview: "preview",
|
|
1472
|
+
All: "all",
|
|
1467
1473
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1468
1474
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1469
1475
|
} as const;
|
|
@@ -1782,6 +1788,7 @@ export type CreateProjectPermissions = {
|
|
|
1782
1788
|
vercelRunExec?: Array<ACLAction> | undefined;
|
|
1783
1789
|
apiKey?: Array<ACLAction> | undefined;
|
|
1784
1790
|
apiKeyOwnedBySelf?: Array<ACLAction> | undefined;
|
|
1791
|
+
apiKeyAiGateway?: Array<ACLAction> | undefined;
|
|
1785
1792
|
aliasProject?: Array<ACLAction> | undefined;
|
|
1786
1793
|
aliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
1787
1794
|
buildMachine?: Array<ACLAction> | undefined;
|
|
@@ -1918,11 +1925,11 @@ export type CreateProjectProtectionBypass =
|
|
|
1918
1925
|
| CreateProjectProtectionBypass2;
|
|
1919
1926
|
|
|
1920
1927
|
export const CreateProjectTrustedIpsProjectsDeploymentType = {
|
|
1921
|
-
All: "all",
|
|
1922
1928
|
Preview: "preview",
|
|
1929
|
+
Production: "production",
|
|
1930
|
+
All: "all",
|
|
1923
1931
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1924
1932
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1925
|
-
Production: "production",
|
|
1926
1933
|
} as const;
|
|
1927
1934
|
export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1928
1935
|
typeof CreateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -1933,11 +1940,11 @@ export type CreateProjectTrustedIps2 = {
|
|
|
1933
1940
|
};
|
|
1934
1941
|
|
|
1935
1942
|
export const CreateProjectTrustedIpsDeploymentType = {
|
|
1936
|
-
All: "all",
|
|
1937
1943
|
Preview: "preview",
|
|
1944
|
+
Production: "production",
|
|
1945
|
+
All: "all",
|
|
1938
1946
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1939
1947
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1940
|
-
Production: "production",
|
|
1941
1948
|
} as const;
|
|
1942
1949
|
export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
1943
1950
|
typeof CreateProjectTrustedIpsDeploymentType
|
|
@@ -7461,32 +7468,32 @@ export const CreateProjectLink2$inboundSchema: z.ZodType<
|
|
|
7461
7468
|
unknown
|
|
7462
7469
|
> = z.object({
|
|
7463
7470
|
type: CreateProjectLinkProjectsType$inboundSchema,
|
|
7464
|
-
updatedAt: z.number().optional(),
|
|
7465
|
-
createdAt: z.number().optional(),
|
|
7466
7471
|
repo: z.string().optional(),
|
|
7467
|
-
|
|
7472
|
+
repoId: z.number().optional(),
|
|
7473
|
+
createdAt: z.number().optional(),
|
|
7474
|
+
updatedAt: z.number().optional(),
|
|
7468
7475
|
org: z.string(),
|
|
7469
7476
|
repoOwnerId: z.number().optional(),
|
|
7470
|
-
repoId: z.number().optional(),
|
|
7471
7477
|
deployHooks: z.array(
|
|
7472
7478
|
z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema),
|
|
7473
7479
|
),
|
|
7474
7480
|
gitCredentialId: z.string(),
|
|
7481
|
+
sourceless: z.boolean().optional(),
|
|
7475
7482
|
productionBranch: z.string(),
|
|
7476
7483
|
});
|
|
7477
7484
|
|
|
7478
7485
|
/** @internal */
|
|
7479
7486
|
export type CreateProjectLink2$Outbound = {
|
|
7480
7487
|
type: string;
|
|
7481
|
-
updatedAt?: number | undefined;
|
|
7482
|
-
createdAt?: number | undefined;
|
|
7483
7488
|
repo?: string | undefined;
|
|
7484
|
-
|
|
7489
|
+
repoId?: number | undefined;
|
|
7490
|
+
createdAt?: number | undefined;
|
|
7491
|
+
updatedAt?: number | undefined;
|
|
7485
7492
|
org: string;
|
|
7486
7493
|
repoOwnerId?: number | undefined;
|
|
7487
|
-
repoId?: number | undefined;
|
|
7488
7494
|
deployHooks: Array<CreateProjectLinkProjectsDeployHooks$Outbound>;
|
|
7489
7495
|
gitCredentialId: string;
|
|
7496
|
+
sourceless?: boolean | undefined;
|
|
7490
7497
|
productionBranch: string;
|
|
7491
7498
|
};
|
|
7492
7499
|
|
|
@@ -7497,17 +7504,17 @@ export const CreateProjectLink2$outboundSchema: z.ZodType<
|
|
|
7497
7504
|
CreateProjectLink2
|
|
7498
7505
|
> = z.object({
|
|
7499
7506
|
type: CreateProjectLinkProjectsType$outboundSchema,
|
|
7500
|
-
updatedAt: z.number().optional(),
|
|
7501
|
-
createdAt: z.number().optional(),
|
|
7502
7507
|
repo: z.string().optional(),
|
|
7503
|
-
|
|
7508
|
+
repoId: z.number().optional(),
|
|
7509
|
+
createdAt: z.number().optional(),
|
|
7510
|
+
updatedAt: z.number().optional(),
|
|
7504
7511
|
org: z.string(),
|
|
7505
7512
|
repoOwnerId: z.number().optional(),
|
|
7506
|
-
repoId: z.number().optional(),
|
|
7507
7513
|
deployHooks: z.array(
|
|
7508
7514
|
z.lazy(() => CreateProjectLinkProjectsDeployHooks$outboundSchema),
|
|
7509
7515
|
),
|
|
7510
7516
|
gitCredentialId: z.string(),
|
|
7517
|
+
sourceless: z.boolean().optional(),
|
|
7511
7518
|
productionBranch: z.string(),
|
|
7512
7519
|
});
|
|
7513
7520
|
|
|
@@ -8207,25 +8214,25 @@ export const CreateProjectProjectsResourceConfig$inboundSchema: z.ZodType<
|
|
|
8207
8214
|
z.ZodTypeDef,
|
|
8208
8215
|
unknown
|
|
8209
8216
|
> = z.object({
|
|
8217
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8210
8218
|
fluid: z.boolean().optional(),
|
|
8211
8219
|
functionDefaultRegions: z.array(z.string()),
|
|
8212
8220
|
functionDefaultTimeout: z.number().optional(),
|
|
8213
8221
|
functionDefaultMemoryType:
|
|
8214
8222
|
CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
8215
8223
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
8216
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8217
8224
|
buildMachineType: CreateProjectBuildMachineType$inboundSchema.optional(),
|
|
8218
8225
|
isNSNBDisabled: z.boolean().optional(),
|
|
8219
8226
|
});
|
|
8220
8227
|
|
|
8221
8228
|
/** @internal */
|
|
8222
8229
|
export type CreateProjectProjectsResourceConfig$Outbound = {
|
|
8230
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
8223
8231
|
fluid?: boolean | undefined;
|
|
8224
8232
|
functionDefaultRegions: Array<string>;
|
|
8225
8233
|
functionDefaultTimeout?: number | undefined;
|
|
8226
8234
|
functionDefaultMemoryType?: string | undefined;
|
|
8227
8235
|
functionZeroConfigFailover?: boolean | undefined;
|
|
8228
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
8229
8236
|
buildMachineType?: string | undefined;
|
|
8230
8237
|
isNSNBDisabled?: boolean | undefined;
|
|
8231
8238
|
};
|
|
@@ -8236,13 +8243,13 @@ export const CreateProjectProjectsResourceConfig$outboundSchema: z.ZodType<
|
|
|
8236
8243
|
z.ZodTypeDef,
|
|
8237
8244
|
CreateProjectProjectsResourceConfig
|
|
8238
8245
|
> = z.object({
|
|
8246
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8239
8247
|
fluid: z.boolean().optional(),
|
|
8240
8248
|
functionDefaultRegions: z.array(z.string()),
|
|
8241
8249
|
functionDefaultTimeout: z.number().optional(),
|
|
8242
8250
|
functionDefaultMemoryType:
|
|
8243
8251
|
CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
8244
8252
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
8245
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8246
8253
|
buildMachineType: CreateProjectBuildMachineType$outboundSchema.optional(),
|
|
8247
8254
|
isNSNBDisabled: z.boolean().optional(),
|
|
8248
8255
|
});
|
|
@@ -8357,6 +8364,7 @@ export const CreateProjectStages$inboundSchema: z.ZodType<
|
|
|
8357
8364
|
targetPercentage: z.number(),
|
|
8358
8365
|
requireApproval: z.boolean().optional(),
|
|
8359
8366
|
duration: z.number().optional(),
|
|
8367
|
+
linearShift: z.boolean().optional(),
|
|
8360
8368
|
});
|
|
8361
8369
|
|
|
8362
8370
|
/** @internal */
|
|
@@ -8364,6 +8372,7 @@ export type CreateProjectStages$Outbound = {
|
|
|
8364
8372
|
targetPercentage: number;
|
|
8365
8373
|
requireApproval?: boolean | undefined;
|
|
8366
8374
|
duration?: number | undefined;
|
|
8375
|
+
linearShift?: boolean | undefined;
|
|
8367
8376
|
};
|
|
8368
8377
|
|
|
8369
8378
|
/** @internal */
|
|
@@ -8375,6 +8384,7 @@ export const CreateProjectStages$outboundSchema: z.ZodType<
|
|
|
8375
8384
|
targetPercentage: z.number(),
|
|
8376
8385
|
requireApproval: z.boolean().optional(),
|
|
8377
8386
|
duration: z.number().optional(),
|
|
8387
|
+
linearShift: z.boolean().optional(),
|
|
8378
8388
|
});
|
|
8379
8389
|
|
|
8380
8390
|
/**
|
|
@@ -8525,13 +8535,13 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
8525
8535
|
z.ZodTypeDef,
|
|
8526
8536
|
unknown
|
|
8527
8537
|
> = z.object({
|
|
8538
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8528
8539
|
fluid: z.boolean().optional(),
|
|
8529
8540
|
functionDefaultRegions: z.array(z.string()),
|
|
8530
8541
|
functionDefaultTimeout: z.number().optional(),
|
|
8531
8542
|
functionDefaultMemoryType:
|
|
8532
8543
|
CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
8533
8544
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
8534
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8535
8545
|
buildMachineType: CreateProjectProjectsBuildMachineType$inboundSchema
|
|
8536
8546
|
.optional(),
|
|
8537
8547
|
isNSNBDisabled: z.boolean().optional(),
|
|
@@ -8539,12 +8549,12 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
8539
8549
|
|
|
8540
8550
|
/** @internal */
|
|
8541
8551
|
export type CreateProjectDefaultResourceConfig$Outbound = {
|
|
8552
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
8542
8553
|
fluid?: boolean | undefined;
|
|
8543
8554
|
functionDefaultRegions: Array<string>;
|
|
8544
8555
|
functionDefaultTimeout?: number | undefined;
|
|
8545
8556
|
functionDefaultMemoryType?: string | undefined;
|
|
8546
8557
|
functionZeroConfigFailover?: boolean | undefined;
|
|
8547
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
8548
8558
|
buildMachineType?: string | undefined;
|
|
8549
8559
|
isNSNBDisabled?: boolean | undefined;
|
|
8550
8560
|
};
|
|
@@ -8555,13 +8565,13 @@ export const CreateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
8555
8565
|
z.ZodTypeDef,
|
|
8556
8566
|
CreateProjectDefaultResourceConfig
|
|
8557
8567
|
> = z.object({
|
|
8568
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8558
8569
|
fluid: z.boolean().optional(),
|
|
8559
8570
|
functionDefaultRegions: z.array(z.string()),
|
|
8560
8571
|
functionDefaultTimeout: z.number().optional(),
|
|
8561
8572
|
functionDefaultMemoryType:
|
|
8562
8573
|
CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
8563
8574
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
8564
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
8565
8575
|
buildMachineType: CreateProjectProjectsBuildMachineType$outboundSchema
|
|
8566
8576
|
.optional(),
|
|
8567
8577
|
isNSNBDisabled: z.boolean().optional(),
|
|
@@ -9587,6 +9597,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
9587
9597
|
vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
|
|
9588
9598
|
apiKey: z.array(ACLAction$inboundSchema).optional(),
|
|
9589
9599
|
apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(),
|
|
9600
|
+
apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(),
|
|
9590
9601
|
aliasProject: z.array(ACLAction$inboundSchema).optional(),
|
|
9591
9602
|
aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
9592
9603
|
buildMachine: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -9812,6 +9823,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
9812
9823
|
vercelRunExec?: Array<string> | undefined;
|
|
9813
9824
|
apiKey?: Array<string> | undefined;
|
|
9814
9825
|
apiKeyOwnedBySelf?: Array<string> | undefined;
|
|
9826
|
+
apiKeyAiGateway?: Array<string> | undefined;
|
|
9815
9827
|
aliasProject?: Array<string> | undefined;
|
|
9816
9828
|
aliasProtectionBypass?: Array<string> | undefined;
|
|
9817
9829
|
buildMachine?: Array<string> | undefined;
|
|
@@ -10038,6 +10050,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
10038
10050
|
vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
|
|
10039
10051
|
apiKey: z.array(ACLAction$outboundSchema).optional(),
|
|
10040
10052
|
apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(),
|
|
10053
|
+
apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(),
|
|
10041
10054
|
aliasProject: z.array(ACLAction$outboundSchema).optional(),
|
|
10042
10055
|
aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
10043
10056
|
buildMachine: z.array(ACLAction$outboundSchema).optional(),
|