@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
75 lines • 3.38 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
export declare const UpdateIntegrationDeploymentActionStatus: {
readonly Running: "running";
readonly Succeeded: "succeeded";
readonly Failed: "failed";
};
export type UpdateIntegrationDeploymentActionStatus = ClosedEnum<typeof UpdateIntegrationDeploymentActionStatus>;
export type Secrets = {
name: string;
value: string;
};
export type Outcomes1 = {
kind: string;
secrets: Array<Secrets>;
};
export type Outcomes = Outcomes1;
export type UpdateIntegrationDeploymentActionRequestBody = {
status?: UpdateIntegrationDeploymentActionStatus | undefined;
statusText?: string | undefined;
statusUrl?: string | undefined;
outcomes?: Array<Outcomes1> | undefined;
};
export type UpdateIntegrationDeploymentActionRequest = {
deploymentId: string;
integrationConfigurationId: string;
resourceId: string;
action: string;
requestBody?: UpdateIntegrationDeploymentActionRequestBody | undefined;
};
/** @internal */
export declare const UpdateIntegrationDeploymentActionStatus$outboundSchema: z.ZodNativeEnum<typeof UpdateIntegrationDeploymentActionStatus>;
/** @internal */
export type Secrets$Outbound = {
name: string;
value: string;
};
/** @internal */
export declare const Secrets$outboundSchema: z.ZodType<Secrets$Outbound, z.ZodTypeDef, Secrets>;
export declare function secretsToJSON(secrets: Secrets): string;
/** @internal */
export type Outcomes1$Outbound = {
kind: string;
secrets: Array<Secrets$Outbound>;
};
/** @internal */
export declare const Outcomes1$outboundSchema: z.ZodType<Outcomes1$Outbound, z.ZodTypeDef, Outcomes1>;
export declare function outcomes1ToJSON(outcomes1: Outcomes1): string;
/** @internal */
export type Outcomes$Outbound = Outcomes1$Outbound;
/** @internal */
export declare const Outcomes$outboundSchema: z.ZodType<Outcomes$Outbound, z.ZodTypeDef, Outcomes>;
export declare function outcomesToJSON(outcomes: Outcomes): string;
/** @internal */
export type UpdateIntegrationDeploymentActionRequestBody$Outbound = {
status?: string | undefined;
statusText?: string | undefined;
statusUrl?: string | undefined;
outcomes?: Array<Outcomes1$Outbound> | undefined;
};
/** @internal */
export declare const UpdateIntegrationDeploymentActionRequestBody$outboundSchema: z.ZodType<UpdateIntegrationDeploymentActionRequestBody$Outbound, z.ZodTypeDef, UpdateIntegrationDeploymentActionRequestBody>;
export declare function updateIntegrationDeploymentActionRequestBodyToJSON(updateIntegrationDeploymentActionRequestBody: UpdateIntegrationDeploymentActionRequestBody): string;
/** @internal */
export type UpdateIntegrationDeploymentActionRequest$Outbound = {
deploymentId: string;
integrationConfigurationId: string;
resourceId: string;
action: string;
RequestBody?: UpdateIntegrationDeploymentActionRequestBody$Outbound | undefined;
};
/** @internal */
export declare const UpdateIntegrationDeploymentActionRequest$outboundSchema: z.ZodType<UpdateIntegrationDeploymentActionRequest$Outbound, z.ZodTypeDef, UpdateIntegrationDeploymentActionRequest>;
export declare function updateIntegrationDeploymentActionRequestToJSON(updateIntegrationDeploymentActionRequest: UpdateIntegrationDeploymentActionRequest): string;
//# sourceMappingURL=updateintegrationdeploymentactionop.d.ts.map