@abyss-project/banking 1.0.1 → 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 -84
- 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,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface IRemoveCategoryParams {
|
|
2
|
-
transactionCategoryId: string;
|
|
3
|
-
}
|
|
4
|
-
export interface IAddCategoryParams {
|
|
5
|
-
categoryId: string;
|
|
6
|
-
accountTransactionId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IDeleteCategoryParams {
|
|
9
|
-
categoryId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ICreateCategoryBody {
|
|
12
|
-
name: string;
|
|
13
|
-
color: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateCategoryParams {
|
|
16
|
-
categoryId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IUpdateCategoryBody {
|
|
19
|
-
name?: string;
|
|
20
|
-
color?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IListAnalyticsCategoryQuery {
|
|
23
|
-
bankAccountId?: string[];
|
|
24
|
-
before?: Date;
|
|
25
|
-
after?: Date;
|
|
26
|
-
}
|
|
1
|
+
export interface IRemoveCategoryParams {
|
|
2
|
+
transactionCategoryId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IAddCategoryParams {
|
|
5
|
+
categoryId: string;
|
|
6
|
+
accountTransactionId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IDeleteCategoryParams {
|
|
9
|
+
categoryId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateCategoryBody {
|
|
12
|
+
name: string;
|
|
13
|
+
color: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IUpdateCategoryParams {
|
|
16
|
+
categoryId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IUpdateCategoryBody {
|
|
19
|
+
name?: string;
|
|
20
|
+
color?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IListAnalyticsCategoryQuery {
|
|
23
|
+
bankAccountId?: string[];
|
|
24
|
+
before?: Date;
|
|
25
|
+
after?: Date;
|
|
26
|
+
}
|
|
@@ -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,23 +1,23 @@
|
|
|
1
|
-
import { PanelComposition } from '../../models/panel.model';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export
|
|
4
|
-
name?: string;
|
|
5
|
-
} & QueryPaginate;
|
|
6
|
-
export interface IGetPanelAdminParams {
|
|
7
|
-
panelId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IDeletePanelAdminParams {
|
|
10
|
-
panelId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ICreatePanelAdminBody {
|
|
13
|
-
userId: string;
|
|
14
|
-
name: string;
|
|
15
|
-
composition: PanelComposition;
|
|
16
|
-
}
|
|
17
|
-
export interface IUpdatePanelAdminParams {
|
|
18
|
-
panelId: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IUpdatePanelAdminBody {
|
|
21
|
-
name?: string;
|
|
22
|
-
composition?: PanelComposition;
|
|
23
|
-
}
|
|
1
|
+
import { PanelComposition } from '../../models/panel.model';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export type IPaginatePanelAdminQuery = {
|
|
4
|
+
name?: string;
|
|
5
|
+
} & QueryPaginate;
|
|
6
|
+
export interface IGetPanelAdminParams {
|
|
7
|
+
panelId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IDeletePanelAdminParams {
|
|
10
|
+
panelId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreatePanelAdminBody {
|
|
13
|
+
userId: string;
|
|
14
|
+
name: string;
|
|
15
|
+
composition: PanelComposition;
|
|
16
|
+
}
|
|
17
|
+
export interface IUpdatePanelAdminParams {
|
|
18
|
+
panelId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IUpdatePanelAdminBody {
|
|
21
|
+
name?: string;
|
|
22
|
+
composition?: PanelComposition;
|
|
23
|
+
}
|
|
@@ -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 { PanelComposition } from '../../models/panel.model';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export
|
|
4
|
-
name?: string;
|
|
5
|
-
} & QueryPaginate;
|
|
6
|
-
export interface IGetPanelParams {
|
|
7
|
-
panelId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IDeletePanelParams {
|
|
10
|
-
panelId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ICreatePanelBody {
|
|
13
|
-
name: string;
|
|
14
|
-
composition: PanelComposition;
|
|
15
|
-
}
|
|
16
|
-
export interface IUpdatePanelParams {
|
|
17
|
-
panelId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IUpdatePanelBody {
|
|
20
|
-
name?: string;
|
|
21
|
-
composition?: PanelComposition;
|
|
22
|
-
}
|
|
1
|
+
import { PanelComposition } from '../../models/panel.model';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export type IPaginatePanelQuery = {
|
|
4
|
+
name?: string;
|
|
5
|
+
} & QueryPaginate;
|
|
6
|
+
export interface IGetPanelParams {
|
|
7
|
+
panelId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IDeletePanelParams {
|
|
10
|
+
panelId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreatePanelBody {
|
|
13
|
+
name: string;
|
|
14
|
+
composition: PanelComposition;
|
|
15
|
+
}
|
|
16
|
+
export interface IUpdatePanelParams {
|
|
17
|
+
panelId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IUpdatePanelBody {
|
|
20
|
+
name?: string;
|
|
21
|
+
composition?: PanelComposition;
|
|
22
|
+
}
|
|
@@ -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,15 +1,15 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserAdminParams extends core.ParamsDictionary {
|
|
4
|
-
userId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface IUpdateUserAdminParams extends core.ParamsDictionary {
|
|
11
|
-
userId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IUpdateUserAdminBody {
|
|
14
|
-
isAdmin?: boolean;
|
|
15
|
-
}
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
export interface IGetUserAdminParams extends core.ParamsDictionary {
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IResetApiKeyUserAdminParams extends core.ParamsDictionary {
|
|
7
|
+
userId: string;
|
|
8
|
+
}
|
|
9
|
+
export type IPaginateUserAdminQuery = QueryPaginate;
|
|
10
|
+
export interface IUpdateUserAdminParams extends core.ParamsDictionary {
|
|
11
|
+
userId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IUpdateUserAdminBody {
|
|
14
|
+
isAdmin?: boolean;
|
|
15
|
+
}
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
export interface IUpdateUserBody {
|
|
2
|
-
}
|
|
1
|
+
export interface IUpdateUserBody {
|
|
2
|
+
}
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import { IUser } from '../../models/user.model';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
export interface IActivateUserServiceAbyssAdminData {
|
|
4
|
-
user: IUser;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
1
|
+
import { IUser } from '../../models/user.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IActivateUserServiceAbyssAdminData {
|
|
4
|
+
user: IUser;
|
|
5
|
+
}
|
|
6
|
+
export type IActivateUserServiceAbyssAdminResponse = IResponse<IActivateUserServiceAbyssAdminData>;
|
|
@@ -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,48 +1,48 @@
|
|
|
1
|
-
import { BasePaginate, IAccountTransaction, IAggregatorBank, IAggregatorLink, IBankAccount, IBankConnection, IResponse } from '../..';
|
|
2
|
-
export interface IListBankConnectionBankingAdminData {
|
|
3
|
-
aggregatorLink: IAggregatorLink[];
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export interface IGetBankConnectionBankingAdminData {
|
|
7
|
-
bankConnection: IBankConnection;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface IListInstitutionBankingAdminData {
|
|
11
|
-
institution: {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
countries: string[];
|
|
15
|
-
logoUrl: string;
|
|
16
|
-
bic: string;
|
|
17
|
-
transactionTotalDays: string;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
export
|
|
21
|
-
export interface IListBankBankingAdminData {
|
|
22
|
-
aggregatorBank: IAggregatorBank[];
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
export interface IConfirmRequisitionBankingAdminData {
|
|
26
|
-
bankConnection: IBankConnection;
|
|
27
|
-
}
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export interface IGetAccountTransactionBankingAdminData {
|
|
31
|
-
accountTransaction: IAccountTransaction;
|
|
32
|
-
}
|
|
33
|
-
export
|
|
34
|
-
export interface IUpdateAccountTransactionBankingAdminData {
|
|
35
|
-
accountTransaction: IAccountTransaction;
|
|
36
|
-
}
|
|
37
|
-
export
|
|
38
|
-
export interface IUpdateBankAccountBankingAdminData {
|
|
39
|
-
bankAccount: IBankAccount;
|
|
40
|
-
}
|
|
41
|
-
export
|
|
42
|
-
export interface ILoadDemoDataBankingAdminData {
|
|
43
|
-
aggregatorLink: IAggregatorLink;
|
|
44
|
-
}
|
|
45
|
-
export
|
|
46
|
-
export interface IDeleteDemoDataBankingAdminData {
|
|
47
|
-
}
|
|
48
|
-
export
|
|
1
|
+
import { BasePaginate, IAccountTransaction, IAggregatorBank, IAggregatorLink, IBankAccount, IBankConnection, IResponse } from '../..';
|
|
2
|
+
export interface IListBankConnectionBankingAdminData {
|
|
3
|
+
aggregatorLink: IAggregatorLink[];
|
|
4
|
+
}
|
|
5
|
+
export type IListBankConnectionBankingAdminResponse = IResponse<IListBankConnectionBankingAdminData>;
|
|
6
|
+
export interface IGetBankConnectionBankingAdminData {
|
|
7
|
+
bankConnection: IBankConnection;
|
|
8
|
+
}
|
|
9
|
+
export type IGetBankConnectionBankingAdminResponse = IResponse<IGetBankConnectionBankingAdminData>;
|
|
10
|
+
export interface IListInstitutionBankingAdminData {
|
|
11
|
+
institution: {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
countries: string[];
|
|
15
|
+
logoUrl: string;
|
|
16
|
+
bic: string;
|
|
17
|
+
transactionTotalDays: string;
|
|
18
|
+
}[];
|
|
19
|
+
}
|
|
20
|
+
export type IListInstitutionBankingAdminResponse = IResponse<IListInstitutionBankingAdminData>;
|
|
21
|
+
export interface IListBankBankingAdminData {
|
|
22
|
+
aggregatorBank: IAggregatorBank[];
|
|
23
|
+
}
|
|
24
|
+
export type IListBankBankingAdminResponse = IResponse<IListBankBankingAdminData>;
|
|
25
|
+
export interface IConfirmRequisitionBankingAdminData {
|
|
26
|
+
bankConnection: IBankConnection;
|
|
27
|
+
}
|
|
28
|
+
export type IConfirmRequisitionBankingAdminResponse = IResponse<IConfirmRequisitionBankingAdminData>;
|
|
29
|
+
export type IPaginateAccountTransactionBankingAdminResponse = IResponse<BasePaginate<IAccountTransaction>>;
|
|
30
|
+
export interface IGetAccountTransactionBankingAdminData {
|
|
31
|
+
accountTransaction: IAccountTransaction;
|
|
32
|
+
}
|
|
33
|
+
export type IGetAccountTransactionBankingAdminResponse = IResponse<IGetAccountTransactionBankingAdminData>;
|
|
34
|
+
export interface IUpdateAccountTransactionBankingAdminData {
|
|
35
|
+
accountTransaction: IAccountTransaction;
|
|
36
|
+
}
|
|
37
|
+
export type IUpdateAccountTransactionBankingAdminResponse = IResponse<IUpdateAccountTransactionBankingAdminData>;
|
|
38
|
+
export interface IUpdateBankAccountBankingAdminData {
|
|
39
|
+
bankAccount: IBankAccount;
|
|
40
|
+
}
|
|
41
|
+
export type IUpdateBankAccountBankingAdminResponse = IResponse<IUpdateBankAccountBankingAdminData>;
|
|
42
|
+
export interface ILoadDemoDataBankingAdminData {
|
|
43
|
+
aggregatorLink: IAggregatorLink;
|
|
44
|
+
}
|
|
45
|
+
export type ILoadDemoDataBankingAdminResponse = IResponse<ILoadDemoDataBankingAdminData>;
|
|
46
|
+
export interface IDeleteDemoDataBankingAdminData {
|
|
47
|
+
}
|
|
48
|
+
export type IDeleteDemoDataBankingAdminResponse = IResponse<IDeleteDemoDataBankingAdminData>;
|
|
@@ -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,86 +1,112 @@
|
|
|
1
|
-
import { BasePaginate, IAccountTransaction, IAggregatorBank, IAggregatorLink, IBankAccount, IBankAccountHistory, IBankConnection, IResponse } from '../..';
|
|
2
|
-
export interface IListConnectionBankingData {
|
|
3
|
-
aggregatorLink: IAggregatorLink[];
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export interface IGetBankConnectionBankingData {
|
|
7
|
-
bankConnection: IBankConnection;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface IListInstitutionBankingData {
|
|
11
|
-
institution: {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
countries: string[];
|
|
15
|
-
logoUrl: string;
|
|
16
|
-
bic: string;
|
|
17
|
-
transactionTotalDays: string;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
export
|
|
21
|
-
export interface
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
export
|
|
57
|
-
export interface
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
1
|
+
import { BasePaginate, IAccountTransaction, IAggregatorBank, IAggregatorLink, IBankAccount, IBankAccountHistory, IBankConnection, IResponse } from '../..';
|
|
2
|
+
export interface IListConnectionBankingData {
|
|
3
|
+
aggregatorLink: IAggregatorLink[];
|
|
4
|
+
}
|
|
5
|
+
export type IListConnectionBankingResponse = IResponse<IListConnectionBankingData>;
|
|
6
|
+
export interface IGetBankConnectionBankingData {
|
|
7
|
+
bankConnection: IBankConnection;
|
|
8
|
+
}
|
|
9
|
+
export type IGetBankConnectionBankingResponse = IResponse<IGetBankConnectionBankingData>;
|
|
10
|
+
export interface IListInstitutionBankingData {
|
|
11
|
+
institution: {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
countries: string[];
|
|
15
|
+
logoUrl: string;
|
|
16
|
+
bic: string;
|
|
17
|
+
transactionTotalDays: string;
|
|
18
|
+
}[];
|
|
19
|
+
}
|
|
20
|
+
export type IListInstitutionBankingResponse = IResponse<IListInstitutionBankingData>;
|
|
21
|
+
export interface ICoverageInstitutionBankingData {
|
|
22
|
+
institutions: {
|
|
23
|
+
country: string;
|
|
24
|
+
countryCode: string;
|
|
25
|
+
flagIcon: string;
|
|
26
|
+
institutions: {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
bic: string;
|
|
30
|
+
transaction_total_days: string;
|
|
31
|
+
logo: string;
|
|
32
|
+
}[];
|
|
33
|
+
}[];
|
|
34
|
+
}
|
|
35
|
+
export type ICoverageInstitutionBankingResponse = IResponse<ICoverageInstitutionBankingData>;
|
|
36
|
+
export interface IListBankBankingData {
|
|
37
|
+
aggregatorBank: IAggregatorBank[];
|
|
38
|
+
}
|
|
39
|
+
export type IListBankBankingResponse = IResponse<IListBankBankingData>;
|
|
40
|
+
export interface ICreateRequisitionBankingData {
|
|
41
|
+
connectionLink: string;
|
|
42
|
+
}
|
|
43
|
+
export type ICreateRequisitionBankingResponse = IResponse<ICreateRequisitionBankingData>;
|
|
44
|
+
export interface IRenewRequisitionBankingData {
|
|
45
|
+
connectionLink: string;
|
|
46
|
+
}
|
|
47
|
+
export type IRenewRequisitionBankingResponse = IResponse<IRenewRequisitionBankingData>;
|
|
48
|
+
export interface IConfirmRequisitionBankingData {
|
|
49
|
+
bankConnection: IBankConnection;
|
|
50
|
+
}
|
|
51
|
+
export type IConfirmRequisitionBankingResponse = IResponse<IConfirmRequisitionBankingData>;
|
|
52
|
+
export type IPaginateAccountTransactionBankingResponse = IResponse<BasePaginate<IAccountTransaction>>;
|
|
53
|
+
export interface IGetAccountTransactionBankingData {
|
|
54
|
+
accountTransaction: IAccountTransaction;
|
|
55
|
+
}
|
|
56
|
+
export type IGetAccountTransactionBankingResponse = IResponse<IGetAccountTransactionBankingData>;
|
|
57
|
+
export interface IUpdateAccountTransactionBankingData {
|
|
58
|
+
accountTransaction: IAccountTransaction;
|
|
59
|
+
}
|
|
60
|
+
export type IUpdateAccountTransactionBankingResponse = IResponse<IUpdateAccountTransactionBankingData>;
|
|
61
|
+
export interface IUpdateBankAccountBankingData {
|
|
62
|
+
bankAccount: IBankAccount;
|
|
63
|
+
}
|
|
64
|
+
export type IUpdateBankAccountBankingResponse = IResponse<IUpdateBankAccountBankingData>;
|
|
65
|
+
export interface ILoadDemoDataBankingData {
|
|
66
|
+
aggregatorLink: IAggregatorLink;
|
|
67
|
+
}
|
|
68
|
+
export type ILoadDemoDataBankingResponse = IResponse<ILoadDemoDataBankingData>;
|
|
69
|
+
export interface IDeleteDemoDataBankingData {
|
|
70
|
+
}
|
|
71
|
+
export type IDeleteDemoDataBankingResponse = IResponse<IDeleteDemoDataBankingData>;
|
|
72
|
+
export interface IGetTransactionPerCategoryBankingData {
|
|
73
|
+
analytics: {
|
|
74
|
+
bankAccountId: string;
|
|
75
|
+
transactionCount: number;
|
|
76
|
+
}[];
|
|
77
|
+
}
|
|
78
|
+
export type IGetTransactionPerCategoryBankingResponse = IResponse<IGetTransactionPerCategoryBankingData>;
|
|
79
|
+
export interface IGetSumTransactionPerBankAccountPerCategoryBankingData {
|
|
80
|
+
analytics: {
|
|
81
|
+
bankAccountId: string;
|
|
82
|
+
categories: {
|
|
83
|
+
categoryId: string | null;
|
|
84
|
+
transactionCount: number;
|
|
85
|
+
transactionSum: number;
|
|
86
|
+
transactions: {
|
|
87
|
+
id: string;
|
|
88
|
+
amount: number;
|
|
89
|
+
date: Date;
|
|
90
|
+
description: string;
|
|
91
|
+
comment: string | null;
|
|
92
|
+
}[];
|
|
93
|
+
}[];
|
|
94
|
+
}[];
|
|
95
|
+
}
|
|
96
|
+
export type IGetSumTransactionPerBankAccountPerCategoryBankingResponse = IResponse<IGetSumTransactionPerBankAccountPerCategoryBankingData>;
|
|
97
|
+
export type IPaginateBankAccountHistoryBankingResponse = IResponse<BasePaginate<IBankAccountHistory>>;
|
|
98
|
+
export interface IListBankAccountHistoryBankingData {
|
|
99
|
+
bankAccountHistory: IBankAccountHistory[];
|
|
100
|
+
}
|
|
101
|
+
export type IListBankAccountHistoryBankingResponse = IResponse<IListBankAccountHistoryBankingData>;
|
|
102
|
+
export interface IGetTopTransactionBankingData {
|
|
103
|
+
transactions: {
|
|
104
|
+
bankAccountId: string;
|
|
105
|
+
description: string;
|
|
106
|
+
amount: number;
|
|
107
|
+
date: Date;
|
|
108
|
+
id: string;
|
|
109
|
+
categoryIds: string[];
|
|
110
|
+
}[];
|
|
111
|
+
}
|
|
112
|
+
export type IGetTopTransactionBankingResponse = IResponse<IGetTopTransactionBankingData>;
|
|
@@ -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 { ICategorizationRule } from '../../models/categorization-rule.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetCategorizationRuleAdminData {
|
|
5
|
-
categorizationRule: ICategorizationRule;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export interface IDeleteCategorizationRuleAdminData {
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export interface ICreateCategorizationRuleAdminData {
|
|
13
|
-
categorizationRule: ICategorizationRule;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export interface IUpdateCategorizationRuleAdminData {
|
|
17
|
-
categorizationRule: ICategorizationRule;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export interface IApplyCategorizationRuleAdminData {
|
|
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 IGetCategorizationRuleAdminData {
|
|
5
|
+
categorizationRule: ICategorizationRule;
|
|
6
|
+
}
|
|
7
|
+
export type IGetCategorizationRuleAdminResponse = IResponse<IGetCategorizationRuleAdminData>;
|
|
8
|
+
export type IPaginateCategorizationRuleAdminResponse = IResponse<BasePaginate<ICategorizationRule>>;
|
|
9
|
+
export interface IDeleteCategorizationRuleAdminData {
|
|
10
|
+
}
|
|
11
|
+
export type IDeleteCategorizationRuleAdminResponse = IResponse<IDeleteCategorizationRuleAdminData>;
|
|
12
|
+
export interface ICreateCategorizationRuleAdminData {
|
|
13
|
+
categorizationRule: ICategorizationRule;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateCategorizationRuleAdminResponse = IResponse<ICreateCategorizationRuleAdminData>;
|
|
16
|
+
export interface IUpdateCategorizationRuleAdminData {
|
|
17
|
+
categorizationRule: ICategorizationRule;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdateCategorizationRuleAdminResponse = IResponse<IUpdateCategorizationRuleAdminData>;
|
|
20
|
+
export interface IApplyCategorizationRuleAdminData {
|
|
21
|
+
}
|
|
22
|
+
export type IApplyCategorizationRuleAdminResponse = IResponse<IApplyCategorizationRuleAdminData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|