@emilgroup/payment-sdk 1.13.1-beta.1 → 1.13.1-beta.100
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 +34 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +177 -63
- 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 +188 -21
- package/api/policy-payment-methods-api.ts +353 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +6 -0
- package/base.ts +52 -3
- 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 +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +110 -46
- package/dist/api/bank-transaction-api.js +141 -44
- 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 +112 -16
- package/dist/api/payments-api.js +141 -18
- package/dist/api/policy-payment-methods-api.d.ts +207 -0
- package/dist/api/policy-payment-methods-api.js +353 -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 +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +122 -0
- 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 +36 -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 +54 -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 +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-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/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/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/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 +31 -1
- package/dist/models/index.js +31 -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/invoice-match-suggestion-class.d.ts +60 -0
- package/dist/models/invoice-match-suggestion-class.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- 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/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/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 +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +62 -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 +128 -0
- 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 +39 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +60 -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 +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- 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/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/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +31 -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/invoice-match-suggestion-class.ts +66 -0
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-bank-orders-response-class.ts +37 -0
- 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/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +71 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
14
|
+
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
15
|
+
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
13
16
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
@@ -47,6 +50,12 @@ export interface BankTransactionClass {
|
|
|
47
50
|
* @memberof BankTransactionClass
|
|
48
51
|
*/
|
|
49
52
|
'messageReference'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Label of the transaction
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankTransactionClass
|
|
57
|
+
*/
|
|
58
|
+
'label'?: BankTransactionClassLabelEnum;
|
|
50
59
|
/**
|
|
51
60
|
* Currency of the transaction.
|
|
52
61
|
* @type {string}
|
|
@@ -83,30 +92,18 @@ export interface BankTransactionClass {
|
|
|
83
92
|
* @memberof BankTransactionClass
|
|
84
93
|
*/
|
|
85
94
|
'metadata'?: object;
|
|
86
|
-
/**
|
|
87
|
-
* The id of the PSP transaction that this bank transaction is linked to
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof BankTransactionClass
|
|
90
|
-
*/
|
|
91
|
-
'linkedTransactionId'?: number;
|
|
92
|
-
/**
|
|
93
|
-
* The code of the invoice that this bank transaction is linked to
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof BankTransactionClass
|
|
96
|
-
*/
|
|
97
|
-
'linkedInvoiceCode'?: string;
|
|
98
|
-
/**
|
|
99
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof BankTransactionClass
|
|
102
|
-
*/
|
|
103
|
-
'linkedInvoiceNumber'?: string;
|
|
104
95
|
/**
|
|
105
96
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
106
97
|
* @type {boolean}
|
|
107
98
|
* @memberof BankTransactionClass
|
|
108
99
|
*/
|
|
109
100
|
'isLinked': boolean;
|
|
101
|
+
/**
|
|
102
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
103
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
104
|
+
* @memberof BankTransactionClass
|
|
105
|
+
*/
|
|
106
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
110
107
|
/**
|
|
111
108
|
* The bank account object that this transaction is belongs to
|
|
112
109
|
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
@@ -114,11 +111,11 @@ export interface BankTransactionClass {
|
|
|
114
111
|
*/
|
|
115
112
|
'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
|
|
116
113
|
/**
|
|
117
|
-
* The linked
|
|
118
|
-
* @type {
|
|
114
|
+
* The linked bank order object
|
|
115
|
+
* @type {BankOrderClass}
|
|
119
116
|
* @memberof BankTransactionClass
|
|
120
117
|
*/
|
|
121
|
-
'
|
|
118
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
122
119
|
/**
|
|
123
120
|
* The file format of the bank transaction
|
|
124
121
|
* @type {string}
|
|
@@ -143,4 +140,21 @@ export interface BankTransactionClass {
|
|
|
143
140
|
* @memberof BankTransactionClass
|
|
144
141
|
*/
|
|
145
142
|
'updatedBy': string;
|
|
143
|
+
/**
|
|
144
|
+
* The match suggestions for invoices
|
|
145
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
146
|
+
* @memberof BankTransactionClass
|
|
147
|
+
*/
|
|
148
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
149
|
+
/**
|
|
150
|
+
* The progress of the suggestion generation
|
|
151
|
+
* @type {SuggestionGenerationProgressClass}
|
|
152
|
+
* @memberof BankTransactionClass
|
|
153
|
+
*/
|
|
154
|
+
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
146
155
|
}
|
|
156
|
+
export declare const BankTransactionClassLabelEnum: {
|
|
157
|
+
readonly Automated: "automated";
|
|
158
|
+
readonly Manual: "manual";
|
|
159
|
+
};
|
|
160
|
+
export type BankTransactionClassLabelEnum = typeof BankTransactionClassLabelEnum[keyof typeof BankTransactionClassLabelEnum];
|
|
@@ -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 BankTransactionInvoiceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BankTransactionInvoiceClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BankTransactionInvoiceClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BankTransactionInvoiceClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Bank transaction id
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BankTransactionInvoiceClass
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Invoice code of the bank transaction invoice
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankTransactionInvoiceClass
|
|
40
|
+
*/
|
|
41
|
+
'invoiceCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Invoice number of the bank transaction invoice
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BankTransactionInvoiceClass
|
|
46
|
+
*/
|
|
47
|
+
'invoiceNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
* Linked transaction id of the bank transaction invoice
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BankTransactionInvoiceClass
|
|
52
|
+
*/
|
|
53
|
+
'linkedTransactionId': number;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankTransactionInvoiceClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': 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 { BillingAddressDto } from './billing-address-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankTransferDto
|
|
17
|
+
*/
|
|
18
|
+
export interface BankTransferDto {
|
|
19
|
+
/**
|
|
20
|
+
* Billing address for the bank transfer payment method
|
|
21
|
+
* @type {BillingAddressDto}
|
|
22
|
+
* @memberof BankTransferDto
|
|
23
|
+
*/
|
|
24
|
+
'billingAddress': BillingAddressDto;
|
|
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 BillingAddressDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingAddressDto {
|
|
18
|
+
/**
|
|
19
|
+
* First name for billing address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BillingAddressDto
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Last name for billing address
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingAddressDto
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Street name for billing address
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BillingAddressDto
|
|
34
|
+
*/
|
|
35
|
+
'street': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number for billing address
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BillingAddressDto
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* ZIP/Postal code for billing address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingAddressDto
|
|
46
|
+
*/
|
|
47
|
+
'zipCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* City name for billing address
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BillingAddressDto
|
|
52
|
+
*/
|
|
53
|
+
'city': string;
|
|
54
|
+
}
|
|
@@ -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 });
|
|
@@ -93,5 +93,7 @@ export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
|
93
93
|
readonly Venmo: "venmo";
|
|
94
94
|
readonly Masterpass: "masterpass";
|
|
95
95
|
readonly B4u: "b4u";
|
|
96
|
+
readonly Invoice: "invoice";
|
|
97
|
+
readonly BankTransfer: "bank_transfer";
|
|
96
98
|
};
|
|
97
99
|
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CompleteEisPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteEisPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the account that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the partner that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the lead that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'leadCode'?: string;
|
|
36
|
+
}
|
|
@@ -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 });
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
13
13
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
14
|
+
import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
|
|
14
15
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -42,4 +43,10 @@ export interface CompletePaymentSetupRequestDto {
|
|
|
42
43
|
* @memberof CompletePaymentSetupRequestDto
|
|
43
44
|
*/
|
|
44
45
|
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CompleteEisPaymentSetupRequestDto}
|
|
49
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
50
|
+
*/
|
|
51
|
+
'eis'?: CompleteEisPaymentSetupRequestDto;
|
|
45
52
|
}
|
|
@@ -92,5 +92,7 @@ export declare const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum:
|
|
|
92
92
|
readonly Venmo: "venmo";
|
|
93
93
|
readonly Masterpass: "masterpass";
|
|
94
94
|
readonly B4u: "b4u";
|
|
95
|
+
readonly Invoice: "invoice";
|
|
96
|
+
readonly BankTransfer: "bank_transfer";
|
|
95
97
|
};
|
|
96
98
|
export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -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 });
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CreatePaymentOrderDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentOrderDto {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice referenced in this payment order.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentOrderDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceId': number;
|
|
24
|
+
/**
|
|
25
|
+
* Optional comment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentOrderDto
|
|
28
|
+
*/
|
|
29
|
+
'comment'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional payment date.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentOrderDto
|
|
34
|
+
*/
|
|
35
|
+
'receivedDate'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional reference number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentOrderDto
|
|
40
|
+
*/
|
|
41
|
+
'referenceNumber'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional field contain extra information.
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreatePaymentOrderDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
}
|
|
@@ -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,48 @@
|
|
|
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 CreatePaymentOrderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentOrderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceId': number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'comment'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'receivedDate'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'referenceNumber'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
}
|