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

    Function findUdmRootLocation

    • Parameters

      • spec: {
            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<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                    getOAuthConfig: ZodOptional<(...)>;
                                    getTokenData: ZodOptional<(...)>;
                                    getCredentialsFromAccessTokenResponse: ZodOptional<(...)>;
                                    getCredentialsFromRefreshTokenResponse: ZodOptional<(...)>;
                                    oAuthConfig: ZodOptional<(...)>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    title: ZodOptional<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                    getOAuthConfig: ZodOptional<(...)>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    title: ZodOptional<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                    getCredentialsFromConnectionParameters: ZodOptional<(...)>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    title: ZodOptional<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    title: ZodOptional<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    title: ZodOptional<(...)>;
                                    description: ZodOptional<(...)>;
                                    inputSchema: ZodOptional<(...)>;
                                    ui: ZodOptional<(...)>;
                                    parametersSchema: ZodOptional<(...)>;
                                    credentialsSchema: ZodOptional<(...)>;
                                    customCredentialsSchema: ZodOptional<(...)>;
                                    makeApiClient: ZodOptional<(...)>;
                                    refreshCredentials: ZodOptional<(...)>;
                                    test: ZodOptional<(...)>;
                                    disconnect: ZodOptional<(...)>;
                                    enabled: ZodOptional<(...)>;
                                    type: ZodLiteral<(...)>;
                                    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;
        }
      • udm: string
      • OptionaluseFallback: boolean

      Returns { key: string; parameters?: Record<string, any> } | undefined