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.
117 lines (116 loc) • 3.91 kB
TypeScript
import { ValidateLimitedPhoneInterface, VerifyLimitedEmailInterface, VerifyLimitedPhoneInterface, ConfirmLimitedEmailInterface, ConfirmLimitedPhoneInterface, IsEmailPresentAndValidInterface, IsPhonePresentAndValidInterface, SendOTPPhoneInterface, SendOTPEmailInterface, ForgetPasswordValidateInterface, ForgetPasswordConfirmInterface } from "../interfaces/bankingSystemInterface";
import { LimitedTokenInterface } from "../interfaces/signInterface";
import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
export declare const useVerifyAndConfirm: (userInfo: UserInfo, tokenData: LimitedTokenInterface, baseUrl: string, nodeUrl: string, programId: string, geoCoordinates?: IGeoCoordinates | null, token?: string, userId?: string, lang?: string) => {
ValidateLimitedPhone: (values: ValidateLimitedPhoneInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
VerifyLimitedEmail: (values: VerifyLimitedEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
VerifyLimitedPhone: (values: VerifyLimitedPhoneInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ConfirmLimitedEmail: (values: ConfirmLimitedEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ConfirmLimitedPhone: (values: ConfirmLimitedPhoneInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
IsEmailUsed: (values: IsEmailPresentAndValidInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
IsPhoneUsed: (values: IsPhonePresentAndValidInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: {};
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
SendOTPEmail: (values: SendOTPEmailInterface) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
SendOTPPhone: (values: SendOTPPhoneInterface) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
forgetPasswordValidate: (values: ForgetPasswordValidateInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
forgetPasswordConfirm: (values: ForgetPasswordConfirmInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
};