rittenhop-ghost/versions/5.94.2/node_modules/mailgun.js/Interfaces/Subaccounts/ISubaccountsClient.d.ts

9 lines
441 B
TypeScript
Raw Normal View History

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>;
}