@emilgroup/payment-sdk 1.22.1-beta.68 → 1.22.1-beta.71
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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +24 -12
- package/api/bank-orders-api.ts +20 -10
- package/api/bank-transaction-api.ts +24 -12
- package/api/billing-addresses-api.ts +20 -10
- package/api/credit-allocation-api.ts +12 -6
- package/api/exceeding-credits-api.ts +117 -4
- package/api/ibanvalidator-api.ts +4 -2
- package/api/payment-methods-api.ts +12 -6
- package/api/payment-receipts-api.ts +20 -10
- package/api/payment-reminders-api.ts +16 -8
- package/api/payment-requests-api.ts +32 -22
- package/api/payment-setup-api.ts +8 -4
- package/api/payments-api.ts +24 -12
- package/api/payout-methods-api.ts +24 -12
- package/api/policy-payment-methods-api.ts +12 -6
- package/api/refunds-api.ts +12 -6
- package/api/tenant-bank-account-api.ts +20 -10
- package/base.ts +174 -41
- package/configuration.ts +20 -0
- package/dist/api/bank-accounts-api.js +36 -22
- package/dist/api/bank-orders-api.js +29 -18
- package/dist/api/bank-transaction-api.js +36 -22
- package/dist/api/billing-addresses-api.js +32 -19
- package/dist/api/credit-allocation-api.js +18 -11
- package/dist/api/exceeding-credits-api.d.ts +57 -0
- package/dist/api/exceeding-credits-api.js +107 -7
- package/dist/api/ibanvalidator-api.js +7 -4
- package/dist/api/payment-methods-api.js +18 -11
- package/dist/api/payment-receipts-api.js +29 -18
- package/dist/api/payment-reminders-api.js +25 -15
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +38 -27
- package/dist/api/payment-setup-api.js +14 -8
- package/dist/api/payments-api.js +28 -18
- package/dist/api/payout-methods-api.js +36 -22
- package/dist/api/policy-payment-methods-api.js +18 -11
- package/dist/api/refunds-api.js +15 -10
- package/dist/api/tenant-bank-account-api.js +29 -18
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
- package/dist/models/create-exceeding-credit-request-dto.js +15 -0
- package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/create-exceeding-credit-response-class.js +15 -0
- package/dist/models/create-payment-order-dto.d.ts +1 -1
- package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-request-dto.d.ts +6 -0
- package/dist/models/credit-allocation-class.d.ts +6 -0
- package/dist/models/credit-allocation-entity.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +6 -18
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +6 -18
- package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
- package/dist/models/payment-class.d.ts +2 -2
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-receipt-class.d.ts +1 -1
- package/dist/models/payment-request-class.d.ts +12 -6
- package/dist/models/shared-transaction-class.d.ts +6 -0
- package/dist/models/transaction-entity.d.ts +6 -0
- package/models/create-exceeding-credit-request-dto.ts +54 -0
- package/models/create-exceeding-credit-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +1 -1
- package/models/create-payment-receipt-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-request-request-dto.ts +6 -0
- package/models/credit-allocation-class.ts +6 -0
- package/models/credit-allocation-entity.ts +6 -0
- package/models/index.ts +2 -0
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +6 -18
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +6 -18
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +6 -18
- package/models/payment-class-without-expand-properties.ts +2 -2
- package/models/payment-class.ts +2 -2
- package/models/payment-entity.ts +1 -1
- package/models/payment-receipt-class.ts +1 -1
- package/models/payment-request-class.ts +12 -6
- package/models/shared-transaction-class.ts +6 -0
- package/models/transaction-entity.ts +6 -0
- package/package.json +1 -1
|
@@ -65,8 +65,10 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
65
65
|
// http bearer authentication required
|
|
66
66
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
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);
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
|
|
@@ -113,8 +115,10 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
113
115
|
// http bearer authentication required
|
|
114
116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
117
|
|
|
116
|
-
|
|
117
|
-
|
|
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);
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
|
|
@@ -165,8 +169,10 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
165
169
|
localVarQueryParameter['expand'] = expand;
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
|
|
169
|
-
|
|
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);
|
|
170
176
|
}
|
|
171
177
|
|
|
172
178
|
|
|
@@ -241,8 +247,10 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
241
247
|
localVarQueryParameter['filters'] = filters;
|
|
242
248
|
}
|
|
243
249
|
|
|
244
|
-
|
|
245
|
-
|
|
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);
|
|
246
254
|
}
|
|
247
255
|
|
|
248
256
|
|
|
@@ -286,8 +294,10 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
286
294
|
// http bearer authentication required
|
|
287
295
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
288
296
|
|
|
289
|
-
|
|
290
|
-
|
|
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);
|
|
291
301
|
}
|
|
292
302
|
|
|
293
303
|
|
|
@@ -67,8 +67,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
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);
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
|
|
@@ -118,8 +120,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
118
120
|
// http bearer authentication required
|
|
119
121
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
122
|
|
|
121
|
-
|
|
122
|
-
|
|
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);
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
|
|
@@ -166,8 +170,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
166
170
|
// http bearer authentication required
|
|
167
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|
|
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);
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
|
|
@@ -242,8 +248,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
242
248
|
localVarQueryParameter['filters'] = filters;
|
|
243
249
|
}
|
|
244
250
|
|
|
245
|
-
|
|
246
|
-
|
|
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);
|
|
247
255
|
}
|
|
248
256
|
|
|
249
257
|
|
|
@@ -67,8 +67,10 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
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);
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
|
|
@@ -115,8 +117,10 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
115
117
|
// http bearer authentication required
|
|
116
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
119
|
|
|
118
|
-
|
|
119
|
-
|
|
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);
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
|
|
@@ -167,8 +171,10 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
167
171
|
localVarQueryParameter['expand'] = expand;
|
|
168
172
|
}
|
|
169
173
|
|
|
170
|
-
|
|
171
|
-
|
|
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);
|
|
172
178
|
}
|
|
173
179
|
|
|
174
180
|
|
|
@@ -188,11 +194,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
188
194
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
195
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
190
196
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
191
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
192
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
197
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
198
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber</i>
|
|
193
199
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
194
200
|
* @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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
195
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
201
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
196
202
|
* @param {*} [options] Override http request option.
|
|
197
203
|
* @throws {RequiredError}
|
|
198
204
|
*/
|
|
@@ -243,8 +249,10 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
243
249
|
localVarQueryParameter['filters'] = filters;
|
|
244
250
|
}
|
|
245
251
|
|
|
246
|
-
|
|
247
|
-
|
|
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);
|
|
248
256
|
}
|
|
249
257
|
|
|
250
258
|
|
|
@@ -291,8 +299,10 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
291
299
|
// http bearer authentication required
|
|
292
300
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
|
|
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);
|
|
296
306
|
}
|
|
297
307
|
|
|
298
308
|
|
|
@@ -362,11 +372,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
|
|
|
362
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
363
373
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
364
374
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
365
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
366
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
375
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
376
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber</i>
|
|
367
377
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
368
378
|
* @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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
369
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
379
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
370
380
|
* @param {*} [options] Override http request option.
|
|
371
381
|
* @throws {RequiredError}
|
|
372
382
|
*/
|
|
@@ -437,11 +447,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
|
|
|
437
447
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
448
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
439
449
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
440
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
441
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
450
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
451
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber</i>
|
|
442
452
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
443
453
|
* @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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
444
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
454
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
445
455
|
* @param {*} [options] Override http request option.
|
|
446
456
|
* @throws {RequiredError}
|
|
447
457
|
*/
|
|
@@ -561,14 +571,14 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
561
571
|
readonly pageToken?: string
|
|
562
572
|
|
|
563
573
|
/**
|
|
564
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
574
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
565
575
|
* @type {string}
|
|
566
576
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
567
577
|
*/
|
|
568
578
|
readonly filter?: string
|
|
569
579
|
|
|
570
580
|
/**
|
|
571
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
581
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode, bankOrderNumber</i>
|
|
572
582
|
* @type {string}
|
|
573
583
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
574
584
|
*/
|
|
@@ -589,7 +599,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
589
599
|
readonly expand?: string
|
|
590
600
|
|
|
591
601
|
/**
|
|
592
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
602
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
593
603
|
* @type {string}
|
|
594
604
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
595
605
|
*/
|
package/api/payment-setup-api.ts
CHANGED
|
@@ -63,8 +63,10 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
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);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
|
|
@@ -110,8 +112,10 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
|
|
|
110
112
|
// http bearer authentication required
|
|
111
113
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
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);
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
|
package/api/payments-api.ts
CHANGED
|
@@ -68,12 +68,16 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
68
68
|
// http bearer authentication required
|
|
69
69
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
72
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
73
|
+
if (authorizationValue) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
78
|
+
const idempotencyKeyValue = 'Idempotency-Key'.toLowerCase() === 'authorization' ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
79
|
+
if (idempotencyKeyValue) {
|
|
80
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
|
|
@@ -122,12 +126,16 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
122
126
|
// http bearer authentication required
|
|
123
127
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
124
128
|
|
|
125
|
-
|
|
126
|
-
|
|
129
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
130
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
133
|
}
|
|
128
134
|
|
|
129
|
-
|
|
130
|
-
|
|
135
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
136
|
+
const idempotencyKeyValue = 'Idempotency-Key'.toLowerCase() === 'authorization' ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
137
|
+
if (idempotencyKeyValue) {
|
|
138
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
131
139
|
}
|
|
132
140
|
|
|
133
141
|
|
|
@@ -179,8 +187,10 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
179
187
|
localVarQueryParameter['expand'] = expand;
|
|
180
188
|
}
|
|
181
189
|
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
191
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
if (authorizationValue) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
194
|
}
|
|
185
195
|
|
|
186
196
|
|
|
@@ -255,8 +265,10 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
255
265
|
localVarQueryParameter['filters'] = filters;
|
|
256
266
|
}
|
|
257
267
|
|
|
258
|
-
|
|
259
|
-
|
|
268
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
269
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
270
|
+
if (authorizationValue) {
|
|
271
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
260
272
|
}
|
|
261
273
|
|
|
262
274
|
|
|
@@ -66,8 +66,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
66
66
|
// http bearer authentication required
|
|
67
67
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
70
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
71
|
+
if (authorizationValue) {
|
|
72
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
|
|
@@ -110,8 +112,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
110
112
|
// http bearer authentication required
|
|
111
113
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
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);
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
|
|
@@ -161,8 +165,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
161
165
|
// http bearer authentication required
|
|
162
166
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
163
167
|
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
169
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
170
|
+
if (authorizationValue) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
166
172
|
}
|
|
167
173
|
|
|
168
174
|
|
|
@@ -209,8 +215,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
209
215
|
// http bearer authentication required
|
|
210
216
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
211
217
|
|
|
212
|
-
|
|
213
|
-
|
|
218
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
219
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
220
|
+
if (authorizationValue) {
|
|
221
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
214
222
|
}
|
|
215
223
|
|
|
216
224
|
|
|
@@ -259,8 +267,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
259
267
|
localVarQueryParameter['expand'] = expand;
|
|
260
268
|
}
|
|
261
269
|
|
|
262
|
-
|
|
263
|
-
|
|
270
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
271
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
272
|
+
if (authorizationValue) {
|
|
273
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
264
274
|
}
|
|
265
275
|
|
|
266
276
|
|
|
@@ -335,8 +345,10 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
335
345
|
localVarQueryParameter['filters'] = filters;
|
|
336
346
|
}
|
|
337
347
|
|
|
338
|
-
|
|
339
|
-
|
|
348
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
349
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
350
|
+
if (authorizationValue) {
|
|
351
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
340
352
|
}
|
|
341
353
|
|
|
342
354
|
|
|
@@ -67,8 +67,10 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
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);
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
|
|
@@ -114,8 +116,10 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
114
116
|
// http bearer authentication required
|
|
115
117
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
118
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
120
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
121
|
+
if (authorizationValue) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
|
|
@@ -193,8 +197,10 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
193
197
|
localVarQueryParameter['filters'] = filters;
|
|
194
198
|
}
|
|
195
199
|
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
201
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
202
|
+
if (authorizationValue) {
|
|
203
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
198
204
|
}
|
|
199
205
|
|
|
200
206
|
|
package/api/refunds-api.ts
CHANGED
|
@@ -63,8 +63,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
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);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
|
|
@@ -116,8 +118,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
116
118
|
localVarQueryParameter['expand'] = expand;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
122
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
123
|
+
if (authorizationValue) {
|
|
124
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
|
|
@@ -192,8 +196,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
192
196
|
localVarQueryParameter['filters'] = filters;
|
|
193
197
|
}
|
|
194
198
|
|
|
195
|
-
|
|
196
|
-
|
|
199
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
200
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
201
|
+
if (authorizationValue) {
|
|
202
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
197
203
|
}
|
|
198
204
|
|
|
199
205
|
|