@emilgroup/payment-sdk 1.22.1-beta.81 → 1.22.1-beta.83

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 +0 -6
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +18 -48
  4. package/api/bank-orders-api.ts +15 -40
  5. package/api/bank-transaction-api.ts +26 -181
  6. package/api/billing-addresses-api.ts +15 -40
  7. package/api/credit-allocation-api.ts +9 -24
  8. package/api/exceeding-credits-api.ts +6 -128
  9. package/api/health-check-api.ts +1 -1
  10. package/api/ibanvalidator-api.ts +3 -8
  11. package/api/payment-methods-api.ts +9 -24
  12. package/api/payment-receipts-api.ts +15 -40
  13. package/api/payment-reminders-api.ts +12 -32
  14. package/api/payment-requests-api.ts +27 -52
  15. package/api/payment-setup-api.ts +6 -16
  16. package/api/payments-api.ts +16 -46
  17. package/api/payout-methods-api.ts +18 -48
  18. package/api/policy-payment-methods-api.ts +9 -24
  19. package/api/refunds-api.ts +9 -24
  20. package/api/tenant-bank-account-api.ts +15 -40
  21. package/api/webhooks-api.ts +2 -2
  22. package/base.ts +43 -239
  23. package/common.ts +2 -3
  24. package/configuration.ts +0 -20
  25. package/dist/api/bank-accounts-api.d.ts +6 -6
  26. package/dist/api/bank-accounts-api.js +46 -82
  27. package/dist/api/bank-orders-api.d.ts +5 -5
  28. package/dist/api/bank-orders-api.js +38 -67
  29. package/dist/api/bank-transaction-api.d.ts +14 -80
  30. package/dist/api/bank-transaction-api.js +52 -194
  31. package/dist/api/billing-addresses-api.d.ts +5 -5
  32. package/dist/api/billing-addresses-api.js +39 -71
  33. package/dist/api/credit-allocation-api.d.ts +3 -3
  34. package/dist/api/credit-allocation-api.js +23 -41
  35. package/dist/api/exceeding-credits-api.d.ts +2 -59
  36. package/dist/api/exceeding-credits-api.js +15 -126
  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 +8 -15
  41. package/dist/api/payment-methods-api.d.ts +3 -3
  42. package/dist/api/payment-methods-api.js +23 -41
  43. package/dist/api/payment-receipts-api.d.ts +5 -5
  44. package/dist/api/payment-receipts-api.js +38 -67
  45. package/dist/api/payment-reminders-api.d.ts +4 -4
  46. package/dist/api/payment-reminders-api.js +31 -56
  47. package/dist/api/payment-requests-api.d.ts +17 -17
  48. package/dist/api/payment-requests-api.js +47 -76
  49. package/dist/api/payment-setup-api.d.ts +2 -2
  50. package/dist/api/payment-setup-api.js +16 -30
  51. package/dist/api/payments-api.d.ts +4 -4
  52. package/dist/api/payments-api.js +34 -62
  53. package/dist/api/payout-methods-api.d.ts +6 -6
  54. package/dist/api/payout-methods-api.js +46 -82
  55. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  56. package/dist/api/policy-payment-methods-api.js +23 -41
  57. package/dist/api/refunds-api.d.ts +3 -3
  58. package/dist/api/refunds-api.js +22 -37
  59. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  60. package/dist/api/tenant-bank-account-api.js +38 -67
  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 +0 -26
  64. package/dist/base.js +60 -243
  65. package/dist/common.d.ts +1 -1
  66. package/dist/common.js +0 -1
  67. package/dist/configuration.d.ts +0 -17
  68. package/dist/configuration.js +0 -2
  69. package/dist/models/bank-transaction-class.d.ts +0 -7
  70. package/dist/models/bank-transaction-entity.d.ts +0 -7
  71. package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
  72. package/dist/models/create-payment-order-dto.d.ts +1 -1
  73. package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
  74. package/dist/models/create-payment-request-dto.d.ts +1 -1
  75. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  76. package/dist/models/credit-allocation-class.d.ts +0 -6
  77. package/dist/models/credit-allocation-entity.d.ts +0 -6
  78. package/dist/models/exceeding-credit-entity.d.ts +0 -6
  79. package/dist/models/index.d.ts +0 -6
  80. package/dist/models/index.js +0 -6
  81. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  82. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  83. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  84. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  85. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  86. package/dist/models/list-refunds-response-class.d.ts +18 -6
  87. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  88. package/dist/models/payment-class.d.ts +2 -2
  89. package/dist/models/payment-entity.d.ts +1 -1
  90. package/dist/models/payment-receipt-class.d.ts +1 -13
  91. package/dist/models/payment-request-class.d.ts +6 -13
  92. package/dist/models/payment-request-class.js +0 -1
  93. package/dist/models/shared-transaction-class.d.ts +0 -6
  94. package/dist/models/transaction-entity.d.ts +0 -6
  95. package/models/bank-transaction-class.ts +0 -7
  96. package/models/bank-transaction-entity.ts +0 -7
  97. package/models/bank-transaction-invoice-entity.ts +0 -24
  98. package/models/create-payment-order-dto.ts +1 -1
  99. package/models/create-payment-receipt-request-dto.ts +3 -3
  100. package/models/create-payment-request-dto.ts +1 -1
  101. package/models/create-payment-request-request-dto.ts +0 -6
  102. package/models/credit-allocation-class.ts +0 -6
  103. package/models/credit-allocation-entity.ts +0 -6
  104. package/models/exceeding-credit-entity.ts +0 -6
  105. package/models/index.ts +0 -6
  106. package/models/list-billing-addresses-response-class.ts +9 -9
  107. package/models/list-exceeding-credits-response-class.ts +18 -6
  108. package/models/list-payment-receipts-response-class.ts +9 -9
  109. package/models/list-payment-requests-response-class.ts +18 -6
  110. package/models/list-payout-methods-response-class.ts +9 -9
  111. package/models/list-refunds-response-class.ts +18 -6
  112. package/models/payment-class-without-expand-properties.ts +2 -2
  113. package/models/payment-class.ts +2 -2
  114. package/models/payment-entity.ts +1 -1
  115. package/models/payment-receipt-class.ts +1 -13
  116. package/models/payment-request-class.ts +6 -13
  117. package/models/shared-transaction-class.ts +0 -6
  118. package/models/transaction-entity.ts +0 -6
  119. package/package.json +2 -2
  120. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  121. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  122. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  123. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  124. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
  125. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
  126. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
  127. package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
  128. package/dist/models/payment-receipt-entity.d.ts +0 -139
  129. package/dist/models/payment-receipt-entity.js +0 -20
  130. package/dist/models/payment-request-entity.d.ts +0 -223
  131. package/dist/models/payment-request-entity.js +0 -39
  132. package/models/create-exceeding-credit-request-dto.ts +0 -54
  133. package/models/create-exceeding-credit-response-class.ts +0 -31
  134. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
  135. package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
  136. package/models/payment-receipt-entity.ts +0 -148
  137. package/models/payment-request-entity.ts +0 -233
