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>

37 lines 2.06 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type RevokeInstallationCredentialRequestBody = { token: string; clientSecret: string; clientId?: string | undefined; }; export type RevokeInstallationCredentialRequest = { integrationConfigurationId: string; requestBody?: RevokeInstallationCredentialRequestBody | undefined; }; export type RevokeInstallationCredentialResponseBody = { revoked: boolean; alreadyRevoked: boolean; }; /** @internal */ export type RevokeInstallationCredentialRequestBody$Outbound = { token: string; client_secret: string; client_id?: string | undefined; }; /** @internal */ export declare const RevokeInstallationCredentialRequestBody$outboundSchema: z.ZodType<RevokeInstallationCredentialRequestBody$Outbound, z.ZodTypeDef, RevokeInstallationCredentialRequestBody>; export declare function revokeInstallationCredentialRequestBodyToJSON(revokeInstallationCredentialRequestBody: RevokeInstallationCredentialRequestBody): string; /** @internal */ export type RevokeInstallationCredentialRequest$Outbound = { integrationConfigurationId: string; RequestBody?: RevokeInstallationCredentialRequestBody$Outbound | undefined; }; /** @internal */ export declare const RevokeInstallationCredentialRequest$outboundSchema: z.ZodType<RevokeInstallationCredentialRequest$Outbound, z.ZodTypeDef, RevokeInstallationCredentialRequest>; export declare function revokeInstallationCredentialRequestToJSON(revokeInstallationCredentialRequest: RevokeInstallationCredentialRequest): string; /** @internal */ export declare const RevokeInstallationCredentialResponseBody$inboundSchema: z.ZodType<RevokeInstallationCredentialResponseBody, z.ZodTypeDef, unknown>; export declare function revokeInstallationCredentialResponseBodyFromJSON(jsonString: string): SafeParseResult<RevokeInstallationCredentialResponseBody, SDKValidationError>; //# sourceMappingURL=revokeinstallationcredentialop.d.ts.map