ggez-banking-sdk 0.0.69 → 0.0.71

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 { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityStatus, OrderType, TransactionType, ValidateType } from "../constants/enum";
2
2
  import { CreateDeviceInterface, UpdateDeviceInterface, DeleteDeviceInterface, VerifyDeviceInterface, ConfirmDeviceInterface, LogoutDeviceInterface } from "../interfaces/deviceInterface";
3
- import { CustomField, SignUpInterface, SignUpWithGoogleInterface } from "../interfaces/signInterface";
3
+ import { SignUpInterface, SignUpWithGoogleInterface } from "../interfaces/signInterface";
4
4
  import { DoTransactionInterface, GetTransactionInterface } from "../interfaces/accountInterface";
5
5
  import { CreateAddressInterface, DeleteUserAddressInterface, MakeAddressPrimaryInterface, UpdateAddressInterface, CreateUserEmailInterface, DeleteUserEmailInterface, UpdateUserEmailInterface, ConfirmLimitedEmailInterface, MakePrimaryUserEmailInterface, VerifyLimitedEmailInterface, ConfirmLimitedPhoneInterface, CreateUserPhoneInterface, DeleteUserPhoneInterface, MakeUserPhonePrimaryInterface, UpdateUserPhoneInterface, VerifyLimitedPhoneInterface, CreateBankAccountInterFace, UpdateBankAccountInterFace, DeleteBankAccountInterFace, MakeBankAccountPrimaryInterFace, CreateIdentificationInterface, DeleteIdentificationInterface, UpdateIdentificationInterface, UpdatePersonalInfoInterface, UpdateProfilePictureInterface, ChangeUserSecurityCodeInterface, ResetPasswordInterface, ResetSecurityQuestionsInterface, UpdateUserPreferencesInterface, ValidateSecurityCodeInterface, ActivateGoogleAuthInterface, ValidateLimitedPhoneInterface, IsEmailPresentAndValidInterface, IsPhonePresentAndValidInterface, SendOTPPhoneInterface, SendOTPEmailInterface, CreateDocumentInterface, ForgetPasswordConfirmInterface, ForgetPasswordValidateInterface, DeleteGoogleAuthInterface } from "../interfaces/bankingSystemInterface";
6
6
  import { IOrderInterface } from "../interfaces/transactionInterface";
@@ -76,7 +76,7 @@ declare const Data: () => {
76
76
  user_agent: any;
77
77
  };
78
78
  }[];
79
- custom_field: CustomField[];
79
+ custom_field: any;
80
80
  geo_coordinates: import("../interfaces").IGeoCoordinates;
81
81
  result: any;
82
82
  addresses: any;
@@ -188,7 +188,7 @@ declare const Data: () => {
188
188
  user_agent: any;
189
189
  };
190
190
  }[];
191
- custom_field: CustomField[];
191
+ custom_field: any;
192
192
  geo_coordinates: import("../interfaces").IGeoCoordinates;
193
193
  client_time_zone: string;
194
194
  result: any;
@@ -171,9 +171,10 @@ const Data = () => {
171
171
  },
172
172
  },
173
173
  ],
174
- custom_field: customField,
174
+ custom_field: JSON.parse(JSON.stringify(customField)),
175
175
  geo_coordinates: values.geoCoordinates,
176
176
  };
177
+ console.log("dataSignUpApi ~ custom_field:", data);
177
178
  return data;
178
179
  };
179
180
  const dataSignUpWithGoogle = (values) => {
@@ -287,7 +288,7 @@ const Data = () => {
287
288
  },
288
289
  },
289
290
  ],
290
- custom_field: customField,
291
+ custom_field: JSON.parse(JSON.stringify(customField)),
291
292
  geo_coordinates: values.geoCoordinates,
292
293
  client_time_zone: `UTC ${dayjs_1.default.tz(new Date()).format("Z")}`,
293
294
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.69",
3
+ "version": "0.0.71",
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",