@abyss-project/banking 1.0.2 → 1.0.3
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
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ICategorizationRule } from '../../models/categorization-rule.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetCategorizationRuleData {
|
|
5
|
-
categorizationRule: ICategorizationRule;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export interface IDeleteCategorizationRuleData {
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export interface ICreateCategorizationRuleData {
|
|
13
|
-
categorizationRule: ICategorizationRule;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdateCategorizationRuleData {
|
|
17
|
-
categorizationRule: ICategorizationRule;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export interface IApplyCategorizationRuleData {
|
|
21
|
-
}
|
|
22
|
-
export
|
|
1
|
+
import { ICategorizationRule } from '../../models/categorization-rule.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetCategorizationRuleData {
|
|
5
|
+
categorizationRule: ICategorizationRule;
|
|
6
|
+
}
|
|
7
|
+
export type IGetCategorizationRuleResponse = IResponse<IGetCategorizationRuleData>;
|
|
8
|
+
export type IPaginateCategorizationRuleResponse = IResponse<BasePaginate<ICategorizationRule>>;
|
|
9
|
+
export interface IDeleteCategorizationRuleData {
|
|
10
|
+
}
|
|
11
|
+
export type IDeleteCategorizationRuleResponse = IResponse<IDeleteCategorizationRuleData>;
|
|
12
|
+
export interface ICreateCategorizationRuleData {
|
|
13
|
+
categorizationRule: ICategorizationRule;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateCategorizationRuleResponse = IResponse<ICreateCategorizationRuleData>;
|
|
16
|
+
export interface IUpdateCategorizationRuleData {
|
|
17
|
+
categorizationRule: ICategorizationRule;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdateCategorizationRuleResponse = IResponse<IUpdateCategorizationRuleData>;
|
|
20
|
+
export interface IApplyCategorizationRuleData {
|
|
21
|
+
}
|
|
22
|
+
export type IApplyCategorizationRuleResponse = IResponse<IApplyCategorizationRuleData>;
|
|
@@ -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,19 +1,19 @@
|
|
|
1
|
-
import { ICategory } from '../../models/category.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetCategoryAdminData {
|
|
5
|
-
category: ICategory;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export interface IDeleteCategoryAdminData {
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export interface ICreateCategoryAdminData {
|
|
13
|
-
category: ICategory;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdateCategoryAdminData {
|
|
17
|
-
category: ICategory;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
1
|
+
import { ICategory } from '../../models/category.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetCategoryAdminData {
|
|
5
|
+
category: ICategory;
|
|
6
|
+
}
|
|
7
|
+
export type IGetCategoryAdminResponse = IResponse<IGetCategoryAdminData>;
|
|
8
|
+
export type IPaginateCategoryAdminResponse = IResponse<BasePaginate<ICategory>>;
|
|
9
|
+
export interface IDeleteCategoryAdminData {
|
|
10
|
+
}
|
|
11
|
+
export type IDeleteCategoryAdminResponse = IResponse<IDeleteCategoryAdminData>;
|
|
12
|
+
export interface ICreateCategoryAdminData {
|
|
13
|
+
category: ICategory;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateCategoryAdminResponse = IResponse<ICreateCategoryAdminData>;
|
|
16
|
+
export interface IUpdateCategoryAdminData {
|
|
17
|
+
category: ICategory;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdateCategoryAdminResponse = IResponse<IUpdateCategoryAdminData>;
|
|
@@ -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 { ICategory } from '../../models/category.model';
|
|
2
|
-
import { ITransactionCategory } from '../../models/transaction-category.model';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IListCategoryData {
|
|
5
|
-
category: ICategory[];
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export interface IListAnalyticsCategoryData {
|
|
9
|
-
categories: {
|
|
10
|
-
transactionCount: number;
|
|
11
|
-
category: ICategory;
|
|
12
|
-
}[];
|
|
13
|
-
}
|
|
14
|
-
export
|
|
15
|
-
export interface IRemoveCategoryData {
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
export interface IAddCategoryData {
|
|
19
|
-
transactionCategory: ITransactionCategory;
|
|
20
|
-
}
|
|
21
|
-
export
|
|
22
|
-
export interface IDeleteCategoryData {
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
export interface ICreateCategoryData {
|
|
26
|
-
category: ICategory;
|
|
27
|
-
}
|
|
28
|
-
export
|
|
29
|
-
export interface IUpdateCategoryData {
|
|
30
|
-
category: ICategory;
|
|
31
|
-
}
|
|
32
|
-
export
|
|
1
|
+
import { ICategory } from '../../models/category.model';
|
|
2
|
+
import { ITransactionCategory } from '../../models/transaction-category.model';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IListCategoryData {
|
|
5
|
+
category: ICategory[];
|
|
6
|
+
}
|
|
7
|
+
export type IListCategoryResponse = IResponse<IListCategoryData>;
|
|
8
|
+
export interface IListAnalyticsCategoryData {
|
|
9
|
+
categories: {
|
|
10
|
+
transactionCount: number;
|
|
11
|
+
category: ICategory;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
export type IListAnalyticsCategoryResponse = IResponse<IListAnalyticsCategoryData>;
|
|
15
|
+
export interface IRemoveCategoryData {
|
|
16
|
+
}
|
|
17
|
+
export type IRemoveCategoryResponse = IResponse<IRemoveCategoryData>;
|
|
18
|
+
export interface IAddCategoryData {
|
|
19
|
+
transactionCategory: ITransactionCategory;
|
|
20
|
+
}
|
|
21
|
+
export type IAddCategoryResponse = IResponse<IAddCategoryData>;
|
|
22
|
+
export interface IDeleteCategoryData {
|
|
23
|
+
}
|
|
24
|
+
export type IDeleteCategoryResponse = IResponse<IDeleteCategoryData>;
|
|
25
|
+
export interface ICreateCategoryData {
|
|
26
|
+
category: ICategory;
|
|
27
|
+
}
|
|
28
|
+
export type ICreateCategoryResponse = IResponse<ICreateCategoryData>;
|
|
29
|
+
export interface IUpdateCategoryData {
|
|
30
|
+
category: ICategory;
|
|
31
|
+
}
|
|
32
|
+
export type IUpdateCategoryResponse = IResponse<IUpdateCategoryData>;
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import { IResponse } from '..';
|
|
2
|
-
export interface IUpMonitorData {
|
|
3
|
-
upTime: number;
|
|
4
|
-
processId: string;
|
|
5
|
-
requestId: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
export interface IUpMonitorData {
|
|
3
|
+
upTime: number;
|
|
4
|
+
processId: string;
|
|
5
|
+
requestId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IUpMonitorResponse = IResponse<IUpMonitorData>;
|
|
@@ -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,19 +1,19 @@
|
|
|
1
|
-
import { IPanel } from '../../models/panel.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetPanelAdminData {
|
|
5
|
-
panel: IPanel;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export interface IDeletePanelAdminData {
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export interface ICreatePanelAdminData {
|
|
13
|
-
panel: IPanel;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdatePanelAdminData {
|
|
17
|
-
panel: IPanel;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
1
|
+
import { IPanel } from '../../models/panel.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetPanelAdminData {
|
|
5
|
+
panel: IPanel;
|
|
6
|
+
}
|
|
7
|
+
export type IGetPanelAdminResponse = IResponse<IGetPanelAdminData>;
|
|
8
|
+
export type IPaginatePanelAdminResponse = IResponse<BasePaginate<IPanel>>;
|
|
9
|
+
export interface IDeletePanelAdminData {
|
|
10
|
+
}
|
|
11
|
+
export type IDeletePanelAdminResponse = IResponse<IDeletePanelAdminData>;
|
|
12
|
+
export interface ICreatePanelAdminData {
|
|
13
|
+
panel: IPanel;
|
|
14
|
+
}
|
|
15
|
+
export type ICreatePanelAdminResponse = IResponse<ICreatePanelAdminData>;
|
|
16
|
+
export interface IUpdatePanelAdminData {
|
|
17
|
+
panel: IPanel;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdatePanelAdminResponse = IResponse<IUpdatePanelAdminData>;
|
|
@@ -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,19 +1,19 @@
|
|
|
1
|
-
import { IPanel } from '../../models/panel.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetPanelData {
|
|
5
|
-
panel: IPanel;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export interface IDeletePanelData {
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export interface ICreatePanelData {
|
|
13
|
-
panel: IPanel;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdatePanelData {
|
|
17
|
-
panel: IPanel;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
1
|
+
import { IPanel } from '../../models/panel.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetPanelData {
|
|
5
|
+
panel: IPanel;
|
|
6
|
+
}
|
|
7
|
+
export type IGetPanelResponse = IResponse<IGetPanelData>;
|
|
8
|
+
export type IPaginatePanelResponse = IResponse<BasePaginate<IPanel>>;
|
|
9
|
+
export interface IDeletePanelData {
|
|
10
|
+
}
|
|
11
|
+
export type IDeletePanelResponse = IResponse<IDeletePanelData>;
|
|
12
|
+
export interface ICreatePanelData {
|
|
13
|
+
panel: IPanel;
|
|
14
|
+
}
|
|
15
|
+
export type ICreatePanelResponse = IResponse<ICreatePanelData>;
|
|
16
|
+
export interface IUpdatePanelData {
|
|
17
|
+
panel: IPanel;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdatePanelResponse = IResponse<IUpdatePanelData>;
|
|
@@ -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,3 +1,3 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
export type ICheckIntegrityStorageAdminData = Record<string, never>;
|
|
3
|
+
export type ICheckIntegrityStorageAdminResponse = IResponse<ICheckIntegrityStorageAdminData>;
|
|
@@ -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,14 +1,14 @@
|
|
|
1
|
-
import { BasePaginate, IResponse, IUser } from '../..';
|
|
2
|
-
export interface IGetUserAdminData {
|
|
3
|
-
user: IUser;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export interface IUpdateUserAdminData {
|
|
8
|
-
user: IUser;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
export interface IResetApiKeyUserAdminData {
|
|
12
|
-
user: IUser;
|
|
13
|
-
}
|
|
14
|
-
export
|
|
1
|
+
import { BasePaginate, IResponse, IUser } from '../..';
|
|
2
|
+
export interface IGetUserAdminData {
|
|
3
|
+
user: IUser;
|
|
4
|
+
}
|
|
5
|
+
export type IGetUserAdminResponse = IResponse<IGetUserAdminData>;
|
|
6
|
+
export type IPaginateUserAdminResponse = IResponse<BasePaginate<IUser>>;
|
|
7
|
+
export interface IUpdateUserAdminData {
|
|
8
|
+
user: IUser;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateUserAdminResponse = IResponse<IUpdateUserAdminData>;
|
|
11
|
+
export interface IResetApiKeyUserAdminData {
|
|
12
|
+
user: IUser;
|
|
13
|
+
}
|
|
14
|
+
export type IResetApiKeyUserAdminResponse = IResponse<IResetApiKeyUserAdminData>;
|
|
@@ -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,13 +1,13 @@
|
|
|
1
|
-
import { IResponse, IUser } from '../..';
|
|
2
|
-
export interface IMeUserData {
|
|
3
|
-
user: IUser;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export interface IResetApiKeyUserData {
|
|
7
|
-
user: IUser;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface IUpdateUserData {
|
|
11
|
-
user: IUser;
|
|
12
|
-
}
|
|
13
|
-
export
|
|
1
|
+
import { IResponse, IUser } from '../..';
|
|
2
|
+
export interface IMeUserData {
|
|
3
|
+
user: IUser;
|
|
4
|
+
}
|
|
5
|
+
export type IMeUserResponse = IResponse<IMeUserData>;
|
|
6
|
+
export interface IResetApiKeyUserData {
|
|
7
|
+
user: IUser;
|
|
8
|
+
}
|
|
9
|
+
export type IResetApiKeyUserResponse = IResponse<IResetApiKeyUserData>;
|
|
10
|
+
export interface IUpdateUserData {
|
|
11
|
+
user: IUser;
|
|
12
|
+
}
|
|
13
|
+
export type IUpdateUserResponse = IResponse<IUpdateUserData>;
|
|
@@ -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,8 +1,8 @@
|
|
|
1
|
-
import { Code, ErrorType } from '../../../enum';
|
|
2
|
-
export interface IApiError {
|
|
3
|
-
type: ErrorType;
|
|
4
|
-
code: Code;
|
|
5
|
-
message: string;
|
|
6
|
-
params?: string;
|
|
7
|
-
field?: string;
|
|
8
|
-
}
|
|
1
|
+
import { Code, ErrorType } from '../../../enum';
|
|
2
|
+
export interface IApiError {
|
|
3
|
+
type: ErrorType;
|
|
4
|
+
code: Code;
|
|
5
|
+
message: string;
|
|
6
|
+
params?: string;
|
|
7
|
+
field?: string;
|
|
8
|
+
}
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
export interface BaseOrder {
|
|
2
|
-
orderBy?: string;
|
|
3
|
-
descending?: boolean;
|
|
4
|
-
}
|
|
1
|
+
export interface BaseOrder {
|
|
2
|
+
orderBy?: string;
|
|
3
|
+
descending?: boolean;
|
|
4
|
+
}
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
export interface BasePaginate<T> {
|
|
2
|
-
maxPages: number;
|
|
3
|
-
currentPage: number;
|
|
4
|
-
totalItems: number;
|
|
5
|
-
data: T[];
|
|
6
|
-
}
|
|
7
|
-
export interface QueryPaginate {
|
|
8
|
-
page?: number;
|
|
9
|
-
limit?: number;
|
|
10
|
-
}
|
|
1
|
+
export interface BasePaginate<T> {
|
|
2
|
+
maxPages: number;
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalItems: number;
|
|
5
|
+
data: T[];
|
|
6
|
+
}
|
|
7
|
+
export interface QueryPaginate {
|
|
8
|
+
page?: number;
|
|
9
|
+
limit?: number;
|
|
10
|
+
}
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { IApiError } from './api-error';
|
|
2
|
-
export interface IResponse<T> {
|
|
3
|
-
data: T;
|
|
4
|
-
error?: IApiError | Error;
|
|
5
|
-
}
|
|
1
|
+
import { IApiError } from './api-error';
|
|
2
|
+
export interface IResponse<T> {
|
|
3
|
+
data: T;
|
|
4
|
+
error?: IApiError | Error;
|
|
5
|
+
}
|
|
@@ -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,13 +1,13 @@
|
|
|
1
|
-
export * from './models/user.model';
|
|
2
|
-
export * from './models/aggregator-link.model';
|
|
3
|
-
export * from './models/bank-connection.model';
|
|
4
|
-
export * from './models/bank-account.model';
|
|
5
|
-
export * from './models/bank-account-history.model';
|
|
6
|
-
export * from './models/account-transaction.model';
|
|
7
|
-
export * from './models/aggregator-bank.model';
|
|
8
|
-
export * from './models/category.model';
|
|
9
|
-
export * from './models/transaction-category.model';
|
|
10
|
-
export * from './models/categorization-rule.model';
|
|
11
|
-
export * from './models/categorization-rule-category.model';
|
|
12
|
-
export * from './models/panel.model';
|
|
13
|
-
export * from './api';
|
|
1
|
+
export * from './models/user.model';
|
|
2
|
+
export * from './models/aggregator-link.model';
|
|
3
|
+
export * from './models/bank-connection.model';
|
|
4
|
+
export * from './models/bank-account.model';
|
|
5
|
+
export * from './models/bank-account-history.model';
|
|
6
|
+
export * from './models/account-transaction.model';
|
|
7
|
+
export * from './models/aggregator-bank.model';
|
|
8
|
+
export * from './models/category.model';
|
|
9
|
+
export * from './models/transaction-category.model';
|
|
10
|
+
export * from './models/categorization-rule.model';
|
|
11
|
+
export * from './models/categorization-rule-category.model';
|
|
12
|
+
export * from './models/panel.model';
|
|
13
|
+
export * from './api';
|
|
@@ -1,25 +1,29 @@
|
|
|
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("./models/
|
|
18
|
-
__exportStar(require("./models/
|
|
19
|
-
__exportStar(require("./models/
|
|
20
|
-
__exportStar(require("./models/
|
|
21
|
-
__exportStar(require("./models/
|
|
22
|
-
__exportStar(require("./models/
|
|
23
|
-
__exportStar(require("./models/
|
|
24
|
-
__exportStar(require("./models/
|
|
25
|
-
__exportStar(require("./
|
|
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("./models/user.model"), exports);
|
|
18
|
+
__exportStar(require("./models/aggregator-link.model"), exports);
|
|
19
|
+
__exportStar(require("./models/bank-connection.model"), exports);
|
|
20
|
+
__exportStar(require("./models/bank-account.model"), exports);
|
|
21
|
+
__exportStar(require("./models/bank-account-history.model"), exports);
|
|
22
|
+
__exportStar(require("./models/account-transaction.model"), exports);
|
|
23
|
+
__exportStar(require("./models/aggregator-bank.model"), exports);
|
|
24
|
+
__exportStar(require("./models/category.model"), exports);
|
|
25
|
+
__exportStar(require("./models/transaction-category.model"), exports);
|
|
26
|
+
__exportStar(require("./models/categorization-rule.model"), exports);
|
|
27
|
+
__exportStar(require("./models/categorization-rule-category.model"), exports);
|
|
28
|
+
__exportStar(require("./models/panel.model"), exports);
|
|
29
|
+
__exportStar(require("./api"), exports);
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { IBankAccount } from './bank-account.model';
|
|
2
|
-
import { ITransactionCategory } from './transaction-category.model';
|
|
3
|
-
export
|
|
4
|
-
debtorAgent?: string;
|
|
5
|
-
debtorName?: string;
|
|
6
|
-
debtorAccount?: unknown;
|
|
7
|
-
additionalDataStructured?: unknown;
|
|
8
|
-
additionalInformation?: string;
|
|
9
|
-
additionalInformationStructured?: string;
|
|
10
|
-
bankTransactionCode?: string;
|
|
11
|
-
proprietaryBankTransactionCode?: string;
|
|
12
|
-
currencyExchange?: unknown;
|
|
13
|
-
ultimateCreditor?: string;
|
|
14
|
-
ultimateDebtor?: string;
|
|
15
|
-
internalTransactionId?: string;
|
|
16
|
-
transactionId?: string;
|
|
17
|
-
bookingDate?: string;
|
|
18
|
-
bookingDateTime?: string;
|
|
19
|
-
valueDate?: string;
|
|
20
|
-
valueDateTime?: string;
|
|
21
|
-
remittanceInformationUnstructured?: string;
|
|
22
|
-
remittanceInformationUnstructuredArray?: string[];
|
|
23
|
-
remittanceInformationStructured?: string;
|
|
24
|
-
remittanceInformationStructuredArray?: string[];
|
|
25
|
-
};
|
|
26
|
-
export interface IAccountTransaction {
|
|
27
|
-
id?: string;
|
|
28
|
-
date: Date;
|
|
29
|
-
amount: number;
|
|
30
|
-
currency: string;
|
|
31
|
-
description: string;
|
|
32
|
-
comment: string | null;
|
|
33
|
-
aggregatorTransactionId: string;
|
|
34
|
-
bankAccountId: string;
|
|
35
|
-
mandateId: string | null;
|
|
36
|
-
merchantCategoryCode: string | null;
|
|
37
|
-
entryReference: string | null;
|
|
38
|
-
endToEndId: string | null;
|
|
39
|
-
purposeCode: string | null;
|
|
40
|
-
checkId: string | null;
|
|
41
|
-
metadata: AccountTransactionMetadata;
|
|
42
|
-
updatedAt?: Date;
|
|
43
|
-
createdAt?: Date;
|
|
44
|
-
bankAccount?: IBankAccount;
|
|
45
|
-
transactionCategory?: ITransactionCategory[];
|
|
46
|
-
}
|
|
1
|
+
import { IBankAccount } from './bank-account.model';
|
|
2
|
+
import { ITransactionCategory } from './transaction-category.model';
|
|
3
|
+
export type AccountTransactionMetadata = {
|
|
4
|
+
debtorAgent?: string;
|
|
5
|
+
debtorName?: string;
|
|
6
|
+
debtorAccount?: unknown;
|
|
7
|
+
additionalDataStructured?: unknown;
|
|
8
|
+
additionalInformation?: string;
|
|
9
|
+
additionalInformationStructured?: string;
|
|
10
|
+
bankTransactionCode?: string;
|
|
11
|
+
proprietaryBankTransactionCode?: string;
|
|
12
|
+
currencyExchange?: unknown;
|
|
13
|
+
ultimateCreditor?: string;
|
|
14
|
+
ultimateDebtor?: string;
|
|
15
|
+
internalTransactionId?: string;
|
|
16
|
+
transactionId?: string;
|
|
17
|
+
bookingDate?: string;
|
|
18
|
+
bookingDateTime?: string;
|
|
19
|
+
valueDate?: string;
|
|
20
|
+
valueDateTime?: string;
|
|
21
|
+
remittanceInformationUnstructured?: string;
|
|
22
|
+
remittanceInformationUnstructuredArray?: string[];
|
|
23
|
+
remittanceInformationStructured?: string;
|
|
24
|
+
remittanceInformationStructuredArray?: string[];
|
|
25
|
+
};
|
|
26
|
+
export interface IAccountTransaction {
|
|
27
|
+
id?: string;
|
|
28
|
+
date: Date;
|
|
29
|
+
amount: number;
|
|
30
|
+
currency: string;
|
|
31
|
+
description: string;
|
|
32
|
+
comment: string | null;
|
|
33
|
+
aggregatorTransactionId: string;
|
|
34
|
+
bankAccountId: string;
|
|
35
|
+
mandateId: string | null;
|
|
36
|
+
merchantCategoryCode: string | null;
|
|
37
|
+
entryReference: string | null;
|
|
38
|
+
endToEndId: string | null;
|
|
39
|
+
purposeCode: string | null;
|
|
40
|
+
checkId: string | null;
|
|
41
|
+
metadata: AccountTransactionMetadata;
|
|
42
|
+
updatedAt?: Date;
|
|
43
|
+
createdAt?: Date;
|
|
44
|
+
bankAccount?: IBankAccount;
|
|
45
|
+
transactionCategory?: ITransactionCategory[];
|
|
46
|
+
}
|