1
0
Fork 0
mirror of synced 2024-05-17 10:53:15 +12:00
budibase/qa-core/src/account-api/api/AccountInternalAPI.ts
Mitch-Budibase 5e16d04519 lint
2023-10-05 17:43:25 +01:00

21 lines
604 B
TypeScript

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)
this.stripe = new StripeAPI(this.client)
}
}