UNPKG

@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.73 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetAccountInfoRequest = { integrationConfigurationId: string; }; /** * The best contact for the integration, which can change as team members and their roles change. */ export type Contact = { email: string; name?: string | undefined; }; export type GetAccountInfoResponseBody = { /** * The name of the team the installation is tied to. */ name?: string | undefined; /** * A URL linking to the installation in the Vercel Dashboard. */ url: string; /** * The best contact for the integration, which can change as team members and their roles change. */ contact: Contact | null; }; /** @internal */ export type GetAccountInfoRequest$Outbound = { integrationConfigurationId: string; }; /** @internal */ export declare const GetAccountInfoRequest$outboundSchema: z.ZodType<GetAccountInfoRequest$Outbound, z.ZodTypeDef, GetAccountInfoRequest>; export declare function getAccountInfoRequestToJSON(getAccountInfoRequest: GetAccountInfoRequest): string; /** @internal */ export declare const Contact$inboundSchema: z.ZodType<Contact, z.ZodTypeDef, unknown>; export declare function contactFromJSON(jsonString: string): SafeParseResult<Contact, SDKValidationError>; /** @internal */ export declare const GetAccountInfoResponseBody$inboundSchema: z.ZodType<GetAccountInfoResponseBody, z.ZodTypeDef, unknown>; export declare function getAccountInfoResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAccountInfoResponseBody, SDKValidationError>; //# sourceMappingURL=getaccountinfoop.d.ts.map