import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DestinationSchemaField, DestinationSchemaField$Outbound } from "./destinationschemafield.js"; export type DestinationTypeSchema = { type?: string | undefined; label?: string | undefined; description?: string | undefined; /** * SVG icon string. */ icon?: string | undefined; /** * Markdown instructions. */ instructions?: string | undefined; /** * Some destinations may have Oauth flow or other managed-setup flow that can be triggered with a link. If a `remote_setup_url` is set then the user should be prompted to follow the link to configure the destination. * * @remarks * See the [building your own UI guide](https://outpost.hookdeck.com/guides/building-your-own-ui.mdx) for recommended UI patterns and wireframes for implementation in your own app. */ remoteSetupUrl?: string | undefined; /** * Config fields are non-secret values that can be stored and displayed to the user in plain text. */ configFields?: Array | undefined; /** * Credential fields are secret values that will be AES encrypted and obfuscated to the user. Some credentials may not be obfuscated; the destination type dictates the obfuscation logic. */ credentialFields?: Array | undefined; }; /** @internal */ export declare const DestinationTypeSchema$inboundSchema: z.ZodType; /** @internal */ export type DestinationTypeSchema$Outbound = { type?: string | undefined; label?: string | undefined; description?: string | undefined; icon?: string | undefined; instructions?: string | undefined; remote_setup_url?: string | undefined; config_fields?: Array | undefined; credential_fields?: Array | undefined; }; /** @internal */ export declare const DestinationTypeSchema$outboundSchema: z.ZodType; export declare function destinationTypeSchemaToJSON(destinationTypeSchema: DestinationTypeSchema): string; export declare function destinationTypeSchemaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=destinationtypeschema.d.ts.map