ggez-banking-sdk 0.1.99 → 0.1.101
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/constants/index.d.ts +1 -0
- package/dist/constants/index.js +1 -0
- package/dist/{utils → constants}/regex.d.ts +2 -1
- package/dist/constants/regex.js +114 -0
- package/dist/helper/cipherHelper.d.ts +1 -1
- package/dist/helper/cipherHelper.js +62 -23
- package/dist/helper/cookiesHelper.d.ts +1 -1
- package/dist/helper/cookiesHelper.js +11 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/index.d.ts +6 -7
- package/dist/utils/index.js +6 -7
- package/package.json +1 -1
- package/dist/utils/regex.js +0 -115
package/dist/constants/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
declare const regexPatterns: {
|
2
2
|
checkEmptyPattern: {
|
3
3
|
required: boolean;
|
4
4
|
};
|
@@ -113,3 +113,4 @@ export declare const useRegExp: () => {
|
|
113
113
|
WSURl: RegExp;
|
114
114
|
DecimalNumber: RegExp;
|
115
115
|
};
|
116
|
+
export { regexPatterns };
|
@@ -0,0 +1,114 @@
|
|
1
|
+
const regexPatterns = {
|
2
|
+
checkEmptyPattern: { required: true },
|
3
|
+
GeoCoordinatesPattern: /^(-?(?:1[0-7]|[1-9])?\d(?:\.\d{1,24})?|180(?:\.0{1,24})?)$/,
|
4
|
+
GGEZAddressRegexPattern: /^ggez[A-Za-z0-9]{30,80}$/,
|
5
|
+
GGEZQuantityRegexPattern: /^(?!0(\.0{1,2})?$)(?!0\d)\d{1,16}(?:\.\d{1,6})?$/,
|
6
|
+
NameRegexPattern: /^(?!.*--)[\p{L}\p{N}][^\\\/*$%^+=<>|\n\r\b\t]{0,49}$/u,
|
7
|
+
EmailRegexPattern: /^([\w-+\.]{1,80})@([\w-+\.]{1,80})\.([a-zA-Z]{1,20})$/,
|
8
|
+
MoneyRegexPattern: /^(?!0(\.0{1,2})?$)(?!0\d)\d{1,7}(?:\.\d{1,2})?$/,
|
9
|
+
DateRegexPattern: /^\d{4}-\d{2}-\d{2}$/u,
|
10
|
+
DateTimeRegexPattern: /^(19|20)\d{2}-(0[1-9]|1[0-2])-(0[1-9]|1\d|2\d|3[01])T(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]){1,22}$/,
|
11
|
+
SortRegexPattern: /^(asc|desc)$/,
|
12
|
+
URLRegexPattern: /^(http|https):\/\/[\w\-_.]+(\:[0-9]+)?(\.[\w\-_.]+)*(\/[\w\-.,@?^=%&:\/~+#]*)?$/,
|
13
|
+
TerminalSecurityIDRegexPattern: /^[/+0-9a-zA-Z=_-]{1,50}$/,
|
14
|
+
ResultSetDateRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))[\/|-]((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))$/,
|
15
|
+
StatementMonthRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))$/,
|
16
|
+
ENNotes100CharRegexPattern: /^(?!.*--)[?-?a-zA-Z0-9][^\^+=<>|\n\r\b\t]{0,100}$/,
|
17
|
+
ENNotes250CharRegexPattern: /^$|(^(?!.*--)[?-?a-zA-Z0-9][^\^+=<>|\n\r\b\t]{0,255}$)/,
|
18
|
+
ENNotes500CharRegexPattern: /^$|(^(?!.*--)[?-?a-zA-Z0-9.+][^\^=<>|\n\r\b\t]{0,500}$)/,
|
19
|
+
INTText100CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,100}$/,
|
20
|
+
PostalCodeRegexPattern: /^(?!.*--)[\w][^\*$%^+=<>|\n\r\t]{1,19}$/,
|
21
|
+
INTText255CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,255}$/,
|
22
|
+
INTText500CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,500}$/,
|
23
|
+
AddressLineRegexPattern: /^$|(^(?!.*--)[\w][^\^+=<>|\n\r\t]{0,500}$)/,
|
24
|
+
INTLongDescriptionRegexPattern: /^(?!.*--)[\w][^\^+=<>|\n\r\t]{1,8000}$/,
|
25
|
+
TimeZoneRegexPattern: /^((?:UTC [+|-](?:2[0-3]|[01][0-9]):[0-5][0-9])){1,10}$/,
|
26
|
+
OperationAndClassificationRegexPattern: /^[a-zA-Z_\/*\s]{1,50}$/,
|
27
|
+
PhoneNumberRegexPattern: /^[+]([1-9])\d{7,14}$/,
|
28
|
+
SourceIDRegexPattern: /^[a-zA-Z0-9_\-\.\=\/]{1,100}$/,
|
29
|
+
BooleanRegexPattern: /^[0-1]{1,1}$/,
|
30
|
+
SortByRegexPattern: /^[a-zA-Z0-9_]{1,22}$/,
|
31
|
+
TernaryRegexPattern: /^[0-2]{1,1}$/,
|
32
|
+
InstallationKeyRegexPattern: /^[a-zA-Z0-9\s-]{1,50}$/,
|
33
|
+
LanguageRegexPattern: /^[a-zA-Z]{1,2}(-[a-zA-Z]{1,2})?$/,
|
34
|
+
TypeRegexPattern: /^[0-9]{1,1}$/,
|
35
|
+
IDRegexPattern: /^[0-9]{1,10}$/,
|
36
|
+
CurrencyCodeRegexPattern: /^[0-9a-zA-Z]{3,10}$/,
|
37
|
+
AccountNumberRegexPattern: /^[0-9]{6,25}$/,
|
38
|
+
CreditCardNumberRegexPattern: /^[0-9]{1,16}$/,
|
39
|
+
Numeric2DigitRegexPattern: /^(-1|[0-9]{1,2})$/,
|
40
|
+
AlphanumericCode20CharRegexPattern: /^[a-zA-Z0-9-]{1,20}$/,
|
41
|
+
AlphanumericCode4CharRegexPattern: /^[a-zA-Z0-9-]{1,4}$/,
|
42
|
+
Numeric9DigitRegexPattern: /(^$)|(^[0-9]{1,9}$)/,
|
43
|
+
Numeric10DigitRegexPattern: /(^$)|(^[0-9]{1,10}$)/,
|
44
|
+
Numeric25DigitRegexPattern: /^[0-9]{1,25}$/,
|
45
|
+
Numeric8DigitRegexPattern: /^[0-9]{1,8}$/,
|
46
|
+
Numeric3DigitRegexPattern: /^[0-9]{1,3}$/,
|
47
|
+
Numeric4DigitRegexPattern: /^[0-9]{1,4}$/,
|
48
|
+
Numeric5DigitRegexPattern: /^[0-9]{1,5}$/,
|
49
|
+
Numeric6DigitRegexPattern: /^[0-9]{1,6}$/,
|
50
|
+
Alphanumeric500CharRegexPattern: /^[a-zA-Z0-9-]{1,500}$/,
|
51
|
+
TokenRegexPattern: /[A-Za-z0-9\-\._~\+\/]+=*/,
|
52
|
+
TextBooleanRegexPattern: /^(true|false)$/,
|
53
|
+
LanguageCultureRegexPattern: /^[a-zA-Z-]{1,5}$/,
|
54
|
+
INTText1024CharRegexPattern: /^|^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,1024}$/,
|
55
|
+
QuaternaryRegexPattern: /^[1-4]{1,1}$/,
|
56
|
+
SWIFTRegexPattern: /^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/,
|
57
|
+
IBANRegexPattern: /[a-zA-Z]{2}[0-9]{2}[a-zA-Z0-9]{4}[0-9]{7}([a-zA-Z0-9]?){0,16}/,
|
58
|
+
AttachmentContentRegexPattern: /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/,
|
59
|
+
YearRegexPattern: /^(20|21)\d{2}$/,
|
60
|
+
MonthRegexPattern: /^(0[1-9]|1[0-2])$/,
|
61
|
+
PasswordRegexPattern: /^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*()_+{}\[\]:;<>,.?~\\\-]).{8,25}$/,
|
62
|
+
TimeRegexPattern: /^(([01][0-9])|([2][0-3])):[0-5][0-9]$/,
|
63
|
+
CodeRegexPattern: /^[A-Z0-9-]{4,6}$/,
|
64
|
+
OTPCodeRegexPattern: /^[A-Z0-9]{6}$/,
|
65
|
+
PinCodeRegexPattern: /^[ A-Za-z0-9_.\/#=&+-]*$/,
|
66
|
+
INTText50CharRegexPattern: /^(?!.*--)[a-zA-Z0-9][^\\\/*$%^+=<>|\n\r\b\t]{0,50}$/,
|
67
|
+
WorkingHoursRegexPattern: /^(([0-1][0-9])|([2][0-3])):([0-5][0-9]),(([0-1][0-9])|([2][0-3])):([0-5][0-9])$/,
|
68
|
+
ListOfIntRegexPattern: /^$|(^\d+(,\d+)*$)/,
|
69
|
+
SecurityCodeRegexPattern: /^[0-9]{6}$/,
|
70
|
+
ACSOneCharRegexPattern: /^[a-zA-Z]{1,1}$/,
|
71
|
+
ACSDateTimeRegexPattern: /^((0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d ([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9]))$/,
|
72
|
+
ACSPurchaseAmountRegexPattern: /^[a-zA-Z]{3,3} [0-9]{2,2}\.[0-9]{2,2}$/,
|
73
|
+
ACSText100CharRegexPattern: /^[ A-Za-z0-9_@./#&+-=|]{0,100}$/,
|
74
|
+
SortCodeRegexPattern: /^[0-9]{6}$/,
|
75
|
+
PageSizeRegexPattern: /^(100|[0-9]{0,2})$/,
|
76
|
+
YearandMonthRegexPattern: /^[0-9]{4}[\-]((1[0-2])|(0?[1-9]))$/,
|
77
|
+
ENText25CharRegexPattern: /^|[a-zA-Z]+(\s{0,1}[a-zA-Z]){0,25}$/u,
|
78
|
+
LatitudeRegexPattern: /^(-?[1-8]?\d(?:\.\d{1,8})?|90(?:\.0{1,8})?)$/,
|
79
|
+
Integernumbersexcept0RegexPattern: /[1-9]{1}\d{0,3}/,
|
80
|
+
CreditCardExpiryDateRegexPattern: /^(0[1-9]|1[0-2])\/\d{2}$/,
|
81
|
+
AssetNameRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
|
82
|
+
SharePriceRegexPattern: /^(?!0*\.?0{1,6}$)\d+(\.\d{1,6})?$/,
|
83
|
+
TradeTypeRegexPattern: /^(buy|sell)$/,
|
84
|
+
TypeAdminRegexPattern: /^[a-zA-Z ]{1,50}$/,
|
85
|
+
NameAdminRegexPattern: /^[A-Za-z ]{0,50}$/,
|
86
|
+
CurrencyRegexPattern: /^(?!Currency-Country$)[A-Z ]{0,50}$/,
|
87
|
+
CountryRegexPattern: /^(?!Default From Asset ID$).*/,
|
88
|
+
AssetCountryRegexPattern: /^[A-Z]{0,10}$/,
|
89
|
+
NoSharesRegexPattern: /^[1-9]\d{0,17}$/,
|
90
|
+
TickerRegexPattern: /^[A-Za-z0-9]{0,10}$/,
|
91
|
+
QuantityRegexPattern: /^[1-9]\d{0,8}$/,
|
92
|
+
PriceRegexPattern: /^(?!0*\.?0{1,15}$)\d+(\.\d{1,15})?$/,
|
93
|
+
IssuerRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
|
94
|
+
TradeValueRegexPattern: /^\d+(\.\d{1,2})?$/,
|
95
|
+
CoinRegexPattern: /^(ggz|uggz)$/,
|
96
|
+
AssetIdRegexPattern: /^[0-9]+$/,
|
97
|
+
AumRegexPattern: /^\d+\.\d+[MB]$/,
|
98
|
+
ExpenseRatioRegexPattern: /^\d*\.?\d{1,2}%$/,
|
99
|
+
OneYrTrRegexPattern: /^-?\d+(\.\d+)?$/,
|
100
|
+
VestingAmountRegexPattern: /^-?\d+$/,
|
101
|
+
VestingPercentRegexPattern: /^(100(\.0{1,2})?|[1-9]?\d(\.\d{1,2})?)$/,
|
102
|
+
ProposalInfoRegexPattern: /^(https:\/\/github\.com\/[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+\/releases\/download\/[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)$/,
|
103
|
+
UUIDPattern: /^[0-9(a-f|A-F)]{8}-[0-9(a-f|A-F)]{4}-4[0-9(a-f|A-F)]{3}-[89ab][0-9(a-f|A-F)]{3}-[0-9(a-f|A-F)]{12}$/,
|
104
|
+
CryptoQuantityPattern: /^(?!0(\.0{1,6})?$)(?!0\d)\d{1,7}(?:\.\d{1,6})?$/,
|
105
|
+
BlockchainAddress: /^[a-zA-Z0-9]{26,64}$/,
|
106
|
+
GeneralName: /^[a-zA-Z].{2,49}$/,
|
107
|
+
GGEZ1Balance: /^\d+(\.\d{1,2})?$/,
|
108
|
+
Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,16})?))$/,
|
109
|
+
IntegerNumber: /^\d+$/,
|
110
|
+
Pair: /^[A-Za-z0-9]{2,10}\/?[A-Za-z0-9]{2,10}$/,
|
111
|
+
WSURl: /^wss:\/\/([a-zA-Z0-9\-_]+\.)+[a-zA-Z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9\-_\/]*)?$/,
|
112
|
+
DecimalNumber: /^\d+(\.\d{1,6})?$/,
|
113
|
+
};
|
114
|
+
export { regexPatterns };
|
@@ -4,7 +4,7 @@ declare class CipherHelper {
|
|
4
4
|
static Decrypt: (cipherText: string, key: string, iv: string) => string;
|
5
5
|
static Generate: (code: string) => CipherKeyIV;
|
6
6
|
static GenerateByUSRAndIID: (USR: USR, IID: string) => CipherKeyIV;
|
7
|
-
static GenerateByProgramID: (
|
7
|
+
static GenerateByProgramID: () => CipherKeyIV;
|
8
8
|
static GenerateByUserID: (user_id: string) => CipherKeyIV;
|
9
9
|
static GenerateByInstallationID: (IID: string) => CipherKeyIV;
|
10
10
|
static PaddingLeft: (value: string, length: number, paddingChar: string) => string;
|
@@ -25,29 +25,59 @@ CipherHelper.Decrypt = (cipherText, key, iv) => {
|
|
25
25
|
}
|
26
26
|
};
|
27
27
|
CipherHelper.Generate = (code) => {
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
try {
|
29
|
+
if (!code)
|
30
|
+
throw new Error("code is not defined");
|
31
|
+
const KEY = _a.PaddingLeft(code.toString(), 32, "0");
|
32
|
+
const IV = _a.PaddingLeft(code.toString(), 16, "0");
|
33
|
+
return { key: KEY, iv: IV };
|
34
|
+
}
|
35
|
+
catch (error) {
|
36
|
+
console.error(error);
|
37
|
+
return { key: "", iv: "" };
|
38
|
+
}
|
31
39
|
};
|
32
40
|
CipherHelper.GenerateByUSRAndIID = (USR, IID) => {
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
+
try {
|
42
|
+
if (!USR || !USR.device_id || !USR.user_id) {
|
43
|
+
throw new Error("USR is not defined");
|
44
|
+
}
|
45
|
+
if (!IID) {
|
46
|
+
throw new Error("IID is not defined");
|
47
|
+
}
|
48
|
+
const DID_KEY = _a.PaddingLeft(USR.device_id.toString(), 10, "0");
|
49
|
+
const UID_KEY = _a.PaddingLeft(USR.user_id.toString(), 10, "0");
|
50
|
+
const IID_KEY = IID.slice(0, 10);
|
51
|
+
const KEY = `${DID_KEY}.${UID_KEY}.${IID_KEY}`.toString();
|
52
|
+
const DID_IV = _a.PaddingLeft(USR.device_id.toString(), 8, "0");
|
53
|
+
const UID_IV = _a.PaddingLeft(USR.user_id.toString(), 8, "0");
|
54
|
+
const IV = `${DID_IV}${UID_IV}`.toString();
|
55
|
+
return { key: KEY, iv: IV };
|
56
|
+
}
|
57
|
+
catch (error) {
|
58
|
+
console.error(error);
|
59
|
+
return { key: "", iv: "" };
|
60
|
+
}
|
41
61
|
};
|
42
|
-
CipherHelper.GenerateByProgramID = (
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
62
|
+
CipherHelper.GenerateByProgramID = () => {
|
63
|
+
try {
|
64
|
+
const programId = process.env.NEXT_PUBLIC_PROGRAM_ID || process.env.VITE_PROGRAM_ID;
|
65
|
+
if (!programId) {
|
66
|
+
throw new Error("Program ID is not defined");
|
67
|
+
}
|
68
|
+
const PID_KEY = _a.PaddingLeft(programId.toString(), 10, "0");
|
69
|
+
const F_KEY = _a.PaddingLeft("0".toString(), 10, "0");
|
70
|
+
const FingerPrint_KEY = _a.PaddingLeft("", 10, "0");
|
71
|
+
const KEY = `${PID_KEY}.${F_KEY}.${FingerPrint_KEY}`;
|
72
|
+
const PID_IV = _a.PaddingLeft(programId.toString(), 8, "0");
|
73
|
+
const F_IV = _a.PaddingLeft("0".toString(), 8, "0");
|
74
|
+
const IV = `${PID_IV}${F_IV}`;
|
75
|
+
return { key: KEY, iv: IV };
|
76
|
+
}
|
77
|
+
catch (error) {
|
78
|
+
console.error(error);
|
79
|
+
return { key: "", iv: "" };
|
80
|
+
}
|
51
81
|
};
|
52
82
|
CipherHelper.GenerateByUserID = (user_id) => {
|
53
83
|
const UID_KEY = _a.PaddingLeft(user_id.toString(), 32, "0");
|
@@ -55,9 +85,18 @@ CipherHelper.GenerateByUserID = (user_id) => {
|
|
55
85
|
return { key: UID_KEY, iv: UID_IV };
|
56
86
|
};
|
57
87
|
CipherHelper.GenerateByInstallationID = (IID) => {
|
58
|
-
|
59
|
-
|
60
|
-
|
88
|
+
try {
|
89
|
+
if (!IID) {
|
90
|
+
throw new Error("Installation ID is not defined");
|
91
|
+
}
|
92
|
+
const IID_KEY = IID.slice(0, 32);
|
93
|
+
const IID_IV = IID.slice(0, 16);
|
94
|
+
return { key: IID_KEY, iv: IID_IV };
|
95
|
+
}
|
96
|
+
catch (error) {
|
97
|
+
console.error(error);
|
98
|
+
return { key: "", iv: "" };
|
99
|
+
}
|
61
100
|
};
|
62
101
|
CipherHelper.PaddingLeft = (value, length, paddingChar) => {
|
63
102
|
if (value.length >= length)
|
@@ -8,9 +8,12 @@ _a = CookiesHelper;
|
|
8
8
|
// #region "IID"
|
9
9
|
CookiesHelper.GetIID = () => {
|
10
10
|
try {
|
11
|
-
const
|
12
|
-
const { key, iv } = CipherHelper.GenerateByProgramID(programId);
|
11
|
+
const { key, iv } = CipherHelper.GenerateByProgramID();
|
13
12
|
const IID = _a.GET("IID");
|
13
|
+
if (!IID) {
|
14
|
+
_a.SetIID();
|
15
|
+
return _a.GetIID();
|
16
|
+
}
|
14
17
|
const decryptedIID = CipherHelper.Decrypt(IID, key, iv);
|
15
18
|
return decryptedIID;
|
16
19
|
}
|
@@ -20,9 +23,8 @@ CookiesHelper.GetIID = () => {
|
|
20
23
|
};
|
21
24
|
CookiesHelper.SetIID = () => {
|
22
25
|
try {
|
23
|
-
const programId = process.env.NEXT_PUBLIC_PROGRAM_ID;
|
24
26
|
const IID = v4();
|
25
|
-
const { key, iv } = CipherHelper.GenerateByProgramID(
|
27
|
+
const { key, iv } = CipherHelper.GenerateByProgramID();
|
26
28
|
const encryptedIID = CipherHelper.Encrypt(IID, key, iv);
|
27
29
|
_a.SET("IID", encryptedIID);
|
28
30
|
}
|
@@ -37,6 +39,9 @@ CookiesHelper.GetDEK = () => {
|
|
37
39
|
const IID = _a.GetIID();
|
38
40
|
const DEK = _a.GET("DEK");
|
39
41
|
const USR = _a.GetUSR();
|
42
|
+
if (!DEK || !USR) {
|
43
|
+
return null;
|
44
|
+
}
|
40
45
|
const { key, iv } = CipherHelper.GenerateByUSRAndIID(USR, IID);
|
41
46
|
const encryptionKey = CipherHelper.Decrypt(DEK, key, iv);
|
42
47
|
if (encryptionKey.length == 16)
|
@@ -67,7 +72,7 @@ CookiesHelper.SetDEK = (deviceEncryptionKey, USR) => {
|
|
67
72
|
CookiesHelper.GetUSR = () => {
|
68
73
|
try {
|
69
74
|
const IID = _a.GetIID();
|
70
|
-
const {
|
75
|
+
const { key, iv } = CipherHelper.GenerateByInstallationID(IID);
|
71
76
|
const USR = _a.GET("USR");
|
72
77
|
const decryptedUSR = CipherHelper.Decrypt(USR, key, iv);
|
73
78
|
return JSON.parse(decryptedUSR);
|
@@ -79,7 +84,7 @@ CookiesHelper.GetUSR = () => {
|
|
79
84
|
CookiesHelper.SetUSR = (deviceId, userId) => {
|
80
85
|
try {
|
81
86
|
const IID = _a.GetIID();
|
82
|
-
const {
|
87
|
+
const { key, iv } = CipherHelper.GenerateByInstallationID(IID);
|
83
88
|
const USR = JSON.stringify({
|
84
89
|
device_id: deviceId,
|
85
90
|
user_id: userId,
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["../src/index.ts","../src/api/index.ts","../src/api/clients/account.ts","../src/api/clients/auth.ts","../src/api/clients/blockchain.ts","../src/api/clients/index.ts","../src/api/clients/ipAddressAndLocation.ts","../src/api/clients/limited.ts","../src/api/clients/order.ts","../src/api/clients/organization.ts","../src/api/clients/promotion.ts","../src/api/clients/transaction.ts","../src/api/clients/user.ts","../src/api/data/auth.ts","../src/api/data/blockchain.ts","../src/api/data/index.ts","../src/api/data/limited.ts","../src/api/data/order.ts","../src/api/data/organization.ts","../src/api/data/transaction.ts","../src/api/data/user/activity.ts","../src/api/data/user/address.ts","../src/api/data/user/auth.ts","../src/api/data/user/bankAccount.ts","../src/api/data/user/device.ts","../src/api/data/user/document.ts","../src/api/data/user/email.ts","../src/api/data/user/identification.ts","../src/api/data/user/index.ts","../src/api/data/user/personalInfo.ts","../src/api/data/user/phone.ts","../src/api/data/user/preferences.ts","../src/api/data/user/security.ts","../src/api/data/user/ticket.ts","../src/api/services/account.ts","../src/api/services/auth.ts","../src/api/services/base.ts","../src/api/services/blockchain.ts","../src/api/services/index.ts","../src/api/services/ipAddressAndLocation.ts","../src/api/services/limited.ts","../src/api/services/order.ts","../src/api/services/organization.ts","../src/api/services/promotion.ts","../src/api/services/transaction.ts","../src/api/services/user.ts","../src/constants/constants.ts","../src/constants/enum.ts","../src/constants/index.ts","../src/constants/structure.ts","../src/content/accountCurrencies.ts","../src/content/countries.ts","../src/content/currencies.ts","../src/content/index.ts","../src/content/state.ts","../src/helper/cipherHelper.ts","../src/helper/clientHelper.ts","../src/helper/cookiesHelper.ts","../src/helper/dateTimeHelper.ts","../src/helper/deviceHelper.ts","../src/helper/geoHelper.ts","../src/helper/index.ts","../src/helper/userHelper.ts","../src/helper/api/axiosHelper.ts","../src/helper/api/index.ts","../src/helper/api/responseHelper.ts","../src/types/index.ts","../src/types/api/index.ts","../src/types/api/client/account.ts","../src/types/api/client/auth.ts","../src/types/api/client/blockchain.ts","../src/types/api/client/index.ts","../src/types/api/client/ipAddressAndLocation.ts","../src/types/api/client/limited.ts","../src/types/api/client/order.ts","../src/types/api/client/organization.ts","../src/types/api/client/promotion.ts","../src/types/api/client/transaction.ts","../src/types/api/client/user.ts","../src/types/api/data/account.ts","../src/types/api/data/auth.ts","../src/types/api/data/blockchain.ts","../src/types/api/data/index.ts","../src/types/api/data/limited.ts","../src/types/api/data/order.ts","../src/types/api/data/organization.ts","../src/types/api/data/transaction.ts","../src/types/api/data/user/address.ts","../src/types/api/data/user/auth.ts","../src/types/api/data/user/bankAccount.ts","../src/types/api/data/user/device.ts","../src/types/api/data/user/document.ts","../src/types/api/data/user/email.ts","../src/types/api/data/user/identification.ts","../src/types/api/data/user/index.ts","../src/types/api/data/user/personalInfo.ts","../src/types/api/data/user/phone.ts","../src/types/api/data/user/preferences.ts","../src/types/api/data/user/security.ts","../src/types/api/data/user/ticket.ts","../src/types/banking/index.ts","../src/types/banking/account/accountStatementData.ts","../src/types/banking/account/accountdata.ts","../src/types/banking/account/accountstatementdetails.ts","../src/types/banking/account/accountstatementinfo.ts","../src/types/banking/account/accountstatementtransaction.ts","../src/types/banking/account/creditlimit.ts","../src/types/banking/account/fulfilment.ts","../src/types/banking/account/index.ts","../src/types/banking/account/info.ts","../src/types/banking/account/security.ts","../src/types/banking/account/chaindata/chaindata.ts","../src/types/banking/account/chaindata/index.ts","../src/types/banking/account/limits/dailylimit.ts","../src/types/banking/account/limits/deposit.ts","../src/types/banking/account/limits/depositinterchange.ts","../src/types/banking/account/limits/depositmonthly.ts","../src/types/banking/account/limits/depositpaymentgateway.ts","../src/types/banking/account/limits/deposityearly.ts","../src/types/banking/account/limits/globaldailylimit.ts","../src/types/banking/account/limits/index.ts","../src/types/banking/account/limits/limits.ts","../src/types/banking/account/limits/monthlylimit.ts","../src/types/banking/account/limits/transferreceiving.ts","../src/types/banking/account/limits/transfersending.ts","../src/types/banking/account/limits/withdraw.ts","../src/types/banking/account/limits/withdrawinterchange.ts","../src/types/banking/account/limits/withdrawmonthly.ts","../src/types/banking/account/limits/withdraworder.ts","../src/types/banking/account/limits/withdrawpurchaseinterchange.ts","../src/types/banking/account/limits/yearlylimit.ts","../src/types/banking/account/options/bulkshipping.ts","../src/types/banking/account/options/carddetails.ts","../src/types/banking/account/options/cardproduction.ts","../src/types/banking/account/options/courier.ts","../src/types/banking/account/options/fulfilment.ts","../src/types/banking/account/options/fulfilmentdetails.ts","../src/types/banking/account/options/fulfilmentinfo.ts","../src/types/banking/account/options/index.ts","../src/types/banking/account/options/options.ts","../src/types/banking/account/options/security.ts","../src/types/banking/account/tokenization/index.ts","../src/types/banking/account/tokenization/provision.ts","../src/types/banking/account/tokenization/provisionrequest.ts","../src/types/banking/account/tokenization/provisionresponse.ts","../src/types/banking/account/tokenization/tokenization.ts","../src/types/banking/blockchain/blockchainData.ts","../src/types/banking/blockchain/chainTransactionData.ts","../src/types/banking/blockchain/coin.ts","../src/types/banking/blockchain/delegateData.ts","../src/types/banking/blockchain/delegationData.ts","../src/types/banking/blockchain/index.ts","../src/types/banking/blockchain/info.ts","../src/types/banking/blockchain/multiSendData.ts","../src/types/banking/blockchain/sendData.ts","../src/types/banking/blockchain/undelegateData.ts","../src/types/banking/common/archive.ts","../src/types/banking/common/authentication.ts","../src/types/banking/common/bankextendeddata.ts","../src/types/banking/common/baseresult.ts","../src/types/banking/common/beneficiaryaddress.ts","../src/types/banking/common/classification.ts","../src/types/banking/common/contentfile.ts","../src/types/banking/common/cryptoaddressextendeddata.ts","../src/types/banking/common/currencyclouddata.ts","../src/types/banking/common/devicecultureinfo.ts","../src/types/banking/common/externalhostinfo.ts","../src/types/banking/common/geocoordinates.ts","../src/types/banking/common/history.ts","../src/types/banking/common/index.ts","../src/types/banking/common/lastactivity.ts","../src/types/banking/common/notes.ts","../src/types/banking/common/openpayddata.ts","../src/types/banking/common/result.ts","../src/types/banking/common/snbdata.ts","../src/types/banking/common/workinghour.ts","../src/types/banking/common/people/alias.ts","../src/types/banking/common/people/billpaydata.ts","../src/types/banking/common/people/customerinfo.ts","../src/types/banking/common/people/eftdata.ts","../src/types/banking/common/people/etransferdata.ts","../src/types/banking/common/people/index.ts","../src/types/banking/common/people/peoplesdata.ts","../src/types/banking/common/security/index.ts","../src/types/banking/common/security/simplifiedaccessrule.ts","../src/types/banking/common/security/simplifiedaccessruleinfo.ts","../src/types/banking/entities/address.ts","../src/types/banking/entities/bankaccount.ts","../src/types/banking/entities/creditcard.ts","../src/types/banking/entities/cryptoWallet.ts","../src/types/banking/entities/cryptoaddress.ts","../src/types/banking/entities/device.ts","../src/types/banking/entities/devicehistory.ts","../src/types/banking/entities/email.ts","../src/types/banking/entities/externalauthentication.ts","../src/types/banking/entities/generalrequirements.ts","../src/types/banking/entities/identification.ts","../src/types/banking/entities/index.ts","../src/types/banking/entities/notification.ts","../src/types/banking/entities/paymentCryptoAddress.ts","../src/types/banking/entities/paymentInfo.ts","../src/types/banking/entities/phone.ts","../src/types/banking/entities/relationship.ts","../src/types/banking/entities/socialmedia.ts","../src/types/banking/entities/termsconditions.ts","../src/types/banking/entities/customField/index.ts","../src/types/banking/entities/customField/promotionData/giftData.ts","../src/types/banking/entities/customField/promotionData/index.ts","../src/types/banking/entities/customField/promotionData/promotionData.ts","../src/types/banking/entities/customField/promotionData/referralData.ts","../src/types/banking/entities/customField/userAccessControl/action.ts","../src/types/banking/entities/customField/userAccessControl/index.ts","../src/types/banking/entities/customField/userAccessControl/page.ts","../src/types/banking/entities/customField/userAccessControl/section.ts","../src/types/banking/entities/customField/userAccessControl/userAccessControl.ts","../src/types/banking/entities/json/IdentificationExtraData.ts","../src/types/banking/entities/json/index.ts","../src/types/banking/entities/json/device/deviceextendedinfo.ts","../src/types/banking/entities/json/device/index.ts","../src/types/banking/entities/json/device/siminfo.ts","../src/types/banking/group/details.ts","../src/types/banking/group/groupdata.ts","../src/types/banking/group/groupuser.ts","../src/types/banking/group/index.ts","../src/types/banking/group/info.ts","../src/types/banking/group/localization.ts","../src/types/banking/group/media.ts","../src/types/banking/group/settings/classificationinfo.ts","../src/types/banking/group/settings/companyusers.ts","../src/types/banking/group/settings/externalintegration.ts","../src/types/banking/group/settings/fortnox.ts","../src/types/banking/group/settings/index.ts","../src/types/banking/group/settings/messagingsetup.ts","../src/types/banking/group/settings/qvitoo.ts","../src/types/banking/group/settings/setting.ts","../src/types/banking/group/settings/voucherrows.ts","../src/types/banking/oauth/credentialsData.ts","../src/types/banking/oauth/index.ts","../src/types/banking/oauth/tokenData.ts","../src/types/banking/order/customFormData.ts","../src/types/banking/order/features.ts","../src/types/banking/order/fee.ts","../src/types/banking/order/index.ts","../src/types/banking/order/info.ts","../src/types/banking/order/lotteryTicket.ts","../src/types/banking/order/orderData.ts","../src/types/banking/order/orderError.ts","../src/types/banking/order/paymentMethod.ts","../src/types/banking/order/pinCode.ts","../src/types/banking/order/profit.ts","../src/types/banking/order/promotion.ts","../src/types/banking/order/reverseData.ts","../src/types/banking/order/reverseItem.ts","../src/types/banking/order/reversePinCode.ts","../src/types/banking/order/ticket.ts","../src/types/banking/order/topUp.ts","../src/types/banking/order/variant.ts","../src/types/banking/order/voucher.ts","../src/types/banking/order/voucherInfo.ts","../src/types/banking/order/customForm/ggez1.ts","../src/types/banking/order/customForm/ggezGiftRewards.ts","../src/types/banking/order/customForm/ggezReferralRewards.ts","../src/types/banking/order/customForm/index.ts","../src/types/banking/order/fulfilment/fulfilmentInfo.ts","../src/types/banking/order/fulfilment/index.ts","../src/types/banking/order/fulfilment/orderFulfilment.ts","../src/types/banking/order/fulfilment/pinCodeFulfilment.ts","../src/types/banking/order/items/index.ts","../src/types/banking/order/items/info.ts","../src/types/banking/order/items/orderItem.ts","../src/types/banking/organization/details.ts","../src/types/banking/organization/index.ts","../src/types/banking/organization/info.ts","../src/types/banking/organization/organizationdata.ts","../src/types/banking/ticket/content.ts","../src/types/banking/ticket/history.ts","../src/types/banking/ticket/index.ts","../src/types/banking/ticket/info.ts","../src/types/banking/ticket/subentity.ts","../src/types/banking/ticket/ticketdata.ts","../src/types/banking/transaction/billingAddress.ts","../src/types/banking/transaction/conversion.ts","../src/types/banking/transaction/exchange.ts","../src/types/banking/transaction/fee.ts","../src/types/banking/transaction/index.ts","../src/types/banking/transaction/info.ts","../src/types/banking/transaction/receiverInfo.ts","../src/types/banking/transaction/tax.ts","../src/types/banking/transaction/transactionData.ts","../src/types/banking/transaction/transactionInquiry.ts","../src/types/banking/transaction/transfer.ts","../src/types/banking/user/activity.ts","../src/types/banking/user/attachment.ts","../src/types/banking/user/confirmForgetSecurityData.ts","../src/types/banking/user/confirmSecurityData.ts","../src/types/banking/user/confirmUserSecurity.ts","../src/types/banking/user/confirmUserSecurityInfo.ts","../src/types/banking/user/currency.ts","../src/types/banking/user/documentdata.ts","../src/types/banking/user/documentinfo.ts","../src/types/banking/user/forgetPassword.ts","../src/types/banking/user/forgetSecurityData.ts","../src/types/banking/user/forgetSecurityInfo.ts","../src/types/banking/user/index.ts","../src/types/banking/user/info.ts","../src/types/banking/user/personalinfo.ts","../src/types/banking/user/preferences.ts","../src/types/banking/user/resetPassword.ts","../src/types/banking/user/resetSecurityCode.ts","../src/types/banking/user/resetSecurityData.ts","../src/types/banking/user/resetSecurityQuestions.ts","../src/types/banking/user/resetUserSecurity.ts","../src/types/banking/user/resetUserSecurityInfo.ts","../src/types/banking/user/security.ts","../src/types/banking/user/userauthenticationdata.ts","../src/types/banking/user/usercreditlimit.ts","../src/types/banking/user/userdata.ts","../src/types/banking/user/validateForgetSecurityData.ts","../src/types/banking/user/validateLimitedSecurity.ts","../src/types/banking/user/validateLimitedSecurityData.ts","../src/types/banking/user/validateSecurityData.ts","../src/types/banking/user/validateUserSecurity.ts","../src/types/banking/user/validateUserSecurityInfo.ts","../src/types/banking/user/verifySecurityData.ts","../src/types/banking/user/verifyUserSecurity.ts","../src/types/banking/user/verifyUserSecurityInfo.ts","../src/types/banking/user/commerce/commerce.ts","../src/types/banking/user/commerce/index.ts","../src/types/banking/user/commerce/role.ts","../src/types/banking/user/commerce/usercommerceconfiguration.ts","../src/types/banking/user/validation/index.ts","../src/types/banking/user/validation/info.ts","../src/types/banking/user/validation/validationdata.ts","../src/types/helper/axiosHelper.ts","../src/types/helper/cipherHelper.ts","../src/types/helper/geoHelper.ts","../src/types/helper/index.ts","../src/types/node/amount.ts","../src/types/node/index.ts","../src/types/node/lotteryPrize.ts","../src/types/node/promotionDetails.ts","../src/utils/chainAddressMasking.ts","../src/utils/copyText.ts","../src/utils/countryAndCurrencyData.ts","../src/utils/enumToOption.ts","../src/utils/generateOneLiner.ts","../src/utils/generateSourceId.ts","../src/utils/getCountryName.ts","../src/utils/getEnumName.ts","../src/utils/getStateByCountryCode.ts","../src/utils/index.ts","../src/utils/maskingFunction.ts","../src/utils/regex.ts","../src/utils/sortUserInfo.ts"],"version":"5.9.3"}
|
1
|
+
{"root":["../src/index.ts","../src/api/index.ts","../src/api/clients/account.ts","../src/api/clients/auth.ts","../src/api/clients/blockchain.ts","../src/api/clients/index.ts","../src/api/clients/ipAddressAndLocation.ts","../src/api/clients/limited.ts","../src/api/clients/order.ts","../src/api/clients/organization.ts","../src/api/clients/promotion.ts","../src/api/clients/transaction.ts","../src/api/clients/user.ts","../src/api/data/auth.ts","../src/api/data/blockchain.ts","../src/api/data/index.ts","../src/api/data/limited.ts","../src/api/data/order.ts","../src/api/data/organization.ts","../src/api/data/transaction.ts","../src/api/data/user/activity.ts","../src/api/data/user/address.ts","../src/api/data/user/auth.ts","../src/api/data/user/bankAccount.ts","../src/api/data/user/device.ts","../src/api/data/user/document.ts","../src/api/data/user/email.ts","../src/api/data/user/identification.ts","../src/api/data/user/index.ts","../src/api/data/user/personalInfo.ts","../src/api/data/user/phone.ts","../src/api/data/user/preferences.ts","../src/api/data/user/security.ts","../src/api/data/user/ticket.ts","../src/api/services/account.ts","../src/api/services/auth.ts","../src/api/services/base.ts","../src/api/services/blockchain.ts","../src/api/services/index.ts","../src/api/services/ipAddressAndLocation.ts","../src/api/services/limited.ts","../src/api/services/order.ts","../src/api/services/organization.ts","../src/api/services/promotion.ts","../src/api/services/transaction.ts","../src/api/services/user.ts","../src/constants/constants.ts","../src/constants/enum.ts","../src/constants/index.ts","../src/constants/regex.ts","../src/constants/structure.ts","../src/content/accountCurrencies.ts","../src/content/countries.ts","../src/content/currencies.ts","../src/content/index.ts","../src/content/state.ts","../src/helper/cipherHelper.ts","../src/helper/clientHelper.ts","../src/helper/cookiesHelper.ts","../src/helper/dateTimeHelper.ts","../src/helper/deviceHelper.ts","../src/helper/geoHelper.ts","../src/helper/index.ts","../src/helper/userHelper.ts","../src/helper/api/axiosHelper.ts","../src/helper/api/index.ts","../src/helper/api/responseHelper.ts","../src/types/index.ts","../src/types/api/index.ts","../src/types/api/client/account.ts","../src/types/api/client/auth.ts","../src/types/api/client/blockchain.ts","../src/types/api/client/index.ts","../src/types/api/client/ipAddressAndLocation.ts","../src/types/api/client/limited.ts","../src/types/api/client/order.ts","../src/types/api/client/organization.ts","../src/types/api/client/promotion.ts","../src/types/api/client/transaction.ts","../src/types/api/client/user.ts","../src/types/api/data/account.ts","../src/types/api/data/auth.ts","../src/types/api/data/blockchain.ts","../src/types/api/data/index.ts","../src/types/api/data/limited.ts","../src/types/api/data/order.ts","../src/types/api/data/organization.ts","../src/types/api/data/transaction.ts","../src/types/api/data/user/address.ts","../src/types/api/data/user/auth.ts","../src/types/api/data/user/bankAccount.ts","../src/types/api/data/user/device.ts","../src/types/api/data/user/document.ts","../src/types/api/data/user/email.ts","../src/types/api/data/user/identification.ts","../src/types/api/data/user/index.ts","../src/types/api/data/user/personalInfo.ts","../src/types/api/data/user/phone.ts","../src/types/api/data/user/preferences.ts","../src/types/api/data/user/security.ts","../src/types/api/data/user/ticket.ts","../src/types/banking/index.ts","../src/types/banking/account/accountStatementData.ts","../src/types/banking/account/accountdata.ts","../src/types/banking/account/accountstatementdetails.ts","../src/types/banking/account/accountstatementinfo.ts","../src/types/banking/account/accountstatementtransaction.ts","../src/types/banking/account/creditlimit.ts","../src/types/banking/account/fulfilment.ts","../src/types/banking/account/index.ts","../src/types/banking/account/info.ts","../src/types/banking/account/security.ts","../src/types/banking/account/chaindata/chaindata.ts","../src/types/banking/account/chaindata/index.ts","../src/types/banking/account/limits/dailylimit.ts","../src/types/banking/account/limits/deposit.ts","../src/types/banking/account/limits/depositinterchange.ts","../src/types/banking/account/limits/depositmonthly.ts","../src/types/banking/account/limits/depositpaymentgateway.ts","../src/types/banking/account/limits/deposityearly.ts","../src/types/banking/account/limits/globaldailylimit.ts","../src/types/banking/account/limits/index.ts","../src/types/banking/account/limits/limits.ts","../src/types/banking/account/limits/monthlylimit.ts","../src/types/banking/account/limits/transferreceiving.ts","../src/types/banking/account/limits/transfersending.ts","../src/types/banking/account/limits/withdraw.ts","../src/types/banking/account/limits/withdrawinterchange.ts","../src/types/banking/account/limits/withdrawmonthly.ts","../src/types/banking/account/limits/withdraworder.ts","../src/types/banking/account/limits/withdrawpurchaseinterchange.ts","../src/types/banking/account/limits/yearlylimit.ts","../src/types/banking/account/options/bulkshipping.ts","../src/types/banking/account/options/carddetails.ts","../src/types/banking/account/options/cardproduction.ts","../src/types/banking/account/options/courier.ts","../src/types/banking/account/options/fulfilment.ts","../src/types/banking/account/options/fulfilmentdetails.ts","../src/types/banking/account/options/fulfilmentinfo.ts","../src/types/banking/account/options/index.ts","../src/types/banking/account/options/options.ts","../src/types/banking/account/options/security.ts","../src/types/banking/account/tokenization/index.ts","../src/types/banking/account/tokenization/provision.ts","../src/types/banking/account/tokenization/provisionrequest.ts","../src/types/banking/account/tokenization/provisionresponse.ts","../src/types/banking/account/tokenization/tokenization.ts","../src/types/banking/blockchain/blockchainData.ts","../src/types/banking/blockchain/chainTransactionData.ts","../src/types/banking/blockchain/coin.ts","../src/types/banking/blockchain/delegateData.ts","../src/types/banking/blockchain/delegationData.ts","../src/types/banking/blockchain/index.ts","../src/types/banking/blockchain/info.ts","../src/types/banking/blockchain/multiSendData.ts","../src/types/banking/blockchain/sendData.ts","../src/types/banking/blockchain/undelegateData.ts","../src/types/banking/common/archive.ts","../src/types/banking/common/authentication.ts","../src/types/banking/common/bankextendeddata.ts","../src/types/banking/common/baseresult.ts","../src/types/banking/common/beneficiaryaddress.ts","../src/types/banking/common/classification.ts","../src/types/banking/common/contentfile.ts","../src/types/banking/common/cryptoaddressextendeddata.ts","../src/types/banking/common/currencyclouddata.ts","../src/types/banking/common/devicecultureinfo.ts","../src/types/banking/common/externalhostinfo.ts","../src/types/banking/common/geocoordinates.ts","../src/types/banking/common/history.ts","../src/types/banking/common/index.ts","../src/types/banking/common/lastactivity.ts","../src/types/banking/common/notes.ts","../src/types/banking/common/openpayddata.ts","../src/types/banking/common/result.ts","../src/types/banking/common/snbdata.ts","../src/types/banking/common/workinghour.ts","../src/types/banking/common/people/alias.ts","../src/types/banking/common/people/billpaydata.ts","../src/types/banking/common/people/customerinfo.ts","../src/types/banking/common/people/eftdata.ts","../src/types/banking/common/people/etransferdata.ts","../src/types/banking/common/people/index.ts","../src/types/banking/common/people/peoplesdata.ts","../src/types/banking/common/security/index.ts","../src/types/banking/common/security/simplifiedaccessrule.ts","../src/types/banking/common/security/simplifiedaccessruleinfo.ts","../src/types/banking/entities/address.ts","../src/types/banking/entities/bankaccount.ts","../src/types/banking/entities/creditcard.ts","../src/types/banking/entities/cryptoWallet.ts","../src/types/banking/entities/cryptoaddress.ts","../src/types/banking/entities/device.ts","../src/types/banking/entities/devicehistory.ts","../src/types/banking/entities/email.ts","../src/types/banking/entities/externalauthentication.ts","../src/types/banking/entities/generalrequirements.ts","../src/types/banking/entities/identification.ts","../src/types/banking/entities/index.ts","../src/types/banking/entities/notification.ts","../src/types/banking/entities/paymentCryptoAddress.ts","../src/types/banking/entities/paymentInfo.ts","../src/types/banking/entities/phone.ts","../src/types/banking/entities/relationship.ts","../src/types/banking/entities/socialmedia.ts","../src/types/banking/entities/termsconditions.ts","../src/types/banking/entities/customField/index.ts","../src/types/banking/entities/customField/promotionData/giftData.ts","../src/types/banking/entities/customField/promotionData/index.ts","../src/types/banking/entities/customField/promotionData/promotionData.ts","../src/types/banking/entities/customField/promotionData/referralData.ts","../src/types/banking/entities/customField/userAccessControl/action.ts","../src/types/banking/entities/customField/userAccessControl/index.ts","../src/types/banking/entities/customField/userAccessControl/page.ts","../src/types/banking/entities/customField/userAccessControl/section.ts","../src/types/banking/entities/customField/userAccessControl/userAccessControl.ts","../src/types/banking/entities/json/IdentificationExtraData.ts","../src/types/banking/entities/json/index.ts","../src/types/banking/entities/json/device/deviceextendedinfo.ts","../src/types/banking/entities/json/device/index.ts","../src/types/banking/entities/json/device/siminfo.ts","../src/types/banking/group/details.ts","../src/types/banking/group/groupdata.ts","../src/types/banking/group/groupuser.ts","../src/types/banking/group/index.ts","../src/types/banking/group/info.ts","../src/types/banking/group/localization.ts","../src/types/banking/group/media.ts","../src/types/banking/group/settings/classificationinfo.ts","../src/types/banking/group/settings/companyusers.ts","../src/types/banking/group/settings/externalintegration.ts","../src/types/banking/group/settings/fortnox.ts","../src/types/banking/group/settings/index.ts","../src/types/banking/group/settings/messagingsetup.ts","../src/types/banking/group/settings/qvitoo.ts","../src/types/banking/group/settings/setting.ts","../src/types/banking/group/settings/voucherrows.ts","../src/types/banking/oauth/credentialsData.ts","../src/types/banking/oauth/index.ts","../src/types/banking/oauth/tokenData.ts","../src/types/banking/order/customFormData.ts","../src/types/banking/order/features.ts","../src/types/banking/order/fee.ts","../src/types/banking/order/index.ts","../src/types/banking/order/info.ts","../src/types/banking/order/lotteryTicket.ts","../src/types/banking/order/orderData.ts","../src/types/banking/order/orderError.ts","../src/types/banking/order/paymentMethod.ts","../src/types/banking/order/pinCode.ts","../src/types/banking/order/profit.ts","../src/types/banking/order/promotion.ts","../src/types/banking/order/reverseData.ts","../src/types/banking/order/reverseItem.ts","../src/types/banking/order/reversePinCode.ts","../src/types/banking/order/ticket.ts","../src/types/banking/order/topUp.ts","../src/types/banking/order/variant.ts","../src/types/banking/order/voucher.ts","../src/types/banking/order/voucherInfo.ts","../src/types/banking/order/customForm/ggez1.ts","../src/types/banking/order/customForm/ggezGiftRewards.ts","../src/types/banking/order/customForm/ggezReferralRewards.ts","../src/types/banking/order/customForm/index.ts","../src/types/banking/order/fulfilment/fulfilmentInfo.ts","../src/types/banking/order/fulfilment/index.ts","../src/types/banking/order/fulfilment/orderFulfilment.ts","../src/types/banking/order/fulfilment/pinCodeFulfilment.ts","../src/types/banking/order/items/index.ts","../src/types/banking/order/items/info.ts","../src/types/banking/order/items/orderItem.ts","../src/types/banking/organization/details.ts","../src/types/banking/organization/index.ts","../src/types/banking/organization/info.ts","../src/types/banking/organization/organizationdata.ts","../src/types/banking/ticket/content.ts","../src/types/banking/ticket/history.ts","../src/types/banking/ticket/index.ts","../src/types/banking/ticket/info.ts","../src/types/banking/ticket/subentity.ts","../src/types/banking/ticket/ticketdata.ts","../src/types/banking/transaction/billingAddress.ts","../src/types/banking/transaction/conversion.ts","../src/types/banking/transaction/exchange.ts","../src/types/banking/transaction/fee.ts","../src/types/banking/transaction/index.ts","../src/types/banking/transaction/info.ts","../src/types/banking/transaction/receiverInfo.ts","../src/types/banking/transaction/tax.ts","../src/types/banking/transaction/transactionData.ts","../src/types/banking/transaction/transactionInquiry.ts","../src/types/banking/transaction/transfer.ts","../src/types/banking/user/activity.ts","../src/types/banking/user/attachment.ts","../src/types/banking/user/confirmForgetSecurityData.ts","../src/types/banking/user/confirmSecurityData.ts","../src/types/banking/user/confirmUserSecurity.ts","../src/types/banking/user/confirmUserSecurityInfo.ts","../src/types/banking/user/currency.ts","../src/types/banking/user/documentdata.ts","../src/types/banking/user/documentinfo.ts","../src/types/banking/user/forgetPassword.ts","../src/types/banking/user/forgetSecurityData.ts","../src/types/banking/user/forgetSecurityInfo.ts","../src/types/banking/user/index.ts","../src/types/banking/user/info.ts","../src/types/banking/user/personalinfo.ts","../src/types/banking/user/preferences.ts","../src/types/banking/user/resetPassword.ts","../src/types/banking/user/resetSecurityCode.ts","../src/types/banking/user/resetSecurityData.ts","../src/types/banking/user/resetSecurityQuestions.ts","../src/types/banking/user/resetUserSecurity.ts","../src/types/banking/user/resetUserSecurityInfo.ts","../src/types/banking/user/security.ts","../src/types/banking/user/userauthenticationdata.ts","../src/types/banking/user/usercreditlimit.ts","../src/types/banking/user/userdata.ts","../src/types/banking/user/validateForgetSecurityData.ts","../src/types/banking/user/validateLimitedSecurity.ts","../src/types/banking/user/validateLimitedSecurityData.ts","../src/types/banking/user/validateSecurityData.ts","../src/types/banking/user/validateUserSecurity.ts","../src/types/banking/user/validateUserSecurityInfo.ts","../src/types/banking/user/verifySecurityData.ts","../src/types/banking/user/verifyUserSecurity.ts","../src/types/banking/user/verifyUserSecurityInfo.ts","../src/types/banking/user/commerce/commerce.ts","../src/types/banking/user/commerce/index.ts","../src/types/banking/user/commerce/role.ts","../src/types/banking/user/commerce/usercommerceconfiguration.ts","../src/types/banking/user/validation/index.ts","../src/types/banking/user/validation/info.ts","../src/types/banking/user/validation/validationdata.ts","../src/types/helper/axiosHelper.ts","../src/types/helper/cipherHelper.ts","../src/types/helper/geoHelper.ts","../src/types/helper/index.ts","../src/types/node/amount.ts","../src/types/node/index.ts","../src/types/node/lotteryPrize.ts","../src/types/node/promotionDetails.ts","../src/utils/chainAddressMasking.ts","../src/utils/copyText.ts","../src/utils/countryAndCurrencyData.ts","../src/utils/enumToOption.ts","../src/utils/generateOneLiner.ts","../src/utils/generateSourceId.ts","../src/utils/getCountryName.ts","../src/utils/getEnumName.ts","../src/utils/getStateByCountryCode.ts","../src/utils/index.ts","../src/utils/maskingFunction.ts","../src/utils/sortUserInfo.ts"],"version":"5.9.3"}
|
package/dist/utils/index.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
export * from "./generateSourceId";
|
2
|
-
export * from "./sortUserInfo";
|
3
|
-
export * from "./copyText";
|
4
1
|
export * from "./chainAddressMasking";
|
2
|
+
export * from "./copyText";
|
5
3
|
export * from "./countryAndCurrencyData";
|
6
|
-
export * from "./regex";
|
7
|
-
export * from "./getEnumName";
|
8
|
-
export * from "./getCountryName";
|
9
4
|
export * from "./enumToOption";
|
10
5
|
export * from "./generateOneLiner";
|
11
|
-
export * from "./
|
6
|
+
export * from "./generateSourceId";
|
7
|
+
export * from "./getCountryName";
|
8
|
+
export * from "./getEnumName";
|
12
9
|
export * from "./getStateByCountryCode";
|
10
|
+
export * from "./maskingFunction";
|
11
|
+
export * from "./sortUserInfo";
|
package/dist/utils/index.js
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
export * from "./generateSourceId";
|
2
|
-
export * from "./sortUserInfo";
|
3
|
-
export * from "./copyText";
|
4
1
|
export * from "./chainAddressMasking";
|
2
|
+
export * from "./copyText";
|
5
3
|
export * from "./countryAndCurrencyData";
|
6
|
-
export * from "./regex";
|
7
|
-
export * from "./getEnumName";
|
8
|
-
export * from "./getCountryName";
|
9
4
|
export * from "./enumToOption";
|
10
5
|
export * from "./generateOneLiner";
|
11
|
-
export * from "./
|
6
|
+
export * from "./generateSourceId";
|
7
|
+
export * from "./getCountryName";
|
8
|
+
export * from "./getEnumName";
|
12
9
|
export * from "./getStateByCountryCode";
|
10
|
+
export * from "./maskingFunction";
|
11
|
+
export * from "./sortUserInfo";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ggez-banking-sdk",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.101",
|
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
|
"types": "dist/index.d.ts",
|
6
6
|
"main": "dist/index.js",
|
package/dist/utils/regex.js
DELETED
@@ -1,115 +0,0 @@
|
|
1
|
-
export const useRegExp = () => {
|
2
|
-
return {
|
3
|
-
checkEmptyPattern: { required: true },
|
4
|
-
GeoCoordinatesPattern: /^(-?(?:1[0-7]|[1-9])?\d(?:\.\d{1,24})?|180(?:\.0{1,24})?)$/,
|
5
|
-
GGEZAddressRegexPattern: /^ggez[A-Za-z0-9]{30,80}$/,
|
6
|
-
GGEZQuantityRegexPattern: /^(?!0(\.0{1,2})?$)(?!0\d)\d{1,16}(?:\.\d{1,6})?$/,
|
7
|
-
NameRegexPattern: /^(?!.*--)[\p{L}\p{N}][^\\\/*$%^+=<>|\n\r\b\t]{0,49}$/u,
|
8
|
-
EmailRegexPattern: /^([\w-+\.]{1,80})@([\w-+\.]{1,80})\.([a-zA-Z]{1,20})$/,
|
9
|
-
MoneyRegexPattern: /^(?!0(\.0{1,2})?$)(?!0\d)\d{1,7}(?:\.\d{1,2})?$/,
|
10
|
-
DateRegexPattern: /^\d{4}-\d{2}-\d{2}$/u,
|
11
|
-
DateTimeRegexPattern: /^(19|20)\d{2}-(0[1-9]|1[0-2])-(0[1-9]|1\d|2\d|3[01])T(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]){1,22}$/,
|
12
|
-
SortRegexPattern: /^(asc|desc)$/,
|
13
|
-
URLRegexPattern: /^(http|https):\/\/[\w\-_.]+(\:[0-9]+)?(\.[\w\-_.]+)*(\/[\w\-.,@?^=%&:\/~+#]*)?$/,
|
14
|
-
TerminalSecurityIDRegexPattern: /^[/+0-9a-zA-Z=_-]{1,50}$/,
|
15
|
-
ResultSetDateRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))[\/|-]((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))$/,
|
16
|
-
StatementMonthRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))$/,
|
17
|
-
ENNotes100CharRegexPattern: /^(?!.*--)[?-?a-zA-Z0-9][^\^+=<>|\n\r\b\t]{0,100}$/,
|
18
|
-
ENNotes250CharRegexPattern: /^$|(^(?!.*--)[?-?a-zA-Z0-9][^\^+=<>|\n\r\b\t]{0,255}$)/,
|
19
|
-
ENNotes500CharRegexPattern: /^$|(^(?!.*--)[?-?a-zA-Z0-9.+][^\^=<>|\n\r\b\t]{0,500}$)/,
|
20
|
-
INTText100CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,100}$/,
|
21
|
-
PostalCodeRegexPattern: /^(?!.*--)[\w][^\*$%^+=<>|\n\r\t]{1,19}$/,
|
22
|
-
INTText255CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,255}$/,
|
23
|
-
INTText500CharRegexPattern: /^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,500}$/,
|
24
|
-
AddressLineRegexPattern: /^$|(^(?!.*--)[\w][^\^+=<>|\n\r\t]{0,500}$)/,
|
25
|
-
INTLongDescriptionRegexPattern: /^(?!.*--)[\w][^\^+=<>|\n\r\t]{1,8000}$/,
|
26
|
-
TimeZoneRegexPattern: /^((?:UTC [+|-](?:2[0-3]|[01][0-9]):[0-5][0-9])){1,10}$/,
|
27
|
-
OperationAndClassificationRegexPattern: /^[a-zA-Z_\/*\s]{1,50}$/,
|
28
|
-
PhoneNumberRegexPattern: /^[+]([1-9])\d{7,14}$/,
|
29
|
-
SourceIDRegexPattern: /^[a-zA-Z0-9_\-\.\=\/]{1,100}$/,
|
30
|
-
BooleanRegexPattern: /^[0-1]{1,1}$/,
|
31
|
-
SortByRegexPattern: /^[a-zA-Z0-9_]{1,22}$/,
|
32
|
-
TernaryRegexPattern: /^[0-2]{1,1}$/,
|
33
|
-
InstallationKeyRegexPattern: /^[a-zA-Z0-9\s-]{1,50}$/,
|
34
|
-
LanguageRegexPattern: /^[a-zA-Z]{1,2}(-[a-zA-Z]{1,2})?$/,
|
35
|
-
TypeRegexPattern: /^[0-9]{1,1}$/,
|
36
|
-
IDRegexPattern: /^[0-9]{1,10}$/,
|
37
|
-
CurrencyCodeRegexPattern: /^[0-9a-zA-Z]{3,10}$/,
|
38
|
-
AccountNumberRegexPattern: /^[0-9]{6,25}$/,
|
39
|
-
CreditCardNumberRegexPattern: /^[0-9]{1,16}$/,
|
40
|
-
Numeric2DigitRegexPattern: /^(-1|[0-9]{1,2})$/,
|
41
|
-
AlphanumericCode20CharRegexPattern: /^[a-zA-Z0-9-]{1,20}$/,
|
42
|
-
AlphanumericCode4CharRegexPattern: /^[a-zA-Z0-9-]{1,4}$/,
|
43
|
-
Numeric9DigitRegexPattern: /(^$)|(^[0-9]{1,9}$)/,
|
44
|
-
Numeric10DigitRegexPattern: /(^$)|(^[0-9]{1,10}$)/,
|
45
|
-
Numeric25DigitRegexPattern: /^[0-9]{1,25}$/,
|
46
|
-
Numeric8DigitRegexPattern: /^[0-9]{1,8}$/,
|
47
|
-
Numeric3DigitRegexPattern: /^[0-9]{1,3}$/,
|
48
|
-
Numeric4DigitRegexPattern: /^[0-9]{1,4}$/,
|
49
|
-
Numeric5DigitRegexPattern: /^[0-9]{1,5}$/,
|
50
|
-
Numeric6DigitRegexPattern: /^[0-9]{1,6}$/,
|
51
|
-
Alphanumeric500CharRegexPattern: /^[a-zA-Z0-9-]{1,500}$/,
|
52
|
-
TokenRegexPattern: /[A-Za-z0-9\-\._~\+\/]+=*/,
|
53
|
-
TextBooleanRegexPattern: /^(true|false)$/,
|
54
|
-
LanguageCultureRegexPattern: /^[a-zA-Z-]{1,5}$/,
|
55
|
-
INTText1024CharRegexPattern: /^|^(?!.*--)[\w\+\-][^\^+=<>|\n\r\t]{0,1024}$/,
|
56
|
-
QuaternaryRegexPattern: /^[1-4]{1,1}$/,
|
57
|
-
SWIFTRegexPattern: /^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/,
|
58
|
-
IBANRegexPattern: /[a-zA-Z]{2}[0-9]{2}[a-zA-Z0-9]{4}[0-9]{7}([a-zA-Z0-9]?){0,16}/,
|
59
|
-
AttachmentContentRegexPattern: /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/,
|
60
|
-
YearRegexPattern: /^(20|21)\d{2}$/,
|
61
|
-
MonthRegexPattern: /^(0[1-9]|1[0-2])$/,
|
62
|
-
PasswordRegexPattern: /^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*()_+{}\[\]:;<>,.?~\\\-]).{8,25}$/,
|
63
|
-
TimeRegexPattern: /^(([01][0-9])|([2][0-3])):[0-5][0-9]$/,
|
64
|
-
CodeRegexPattern: /^[A-Z0-9-]{4,6}$/,
|
65
|
-
OTPCodeRegexPattern: /^[A-Z0-9]{6}$/,
|
66
|
-
PinCodeRegexPattern: /^[ A-Za-z0-9_.\/#=&+-]*$/,
|
67
|
-
INTText50CharRegexPattern: /^(?!.*--)[a-zA-Z0-9][^\\\/*$%^+=<>|\n\r\b\t]{0,50}$/,
|
68
|
-
WorkingHoursRegexPattern: /^(([0-1][0-9])|([2][0-3])):([0-5][0-9]),(([0-1][0-9])|([2][0-3])):([0-5][0-9])$/,
|
69
|
-
ListOfIntRegexPattern: /^$|(^\d+(,\d+)*$)/,
|
70
|
-
SecurityCodeRegexPattern: /^[0-9]{6}$/,
|
71
|
-
ACSOneCharRegexPattern: /^[a-zA-Z]{1,1}$/,
|
72
|
-
ACSDateTimeRegexPattern: /^((0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d ([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9]))$/,
|
73
|
-
ACSPurchaseAmountRegexPattern: /^[a-zA-Z]{3,3} [0-9]{2,2}\.[0-9]{2,2}$/,
|
74
|
-
ACSText100CharRegexPattern: /^[ A-Za-z0-9_@./#&+-=|]{0,100}$/,
|
75
|
-
SortCodeRegexPattern: /^[0-9]{6}$/,
|
76
|
-
PageSizeRegexPattern: /^(100|[0-9]{0,2})$/,
|
77
|
-
YearandMonthRegexPattern: /^[0-9]{4}[\-]((1[0-2])|(0?[1-9]))$/,
|
78
|
-
ENText25CharRegexPattern: /^|[a-zA-Z]+(\s{0,1}[a-zA-Z]){0,25}$/u,
|
79
|
-
LatitudeRegexPattern: /^(-?[1-8]?\d(?:\.\d{1,8})?|90(?:\.0{1,8})?)$/,
|
80
|
-
Integernumbersexcept0RegexPattern: /[1-9]{1}\d{0,3}/,
|
81
|
-
CreditCardExpiryDateRegexPattern: /^(0[1-9]|1[0-2])\/\d{2}$/,
|
82
|
-
AssetNameRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
|
83
|
-
SharePriceRegexPattern: /^(?!0*\.?0{1,6}$)\d+(\.\d{1,6})?$/,
|
84
|
-
TradeTypeRegexPattern: /^(buy|sell)$/,
|
85
|
-
TypeAdminRegexPattern: /^[a-zA-Z ]{1,50}$/,
|
86
|
-
NameAdminRegexPattern: /^[A-Za-z ]{0,50}$/,
|
87
|
-
CurrencyRegexPattern: /^(?!Currency-Country$)[A-Z ]{0,50}$/,
|
88
|
-
CountryRegexPattern: /^(?!Default From Asset ID$).*/,
|
89
|
-
AssetCountryRegexPattern: /^[A-Z]{0,10}$/,
|
90
|
-
NoSharesRegexPattern: /^[1-9]\d{0,17}$/,
|
91
|
-
TickerRegexPattern: /^[A-Za-z0-9]{0,10}$/,
|
92
|
-
QuantityRegexPattern: /^[1-9]\d{0,8}$/,
|
93
|
-
PriceRegexPattern: /^(?!0*\.?0{1,15}$)\d+(\.\d{1,15})?$/,
|
94
|
-
IssuerRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
|
95
|
-
TradeValueRegexPattern: /^\d+(\.\d{1,2})?$/,
|
96
|
-
CoinRegexPattern: /^(ggz|uggz)$/,
|
97
|
-
AssetIdRegexPattern: /^[0-9]+$/,
|
98
|
-
AumRegexPattern: /^\d+\.\d+[MB]$/,
|
99
|
-
ExpenseRatioRegexPattern: /^\d*\.?\d{1,2}%$/,
|
100
|
-
OneYrTrRegexPattern: /^-?\d+(\.\d+)?$/,
|
101
|
-
VestingAmountRegexPattern: /^-?\d+$/,
|
102
|
-
VestingPercentRegexPattern: /^(100(\.0{1,2})?|[1-9]?\d(\.\d{1,2})?)$/,
|
103
|
-
ProposalInfoRegexPattern: /^(https:\/\/github\.com\/[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+\/releases\/download\/[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)$/,
|
104
|
-
UUIDPattern: /^[0-9(a-f|A-F)]{8}-[0-9(a-f|A-F)]{4}-4[0-9(a-f|A-F)]{3}-[89ab][0-9(a-f|A-F)]{3}-[0-9(a-f|A-F)]{12}$/,
|
105
|
-
CryptoQuantityPattern: /^(?!0(\.0{1,6})?$)(?!0\d)\d{1,7}(?:\.\d{1,6})?$/,
|
106
|
-
BlockchainAddress: /^[a-zA-Z0-9]{26,64}$/,
|
107
|
-
GeneralName: /^[a-zA-Z].{2,49}$/,
|
108
|
-
GGEZ1Balance: /^\d+(\.\d{1,2})?$/,
|
109
|
-
Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,16})?))$/,
|
110
|
-
IntegerNumber: /^\d+$/,
|
111
|
-
Pair: /^[A-Za-z0-9]{2,10}\/?[A-Za-z0-9]{2,10}$/,
|
112
|
-
WSURl: /^wss:\/\/([a-zA-Z0-9\-_]+\.)+[a-zA-Z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9\-_\/]*)?$/,
|
113
|
-
DecimalNumber: /^\d+(\.\d{1,6})?$/
|
114
|
-
};
|
115
|
-
};
|