@emilgroup/payment-sdk 1.13.1-beta.15 → 1.13.1-beta.17
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 +1 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +71 -29
- package/api/bank-transaction-api.ts +45 -17
- package/api/payment-methods-api.ts +55 -13
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +55 -13
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- 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 +51 -24
- package/dist/api/bank-orders-api.js +41 -23
- package/dist/api/bank-transaction-api.d.ts +28 -10
- package/dist/api/bank-transaction-api.js +24 -12
- package/dist/api/payment-methods-api.d.ts +35 -8
- package/dist/api/payment-methods-api.js +29 -11
- 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 +35 -8
- package/dist/api/payments-api.js +29 -11
- 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/models/bank-order-class.d.ts +7 -7
- package/dist/models/create-bank-order-request-dto.d.ts +3 -3
- 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 +7 -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/index.d.ts +1 -0
- package/dist/models/index.js +1 -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-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/models/bank-order-class.ts +7 -7
- package/models/create-bank-order-request-dto.ts +3 -3
- 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 +7 -1
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/index.ts +1 -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-stripe-payment-setup-request-dto.ts +6 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { FinancialAccountClass } from './financial-account-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -59,11 +59,11 @@ export interface BankOrderClass {
|
|
|
59
59
|
*/
|
|
60
60
|
'description'?: string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {
|
|
62
|
+
* Financial account code associated with the bank order.
|
|
63
|
+
* @type {string}
|
|
64
64
|
* @memberof BankOrderClass
|
|
65
65
|
*/
|
|
66
|
-
'
|
|
66
|
+
'financialAccountCode': string;
|
|
67
67
|
/**
|
|
68
68
|
* List of invoice IDs associated with bank order.
|
|
69
69
|
* @type {Array<number>}
|
|
@@ -107,9 +107,9 @@ export interface BankOrderClass {
|
|
|
107
107
|
*/
|
|
108
108
|
'updatedBy': string;
|
|
109
109
|
/**
|
|
110
|
-
* The
|
|
111
|
-
* @type {
|
|
110
|
+
* The financial account object that this bank order is belongs to
|
|
111
|
+
* @type {FinancialAccountClass}
|
|
112
112
|
* @memberof BankOrderClass
|
|
113
113
|
*/
|
|
114
|
-
'
|
|
114
|
+
'financialAccount'?: FinancialAccountClass;
|
|
115
115
|
}
|
|
@@ -40,11 +40,11 @@ export interface CreateBankOrderRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'description'?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* Financial account code associated with the bank order.
|
|
44
|
+
* @type {string}
|
|
45
45
|
* @memberof CreateBankOrderRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'financialAccountCode': string;
|
|
48
48
|
/**
|
|
49
49
|
* List of invoice IDs associated with bank order.
|
|
50
50
|
* @type {Array<number>}
|
|
@@ -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}
|
|
@@ -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
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
28
28
|
export * from './deactivate-payment-reminder-request-dto';
|
|
29
29
|
export * from './deactivate-payment-reminder-response-class';
|
|
30
30
|
export * from './deactivated-payment-reminder-class';
|
|
31
|
+
export * from './financial-account-class';
|
|
31
32
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
32
33
|
export * from './get-bank-account-response-class';
|
|
33
34
|
export * from './get-bank-order-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
|
44
44
|
__exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
|
|
45
45
|
__exportStar(require("./deactivate-payment-reminder-response-class"), exports);
|
|
46
46
|
__exportStar(require("./deactivated-payment-reminder-class"), exports);
|
|
47
|
+
__exportStar(require("./financial-account-class"), exports);
|
|
47
48
|
__exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
|
|
48
49
|
__exportStar(require("./get-bank-account-response-class"), exports);
|
|
49
50
|
__exportStar(require("./get-bank-order-response-class"), 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
|
}
|
|
@@ -27,4 +27,10 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentClassWithoutExpandProperties
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Partner code associated to that payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
44
50
|
* @type {number}
|
|
@@ -39,7 +39,13 @@ export interface PaymentClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PaymentClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated to that payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PaymentClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -39,7 +39,13 @@ export interface RefundClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof RefundClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated with the payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RefundClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { FinancialAccountClass } from './financial-account-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -64,11 +64,11 @@ export interface BankOrderClass {
|
|
|
64
64
|
*/
|
|
65
65
|
'description'?: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {
|
|
67
|
+
* Financial account code associated with the bank order.
|
|
68
|
+
* @type {string}
|
|
69
69
|
* @memberof BankOrderClass
|
|
70
70
|
*/
|
|
71
|
-
'
|
|
71
|
+
'financialAccountCode': string;
|
|
72
72
|
/**
|
|
73
73
|
* List of invoice IDs associated with bank order.
|
|
74
74
|
* @type {Array<number>}
|
|
@@ -112,10 +112,10 @@ export interface BankOrderClass {
|
|
|
112
112
|
*/
|
|
113
113
|
'updatedBy': string;
|
|
114
114
|
/**
|
|
115
|
-
* The
|
|
116
|
-
* @type {
|
|
115
|
+
* The financial account object that this bank order is belongs to
|
|
116
|
+
* @type {FinancialAccountClass}
|
|
117
117
|
* @memberof BankOrderClass
|
|
118
118
|
*/
|
|
119
|
-
'
|
|
119
|
+
'financialAccount'?: FinancialAccountClass;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -45,11 +45,11 @@ export interface CreateBankOrderRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'description'?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
48
|
+
* Financial account code associated with the bank order.
|
|
49
|
+
* @type {string}
|
|
50
50
|
* @memberof CreateBankOrderRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'financialAccountCode': string;
|
|
53
53
|
/**
|
|
54
54
|
* List of invoice IDs associated with bank order.
|
|
55
55
|
* @type {Array<number>}
|
|
@@ -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}
|
|
@@ -33,7 +33,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'accountCode'
|
|
36
|
+
'accountCode'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'partnerCode'?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {SepaDirectDto}
|
|
@@ -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
|
+
|
package/models/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
28
28
|
export * from './deactivate-payment-reminder-request-dto';
|
|
29
29
|
export * from './deactivate-payment-reminder-response-class';
|
|
30
30
|
export * from './deactivated-payment-reminder-class';
|
|
31
|
+
export * from './financial-account-class';
|
|
31
32
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
32
33
|
export * from './get-bank-account-response-class';
|
|
33
34
|
export * from './get-bank-order-response-class';
|
|
@@ -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
|
|
|
@@ -32,5 +32,11 @@ export interface InitiateBraintreePaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|