ConnectorsApi - functional programming interface export

  • Parameters

    Returns {
        apiConnectorsItemsGet(connectorName?: string, keywords?: string, channelId?: string, limit?: number, page?: number, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioItemListResponse>)>;
        connectorAuthenticate(connectorName?: string, code?: string, isSmartAuth?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthListResponse>)>;
        connectorAuthUrl(connectorName?: string, isSmartAuth?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthUrl>)>;
        connectorCheckAuth(connectorName?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthListResponse>)>;
        connectorRevokeAccess(connectorName?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        connectorSmartAuthenticationCallback(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        connectorsPOST(connectorDeet?: ConnectorDeet, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Connector>)>;
        getConnectors(limit?: number, page?: number, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorListResponse>)>;
    }

    • apiConnectorsItemsGet:function
      • summary Retreive portfolio items.

        Parameters

        • OptionalconnectorName: string
        • Optionalkeywords: string
        • OptionalchannelId: string
        • Optionallimit: number

          A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

        • Optionalpage: number

          1-based page index for paginated results

        • OptionaluserId: string

          The user id to operate on their behalf (tenants only)

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioItemListResponse>)>

    • connectorAuthenticate:function
      • summary Authentication with connector and store access info.

        Parameters

        • OptionalconnectorName: string
        • Optionalcode: string
        • OptionalisSmartAuth: boolean
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthListResponse>)>

    • connectorAuthUrl:function
      • summary Connector auth url for authentication.

        Parameters

        • OptionalconnectorName: string
        • OptionalisSmartAuth: boolean
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthUrl>)>

    • connectorCheckAuth:function
      • summary Check if already authenticated for connector

        Parameters

        • OptionalconnectorName: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthListResponse>)>

    • connectorRevokeAccess:function
      • summary Revoke access

        Parameters

        • OptionalconnectorName: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>

    • connectorSmartAuthenticationCallback:function
      • summary Smart auth callback to store token.

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>

    • connectorsPOST:function
      • summary Create a connector

        Parameters

        • OptionalconnectorDeet: ConnectorDeet
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Connector>)>

    • getConnectors:function
      • summary Retrieve a List all connectors.

        Parameters

        • Optionallimit: number

          A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

        • Optionalpage: number

          1-based page index for paginated results

        • OptionaluserId: string

          The user id to operate on their behalf (tenants only)

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorListResponse>)>