@emilgroup/payment-sdk 1.22.1-beta.75 → 1.22.1-beta.77

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 (129) hide show
  1. package/.openapi-generator/FILES +0 -6
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +12 -24
  4. package/api/bank-orders-api.ts +10 -20
  5. package/api/bank-transaction-api.ts +20 -154
  6. package/api/billing-addresses-api.ts +10 -20
  7. package/api/credit-allocation-api.ts +6 -12
  8. package/api/exceeding-credits-api.ts +4 -117
  9. package/api/ibanvalidator-api.ts +2 -4
  10. package/api/payment-methods-api.ts +6 -12
  11. package/api/payment-receipts-api.ts +10 -20
  12. package/api/payment-reminders-api.ts +8 -16
  13. package/api/payment-requests-api.ts +22 -32
  14. package/api/payment-setup-api.ts +4 -8
  15. package/api/payments-api.ts +12 -24
  16. package/api/payout-methods-api.ts +12 -24
  17. package/api/policy-payment-methods-api.ts +6 -12
  18. package/api/refunds-api.ts +6 -12
  19. package/api/tenant-bank-account-api.ts +10 -20
  20. package/base.ts +41 -174
  21. package/common.ts +2 -3
  22. package/configuration.ts +0 -20
  23. package/dist/api/bank-accounts-api.d.ts +6 -6
  24. package/dist/api/bank-accounts-api.js +22 -36
  25. package/dist/api/bank-orders-api.d.ts +5 -5
  26. package/dist/api/bank-orders-api.js +18 -29
  27. package/dist/api/bank-transaction-api.d.ts +14 -80
  28. package/dist/api/bank-transaction-api.js +28 -144
  29. package/dist/api/billing-addresses-api.d.ts +5 -5
  30. package/dist/api/billing-addresses-api.js +19 -32
  31. package/dist/api/credit-allocation-api.d.ts +3 -3
  32. package/dist/api/credit-allocation-api.js +11 -18
  33. package/dist/api/exceeding-credits-api.d.ts +2 -59
  34. package/dist/api/exceeding-credits-api.js +7 -107
  35. package/dist/api/health-check-api.d.ts +1 -1
  36. package/dist/api/ibanvalidator-api.d.ts +1 -1
  37. package/dist/api/ibanvalidator-api.js +4 -7
  38. package/dist/api/payment-methods-api.d.ts +3 -3
  39. package/dist/api/payment-methods-api.js +11 -18
  40. package/dist/api/payment-receipts-api.d.ts +5 -5
  41. package/dist/api/payment-receipts-api.js +18 -29
  42. package/dist/api/payment-reminders-api.d.ts +4 -4
  43. package/dist/api/payment-reminders-api.js +15 -25
  44. package/dist/api/payment-requests-api.d.ts +17 -17
  45. package/dist/api/payment-requests-api.js +27 -38
  46. package/dist/api/payment-setup-api.d.ts +2 -2
  47. package/dist/api/payment-setup-api.js +8 -14
  48. package/dist/api/payments-api.d.ts +4 -4
  49. package/dist/api/payments-api.js +18 -28
  50. package/dist/api/payout-methods-api.d.ts +6 -6
  51. package/dist/api/payout-methods-api.js +22 -36
  52. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  53. package/dist/api/policy-payment-methods-api.js +11 -18
  54. package/dist/api/refunds-api.d.ts +3 -3
  55. package/dist/api/refunds-api.js +10 -15
  56. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  57. package/dist/api/tenant-bank-account-api.js +18 -29
  58. package/dist/api/webhooks-api.d.ts +2 -2
  59. package/dist/base.d.ts +0 -24
  60. package/dist/base.js +59 -178
  61. package/dist/common.d.ts +1 -1
  62. package/dist/common.js +0 -1
  63. package/dist/configuration.d.ts +0 -17
  64. package/dist/configuration.js +0 -2
  65. package/dist/models/bank-transaction-class.d.ts +0 -7
  66. package/dist/models/bank-transaction-entity.d.ts +0 -7
  67. package/dist/models/create-payment-order-dto.d.ts +1 -1
  68. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  69. package/dist/models/create-payment-request-dto.d.ts +1 -1
  70. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  71. package/dist/models/credit-allocation-class.d.ts +0 -6
  72. package/dist/models/credit-allocation-entity.d.ts +0 -6
  73. package/dist/models/index.d.ts +0 -6
  74. package/dist/models/index.js +0 -6
  75. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  76. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  77. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  78. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  79. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  80. package/dist/models/list-refunds-response-class.d.ts +18 -6
  81. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  82. package/dist/models/payment-class.d.ts +2 -2
  83. package/dist/models/payment-entity.d.ts +1 -1
  84. package/dist/models/payment-receipt-class.d.ts +1 -13
  85. package/dist/models/payment-request-class.d.ts +6 -13
  86. package/dist/models/payment-request-class.js +0 -1
  87. package/dist/models/shared-transaction-class.d.ts +0 -6
  88. package/dist/models/transaction-entity.d.ts +0 -6
  89. package/models/bank-transaction-class.ts +0 -7
  90. package/models/bank-transaction-entity.ts +0 -7
  91. package/models/create-payment-order-dto.ts +1 -1
  92. package/models/create-payment-receipt-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +1 -1
  94. package/models/create-payment-request-request-dto.ts +0 -6
  95. package/models/credit-allocation-class.ts +0 -6
  96. package/models/credit-allocation-entity.ts +0 -6
  97. package/models/index.ts +0 -6
  98. package/models/list-billing-addresses-response-class.ts +9 -9
  99. package/models/list-exceeding-credits-response-class.ts +18 -6
  100. package/models/list-payment-receipts-response-class.ts +9 -9
  101. package/models/list-payment-requests-response-class.ts +18 -6
  102. package/models/list-payout-methods-response-class.ts +9 -9
  103. package/models/list-refunds-response-class.ts +18 -6
  104. package/models/payment-class-without-expand-properties.ts +2 -2
  105. package/models/payment-class.ts +2 -2
  106. package/models/payment-entity.ts +1 -1
  107. package/models/payment-receipt-class.ts +1 -13
  108. package/models/payment-request-class.ts +6 -13
  109. package/models/shared-transaction-class.ts +0 -6
  110. package/models/transaction-entity.ts +0 -6
  111. package/package.json +2 -2
  112. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  113. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  114. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  115. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  116. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
  117. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
  118. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
  119. package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
  120. package/dist/models/payment-receipt-entity.d.ts +0 -139
  121. package/dist/models/payment-receipt-entity.js +0 -20
  122. package/dist/models/payment-request-entity.d.ts +0 -223
  123. package/dist/models/payment-request-entity.js +0 -39
  124. package/models/create-exceeding-credit-request-dto.ts +0 -54
  125. package/models/create-exceeding-credit-response-class.ts +0 -31
  126. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
  127. package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
  128. package/models/payment-receipt-entity.ts +0 -148
  129. package/models/payment-request-entity.ts +0 -233
