ggez-banking-sdk 0.0.31 → 0.0.33
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.
- package/dist/bank-system/constants/enum.d.ts +2 -1
- package/dist/bank-system/constants/enum.js +1 -0
- package/dist/bank-system/helper/dataStructure.d.ts +58 -59
- package/dist/bank-system/helper/dataStructure.js +5 -5
- package/dist/bank-system/interfaces/signInterface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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: {
|
|
@@ -81,7 +80,7 @@ declare const Data: () => {
|
|
|
81
80
|
referral_code: string;
|
|
82
81
|
type: string;
|
|
83
82
|
};
|
|
84
|
-
geo_coordinates: IGeoCoordinates;
|
|
83
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
85
84
|
result: any;
|
|
86
85
|
addresses: any;
|
|
87
86
|
identification: any;
|
|
@@ -196,7 +195,7 @@ declare const Data: () => {
|
|
|
196
195
|
referral_code: string;
|
|
197
196
|
type: string;
|
|
198
197
|
};
|
|
199
|
-
geo_coordinates: IGeoCoordinates;
|
|
198
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
200
199
|
client_time_zone: string;
|
|
201
200
|
result: any;
|
|
202
201
|
addresses: any;
|
|
@@ -241,7 +240,7 @@ declare const Data: () => {
|
|
|
241
240
|
verification_status: number;
|
|
242
241
|
postal_zip_code: string;
|
|
243
242
|
}[];
|
|
244
|
-
geo_coordinates: IGeoCoordinates;
|
|
243
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
245
244
|
result: any;
|
|
246
245
|
info: any;
|
|
247
246
|
personal_info: any;
|
|
@@ -297,7 +296,7 @@ declare const Data: () => {
|
|
|
297
296
|
verification_status: number;
|
|
298
297
|
postal_zip_code: string;
|
|
299
298
|
}[];
|
|
300
|
-
geo_coordinates: IGeoCoordinates;
|
|
299
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
301
300
|
result: any;
|
|
302
301
|
info: any;
|
|
303
302
|
personal_info: any;
|
|
@@ -345,7 +344,7 @@ declare const Data: () => {
|
|
|
345
344
|
addresses: {
|
|
346
345
|
id: any;
|
|
347
346
|
}[];
|
|
348
|
-
geo_coordinates: IGeoCoordinates;
|
|
347
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
349
348
|
result: any;
|
|
350
349
|
info: any;
|
|
351
350
|
personal_info: any;
|
|
@@ -394,7 +393,7 @@ declare const Data: () => {
|
|
|
394
393
|
id: number;
|
|
395
394
|
is_primary: number;
|
|
396
395
|
}[];
|
|
397
|
-
geo_coordinates: IGeoCoordinates;
|
|
396
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
398
397
|
result: any;
|
|
399
398
|
info: any;
|
|
400
399
|
personal_info: any;
|
|
@@ -445,7 +444,7 @@ declare const Data: () => {
|
|
|
445
444
|
address: string;
|
|
446
445
|
is_primary: string;
|
|
447
446
|
}[];
|
|
448
|
-
geo_coordinates: IGeoCoordinates;
|
|
447
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
449
448
|
result: any;
|
|
450
449
|
info: any;
|
|
451
450
|
personal_info: any;
|
|
@@ -498,7 +497,7 @@ declare const Data: () => {
|
|
|
498
497
|
info: {
|
|
499
498
|
type: string;
|
|
500
499
|
};
|
|
501
|
-
geo_coordinates: IGeoCoordinates;
|
|
500
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
502
501
|
result: any;
|
|
503
502
|
personal_info: any;
|
|
504
503
|
address: any;
|
|
@@ -554,7 +553,7 @@ declare const Data: () => {
|
|
|
554
553
|
info: {
|
|
555
554
|
type: string;
|
|
556
555
|
};
|
|
557
|
-
geo_coordinates: IGeoCoordinates;
|
|
556
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
558
557
|
result: any;
|
|
559
558
|
personal_info: any;
|
|
560
559
|
address: any;
|
|
@@ -604,7 +603,7 @@ declare const Data: () => {
|
|
|
604
603
|
address: any;
|
|
605
604
|
verification_status: number;
|
|
606
605
|
}[];
|
|
607
|
-
geo_coordinates: IGeoCoordinates;
|
|
606
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
608
607
|
result: any;
|
|
609
608
|
info: any;
|
|
610
609
|
personal_info: any;
|
|
@@ -652,7 +651,7 @@ declare const Data: () => {
|
|
|
652
651
|
email: {
|
|
653
652
|
id: any;
|
|
654
653
|
}[];
|
|
655
|
-
geo_coordinates: IGeoCoordinates;
|
|
654
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
656
655
|
result: any;
|
|
657
656
|
info: any;
|
|
658
657
|
personal_info: any;
|
|
@@ -702,7 +701,7 @@ declare const Data: () => {
|
|
|
702
701
|
address: any;
|
|
703
702
|
is_primary: number;
|
|
704
703
|
}[];
|
|
705
|
-
geo_coordinates: IGeoCoordinates;
|
|
704
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
706
705
|
result: any;
|
|
707
706
|
info: any;
|
|
708
707
|
personal_info: any;
|
|
@@ -756,7 +755,7 @@ declare const Data: () => {
|
|
|
756
755
|
verification_status: string;
|
|
757
756
|
is_primary: string;
|
|
758
757
|
}[];
|
|
759
|
-
geo_coordinates: IGeoCoordinates;
|
|
758
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
760
759
|
result: any;
|
|
761
760
|
info: any;
|
|
762
761
|
personal_info: any;
|
|
@@ -804,7 +803,7 @@ declare const Data: () => {
|
|
|
804
803
|
phone: {
|
|
805
804
|
id: any;
|
|
806
805
|
}[];
|
|
807
|
-
geo_coordinates: IGeoCoordinates;
|
|
806
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
808
807
|
result: any;
|
|
809
808
|
info: any;
|
|
810
809
|
personal_info: any;
|
|
@@ -857,7 +856,7 @@ declare const Data: () => {
|
|
|
857
856
|
info: {
|
|
858
857
|
type: string;
|
|
859
858
|
};
|
|
860
|
-
geo_coordinates: IGeoCoordinates;
|
|
859
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
861
860
|
result: any;
|
|
862
861
|
personal_info: any;
|
|
863
862
|
address: any;
|
|
@@ -913,7 +912,7 @@ declare const Data: () => {
|
|
|
913
912
|
info: {
|
|
914
913
|
type: string;
|
|
915
914
|
};
|
|
916
|
-
geo_coordinates: IGeoCoordinates;
|
|
915
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
917
916
|
result: any;
|
|
918
917
|
personal_info: any;
|
|
919
918
|
address: any;
|
|
@@ -963,7 +962,7 @@ declare const Data: () => {
|
|
|
963
962
|
number: any;
|
|
964
963
|
verification_status: number;
|
|
965
964
|
}[];
|
|
966
|
-
geo_coordinates: IGeoCoordinates;
|
|
965
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
967
966
|
result: any;
|
|
968
967
|
info: any;
|
|
969
968
|
personal_info: any;
|
|
@@ -1013,7 +1012,7 @@ declare const Data: () => {
|
|
|
1013
1012
|
number: any;
|
|
1014
1013
|
is_primary: number;
|
|
1015
1014
|
}[];
|
|
1016
|
-
geo_coordinates: IGeoCoordinates;
|
|
1015
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1017
1016
|
result: any;
|
|
1018
1017
|
info: any;
|
|
1019
1018
|
personal_info: any;
|
|
@@ -1078,7 +1077,7 @@ declare const Data: () => {
|
|
|
1078
1077
|
bank_address: string;
|
|
1079
1078
|
state_region: string;
|
|
1080
1079
|
}[];
|
|
1081
|
-
geo_coordinates: IGeoCoordinates;
|
|
1080
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1082
1081
|
result: any;
|
|
1083
1082
|
info: any;
|
|
1084
1083
|
personal_info: any;
|
|
@@ -1143,7 +1142,7 @@ declare const Data: () => {
|
|
|
1143
1142
|
bank_address: string;
|
|
1144
1143
|
state_region: string;
|
|
1145
1144
|
}[];
|
|
1146
|
-
geo_coordinates: IGeoCoordinates;
|
|
1145
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1147
1146
|
result: any;
|
|
1148
1147
|
info: any;
|
|
1149
1148
|
personal_info: any;
|
|
@@ -1191,7 +1190,7 @@ declare const Data: () => {
|
|
|
1191
1190
|
bank_account: {
|
|
1192
1191
|
id: any;
|
|
1193
1192
|
}[];
|
|
1194
|
-
geo_coordinates: IGeoCoordinates;
|
|
1193
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1195
1194
|
result: any;
|
|
1196
1195
|
info: any;
|
|
1197
1196
|
personal_info: any;
|
|
@@ -1240,7 +1239,7 @@ declare const Data: () => {
|
|
|
1240
1239
|
id: number;
|
|
1241
1240
|
is_primary: number;
|
|
1242
1241
|
}[];
|
|
1243
|
-
geo_coordinates: IGeoCoordinates;
|
|
1242
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1244
1243
|
result: any;
|
|
1245
1244
|
info: any;
|
|
1246
1245
|
personal_info: any;
|
|
@@ -1296,7 +1295,7 @@ declare const Data: () => {
|
|
|
1296
1295
|
number: string;
|
|
1297
1296
|
verification_status: number;
|
|
1298
1297
|
}[];
|
|
1299
|
-
geo_coordinates: IGeoCoordinates;
|
|
1298
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1300
1299
|
result: any;
|
|
1301
1300
|
info: any;
|
|
1302
1301
|
personal_info: any;
|
|
@@ -1351,7 +1350,7 @@ declare const Data: () => {
|
|
|
1351
1350
|
number: string;
|
|
1352
1351
|
verification_status: number;
|
|
1353
1352
|
}[];
|
|
1354
|
-
geo_coordinates: IGeoCoordinates;
|
|
1353
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1355
1354
|
result: any;
|
|
1356
1355
|
info: any;
|
|
1357
1356
|
personal_info: any;
|
|
@@ -1399,7 +1398,7 @@ declare const Data: () => {
|
|
|
1399
1398
|
identification: {
|
|
1400
1399
|
id: any;
|
|
1401
1400
|
}[];
|
|
1402
|
-
geo_coordinates: IGeoCoordinates;
|
|
1401
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1403
1402
|
result: any;
|
|
1404
1403
|
info: any;
|
|
1405
1404
|
personal_info: any;
|
|
@@ -1452,7 +1451,7 @@ declare const Data: () => {
|
|
|
1452
1451
|
type: string | number;
|
|
1453
1452
|
};
|
|
1454
1453
|
attachment: any;
|
|
1455
|
-
geo_coordinates: IGeoCoordinates;
|
|
1454
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1456
1455
|
result: any;
|
|
1457
1456
|
personal_info: any;
|
|
1458
1457
|
address: any;
|
|
@@ -1504,7 +1503,7 @@ declare const Data: () => {
|
|
|
1504
1503
|
gender: string;
|
|
1505
1504
|
date_of_birth: string;
|
|
1506
1505
|
};
|
|
1507
|
-
geo_coordinates: IGeoCoordinates;
|
|
1506
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1508
1507
|
result: any;
|
|
1509
1508
|
info: any;
|
|
1510
1509
|
address: any;
|
|
@@ -1558,7 +1557,7 @@ declare const Data: () => {
|
|
|
1558
1557
|
file_extension: string;
|
|
1559
1558
|
content: any;
|
|
1560
1559
|
}[];
|
|
1561
|
-
geo_coordinates: IGeoCoordinates;
|
|
1560
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1562
1561
|
result: any;
|
|
1563
1562
|
personal_info: any;
|
|
1564
1563
|
address: any;
|
|
@@ -1618,7 +1617,7 @@ declare const Data: () => {
|
|
|
1618
1617
|
type: number;
|
|
1619
1618
|
code: string;
|
|
1620
1619
|
}[];
|
|
1621
|
-
geo_coordinates: IGeoCoordinates;
|
|
1620
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1622
1621
|
result: any;
|
|
1623
1622
|
personal_info: any;
|
|
1624
1623
|
address: any;
|
|
@@ -1678,7 +1677,7 @@ declare const Data: () => {
|
|
|
1678
1677
|
type: number;
|
|
1679
1678
|
code: string;
|
|
1680
1679
|
}[];
|
|
1681
|
-
geo_coordinates: IGeoCoordinates;
|
|
1680
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1682
1681
|
result: any;
|
|
1683
1682
|
personal_info: any;
|
|
1684
1683
|
address: any;
|
|
@@ -1735,7 +1734,7 @@ declare const Data: () => {
|
|
|
1735
1734
|
type: number;
|
|
1736
1735
|
code: string;
|
|
1737
1736
|
}[];
|
|
1738
|
-
geo_coordinates: IGeoCoordinates;
|
|
1737
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1739
1738
|
result: any;
|
|
1740
1739
|
personal_info: any;
|
|
1741
1740
|
address: any;
|
|
@@ -1785,7 +1784,7 @@ declare const Data: () => {
|
|
|
1785
1784
|
enable_sms_notification: string;
|
|
1786
1785
|
enable_push_notification: string;
|
|
1787
1786
|
};
|
|
1788
|
-
geo_coordinates: IGeoCoordinates;
|
|
1787
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1789
1788
|
result: any;
|
|
1790
1789
|
info: any;
|
|
1791
1790
|
personal_info: any;
|
|
@@ -1836,7 +1835,7 @@ declare const Data: () => {
|
|
|
1836
1835
|
info: {
|
|
1837
1836
|
type: string;
|
|
1838
1837
|
};
|
|
1839
|
-
geo_coordinates: IGeoCoordinates;
|
|
1838
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1840
1839
|
result: any;
|
|
1841
1840
|
personal_info: any;
|
|
1842
1841
|
address: any;
|
|
@@ -1933,7 +1932,7 @@ declare const Data: () => {
|
|
|
1933
1932
|
type: number;
|
|
1934
1933
|
code: string;
|
|
1935
1934
|
}[];
|
|
1936
|
-
geo_coordinates: IGeoCoordinates;
|
|
1935
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1937
1936
|
result: any;
|
|
1938
1937
|
info: any;
|
|
1939
1938
|
personal_info: any;
|
|
@@ -1982,7 +1981,7 @@ declare const Data: () => {
|
|
|
1982
1981
|
type: number;
|
|
1983
1982
|
code: string;
|
|
1984
1983
|
}[];
|
|
1985
|
-
geo_coordinates: IGeoCoordinates;
|
|
1984
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
1986
1985
|
};
|
|
1987
1986
|
};
|
|
1988
1987
|
dataValidate: () => {
|
|
@@ -1996,7 +1995,7 @@ declare const Data: () => {
|
|
|
1996
1995
|
number: string;
|
|
1997
1996
|
};
|
|
1998
1997
|
};
|
|
1999
|
-
geo_coordinates: IGeoCoordinates;
|
|
1998
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2000
1999
|
result: any;
|
|
2001
2000
|
personal_info: any;
|
|
2002
2001
|
address: any;
|
|
@@ -2049,7 +2048,7 @@ declare const Data: () => {
|
|
|
2049
2048
|
address: string;
|
|
2050
2049
|
};
|
|
2051
2050
|
};
|
|
2052
|
-
geo_coordinates: IGeoCoordinates;
|
|
2051
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2053
2052
|
result: any;
|
|
2054
2053
|
personal_info: any;
|
|
2055
2054
|
address: any;
|
|
@@ -2102,7 +2101,7 @@ declare const Data: () => {
|
|
|
2102
2101
|
number: string;
|
|
2103
2102
|
};
|
|
2104
2103
|
};
|
|
2105
|
-
geo_coordinates: IGeoCoordinates;
|
|
2104
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2106
2105
|
result: any;
|
|
2107
2106
|
personal_info: any;
|
|
2108
2107
|
address: any;
|
|
@@ -2158,7 +2157,7 @@ declare const Data: () => {
|
|
|
2158
2157
|
confirm_data: {
|
|
2159
2158
|
verification_code: string;
|
|
2160
2159
|
};
|
|
2161
|
-
geo_coordinates: IGeoCoordinates;
|
|
2160
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2162
2161
|
result: any;
|
|
2163
2162
|
personal_info: any;
|
|
2164
2163
|
address: any;
|
|
@@ -2215,7 +2214,7 @@ declare const Data: () => {
|
|
|
2215
2214
|
verification_code: string;
|
|
2216
2215
|
verification_status: number;
|
|
2217
2216
|
};
|
|
2218
|
-
geo_coordinates: IGeoCoordinates;
|
|
2217
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2219
2218
|
result: any;
|
|
2220
2219
|
personal_info: any;
|
|
2221
2220
|
address: any;
|
|
@@ -2269,7 +2268,7 @@ declare const Data: () => {
|
|
|
2269
2268
|
address: string;
|
|
2270
2269
|
};
|
|
2271
2270
|
};
|
|
2272
|
-
geo_coordinates: IGeoCoordinates;
|
|
2271
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2273
2272
|
result: any;
|
|
2274
2273
|
personal_info: any;
|
|
2275
2274
|
address: any;
|
|
@@ -2323,7 +2322,7 @@ declare const Data: () => {
|
|
|
2323
2322
|
number: string;
|
|
2324
2323
|
};
|
|
2325
2324
|
};
|
|
2326
|
-
geo_coordinates: IGeoCoordinates;
|
|
2325
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2327
2326
|
result: any;
|
|
2328
2327
|
personal_info: any;
|
|
2329
2328
|
address: any;
|
|
@@ -2377,7 +2376,7 @@ declare const Data: () => {
|
|
|
2377
2376
|
address: string;
|
|
2378
2377
|
};
|
|
2379
2378
|
};
|
|
2380
|
-
geo_coordinates: IGeoCoordinates;
|
|
2379
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2381
2380
|
result: any;
|
|
2382
2381
|
personal_info: any;
|
|
2383
2382
|
address: any;
|
|
@@ -2431,7 +2430,7 @@ declare const Data: () => {
|
|
|
2431
2430
|
number: string;
|
|
2432
2431
|
};
|
|
2433
2432
|
};
|
|
2434
|
-
geo_coordinates: IGeoCoordinates;
|
|
2433
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2435
2434
|
result: any;
|
|
2436
2435
|
personal_info: any;
|
|
2437
2436
|
address: any;
|
|
@@ -2485,7 +2484,7 @@ declare const Data: () => {
|
|
|
2485
2484
|
info: {
|
|
2486
2485
|
type: number;
|
|
2487
2486
|
};
|
|
2488
|
-
geo_coordinates: IGeoCoordinates;
|
|
2487
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2489
2488
|
result: any;
|
|
2490
2489
|
personal_info: any;
|
|
2491
2490
|
address: any;
|
|
@@ -2540,7 +2539,7 @@ declare const Data: () => {
|
|
|
2540
2539
|
sub_entity: string | number;
|
|
2541
2540
|
sub_entity_id: string | number;
|
|
2542
2541
|
};
|
|
2543
|
-
geo_coordinates: IGeoCoordinates;
|
|
2542
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2544
2543
|
result: any;
|
|
2545
2544
|
personal_info: any;
|
|
2546
2545
|
address: any;
|
|
@@ -2603,7 +2602,7 @@ declare const Data: () => {
|
|
|
2603
2602
|
bank_account: {
|
|
2604
2603
|
id: string | number;
|
|
2605
2604
|
};
|
|
2606
|
-
geo_coordinates: IGeoCoordinates;
|
|
2605
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2607
2606
|
result: any;
|
|
2608
2607
|
personal_info: any;
|
|
2609
2608
|
address: any;
|
|
@@ -2654,7 +2653,7 @@ declare const Data: () => {
|
|
|
2654
2653
|
transaction_type: number;
|
|
2655
2654
|
account_id: number;
|
|
2656
2655
|
transaction_classification: number;
|
|
2657
|
-
geo_coordinates: IGeoCoordinates;
|
|
2656
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2658
2657
|
time_zone: string;
|
|
2659
2658
|
};
|
|
2660
2659
|
};
|
|
@@ -2677,7 +2676,7 @@ declare const Data: () => {
|
|
|
2677
2676
|
type: number;
|
|
2678
2677
|
code: string;
|
|
2679
2678
|
}];
|
|
2680
|
-
geo_coordinates: IGeoCoordinates;
|
|
2679
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2681
2680
|
result: any;
|
|
2682
2681
|
info: any;
|
|
2683
2682
|
personal_info: any;
|
|
@@ -2728,7 +2727,7 @@ declare const Data: () => {
|
|
|
2728
2727
|
verification_status: number;
|
|
2729
2728
|
is_online: boolean;
|
|
2730
2729
|
}[];
|
|
2731
|
-
geo_coordinates: IGeoCoordinates;
|
|
2730
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2732
2731
|
result: any;
|
|
2733
2732
|
info: any;
|
|
2734
2733
|
personal_info: any;
|
|
@@ -2776,7 +2775,7 @@ declare const Data: () => {
|
|
|
2776
2775
|
device: {
|
|
2777
2776
|
id: number;
|
|
2778
2777
|
}[];
|
|
2779
|
-
geo_coordinates: IGeoCoordinates;
|
|
2778
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2780
2779
|
result: any;
|
|
2781
2780
|
info: any;
|
|
2782
2781
|
personal_info: any;
|
|
@@ -2830,7 +2829,7 @@ declare const Data: () => {
|
|
|
2830
2829
|
id: number;
|
|
2831
2830
|
};
|
|
2832
2831
|
};
|
|
2833
|
-
geo_coordinates: IGeoCoordinates;
|
|
2832
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2834
2833
|
result: any;
|
|
2835
2834
|
personal_info: any;
|
|
2836
2835
|
address: any;
|
|
@@ -2887,7 +2886,7 @@ declare const Data: () => {
|
|
|
2887
2886
|
confirm_data: {
|
|
2888
2887
|
verification_code: string;
|
|
2889
2888
|
};
|
|
2890
|
-
geo_coordinates: IGeoCoordinates;
|
|
2889
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2891
2890
|
result: any;
|
|
2892
2891
|
personal_info: any;
|
|
2893
2892
|
address: any;
|
|
@@ -2935,7 +2934,7 @@ declare const Data: () => {
|
|
|
2935
2934
|
device: {
|
|
2936
2935
|
id: number;
|
|
2937
2936
|
}[];
|
|
2938
|
-
geo_coordinates: IGeoCoordinates;
|
|
2937
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
2939
2938
|
result: any;
|
|
2940
2939
|
info: any;
|
|
2941
2940
|
personal_info: any;
|
|
@@ -3019,7 +3018,7 @@ declare const Data: () => {
|
|
|
3019
3018
|
user_notes: string;
|
|
3020
3019
|
};
|
|
3021
3020
|
validate: string;
|
|
3022
|
-
geo_coordinates: IGeoCoordinates;
|
|
3021
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
3023
3022
|
};
|
|
3024
3023
|
};
|
|
3025
3024
|
dataOrganization: () => {
|
|
@@ -3050,7 +3049,7 @@ declare const Data: () => {
|
|
|
3050
3049
|
city_town: string;
|
|
3051
3050
|
status: number;
|
|
3052
3051
|
}[];
|
|
3053
|
-
geo_coordinates: IGeoCoordinates;
|
|
3052
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
3054
3053
|
result: any;
|
|
3055
3054
|
personal_info: any;
|
|
3056
3055
|
addresses: any;
|
|
@@ -3120,7 +3119,7 @@ declare const Data: () => {
|
|
|
3120
3119
|
city_town: string;
|
|
3121
3120
|
status: number;
|
|
3122
3121
|
}[];
|
|
3123
|
-
geo_coordinates: IGeoCoordinates;
|
|
3122
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
3124
3123
|
result: any;
|
|
3125
3124
|
personal_info: any;
|
|
3126
3125
|
addresses: any;
|
|
@@ -3174,7 +3173,7 @@ declare const Data: () => {
|
|
|
3174
3173
|
"custom notes": string;
|
|
3175
3174
|
};
|
|
3176
3175
|
validate: string;
|
|
3177
|
-
geo_coordinates: IGeoCoordinates;
|
|
3176
|
+
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
3178
3177
|
result: any;
|
|
3179
3178
|
personal_info: any;
|
|
3180
3179
|
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:
|
|
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:
|
|
117
|
+
time_zone: (0, utils_1.getTimezone)().userTimeZone,
|
|
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:
|
|
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:
|
|
196
|
+
time_zone: (0, utils_1.getTimezone)().userTimeZone,
|
|
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.
|
|
3
|
+
"version": "0.0.33",
|
|
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",
|