@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70
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 +32 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/billing-addresses-api.ts +677 -0
- package/api/credit-allocation-api.ts +456 -0
- package/api/payout-methods-api.ts +672 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api/tenant-bank-account-api.ts +8 -8
- package/api.ts +6 -0
- package/base.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +29 -29
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +636 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +445 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +635 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +13 -13
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/bank-order-class.d.ts +9 -9
- package/dist/models/bank-order-entity.d.ts +156 -0
- package/dist/models/bank-order-entity.js +29 -0
- package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
- package/dist/models/bank-order-xml-file-entity.js +15 -0
- package/dist/models/bank-transaction-entity.d.ts +179 -0
- package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
- package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
- package/dist/models/bank-transaction-invoice-entity.js +15 -0
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -5
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/credit-allocation-entity.d.ts +135 -0
- package/dist/models/credit-allocation-entity.js +34 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +29 -1
- package/dist/models/index.js +29 -1
- package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
- package/dist/models/invoice-match-suggestion-entity.js +15 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
- package/dist/models/suggestion-generation-progress-entity.js +22 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +56 -0
- package/dist/models/tenant-bank-account-class.js +8 -0
- package/dist/models/tenant-bank-account-entity.d.ts +153 -0
- package/dist/models/tenant-bank-account-entity.js +23 -0
- package/dist/models/transaction-entity.d.ts +112 -0
- package/dist/models/transaction-entity.js +23 -0
- package/dist/models/update-bank-order-request-dto.d.ts +5 -5
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +9 -9
- package/models/bank-order-entity.ts +166 -0
- package/models/bank-order-xml-file-entity.ts +91 -0
- package/models/bank-transaction-entity.ts +188 -0
- package/models/bank-transaction-invoice-entity.ts +104 -0
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +7 -6
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +60 -1
- package/models/credit-allocation-class.ts +124 -0
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-entity.ts +139 -0
- package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
- package/models/tenant-bank-account-class.ts +59 -0
- package/models/tenant-bank-account-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +5 -5
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
- package/package.json +2 -2
- package/dist/models/financial-account-class.d.ts +0 -111
|
@@ -21,6 +21,8 @@ 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 { ActivatePolicyPaymentMethodRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
@@ -32,6 +34,57 @@ import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
|
32
34
|
*/
|
|
33
35
|
export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
39
|
+
* @summary Activate the policy payment method
|
|
40
|
+
* @param {string} code
|
|
41
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
42
|
+
* @param {string} [authorization] Bearer Token
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
activatePolicyPaymentMethod: async (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
// verify required parameter 'code' is not null or undefined
|
|
48
|
+
assertParamExists('activatePolicyPaymentMethod', 'code', code)
|
|
49
|
+
// verify required parameter 'activatePolicyPaymentMethodRequestDto' is not null or undefined
|
|
50
|
+
assertParamExists('activatePolicyPaymentMethod', 'activatePolicyPaymentMethodRequestDto', activatePolicyPaymentMethodRequestDto)
|
|
51
|
+
const localVarPath = `/paymentservice/v1/policy-payment-methods/activate/{code}`
|
|
52
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
53
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
+
let baseOptions;
|
|
56
|
+
let baseAccessToken;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
baseAccessToken = configuration.accessToken;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication bearer required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
35
88
|
/**
|
|
36
89
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
37
90
|
* @summary Create the policy payment method
|
|
@@ -165,6 +218,19 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
165
218
|
export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
166
219
|
const localVarAxiosParamCreator = PolicyPaymentMethodsApiAxiosParamCreator(configuration)
|
|
167
220
|
return {
|
|
221
|
+
/**
|
|
222
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
223
|
+
* @summary Activate the policy payment method
|
|
224
|
+
* @param {string} code
|
|
225
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
226
|
+
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
async activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options);
|
|
232
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
233
|
+
},
|
|
168
234
|
/**
|
|
169
235
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
170
236
|
* @summary Create the policy payment method
|
|
@@ -205,6 +271,18 @@ export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration)
|
|
|
205
271
|
export const PolicyPaymentMethodsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
206
272
|
const localVarFp = PolicyPaymentMethodsApiFp(configuration)
|
|
207
273
|
return {
|
|
274
|
+
/**
|
|
275
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
276
|
+
* @summary Activate the policy payment method
|
|
277
|
+
* @param {string} code
|
|
278
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
279
|
+
* @param {string} [authorization] Bearer Token
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
284
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
285
|
+
},
|
|
208
286
|
/**
|
|
209
287
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
210
288
|
* @summary Create the policy payment method
|
|
@@ -236,6 +314,34 @@ export const PolicyPaymentMethodsApiFactory = function (configuration?: Configur
|
|
|
236
314
|
};
|
|
237
315
|
};
|
|
238
316
|
|
|
317
|
+
/**
|
|
318
|
+
* Request parameters for activatePolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
319
|
+
* @export
|
|
320
|
+
* @interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest
|
|
321
|
+
*/
|
|
322
|
+
export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
327
|
+
*/
|
|
328
|
+
readonly code: string
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
333
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
334
|
+
*/
|
|
335
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Bearer Token
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
341
|
+
*/
|
|
342
|
+
readonly authorization?: string
|
|
343
|
+
}
|
|
344
|
+
|
|
239
345
|
/**
|
|
240
346
|
* Request parameters for createPolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
241
347
|
* @export
|
|
@@ -327,6 +433,18 @@ export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
|
|
|
327
433
|
* @extends {BaseAPI}
|
|
328
434
|
*/
|
|
329
435
|
export class PolicyPaymentMethodsApi extends BaseAPI {
|
|
436
|
+
/**
|
|
437
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
438
|
+
* @summary Activate the policy payment method
|
|
439
|
+
* @param {PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest} requestParameters Request parameters.
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
* @memberof PolicyPaymentMethodsApi
|
|
443
|
+
*/
|
|
444
|
+
public activatePolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
445
|
+
return PolicyPaymentMethodsApiFp(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
446
|
+
}
|
|
447
|
+
|
|
330
448
|
/**
|
|
331
449
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
332
450
|
* @summary Create the policy payment method
|
|
@@ -186,11 +186,11 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
186
186
|
* @param {string} [authorization] Bearer Token
|
|
187
187
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
188
|
* @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.
|
|
189
|
-
* @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, iban, bankName, accountName</i>
|
|
189
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
190
190
|
* @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: id, iban, bankName, accountName</i>
|
|
191
191
|
* @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>
|
|
192
192
|
* @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: bankTransactions<i>
|
|
193
|
-
* @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, iban, bankName, accountName</i>
|
|
193
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
@@ -360,11 +360,11 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
360
360
|
* @param {string} [authorization] Bearer Token
|
|
361
361
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
362
|
* @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.
|
|
363
|
-
* @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, iban, bankName, accountName</i>
|
|
363
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
364
364
|
* @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: id, iban, bankName, accountName</i>
|
|
365
365
|
* @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>
|
|
366
366
|
* @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: bankTransactions<i>
|
|
367
|
-
* @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, iban, bankName, accountName</i>
|
|
367
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
@@ -435,11 +435,11 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
435
435
|
* @param {string} [authorization] Bearer Token
|
|
436
436
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
437
437
|
* @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.
|
|
438
|
-
* @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, iban, bankName, accountName</i>
|
|
438
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
439
439
|
* @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: id, iban, bankName, accountName</i>
|
|
440
440
|
* @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>
|
|
441
441
|
* @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: bankTransactions<i>
|
|
442
|
-
* @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, iban, bankName, accountName</i>
|
|
442
|
+
* @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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
443
443
|
* @param {*} [options] Override http request option.
|
|
444
444
|
* @throws {RequiredError}
|
|
445
445
|
*/
|
|
@@ -559,7 +559,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
559
559
|
readonly pageToken?: string
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
* 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, iban, bankName, accountName</i>
|
|
562
|
+
* 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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
563
563
|
* @type {string}
|
|
564
564
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
565
565
|
*/
|
|
@@ -587,7 +587,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
587
587
|
readonly expand?: string
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
|
-
* 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, iban, bankName, accountName</i>
|
|
590
|
+
* 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, iban, bankName, accountName, creditorId, isDefault, sepaPainVersion</i>
|
|
591
591
|
* @type {string}
|
|
592
592
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
593
593
|
*/
|
package/api.ts
CHANGED
|
@@ -23,12 +23,15 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
import { BankAccountsApi } from './api';
|
|
24
24
|
import { BankOrdersApi } from './api';
|
|
25
25
|
import { BankTransactionApi } from './api';
|
|
26
|
+
import { BillingAddressesApi } from './api';
|
|
27
|
+
import { CreditAllocationApi } from './api';
|
|
26
28
|
import { ExceedingCreditsApi } from './api';
|
|
27
29
|
import { HealthCheckApi } from './api';
|
|
28
30
|
import { PaymentMethodsApi } from './api';
|
|
29
31
|
import { PaymentRemindersApi } from './api';
|
|
30
32
|
import { PaymentSetupApi } from './api';
|
|
31
33
|
import { PaymentsApi } from './api';
|
|
34
|
+
import { PayoutMethodsApi } from './api';
|
|
32
35
|
import { PolicyPaymentMethodsApi } from './api';
|
|
33
36
|
import { RefundsApi } from './api';
|
|
34
37
|
import { TenantBankAccountApi } from './api';
|
|
@@ -38,12 +41,15 @@ import { WebhooksApi } from './api';
|
|
|
38
41
|
export * from './api/bank-accounts-api';
|
|
39
42
|
export * from './api/bank-orders-api';
|
|
40
43
|
export * from './api/bank-transaction-api';
|
|
44
|
+
export * from './api/billing-addresses-api';
|
|
45
|
+
export * from './api/credit-allocation-api';
|
|
41
46
|
export * from './api/exceeding-credits-api';
|
|
42
47
|
export * from './api/health-check-api';
|
|
43
48
|
export * from './api/payment-methods-api';
|
|
44
49
|
export * from './api/payment-reminders-api';
|
|
45
50
|
export * from './api/payment-setup-api';
|
|
46
51
|
export * from './api/payments-api';
|
|
52
|
+
export * from './api/payout-methods-api';
|
|
47
53
|
export * from './api/policy-payment-methods-api';
|
|
48
54
|
export * from './api/refunds-api';
|
|
49
55
|
export * from './api/tenant-bank-account-api';
|
package/base.ts
CHANGED
|
@@ -409,7 +409,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
* @memberof BankAccountsApi
|
|
411
411
|
*/
|
|
412
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any>>;
|
|
412
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any, {}>>;
|
|
413
413
|
/**
|
|
414
414
|
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
415
415
|
* @summary Delete the bank account
|
|
@@ -418,7 +418,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
* @memberof BankAccountsApi
|
|
420
420
|
*/
|
|
421
|
-
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
421
|
+
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
422
422
|
/**
|
|
423
423
|
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
424
424
|
* @summary Retrieve the bank account
|
|
@@ -427,7 +427,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
427
427
|
* @throws {RequiredError}
|
|
428
428
|
* @memberof BankAccountsApi
|
|
429
429
|
*/
|
|
430
|
-
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
|
|
430
|
+
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any, {}>>;
|
|
431
431
|
/**
|
|
432
432
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
433
433
|
* @summary List bank accounts
|
|
@@ -436,7 +436,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
436
436
|
* @throws {RequiredError}
|
|
437
437
|
* @memberof BankAccountsApi
|
|
438
438
|
*/
|
|
439
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
|
|
439
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any, {}>>;
|
|
440
440
|
/**
|
|
441
441
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
442
442
|
* @summary Set primary bank account
|
|
@@ -445,7 +445,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
445
445
|
* @throws {RequiredError}
|
|
446
446
|
* @memberof BankAccountsApi
|
|
447
447
|
*/
|
|
448
|
-
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
448
|
+
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
449
449
|
/**
|
|
450
450
|
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
451
451
|
* @summary Update the bank account
|
|
@@ -454,5 +454,5 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
454
454
|
* @throws {RequiredError}
|
|
455
455
|
* @memberof BankAccountsApi
|
|
456
456
|
*/
|
|
457
|
-
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any>>;
|
|
457
|
+
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any, {}>>;
|
|
458
458
|
}
|
|
@@ -46,7 +46,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
46
46
|
* @summary Retrieve the bank order
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} [authorization] Bearer Token
|
|
49
|
-
* @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:
|
|
49
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
@@ -57,11 +57,11 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
57
57
|
* @param {string} [authorization] Bearer Token
|
|
58
58
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type,
|
|
61
|
-
* @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, description, orderNumber,
|
|
62
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber,
|
|
63
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
64
|
-
* @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, orderNumber, status, type,
|
|
60
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
61
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
62
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
63
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
|
|
64
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
@@ -105,7 +105,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* @summary Retrieve the bank order
|
|
106
106
|
* @param {string} code
|
|
107
107
|
* @param {string} [authorization] Bearer Token
|
|
108
|
-
* @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:
|
|
108
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
@@ -116,11 +116,11 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
* @param {string} [authorization] Bearer Token
|
|
117
117
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
118
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type,
|
|
120
|
-
* @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, description, orderNumber,
|
|
121
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber,
|
|
122
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
123
|
-
* @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, orderNumber, status, type,
|
|
119
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
120
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
121
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
122
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
|
|
123
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
@@ -164,7 +164,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
164
164
|
* @summary Retrieve the bank order
|
|
165
165
|
* @param {string} code
|
|
166
166
|
* @param {string} [authorization] Bearer Token
|
|
167
|
-
* @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:
|
|
167
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
@@ -175,11 +175,11 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
175
175
|
* @param {string} [authorization] Bearer Token
|
|
176
176
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
177
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type,
|
|
179
|
-
* @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, description, orderNumber,
|
|
180
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber,
|
|
181
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
182
|
-
* @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, orderNumber, status, type,
|
|
178
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
179
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
180
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
181
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
|
|
182
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
@@ -252,7 +252,7 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
252
252
|
*/
|
|
253
253
|
readonly authorization?: string;
|
|
254
254
|
/**
|
|
255
|
-
* 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:
|
|
255
|
+
* 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: tenantBankAccount, xmlFile<i>
|
|
256
256
|
* @type {string}
|
|
257
257
|
* @memberof BankOrdersApiGetBankOrder
|
|
258
258
|
*/
|
|
@@ -283,31 +283,31 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
283
283
|
*/
|
|
284
284
|
readonly pageToken?: string;
|
|
285
285
|
/**
|
|
286
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type,
|
|
286
|
+
* 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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
287
287
|
* @type {string}
|
|
288
288
|
* @memberof BankOrdersApiListBankOrders
|
|
289
289
|
*/
|
|
290
290
|
readonly filter?: string;
|
|
291
291
|
/**
|
|
292
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, description, orderNumber,
|
|
292
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, description, orderNumber, tenantBankAccountCode</i>
|
|
293
293
|
* @type {string}
|
|
294
294
|
* @memberof BankOrdersApiListBankOrders
|
|
295
295
|
*/
|
|
296
296
|
readonly search?: string;
|
|
297
297
|
/**
|
|
298
|
-
* 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, executionDate, dueDate, orderNumber,
|
|
298
|
+
* 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, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
299
299
|
* @type {string}
|
|
300
300
|
* @memberof BankOrdersApiListBankOrders
|
|
301
301
|
*/
|
|
302
302
|
readonly order?: string;
|
|
303
303
|
/**
|
|
304
|
-
* 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:
|
|
304
|
+
* 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: tenantBankAccount, xmlFile<i>
|
|
305
305
|
* @type {string}
|
|
306
306
|
* @memberof BankOrdersApiListBankOrders
|
|
307
307
|
*/
|
|
308
308
|
readonly expand?: string;
|
|
309
309
|
/**
|
|
310
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type,
|
|
310
|
+
* 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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
311
311
|
* @type {string}
|
|
312
312
|
* @memberof BankOrdersApiListBankOrders
|
|
313
313
|
*/
|
|
@@ -353,7 +353,7 @@ export declare class BankOrdersApi extends BaseAPI {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof BankOrdersApi
|
|
355
355
|
*/
|
|
356
|
-
createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any>>;
|
|
356
|
+
createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
* Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
|
|
359
359
|
* @summary Delete the bank order
|
|
@@ -362,7 +362,7 @@ export declare class BankOrdersApi extends BaseAPI {
|
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
* @memberof BankOrdersApi
|
|
364
364
|
*/
|
|
365
|
-
deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
365
|
+
deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
|
|
368
368
|
* @summary Retrieve the bank order
|
|
@@ -371,7 +371,7 @@ export declare class BankOrdersApi extends BaseAPI {
|
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof BankOrdersApi
|
|
373
373
|
*/
|
|
374
|
-
getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any>>;
|
|
374
|
+
getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any, {}>>;
|
|
375
375
|
/**
|
|
376
376
|
* Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
|
|
377
377
|
* @summary List bank orders
|
|
@@ -380,7 +380,7 @@ export declare class BankOrdersApi extends BaseAPI {
|
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
* @memberof BankOrdersApi
|
|
382
382
|
*/
|
|
383
|
-
listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any>>;
|
|
383
|
+
listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any, {}>>;
|
|
384
384
|
/**
|
|
385
385
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
|
|
386
386
|
* @summary Update the bank order
|
|
@@ -389,5 +389,5 @@ export declare class BankOrdersApi extends BaseAPI {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof BankOrdersApi
|
|
391
391
|
*/
|
|
392
|
-
updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any>>;
|
|
392
|
+
updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any, {}>>;
|
|
393
393
|
}
|
|
@@ -194,7 +194,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
* @summary Retrieve the bank order
|
|
195
195
|
* @param {string} code
|
|
196
196
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @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:
|
|
197
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
@@ -247,11 +247,11 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
248
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @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.
|
|
250
|
-
* @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, orderNumber, status, type,
|
|
251
|
-
* @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, description, orderNumber,
|
|
252
|
-
* @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, executionDate, dueDate, orderNumber,
|
|
253
|
-
* @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:
|
|
254
|
-
* @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, orderNumber, status, type,
|
|
250
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
251
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
252
|
+
* @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, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
253
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
254
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
@@ -423,7 +423,7 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
423
423
|
* @summary Retrieve the bank order
|
|
424
424
|
* @param {string} code
|
|
425
425
|
* @param {string} [authorization] Bearer Token
|
|
426
|
-
* @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:
|
|
426
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
427
427
|
* @param {*} [options] Override http request option.
|
|
428
428
|
* @throws {RequiredError}
|
|
429
429
|
*/
|
|
@@ -446,11 +446,11 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
446
446
|
* @param {string} [authorization] Bearer Token
|
|
447
447
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
448
|
* @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.
|
|
449
|
-
* @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, orderNumber, status, type,
|
|
450
|
-
* @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, description, orderNumber,
|
|
451
|
-
* @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, executionDate, dueDate, orderNumber,
|
|
452
|
-
* @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:
|
|
453
|
-
* @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, orderNumber, status, type,
|
|
449
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
450
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
451
|
+
* @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, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
452
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
453
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
456
456
|
*/
|
|
@@ -526,7 +526,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
526
526
|
* @summary Retrieve the bank order
|
|
527
527
|
* @param {string} code
|
|
528
528
|
* @param {string} [authorization] Bearer Token
|
|
529
|
-
* @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:
|
|
529
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
531
531
|
* @throws {RequiredError}
|
|
532
532
|
*/
|
|
@@ -539,11 +539,11 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
539
539
|
* @param {string} [authorization] Bearer Token
|
|
540
540
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
541
|
* @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.
|
|
542
|
-
* @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, orderNumber, status, type,
|
|
543
|
-
* @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, description, orderNumber,
|
|
544
|
-
* @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, executionDate, dueDate, orderNumber,
|
|
545
|
-
* @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:
|
|
546
|
-
* @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, orderNumber, status, type,
|
|
542
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
543
|
+
* @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, description, orderNumber, tenantBankAccountCode</i>
|
|
544
|
+
* @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, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
|
|
545
|
+
* @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: tenantBankAccount, xmlFile<i>
|
|
546
|
+
* @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, orderNumber, status, type, tenantBankAccountCode</i>
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
548
548
|
* @throws {RequiredError}
|
|
549
549
|
*/
|