@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
package/dist/index.js CHANGED
@@ -1,86 +1,90 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
- };
24
- var __importDefault = (this && this.__importDefault) || function (mod) {
25
- return (mod && mod.__esModule) ? mod : { "default": mod };
26
- };
27
- var _a;
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.AbyssBankingCore = exports.ADMIN_TOKEN_HEADER = exports.API_KEY_HEADER = void 0;
30
- const axios_1 = __importDefault(require("axios"));
31
- const axios_retry_1 = __importStar(require("axios-retry"));
32
- __exportStar(require("./types"), exports);
33
- __exportStar(require("./utils"), exports);
34
- __exportStar(require("./api"), exports);
35
- const DEFAULT_BASE_URL = 'https://banking-api.abyss-project.fr/api/';
36
- exports.API_KEY_HEADER = 'abyss-banking-api-key';
37
- exports.ADMIN_TOKEN_HEADER = 'abyss-admin-token';
38
- const NUMBER_RETRY_API = 10;
39
- const BASE_DELAY_BETWEEN_RETRY = 5000;
40
- const RETRY_CODES = [
41
- 502,
42
- 503,
43
- ];
44
- class AbyssBankingCore {
45
- static enableAxiosRetry(axiosRetryConfig) {
46
- (0, axios_retry_1.default)(AbyssBankingCore.axios, {
47
- retries: NUMBER_RETRY_API,
48
- retryDelay: (retryCount) => retryCount * BASE_DELAY_BETWEEN_RETRY,
49
- retryCondition: (error) => {
50
- var _b;
51
- return (0, axios_retry_1.isNetworkOrIdempotentRequestError)(error) ||
52
- RETRY_CODES.includes(((_b = error.response) === null || _b === void 0 ? void 0 : _b.status) || 502);
53
- },
54
- ...axiosRetryConfig,
55
- });
56
- }
57
- static setConfig(config) {
58
- AbyssBankingCore.config = { ...AbyssBankingCore.config, ...config };
59
- if (config.baseURL) {
60
- AbyssBankingCore.axios.defaults.baseURL = config.baseURL;
61
- }
62
- if (config.token) {
63
- AbyssBankingCore.axios.defaults.headers.common.Authorization = `Bearer ${config.token}`;
64
- }
65
- if (config.apiKey) {
66
- AbyssBankingCore.axios.defaults.headers.common[exports.API_KEY_HEADER] = `${config.apiKey}`;
67
- }
68
- if (config.adminToken) {
69
- AbyssBankingCore.axios.defaults.headers.common[exports.ADMIN_TOKEN_HEADER] = `${config.adminToken}`;
70
- }
71
- }
72
- static getConfig() {
73
- return AbyssBankingCore.config;
74
- }
75
- }
76
- exports.AbyssBankingCore = AbyssBankingCore;
77
- _a = AbyssBankingCore;
78
- AbyssBankingCore.config = {
79
- token: '',
80
- apiKey: '',
81
- apiKeyApplication: '',
82
- applicationId: '',
83
- adminToken: '',
84
- baseURL: DEFAULT_BASE_URL,
85
- };
86
- AbyssBankingCore.axios = axios_1.default.create({ baseURL: _a.config.baseURL });
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ var _a;
32
+ Object.defineProperty(exports, "__esModule", { value: true });
33
+ exports.AbyssBankingCore = exports.ADMIN_TOKEN_HEADER = exports.API_KEY_HEADER = void 0;
34
+ const axios_1 = __importDefault(require("axios"));
35
+ const axios_retry_1 = __importStar(require("axios-retry"));
36
+ __exportStar(require("./types"), exports);
37
+ __exportStar(require("./utils"), exports);
38
+ __exportStar(require("./api"), exports);
39
+ const DEFAULT_BASE_URL = 'https://banking-api.abyss-project.fr/api/';
40
+ exports.API_KEY_HEADER = 'abyss-banking-api-key';
41
+ exports.ADMIN_TOKEN_HEADER = 'abyss-admin-token';
42
+ const NUMBER_RETRY_API = 10;
43
+ const BASE_DELAY_BETWEEN_RETRY = 5000;
44
+ const RETRY_CODES = [
45
+ 502,
46
+ 503,
47
+ ];
48
+ class AbyssBankingCore {
49
+ static enableAxiosRetry(axiosRetryConfig) {
50
+ (0, axios_retry_1.default)(_a.axios, {
51
+ retries: NUMBER_RETRY_API,
52
+ retryDelay: (retryCount) => retryCount * BASE_DELAY_BETWEEN_RETRY,
53
+ retryCondition: (error) => {
54
+ var _b;
55
+ return (0, axios_retry_1.isNetworkOrIdempotentRequestError)(error) ||
56
+ RETRY_CODES.includes(((_b = error.response) === null || _b === void 0 ? void 0 : _b.status) || 502);
57
+ },
58
+ ...axiosRetryConfig,
59
+ });
60
+ }
61
+ static setConfig(config) {
62
+ _a.config = { ..._a.config, ...config };
63
+ if (config.baseURL) {
64
+ _a.axios.defaults.baseURL = config.baseURL;
65
+ }
66
+ if (config.token) {
67
+ _a.axios.defaults.headers.common.Authorization = `Bearer ${config.token}`;
68
+ }
69
+ if (config.apiKey) {
70
+ _a.axios.defaults.headers.common[exports.API_KEY_HEADER] = `${config.apiKey}`;
71
+ }
72
+ if (config.adminToken) {
73
+ _a.axios.defaults.headers.common[exports.ADMIN_TOKEN_HEADER] = `${config.adminToken}`;
74
+ }
75
+ }
76
+ static getConfig() {
77
+ return _a.config;
78
+ }
79
+ }
80
+ exports.AbyssBankingCore = AbyssBankingCore;
81
+ _a = AbyssBankingCore;
82
+ AbyssBankingCore.config = {
83
+ token: '',
84
+ apiKey: '',
85
+ apiKeyApplication: '',
86
+ applicationId: '',
87
+ adminToken: '',
88
+ baseURL: DEFAULT_BASE_URL,
89
+ };
90
+ AbyssBankingCore.axios = axios_1.default.create({ baseURL: _a.config.baseURL });
@@ -1,4 +1,4 @@
1
- export declare enum AggregatorType {
2
- GOCARDLESS = "GOCARDLESS",
3
- DEMO_DATA_BANKING = "DEMO_DATA_BANKING"
4
- }
1
+ export declare enum AggregatorType {
2
+ GOCARDLESS = "GOCARDLESS",
3
+ DEMO_DATA_BANKING = "DEMO_DATA_BANKING"
4
+ }
@@ -1,8 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AggregatorType = void 0;
4
- var AggregatorType;
5
- (function (AggregatorType) {
6
- AggregatorType["GOCARDLESS"] = "GOCARDLESS";
7
- AggregatorType["DEMO_DATA_BANKING"] = "DEMO_DATA_BANKING";
8
- })(AggregatorType = exports.AggregatorType || (exports.AggregatorType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AggregatorType = void 0;
4
+ var AggregatorType;
5
+ (function (AggregatorType) {
6
+ AggregatorType["GOCARDLESS"] = "GOCARDLESS";
7
+ AggregatorType["DEMO_DATA_BANKING"] = "DEMO_DATA_BANKING";
8
+ })(AggregatorType || (exports.AggregatorType = AggregatorType = {}));
@@ -1,16 +1,16 @@
1
- export declare enum ErrorType {
2
- apiError = "api_error",
3
- authError = "authentication_error",
4
- resourceError = "resource_error"
5
- }
6
- export declare enum Code {
7
- tokenFailure = "token_authentication_failure",
8
- authenticationFailure = "authentication_credentials_failure",
9
- accessNotAllowed = "access_not_allowed",
10
- notFound = "not_found",
11
- validationError = "resource_validation_error",
12
- constraintError = "resource_constraint_error",
13
- internalServerError = "internal_server_error",
14
- serviceUnavailable = "service_unavailable",
15
- invalidData = "invalid_data"
16
- }
1
+ export declare enum ErrorType {
2
+ apiError = "api_error",
3
+ authError = "authentication_error",
4
+ resourceError = "resource_error"
5
+ }
6
+ export declare enum Code {
7
+ tokenFailure = "token_authentication_failure",
8
+ authenticationFailure = "authentication_credentials_failure",
9
+ accessNotAllowed = "access_not_allowed",
10
+ notFound = "not_found",
11
+ validationError = "resource_validation_error",
12
+ constraintError = "resource_constraint_error",
13
+ internalServerError = "internal_server_error",
14
+ serviceUnavailable = "service_unavailable",
15
+ invalidData = "invalid_data"
16
+ }
@@ -1,21 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Code = exports.ErrorType = void 0;
4
- var ErrorType;
5
- (function (ErrorType) {
6
- ErrorType["apiError"] = "api_error";
7
- ErrorType["authError"] = "authentication_error";
8
- ErrorType["resourceError"] = "resource_error";
9
- })(ErrorType = exports.ErrorType || (exports.ErrorType = {}));
10
- var Code;
11
- (function (Code) {
12
- Code["tokenFailure"] = "token_authentication_failure";
13
- Code["authenticationFailure"] = "authentication_credentials_failure";
14
- Code["accessNotAllowed"] = "access_not_allowed";
15
- Code["notFound"] = "not_found";
16
- Code["validationError"] = "resource_validation_error";
17
- Code["constraintError"] = "resource_constraint_error";
18
- Code["internalServerError"] = "internal_server_error";
19
- Code["serviceUnavailable"] = "service_unavailable";
20
- Code["invalidData"] = "invalid_data";
21
- })(Code = exports.Code || (exports.Code = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Code = exports.ErrorType = void 0;
4
+ var ErrorType;
5
+ (function (ErrorType) {
6
+ ErrorType["apiError"] = "api_error";
7
+ ErrorType["authError"] = "authentication_error";
8
+ ErrorType["resourceError"] = "resource_error";
9
+ })(ErrorType || (exports.ErrorType = ErrorType = {}));
10
+ var Code;
11
+ (function (Code) {
12
+ Code["tokenFailure"] = "token_authentication_failure";
13
+ Code["authenticationFailure"] = "authentication_credentials_failure";
14
+ Code["accessNotAllowed"] = "access_not_allowed";
15
+ Code["notFound"] = "not_found";
16
+ Code["validationError"] = "resource_validation_error";
17
+ Code["constraintError"] = "resource_constraint_error";
18
+ Code["internalServerError"] = "internal_server_error";
19
+ Code["serviceUnavailable"] = "service_unavailable";
20
+ Code["invalidData"] = "invalid_data";
21
+ })(Code || (exports.Code = Code = {}));
@@ -1,6 +1,6 @@
1
- export declare enum BankConnectionStatus {
2
- PENDING = "PENDING",
3
- FAILED = "FAILED",
4
- SUCCESS = "SUCCESS",
5
- EXPIRED = "EXPIRED"
6
- }
1
+ export declare enum BankConnectionStatus {
2
+ PENDING = "PENDING",
3
+ FAILED = "FAILED",
4
+ SUCCESS = "SUCCESS",
5
+ EXPIRED = "EXPIRED"
6
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BankConnectionStatus = void 0;
4
- var BankConnectionStatus;
5
- (function (BankConnectionStatus) {
6
- BankConnectionStatus["PENDING"] = "PENDING";
7
- BankConnectionStatus["FAILED"] = "FAILED";
8
- BankConnectionStatus["SUCCESS"] = "SUCCESS";
9
- BankConnectionStatus["EXPIRED"] = "EXPIRED";
10
- })(BankConnectionStatus = exports.BankConnectionStatus || (exports.BankConnectionStatus = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BankConnectionStatus = void 0;
4
+ var BankConnectionStatus;
5
+ (function (BankConnectionStatus) {
6
+ BankConnectionStatus["PENDING"] = "PENDING";
7
+ BankConnectionStatus["FAILED"] = "FAILED";
8
+ BankConnectionStatus["SUCCESS"] = "SUCCESS";
9
+ BankConnectionStatus["EXPIRED"] = "EXPIRED";
10
+ })(BankConnectionStatus || (exports.BankConnectionStatus = BankConnectionStatus = {}));
@@ -1,26 +1,26 @@
1
- export declare enum CashAccountType {
2
- 'CACC' = "CACC",
3
- 'CARD' = "CARD",
4
- 'CASH' = "CASH",
5
- 'CHAR' = "CHAR",
6
- 'CISH' = "CISH",
7
- 'COMM' = "COMM",
8
- 'CPAC' = "CPAC",
9
- 'LLSV' = "LLSV",
10
- 'LOAN' = "LOAN",
11
- 'MGLD' = "MGLD",
12
- 'MOMA' = "MOMA",
13
- 'NREX' = "NREX",
14
- 'ODFT' = "ODFT",
15
- 'ONDP' = "ONDP",
16
- 'OTHR' = "OTHR",
17
- 'SACC' = "SACC",
18
- 'SLRY' = "SLRY",
19
- 'SVGS' = "SVGS",
20
- 'TAXE' = "TAXE",
21
- 'TRAN' = "TRAN",
22
- 'TRAS' = "TRAS",
23
- 'VACC' = "VACC",
24
- 'NFCA' = "NFCA",
25
- 'UNKNOWN' = "UNKNOWN"
26
- }
1
+ export declare enum CashAccountType {
2
+ 'CACC' = "CACC",
3
+ 'CARD' = "CARD",
4
+ 'CASH' = "CASH",
5
+ 'CHAR' = "CHAR",
6
+ 'CISH' = "CISH",
7
+ 'COMM' = "COMM",
8
+ 'CPAC' = "CPAC",
9
+ 'LLSV' = "LLSV",
10
+ 'LOAN' = "LOAN",
11
+ 'MGLD' = "MGLD",
12
+ 'MOMA' = "MOMA",
13
+ 'NREX' = "NREX",
14
+ 'ODFT' = "ODFT",
15
+ 'ONDP' = "ONDP",
16
+ 'OTHR' = "OTHR",
17
+ 'SACC' = "SACC",
18
+ 'SLRY' = "SLRY",
19
+ 'SVGS' = "SVGS",
20
+ 'TAXE' = "TAXE",
21
+ 'TRAN' = "TRAN",
22
+ 'TRAS' = "TRAS",
23
+ 'VACC' = "VACC",
24
+ 'NFCA' = "NFCA",
25
+ 'UNKNOWN' = "UNKNOWN"
26
+ }
@@ -1,30 +1,30 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CashAccountType = void 0;
4
- var CashAccountType;
5
- (function (CashAccountType) {
6
- CashAccountType["CACC"] = "CACC";
7
- CashAccountType["CARD"] = "CARD";
8
- CashAccountType["CASH"] = "CASH";
9
- CashAccountType["CHAR"] = "CHAR";
10
- CashAccountType["CISH"] = "CISH";
11
- CashAccountType["COMM"] = "COMM";
12
- CashAccountType["CPAC"] = "CPAC";
13
- CashAccountType["LLSV"] = "LLSV";
14
- CashAccountType["LOAN"] = "LOAN";
15
- CashAccountType["MGLD"] = "MGLD";
16
- CashAccountType["MOMA"] = "MOMA";
17
- CashAccountType["NREX"] = "NREX";
18
- CashAccountType["ODFT"] = "ODFT";
19
- CashAccountType["ONDP"] = "ONDP";
20
- CashAccountType["OTHR"] = "OTHR";
21
- CashAccountType["SACC"] = "SACC";
22
- CashAccountType["SLRY"] = "SLRY";
23
- CashAccountType["SVGS"] = "SVGS";
24
- CashAccountType["TAXE"] = "TAXE";
25
- CashAccountType["TRAN"] = "TRAN";
26
- CashAccountType["TRAS"] = "TRAS";
27
- CashAccountType["VACC"] = "VACC";
28
- CashAccountType["NFCA"] = "NFCA";
29
- CashAccountType["UNKNOWN"] = "UNKNOWN";
30
- })(CashAccountType = exports.CashAccountType || (exports.CashAccountType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CashAccountType = void 0;
4
+ var CashAccountType;
5
+ (function (CashAccountType) {
6
+ CashAccountType["CACC"] = "CACC";
7
+ CashAccountType["CARD"] = "CARD";
8
+ CashAccountType["CASH"] = "CASH";
9
+ CashAccountType["CHAR"] = "CHAR";
10
+ CashAccountType["CISH"] = "CISH";
11
+ CashAccountType["COMM"] = "COMM";
12
+ CashAccountType["CPAC"] = "CPAC";
13
+ CashAccountType["LLSV"] = "LLSV";
14
+ CashAccountType["LOAN"] = "LOAN";
15
+ CashAccountType["MGLD"] = "MGLD";
16
+ CashAccountType["MOMA"] = "MOMA";
17
+ CashAccountType["NREX"] = "NREX";
18
+ CashAccountType["ODFT"] = "ODFT";
19
+ CashAccountType["ONDP"] = "ONDP";
20
+ CashAccountType["OTHR"] = "OTHR";
21
+ CashAccountType["SACC"] = "SACC";
22
+ CashAccountType["SLRY"] = "SLRY";
23
+ CashAccountType["SVGS"] = "SVGS";
24
+ CashAccountType["TAXE"] = "TAXE";
25
+ CashAccountType["TRAN"] = "TRAN";
26
+ CashAccountType["TRAS"] = "TRAS";
27
+ CashAccountType["VACC"] = "VACC";
28
+ CashAccountType["NFCA"] = "NFCA";
29
+ CashAccountType["UNKNOWN"] = "UNKNOWN";
30
+ })(CashAccountType || (exports.CashAccountType = CashAccountType = {}));
@@ -1,6 +1,6 @@
1
- export * from './api-error.enum';
2
- export * from './aggregator-type.enum';
3
- export * from './bank-connection-status.enum';
4
- export * from './cash-account-type.enum';
5
- export * from './period-configuration.enum';
6
- export * from './panel-component-type.enum';
1
+ export * from './api-error.enum';
2
+ export * from './aggregator-type.enum';
3
+ export * from './bank-connection-status.enum';
4
+ export * from './cash-account-type.enum';
5
+ export * from './period-configuration.enum';
6
+ export * from './panel-component-type.enum';
@@ -1,18 +1,22 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./api-error.enum"), exports);
14
- __exportStar(require("./aggregator-type.enum"), exports);
15
- __exportStar(require("./bank-connection-status.enum"), exports);
16
- __exportStar(require("./cash-account-type.enum"), exports);
17
- __exportStar(require("./period-configuration.enum"), exports);
18
- __exportStar(require("./panel-component-type.enum"), exports);
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("./api-error.enum"), exports);
18
+ __exportStar(require("./aggregator-type.enum"), exports);
19
+ __exportStar(require("./bank-connection-status.enum"), exports);
20
+ __exportStar(require("./cash-account-type.enum"), exports);
21
+ __exportStar(require("./period-configuration.enum"), exports);
22
+ __exportStar(require("./panel-component-type.enum"), exports);
@@ -1,12 +1,16 @@
1
- export declare enum PanelComponentType {
2
- ACCOUNT_BALANCE = "ACCOUNT_BALANCE",
3
- ACCOUNT_CASH_POSITION = "ACCOUNT_CASH_POSITION",
4
- SUM_PER_CATEGORY = "SUM_PER_CATEGORY",
5
- SUM_PER_CATEGORY_PER_MONTH = "SUM_PER_CATEGORY_PER_MONTH",
6
- TRANSACTION_PER_ACCOUNT = "TRANSACTION_PER_ACCOUNT",
7
- TRANSACTION_PER_CATEGORY = "TRANSACTION_PER_CATEGORY",
8
- TRANSACTION_PER_DAY = "TRANSACTION_PER_DAY",
9
- TRANSACTION_TABLE = "TRANSACTION_TABLE",
10
- PERIOD_REPORT = "PERIOD_REPORT",
11
- MONTHLY_REPORT = "MONTHLY_REPORT"
12
- }
1
+ export declare enum PanelComponentType {
2
+ ACCOUNT_BALANCE = "ACCOUNT_BALANCE",
3
+ ACCOUNT_CASH_POSITION = "ACCOUNT_CASH_POSITION",
4
+ SUM_PER_CATEGORY = "SUM_PER_CATEGORY",
5
+ SUM_PER_CATEGORY_PER_MONTH = "SUM_PER_CATEGORY_PER_MONTH",
6
+ TRANSACTION_PER_ACCOUNT = "TRANSACTION_PER_ACCOUNT",
7
+ TRANSACTION_PER_CATEGORY = "TRANSACTION_PER_CATEGORY",
8
+ TRANSACTION_PER_DAY = "TRANSACTION_PER_DAY",
9
+ TRANSACTION_TABLE = "TRANSACTION_TABLE",
10
+ PERIOD_REPORT = "PERIOD_REPORT",
11
+ MONTHLY_REPORT = "MONTHLY_REPORT",
12
+ CASH_POSITION_COMPARISON = "CASH_POSITION_COMPARISON",
13
+ MONTHLY_EVOLUTION = "MONTHLY_EVOLUTION",
14
+ TOP_OUTCOMES = "TOP_OUTCOMES",
15
+ TOP_INCOMES = "TOP_INCOMES"
16
+ }
@@ -1,16 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PanelComponentType = void 0;
4
- var PanelComponentType;
5
- (function (PanelComponentType) {
6
- PanelComponentType["ACCOUNT_BALANCE"] = "ACCOUNT_BALANCE";
7
- PanelComponentType["ACCOUNT_CASH_POSITION"] = "ACCOUNT_CASH_POSITION";
8
- PanelComponentType["SUM_PER_CATEGORY"] = "SUM_PER_CATEGORY";
9
- PanelComponentType["SUM_PER_CATEGORY_PER_MONTH"] = "SUM_PER_CATEGORY_PER_MONTH";
10
- PanelComponentType["TRANSACTION_PER_ACCOUNT"] = "TRANSACTION_PER_ACCOUNT";
11
- PanelComponentType["TRANSACTION_PER_CATEGORY"] = "TRANSACTION_PER_CATEGORY";
12
- PanelComponentType["TRANSACTION_PER_DAY"] = "TRANSACTION_PER_DAY";
13
- PanelComponentType["TRANSACTION_TABLE"] = "TRANSACTION_TABLE";
14
- PanelComponentType["PERIOD_REPORT"] = "PERIOD_REPORT";
15
- PanelComponentType["MONTHLY_REPORT"] = "MONTHLY_REPORT";
16
- })(PanelComponentType = exports.PanelComponentType || (exports.PanelComponentType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PanelComponentType = void 0;
4
+ var PanelComponentType;
5
+ (function (PanelComponentType) {
6
+ PanelComponentType["ACCOUNT_BALANCE"] = "ACCOUNT_BALANCE";
7
+ PanelComponentType["ACCOUNT_CASH_POSITION"] = "ACCOUNT_CASH_POSITION";
8
+ PanelComponentType["SUM_PER_CATEGORY"] = "SUM_PER_CATEGORY";
9
+ PanelComponentType["SUM_PER_CATEGORY_PER_MONTH"] = "SUM_PER_CATEGORY_PER_MONTH";
10
+ PanelComponentType["TRANSACTION_PER_ACCOUNT"] = "TRANSACTION_PER_ACCOUNT";
11
+ PanelComponentType["TRANSACTION_PER_CATEGORY"] = "TRANSACTION_PER_CATEGORY";
12
+ PanelComponentType["TRANSACTION_PER_DAY"] = "TRANSACTION_PER_DAY";
13
+ PanelComponentType["TRANSACTION_TABLE"] = "TRANSACTION_TABLE";
14
+ PanelComponentType["PERIOD_REPORT"] = "PERIOD_REPORT";
15
+ PanelComponentType["MONTHLY_REPORT"] = "MONTHLY_REPORT";
16
+ PanelComponentType["CASH_POSITION_COMPARISON"] = "CASH_POSITION_COMPARISON";
17
+ PanelComponentType["MONTHLY_EVOLUTION"] = "MONTHLY_EVOLUTION";
18
+ PanelComponentType["TOP_OUTCOMES"] = "TOP_OUTCOMES";
19
+ PanelComponentType["TOP_INCOMES"] = "TOP_INCOMES";
20
+ })(PanelComponentType || (exports.PanelComponentType = PanelComponentType = {}));
@@ -1,7 +1,7 @@
1
- export declare enum PeriodConfiguration {
2
- LAST_7_DAYS = "LAST_7_DAYS",
3
- LAST_30_DAYS = "LAST_30_DAYS",
4
- LAST_60_DAYS = "LAST_60_DAYS",
5
- SINCE_START_OF_MONTH = "SINCE_START_OF_MONTH",
6
- SINCE_START_OF_YEAR = "SINCE_START_OF_YEAR"
7
- }
1
+ export declare enum PeriodConfiguration {
2
+ LAST_7_DAYS = "LAST_7_DAYS",
3
+ LAST_30_DAYS = "LAST_30_DAYS",
4
+ LAST_60_DAYS = "LAST_60_DAYS",
5
+ SINCE_START_OF_MONTH = "SINCE_START_OF_MONTH",
6
+ SINCE_START_OF_YEAR = "SINCE_START_OF_YEAR"
7
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PeriodConfiguration = void 0;
4
- var PeriodConfiguration;
5
- (function (PeriodConfiguration) {
6
- PeriodConfiguration["LAST_7_DAYS"] = "LAST_7_DAYS";
7
- PeriodConfiguration["LAST_30_DAYS"] = "LAST_30_DAYS";
8
- PeriodConfiguration["LAST_60_DAYS"] = "LAST_60_DAYS";
9
- PeriodConfiguration["SINCE_START_OF_MONTH"] = "SINCE_START_OF_MONTH";
10
- PeriodConfiguration["SINCE_START_OF_YEAR"] = "SINCE_START_OF_YEAR";
11
- })(PeriodConfiguration = exports.PeriodConfiguration || (exports.PeriodConfiguration = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PeriodConfiguration = void 0;
4
+ var PeriodConfiguration;
5
+ (function (PeriodConfiguration) {
6
+ PeriodConfiguration["LAST_7_DAYS"] = "LAST_7_DAYS";
7
+ PeriodConfiguration["LAST_30_DAYS"] = "LAST_30_DAYS";
8
+ PeriodConfiguration["LAST_60_DAYS"] = "LAST_60_DAYS";
9
+ PeriodConfiguration["SINCE_START_OF_MONTH"] = "SINCE_START_OF_MONTH";
10
+ PeriodConfiguration["SINCE_START_OF_YEAR"] = "SINCE_START_OF_YEAR";
11
+ })(PeriodConfiguration || (exports.PeriodConfiguration = PeriodConfiguration = {}));
@@ -1,2 +1,2 @@
1
- export * from './enum';
2
- export * from './interface';
1
+ export * from './enum';
2
+ export * from './interface';