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
TypeScript
import { CreateUserEmailInterface, DeleteUserEmailInterface, UpdateUserEmailInterface, ConfirmLimitedEmailInterface, MakePrimaryUserEmailInterface, VerifyLimitedEmailInterface } from "../interfaces/bankingSystemInterface";
import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
export declare const useEmail: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => {
CreateUserEmail: (values: CreateUserEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
DeleteUserEmail: (values: DeleteUserEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
VerifyUserEmail: (values: VerifyLimitedEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: string;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ConfirmUserEmail: (values: ConfirmLimitedEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
UpdateUserEmail: (values: UpdateUserEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
MakeUserEmailPrimary: (values: MakePrimaryUserEmailInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
};