ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
21 lines (20 loc) • 894 B
TypeScript
import { AccountProxy, AuthProxy, BlockchainProxy, LimitedProxy, OrderProxy, OrganizationProxy, ProgramProxy, PromotionProxy, TransactionProxy, UserProxy } from "./proxy";
import type { APIConfig, ErrorHandler } from "../types";
import type { ClientContextProvider } from "../types/api/context/clientContext";
declare class API {
readonly context: ClientContextProvider;
readonly account: AccountProxy;
readonly auth: AuthProxy;
readonly blockchain: BlockchainProxy;
readonly limited: LimitedProxy;
readonly order: OrderProxy;
readonly organization: OrganizationProxy;
readonly program: ProgramProxy;
readonly promotion: PromotionProxy;
readonly transaction: TransactionProxy;
readonly user: UserProxy;
private readonly cookiesHelper;
constructor(config: APIConfig, errorHandler: ErrorHandler);
logout(): Promise<void>;
}
export { API };