Membrane React - v0.29.2
    Preparing search index...

    Class ConnectionSpec

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    key?: string
    name?: string
    logoUri?: string
    api?: { type: "openapi" | "graphql" }
    ui?: {
        schema?: DataSchema;
        description?: string;
        helpUri?: string;
        test?: boolean;
    }
    inputSchema?: DataSchema
    auth?:
        | (
            ({ type: "oauth2"; title?: string | undefined; description?: string | undefined; inputSchema?: DataSchema | undefined; ui?: { schema?: DataSchema | undefined; helpUri?: string | undefined; } | undefined; ... 12 more ...; oAuthConfig?: { ...; } | ... 6 more ... | undefined; } | ... 4 more ... | { ...; }) & { ...; }
        )
        | {
            title?: string;
            description?: string;
            inputSchema?: DataSchema;
            ui?: { schema?: DataSchema; helpUri?: string };
            parametersSchema?: DataSchema;
            credentialsSchema?: DataSchema;
            customCredentialsSchema?: DataSchema;
            makeApiClient?: {
                implementationType?:
                    | mapping
                    | operationMapping
                    | restApiMapping
                    | graphqlApiMapping
                    | javascript
                    | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            };
            refreshCredentials?: {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            };
            test?: {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            };
            disconnect?: {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            };
            enabled?: any;
            type?: | "proxy"
            | "integration-app-token"
            | "membrane-token"
            | "oauth2"
            | "oauth1"
            | "client-credentials";
            getOAuthConfig?: | {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: mapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: operationMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: restApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: graphqlApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: javascript;
                code: string;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: notSupported;
            };
            getTokenData?: | {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: mapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: operationMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: restApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: graphqlApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: javascript;
                code: string;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: notSupported;
            };
            getCredentialsFromAccessTokenResponse?: | {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: mapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: operationMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: restApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: graphqlApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: javascript;
                code: string;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: notSupported;
            };
            getCredentialsFromRefreshTokenResponse?: | {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: mapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: operationMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: restApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: graphqlApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: javascript;
                code: string;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: notSupported;
            };
            getCredentialsFromConnectionParameters?: {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            };
            proxyKey?: string;
            oAuthConfig?: | {
                implementationType?: | mapping
                | operationMapping
                | restApiMapping
                | graphqlApiMapping
                | javascript
                | notSupported;
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: mapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: operationMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: restApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: graphqlApiMapping;
                mapping: any;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: javascript;
                code: string;
            }
            | {
                filePath?: string;
                inheritedFromPath?: string[];
                isIncomplete?: boolean;
                parametersSchema?: DataSchema;
                implementationType: notSupported;
            };
        } & {
            options: ZodRecord<
                ZodString,
                ZodUnion<
                    readonly [
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"oauth2">;
                                getOAuthConfig: ZodOptional<ZodUnion<(...)>>;
                                getTokenData: ZodOptional<ZodUnion<(...)>>;
                                getCredentialsFromAccessTokenResponse: ZodOptional<ZodUnion<(...)>>;
                                getCredentialsFromRefreshTokenResponse: ZodOptional<ZodUnion<(...)>>;
                                oAuthConfig: ZodOptional<ZodUnion<(...)>>;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"oauth1">;
                                getOAuthConfig: ZodOptional<ZodUnion<(...)>>;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"client-credentials">;
                                getCredentialsFromConnectionParameters: ZodOptional<
                                    ZodObject<(...), (...)>,
                                >;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"integration-app-token">;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"membrane-token">;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                title: ZodOptional<ZodString>;
                                description: ZodOptional<ZodString>;
                                inputSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                ui: ZodOptional<ZodObject<(...), (...)>>;
                                parametersSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                credentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                customCredentialsSchema: ZodOptional<ZodType<(...), (...), (...)>>;
                                makeApiClient: ZodOptional<ZodObject<(...), (...)>>;
                                refreshCredentials: ZodOptional<ZodObject<(...), (...)>>;
                                test: ZodOptional<ZodObject<(...), (...)>>;
                                disconnect: ZodOptional<ZodObject<(...), (...)>>;
                                enabled: ZodOptional<ZodAny>;
                                type: ZodLiteral<"proxy">;
                                proxyKey: ZodString;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
        }
    parametersSchema?: DataSchema
    udms?: string[]
    udm?: Record<string, any>
    operations?: any[]
    test?:
        | {
            implementationType?: | mapping
            | operationMapping
            | restApiMapping
            | graphqlApiMapping
            | javascript
            | notSupported;
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: mapping;
            mapping: any;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: operationMapping;
            mapping: any;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: restApiMapping;
            mapping: any;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: graphqlApiMapping;
            mapping: any;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: javascript;
            code: string;
        }
        | {
            filePath?: string;
            inheritedFromPath?: string[];
            isIncomplete?: boolean;
            parametersSchema?: DataSchema;
            implementationType: notSupported;
        }
    hasReadme?: boolean
    externalAppId?: string
    appUuid?: string
    knowledgeBaseUuid?: string
    workspaceId?: string
    data?: any