@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>
34 lines • 1.28 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { VercelError } from "./vercelerror.js";
export declare const ExpectedPriceMismatchCode: {
readonly ExpectedPriceMismatch: "expected_price_mismatch";
};
export type ExpectedPriceMismatchCode = ClosedEnum<typeof ExpectedPriceMismatchCode>;
/**
* The expected price passed does not match the actual price.
*/
export type ExpectedPriceMismatchData = {
status: number;
code: ExpectedPriceMismatchCode;
message: string;
};
/**
* The expected price passed does not match the actual price.
*/
export declare class ExpectedPriceMismatch extends VercelError {
status: number;
code: ExpectedPriceMismatchCode;
/** The original data that was passed to this error instance. */
data$: ExpectedPriceMismatchData;
constructor(err: ExpectedPriceMismatchData, httpMeta: {
response: Response;
request: Request;
body: string;
});
}
/** @internal */
export declare const ExpectedPriceMismatchCode$inboundSchema: z.ZodNativeEnum<typeof ExpectedPriceMismatchCode>;
/** @internal */
export declare const ExpectedPriceMismatch$inboundSchema: z.ZodType<ExpectedPriceMismatch, z.ZodTypeDef, unknown>;
//# sourceMappingURL=expectedpricemismatch.d.ts.map