@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.
Files changed (135) hide show
  1. package/dist/api/abyss.admin.api.d.ts +2 -2
  2. package/dist/api/abyss.admin.api.js +8 -8
  3. package/dist/api/banking.admin.api.d.ts +13 -13
  4. package/dist/api/banking.admin.api.js +52 -52
  5. package/dist/api/banking.api.d.ts +20 -18
  6. package/dist/api/banking.api.js +86 -76
  7. package/dist/api/categorization-rule.admin.api.d.ts +7 -7
  8. package/dist/api/categorization-rule.admin.api.js +28 -28
  9. package/dist/api/categorization-rule.api.d.ts +7 -7
  10. package/dist/api/categorization-rule.api.js +28 -28
  11. package/dist/api/category.admin.api.d.ts +6 -6
  12. package/dist/api/category.admin.api.js +27 -27
  13. package/dist/api/category.api.d.ts +9 -9
  14. package/dist/api/category.api.js +34 -34
  15. package/dist/api/index.d.ts +12 -12
  16. package/dist/api/index.js +28 -24
  17. package/dist/api/monitor.api.d.ts +2 -2
  18. package/dist/api/monitor.api.js +8 -8
  19. package/dist/api/panel.admin.api.d.ts +6 -6
  20. package/dist/api/panel.admin.api.js +27 -27
  21. package/dist/api/panel.api.d.ts +6 -6
  22. package/dist/api/panel.api.js +28 -28
  23. package/dist/api/user.admin.api.d.ts +5 -5
  24. package/dist/api/user.admin.api.js +23 -23
  25. package/dist/api/user.api.d.ts +4 -4
  26. package/dist/api/user.api.js +17 -17
  27. package/dist/index.d.ts +19 -19
  28. package/dist/index.js +90 -86
  29. package/dist/types/enum/aggregator-type.enum.d.ts +4 -4
  30. package/dist/types/enum/aggregator-type.enum.js +8 -8
  31. package/dist/types/enum/api-error.enum.d.ts +16 -16
  32. package/dist/types/enum/api-error.enum.js +21 -21
  33. package/dist/types/enum/bank-connection-status.enum.d.ts +6 -6
  34. package/dist/types/enum/bank-connection-status.enum.js +10 -10
  35. package/dist/types/enum/cash-account-type.enum.d.ts +26 -26
  36. package/dist/types/enum/cash-account-type.enum.js +30 -30
  37. package/dist/types/enum/index.d.ts +6 -6
  38. package/dist/types/enum/index.js +22 -18
  39. package/dist/types/enum/panel-component-type.enum.d.ts +16 -12
  40. package/dist/types/enum/panel-component-type.enum.js +20 -16
  41. package/dist/types/enum/period-configuration.enum.d.ts +7 -7
  42. package/dist/types/enum/period-configuration.enum.js +11 -11
  43. package/dist/types/index.d.ts +2 -2
  44. package/dist/types/index.js +18 -14
  45. package/dist/types/interface/api/index.d.ts +27 -27
  46. package/dist/types/interface/api/index.js +43 -39
  47. package/dist/types/interface/api/requests/abyss.admin.request.d.ts +3 -3
  48. package/dist/types/interface/api/requests/abyss.admin.request.js +2 -2
  49. package/dist/types/interface/api/requests/banking.admin.request.d.ts +47 -47
  50. package/dist/types/interface/api/requests/banking.admin.request.js +2 -2
  51. package/dist/types/interface/api/requests/banking.request.d.ts +83 -75
  52. package/dist/types/interface/api/requests/banking.request.js +2 -2
  53. package/dist/types/interface/api/requests/categorization-rule.admin.request.d.ts +34 -34
  54. package/dist/types/interface/api/requests/categorization-rule.admin.request.js +2 -2
  55. package/dist/types/interface/api/requests/categorization-rule.request.d.ts +32 -32
  56. package/dist/types/interface/api/requests/categorization-rule.request.js +2 -2
  57. package/dist/types/interface/api/requests/category.admin.request.d.ts +22 -22
  58. package/dist/types/interface/api/requests/category.admin.request.js +2 -2
  59. package/dist/types/interface/api/requests/category.request.d.ts +26 -26
  60. package/dist/types/interface/api/requests/category.request.js +2 -2
  61. package/dist/types/interface/api/requests/panel.admin.request.d.ts +23 -23
  62. package/dist/types/interface/api/requests/panel.admin.request.js +2 -2
  63. package/dist/types/interface/api/requests/panel.request.d.ts +22 -22
  64. package/dist/types/interface/api/requests/panel.request.js +2 -2
  65. package/dist/types/interface/api/requests/user.admin.request.d.ts +15 -15
  66. package/dist/types/interface/api/requests/user.admin.request.js +2 -2
  67. package/dist/types/interface/api/requests/user.request.d.ts +2 -2
  68. package/dist/types/interface/api/requests/user.request.js +2 -2
  69. package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -6
  70. package/dist/types/interface/api/responses/abyss.admin.response.js +2 -2
  71. package/dist/types/interface/api/responses/banking.admin.response.d.ts +48 -48
  72. package/dist/types/interface/api/responses/banking.admin.response.js +2 -2
  73. package/dist/types/interface/api/responses/banking.response.d.ts +112 -86
  74. package/dist/types/interface/api/responses/banking.response.js +2 -2
  75. package/dist/types/interface/api/responses/categorization-rule.admin.response.d.ts +22 -22
  76. package/dist/types/interface/api/responses/categorization-rule.admin.response.js +2 -2
  77. package/dist/types/interface/api/responses/categorization-rule.response.d.ts +22 -22
  78. package/dist/types/interface/api/responses/categorization-rule.response.js +2 -2
  79. package/dist/types/interface/api/responses/category.admin.response.d.ts +19 -19
  80. package/dist/types/interface/api/responses/category.admin.response.js +2 -2
  81. package/dist/types/interface/api/responses/category.response.d.ts +32 -32
  82. package/dist/types/interface/api/responses/category.response.js +2 -2
  83. package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
  84. package/dist/types/interface/api/responses/monitor.response.js +2 -2
  85. package/dist/types/interface/api/responses/panel.admin.response.d.ts +19 -19
  86. package/dist/types/interface/api/responses/panel.admin.response.js +2 -2
  87. package/dist/types/interface/api/responses/panel.response.d.ts +19 -19
  88. package/dist/types/interface/api/responses/panel.response.js +2 -2
  89. package/dist/types/interface/api/responses/storage.admin.response.d.ts +3 -3
  90. package/dist/types/interface/api/responses/storage.admin.response.js +2 -2
  91. package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -14
  92. package/dist/types/interface/api/responses/user.admin.response.js +2 -2
  93. package/dist/types/interface/api/responses/user.response.d.ts +13 -13
  94. package/dist/types/interface/api/responses/user.response.js +2 -2
  95. package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
  96. package/dist/types/interface/api/type-message/api-error.js +2 -2
  97. package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
  98. package/dist/types/interface/api/type-message/base-order.js +2 -2
  99. package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
  100. package/dist/types/interface/api/type-message/base-paginate.js +2 -2
  101. package/dist/types/interface/api/type-message/response.d.ts +5 -5
  102. package/dist/types/interface/api/type-message/response.js +2 -2
  103. package/dist/types/interface/index.d.ts +13 -13
  104. package/dist/types/interface/index.js +29 -25
  105. package/dist/types/interface/models/account-transaction.model.d.ts +46 -46
  106. package/dist/types/interface/models/account-transaction.model.js +2 -2
  107. package/dist/types/interface/models/aggregator-bank.model.d.ts +12 -12
  108. package/dist/types/interface/models/aggregator-bank.model.js +2 -2
  109. package/dist/types/interface/models/aggregator-link.model.d.ts +12 -12
  110. package/dist/types/interface/models/aggregator-link.model.js +2 -2
  111. package/dist/types/interface/models/bank-account-history.model.d.ts +11 -11
  112. package/dist/types/interface/models/bank-account-history.model.js +2 -2
  113. package/dist/types/interface/models/bank-account.model.d.ts +26 -26
  114. package/dist/types/interface/models/bank-account.model.js +2 -2
  115. package/dist/types/interface/models/bank-connection.model.d.ts +17 -17
  116. package/dist/types/interface/models/bank-connection.model.js +2 -2
  117. package/dist/types/interface/models/categorization-rule-category.model.d.ts +11 -11
  118. package/dist/types/interface/models/categorization-rule-category.model.js +2 -2
  119. package/dist/types/interface/models/categorization-rule.model.d.ts +44 -44
  120. package/dist/types/interface/models/categorization-rule.model.js +2 -2
  121. package/dist/types/interface/models/category.model.d.ts +14 -14
  122. package/dist/types/interface/models/category.model.js +2 -2
  123. package/dist/types/interface/models/panel.model.d.ts +121 -108
  124. package/dist/types/interface/models/panel.model.js +2 -2
  125. package/dist/types/interface/models/transaction-category.model.d.ts +14 -14
  126. package/dist/types/interface/models/transaction-category.model.js +2 -2
  127. package/dist/types/interface/models/user.model.d.ts +13 -13
  128. package/dist/types/interface/models/user.model.js +2 -2
  129. package/dist/utils/error.utils.d.ts +15 -15
  130. package/dist/utils/error.utils.js +24 -24
  131. package/dist/utils/index.d.ts +1 -1
  132. package/dist/utils/index.js +17 -13
  133. package/package.json +5 -6
  134. package/dist/types/interface/models/bank-account-transaction.model.d.ts +0 -14
  135. 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 declare 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
