9 lines
441 B
TypeScript
9 lines
441 B
TypeScript
|
import { SubaccountListResponseData, SubaccountResponseData, SubaccountsQuery } from '../../Types';
|
||
|
export interface ISubaccountsClient {
|
||
|
list(query?: SubaccountsQuery): Promise<SubaccountListResponseData>;
|
||
|
get(id: string): Promise<SubaccountResponseData>;
|
||
|
create(name: string): Promise<SubaccountResponseData>;
|
||
|
disable(id: string): Promise<SubaccountResponseData>;
|
||
|
enable(id: string): Promise<SubaccountResponseData>;
|
||
|
}
|