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.
115 lines (114 loc) • 3.55 kB
TypeScript
import { ChangeUserSecurityCodeInterface, ResetPasswordInterface, ResetSecurityQuestionsInterface, UpdateUserPreferencesInterface, ValidateSecurityCodeInterface, ActivateGoogleAuthInterface, DeleteGoogleAuthInterface } from "../interfaces/bankingSystemInterface";
import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
export declare const useSecurity: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => {
ResetPassword: (values: ResetPasswordInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ResetSecurityQuestions: (values: ResetSecurityQuestionsInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ChangeUserSecurityCode: (values: ChangeUserSecurityCodeInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
UpdateUserPreferences: (values: UpdateUserPreferencesInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ValidateSecurityCode: (values: ValidateSecurityCodeInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
EnrollGoogleAuth: () => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
ActivateGoogleAuth: (values: ActivateGoogleAuthInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
deActivateGoogleAuth: (values: ActivateGoogleAuthInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
deleteGoogleAuth: (values: DeleteGoogleAuthInterface) => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
GetSecurityOperation: () => Promise<{
response: import("axios").AxiosResponse<any, any>;
newUser: any;
message: any;
status: string;
} | {
response: any;
newUser: any;
message: any;
status: string;
}>;
};