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.

47 lines (46 loc) 1.62 kB
import { CreateDeviceInterface, UpdateDeviceInterface, DeleteDeviceInterface, VerifyDeviceInterface, ConfirmDeviceInterface, LogoutDeviceInterface } from "../interfaces/deviceInterface"; import { IGeoCoordinates, UserInfo } from "../interfaces/interface"; export declare const useDevice: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, lang?: string, geoCoordinates?: IGeoCoordinates | null) => { CreateDevice: (values: CreateDeviceInterface, access_token?: string, user_id?: string) => Promise<{ response: any; newUser: any; message: any; status: string; }>; UpdateDevice: (values: UpdateDeviceInterface, access_token?: string, user_id?: string) => Promise<{ response: any; newUser: any; message: any; status: string; }>; DeleteDevice: (values: DeleteDeviceInterface) => Promise<{ response: any; newUser: any; message: any; status: string; }>; VerifyDevice: (values: VerifyDeviceInterface) => Promise<{ response: any; newUser: any; message: any; status: string; }>; ConfirmDevice: (values: ConfirmDeviceInterface) => Promise<{ response: any; newUser: any; message: any; status: string; }>; GetUserDeviceLoginHistory: () => Promise<{ response: any; newUser: any; message: any; status: string; }>; LogoutDevice: (values: LogoutDeviceInterface) => Promise<{ response: any; newUser: any; message: any; status: string; }>; };