Class Organizations

Constructors

Properties

api: Api

Methods

  • Parameters

    • organization: string
    • uids: string[]
    • type: MembersType = 'users'

    Returns Promise<ApiResponse<unknown, unknown>>

  • Parameters

    • id: string

    Returns Promise<ApiResponse<unknown, unknown>>

  • Parameters

    • organization: string
    • data: { products: Record<string, ProductTier> }

    Returns Promise<ApiResponse<{ checkoutUrl: string }, { checkoutUrl: string }>>

  • Parameters

    • organizationId: string

    Returns Promise<User[]>

  • Parameters

    • organizationId: string

    Returns Promise<User[]>

  • Parameters

    Returns Promise<ApiResponse<unknown, unknown>>