@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
@@ -63,10 +63,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
63
63
  // http bearer authentication required
64
64
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
65
 
66
- // Only Authorization falls back to the configured token; an empty value is never sent.
67
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
68
- if (authorizationValue) {
69
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
68
  }
71
69
 
72
70
 
@@ -113,10 +111,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
113
111
  // http bearer authentication required
114
112
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
115
113
 
116
- // Only Authorization falls back to the configured token; an empty value is never sent.
117
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
118
- if (authorizationValue) {
119
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
114
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
115
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
120
116
  }
121
117
 
122
118
 
@@ -191,10 +187,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
191
187
  localVarQueryParameter['filters'] = filters;
192
188
  }
193
189
 
194
- // Only Authorization falls back to the configured token; an empty value is never sent.
195
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
196
- if (authorizationValue) {
197
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
190
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
191
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
198
192
  }
199
193
 
200
194
 
@@ -21,10 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { CreateExceedingCreditRequestDto } from '../models';
25
- // @ts-ignore
26
- import { CreateExceedingCreditResponseClass } from '../models';
27
- // @ts-ignore
28
24
  import { GetExceedingCreditResponseClass } from '../models';
29
25
  // @ts-ignore
30
26
  import { ListExceedingCreditsResponseClass } from '../models';
@@ -34,55 +30,6 @@ import { ListExceedingCreditsResponseClass } from '../models';
34
30
  */
