Membrane SDK - 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;
    } = ...

    Type Declaration

    • Optionalschema?: DataSchema
    • Optionaldescription?: string
    • OptionalhelpUri?: string
    • Optionaltest?: boolean

    Use inputSchema instead. Will be removed in future versions.

    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: Record<
                string,
                | {
                    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: "oauth2";
                    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;
                    };
                    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;
                    };
                }
                | {
                    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: "oauth1";
                    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;
                    };
                }
                | {
                    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: "client-credentials";
                    getCredentialsFromConnectionParameters?: {
                        implementationType?: | mapping
                        | operationMapping
                        | restApiMapping
                        | graphqlApiMapping
                        | javascript
                        | notSupported;
                        filePath?: string;
                        inheritedFromPath?: string[];
                        isIncomplete?: boolean;
                        parametersSchema?: DataSchema;
                    };
                }
                | {
                    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: "integration-app-token";
                }
                | {
                    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: "membrane-token";
                }
                | {
                    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";
                    proxyKey: string;
                },
            >;
        } = ...
    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 = ...