@emilgroup/accounting-sdk-node 1.0.1-beta.2 → 1.0.1-beta.3
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 +9 -7
- package/README.md +18 -2
- package/api/booking-processes-api.ts +169 -0
- package/api/financial-accounts-api.ts +4 -4
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api.ts +4 -4
- package/base.ts +15 -7
- package/dist/api/booking-processes-api.d.ts +97 -0
- package/dist/api/booking-processes-api.js +228 -0
- package/dist/api/financial-accounts-api.d.ts +4 -4
- package/dist/api/financial-accounts-api.js +4 -4
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +3 -1
- package/dist/base.js +27 -20
- package/dist/models/booking-entry-class.d.ts +123 -0
- package/dist/models/{entry-data-dto.js → booking-entry-class.js} +19 -0
- package/dist/models/booking-process-class.d.ts +94 -0
- package/dist/models/booking-process-class.js +29 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +93 -0
- package/dist/models/create-booking-entry-request-dto.js +34 -0
- package/dist/models/create-booking-process-request-dto.d.ts +58 -0
- package/dist/models/create-booking-process-request-dto.js +29 -0
- package/dist/models/{create-transaction-response-class.d.ts → create-booking-process-response-class.d.ts} +7 -7
- package/dist/models/create-financial-account-request-dto.d.ts +5 -5
- package/dist/models/create-financial-account-request-dto.js +5 -5
- package/dist/models/financial-account-class.d.ts +18 -6
- package/dist/models/financial-account-class.js +5 -5
- package/dist/models/financial-transaction-class.d.ts +108 -0
- package/dist/models/financial-transaction-data-dto.d.ts +65 -0
- package/dist/models/{list-transactions-response-class.js → financial-transaction-data-dto.js} +5 -0
- package/dist/models/index.d.ts +7 -5
- package/dist/models/index.js +7 -5
- package/models/booking-entry-class.ts +133 -0
- package/models/booking-process-class.ts +104 -0
- package/models/create-booking-entry-request-dto.ts +103 -0
- package/models/create-booking-process-request-dto.ts +68 -0
- package/models/{create-transaction-response-class.ts → create-booking-process-response-class.ts} +7 -7
- package/models/create-financial-account-request-dto.ts +5 -5
- package/models/financial-account-class.ts +18 -6
- package/models/financial-transaction-class.ts +114 -0
- package/models/financial-transaction-data-dto.ts +74 -0
- package/models/index.ts +7 -5
- package/package.json +1 -1
- package/api/transactions-api.ts +0 -357
- package/dist/api/transactions-api.d.ts +0 -207
- package/dist/api/transactions-api.js +0 -357
- package/dist/models/create-transaction-request-dto.d.ts +0 -55
- package/dist/models/entry-data-dto.d.ts +0 -36
- package/dist/models/list-transactions-response-class.d.ts +0 -31
- package/dist/models/transaction-class.d.ts +0 -78
- package/dist/models/transaction-class.js +0 -15
- package/models/create-transaction-request-dto.ts +0 -61
- package/models/entry-data-dto.ts +0 -42
- package/models/list-transactions-response-class.ts +0 -37
- package/models/transaction-class.ts +0 -84
- /package/dist/models/{create-transaction-request-dto.js → create-booking-process-response-class.js} +0 -0
- /package/dist/models/{create-transaction-response-class.js → financial-transaction-class.js} +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { FinancialTransactionClass } from './financial-transaction-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BookingEntryClass
|
|
17
|
+
*/
|
|
18
|
+
export interface BookingEntryClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BookingEntryClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BookingEntryClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the financial transaction linked to this booking entry.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof BookingEntryClass
|
|
35
|
+
*/
|
|
36
|
+
'financialTransactionId': number;
|
|
37
|
+
/**
|
|
38
|
+
* The monetary amount associated with this booking entry.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BookingEntryClass
|
|
41
|
+
*/
|
|
42
|
+
'amount': number;
|
|
43
|
+
/**
|
|
44
|
+
* The currency in which the booking entry amount is denominated.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BookingEntryClass
|
|
47
|
+
*/
|
|
48
|
+
'currency': BookingEntryClassCurrencyEnum;
|
|
49
|
+
/**
|
|
50
|
+
* The policy number associated with this financial transaction.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BookingEntryClass
|
|
53
|
+
*/
|
|
54
|
+
'policyNumber': string;
|
|
55
|
+
/**
|
|
56
|
+
* A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
|
|
57
|
+
* @type {object}
|
|
58
|
+
* @memberof BookingEntryClass
|
|
59
|
+
*/
|
|
60
|
+
'customFields': object;
|
|
61
|
+
/**
|
|
62
|
+
* The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BookingEntryClass
|
|
65
|
+
*/
|
|
66
|
+
'entityNumber': string;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the entity associated with this booking entry, such as \"Claim\", \"Invoice\", or \"Payment\".
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof BookingEntryClass
|
|
71
|
+
*/
|
|
72
|
+
'entityName': BookingEntryClassEntityNameEnum;
|
|
73
|
+
/**
|
|
74
|
+
* Time at which the object was created.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof BookingEntryClass
|
|
77
|
+
*/
|
|
78
|
+
'createdAt': string;
|
|
79
|
+
/**
|
|
80
|
+
* Time at which the object was updated.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof BookingEntryClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedAt': string;
|
|
85
|
+
/**
|
|
86
|
+
* Identifier of the user who created the record.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof BookingEntryClass
|
|
89
|
+
*/
|
|
90
|
+
'createdBy': string;
|
|
91
|
+
/**
|
|
92
|
+
* Identifier of the user who last updated the record.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof BookingEntryClass
|
|
95
|
+
*/
|
|
96
|
+
'updatedBy': string;
|
|
97
|
+
/**
|
|
98
|
+
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
99
|
+
* @type {Array<FinancialTransactionClass>}
|
|
100
|
+
* @memberof BookingEntryClass
|
|
101
|
+
*/
|
|
102
|
+
'financialTransactions': Array<FinancialTransactionClass>;
|
|
103
|
+
}
|
|
104
|
+
export declare const BookingEntryClassCurrencyEnum: {
|
|
105
|
+
readonly Eur: "EUR";
|
|
106
|
+
readonly Usd: "USD";
|
|
107
|
+
readonly Gbp: "GBP";
|
|
108
|
+
readonly Chf: "CHF";
|
|
109
|
+
readonly Pln: "PLN";
|
|
110
|
+
readonly Aud: "AUD";
|
|
111
|
+
readonly Cad: "CAD";
|
|
112
|
+
readonly Ddk: "DDK";
|
|
113
|
+
readonly Huf: "HUF";
|
|
114
|
+
readonly Nok: "NOK";
|
|
115
|
+
readonly Sek: "SEK";
|
|
116
|
+
};
|
|
117
|
+
export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
|
|
118
|
+
export declare const BookingEntryClassEntityNameEnum: {
|
|
119
|
+
readonly Claim: "claim";
|
|
120
|
+
readonly Invoice: "invoice";
|
|
121
|
+
readonly Payment: "payment";
|
|
122
|
+
};
|
|
123
|
+
export type BookingEntryClassEntityNameEnum = typeof BookingEntryClassEntityNameEnum[keyof typeof BookingEntryClassEntityNameEnum];
|
|
@@ -13,3 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BookingEntryClassEntityNameEnum = exports.BookingEntryClassCurrencyEnum = void 0;
|
|
17
|
+
exports.BookingEntryClassCurrencyEnum = {
|
|
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
|
+
};
|
|
30
|
+
exports.BookingEntryClassEntityNameEnum = {
|
|
31
|
+
Claim: 'claim',
|
|
32
|
+
Invoice: 'invoice',
|
|
33
|
+
Payment: 'payment'
|
|
34
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { BookingEntryClass } from './booking-entry-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BookingProcessClass
|
|
17
|
+
*/
|
|
18
|
+
export interface BookingProcessClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BookingProcessClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BookingProcessClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
|
|
33
|
+
* @type {object}
|
|
34
|
+
* @memberof BookingProcessClass
|
|
35
|
+
*/
|
|
36
|
+
'customFields': object;
|
|
37
|
+
/**
|
|
38
|
+
* Represents the current stage of the booking process. It tracks whether the process is still open, invoiced, or paid.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BookingProcessClass
|
|
41
|
+
*/
|
|
42
|
+
'status': BookingProcessClassStatusEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Defines the type of booking process, indicating the nature of the financial transaction or action such as an initial invoice, claims payment, or termination invoice.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BookingProcessClass
|
|
47
|
+
*/
|
|
48
|
+
'bookingProcessType': BookingProcessClassBookingProcessTypeEnum;
|
|
49
|
+
/**
|
|
50
|
+
* A list of booking entries associated with this booking process. Each entry represents a booking entry linked to the current booking process.
|
|
51
|
+
* @type {Array<BookingEntryClass>}
|
|
52
|
+
* @memberof BookingProcessClass
|
|
53
|
+
*/
|
|
54
|
+
'bookingEntries': Array<BookingEntryClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was created.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BookingProcessClass
|
|
59
|
+
*/
|
|
60
|
+
'createdAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Time at which the object was updated.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BookingProcessClass
|
|
65
|
+
*/
|
|
66
|
+
'updatedAt': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who created the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof BookingProcessClass
|
|
71
|
+
*/
|
|
72
|
+
'createdBy': string;
|
|
73
|
+
/**
|
|
74
|
+
* Identifier of the user who last updated the record.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof BookingProcessClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedBy': string;
|
|
79
|
+
}
|
|
80
|
+
export declare const BookingProcessClassStatusEnum: {
|
|
81
|
+
readonly Invoiced: "invoiced";
|
|
82
|
+
readonly Paid: "paid";
|
|
83
|
+
readonly Open: "open";
|
|
84
|
+
};
|
|
85
|
+
export type BookingProcessClassStatusEnum = typeof BookingProcessClassStatusEnum[keyof typeof BookingProcessClassStatusEnum];
|
|
86
|
+
export declare const BookingProcessClassBookingProcessTypeEnum: {
|
|
87
|
+
readonly TerminationInvoice: "terminationInvoice";
|
|
88
|
+
readonly ClaimsPayment: "claimsPayment";
|
|
89
|
+
readonly WithdrawnInvoice: "withdrawnInvoice";
|
|
90
|
+
readonly CorrectionInvoice: "correctionInvoice";
|
|
91
|
+
readonly RecurringInvoice: "recurringInvoice";
|
|
92
|
+
readonly InitialInvoice: "initialInvoice";
|
|
93
|
+
};
|
|
94
|
+
export type BookingProcessClassBookingProcessTypeEnum = typeof BookingProcessClassBookingProcessTypeEnum[keyof typeof BookingProcessClassBookingProcessTypeEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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.BookingProcessClassBookingProcessTypeEnum = exports.BookingProcessClassStatusEnum = void 0;
|
|
17
|
+
exports.BookingProcessClassStatusEnum = {
|
|
18
|
+
Invoiced: 'invoiced',
|
|
19
|
+
Paid: 'paid',
|
|
20
|
+
Open: 'open'
|
|
21
|
+
};
|
|
22
|
+
exports.BookingProcessClassBookingProcessTypeEnum = {
|
|
23
|
+
TerminationInvoice: 'terminationInvoice',
|
|
24
|
+
ClaimsPayment: 'claimsPayment',
|
|
25
|
+
WithdrawnInvoice: 'withdrawnInvoice',
|
|
26
|
+
CorrectionInvoice: 'correctionInvoice',
|
|
27
|
+
RecurringInvoice: 'recurringInvoice',
|
|
28
|
+
InitialInvoice: 'initialInvoice'
|
|
29
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { FinancialTransactionDataDto } from './financial-transaction-data-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBookingEntryRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBookingEntryRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateBookingEntryRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'bookingDate'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateBookingEntryRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'description': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateBookingEntryRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'policyNumber': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateBookingEntryRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'entityName': CreateBookingEntryRequestDtoEntityNameEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateBookingEntryRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'entityNumber': string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreateBookingEntryRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'currency': CreateBookingEntryRequestDtoCurrencyEnum;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof CreateBookingEntryRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'amount': number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof CreateBookingEntryRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'bookingProcessId'?: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<FinancialTransactionDataDto>}
|
|
70
|
+
* @memberof CreateBookingEntryRequestDto
|
|
71
|
+
*/
|
|
72
|
+
'financialTransactions': Array<FinancialTransactionDataDto>;
|
|
73
|
+
}
|
|
74
|
+
export declare const CreateBookingEntryRequestDtoEntityNameEnum: {
|
|
75
|
+
readonly Claim: "claim";
|
|
76
|
+
readonly Invoice: "invoice";
|
|
77
|
+
readonly Payment: "payment";
|
|
78
|
+
};
|
|
79
|
+
export type CreateBookingEntryRequestDtoEntityNameEnum = typeof CreateBookingEntryRequestDtoEntityNameEnum[keyof typeof CreateBookingEntryRequestDtoEntityNameEnum];
|
|
80
|
+
export declare const CreateBookingEntryRequestDtoCurrencyEnum: {
|
|
81
|
+
readonly Eur: "EUR";
|
|
82
|
+
readonly Usd: "USD";
|
|
83
|
+
readonly Gbp: "GBP";
|
|
84
|
+
readonly Chf: "CHF";
|
|
85
|
+
readonly Pln: "PLN";
|
|
86
|
+
readonly Aud: "AUD";
|
|
87
|
+
readonly Cad: "CAD";
|
|
88
|
+
readonly Ddk: "DDK";
|
|
89
|
+
readonly Huf: "HUF";
|
|
90
|
+
readonly Nok: "NOK";
|
|
91
|
+
readonly Sek: "SEK";
|
|
92
|
+
};
|
|
93
|
+
export type CreateBookingEntryRequestDtoCurrencyEnum = typeof CreateBookingEntryRequestDtoCurrencyEnum[keyof typeof CreateBookingEntryRequestDtoCurrencyEnum];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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.CreateBookingEntryRequestDtoCurrencyEnum = exports.CreateBookingEntryRequestDtoEntityNameEnum = void 0;
|
|
17
|
+
exports.CreateBookingEntryRequestDtoEntityNameEnum = {
|
|
18
|
+
Claim: 'claim',
|
|
19
|
+
Invoice: 'invoice',
|
|
20
|
+
Payment: 'payment'
|
|
21
|
+
};
|
|
22
|
+
exports.CreateBookingEntryRequestDtoCurrencyEnum = {
|
|
23
|
+
Eur: 'EUR',
|
|
24
|
+
Usd: 'USD',
|
|
25
|
+
Gbp: 'GBP',
|
|
26
|
+
Chf: 'CHF',
|
|
27
|
+
Pln: 'PLN',
|
|
28
|
+
Aud: 'AUD',
|
|
29
|
+
Cad: 'CAD',
|
|
30
|
+
Ddk: 'DDK',
|
|
31
|
+
Huf: 'HUF',
|
|
32
|
+
Nok: 'NOK',
|
|
33
|
+
Sek: 'SEK'
|
|
34
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { CreateBookingEntryRequestDto } from './create-booking-entry-request-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBookingProcessRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBookingProcessRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateBookingProcessRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'policyNumber': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateBookingProcessRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'status': CreateBookingProcessRequestDtoStatusEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateBookingProcessRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'bookingProcessType': CreateBookingProcessRequestDtoBookingProcessTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<CreateBookingEntryRequestDto>}
|
|
40
|
+
* @memberof CreateBookingProcessRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'bookingEntries': Array<CreateBookingEntryRequestDto>;
|
|
43
|
+
}
|
|
44
|
+
export declare const CreateBookingProcessRequestDtoStatusEnum: {
|
|
45
|
+
readonly Invoiced: "invoiced";
|
|
46
|
+
readonly Paid: "paid";
|
|
47
|
+
readonly Open: "open";
|
|
48
|
+
};
|
|
49
|
+
export type CreateBookingProcessRequestDtoStatusEnum = typeof CreateBookingProcessRequestDtoStatusEnum[keyof typeof CreateBookingProcessRequestDtoStatusEnum];
|
|
50
|
+
export declare const CreateBookingProcessRequestDtoBookingProcessTypeEnum: {
|
|
51
|
+
readonly TerminationInvoice: "terminationInvoice";
|
|
52
|
+
readonly ClaimsPayment: "claimsPayment";
|
|
53
|
+
readonly WithdrawnInvoice: "withdrawnInvoice";
|
|
54
|
+
readonly CorrectionInvoice: "correctionInvoice";
|
|
55
|
+
readonly RecurringInvoice: "recurringInvoice";
|
|
56
|
+
readonly InitialInvoice: "initialInvoice";
|
|
57
|
+
};
|
|
58
|
+
export type CreateBookingProcessRequestDtoBookingProcessTypeEnum = typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum[keyof typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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.CreateBookingProcessRequestDtoBookingProcessTypeEnum = exports.CreateBookingProcessRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.CreateBookingProcessRequestDtoStatusEnum = {
|
|
18
|
+
Invoiced: 'invoiced',
|
|
19
|
+
Paid: 'paid',
|
|
20
|
+
Open: 'open'
|
|
21
|
+
};
|
|
22
|
+
exports.CreateBookingProcessRequestDtoBookingProcessTypeEnum = {
|
|
23
|
+
TerminationInvoice: 'terminationInvoice',
|
|
24
|
+
ClaimsPayment: 'claimsPayment',
|
|
25
|
+
WithdrawnInvoice: 'withdrawnInvoice',
|
|
26
|
+
CorrectionInvoice: 'correctionInvoice',
|
|
27
|
+
RecurringInvoice: 'recurringInvoice',
|
|
28
|
+
InitialInvoice: 'initialInvoice'
|
|
29
|
+
};
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { BookingProcessClass } from './booking-process-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface CreateBookingProcessResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface CreateBookingProcessResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
20
|
+
* The booking-process response.
|
|
21
|
+
* @type {BookingProcessClass}
|
|
22
|
+
* @memberof CreateBookingProcessResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'bookingProcess': BookingProcessClass;
|
|
25
25
|
}
|
|
@@ -47,10 +47,10 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
47
47
|
'parentId'?: number;
|
|
48
48
|
}
|
|
49
49
|
export declare const CreateFinancialAccountRequestDtoTypeEnum: {
|
|
50
|
-
readonly Asset: "
|
|
51
|
-
readonly Liability: "
|
|
52
|
-
readonly Equity: "
|
|
53
|
-
readonly Revenue: "
|
|
54
|
-
readonly Expense: "
|
|
50
|
+
readonly Asset: "asset";
|
|
51
|
+
readonly Liability: "liability";
|
|
52
|
+
readonly Equity: "equity";
|
|
53
|
+
readonly Revenue: "revenue";
|
|
54
|
+
readonly Expense: "expense";
|
|
55
55
|
};
|
|
56
56
|
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
17
17
|
exports.CreateFinancialAccountRequestDtoTypeEnum = {
|
|
18
|
-
Asset: '
|
|
19
|
-
Liability: '
|
|
20
|
-
Equity: '
|
|
21
|
-
Revenue: '
|
|
22
|
-
Expense: '
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense'
|
|
23
23
|
};
|
|
@@ -62,7 +62,7 @@ export interface FinancialAccountClass {
|
|
|
62
62
|
* @type {object}
|
|
63
63
|
* @memberof FinancialAccountClass
|
|
64
64
|
*/
|
|
65
|
-
'
|
|
65
|
+
'customFields': object;
|
|
66
66
|
/**
|
|
67
67
|
* Time at which the object was created.
|
|
68
68
|
* @type {string}
|
|
@@ -75,12 +75,24 @@ export interface FinancialAccountClass {
|
|
|
75
75
|
* @memberof FinancialAccountClass
|
|
76
76
|
*/
|
|
77
77
|
'updatedAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of the user who created the record.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof FinancialAccountClass
|
|
82
|
+
*/
|
|
83
|
+
'createdBy': string;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the user who last updated the record.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof FinancialAccountClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedBy': string;
|
|
78
90
|
}
|
|
79
91
|
export declare const FinancialAccountClassTypeEnum: {
|
|
80
|
-
readonly Asset: "
|
|
81
|
-
readonly Liability: "
|
|
82
|
-
readonly Equity: "
|
|
83
|
-
readonly Revenue: "
|
|
84
|
-
readonly Expense: "
|
|
92
|
+
readonly Asset: "asset";
|
|
93
|
+
readonly Liability: "liability";
|
|
94
|
+
readonly Equity: "equity";
|
|
95
|
+
readonly Revenue: "revenue";
|
|
96
|
+
readonly Expense: "expense";
|
|
85
97
|
};
|
|
86
98
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FinancialAccountClassTypeEnum = void 0;
|
|
17
17
|
exports.FinancialAccountClassTypeEnum = {
|
|
18
|
-
Asset: '
|
|
19
|
-
Liability: '
|
|
20
|
-
Equity: '
|
|
21
|
-
Revenue: '
|
|
22
|
-
Expense: '
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense'
|
|
23
23
|
};
|