@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.51
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 +11 -0
- 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 +72 -44
- 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/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 +55 -37
- package/dist/api/bank-transaction-api.js +47 -35
- 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/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-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +18 -0
- package/dist/models/bank-transaction-class.js +5 -0
- 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-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.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 +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/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -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 +10 -0
- package/dist/models/index.js +10 -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/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/unlinked-bank-transaction-response-class.d.ts +18 -14
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +56 -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 +21 -14
- package/models/bank-transaction-class.ts +21 -0
- 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-bank-order-response-class.ts +31 -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/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +10 -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/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/unlinked-bank-transaction-response-class.ts +21 -14
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -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 });
|
|
@@ -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}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 FinancialAccountClass
|
|
16
|
+
*/
|
|
17
|
+
export interface FinancialAccountClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof FinancialAccountClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FinancialAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the account.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FinancialAccountClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* The financial account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FinancialAccountClass
|
|
40
|
+
*/
|
|
41
|
+
'financialAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the parent account, if any.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof FinancialAccountClass
|
|
46
|
+
*/
|
|
47
|
+
'parentId': number;
|
|
48
|
+
/**
|
|
49
|
+
* The partner number of the account.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FinancialAccountClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof FinancialAccountClass
|
|
58
|
+
*/
|
|
59
|
+
'type': FinancialAccountClassTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Metadata about the object.
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof FinancialAccountClass
|
|
64
|
+
*/
|
|
65
|
+
'customFields': object;
|
|
66
|
+
/**
|
|
67
|
+
* The description of the account.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof FinancialAccountClass
|
|
70
|
+
*/
|
|
71
|
+
'description': string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the account is clearable.
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof FinancialAccountClass
|
|
76
|
+
*/
|
|
77
|
+
'clearable': boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was created.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof FinancialAccountClass
|
|
82
|
+
*/
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was updated.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof FinancialAccountClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who created the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof FinancialAccountClass
|
|
94
|
+
*/
|
|
95
|
+
'createdBy': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who last updated the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof FinancialAccountClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedBy': string;
|
|
102
|
+
}
|
|
103
|
+
export declare const FinancialAccountClassTypeEnum: {
|
|
104
|
+
readonly Asset: "asset";
|
|
105
|
+
readonly Liability: "liability";
|
|
106
|
+
readonly Equity: "equity";
|
|
107
|
+
readonly Revenue: "revenue";
|
|
108
|
+
readonly Expense: "expense";
|
|
109
|
+
readonly OpeningBalance: "opening_balance";
|
|
110
|
+
};
|
|
111
|
+
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
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.FinancialAccountClassTypeEnum = void 0;
|
|
17
|
+
exports.FinancialAccountClassTypeEnum = {
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense',
|
|
23
|
+
OpeningBalance: 'opening_balance'
|
|
24
|
+
};
|
|
@@ -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 GetBankOrderResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBankOrderResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Bank order
|
|
21
|
+
* @type {BankOrderClass}
|
|
22
|
+
* @memberof GetBankOrderResponseClass
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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';
|
|
5
6
|
export * from './billing-profile-dto';
|
|
@@ -7,11 +8,14 @@ export * from './billing-profile-limited-response-dto';
|
|
|
7
8
|
export * from './card-details-dto';
|
|
8
9
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
9
10
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
11
|
+
export * from './complete-eis-payment-setup-request-dto';
|
|
10
12
|
export * from './complete-payment-setup-request-dto';
|
|
11
13
|
export * from './complete-payment-setup-response-class';
|
|
12
14
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
13
15
|
export * from './create-bank-account-request-dto';
|
|
14
16
|
export * from './create-bank-account-response-class';
|
|
17
|
+
export * from './create-bank-order-request-dto';
|
|
18
|
+
export * from './create-bank-order-response-class';
|
|
15
19
|
export * from './create-payment-method-response-class';
|
|
16
20
|
export * from './create-payment-reminder-request-dto';
|
|
17
21
|
export * from './create-payment-reminder-response-class';
|
|
@@ -25,8 +29,10 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
25
29
|
export * from './deactivate-payment-reminder-request-dto';
|
|
26
30
|
export * from './deactivate-payment-reminder-response-class';
|
|
27
31
|
export * from './deactivated-payment-reminder-class';
|
|
32
|
+
export * from './financial-account-class';
|
|
28
33
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
29
34
|
export * from './get-bank-account-response-class';
|
|
35
|
+
export * from './get-bank-order-response-class';
|
|
30
36
|
export * from './get-bank-transactions-response-class';
|
|
31
37
|
export * from './get-payment-method-response-class';
|
|
32
38
|
export * from './get-payment-reminder-response-class';
|
|
@@ -38,6 +44,7 @@ export * from './initiate-adyen-payment-setup-request-dto';
|
|
|
38
44
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
39
45
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
40
46
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
47
|
+
export * from './initiate-eis-payment-setup-request-dto';
|
|
41
48
|
export * from './initiate-payment-setup-request-dto';
|
|
42
49
|
export * from './initiate-payment-setup-response-class';
|
|
43
50
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
@@ -48,6 +55,7 @@ export * from './invoice-match-suggestion-class';
|
|
|
48
55
|
export * from './link-bank-transaction-request-dto-rest';
|
|
49
56
|
export * from './link-bank-transactions-response-class';
|
|
50
57
|
export * from './list-bank-accounts-response-class';
|
|
58
|
+
export * from './list-bank-orders-response-class';
|
|
51
59
|
export * from './list-bank-transactions-response-class';
|
|
52
60
|
export * from './list-payment-methods-response-class';
|
|
53
61
|
export * from './list-payment-reminders-response-class';
|
|
@@ -74,6 +82,8 @@ export * from './unlinked-bank-transaction-response-class';
|
|
|
74
82
|
export * from './update-bank-account-request-dto';
|
|
75
83
|
export * from './update-bank-account-request-dto-rest';
|
|
76
84
|
export * from './update-bank-account-response-class';
|
|
85
|
+
export * from './update-bank-order-request-dto';
|
|
86
|
+
export * from './update-bank-order-response-class';
|
|
77
87
|
export * from './update-tenant-bank-account-response-class';
|
|
78
88
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
79
89
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./bank-account-class"), exports);
|
|
18
18
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
19
|
+
__exportStar(require("./bank-order-class"), exports);
|
|
19
20
|
__exportStar(require("./bank-transaction-class"), exports);
|
|
20
21
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
21
22
|
__exportStar(require("./billing-profile-dto"), exports);
|
|
@@ -23,11 +24,14 @@ __exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
|
23
24
|
__exportStar(require("./card-details-dto"), exports);
|
|
24
25
|
__exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
|
|
25
26
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./complete-eis-payment-setup-request-dto"), exports);
|
|
26
28
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
27
29
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
28
30
|
__exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
|
|
29
31
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
30
32
|
__exportStar(require("./create-bank-account-response-class"), exports);
|
|
33
|
+
__exportStar(require("./create-bank-order-request-dto"), exports);
|
|
34
|
+
__exportStar(require("./create-bank-order-response-class"), exports);
|
|
31
35
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
32
36
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
33
37
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
@@ -41,8 +45,10 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
|
41
45
|
__exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
|
|
42
46
|
__exportStar(require("./deactivate-payment-reminder-response-class"), exports);
|
|
43
47
|
__exportStar(require("./deactivated-payment-reminder-class"), exports);
|
|
48
|
+
__exportStar(require("./financial-account-class"), exports);
|
|
44
49
|
__exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
|
|
45
50
|
__exportStar(require("./get-bank-account-response-class"), exports);
|
|
51
|
+
__exportStar(require("./get-bank-order-response-class"), exports);
|
|
46
52
|
__exportStar(require("./get-bank-transactions-response-class"), exports);
|
|
47
53
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
48
54
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
@@ -54,6 +60,7 @@ __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
|
54
60
|
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
55
61
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
56
62
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
63
|
+
__exportStar(require("./initiate-eis-payment-setup-request-dto"), exports);
|
|
57
64
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
58
65
|
__exportStar(require("./initiate-payment-setup-response-class"), exports);
|
|
59
66
|
__exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
|
|
@@ -64,6 +71,7 @@ __exportStar(require("./invoice-match-suggestion-class"), exports);
|
|
|
64
71
|
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
65
72
|
__exportStar(require("./link-bank-transactions-response-class"), exports);
|
|
66
73
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
74
|
+
__exportStar(require("./list-bank-orders-response-class"), exports);
|
|
67
75
|
__exportStar(require("./list-bank-transactions-response-class"), exports);
|
|
68
76
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
69
77
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
@@ -90,6 +98,8 @@ __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
|
|
|
90
98
|
__exportStar(require("./update-bank-account-request-dto"), exports);
|
|
91
99
|
__exportStar(require("./update-bank-account-request-dto-rest"), exports);
|
|
92
100
|
__exportStar(require("./update-bank-account-response-class"), exports);
|
|
101
|
+
__exportStar(require("./update-bank-order-request-dto"), exports);
|
|
102
|
+
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
93
103
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
94
104
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
95
105
|
__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
|
}
|