@@ -103,7 +103,7 @@ var IBANValidatorApiAxiosParamCreator = function (configuration) {
103
103
  validateIban: function (validateIbanRequestDto, 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, authorizationValue, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -120,16 +120,13 @@ var IBANValidatorApiAxiosParamCreator = function (configuration) {
120
120
  localVarQueryParameter = {};
121
121
  // authentication bearer required
122
122
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
124
- // Only Authorization falls back to the configured token; an empty value is never sent.
125
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
126
124
  case 1:
127
125
  // authentication bearer required
128
126
  // http bearer authentication required
129
127
  _a.sent();
130
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
- if (authorizationValue) {
132
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
130
  }
134
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -241,7 +241,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
241
241
  * @throws {RequiredError}
242
242
  * @memberof PaymentMethodsApi
243
243
  */
244
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any, {}, any>>;
244
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any, {}>>;
245
245
  /**
246
246
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
247
247
  * @summary Retrieve the payment method
@@ -250,7 +250,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
250
250
  * @throws {RequiredError}
251
251
  * @memberof PaymentMethodsApi
252
252
  */
253
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any, {}, any>>;
253
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any, {}>>;
254
254
  /**
255
255
  * Returns a list of payment methods you have previously created. The payment methods 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 payment methods
@@ -259,5 +259,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
259
259
  * @throws {RequiredError}
260
260
  * @memberof PaymentMethodsApi
261
261
  */
262
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any, {}, any>>;
262
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any, {}>>;
263
263
  }
@@ -103,7 +103,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
103
103
  createPaymentMethod: function (createPspPaymentMethodRequestDto, 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, authorizationValue, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -120,16 +120,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
120
120
  localVarQueryParameter = {};
121
121
  // authentication bearer required
122
122
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
124
- // Only Authorization falls back to the configured token; an empty value is never sent.
125
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
126
124
  case 1:
127
125
  // authentication bearer required
128
126
  // http bearer authentication required
129
127
  _a.sent();
130
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
- if (authorizationValue) {
132
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
130
  }
134
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -155,7 +152,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
155
152
  getPaymentMethod: function (code, authorization, options) {
156
153
  if (options === void 0) { options = {}; }
157
154
  return __awaiter(_this, void 0, void 0, function () {
158
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
159
156
  return __generator(this, function (_a) {
160
157
  switch (_a.label) {
161
158
  case 0:
@@ -173,16 +170,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
173
170
  localVarQueryParameter = {};
174
171
  // authentication bearer required
175
172
  // http bearer authentication required
176
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
177
- // Only Authorization falls back to the configured token; an empty value is never sent.
178
- ];
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
179
174
  case 1:
180
175
  // authentication bearer required
181
176
  // http bearer authentication required
182
177
  _a.sent();
183
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
184
- if (authorizationValue) {
185
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
186
180
  }
187
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
188
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -212,7 +206,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
212
206
  listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
213
207
  if (options === void 0) { options = {}; }
214
208
  return __awaiter(_this, void 0, void 0, function () {
215
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
209
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
216
210
  return __generator(this, function (_a) {
217
211
  switch (_a.label) {
218
212
  case 0:
@@ -253,9 +247,8 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
253
247
  if (filters !== undefined) {
254
248
  localVarQueryParameter['filters'] = filters;
255
249
  }
256
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
257
- if (authorizationValue) {
258
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
250
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
259
252
  }
260
253
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
261
254
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -343,7 +343,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
343
343
  * @throws {RequiredError}
344
344
  * @memberof PaymentReceiptsApi
345
345
  */
346
- createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}, any>>;
346
+ createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}>>;
347
347
  /**
348
348
  * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
349
349
  * @summary Delete the payment receipt
@@ -352,7 +352,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
352
352
  * @throws {RequiredError}
353
353
  * @memberof PaymentReceiptsApi
354
354
  */
355
- deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
355
+ deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
356
356
  /**
357
357
  * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
358
358
  * @summary Retrieve the payment receipt
@@ -361,7 +361,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
361
361
  * @throws {RequiredError}
362
362
  * @memberof PaymentReceiptsApi
363
363
  */
364
- getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReceiptResponseClass, any, {}, any>>;
364
+ getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReceiptResponseClass, any, {}>>;
365
365
  /**
366
366
  * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
367
367
  * @summary List payment receipts
@@ -370,7 +370,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
370
370
  * @throws {RequiredError}
371
371
  * @memberof PaymentReceiptsApi
372
372
  */
373
- listPaymentReceipts(requestParameters?: PaymentReceiptsApiListPaymentReceiptsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentReceiptsResponseClass, any, {}, any>>;
373
+ listPaymentReceipts(requestParameters?: PaymentReceiptsApiListPaymentReceiptsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentReceiptsResponseClass, any, {}>>;
374
374
  /**
375
375
  * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
376
376
  * @summary Update the payment receipt
@@ -379,5 +379,5 @@ export declare class PaymentReceiptsApi extends BaseAPI {
379
379
  * @throws {RequiredError}
380
380
  * @memberof PaymentReceiptsApi
381
381
  */
382
- updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentReceiptResponseClass, any, {}, any>>;
382
+ updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentReceiptResponseClass, any, {}>>;
383
383
  }
@@ -103,7 +103,7 @@ 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, authorizationValue, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -120,16 +120,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
120
120
  localVarQueryParameter = {};
121
121
  // authentication bearer required
122
122
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
124
- // Only Authorization falls back to the configured token; an empty value is never sent.
125
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
126
124
  case 1:
127
125
  // authentication bearer required
128
126
  // http bearer authentication required
129
127
  _a.sent();
130
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
- if (authorizationValue) {
132
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
130
  }
134
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -155,7 +152,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
155
152
  deletePaymentReceipt: function (code, authorization, options) {
156
153
  if (options === void 0) { options = {}; }
157
154
  return __awaiter(_this, void 0, void 0, function () {
158
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
159
156
  return __generator(this, function (_a) {
160
157
  switch (_a.label) {
161
158
  case 0:
@@ -173,16 +170,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
173
170
  localVarQueryParameter = {};
174
171
  // authentication bearer required
175
172
  // http bearer authentication required
176
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
177
- // Only Authorization falls back to the configured token; an empty value is never sent.
178
- ];
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
179
174
  case 1:
180
175
  // authentication bearer required
181
176
  // http bearer authentication required
182
177
  _a.sent();
183
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
184
- if (authorizationValue) {
185
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
186
180
  }
187
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
188
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -207,7 +201,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
207
201
  getPaymentReceipt: function (code, expand, authorization, options) {
208
202
  if (options === void 0) { options = {}; }
209
203
  return __awaiter(_this, void 0, void 0, function () {
210
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
204
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
211
205
  return __generator(this, function (_a) {
212
206
  switch (_a.label) {
213
207
  case 0:
@@ -235,9 +229,8 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
235
229
  if (expand !== undefined) {
236
230
  localVarQueryParameter['expand'] = expand;
237
231
  }
238
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
239
- if (authorizationValue) {
240
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
241
234
  }
242
235
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
243
236
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -267,7 +260,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
267
260
  listPaymentReceipts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
268
261
  if (options === void 0) { options = {}; }
269
262
  return __awaiter(_this, void 0, void 0, function () {
270
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
263
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
271
264
  return __generator(this, function (_a) {
272
265
  switch (_a.label) {
273
266
  case 0:
@@ -308,9 +301,8 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
308
301
  if (filters !== undefined) {
309
302
  localVarQueryParameter['filters'] = filters;
310
303
  }
311
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
312
- if (authorizationValue) {
313
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
304
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
305
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
314
306
  }
315
307
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
316
308
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -334,7 +326,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
334
326
  updatePaymentReceipt: function (code, authorization, options) {
335
327
  if (options === void 0) { options = {}; }
336
328
  return __awaiter(_this, void 0, void 0, function () {
337
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
329
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
338
330
  return __generator(this, function (_a) {
339
331
  switch (_a.label) {
340
332
  case 0:
@@ -352,16 +344,13 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
352
344
  localVarQueryParameter = {};
353
345
  // authentication bearer required
354
346
  // http bearer authentication required
355
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
356
- // Only Authorization falls back to the configured token; an empty value is never sent.
357
- ];
347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
358
348
  case 1:
359
349
  // authentication bearer required
360
350
  // http bearer authentication required
361
351
  _a.sent();
362
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
363
- if (authorizationValue) {
364
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
352
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
365
354
  }
366
355
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
367
356
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -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,7 +103,7 @@ 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, authorizationValue, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -120,16 +120,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
120
120
  localVarQueryParameter = {};
121
121
  // authentication bearer required
122
122
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
124
- // Only Authorization falls back to the configured token; an empty value is never sent.
125
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
126
124
  case 1:
127
125
  // authentication bearer required
128
126
  // http bearer authentication required
129
127
  _a.sent();
130
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
- if (authorizationValue) {
132
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
130
  }
134
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -156,7 +153,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
156
153
  deactivatePaymentReminder: function (code, deactivatePaymentReminderRequestDto, authorization, options) {
157
154
  if (options === void 0) { options = {}; }
158
155
  return __awaiter(_this, void 0, void 0, function () {
159
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
156
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
157
  return __generator(this, function (_a) {
161
158
  switch (_a.label) {
162
159
  case 0:
@@ -176,16 +173,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
176
173
  localVarQueryParameter = {};
177
174
  // authentication bearer required
178
175
  // http bearer authentication required
179
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
180
- // Only Authorization falls back to the configured token; an empty value is never sent.
181
- ];
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
182
177
  case 1:
183
178
  // authentication bearer required
184
179
  // http bearer authentication required
185
180
  _a.sent();
186
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
187
- if (authorizationValue) {
188
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
189
183
  }
190
184
  localVarHeaderParameter['Content-Type'] = 'application/json';
191
185
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -211,7 +205,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
211
205
  getPaymentReminder: function (code, authorization, options) {
212
206
  if (options === void 0) { options = {}; }
213
207
  return __awaiter(_this, void 0, void 0, function () {
214
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
215
209
  return __generator(this, function (_a) {
216
210
  switch (_a.label) {
217
211
  case 0:
@@ -229,16 +223,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
229
223
  localVarQueryParameter = {};
230
224
  // authentication bearer required
231
225
  // http bearer authentication required
232
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
233
- // Only Authorization falls back to the configured token; an empty value is never sent.
234
- ];
226
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
235
227
  case 1:
236
228
  // authentication bearer required
237
229
  // http bearer authentication required
238
230
  _a.sent();
239
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
240
- if (authorizationValue) {
241
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
231
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
242
233
  }
243
234
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
244
235
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -268,7 +259,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
268
259
  listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
269
260
  if (options === void 0) { options = {}; }
270
261
  return __awaiter(_this, void 0, void 0, function () {
271
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
262
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
272
263
  return __generator(this, function (_a) {
273
264
  switch (_a.label) {
274
265
  case 0:
@@ -309,9 +300,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
309
300
  if (filters !== undefined) {
310
301
  localVarQueryParameter['filters'] = filters;
311
302
  }
312
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
313
- if (authorizationValue) {
314
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
303
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
304
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
315
305
  }
316
306
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
317
307
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -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
  }