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.

49 lines (48 loc) 1.66 kB
import { CreateBankAccountInterFace, UpdateBankAccountInterFace, DeleteBankAccountInterFace, MakeBankAccountPrimaryInterFace } from "../interfaces/bankingSystemInterface"; import { IGeoCoordinates, UserInfo } from "../interfaces/interface"; export declare const useBankAccount: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => { CreateBankAccount: (values: CreateBankAccountInterFace) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; MakeBankAccountPrimary: (values: MakeBankAccountPrimaryInterFace) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; UpdateBankAccount: (values: UpdateBankAccountInterFace) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; DeleteBankAccount: (values: DeleteBankAccountInterFace) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; };