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.

316 lines (315 loc) 8.47 kB
import { IGeoCoordinates } from "./interface"; export interface ConfirmLimitedEmailInterface { address: string; verificationCode: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateUserEmailInterface { id: any; address: any; geoCoordinates?: IGeoCoordinates | null; } export interface MakePrimaryUserEmailInterface { id: any; address: any; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateUserPhoneInterface { id: any; number: any; geoCoordinates?: IGeoCoordinates | null; } export interface MakeUserPhonePrimaryInterface { id: any; number: any; geoCoordinates?: IGeoCoordinates | null; } export interface ConfirmLimitedPhoneInterface { number: string; verificationCode: string; geoCoordinates?: IGeoCoordinates | null; } export interface CreateAccountInterFace { binID: string; userID: string; currency: string; type: string; status: string; geoCoordinates?: IGeoCoordinates | null; } export interface CreateBankAccountInterFace { name: string; holderName: string; countryCode: string; currencyCode: string; settlementCurrency: string; type: string; number: string; swiftCode: string; iban: string; transitNumber: string; institutionNumber: string; routingNumber: string; isPrimary: string; beneficiaryType: string; userId: string; bankAddress: string; stateRegion?: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateBankAccountInterFace { id: number; name: string; holderName: string; countryCode: string; currencyCode: string; settlementCurrency: string; type: string; number: string; swiftCode: string; iban: string; transitNumber: string; institutionNumber: string; routingNumber: string; status: string; isPrimary: string; beneficiaryType: string; userId: string; bankAddress: string; stateRegion?: string; geoCoordinates?: IGeoCoordinates | null; } export interface MakeBankAccountPrimaryInterFace { id: number; geoCoordinates?: IGeoCoordinates | null; } export interface CreateDocumentInterface { subject: string; fileName: string; fileExtension: string; content: string; entity: number; entityID: string; type: string | number; attachment?: any; geoCoordinates?: IGeoCoordinates | null; } export interface CreateIdentificationInterface { type: number; countryOfIssue: string; countryOfResidence: string; issueDate: string; expiryDate: string; number: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateIdentificationInterface { id: number; type: number; countryOfIssue: string; countryOfResidence: string; issueDate: string; expiryDate: string; number: string; geoCoordinates?: IGeoCoordinates | null; } export interface CreateAddressInterface { type: number; addressLine1: string; addressLine2: string; countryCode: string; cityTown: string; stateRegion: string; postalZipCode: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateAddressInterface { id: number; type: number; addressLine1: string; addressLine2: string; countryCode: string; cityTown: string; stateRegion: string; postalZipCode: string; geoCoordinates?: IGeoCoordinates | null; } export interface MakeAddressPrimaryInterface { id: number; geoCoordinates?: IGeoCoordinates | null; } export interface CreateTicketInterface { subEntity: number; subEntityId: number; userId?: number; verificationMethod?: number; bestTime?: string; note?: string; geoCoordinates?: IGeoCoordinates | null; } export interface GetTransactionInterface { user_id: number; geoCoordinates?: IGeoCoordinates | null; } export interface ValidateLimitedPhoneInterface { type: number; countryCode: string; number: string; timeZone: string; timeZoneName: string; geoCoordinates?: IGeoCoordinates | null; } export interface VerifyLimitedEmailInterface { address: string; geoCoordinates?: IGeoCoordinates | null; } export interface SendOTPEmailInterface { address: string; authorizationRequestType: number; geoCoordinates?: IGeoCoordinates | null; } export interface SendOTPPhoneInterface { number: string; authorizationRequestType: number; geoCoordinates?: IGeoCoordinates | null; } export interface VerifyLimitedPhoneInterface { number: string; geoCoordinates?: IGeoCoordinates | null; } export interface IsEmailPresentAndValidInterface { emailAddress: string; geoCoordinates?: IGeoCoordinates | null; } export interface IsPhonePresentAndValidInterface { mobileNumber: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdatePersonalInfoInterface { title: string; firstName: string; lastName: string; jobTitle: string; gender: string; dateOfBirth: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateProfilePictureInterface { fileName: string; fileExtension: string; content: any; userId?: number; token?: string; geoCoordinates?: IGeoCoordinates | null; } export interface CreateUserEmailInterface { address: string; geoCoordinates?: IGeoCoordinates | null; } export interface CreateUserPhoneInterface { type?: string; countryCode: string; number: string; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteUserPhoneInterface { id: any; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteUserEmailInterface { id: any; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteUserAddressInterface { id: any; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteIdentificationInterface { id: any; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteBankAccountInterFace { id: any; geoCoordinates?: IGeoCoordinates | null; } export interface ResetPasswordInterface { currentPassword: string; newPassword: string; authenticationType: number; code: string; geoCoordinates?: IGeoCoordinates | null; } export interface ForgetPasswordConfirmInterface { password: string; verification_code: string; type: number; user_id: number | string; sub_entity: number | string; sub_entity_id: number | string; geoCoordinates?: IGeoCoordinates | null; } export interface ForgetPasswordValidateInterface { additional_security_type: number; additional_security_value: string; type: number; phone?: string; email?: string; geoCoordinates?: IGeoCoordinates | null; } export interface ResetSecurityQuestionsInterface { currentPassword: string; questionOne: string; questionOneAnswer: string; questionTwo: string; questionTwoAnswer: string; authenticationType: number; code: string; geoCoordinates?: IGeoCoordinates | null; } export interface ChangeUserSecurityCodeInterface { currentPassword: string; userSecurityCode: string; authenticationType: number; code: string; geoCoordinates?: IGeoCoordinates | null; } export interface UpdateUserPreferencesInterface { preferredLanguageCode: string; enablePromotionNotification: string; enableSMSNotification: string; enablePushNotification: string; geoCoordinates?: IGeoCoordinates | null; } export interface ValidateSecurityCodeInterface { securityCode: string; type: string; geoCoordinates?: IGeoCoordinates | null; } export interface ActivateGoogleAuthInterface { type: string | number; code: string; geoCoordinates?: IGeoCoordinates | null; } export interface DeleteGoogleAuthInterface { authenticationType: number; code: string; geoCoordinates?: IGeoCoordinates | null; } export interface ExtendedInfoInterface { cpu: string; fingerprint: string; system_language: string; user_agent: string; geoCoordinates?: IGeoCoordinates | null; } export interface AddDeviceInterface { type: string; brand: string; os: string; verification_status: number; installation_id: string; extended_info: ExtendedInfoInterface; authenticationType: number; code: string; geoCoordinates?: IGeoCoordinates | null; }