@emilgroup/payment-sdk-node 1.21.1-beta.13 → 1.21.1-beta.130
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 +24 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +130 -57
- package/api/bank-transaction-api.ts +59 -48
- package/api/exceeding-credits-api.ts +353 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +180 -17
- package/api/policy-payment-methods-api.ts +475 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +4 -0
- package/base.ts +3 -4
- package/common.ts +2 -2
- package/configuration.ts +0 -9
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +92 -46
- package/dist/api/bank-orders-api.js +83 -52
- package/dist/api/bank-transaction-api.d.ts +39 -31
- package/dist/api/bank-transaction-api.js +36 -31
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +356 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +104 -12
- package/dist/api/payments-api.js +133 -14
- package/dist/api/policy-payment-methods-api.d.ts +272 -0
- package/dist/api/policy-payment-methods-api.js +456 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +1 -2
- package/dist/base.js +1 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +0 -6
- package/dist/configuration.js +0 -8
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/bank-order-class.d.ts +23 -3
- package/dist/models/bank-order-xml-file-class.d.ts +72 -0
- package/dist/models/bank-order-xml-file-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +22 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +60 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +9 -9
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
- package/dist/models/eis-sepa-debit-dto.js +15 -0
- package/dist/models/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +22 -1
- package/dist/models/index.js +22 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-policy-payment-methods-response-class.js +15 -0
- package/dist/models/mandate-dto.d.ts +43 -0
- package/dist/models/mandate-dto.js +15 -0
- package/dist/models/mandate-hash-data-dto.d.ts +42 -0
- package/dist/models/mandate-hash-data-dto.js +15 -0
- package/dist/models/mandate-reference-class.d.ts +90 -0
- package/dist/models/mandate-reference-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +86 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
- package/dist/models/tenant-bank-account-class.d.ts +30 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +12 -12
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +23 -3
- package/models/bank-order-xml-file-class.ts +78 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +25 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +66 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +9 -9
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +30 -2
- package/models/create-tenant-bank-account-request-dto.ts +30 -0
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/eis-sepa-debit-dto.ts +61 -0
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +22 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-exceeding-credits-response-class.ts +37 -0
- package/models/list-policy-payment-methods-response-class.ts +37 -0
- package/models/mandate-dto.ts +49 -0
- package/models/mandate-hash-data-dto.ts +48 -0
- package/models/mandate-reference-class.ts +96 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/policy-payment-method-class.ts +92 -0
- package/models/refund-class.ts +7 -1
- package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
- package/models/tenant-bank-account-class.ts +30 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +12 -12
- package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
package/dist/api/refunds-api.js
CHANGED
|
@@ -201,15 +201,17 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
201
201
|
* Returns a list of refunds you have previously created. The refunds 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\"
|
|
202
202
|
* @summary List refunds
|
|
203
203
|
* @param {string} [authorization] Bearer Token
|
|
204
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
205
|
+
* @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.
|
|
204
206
|
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
205
|
-
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
206
207
|
* @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
207
208
|
* @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, amount</i>
|
|
208
209
|
* @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: refundItems<i>
|
|
210
|
+
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
209
211
|
* @param {*} [options] Override http request option.
|
|
210
212
|
* @throws {RequiredError}
|
|
211
213
|
*/
|
|
212
|
-
listRefunds: function (authorization,
|
|
214
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
213
215
|
if (options === void 0) { options = {}; }
|
|
214
216
|
return __awaiter(_this, void 0, void 0, function () {
|
|
215
217
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -232,12 +234,15 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
232
234
|
// authentication bearer required
|
|
233
235
|
// http bearer authentication required
|
|
234
236
|
_a.sent();
|
|
237
|
+
if (pageSize !== undefined) {
|
|
238
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
239
|
+
}
|
|
240
|
+
if (pageToken !== undefined) {
|
|
241
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
242
|
+
}
|
|
235
243
|
if (filter !== undefined) {
|
|
236
244
|
localVarQueryParameter['filter'] = filter;
|
|
237
245
|
}
|
|
238
|
-
if (filters !== undefined) {
|
|
239
|
-
localVarQueryParameter['filters'] = filters;
|
|
240
|
-
}
|
|
241
246
|
if (search !== undefined) {
|
|
242
247
|
localVarQueryParameter['search'] = search;
|
|
243
248
|
}
|
|
@@ -247,6 +252,9 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
247
252
|
if (expand !== undefined) {
|
|
248
253
|
localVarQueryParameter['expand'] = expand;
|
|
249
254
|
}
|
|
255
|
+
if (filters !== undefined) {
|
|
256
|
+
localVarQueryParameter['filters'] = filters;
|
|
257
|
+
}
|
|
250
258
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
259
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
260
|
}
|
|
@@ -318,20 +326,22 @@ var RefundsApiFp = function (configuration) {
|
|
|
318
326
|
* Returns a list of refunds you have previously created. The refunds 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\"
|
|
319
327
|
* @summary List refunds
|
|
320
328
|
* @param {string} [authorization] Bearer Token
|
|
329
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
330
|
+
* @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.
|
|
321
331
|
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
322
|
-
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
323
332
|
* @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
324
333
|
* @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, amount</i>
|
|
325
334
|
* @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: refundItems<i>
|
|
335
|
+
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
326
336
|
* @param {*} [options] Override http request option.
|
|
327
337
|
* @throws {RequiredError}
|
|
328
338
|
*/
|
|
329
|
-
listRefunds: function (authorization,
|
|
339
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
330
340
|
return __awaiter(this, void 0, void 0, function () {
|
|
331
341
|
var localVarAxiosArgs;
|
|
332
342
|
return __generator(this, function (_a) {
|
|
333
343
|
switch (_a.label) {
|
|
334
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization,
|
|
344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
335
345
|
case 1:
|
|
336
346
|
localVarAxiosArgs = _a.sent();
|
|
337
347
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -376,16 +386,18 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
376
386
|
* Returns a list of refunds you have previously created. The refunds 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\"
|
|
377
387
|
* @summary List refunds
|
|
378
388
|
* @param {string} [authorization] Bearer Token
|
|
389
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
390
|
+
* @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.
|
|
379
391
|
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
380
|
-
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
381
392
|
* @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
382
393
|
* @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, amount</i>
|
|
383
394
|
* @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: refundItems<i>
|
|
395
|
+
* @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, status, reason, psp, accountCode, invoiceCode</i>
|
|
384
396
|
* @param {*} [options] Override http request option.
|
|
385
397
|
* @throws {RequiredError}
|
|
386
398
|
*/
|
|
387
|
-
listRefunds: function (authorization,
|
|
388
|
-
return localVarFp.listRefunds(authorization,
|
|
399
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
400
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
389
401
|
},
|
|
390
402
|
};
|
|
391
403
|
};
|
|
@@ -436,7 +448,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
436
448
|
RefundsApi.prototype.listRefunds = function (requestParameters, options) {
|
|
437
449
|
var _this = this;
|
|
438
450
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
439
|
-
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.
|
|
451
|
+
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
440
452
|
};
|
|
441
453
|
return RefundsApi;
|
|
442
454
|
}(base_1.BaseAPI));
|
|
@@ -55,15 +55,17 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
55
55
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
56
|
* @summary List tenant bank accounts
|
|
57
57
|
* @param {string} [authorization] Bearer Token
|
|
58
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
58
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, iban, bankName, accountName</i>
|
|
59
|
-
* @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>
|
|
60
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: id, iban, bankName, accountName</i>
|
|
61
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, createdAt</i>
|
|
62
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
63
65
|
* @param {*} [options] Override http request option.
|
|
64
66
|
* @throws {RequiredError}
|
|
65
67
|
*/
|
|
66
|
-
listTenantBankAccounts: (authorization?: string,
|
|
68
|
+
listTenantBankAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
69
|
/**
|
|
68
70
|
* Update a tenant bank account by code
|
|
69
71
|
* @summary Update the tenant bank account
|
|
@@ -112,15 +114,17 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
112
114
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
113
115
|
* @summary List tenant bank accounts
|
|
114
116
|
* @param {string} [authorization] Bearer Token
|
|
117
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
115
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, iban, bankName, accountName</i>
|
|
116
|
-
* @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>
|
|
117
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: id, iban, bankName, accountName</i>
|
|
118
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, createdAt</i>
|
|
119
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
120
124
|
* @param {*} [options] Override http request option.
|
|
121
125
|
* @throws {RequiredError}
|
|
122
126
|
*/
|
|
123
|
-
listTenantBankAccounts(authorization?: string,
|
|
127
|
+
listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
124
128
|
/**
|
|
125
129
|
* Update a tenant bank account by code
|
|
126
130
|
* @summary Update the tenant bank account
|
|
@@ -169,15 +173,17 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
169
173
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
170
174
|
* @summary List tenant bank accounts
|
|
171
175
|
* @param {string} [authorization] Bearer Token
|
|
176
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
172
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, iban, bankName, accountName</i>
|
|
173
|
-
* @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>
|
|
174
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: id, iban, bankName, accountName</i>
|
|
175
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, createdAt</i>
|
|
176
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
177
183
|
* @param {*} [options] Override http request option.
|
|
178
184
|
* @throws {RequiredError}
|
|
179
185
|
*/
|
|
180
|
-
listTenantBankAccounts(authorization?: string,
|
|
186
|
+
listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
181
187
|
/**
|
|
182
188
|
* Update a tenant bank account by code
|
|
183
189
|
* @summary Update the tenant bank account
|
|
@@ -265,17 +271,23 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
265
271
|
*/
|
|
266
272
|
readonly authorization?: string;
|
|
267
273
|
/**
|
|
268
|
-
*
|
|
274
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
275
|
+
* @type {number}
|
|
276
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
277
|
+
*/
|
|
278
|
+
readonly pageSize?: number;
|
|
279
|
+
/**
|
|
280
|
+
* 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.
|
|
269
281
|
* @type {string}
|
|
270
282
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
271
283
|
*/
|
|
272
|
-
readonly
|
|
284
|
+
readonly pageToken?: string;
|
|
273
285
|
/**
|
|
274
|
-
*
|
|
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, iban, bankName, accountName</i>
|
|
275
287
|
* @type {string}
|
|
276
288
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
277
289
|
*/
|
|
278
|
-
readonly
|
|
290
|
+
readonly filter?: string;
|
|
279
291
|
/**
|
|
280
292
|
* 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>
|
|
281
293
|
* @type {string}
|
|
@@ -294,6 +306,12 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
294
306
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
295
307
|
*/
|
|
296
308
|
readonly expand?: string;
|
|
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, iban, bankName, accountName</i>
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
313
|
+
*/
|
|
314
|
+
readonly filters?: string;
|
|
297
315
|
}
|
|
298
316
|
/**
|
|
299
317
|
* Request parameters for updateTenantBankAccount operation in TenantBankAccountApi.
|
|
@@ -249,15 +249,17 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
250
250
|
* @summary List tenant bank accounts
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
|
+
* @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.
|
|
252
254
|
* @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>
|
|
253
|
-
* @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>
|
|
254
255
|
* @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>
|
|
255
256
|
* @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>
|
|
256
257
|
* @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>
|
|
258
|
+
* @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>
|
|
257
259
|
* @param {*} [options] Override http request option.
|
|
258
260
|
* @throws {RequiredError}
|
|
259
261
|
*/
|
|
260
|
-
listTenantBankAccounts: function (authorization,
|
|
262
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
263
|
if (options === void 0) { options = {}; }
|
|
262
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -280,12 +282,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
280
282
|
// authentication bearer required
|
|
281
283
|
// http bearer authentication required
|
|
282
284
|
_a.sent();
|
|
285
|
+
if (pageSize !== undefined) {
|
|
286
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
287
|
+
}
|
|
288
|
+
if (pageToken !== undefined) {
|
|
289
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
290
|
+
}
|
|
283
291
|
if (filter !== undefined) {
|
|
284
292
|
localVarQueryParameter['filter'] = filter;
|
|
285
293
|
}
|
|
286
|
-
if (filters !== undefined) {
|
|
287
|
-
localVarQueryParameter['filters'] = filters;
|
|
288
|
-
}
|
|
289
294
|
if (search !== undefined) {
|
|
290
295
|
localVarQueryParameter['search'] = search;
|
|
291
296
|
}
|
|
@@ -295,6 +300,9 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
295
300
|
if (expand !== undefined) {
|
|
296
301
|
localVarQueryParameter['expand'] = expand;
|
|
297
302
|
}
|
|
303
|
+
if (filters !== undefined) {
|
|
304
|
+
localVarQueryParameter['filters'] = filters;
|
|
305
|
+
}
|
|
298
306
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
299
307
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
300
308
|
}
|
|
@@ -440,20 +448,22 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
440
448
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
441
449
|
* @summary List tenant bank accounts
|
|
442
450
|
* @param {string} [authorization] Bearer Token
|
|
451
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
452
|
+
* @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.
|
|
443
453
|
* @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>
|
|
444
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
445
454
|
* @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>
|
|
446
455
|
* @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>
|
|
447
456
|
* @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>
|
|
457
|
+
* @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>
|
|
448
458
|
* @param {*} [options] Override http request option.
|
|
449
459
|
* @throws {RequiredError}
|
|
450
460
|
*/
|
|
451
|
-
listTenantBankAccounts: function (authorization,
|
|
461
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
452
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
453
463
|
var localVarAxiosArgs;
|
|
454
464
|
return __generator(this, function (_a) {
|
|
455
465
|
switch (_a.label) {
|
|
456
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
466
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
457
467
|
case 1:
|
|
458
468
|
localVarAxiosArgs = _a.sent();
|
|
459
469
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -531,16 +541,18 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
531
541
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
532
542
|
* @summary List tenant bank accounts
|
|
533
543
|
* @param {string} [authorization] Bearer Token
|
|
544
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
+
* @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.
|
|
534
546
|
* @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>
|
|
535
|
-
* @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>
|
|
536
547
|
* @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>
|
|
537
548
|
* @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>
|
|
538
549
|
* @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>
|
|
550
|
+
* @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>
|
|
539
551
|
* @param {*} [options] Override http request option.
|
|
540
552
|
* @throws {RequiredError}
|
|
541
553
|
*/
|
|
542
|
-
listTenantBankAccounts: function (authorization,
|
|
543
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
554
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
555
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
544
556
|
},
|
|
545
557
|
/**
|
|
546
558
|
* Update a tenant bank account by code
|
|
@@ -615,7 +627,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
615
627
|
TenantBankAccountApi.prototype.listTenantBankAccounts = function (requestParameters, options) {
|
|
616
628
|
var _this = this;
|
|
617
629
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
618
|
-
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
630
|
+
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
631
|
};
|
|
620
632
|
/**
|
|
621
633
|
* Update a tenant bank account by code
|
package/dist/api.d.ts
CHANGED
|
@@ -12,11 +12,13 @@
|
|
|
12
12
|
export * from './api/bank-accounts-api';
|
|
13
13
|
export * from './api/bank-orders-api';
|
|
14
14
|
export * from './api/bank-transaction-api';
|
|
15
|
+
export * from './api/exceeding-credits-api';
|
|
15
16
|
export * from './api/health-check-api';
|
|
16
17
|
export * from './api/payment-methods-api';
|
|
17
18
|
export * from './api/payment-reminders-api';
|
|
18
19
|
export * from './api/payment-setup-api';
|
|
19
20
|
export * from './api/payments-api';
|
|
21
|
+
export * from './api/policy-payment-methods-api';
|
|
20
22
|
export * from './api/refunds-api';
|
|
21
23
|
export * from './api/tenant-bank-account-api';
|
|
22
24
|
export * from './api/webhooks-api';
|
package/dist/api.js
CHANGED
|
@@ -30,11 +30,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30
30
|
__exportStar(require("./api/bank-accounts-api"), exports);
|
|
31
31
|
__exportStar(require("./api/bank-orders-api"), exports);
|
|
32
32
|
__exportStar(require("./api/bank-transaction-api"), exports);
|
|
33
|
+
__exportStar(require("./api/exceeding-credits-api"), exports);
|
|
33
34
|
__exportStar(require("./api/health-check-api"), exports);
|
|
34
35
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
35
36
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
36
37
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
37
38
|
__exportStar(require("./api/payments-api"), exports);
|
|
39
|
+
__exportStar(require("./api/policy-payment-methods-api"), exports);
|
|
38
40
|
__exportStar(require("./api/refunds-api"), exports);
|
|
39
41
|
__exportStar(require("./api/tenant-bank-account-api"), exports);
|
|
40
42
|
__exportStar(require("./api/webhooks-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -24,12 +24,11 @@ export declare const COLLECTION_FORMATS: {
|
|
|
24
24
|
};
|
|
25
25
|
export interface LoginClass {
|
|
26
26
|
accessToken: string;
|
|
27
|
-
permissions: string
|
|
27
|
+
permissions: Array<string>;
|
|
28
28
|
}
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
31
31
|
Test = "https://apiv2-test.emil.de",
|
|
32
|
-
Staging = "https://apiv2-staging.emil.de",
|
|
33
32
|
Development = "https://apiv2-dev.emil.de",
|
|
34
33
|
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
35
34
|
}
|
package/dist/base.js
CHANGED
|
@@ -129,7 +129,6 @@ var Environment;
|
|
|
129
129
|
(function (Environment) {
|
|
130
130
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
131
131
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
132
|
-
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
132
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
133
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
134
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
@@ -330,7 +329,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
330
329
|
case 2:
|
|
331
330
|
tokenString = _a.sent();
|
|
332
331
|
accessToken = "Bearer ".concat(tokenString);
|
|
333
|
-
originalConfig.headers['Authorization'] = accessToken;
|
|
332
|
+
originalConfig.headers['Authorization'] = "Bearer ".concat(accessToken);
|
|
334
333
|
this.configuration.accessToken = accessToken;
|
|
335
334
|
return [2 /*return*/, axios.request(originalConfig)];
|
|
336
335
|
case 3:
|
package/dist/common.js
CHANGED
|
@@ -141,7 +141,7 @@ var setBearerAuthToObject = function (object, configuration) {
|
|
|
141
141
|
_b.label = 4;
|
|
142
142
|
case 4:
|
|
143
143
|
accessToken = _a;
|
|
144
|
-
object["Authorization"] =
|
|
144
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
145
145
|
_b.label = 5;
|
|
146
146
|
case 5: return [2 /*return*/];
|
|
147
147
|
}
|
|
@@ -171,7 +171,7 @@ var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
|
171
171
|
_b.label = 4;
|
|
172
172
|
case 4:
|
|
173
173
|
localVarAccessTokenValue = _a;
|
|
174
|
-
object["Authorization"] =
|
|
174
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
175
175
|
_b.label = 5;
|
|
176
176
|
case 5: return [2 /*return*/];
|
|
177
177
|
}
|
package/dist/configuration.d.ts
CHANGED
|
@@ -87,10 +87,4 @@ export declare class Configuration {
|
|
|
87
87
|
* @return True if the given MIME is JSON, false otherwise.
|
|
88
88
|
*/
|
|
89
89
|
isJsonMime(mime: string): boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Returns "Bearer" token.
|
|
92
|
-
* @param token - access token.
|
|
93
|
-
* @return Bearer token.
|
|
94
|
-
*/
|
|
95
|
-
getBearerToken(token?: string): string;
|
|
96
90
|
}
|
package/dist/configuration.js
CHANGED
|
@@ -39,14 +39,6 @@ var Configuration = /** @class */ (function () {
|
|
|
39
39
|
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
40
40
|
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
41
41
|
};
|
|
42
|
-
/**
|
|
43
|
-
* Returns "Bearer" token.
|
|
44
|
-
* @param token - access token.
|
|
45
|
-
* @return Bearer token.
|
|
46
|
-
*/
|
|
47
|
-
Configuration.prototype.getBearerToken = function (token) {
|
|
48
|
-
return ('' + token).startsWith("Bearer") ? token : "Bearer " + token;
|
|
49
|
-
};
|
|
50
42
|
return Configuration;
|
|
51
43
|
}());
|
|
52
44
|
exports.Configuration = Configuration;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActivatePolicyPaymentMethodRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivatePolicyPaymentMethodRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Whether to trigger the Policy Payment Method Activated workflow event.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ActivatePolicyPaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'shouldTriggerWorkflow'?: boolean;
|
|
24
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
|
|
13
|
+
import { FinancialAccountClass } from './financial-account-class';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -58,11 +60,11 @@ export interface BankOrderClass {
|
|
|
58
60
|
*/
|
|
59
61
|
'description'?: string;
|
|
60
62
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {
|
|
63
|
+
* Financial account code associated with the bank order.
|
|
64
|
+
* @type {string}
|
|
63
65
|
* @memberof BankOrderClass
|
|
64
66
|
*/
|
|
65
|
-
'
|
|
67
|
+
'financialAccountCode': string;
|
|
66
68
|
/**
|
|
67
69
|
* List of invoice IDs associated with bank order.
|
|
68
70
|
* @type {Array<number>}
|
|
@@ -75,6 +77,12 @@ export interface BankOrderClass {
|
|
|
75
77
|
* @memberof BankOrderClass
|
|
76
78
|
*/
|
|
77
79
|
'executionDate': string;
|
|
80
|
+
/**
|
|
81
|
+
* Latest due date.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof BankOrderClass
|
|
84
|
+
*/
|
|
85
|
+
'dueDate': string;
|
|
78
86
|
/**
|
|
79
87
|
* Time at which the object was created.
|
|
80
88
|
* @type {string}
|
|
@@ -99,4 +107,16 @@ export interface BankOrderClass {
|
|
|
99
107
|
* @memberof BankOrderClass
|
|
100
108
|
*/
|
|
101
109
|
'updatedBy': string;
|
|
110
|
+
/**
|
|
111
|
+
* The financial account object that this bank order is belongs to
|
|
112
|
+
* @type {FinancialAccountClass}
|
|
113
|
+
* @memberof BankOrderClass
|
|
114
|
+
*/
|
|
115
|
+
'financialAccount'?: FinancialAccountClass;
|
|
116
|
+
/**
|
|
117
|
+
* The XML file associated with this bank order
|
|
118
|
+
* @type {BankOrderXmlFileClass}
|
|
119
|
+
* @memberof BankOrderClass
|
|
120
|
+
*/
|
|
121
|
+
'xmlFile'?: BankOrderXmlFileClass;
|
|
102
122
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BankOrderXmlFileClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BankOrderXmlFileClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the bank order XML file
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BankOrderXmlFileClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* XML content of the bank order file
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BankOrderXmlFileClass
|
|
28
|
+
*/
|
|
29
|
+
'xmlContent': string;
|
|
30
|
+
/**
|
|
31
|
+
* Original filename of the XML file
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankOrderXmlFileClass
|
|
34
|
+
*/
|
|
35
|
+
'fileName'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* MIME type of the file
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankOrderXmlFileClass
|
|
40
|
+
*/
|
|
41
|
+
'mimeType'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Size of the file in bytes
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BankOrderXmlFileClass
|
|
46
|
+
*/
|
|
47
|
+
'fileSize'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Timestamp when the record was created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankOrderXmlFileClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp when the record was last updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankOrderXmlFileClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* User ID who created the record
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BankOrderXmlFileClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* User ID who last updated the record
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BankOrderXmlFileClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|