UNPKG

channelape-sdk

Version:
19 lines (18 loc) 720 B
import RequestClientWrapper from '../../../RequestClientWrapper'; import ApiAccount from '../model/ApiAccount'; export default class ApiAccountsService { private readonly client; constructor(client: RequestClientWrapper); /** * Do Not Use. This is for internal use only * */ getById(apiAccountId: string): Promise<ApiAccount>; get(businessId: string, apiAccountId?: string): Promise<ApiAccount | ApiAccount[]>; delete(businessId: string, apiAccountId: string): Promise<ApiAccount>; create(name: string, businessId: string): Promise<ApiAccount>; private mapApiAccountPromise; private mapApiAccountPromises; private formatApiAccounts; private formatApiAccount; }