@emilgroup/payment-sdk 1.13.1-beta.2 → 1.13.1-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +79 -37
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +187 -56
- package/api/payment-methods-api.ts +67 -25
- package/api/payment-reminders-api.ts +85 -43
- package/api/payment-setup-api.ts +8 -8
- package/api/payments-api.ts +67 -25
- package/api/refunds-api.ts +57 -29
- package/api/tenant-bank-account-api.ts +45 -17
- package/api/webhooks-api.ts +4 -4
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +59 -32
- package/dist/api/bank-accounts-api.js +53 -35
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +123 -49
- package/dist/api/bank-transaction-api.js +151 -47
- package/dist/api/payment-methods-api.d.ts +47 -20
- package/dist/api/payment-methods-api.js +41 -23
- package/dist/api/payment-reminders-api.d.ts +61 -34
- package/dist/api/payment-reminders-api.js +54 -36
- package/dist/api/payment-setup-api.d.ts +8 -8
- package/dist/api/payment-setup-api.js +8 -8
- package/dist/api/payments-api.d.ts +47 -20
- package/dist/api/payments-api.js +41 -23
- package/dist/api/refunds-api.d.ts +40 -22
- package/dist/api/refunds-api.js +36 -24
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +4 -4
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
- package/dist/models/bank-transaction-class.d.ts +22 -2
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.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-psp-payment-method-request-dto.d.ts +7 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- 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-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
- package/dist/models/invoice-match-suggestion-class.js +15 -0
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-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-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
- package/dist/models/suggestion-generation-progress-class.js +22 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
- package/dist/models/update-bank-order-request-dto.d.ts +56 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +8 -2
- package/models/bank-transaction-class.ts +22 -2
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +7 -1
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +11 -0
- 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-stripe-payment-setup-request-dto.ts +6 -0
- package/models/invoice-match-suggestion-class.ts +66 -0
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- package/models/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +8 -2
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -245,15 +245,17 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* 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.
|
|
246
246
|
* @summary List tenant bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
248
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, iban, bankName, accountName</i>
|
|
249
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
250
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: id, iban, bankName, accountName</i>
|
|
251
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, createdAt</i>
|
|
252
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
253
255
|
* @param {*} [options] Override http request option.
|
|
254
256
|
* @throws {RequiredError}
|
|
255
257
|
*/
|
|
256
|
-
listTenantBankAccounts: function (authorization,
|
|
258
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
257
259
|
if (options === void 0) { options = {}; }
|
|
258
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
259
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -276,12 +278,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
276
278
|
// authentication bearer required
|
|
277
279
|
// http bearer authentication required
|
|
278
280
|
_a.sent();
|
|
281
|
+
if (pageSize !== undefined) {
|
|
282
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
+
}
|
|
284
|
+
if (pageToken !== undefined) {
|
|
285
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
+
}
|
|
279
287
|
if (filter !== undefined) {
|
|
280
288
|
localVarQueryParameter['filter'] = filter;
|
|
281
289
|
}
|
|
282
|
-
if (filters !== undefined) {
|
|
283
|
-
localVarQueryParameter['filters'] = filters;
|
|
284
|
-
}
|
|
285
290
|
if (search !== undefined) {
|
|
286
291
|
localVarQueryParameter['search'] = search;
|
|
287
292
|
}
|
|
@@ -291,6 +296,9 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
291
296
|
if (expand !== undefined) {
|
|
292
297
|
localVarQueryParameter['expand'] = expand;
|
|
293
298
|
}
|
|
299
|
+
if (filters !== undefined) {
|
|
300
|
+
localVarQueryParameter['filters'] = filters;
|
|
301
|
+
}
|
|
294
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
304
|
}
|
|
@@ -436,20 +444,22 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
436
444
|
* 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.
|
|
437
445
|
* @summary List tenant bank accounts
|
|
438
446
|
* @param {string} [authorization] Bearer Token
|
|
447
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
439
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, iban, bankName, accountName</i>
|
|
440
|
-
* @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>
|
|
441
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: id, iban, bankName, accountName</i>
|
|
442
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, createdAt</i>
|
|
443
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
444
454
|
* @param {*} [options] Override http request option.
|
|
445
455
|
* @throws {RequiredError}
|
|
446
456
|
*/
|
|
447
|
-
listTenantBankAccounts: function (authorization,
|
|
457
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
448
458
|
return __awaiter(this, void 0, void 0, function () {
|
|
449
459
|
var localVarAxiosArgs;
|
|
450
460
|
return __generator(this, function (_a) {
|
|
451
461
|
switch (_a.label) {
|
|
452
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
453
463
|
case 1:
|
|
454
464
|
localVarAxiosArgs = _a.sent();
|
|
455
465
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -527,16 +537,18 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
527
537
|
* 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.
|
|
528
538
|
* @summary List tenant bank accounts
|
|
529
539
|
* @param {string} [authorization] Bearer Token
|
|
540
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
530
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, iban, bankName, accountName</i>
|
|
531
|
-
* @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>
|
|
532
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: id, iban, bankName, accountName</i>
|
|
533
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, createdAt</i>
|
|
534
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: bankTransactions<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, iban, bankName, accountName</i>
|
|
535
547
|
* @param {*} [options] Override http request option.
|
|
536
548
|
* @throws {RequiredError}
|
|
537
549
|
*/
|
|
538
|
-
listTenantBankAccounts: function (authorization,
|
|
539
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
550
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
551
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
540
552
|
},
|
|
541
553
|
/**
|
|
542
554
|
* Update a tenant bank account by code
|
|
@@ -611,7 +623,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
611
623
|
TenantBankAccountApi.prototype.listTenantBankAccounts = function (requestParameters, options) {
|
|
612
624
|
var _this = this;
|
|
613
625
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
614
|
-
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
626
|
+
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); });
|
|
615
627
|
};
|
|
616
628
|
/**
|
|
617
629
|
* Update a tenant bank account by code
|
|
@@ -18,7 +18,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
* This will processes the webhook from external payment service provider.
|
|
21
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
22
22
|
* @summary Handle the webhook from PSP
|
|
23
23
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
24
24
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -35,7 +35,7 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
|
-
* This will processes the webhook from external payment service provider.
|
|
38
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
39
39
|
* @summary Handle the webhook from PSP
|
|
40
40
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
41
41
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -52,7 +52,7 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
52
52
|
*/
|
|
53
53
|
export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
54
54
|
/**
|
|
55
|
-
* This will processes the webhook from external payment service provider.
|
|
55
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
56
56
|
* @summary Handle the webhook from PSP
|
|
57
57
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
58
58
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -102,7 +102,7 @@ export interface WebhooksApiPostWebhookRequest {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare class WebhooksApi extends BaseAPI {
|
|
104
104
|
/**
|
|
105
|
-
* This will processes the webhook from external payment service provider.
|
|
105
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
106
106
|
* @summary Handle the webhook from PSP
|
|
107
107
|
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will processes the webhook from external payment service provider.
|
|
96
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
97
97
|
* @summary Handle the webhook from PSP
|
|
98
98
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
99
99
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -150,7 +150,7 @@ var WebhooksApiFp = function (configuration) {
|
|
|
150
150
|
var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
|
|
151
151
|
return {
|
|
152
152
|
/**
|
|
153
|
-
* This will processes the webhook from external payment service provider.
|
|
153
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
154
154
|
* @summary Handle the webhook from PSP
|
|
155
155
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
156
156
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -183,7 +183,7 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
183
183
|
var localVarFp = (0, exports.WebhooksApiFp)(configuration);
|
|
184
184
|
return {
|
|
185
185
|
/**
|
|
186
|
-
* This will processes the webhook from external payment service provider.
|
|
186
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
187
187
|
* @summary Handle the webhook from PSP
|
|
188
188
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
189
189
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -210,7 +210,7 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
210
210
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* This will processes the webhook from external payment service provider.
|
|
213
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
214
214
|
* @summary Handle the webhook from PSP
|
|
215
215
|
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
216
216
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/bank-accounts-api';
|
|
13
|
+
export * from './api/bank-orders-api';
|
|
13
14
|
export * from './api/bank-transaction-api';
|
|
14
15
|
export * from './api/health-check-api';
|
|
15
16
|
export * from './api/payment-methods-api';
|
package/dist/api.js
CHANGED
|
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/bank-accounts-api"), exports);
|
|
31
|
+
__exportStar(require("./api/bank-orders-api"), exports);
|
|
31
32
|
__exportStar(require("./api/bank-transaction-api"), exports);
|
|
32
33
|
__exportStar(require("./api/health-check-api"), exports);
|
|
33
34
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
import { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankOrderClass
|
|
17
|
+
*/
|
|
18
|
+
export interface BankOrderClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BankOrderClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BankOrderClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* Bank order type.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BankOrderClass
|
|
35
|
+
*/
|
|
36
|
+
'type': string;
|
|
37
|
+
/**
|
|
38
|
+
* Amount associated with bank order.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BankOrderClass
|
|
41
|
+
*/
|
|
42
|
+
'amount': number;
|
|
43
|
+
/**
|
|
44
|
+
* Status associated with bank order.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BankOrderClass
|
|
47
|
+
*/
|
|
48
|
+
'status': string;
|
|
49
|
+
/**
|
|
50
|
+
* Number associated with bank order.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BankOrderClass
|
|
53
|
+
*/
|
|
54
|
+
'orderNumber': string;
|
|
55
|
+
/**
|
|
56
|
+
* Bank order description.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BankOrderClass
|
|
59
|
+
*/
|
|
60
|
+
'description'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Financial account code associated with the bank order.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BankOrderClass
|
|
65
|
+
*/
|
|
66
|
+
'financialAccountCode': string;
|
|
67
|
+
/**
|
|
68
|
+
* List of invoice IDs associated with bank order.
|
|
69
|
+
* @type {Array<number>}
|
|
70
|
+
* @memberof BankOrderClass
|
|
71
|
+
*/
|
|
72
|
+
'invoiceIds': Array<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Day of execution of bank order.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof BankOrderClass
|
|
77
|
+
*/
|
|
78
|
+
'executionDate': string;
|
|
79
|
+
/**
|
|
80
|
+
* Latest due date.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof BankOrderClass
|
|
83
|
+
*/
|
|
84
|
+
'dueDate': string;
|
|
85
|
+
/**
|
|
86
|
+
* Time at which the object was created.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof BankOrderClass
|
|
89
|
+
*/
|
|
90
|
+
'createdAt': string;
|
|
91
|
+
/**
|
|
92
|
+
* Time at which the object was updated.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof BankOrderClass
|
|
95
|
+
*/
|
|
96
|
+
'updatedAt': string;
|
|
97
|
+
/**
|
|
98
|
+
* Identifier of the user who created the record.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof BankOrderClass
|
|
101
|
+
*/
|
|
102
|
+
'createdBy': string;
|
|
103
|
+
/**
|
|
104
|
+
* Identifier of the user who last updated the record.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof BankOrderClass
|
|
107
|
+
*/
|
|
108
|
+
'updatedBy': string;
|
|
109
|
+
/**
|
|
110
|
+
* The financial account object that this bank order is belongs to
|
|
111
|
+
* @type {FinancialAccountClass}
|
|
112
|
+
* @memberof BankOrderClass
|
|
113
|
+
*/
|
|
114
|
+
'financialAccount'?: FinancialAccountClass;
|
|
115
|
+
}
|
|
@@ -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 });
|
|
@@ -40,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
40
40
|
*/
|
|
41
41
|
'bankAccountNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* Reference number derived from the MT940
|
|
43
|
+
* Reference number derived from the MT940 or CAMT file
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'messageReference'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Currency of the transaction.
|
|
50
50
|
* @type {string}
|
|
@@ -105,6 +105,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
105
105
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
106
106
|
*/
|
|
107
107
|
'isLinked': boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The file format of the bank transaction
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
112
|
+
*/
|
|
113
|
+
'importedFrom': string;
|
|
108
114
|
/**
|
|
109
115
|
* Time at which the object was created.
|
|
110
116
|
* @type {string}
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
12
13
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
14
|
+
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
13
15
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
14
16
|
/**
|
|
15
17
|
*
|
|
@@ -42,11 +44,11 @@ export interface BankTransactionClass {
|
|
|
42
44
|
*/
|
|
43
45
|
'bankAccountNumber': string;
|
|
44
46
|
/**
|
|
45
|
-
* Reference number derived from the MT940
|
|
47
|
+
* Reference number derived from the MT940 or CAMT file
|
|
46
48
|
* @type {string}
|
|
47
49
|
* @memberof BankTransactionClass
|
|
48
50
|
*/
|
|
49
|
-
'
|
|
51
|
+
'messageReference'?: string;
|
|
50
52
|
/**
|
|
51
53
|
* Currency of the transaction.
|
|
52
54
|
* @type {string}
|
|
@@ -119,6 +121,12 @@ export interface BankTransactionClass {
|
|
|
119
121
|
* @memberof BankTransactionClass
|
|
120
122
|
*/
|
|
121
123
|
'linkedTransaction'?: SharedTransactionClass;
|
|
124
|
+
/**
|
|
125
|
+
* The file format of the bank transaction
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof BankTransactionClass
|
|
128
|
+
*/
|
|
129
|
+
'importedFrom': string;
|
|
122
130
|
/**
|
|
123
131
|
* Time at which the object was created.
|
|
124
132
|
* @type {string}
|
|
@@ -137,4 +145,16 @@ export interface BankTransactionClass {
|
|
|
137
145
|
* @memberof BankTransactionClass
|
|
138
146
|
*/
|
|
139
147
|
'updatedBy': string;
|
|
148
|
+
/**
|
|
149
|
+
* The match suggestions for invoices
|
|
150
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
151
|
+
* @memberof BankTransactionClass
|
|
152
|
+
*/
|
|
153
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
154
|
+
/**
|
|
155
|
+
* The progress of the suggestion generation
|
|
156
|
+
* @type {SuggestionGenerationProgressClass}
|
|
157
|
+
* @memberof BankTransactionClass
|
|
158
|
+
*/
|
|
159
|
+
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
140
160
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 CreateBankOrderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBankOrderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Bank order type.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBankOrderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'type': CreateBankOrderRequestDtoTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Status associated with bank order.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBankOrderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'status': CreateBankOrderRequestDtoStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Bank order description.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateBankOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Financial account code associated with the bank order.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateBankOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'financialAccountCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* List of invoice IDs associated with bank order.
|
|
44
|
+
* @type {Array<number>}
|
|
45
|
+
* @memberof CreateBankOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'invoiceIds': Array<number>;
|
|
48
|
+
/**
|
|
49
|
+
* Day of execution of bank order.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateBankOrderRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'executionDate': string;
|
|
54
|
+
/**
|
|
55
|
+
* Latest due date.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateBankOrderRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'dueDate': string;
|
|
60
|
+
}
|
|
61
|
+
export declare const CreateBankOrderRequestDtoTypeEnum: {
|
|
62
|
+
readonly DirectDebit: "direct_debit";
|
|
63
|
+
readonly PremiumPayment: "premium_payment";
|
|
64
|
+
readonly ClaimPayment: "claim_payment";
|
|
65
|
+
};
|
|
66
|
+
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
67
|
+
export declare const CreateBankOrderRequestDtoStatusEnum: {
|
|
68
|
+
readonly Open: "open";
|
|
69
|
+
readonly Draft: "draft";
|
|
70
|
+
readonly Closed: "closed";
|
|
71
|
+
readonly Accepted: "accepted";
|
|
72
|
+
readonly Processing: "processing";
|
|
73
|
+
};
|
|
74
|
+
export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
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 });
|
|
16
|
+
exports.CreateBankOrderRequestDtoStatusEnum = exports.CreateBankOrderRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreateBankOrderRequestDtoTypeEnum = {
|
|
18
|
+
DirectDebit: 'direct_debit',
|
|
19
|
+
PremiumPayment: 'premium_payment',
|
|
20
|
+
ClaimPayment: 'claim_payment'
|
|
21
|
+
};
|
|
22
|
+
exports.CreateBankOrderRequestDtoStatusEnum = {
|
|
23
|
+
Open: 'open',
|
|
24
|
+
Draft: 'draft',
|
|
25
|
+
Closed: 'closed',
|
|
26
|
+
Accepted: 'accepted',
|
|
27
|
+
Processing: 'processing'
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBankOrderResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBankOrderResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Bank order
|
|
21
|
+
* @type {BankOrderClass}
|
|
22
|
+
* @memberof CreateBankOrderResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankOrder': BankOrderClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -32,7 +32,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReminderRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'accountCode'
|
|
35
|
+
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Code referencing the partner for which this reminder is created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* The type of invoice is used to determine the proper workflow.
|
|
38
44
|
* @type {string}
|
|
@@ -20,7 +20,13 @@ export interface CreatePaymentRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePaymentRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code associated to that payment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
26
32
|
* @type {number}
|
|
@@ -28,7 +28,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'accountCode'
|
|
31
|
+
'accountCode'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'partnerCode'?: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {SepaDirectDto}
|
|
@@ -38,7 +38,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DeactivatedPaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|