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.
18 lines (17 loc) • 1.04 kB
TypeScript
import { InternalAxiosRequestConfig } from "axios";
import type { GeoHelper } from "../geoHelper";
import type { Bearer, GetLimitedAuthHeaders, GetLimitedToken, InjectBaseHeaders, InjectLimitedToken, TAddAxiosConfigHeader, TGetAuthAxiosConfig, TGetAxiosConfig, TInjectRequest } from "../../types/helper/api/axiosHelper";
import type { BaseResult } from "../../types/banking/common/baseresult";
declare class AxiosHelper {
static bearer: Bearer;
static getAxiosConfig: TGetAxiosConfig;
static getAuthAxiosConfig: TGetAuthAxiosConfig;
static addAxiosConfigHeader: TAddAxiosConfigHeader;
static injectBaseHeaders: InjectBaseHeaders<BaseResult>;
static injectBaseBodyProperties: TInjectRequest<BaseResult | string>;
static getLimitedToken: GetLimitedToken;
static getLimitedAuthHeaders: GetLimitedAuthHeaders;
static injectLimitedToken: InjectLimitedToken;
static injectGeoCoordinates: (req: InternalAxiosRequestConfig, geoHelper: GeoHelper) => Promise<InternalAxiosRequestConfig>;
}
export { AxiosHelper };