@emilgroup/accounting-sdk-node 1.16.0 → 1.16.1-beta.1

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 (232) hide show
  1. package/.openapi-generator/FILES +20 -52
  2. package/README.md +2 -2
  3. package/api/{zip-codes-api.ts → booking-entries-api.ts} +195 -162
  4. package/api/financial-accounts-api.ts +577 -0
  5. package/api/health-api.ts +7 -7
  6. package/api/personal-accounts-api.ts +577 -0
  7. package/api.ts +8 -14
  8. package/base.ts +2 -2
  9. package/common.ts +4 -4
  10. package/configuration.ts +2 -2
  11. package/dist/api/{zip-codes-api.d.ts → booking-entries-api.d.ts} +130 -111
  12. package/dist/api/{zip-codes-api.js → booking-entries-api.js} +144 -130
  13. package/dist/api/financial-accounts-api.d.ts +327 -0
  14. package/dist/api/{vbas-api.js → financial-accounts-api.js} +156 -161
  15. package/dist/api/health-api.d.ts +6 -6
  16. package/dist/api/health-api.js +7 -7
  17. package/dist/api/personal-accounts-api.d.ts +327 -0
  18. package/dist/api/{vbus-api.js → personal-accounts-api.js} +136 -234
  19. package/dist/api.d.ts +5 -8
  20. package/dist/api.js +5 -8
  21. package/dist/base.d.ts +2 -2
  22. package/dist/base.js +2 -2
  23. package/dist/common.d.ts +4 -4
  24. package/dist/common.js +2 -2
  25. package/dist/configuration.d.ts +2 -2
  26. package/dist/configuration.js +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +2 -2
  29. package/dist/models/booking-entry-class.d.ts +111 -0
  30. package/dist/models/booking-entry-class.js +29 -0
  31. package/dist/models/create-booking-entry-request-dto.d.ts +61 -0
  32. package/dist/models/{address-class.js → create-booking-entry-request-dto.js} +2 -2
  33. package/dist/models/create-booking-entry-response-class.d.ts +25 -0
  34. package/dist/models/{create-user-response-class.js → create-booking-entry-response-class.js} +2 -2
  35. package/dist/models/create-financial-account-request-dto.d.ts +62 -0
  36. package/dist/models/{create-user-request-dto.js → create-financial-account-request-dto.js} +9 -10
  37. package/dist/models/create-financial-account-response-class.d.ts +25 -0
  38. package/dist/models/{create-mailbox-request-dto.js → create-financial-account-response-class.js} +2 -2
  39. package/dist/models/create-personal-account-request-dto.d.ts +60 -0
  40. package/dist/models/{create-vbu-request-dto.js → create-personal-account-request-dto.js} +7 -6
  41. package/dist/models/create-personal-account-response-class.d.ts +25 -0
  42. package/dist/models/{create-vba-response-class.js → create-personal-account-response-class.js} +2 -2
  43. package/dist/models/financial-account-class.d.ts +98 -0
  44. package/dist/models/{user-class.js → financial-account-class.js} +9 -6
  45. package/dist/models/financial-transaction-class.d.ts +96 -0
  46. package/dist/models/financial-transaction-class.js +15 -0
  47. package/dist/models/financial-transaction-data-dto.d.ts +59 -0
  48. package/dist/models/{create-vba-request-dto.js → financial-transaction-data-dto.js} +6 -6
  49. package/dist/models/get-booking-entry-response-class.d.ts +25 -0
  50. package/dist/models/get-booking-entry-response-class.js +15 -0
  51. package/dist/models/get-financial-account-response-class.d.ts +25 -0
  52. package/dist/models/get-financial-account-response-class.js +15 -0
  53. package/dist/models/get-personal-account-response-class.d.ts +25 -0
  54. package/dist/models/get-personal-account-response-class.js +15 -0
  55. package/dist/models/index.d.ts +17 -46
  56. package/dist/models/index.js +17 -46
  57. package/dist/models/inline-response200.d.ts +2 -2
  58. package/dist/models/inline-response200.js +2 -2
  59. package/dist/models/inline-response503.d.ts +2 -2
  60. package/dist/models/inline-response503.js +2 -2
  61. package/dist/models/list-booking-entries-response-class.d.ts +31 -0
  62. package/dist/models/list-booking-entries-response-class.js +15 -0
  63. package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
  64. package/dist/models/list-financial-accounts-response-class.js +15 -0
  65. package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
  66. package/dist/models/list-personal-accounts-response-class.js +15 -0
  67. package/dist/models/personal-account-class.d.ts +104 -0
  68. package/dist/models/{create-vbuv-request-dto.js → personal-account-class.js} +9 -6
  69. package/index.ts +2 -2
  70. package/models/booking-entry-class.ts +120 -0
  71. package/models/create-booking-entry-request-dto.ts +67 -0
  72. package/models/create-booking-entry-response-class.ts +31 -0
  73. package/models/create-financial-account-request-dto.ts +71 -0
  74. package/models/create-financial-account-response-class.ts +31 -0
  75. package/models/create-personal-account-request-dto.ts +69 -0
  76. package/models/create-personal-account-response-class.ts +31 -0
  77. package/models/financial-account-class.ts +107 -0
  78. package/models/financial-transaction-class.ts +102 -0
  79. package/models/financial-transaction-data-dto.ts +68 -0
  80. package/models/get-booking-entry-response-class.ts +31 -0
  81. package/models/get-financial-account-response-class.ts +31 -0
  82. package/models/get-personal-account-response-class.ts +31 -0
  83. package/models/index.ts +17 -46
  84. package/models/inline-response200.ts +2 -2
  85. package/models/inline-response503.ts +2 -2
  86. package/models/list-booking-entries-response-class.ts +37 -0
  87. package/models/list-financial-accounts-response-class.ts +37 -0
  88. package/models/list-personal-accounts-response-class.ts +37 -0
  89. package/models/personal-account-class.ts +113 -0
  90. package/package.json +1 -1
  91. package/api/mailbox-api.ts +0 -255
  92. package/api/messages-api.ts +0 -1100
  93. package/api/users-api.ts +0 -496
  94. package/api/vbas-api.ts +0 -592
  95. package/api/vbus-api.ts +0 -701
  96. package/dist/api/mailbox-api.d.ts +0 -142
  97. package/dist/api/mailbox-api.js +0 -315
  98. package/dist/api/messages-api.d.ts +0 -632
  99. package/dist/api/messages-api.js +0 -916
  100. package/dist/api/users-api.d.ts +0 -275
  101. package/dist/api/users-api.js +0 -512
  102. package/dist/api/vbas-api.d.ts +0 -337
  103. package/dist/api/vbus-api.d.ts +0 -395
  104. package/dist/models/address-class.d.ts +0 -48
  105. package/dist/models/create-mailbox-request-dto.d.ts +0 -36
  106. package/dist/models/create-user-request-dto.d.ts +0 -76
  107. package/dist/models/create-user-response-class.d.ts +0 -25
  108. package/dist/models/create-vba-request-dto.d.ts +0 -41
  109. package/dist/models/create-vba-response-class.d.ts +0 -24
  110. package/dist/models/create-vbu-request-dto.d.ts +0 -41
  111. package/dist/models/create-vbu-response-class.d.ts +0 -24
  112. package/dist/models/create-vbu-response-class.js +0 -15
  113. package/dist/models/create-vbuv-request-dto.d.ts +0 -41
  114. package/dist/models/create-vbuv-response-class.d.ts +0 -24
  115. package/dist/models/create-vbuv-response-class.js +0 -15
  116. package/dist/models/get-request-message-response-class.d.ts +0 -25
  117. package/dist/models/get-request-message-response-class.js +0 -15
  118. package/dist/models/get-response-message-response-class.d.ts +0 -25
  119. package/dist/models/get-response-message-response-class.js +0 -15
  120. package/dist/models/get-user-response-class.d.ts +0 -25
  121. package/dist/models/get-user-response-class.js +0 -15
  122. package/dist/models/get-vba-response-class.d.ts +0 -25
  123. package/dist/models/get-vba-response-class.js +0 -15
  124. package/dist/models/get-vbu-response-class.d.ts +0 -25
  125. package/dist/models/get-vbu-response-class.js +0 -15
  126. package/dist/models/get-zip-code-response-class.d.ts +0 -25
  127. package/dist/models/get-zip-code-response-class.js +0 -15
  128. package/dist/models/list-all-messages-response-class.d.ts +0 -31
  129. package/dist/models/list-all-messages-response-class.js +0 -15
  130. package/dist/models/list-requests-messages-response-class.d.ts +0 -31
  131. package/dist/models/list-requests-messages-response-class.js +0 -15
  132. package/dist/models/list-responses-messages-response-class.d.ts +0 -31
  133. package/dist/models/list-responses-messages-response-class.js +0 -15
  134. package/dist/models/list-users-response-class.d.ts +0 -31
  135. package/dist/models/list-users-response-class.js +0 -15
  136. package/dist/models/list-vbas-response-class.d.ts +0 -31
  137. package/dist/models/list-vbas-response-class.js +0 -15
  138. package/dist/models/list-vbus-response-class.d.ts +0 -31
  139. package/dist/models/list-vbus-response-class.js +0 -15
  140. package/dist/models/list-zip-codes-response-class.d.ts +0 -31
  141. package/dist/models/list-zip-codes-response-class.js +0 -15
  142. package/dist/models/message-class.d.ts +0 -90
  143. package/dist/models/message-class.js +0 -15
  144. package/dist/models/request-details-class.d.ts +0 -48
  145. package/dist/models/request-details-class.js +0 -15
  146. package/dist/models/request-message-class.d.ts +0 -127
  147. package/dist/models/request-message-class.js +0 -15
  148. package/dist/models/response-details-class.d.ts +0 -42
  149. package/dist/models/response-details-class.js +0 -15
  150. package/dist/models/response-message-class.d.ts +0 -139
  151. package/dist/models/response-message-class.js +0 -15
  152. package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
  153. package/dist/models/store-zip-codes-request-dto.js +0 -15
  154. package/dist/models/store-zip-codes-response-class.d.ts +0 -25
  155. package/dist/models/store-zip-codes-response-class.js +0 -15
  156. package/dist/models/update-request-message-request-dto.d.ts +0 -36
  157. package/dist/models/update-request-message-request-dto.js +0 -15
  158. package/dist/models/update-request-message-response-class.d.ts +0 -25
  159. package/dist/models/update-request-message-response-class.js +0 -15
  160. package/dist/models/update-response-message-request-dto.d.ts +0 -36
  161. package/dist/models/update-response-message-request-dto.js +0 -15
  162. package/dist/models/update-response-message-response-class.d.ts +0 -25
  163. package/dist/models/update-response-message-response-class.js +0 -15
  164. package/dist/models/update-user-request-dto.d.ts +0 -82
  165. package/dist/models/update-user-request-dto.js +0 -24
  166. package/dist/models/update-user-response-class.d.ts +0 -25
  167. package/dist/models/update-user-response-class.js +0 -15
  168. package/dist/models/update-vba-request-dto.d.ts +0 -30
  169. package/dist/models/update-vba-request-dto.js +0 -15
  170. package/dist/models/update-vbu-request-dto.d.ts +0 -30
  171. package/dist/models/update-vbu-request-dto.js +0 -15
  172. package/dist/models/update-vbu-response-class.d.ts +0 -25
  173. package/dist/models/update-vbu-response-class.js +0 -15
  174. package/dist/models/user-class.d.ts +0 -107
  175. package/dist/models/vba-class.d.ts +0 -116
  176. package/dist/models/vba-class.js +0 -15
  177. package/dist/models/vba-response-class.d.ts +0 -48
  178. package/dist/models/vba-response-class.js +0 -15
  179. package/dist/models/vbu-class.d.ts +0 -115
  180. package/dist/models/vbu-class.js +0 -15
  181. package/dist/models/vbu-response-class.d.ts +0 -48
  182. package/dist/models/vbu-response-class.js +0 -15
  183. package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
  184. package/dist/models/xlsx-zip-code-dto.js +0 -15
  185. package/dist/models/zip-code-class.d.ts +0 -60
  186. package/dist/models/zip-code-class.js +0 -15
  187. package/models/address-class.ts +0 -54
  188. package/models/create-mailbox-request-dto.ts +0 -42
  189. package/models/create-user-request-dto.ts +0 -86
  190. package/models/create-user-response-class.ts +0 -31
  191. package/models/create-vba-request-dto.ts +0 -50
  192. package/models/create-vba-response-class.ts +0 -30
  193. package/models/create-vbu-request-dto.ts +0 -50
  194. package/models/create-vbu-response-class.ts +0 -30
  195. package/models/create-vbuv-request-dto.ts +0 -50
  196. package/models/create-vbuv-response-class.ts +0 -30
  197. package/models/get-request-message-response-class.ts +0 -31
  198. package/models/get-response-message-response-class.ts +0 -31
  199. package/models/get-user-response-class.ts +0 -31
  200. package/models/get-vba-response-class.ts +0 -31
  201. package/models/get-vbu-response-class.ts +0 -31
  202. package/models/get-zip-code-response-class.ts +0 -31
  203. package/models/list-all-messages-response-class.ts +0 -37
  204. package/models/list-requests-messages-response-class.ts +0 -37
  205. package/models/list-responses-messages-response-class.ts +0 -37
  206. package/models/list-users-response-class.ts +0 -37
  207. package/models/list-vbas-response-class.ts +0 -37
  208. package/models/list-vbus-response-class.ts +0 -37
  209. package/models/list-zip-codes-response-class.ts +0 -37
  210. package/models/message-class.ts +0 -96
  211. package/models/request-details-class.ts +0 -54
  212. package/models/request-message-class.ts +0 -133
  213. package/models/response-details-class.ts +0 -48
  214. package/models/response-message-class.ts +0 -145
  215. package/models/store-zip-codes-request-dto.ts +0 -31
  216. package/models/store-zip-codes-response-class.ts +0 -31
  217. package/models/update-request-message-request-dto.ts +0 -42
  218. package/models/update-request-message-response-class.ts +0 -31
  219. package/models/update-response-message-request-dto.ts +0 -42
  220. package/models/update-response-message-response-class.ts +0 -31
  221. package/models/update-user-request-dto.ts +0 -92
  222. package/models/update-user-response-class.ts +0 -31
  223. package/models/update-vba-request-dto.ts +0 -36
  224. package/models/update-vbu-request-dto.ts +0 -36
  225. package/models/update-vbu-response-class.ts +0 -31
  226. package/models/user-class.ts +0 -116
  227. package/models/vba-class.ts +0 -122
  228. package/models/vba-response-class.ts +0 -54
  229. package/models/vbu-class.ts +0 -121
  230. package/models/vbu-response-class.ts +0 -54
  231. package/models/xlsx-zip-code-dto.ts +0 -36
  232. package/models/zip-code-class.ts +0 -66
