@emilgroup/accounting-sdk-node 1.15.0 → 1.16.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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +4 -5
  2. package/README.md +2 -2
  3. package/api/booking-entries-api.ts +476 -0
  4. package/api.ts +2 -2
  5. package/dist/api/booking-entries-api.d.ts +272 -0
  6. package/dist/api/{booking-processes-api.js → booking-entries-api.js} +173 -73
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +1 -1
  9. package/dist/models/booking-entry-class.d.ts +10 -22
  10. package/dist/models/booking-entry-class.js +1 -6
  11. package/dist/models/create-booking-entry-request-dto.d.ts +10 -48
  12. package/dist/models/create-booking-entry-request-dto.js +0 -19
  13. package/dist/models/{create-booking-process-response-class.d.ts → create-booking-entry-response-class.d.ts} +7 -7
  14. package/dist/models/create-financial-account-request-dto.d.ts +1 -1
  15. package/dist/models/financial-transaction-class.d.ts +2 -14
  16. package/dist/models/financial-transaction-data-dto.d.ts +9 -21
  17. package/dist/models/get-booking-entry-response-class.d.ts +25 -0
  18. package/dist/models/index.d.ts +3 -4
  19. package/dist/models/index.js +3 -4
  20. package/dist/models/{list-booking-process-response-class.d.ts → list-booking-entries-response-class.d.ts} +9 -9
  21. package/dist/models/list-booking-entries-response-class.js +15 -0
  22. package/models/booking-entry-class.ts +10 -23
  23. package/models/create-booking-entry-request-dto.ts +10 -52
  24. package/models/{create-booking-process-response-class.ts → create-booking-entry-response-class.ts} +7 -7
  25. package/models/create-financial-account-request-dto.ts +1 -1
  26. package/models/financial-transaction-class.ts +2 -14
  27. package/models/financial-transaction-data-dto.ts +9 -21
  28. package/models/get-booking-entry-response-class.ts +31 -0
  29. package/models/index.ts +3 -4
  30. package/models/{list-booking-process-response-class.ts → list-booking-entries-response-class.ts} +9 -9
  31. package/package.json +1 -1
  32. package/api/booking-processes-api.ts +0 -357
  33. package/dist/api/booking-processes-api.d.ts +0 -207
  34. package/dist/models/booking-process-class.d.ts +0 -94
  35. package/dist/models/booking-process-class.js +0 -29
  36. package/dist/models/create-booking-process-request-dto.d.ts +0 -64
  37. package/dist/models/create-booking-process-request-dto.js +0 -29
  38. package/models/booking-process-class.ts +0 -104
  39. package/models/create-booking-process-request-dto.ts +0 -74
  40. /package/dist/models/{create-booking-process-response-class.js → create-booking-entry-response-class.js} +0 -0
  41. /package/dist/models/{list-booking-process-response-class.js → get-booking-entry-response-class.js} +0 -0
