@vercel/sdk 1.10.4 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/bin/mcp-server.js +5378 -1443
- package/bin/mcp-server.js.map +43 -40
- package/docs/sdks/integrations/README.md +81 -0
- package/docs/sdks/projects/README.md +6 -0
- package/docs/sdks/teams/README.md +0 -2
- package/esm/__tests__/accessgroups.test.js +6 -0
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +2 -2
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +6 -0
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +18 -0
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +25 -0
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/funcs/integrationsGetConfigurationProducts.d.ts +20 -0
- package/esm/funcs/integrationsGetConfigurationProducts.d.ts.map +1 -0
- package/esm/funcs/integrationsGetConfigurationProducts.js +94 -0
- package/esm/funcs/integrationsGetConfigurationProducts.js.map +1 -0
- package/esm/funcs/projectsCreateProject.d.ts +3 -1
- package/esm/funcs/projectsCreateProject.d.ts.map +1 -1
- package/esm/funcs/projectsCreateProject.js +16 -2
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.d.ts +3 -1
- package/esm/funcs/projectsCreateProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.js +15 -2
- package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.d.ts +3 -1
- package/esm/funcs/projectsEditProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.js +4 -2
- package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.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 +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js +28 -0
- package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js.map +1 -0
- package/esm/models/canceldeploymentop.d.ts +10 -4
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +6 -4
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createaccessgroupop.d.ts +24 -0
- package/esm/models/createaccessgroupop.d.ts.map +1 -1
- package/esm/models/createaccessgroupop.js +20 -0
- package/esm/models/createaccessgroupop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +16 -4
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +8 -4
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +17 -12
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +14 -12
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +12 -12
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +12 -12
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +81 -62
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +74 -68
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +20 -20
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +20 -24
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +2 -0
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +2 -0
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +6435 -0
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -0
- package/esm/models/getconfigurationproductsop.js +7314 -0
- package/esm/models/getconfigurationproductsop.js.map +1 -0
- package/esm/models/getconfigurationsop.d.ts +15 -15
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +15 -15
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +66 -60
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +54 -52
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +49 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +29 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomainconfigop.d.ts +24 -12
- package/esm/models/getdomainconfigop.d.ts.map +1 -1
- package/esm/models/getdomainconfigop.js +24 -16
- package/esm/models/getdomainconfigop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +17 -12
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +14 -12
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +6 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +2 -0
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectmembersop.d.ts +8 -8
- package/esm/models/getprojectmembersop.d.ts.map +1 -1
- package/esm/models/getprojectmembersop.js +12 -12
- package/esm/models/getprojectmembersop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +70 -62
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +70 -68
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +4 -4
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +4 -4
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +6 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +2 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +32 -223
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +42 -182
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +2 -0
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +2 -0
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +2 -0
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +2 -0
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/patchurlprotectionbypassop.d.ts +5 -0
- package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -1
- package/esm/models/patchurlprotectionbypassop.js +2 -0
- package/esm/models/patchurlprotectionbypassop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +9 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +3 -0
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/team.d.ts +23 -0
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +23 -0
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateaccessgroupop.d.ts +2 -2
- package/esm/models/updateaccessgroupop.d.ts.map +1 -1
- package/esm/models/updateaccessgroupop.js +2 -3
- package/esm/models/updateaccessgroupop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +17 -12
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +14 -12
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +78 -4
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +50 -4
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +70 -62
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +70 -70
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +76 -62
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +72 -68
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +56 -56
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +56 -62
- package/esm/models/userevent.js.map +1 -1
- 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/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -0
- package/src/__tests__/deployments.test.ts +2 -2
- package/src/__tests__/domains.test.ts +6 -0
- package/src/__tests__/edgeconfig.test.ts +18 -0
- package/src/__tests__/integrations.test.ts +28 -0
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/funcs/integrationsGetConfigurationProducts.ts +207 -0
- package/src/funcs/projectsCreateProject.ts +30 -2
- package/src/funcs/projectsCreateProjectEnv.ts +29 -2
- package/src/funcs/projectsEditProjectEnv.ts +18 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +4 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/integrationsGetConfigurationProducts.ts +39 -0
- package/src/models/canceldeploymentop.ts +10 -8
- package/src/models/createaccessgroupop.ts +32 -0
- package/src/models/createdeploymentop.ts +12 -8
- package/src/models/createedgeconfigop.ts +31 -24
- package/src/models/createprojectenvop.ts +24 -24
- package/src/models/createprojectop.ts +149 -136
- package/src/models/filterprojectenvsop.ts +42 -46
- package/src/models/getaliasop.ts +4 -0
- package/src/models/getconfigurationproductsop.ts +16739 -0
- package/src/models/getconfigurationsop.ts +28 -24
- package/src/models/getdeploymentop.ts +91 -89
- package/src/models/getdeploymentsop.ts +57 -0
- package/src/models/getdomainconfigop.ts +48 -28
- package/src/models/getedgeconfigop.ts +31 -24
- package/src/models/getfirewallconfigop.ts +2 -0
- package/src/models/getprojectmembersop.ts +16 -19
- package/src/models/getprojectsop.ts +140 -136
- package/src/models/getteammembersop.ts +8 -8
- package/src/models/getwebhooksop.ts +2 -0
- package/src/models/inviteusertoteamop.ts +69 -330
- package/src/models/listaliasesop.ts +4 -0
- package/src/models/listdeploymentaliasesop.ts +4 -0
- package/src/models/patchurlprotectionbypassop.ts +7 -0
- package/src/models/putfirewallconfigop.ts +3 -0
- package/src/models/team.ts +54 -0
- package/src/models/updateaccessgroupop.ts +4 -5
- package/src/models/updateedgeconfigop.ts +31 -24
- package/src/models/updatefirewallconfigop.ts +73 -8
- package/src/models/updateprojectdatacacheop.ts +137 -135
- package/src/models/updateprojectop.ts +142 -136
- package/src/models/userevent.ts +112 -124
- package/src/sdk/integrations.ts +22 -0
- package/vercel-spec.json +3354 -585
|
@@ -62,7 +62,7 @@ export const TagIds = {
|
|
|
62
62
|
} as const;
|
|
63
63
|
export type TagIds = ClosedEnum<typeof TagIds>;
|
|
64
64
|
|
|
65
|
-
export type
|
|
65
|
+
export type ResponseBodyIntegration = {
|
|
66
66
|
name: string;
|
|
67
67
|
icon: string;
|
|
68
68
|
isLegacy: boolean;
|
|
@@ -121,7 +121,7 @@ export type GetConfigurationsResponseBodyInstallationType = ClosedEnum<
|
|
|
121
121
|
>;
|
|
122
122
|
|
|
123
123
|
export type GetConfigurationsResponseBody2 = {
|
|
124
|
-
integration:
|
|
124
|
+
integration: ResponseBodyIntegration;
|
|
125
125
|
/**
|
|
126
126
|
* A timestamp that tells you when the configuration was installed successfully
|
|
127
127
|
*/
|
|
@@ -443,8 +443,8 @@ export namespace TagIds$ {
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
/** @internal */
|
|
446
|
-
export const
|
|
447
|
-
|
|
446
|
+
export const ResponseBodyIntegration$inboundSchema: z.ZodType<
|
|
447
|
+
ResponseBodyIntegration,
|
|
448
448
|
z.ZodTypeDef,
|
|
449
449
|
unknown
|
|
450
450
|
> = z.object({
|
|
@@ -457,7 +457,7 @@ export const Integration$inboundSchema: z.ZodType<
|
|
|
457
457
|
});
|
|
458
458
|
|
|
459
459
|
/** @internal */
|
|
460
|
-
export type
|
|
460
|
+
export type ResponseBodyIntegration$Outbound = {
|
|
461
461
|
name: string;
|
|
462
462
|
icon: string;
|
|
463
463
|
isLegacy: boolean;
|
|
@@ -467,10 +467,10 @@ export type Integration$Outbound = {
|
|
|
467
467
|
};
|
|
468
468
|
|
|
469
469
|
/** @internal */
|
|
470
|
-
export const
|
|
471
|
-
|
|
470
|
+
export const ResponseBodyIntegration$outboundSchema: z.ZodType<
|
|
471
|
+
ResponseBodyIntegration$Outbound,
|
|
472
472
|
z.ZodTypeDef,
|
|
473
|
-
|
|
473
|
+
ResponseBodyIntegration
|
|
474
474
|
> = z.object({
|
|
475
475
|
name: z.string(),
|
|
476
476
|
icon: z.string(),
|
|
@@ -484,26 +484,30 @@ export const Integration$outboundSchema: z.ZodType<
|
|
|
484
484
|
* @internal
|
|
485
485
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
486
486
|
*/
|
|
487
|
-
export namespace
|
|
488
|
-
/** @deprecated use `
|
|
489
|
-
export const inboundSchema =
|
|
490
|
-
/** @deprecated use `
|
|
491
|
-
export const outboundSchema =
|
|
492
|
-
/** @deprecated use `
|
|
493
|
-
export type Outbound =
|
|
487
|
+
export namespace ResponseBodyIntegration$ {
|
|
488
|
+
/** @deprecated use `ResponseBodyIntegration$inboundSchema` instead. */
|
|
489
|
+
export const inboundSchema = ResponseBodyIntegration$inboundSchema;
|
|
490
|
+
/** @deprecated use `ResponseBodyIntegration$outboundSchema` instead. */
|
|
491
|
+
export const outboundSchema = ResponseBodyIntegration$outboundSchema;
|
|
492
|
+
/** @deprecated use `ResponseBodyIntegration$Outbound` instead. */
|
|
493
|
+
export type Outbound = ResponseBodyIntegration$Outbound;
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
export function
|
|
497
|
-
|
|
496
|
+
export function responseBodyIntegrationToJSON(
|
|
497
|
+
responseBodyIntegration: ResponseBodyIntegration,
|
|
498
|
+
): string {
|
|
499
|
+
return JSON.stringify(
|
|
500
|
+
ResponseBodyIntegration$outboundSchema.parse(responseBodyIntegration),
|
|
501
|
+
);
|
|
498
502
|
}
|
|
499
503
|
|
|
500
|
-
export function
|
|
504
|
+
export function responseBodyIntegrationFromJSON(
|
|
501
505
|
jsonString: string,
|
|
502
|
-
): SafeParseResult<
|
|
506
|
+
): SafeParseResult<ResponseBodyIntegration, SDKValidationError> {
|
|
503
507
|
return safeParse(
|
|
504
508
|
jsonString,
|
|
505
|
-
(x) =>
|
|
506
|
-
`Failed to parse '
|
|
509
|
+
(x) => ResponseBodyIntegration$inboundSchema.parse(JSON.parse(x)),
|
|
510
|
+
`Failed to parse 'ResponseBodyIntegration' from JSON`,
|
|
507
511
|
);
|
|
508
512
|
}
|
|
509
513
|
|
|
@@ -603,7 +607,7 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<
|
|
|
603
607
|
z.ZodTypeDef,
|
|
604
608
|
unknown
|
|
605
609
|
> = z.object({
|
|
606
|
-
integration: z.lazy(() =>
|
|
610
|
+
integration: z.lazy(() => ResponseBodyIntegration$inboundSchema),
|
|
607
611
|
completedAt: z.number().optional(),
|
|
608
612
|
createdAt: z.number(),
|
|
609
613
|
id: z.string(),
|
|
@@ -628,7 +632,7 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<
|
|
|
628
632
|
|
|
629
633
|
/** @internal */
|
|
630
634
|
export type GetConfigurationsResponseBody2$Outbound = {
|
|
631
|
-
integration:
|
|
635
|
+
integration: ResponseBodyIntegration$Outbound;
|
|
632
636
|
completedAt?: number | undefined;
|
|
633
637
|
createdAt: number;
|
|
634
638
|
id: string;
|
|
@@ -655,7 +659,7 @@ export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType<
|
|
|
655
659
|
z.ZodTypeDef,
|
|
656
660
|
GetConfigurationsResponseBody2
|
|
657
661
|
> = z.object({
|
|
658
|
-
integration: z.lazy(() =>
|
|
662
|
+
integration: z.lazy(() => ResponseBodyIntegration$outboundSchema),
|
|
659
663
|
completedAt: z.number().optional(),
|
|
660
664
|
createdAt: z.number(),
|
|
661
665
|
id: z.string(),
|
|
@@ -59,10 +59,10 @@ export type GetDeploymentResponseBodyOutput = {
|
|
|
59
59
|
* A partial representation of a Build used by the deployment endpoint.
|
|
60
60
|
*/
|
|
61
61
|
export type ResponseBodyLambdas = {
|
|
62
|
-
id
|
|
62
|
+
id: string;
|
|
63
63
|
createdAt?: number | undefined;
|
|
64
|
-
entrypoint?: string | null | undefined;
|
|
65
64
|
readyState?: GetDeploymentResponseBodyDeploymentsReadyState | undefined;
|
|
65
|
+
entrypoint?: string | null | undefined;
|
|
66
66
|
readyStateAt?: number | undefined;
|
|
67
67
|
output: Array<GetDeploymentResponseBodyOutput>;
|
|
68
68
|
};
|
|
@@ -225,13 +225,6 @@ export type ResponseBodyAliasWarning = {
|
|
|
225
225
|
action?: string | undefined;
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
export const GetDeploymentResponseBodyDeploymentsType = {
|
|
229
|
-
Lambdas: "LAMBDAS",
|
|
230
|
-
} as const;
|
|
231
|
-
export type GetDeploymentResponseBodyDeploymentsType = ClosedEnum<
|
|
232
|
-
typeof GetDeploymentResponseBodyDeploymentsType
|
|
233
|
-
>;
|
|
234
|
-
|
|
235
228
|
export const GetDeploymentResponseBodyReadyState = {
|
|
236
229
|
Queued: "QUEUED",
|
|
237
230
|
Building: "BUILDING",
|
|
@@ -244,6 +237,13 @@ export type GetDeploymentResponseBodyReadyState = ClosedEnum<
|
|
|
244
237
|
typeof GetDeploymentResponseBodyReadyState
|
|
245
238
|
>;
|
|
246
239
|
|
|
240
|
+
export const GetDeploymentResponseBodyDeploymentsType = {
|
|
241
|
+
Lambdas: "LAMBDAS",
|
|
242
|
+
} as const;
|
|
243
|
+
export type GetDeploymentResponseBodyDeploymentsType = ClosedEnum<
|
|
244
|
+
typeof GetDeploymentResponseBodyDeploymentsType
|
|
245
|
+
>;
|
|
246
|
+
|
|
247
247
|
export type GetDeploymentResponseBodyAliasError = {
|
|
248
248
|
code: string;
|
|
249
249
|
message: string;
|
|
@@ -685,10 +685,10 @@ export type GetDeploymentResponseBody2 = {
|
|
|
685
685
|
oomReport?: ResponseBodyOomReport | undefined;
|
|
686
686
|
aliasWarning?: ResponseBodyAliasWarning | null | undefined;
|
|
687
687
|
id: string;
|
|
688
|
-
name: string;
|
|
689
|
-
type: GetDeploymentResponseBodyDeploymentsType;
|
|
690
688
|
createdAt: number;
|
|
691
689
|
readyState: GetDeploymentResponseBodyReadyState;
|
|
690
|
+
name: string;
|
|
691
|
+
type: GetDeploymentResponseBodyDeploymentsType;
|
|
692
692
|
aliasError?: GetDeploymentResponseBodyAliasError | null | undefined;
|
|
693
693
|
aliasFinal?: string | null | undefined;
|
|
694
694
|
/**
|
|
@@ -812,6 +812,8 @@ export const ResponseBodyFramework = {
|
|
|
812
812
|
Storybook: "storybook",
|
|
813
813
|
Nitro: "nitro",
|
|
814
814
|
Hono: "hono",
|
|
815
|
+
Express: "express",
|
|
816
|
+
Xmcp: "xmcp",
|
|
815
817
|
} as const;
|
|
816
818
|
export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
|
|
817
819
|
|
|
@@ -960,12 +962,12 @@ export type ResponseBodyOutput = {
|
|
|
960
962
|
* A partial representation of a Build used by the deployment endpoint.
|
|
961
963
|
*/
|
|
962
964
|
export type GetDeploymentResponseBodyLambdas = {
|
|
963
|
-
id
|
|
965
|
+
id: string;
|
|
964
966
|
createdAt?: number | undefined;
|
|
965
|
-
entrypoint?: string | null | undefined;
|
|
966
967
|
readyState?:
|
|
967
968
|
| GetDeploymentResponseBodyDeploymentsResponseReadyState
|
|
968
969
|
| undefined;
|
|
970
|
+
entrypoint?: string | null | undefined;
|
|
969
971
|
readyStateAt?: number | undefined;
|
|
970
972
|
output: Array<ResponseBodyOutput>;
|
|
971
973
|
};
|
|
@@ -1131,13 +1133,6 @@ export type GetDeploymentResponseBodyAliasWarning = {
|
|
|
1131
1133
|
action?: string | undefined;
|
|
1132
1134
|
};
|
|
1133
1135
|
|
|
1134
|
-
export const GetDeploymentResponseBodyType = {
|
|
1135
|
-
Lambdas: "LAMBDAS",
|
|
1136
|
-
} as const;
|
|
1137
|
-
export type GetDeploymentResponseBodyType = ClosedEnum<
|
|
1138
|
-
typeof GetDeploymentResponseBodyType
|
|
1139
|
-
>;
|
|
1140
|
-
|
|
1141
1136
|
export const ResponseBodyReadyState = {
|
|
1142
1137
|
Queued: "QUEUED",
|
|
1143
1138
|
Building: "BUILDING",
|
|
@@ -1148,6 +1143,13 @@ export const ResponseBodyReadyState = {
|
|
|
1148
1143
|
} as const;
|
|
1149
1144
|
export type ResponseBodyReadyState = ClosedEnum<typeof ResponseBodyReadyState>;
|
|
1150
1145
|
|
|
1146
|
+
export const GetDeploymentResponseBodyType = {
|
|
1147
|
+
Lambdas: "LAMBDAS",
|
|
1148
|
+
} as const;
|
|
1149
|
+
export type GetDeploymentResponseBodyType = ClosedEnum<
|
|
1150
|
+
typeof GetDeploymentResponseBodyType
|
|
1151
|
+
>;
|
|
1152
|
+
|
|
1151
1153
|
export type ResponseBodyAliasError = {
|
|
1152
1154
|
code: string;
|
|
1153
1155
|
message: string;
|
|
@@ -2155,10 +2157,10 @@ export type GetDeploymentResponseBody1 = {
|
|
|
2155
2157
|
oomReport?: GetDeploymentResponseBodyOomReport | undefined;
|
|
2156
2158
|
aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined;
|
|
2157
2159
|
id: string;
|
|
2158
|
-
name: string;
|
|
2159
|
-
type: GetDeploymentResponseBodyType;
|
|
2160
2160
|
createdAt: number;
|
|
2161
2161
|
readyState: ResponseBodyReadyState;
|
|
2162
|
+
name: string;
|
|
2163
|
+
type: GetDeploymentResponseBodyType;
|
|
2162
2164
|
aliasError?: ResponseBodyAliasError | null | undefined;
|
|
2163
2165
|
aliasFinal?: string | null | undefined;
|
|
2164
2166
|
/**
|
|
@@ -2476,21 +2478,21 @@ export const ResponseBodyLambdas$inboundSchema: z.ZodType<
|
|
|
2476
2478
|
z.ZodTypeDef,
|
|
2477
2479
|
unknown
|
|
2478
2480
|
> = z.object({
|
|
2479
|
-
id: z.string()
|
|
2481
|
+
id: z.string(),
|
|
2480
2482
|
createdAt: z.number().optional(),
|
|
2481
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
2482
2483
|
readyState: GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema
|
|
2483
2484
|
.optional(),
|
|
2485
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
2484
2486
|
readyStateAt: z.number().optional(),
|
|
2485
2487
|
output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema)),
|
|
2486
2488
|
});
|
|
2487
2489
|
|
|
2488
2490
|
/** @internal */
|
|
2489
2491
|
export type ResponseBodyLambdas$Outbound = {
|
|
2490
|
-
id
|
|
2492
|
+
id: string;
|
|
2491
2493
|
createdAt?: number | undefined;
|
|
2492
|
-
entrypoint?: string | null | undefined;
|
|
2493
2494
|
readyState?: string | undefined;
|
|
2495
|
+
entrypoint?: string | null | undefined;
|
|
2494
2496
|
readyStateAt?: number | undefined;
|
|
2495
2497
|
output: Array<GetDeploymentResponseBodyOutput$Outbound>;
|
|
2496
2498
|
};
|
|
@@ -2501,11 +2503,11 @@ export const ResponseBodyLambdas$outboundSchema: z.ZodType<
|
|
|
2501
2503
|
z.ZodTypeDef,
|
|
2502
2504
|
ResponseBodyLambdas
|
|
2503
2505
|
> = z.object({
|
|
2504
|
-
id: z.string()
|
|
2506
|
+
id: z.string(),
|
|
2505
2507
|
createdAt: z.number().optional(),
|
|
2506
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
2507
2508
|
readyState: GetDeploymentResponseBodyDeploymentsReadyState$outboundSchema
|
|
2508
2509
|
.optional(),
|
|
2510
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
2509
2511
|
readyStateAt: z.number().optional(),
|
|
2510
2512
|
output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$outboundSchema)),
|
|
2511
2513
|
});
|
|
@@ -3199,49 +3201,49 @@ export function responseBodyAliasWarningFromJSON(
|
|
|
3199
3201
|
}
|
|
3200
3202
|
|
|
3201
3203
|
/** @internal */
|
|
3202
|
-
export const
|
|
3203
|
-
|
|
3204
|
-
|
|
3204
|
+
export const GetDeploymentResponseBodyReadyState$inboundSchema: z.ZodNativeEnum<
|
|
3205
|
+
typeof GetDeploymentResponseBodyReadyState
|
|
3206
|
+
> = z.nativeEnum(GetDeploymentResponseBodyReadyState);
|
|
3205
3207
|
|
|
3206
3208
|
/** @internal */
|
|
3207
|
-
export const
|
|
3208
|
-
z.ZodNativeEnum<typeof
|
|
3209
|
-
|
|
3209
|
+
export const GetDeploymentResponseBodyReadyState$outboundSchema:
|
|
3210
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyReadyState> =
|
|
3211
|
+
GetDeploymentResponseBodyReadyState$inboundSchema;
|
|
3210
3212
|
|
|
3211
3213
|
/**
|
|
3212
3214
|
* @internal
|
|
3213
3215
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3214
3216
|
*/
|
|
3215
|
-
export namespace
|
|
3216
|
-
/** @deprecated use `
|
|
3217
|
+
export namespace GetDeploymentResponseBodyReadyState$ {
|
|
3218
|
+
/** @deprecated use `GetDeploymentResponseBodyReadyState$inboundSchema` instead. */
|
|
3217
3219
|
export const inboundSchema =
|
|
3218
|
-
|
|
3219
|
-
/** @deprecated use `
|
|
3220
|
+
GetDeploymentResponseBodyReadyState$inboundSchema;
|
|
3221
|
+
/** @deprecated use `GetDeploymentResponseBodyReadyState$outboundSchema` instead. */
|
|
3220
3222
|
export const outboundSchema =
|
|
3221
|
-
|
|
3223
|
+
GetDeploymentResponseBodyReadyState$outboundSchema;
|
|
3222
3224
|
}
|
|
3223
3225
|
|
|
3224
3226
|
/** @internal */
|
|
3225
|
-
export const
|
|
3226
|
-
typeof
|
|
3227
|
-
|
|
3227
|
+
export const GetDeploymentResponseBodyDeploymentsType$inboundSchema:
|
|
3228
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsType> = z
|
|
3229
|
+
.nativeEnum(GetDeploymentResponseBodyDeploymentsType);
|
|
3228
3230
|
|
|
3229
3231
|
/** @internal */
|
|
3230
|
-
export const
|
|
3231
|
-
z.ZodNativeEnum<typeof
|
|
3232
|
-
|
|
3232
|
+
export const GetDeploymentResponseBodyDeploymentsType$outboundSchema:
|
|
3233
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsType> =
|
|
3234
|
+
GetDeploymentResponseBodyDeploymentsType$inboundSchema;
|
|
3233
3235
|
|
|
3234
3236
|
/**
|
|
3235
3237
|
* @internal
|
|
3236
3238
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3237
3239
|
*/
|
|
3238
|
-
export namespace
|
|
3239
|
-
/** @deprecated use `
|
|
3240
|
+
export namespace GetDeploymentResponseBodyDeploymentsType$ {
|
|
3241
|
+
/** @deprecated use `GetDeploymentResponseBodyDeploymentsType$inboundSchema` instead. */
|
|
3240
3242
|
export const inboundSchema =
|
|
3241
|
-
|
|
3242
|
-
/** @deprecated use `
|
|
3243
|
+
GetDeploymentResponseBodyDeploymentsType$inboundSchema;
|
|
3244
|
+
/** @deprecated use `GetDeploymentResponseBodyDeploymentsType$outboundSchema` instead. */
|
|
3243
3245
|
export const outboundSchema =
|
|
3244
|
-
|
|
3246
|
+
GetDeploymentResponseBodyDeploymentsType$outboundSchema;
|
|
3245
3247
|
}
|
|
3246
3248
|
|
|
3247
3249
|
/** @internal */
|
|
@@ -5450,10 +5452,10 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType<
|
|
|
5450
5452
|
aliasWarning: z.nullable(z.lazy(() => ResponseBodyAliasWarning$inboundSchema))
|
|
5451
5453
|
.optional(),
|
|
5452
5454
|
id: z.string(),
|
|
5453
|
-
name: z.string(),
|
|
5454
|
-
type: GetDeploymentResponseBodyDeploymentsType$inboundSchema,
|
|
5455
5455
|
createdAt: z.number(),
|
|
5456
5456
|
readyState: GetDeploymentResponseBodyReadyState$inboundSchema,
|
|
5457
|
+
name: z.string(),
|
|
5458
|
+
type: GetDeploymentResponseBodyDeploymentsType$inboundSchema,
|
|
5457
5459
|
aliasError: z.nullable(
|
|
5458
5460
|
z.lazy(() => GetDeploymentResponseBodyAliasError$inboundSchema),
|
|
5459
5461
|
).optional(),
|
|
@@ -5534,10 +5536,10 @@ export type GetDeploymentResponseBody2$Outbound = {
|
|
|
5534
5536
|
oomReport?: string | undefined;
|
|
5535
5537
|
aliasWarning?: ResponseBodyAliasWarning$Outbound | null | undefined;
|
|
5536
5538
|
id: string;
|
|
5537
|
-
name: string;
|
|
5538
|
-
type: string;
|
|
5539
5539
|
createdAt: number;
|
|
5540
5540
|
readyState: string;
|
|
5541
|
+
name: string;
|
|
5542
|
+
type: string;
|
|
5541
5543
|
aliasError?: GetDeploymentResponseBodyAliasError$Outbound | null | undefined;
|
|
5542
5544
|
aliasFinal?: string | null | undefined;
|
|
5543
5545
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -5619,10 +5621,10 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType<
|
|
|
5619
5621
|
z.lazy(() => ResponseBodyAliasWarning$outboundSchema),
|
|
5620
5622
|
).optional(),
|
|
5621
5623
|
id: z.string(),
|
|
5622
|
-
name: z.string(),
|
|
5623
|
-
type: GetDeploymentResponseBodyDeploymentsType$outboundSchema,
|
|
5624
5624
|
createdAt: z.number(),
|
|
5625
5625
|
readyState: GetDeploymentResponseBodyReadyState$outboundSchema,
|
|
5626
|
+
name: z.string(),
|
|
5627
|
+
type: GetDeploymentResponseBodyDeploymentsType$outboundSchema,
|
|
5626
5628
|
aliasError: z.nullable(
|
|
5627
5629
|
z.lazy(() => GetDeploymentResponseBodyAliasError$outboundSchema),
|
|
5628
5630
|
).optional(),
|
|
@@ -6621,22 +6623,22 @@ export const GetDeploymentResponseBodyLambdas$inboundSchema: z.ZodType<
|
|
|
6621
6623
|
z.ZodTypeDef,
|
|
6622
6624
|
unknown
|
|
6623
6625
|
> = z.object({
|
|
6624
|
-
id: z.string()
|
|
6626
|
+
id: z.string(),
|
|
6625
6627
|
createdAt: z.number().optional(),
|
|
6626
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
6627
6628
|
readyState:
|
|
6628
6629
|
GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema
|
|
6629
6630
|
.optional(),
|
|
6631
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
6630
6632
|
readyStateAt: z.number().optional(),
|
|
6631
6633
|
output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)),
|
|
6632
6634
|
});
|
|
6633
6635
|
|
|
6634
6636
|
/** @internal */
|
|
6635
6637
|
export type GetDeploymentResponseBodyLambdas$Outbound = {
|
|
6636
|
-
id
|
|
6638
|
+
id: string;
|
|
6637
6639
|
createdAt?: number | undefined;
|
|
6638
|
-
entrypoint?: string | null | undefined;
|
|
6639
6640
|
readyState?: string | undefined;
|
|
6641
|
+
entrypoint?: string | null | undefined;
|
|
6640
6642
|
readyStateAt?: number | undefined;
|
|
6641
6643
|
output: Array<ResponseBodyOutput$Outbound>;
|
|
6642
6644
|
};
|
|
@@ -6647,12 +6649,12 @@ export const GetDeploymentResponseBodyLambdas$outboundSchema: z.ZodType<
|
|
|
6647
6649
|
z.ZodTypeDef,
|
|
6648
6650
|
GetDeploymentResponseBodyLambdas
|
|
6649
6651
|
> = z.object({
|
|
6650
|
-
id: z.string()
|
|
6652
|
+
id: z.string(),
|
|
6651
6653
|
createdAt: z.number().optional(),
|
|
6652
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
6653
6654
|
readyState:
|
|
6654
6655
|
GetDeploymentResponseBodyDeploymentsResponseReadyState$outboundSchema
|
|
6655
6656
|
.optional(),
|
|
6657
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
6656
6658
|
readyStateAt: z.number().optional(),
|
|
6657
6659
|
output: z.array(z.lazy(() => ResponseBodyOutput$outboundSchema)),
|
|
6658
6660
|
});
|
|
@@ -7405,27 +7407,6 @@ export function getDeploymentResponseBodyAliasWarningFromJSON(
|
|
|
7405
7407
|
);
|
|
7406
7408
|
}
|
|
7407
7409
|
|
|
7408
|
-
/** @internal */
|
|
7409
|
-
export const GetDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum<
|
|
7410
|
-
typeof GetDeploymentResponseBodyType
|
|
7411
|
-
> = z.nativeEnum(GetDeploymentResponseBodyType);
|
|
7412
|
-
|
|
7413
|
-
/** @internal */
|
|
7414
|
-
export const GetDeploymentResponseBodyType$outboundSchema: z.ZodNativeEnum<
|
|
7415
|
-
typeof GetDeploymentResponseBodyType
|
|
7416
|
-
> = GetDeploymentResponseBodyType$inboundSchema;
|
|
7417
|
-
|
|
7418
|
-
/**
|
|
7419
|
-
* @internal
|
|
7420
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7421
|
-
*/
|
|
7422
|
-
export namespace GetDeploymentResponseBodyType$ {
|
|
7423
|
-
/** @deprecated use `GetDeploymentResponseBodyType$inboundSchema` instead. */
|
|
7424
|
-
export const inboundSchema = GetDeploymentResponseBodyType$inboundSchema;
|
|
7425
|
-
/** @deprecated use `GetDeploymentResponseBodyType$outboundSchema` instead. */
|
|
7426
|
-
export const outboundSchema = GetDeploymentResponseBodyType$outboundSchema;
|
|
7427
|
-
}
|
|
7428
|
-
|
|
7429
7410
|
/** @internal */
|
|
7430
7411
|
export const ResponseBodyReadyState$inboundSchema: z.ZodNativeEnum<
|
|
7431
7412
|
typeof ResponseBodyReadyState
|
|
@@ -7447,6 +7428,27 @@ export namespace ResponseBodyReadyState$ {
|
|
|
7447
7428
|
export const outboundSchema = ResponseBodyReadyState$outboundSchema;
|
|
7448
7429
|
}
|
|
7449
7430
|
|
|
7431
|
+
/** @internal */
|
|
7432
|
+
export const GetDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum<
|
|
7433
|
+
typeof GetDeploymentResponseBodyType
|
|
7434
|
+
> = z.nativeEnum(GetDeploymentResponseBodyType);
|
|
7435
|
+
|
|
7436
|
+
/** @internal */
|
|
7437
|
+
export const GetDeploymentResponseBodyType$outboundSchema: z.ZodNativeEnum<
|
|
7438
|
+
typeof GetDeploymentResponseBodyType
|
|
7439
|
+
> = GetDeploymentResponseBodyType$inboundSchema;
|
|
7440
|
+
|
|
7441
|
+
/**
|
|
7442
|
+
* @internal
|
|
7443
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7444
|
+
*/
|
|
7445
|
+
export namespace GetDeploymentResponseBodyType$ {
|
|
7446
|
+
/** @deprecated use `GetDeploymentResponseBodyType$inboundSchema` instead. */
|
|
7447
|
+
export const inboundSchema = GetDeploymentResponseBodyType$inboundSchema;
|
|
7448
|
+
/** @deprecated use `GetDeploymentResponseBodyType$outboundSchema` instead. */
|
|
7449
|
+
export const outboundSchema = GetDeploymentResponseBodyType$outboundSchema;
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7450
7452
|
/** @internal */
|
|
7451
7453
|
export const ResponseBodyAliasError$inboundSchema: z.ZodType<
|
|
7452
7454
|
ResponseBodyAliasError,
|
|
@@ -13289,10 +13291,10 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
|
|
|
13289
13291
|
z.lazy(() => GetDeploymentResponseBodyAliasWarning$inboundSchema),
|
|
13290
13292
|
).optional(),
|
|
13291
13293
|
id: z.string(),
|
|
13292
|
-
name: z.string(),
|
|
13293
|
-
type: GetDeploymentResponseBodyType$inboundSchema,
|
|
13294
13294
|
createdAt: z.number(),
|
|
13295
13295
|
readyState: ResponseBodyReadyState$inboundSchema,
|
|
13296
|
+
name: z.string(),
|
|
13297
|
+
type: GetDeploymentResponseBodyType$inboundSchema,
|
|
13296
13298
|
aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$inboundSchema))
|
|
13297
13299
|
.optional(),
|
|
13298
13300
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
@@ -13422,10 +13424,10 @@ export type GetDeploymentResponseBody1$Outbound = {
|
|
|
13422
13424
|
| null
|
|
13423
13425
|
| undefined;
|
|
13424
13426
|
id: string;
|
|
13425
|
-
name: string;
|
|
13426
|
-
type: string;
|
|
13427
13427
|
createdAt: number;
|
|
13428
13428
|
readyState: string;
|
|
13429
|
+
name: string;
|
|
13430
|
+
type: string;
|
|
13429
13431
|
aliasError?: ResponseBodyAliasError$Outbound | null | undefined;
|
|
13430
13432
|
aliasFinal?: string | null | undefined;
|
|
13431
13433
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -13557,10 +13559,10 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
|
|
|
13557
13559
|
z.lazy(() => GetDeploymentResponseBodyAliasWarning$outboundSchema),
|
|
13558
13560
|
).optional(),
|
|
13559
13561
|
id: z.string(),
|
|
13560
|
-
name: z.string(),
|
|
13561
|
-
type: GetDeploymentResponseBodyType$outboundSchema,
|
|
13562
13562
|
createdAt: z.number(),
|
|
13563
13563
|
readyState: ResponseBodyReadyState$outboundSchema,
|
|
13564
|
+
name: z.string(),
|
|
13565
|
+
type: GetDeploymentResponseBodyType$outboundSchema,
|
|
13564
13566
|
aliasError: z.nullable(z.lazy(() => ResponseBodyAliasError$outboundSchema))
|
|
13565
13567
|
.optional(),
|
|
13566
13568
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
@@ -265,6 +265,19 @@ export type GetDeploymentsChecks = {
|
|
|
265
265
|
deploymentAlias: GetDeploymentsDeploymentAlias;
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
+
/**
|
|
269
|
+
* Indicates if the deployment encountered an out-of-memory error.
|
|
270
|
+
*/
|
|
271
|
+
export const GetDeploymentsOomReport = {
|
|
272
|
+
OutOfMemory: "out-of-memory",
|
|
273
|
+
} as const;
|
|
274
|
+
/**
|
|
275
|
+
* Indicates if the deployment encountered an out-of-memory error.
|
|
276
|
+
*/
|
|
277
|
+
export type GetDeploymentsOomReport = ClosedEnum<
|
|
278
|
+
typeof GetDeploymentsOomReport
|
|
279
|
+
>;
|
|
280
|
+
|
|
268
281
|
export const GetDeploymentsFramework = {
|
|
269
282
|
Blitzjs: "blitzjs",
|
|
270
283
|
Nextjs: "nextjs",
|
|
@@ -314,6 +327,8 @@ export const GetDeploymentsFramework = {
|
|
|
314
327
|
Storybook: "storybook",
|
|
315
328
|
Nitro: "nitro",
|
|
316
329
|
Hono: "hono",
|
|
330
|
+
Express: "express",
|
|
331
|
+
Xmcp: "xmcp",
|
|
317
332
|
} as const;
|
|
318
333
|
export type GetDeploymentsFramework = ClosedEnum<
|
|
319
334
|
typeof GetDeploymentsFramework
|
|
@@ -501,6 +516,18 @@ export type Deployments = {
|
|
|
501
516
|
* Vercel URL to inspect the deployment.
|
|
502
517
|
*/
|
|
503
518
|
inspectorUrl: string | null;
|
|
519
|
+
/**
|
|
520
|
+
* Error code when the deployment is in an error state.
|
|
521
|
+
*/
|
|
522
|
+
errorCode?: string | undefined;
|
|
523
|
+
/**
|
|
524
|
+
* Error message when the deployment is in an canceled or error state.
|
|
525
|
+
*/
|
|
526
|
+
errorMessage?: string | null | undefined;
|
|
527
|
+
/**
|
|
528
|
+
* Indicates if the deployment encountered an out-of-memory error.
|
|
529
|
+
*/
|
|
530
|
+
oomReport?: GetDeploymentsOomReport | undefined;
|
|
504
531
|
/**
|
|
505
532
|
* Deployment can be used for instant rollback
|
|
506
533
|
*/
|
|
@@ -1125,6 +1152,27 @@ export function getDeploymentsChecksFromJSON(
|
|
|
1125
1152
|
);
|
|
1126
1153
|
}
|
|
1127
1154
|
|
|
1155
|
+
/** @internal */
|
|
1156
|
+
export const GetDeploymentsOomReport$inboundSchema: z.ZodNativeEnum<
|
|
1157
|
+
typeof GetDeploymentsOomReport
|
|
1158
|
+
> = z.nativeEnum(GetDeploymentsOomReport);
|
|
1159
|
+
|
|
1160
|
+
/** @internal */
|
|
1161
|
+
export const GetDeploymentsOomReport$outboundSchema: z.ZodNativeEnum<
|
|
1162
|
+
typeof GetDeploymentsOomReport
|
|
1163
|
+
> = GetDeploymentsOomReport$inboundSchema;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @internal
|
|
1167
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1168
|
+
*/
|
|
1169
|
+
export namespace GetDeploymentsOomReport$ {
|
|
1170
|
+
/** @deprecated use `GetDeploymentsOomReport$inboundSchema` instead. */
|
|
1171
|
+
export const inboundSchema = GetDeploymentsOomReport$inboundSchema;
|
|
1172
|
+
/** @deprecated use `GetDeploymentsOomReport$outboundSchema` instead. */
|
|
1173
|
+
export const outboundSchema = GetDeploymentsOomReport$outboundSchema;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1128
1176
|
/** @internal */
|
|
1129
1177
|
export const GetDeploymentsFramework$inboundSchema: z.ZodNativeEnum<
|
|
1130
1178
|
typeof GetDeploymentsFramework
|
|
@@ -1565,6 +1613,9 @@ export const Deployments$inboundSchema: z.ZodType<
|
|
|
1565
1613
|
checksConclusion: GetDeploymentsChecksConclusion$inboundSchema.optional(),
|
|
1566
1614
|
checks: z.lazy(() => GetDeploymentsChecks$inboundSchema).optional(),
|
|
1567
1615
|
inspectorUrl: z.nullable(z.string()),
|
|
1616
|
+
errorCode: z.string().optional(),
|
|
1617
|
+
errorMessage: z.nullable(z.string()).optional(),
|
|
1618
|
+
oomReport: GetDeploymentsOomReport$inboundSchema.optional(),
|
|
1568
1619
|
isRollbackCandidate: z.nullable(z.boolean()).optional(),
|
|
1569
1620
|
projectSettings: z.lazy(() => GetDeploymentsProjectSettings$inboundSchema)
|
|
1570
1621
|
.optional(),
|
|
@@ -1605,6 +1656,9 @@ export type Deployments$Outbound = {
|
|
|
1605
1656
|
checksConclusion?: string | undefined;
|
|
1606
1657
|
checks?: GetDeploymentsChecks$Outbound | undefined;
|
|
1607
1658
|
inspectorUrl: string | null;
|
|
1659
|
+
errorCode?: string | undefined;
|
|
1660
|
+
errorMessage?: string | null | undefined;
|
|
1661
|
+
oomReport?: string | undefined;
|
|
1608
1662
|
isRollbackCandidate?: boolean | null | undefined;
|
|
1609
1663
|
projectSettings?: GetDeploymentsProjectSettings$Outbound | undefined;
|
|
1610
1664
|
connectBuildsEnabled?: boolean | undefined;
|
|
@@ -1648,6 +1702,9 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
1648
1702
|
checksConclusion: GetDeploymentsChecksConclusion$outboundSchema.optional(),
|
|
1649
1703
|
checks: z.lazy(() => GetDeploymentsChecks$outboundSchema).optional(),
|
|
1650
1704
|
inspectorUrl: z.nullable(z.string()),
|
|
1705
|
+
errorCode: z.string().optional(),
|
|
1706
|
+
errorMessage: z.nullable(z.string()).optional(),
|
|
1707
|
+
oomReport: GetDeploymentsOomReport$outboundSchema.optional(),
|
|
1651
1708
|
isRollbackCandidate: z.nullable(z.boolean()).optional(),
|
|
1652
1709
|
projectSettings: z.lazy(() => GetDeploymentsProjectSettings$outboundSchema)
|
|
1653
1710
|
.optional(),
|