@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>
41 lines • 1.63 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { VcrTag } from "./vcrtag.js";
export type GetRepositoryTagRequest = {
/**
* Project ID. Missing or empty values return HTTP 400.
*/
projectId: string;
idOrName: string;
tag: string;
/**
* The Team identifier to perform the request on behalf of.
*/
teamId?: string | undefined;
/**
* The Team slug to perform the request on behalf of.
*/
slug?: string | undefined;
};
export type GetRepositoryTagResponseBody = {
/**
* A tag pointing at an image in a Vercel Container Registry repository, enriched with the backing image's metadata and VHS-readiness status.
*/
tag: VcrTag;
};
/** @internal */
export type GetRepositoryTagRequest$Outbound = {
projectId: string;
idOrName: string;
tag: string;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const GetRepositoryTagRequest$outboundSchema: z.ZodType<GetRepositoryTagRequest$Outbound, z.ZodTypeDef, GetRepositoryTagRequest>;
export declare function getRepositoryTagRequestToJSON(getRepositoryTagRequest: GetRepositoryTagRequest): string;
/** @internal */
export declare const GetRepositoryTagResponseBody$inboundSchema: z.ZodType<GetRepositoryTagResponseBody, z.ZodTypeDef, unknown>;
export declare function getRepositoryTagResponseBodyFromJSON(jsonString: string): SafeParseResult<GetRepositoryTagResponseBody, SDKValidationError>;
//# sourceMappingURL=getrepositorytagop.d.ts.map