ggez-banking-sdk 0.3.20 → 0.3.22
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/api/clients/account.js +1 -1
- package/dist/api/clients/auth.js +1 -1
- package/dist/api/clients/blockchain.js +1 -1
- package/dist/api/clients/ipAddressAndLocation.js +1 -1
- package/dist/api/clients/limited.js +1 -1
- package/dist/api/clients/order.js +1 -1
- package/dist/api/clients/organization.js +1 -1
- package/dist/api/clients/program.d.ts +3 -3
- package/dist/api/clients/program.js +15 -8
- package/dist/api/clients/promotion.js +1 -1
- package/dist/api/clients/transaction.js +1 -1
- package/dist/api/clients/user.js +4 -4
- package/dist/api/services/account.d.ts +1 -1
- package/dist/api/services/account.js +3 -3
- package/dist/api/services/auth.d.ts +1 -1
- package/dist/api/services/auth.js +2 -2
- package/dist/api/services/base.d.ts +7 -8
- package/dist/api/services/base.js +14 -37
- package/dist/api/services/blockchain.d.ts +2 -2
- package/dist/api/services/blockchain.js +2 -2
- package/dist/api/services/index.d.ts +0 -1
- package/dist/api/services/index.js +0 -1
- package/dist/api/services/ipAddressAndLocation.d.ts +1 -1
- package/dist/api/services/ipAddressAndLocation.js +3 -8
- package/dist/api/services/limited.d.ts +1 -1
- package/dist/api/services/limited.js +3 -3
- package/dist/api/services/order.d.ts +2 -2
- package/dist/api/services/order.js +3 -3
- package/dist/api/services/organization.d.ts +2 -2
- package/dist/api/services/organization.js +4 -4
- package/dist/api/services/program.d.ts +4 -4
- package/dist/api/services/program.js +11 -11
- package/dist/api/services/promotion.d.ts +2 -2
- package/dist/api/services/promotion.js +2 -2
- package/dist/api/services/transaction.d.ts +2 -2
- package/dist/api/services/transaction.js +3 -3
- package/dist/api/services/user.d.ts +2 -2
- package/dist/api/services/user.js +3 -3
- package/dist/helper/api/responseHelper.d.ts +0 -13
- package/dist/helper/api/responseHelper.js +0 -19
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/api/service/base.d.ts +2 -2
- package/dist/types/banking/program/bin/SupportedCountriesExtended.d.ts +12 -0
- package/dist/types/banking/program/bin/SupportedCountriesExtended.js +1 -0
- package/dist/types/banking/program/bin/index.d.ts +1 -0
- package/dist/types/banking/program/bin/requirements.d.ts +2 -0
- package/package.json +1 -1
- package/dist/api/clients/openPayd.d.ts +0 -13
- package/dist/api/clients/openPayd.js +0 -25
- package/dist/api/data/openPayd.d.ts +0 -4
- package/dist/api/data/openPayd.js +0 -37
- package/dist/api/services/openPayd.d.ts +0 -12
- package/dist/api/services/openPayd.js +0 -22
|
@@ -8,7 +8,7 @@ class AccountClient extends BaseClient {
|
|
|
8
8
|
super(clientData, errorHandler);
|
|
9
9
|
const { token, baseUrl, lang, installationId, userId } = this.clientData;
|
|
10
10
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
11
|
-
this.accountService = new AccountService({ config, userId }
|
|
11
|
+
this.accountService = new AccountService({ config, userId });
|
|
12
12
|
}
|
|
13
13
|
// #region "GET"
|
|
14
14
|
Get = async (accountId, options) => {
|
package/dist/api/clients/auth.js
CHANGED
|
@@ -9,7 +9,7 @@ class AuthClient extends BaseClient {
|
|
|
9
9
|
super(clientData, errorHandler);
|
|
10
10
|
const { baseUrl, nodeUrl, lang, programId, userId } = this.clientData;
|
|
11
11
|
const config = AxiosHelper.GetAuthAxiosConfig(baseUrl, lang, "");
|
|
12
|
-
this.authService = new AuthService({ config, nodeUrl, userId }
|
|
12
|
+
this.authService = new AuthService({ config, nodeUrl, userId });
|
|
13
13
|
this.programId = programId;
|
|
14
14
|
}
|
|
15
15
|
// #region "POST"
|
|
@@ -8,7 +8,7 @@ class BlockchainClient extends BaseClient {
|
|
|
8
8
|
super(clientData, errorHandler);
|
|
9
9
|
const { token, baseUrl, lang, installationId, userId } = clientData;
|
|
10
10
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
11
|
-
this.blockchainService = new BlockchainService({ config, userId }
|
|
11
|
+
this.blockchainService = new BlockchainService({ config, userId });
|
|
12
12
|
}
|
|
13
13
|
// #region "POST"
|
|
14
14
|
Send = async (data, options) => {
|
|
@@ -8,7 +8,7 @@ class OrderClient extends BaseClient {
|
|
|
8
8
|
super(clientData, errorHandler);
|
|
9
9
|
const { token, baseUrl, lang, installationId, userId } = clientData;
|
|
10
10
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
11
|
-
this.orderService = new OrderService({ config, userId }
|
|
11
|
+
this.orderService = new OrderService({ config, userId });
|
|
12
12
|
}
|
|
13
13
|
// #region "POST"
|
|
14
14
|
CreateOrder = async (data, options) => {
|
|
@@ -10,7 +10,7 @@ class OrganizationClient extends BaseClient {
|
|
|
10
10
|
super(clientData, errorHandler);
|
|
11
11
|
const { token, baseUrl, userId, lang, installationId } = clientData;
|
|
12
12
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
13
|
-
this.organizationService = new OrganizationService({ config, userId }
|
|
13
|
+
this.organizationService = new OrganizationService({ config, userId });
|
|
14
14
|
this.userId = userId;
|
|
15
15
|
}
|
|
16
16
|
// #region "GET"
|
|
@@ -3,19 +3,19 @@ import { BaseClient } from "./base";
|
|
|
3
3
|
declare class ProgramClient extends BaseClient {
|
|
4
4
|
private programService;
|
|
5
5
|
constructor(clientData: ProgramClientData, errorHandler: ErrorHandler);
|
|
6
|
-
GetSystemFeatures: (
|
|
6
|
+
GetSystemFeatures: (options?: RequestOptions) => Promise<{
|
|
7
7
|
data: import("../../types/banking/program").ProgramData;
|
|
8
8
|
success: boolean;
|
|
9
9
|
message: string;
|
|
10
10
|
error: any;
|
|
11
11
|
}>;
|
|
12
|
-
GetBIN: (
|
|
12
|
+
GetBIN: (options?: RequestOptions) => Promise<{
|
|
13
13
|
data: import("../../types/banking/program").ProgramData;
|
|
14
14
|
success: boolean;
|
|
15
15
|
message: string;
|
|
16
16
|
error: any;
|
|
17
17
|
}>;
|
|
18
|
-
GetSignUp: (
|
|
18
|
+
GetSignUp: (options?: RequestOptions) => Promise<{
|
|
19
19
|
data: import("../../types/banking/program").ProgramData;
|
|
20
20
|
success: boolean;
|
|
21
21
|
message: string;
|
|
@@ -7,13 +7,20 @@ class ProgramClient extends BaseClient {
|
|
|
7
7
|
programService;
|
|
8
8
|
constructor(clientData, errorHandler) {
|
|
9
9
|
super(clientData, errorHandler);
|
|
10
|
-
const { token, baseUrl, lang, installationId, userId, programId, nodeUrl, is_limited_credential } = clientData;
|
|
10
|
+
const { token, baseUrl, lang, installationId, userId, programId, nodeUrl, is_limited_credential, } = clientData;
|
|
11
11
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
12
|
-
this.programService = new ProgramService({
|
|
12
|
+
this.programService = new ProgramService({
|
|
13
|
+
config,
|
|
14
|
+
userId,
|
|
15
|
+
programId,
|
|
16
|
+
nodeUrl,
|
|
17
|
+
installationId,
|
|
18
|
+
is_limited_credential,
|
|
19
|
+
});
|
|
13
20
|
}
|
|
14
|
-
GetSystemFeatures = async (
|
|
21
|
+
GetSystemFeatures = async (options) => {
|
|
15
22
|
try {
|
|
16
|
-
const response = await this.programService.getSystemFeatures(
|
|
23
|
+
const response = await this.programService.getSystemFeatures(options);
|
|
17
24
|
return this.responseHelper.GetResponse(response.data);
|
|
18
25
|
}
|
|
19
26
|
catch (error) {
|
|
@@ -22,9 +29,9 @@ class ProgramClient extends BaseClient {
|
|
|
22
29
|
return this.responseHelper.GetErrorResponse(program, "GetSystemFeatures");
|
|
23
30
|
}
|
|
24
31
|
};
|
|
25
|
-
GetBIN = async (
|
|
32
|
+
GetBIN = async (options) => {
|
|
26
33
|
try {
|
|
27
|
-
const response = await this.programService.getBin(
|
|
34
|
+
const response = await this.programService.getBin(options);
|
|
28
35
|
return this.responseHelper.GetResponse(response.data);
|
|
29
36
|
}
|
|
30
37
|
catch (error) {
|
|
@@ -33,9 +40,9 @@ class ProgramClient extends BaseClient {
|
|
|
33
40
|
return this.responseHelper.GetErrorResponse(program, "GetBIN");
|
|
34
41
|
}
|
|
35
42
|
};
|
|
36
|
-
GetSignUp = async (
|
|
43
|
+
GetSignUp = async (options) => {
|
|
37
44
|
try {
|
|
38
|
-
const response = await this.programService.getSignUp(
|
|
45
|
+
const response = await this.programService.getSignUp(options);
|
|
39
46
|
return this.responseHelper.GetResponse(response.data);
|
|
40
47
|
}
|
|
41
48
|
catch (error) {
|
|
@@ -7,7 +7,7 @@ class PromotionClient extends BaseClient {
|
|
|
7
7
|
super(clientData, errorHandler);
|
|
8
8
|
const { nodeUrl, lang, userId } = this.clientData;
|
|
9
9
|
const config = AxiosHelper.GetAuthAxiosConfig(nodeUrl, lang, "");
|
|
10
|
-
this.promotionService = new PromotionService({ config, userId }
|
|
10
|
+
this.promotionService = new PromotionService({ config, userId });
|
|
11
11
|
}
|
|
12
12
|
// #region "GET"
|
|
13
13
|
GetPromotionByCode = async (code, options) => {
|
|
@@ -8,7 +8,7 @@ class TransactionClient extends BaseClient {
|
|
|
8
8
|
super(clientData, errorHandler);
|
|
9
9
|
const { token, baseUrl, lang, installationId, userId } = clientData;
|
|
10
10
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang, installationId);
|
|
11
|
-
this.transactionService = new TransactionService({ config, userId }
|
|
11
|
+
this.transactionService = new TransactionService({ config, userId });
|
|
12
12
|
}
|
|
13
13
|
// #region "GET"
|
|
14
14
|
InquiryTransaction = async (params, options) => {
|
package/dist/api/clients/user.js
CHANGED
|
@@ -10,8 +10,8 @@ class UserClient extends BaseClient {
|
|
|
10
10
|
super(clientData, errorHandler);
|
|
11
11
|
const { token, baseUrl, nodeUrl, lang, userId } = this.clientData;
|
|
12
12
|
const config = AxiosHelper.GetAxiosConfig(token, baseUrl, lang);
|
|
13
|
-
this.userService = new UserService({ config, userId }
|
|
14
|
-
this.authService = new AuthService({ config, nodeUrl, userId }
|
|
13
|
+
this.userService = new UserService({ config, userId });
|
|
14
|
+
this.authService = new AuthService({ config, nodeUrl, userId });
|
|
15
15
|
}
|
|
16
16
|
// #region "GET"
|
|
17
17
|
GetUser = async (data, options) => {
|
|
@@ -19,7 +19,7 @@ class UserClient extends BaseClient {
|
|
|
19
19
|
let response;
|
|
20
20
|
if (data.token && data.id) {
|
|
21
21
|
const config = AxiosHelper.GetAxiosConfig(data.token, this.clientData.baseUrl, this.clientData.lang);
|
|
22
|
-
const userService = new UserService({ config, userId: data.id }
|
|
22
|
+
const userService = new UserService({ config, userId: data.id });
|
|
23
23
|
response = await userService.getUser(options);
|
|
24
24
|
}
|
|
25
25
|
else {
|
|
@@ -825,7 +825,7 @@ class UserClient extends BaseClient {
|
|
|
825
825
|
const userData = FillUpdateDeviceData(data);
|
|
826
826
|
if (data.token && data.userId) {
|
|
827
827
|
const config = AxiosHelper.GetAxiosConfig(data.token, this.clientData.baseUrl, this.clientData.lang);
|
|
828
|
-
const userService = new UserService({ config, userId: data.userId }
|
|
828
|
+
const userService = new UserService({ config, userId: data.userId });
|
|
829
829
|
response = await userService.updateDevice(userData, options);
|
|
830
830
|
}
|
|
831
831
|
else {
|
|
@@ -5,7 +5,7 @@ import type { RequestOptions } from "../../types/api/service/base";
|
|
|
5
5
|
declare class AccountService extends BaseService {
|
|
6
6
|
userId: number;
|
|
7
7
|
endpoint: string;
|
|
8
|
-
constructor(data: AccountServiceParameters
|
|
8
|
+
constructor(data: AccountServiceParameters);
|
|
9
9
|
get(accountId: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<AccountData, any, {}>>;
|
|
10
10
|
getLimits(accountId: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<AccountData, any, {}>>;
|
|
11
11
|
}
|
|
@@ -6,14 +6,14 @@ import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
|
6
6
|
class AccountService extends BaseService {
|
|
7
7
|
userId;
|
|
8
8
|
endpoint = Endpoints.Account;
|
|
9
|
-
constructor(data
|
|
10
|
-
super(data
|
|
9
|
+
constructor(data) {
|
|
10
|
+
super(data);
|
|
11
11
|
this.userId = data.userId;
|
|
12
12
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
13
13
|
const locationService = new IPAddressAndLocationService({
|
|
14
14
|
config: data.config,
|
|
15
15
|
userId: this.userId,
|
|
16
|
-
}
|
|
16
|
+
});
|
|
17
17
|
const geoCoordinates = await GeoHelper.GetGeoCoordinates(locationService);
|
|
18
18
|
AxiosHelper.InjectGeoCoordinates(req, geoCoordinates);
|
|
19
19
|
return req;
|
|
@@ -6,7 +6,7 @@ import type { RequestOptions } from "../../types/api/service/base";
|
|
|
6
6
|
declare class AuthService extends BaseService {
|
|
7
7
|
protected userId: number;
|
|
8
8
|
protected endpoint: string;
|
|
9
|
-
constructor(data: AuthServiceParameters
|
|
9
|
+
constructor(data: AuthServiceParameters);
|
|
10
10
|
login(data: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TokenData, any, {}>>;
|
|
11
11
|
generateLimitedToken(data: IGenerateLimitedTokenData, options?: RequestOptions): Promise<import("axios").AxiosResponse<NodeTokenData, any, {}>>;
|
|
12
12
|
}
|
|
@@ -3,8 +3,8 @@ import { BaseService } from "./base";
|
|
|
3
3
|
class AuthService extends BaseService {
|
|
4
4
|
userId;
|
|
5
5
|
endpoint = Endpoints.Auth;
|
|
6
|
-
constructor(data
|
|
7
|
-
super(data
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
8
|
this.userId = data.userId;
|
|
9
9
|
}
|
|
10
10
|
// #region "POST"
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosResponse } from "axios";
|
|
2
|
-
import { BaseServiceParameters, RequestOptions } from "../../types/api/service/base";
|
|
2
|
+
import type { BaseServiceParameters, RequestOptions } from "../../types/api/service/base";
|
|
3
3
|
declare abstract class BaseService {
|
|
4
4
|
protected abstract userId: number;
|
|
5
5
|
protected abstract endpoint: string;
|
|
6
6
|
protected axiosInstance: AxiosInstance;
|
|
7
|
-
protected errorHandler: (error: any) => void;
|
|
8
7
|
protected is_limited_credential: boolean;
|
|
9
8
|
protected nodeUrl: string;
|
|
10
9
|
protected installationId: string | undefined;
|
|
11
|
-
constructor(data: BaseServiceParameters
|
|
12
|
-
protected GET<T>(url: string, params?:
|
|
13
|
-
protected POST<T>(url: string, data:
|
|
14
|
-
protected PUT<T>(url: string, data:
|
|
15
|
-
protected DELETE<T>(url: string, data?:
|
|
16
|
-
protected resolveURL(path?:
|
|
10
|
+
constructor(data: BaseServiceParameters);
|
|
11
|
+
protected GET<T>(url: string, params?: object, options?: RequestOptions): Promise<AxiosResponse<T>>;
|
|
12
|
+
protected POST<T>(url: string, data: object | string, options?: RequestOptions): Promise<AxiosResponse<T>>;
|
|
13
|
+
protected PUT<T>(url: string, data: object | string, options?: RequestOptions): Promise<AxiosResponse<T>>;
|
|
14
|
+
protected DELETE<T>(url: string, data?: object, options?: RequestOptions): Promise<AxiosResponse<T>>;
|
|
15
|
+
protected resolveURL(path?: string | number): string;
|
|
17
16
|
private buildRequestConfig;
|
|
18
17
|
}
|
|
19
18
|
export { BaseService };
|
|
@@ -2,12 +2,10 @@ import axios from "axios";
|
|
|
2
2
|
import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
3
3
|
class BaseService {
|
|
4
4
|
axiosInstance;
|
|
5
|
-
errorHandler;
|
|
6
5
|
is_limited_credential;
|
|
7
6
|
nodeUrl;
|
|
8
7
|
installationId;
|
|
9
|
-
constructor(data
|
|
10
|
-
this.errorHandler = errorHandler;
|
|
8
|
+
constructor(data) {
|
|
11
9
|
this.is_limited_credential = data.is_limited_credential ?? false;
|
|
12
10
|
this.nodeUrl = data.nodeUrl ?? "";
|
|
13
11
|
this.installationId = data.installationId;
|
|
@@ -22,49 +20,28 @@ class BaseService {
|
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
GET(url, params, options) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
catch (error) {
|
|
32
|
-
this.errorHandler(error);
|
|
33
|
-
}
|
|
23
|
+
return this.axiosInstance.get(url, {
|
|
24
|
+
...this.buildRequestConfig(options),
|
|
25
|
+
params,
|
|
26
|
+
});
|
|
34
27
|
}
|
|
35
28
|
POST(url, data, options) {
|
|
36
|
-
|
|
37
|
-
return this.axiosInstance.post(url, data, this.buildRequestConfig(options));
|
|
38
|
-
}
|
|
39
|
-
catch (error) {
|
|
40
|
-
this.errorHandler(error);
|
|
41
|
-
}
|
|
29
|
+
return this.axiosInstance.post(url, data, this.buildRequestConfig(options));
|
|
42
30
|
}
|
|
43
31
|
PUT(url, data, options) {
|
|
44
|
-
|
|
45
|
-
return this.axiosInstance.put(url, data, this.buildRequestConfig(options));
|
|
46
|
-
}
|
|
47
|
-
catch (error) {
|
|
48
|
-
this.errorHandler(error);
|
|
49
|
-
}
|
|
32
|
+
return this.axiosInstance.put(url, data, this.buildRequestConfig(options));
|
|
50
33
|
}
|
|
51
34
|
DELETE(url, data, options) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
catch (error) {
|
|
59
|
-
this.errorHandler(error);
|
|
60
|
-
}
|
|
35
|
+
return this.axiosInstance.delete(url, {
|
|
36
|
+
...this.buildRequestConfig(options),
|
|
37
|
+
data,
|
|
38
|
+
});
|
|
61
39
|
}
|
|
62
40
|
resolveURL(path = "") {
|
|
63
41
|
const p = path.toString().trim();
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
return `${this.endpoint}${path}`;
|
|
42
|
+
const normalized = p && !p.startsWith("/") ? `/${p}` : p;
|
|
43
|
+
const resolvedUrl = `${this.endpoint}${normalized}`;
|
|
44
|
+
return resolvedUrl;
|
|
68
45
|
}
|
|
69
46
|
buildRequestConfig(options) {
|
|
70
47
|
if (!options?.headers)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
|
-
import type { BlockchainData, BlockchainServiceParameters,
|
|
2
|
+
import type { BlockchainData, BlockchainServiceParameters, RequestOptions } from "../../types";
|
|
3
3
|
declare class BlockchainService extends BaseService {
|
|
4
4
|
userId: number;
|
|
5
5
|
endpoint: string;
|
|
6
|
-
constructor(data: BlockchainServiceParameters
|
|
6
|
+
constructor(data: BlockchainServiceParameters);
|
|
7
7
|
send(payload: BlockchainData, options?: RequestOptions): Promise<import("axios").AxiosResponse<BlockchainData, any, {}>>;
|
|
8
8
|
multiSend(payload: BlockchainData, options?: RequestOptions): Promise<import("axios").AxiosResponse<BlockchainData, any, {}>>;
|
|
9
9
|
delegate(payload: BlockchainData, options?: RequestOptions): Promise<import("axios").AxiosResponse<BlockchainData, any, {}>>;
|
|
@@ -3,8 +3,8 @@ import { BaseService } from "./base";
|
|
|
3
3
|
class BlockchainService extends BaseService {
|
|
4
4
|
userId;
|
|
5
5
|
endpoint = Endpoints.Blockchain;
|
|
6
|
-
constructor(data
|
|
7
|
-
super(data
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
8
|
this.userId = data.userId;
|
|
9
9
|
}
|
|
10
10
|
// #region "POST"
|
|
@@ -3,7 +3,7 @@ import type { IPAddressAndLocationServiceParameters, RequestOptions } from "../.
|
|
|
3
3
|
declare class IPAddressAndLocationService extends BaseService {
|
|
4
4
|
userId: number;
|
|
5
5
|
endpoint: string;
|
|
6
|
-
constructor(data: IPAddressAndLocationServiceParameters
|
|
6
|
+
constructor(data: IPAddressAndLocationServiceParameters);
|
|
7
7
|
getIPAddressAndLocation: (options?: RequestOptions) => Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
8
8
|
}
|
|
9
9
|
export { IPAddressAndLocationService };
|
|
@@ -3,18 +3,13 @@ import { Endpoints } from "../../constant/constant";
|
|
|
3
3
|
class IPAddressAndLocationService extends BaseService {
|
|
4
4
|
userId;
|
|
5
5
|
endpoint = Endpoints.IPAddress;
|
|
6
|
-
constructor(data
|
|
7
|
-
super(data
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
8
|
this.userId = data.userId;
|
|
9
9
|
}
|
|
10
10
|
// #region "GET"
|
|
11
11
|
getIPAddressAndLocation = async (options) => {
|
|
12
|
-
|
|
13
|
-
return this.GET(this.endpoint, undefined, options);
|
|
14
|
-
}
|
|
15
|
-
catch (error) {
|
|
16
|
-
this.errorHandler(error);
|
|
17
|
-
}
|
|
12
|
+
return this.GET(this.endpoint, undefined, options);
|
|
18
13
|
};
|
|
19
14
|
}
|
|
20
15
|
export { IPAddressAndLocationService };
|
|
@@ -3,7 +3,7 @@ import type { ConfirmUserSecurity, ForgetSecurityData, ValidateLimitedSecurity,
|
|
|
3
3
|
declare class LimitedService extends BaseService {
|
|
4
4
|
endpoint: string;
|
|
5
5
|
userId: number;
|
|
6
|
-
constructor(data: LimitedServiceParameters
|
|
6
|
+
constructor(data: LimitedServiceParameters);
|
|
7
7
|
validateSecurityData(data: ValidateLimitedSecurity, options?: RequestOptions): Promise<import("axios").AxiosResponse<ValidateLimitedSecurity, any, {}>>;
|
|
8
8
|
verifySecurityData(data: VerifyUserSecurity, options?: RequestOptions): Promise<import("axios").AxiosResponse<VerifyUserSecurity, any, {}>>;
|
|
9
9
|
confirmSecurityData(data: ConfirmUserSecurity, options?: RequestOptions): Promise<import("axios").AxiosResponse<ConfirmUserSecurity, any, {}>>;
|
|
@@ -5,8 +5,8 @@ import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
|
5
5
|
class LimitedService extends BaseService {
|
|
6
6
|
endpoint = Endpoints.Limited;
|
|
7
7
|
userId;
|
|
8
|
-
constructor(data
|
|
9
|
-
super(data
|
|
8
|
+
constructor(data) {
|
|
9
|
+
super(data);
|
|
10
10
|
this.userId = data.userId;
|
|
11
11
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
12
12
|
const authConfig = AxiosHelper.GetAuthAxiosConfig(this.nodeUrl, "", "");
|
|
@@ -14,7 +14,7 @@ class LimitedService extends BaseService {
|
|
|
14
14
|
config: authConfig,
|
|
15
15
|
nodeUrl: this.nodeUrl,
|
|
16
16
|
userId: this.userId,
|
|
17
|
-
}
|
|
17
|
+
});
|
|
18
18
|
const { data } = await authService.generateLimitedToken({
|
|
19
19
|
installationId: "",
|
|
20
20
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
|
-
import type {
|
|
2
|
+
import type { OrderData, OrderServiceParameters, RequestOptions } from "../../types";
|
|
3
3
|
declare class OrderService extends BaseService {
|
|
4
4
|
userId: number;
|
|
5
5
|
endpoint: string;
|
|
6
|
-
constructor(data: OrderServiceParameters
|
|
6
|
+
constructor(data: OrderServiceParameters);
|
|
7
7
|
create(data: OrderData, options?: RequestOptions): Promise<import("axios").AxiosResponse<OrderData, any, {}>>;
|
|
8
8
|
}
|
|
9
9
|
export { OrderService };
|
|
@@ -6,14 +6,14 @@ import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
|
6
6
|
class OrderService extends BaseService {
|
|
7
7
|
userId;
|
|
8
8
|
endpoint = Endpoints.Order;
|
|
9
|
-
constructor(data
|
|
10
|
-
super(data
|
|
9
|
+
constructor(data) {
|
|
10
|
+
super(data);
|
|
11
11
|
this.userId = data.userId;
|
|
12
12
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
13
13
|
const locationService = new IPAddressAndLocationService({
|
|
14
14
|
config: data.config,
|
|
15
15
|
userId: this.userId,
|
|
16
|
-
}
|
|
16
|
+
});
|
|
17
17
|
const geoCoordinates = await GeoHelper.GetGeoCoordinates(locationService);
|
|
18
18
|
AxiosHelper.InjectGeoCoordinates(req, geoCoordinates);
|
|
19
19
|
return req;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
|
-
import type { DocumentData,
|
|
2
|
+
import type { DocumentData, OrganizationData, OrganizationServiceParameters, RequestOptions } from "../../types";
|
|
3
3
|
declare class OrganizationService extends BaseService {
|
|
4
4
|
url: string;
|
|
5
5
|
userId: number;
|
|
6
6
|
endpoint: string;
|
|
7
|
-
constructor(data: OrganizationServiceParameters
|
|
7
|
+
constructor(data: OrganizationServiceParameters);
|
|
8
8
|
get(id: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<OrganizationData, any, {}>>;
|
|
9
9
|
create(data: OrganizationData, options?: RequestOptions): Promise<import("axios").AxiosResponse<OrganizationData, any, {}>>;
|
|
10
10
|
createDocument(id: number, data: DocumentData, options?: RequestOptions): Promise<import("axios").AxiosResponse<DocumentData, any, {}>>;
|
|
@@ -7,14 +7,14 @@ class OrganizationService extends BaseService {
|
|
|
7
7
|
url;
|
|
8
8
|
userId;
|
|
9
9
|
endpoint = Endpoints.Organization;
|
|
10
|
-
constructor(data
|
|
11
|
-
super(data
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super(data);
|
|
12
12
|
this.userId = data.userId;
|
|
13
13
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
14
14
|
const locationService = new IPAddressAndLocationService({
|
|
15
15
|
config: data.config,
|
|
16
16
|
userId: this.userId,
|
|
17
|
-
}
|
|
17
|
+
});
|
|
18
18
|
const geoCoordinates = await GeoHelper.GetGeoCoordinates(locationService);
|
|
19
19
|
AxiosHelper.InjectGeoCoordinates(req, geoCoordinates);
|
|
20
20
|
return req;
|
|
@@ -23,7 +23,7 @@ class OrganizationService extends BaseService {
|
|
|
23
23
|
// #region "GET"
|
|
24
24
|
get(id, options) {
|
|
25
25
|
const url = this.resolveURL(id);
|
|
26
|
-
return this.GET(url, options);
|
|
26
|
+
return this.GET(url, undefined, options);
|
|
27
27
|
}
|
|
28
28
|
// #region "POST"
|
|
29
29
|
create(data, options) {
|
|
@@ -4,9 +4,9 @@ declare class ProgramService extends BaseService {
|
|
|
4
4
|
userId: number;
|
|
5
5
|
endpoint: string;
|
|
6
6
|
private programId;
|
|
7
|
-
constructor(data: ProgramServiceParameter
|
|
8
|
-
getSystemFeatures(
|
|
9
|
-
getBin(
|
|
10
|
-
getSignUp(
|
|
7
|
+
constructor(data: ProgramServiceParameter);
|
|
8
|
+
getSystemFeatures(options?: RequestOptions): Promise<import("axios").AxiosResponse<Program.ProgramData, any, {}>>;
|
|
9
|
+
getBin(options?: RequestOptions): Promise<import("axios").AxiosResponse<Program.ProgramData, any, {}>>;
|
|
10
|
+
getSignUp(options?: RequestOptions): Promise<import("axios").AxiosResponse<Program.ProgramData, any, {}>>;
|
|
11
11
|
}
|
|
12
12
|
export { ProgramService };
|
|
@@ -4,23 +4,23 @@ class ProgramService extends BaseService {
|
|
|
4
4
|
userId;
|
|
5
5
|
endpoint = Endpoints.Program;
|
|
6
6
|
programId;
|
|
7
|
-
constructor(data
|
|
8
|
-
super(data
|
|
7
|
+
constructor(data) {
|
|
8
|
+
super(data);
|
|
9
9
|
this.userId = data.userId;
|
|
10
10
|
this.programId = data.programId;
|
|
11
11
|
}
|
|
12
12
|
//#region "GET"
|
|
13
|
-
getSystemFeatures(
|
|
14
|
-
const url = this.resolveURL(`${ProgramEndpoints.SystemFeatures}/${programId}`);
|
|
15
|
-
return this.GET(url, options);
|
|
13
|
+
getSystemFeatures(options) {
|
|
14
|
+
const url = this.resolveURL(`${ProgramEndpoints.SystemFeatures}/${this.programId}`);
|
|
15
|
+
return this.GET(url, undefined, options);
|
|
16
16
|
}
|
|
17
|
-
getBin(
|
|
18
|
-
const url = this.resolveURL(`${ProgramEndpoints.Bin}/${
|
|
19
|
-
return this.GET(url, options);
|
|
17
|
+
getBin(options) {
|
|
18
|
+
const url = this.resolveURL(`${ProgramEndpoints.Bin}/${this.programId}`);
|
|
19
|
+
return this.GET(url, undefined, options);
|
|
20
20
|
}
|
|
21
|
-
getSignUp(
|
|
22
|
-
const url = this.resolveURL(`${ProgramEndpoints.SignUp}/${
|
|
23
|
-
return this.GET(url, options);
|
|
21
|
+
getSignUp(options) {
|
|
22
|
+
const url = this.resolveURL(`${ProgramEndpoints.SignUp}/${this.programId}`);
|
|
23
|
+
return this.GET(url, undefined, options);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export { ProgramService };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GGEZGiftRewards, PromotionDetails, PromotionServiceParameters, RequestOptions } from "../../types";
|
|
3
3
|
declare class PromotionService extends BaseService {
|
|
4
4
|
userId: number;
|
|
5
5
|
endpoint: string;
|
|
6
|
-
constructor(data: PromotionServiceParameters
|
|
6
|
+
constructor(data: PromotionServiceParameters);
|
|
7
7
|
getPromotionByCode(promotionCode: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<PromotionDetails, any, {}>>;
|
|
8
8
|
getTwitterSpotlightPostIds(options?: RequestOptions): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
9
9
|
incrementPromotionParticipants(data: GGEZGiftRewards, options?: RequestOptions): Promise<import("axios").AxiosResponse<{
|
|
@@ -3,8 +3,8 @@ import { BaseService } from "./base";
|
|
|
3
3
|
class PromotionService extends BaseService {
|
|
4
4
|
userId;
|
|
5
5
|
endpoint = Endpoints.Promotion;
|
|
6
|
-
constructor(data
|
|
7
|
-
super(data
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
8
|
this.userId = data.userId;
|
|
9
9
|
}
|
|
10
10
|
// #region "GET"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
|
-
import type {
|
|
2
|
+
import type { RequestOptions } from "../../types/api/service/base";
|
|
3
3
|
import type { TransactionData } from "../../types/banking/transaction/transactionData";
|
|
4
4
|
import type { TransactionInquiry } from "../../types/banking/transaction/transactionInquiry";
|
|
5
5
|
import type { TransactionResultInquiry } from "../../types/banking/transaction/transactionResultInquiry";
|
|
@@ -7,7 +7,7 @@ import type { TransactionServiceParameters } from "../../types/api/service/trans
|
|
|
7
7
|
declare class TransactionService extends BaseService {
|
|
8
8
|
userId: number;
|
|
9
9
|
endpoint: string;
|
|
10
|
-
constructor(data: TransactionServiceParameters
|
|
10
|
+
constructor(data: TransactionServiceParameters);
|
|
11
11
|
inquiry(payload: TransactionInquiry, options?: RequestOptions): Promise<import("axios").AxiosResponse<TransactionResultInquiry, any, {}>>;
|
|
12
12
|
create(payload: TransactionData, options?: RequestOptions): Promise<import("axios").AxiosResponse<TransactionData, any, {}>>;
|
|
13
13
|
}
|
|
@@ -6,14 +6,14 @@ import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
|
6
6
|
class TransactionService extends BaseService {
|
|
7
7
|
userId;
|
|
8
8
|
endpoint = Endpoints.Transaction;
|
|
9
|
-
constructor(data
|
|
10
|
-
super(data
|
|
9
|
+
constructor(data) {
|
|
10
|
+
super(data);
|
|
11
11
|
this.userId = data.userId;
|
|
12
12
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
13
13
|
const locationService = new IPAddressAndLocationService({
|
|
14
14
|
config: data.config,
|
|
15
15
|
userId: this.userId,
|
|
16
|
-
}
|
|
16
|
+
});
|
|
17
17
|
const geoCoordinates = await GeoHelper.GetGeoCoordinates(locationService);
|
|
18
18
|
AxiosHelper.InjectGeoCoordinates(req, geoCoordinates);
|
|
19
19
|
return req;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseService } from "./base";
|
|
2
2
|
import type { ConfirmUserSecurity } from "../../types/banking/user/confirmUserSecurity";
|
|
3
3
|
import type { DocumentData } from "../../types/banking/user/documentdata";
|
|
4
|
-
import type {
|
|
4
|
+
import type { RequestOptions } from "../../types/api/service/base";
|
|
5
5
|
import type { ResetUserSecurity } from "../../types/banking/user/resetUserSecurity";
|
|
6
6
|
import type { UserData } from "../../types/banking/user/userdata";
|
|
7
7
|
import type { UserServiceParameters } from "../../types/api/service/user";
|
|
@@ -11,7 +11,7 @@ declare class UserService extends BaseService {
|
|
|
11
11
|
url: string;
|
|
12
12
|
userId: number;
|
|
13
13
|
endpoint: string;
|
|
14
|
-
constructor(data: UserServiceParameters
|
|
14
|
+
constructor(data: UserServiceParameters);
|
|
15
15
|
getUser(options?: RequestOptions): Promise<import("axios").AxiosResponse<UserData, any, {}>>;
|
|
16
16
|
getTermsAndConditions(options?: RequestOptions): Promise<import("axios").AxiosResponse<UserData, any, {}>>;
|
|
17
17
|
getSecurity(options?: RequestOptions): Promise<import("axios").AxiosResponse<UserData, any, {}>>;
|
|
@@ -7,14 +7,14 @@ class UserService extends BaseService {
|
|
|
7
7
|
url;
|
|
8
8
|
userId;
|
|
9
9
|
endpoint = Endpoints.User;
|
|
10
|
-
constructor(data
|
|
11
|
-
super(data
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super(data);
|
|
12
12
|
this.userId = data.userId;
|
|
13
13
|
this.axiosInstance.interceptors.request.use(async (req) => {
|
|
14
14
|
const locationService = new IPAddressAndLocationService({
|
|
15
15
|
config: data.config,
|
|
16
16
|
userId: this.userId,
|
|
17
|
-
}
|
|
17
|
+
});
|
|
18
18
|
const geoCoordinates = await GeoHelper.GetGeoCoordinates(locationService);
|
|
19
19
|
AxiosHelper.InjectGeoCoordinates(req, geoCoordinates);
|
|
20
20
|
return req;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BaseResult } from "../../types/banking/common/baseresult";
|
|
2
2
|
import type { ErrorHandler } from "../../types/api/service/base";
|
|
3
|
-
import { AxiosResponse } from "axios";
|
|
4
3
|
declare class ResponseHelper {
|
|
5
4
|
errorHandler: ErrorHandler;
|
|
6
5
|
constructor(errorHandler: ErrorHandler);
|
|
@@ -10,18 +9,6 @@ declare class ResponseHelper {
|
|
|
10
9
|
message: string;
|
|
11
10
|
error: any;
|
|
12
11
|
};
|
|
13
|
-
GetThirdPartyResponse: (data: AxiosResponse) => {
|
|
14
|
-
data: AxiosResponse<any, any, {}>;
|
|
15
|
-
success: boolean;
|
|
16
|
-
message: string;
|
|
17
|
-
error: any;
|
|
18
|
-
};
|
|
19
|
-
GetThirdPartyErrorResponse: (error: any, functionName: string) => {
|
|
20
|
-
data: any;
|
|
21
|
-
success: boolean;
|
|
22
|
-
message: any;
|
|
23
|
-
error: any;
|
|
24
|
-
};
|
|
25
12
|
GetErrorResponse: <T extends BaseResult>(data: T, functionName: string) => {
|
|
26
13
|
data: T;
|
|
27
14
|
success: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ResultHelper } from "./resultHelper";
|
|
2
|
-
import { HttpStatusCode } from "axios";
|
|
3
2
|
class ResponseHelper {
|
|
4
3
|
errorHandler;
|
|
5
4
|
constructor(errorHandler) {
|
|
@@ -13,24 +12,6 @@ class ResponseHelper {
|
|
|
13
12
|
error: null,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
|
-
GetThirdPartyResponse = (data) => {
|
|
17
|
-
return {
|
|
18
|
-
data: data,
|
|
19
|
-
success: data.status === HttpStatusCode.Ok,
|
|
20
|
-
message: data.statusText,
|
|
21
|
-
error: null,
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
GetThirdPartyErrorResponse = (error, functionName) => {
|
|
25
|
-
const errorMsg = error?.data || error?.message || error.toString();
|
|
26
|
-
this.errorHandler(`${errorMsg}, ${functionName}`);
|
|
27
|
-
return {
|
|
28
|
-
data: null,
|
|
29
|
-
success: false,
|
|
30
|
-
message: errorMsg,
|
|
31
|
-
error: error,
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
15
|
GetErrorResponse = (data, functionName) => {
|
|
35
16
|
this.errorHandler(`${data.result.message}, ${functionName}`);
|
|
36
17
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/account.ts","../src/auth.ts","../src/blockchain.ts","../src/constants.ts","../src/contents.ts","../src/enums.ts","../src/helpers.ts","../src/index.ts","../src/ip-location.ts","../src/limited.ts","../src/order.ts","../src/organization.ts","../src/program.ts","../src/promotion.ts","../src/regex.ts","../src/structures.ts","../src/transaction.ts","../src/user.ts","../src/utility.ts","../src/api/index.ts","../src/api/clients/account.ts","../src/api/clients/auth.ts","../src/api/clients/base.ts","../src/api/clients/blockchain.ts","../src/api/clients/index.ts","../src/api/clients/ipAddressAndLocation.ts","../src/api/clients/limited.ts","../src/api/clients/openPayd.ts","../src/api/clients/order.ts","../src/api/clients/organization.ts","../src/api/clients/program.ts","../src/api/clients/promotion.ts","../src/api/clients/transaction.ts","../src/api/clients/user.ts","../src/api/data/account.ts","../src/api/data/auth.ts","../src/api/data/blockchain.ts","../src/api/data/index.ts","../src/api/data/limited.ts","../src/api/data/openPayd.ts","../src/api/data/order.ts","../src/api/data/organization.ts","../src/api/data/program.ts","../src/api/data/result.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/confirmUserSecurity.ts","../src/api/data/user/device.ts","../src/api/data/user/document.ts","../src/api/data/user/email.ts","../src/api/data/user/forgetSecurityData.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/resetUserSecurity.ts","../src/api/data/user/security.ts","../src/api/data/user/ticket.ts","../src/api/data/user/type.ts","../src/api/data/user/user.ts","../src/api/data/user/validateLimitedSecurity.ts","../src/api/data/user/validateSecurityData.ts","../src/api/data/user/verifyUserSecurity.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/openPayd.ts","../src/api/services/order.ts","../src/api/services/organization.ts","../src/api/services/program.ts","../src/api/services/promotion.ts","../src/api/services/transaction.ts","../src/api/services/user.ts","../src/constant/constant.ts","../src/constant/enum.ts","../src/constant/index.ts","../src/constant/regex.ts","../src/constant/structure.ts","../src/content/accountCurrencies.ts","../src/content/countries.ts","../src/content/currencies.ts","../src/content/index.ts","../src/content/states.ts","../src/helper/cipherHelper.ts","../src/helper/clientHelper.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/helper/api/resultHelper.ts","../src/helper/storage/cookiesHelper.ts","../src/helper/storage/index.ts","../src/helper/storage/localStorageHelper.ts","../src/helper/storage/storageHelper.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/openPayd.ts","../src/types/api/client/order.ts","../src/types/api/client/organization.ts","../src/types/api/client/program.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/openPayd.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/api/data/user/type.ts","../src/types/api/service/account.ts","../src/types/api/service/auth.ts","../src/types/api/service/base.ts","../src/types/api/service/blockchain.ts","../src/types/api/service/index.ts","../src/types/api/service/ipAddressAndLocation.ts","../src/types/api/service/limited.ts","../src/types/api/service/openPayd.ts","../src/types/api/service/order.ts","../src/types/api/service/organization.ts","../src/types/api/service/program.ts","../src/types/api/service/promotion.ts","../src/types/api/service/transaction.ts","../src/types/api/service/user.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/ResultSet.ts","../src/types/banking/common/archive.ts","../src/types/banking/common/authentication.ts","../src/types/banking/common/bankextendeddata.ts","../src/types/banking/common/bankingcircledata.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/picture.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/program/index.ts","../src/types/banking/program/bin/SMSOptionsSetUp.ts","../src/types/banking/program/bin/accFeatures.ts","../src/types/banking/program/bin/accountFeatures.ts","../src/types/banking/program/bin/accountFeaturesContent.ts","../src/types/banking/program/bin/accountFeaturesSecurity.ts","../src/types/banking/program/bin/accountPurchasesFeatures.ts","../src/types/banking/program/bin/accountRenewalsFeatures.ts","../src/types/banking/program/bin/accountSecurityDataOptions.ts","../src/types/banking/program/bin/accountsActivationContent.ts","../src/types/banking/program/bin/activationFeatures.ts","../src/types/banking/program/bin/activationSetup.ts","../src/types/banking/program/bin/authorizationsAVS.ts","../src/types/banking/program/bin/bin.ts","../src/types/banking/program/bin/cardImageNoteTextContent.ts","../src/types/banking/program/bin/cardOption.ts","../src/types/banking/program/bin/companionAccountFeatures.ts","../src/types/banking/program/bin/creditLimitOptions.ts","../src/types/banking/program/bin/deposit.ts","../src/types/banking/program/bin/depositAndWithdrawalSetup.ts","../src/types/banking/program/bin/depositGeneral.ts","../src/types/banking/program/bin/depositManual.ts","../src/types/banking/program/bin/depositMonthlyYearly.ts","../src/types/banking/program/bin/displayOptions.ts","../src/types/banking/program/bin/feeSetup.ts","../src/types/banking/program/bin/fraudDetection.ts","../src/types/banking/program/bin/fulfilment.ts","../src/types/banking/program/bin/index.ts","../src/types/banking/program/bin/info.ts","../src/types/banking/program/bin/limit.ts","../src/types/banking/program/bin/limits.ts","../src/types/banking/program/bin/localizationContent.ts","../src/types/banking/program/bin/mobileAccountOptions.ts","../src/types/banking/program/bin/mobileLinkedAccountOptions.ts","../src/types/banking/program/bin/multiCurrency.ts","../src/types/banking/program/bin/others.ts","../src/types/banking/program/bin/paymentAndOrdersOptions.ts","../src/types/banking/program/bin/receivingTypes.ts","../src/types/banking/program/bin/requirements.ts","../src/types/banking/program/bin/restAPIOptions.ts","../src/types/banking/program/bin/securityFeatures.ts","../src/types/banking/program/bin/securityProgramTransactionBlockingRules.ts","../src/types/banking/program/bin/sellersAgentsOptions.ts","../src/types/banking/program/bin/sendingTypes.ts","../src/types/banking/program/bin/settlementAccountCoverage.ts","../src/types/banking/program/bin/supportedFulfilment.ts","../src/types/banking/program/bin/tokenizationOption.ts","../src/types/banking/program/bin/transferReceiving.ts","../src/types/banking/program/bin/transferReceivingMonthlyYearly.ts","../src/types/banking/program/bin/transferSending.ts","../src/types/banking/program/bin/transferSendingMonthlyYearly.ts","../src/types/banking/program/bin/virtualCardDisplay.ts","../src/types/banking/program/bin/virtualCardsContent.ts","../src/types/banking/program/bin/withdraw.ts","../src/types/banking/program/bin/withdrawGeneral.ts","../src/types/banking/program/bin/withdrawManual.ts","../src/types/banking/program/bin/withdrawMonthlyYearly.ts","../src/types/banking/program/bin/withdrawResellerPurchase.ts","../src/types/banking/program/bin/withdrawUserPurchase.ts","../src/types/banking/program/bin/configuration/BINConfiguration.ts","../src/types/banking/program/bin/configuration/index.ts","../src/types/banking/program/bin/configuration/interchange.ts","../src/types/banking/program/bin/configuration/transfer.ts","../src/types/banking/program/bin/configuration/transactionScheduler/features.ts","../src/types/banking/program/bin/configuration/transactionScheduler/frequency.ts","../src/types/banking/program/bin/configuration/transactionScheduler/index.ts","../src/types/banking/program/bin/configuration/transactionScheduler/info.ts","../src/types/banking/program/bin/configuration/transactionScheduler/processingFeatures.ts","../src/types/banking/program/bin/configuration/transactionScheduler/transaction.ts","../src/types/banking/program/bin/configuration/transactionScheduler/transactionSchedulerData.ts","../src/types/banking/program/program/accountOptions.ts","../src/types/banking/program/program/accountTabs.ts","../src/types/banking/program/program/amountDepositCheck.ts","../src/types/banking/program/program/content.ts","../src/types/banking/program/program/ecommerceSettings.ts","../src/types/banking/program/program/footerInformation.ts","../src/types/banking/program/program/generalCreditCardOptions.ts","../src/types/banking/program/program/generalRequirementsTabs.ts","../src/types/banking/program/program/headerInformation.ts","../src/types/banking/program/program/index.ts","../src/types/banking/program/program/info.ts","../src/types/banking/program/program/localizationContent.ts","../src/types/banking/program/program/loginHelpIcon.ts","../src/types/banking/program/program/maskingOptions.ts","../src/types/banking/program/program/mobileOptions.ts","../src/types/banking/program/program/passwordSettings.ts","../src/types/banking/program/program/programData.ts","../src/types/banking/program/program/programLocalization.ts","../src/types/banking/program/program/programLocalizationInfo.ts","../src/types/banking/program/program/programSecurity.ts","../src/types/banking/program/program/screeningOptions.ts","../src/types/banking/program/program/securityUserAlert.ts","../src/types/banking/program/program/securityUserAlertOptions.ts","../src/types/banking/program/program/socialMedia.ts","../src/types/banking/program/program/status.ts","../src/types/banking/program/program/systemFeatures.ts","../src/types/banking/program/program/systemIntegrationTabs.ts","../src/types/banking/program/program/termConditionLocalization.ts","../src/types/banking/program/program/termsConditions.ts","../src/types/banking/program/program/userContactInfo.ts","../src/types/banking/program/program/userContent.ts","../src/types/banking/program/program/userContentInformation.ts","../src/types/banking/program/program/userIdentificationSetup.ts","../src/types/banking/program/program/userSystemOptions.ts","../src/types/banking/program/program/userVerificationContent.ts","../src/types/banking/program/program/verificationRequirements.ts","../src/types/banking/program/program/webServiceSystemOptions.ts","../src/types/banking/program/program/applicationOptions/POSApplication.ts","../src/types/banking/program/program/applicationOptions/POSClassification.ts","../src/types/banking/program/program/applicationOptions/POSConfiguration.ts","../src/types/banking/program/program/applicationOptions/POSDefaultConfiguration.ts","../src/types/banking/program/program/applicationOptions/POSMobileFeatures.ts","../src/types/banking/program/program/applicationOptions/POSMobileSecurity.ts","../src/types/banking/program/program/applicationOptions/POSWorkingHour.ts","../src/types/banking/program/program/applicationOptions/RESTServiceOptions.ts","../src/types/banking/program/program/applicationOptions/account.ts","../src/types/banking/program/program/applicationOptions/address.ts","../src/types/banking/program/program/applicationOptions/customField.ts","../src/types/banking/program/program/applicationOptions/email.ts","../src/types/banking/program/program/applicationOptions/group.ts","../src/types/banking/program/program/applicationOptions/identification.ts","../src/types/banking/program/program/applicationOptions/index.ts","../src/types/banking/program/program/applicationOptions/mobileContent.ts","../src/types/banking/program/program/applicationOptions/mobileContentLocalization.ts","../src/types/banking/program/program/applicationOptions/mobileLocalization.ts","../src/types/banking/program/program/applicationOptions/organizationInfo.ts","../src/types/banking/program/program/applicationOptions/personalInfo.ts","../src/types/banking/program/program/applicationOptions/phone.ts","../src/types/banking/program/program/applicationOptions/salesSignupSettings.ts","../src/types/banking/program/program/applicationOptions/userApplication.ts","../src/types/banking/program/program/applicationOptions/userApplicationFeatures.ts","../src/types/banking/program/program/applicationOptions/userSecuritySettings.ts","../src/types/banking/program/program/applicationOptions/userSignupFeatures.ts","../src/types/banking/program/program/applicationOptions/userSignupForm.ts","../src/types/banking/program/program/applicationOptions/userSignupFormSecurity.ts","../src/types/banking/program/program/applicationOptions/webUtilsSettings.ts","../src/types/banking/program/program/biller/biller.ts","../src/types/banking/program/program/biller/index.ts","../src/types/banking/program/program/currencyRate/CurrencyRate.ts","../src/types/banking/program/program/currencyRate/index.ts","../src/types/banking/program/program/setup/index.ts","../src/types/banking/program/program/setup/payment.ts","../src/types/banking/program/program/setup/serviceSetup.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/blockchain.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/transactionResultInquiry.ts","../src/types/banking/transaction/transfer.ts","../src/types/banking/user/activity.ts","../src/types/banking/user/attachment.ts","../src/types/banking/user/checkForgetSecurityData.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/banking/webhook/index.ts","../src/types/banking/webhook/openpayd/amount.ts","../src/types/banking/webhook/openpayd/index.ts","../src/types/banking/webhook/openpayd/payInData.ts","../src/types/banking/webhook/openpayd/senderRoutingCodes.ts","../src/types/helper/cipherHelper.ts","../src/types/helper/geoHelper.ts","../src/types/helper/index.ts","../src/types/helper/userHelper.ts","../src/types/helper/api/axiosHelper.ts","../src/types/helper/storageHelper/cookiesHelper.ts","../src/types/helper/storageHelper/index.ts","../src/types/node/amount.ts","../src/types/node/giftData.ts","../src/types/node/index.ts","../src/types/node/lotteryPrize.ts","../src/types/node/promotionDetails.ts","../src/types/storage/cookies.ts","../src/types/storage/index.ts","../src/utils/index.ts","../src/utils/data/generation.ts","../src/utils/data/index.ts","../src/utils/data/manipulation.ts","../src/utils/data/validation.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["../src/account.ts","../src/auth.ts","../src/blockchain.ts","../src/constants.ts","../src/contents.ts","../src/enums.ts","../src/helpers.ts","../src/index.ts","../src/ip-location.ts","../src/limited.ts","../src/order.ts","../src/organization.ts","../src/program.ts","../src/promotion.ts","../src/regex.ts","../src/structures.ts","../src/transaction.ts","../src/user.ts","../src/utility.ts","../src/api/index.ts","../src/api/clients/account.ts","../src/api/clients/auth.ts","../src/api/clients/base.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/program.ts","../src/api/clients/promotion.ts","../src/api/clients/transaction.ts","../src/api/clients/user.ts","../src/api/data/account.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/program.ts","../src/api/data/result.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/confirmUserSecurity.ts","../src/api/data/user/device.ts","../src/api/data/user/document.ts","../src/api/data/user/email.ts","../src/api/data/user/forgetSecurityData.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/resetUserSecurity.ts","../src/api/data/user/security.ts","../src/api/data/user/ticket.ts","../src/api/data/user/type.ts","../src/api/data/user/user.ts","../src/api/data/user/validateLimitedSecurity.ts","../src/api/data/user/validateSecurityData.ts","../src/api/data/user/verifyUserSecurity.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/program.ts","../src/api/services/promotion.ts","../src/api/services/transaction.ts","../src/api/services/user.ts","../src/constant/constant.ts","../src/constant/enum.ts","../src/constant/index.ts","../src/constant/regex.ts","../src/constant/structure.ts","../src/content/accountCurrencies.ts","../src/content/countries.ts","../src/content/currencies.ts","../src/content/index.ts","../src/content/states.ts","../src/helper/cipherHelper.ts","../src/helper/clientHelper.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/helper/api/resultHelper.ts","../src/helper/storage/cookiesHelper.ts","../src/helper/storage/index.ts","../src/helper/storage/localStorageHelper.ts","../src/helper/storage/storageHelper.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/openPayd.ts","../src/types/api/client/order.ts","../src/types/api/client/organization.ts","../src/types/api/client/program.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/openPayd.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/api/data/user/type.ts","../src/types/api/service/account.ts","../src/types/api/service/auth.ts","../src/types/api/service/base.ts","../src/types/api/service/blockchain.ts","../src/types/api/service/index.ts","../src/types/api/service/ipAddressAndLocation.ts","../src/types/api/service/limited.ts","../src/types/api/service/openPayd.ts","../src/types/api/service/order.ts","../src/types/api/service/organization.ts","../src/types/api/service/program.ts","../src/types/api/service/promotion.ts","../src/types/api/service/transaction.ts","../src/types/api/service/user.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/ResultSet.ts","../src/types/banking/common/archive.ts","../src/types/banking/common/authentication.ts","../src/types/banking/common/bankextendeddata.ts","../src/types/banking/common/bankingcircledata.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/picture.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/program/index.ts","../src/types/banking/program/bin/SMSOptionsSetUp.ts","../src/types/banking/program/bin/SupportedCountriesExtended.ts","../src/types/banking/program/bin/accFeatures.ts","../src/types/banking/program/bin/accountFeatures.ts","../src/types/banking/program/bin/accountFeaturesContent.ts","../src/types/banking/program/bin/accountFeaturesSecurity.ts","../src/types/banking/program/bin/accountPurchasesFeatures.ts","../src/types/banking/program/bin/accountRenewalsFeatures.ts","../src/types/banking/program/bin/accountSecurityDataOptions.ts","../src/types/banking/program/bin/accountsActivationContent.ts","../src/types/banking/program/bin/activationFeatures.ts","../src/types/banking/program/bin/activationSetup.ts","../src/types/banking/program/bin/authorizationsAVS.ts","../src/types/banking/program/bin/bin.ts","../src/types/banking/program/bin/cardImageNoteTextContent.ts","../src/types/banking/program/bin/cardOption.ts","../src/types/banking/program/bin/companionAccountFeatures.ts","../src/types/banking/program/bin/creditLimitOptions.ts","../src/types/banking/program/bin/deposit.ts","../src/types/banking/program/bin/depositAndWithdrawalSetup.ts","../src/types/banking/program/bin/depositGeneral.ts","../src/types/banking/program/bin/depositManual.ts","../src/types/banking/program/bin/depositMonthlyYearly.ts","../src/types/banking/program/bin/displayOptions.ts","../src/types/banking/program/bin/feeSetup.ts","../src/types/banking/program/bin/fraudDetection.ts","../src/types/banking/program/bin/fulfilment.ts","../src/types/banking/program/bin/index.ts","../src/types/banking/program/bin/info.ts","../src/types/banking/program/bin/limit.ts","../src/types/banking/program/bin/limits.ts","../src/types/banking/program/bin/localizationContent.ts","../src/types/banking/program/bin/mobileAccountOptions.ts","../src/types/banking/program/bin/mobileLinkedAccountOptions.ts","../src/types/banking/program/bin/multiCurrency.ts","../src/types/banking/program/bin/others.ts","../src/types/banking/program/bin/paymentAndOrdersOptions.ts","../src/types/banking/program/bin/receivingTypes.ts","../src/types/banking/program/bin/requirements.ts","../src/types/banking/program/bin/restAPIOptions.ts","../src/types/banking/program/bin/securityFeatures.ts","../src/types/banking/program/bin/securityProgramTransactionBlockingRules.ts","../src/types/banking/program/bin/sellersAgentsOptions.ts","../src/types/banking/program/bin/sendingTypes.ts","../src/types/banking/program/bin/settlementAccountCoverage.ts","../src/types/banking/program/bin/supportedFulfilment.ts","../src/types/banking/program/bin/tokenizationOption.ts","../src/types/banking/program/bin/transferReceiving.ts","../src/types/banking/program/bin/transferReceivingMonthlyYearly.ts","../src/types/banking/program/bin/transferSending.ts","../src/types/banking/program/bin/transferSendingMonthlyYearly.ts","../src/types/banking/program/bin/virtualCardDisplay.ts","../src/types/banking/program/bin/virtualCardsContent.ts","../src/types/banking/program/bin/withdraw.ts","../src/types/banking/program/bin/withdrawGeneral.ts","../src/types/banking/program/bin/withdrawManual.ts","../src/types/banking/program/bin/withdrawMonthlyYearly.ts","../src/types/banking/program/bin/withdrawResellerPurchase.ts","../src/types/banking/program/bin/withdrawUserPurchase.ts","../src/types/banking/program/bin/configuration/BINConfiguration.ts","../src/types/banking/program/bin/configuration/index.ts","../src/types/banking/program/bin/configuration/interchange.ts","../src/types/banking/program/bin/configuration/transfer.ts","../src/types/banking/program/bin/configuration/transactionScheduler/features.ts","../src/types/banking/program/bin/configuration/transactionScheduler/frequency.ts","../src/types/banking/program/bin/configuration/transactionScheduler/index.ts","../src/types/banking/program/bin/configuration/transactionScheduler/info.ts","../src/types/banking/program/bin/configuration/transactionScheduler/processingFeatures.ts","../src/types/banking/program/bin/configuration/transactionScheduler/transaction.ts","../src/types/banking/program/bin/configuration/transactionScheduler/transactionSchedulerData.ts","../src/types/banking/program/program/accountOptions.ts","../src/types/banking/program/program/accountTabs.ts","../src/types/banking/program/program/amountDepositCheck.ts","../src/types/banking/program/program/content.ts","../src/types/banking/program/program/ecommerceSettings.ts","../src/types/banking/program/program/footerInformation.ts","../src/types/banking/program/program/generalCreditCardOptions.ts","../src/types/banking/program/program/generalRequirementsTabs.ts","../src/types/banking/program/program/headerInformation.ts","../src/types/banking/program/program/index.ts","../src/types/banking/program/program/info.ts","../src/types/banking/program/program/localizationContent.ts","../src/types/banking/program/program/loginHelpIcon.ts","../src/types/banking/program/program/maskingOptions.ts","../src/types/banking/program/program/mobileOptions.ts","../src/types/banking/program/program/passwordSettings.ts","../src/types/banking/program/program/programData.ts","../src/types/banking/program/program/programLocalization.ts","../src/types/banking/program/program/programLocalizationInfo.ts","../src/types/banking/program/program/programSecurity.ts","../src/types/banking/program/program/screeningOptions.ts","../src/types/banking/program/program/securityUserAlert.ts","../src/types/banking/program/program/securityUserAlertOptions.ts","../src/types/banking/program/program/socialMedia.ts","../src/types/banking/program/program/status.ts","../src/types/banking/program/program/systemFeatures.ts","../src/types/banking/program/program/systemIntegrationTabs.ts","../src/types/banking/program/program/termConditionLocalization.ts","../src/types/banking/program/program/termsConditions.ts","../src/types/banking/program/program/userContactInfo.ts","../src/types/banking/program/program/userContent.ts","../src/types/banking/program/program/userContentInformation.ts","../src/types/banking/program/program/userIdentificationSetup.ts","../src/types/banking/program/program/userSystemOptions.ts","../src/types/banking/program/program/userVerificationContent.ts","../src/types/banking/program/program/verificationRequirements.ts","../src/types/banking/program/program/webServiceSystemOptions.ts","../src/types/banking/program/program/applicationOptions/POSApplication.ts","../src/types/banking/program/program/applicationOptions/POSClassification.ts","../src/types/banking/program/program/applicationOptions/POSConfiguration.ts","../src/types/banking/program/program/applicationOptions/POSDefaultConfiguration.ts","../src/types/banking/program/program/applicationOptions/POSMobileFeatures.ts","../src/types/banking/program/program/applicationOptions/POSMobileSecurity.ts","../src/types/banking/program/program/applicationOptions/POSWorkingHour.ts","../src/types/banking/program/program/applicationOptions/RESTServiceOptions.ts","../src/types/banking/program/program/applicationOptions/account.ts","../src/types/banking/program/program/applicationOptions/address.ts","../src/types/banking/program/program/applicationOptions/customField.ts","../src/types/banking/program/program/applicationOptions/email.ts","../src/types/banking/program/program/applicationOptions/group.ts","../src/types/banking/program/program/applicationOptions/identification.ts","../src/types/banking/program/program/applicationOptions/index.ts","../src/types/banking/program/program/applicationOptions/mobileContent.ts","../src/types/banking/program/program/applicationOptions/mobileContentLocalization.ts","../src/types/banking/program/program/applicationOptions/mobileLocalization.ts","../src/types/banking/program/program/applicationOptions/organizationInfo.ts","../src/types/banking/program/program/applicationOptions/personalInfo.ts","../src/types/banking/program/program/applicationOptions/phone.ts","../src/types/banking/program/program/applicationOptions/salesSignupSettings.ts","../src/types/banking/program/program/applicationOptions/userApplication.ts","../src/types/banking/program/program/applicationOptions/userApplicationFeatures.ts","../src/types/banking/program/program/applicationOptions/userSecuritySettings.ts","../src/types/banking/program/program/applicationOptions/userSignupFeatures.ts","../src/types/banking/program/program/applicationOptions/userSignupForm.ts","../src/types/banking/program/program/applicationOptions/userSignupFormSecurity.ts","../src/types/banking/program/program/applicationOptions/webUtilsSettings.ts","../src/types/banking/program/program/biller/biller.ts","../src/types/banking/program/program/biller/index.ts","../src/types/banking/program/program/currencyRate/CurrencyRate.ts","../src/types/banking/program/program/currencyRate/index.ts","../src/types/banking/program/program/setup/index.ts","../src/types/banking/program/program/setup/payment.ts","../src/types/banking/program/program/setup/serviceSetup.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/blockchain.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/transactionResultInquiry.ts","../src/types/banking/transaction/transfer.ts","../src/types/banking/user/activity.ts","../src/types/banking/user/attachment.ts","../src/types/banking/user/checkForgetSecurityData.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/banking/webhook/index.ts","../src/types/banking/webhook/openpayd/amount.ts","../src/types/banking/webhook/openpayd/index.ts","../src/types/banking/webhook/openpayd/payInData.ts","../src/types/banking/webhook/openpayd/senderRoutingCodes.ts","../src/types/helper/cipherHelper.ts","../src/types/helper/geoHelper.ts","../src/types/helper/index.ts","../src/types/helper/userHelper.ts","../src/types/helper/api/axiosHelper.ts","../src/types/helper/storageHelper/cookiesHelper.ts","../src/types/helper/storageHelper/index.ts","../src/types/node/amount.ts","../src/types/node/giftData.ts","../src/types/node/index.ts","../src/types/node/lotteryPrize.ts","../src/types/node/promotionDetails.ts","../src/types/storage/cookies.ts","../src/types/storage/index.ts","../src/utils/index.ts","../src/utils/data/generation.ts","../src/utils/data/index.ts","../src/utils/data/manipulation.ts","../src/utils/data/validation.ts"],"version":"5.9.3"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from "axios";
|
|
2
2
|
type BaseServiceParameters = {
|
|
3
|
-
config: AxiosRequestConfig
|
|
3
|
+
config: AxiosRequestConfig;
|
|
4
4
|
userId: number;
|
|
5
5
|
nodeUrl?: string;
|
|
6
6
|
installationId?: string;
|
|
7
7
|
is_limited_credential?: boolean;
|
|
8
8
|
};
|
|
9
|
-
type ErrorHandler = (error:
|
|
9
|
+
type ErrorHandler = (error: unknown) => void;
|
|
10
10
|
type RequestOptions = {
|
|
11
11
|
headers?: Record<string, string>;
|
|
12
12
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type SupportedCountriesExtended = {
|
|
2
|
+
Country_Code: number;
|
|
3
|
+
Currency_Code: string;
|
|
4
|
+
Currency_Name: string;
|
|
5
|
+
ISO_A2: string;
|
|
6
|
+
ISO_A3: string;
|
|
7
|
+
Country_Name: string;
|
|
8
|
+
Phone_Code: string;
|
|
9
|
+
Is_Preferred: boolean;
|
|
10
|
+
Supported_Currencies: string[];
|
|
11
|
+
};
|
|
12
|
+
export type { SupportedCountriesExtended };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
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",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ErrorHandler, RequestOptions, OpenPaydClientData, IPayInData } from "../../types";
|
|
2
|
-
import { BaseClient } from "./base";
|
|
3
|
-
declare class OpenPaydClient extends BaseClient {
|
|
4
|
-
private openPaydService;
|
|
5
|
-
constructor(clientData: OpenPaydClientData, errorHandler: ErrorHandler);
|
|
6
|
-
PayIn: (data: IPayInData, options?: RequestOptions) => Promise<{
|
|
7
|
-
data: any;
|
|
8
|
-
success: boolean;
|
|
9
|
-
message: any;
|
|
10
|
-
error: any;
|
|
11
|
-
}>;
|
|
12
|
-
}
|
|
13
|
-
export { OpenPaydClient };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { AxiosHelper } from "../../helper/api/axiosHelper";
|
|
2
|
-
import { OpenPaydService } from "../services";
|
|
3
|
-
import { BaseClient } from "./base";
|
|
4
|
-
import { FillPayInData } from "../data/openPayd";
|
|
5
|
-
class OpenPaydClient extends BaseClient {
|
|
6
|
-
openPaydService;
|
|
7
|
-
constructor(clientData, errorHandler) {
|
|
8
|
-
super(clientData, errorHandler);
|
|
9
|
-
const { webhookUrl, lang, installationId, userId } = clientData;
|
|
10
|
-
const config = AxiosHelper.GetAxiosConfig("", webhookUrl, lang, installationId);
|
|
11
|
-
this.openPaydService = new OpenPaydService({ config, userId }, this.errorHandler);
|
|
12
|
-
}
|
|
13
|
-
// #region "POST"
|
|
14
|
-
PayIn = async (data, options) => {
|
|
15
|
-
try {
|
|
16
|
-
const payInData = FillPayInData(data);
|
|
17
|
-
const response = await this.openPaydService.payIn(payInData, options);
|
|
18
|
-
return this.responseHelper.GetThirdPartyResponse(response.data);
|
|
19
|
-
}
|
|
20
|
-
catch (error) {
|
|
21
|
-
return this.responseHelper.GetThirdPartyErrorResponse(error, "PayIn");
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export { OpenPaydClient };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import dayjs from "dayjs";
|
|
2
|
-
import { GenerateBase64, GenerateUUID } from "../../utils/data/generation";
|
|
3
|
-
import { OpenPaydTransactionStatus, OpenPaydTransactionType, } from "../../constant";
|
|
4
|
-
const FillPayInData = (data) => {
|
|
5
|
-
const payInData = {
|
|
6
|
-
id: GenerateBase64(),
|
|
7
|
-
transactionId: GenerateUUID(),
|
|
8
|
-
primaryKey: GenerateUUID(),
|
|
9
|
-
accountHolderId: data.accountHolderId,
|
|
10
|
-
transactionDateTime: dayjs().format("YYYY-MM-DDTHH:mm:ss.SSS"),
|
|
11
|
-
amount: {
|
|
12
|
-
value: data.amount,
|
|
13
|
-
currency: data.currency,
|
|
14
|
-
},
|
|
15
|
-
senderAccountNumber: data.senderAccountNumber,
|
|
16
|
-
status: OpenPaydTransactionStatus.Completed,
|
|
17
|
-
senderBic: data.swiftCode,
|
|
18
|
-
senderIban: data.iban,
|
|
19
|
-
senderName: data.accountHolder,
|
|
20
|
-
senderAddress: null,
|
|
21
|
-
senderInformation: null,
|
|
22
|
-
transactionReference: null,
|
|
23
|
-
internalAccountId: data.internalAccountId,
|
|
24
|
-
beneficiaryAccountHolderName: null,
|
|
25
|
-
type: OpenPaydTransactionType.PayIn,
|
|
26
|
-
paymentType: null,
|
|
27
|
-
senderRoutingCodes: [
|
|
28
|
-
{
|
|
29
|
-
routingCodeKey: "SORT_CODE",
|
|
30
|
-
routingCodeValue: data.sortCode,
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
failureReason: null,
|
|
34
|
-
};
|
|
35
|
-
return payInData;
|
|
36
|
-
};
|
|
37
|
-
export { FillPayInData };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseService } from "./base";
|
|
2
|
-
import type { ErrorHandler, RequestOptions } from "../../types/api/service/base";
|
|
3
|
-
import { PayInData } from "../../types/banking/webhook";
|
|
4
|
-
import { OpenPaydServiceParameters } from "../../types/api/service/openPayd";
|
|
5
|
-
declare class OpenPaydService extends BaseService {
|
|
6
|
-
userId: number;
|
|
7
|
-
endpoint: string;
|
|
8
|
-
constructor(data: OpenPaydServiceParameters, errorHandler: ErrorHandler);
|
|
9
|
-
payIn(payload: PayInData, options?: RequestOptions): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10
|
-
payOut(payload: PayInData, options?: RequestOptions): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
11
|
-
}
|
|
12
|
-
export { OpenPaydService };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Endpoints, OpenPaydEndpoints } from "../../constant/constant";
|
|
2
|
-
import { BaseService } from "./base";
|
|
3
|
-
class OpenPaydService extends BaseService {
|
|
4
|
-
userId;
|
|
5
|
-
endpoint = Endpoints.OpenPayd;
|
|
6
|
-
constructor(data, errorHandler) {
|
|
7
|
-
super(data, errorHandler);
|
|
8
|
-
this.userId = data.userId;
|
|
9
|
-
}
|
|
10
|
-
// #region "GET"
|
|
11
|
-
payIn(payload, options) {
|
|
12
|
-
const url = this.resolveURL(OpenPaydEndpoints.PayIn);
|
|
13
|
-
return this.POST(url, payload, options);
|
|
14
|
-
}
|
|
15
|
-
// #endregion
|
|
16
|
-
// #region "POST"
|
|
17
|
-
payOut(payload, options) {
|
|
18
|
-
const url = this.resolveURL(OpenPaydEndpoints.PayOut);
|
|
19
|
-
return this.POST(url, payload, options);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export { OpenPaydService };
|