@emilgroup/accounting-sdk-node 1.18.1-beta.3 → 1.19.0

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 (262) hide show
  1. package/.openapi-generator/FILES +52 -29
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/{booking-entries-api.ts → zip-codes-api.ts} +162 -195
  10. package/api.ts +14 -12
  11. package/base.ts +2 -2
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/{financial-accounts-api.js → users-api.js} +134 -171
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{number-ranges-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/{personal-accounts-api.js → vbus-api.js} +234 -136
  26. package/dist/api/{booking-entries-api.d.ts → zip-codes-api.d.ts} +111 -130
  27. package/dist/api/{booking-entries-api.js → zip-codes-api.js} +130 -144
  28. package/dist/api.d.ts +8 -7
  29. package/dist/api.js +8 -7
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{create-number-range-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-entry-request-dto.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{create-personal-account-request-dto.js → create-user-request-dto.js} +10 -7
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{create-financial-account-response-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-booking-entry-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -24
  71. package/dist/models/index.js +46 -24
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +90 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +127 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +139 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/update-user-request-dto.js +24 -0
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -24
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +96 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +133 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +145 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/api/financial-accounts-api.ts +0 -577
  188. package/api/financial-transactions-api.ts +0 -369
  189. package/api/number-ranges-api.ts +0 -577
  190. package/api/personal-accounts-api.ts +0 -577
  191. package/dist/api/financial-accounts-api.d.ts +0 -327
  192. package/dist/api/financial-transactions-api.d.ts +0 -215
  193. package/dist/api/financial-transactions-api.js +0 -364
  194. package/dist/api/number-ranges-api.d.ts +0 -327
  195. package/dist/api/personal-accounts-api.d.ts +0 -327
  196. package/dist/models/booking-entry-class.d.ts +0 -123
  197. package/dist/models/booking-entry-class.js +0 -29
  198. package/dist/models/create-booking-entry-request-dto.d.ts +0 -61
  199. package/dist/models/create-booking-entry-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -75
  201. package/dist/models/create-financial-account-request-dto.js +0 -24
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/create-number-range-request-dto.d.ts +0 -53
  204. package/dist/models/create-number-range-request-dto.js +0 -26
  205. package/dist/models/create-number-range-response-class.d.ts +0 -25
  206. package/dist/models/create-personal-account-request-dto.d.ts +0 -60
  207. package/dist/models/create-personal-account-response-class.d.ts +0 -25
  208. package/dist/models/create-personal-account-response-class.js +0 -15
  209. package/dist/models/financial-account-class.d.ts +0 -111
  210. package/dist/models/financial-account-class.js +0 -24
  211. package/dist/models/financial-transaction-class.d.ts +0 -114
  212. package/dist/models/financial-transaction-class.js +0 -15
  213. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  214. package/dist/models/financial-transaction-data-dto.js +0 -25
  215. package/dist/models/get-booking-entry-response-class.d.ts +0 -25
  216. package/dist/models/get-booking-entry-response-class.js +0 -15
  217. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  218. package/dist/models/get-financial-account-response-class.js +0 -15
  219. package/dist/models/get-financial-transaction-response-class.d.ts +0 -25
  220. package/dist/models/get-financial-transaction-response-class.js +0 -15
  221. package/dist/models/get-number-range-response-class.d.ts +0 -25
  222. package/dist/models/get-number-range-response-class.js +0 -15
  223. package/dist/models/get-personal-account-response-class.d.ts +0 -25
  224. package/dist/models/get-personal-account-response-class.js +0 -15
  225. package/dist/models/list-booking-entries-response-class.d.ts +0 -31
  226. package/dist/models/list-booking-entries-response-class.js +0 -15
  227. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  228. package/dist/models/list-financial-accounts-response-class.js +0 -15
  229. package/dist/models/list-financial-transactions-response-class.d.ts +0 -31
  230. package/dist/models/list-financial-transactions-response-class.js +0 -15
  231. package/dist/models/list-number-range-response-class.d.ts +0 -31
  232. package/dist/models/list-number-range-response-class.js +0 -15
  233. package/dist/models/list-personal-accounts-response-class.d.ts +0 -31
  234. package/dist/models/list-personal-accounts-response-class.js +0 -15
  235. package/dist/models/number-range-class.d.ts +0 -84
  236. package/dist/models/number-range-class.js +0 -15
  237. package/dist/models/personal-account-class.d.ts +0 -105
  238. package/dist/models/personal-account-class.js +0 -24
  239. package/models/booking-entry-class.ts +0 -132
  240. package/models/create-booking-entry-request-dto.ts +0 -67
  241. package/models/create-booking-entry-response-class.ts +0 -31
  242. package/models/create-financial-account-request-dto.ts +0 -84
  243. package/models/create-financial-account-response-class.ts +0 -31
  244. package/models/create-number-range-request-dto.ts +0 -62
  245. package/models/create-number-range-response-class.ts +0 -31
  246. package/models/create-personal-account-request-dto.ts +0 -69
  247. package/models/create-personal-account-response-class.ts +0 -31
  248. package/models/financial-account-class.ts +0 -120
  249. package/models/financial-transaction-class.ts +0 -120
  250. package/models/financial-transaction-data-dto.ts +0 -81
  251. package/models/get-booking-entry-response-class.ts +0 -31
  252. package/models/get-financial-account-response-class.ts +0 -31
  253. package/models/get-financial-transaction-response-class.ts +0 -31
  254. package/models/get-number-range-response-class.ts +0 -31
  255. package/models/get-personal-account-response-class.ts +0 -31
  256. package/models/list-booking-entries-response-class.ts +0 -37
  257. package/models/list-financial-accounts-response-class.ts +0 -37
  258. package/models/list-financial-transactions-response-class.ts +0 -37
  259. package/models/list-number-range-response-class.ts +0 -37
  260. package/models/list-personal-accounts-response-class.ts +0 -37
  261. package/models/number-range-class.ts +0 -90
  262. package/models/personal-account-class.ts +0 -114
package/common.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -140,8 +140,8 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
140
140
  /* tslint:disable */
141
141
  /* eslint-disable */
142
142
  /**
143
- * EMIL AccountingService
144
- * The EMIL AccountingService API description
143
+ * EMIL GdvService
144
+ * The EMIL GdvService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
147
  * Contact: kontakt@emil.de
package/configuration.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
- * EMIL AccountingService
3
- * The EMIL AccountingService API description
2
+ * EMIL GdvService
3
+ * The EMIL GdvService 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 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.
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.
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 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.
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.
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 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.
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.
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 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.
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.
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 AccountingService
6
- * The EMIL AccountingService API description
5
+ * EMIL GdvService
6
+ * The EMIL GdvService 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 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.
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.
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 = "/accountingservice/health";
110
+ localVarPath = "/gdvservice/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 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.
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.
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 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.
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.
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 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.
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.
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
@@ -0,0 +1,142 @@
1
+ /**
2
+ * EMIL GdvService
3
+ * The EMIL GdvService 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 { CreateMailboxRequestDto } from '../models';
16
+ /**
17
+ * MailboxApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const MailboxApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
23
+ * @summary Create the Mailbox
24
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
25
+ * @param {string} [authorization] Bearer Token
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ createMailbox: (createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
32
+ * @summary Create the download-messages
33
+ * @param {string} [authorization] Bearer Token
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ downloadMessages: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ };
39
+ /**
40
+ * MailboxApi - functional programming interface
41
+ * @export
42
+ */
43
+ export declare const MailboxApiFp: (configuration?: Configuration) => {
44
+ /**
45
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
46
+ * @summary Create the Mailbox
47
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
48
+ * @param {string} [authorization] Bearer Token
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ createMailbox(createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
53
+ /**
54
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
55
+ * @summary Create the download-messages
56
+ * @param {string} [authorization] Bearer Token
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ downloadMessages(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
61
+ };
62
+ /**
63
+ * MailboxApi - factory interface
64
+ * @export
65
+ */
66
+ export declare const MailboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
67
+ /**
68
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
69
+ * @summary Create the Mailbox
70
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
71
+ * @param {string} [authorization] Bearer Token
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ createMailbox(createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
76
+ /**
77
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
78
+ * @summary Create the download-messages
79
+ * @param {string} [authorization] Bearer Token
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ downloadMessages(authorization?: string, options?: any): AxiosPromise<void>;
84
+ };
85
+ /**
86
+ * Request parameters for createMailbox operation in MailboxApi.
87
+ * @export
88
+ * @interface MailboxApiCreateMailboxRequest
89
+ */
90
+ export interface MailboxApiCreateMailboxRequest {
91
+ /**
92
+ *
93
+ * @type {CreateMailboxRequestDto}
94
+ * @memberof MailboxApiCreateMailbox
95
+ */
96
+ readonly createMailboxRequestDto: CreateMailboxRequestDto;
97
+ /**
98
+ * Bearer Token
99
+ * @type {string}
100
+ * @memberof MailboxApiCreateMailbox
101
+ */
102
+ readonly authorization?: string;
103
+ }
104
+ /**
105
+ * Request parameters for downloadMessages operation in MailboxApi.
106
+ * @export
107
+ * @interface MailboxApiDownloadMessagesRequest
108
+ */
109
+ export interface MailboxApiDownloadMessagesRequest {
110
+ /**
111
+ * Bearer Token
112
+ * @type {string}
113
+ * @memberof MailboxApiDownloadMessages
114
+ */
115
+ readonly authorization?: string;
116
+ }
117
+ /**
118
+ * MailboxApi - object-oriented interface
119
+ * @export
120
+ * @class MailboxApi
121
+ * @extends {BaseAPI}
122
+ */
123
+ export declare class MailboxApi extends BaseAPI {
124
+ /**
125
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
126
+ * @summary Create the Mailbox
127
+ * @param {MailboxApiCreateMailboxRequest} requestParameters Request parameters.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ * @memberof MailboxApi
131
+ */
132
+ createMailbox(requestParameters: MailboxApiCreateMailboxRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
133
+ /**
134
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
135
+ * @summary Create the download-messages
136
+ * @param {MailboxApiDownloadMessagesRequest} requestParameters Request parameters.
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ * @memberof MailboxApi
140
+ */
141
+ downloadMessages(requestParameters?: MailboxApiDownloadMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
142
+ }
@@ -0,0 +1,315 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL GdvService
6
+ * The EMIL GdvService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.MailboxApi = exports.MailboxApiFactory = exports.MailboxApiFp = exports.MailboxApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * MailboxApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var MailboxApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
101
+ * @summary Create the Mailbox
102
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
103
+ * @param {string} [authorization] Bearer Token
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ createMailbox: function (createMailboxRequestDto, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'createMailboxRequestDto' is not null or undefined
115
+ (0, common_1.assertParamExists)('createMailbox', 'createMailboxRequestDto', createMailboxRequestDto);
116
+ localVarPath = "/gdvservice/v1/mailboxes";
117
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createMailboxRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
150
+ * @summary Create the download-messages
151
+ * @param {string} [authorization] Bearer Token
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ downloadMessages: function (authorization, options) {
156
+ if (options === void 0) { options = {}; }
157
+ return __awaiter(_this, void 0, void 0, function () {
158
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
159
+ return __generator(this, function (_a) {
160
+ switch (_a.label) {
161
+ case 0:
162
+ localVarPath = "/gdvservice/v1/mailboxes/download-messages";
163
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
164
+ if (configuration) {
165
+ baseOptions = configuration.baseOptions;
166
+ baseAccessToken = configuration.accessToken;
167
+ }
168
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
169
+ localVarHeaderParameter = {};
170
+ localVarQueryParameter = {};
171
+ // authentication bearer required
172
+ // http bearer authentication required
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
174
+ case 1:
175
+ // authentication bearer required
176
+ // http bearer authentication required
177
+ _a.sent();
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
180
+ }
181
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
+ return [2 /*return*/, {
185
+ url: (0, common_1.toPathString)(localVarUrlObj),
186
+ options: localVarRequestOptions,
187
+ }];
188
+ }
189
+ });
190
+ });
191
+ },
192
+ };
193
+ };
194
+ exports.MailboxApiAxiosParamCreator = MailboxApiAxiosParamCreator;
195
+ /**
196
+ * MailboxApi - functional programming interface
197
+ * @export
198
+ */
199
+ var MailboxApiFp = function (configuration) {
200
+ var localVarAxiosParamCreator = (0, exports.MailboxApiAxiosParamCreator)(configuration);
201
+ return {
202
+ /**
203
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
204
+ * @summary Create the Mailbox
205
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
206
+ * @param {string} [authorization] Bearer Token
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ createMailbox: function (createMailboxRequestDto, authorization, options) {
211
+ return __awaiter(this, void 0, void 0, function () {
212
+ var localVarAxiosArgs;
213
+ return __generator(this, function (_a) {
214
+ switch (_a.label) {
215
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMailbox(createMailboxRequestDto, authorization, options)];
216
+ case 1:
217
+ localVarAxiosArgs = _a.sent();
218
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
219
+ }
220
+ });
221
+ });
222
+ },
223
+ /**
224
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
225
+ * @summary Create the download-messages
226
+ * @param {string} [authorization] Bearer Token
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ downloadMessages: function (authorization, options) {
231
+ return __awaiter(this, void 0, void 0, function () {
232
+ var localVarAxiosArgs;
233
+ return __generator(this, function (_a) {
234
+ switch (_a.label) {
235
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadMessages(authorization, options)];
236
+ case 1:
237
+ localVarAxiosArgs = _a.sent();
238
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
239
+ }
240
+ });
241
+ });
242
+ },
243
+ };
244
+ };
245
+ exports.MailboxApiFp = MailboxApiFp;
246
+ /**
247
+ * MailboxApi - factory interface
248
+ * @export
249
+ */
250
+ var MailboxApiFactory = function (configuration, basePath, axios) {
251
+ var localVarFp = (0, exports.MailboxApiFp)(configuration);
252
+ return {
253
+ /**
254
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
255
+ * @summary Create the Mailbox
256
+ * @param {CreateMailboxRequestDto} createMailboxRequestDto
257
+ * @param {string} [authorization] Bearer Token
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ createMailbox: function (createMailboxRequestDto, authorization, options) {
262
+ return localVarFp.createMailbox(createMailboxRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
263
+ },
264
+ /**
265
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
266
+ * @summary Create the download-messages
267
+ * @param {string} [authorization] Bearer Token
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ downloadMessages: function (authorization, options) {
272
+ return localVarFp.downloadMessages(authorization, options).then(function (request) { return request(axios, basePath); });
273
+ },
274
+ };
275
+ };
276
+ exports.MailboxApiFactory = MailboxApiFactory;
277
+ /**
278
+ * MailboxApi - object-oriented interface
279
+ * @export
280
+ * @class MailboxApi
281
+ * @extends {BaseAPI}
282
+ */
283
+ var MailboxApi = /** @class */ (function (_super) {
284
+ __extends(MailboxApi, _super);
285
+ function MailboxApi() {
286
+ return _super !== null && _super.apply(this, arguments) || this;
287
+ }
288
+ /**
289
+ * This endpoint creates a new mailbox. **Required Permissions** \"gdv-management.operations.create\"
290
+ * @summary Create the Mailbox
291
+ * @param {MailboxApiCreateMailboxRequest} requestParameters Request parameters.
292
+ * @param {*} [options] Override http request option.
293
+ * @throws {RequiredError}
294
+ * @memberof MailboxApi
295
+ */
296
+ MailboxApi.prototype.createMailbox = function (requestParameters, options) {
297
+ var _this = this;
298
+ return (0, exports.MailboxApiFp)(this.configuration).createMailbox(requestParameters.createMailboxRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
299
+ };
300
+ /**
301
+ * This endpoint will download gdv messages. **Required Permissions** \"gdv-management.operations.view\"
302
+ * @summary Create the download-messages
303
+ * @param {MailboxApiDownloadMessagesRequest} requestParameters Request parameters.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ * @memberof MailboxApi
307
+ */
308
+ MailboxApi.prototype.downloadMessages = function (requestParameters, options) {
309
+ var _this = this;
310
+ if (requestParameters === void 0) { requestParameters = {}; }
311
+ return (0, exports.MailboxApiFp)(this.configuration).downloadMessages(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
312
+ };
313
+ return MailboxApi;
314
+ }(base_1.BaseAPI));
315
+ exports.MailboxApi = MailboxApi;