@emilgroup/payment-sdk 1.13.1-beta.6 → 1.13.1-beta.60
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 +4 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-transaction-api.ts +49 -21
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +59 -17
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- 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-transaction-api.d.ts +32 -14
- package/dist/api/bank-transaction-api.js +27 -15
- 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 +39 -12
- package/dist/api/payments-api.js +32 -14
- 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/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +0 -14
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -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 +1 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -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-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
- package/dist/models/create-psp-payment-method-request-dto.js +2 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-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/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/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -14
- package/dist/models/update-bank-order-request-dto.d.ts +56 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/models/bank-transaction-class-without-expand-properties.ts +0 -14
- package/models/complete-adyen-payment-setup-request-dto.ts +2 -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 +2 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +15 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/index.ts +4 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-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/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/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +0 -14
- package/models/update-bank-order-request-dto.ts +65 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -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,6 @@ export declare const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum:
|
|
|
92
92
|
readonly Venmo: "venmo";
|
|
93
93
|
readonly Masterpass: "masterpass";
|
|
94
94
|
readonly B4u: "b4u";
|
|
95
|
+
readonly Invoice: "invoice";
|
|
95
96
|
};
|
|
96
97
|
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
|
+
};
|
|
@@ -32,7 +32,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReminderRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'accountCode'
|
|
35
|
+
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Code referencing the partner for which this reminder is created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* The type of invoice is used to determine the proper workflow.
|
|
38
44
|
* @type {string}
|
|
@@ -20,7 +20,13 @@ export interface CreatePaymentRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePaymentRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code associated to that payment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
26
32
|
* @type {number}
|
|
@@ -28,7 +28,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'accountCode'
|
|
31
|
+
'accountCode'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'partnerCode'?: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {SepaDirectDto}
|
|
@@ -47,6 +53,12 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
47
53
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
48
54
|
*/
|
|
49
55
|
'productSlug'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'leadCode'?: string;
|
|
50
62
|
}
|
|
51
63
|
export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
52
64
|
readonly Paypal: "paypal";
|
|
@@ -63,5 +75,6 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
|
63
75
|
readonly Venmo: "venmo";
|
|
64
76
|
readonly Masterpass: "masterpass";
|
|
65
77
|
readonly B4u: "b4u";
|
|
78
|
+
readonly Invoice: "invoice";
|
|
66
79
|
};
|
|
67
80
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
|
@@ -38,7 +38,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DeactivatedPaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,11 +7,13 @@ export * from './billing-profile-limited-response-dto';
|
|
|
7
7
|
export * from './card-details-dto';
|
|
8
8
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
9
9
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
10
|
+
export * from './complete-eis-payment-setup-request-dto';
|
|
10
11
|
export * from './complete-payment-setup-request-dto';
|
|
11
12
|
export * from './complete-payment-setup-response-class';
|
|
12
13
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
13
14
|
export * from './create-bank-account-request-dto';
|
|
14
15
|
export * from './create-bank-account-response-class';
|
|
16
|
+
export * from './create-bank-order-request-dto';
|
|
15
17
|
export * from './create-payment-method-response-class';
|
|
16
18
|
export * from './create-payment-reminder-request-dto';
|
|
17
19
|
export * from './create-payment-reminder-response-class';
|
|
@@ -38,6 +40,7 @@ export * from './initiate-adyen-payment-setup-request-dto';
|
|
|
38
40
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
39
41
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
40
42
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
43
|
+
export * from './initiate-eis-payment-setup-request-dto';
|
|
41
44
|
export * from './initiate-payment-setup-request-dto';
|
|
42
45
|
export * from './initiate-payment-setup-response-class';
|
|
43
46
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
@@ -74,6 +77,7 @@ export * from './unlinked-bank-transaction-response-class';
|
|
|
74
77
|
export * from './update-bank-account-request-dto';
|
|
75
78
|
export * from './update-bank-account-request-dto-rest';
|
|
76
79
|
export * from './update-bank-account-response-class';
|
|
80
|
+
export * from './update-bank-order-request-dto';
|
|
77
81
|
export * from './update-tenant-bank-account-response-class';
|
|
78
82
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
79
83
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -23,11 +23,13 @@ __exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
|
23
23
|
__exportStar(require("./card-details-dto"), exports);
|
|
24
24
|
__exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
|
|
25
25
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
26
|
+
__exportStar(require("./complete-eis-payment-setup-request-dto"), exports);
|
|
26
27
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
27
28
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
28
29
|
__exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./create-bank-account-response-class"), exports);
|
|
32
|
+
__exportStar(require("./create-bank-order-request-dto"), exports);
|
|
31
33
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
32
34
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
33
35
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
@@ -54,6 +56,7 @@ __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
|
54
56
|
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
55
57
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
56
58
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
59
|
+
__exportStar(require("./initiate-eis-payment-setup-request-dto"), exports);
|
|
57
60
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
58
61
|
__exportStar(require("./initiate-payment-setup-response-class"), exports);
|
|
59
62
|
__exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
|
|
@@ -90,6 +93,7 @@ __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
|
|
|
90
93
|
__exportStar(require("./update-bank-account-request-dto"), exports);
|
|
91
94
|
__exportStar(require("./update-bank-account-request-dto-rest"), exports);
|
|
92
95
|
__exportStar(require("./update-bank-account-response-class"), exports);
|
|
96
|
+
__exportStar(require("./update-bank-order-request-dto"), exports);
|
|
93
97
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
94
98
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
95
99
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -27,4 +27,10 @@ export interface InitiateAdyenPaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -27,4 +27,10 @@ export interface InitiateBraintreePaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -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 InitiateEisPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateEisPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'leadCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the account that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: 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 { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
|
|
13
13
|
import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
14
|
+
import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
|
|
14
15
|
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -38,10 +39,10 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
38
39
|
'b4u'?: object;
|
|
39
40
|
/**
|
|
40
41
|
*
|
|
41
|
-
* @type {
|
|
42
|
+
* @type {InitiateEisPaymentSetupRequestDto}
|
|
42
43
|
* @memberof InitiatePaymentSetupRequestDto
|
|
43
44
|
*/
|
|
44
|
-
'eis'?:
|
|
45
|
+
'eis'?: InitiateEisPaymentSetupRequestDto;
|
|
45
46
|
/**
|
|
46
47
|
*
|
|
47
48
|
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
@@ -27,4 +27,10 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentClassWithoutExpandProperties
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Partner code associated to that payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
44
50
|
* @type {number}
|
|
@@ -39,7 +39,13 @@ export interface PaymentClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PaymentClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated to that payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PaymentClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -75,6 +75,12 @@ export interface PaymentMethodClass {
|
|
|
75
75
|
* @memberof PaymentMethodClass
|
|
76
76
|
*/
|
|
77
77
|
'details'?: object;
|
|
78
|
+
/**
|
|
79
|
+
* The account PSP customer associated to this payment method.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof PaymentMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'accountPspCustomer'?: object;
|
|
78
84
|
/**
|
|
79
85
|
* Optional field contain extra information
|
|
80
86
|
* @type {object}
|
|
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -39,7 +39,13 @@ export interface RefundClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof RefundClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated with the payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RefundClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
13
|
-
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
14
12
|
/**
|
|
15
13
|
*
|
|
16
14
|
* @export
|
|
@@ -113,16 +111,4 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
113
111
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
114
112
|
*/
|
|
115
113
|
'updatedBy': string;
|
|
116
|
-
/**
|
|
117
|
-
* The match suggestions for invoices
|
|
118
|
-
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
119
|
-
* @memberof UnlinkedBankTransactionResponseClass
|
|
120
|
-
*/
|
|
121
|
-
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
122
|
-
/**
|
|
123
|
-
* The progress of the suggestion generation
|
|
124
|
-
* @type {SuggestionGenerationProgressClass}
|
|
125
|
-
* @memberof UnlinkedBankTransactionResponseClass
|
|
126
|
-
*/
|
|
127
|
-
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
128
114
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 UpdateBankOrderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBankOrderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Bank order status
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBankOrderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'status': UpdateBankOrderRequestDtoStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Bank order description.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateBankOrderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* List of invoice IDs associated with bank order.
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof UpdateBankOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'invoiceIds': Array<number>;
|
|
36
|
+
/**
|
|
37
|
+
* Day of execution of bank order.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateBankOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'executionDate': string;
|
|
42
|
+
/**
|
|
43
|
+
* Latest due date.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateBankOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'dueDate': string;
|
|
48
|
+
}
|
|
49
|
+
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
50
|
+
readonly Open: "open";
|
|
51
|
+
readonly Draft: "draft";
|
|
52
|
+
readonly Closed: "closed";
|
|
53
|
+
readonly Accepted: "accepted";
|
|
54
|
+
readonly Processing: "processing";
|
|
55
|
+
};
|
|
56
|
+
export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
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.UpdateBankOrderRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.UpdateBankOrderRequestDtoStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Draft: 'draft',
|
|
20
|
+
Closed: 'closed',
|
|
21
|
+
Accepted: 'accepted',
|
|
22
|
+
Processing: 'processing'
|
|
23
|
+
};
|