@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>
28 lines • 1.77 kB
TypeScript
import * as z from "zod/v3";
import { ConnectReplaceTriggerDestinationsRequest, ConnectReplaceTriggerDestinationsRequest$Outbound } from "./connectreplacetriggerdestinationsrequest.js";
export type ReplaceConnectorTriggerDestinationsRequest = {
/**
* Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.
*/
connector: string;
/**
* The team ID that scopes the request. Do not send it with slug. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected.
*/
teamId?: string | undefined;
/**
* The team slug that scopes the request. Do not send it with teamId. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected.
*/
slug?: string | undefined;
connectReplaceTriggerDestinationsRequest: ConnectReplaceTriggerDestinationsRequest;
};
/** @internal */
export type ReplaceConnectorTriggerDestinationsRequest$Outbound = {
connector: string;
teamId?: string | undefined;
slug?: string | undefined;
ConnectReplaceTriggerDestinationsRequest: ConnectReplaceTriggerDestinationsRequest$Outbound;
};
/** @internal */
export declare const ReplaceConnectorTriggerDestinationsRequest$outboundSchema: z.ZodType<ReplaceConnectorTriggerDestinationsRequest$Outbound, z.ZodTypeDef, ReplaceConnectorTriggerDestinationsRequest>;
export declare function replaceConnectorTriggerDestinationsRequestToJSON(replaceConnectorTriggerDestinationsRequest: ReplaceConnectorTriggerDestinationsRequest): string;
//# sourceMappingURL=replaceconnectortriggerdestinationsop.d.ts.map