35
31
  export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Configuration) {
36
32
  return {
37
- /**
38
- * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
39
- * @summary Create the exceeding credit
40
- * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
41
- * @param {string} [authorization] Bearer Token
42
- * @param {*} [options] Override http request option.
43
- * @throws {RequiredError}
44
- */
45
- createExceedingCredit: async (createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
- // verify required parameter 'createExceedingCreditRequestDto' is not null or undefined
47
- assertParamExists('createExceedingCredit', 'createExceedingCreditRequestDto', createExceedingCreditRequestDto)
48
- const localVarPath = `/paymentservice/v1/exceeding-credits`;
49
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
- let baseOptions;
52
- let baseAccessToken;
53
- if (configuration) {
54
- baseOptions = configuration.baseOptions;
55
- baseAccessToken = configuration.accessToken;
56
- }
57
-
58
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
- const localVarHeaderParameter = {} as any;
60
- const localVarQueryParameter = {} as any;
61
-
62
- // authentication bearer required
63
- // http bearer authentication required
64
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
-
66
- // Only Authorization falls back to the configured token; an empty value is never sent.
67
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
68
- if (authorizationValue) {
69
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
70
- }
71
-
72
-
73
-
74
- localVarHeaderParameter['Content-Type'] = 'application/json';
75
-
76
- setSearchParams(localVarUrlObj, localVarQueryParameter);
77
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
78
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
79
- localVarRequestOptions.data = serializeDataIfNeeded(createExceedingCreditRequestDto, localVarRequestOptions, configuration)
80
-
81
- return {
82
- url: toPathString(localVarUrlObj),
83
- options: localVarRequestOptions,
84
- };
85
- },
86
33
  /**
87
34
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
88
35
  * @summary Retrieve the exceeding credit
@@ -113,10 +60,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
113
60
  // http bearer authentication required
114
61
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
115
62
 
116
- // Only Authorization falls back to the configured token; an empty value is never sent.
117
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
118
- if (authorizationValue) {
119
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
63
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
64
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
120
65
  }
121
66
 
122
67
 
@@ -191,10 +136,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
191
136
  localVarQueryParameter['filters'] = filters;
192
137
  }
193
138
 
194
- // Only Authorization falls back to the configured token; an empty value is never sent.
195
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
196
- if (authorizationValue) {
197
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
139
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
140
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
198
141
  }
199
142
 
200
143
 
@@ -218,18 +161,6 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
218
161
  export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
219
162
  const localVarAxiosParamCreator = ExceedingCreditsApiAxiosParamCreator(configuration)
220
163
  return {
221
- /**
222
- * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
223
- * @summary Create the exceeding credit
224
- * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
225
- * @param {string} [authorization] Bearer Token
226
- * @param {*} [options] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- async createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExceedingCreditResponseClass>> {
230
- const localVarAxiosArgs = await localVarAxiosParamCreator.createExceedingCredit(createExceedingCreditRequestDto, authorization, options);
231
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
- },
233
164
  /**
234
165
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
235
166
  * @summary Retrieve the exceeding credit
@@ -270,17 +201,6 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
270
201
  export const ExceedingCreditsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
271
202
  const localVarFp = ExceedingCreditsApiFp(configuration)
272
203
  return {
273
- /**
274
- * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
275
- * @summary Create the exceeding credit
276
- * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
277
- * @param {string} [authorization] Bearer Token
278
- * @param {*} [options] Override http request option.
279
- * @throws {RequiredError}
280
- */
281
- createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: any): AxiosPromise<CreateExceedingCreditResponseClass> {
282
- return localVarFp.createExceedingCredit(createExceedingCreditRequestDto, authorization, options).then((request) => request(axios, basePath));
283
- },
284
204
  /**
285
205
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
286
206
  * @summary Retrieve the exceeding credit
@@ -312,27 +232,6 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
312
232
  };
313
233
  };
314
234
 
315
- /**
316
- * Request parameters for createExceedingCredit operation in ExceedingCreditsApi.
317
- * @export
318
- * @interface ExceedingCreditsApiCreateExceedingCreditRequest
319
- */
320
- export interface ExceedingCreditsApiCreateExceedingCreditRequest {
321
- /**
322
- *
323
- * @type {CreateExceedingCreditRequestDto}
324
- * @memberof ExceedingCreditsApiCreateExceedingCredit
325
- */
326
- readonly createExceedingCreditRequestDto: CreateExceedingCreditRequestDto
327
-
328
- /**
329
- * Bearer Token
330
- * @type {string}
331
- * @memberof ExceedingCreditsApiCreateExceedingCredit
332
- */
333
- readonly authorization?: string
334
- }
335
-
336
235
  /**
337
236
  * Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
338
237
  * @export
@@ -424,18 +323,6 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
424
323
  * @extends {BaseAPI}
425
324
  */
426
325
  export class ExceedingCreditsApi extends BaseAPI {
427
- /**
428
- * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
429
- * @summary Create the exceeding credit
430
- * @param {ExceedingCreditsApiCreateExceedingCreditRequest} requestParameters Request parameters.
431
- * @param {*} [options] Override http request option.
432
- * @throws {RequiredError}
433
- * @memberof ExceedingCreditsApi
434
- */
435
- public createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig) {
436
- return ExceedingCreditsApiFp(this.configuration).createExceedingCredit(requestParameters.createExceedingCreditRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
437
- }
438
-
439
326
  /**
440
327
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
441
328
  * @summary Retrieve the exceeding credit
@@ -59,10 +59,8 @@ export const IBANValidatorApiAxiosParamCreator = function (configuration?: Confi
59
59
  // http bearer authentication required
60
60
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
61
61
 
62
- // Only Authorization falls back to the configured token; an empty value is never sent.
63
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
64
- if (authorizationValue) {
65
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
62
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
63
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
66
64
  }
67
65
 
68
66
 
@@ -63,10 +63,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
63
63
  // http bearer authentication required
64
64
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
65
 
66
- // Only Authorization falls back to the configured token; an empty value is never sent.
67
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
68
- if (authorizationValue) {
69
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
68
  }
71
69
 
72
70
 
@@ -113,10 +111,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
113
111
  // http bearer authentication required
114
112
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
115
113
 
116
- // Only Authorization falls back to the configured token; an empty value is never sent.
117
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
118
- if (authorizationValue) {
119
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
114
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
115
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
120
116
  }
121
117
 
122
118
 
@@ -191,10 +187,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
191
187
  localVarQueryParameter['filters'] = filters;
192
188
  }
193
189
 
194
- // Only Authorization falls back to the configured token; an empty value is never sent.
195
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
196
- if (authorizationValue) {
197
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
190
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
191
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
198
192
  }
199
193
 
200
194
 
@@ -65,10 +65,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
65
65
  // http bearer authentication required
66
66
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
67
67
 
68
- // Only Authorization falls back to the configured token; an empty value is never sent.
69
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
70
- if (authorizationValue) {
71
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
68
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
69
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
72
70
  }
73
71
 
74
72
 
@@ -115,10 +113,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
115
113
  // http bearer authentication required
116
114
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
117
115
 
118
- // Only Authorization falls back to the configured token; an empty value is never sent.
119
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
120
- if (authorizationValue) {
121
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
116
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
117
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
122
118
  }
123
119
 
124
120
 
@@ -169,10 +165,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
169
165
  localVarQueryParameter['expand'] = expand;
170
166
  }
171
167
 
172
- // Only Authorization falls back to the configured token; an empty value is never sent.
173
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
174
- if (authorizationValue) {
175
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
168
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
169
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
176
170
  }
177
171
 
178
172
 
@@ -247,10 +241,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
247
241
  localVarQueryParameter['filters'] = filters;
248
242
  }
249
243
 
250
- // Only Authorization falls back to the configured token; an empty value is never sent.
251
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
252
- if (authorizationValue) {
253
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
244
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
245
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
246
  }
255
247
 
256
248
 
@@ -294,10 +286,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
294
286
  // http bearer authentication required
295
287
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
296
288
 
297
- // Only Authorization falls back to the configured token; an empty value is never sent.
298
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
299
- if (authorizationValue) {
300
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
289
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
290
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
301
291
  }
302
292
 
303
293
 
@@ -67,10 +67,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
67
67
  // http bearer authentication required
68
68
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
69
69
 
70
- // Only Authorization falls back to the configured token; an empty value is never sent.
71
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
72
- if (authorizationValue) {
73
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
70
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
71
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
74
72
  }
75
73
 
76
74
 
@@ -120,10 +118,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
120
118
  // http bearer authentication required
121
119
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
122
120
 
123
- // Only Authorization falls back to the configured token; an empty value is never sent.
124
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
125
- if (authorizationValue) {
126
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
121
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
122
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
123
  }
128
124
 
129
125
 
@@ -170,10 +166,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
170
166
  // http bearer authentication required
171
167
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
172
168
 
173
- // Only Authorization falls back to the configured token; an empty value is never sent.
174
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
175
- if (authorizationValue) {
176
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
169
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
170
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
177
171
  }
178
172
 
179
173
 
@@ -248,10 +242,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
248
242
  localVarQueryParameter['filters'] = filters;
249
243
  }
250
244
 
251
- // Only Authorization falls back to the configured token; an empty value is never sent.
252
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
253
- if (authorizationValue) {
254
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
245
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
255
247
  }
256
248
 
257
249
 
@@ -67,10 +67,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
67
67
  // http bearer authentication required
68
68
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
69
69
 
70
- // Only Authorization falls back to the configured token; an empty value is never sent.
71
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
72
- if (authorizationValue) {
73
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
70
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
71
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
74
72
  }
75
73
 
76
74
 
@@ -117,10 +115,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
117
115
  // http bearer authentication required
118
116
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
119
117
 
120
- // Only Authorization falls back to the configured token; an empty value is never sent.
121
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
122
- if (authorizationValue) {
123
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
118
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
119
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
124
120
  }
125
121
 
126
122
 
@@ -171,10 +167,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
171
167
  localVarQueryParameter['expand'] = expand;
172
168
  }
173
169
 
174
- // Only Authorization falls back to the configured token; an empty value is never sent.
175
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
176
- if (authorizationValue) {
177
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
170
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
171
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
178
172
  }
179
173
 
180
174
 
@@ -194,11 +188,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
194
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
195
189
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
196
190
  * @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.
197
- * @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;
198
- * @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;
191
+ * @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;
192
+ * @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;
199
193
  * @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;
200
194
  * @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;
201
- * @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;
195
+ * @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;
202
196
  * @param {*} [options] Override http request option.
203
197
  * @throws {RequiredError}
204
198
  */
@@ -249,10 +243,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
249
243
  localVarQueryParameter['filters'] = filters;
250
244
  }
251
245
 
252
- // Only Authorization falls back to the configured token; an empty value is never sent.
253
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
254
- if (authorizationValue) {
255
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
246
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
247
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
256
248
  }
257
249
 
258
250
 
@@ -299,10 +291,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
299
291
  // http bearer authentication required
300
292
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
301
293
 
302
- // Only Authorization falls back to the configured token; an empty value is never sent.
303
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
304
- if (authorizationValue) {
305
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
294
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
306
296
  }
307
297
 
308
298
 
@@ -372,11 +362,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
372
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
363
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
364
  * @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.
375
- * @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;
376
- * @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;
365
+ * @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;
366
+ * @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;
377
367
  * @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;
378
368
  * @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;
379
- * @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;
369
+ * @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;
380
370
  * @param {*} [options] Override http request option.
381
371
  * @throws {RequiredError}
382
372
  */
@@ -447,11 +437,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
447
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
448
438
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
449
439
  * @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.
450
- * @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;
451
- * @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;
440
+ * @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;
441
+ * @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;
452
442
  * @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;
453
443
  * @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;
454
- * @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;
444
+ * @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;
455
445
  * @param {*} [options] Override http request option.
456
446
  * @throws {RequiredError}
457
447
  */
@@ -571,14 +561,14 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
571
561
  readonly pageToken?: string
572
562
 
573
563
  /**
574
- * 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;
564
+ * 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;
575
565
  * @type {string}
576
566
  * @memberof PaymentRequestsApiListPaymentRequests
577
567
  */
578
568
  readonly filter?: string
579
569
 
580
570
  /**
581
- * 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;
571
+ * 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;
582
572
  * @type {string}
583
573
  * @memberof PaymentRequestsApiListPaymentRequests
584
574
  */
@@ -599,7 +589,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
599
589
  readonly expand?: string
600
590
 
601
591
  /**
602
- * 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;
592
+ * 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;
603
593
  * @type {string}
604
594
  * @memberof PaymentRequestsApiListPaymentRequests
605
595
  */
@@ -63,10 +63,8 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
63
63
  // http bearer authentication required
64
64
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
65
 
66
- // Only Authorization falls back to the configured token; an empty value is never sent.
67
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
68
- if (authorizationValue) {
69
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
68
  }
71
69
 
72
70
 
@@ -112,10 +110,8 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
112
110
  // http bearer authentication required
113
111
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
114
112
 
115
- // Only Authorization falls back to the configured token; an empty value is never sent.
116
- const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
117
- if (authorizationValue) {
118
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
113
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
114
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
119
115
  }
120
116
 
121
117