ggez-banking-sdk 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { DoTransactionInterface, GetTransactionInterface, GetAccountLimit } from "../interfaces/accountInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useAccount: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useAccount: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  GetTransactionByUserId: (values: GetTransactionInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { CreateAddressInterface, DeleteUserAddressInterface, MakeAddressPrimaryInterface, UpdateAddressInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useAddresses: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useAddresses: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateAddress: (values: CreateAddressInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { CreateBankAccountInterFace, UpdateBankAccountInterFace, DeleteBankAccountInterFace, MakeBankAccountPrimaryInterFace } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useBankAccount: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useBankAccount: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateBankAccount: (values: CreateBankAccountInterFace) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { CreateUserEmailInterface, DeleteUserEmailInterface, UpdateUserEmailInterface, ConfirmLimitedEmailInterface, MakePrimaryUserEmailInterface, VerifyLimitedEmailInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useEmail: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useEmail: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateUserEmail: (values: CreateUserEmailInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { CreateIdentificationInterface, DeleteIdentificationInterface, UpdateIdentificationInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useIdentification: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useIdentification: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateIdentification: (values: CreateIdentificationInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { CreateDocumentOrganizationInterface, CreateOrganizationInterface, UpdateOrganizationInterface } from "../interfaces/organizationInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useOrganization: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useOrganization: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateOrganization: (values: CreateOrganizationInterface) => Promise<{
5
5
  response: any;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { UpdatePersonalInfoInterface, UpdateProfilePictureInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const usePersonalInfo: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const usePersonalInfo: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  UpdatePersonalInfo: (values: UpdatePersonalInfoInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
2
2
  import { ConfirmLimitedPhoneInterface, CreateUserPhoneInterface, DeleteUserPhoneInterface, MakeUserPhonePrimaryInterface, UpdateUserPhoneInterface, VerifyLimitedPhoneInterface } from "../interfaces/bankingSystemInterface";
3
- export declare const usePhone: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const usePhone: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateUserPhone: (values: CreateUserPhoneInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,6 +1,6 @@
1
1
  import { ChangeUserSecurityCodeInterface, ResetPasswordInterface, ResetSecurityQuestionsInterface, UpdateUserPreferencesInterface, ValidateSecurityCodeInterface, ActivateGoogleAuthInterface, DeleteGoogleAuthInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useSecurity: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useSecurity: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  ResetPassword: (values: ResetPasswordInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
@@ -1,7 +1,7 @@
1
1
  import { ValidateLimitedPhoneInterface, VerifyLimitedEmailInterface, VerifyLimitedPhoneInterface, ConfirmLimitedEmailInterface, ConfirmLimitedPhoneInterface, IsEmailPresentAndValidInterface, IsPhonePresentAndValidInterface, SendOTPPhoneInterface, SendOTPEmailInterface, ForgetPasswordValidateInterface, ForgetPasswordConfirmInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { LimitedTokenInterface } from "../interfaces/signInterface";
3
3
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
4
- export declare const useVerifyAndConfirm: (userInfo: UserInfo, tokenData: LimitedTokenInterface, baseUrl: string, nodeUrl: string, programId: string, geoCoordinates: IGeoCoordinates, token?: string, userId?: string, lang?: string) => {
4
+ export declare const useVerifyAndConfirm: (userInfo: UserInfo, tokenData: LimitedTokenInterface, baseUrl: string, nodeUrl: string, programId: string, geoCoordinates?: IGeoCoordinates, token?: string, userId?: string, lang?: string) => {
5
5
  ValidateLimitedPhone: (values: ValidateLimitedPhoneInterface) => Promise<{
6
6
  response: import("axios").AxiosResponse<any, any>;
7
7
  newUser: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "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.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",