@emilgroup/accounting-sdk-node 1.14.0 → 1.14.1-beta.0
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 +15 -52
- package/README.md +2 -2
- package/api/booking-processes-api.ts +357 -0
- package/api/financial-accounts-api.ts +577 -0
- package/api/health-api.ts +7 -7
- package/api.ts +6 -14
- package/base.ts +2 -2
- package/common.ts +4 -4
- package/configuration.ts +2 -2
- package/dist/api/booking-processes-api.d.ts +207 -0
- package/dist/api/{zip-codes-api.js → booking-processes-api.js} +80 -166
- package/dist/api/financial-accounts-api.d.ts +327 -0
- package/dist/api/{vbas-api.js → financial-accounts-api.js} +156 -161
- package/dist/api/health-api.d.ts +6 -6
- package/dist/api/health-api.js +7 -7
- package/dist/api.d.ts +4 -8
- package/dist/api.js +4 -8
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +4 -4
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/booking-entry-class.d.ts +123 -0
- package/dist/models/booking-entry-class.js +34 -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 +99 -0
- package/dist/models/create-booking-entry-request-dto.js +34 -0
- package/dist/models/create-booking-process-request-dto.d.ts +64 -0
- package/dist/models/create-booking-process-request-dto.js +29 -0
- package/dist/models/create-booking-process-response-class.d.ts +25 -0
- package/dist/models/{address-class.js → create-booking-process-response-class.js} +2 -2
- package/dist/models/create-financial-account-request-dto.d.ts +62 -0
- package/dist/models/{create-user-request-dto.js → create-financial-account-request-dto.js} +9 -10
- package/dist/models/create-financial-account-response-class.d.ts +25 -0
- package/dist/models/{create-user-response-class.js → create-financial-account-response-class.js} +2 -2
- package/dist/models/financial-account-class.d.ts +98 -0
- package/dist/models/{user-class.js → financial-account-class.js} +9 -6
- package/dist/models/financial-transaction-class.d.ts +108 -0
- package/dist/models/{create-mailbox-request-dto.js → financial-transaction-class.js} +2 -2
- package/dist/models/financial-transaction-data-dto.d.ts +71 -0
- package/dist/models/{create-vba-request-dto.js → financial-transaction-data-dto.js} +6 -6
- package/dist/models/get-financial-account-response-class.d.ts +25 -0
- package/dist/models/{create-vba-response-class.js → get-financial-account-response-class.js} +2 -2
- package/dist/models/index.d.ts +13 -46
- package/dist/models/index.js +13 -46
- package/dist/models/inline-response200.d.ts +2 -2
- package/dist/models/inline-response200.js +2 -2
- package/dist/models/inline-response503.d.ts +2 -2
- package/dist/models/inline-response503.js +2 -2
- package/dist/models/list-booking-process-response-class.d.ts +31 -0
- package/dist/models/list-booking-process-response-class.js +15 -0
- package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
- package/dist/models/list-financial-accounts-response-class.js +15 -0
- package/index.ts +2 -2
- package/models/booking-entry-class.ts +133 -0
- package/models/booking-process-class.ts +104 -0
- package/models/create-booking-entry-request-dto.ts +109 -0
- package/models/create-booking-process-request-dto.ts +74 -0
- package/models/create-booking-process-response-class.ts +31 -0
- package/models/create-financial-account-request-dto.ts +71 -0
- package/models/create-financial-account-response-class.ts +31 -0
- package/models/financial-account-class.ts +107 -0
- package/models/financial-transaction-class.ts +114 -0
- package/models/financial-transaction-data-dto.ts +80 -0
- package/models/get-financial-account-response-class.ts +31 -0
- package/models/index.ts +13 -46
- package/models/inline-response200.ts +2 -2
- package/models/inline-response503.ts +2 -2
- package/models/list-booking-process-response-class.ts +37 -0
- package/models/list-financial-accounts-response-class.ts +37 -0
- package/package.json +1 -1
- package/api/mailbox-api.ts +0 -255
- package/api/messages-api.ts +0 -1100
- package/api/users-api.ts +0 -496
- package/api/vbas-api.ts +0 -592
- package/api/vbus-api.ts +0 -701
- package/api/zip-codes-api.ts +0 -443
- package/dist/api/mailbox-api.d.ts +0 -142
- package/dist/api/mailbox-api.js +0 -315
- package/dist/api/messages-api.d.ts +0 -632
- package/dist/api/messages-api.js +0 -916
- package/dist/api/users-api.d.ts +0 -275
- package/dist/api/users-api.js +0 -512
- package/dist/api/vbas-api.d.ts +0 -337
- package/dist/api/vbus-api.d.ts +0 -395
- package/dist/api/vbus-api.js +0 -647
- package/dist/api/zip-codes-api.d.ts +0 -253
- package/dist/models/address-class.d.ts +0 -48
- package/dist/models/create-mailbox-request-dto.d.ts +0 -36
- package/dist/models/create-user-request-dto.d.ts +0 -76
- package/dist/models/create-user-response-class.d.ts +0 -25
- package/dist/models/create-vba-request-dto.d.ts +0 -41
- package/dist/models/create-vba-response-class.d.ts +0 -24
- package/dist/models/create-vbu-request-dto.d.ts +0 -41
- package/dist/models/create-vbu-request-dto.js +0 -20
- package/dist/models/create-vbu-response-class.d.ts +0 -24
- package/dist/models/create-vbu-response-class.js +0 -15
- package/dist/models/create-vbuv-request-dto.d.ts +0 -41
- package/dist/models/create-vbuv-request-dto.js +0 -20
- package/dist/models/create-vbuv-response-class.d.ts +0 -24
- package/dist/models/create-vbuv-response-class.js +0 -15
- package/dist/models/get-request-message-response-class.d.ts +0 -25
- package/dist/models/get-request-message-response-class.js +0 -15
- package/dist/models/get-response-message-response-class.d.ts +0 -25
- package/dist/models/get-response-message-response-class.js +0 -15
- package/dist/models/get-user-response-class.d.ts +0 -25
- package/dist/models/get-user-response-class.js +0 -15
- package/dist/models/get-vba-response-class.d.ts +0 -25
- package/dist/models/get-vba-response-class.js +0 -15
- package/dist/models/get-vbu-response-class.d.ts +0 -25
- package/dist/models/get-vbu-response-class.js +0 -15
- package/dist/models/get-zip-code-response-class.d.ts +0 -25
- package/dist/models/get-zip-code-response-class.js +0 -15
- package/dist/models/list-all-messages-response-class.d.ts +0 -31
- package/dist/models/list-all-messages-response-class.js +0 -15
- package/dist/models/list-requests-messages-response-class.d.ts +0 -31
- package/dist/models/list-requests-messages-response-class.js +0 -15
- package/dist/models/list-responses-messages-response-class.d.ts +0 -31
- package/dist/models/list-responses-messages-response-class.js +0 -15
- package/dist/models/list-users-response-class.d.ts +0 -31
- package/dist/models/list-users-response-class.js +0 -15
- package/dist/models/list-vbas-response-class.d.ts +0 -31
- package/dist/models/list-vbas-response-class.js +0 -15
- package/dist/models/list-vbus-response-class.d.ts +0 -31
- package/dist/models/list-vbus-response-class.js +0 -15
- package/dist/models/list-zip-codes-response-class.d.ts +0 -31
- package/dist/models/list-zip-codes-response-class.js +0 -15
- package/dist/models/message-class.d.ts +0 -84
- package/dist/models/message-class.js +0 -15
- package/dist/models/request-details-class.d.ts +0 -48
- package/dist/models/request-details-class.js +0 -15
- package/dist/models/request-message-class.d.ts +0 -121
- package/dist/models/request-message-class.js +0 -15
- package/dist/models/response-details-class.d.ts +0 -42
- package/dist/models/response-details-class.js +0 -15
- package/dist/models/response-message-class.d.ts +0 -133
- package/dist/models/response-message-class.js +0 -15
- package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
- package/dist/models/store-zip-codes-request-dto.js +0 -15
- package/dist/models/store-zip-codes-response-class.d.ts +0 -25
- package/dist/models/store-zip-codes-response-class.js +0 -15
- package/dist/models/update-request-message-request-dto.d.ts +0 -36
- package/dist/models/update-request-message-request-dto.js +0 -15
- package/dist/models/update-request-message-response-class.d.ts +0 -25
- package/dist/models/update-request-message-response-class.js +0 -15
- package/dist/models/update-response-message-request-dto.d.ts +0 -36
- package/dist/models/update-response-message-request-dto.js +0 -15
- package/dist/models/update-response-message-response-class.d.ts +0 -25
- package/dist/models/update-response-message-response-class.js +0 -15
- package/dist/models/update-user-request-dto.d.ts +0 -82
- package/dist/models/update-user-request-dto.js +0 -24
- package/dist/models/update-user-response-class.d.ts +0 -25
- package/dist/models/update-user-response-class.js +0 -15
- package/dist/models/update-vba-request-dto.d.ts +0 -30
- package/dist/models/update-vba-request-dto.js +0 -15
- package/dist/models/update-vbu-request-dto.d.ts +0 -30
- package/dist/models/update-vbu-request-dto.js +0 -15
- package/dist/models/update-vbu-response-class.d.ts +0 -25
- package/dist/models/update-vbu-response-class.js +0 -15
- package/dist/models/user-class.d.ts +0 -107
- package/dist/models/vba-class.d.ts +0 -116
- package/dist/models/vba-class.js +0 -15
- package/dist/models/vba-response-class.d.ts +0 -48
- package/dist/models/vba-response-class.js +0 -15
- package/dist/models/vbu-class.d.ts +0 -115
- package/dist/models/vbu-class.js +0 -15
- package/dist/models/vbu-response-class.d.ts +0 -48
- package/dist/models/vbu-response-class.js +0 -15
- package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
- package/dist/models/xlsx-zip-code-dto.js +0 -15
- package/dist/models/zip-code-class.d.ts +0 -60
- package/dist/models/zip-code-class.js +0 -15
- package/models/address-class.ts +0 -54
- package/models/create-mailbox-request-dto.ts +0 -42
- package/models/create-user-request-dto.ts +0 -86
- package/models/create-user-response-class.ts +0 -31
- package/models/create-vba-request-dto.ts +0 -50
- package/models/create-vba-response-class.ts +0 -30
- package/models/create-vbu-request-dto.ts +0 -50
- package/models/create-vbu-response-class.ts +0 -30
- package/models/create-vbuv-request-dto.ts +0 -50
- package/models/create-vbuv-response-class.ts +0 -30
- package/models/get-request-message-response-class.ts +0 -31
- package/models/get-response-message-response-class.ts +0 -31
- package/models/get-user-response-class.ts +0 -31
- package/models/get-vba-response-class.ts +0 -31
- package/models/get-vbu-response-class.ts +0 -31
- package/models/get-zip-code-response-class.ts +0 -31
- package/models/list-all-messages-response-class.ts +0 -37
- package/models/list-requests-messages-response-class.ts +0 -37
- package/models/list-responses-messages-response-class.ts +0 -37
- package/models/list-users-response-class.ts +0 -37
- package/models/list-vbas-response-class.ts +0 -37
- package/models/list-vbus-response-class.ts +0 -37
- package/models/list-zip-codes-response-class.ts +0 -37
- package/models/message-class.ts +0 -90
- package/models/request-details-class.ts +0 -54
- package/models/request-message-class.ts +0 -127
- package/models/response-details-class.ts +0 -48
- package/models/response-message-class.ts +0 -139
- package/models/store-zip-codes-request-dto.ts +0 -31
- package/models/store-zip-codes-response-class.ts +0 -31
- package/models/update-request-message-request-dto.ts +0 -42
- package/models/update-request-message-response-class.ts +0 -31
- package/models/update-response-message-request-dto.ts +0 -42
- package/models/update-response-message-response-class.ts +0 -31
- package/models/update-user-request-dto.ts +0 -92
- package/models/update-user-response-class.ts +0 -31
- package/models/update-vba-request-dto.ts +0 -36
- package/models/update-vbu-request-dto.ts +0 -36
- package/models/update-vbu-response-class.ts +0 -31
- package/models/user-class.ts +0 -116
- package/models/vba-class.ts +0 -122
- package/models/vba-response-class.ts +0 -54
- package/models/vbu-class.ts +0 -121
- package/models/vbu-response-class.ts +0 -54
- package/models/xlsx-zip-code-dto.ts +0 -36
- package/models/zip-code-class.ts +0 -66
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
* The unique policy number associated with this booking process. This is used to identify the relevant insurance policy or agreement for which the booking process is being created.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateBookingProcessRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'policyNumber': string;
|
|
25
|
+
/**
|
|
26
|
+
* The current status of the booking process, indicating its completion or settlement stage, such as invoiced or paid, etc...
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateBookingProcessRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'status': CreateBookingProcessRequestDtoStatusEnum;
|
|
31
|
+
/**
|
|
32
|
+
* The type of booking process being created, such as recurringInvoice or \" initialInvoice. This helps categorize the nature of the booking within the system.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateBookingProcessRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'bookingProcessType': CreateBookingProcessRequestDtoBookingProcessTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Optional key-value pairs containing additional custom information for the booking process. These fields allow flexibility to include metadata or specific attributes related to the booking.
|
|
39
|
+
* @type {object}
|
|
40
|
+
* @memberof CreateBookingProcessRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'customFields': object;
|
|
43
|
+
/**
|
|
44
|
+
* An array of booking entries associated with this booking process. Each entry represents an individual transaction or action related to the booking and contains details such as amount, date, and descriptions.
|
|
45
|
+
* @type {Array<CreateBookingEntryRequestDto>}
|
|
46
|
+
* @memberof CreateBookingProcessRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'bookingEntries': Array<CreateBookingEntryRequestDto>;
|
|
49
|
+
}
|
|
50
|
+
export declare const CreateBookingProcessRequestDtoStatusEnum: {
|
|
51
|
+
readonly Invoiced: "invoiced";
|
|
52
|
+
readonly Paid: "paid";
|
|
53
|
+
readonly Open: "open";
|
|
54
|
+
};
|
|
55
|
+
export type CreateBookingProcessRequestDtoStatusEnum = typeof CreateBookingProcessRequestDtoStatusEnum[keyof typeof CreateBookingProcessRequestDtoStatusEnum];
|
|
56
|
+
export declare const CreateBookingProcessRequestDtoBookingProcessTypeEnum: {
|
|
57
|
+
readonly TerminationInvoice: "terminationInvoice";
|
|
58
|
+
readonly ClaimsPayment: "claimsPayment";
|
|
59
|
+
readonly WithdrawnInvoice: "withdrawnInvoice";
|
|
60
|
+
readonly CorrectionInvoice: "correctionInvoice";
|
|
61
|
+
readonly RecurringInvoice: "recurringInvoice";
|
|
62
|
+
readonly InitialInvoice: "initialInvoice";
|
|
63
|
+
};
|
|
64
|
+
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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { BookingProcessClass } from './booking-process-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBookingProcessResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBookingProcessResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The booking-process response.
|
|
21
|
+
* @type {BookingProcessClass}
|
|
22
|
+
* @memberof CreateBookingProcessResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bookingProcess': BookingProcessClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateFinancialAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateFinancialAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the financial account. This is a descriptive label used to identify the account within the system.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'financialAccountNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of financial account, specifying its category or classification, such as asset, equity, or expense. This categorization helps in accounting and reporting.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'type': CreateFinancialAccountRequestDtoTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* An optional code representing the entity associated with this account. Useful for associating the account with specific organizational entities or departments.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'entityCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* An optional identifier for the parent account. If provided, this allows the creation of sub-accounts under a parent financial account, establishing a hierarchy.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'parentId'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
50
|
+
* @type {object}
|
|
51
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'customFields': object;
|
|
54
|
+
}
|
|
55
|
+
export declare const CreateFinancialAccountRequestDtoTypeEnum: {
|
|
56
|
+
readonly Asset: "asset";
|
|
57
|
+
readonly Liability: "liability";
|
|
58
|
+
readonly Equity: "equity";
|
|
59
|
+
readonly Revenue: "revenue";
|
|
60
|
+
readonly Expense: "expense";
|
|
61
|
+
};
|
|
62
|
+
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -13,12 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Pp: 'PP'
|
|
16
|
+
exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreateFinancialAccountRequestDtoTypeEnum = {
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense'
|
|
24
23
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateFinancialAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateFinancialAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The financial account response.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof CreateFinancialAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
/**
|
|
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 entity code of the account (account code, bank account code, etc...).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FinancialAccountClass
|
|
52
|
+
*/
|
|
53
|
+
'entityCode': 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
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof FinancialAccountClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof FinancialAccountClass
|
|
76
|
+
*/
|
|
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;
|
|
90
|
+
}
|
|
91
|
+
export declare const FinancialAccountClassTypeEnum: {
|
|
92
|
+
readonly Asset: "asset";
|
|
93
|
+
readonly Liability: "liability";
|
|
94
|
+
readonly Equity: "equity";
|
|
95
|
+
readonly Revenue: "revenue";
|
|
96
|
+
readonly Expense: "expense";
|
|
97
|
+
};
|
|
98
|
+
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -13,8 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
exports.FinancialAccountClassTypeEnum = void 0;
|
|
17
|
+
exports.FinancialAccountClassTypeEnum = {
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense'
|
|
20
23
|
};
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FinancialTransactionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface FinancialTransactionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof FinancialTransactionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FinancialTransactionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* A brief description or note associated with the financial transaction, providing additional context about the transaction.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FinancialTransactionClass
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* The financial account number that this transaction is related to. This is typically a general ledger account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FinancialTransactionClass
|
|
40
|
+
*/
|
|
41
|
+
'financialAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The partner number that this transaction is related to. This is typically a customer or supplier number.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FinancialTransactionClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
* The partner group that this transaction is related to. This is typically a customer or supplier group.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FinancialTransactionClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerGroup'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Internal identifier for the associated booking entry. This links the transaction to a specific entry in the booking system.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof FinancialTransactionClass
|
|
58
|
+
*/
|
|
59
|
+
'bookingEntryId': number;
|
|
60
|
+
/**
|
|
61
|
+
* Indicates whether the transaction is a debit or credit. Possible values are \"DEBIT\" or \"CREDIT\".
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof FinancialTransactionClass
|
|
64
|
+
*/
|
|
65
|
+
'debitCredit': string;
|
|
66
|
+
/**
|
|
67
|
+
* Indicates whether the transaction is \"soll\" or \"haben\" (typically the same as \"debit\" or \"credit\" in English). This is a simplification for German users.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof FinancialTransactionClass
|
|
70
|
+
*/
|
|
71
|
+
'sollHaben': string;
|
|
72
|
+
/**
|
|
73
|
+
* The total amount of the transaction, represented in cents (e.g., 1550 means €15.50). This value is required for all transactions.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof FinancialTransactionClass
|
|
76
|
+
*/
|
|
77
|
+
'amount': number;
|
|
78
|
+
/**
|
|
79
|
+
* 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 specific data that may vary by use case, such as additional metadata or custom attributes.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof FinancialTransactionClass
|
|
82
|
+
*/
|
|
83
|
+
'customFields'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof FinancialTransactionClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof FinancialTransactionClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who created the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof FinancialTransactionClass
|
|
100
|
+
*/
|
|
101
|
+
'createdBy': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who last updated the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof FinancialTransactionClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedBy': string;
|
|
108
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FinancialTransactionDataDto
|
|
16
|
+
*/
|
|
17
|
+
export interface FinancialTransactionDataDto {
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier of the financial account associated with the transaction. This is used to route the transaction to the correct account in the financial ledger.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FinancialTransactionDataDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountNumber': string;
|
|
24
|
+
/**
|
|
25
|
+
* The monetary value of the transaction, expressed as an integer in the smallest currency unit (e.g., cents). This represents the exact amount being debited or credited. The value must be an integer.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FinancialTransactionDataDto
|
|
28
|
+
*/
|
|
29
|
+
'amount': number;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies whether the transaction is a debit or a credit. A debit indicates an outgoing payment, while a credit represents incoming funds.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FinancialTransactionDataDto
|
|
34
|
+
*/
|
|
35
|
+
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The unique number assigned to the partner involved in the transaction, typically representing a customer, supplier, or other associated party.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FinancialTransactionDataDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* An optional grouping identifier for the partner, used for categorization and reporting purposes.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FinancialTransactionDataDto
|
|
46
|
+
*/
|
|
47
|
+
'partnerGroup'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The policy number related to this transaction, used for referencing the associated insurance policy or agreement.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FinancialTransactionDataDto
|
|
52
|
+
*/
|
|
53
|
+
'policyNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
|
|
56
|
+
* @type {object}
|
|
57
|
+
* @memberof FinancialTransactionDataDto
|
|
58
|
+
*/
|
|
59
|
+
'customFields': object;
|
|
60
|
+
/**
|
|
61
|
+
* A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof FinancialTransactionDataDto
|
|
64
|
+
*/
|
|
65
|
+
'description': string;
|
|
66
|
+
}
|
|
67
|
+
export declare const FinancialTransactionDataDtoDebitCreditEnum: {
|
|
68
|
+
readonly Debit: "DEBIT";
|
|
69
|
+
readonly Credit: "CREDIT";
|
|
70
|
+
};
|
|
71
|
+
export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
exports.FinancialTransactionDataDtoDebitCreditEnum = void 0;
|
|
17
|
+
exports.FinancialTransactionDataDtoDebitCreditEnum = {
|
|
18
|
+
Debit: 'DEBIT',
|
|
19
|
+
Credit: 'CREDIT'
|
|
20
20
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetFinancialAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetFinancialAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The financial account response.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof GetFinancialAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
}
|