UNPKG

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.

12 lines (11 loc) 626 B
import { BaseService } from "./baseService"; import type { TokenData, NodeTokenData } from "../../types/banking/oauth/tokenData"; import type { IGenerateLimitedTokenData } from "../../types/api/data/auth"; import type { AuthServiceParameters } from "../../types/api/service/authService"; declare class AuthService extends BaseService { protected endpoint: string; constructor(data: AuthServiceParameters); login(data: string): Promise<import("../..").ApiResponse<TokenData>>; generateLimitedToken(data: IGenerateLimitedTokenData): Promise<import("../..").ApiResponse<NodeTokenData>>; } export { AuthService };