@emilgroup/payment-sdk 1.16.1-beta.6 → 1.16.1-beta.61
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 +12 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +16 -16
- package/api/bank-orders-api.ts +16 -16
- package/api/bank-transaction-api.ts +12 -12
- package/api/billing-addresses-api.ts +12 -12
- package/api/credit-allocation-api.ts +12 -12
- package/api/exceeding-credits-api.ts +12 -12
- package/api/ibanvalidator-api.ts +165 -0
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-receipts-api.ts +676 -0
- package/api/payment-reminders-api.ts +12 -12
- package/api/payment-requests-api.ts +20 -20
- package/api/payments-api.ts +12 -12
- package/api/payout-methods-api.ts +138 -20
- package/api/refunds-api.ts +12 -12
- package/api/tenant-bank-account-api.ts +12 -12
- package/api.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +16 -16
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-orders-api.d.ts +16 -16
- package/dist/api/bank-orders-api.js +14 -14
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +10 -10
- package/dist/api/billing-addresses-api.d.ts +12 -12
- package/dist/api/billing-addresses-api.js +10 -10
- package/dist/api/credit-allocation-api.d.ts +12 -12
- package/dist/api/credit-allocation-api.js +10 -10
- package/dist/api/exceeding-credits-api.d.ts +12 -12
- package/dist/api/exceeding-credits-api.js +10 -10
- package/dist/api/ibanvalidator-api.d.ts +97 -0
- package/dist/api/ibanvalidator-api.js +224 -0
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +10 -10
- package/dist/api/payment-receipts-api.d.ts +383 -0
- package/dist/api/payment-receipts-api.js +637 -0
- package/dist/api/payment-reminders-api.d.ts +12 -12
- package/dist/api/payment-reminders-api.js +10 -10
- package/dist/api/payment-requests-api.d.ts +20 -20
- package/dist/api/payment-requests-api.js +15 -15
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +10 -10
- package/dist/api/payout-methods-api.d.ts +85 -20
- package/dist/api/payout-methods-api.js +115 -16
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +10 -10
- package/dist/api/tenant-bank-account-api.d.ts +12 -12
- package/dist/api/tenant-bank-account-api.js +10 -10
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
- package/dist/models/bank-account-class.d.ts +6 -0
- package/dist/models/bank-data-class.d.ts +36 -0
- package/dist/models/bank-data-class.js +15 -0
- package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
- package/dist/models/create-payment-receipt-request-dto.js +20 -0
- package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/create-payment-receipt-response-class.js +15 -0
- package/dist/models/create-payment-request-request-dto.d.ts +48 -11
- package/dist/models/create-payment-request-request-dto.js +8 -4
- package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
- package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +8 -2
- package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/get-payment-receipt-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- package/dist/models/payment-receipt-class.d.ts +101 -0
- package/dist/models/payment-receipt-class.js +20 -0
- package/dist/models/payment-request-class.d.ts +56 -12
- package/dist/models/payment-request-class.js +9 -5
- package/dist/models/payout-method-class.d.ts +6 -0
- package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/update-payment-receipt-response-class.js +15 -0
- package/dist/models/update-payment-request-request-dto.d.ts +2 -2
- package/dist/models/update-payment-request-request-dto.js +1 -1
- package/dist/models/validate-iban-request-dto.d.ts +24 -0
- package/dist/models/validate-iban-request-dto.js +15 -0
- package/dist/models/validate-iban-response-class.d.ts +31 -0
- package/dist/models/validate-iban-response-class.js +15 -0
- package/models/bank-account-class-without-expand-properties.ts +6 -0
- package/models/bank-account-class.ts +6 -0
- package/models/bank-data-class.ts +42 -0
- package/models/create-payment-receipt-request-dto.ts +74 -0
- package/models/create-payment-receipt-response-class.ts +31 -0
- package/models/create-payment-request-request-dto.ts +47 -11
- package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
- package/models/create-payout-method-request-dto.ts +8 -2
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/list-payment-receipts-response-class.ts +49 -0
- package/models/payment-receipt-class.ts +110 -0
- package/models/payment-request-class.ts +55 -12
- package/models/payout-method-class.ts +6 -0
- package/models/update-payment-receipt-response-class.ts +31 -0
- package/models/update-payment-request-request-dto.ts +2 -2
- package/models/validate-iban-request-dto.ts +30 -0
- package/models/validate-iban-response-class.ts +37 -0
- package/package.json +2 -2
|
@@ -127,16 +127,16 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Returns a list of credit allocations you have previously created.
|
|
130
|
+
* Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
131
131
|
* @summary List credit allocations
|
|
132
132
|
* @param {string} [authorization] Bearer Token
|
|
133
133
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
134
134
|
* @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.
|
|
135
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
135
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
136
136
|
* @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, policyCode</i>
|
|
137
137
|
* @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, createdAt, updatedAt</i>
|
|
138
138
|
* @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: exceedingCredits<i>
|
|
139
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
139
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
*/
|
|
@@ -237,16 +237,16 @@ export const CreditAllocationApiFp = function(configuration?: Configuration) {
|
|
|
237
237
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
238
238
|
},
|
|
239
239
|
/**
|
|
240
|
-
* Returns a list of credit allocations you have previously created.
|
|
240
|
+
* Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
241
241
|
* @summary List credit allocations
|
|
242
242
|
* @param {string} [authorization] Bearer Token
|
|
243
243
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
244
244
|
* @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.
|
|
245
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
245
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
246
246
|
* @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, policyCode</i>
|
|
247
247
|
* @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, createdAt, updatedAt</i>
|
|
248
248
|
* @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: exceedingCredits<i>
|
|
249
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
249
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
@@ -287,16 +287,16 @@ export const CreditAllocationApiFactory = function (configuration?: Configuratio
|
|
|
287
287
|
return localVarFp.getCreditAllocation(code, authorization, options).then((request) => request(axios, basePath));
|
|
288
288
|
},
|
|
289
289
|
/**
|
|
290
|
-
* Returns a list of credit allocations you have previously created.
|
|
290
|
+
* Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
291
291
|
* @summary List credit allocations
|
|
292
292
|
* @param {string} [authorization] Bearer Token
|
|
293
293
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
294
294
|
* @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.
|
|
295
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
295
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
296
296
|
* @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, policyCode</i>
|
|
297
297
|
* @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, createdAt, updatedAt</i>
|
|
298
298
|
* @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: exceedingCredits<i>
|
|
299
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
299
|
+
* @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: code, id, policyCode, createdAt, updatedAt</i>
|
|
300
300
|
* @param {*} [options] Override http request option.
|
|
301
301
|
* @throws {RequiredError}
|
|
302
302
|
*/
|
|
@@ -376,7 +376,7 @@ export interface CreditAllocationApiListCreditAllocationsRequest {
|
|
|
376
376
|
readonly pageToken?: string
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
* Filter the response by one or multiple fields.
|
|
379
|
+
* 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: code, id, policyCode, createdAt, updatedAt</i>
|
|
380
380
|
* @type {string}
|
|
381
381
|
* @memberof CreditAllocationApiListCreditAllocations
|
|
382
382
|
*/
|
|
@@ -404,7 +404,7 @@ export interface CreditAllocationApiListCreditAllocationsRequest {
|
|
|
404
404
|
readonly expand?: string
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
|
-
* Filters the response by one or multiple fields.
|
|
407
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, createdAt, updatedAt</i>
|
|
408
408
|
* @type {string}
|
|
409
409
|
* @memberof CreditAllocationApiListCreditAllocations
|
|
410
410
|
*/
|
|
@@ -443,7 +443,7 @@ export class CreditAllocationApi extends BaseAPI {
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
|
-
* Returns a list of credit allocations you have previously created.
|
|
446
|
+
* Returns a list of credit allocations you have previously created. The credit allocations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
447
447
|
* @summary List credit allocations
|
|
448
448
|
* @param {CreditAllocationApiListCreditAllocationsRequest} requestParameters Request parameters.
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
@@ -76,16 +76,16 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
76
76
|
};
|
|
77
77
|
},
|
|
78
78
|
/**
|
|
79
|
-
* Returns a list of exceeding credits you have previously created.
|
|
79
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
80
80
|
* @summary List exceeding credits
|
|
81
81
|
* @param {string} [authorization] Bearer Token
|
|
82
82
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
83
83
|
* @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.
|
|
84
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
84
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
85
85
|
* @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, policyCode, bankTransactionCode, invoiceCode</i>
|
|
86
86
|
* @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, createdAt, updatedAt</i>
|
|
87
87
|
* @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/>
|
|
88
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
88
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
@@ -174,16 +174,16 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
|
|
|
174
174
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
175
175
|
},
|
|
176
176
|
/**
|
|
177
|
-
* Returns a list of exceeding credits you have previously created.
|
|
177
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
178
178
|
* @summary List exceeding credits
|
|
179
179
|
* @param {string} [authorization] Bearer Token
|
|
180
180
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
181
181
|
* @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.
|
|
182
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
182
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
183
183
|
* @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, policyCode, bankTransactionCode, invoiceCode</i>
|
|
184
184
|
* @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, createdAt, updatedAt</i>
|
|
185
185
|
* @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/>
|
|
186
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
186
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
@@ -213,16 +213,16 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
|
|
|
213
213
|
return localVarFp.getExceedingCredit(code, authorization, options).then((request) => request(axios, basePath));
|
|
214
214
|
},
|
|
215
215
|
/**
|
|
216
|
-
* Returns a list of exceeding credits you have previously created.
|
|
216
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
217
217
|
* @summary List exceeding credits
|
|
218
218
|
* @param {string} [authorization] Bearer Token
|
|
219
219
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
220
220
|
* @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.
|
|
221
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
221
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
222
222
|
* @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, policyCode, bankTransactionCode, invoiceCode</i>
|
|
223
223
|
* @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, createdAt, updatedAt</i>
|
|
224
224
|
* @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/>
|
|
225
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
225
|
+
* @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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
*/
|
|
@@ -281,7 +281,7 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
|
|
|
281
281
|
readonly pageToken?: string
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
|
-
* Filter the response by one or multiple fields.
|
|
284
|
+
* 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: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
285
285
|
* @type {string}
|
|
286
286
|
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
287
287
|
*/
|
|
@@ -309,7 +309,7 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
|
|
|
309
309
|
readonly expand?: string
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* Filters the response by one or multiple fields.
|
|
312
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode</i>
|
|
313
313
|
* @type {string}
|
|
314
314
|
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
315
315
|
*/
|
|
@@ -336,7 +336,7 @@ export class ExceedingCreditsApi extends BaseAPI {
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
|
-
* Returns a list of exceeding credits you have previously created.
|
|
339
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
340
340
|
* @summary List exceeding credits
|
|
341
341
|
* @param {ExceedingCreditsApiListExceedingCreditsRequest} requestParameters Request parameters.
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { ValidateIbanRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ValidateIbanResponseClass } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* IBANValidatorApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const IBANValidatorApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* Validate IBAN and return related bank data **Required Permissions** none
|
|
35
|
+
* @summary Validate IBAN
|
|
36
|
+
* @param {ValidateIbanRequestDto} validateIbanRequestDto
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
validateIban: async (validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'validateIbanRequestDto' is not null or undefined
|
|
43
|
+
assertParamExists('validateIban', 'validateIbanRequestDto', validateIbanRequestDto)
|
|
44
|
+
const localVarPath = `/paymentservice/v1/iban`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
let baseAccessToken;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
baseAccessToken = configuration.accessToken;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
55
|
+
const localVarHeaderParameter = {} as any;
|
|
56
|
+
const localVarQueryParameter = {} as any;
|
|
57
|
+
|
|
58
|
+
// authentication bearer required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
|
+
|
|
62
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
63
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
69
|
+
|
|
70
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
71
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73
|
+
localVarRequestOptions.data = serializeDataIfNeeded(validateIbanRequestDto, localVarRequestOptions, configuration)
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
url: toPathString(localVarUrlObj),
|
|
77
|
+
options: localVarRequestOptions,
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* IBANValidatorApi - functional programming interface
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export const IBANValidatorApiFp = function(configuration?: Configuration) {
|
|
88
|
+
const localVarAxiosParamCreator = IBANValidatorApiAxiosParamCreator(configuration)
|
|
89
|
+
return {
|
|
90
|
+
/**
|
|
91
|
+
* Validate IBAN and return related bank data **Required Permissions** none
|
|
92
|
+
* @summary Validate IBAN
|
|
93
|
+
* @param {ValidateIbanRequestDto} validateIbanRequestDto
|
|
94
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
async validateIban(validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateIbanResponseClass>> {
|
|
99
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.validateIban(validateIbanRequestDto, authorization, options);
|
|
100
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
101
|
+
},
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* IBANValidatorApi - factory interface
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export const IBANValidatorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
110
|
+
const localVarFp = IBANValidatorApiFp(configuration)
|
|
111
|
+
return {
|
|
112
|
+
/**
|
|
113
|
+
* Validate IBAN and return related bank data **Required Permissions** none
|
|
114
|
+
* @summary Validate IBAN
|
|
115
|
+
* @param {ValidateIbanRequestDto} validateIbanRequestDto
|
|
116
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
validateIban(validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateIbanResponseClass> {
|
|
121
|
+
return localVarFp.validateIban(validateIbanRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Request parameters for validateIban operation in IBANValidatorApi.
|
|
128
|
+
* @export
|
|
129
|
+
* @interface IBANValidatorApiValidateIbanRequest
|
|
130
|
+
*/
|
|
131
|
+
export interface IBANValidatorApiValidateIbanRequest {
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {ValidateIbanRequestDto}
|
|
135
|
+
* @memberof IBANValidatorApiValidateIban
|
|
136
|
+
*/
|
|
137
|
+
readonly validateIbanRequestDto: ValidateIbanRequestDto
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof IBANValidatorApiValidateIban
|
|
143
|
+
*/
|
|
144
|
+
readonly authorization?: string
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* IBANValidatorApi - object-oriented interface
|
|
149
|
+
* @export
|
|
150
|
+
* @class IBANValidatorApi
|
|
151
|
+
* @extends {BaseAPI}
|
|
152
|
+
*/
|
|
153
|
+
export class IBANValidatorApi extends BaseAPI {
|
|
154
|
+
/**
|
|
155
|
+
* Validate IBAN and return related bank data **Required Permissions** none
|
|
156
|
+
* @summary Validate IBAN
|
|
157
|
+
* @param {IBANValidatorApiValidateIbanRequest} requestParameters Request parameters.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
* @memberof IBANValidatorApi
|
|
161
|
+
*/
|
|
162
|
+
public validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig) {
|
|
163
|
+
return IBANValidatorApiFp(this.configuration).validateIban(requestParameters.validateIbanRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -127,16 +127,16 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Returns a list of payment methods you have previously created.
|
|
130
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
131
131
|
* @summary List payment methods
|
|
132
132
|
* @param {string} [authorization] Bearer Token
|
|
133
133
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
134
134
|
* @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.
|
|
135
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
135
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
136
136
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
137
137
|
* @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, createdAt</i>
|
|
138
138
|
* @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/>
|
|
139
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
139
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
*/
|
|
@@ -237,16 +237,16 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
237
237
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
238
238
|
},
|
|
239
239
|
/**
|
|
240
|
-
* Returns a list of payment methods you have previously created.
|
|
240
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
241
241
|
* @summary List payment methods
|
|
242
242
|
* @param {string} [authorization] Bearer Token
|
|
243
243
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
244
244
|
* @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.
|
|
245
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
245
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
246
246
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
247
247
|
* @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, createdAt</i>
|
|
248
248
|
* @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/>
|
|
249
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
249
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
@@ -287,16 +287,16 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
287
287
|
return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
288
288
|
},
|
|
289
289
|
/**
|
|
290
|
-
* Returns a list of payment methods you have previously created.
|
|
290
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
291
291
|
* @summary List payment methods
|
|
292
292
|
* @param {string} [authorization] Bearer Token
|
|
293
293
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
294
294
|
* @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.
|
|
295
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
295
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
296
296
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
297
297
|
* @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, createdAt</i>
|
|
298
298
|
* @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/>
|
|
299
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
299
|
+
* @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
300
300
|
* @param {*} [options] Override http request option.
|
|
301
301
|
* @throws {RequiredError}
|
|
302
302
|
*/
|
|
@@ -376,7 +376,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
376
376
|
readonly pageToken?: string
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
* Filter the response by one or multiple fields.
|
|
379
|
+
* 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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
380
380
|
* @type {string}
|
|
381
381
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
382
382
|
*/
|
|
@@ -404,7 +404,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
404
404
|
readonly expand?: string
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
|
-
* Filters the response by one or multiple fields.
|
|
407
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
408
408
|
* @type {string}
|
|
409
409
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
410
410
|
*/
|
|
@@ -443,7 +443,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
|
-
* Returns a list of payment methods you have previously created.
|
|
446
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
447
447
|
* @summary List payment methods
|
|
448
448
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
449
449
|
* @param {*} [options] Override http request option.
|