@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +32 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/billing-addresses-api.ts +677 -0
- package/api/credit-allocation-api.ts +456 -0
- package/api/payout-methods-api.ts +672 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api/tenant-bank-account-api.ts +8 -8
- package/api.ts +6 -0
- package/base.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +29 -29
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +636 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +445 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +635 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +13 -13
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/bank-order-class.d.ts +9 -9
- package/dist/models/bank-order-entity.d.ts +156 -0
- package/dist/models/bank-order-entity.js +29 -0
- package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
- package/dist/models/bank-order-xml-file-entity.js +15 -0
- package/dist/models/bank-transaction-entity.d.ts +179 -0
- package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
- package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
- package/dist/models/bank-transaction-invoice-entity.js +15 -0
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -5
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/credit-allocation-entity.d.ts +135 -0
- package/dist/models/credit-allocation-entity.js +34 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +29 -1
- package/dist/models/index.js +29 -1
- package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
- package/dist/models/invoice-match-suggestion-entity.js +15 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
- package/dist/models/suggestion-generation-progress-entity.js +22 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +56 -0
- package/dist/models/tenant-bank-account-class.js +8 -0
- package/dist/models/tenant-bank-account-entity.d.ts +153 -0
- package/dist/models/tenant-bank-account-entity.js +23 -0
- package/dist/models/transaction-entity.d.ts +112 -0
- package/dist/models/transaction-entity.js +23 -0
- package/dist/models/update-bank-order-request-dto.d.ts +5 -5
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +9 -9
- package/models/bank-order-entity.ts +166 -0
- package/models/bank-order-xml-file-entity.ts +91 -0
- package/models/bank-transaction-entity.ts +188 -0
- package/models/bank-transaction-invoice-entity.ts +104 -0
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +7 -6
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +60 -1
- package/models/credit-allocation-class.ts +124 -0
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-entity.ts +139 -0
- package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
- package/models/tenant-bank-account-class.ts +59 -0
- package/models/tenant-bank-account-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +5 -5
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
- package/package.json +2 -2
- package/dist/models/financial-account-class.d.ts +0 -111
|
@@ -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 });
|
|
@@ -34,17 +34,17 @@ export interface CreateBankOrderRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'description'?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Tenant bank account code associated with the bank order.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateBankOrderRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'tenantBankAccountCode': string;
|
|
42
42
|
/**
|
|
43
|
-
* List of
|
|
44
|
-
* @type {Array<
|
|
43
|
+
* List of entity codes associated with bank order.
|
|
44
|
+
* @type {Array<string>}
|
|
45
45
|
* @memberof CreateBankOrderRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'entityCodes': Array<string>;
|
|
48
48
|
/**
|
|
49
49
|
* Day of execution of bank order.
|
|
50
50
|
* @type {string}
|
|
@@ -62,6 +62,7 @@ export declare const CreateBankOrderRequestDtoTypeEnum: {
|
|
|
62
62
|
readonly DirectDebit: "direct_debit";
|
|
63
63
|
readonly PremiumPayment: "premium_payment";
|
|
64
64
|
readonly ClaimPayment: "claim_payment";
|
|
65
|
+
readonly CommissionPayment: "commission_payment";
|
|
65
66
|
};
|
|
66
67
|
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
67
68
|
export declare const CreateBankOrderRequestDtoStatusEnum: {
|
|
@@ -17,7 +17,8 @@ exports.CreateBankOrderRequestDtoStatusEnum = exports.CreateBankOrderRequestDtoT
|
|
|
17
17
|
exports.CreateBankOrderRequestDtoTypeEnum = {
|
|
18
18
|
DirectDebit: 'direct_debit',
|
|
19
19
|
PremiumPayment: 'premium_payment',
|
|
20
|
-
ClaimPayment: 'claim_payment'
|
|
20
|
+
ClaimPayment: 'claim_payment',
|
|
21
|
+
CommissionPayment: 'commission_payment'
|
|
21
22
|
};
|
|
22
23
|
exports.CreateBankOrderRequestDtoStatusEnum = {
|
|
23
24
|
Open: 'open',
|
|
@@ -0,0 +1,66 @@
|
|
|
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 CreateBillingAddressRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBillingAddressRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* First name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBillingAddressRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Last name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBillingAddressRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Street name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateBillingAddressRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'street': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateBillingAddressRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* ZIP code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateBillingAddressRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'zipCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* City
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateBillingAddressRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'city': string;
|
|
54
|
+
/**
|
|
55
|
+
* Country code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateBillingAddressRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'countryCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the partner that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateBillingAddressRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'partnerCode': string;
|
|
66
|
+
}
|
|
@@ -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 });
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBillingAddressResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBillingAddressResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created billing address
|
|
21
|
+
* @type {BillingAddressClass}
|
|
22
|
+
* @memberof CreateBillingAddressResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'billingAddress': BillingAddressClass;
|
|
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 });
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CreateCreditAllocationRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCreditAllocationRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Codes of the exceeding credits to allocate.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'exceedingCreditCodes': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Financial account code to use for the refund. Required only when allocationType is \"separate_refund\".
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'financialAccountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Type of credit allocation.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'allocationType': CreateCreditAllocationRequestDtoAllocationTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Amount of the credit allocation in cents.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'allocationAmount': number;
|
|
42
|
+
/**
|
|
43
|
+
* Booking date of the credit allocation.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'bookingDate'?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const CreateCreditAllocationRequestDtoAllocationTypeEnum: {
|
|
50
|
+
readonly NextInvoice: "next_invoice";
|
|
51
|
+
readonly LastInvoice: "last_invoice";
|
|
52
|
+
readonly SeparateRefund: "separate_refund";
|
|
53
|
+
};
|
|
54
|
+
export type CreateCreditAllocationRequestDtoAllocationTypeEnum = typeof CreateCreditAllocationRequestDtoAllocationTypeEnum[keyof typeof CreateCreditAllocationRequestDtoAllocationTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CreateCreditAllocationRequestDtoAllocationTypeEnum = void 0;
|
|
17
|
+
exports.CreateCreditAllocationRequestDtoAllocationTypeEnum = {
|
|
18
|
+
NextInvoice: 'next_invoice',
|
|
19
|
+
LastInvoice: 'last_invoice',
|
|
20
|
+
SeparateRefund: 'separate_refund'
|
|
21
|
+
};
|
|
@@ -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 { CreditAllocationClass } from './credit-allocation-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCreditAllocationResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCreditAllocationResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Credit allocation created.
|
|
21
|
+
* @type {CreditAllocationClass}
|
|
22
|
+
* @memberof CreateCreditAllocationResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'creditAllocation'?: CreditAllocationClass;
|
|
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 });
|
|
@@ -0,0 +1,60 @@
|
|
|
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 CreatePayoutMethodRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePayoutMethodRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the partner that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* First name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'firstName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Last name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'lastName': string;
|
|
36
|
+
/**
|
|
37
|
+
* IBAN
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'iban': string;
|
|
42
|
+
/**
|
|
43
|
+
* BIC
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'bic': string;
|
|
48
|
+
/**
|
|
49
|
+
* Bank name
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'bankName': string;
|
|
54
|
+
/**
|
|
55
|
+
* Billing address code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'billingAddressCode': string;
|
|
60
|
+
}
|
|
@@ -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 });
|
|
@@ -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 { PayoutMethodClass } from './payout-method-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePayoutMethodResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePayoutMethodResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created payout method
|
|
21
|
+
* @type {PayoutMethodClass}
|
|
22
|
+
* @memberof CreatePayoutMethodResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'payoutMethod': PayoutMethodClass;
|
|
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 });
|
|
@@ -34,9 +34,65 @@ export interface CreateTenantBankAccountRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'iban': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Number of the booking account this bank account belongs to
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateTenantBankAccountRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'bookingAccount': string;
|
|
42
|
+
/**
|
|
43
|
+
* Street address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'street'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* House number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'houseNumber'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* ZIP code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'zipCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* City
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'city': string;
|
|
66
|
+
/**
|
|
67
|
+
* Country
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'country': string;
|
|
72
|
+
/**
|
|
73
|
+
* SEPA Pain version
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'sepaPainVersion': CreateTenantBankAccountRequestDtoSepaPainVersionEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Creditor ID
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'creditorId': string;
|
|
84
|
+
/**
|
|
85
|
+
* Indicates whether this is the default bank account for the tenant
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'isDefault': boolean;
|
|
42
90
|
}
|
|
91
|
+
export declare const CreateTenantBankAccountRequestDtoSepaPainVersionEnum: {
|
|
92
|
+
readonly _00302: "pain.008.003.02";
|
|
93
|
+
readonly _00802: "pain.008.008.02";
|
|
94
|
+
readonly _00109: "pain.008.001.09";
|
|
95
|
+
readonly _00110: "pain.008.001.10";
|
|
96
|
+
readonly _00111: "pain.008.001.11";
|
|
97
|
+
};
|
|
98
|
+
export type CreateTenantBankAccountRequestDtoSepaPainVersionEnum = typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum];
|
|
@@ -13,3 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateTenantBankAccountRequestDtoSepaPainVersionEnum = void 0;
|
|
17
|
+
exports.CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
18
|
+
_00302: 'pain.008.003.02',
|
|
19
|
+
_00802: 'pain.008.008.02',
|
|
20
|
+
_00109: 'pain.008.001.09',
|
|
21
|
+
_00110: 'pain.008.001.10',
|
|
22
|
+
_00111: 'pain.008.001.11'
|
|
23
|
+
};
|
|
@@ -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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreditAllocationClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreditAllocationClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CreditAllocationClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Code of the credit allocation.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreditAllocationClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* Codes of the exceeding credits that were allocated.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof CreditAllocationClass
|
|
35
|
+
*/
|
|
36
|
+
'exceedingCreditCodes': Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Policy code associated with the credit.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreditAllocationClass
|
|
41
|
+
*/
|
|
42
|
+
'policyCode': string;
|
|
43
|
+
/**
|
|
44
|
+
* Policy number associated with the credit.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreditAllocationClass
|
|
47
|
+
*/
|
|
48
|
+
'policyNumber': string;
|
|
49
|
+
/**
|
|
50
|
+
* Amount of the credit allocation in cents.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof CreditAllocationClass
|
|
53
|
+
*/
|
|
54
|
+
'allocationAmount': number;
|
|
55
|
+
/**
|
|
56
|
+
* Currency of the credit allocation.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CreditAllocationClass
|
|
59
|
+
*/
|
|
60
|
+
'allocationCurrency': string;
|
|
61
|
+
/**
|
|
62
|
+
* Type of credit allocation.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CreditAllocationClass
|
|
65
|
+
*/
|
|
66
|
+
'allocationType': CreditAllocationClassAllocationTypeEnum;
|
|
67
|
+
/**
|
|
68
|
+
* Financial account code used for the allocation.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CreditAllocationClass
|
|
71
|
+
*/
|
|
72
|
+
'financialAccountCode'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Booking date of the credit allocation.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CreditAllocationClass
|
|
77
|
+
*/
|
|
78
|
+
'bookingDate'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Time at which the object was created.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof CreditAllocationClass
|
|
83
|
+
*/
|
|
84
|
+
'createdAt': string;
|
|
85
|
+
/**
|
|
86
|
+
* Time at which the object was updated.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof CreditAllocationClass
|
|
89
|
+
*/
|
|
90
|
+
'updatedAt': string;
|
|
91
|
+
/**
|
|
92
|
+
* Identifier of the user who created the record.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CreditAllocationClass
|
|
95
|
+
*/
|
|
96
|
+
'createdBy': string;
|
|
97
|
+
/**
|
|
98
|
+
* Identifier of the user who last updated the record.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof CreditAllocationClass
|
|
101
|
+
*/
|
|
102
|
+
'updatedBy': string;
|
|
103
|
+
/**
|
|
104
|
+
* List of exceeding credits associated with this allocation.
|
|
105
|
+
* @type {Array<ExceedingCreditClass>}
|
|
106
|
+
* @memberof CreditAllocationClass
|
|
107
|
+
*/
|
|
108
|
+
'exceedingCredits'?: Array<ExceedingCreditClass>;
|
|
109
|
+
}
|
|
110
|
+
export declare const CreditAllocationClassAllocationTypeEnum: {
|
|
111
|
+
readonly NextInvoice: "next_invoice";
|
|
112
|
+
readonly LastInvoice: "last_invoice";
|
|
113
|
+
readonly SeparateRefund: "separate_refund";
|
|
114
|
+
};
|
|
115
|
+
export type CreditAllocationClassAllocationTypeEnum = typeof CreditAllocationClassAllocationTypeEnum[keyof typeof CreditAllocationClassAllocationTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CreditAllocationClassAllocationTypeEnum = void 0;
|
|
17
|
+
exports.CreditAllocationClassAllocationTypeEnum = {
|
|
18
|
+
NextInvoice: 'next_invoice',
|
|
19
|
+
LastInvoice: 'last_invoice',
|
|
20
|
+
SeparateRefund: 'separate_refund'
|
|
21
|
+
};
|