@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.131
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 +349 -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 +471 -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 +10 -32
- 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 +352 -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 +452 -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 +2 -4
- package/dist/base.js +21 -40
- 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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InitiateEisPaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateEisPaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the lead that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'leadCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier of the account that this object belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
|
|
17
17
|
import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
18
|
+
import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
|
|
18
19
|
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
19
20
|
|
|
20
21
|
/**
|
|
@@ -43,10 +44,10 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
43
44
|
'b4u'?: object;
|
|
44
45
|
/**
|
|
45
46
|
*
|
|
46
|
-
* @type {
|
|
47
|
+
* @type {InitiateEisPaymentSetupRequestDto}
|
|
47
48
|
* @memberof InitiatePaymentSetupRequestDto
|
|
48
49
|
*/
|
|
49
|
-
'eis'?:
|
|
50
|
+
'eis'?: InitiateEisPaymentSetupRequestDto;
|
|
50
51
|
/**
|
|
51
52
|
*
|
|
52
53
|
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -17,14 +17,20 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface InvoiceAllocationDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface InvoiceAllocationDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof InvoiceAllocationDto
|
|
27
27
|
*/
|
|
28
28
|
'invoiceCode': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof InvoiceAllocationDto
|
|
33
|
+
*/
|
|
34
|
+
'allocatedAmount': number;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InvoiceAllocationDto } from './invoice-allocation-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -21,10 +22,10 @@
|
|
|
21
22
|
*/
|
|
22
23
|
export interface LinkBankTransactionRequestDtoRest {
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
25
|
+
* List of invoice allocations associated with bank transaction.
|
|
26
|
+
* @type {Array<InvoiceAllocationDto>}
|
|
26
27
|
* @memberof LinkBankTransactionRequestDtoRest
|
|
27
28
|
*/
|
|
28
|
-
'
|
|
29
|
+
'invoiceAllocations': Array<InvoiceAllocationDto>;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListExceedingCreditsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListExceedingCreditsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of exceeding credits.
|
|
26
|
+
* @type {Array<ExceedingCreditClass>}
|
|
27
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ExceedingCreditClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyPaymentMethodClass } from './policy-payment-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPolicyPaymentMethodsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPolicyPaymentMethodsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of policy payment methods.
|
|
26
|
+
* @type {Array<PolicyPaymentMethodClass>}
|
|
27
|
+
* @memberof ListPolicyPaymentMethodsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PolicyPaymentMethodClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPolicyPaymentMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { MandateHashDataDto } from './mandate-hash-data-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface MandateDto
|
|
22
|
+
*/
|
|
23
|
+
export interface MandateDto {
|
|
24
|
+
/**
|
|
25
|
+
* Creditor identifier for SEPA debit
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MandateDto
|
|
28
|
+
*/
|
|
29
|
+
'creditorId': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique mandate reference
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MandateDto
|
|
34
|
+
*/
|
|
35
|
+
'mandateReference': string;
|
|
36
|
+
/**
|
|
37
|
+
* Date when mandate was created
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MandateDto
|
|
40
|
+
*/
|
|
41
|
+
'mandateCreatedAt': string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional mandate hash data containing signature details
|
|
44
|
+
* @type {MandateHashDataDto}
|
|
45
|
+
* @memberof MandateDto
|
|
46
|
+
*/
|
|
47
|
+
'mandateHashData'?: MandateHashDataDto;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MandateHashDataDto
|
|
21
|
+
*/
|
|
22
|
+
export interface MandateHashDataDto {
|
|
23
|
+
/**
|
|
24
|
+
* Date when mandate was signed
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof MandateHashDataDto
|
|
27
|
+
*/
|
|
28
|
+
'date': string;
|
|
29
|
+
/**
|
|
30
|
+
* Location where mandate was signed
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof MandateHashDataDto
|
|
33
|
+
*/
|
|
34
|
+
'location': string;
|
|
35
|
+
/**
|
|
36
|
+
* First name of mandate signer
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof MandateHashDataDto
|
|
39
|
+
*/
|
|
40
|
+
'firstName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Last name of mandate signer
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof MandateHashDataDto
|
|
45
|
+
*/
|
|
46
|
+
'lastName': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MandateReferenceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface MandateReferenceClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof MandateReferenceClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof MandateReferenceClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* SEPA mandate reference identifier
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof MandateReferenceClass
|
|
39
|
+
*/
|
|
40
|
+
'mandateReference': string;
|
|
41
|
+
/**
|
|
42
|
+
* Date when mandate was created
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof MandateReferenceClass
|
|
45
|
+
*/
|
|
46
|
+
'mandateCreatedAt': string;
|
|
47
|
+
/**
|
|
48
|
+
* SEPA creditor identifier
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof MandateReferenceClass
|
|
51
|
+
*/
|
|
52
|
+
'creditorId': string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional hash of mandate document
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof MandateReferenceClass
|
|
57
|
+
*/
|
|
58
|
+
'hash'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Optional mandate hash data containing signature details
|
|
61
|
+
* @type {object}
|
|
62
|
+
* @memberof MandateReferenceClass
|
|
63
|
+
*/
|
|
64
|
+
'hashData'?: object;
|
|
65
|
+
/**
|
|
66
|
+
* Payment method code associated with this mandate
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof MandateReferenceClass
|
|
69
|
+
*/
|
|
70
|
+
'paymentMethodCode': string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the user who created the record.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof MandateReferenceClass
|
|
75
|
+
*/
|
|
76
|
+
'createdBy': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who last updated the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof MandateReferenceClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof MandateReferenceClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof MandateReferenceClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -43,7 +43,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PaymentClassWithoutExpandProperties
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Partner code associated to that payment.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
49
55
|
* @type {number}
|
package/models/payment-class.ts
CHANGED
|
@@ -44,7 +44,13 @@ export interface PaymentClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PaymentClass
|
|
46
46
|
*/
|
|
47
|
-
'accountCode'
|
|
47
|
+
'accountCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Partner code associated to that payment.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerCode'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
50
56
|
* @type {number}
|
|
@@ -80,6 +80,12 @@ export interface PaymentMethodClass {
|
|
|
80
80
|
* @memberof PaymentMethodClass
|
|
81
81
|
*/
|
|
82
82
|
'details'?: object;
|
|
83
|
+
/**
|
|
84
|
+
* The account PSP customer associated to this payment method.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof PaymentMethodClass
|
|
87
|
+
*/
|
|
88
|
+
'accountPspCustomer'?: object;
|
|
83
89
|
/**
|
|
84
90
|
* Optional field contain extra information
|
|
85
91
|
* @type {object}
|
|
@@ -43,7 +43,13 @@ export interface PaymentReminderClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PaymentReminderClass
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of related partner.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentReminderClass
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Type of the invoice
|
|
49
55
|
* @type {string}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { MandateReferenceClass } from './mandate-reference-class';
|
|
17
|
+
import { PaymentMethodClass } from './payment-method-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface PolicyPaymentMethodClass
|
|
23
|
+
*/
|
|
24
|
+
export interface PolicyPaymentMethodClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PolicyPaymentMethodClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PolicyPaymentMethodClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* The unique identifier of the policy.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PolicyPaymentMethodClass
|
|
41
|
+
*/
|
|
42
|
+
'policyCode': string;
|
|
43
|
+
/**
|
|
44
|
+
* The active status of the policy payment method.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof PolicyPaymentMethodClass
|
|
47
|
+
*/
|
|
48
|
+
'isActive': boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Time at which the object was created.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PolicyPaymentMethodClass
|
|
53
|
+
*/
|
|
54
|
+
'createdAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was updated.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PolicyPaymentMethodClass
|
|
59
|
+
*/
|
|
60
|
+
'updatedAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Identifier of the user who created the record.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PolicyPaymentMethodClass
|
|
65
|
+
*/
|
|
66
|
+
'createdBy': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who last updated the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof PolicyPaymentMethodClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedBy': string;
|
|
73
|
+
/**
|
|
74
|
+
* The payment method associated with the policy payment method.
|
|
75
|
+
* @type {PaymentMethodClass}
|
|
76
|
+
* @memberof PolicyPaymentMethodClass
|
|
77
|
+
*/
|
|
78
|
+
'paymentMethod': PaymentMethodClass;
|
|
79
|
+
/**
|
|
80
|
+
* Mandate reference ID for sepa debit payment methods
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof PolicyPaymentMethodClass
|
|
83
|
+
*/
|
|
84
|
+
'mandateReferenceId'?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Mandate reference details for sepa debit payment methods
|
|
87
|
+
* @type {MandateReferenceClass}
|
|
88
|
+
* @memberof PolicyPaymentMethodClass
|
|
89
|
+
*/
|
|
90
|
+
'mandateReference'?: MandateReferenceClass;
|
|
91
|
+
}
|
|
92
|
+
|
package/models/refund-class.ts
CHANGED
|
@@ -44,7 +44,13 @@ export interface RefundClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof RefundClass
|
|
46
46
|
*/
|
|
47
|
-
'accountCode'
|
|
47
|
+
'accountCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Partner code associated with the payment.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RefundClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerCode'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
50
56
|
* @type {number}
|
|
@@ -80,5 +80,35 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
80
80
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
81
81
|
*/
|
|
82
82
|
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Street address of the bank
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
87
|
+
*/
|
|
88
|
+
'street'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* House number of the bank
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
93
|
+
*/
|
|
94
|
+
'houseNumber'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* ZIP code of the bank
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
99
|
+
*/
|
|
100
|
+
'zipCode'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* City of the bank
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
105
|
+
*/
|
|
106
|
+
'city'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Country of the bank
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
111
|
+
*/
|
|
112
|
+
'country'?: string;
|
|
83
113
|
}
|
|
84
114
|
|
|
@@ -87,5 +87,35 @@ export interface TenantBankAccountClass {
|
|
|
87
87
|
* @memberof TenantBankAccountClass
|
|
88
88
|
*/
|
|
89
89
|
'updatedBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Street address of the bank
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof TenantBankAccountClass
|
|
94
|
+
*/
|
|
95
|
+
'street'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* House number of the bank
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof TenantBankAccountClass
|
|
100
|
+
*/
|
|
101
|
+
'houseNumber'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* ZIP code of the bank
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof TenantBankAccountClass
|
|
106
|
+
*/
|
|
107
|
+
'zipCode'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* City of the bank
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountClass
|
|
112
|
+
*/
|
|
113
|
+
'city'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Country of the bank
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TenantBankAccountClass
|
|
118
|
+
*/
|
|
119
|
+
'country'?: string;
|
|
90
120
|
}
|
|
91
121
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -50,6 +51,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
50
51
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
51
52
|
*/
|
|
52
53
|
'messageReference'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Label of the transaction
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
58
|
+
*/
|
|
59
|
+
'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
|
|
53
60
|
/**
|
|
54
61
|
* Currency of the transaction.
|
|
55
62
|
* @type {string}
|
|
@@ -92,6 +99,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
92
99
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
93
100
|
*/
|
|
94
101
|
'isLinked': boolean;
|
|
102
|
+
/**
|
|
103
|
+
* The linked bank order object
|
|
104
|
+
* @type {BankOrderClass}
|
|
105
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
106
|
+
*/
|
|
107
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
95
108
|
/**
|
|
96
109
|
* The file format of the bank transaction
|
|
97
110
|
* @type {string}
|
|
@@ -118,3 +131,11 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
118
131
|
'updatedBy': string;
|
|
119
132
|
}
|
|
120
133
|
|
|
134
|
+
export const UnlinkedBankTransactionResponseClassLabelEnum = {
|
|
135
|
+
Automated: 'automated',
|
|
136
|
+
Manual: 'manual'
|
|
137
|
+
} as const;
|
|
138
|
+
|
|
139
|
+
export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
|
|
140
|
+
|
|
141
|
+
|