@abyss-project/banking 1.0.2 → 1.0.4
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/abyss.admin.api.d.ts +2 -2
- package/dist/api/abyss.admin.api.js +8 -8
- package/dist/api/banking.admin.api.d.ts +13 -13
- package/dist/api/banking.admin.api.js +52 -52
- package/dist/api/banking.api.d.ts +20 -18
- package/dist/api/banking.api.js +86 -76
- package/dist/api/categorization-rule.admin.api.d.ts +7 -7
- package/dist/api/categorization-rule.admin.api.js +28 -28
- package/dist/api/categorization-rule.api.d.ts +7 -7
- package/dist/api/categorization-rule.api.js +28 -28
- package/dist/api/category.admin.api.d.ts +6 -6
- package/dist/api/category.admin.api.js +27 -27
- package/dist/api/category.api.d.ts +9 -9
- package/dist/api/category.api.js +34 -34
- package/dist/api/index.d.ts +12 -12
- package/dist/api/index.js +28 -24
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/api/panel.admin.api.d.ts +6 -6
- package/dist/api/panel.admin.api.js +27 -27
- package/dist/api/panel.api.d.ts +6 -6
- package/dist/api/panel.api.js +28 -28
- package/dist/api/user.admin.api.d.ts +5 -5
- package/dist/api/user.admin.api.js +23 -23
- package/dist/api/user.api.d.ts +4 -4
- package/dist/api/user.api.js +17 -17
- package/dist/index.d.ts +19 -19
- package/dist/index.js +90 -86
- package/dist/types/enum/aggregator-type.enum.d.ts +4 -4
- package/dist/types/enum/aggregator-type.enum.js +8 -8
- package/dist/types/enum/api-error.enum.d.ts +16 -16
- package/dist/types/enum/api-error.enum.js +21 -21
- package/dist/types/enum/bank-connection-status.enum.d.ts +6 -6
- package/dist/types/enum/bank-connection-status.enum.js +10 -10
- package/dist/types/enum/cash-account-type.enum.d.ts +26 -26
- package/dist/types/enum/cash-account-type.enum.js +30 -30
- package/dist/types/enum/index.d.ts +6 -6
- package/dist/types/enum/index.js +22 -18
- package/dist/types/enum/panel-component-type.enum.d.ts +16 -12
- package/dist/types/enum/panel-component-type.enum.js +20 -16
- package/dist/types/enum/period-configuration.enum.d.ts +7 -7
- package/dist/types/enum/period-configuration.enum.js +11 -11
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +18 -14
- package/dist/types/interface/api/index.d.ts +27 -27
- package/dist/types/interface/api/index.js +43 -39
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +3 -3
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -2
- package/dist/types/interface/api/requests/banking.admin.request.d.ts +47 -47
- package/dist/types/interface/api/requests/banking.admin.request.js +2 -2
- package/dist/types/interface/api/requests/banking.request.d.ts +83 -75
- package/dist/types/interface/api/requests/banking.request.js +2 -2
- package/dist/types/interface/api/requests/categorization-rule.admin.request.d.ts +34 -34
- package/dist/types/interface/api/requests/categorization-rule.admin.request.js +2 -2
- package/dist/types/interface/api/requests/categorization-rule.request.d.ts +32 -32
- package/dist/types/interface/api/requests/categorization-rule.request.js +2 -2
- package/dist/types/interface/api/requests/category.admin.request.d.ts +22 -22
- package/dist/types/interface/api/requests/category.admin.request.js +2 -2
- package/dist/types/interface/api/requests/category.request.d.ts +26 -26
- package/dist/types/interface/api/requests/category.request.js +2 -2
- package/dist/types/interface/api/requests/panel.admin.request.d.ts +23 -23
- package/dist/types/interface/api/requests/panel.admin.request.js +2 -2
- package/dist/types/interface/api/requests/panel.request.d.ts +22 -22
- package/dist/types/interface/api/requests/panel.request.js +2 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +15 -15
- package/dist/types/interface/api/requests/user.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user.request.d.ts +2 -2
- package/dist/types/interface/api/requests/user.request.js +2 -2
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -6
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -2
- package/dist/types/interface/api/responses/banking.admin.response.d.ts +48 -48
- package/dist/types/interface/api/responses/banking.admin.response.js +2 -2
- package/dist/types/interface/api/responses/banking.response.d.ts +112 -86
- package/dist/types/interface/api/responses/banking.response.js +2 -2
- package/dist/types/interface/api/responses/categorization-rule.admin.response.d.ts +22 -22
- package/dist/types/interface/api/responses/categorization-rule.admin.response.js +2 -2
- package/dist/types/interface/api/responses/categorization-rule.response.d.ts +22 -22
- package/dist/types/interface/api/responses/categorization-rule.response.js +2 -2
- package/dist/types/interface/api/responses/category.admin.response.d.ts +19 -19
- package/dist/types/interface/api/responses/category.admin.response.js +2 -2
- package/dist/types/interface/api/responses/category.response.d.ts +32 -32
- package/dist/types/interface/api/responses/category.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/responses/panel.admin.response.d.ts +19 -19
- package/dist/types/interface/api/responses/panel.admin.response.js +2 -2
- package/dist/types/interface/api/responses/panel.response.d.ts +19 -19
- package/dist/types/interface/api/responses/panel.response.js +2 -2
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +3 -3
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -14
- package/dist/types/interface/api/responses/user.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.response.d.ts +13 -13
- package/dist/types/interface/api/responses/user.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/index.d.ts +13 -13
- package/dist/types/interface/index.js +29 -25
- package/dist/types/interface/models/account-transaction.model.d.ts +46 -46
- package/dist/types/interface/models/account-transaction.model.js +2 -2
- package/dist/types/interface/models/aggregator-bank.model.d.ts +12 -12
- package/dist/types/interface/models/aggregator-bank.model.js +2 -2
- package/dist/types/interface/models/aggregator-link.model.d.ts +12 -12
- package/dist/types/interface/models/aggregator-link.model.js +2 -2
- package/dist/types/interface/models/bank-account-history.model.d.ts +11 -11
- package/dist/types/interface/models/bank-account-history.model.js +2 -2
- package/dist/types/interface/models/bank-account.model.d.ts +26 -26
- package/dist/types/interface/models/bank-account.model.js +2 -2
- package/dist/types/interface/models/bank-connection.model.d.ts +17 -17
- package/dist/types/interface/models/bank-connection.model.js +2 -2
- package/dist/types/interface/models/categorization-rule-category.model.d.ts +11 -11
- package/dist/types/interface/models/categorization-rule-category.model.js +2 -2
- package/dist/types/interface/models/categorization-rule.model.d.ts +44 -44
- package/dist/types/interface/models/categorization-rule.model.js +2 -2
- package/dist/types/interface/models/category.model.d.ts +14 -14
- package/dist/types/interface/models/category.model.js +2 -2
- package/dist/types/interface/models/panel.model.d.ts +121 -108
- package/dist/types/interface/models/panel.model.js +2 -2
- package/dist/types/interface/models/transaction-category.model.d.ts +14 -14
- package/dist/types/interface/models/transaction-category.model.js +2 -2
- package/dist/types/interface/models/user.model.d.ts +13 -13
- package/dist/types/interface/models/user.model.js +2 -2
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +17 -13
- package/package.json +5 -6
- package/dist/types/interface/models/bank-account-transaction.model.d.ts +0 -14
- package/dist/types/interface/models/bank-account-transaction.model.js +0 -2
package/dist/types/index.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__exportStar(
|
|
14
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enum"), exports);
|
|
18
|
+
__exportStar(require("./interface"), exports);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from './type-message/api-error';
|
|
2
|
-
export * from './type-message/response';
|
|
3
|
-
export * from './type-message/base-order';
|
|
4
|
-
export * from './type-message/base-paginate';
|
|
5
|
-
export * from './requests/abyss.admin.request';
|
|
6
|
-
export * from './requests/user.admin.request';
|
|
7
|
-
export * from './requests/user.request';
|
|
8
|
-
export * from './requests/banking.request';
|
|
9
|
-
export * from './requests/category.request';
|
|
10
|
-
export * from './requests/category.admin.request';
|
|
11
|
-
export * from './requests/banking.admin.request';
|
|
12
|
-
export * from './requests/categorization-rule.request';
|
|
13
|
-
export * from './requests/categorization-rule.admin.request';
|
|
14
|
-
export * from './requests/panel.request';
|
|
15
|
-
export * from './requests/panel.admin.request';
|
|
16
|
-
export * from './responses/abyss.admin.response';
|
|
17
|
-
export * from './responses/monitor.response';
|
|
18
|
-
export * from './responses/user.admin.response';
|
|
19
|
-
export * from './responses/user.response';
|
|
20
|
-
export * from './responses/banking.response';
|
|
21
|
-
export * from './responses/category.response';
|
|
22
|
-
export * from './responses/category.admin.response';
|
|
23
|
-
export * from './responses/banking.admin.response';
|
|
24
|
-
export * from './responses/categorization-rule.response';
|
|
25
|
-
export * from './responses/categorization-rule.admin.response';
|
|
26
|
-
export * from './responses/panel.response';
|
|
27
|
-
export * from './responses/panel.admin.response';
|
|
1
|
+
export * from './type-message/api-error';
|
|
2
|
+
export * from './type-message/response';
|
|
3
|
+
export * from './type-message/base-order';
|
|
4
|
+
export * from './type-message/base-paginate';
|
|
5
|
+
export * from './requests/abyss.admin.request';
|
|
6
|
+
export * from './requests/user.admin.request';
|
|
7
|
+
export * from './requests/user.request';
|
|
8
|
+
export * from './requests/banking.request';
|
|
9
|
+
export * from './requests/category.request';
|
|
10
|
+
export * from './requests/category.admin.request';
|
|
11
|
+
export * from './requests/banking.admin.request';
|
|
12
|
+
export * from './requests/categorization-rule.request';
|
|
13
|
+
export * from './requests/categorization-rule.admin.request';
|
|
14
|
+
export * from './requests/panel.request';
|
|
15
|
+
export * from './requests/panel.admin.request';
|
|
16
|
+
export * from './responses/abyss.admin.response';
|
|
17
|
+
export * from './responses/monitor.response';
|
|
18
|
+
export * from './responses/user.admin.response';
|
|
19
|
+
export * from './responses/user.response';
|
|
20
|
+
export * from './responses/banking.response';
|
|
21
|
+
export * from './responses/category.response';
|
|
22
|
+
export * from './responses/category.admin.response';
|
|
23
|
+
export * from './responses/banking.admin.response';
|
|
24
|
+
export * from './responses/categorization-rule.response';
|
|
25
|
+
export * from './responses/categorization-rule.admin.response';
|
|
26
|
+
export * from './responses/panel.response';
|
|
27
|
+
export * from './responses/panel.admin.response';
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__exportStar(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./requests/
|
|
22
|
-
__exportStar(require("./requests/
|
|
23
|
-
__exportStar(require("./requests/
|
|
24
|
-
__exportStar(require("./requests/
|
|
25
|
-
__exportStar(require("./requests/
|
|
26
|
-
__exportStar(require("./requests/
|
|
27
|
-
__exportStar(require("./requests/
|
|
28
|
-
__exportStar(require("./
|
|
29
|
-
__exportStar(require("./
|
|
30
|
-
__exportStar(require("./
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./responses/
|
|
33
|
-
__exportStar(require("./responses/
|
|
34
|
-
__exportStar(require("./responses/
|
|
35
|
-
__exportStar(require("./responses/
|
|
36
|
-
__exportStar(require("./responses/
|
|
37
|
-
__exportStar(require("./responses/
|
|
38
|
-
__exportStar(require("./responses/
|
|
39
|
-
__exportStar(require("./responses/
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./type-message/api-error"), exports);
|
|
18
|
+
__exportStar(require("./type-message/response"), exports);
|
|
19
|
+
__exportStar(require("./type-message/base-order"), exports);
|
|
20
|
+
__exportStar(require("./type-message/base-paginate"), exports);
|
|
21
|
+
__exportStar(require("./requests/abyss.admin.request"), exports);
|
|
22
|
+
__exportStar(require("./requests/user.admin.request"), exports);
|
|
23
|
+
__exportStar(require("./requests/user.request"), exports);
|
|
24
|
+
__exportStar(require("./requests/banking.request"), exports);
|
|
25
|
+
__exportStar(require("./requests/category.request"), exports);
|
|
26
|
+
__exportStar(require("./requests/category.admin.request"), exports);
|
|
27
|
+
__exportStar(require("./requests/banking.admin.request"), exports);
|
|
28
|
+
__exportStar(require("./requests/categorization-rule.request"), exports);
|
|
29
|
+
__exportStar(require("./requests/categorization-rule.admin.request"), exports);
|
|
30
|
+
__exportStar(require("./requests/panel.request"), exports);
|
|
31
|
+
__exportStar(require("./requests/panel.admin.request"), exports);
|
|
32
|
+
__exportStar(require("./responses/abyss.admin.response"), exports);
|
|
33
|
+
__exportStar(require("./responses/monitor.response"), exports);
|
|
34
|
+
__exportStar(require("./responses/user.admin.response"), exports);
|
|
35
|
+
__exportStar(require("./responses/user.response"), exports);
|
|
36
|
+
__exportStar(require("./responses/banking.response"), exports);
|
|
37
|
+
__exportStar(require("./responses/category.response"), exports);
|
|
38
|
+
__exportStar(require("./responses/category.admin.response"), exports);
|
|
39
|
+
__exportStar(require("./responses/banking.admin.response"), exports);
|
|
40
|
+
__exportStar(require("./responses/categorization-rule.response"), exports);
|
|
41
|
+
__exportStar(require("./responses/categorization-rule.admin.response"), exports);
|
|
42
|
+
__exportStar(require("./responses/panel.response"), exports);
|
|
43
|
+
__exportStar(require("./responses/panel.admin.response"), exports);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface IActivateUserServiceAbyssAdminBody {
|
|
2
|
-
userId: string;
|
|
3
|
-
}
|
|
1
|
+
export interface IActivateUserServiceAbyssAdminBody {
|
|
2
|
+
userId: string;
|
|
3
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
-
export
|
|
3
|
-
countryCode: string;
|
|
4
|
-
};
|
|
5
|
-
export interface IConfirmRequisitionBankingAdminParams {
|
|
6
|
-
userId: string;
|
|
7
|
-
reference: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IListBankConnectionBankingAdminParams {
|
|
10
|
-
userId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IGetBankConnectionBankingAdminParams {
|
|
13
|
-
bankConnectionId: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IGetAccountTransactionBankingAdminParams {
|
|
16
|
-
accountTransactionId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IUpdateAccountTransactionBankingAdminParams {
|
|
19
|
-
accountTransactionId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IUpdateAccountTransactionBankingAdminBody {
|
|
22
|
-
comment?: string;
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
description?: string;
|
|
26
|
-
currency?: string;
|
|
27
|
-
bankAccountId: string[];
|
|
28
|
-
categoryId?: string[];
|
|
29
|
-
before?: Date;
|
|
30
|
-
after?: Date;
|
|
31
|
-
onlyWithoutCategories?: boolean;
|
|
32
|
-
categorizationRuleId?: string;
|
|
33
|
-
order?: 'ASC' | 'DESC';
|
|
34
|
-
} & QueryPaginate;
|
|
35
|
-
export interface IUpdateBankAccountBankingAdminParams {
|
|
36
|
-
bankAccountId: string;
|
|
37
|
-
}
|
|
38
|
-
export interface IUpdateBankAccountBankingAdminBody {
|
|
39
|
-
isMasked?: boolean;
|
|
40
|
-
color?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ILoadDemoDataBankingAdminParams {
|
|
43
|
-
userId: string;
|
|
44
|
-
}
|
|
45
|
-
export interface IDeleteDemoDataBankingAdminParams {
|
|
46
|
-
userId: string;
|
|
47
|
-
}
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
export type IListInstitutionBankingAdminQuery = {
|
|
3
|
+
countryCode: string;
|
|
4
|
+
};
|
|
5
|
+
export interface IConfirmRequisitionBankingAdminParams {
|
|
6
|
+
userId: string;
|
|
7
|
+
reference: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IListBankConnectionBankingAdminParams {
|
|
10
|
+
userId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IGetBankConnectionBankingAdminParams {
|
|
13
|
+
bankConnectionId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IGetAccountTransactionBankingAdminParams {
|
|
16
|
+
accountTransactionId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IUpdateAccountTransactionBankingAdminParams {
|
|
19
|
+
accountTransactionId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IUpdateAccountTransactionBankingAdminBody {
|
|
22
|
+
comment?: string;
|
|
23
|
+
}
|
|
24
|
+
export type IPaginateAccountTransactionBankingAdminQuery = {
|
|
25
|
+
description?: string;
|
|
26
|
+
currency?: string;
|
|
27
|
+
bankAccountId: string[];
|
|
28
|
+
categoryId?: string[];
|
|
29
|
+
before?: Date;
|
|
30
|
+
after?: Date;
|
|
31
|
+
onlyWithoutCategories?: boolean;
|
|
32
|
+
categorizationRuleId?: string;
|
|
33
|
+
order?: 'ASC' | 'DESC';
|
|
34
|
+
} & QueryPaginate;
|
|
35
|
+
export interface IUpdateBankAccountBankingAdminParams {
|
|
36
|
+
bankAccountId: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IUpdateBankAccountBankingAdminBody {
|
|
39
|
+
isMasked?: boolean;
|
|
40
|
+
color?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ILoadDemoDataBankingAdminParams {
|
|
43
|
+
userId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IDeleteDemoDataBankingAdminParams {
|
|
46
|
+
userId: string;
|
|
47
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,75 +1,83 @@
|
|
|
1
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
-
export interface ICreateRequisitionBankingBody {
|
|
3
|
-
institutionId: string;
|
|
4
|
-
redirectUrl: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IRenewRequisitionBankingParams {
|
|
7
|
-
bankConnectionId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IRenewRequisitionBankingBody {
|
|
10
|
-
redirectUrl: string;
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
countryCode: string;
|
|
14
|
-
};
|
|
15
|
-
export interface IConfirmRequisitionBankingParams {
|
|
16
|
-
reference: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IGetBankConnectionBankingParams {
|
|
19
|
-
bankConnectionId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IGetAccountTransactionBankingParams {
|
|
22
|
-
accountTransactionId: string;
|
|
23
|
-
}
|
|
24
|
-
export interface IUpdateAccountTransactionBankingParams {
|
|
25
|
-
accountTransactionId: string;
|
|
26
|
-
}
|
|
27
|
-
export interface IUpdateAccountTransactionBankingBody {
|
|
28
|
-
comment?: string;
|
|
29
|
-
}
|
|
30
|
-
export
|
|
31
|
-
description?: string;
|
|
32
|
-
currency?: string;
|
|
33
|
-
bankAccountId?: string[];
|
|
34
|
-
categoryId?: string[];
|
|
35
|
-
before?: Date;
|
|
36
|
-
after?: Date;
|
|
37
|
-
onlyWithoutCategories?: boolean;
|
|
38
|
-
categorizationRuleId?: string;
|
|
39
|
-
order?: 'ASC' | 'DESC';
|
|
40
|
-
} & QueryPaginate;
|
|
41
|
-
export interface IUpdateBankAccountBankingParams {
|
|
42
|
-
bankAccountId: string;
|
|
43
|
-
}
|
|
44
|
-
export interface IUpdateBankAccountBankingBody {
|
|
45
|
-
isMasked?: boolean;
|
|
46
|
-
color?: string;
|
|
47
|
-
commonName?: string | null;
|
|
48
|
-
}
|
|
49
|
-
export interface IGetTransactionPerCategoryBankingQuery {
|
|
50
|
-
bankAccountId?: string[];
|
|
51
|
-
before?: Date;
|
|
52
|
-
after?: Date;
|
|
53
|
-
}
|
|
54
|
-
export interface IGetSumTransactionPerBankAccountPerCategoryQuery {
|
|
55
|
-
bankAccountId: string[];
|
|
56
|
-
before?: Date;
|
|
57
|
-
after?: Date;
|
|
58
|
-
}
|
|
59
|
-
export interface IGetSumTransactionPerBankAccountPerCategoryPerMonthQuery {
|
|
60
|
-
bankAccountId?: string[];
|
|
61
|
-
before?: Date;
|
|
62
|
-
after?: Date;
|
|
63
|
-
}
|
|
64
|
-
export
|
|
65
|
-
bankAccountId?: string[];
|
|
66
|
-
before?: Date;
|
|
67
|
-
after?: Date;
|
|
68
|
-
order?: 'ASC' | 'DESC';
|
|
69
|
-
} & QueryPaginate;
|
|
70
|
-
export
|
|
71
|
-
bankAccountId?: string[];
|
|
72
|
-
before?: Date;
|
|
73
|
-
after?: Date;
|
|
74
|
-
order?: 'ASC' | 'DESC';
|
|
75
|
-
};
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
export interface ICreateRequisitionBankingBody {
|
|
3
|
+
institutionId: string;
|
|
4
|
+
redirectUrl: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IRenewRequisitionBankingParams {
|
|
7
|
+
bankConnectionId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IRenewRequisitionBankingBody {
|
|
10
|
+
redirectUrl: string;
|
|
11
|
+
}
|
|
12
|
+
export type IListInstitutionBankingQuery = {
|
|
13
|
+
countryCode: string;
|
|
14
|
+
};
|
|
15
|
+
export interface IConfirmRequisitionBankingParams {
|
|
16
|
+
reference: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IGetBankConnectionBankingParams {
|
|
19
|
+
bankConnectionId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IGetAccountTransactionBankingParams {
|
|
22
|
+
accountTransactionId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateAccountTransactionBankingParams {
|
|
25
|
+
accountTransactionId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IUpdateAccountTransactionBankingBody {
|
|
28
|
+
comment?: string;
|
|
29
|
+
}
|
|
30
|
+
export type IPaginateAccountTransactionBankingQuery = {
|
|
31
|
+
description?: string;
|
|
32
|
+
currency?: string;
|
|
33
|
+
bankAccountId?: string[];
|
|
34
|
+
categoryId?: string[];
|
|
35
|
+
before?: Date;
|
|
36
|
+
after?: Date;
|
|
37
|
+
onlyWithoutCategories?: boolean;
|
|
38
|
+
categorizationRuleId?: string;
|
|
39
|
+
order?: 'ASC' | 'DESC';
|
|
40
|
+
} & QueryPaginate;
|
|
41
|
+
export interface IUpdateBankAccountBankingParams {
|
|
42
|
+
bankAccountId: string;
|
|
43
|
+
}
|
|
44
|
+
export interface IUpdateBankAccountBankingBody {
|
|
45
|
+
isMasked?: boolean;
|
|
46
|
+
color?: string;
|
|
47
|
+
commonName?: string | null;
|
|
48
|
+
}
|
|
49
|
+
export interface IGetTransactionPerCategoryBankingQuery {
|
|
50
|
+
bankAccountId?: string[];
|
|
51
|
+
before?: Date;
|
|
52
|
+
after?: Date;
|
|
53
|
+
}
|
|
54
|
+
export interface IGetSumTransactionPerBankAccountPerCategoryQuery {
|
|
55
|
+
bankAccountId: string[];
|
|
56
|
+
before?: Date;
|
|
57
|
+
after?: Date;
|
|
58
|
+
}
|
|
59
|
+
export interface IGetSumTransactionPerBankAccountPerCategoryPerMonthQuery {
|
|
60
|
+
bankAccountId?: string[];
|
|
61
|
+
before?: Date;
|
|
62
|
+
after?: Date;
|
|
63
|
+
}
|
|
64
|
+
export type IPaginateBankAccountHistoryBankingQuery = {
|
|
65
|
+
bankAccountId?: string[];
|
|
66
|
+
before?: Date;
|
|
67
|
+
after?: Date;
|
|
68
|
+
order?: 'ASC' | 'DESC';
|
|
69
|
+
} & QueryPaginate;
|
|
70
|
+
export type IListBankAccountHistoryBankingQuery = {
|
|
71
|
+
bankAccountId?: string[];
|
|
72
|
+
before?: Date;
|
|
73
|
+
after?: Date;
|
|
74
|
+
order?: 'ASC' | 'DESC';
|
|
75
|
+
};
|
|
76
|
+
export interface IGetTopTransactionBankingQuery {
|
|
77
|
+
bankAccountId: string[];
|
|
78
|
+
before?: Date;
|
|
79
|
+
after?: Date;
|
|
80
|
+
currency?: string;
|
|
81
|
+
type?: ('income' | 'outcome')[];
|
|
82
|
+
limit?: number;
|
|
83
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { CategorizationRules } from '../../models/categorization-rule.model';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export
|
|
4
|
-
isActive?: boolean;
|
|
5
|
-
userId?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
} & QueryPaginate;
|
|
8
|
-
export interface IGetCategorizationRuleAdminParams {
|
|
9
|
-
categorizationRuleId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IDeleteCategorizationRuleAdminParams {
|
|
12
|
-
categorizationRuleId: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ICreateCategorizationRuleAdminBody {
|
|
15
|
-
userId: string;
|
|
16
|
-
name: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
rules: CategorizationRules[];
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
categoryIds: string[];
|
|
21
|
-
}
|
|
22
|
-
export interface IUpdateCategorizationRuleAdminParams {
|
|
23
|
-
categorizationRuleId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface IUpdateCategorizationRuleAdminBody {
|
|
26
|
-
name?: string;
|
|
27
|
-
description?: string | null;
|
|
28
|
-
rules?: CategorizationRules[];
|
|
29
|
-
isActive?: boolean;
|
|
30
|
-
categoryIds?: string[];
|
|
31
|
-
}
|
|
32
|
-
export interface IApplyCategorizationRuleAdminParams {
|
|
33
|
-
categorizationRuleId: string;
|
|
34
|
-
}
|
|
1
|
+
import { CategorizationRules } from '../../models/categorization-rule.model';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export type IPaginateCategorizationRuleAdminQuery = {
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
userId?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
} & QueryPaginate;
|
|
8
|
+
export interface IGetCategorizationRuleAdminParams {
|
|
9
|
+
categorizationRuleId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IDeleteCategorizationRuleAdminParams {
|
|
12
|
+
categorizationRuleId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateCategorizationRuleAdminBody {
|
|
15
|
+
userId: string;
|
|
16
|
+
name: string;
|
|
17
|
+
description: string | null;
|
|
18
|
+
rules: CategorizationRules[];
|
|
19
|
+
isActive: boolean;
|
|
20
|
+
categoryIds: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface IUpdateCategorizationRuleAdminParams {
|
|
23
|
+
categorizationRuleId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IUpdateCategorizationRuleAdminBody {
|
|
26
|
+
name?: string;
|
|
27
|
+
description?: string | null;
|
|
28
|
+
rules?: CategorizationRules[];
|
|
29
|
+
isActive?: boolean;
|
|
30
|
+
categoryIds?: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface IApplyCategorizationRuleAdminParams {
|
|
33
|
+
categorizationRuleId: string;
|
|
34
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { CategorizationRules } from '../../models/categorization-rule.model';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export
|
|
4
|
-
name?: string;
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
} & QueryPaginate;
|
|
7
|
-
export interface IGetCategorizationRuleParams {
|
|
8
|
-
categorizationRuleId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IDeleteCategorizationRuleParams {
|
|
11
|
-
categorizationRuleId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IApplyCategorizationRuleParams {
|
|
14
|
-
categorizationRuleId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface ICreateCategorizationRuleBody {
|
|
17
|
-
name: string;
|
|
18
|
-
description: string | null;
|
|
19
|
-
rules: CategorizationRules[];
|
|
20
|
-
isActive: boolean;
|
|
21
|
-
categoryIds: string[];
|
|
22
|
-
}
|
|
23
|
-
export interface IUpdateCategorizationRuleParams {
|
|
24
|
-
categorizationRuleId: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IUpdateCategorizationRuleBody {
|
|
27
|
-
name?: string;
|
|
28
|
-
description?: string | null;
|
|
29
|
-
rules?: CategorizationRules[];
|
|
30
|
-
isActive?: boolean;
|
|
31
|
-
categoryIds?: string[];
|
|
32
|
-
}
|
|
1
|
+
import { CategorizationRules } from '../../models/categorization-rule.model';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export type IPaginateCategorizationRuleQuery = {
|
|
4
|
+
name?: string;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
} & QueryPaginate;
|
|
7
|
+
export interface IGetCategorizationRuleParams {
|
|
8
|
+
categorizationRuleId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IDeleteCategorizationRuleParams {
|
|
11
|
+
categorizationRuleId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IApplyCategorizationRuleParams {
|
|
14
|
+
categorizationRuleId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ICreateCategorizationRuleBody {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
rules: CategorizationRules[];
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
categoryIds: string[];
|
|
22
|
+
}
|
|
23
|
+
export interface IUpdateCategorizationRuleParams {
|
|
24
|
+
categorizationRuleId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IUpdateCategorizationRuleBody {
|
|
27
|
+
name?: string;
|
|
28
|
+
description?: string | null;
|
|
29
|
+
rules?: CategorizationRules[];
|
|
30
|
+
isActive?: boolean;
|
|
31
|
+
categoryIds?: string[];
|
|
32
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
export interface IDeleteCategoryAdminParams {
|
|
3
|
-
categoryId: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ICreateCategoryAdminBody {
|
|
6
|
-
userId: string;
|
|
7
|
-
name: string;
|
|
8
|
-
color: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IUpdateCategoryAdminParams {
|
|
11
|
-
categoryId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IUpdateCategoryAdminBody {
|
|
14
|
-
name?: string;
|
|
15
|
-
color?: string;
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
userId?: string;
|
|
19
|
-
} & QueryPaginate;
|
|
20
|
-
export interface IGetCategoryAdminParams {
|
|
21
|
-
categoryId: string;
|
|
22
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IDeleteCategoryAdminParams {
|
|
3
|
+
categoryId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateCategoryAdminBody {
|
|
6
|
+
userId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
color: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IUpdateCategoryAdminParams {
|
|
11
|
+
categoryId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IUpdateCategoryAdminBody {
|
|
14
|
+
name?: string;
|
|
15
|
+
color?: string;
|
|
16
|
+
}
|
|
17
|
+
export type IPaginateCategoryAdminQuery = {
|
|
18
|
+
userId?: string;
|
|
19
|
+
} & QueryPaginate;
|
|
20
|
+
export interface IGetCategoryAdminParams {
|
|
21
|
+
categoryId: string;
|
|
22
|
+
}
|