ggez-banking-sdk 0.0.30 → 0.0.32

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
- export declare enum requestStatus {
1
+ export declare enum RequestStatus {
2
2
  Undefined = 0,
3
3
  Pending = 1,
4
4
  Processed = 2,
@@ -898,7 +898,8 @@ export declare enum BusinessType {
898
898
  Nonprofit_Organization = 5,
899
899
  Cooperative = 6,
900
900
  Partnerships = 7,
901
- Individual_Group = 8
901
+ Individual_Group = 8,
902
+ Other = 9
902
903
  }
903
904
  export declare enum UserType {
904
905
  Undefined = 0,
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionClassification = exports.WireTransferType = exports.ProgramTypes = exports.UserTrustLevelRange = exports.SourceApp = exports.CommerceProductSourceType = exports.OrderType = exports.PaymentMethodType = exports.ForgetPasswordSecurityTypes = exports.ForgetUserSecurityTypes = exports.ResponseStatusCode = exports.CountryCode = exports.DocumentType = exports.AccountStatus = exports.UserType = exports.BusinessType = exports.OrganizationRequestTypes = exports.SecurityOperationMethod = exports.TransactionInquiryStatus = exports.DeviceType = exports.TransactionType = exports.SettlementTransactionType = exports.AuthorizationOperationRequestType = exports.TransactionRequestStatus = exports.EntityStatus = exports.OperationStatus = exports.BankBeneficiaryType = exports.BankAccountTypes = exports.SecurityQuestion2 = exports.SecurityQuestion1 = exports.TrustLimits = exports.EntityVerificationStatus = exports.DocumentStatus = exports.IdentificationTypes = exports.AddressType = exports.Gender = exports.ChainRequestType = exports.ServiceProvider = exports.SecurityAuthenticationTypes = exports.ActivityType = exports.EntityData = exports.Entity = exports.ErrorLevel = exports.OrderStatus = exports.requestStatus = void 0;
4
- var requestStatus;
5
- (function (requestStatus) {
6
- requestStatus[requestStatus["Undefined"] = 0] = "Undefined";
7
- requestStatus[requestStatus["Pending"] = 1] = "Pending";
8
- requestStatus[requestStatus["Processed"] = 2] = "Processed";
9
- requestStatus[requestStatus["Cleared"] = 3] = "Cleared";
10
- requestStatus[requestStatus["Canceled"] = 4] = "Canceled";
11
- requestStatus[requestStatus["Reversed"] = 5] = "Reversed";
12
- requestStatus[requestStatus["Failed"] = 6] = "Failed";
13
- requestStatus[requestStatus["Blocked"] = 7] = "Blocked";
14
- requestStatus[requestStatus["Declined"] = 8] = "Declined";
15
- requestStatus[requestStatus["Network_Canceled"] = 9] = "Network_Canceled";
16
- requestStatus[requestStatus["Pending_Processing"] = 10] = "Pending_Processing";
17
- requestStatus[requestStatus["Pending_Reversal"] = 11] = "Pending_Reversal";
18
- requestStatus[requestStatus["Pending_Cancellation"] = 12] = "Pending_Cancellation";
19
- requestStatus[requestStatus["Manual_Review"] = 13] = "Manual_Review";
20
- requestStatus[requestStatus["Critical"] = 14] = "Critical";
21
- requestStatus[requestStatus["Problem"] = 15] = "Problem";
22
- requestStatus[requestStatus["Initiate"] = 16] = "Initiate";
23
- })(requestStatus || (exports.requestStatus = requestStatus = {}));
3
+ exports.TransactionClassification = exports.WireTransferType = exports.ProgramTypes = exports.UserTrustLevelRange = exports.SourceApp = exports.CommerceProductSourceType = exports.OrderType = exports.PaymentMethodType = exports.ForgetPasswordSecurityTypes = exports.ForgetUserSecurityTypes = exports.ResponseStatusCode = exports.CountryCode = exports.DocumentType = exports.AccountStatus = exports.UserType = exports.BusinessType = exports.OrganizationRequestTypes = exports.SecurityOperationMethod = exports.TransactionInquiryStatus = exports.DeviceType = exports.TransactionType = exports.SettlementTransactionType = exports.AuthorizationOperationRequestType = exports.TransactionRequestStatus = exports.EntityStatus = exports.OperationStatus = exports.BankBeneficiaryType = exports.BankAccountTypes = exports.SecurityQuestion2 = exports.SecurityQuestion1 = exports.TrustLimits = exports.EntityVerificationStatus = exports.DocumentStatus = exports.IdentificationTypes = exports.AddressType = exports.Gender = exports.ChainRequestType = exports.ServiceProvider = exports.SecurityAuthenticationTypes = exports.ActivityType = exports.EntityData = exports.Entity = exports.ErrorLevel = exports.OrderStatus = exports.RequestStatus = void 0;
4
+ var RequestStatus;
5
+ (function (RequestStatus) {
6
+ RequestStatus[RequestStatus["Undefined"] = 0] = "Undefined";
7
+ RequestStatus[RequestStatus["Pending"] = 1] = "Pending";
8
+ RequestStatus[RequestStatus["Processed"] = 2] = "Processed";
9
+ RequestStatus[RequestStatus["Cleared"] = 3] = "Cleared";
10
+ RequestStatus[RequestStatus["Canceled"] = 4] = "Canceled";
11
+ RequestStatus[RequestStatus["Reversed"] = 5] = "Reversed";
12
+ RequestStatus[RequestStatus["Failed"] = 6] = "Failed";
13
+ RequestStatus[RequestStatus["Blocked"] = 7] = "Blocked";
14
+ RequestStatus[RequestStatus["Declined"] = 8] = "Declined";
15
+ RequestStatus[RequestStatus["Network_Canceled"] = 9] = "Network_Canceled";
16
+ RequestStatus[RequestStatus["Pending_Processing"] = 10] = "Pending_Processing";
17
+ RequestStatus[RequestStatus["Pending_Reversal"] = 11] = "Pending_Reversal";
18
+ RequestStatus[RequestStatus["Pending_Cancellation"] = 12] = "Pending_Cancellation";
19
+ RequestStatus[RequestStatus["Manual_Review"] = 13] = "Manual_Review";
20
+ RequestStatus[RequestStatus["Critical"] = 14] = "Critical";
21
+ RequestStatus[RequestStatus["Problem"] = 15] = "Problem";
22
+ RequestStatus[RequestStatus["Initiate"] = 16] = "Initiate";
23
+ })(RequestStatus || (exports.RequestStatus = RequestStatus = {}));
24
24
  var OrderStatus;
25
25
  (function (OrderStatus) {
26
26
  OrderStatus[OrderStatus["Pending"] = 1] = "Pending";
@@ -940,6 +940,7 @@ var BusinessType;
940
940
  BusinessType[BusinessType["Cooperative"] = 6] = "Cooperative";
941
941
  BusinessType[BusinessType["Partnerships"] = 7] = "Partnerships";
942
942
  BusinessType[BusinessType["Individual_Group"] = 8] = "Individual_Group";
943
+ BusinessType[BusinessType["Other"] = 9] = "Other";
943
944
  })(BusinessType || (exports.BusinessType = BusinessType = {}));
944
945
  var UserType;
945
946
  (function (UserType) {
@@ -5,7 +5,6 @@ import { DoTransactionInterface, GetTransactionInterface } from "../interfaces/a
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 { orderInterface } from "../interfaces/transactionInterface";
7
7
  import { CreateDocumentOrganizationInterface, CreateOrganizationInterface, UpdateOrganizationInterface } from "../interfaces/organizationInterface";
8
- import { IGeoCoordinates } from "../interfaces";
9
8
  declare const Data: () => {
10
9
  dataSignUpApi: (values: SignUpInterface) => {
11
10
  info: {
@@ -53,7 +52,9 @@ declare const Data: () => {
53
52
  enable_sms_notification: string;
54
53
  enable_push_notification: string;
55
54
  enable_device_authentication: string;
56
- time_zone: string;
55
+ time_zone: {
56
+ userTimeZone: string;
57
+ };
57
58
  };
58
59
  currency: {
59
60
  id: number;
@@ -81,7 +82,7 @@ declare const Data: () => {
81
82
  referral_code: string;
82
83
  type: string;
83
84
  };
84
- geo_coordinates: IGeoCoordinates;
85
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
85
86
  result: any;
86
87
  addresses: any;
87
88
  identification: any;
@@ -160,7 +161,9 @@ declare const Data: () => {
160
161
  enable_sms_notification: string;
161
162
  enable_push_notification: string;
162
163
  enable_device_authentication: string;
163
- time_zone: string;
164
+ time_zone: {
165
+ userTimeZone: string;
166
+ };
164
167
  };
165
168
  currency: {
166
169
  id: number;
@@ -196,7 +199,7 @@ declare const Data: () => {
196
199
  referral_code: string;
197
200
  type: string;
198
201
  };
199
- geo_coordinates: IGeoCoordinates;
202
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
200
203
  client_time_zone: string;
201
204
  result: any;
202
205
  addresses: any;
@@ -241,7 +244,7 @@ declare const Data: () => {
241
244
  verification_status: number;
242
245
  postal_zip_code: string;
243
246
  }[];
244
- geo_coordinates: IGeoCoordinates;
247
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
245
248
  result: any;
246
249
  info: any;
247
250
  personal_info: any;
@@ -297,7 +300,7 @@ declare const Data: () => {
297
300
  verification_status: number;
298
301
  postal_zip_code: string;
299
302
  }[];
300
- geo_coordinates: IGeoCoordinates;
303
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
301
304
  result: any;
302
305
  info: any;
303
306
  personal_info: any;
@@ -345,7 +348,7 @@ declare const Data: () => {
345
348
  addresses: {
346
349
  id: any;
347
350
  }[];
348
- geo_coordinates: IGeoCoordinates;
351
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
349
352
  result: any;
350
353
  info: any;
351
354
  personal_info: any;
@@ -394,7 +397,7 @@ declare const Data: () => {
394
397
  id: number;
395
398
  is_primary: number;
396
399
  }[];
397
- geo_coordinates: IGeoCoordinates;
400
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
398
401
  result: any;
399
402
  info: any;
400
403
  personal_info: any;
@@ -445,7 +448,7 @@ declare const Data: () => {
445
448
  address: string;
446
449
  is_primary: string;
447
450
  }[];
448
- geo_coordinates: IGeoCoordinates;
451
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
449
452
  result: any;
450
453
  info: any;
451
454
  personal_info: any;
@@ -498,7 +501,7 @@ declare const Data: () => {
498
501
  info: {
499
502
  type: string;
500
503
  };
501
- geo_coordinates: IGeoCoordinates;
504
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
502
505
  result: any;
503
506
  personal_info: any;
504
507
  address: any;
@@ -554,7 +557,7 @@ declare const Data: () => {
554
557
  info: {
555
558
  type: string;
556
559
  };
557
- geo_coordinates: IGeoCoordinates;
560
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
558
561
  result: any;
559
562
  personal_info: any;
560
563
  address: any;
@@ -604,7 +607,7 @@ declare const Data: () => {
604
607
  address: any;
605
608
  verification_status: number;
606
609
  }[];
607
- geo_coordinates: IGeoCoordinates;
610
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
608
611
  result: any;
609
612
  info: any;
610
613
  personal_info: any;
@@ -652,7 +655,7 @@ declare const Data: () => {
652
655
  email: {
653
656
  id: any;
654
657
  }[];
655
- geo_coordinates: IGeoCoordinates;
658
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
656
659
  result: any;
657
660
  info: any;
658
661
  personal_info: any;
@@ -702,7 +705,7 @@ declare const Data: () => {
702
705
  address: any;
703
706
  is_primary: number;
704
707
  }[];
705
- geo_coordinates: IGeoCoordinates;
708
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
706
709
  result: any;
707
710
  info: any;
708
711
  personal_info: any;
@@ -756,7 +759,7 @@ declare const Data: () => {
756
759
  verification_status: string;
757
760
  is_primary: string;
758
761
  }[];
759
- geo_coordinates: IGeoCoordinates;
762
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
760
763
  result: any;
761
764
  info: any;
762
765
  personal_info: any;
@@ -804,7 +807,7 @@ declare const Data: () => {
804
807
  phone: {
805
808
  id: any;
806
809
  }[];
807
- geo_coordinates: IGeoCoordinates;
810
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
808
811
  result: any;
809
812
  info: any;
810
813
  personal_info: any;
@@ -857,7 +860,7 @@ declare const Data: () => {
857
860
  info: {
858
861
  type: string;
859
862
  };
860
- geo_coordinates: IGeoCoordinates;
863
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
861
864
  result: any;
862
865
  personal_info: any;
863
866
  address: any;
@@ -913,7 +916,7 @@ declare const Data: () => {
913
916
  info: {
914
917
  type: string;
915
918
  };
916
- geo_coordinates: IGeoCoordinates;
919
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
917
920
  result: any;
918
921
  personal_info: any;
919
922
  address: any;
@@ -963,7 +966,7 @@ declare const Data: () => {
963
966
  number: any;
964
967
  verification_status: number;
965
968
  }[];
966
- geo_coordinates: IGeoCoordinates;
969
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
967
970
  result: any;
968
971
  info: any;
969
972
  personal_info: any;
@@ -1013,7 +1016,7 @@ declare const Data: () => {
1013
1016
  number: any;
1014
1017
  is_primary: number;
1015
1018
  }[];
1016
- geo_coordinates: IGeoCoordinates;
1019
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1017
1020
  result: any;
1018
1021
  info: any;
1019
1022
  personal_info: any;
@@ -1078,7 +1081,7 @@ declare const Data: () => {
1078
1081
  bank_address: string;
1079
1082
  state_region: string;
1080
1083
  }[];
1081
- geo_coordinates: IGeoCoordinates;
1084
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1082
1085
  result: any;
1083
1086
  info: any;
1084
1087
  personal_info: any;
@@ -1143,7 +1146,7 @@ declare const Data: () => {
1143
1146
  bank_address: string;
1144
1147
  state_region: string;
1145
1148
  }[];
1146
- geo_coordinates: IGeoCoordinates;
1149
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1147
1150
  result: any;
1148
1151
  info: any;
1149
1152
  personal_info: any;
@@ -1191,7 +1194,7 @@ declare const Data: () => {
1191
1194
  bank_account: {
1192
1195
  id: any;
1193
1196
  }[];
1194
- geo_coordinates: IGeoCoordinates;
1197
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1195
1198
  result: any;
1196
1199
  info: any;
1197
1200
  personal_info: any;
@@ -1240,7 +1243,7 @@ declare const Data: () => {
1240
1243
  id: number;
1241
1244
  is_primary: number;
1242
1245
  }[];
1243
- geo_coordinates: IGeoCoordinates;
1246
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1244
1247
  result: any;
1245
1248
  info: any;
1246
1249
  personal_info: any;
@@ -1296,7 +1299,7 @@ declare const Data: () => {
1296
1299
  number: string;
1297
1300
  verification_status: number;
1298
1301
  }[];
1299
- geo_coordinates: IGeoCoordinates;
1302
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1300
1303
  result: any;
1301
1304
  info: any;
1302
1305
  personal_info: any;
@@ -1351,7 +1354,7 @@ declare const Data: () => {
1351
1354
  number: string;
1352
1355
  verification_status: number;
1353
1356
  }[];
1354
- geo_coordinates: IGeoCoordinates;
1357
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1355
1358
  result: any;
1356
1359
  info: any;
1357
1360
  personal_info: any;
@@ -1399,7 +1402,7 @@ declare const Data: () => {
1399
1402
  identification: {
1400
1403
  id: any;
1401
1404
  }[];
1402
- geo_coordinates: IGeoCoordinates;
1405
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1403
1406
  result: any;
1404
1407
  info: any;
1405
1408
  personal_info: any;
@@ -1452,7 +1455,7 @@ declare const Data: () => {
1452
1455
  type: string | number;
1453
1456
  };
1454
1457
  attachment: any;
1455
- geo_coordinates: IGeoCoordinates;
1458
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1456
1459
  result: any;
1457
1460
  personal_info: any;
1458
1461
  address: any;
@@ -1504,7 +1507,7 @@ declare const Data: () => {
1504
1507
  gender: string;
1505
1508
  date_of_birth: string;
1506
1509
  };
1507
- geo_coordinates: IGeoCoordinates;
1510
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1508
1511
  result: any;
1509
1512
  info: any;
1510
1513
  address: any;
@@ -1558,7 +1561,7 @@ declare const Data: () => {
1558
1561
  file_extension: string;
1559
1562
  content: any;
1560
1563
  }[];
1561
- geo_coordinates: IGeoCoordinates;
1564
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1562
1565
  result: any;
1563
1566
  personal_info: any;
1564
1567
  address: any;
@@ -1618,7 +1621,7 @@ declare const Data: () => {
1618
1621
  type: number;
1619
1622
  code: string;
1620
1623
  }[];
1621
- geo_coordinates: IGeoCoordinates;
1624
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1622
1625
  result: any;
1623
1626
  personal_info: any;
1624
1627
  address: any;
@@ -1678,7 +1681,7 @@ declare const Data: () => {
1678
1681
  type: number;
1679
1682
  code: string;
1680
1683
  }[];
1681
- geo_coordinates: IGeoCoordinates;
1684
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1682
1685
  result: any;
1683
1686
  personal_info: any;
1684
1687
  address: any;
@@ -1735,7 +1738,7 @@ declare const Data: () => {
1735
1738
  type: number;
1736
1739
  code: string;
1737
1740
  }[];
1738
- geo_coordinates: IGeoCoordinates;
1741
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1739
1742
  result: any;
1740
1743
  personal_info: any;
1741
1744
  address: any;
@@ -1785,7 +1788,7 @@ declare const Data: () => {
1785
1788
  enable_sms_notification: string;
1786
1789
  enable_push_notification: string;
1787
1790
  };
1788
- geo_coordinates: IGeoCoordinates;
1791
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1789
1792
  result: any;
1790
1793
  info: any;
1791
1794
  personal_info: any;
@@ -1836,7 +1839,7 @@ declare const Data: () => {
1836
1839
  info: {
1837
1840
  type: string;
1838
1841
  };
1839
- geo_coordinates: IGeoCoordinates;
1842
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1840
1843
  result: any;
1841
1844
  personal_info: any;
1842
1845
  address: any;
@@ -1933,7 +1936,7 @@ declare const Data: () => {
1933
1936
  type: number;
1934
1937
  code: string;
1935
1938
  }[];
1936
- geo_coordinates: IGeoCoordinates;
1939
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1937
1940
  result: any;
1938
1941
  info: any;
1939
1942
  personal_info: any;
@@ -1982,7 +1985,7 @@ declare const Data: () => {
1982
1985
  type: number;
1983
1986
  code: string;
1984
1987
  }[];
1985
- geo_coordinates: IGeoCoordinates;
1988
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
1986
1989
  };
1987
1990
  };
1988
1991
  dataValidate: () => {
@@ -1996,7 +1999,7 @@ declare const Data: () => {
1996
1999
  number: string;
1997
2000
  };
1998
2001
  };
1999
- geo_coordinates: IGeoCoordinates;
2002
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2000
2003
  result: any;
2001
2004
  personal_info: any;
2002
2005
  address: any;
@@ -2049,7 +2052,7 @@ declare const Data: () => {
2049
2052
  address: string;
2050
2053
  };
2051
2054
  };
2052
- geo_coordinates: IGeoCoordinates;
2055
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2053
2056
  result: any;
2054
2057
  personal_info: any;
2055
2058
  address: any;
@@ -2102,7 +2105,7 @@ declare const Data: () => {
2102
2105
  number: string;
2103
2106
  };
2104
2107
  };
2105
- geo_coordinates: IGeoCoordinates;
2108
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2106
2109
  result: any;
2107
2110
  personal_info: any;
2108
2111
  address: any;
@@ -2158,7 +2161,7 @@ declare const Data: () => {
2158
2161
  confirm_data: {
2159
2162
  verification_code: string;
2160
2163
  };
2161
- geo_coordinates: IGeoCoordinates;
2164
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2162
2165
  result: any;
2163
2166
  personal_info: any;
2164
2167
  address: any;
@@ -2215,7 +2218,7 @@ declare const Data: () => {
2215
2218
  verification_code: string;
2216
2219
  verification_status: number;
2217
2220
  };
2218
- geo_coordinates: IGeoCoordinates;
2221
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2219
2222
  result: any;
2220
2223
  personal_info: any;
2221
2224
  address: any;
@@ -2269,7 +2272,7 @@ declare const Data: () => {
2269
2272
  address: string;
2270
2273
  };
2271
2274
  };
2272
- geo_coordinates: IGeoCoordinates;
2275
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2273
2276
  result: any;
2274
2277
  personal_info: any;
2275
2278
  address: any;
@@ -2323,7 +2326,7 @@ declare const Data: () => {
2323
2326
  number: string;
2324
2327
  };
2325
2328
  };
2326
- geo_coordinates: IGeoCoordinates;
2329
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2327
2330
  result: any;
2328
2331
  personal_info: any;
2329
2332
  address: any;
@@ -2377,7 +2380,7 @@ declare const Data: () => {
2377
2380
  address: string;
2378
2381
  };
2379
2382
  };
2380
- geo_coordinates: IGeoCoordinates;
2383
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2381
2384
  result: any;
2382
2385
  personal_info: any;
2383
2386
  address: any;
@@ -2431,7 +2434,7 @@ declare const Data: () => {
2431
2434
  number: string;
2432
2435
  };
2433
2436
  };
2434
- geo_coordinates: IGeoCoordinates;
2437
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2435
2438
  result: any;
2436
2439
  personal_info: any;
2437
2440
  address: any;
@@ -2485,7 +2488,7 @@ declare const Data: () => {
2485
2488
  info: {
2486
2489
  type: number;
2487
2490
  };
2488
- geo_coordinates: IGeoCoordinates;
2491
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2489
2492
  result: any;
2490
2493
  personal_info: any;
2491
2494
  address: any;
@@ -2540,7 +2543,7 @@ declare const Data: () => {
2540
2543
  sub_entity: string | number;
2541
2544
  sub_entity_id: string | number;
2542
2545
  };
2543
- geo_coordinates: IGeoCoordinates;
2546
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2544
2547
  result: any;
2545
2548
  personal_info: any;
2546
2549
  address: any;
@@ -2603,7 +2606,7 @@ declare const Data: () => {
2603
2606
  bank_account: {
2604
2607
  id: string | number;
2605
2608
  };
2606
- geo_coordinates: IGeoCoordinates;
2609
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2607
2610
  result: any;
2608
2611
  personal_info: any;
2609
2612
  address: any;
@@ -2654,7 +2657,7 @@ declare const Data: () => {
2654
2657
  transaction_type: number;
2655
2658
  account_id: number;
2656
2659
  transaction_classification: number;
2657
- geo_coordinates: IGeoCoordinates;
2660
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2658
2661
  time_zone: string;
2659
2662
  };
2660
2663
  };
@@ -2677,7 +2680,7 @@ declare const Data: () => {
2677
2680
  type: number;
2678
2681
  code: string;
2679
2682
  }];
2680
- geo_coordinates: IGeoCoordinates;
2683
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2681
2684
  result: any;
2682
2685
  info: any;
2683
2686
  personal_info: any;
@@ -2728,7 +2731,7 @@ declare const Data: () => {
2728
2731
  verification_status: number;
2729
2732
  is_online: boolean;
2730
2733
  }[];
2731
- geo_coordinates: IGeoCoordinates;
2734
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2732
2735
  result: any;
2733
2736
  info: any;
2734
2737
  personal_info: any;
@@ -2776,7 +2779,7 @@ declare const Data: () => {
2776
2779
  device: {
2777
2780
  id: number;
2778
2781
  }[];
2779
- geo_coordinates: IGeoCoordinates;
2782
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2780
2783
  result: any;
2781
2784
  info: any;
2782
2785
  personal_info: any;
@@ -2830,7 +2833,7 @@ declare const Data: () => {
2830
2833
  id: number;
2831
2834
  };
2832
2835
  };
2833
- geo_coordinates: IGeoCoordinates;
2836
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2834
2837
  result: any;
2835
2838
  personal_info: any;
2836
2839
  address: any;
@@ -2887,7 +2890,7 @@ declare const Data: () => {
2887
2890
  confirm_data: {
2888
2891
  verification_code: string;
2889
2892
  };
2890
- geo_coordinates: IGeoCoordinates;
2893
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2891
2894
  result: any;
2892
2895
  personal_info: any;
2893
2896
  address: any;
@@ -2935,7 +2938,7 @@ declare const Data: () => {
2935
2938
  device: {
2936
2939
  id: number;
2937
2940
  }[];
2938
- geo_coordinates: IGeoCoordinates;
2941
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
2939
2942
  result: any;
2940
2943
  info: any;
2941
2944
  personal_info: any;
@@ -3019,7 +3022,7 @@ declare const Data: () => {
3019
3022
  user_notes: string;
3020
3023
  };
3021
3024
  validate: string;
3022
- geo_coordinates: IGeoCoordinates;
3025
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
3023
3026
  };
3024
3027
  };
3025
3028
  dataOrganization: () => {
@@ -3050,7 +3053,7 @@ declare const Data: () => {
3050
3053
  city_town: string;
3051
3054
  status: number;
3052
3055
  }[];
3053
- geo_coordinates: IGeoCoordinates;
3056
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
3054
3057
  result: any;
3055
3058
  personal_info: any;
3056
3059
  addresses: any;
@@ -3120,7 +3123,7 @@ declare const Data: () => {
3120
3123
  city_town: string;
3121
3124
  status: number;
3122
3125
  }[];
3123
- geo_coordinates: IGeoCoordinates;
3126
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
3124
3127
  result: any;
3125
3128
  personal_info: any;
3126
3129
  addresses: any;
@@ -3174,7 +3177,7 @@ declare const Data: () => {
3174
3177
  "custom notes": string;
3175
3178
  };
3176
3179
  validate: string;
3177
- geo_coordinates: IGeoCoordinates;
3180
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
3178
3181
  result: any;
3179
3182
  personal_info: any;
3180
3183
  address: any;
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const enum_1 = require("../constants/enum");
7
- //import { fingerPrintHandler } from "../utils";
8
7
  const clientjs_1 = require("clientjs");
9
8
  const data_1 = require("./data");
10
9
  const dayjs_1 = __importDefault(require("dayjs"));
11
10
  const utc_1 = __importDefault(require("dayjs/plugin/utc"));
12
11
  const timezone_1 = __importDefault(require("dayjs/plugin/timezone"));
12
+ const utils_1 = require("../utils");
13
13
  dayjs_1.default.extend(utc_1.default);
14
14
  dayjs_1.default.extend(timezone_1.default);
15
15
  const Data = () => {
@@ -108,13 +108,13 @@ const Data = () => {
108
108
  password: values.password,
109
109
  security_code: values.securityCode,
110
110
  }, preferences: {
111
- preferred_language_code: "en",
111
+ preferred_language_code: values.preferredLanguageCode,
112
112
  enable_promotion_notification: "1",
113
113
  enable_email_notification: "1",
114
114
  enable_sms_notification: "1",
115
115
  enable_push_notification: "1",
116
116
  enable_device_authentication: "1",
117
- time_zone: "UTC +02:30",
117
+ time_zone: (0, utils_1.getTimezone)(),
118
118
  }, currency: [
119
119
  {
120
120
  id: 0,
@@ -187,13 +187,13 @@ const Data = () => {
187
187
  password: values.password,
188
188
  security_code: values.securityCode,
189
189
  }, preferences: {
190
- preferred_language_code: "en",
190
+ preferred_language_code: values.preferredLanguageCode,
191
191
  enable_promotion_notification: "1",
192
192
  enable_email_notification: "1",
193
193
  enable_sms_notification: "1",
194
194
  enable_push_notification: "1",
195
195
  enable_device_authentication: "1",
196
- time_zone: "UTC +02:30",
196
+ time_zone: (0, utils_1.getTimezone)(),
197
197
  }, currency: [
198
198
  {
199
199
  id: 0,
@@ -21,6 +21,7 @@ export interface SignUpInterface {
21
21
  referralCodeType: string;
22
22
  geoCoordinates?: IGeoCoordinates;
23
23
  mobileNumberCountry: string;
24
+ preferredLanguageCode: string;
24
25
  }
25
26
  export interface LoginRequestInterface {
26
27
  email: string;
@@ -57,6 +58,7 @@ export interface SignUpWithGoogleInterface {
57
58
  referralCodeType: string;
58
59
  geoCoordinates?: IGeoCoordinates;
59
60
  mobileNumberCountry: string;
61
+ preferredLanguageCode: string;
60
62
  }
61
63
  export interface LoginWithGoogleInterface {
62
64
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
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",