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.

71 lines (70 loc) 2.31 kB
import { IGeoCoordinates, UserInfo } from "../interfaces/interface"; import { ConfirmLimitedPhoneInterface, CreateUserPhoneInterface, DeleteUserPhoneInterface, MakeUserPhonePrimaryInterface, UpdateUserPhoneInterface, VerifyLimitedPhoneInterface } from "../interfaces/bankingSystemInterface"; export declare const usePhone: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => { CreateUserPhone: (values: CreateUserPhoneInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; DeleteUserPhone: (values: DeleteUserPhoneInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; VerifyUserPhone: (values: VerifyLimitedPhoneInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: string; status: string; } | { response: any; newUser: any; message: any; status: string; }>; ConfirmUserPhone: (values: ConfirmLimitedPhoneInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; UpdateUserPhone: (values: UpdateUserPhoneInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; MakeUserPhonePrimary: (values: MakeUserPhonePrimaryInterface) => Promise<{ response: import("axios").AxiosResponse<any, any>; newUser: any; message: any; status: string; } | { response: any; newUser: any; message: any; status: string; }>; };