@@ -103,10 +103,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
103
103
  createPaymentReceipt: function (createPaymentReceiptRequestDto, 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createPaymentReceiptRequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createPaymentReceipt', 'createPaymentReceiptRequestDto', createPaymentReceiptRequestDto);
@@ -121,19 +120,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
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
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
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);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -159,10 +152,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
159
152
  deletePaymentReceipt: function (code, authorization, options) {
160
153
  if (options === void 0) { options = {}; }
161
154
  return __awaiter(_this, void 0, void 0, function () {
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) {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
166
158
  case 0:
167
159
  // verify required parameter 'code' is not null or undefined
168
160
  (0, common_1.assertParamExists)('deletePaymentReceipt', 'code', code);
@@ -178,19 +170,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
178
170
  localVarQueryParameter = {};
179
171
  // authentication bearer required
180
172
  // http bearer authentication required
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
- ];
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
185
174
  case 1:
186
175
  // authentication bearer required
187
176
  // http bearer authentication required
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);
177
+ _a.sent();
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
194
180
  }
195
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
196
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -215,10 +201,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
215
201
  getPaymentReceipt: function (code, expand, authorization, options) {
216
202
  if (options === void 0) { options = {}; }
217
203
  return __awaiter(_this, void 0, void 0, function () {
218
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
219
- var _a;
220
- return __generator(this, function (_b) {
221
- switch (_b.label) {
204
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
+ return __generator(this, function (_a) {
206
+ switch (_a.label) {
222
207
  case 0:
223
208
  // verify required parameter 'code' is not null or undefined
224
209
  (0, common_1.assertParamExists)('getPaymentReceipt', 'code', code);
@@ -240,15 +225,12 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
240
225
  case 1:
241
226
  // authentication bearer required
242
227
  // http bearer authentication required
243
- _b.sent();
228
+ _a.sent();
244
229
  if (expand !== undefined) {
245
230
  localVarQueryParameter['expand'] = expand;
246
231
  }
247
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
248
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
249
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
250
- if (authorizationValue || authorizationKeepEmpty) {
251
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
234
  }
253
235
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
236
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -278,10 +260,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
278
260
  listPaymentReceipts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
279
261
  if (options === void 0) { options = {}; }
280
262
  return __awaiter(_this, void 0, void 0, function () {
281
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
282
- var _a;
283
- return __generator(this, function (_b) {
284
- switch (_b.label) {
263
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
264
+ return __generator(this, function (_a) {
265
+ switch (_a.label) {
285
266
  case 0:
286
267
  localVarPath = "/paymentservice/v1/payment-receipts";
287
268
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -298,7 +279,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
298
279
  case 1:
299
280
  // authentication bearer required
300
281
  // http bearer authentication required
301
- _b.sent();
282
+ _a.sent();
302
283
  if (pageSize !== undefined) {
303
284
  localVarQueryParameter['pageSize'] = pageSize;
304
285
  }
@@ -320,11 +301,8 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
320
301
  if (filters !== undefined) {
321
302
  localVarQueryParameter['filters'] = filters;
322
303
  }
323
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
324
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
325
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
326
- if (authorizationValue || authorizationKeepEmpty) {
327
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
304
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
305
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
328
306
  }
329
307
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
330
308
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -348,10 +326,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
348
326
  updatePaymentReceipt: function (code, authorization, options) {
349
327
  if (options === void 0) { options = {}; }
350
328
  return __awaiter(_this, void 0, void 0, function () {
351
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
352
- var _a;
353
- return __generator(this, function (_b) {
354
- switch (_b.label) {
329
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
330
+ return __generator(this, function (_a) {
331
+ switch (_a.label) {
355
332
  case 0:
356
333
  // verify required parameter 'code' is not null or undefined
357
334
  (0, common_1.assertParamExists)('updatePaymentReceipt', 'code', code);
@@ -367,19 +344,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
367
344
  localVarQueryParameter = {};
368
345
  // authentication bearer required
369
346
  // http bearer authentication required
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
- ];
347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
374
348
  case 1:
375
349
  // authentication bearer required
376
350
  // http bearer authentication required
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
+ _a.sent();
352
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
383
354
  }
384
355
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
385
356
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -610,7 +581,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
610
581
  */
611
582
  PaymentReceiptsApi.prototype.createPaymentReceipt = function (requestParameters, options) {
612
583
  var _this = this;
613
- return (0, exports.PaymentReceiptsApiFp)(this.configuration).createPaymentReceipt(requestParameters.createPaymentReceiptRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
584
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).createPaymentReceipt(requestParameters.createPaymentReceiptRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
585
  };
615
586
  /**
616
587
  * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
@@ -622,7 +593,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
622
593
  */
623
594
  PaymentReceiptsApi.prototype.deletePaymentReceipt = function (requestParameters, options) {
624
595
  var _this = this;
625
- return (0, exports.PaymentReceiptsApiFp)(this.configuration).deletePaymentReceipt(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
596
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).deletePaymentReceipt(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
626
597
  };
627
598
  /**
628
599
  * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
@@ -634,7 +605,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
634
605
  */
635
606
  PaymentReceiptsApi.prototype.getPaymentReceipt = function (requestParameters, options) {
636
607
  var _this = this;
637
- return (0, exports.PaymentReceiptsApiFp)(this.configuration).getPaymentReceipt(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
608
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).getPaymentReceipt(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
638
609
  };
639
610
  /**
640
611
  * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
@@ -647,7 +618,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
647
618
  PaymentReceiptsApi.prototype.listPaymentReceipts = function (requestParameters, options) {
648
619
  var _this = this;
649
620
  if (requestParameters === void 0) { requestParameters = {}; }
650
- return (0, exports.PaymentReceiptsApiFp)(this.configuration).listPaymentReceipts(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
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).listPaymentReceipts(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); });
651
622
  };
652
623
  /**
653
624
  * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
@@ -659,7 +630,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
659
630
  */
660
631
  PaymentReceiptsApi.prototype.updatePaymentReceipt = function (requestParameters, options) {
661
632
  var _this = this;
662
- return (0, exports.PaymentReceiptsApiFp)(this.configuration).updatePaymentReceipt(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
633
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).updatePaymentReceipt(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
663
634
  };
664
635
  return PaymentReceiptsApi;
665
636
  }(base_1.BaseAPI));
@@ -298,7 +298,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
298
298
  * @throws {RequiredError}
299
299
  * @memberof PaymentRemindersApi
300
300
  */
301
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any, {}, any>>;
301
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any, {}>>;
302
302
  /**
303
303
  * This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
304
304
  * @summary Deactivate payment reminder
@@ -307,7 +307,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
307
307
  * @throws {RequiredError}
308
308
  * @memberof PaymentRemindersApi
309
309
  */
310
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any, {}, any>>;
310
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any, {}>>;
311
311
  /**
312
312
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information. **Required Permissions** \"payment-management.reminders.view\"
313
313
  * @summary Retrieve the payment reminder
@@ -316,7 +316,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
316
316
  * @throws {RequiredError}
317
317
  * @memberof PaymentRemindersApi
318
318
  */
319
- getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any, {}, any>>;
319
+ getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any, {}>>;
320
320
  /**
321
321
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
322
322
  * @summary List payment reminders
@@ -325,5 +325,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
325
325
  * @throws {RequiredError}
326
326
  * @memberof PaymentRemindersApi
327
327
  */
328
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any, {}, any>>;
328
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any, {}>>;
329
329
  }
@@ -103,10 +103,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
103
103
  createPaymentReminder: function (createPaymentReminderRequestDto, 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createPaymentReminderRequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createPaymentReminder', 'createPaymentReminderRequestDto', createPaymentReminderRequestDto);
@@ -121,19 +120,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
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
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
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);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -160,10 +153,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
160
153
  deactivatePaymentReminder: function (code, deactivatePaymentReminderRequestDto, authorization, options) {
161
154
  if (options === void 0) { options = {}; }
162
155
  return __awaiter(_this, void 0, void 0, function () {
163
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
164
- var _a;
165
- return __generator(this, function (_b) {
166
- switch (_b.label) {
156
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
+ return __generator(this, function (_a) {
158
+ switch (_a.label) {
167
159
  case 0:
168
160
  // verify required parameter 'code' is not null or undefined
169
161
  (0, common_1.assertParamExists)('deactivatePaymentReminder', 'code', code);
@@ -181,19 +173,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
181
173
  localVarQueryParameter = {};
182
174
  // authentication bearer required
183
175
  // http bearer authentication required
184
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
185
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
186
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
187
- ];
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
188
177
  case 1:
189
178
  // authentication bearer required
190
179
  // http bearer authentication required
191
- _b.sent();
192
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
193
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
194
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
195
- if (authorizationValue || authorizationKeepEmpty) {
196
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
180
+ _a.sent();
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
197
183
  }
198
184
  localVarHeaderParameter['Content-Type'] = 'application/json';
199
185
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -219,10 +205,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
219
205
  getPaymentReminder: function (code, authorization, options) {
220
206
  if (options === void 0) { options = {}; }
221
207
  return __awaiter(_this, void 0, void 0, function () {
222
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
223
- var _a;
224
- return __generator(this, function (_b) {
225
- switch (_b.label) {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
226
211
  case 0:
227
212
  // verify required parameter 'code' is not null or undefined
228
213
  (0, common_1.assertParamExists)('getPaymentReminder', 'code', code);
@@ -238,19 +223,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
238
223
  localVarQueryParameter = {};
239
224
  // authentication bearer required
240
225
  // http bearer authentication required
241
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
242
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
243
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
244
- ];
226
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
245
227
  case 1:
246
228
  // authentication bearer required
247
229
  // http bearer authentication required
248
- _b.sent();
249
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
250
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
251
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
252
- if (authorizationValue || authorizationKeepEmpty) {
253
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
230
+ _a.sent();
231
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
233
  }
255
234
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
256
235
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -280,10 +259,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
280
259
  listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
281
260
  if (options === void 0) { options = {}; }
282
261
  return __awaiter(_this, void 0, void 0, function () {
283
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
284
- var _a;
285
- return __generator(this, function (_b) {
286
- switch (_b.label) {
262
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
263
+ return __generator(this, function (_a) {
264
+ switch (_a.label) {
287
265
  case 0:
288
266
  localVarPath = "/paymentservice/v1/payment-reminders";
289
267
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -300,7 +278,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
300
278
  case 1:
301
279
  // authentication bearer required
302
280
  // http bearer authentication required
303
- _b.sent();
281
+ _a.sent();
304
282
  if (pageSize !== undefined) {
305
283
  localVarQueryParameter['pageSize'] = pageSize;
306
284
  }
@@ -322,11 +300,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
322
300
  if (filters !== undefined) {
323
301
  localVarQueryParameter['filters'] = filters;
324
302
  }
325
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
326
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
327
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
328
- if (authorizationValue || authorizationKeepEmpty) {
329
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
303
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
304
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
330
305
  }
331
306
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
332
307
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -525,7 +500,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
525
500
  */
526
501
  PaymentRemindersApi.prototype.createPaymentReminder = function (requestParameters, options) {
527
502
  var _this = this;
528
- return (0, exports.PaymentRemindersApiFp)(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
503
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
529
504
  };
530
505
  /**
531
506
  * This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
@@ -537,7 +512,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
537
512
  */
538
513
  PaymentRemindersApi.prototype.deactivatePaymentReminder = function (requestParameters, options) {
539
514
  var _this = this;
540
- return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
515
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
541
516
  };
542
517
  /**
543
518
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information. **Required Permissions** \"payment-management.reminders.view\"
@@ -549,7 +524,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
549
524
  */
550
525
  PaymentRemindersApi.prototype.getPaymentReminder = function (requestParameters, options) {
551
526
  var _this = this;
552
- return (0, exports.PaymentRemindersApiFp)(this.configuration).getPaymentReminder(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
527
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).getPaymentReminder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
553
528
  };
554
529
  /**
555
530
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
@@ -562,7 +537,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
562
537
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
563
538
  var _this = this;
564
539
  if (requestParameters === void 0) { requestParameters = {}; }
565
- return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(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); });
540
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(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); });
566
541
  };
567
542
  return PaymentRemindersApi;
568
543
  }(base_1.BaseAPI));
@@ -57,11 +57,11 @@ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Confi
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
61
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber&lt;/i&gt;
60
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
61
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber&lt;/i&gt;
62
62
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
63
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -116,11 +116,11 @@ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
118
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
120
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber&lt;/i&gt;
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
120
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber&lt;/i&gt;
121
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
122
122
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
@@ -175,11 +175,11 @@ export declare const PaymentRequestsApiFactory: (configuration?: Configuration,
175
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
177
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
179
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber&lt;/i&gt;
178
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
179
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber&lt;/i&gt;
180
180
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
181
181
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -283,13 +283,13 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
283
283
  */
284
284
  readonly pageToken?: string;
285
285
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
286
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
287
287
  * @type {string}
288
288
  * @memberof PaymentRequestsApiListPaymentRequests
289
289
  */
290
290
  readonly filter?: string;
291
291
  /**
292
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber&lt;/i&gt;
292
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber&lt;/i&gt;
293
293
  * @type {string}
294
294
  * @memberof PaymentRequestsApiListPaymentRequests
295
295
  */
@@ -307,7 +307,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
307
307
  */
308
308
  readonly expand?: string;
309
309
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType&lt;/i&gt;
311
311
  * @type {string}
312
312
  * @memberof PaymentRequestsApiListPaymentRequests
313
313
  */
@@ -353,7 +353,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
353
353
  * @throws {RequiredError}
354
354
  * @memberof PaymentRequestsApi
355
355
  */
356
- createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}, any>>;
356
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}>>;
357
357
  /**
358
358
  * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
359
359
  * @summary Delete the payment request
@@ -362,7 +362,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
362
362
  * @throws {RequiredError}
363
363
  * @memberof PaymentRequestsApi
364
364
  */
365
- deletePaymentRequest(requestParameters: PaymentRequestsApiDeletePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
365
+ deletePaymentRequest(requestParameters: PaymentRequestsApiDeletePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
366
366
  /**
367
367
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
368
368
  * @summary Retrieve the payment request
@@ -371,7 +371,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
371
371
  * @throws {RequiredError}
372
372
  * @memberof PaymentRequestsApi
373
373
  */
374
- getPaymentRequest(requestParameters: PaymentRequestsApiGetPaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentRequestResponseClass, any, {}, any>>;
374
+ getPaymentRequest(requestParameters: PaymentRequestsApiGetPaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentRequestResponseClass, any, {}>>;
375
375
  /**
376
376
  * Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
377
377
  * @summary List payment requests
@@ -380,7 +380,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
380
380
  * @throws {RequiredError}
381
381
  * @memberof PaymentRequestsApi
382
382
  */
383
- listPaymentRequests(requestParameters?: PaymentRequestsApiListPaymentRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRequestsResponseClass, any, {}, any>>;
383
+ listPaymentRequests(requestParameters?: PaymentRequestsApiListPaymentRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRequestsResponseClass, any, {}>>;
384
384
  /**
385
385
  * This will update payment request. **Required Permissions** \"payment-management.payments.update\"
386
386
  * @summary Update the payment request
@@ -389,5 +389,5 @@ export declare class PaymentRequestsApi extends BaseAPI {
389
389
  * @throws {RequiredError}
390
390
  * @memberof PaymentRequestsApi
391
391
  */
392
- updatePaymentRequest(requestParameters: PaymentRequestsApiUpdatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentRequestResponseClass, any, {}, any>>;
392
+ updatePaymentRequest(requestParameters: PaymentRequestsApiUpdatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentRequestResponseClass, any, {}>>;
393
393
  }