@emilgroup/payment-sdk 1.13.1-beta.8 → 1.13.1-beta.81
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 +20 -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/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +188 -21
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +2 -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/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/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 +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +30 -11
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +47 -14
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +54 -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 +48 -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-psp-payment-method-request-dto.d.ts +22 -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/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -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/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/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 +33 -2
- 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 +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +33 -11
- package/models/bank-transaction-class.ts +50 -14
- package/models/bank-transaction-invoice-class.ts +60 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +54 -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-psp-payment-method-request-dto.ts +23 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +19 -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/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/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +36 -2
- 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
|
@@ -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 CompleteEisPaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteEisPaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the account that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier of the partner that this object belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the lead that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'leadCode'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
17
17
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
18
|
+
import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
|
|
18
19
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
19
20
|
|
|
20
21
|
/**
|
|
@@ -47,5 +48,11 @@ export interface CompletePaymentSetupRequestDto {
|
|
|
47
48
|
* @memberof CompletePaymentSetupRequestDto
|
|
48
49
|
*/
|
|
49
50
|
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {CompleteEisPaymentSetupRequestDto}
|
|
54
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'eis'?: CompleteEisPaymentSetupRequestDto;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -97,7 +97,9 @@ export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
|
97
97
|
SamsungPay: 'samsung_pay',
|
|
98
98
|
Venmo: 'venmo',
|
|
99
99
|
Masterpass: 'masterpass',
|
|
100
|
-
B4u: 'b4u'
|
|
100
|
+
B4u: 'b4u',
|
|
101
|
+
Invoice: 'invoice',
|
|
102
|
+
BankTransfer: 'bank_transfer'
|
|
101
103
|
} as const;
|
|
102
104
|
|
|
103
105
|
export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -0,0 +1,84 @@
|
|
|
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 CreateBankOrderRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBankOrderRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Bank order type.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBankOrderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'type': CreateBankOrderRequestDtoTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Status associated with bank order.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBankOrderRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'status': CreateBankOrderRequestDtoStatusEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Bank order description.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateBankOrderRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Financial account code associated with the bank order.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateBankOrderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'financialAccountCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* List of invoice IDs associated with bank order.
|
|
49
|
+
* @type {Array<number>}
|
|
50
|
+
* @memberof CreateBankOrderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'invoiceIds': Array<number>;
|
|
53
|
+
/**
|
|
54
|
+
* Day of execution of bank order.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateBankOrderRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'executionDate': string;
|
|
59
|
+
/**
|
|
60
|
+
* Latest due date.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateBankOrderRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'dueDate': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
68
|
+
DirectDebit: 'direct_debit',
|
|
69
|
+
PremiumPayment: 'premium_payment',
|
|
70
|
+
ClaimPayment: 'claim_payment'
|
|
71
|
+
} as const;
|
|
72
|
+
|
|
73
|
+
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
74
|
+
export const CreateBankOrderRequestDtoStatusEnum = {
|
|
75
|
+
Open: 'open',
|
|
76
|
+
Draft: 'draft',
|
|
77
|
+
Closed: 'closed',
|
|
78
|
+
Accepted: 'accepted',
|
|
79
|
+
Processing: 'processing'
|
|
80
|
+
} as const;
|
|
81
|
+
|
|
82
|
+
export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
|
|
83
|
+
|
|
84
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { BankOrderClass } from './bank-order-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateBankOrderResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateBankOrderResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank order
|
|
26
|
+
* @type {BankOrderClass}
|
|
27
|
+
* @memberof CreateBankOrderResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankOrder': BankOrderClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CreatePaymentOrderDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentOrderDto {
|
|
23
|
+
/**
|
|
24
|
+
* Invoice referenced in this payment order.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentOrderDto
|
|
27
|
+
*/
|
|
28
|
+
'invoiceId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Optional comment.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentOrderDto
|
|
33
|
+
*/
|
|
34
|
+
'comment'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional payment date.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentOrderDto
|
|
39
|
+
*/
|
|
40
|
+
'receivedDate'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Optional reference number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentOrderDto
|
|
45
|
+
*/
|
|
46
|
+
'referenceNumber'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional field contain extra information.
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreatePaymentOrderDto
|
|
51
|
+
*/
|
|
52
|
+
'metadata': object;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CreatePaymentOrderRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentOrderRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'invoiceId': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'comment'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'receivedDate'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'referenceNumber'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'metadata': object;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -37,7 +37,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePaymentReminderRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'accountCode'
|
|
40
|
+
'accountCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Code referencing the partner for which this reminder is created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'partnerCode'?: string;
|
|
41
47
|
/**
|
|
42
48
|
* The type of invoice is used to determine the proper workflow.
|
|
43
49
|
* @type {string}
|
|
@@ -25,7 +25,13 @@ export interface CreatePaymentRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreatePaymentRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'accountCode'
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Partner code associated to that payment.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode'?: string;
|
|
29
35
|
/**
|
|
30
36
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
31
37
|
* @type {number}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankTransferDto } from './bank-transfer-dto';
|
|
16
17
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
17
18
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
18
19
|
|
|
@@ -33,7 +34,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
35
36
|
*/
|
|
36
|
-
'accountCode'
|
|
37
|
+
'accountCode'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'partnerCode'?: string;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {SepaDirectDto}
|
|
@@ -46,12 +53,24 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
46
53
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
47
54
|
*/
|
|
48
55
|
'billingProfile'?: BillingProfileDto;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {BankTransferDto}
|
|
59
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'bankTransfer'?: BankTransferDto;
|
|
49
62
|
/**
|
|
50
63
|
*
|
|
51
64
|
* @type {string}
|
|
52
65
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
53
66
|
*/
|
|
54
67
|
'productSlug'?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
72
|
+
*/
|
|
73
|
+
'leadCode'?: string;
|
|
55
74
|
}
|
|
56
75
|
|
|
57
76
|
export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
@@ -68,7 +87,9 @@ export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
|
68
87
|
SamsungPay: 'samsung_pay',
|
|
69
88
|
Venmo: 'venmo',
|
|
70
89
|
Masterpass: 'masterpass',
|
|
71
|
-
B4u: 'b4u'
|
|
90
|
+
B4u: 'b4u',
|
|
91
|
+
Invoice: 'invoice',
|
|
92
|
+
BankTransfer: 'bank_transfer'
|
|
72
93
|
} as const;
|
|
73
94
|
|
|
74
95
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
|
@@ -43,7 +43,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DeactivatedPaymentReminderClass
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of related partner.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Type of the invoice
|
|
49
55
|
* @type {string}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 FinancialAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface FinancialAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof FinancialAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FinancialAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FinancialAccountClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* The financial account number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FinancialAccountClass
|
|
45
|
+
*/
|
|
46
|
+
'financialAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the parent account, if any.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof FinancialAccountClass
|
|
51
|
+
*/
|
|
52
|
+
'parentId': number;
|
|
53
|
+
/**
|
|
54
|
+
* The partner number of the account.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FinancialAccountClass
|
|
57
|
+
*/
|
|
58
|
+
'partnerNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FinancialAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'type': FinancialAccountClassTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
* Metadata about the object.
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof FinancialAccountClass
|
|
69
|
+
*/
|
|
70
|
+
'customFields': object;
|
|
71
|
+
/**
|
|
72
|
+
* The description of the account.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FinancialAccountClass
|
|
75
|
+
*/
|
|
76
|
+
'description': string;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the account is clearable.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof FinancialAccountClass
|
|
81
|
+
*/
|
|
82
|
+
'clearable': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FinancialAccountClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FinancialAccountClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Identifier of the user who created the record.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof FinancialAccountClass
|
|
99
|
+
*/
|
|
100
|
+
'createdBy': string;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier of the user who last updated the record.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof FinancialAccountClass
|
|
105
|
+
*/
|
|
106
|
+
'updatedBy': string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export const FinancialAccountClassTypeEnum = {
|
|
110
|
+
Asset: 'asset',
|
|
111
|
+
Liability: 'liability',
|
|
112
|
+
Equity: 'equity',
|
|
113
|
+
Revenue: 'revenue',
|
|
114
|
+
Expense: 'expense',
|
|
115
|
+
OpeningBalance: 'opening_balance'
|
|
116
|
+
} as const;
|
|
117
|
+
|
|
118
|
+
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
119
|
+
|
|
120
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GenerateInvoiceMatchSuggestionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GenerateInvoiceMatchSuggestionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of invoice match suggestions
|
|
26
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
27
|
+
* @memberof GenerateInvoiceMatchSuggestionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { BankOrderClass } from './bank-order-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBankOrderResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBankOrderResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank order
|
|
26
|
+
* @type {BankOrderClass}
|
|
27
|
+
* @memberof GetBankOrderResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankOrder': BankOrderClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
2
|
export * from './bank-account-class-without-expand-properties';
|
|
3
|
+
export * from './bank-order-class';
|
|
3
4
|
export * from './bank-transaction-class';
|
|
4
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
|
+
export * from './bank-transaction-invoice-class';
|
|
7
|
+
export * from './bank-transfer-dto';
|
|
8
|
+
export * from './billing-address-dto';
|
|
5
9
|
export * from './billing-profile-dto';
|
|
6
10
|
export * from './billing-profile-limited-response-dto';
|
|
7
11
|
export * from './card-details-dto';
|
|
8
12
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
9
13
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
14
|
+
export * from './complete-eis-payment-setup-request-dto';
|
|
10
15
|
export * from './complete-payment-setup-request-dto';
|
|
11
16
|
export * from './complete-payment-setup-response-class';
|
|
12
17
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
13
18
|
export * from './create-bank-account-request-dto';
|
|
14
19
|
export * from './create-bank-account-response-class';
|
|
20
|
+
export * from './create-bank-order-request-dto';
|
|
21
|
+
export * from './create-bank-order-response-class';
|
|
15
22
|
export * from './create-payment-method-response-class';
|
|
23
|
+
export * from './create-payment-order-dto';
|
|
24
|
+
export * from './create-payment-order-request-dto';
|
|
16
25
|
export * from './create-payment-reminder-request-dto';
|
|
17
26
|
export * from './create-payment-reminder-response-class';
|
|
18
27
|
export * from './create-payment-request-dto';
|
|
@@ -25,7 +34,10 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
25
34
|
export * from './deactivate-payment-reminder-request-dto';
|
|
26
35
|
export * from './deactivate-payment-reminder-response-class';
|
|
27
36
|
export * from './deactivated-payment-reminder-class';
|
|
37
|
+
export * from './financial-account-class';
|
|
38
|
+
export * from './generate-invoice-match-suggestions-response-class';
|
|
28
39
|
export * from './get-bank-account-response-class';
|
|
40
|
+
export * from './get-bank-order-response-class';
|
|
29
41
|
export * from './get-bank-transactions-response-class';
|
|
30
42
|
export * from './get-payment-method-response-class';
|
|
31
43
|
export * from './get-payment-reminder-response-class';
|
|
@@ -37,15 +49,19 @@ export * from './initiate-adyen-payment-setup-request-dto';
|
|
|
37
49
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
38
50
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
39
51
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
52
|
+
export * from './initiate-eis-payment-setup-request-dto';
|
|
40
53
|
export * from './initiate-payment-setup-request-dto';
|
|
41
54
|
export * from './initiate-payment-setup-response-class';
|
|
42
55
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
43
56
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
44
57
|
export * from './inline-response200';
|
|
45
58
|
export * from './inline-response503';
|
|
59
|
+
export * from './invoice-allocation-dto';
|
|
60
|
+
export * from './invoice-match-suggestion-class';
|
|
46
61
|
export * from './link-bank-transaction-request-dto-rest';
|
|
47
62
|
export * from './link-bank-transactions-response-class';
|
|
48
63
|
export * from './list-bank-accounts-response-class';
|
|
64
|
+
export * from './list-bank-orders-response-class';
|
|
49
65
|
export * from './list-bank-transactions-response-class';
|
|
50
66
|
export * from './list-payment-methods-response-class';
|
|
51
67
|
export * from './list-payment-reminders-response-class';
|
|
@@ -62,15 +78,17 @@ export * from './refund-item-class';
|
|
|
62
78
|
export * from './sepa-direct-dto';
|
|
63
79
|
export * from './set-primary-bank-account-request-dto-rest';
|
|
64
80
|
export * from './shared-transaction-class';
|
|
81
|
+
export * from './suggestion-generation-progress-class';
|
|
65
82
|
export * from './symphony-profile-limited-response-dto';
|
|
66
83
|
export * from './tenant-bank-account-class';
|
|
67
84
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
68
|
-
export * from './unlink-bank-transaction-request-dto-rest';
|
|
69
85
|
export * from './unlink-bank-transactions-response-class';
|
|
70
86
|
export * from './unlinked-bank-transaction-response-class';
|
|
71
87
|
export * from './update-bank-account-request-dto';
|
|
72
88
|
export * from './update-bank-account-request-dto-rest';
|
|
73
89
|
export * from './update-bank-account-response-class';
|
|
90
|
+
export * from './update-bank-order-request-dto';
|
|
91
|
+
export * from './update-bank-order-response-class';
|
|
74
92
|
export * from './update-tenant-bank-account-response-class';
|
|
75
93
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
76
94
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -32,5 +32,11 @@ export interface InitiateAdyenPaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|