UNPKG

n8n

Version:

n8n Workflow Automation Tool

463 lines (462 loc) 13 kB
import { z } from 'zod'; declare const firecrawlQuickConnectSchema: z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; config: z.ZodOptional<z.ZodNever>; } & { quickConnectType: z.ZodLiteral<"firecrawl">; consentText: z.ZodString; backendFlowConfig: z.ZodObject<{ secret: z.ZodString; }, "strip", z.ZodTypeAny, { secret: string; }, { secret: string; }>; }, "strip", z.ZodTypeAny, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }>; export type FirecrawlQuickConnect = z.infer<typeof firecrawlQuickConnectSchema>; declare const quickConnectOptionSchema: z.ZodUnion<[z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; config: z.ZodOptional<z.ZodNever>; } & { quickConnectType: z.ZodLiteral<"firecrawl">; consentText: z.ZodString; backendFlowConfig: z.ZodObject<{ secret: z.ZodString; }, "strip", z.ZodTypeAny, { secret: string; }, { secret: string; }>; }, "strip", z.ZodTypeAny, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }>, z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; consentText: z.ZodOptional<z.ZodString>; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; backendFlowConfig: z.ZodOptional<z.ZodNever>; } & { quickConnectType: z.ZodLiteral<"pinecone">; config: z.ZodObject<{ integrationId: z.ZodString; }, "strip", z.ZodTypeAny, { integrationId: string; }, { integrationId: string; }>; }, "strip", z.ZodTypeAny, { packageName: string; config: { integrationId: string; }; text: string; credentialType: string; quickConnectType: "pinecone"; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }, { packageName: string; config: { integrationId: string; }; text: string; credentialType: string; quickConnectType: "pinecone"; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }>, z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; quickConnectType: z.ZodString; consentText: z.ZodOptional<z.ZodString>; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; config: z.ZodOptional<z.ZodNever>; backendFlowConfig: z.ZodOptional<z.ZodNever>; }, "strip", z.ZodTypeAny, { packageName: string; text: string; credentialType: string; quickConnectType: string; config?: undefined; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }, { packageName: string; text: string; credentialType: string; quickConnectType: string; config?: undefined; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }>]>; export type QuickConnectOption = z.infer<typeof quickConnectOptionSchema>; declare const quickConnectOptionsSchema: z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; config: z.ZodOptional<z.ZodNever>; } & { quickConnectType: z.ZodLiteral<"firecrawl">; consentText: z.ZodString; backendFlowConfig: z.ZodObject<{ secret: z.ZodString; }, "strip", z.ZodTypeAny, { secret: string; }, { secret: string; }>; }, "strip", z.ZodTypeAny, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }, { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; }>, z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; consentText: z.ZodOptional<z.ZodString>; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; backendFlowConfig: z.ZodOptional<z.ZodNever>; } & { quickConnectType: z.ZodLiteral<"pinecone">; config: z.ZodObject<{ integrationId: z.ZodString; }, "strip", z.ZodTypeAny, { integrationId: string; }, { integrationId: string; }>; }, "strip", z.ZodTypeAny, { packageName: string; config: { integrationId: string; }; text: string; credentialType: string; quickConnectType: "pinecone"; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }, { packageName: string; config: { integrationId: string; }; text: string; credentialType: string; quickConnectType: "pinecone"; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }>, z.ZodObject<{ packageName: z.ZodString; credentialType: z.ZodString; text: z.ZodString; quickConnectType: z.ZodString; consentText: z.ZodOptional<z.ZodString>; consentCheckbox: z.ZodOptional<z.ZodString>; disclaimer: z.ZodOptional<z.ZodObject<{ text: z.ZodEffects<z.ZodString, string, string>; linkUrl: z.ZodString; linkLabel: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { text: string; linkUrl: string; linkLabel?: string | undefined; }, { text: string; linkUrl: string; linkLabel?: string | undefined; }>>; config: z.ZodOptional<z.ZodNever>; backendFlowConfig: z.ZodOptional<z.ZodNever>; }, "strip", z.ZodTypeAny, { packageName: string; text: string; credentialType: string; quickConnectType: string; config?: undefined; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }, { packageName: string; text: string; credentialType: string; quickConnectType: string; config?: undefined; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; }>]>, "many">, ({ packageName: string; text: string; credentialType: string; quickConnectType: string; config?: undefined; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; } | { packageName: string; config: { integrationId: string; }; text: string; credentialType: string; quickConnectType: "pinecone"; consentText?: string | undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; backendFlowConfig?: undefined; } | { packageName: string; text: string; credentialType: string; quickConnectType: "firecrawl"; consentText: string; backendFlowConfig: { secret: string; }; config?: undefined; consentCheckbox?: string | undefined; disclaimer?: { text: string; linkUrl: string; linkLabel?: string | undefined; } | undefined; })[], unknown>>; export type QuickConnectOptions = z.infer<typeof quickConnectOptionsSchema>; export declare class QuickConnectConfig { options: QuickConnectOptions; } export {};