@emilgroup/payment-sdk 1.22.1-beta.78 → 1.22.1-beta.79

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 (137) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +48 -18
  4. package/api/bank-orders-api.ts +40 -15
  5. package/api/bank-transaction-api.ts +181 -26
  6. package/api/billing-addresses-api.ts +40 -15
  7. package/api/credit-allocation-api.ts +24 -9
  8. package/api/exceeding-credits-api.ts +128 -6
  9. package/api/health-check-api.ts +1 -1
  10. package/api/ibanvalidator-api.ts +8 -3
  11. package/api/payment-methods-api.ts +24 -9
  12. package/api/payment-receipts-api.ts +40 -15
  13. package/api/payment-reminders-api.ts +32 -12
  14. package/api/payment-requests-api.ts +52 -27
  15. package/api/payment-setup-api.ts +16 -6
  16. package/api/payments-api.ts +46 -16
  17. package/api/payout-methods-api.ts +48 -18
  18. package/api/policy-payment-methods-api.ts +24 -9
  19. package/api/refunds-api.ts +24 -9
  20. package/api/tenant-bank-account-api.ts +40 -15
  21. package/api/webhooks-api.ts +2 -2
  22. package/base.ts +239 -43
  23. package/common.ts +3 -2
  24. package/configuration.ts +20 -0
  25. package/dist/api/bank-accounts-api.d.ts +6 -6
  26. package/dist/api/bank-accounts-api.js +82 -46
  27. package/dist/api/bank-orders-api.d.ts +5 -5
  28. package/dist/api/bank-orders-api.js +67 -38
  29. package/dist/api/bank-transaction-api.d.ts +80 -14
  30. package/dist/api/bank-transaction-api.js +194 -52
  31. package/dist/api/billing-addresses-api.d.ts +5 -5
  32. package/dist/api/billing-addresses-api.js +71 -39
  33. package/dist/api/credit-allocation-api.d.ts +3 -3
  34. package/dist/api/credit-allocation-api.js +41 -23
  35. package/dist/api/exceeding-credits-api.d.ts +59 -2
  36. package/dist/api/exceeding-credits-api.js +126 -15
  37. package/dist/api/health-check-api.d.ts +1 -1
  38. package/dist/api/health-check-api.js +1 -1
  39. package/dist/api/ibanvalidator-api.d.ts +1 -1
  40. package/dist/api/ibanvalidator-api.js +15 -8
  41. package/dist/api/payment-methods-api.d.ts +3 -3
  42. package/dist/api/payment-methods-api.js +41 -23
  43. package/dist/api/payment-receipts-api.d.ts +5 -5
  44. package/dist/api/payment-receipts-api.js +67 -38
  45. package/dist/api/payment-reminders-api.d.ts +4 -4
  46. package/dist/api/payment-reminders-api.js +56 -31
  47. package/dist/api/payment-requests-api.d.ts +17 -17
  48. package/dist/api/payment-requests-api.js +76 -47
  49. package/dist/api/payment-setup-api.d.ts +2 -2
  50. package/dist/api/payment-setup-api.js +30 -16
  51. package/dist/api/payments-api.d.ts +4 -4
  52. package/dist/api/payments-api.js +62 -34
  53. package/dist/api/payout-methods-api.d.ts +6 -6
  54. package/dist/api/payout-methods-api.js +82 -46
  55. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  56. package/dist/api/policy-payment-methods-api.js +41 -23
  57. package/dist/api/refunds-api.d.ts +3 -3
  58. package/dist/api/refunds-api.js +37 -22
  59. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  60. package/dist/api/tenant-bank-account-api.js +67 -38
  61. package/dist/api/webhooks-api.d.ts +2 -2
  62. package/dist/api/webhooks-api.js +2 -2
  63. package/dist/base.d.ts +26 -0
  64. package/dist/base.js +243 -60
  65. package/dist/common.d.ts +1 -1
  66. package/dist/common.js +1 -0
  67. package/dist/configuration.d.ts +17 -0
  68. package/dist/configuration.js +2 -0
  69. package/dist/models/bank-transaction-class.d.ts +7 -0
  70. package/dist/models/bank-transaction-entity.d.ts +7 -0
  71. package/dist/models/bank-transaction-invoice-entity.d.ts +24 -0
  72. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  73. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  74. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  75. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  76. package/dist/models/create-payment-order-dto.d.ts +1 -1
  77. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  78. package/dist/models/create-payment-request-dto.d.ts +1 -1
  79. package/dist/models/create-payment-request-request-dto.d.ts +6 -0
  80. package/dist/models/credit-allocation-class.d.ts +6 -0
  81. package/dist/models/credit-allocation-entity.d.ts +6 -0
  82. package/dist/models/exceeding-credit-entity.d.ts +6 -0
  83. package/dist/models/index.d.ts +6 -0
  84. package/dist/models/index.js +6 -0
  85. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +30 -0
  86. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +15 -0
  87. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +25 -0
  88. package/dist/models/link-bank-transaction-payment-requests-response-class.js +15 -0
  89. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  90. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  91. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  92. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  93. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  94. package/dist/models/list-refunds-response-class.d.ts +6 -18
  95. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  96. package/dist/models/payment-class.d.ts +2 -2
  97. package/dist/models/payment-entity.d.ts +1 -1
  98. package/dist/models/payment-receipt-class.d.ts +13 -1
  99. package/dist/models/payment-receipt-entity.d.ts +139 -0
  100. package/dist/models/payment-receipt-entity.js +20 -0
  101. package/dist/models/payment-request-class.d.ts +13 -6
  102. package/dist/models/payment-request-class.js +1 -0
  103. package/dist/models/payment-request-entity.d.ts +223 -0
  104. package/dist/models/payment-request-entity.js +39 -0
  105. package/dist/models/shared-transaction-class.d.ts +6 -0
  106. package/dist/models/transaction-entity.d.ts +6 -0
  107. package/models/bank-transaction-class.ts +7 -0
  108. package/models/bank-transaction-entity.ts +7 -0
  109. package/models/bank-transaction-invoice-entity.ts +24 -0
  110. package/models/create-exceeding-credit-request-dto.ts +54 -0
  111. package/models/create-exceeding-credit-response-class.ts +31 -0
  112. package/models/create-payment-order-dto.ts +1 -1
  113. package/models/create-payment-receipt-request-dto.ts +1 -1
  114. package/models/create-payment-request-dto.ts +1 -1
  115. package/models/create-payment-request-request-dto.ts +6 -0
  116. package/models/credit-allocation-class.ts +6 -0
  117. package/models/credit-allocation-entity.ts +6 -0
  118. package/models/exceeding-credit-entity.ts +6 -0
  119. package/models/index.ts +6 -0
  120. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +36 -0
  121. package/models/link-bank-transaction-payment-requests-response-class.ts +31 -0
  122. package/models/list-billing-addresses-response-class.ts +9 -9
  123. package/models/list-exceeding-credits-response-class.ts +6 -18
  124. package/models/list-payment-receipts-response-class.ts +9 -9
  125. package/models/list-payment-requests-response-class.ts +6 -18
  126. package/models/list-payout-methods-response-class.ts +9 -9
  127. package/models/list-refunds-response-class.ts +6 -18
  128. package/models/payment-class-without-expand-properties.ts +2 -2
  129. package/models/payment-class.ts +2 -2
  130. package/models/payment-entity.ts +1 -1
  131. package/models/payment-receipt-class.ts +13 -1
  132. package/models/payment-receipt-entity.ts +148 -0
  133. package/models/payment-request-class.ts +13 -6
  134. package/models/payment-request-entity.ts +233 -0
  135. package/models/shared-transaction-class.ts +6 -0
  136. package/models/transaction-entity.ts +6 -0
  137. package/package.json +2 -2