+ 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 declare 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
+ 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 declare type IPaginateUserAdminQuery = QueryPaginate;
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 declare type IActivateUserServiceAbyssAdminResponse = IResponse<IActivateUserServiceAbyssAdminData>;
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 declare type IListBankConnectionBankingAdminResponse = IResponse<IListBankConnectionBankingAdminData>;
6
- export interface IGetBankConnectionBankingAdminData {
7
- bankConnection: IBankConnection;
8
- }
9
- export declare 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 declare type IListInstitutionBankingAdminResponse = IResponse<IListInstitutionBankingAdminData>;
21
- export interface IListBankBankingAdminData {
22
- aggregatorBank: IAggregatorBank[];
23
- }
24
- export declare type IListBankBankingAdminResponse = IResponse<IListBankBankingAdminData>;
25
- export interface IConfirmRequisitionBankingAdminData {
26
- bankConnection: IBankConnection;
27
- }
28
- export declare type IConfirmRequisitionBankingAdminResponse = IResponse<IConfirmRequisitionBankingAdminData>;
29
- export declare type IPaginateAccountTransactionBankingAdminResponse = IResponse<BasePaginate<IAccountTransaction>>;
30
- export interface IGetAccountTransactionBankingAdminData {
31
- accountTransaction: IAccountTransaction;
32
- }
33
- export declare type IGetAccountTransactionBankingAdminResponse = IResponse<IGetAccountTransactionBankingAdminData>;
34
- export interface IUpdateAccountTransactionBankingAdminData {
35
- accountTransaction: IAccountTransaction;
36
- }
37
- export declare type IUpdateAccountTransactionBankingAdminResponse = IResponse<IUpdateAccountTransactionBankingAdminData>;
38
- export interface IUpdateBankAccountBankingAdminData {
39
- bankAccount: IBankAccount;
40
- }
41
- export declare type IUpdateBankAccountBankingAdminResponse = IResponse<IUpdateBankAccountBankingAdminData>;
42
- export interface ILoadDemoDataBankingAdminData {
43
- aggregatorLink: IAggregatorLink;
44
- }
45
- export declare type ILoadDemoDataBankingAdminResponse = IResponse<ILoadDemoDataBankingAdminData>;
46
- export interface IDeleteDemoDataBankingAdminData {
47
- }
48
- export declare type IDeleteDemoDataBankingAdminResponse = IResponse<IDeleteDemoDataBankingAdminData>;
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 declare type IListConnectionBankingResponse = IResponse<IListConnectionBankingData>;
6
- export interface IGetBankConnectionBankingData {
7
- bankConnection: IBankConnection;
8
- }
9
- export declare 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 declare type IListInstitutionBankingResponse = IResponse<IListInstitutionBankingData>;
21
- export interface IListBankBankingData {
22
- aggregatorBank: IAggregatorBank[];
23
- }
24
- export declare type IListBankBankingResponse = IResponse<IListBankBankingData>;
25
- export interface ICreateRequisitionBankingData {
26
- connectionLink: string;
27
- }
28
- export declare type ICreateRequisitionBankingResponse = IResponse<ICreateRequisitionBankingData>;
29
- export interface IRenewRequisitionBankingData {
30
- connectionLink: string;
31
- }
32
- export declare type IRenewRequisitionBankingResponse = IResponse<IRenewRequisitionBankingData>;
33
- export interface IConfirmRequisitionBankingData {
34
- bankConnection: IBankConnection;
35
- }
36
- export declare type IConfirmRequisitionBankingResponse = IResponse<IConfirmRequisitionBankingData>;
37
- export declare type IPaginateAccountTransactionBankingResponse = IResponse<BasePaginate<IAccountTransaction>>;
38
- export interface IGetAccountTransactionBankingData {
39
- accountTransaction: IAccountTransaction;
40
- }
41
- export declare type IGetAccountTransactionBankingResponse = IResponse<IGetAccountTransactionBankingData>;
42
- export interface IUpdateAccountTransactionBankingData {
43
- accountTransaction: IAccountTransaction;
44
- }
45
- export declare type IUpdateAccountTransactionBankingResponse = IResponse<IUpdateAccountTransactionBankingData>;
46
- export interface IUpdateBankAccountBankingData {
47
- bankAccount: IBankAccount;
48
- }
49
- export declare type IUpdateBankAccountBankingResponse = IResponse<IUpdateBankAccountBankingData>;
50
- export interface ILoadDemoDataBankingData {
51
- aggregatorLink: IAggregatorLink;
52
- }
53
- export declare type ILoadDemoDataBankingResponse = IResponse<ILoadDemoDataBankingData>;
54
- export interface IDeleteDemoDataBankingData {
55
- }
56
- export declare type IDeleteDemoDataBankingResponse = IResponse<IDeleteDemoDataBankingData>;
57
- export interface IGetTransactionPerCategoryBankingData {
58
- analytics: {
59
- bankAccountId: string;
60
- transactionCount: number;
61
- }[];
62
- }
63
- export declare type IGetTransactionPerCategoryBankingResponse = IResponse<IGetTransactionPerCategoryBankingData>;
64
- export interface IGetSumTransactionPerBankAccountPerCategoryBankingData {
65
- analytics: {
66
- bankAccountId: string;
67
- categories: {
68
- categoryId: string | null;
69
- transactionCount: number;
70
- transactionSum: number;
71
- transactions: {
72
- id: string;
73
- amount: number;
74
- date: Date;
75
- description: string;
76
- comment: string | null;
77
- }[];
78
- }[];
79
- }[];
80
- }
81
- export declare type IGetSumTransactionPerBankAccountPerCategoryBankingResponse = IResponse<IGetSumTransactionPerBankAccountPerCategoryBankingData>;
82
- export declare type IPaginateBankAccountHistoryBankingResponse = IResponse<BasePaginate<IBankAccountHistory>>;
83
- export interface IListBankAccountHistoryBankingData {
84
- bankAccountHistory: IBankAccountHistory[];
85
- }
86
- export declare type IListBankAccountHistoryBankingResponse = IResponse<IListBankAccountHistoryBankingData>;
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 declare type IGetCategorizationRuleAdminResponse = IResponse<IGetCategorizationRuleAdminData>;
8
- export declare type IPaginateCategorizationRuleAdminResponse = IResponse<BasePaginate<ICategorizationRule>>;
9
- export interface IDeleteCategorizationRuleAdminData {
10
- }
11
- export declare type IDeleteCategorizationRuleAdminResponse = IResponse<IDeleteCategorizationRuleAdminData>;
12
- export interface ICreateCategorizationRuleAdminData {
13
- categorizationRule: ICategorizationRule;
14
- }
15
- export declare type ICreateCategorizationRuleAdminResponse = IResponse<ICreateCategorizationRuleAdminData>;
16
- export interface IUpdateCategorizationRuleAdminData {
17
- categorizationRule: ICategorizationRule;
18
- }
19
- export declare type IUpdateCategorizationRuleAdminResponse = IResponse<IUpdateCategorizationRuleAdminData>;
20
- export interface IApplyCategorizationRuleAdminData {
21
- }
22
- export declare type IApplyCategorizationRuleAdminResponse = IResponse<IApplyCategorizationRuleAdminData>;
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 });