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.
50 lines (49 loc) • 1.38 kB
TypeScript
import { GiftData } from "../../../banking";
interface IGetUserData {
id: number;
token?: string;
}
interface ICreateUserData {
firstName: string;
lastName: string;
title: string;
userType: number;
dateOfBirth: string;
country: string;
state?: string;
gender: number | string;
email: string;
mobileNumber: string;
password: string;
currency: string;
isMobileConfirmed?: boolean;
mobileAuthenticationCode: string;
emailAuthenticationCode: string;
installationID: string;
deviceVerificationStatus: number;
securityCode: number;
referralCode: string;
referralCodeType: string;
mobileNumberCountry: string;
preferredLanguageCode: string;
giftData: GiftData;
}
interface ICreateUserWithGoogleData extends ICreateUserData {
loginId: string;
token: string;
picture: string;
}
export type * from "./address";
export type * from "./auth";
export type * from "./bankAccount";
export type * from "./device";
export type * from "./document";
export type * from "./email";
export type * from "./identification";
export type * from "./phone";
export type * from "./preferences";
export type * from "./personalInfo";
export type * from "./security";
export type * from "./ticket";
export type * from "./type";
export type { IGetUserData, ICreateUserData, ICreateUserWithGoogleData };