TenantsApi - factory interface export

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns {
        apiTenantsAccessGet(resourcePath?: string, vector?: string, readCache?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<AccessControlRule>;
        apiTenantsAccountAccessGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiTenantsGet(isLightVersion?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
        apiTenantsPost(tenantCreateDeets?: TenantCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
        apiTenantsPut(tenantCreateDeets?: TenantCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
        apiTenantsRemoveOnboardingDelete(options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
        apiTenantsResourcesGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiTenantsTaskListGet(taskListType?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskList>;
        apiTenantsTaskPut(taskUpdateStatusDeets?: TaskUpdateStatusDeets, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingTask>;
        apiTenantsTaskTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingTask>;
        apiTenantsVerificationFileUploadPut(frontFile?: File, options?: RawAxiosRequestConfig): AxiosPromise<any>;
        apiTenantsVerificationPut(tenantUpdateVerificationDeets?: TenantUpdateVerificationDeets, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
        getOnboardingSessionApiKey(country?: string, enableExternalAccountCollection?: boolean, businessType?: string, options?: RawAxiosRequestConfig): 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 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 AxiosPromise<void>

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

        Parameters

        • OptionalisLightVersion: boolean
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns 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 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 AxiosPromise<Tenant>

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

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<Tenant>

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

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

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

        Parameters

        • OptionaltaskListType: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<TaskList>

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

        Parameters

        • taskId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns 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 AxiosPromise<any>

    • apiTenantsVerificationPut:function
    • 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 AxiosPromise<AccountSession>