TenantsApi - object-oriented interface export TenantsApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • 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<AxiosResponse<AccessControlRule, any>>

    memberof TenantsApi

  • 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<AxiosResponse<void, any>>

    memberof TenantsApi

  • summary Retrieve information about the current user/tenant

    Parameters

    • OptionalisLightVersion: boolean
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Tenant, any>>

    memberof TenantsApi

  • summary Create and on-board a tenant account

    Parameters

    • OptionaltenantCreateDeets: TenantCreateDeets

      Details about the tenant account

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Tenant, any>>

    memberof TenantsApi

  • 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<AxiosResponse<Tenant, any>>

    memberof TenantsApi

  • summary It uses to remove details from stripe

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Tenant, any>>

    memberof TenantsApi

  • summary Returns a list of securable resources

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof TenantsApi

  • summary Retrieve information about the onbaording tasks

    Parameters

    • OptionaltaskListType: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<TaskList, any>>

    memberof TenantsApi

  • summary It will update the task status

    Parameters

    • OptionaltaskUpdateStatusDeets: TaskUpdateStatusDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<OnBoardingTask, any>>

    memberof TenantsApi

  • summary Retrieve information about the onbaording task

    Parameters

    • taskId: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<OnBoardingTask, any>>

    memberof TenantsApi

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

    Parameters

    • OptionalfrontFile: File
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<any, any>>

    memberof TenantsApi

  • Parameters

    Returns Promise<AxiosResponse<Tenant, any>>

    memberof TenantsApi

  • 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<AxiosResponse<AccountSession, any>>

    memberof TenantsApi