@@ -103,9 +103,10 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
103
103
  createBillingAddress: function (createBillingAddressRequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'createBillingAddressRequestDto' is not null or undefined
111
112
  (0, common_1.assertParamExists)('createBillingAddress', 'createBillingAddressRequestDto', createBillingAddressRequestDto);
@@ -120,13 +121,19 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
120
121
  localVarQueryParameter = {};
121
122
  // authentication bearer required
122
123
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
+ ];
124
128
  case 1:
125
129
  // authentication bearer required
126
130
  // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ _b.sent();
132
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
+ if (authorizationValue || authorizationKeepEmpty) {
136
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
130
137
  }
131
138
  localVarHeaderParameter['Content-Type'] = 'application/json';
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -152,9 +159,10 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
152
159
  deleteBillingAddress: function (code, authorization, options) {
153
160
  if (options === void 0) { options = {}; }
154
161
  return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
162
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
163
+ var _a;
164
+ return __generator(this, function (_b) {
165
+ switch (_b.label) {
158
166
  case 0:
159
167
  // verify required parameter 'code' is not null or undefined
160
168
  (0, common_1.assertParamExists)('deleteBillingAddress', 'code', code);
@@ -170,13 +178,19 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
170
178
  localVarQueryParameter = {};
171
179
  // authentication bearer required
172
180
  // http bearer authentication required
173
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
181
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
182
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
183
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
184
+ ];
174
185
  case 1:
175
186
  // authentication bearer required
176
187
  // http bearer authentication required
177
- _a.sent();
178
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
188
+ _b.sent();
189
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
190
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
191
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
192
+ if (authorizationValue || authorizationKeepEmpty) {
193
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
180
194
  }
181
195
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
196
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -200,9 +214,10 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
200
214
  getBillingAddress: function (code, authorization, options) {
201
215
  if (options === void 0) { options = {}; }
202
216
  return __awaiter(_this, void 0, void 0, function () {
203
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
204
- return __generator(this, function (_a) {
205
- switch (_a.label) {
217
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
218
+ var _a;
219
+ return __generator(this, function (_b) {
220
+ switch (_b.label) {
206
221
  case 0:
207
222
  // verify required parameter 'code' is not null or undefined
208
223
  (0, common_1.assertParamExists)('getBillingAddress', 'code', code);
@@ -218,13 +233,19 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
218
233
  localVarQueryParameter = {};
219
234
  // authentication bearer required
220
235
  // http bearer authentication required
221
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
236
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
237
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
238
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
239
+ ];
222
240
  case 1:
223
241
  // authentication bearer required
224
242
  // http bearer authentication required
225
- _a.sent();
226
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
243
+ _b.sent();
244
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
245
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
246
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
247
+ if (authorizationValue || authorizationKeepEmpty) {
248
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
228
249
  }
229
250
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
230
251
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -254,9 +275,10 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
254
275
  listBillingAddresses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
255
276
  if (options === void 0) { options = {}; }
256
277
  return __awaiter(_this, void 0, void 0, function () {
257
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
258
- return __generator(this, function (_a) {
259
- switch (_a.label) {
278
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
279
+ var _a;
280
+ return __generator(this, function (_b) {
281
+ switch (_b.label) {
260
282
  case 0:
261
283
  localVarPath = "/paymentservice/v1/billing-addresses";
262
284
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -273,7 +295,7 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
273
295
  case 1:
274
296
  // authentication bearer required
275
297
  // http bearer authentication required
276
- _a.sent();
298
+ _b.sent();
277
299
  if (pageSize !== undefined) {
278
300
  localVarQueryParameter['pageSize'] = pageSize;
279
301
  }
@@ -295,8 +317,11 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
295
317
  if (filters !== undefined) {
296
318
  localVarQueryParameter['filters'] = filters;
297
319
  }
298
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
320
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
321
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
322
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
323
+ if (authorizationValue || authorizationKeepEmpty) {
324
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
300
325
  }
301
326
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
302
327
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -321,9 +346,10 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
321
346
  updateBillingAddress: function (code, updateBillingAddressRequestDto, authorization, options) {
322
347
  if (options === void 0) { options = {}; }
323
348
  return __awaiter(_this, void 0, void 0, function () {
324
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
325
- return __generator(this, function (_a) {
326
- switch (_a.label) {
349
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
350
+ var _a;
351
+ return __generator(this, function (_b) {
352
+ switch (_b.label) {
327
353
  case 0:
328
354
  // verify required parameter 'code' is not null or undefined
329
355
  (0, common_1.assertParamExists)('updateBillingAddress', 'code', code);
@@ -341,13 +367,19 @@ var BillingAddressesApiAxiosParamCreator = function (configuration) {
341
367
  localVarQueryParameter = {};
342
368
  // authentication bearer required
343
369
  // http bearer authentication required
344
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
370
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
371
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
372
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
373
+ ];
345
374
  case 1:
346
375
  // authentication bearer required
347
376
  // http bearer authentication required
348
- _a.sent();
349
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
350
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
377
+ _b.sent();
378
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
379
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
380
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
381
+ if (authorizationValue || authorizationKeepEmpty) {
382
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
351
383
  }
352
384
  localVarHeaderParameter['Content-Type'] = 'application/json';
353
385
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -580,7 +612,7 @@ var BillingAddressesApi = /** @class */ (function (_super) {
580
612
  */
581
613
  BillingAddressesApi.prototype.createBillingAddress = function (requestParameters, options) {
582
614
  var _this = this;
583
- return (0, exports.BillingAddressesApiFp)(this.configuration).createBillingAddress(requestParameters.createBillingAddressRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
615
+ return (0, exports.BillingAddressesApiFp)(this.configuration).createBillingAddress(requestParameters.createBillingAddressRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
584
616
  };
585
617
  /**
586
618
  * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
@@ -592,7 +624,7 @@ var BillingAddressesApi = /** @class */ (function (_super) {
592
624
  */
593
625
  BillingAddressesApi.prototype.deleteBillingAddress = function (requestParameters, options) {
594
626
  var _this = this;
595
- return (0, exports.BillingAddressesApiFp)(this.configuration).deleteBillingAddress(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
627
+ return (0, exports.BillingAddressesApiFp)(this.configuration).deleteBillingAddress(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
596
628
  };
597
629
  /**
598
630
  * Retrieves the details of the Billing Address that was previously created. Supply the unique Billing Address code that was returned when you created it and Emil Api will return the corresponding Billing Address information. **Required Permissions** \"payment-management.payments.view\"
@@ -604,7 +636,7 @@ var BillingAddressesApi = /** @class */ (function (_super) {
604
636
  */
605
637
  BillingAddressesApi.prototype.getBillingAddress = function (requestParameters, options) {
606
638
  var _this = this;
607
- return (0, exports.BillingAddressesApiFp)(this.configuration).getBillingAddress(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
639
+ return (0, exports.BillingAddressesApiFp)(this.configuration).getBillingAddress(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
608
640
  };
609
641
  /**
610
642
  * Returns a list of Billing Addresses you have previously created. The Billing Addresses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
@@ -617,7 +649,7 @@ var BillingAddressesApi = /** @class */ (function (_super) {
617
649
  BillingAddressesApi.prototype.listBillingAddresses = function (requestParameters, options) {
618
650
  var _this = this;
619
651
  if (requestParameters === void 0) { requestParameters = {}; }
620
- return (0, exports.BillingAddressesApiFp)(this.configuration).listBillingAddresses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
652
+ return (0, exports.BillingAddressesApiFp)(this.configuration).listBillingAddresses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
621
653
  };
622
654
  /**
623
655
  * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
@@ -629,7 +661,7 @@ var BillingAddressesApi = /** @class */ (function (_super) {
629
661
  */
630
662
  BillingAddressesApi.prototype.updateBillingAddress = function (requestParameters, options) {
631
663
  var _this = this;
632
- return (0, exports.BillingAddressesApiFp)(this.configuration).updateBillingAddress(requestParameters.code, requestParameters.updateBillingAddressRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
664
+ return (0, exports.BillingAddressesApiFp)(this.configuration).updateBillingAddress(requestParameters.code, requestParameters.updateBillingAddressRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
633
665
  };
634
666
  return BillingAddressesApi;
635
667
  }(base_1.BaseAPI));
@@ -241,7 +241,7 @@ export declare class CreditAllocationApi extends BaseAPI {
241
241
  * @throws {RequiredError}
242
242
  * @memberof CreditAllocationApi
243
243
  */
244
- createAllocateCredit(requestParameters: CreditAllocationApiCreateAllocateCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCreditAllocationResponseClass, any, {}>>;
244
+ createAllocateCredit(requestParameters: CreditAllocationApiCreateAllocateCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCreditAllocationResponseClass, any, {}, any>>;
245
245
  /**
246
246
  * Get a credit allocation entry by code. **Required Permissions** \"payment-management.payments.view\"
247
247
  * @summary Retrieve the credit allocation entry
@@ -250,7 +250,7 @@ export declare class CreditAllocationApi extends BaseAPI {
250
250
  * @throws {RequiredError}
251
251
  * @memberof CreditAllocationApi
252
252
  */
253
- getCreditAllocation(requestParameters: CreditAllocationApiGetCreditAllocationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCreditAllocationResponseClass, any, {}>>;
253
+ getCreditAllocation(requestParameters: CreditAllocationApiGetCreditAllocationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCreditAllocationResponseClass, any, {}, any>>;
254
254
  /**
255
255
  * Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
256
256
  * @summary List credit allocations
@@ -259,5 +259,5 @@ export declare class CreditAllocationApi extends BaseAPI {
259
259
  * @throws {RequiredError}
260
260
  * @memberof CreditAllocationApi
261
261
  */
262
- listCreditAllocations(requestParameters?: CreditAllocationApiListCreditAllocationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCreditAllocationsResponseClass, any, {}>>;
262
+ listCreditAllocations(requestParameters?: CreditAllocationApiListCreditAllocationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCreditAllocationsResponseClass, any, {}, any>>;
263
263
  }
@@ -103,9 +103,10 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
103
103
  createAllocateCredit: function (createCreditAllocationRequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'createCreditAllocationRequestDto' is not null or undefined
111
112
  (0, common_1.assertParamExists)('createAllocateCredit', 'createCreditAllocationRequestDto', createCreditAllocationRequestDto);
@@ -120,13 +121,19 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
120
121
  localVarQueryParameter = {};
121
122
  // authentication bearer required
122
123
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
+ ];
124
128
  case 1:
125
129
  // authentication bearer required
126
130
  // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ _b.sent();
132
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
+ if (authorizationValue || authorizationKeepEmpty) {
136
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
130
137
  }
131
138
  localVarHeaderParameter['Content-Type'] = 'application/json';
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -152,9 +159,10 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
152
159
  getCreditAllocation: function (code, authorization, options) {
153
160
  if (options === void 0) { options = {}; }
154
161
  return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
162
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
163
+ var _a;
164
+ return __generator(this, function (_b) {
165
+ switch (_b.label) {
158
166
  case 0:
159
167
  // verify required parameter 'code' is not null or undefined
160
168
  (0, common_1.assertParamExists)('getCreditAllocation', 'code', code);
@@ -170,13 +178,19 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
170
178
  localVarQueryParameter = {};
171
179
  // authentication bearer required
172
180
  // http bearer authentication required
173
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
181
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
182
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
183
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
184
+ ];
174
185
  case 1:
175
186
  // authentication bearer required
176
187
  // http bearer authentication required
177
- _a.sent();
178
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
188
+ _b.sent();
189
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
190
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
191
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
192
+ if (authorizationValue || authorizationKeepEmpty) {
193
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
180
194
  }
181
195
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
196
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -206,9 +220,10 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
206
220
  listCreditAllocations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
207
221
  if (options === void 0) { options = {}; }
208
222
  return __awaiter(_this, void 0, void 0, function () {
209
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
210
- return __generator(this, function (_a) {
211
- switch (_a.label) {
223
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
224
+ var _a;
225
+ return __generator(this, function (_b) {
226
+ switch (_b.label) {
212
227
  case 0:
213
228
  localVarPath = "/paymentservice/v1/credit-allocations";
214
229
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -225,7 +240,7 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
225
240
  case 1:
226
241
  // authentication bearer required
227
242
  // http bearer authentication required
228
- _a.sent();
243
+ _b.sent();
229
244
  if (pageSize !== undefined) {
230
245
  localVarQueryParameter['pageSize'] = pageSize;
231
246
  }
@@ -247,8 +262,11 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
247
262
  if (filters !== undefined) {
248
263
  localVarQueryParameter['filters'] = filters;
249
264
  }
250
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
265
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
266
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
267
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
268
+ if (authorizationValue || authorizationKeepEmpty) {
269
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
252
270
  }
253
271
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
272
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -413,7 +431,7 @@ var CreditAllocationApi = /** @class */ (function (_super) {
413
431
  */
414
432
  CreditAllocationApi.prototype.createAllocateCredit = function (requestParameters, options) {
415
433
  var _this = this;
416
- return (0, exports.CreditAllocationApiFp)(this.configuration).createAllocateCredit(requestParameters.createCreditAllocationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
434
+ return (0, exports.CreditAllocationApiFp)(this.configuration).createAllocateCredit(requestParameters.createCreditAllocationRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
417
435
  };
418
436
  /**
419
437
  * Get a credit allocation entry by code. **Required Permissions** \"payment-management.payments.view\"
@@ -425,7 +443,7 @@ var CreditAllocationApi = /** @class */ (function (_super) {
425
443
  */
426
444
  CreditAllocationApi.prototype.getCreditAllocation = function (requestParameters, options) {
427
445
  var _this = this;
428
- return (0, exports.CreditAllocationApiFp)(this.configuration).getCreditAllocation(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
446
+ return (0, exports.CreditAllocationApiFp)(this.configuration).getCreditAllocation(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
429
447
  };
430
448
  /**
431
449
  * Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
@@ -438,7 +456,7 @@ var CreditAllocationApi = /** @class */ (function (_super) {
438
456
  CreditAllocationApi.prototype.listCreditAllocations = function (requestParameters, options) {
439
457
  var _this = this;
440
458
  if (requestParameters === void 0) { requestParameters = {}; }
441
- return (0, exports.CreditAllocationApiFp)(this.configuration).listCreditAllocations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
459
+ return (0, exports.CreditAllocationApiFp)(this.configuration).listCreditAllocations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
442
460
  };
443
461
  return CreditAllocationApi;
444
462
  }(base_1.BaseAPI));
@@ -12,6 +12,8 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateExceedingCreditRequestDto } from '../models';
16
+ import { CreateExceedingCreditResponseClass } from '../models';
15
17
  import { GetExceedingCreditResponseClass } from '../models';
16
18
  import { ListExceedingCreditsResponseClass } from '../models';
17
19
  /**
@@ -19,6 +21,15 @@ import { ListExceedingCreditsResponseClass } from '../models';
19
21
  * @export
20
22
  */
21
23
  export declare const ExceedingCreditsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
26
+ * @summary Create the exceeding credit
27
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
28
+ * @param {string} [authorization] Bearer Token
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ createExceedingCredit: (createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22
33
  /**
23
34
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
24
35
  * @summary Retrieve the exceeding credit
@@ -49,6 +60,15 @@ export declare const ExceedingCreditsApiAxiosParamCreator: (configuration?: Conf
49
60
  * @export
50
61
  */
51
62
  export declare const ExceedingCreditsApiFp: (configuration?: Configuration) => {
63
+ /**
64
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
65
+ * @summary Create the exceeding credit
66
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
67
+ * @param {string} [authorization] Bearer Token
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExceedingCreditResponseClass>>;
52
72
  /**
53
73
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
54
74
  * @summary Retrieve the exceeding credit
@@ -79,6 +99,15 @@ export declare const ExceedingCreditsApiFp: (configuration?: Configuration) => {
79
99
  * @export
80
100
  */
81
101
  export declare const ExceedingCreditsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
102
+ /**
103
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
104
+ * @summary Create the exceeding credit
105
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: any): AxiosPromise<CreateExceedingCreditResponseClass>;
82
111
  /**
83
112
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
84
113
  * @summary Retrieve the exceeding credit
@@ -104,6 +133,25 @@ export declare const ExceedingCreditsApiFactory: (configuration?: Configuration,
104
133
  */
105
134
  listExceedingCredits(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListExceedingCreditsResponseClass>;
106
135
  };
136
+ /**
137
+ * Request parameters for createExceedingCredit operation in ExceedingCreditsApi.
138
+ * @export
139
+ * @interface ExceedingCreditsApiCreateExceedingCreditRequest
140
+ */
141
+ export interface ExceedingCreditsApiCreateExceedingCreditRequest {
142
+ /**
143
+ *
144
+ * @type {CreateExceedingCreditRequestDto}
145
+ * @memberof ExceedingCreditsApiCreateExceedingCredit
146
+ */
147
+ readonly createExceedingCreditRequestDto: CreateExceedingCreditRequestDto;
148
+ /**
149
+ * Bearer Token
150
+ * @type {string}
151
+ * @memberof ExceedingCreditsApiCreateExceedingCredit
152
+ */
153
+ readonly authorization?: string;
154
+ }
107
155
  /**
108
156
  * Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
109
157
  * @export
@@ -185,6 +233,15 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
185
233
  * @extends {BaseAPI}
186
234
  */
187
235
  export declare class ExceedingCreditsApi extends BaseAPI {
236
+ /**
237
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
238
+ * @summary Create the exceeding credit
239
+ * @param {ExceedingCreditsApiCreateExceedingCreditRequest} requestParameters Request parameters.
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ * @memberof ExceedingCreditsApi
243
+ */
244
+ createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateExceedingCreditResponseClass, any, {}, any>>;
188
245
  /**
189
246
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
190
247
  * @summary Retrieve the exceeding credit
@@ -193,7 +250,7 @@ export declare class ExceedingCreditsApi extends BaseAPI {
193
250
  * @throws {RequiredError}
194
251
  * @memberof ExceedingCreditsApi
195
252
  */
196
- getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any, {}>>;
253
+ getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any, {}, any>>;
197
254
  /**
198
255
  * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
199
256
  * @summary List exceeding credits
@@ -202,5 +259,5 @@ export declare class ExceedingCreditsApi extends BaseAPI {
202
259
  * @throws {RequiredError}
203
260
  * @memberof ExceedingCreditsApi
204
261
  */
205
- listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any, {}>>;
262
+ listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any, {}, any>>;
206
263
  }