@@ -1,29 +0,0 @@
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
- };
@@ -1,64 +0,0 @@
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];
@@ -1,29 +0,0 @@
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
- };
@@ -1,104 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
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
- import { BookingEntryClass } from './booking-entry-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface BookingProcessClass
22
- */
23
- export interface BookingProcessClass {
24
- /**
25
- * Internal unique identifier for the object. You should not have to use this, use code instead.
26
- * @type {number}
27
- * @memberof BookingProcessClass
28
- */
29
- 'id': number;
30
- /**
31
- * Unique identifier for the object.
32
- * @type {string}
33
- * @memberof BookingProcessClass
34
- */
35
- 'code': string;
36
- /**
37
- * 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.
38
- * @type {object}
39
- * @memberof BookingProcessClass
40
- */
41
- 'customFields': object;
42
- /**
43
- * Represents the current stage of the booking process. It tracks whether the process is still open, invoiced, or paid.
44
- * @type {string}
45
- * @memberof BookingProcessClass
46
- */
47
- 'status': BookingProcessClassStatusEnum;
48
- /**
49
- * 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.
50
- * @type {string}
51
- * @memberof BookingProcessClass
52
- */
53
- 'bookingProcessType': BookingProcessClassBookingProcessTypeEnum;
54
- /**
55
- * A list of booking entries associated with this booking process. Each entry represents a booking entry linked to the current booking process.
56
- * @type {Array<BookingEntryClass>}
57
- * @memberof BookingProcessClass
58
- */
59
- 'bookingEntries': Array<BookingEntryClass>;
60
- /**
61
- * Time at which the object was created.
62
- * @type {string}
63
- * @memberof BookingProcessClass
64
- */
65
- 'createdAt': string;
66
- /**
67
- * Time at which the object was updated.
68
- * @type {string}
69
- * @memberof BookingProcessClass
70
- */
71
- 'updatedAt': string;
72
- /**
73
- * Identifier of the user who created the record.
74
- * @type {string}
75
- * @memberof BookingProcessClass
76
- */
77
- 'createdBy': string;
78
- /**
79
- * Identifier of the user who last updated the record.
80
- * @type {string}
81
- * @memberof BookingProcessClass
82
- */
83
- 'updatedBy': string;
84
- }
85
-
86
- export const BookingProcessClassStatusEnum = {
87
- Invoiced: 'invoiced',
88
- Paid: 'paid',
89
- Open: 'open'
90
- } as const;
91
-
92
- export type BookingProcessClassStatusEnum = typeof BookingProcessClassStatusEnum[keyof typeof BookingProcessClassStatusEnum];
93
- export const BookingProcessClassBookingProcessTypeEnum = {
94
- TerminationInvoice: 'terminationInvoice',
95
- ClaimsPayment: 'claimsPayment',
96
- WithdrawnInvoice: 'withdrawnInvoice',
97
- CorrectionInvoice: 'correctionInvoice',
98
- RecurringInvoice: 'recurringInvoice',
99
- InitialInvoice: 'initialInvoice'
100
- } as const;
101
-
102
- export type BookingProcessClassBookingProcessTypeEnum = typeof BookingProcessClassBookingProcessTypeEnum[keyof typeof BookingProcessClassBookingProcessTypeEnum];
103
-
104
-
@@ -1,74 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
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
- import { CreateBookingEntryRequestDto } from './create-booking-entry-request-dto';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateBookingProcessRequestDto
22
- */
23
- export interface CreateBookingProcessRequestDto {
24
- /**
25
- * 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.
26
- * @type {string}
27
- * @memberof CreateBookingProcessRequestDto
28
- */
29
- 'policyNumber': string;
30
- /**
31
- * The current status of the booking process, indicating its completion or settlement stage, such as invoiced or paid, etc...
32
- * @type {string}
33
- * @memberof CreateBookingProcessRequestDto
34
- */
35
- 'status': CreateBookingProcessRequestDtoStatusEnum;
36
- /**
37
- * The type of booking process being created, such as recurringInvoice or \" initialInvoice. This helps categorize the nature of the booking within the system.
38
- * @type {string}
39
- * @memberof CreateBookingProcessRequestDto
40
- */
41
- 'bookingProcessType': CreateBookingProcessRequestDtoBookingProcessTypeEnum;
42
- /**
43
- * 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.
44
- * @type {object}
45
- * @memberof CreateBookingProcessRequestDto
46
- */
47
- 'customFields': object;
48
- /**
49
- * 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.
50
- * @type {Array<CreateBookingEntryRequestDto>}
51
- * @memberof CreateBookingProcessRequestDto
52
- */
53
- 'bookingEntries': Array<CreateBookingEntryRequestDto>;
54
- }
55
-
56
- export const CreateBookingProcessRequestDtoStatusEnum = {
57
- Invoiced: 'invoiced',
58
- Paid: 'paid',
59
- Open: 'open'
60
- } as const;
61
-
62
- export type CreateBookingProcessRequestDtoStatusEnum = typeof CreateBookingProcessRequestDtoStatusEnum[keyof typeof CreateBookingProcessRequestDtoStatusEnum];
63
- export const CreateBookingProcessRequestDtoBookingProcessTypeEnum = {
64
- TerminationInvoice: 'terminationInvoice',
65
- ClaimsPayment: 'claimsPayment',
66
- WithdrawnInvoice: 'withdrawnInvoice',
67
- CorrectionInvoice: 'correctionInvoice',
68
- RecurringInvoice: 'recurringInvoice',
69
- InitialInvoice: 'initialInvoice'
70
- } as const;
71
-
72
- export type CreateBookingProcessRequestDtoBookingProcessTypeEnum = typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum[keyof typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum];
73
-
74
-