TenantsApi - functional programming interface export

  • Parameters

    Returns {
        apiTenantsAccessGet(resourcePath?: string, vector?: string, readCache?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessControlRule>)>;
        apiTenantsAccountAccessGet(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        apiTenantsGet(isLightVersion?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>)>;
        apiTenantsPost(tenantCreateDeets?: TenantCreateDeets, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>)>;
        apiTenantsPut(tenantCreateDeets?: TenantCreateDeets, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>)>;
        apiTenantsRemoveOnboardingDelete(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>)>;
        apiTenantsResourcesGet(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        apiTenantsTaskListGet(taskListType?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskList>)>;
        apiTenantsTaskPut(taskUpdateStatusDeets?: TaskUpdateStatusDeets, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingTask>)>;
        apiTenantsTaskTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingTask>)>;
        apiTenantsVerificationFileUploadPut(frontFile?: File, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>)>;
        apiTenantsVerificationPut(tenantUpdateVerificationDeets?: TenantUpdateVerificationDeets, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>)>;
        getOnboardingSessionApiKey(country?: string, enableExternalAccountCollection?: boolean, businessType?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountSession>)>;
    }

    • apiTenantsAccessGet:function
      • summary Returns permission details such as CanCreate, CanView, etc for the specified resource to assist the UI. For a list of resources available on this account call GetListResources

        Parameters

        • OptionalresourcePath: string
        • Optionalvector: string
        • OptionalreadCache: boolean
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsAccountAccessGet:function
      • summary Returns the list of all access rules for the current user on the current account

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsGet:function
      • summary Retrieve information about the current user/tenant

        Parameters

        • OptionalisLightVersion: boolean
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsPost:function
      • summary Create and on-board a tenant account

        Parameters

        • OptionaltenantCreateDeets: TenantCreateDeets

          Details about the tenant account

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsPut:function
      • summary This is a special use case for onboarding a tenant where the external wallets already exist. Calling this will pull data instead of creating new external accounts where possible.

        Parameters

        • OptionaltenantCreateDeets: TenantCreateDeets
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsRemoveOnboardingDelete:function
      • summary It uses to remove details from stripe

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsResourcesGet:function
      • summary Returns a list of securable resources

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsTaskListGet:function
      • summary Retrieve information about the onbaording tasks

        Parameters

        • OptionaltaskListType: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsTaskPut:function
      • summary It will update the task status

        Parameters

        • OptionaltaskUpdateStatusDeets: TaskUpdateStatusDeets
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsTaskTaskIdGet:function
      • summary Retrieve information about the onbaording task

        Parameters

        • taskId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsVerificationFileUploadPut:function
      • summary It uses to update documents needed for stripe, Proof of concept.

        Parameters

        • OptionalfrontFile: File
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • apiTenantsVerificationPut:function
      • Parameters

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

    • getOnboardingSessionApiKey:function
      • summary Gets an onboarding session key from stripe

        Parameters

        • Optionalcountry: string

          A two letter country code that will be passed to Stripe for account onboarding. Ex: US

        • OptionalenableExternalAccountCollection: boolean

          Whether to allow platforms to control bank account collection for their connected<br />accounts. This feature can only be false for custom accounts (or accounts where the<br />platform is compliance owner). Otherwise, bank account collection is determined by<br />compliance requirements.

        • OptionalbusinessType: string

          One of: `company`, `government_entity`, `individual`, or `non_profit`.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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