@@ -1,6 +1,6 @@
1
1
  /**
2
- * EMIL GdvService
3
- * The EMIL GdvService API description
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -19,7 +19,7 @@ import { InlineResponse200 } from '../models';
19
19
  */
20
20
  export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
22
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
23
  * @summary Health Check
24
24
  * @param {*} [options] Override http request option.
25
25
  * @throws {RequiredError}
@@ -32,7 +32,7 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
32
32
  */
33
33
  export declare const HealthApiFp: (configuration?: Configuration) => {
34
34
  /**
35
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
35
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
36
  * @summary Health Check
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
@@ -45,7 +45,7 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
45
45
  */
46
46
  export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
48
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
49
  * @summary Health Check
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
@@ -60,7 +60,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
60
60
  */
61
61
  export declare class HealthApi extends BaseAPI {
62
62
  /**
63
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
63
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL GdvService
6
- * The EMIL GdvService API description
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -97,7 +97,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
100
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
101
101
  * @summary Health Check
102
102
  * @param {*} [options] Override http request option.
103
103
  * @throws {RequiredError}
@@ -107,7 +107,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
107
107
  return __awaiter(_this, void 0, void 0, function () {
108
108
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
109
109
  return __generator(this, function (_a) {
110
- localVarPath = "/gdvservice/health";
110
+ localVarPath = "/accountingservice/health";
111
111
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
112
112
  if (configuration) {
113
113
  baseOptions = configuration.baseOptions;
@@ -137,7 +137,7 @@ var HealthApiFp = function (configuration) {
137
137
  var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
138
138
  return {
139
139
  /**
140
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
140
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
141
141
  * @summary Health Check
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
@@ -166,7 +166,7 @@ var HealthApiFactory = function (configuration, basePath, axios) {
166
166
  var localVarFp = (0, exports.HealthApiFp)(configuration);
167
167
  return {
168
168
  /**
169
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
169
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
170
170
  * @summary Health Check
171
171
  * @param {*} [options] Override http request option.
172
172
  * @throws {RequiredError}
@@ -189,7 +189,7 @@ var HealthApi = /** @class */ (function (_super) {
189
189
  return _super !== null && _super.apply(this, arguments) || this;
190
190
  }
191
191
  /**
192
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
192
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
@@ -0,0 +1,327 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreatePersonalAccountRequestDto } from '../models';
16
+ import { CreatePersonalAccountResponseClass } from '../models';
17
+ import { GetPersonalAccountResponseClass } from '../models';
18
+ import { ListPersonalAccountsResponseClass } from '../models';
19
+ /**
20
+ * PersonalAccountsApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
26
+ * @summary Create the Personal Account
27
+ * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
28
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ createPersonalAccount: (createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ /**
34
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
35
+ * @summary Delete the Personal Account
36
+ * @param {string} code Unique identifier for the object.
37
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ deletePersonalAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
44
+ * @summary Retrieve the Financial Account
45
+ * @param {string} code Unique identifier for the object.
46
+ * @param {string} expand
47
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ getPersonalAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
54
+ * @summary List Financial Accounts
55
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
58
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
59
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
61
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
62
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ listPersonalAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ };
68
+ /**
69
+ * PersonalAccountsApi - functional programming interface
70
+ * @export
71
+ */
72
+ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
73
+ /**
74
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
75
+ * @summary Create the Personal Account
76
+ * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
77
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePersonalAccountResponseClass>>;
82
+ /**
83
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
84
+ * @summary Delete the Personal Account
85
+ * @param {string} code Unique identifier for the object.
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ deletePersonalAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
+ /**
92
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
93
+ * @summary Retrieve the Financial Account
94
+ * @param {string} code Unique identifier for the object.
95
+ * @param {string} expand
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ getPersonalAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPersonalAccountResponseClass>>;
101
+ /**
102
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
103
+ * @summary List Financial Accounts
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
107
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
108
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
110
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
111
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ listPersonalAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPersonalAccountsResponseClass>>;
116
+ };
117
+ /**
118
+ * PersonalAccountsApi - factory interface
119
+ * @export
120
+ */
121
+ export declare const PersonalAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
+ /**
123
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
124
+ * @summary Create the Personal Account
125
+ * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
126
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePersonalAccountResponseClass>;
131
+ /**
132
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
133
+ * @summary Delete the Personal Account
134
+ * @param {string} code Unique identifier for the object.
135
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ deletePersonalAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
140
+ /**
141
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
142
+ * @summary Retrieve the Financial Account
143
+ * @param {string} code Unique identifier for the object.
144
+ * @param {string} expand
145
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ getPersonalAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPersonalAccountResponseClass>;
150
+ /**
151
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
152
+ * @summary List Financial Accounts
153
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
156
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
157
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
159
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
160
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ listPersonalAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPersonalAccountsResponseClass>;
165
+ };
166
+ /**
167
+ * Request parameters for createPersonalAccount operation in PersonalAccountsApi.
168
+ * @export
169
+ * @interface PersonalAccountsApiCreatePersonalAccountRequest
170
+ */
171
+ export interface PersonalAccountsApiCreatePersonalAccountRequest {
172
+ /**
173
+ *
174
+ * @type {CreatePersonalAccountRequestDto}
175
+ * @memberof PersonalAccountsApiCreatePersonalAccount
176
+ */
177
+ readonly createPersonalAccountRequestDto: CreatePersonalAccountRequestDto;
178
+ /**
179
+ * Bearer Token: provided by the login endpoint under the name accessToken.
180
+ * @type {string}
181
+ * @memberof PersonalAccountsApiCreatePersonalAccount
182
+ */
183
+ readonly authorization?: string;
184
+ }
185
+ /**
186
+ * Request parameters for deletePersonalAccount operation in PersonalAccountsApi.
187
+ * @export
188
+ * @interface PersonalAccountsApiDeletePersonalAccountRequest
189
+ */
190
+ export interface PersonalAccountsApiDeletePersonalAccountRequest {
191
+ /**
192
+ * Unique identifier for the object.
193
+ * @type {string}
194
+ * @memberof PersonalAccountsApiDeletePersonalAccount
195
+ */
196
+ readonly code: string;
197
+ /**
198
+ * Bearer Token: provided by the login endpoint under the name accessToken.
199
+ * @type {string}
200
+ * @memberof PersonalAccountsApiDeletePersonalAccount
201
+ */
202
+ readonly authorization?: string;
203
+ }
204
+ /**
205
+ * Request parameters for getPersonalAccount operation in PersonalAccountsApi.
206
+ * @export
207
+ * @interface PersonalAccountsApiGetPersonalAccountRequest
208
+ */
209
+ export interface PersonalAccountsApiGetPersonalAccountRequest {
210
+ /**
211
+ * Unique identifier for the object.
212
+ * @type {string}
213
+ * @memberof PersonalAccountsApiGetPersonalAccount
214
+ */
215
+ readonly code: string;
216
+ /**
217
+ *
218
+ * @type {string}
219
+ * @memberof PersonalAccountsApiGetPersonalAccount
220
+ */
221
+ readonly expand: string;
222
+ /**
223
+ * Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @type {string}
225
+ * @memberof PersonalAccountsApiGetPersonalAccount
226
+ */
227
+ readonly authorization?: string;
228
+ }
229
+ /**
230
+ * Request parameters for listPersonalAccounts operation in PersonalAccountsApi.
231
+ * @export
232
+ * @interface PersonalAccountsApiListPersonalAccountsRequest
233
+ */
234
+ export interface PersonalAccountsApiListPersonalAccountsRequest {
235
+ /**
236
+ * Bearer Token: provided by the login endpoint under the name accessToken.
237
+ * @type {string}
238
+ * @memberof PersonalAccountsApiListPersonalAccounts
239
+ */
240
+ readonly authorization?: string;
241
+ /**
242
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
243
+ * @type {any}
244
+ * @memberof PersonalAccountsApiListPersonalAccounts
245
+ */
246
+ readonly pageSize?: any;
247
+ /**
248
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
249
+ * @type {any}
250
+ * @memberof PersonalAccountsApiListPersonalAccounts
251
+ */
252
+ readonly pageToken?: any;
253
+ /**
254
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
255
+ * @type {string}
256
+ * @memberof PersonalAccountsApiListPersonalAccounts
257
+ */
258
+ readonly filter?: string;
259
+ /**
260
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
261
+ * @type {any}
262
+ * @memberof PersonalAccountsApiListPersonalAccounts
263
+ */
264
+ readonly search?: any;
265
+ /**
266
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
267
+ * @type {string}
268
+ * @memberof PersonalAccountsApiListPersonalAccounts
269
+ */
270
+ readonly order?: string;
271
+ /**
272
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
273
+ * @type {string}
274
+ * @memberof PersonalAccountsApiListPersonalAccounts
275
+ */
276
+ readonly expand?: string;
277
+ /**
278
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
279
+ * @type {string}
280
+ * @memberof PersonalAccountsApiListPersonalAccounts
281
+ */
282
+ readonly filters?: string;
283
+ }
284
+ /**
285
+ * PersonalAccountsApi - object-oriented interface
286
+ * @export
287
+ * @class PersonalAccountsApi
288
+ * @extends {BaseAPI}
289
+ */
290
+ export declare class PersonalAccountsApi extends BaseAPI {
291
+ /**
292
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
293
+ * @summary Create the Personal Account
294
+ * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof PersonalAccountsApi
298
+ */
299
+ createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, any>>;
300
+ /**
301
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
302
+ * @summary Delete the Personal Account
303
+ * @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ * @memberof PersonalAccountsApi
307
+ */
308
+ deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
+ /**
310
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
311
+ * @summary Retrieve the Financial Account
312
+ * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof PersonalAccountsApi
316
+ */
317
+ getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any>>;
318
+ /**
319
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
320
+ * @summary List Financial Accounts
321
+ * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ * @memberof PersonalAccountsApi
325
+ */
326
+ listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, any>>;
327
+ }