@emilgroup/payment-sdk 1.13.1-beta.9 → 1.13.1-beta.91
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 +25 -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 +63 -52
- package/api/exceeding-credits-api.ts +349 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +188 -21
- package/api/policy-payment-methods-api.ts +165 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +6 -0
- package/base.ts +51 -2
- 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 +43 -35
- package/dist/api/bank-transaction-api.js +39 -34
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +352 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +112 -16
- package/dist/api/payments-api.js +141 -18
- package/dist/api/policy-payment-methods-api.d.ts +97 -0
- package/dist/api/policy-payment-methods-api.js +224 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +22 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +54 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +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/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +22 -1
- package/dist/models/index.js +22 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +73 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +62 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +25 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +60 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +23 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +22 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/list-exceeding-credits-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/policy-payment-method-class.ts +79 -0
- package/models/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +71 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
|
@@ -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 { PolicyPaymentMethodClass } from './policy-payment-method-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePolicyPaymentMethodResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePolicyPaymentMethodResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The policy payment method.
|
|
21
|
+
* @type {PolicyPaymentMethodClass}
|
|
22
|
+
* @memberof CreatePolicyPaymentMethodResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policyPaymentMethod': PolicyPaymentMethodClass;
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankTransferDto } from './bank-transfer-dto';
|
|
12
13
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
13
14
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
14
15
|
/**
|
|
@@ -28,7 +29,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
28
29
|
* @type {string}
|
|
29
30
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
30
31
|
*/
|
|
31
|
-
'accountCode'
|
|
32
|
+
'accountCode'?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
37
|
+
*/
|
|
38
|
+
'partnerCode'?: string;
|
|
32
39
|
/**
|
|
33
40
|
*
|
|
34
41
|
* @type {SepaDirectDto}
|
|
@@ -41,12 +48,24 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
41
48
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
42
49
|
*/
|
|
43
50
|
'billingProfile'?: BillingProfileDto;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {BankTransferDto}
|
|
54
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'bankTransfer'?: BankTransferDto;
|
|
44
57
|
/**
|
|
45
58
|
*
|
|
46
59
|
* @type {string}
|
|
47
60
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
48
61
|
*/
|
|
49
62
|
'productSlug'?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
67
|
+
*/
|
|
68
|
+
'leadCode'?: string;
|
|
50
69
|
}
|
|
51
70
|
export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
52
71
|
readonly Paypal: "paypal";
|
|
@@ -63,5 +82,7 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
|
63
82
|
readonly Venmo: "venmo";
|
|
64
83
|
readonly Masterpass: "masterpass";
|
|
65
84
|
readonly B4u: "b4u";
|
|
85
|
+
readonly Invoice: "invoice";
|
|
86
|
+
readonly BankTransfer: "bank_transfer";
|
|
66
87
|
};
|
|
67
88
|
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,116 @@
|
|
|
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 ExceedingCreditClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ExceedingCreditClass {
|
|
18
|
+
/**
|
|
19
|
+
* The amount of the credit
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExceedingCreditClass
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* The currency of the credit
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExceedingCreditClass
|
|
28
|
+
*/
|
|
29
|
+
'currency'?: ExceedingCreditClassCurrencyEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The bank transaction code of the credit
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ExceedingCreditClass
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the credit
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ExceedingCreditClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* The invoice code of the credit
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ExceedingCreditClass
|
|
46
|
+
*/
|
|
47
|
+
'invoiceCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* The invoice number of the credit
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ExceedingCreditClass
|
|
52
|
+
*/
|
|
53
|
+
'invoiceNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The policy number of the credit
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ExceedingCreditClass
|
|
58
|
+
*/
|
|
59
|
+
'policyNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ExceedingCreditClass
|
|
64
|
+
*/
|
|
65
|
+
'id': number;
|
|
66
|
+
/**
|
|
67
|
+
* The code of the credit
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ExceedingCreditClass
|
|
70
|
+
*/
|
|
71
|
+
'code': string;
|
|
72
|
+
/**
|
|
73
|
+
* The policy code of the credit
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ExceedingCreditClass
|
|
76
|
+
*/
|
|
77
|
+
'policyCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was created.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ExceedingCreditClass
|
|
82
|
+
*/
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was updated.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ExceedingCreditClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who created the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ExceedingCreditClass
|
|
94
|
+
*/
|
|
95
|
+
'createdBy': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who last updated the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ExceedingCreditClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedBy': string;
|
|
102
|
+
}
|
|
103
|
+
export declare const ExceedingCreditClassCurrencyEnum: {
|
|
104
|
+
readonly Eur: "EUR";
|
|
105
|
+
readonly Usd: "USD";
|
|
106
|
+
readonly Gbp: "GBP";
|
|
107
|
+
readonly Chf: "CHF";
|
|
108
|
+
readonly Pln: "PLN";
|
|
109
|
+
readonly Aud: "AUD";
|
|
110
|
+
readonly Cad: "CAD";
|
|
111
|
+
readonly Ddk: "DDK";
|
|
112
|
+
readonly Huf: "HUF";
|
|
113
|
+
readonly Nok: "NOK";
|
|
114
|
+
readonly Sek: "SEK";
|
|
115
|
+
};
|
|
116
|
+
export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
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.ExceedingCreditClassCurrencyEnum = void 0;
|
|
17
|
+
exports.ExceedingCreditClassCurrencyEnum = {
|
|
18
|
+
Eur: 'EUR',
|
|
19
|
+
Usd: 'USD',
|
|
20
|
+
Gbp: 'GBP',
|
|
21
|
+
Chf: 'CHF',
|
|
22
|
+
Pln: 'PLN',
|
|
23
|
+
Aud: 'AUD',
|
|
24
|
+
Cad: 'CAD',
|
|
25
|
+
Ddk: 'DDK',
|
|
26
|
+
Huf: 'HUF',
|
|
27
|
+
Nok: 'NOK',
|
|
28
|
+
Sek: 'SEK'
|
|
29
|
+
};
|
|
@@ -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 });
|
|
@@ -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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetExceedingCreditResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetExceedingCreditResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Exceeding credit
|
|
21
|
+
* @type {ExceedingCreditClass}
|
|
22
|
+
* @memberof GetExceedingCreditResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'exceedingCredit': ExceedingCreditClass;
|
|
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,22 +1,33 @@
|
|
|
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';
|
|
19
28
|
export * from './create-payment-response-class';
|
|
29
|
+
export * from './create-policy-payment-method-request-dto';
|
|
30
|
+
export * from './create-policy-payment-method-response-class';
|
|
20
31
|
export * from './create-psp-payment-method-request-dto';
|
|
21
32
|
export * from './create-refund-request-dto';
|
|
22
33
|
export * from './create-refund-response-class';
|
|
@@ -25,9 +36,13 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
25
36
|
export * from './deactivate-payment-reminder-request-dto';
|
|
26
37
|
export * from './deactivate-payment-reminder-response-class';
|
|
27
38
|
export * from './deactivated-payment-reminder-class';
|
|
39
|
+
export * from './exceeding-credit-class';
|
|
40
|
+
export * from './financial-account-class';
|
|
28
41
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
29
42
|
export * from './get-bank-account-response-class';
|
|
43
|
+
export * from './get-bank-order-response-class';
|
|
30
44
|
export * from './get-bank-transactions-response-class';
|
|
45
|
+
export * from './get-exceeding-credit-response-class';
|
|
31
46
|
export * from './get-payment-method-response-class';
|
|
32
47
|
export * from './get-payment-reminder-response-class';
|
|
33
48
|
export * from './get-payment-response-class';
|
|
@@ -38,17 +53,21 @@ export * from './initiate-adyen-payment-setup-request-dto';
|
|
|
38
53
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
39
54
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
40
55
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
56
|
+
export * from './initiate-eis-payment-setup-request-dto';
|
|
41
57
|
export * from './initiate-payment-setup-request-dto';
|
|
42
58
|
export * from './initiate-payment-setup-response-class';
|
|
43
59
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
44
60
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
45
61
|
export * from './inline-response200';
|
|
46
62
|
export * from './inline-response503';
|
|
63
|
+
export * from './invoice-allocation-dto';
|
|
47
64
|
export * from './invoice-match-suggestion-class';
|
|
48
65
|
export * from './link-bank-transaction-request-dto-rest';
|
|
49
66
|
export * from './link-bank-transactions-response-class';
|
|
50
67
|
export * from './list-bank-accounts-response-class';
|
|
68
|
+
export * from './list-bank-orders-response-class';
|
|
51
69
|
export * from './list-bank-transactions-response-class';
|
|
70
|
+
export * from './list-exceeding-credits-response-class';
|
|
52
71
|
export * from './list-payment-methods-response-class';
|
|
53
72
|
export * from './list-payment-reminders-response-class';
|
|
54
73
|
export * from './list-payments-response-class';
|
|
@@ -58,6 +77,7 @@ export * from './payment-class';
|
|
|
58
77
|
export * from './payment-class-without-expand-properties';
|
|
59
78
|
export * from './payment-method-class';
|
|
60
79
|
export * from './payment-reminder-class';
|
|
80
|
+
export * from './policy-payment-method-class';
|
|
61
81
|
export * from './primary-bank-account-response-class';
|
|
62
82
|
export * from './refund-class';
|
|
63
83
|
export * from './refund-item-class';
|
|
@@ -68,12 +88,13 @@ export * from './suggestion-generation-progress-class';
|
|
|
68
88
|
export * from './symphony-profile-limited-response-dto';
|
|
69
89
|
export * from './tenant-bank-account-class';
|
|
70
90
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
71
|
-
export * from './unlink-bank-transaction-request-dto-rest';
|
|
72
91
|
export * from './unlink-bank-transactions-response-class';
|
|
73
92
|
export * from './unlinked-bank-transaction-response-class';
|
|
74
93
|
export * from './update-bank-account-request-dto';
|
|
75
94
|
export * from './update-bank-account-request-dto-rest';
|
|
76
95
|
export * from './update-bank-account-response-class';
|
|
96
|
+
export * from './update-bank-order-request-dto';
|
|
97
|
+
export * from './update-bank-order-response-class';
|
|
77
98
|
export * from './update-tenant-bank-account-response-class';
|
|
78
99
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
79
100
|
export * from './validate-pspconfig-request-dto';
|