1
0
Fork 0
mirror of synced 2024-06-14 08:24:48 +12:00
budibase/qa-core/src/account-api/api/AccountInternalAPI.ts

21 lines
604 B
TypeScript
Raw Normal View History

import AccountInternalAPIClient from "./AccountInternalAPIClient"
import { AccountAPI, LicenseAPI, AuthAPI, StripeAPI } from "./apis"
import { State } from "../../types"
export default class AccountInternalAPI {
client: AccountInternalAPIClient
auth: AuthAPI
accounts: AccountAPI
licenses: LicenseAPI
stripe: StripeAPI
constructor(state: State) {
this.client = new AccountInternalAPIClient(state)
this.auth = new AuthAPI(this.client)
this.accounts = new AccountAPI(this.client)
this.licenses = new LicenseAPI(this.client)
2023-10-06 05:43:25 +13:00
this.stripe = new StripeAPI(this.client)
}
}