ggez-banking-sdk 0.1.21 → 0.1.23

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,4 +1,4 @@
1
- import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityData, EntityStatus, OrderType, TicketType, TransactionType, ValidateType } from "../constants/enum";
1
+ import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityData, EntityStatus, EntityVerificationStatus, OrderType, TicketType, TransactionType, ValidateType } from "../constants/enum";
2
2
  import { CreateDeviceInterface, UpdateDeviceInterface, DeleteDeviceInterface, VerifyDeviceInterface, ConfirmDeviceInterface, LogoutDeviceInterface } from "../interfaces/deviceInterface";
3
3
  import { SignUpInterface, SignUpWithGoogleInterface } from "../interfaces/signInterface";
4
4
  import { DoTransactionInterface, GetTransactionInterface } from "../interfaces/accountInterface";
@@ -744,6 +744,8 @@ declare const Data: () => {
744
744
  sub_entity: {
745
745
  sub_entity: number;
746
746
  sub_entity_id: number;
747
+ status: EntityStatus;
748
+ verification_status: EntityVerificationStatus;
747
749
  }[];
748
750
  entity_data: EntityData;
749
751
  category: number;
@@ -589,6 +589,8 @@ const Data = () => {
589
589
  {
590
590
  sub_entity: values.subEntity,
591
591
  sub_entity_id: values.subEntityId,
592
+ status: enum_1.EntityStatus.Active,
593
+ verification_status: enum_1.EntityVerificationStatus.Not_Verified,
592
594
  },
593
595
  ],
594
596
  entity_data: enum_1.EntityData.Verification,
@@ -109,7 +109,7 @@ const useRegExp = () => {
109
109
  BlockchainAddress: /^[a-zA-Z0-9]{26,64}$/,
110
110
  GeneralName: /^[a-zA-Z].{2,49}$/,
111
111
  GGEZ1Balance: /^\d+(\.\d{1,2})?$/,
112
- Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,6})?))%$/,
112
+ Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,16})?))$/,
113
113
  IntegerNumber: /^\d+$/,
114
114
  Pair: /^[A-Za-z0-9]{2,10}\/?[A-Za-z0-9]{2,10}$/,
115
115
  WSURl: /^wss:\/\/([a-zA-Z0-9\-_]+\.)+[a-zA-Z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9\-_\/]*)?$/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
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",