@emilgroup/accounting-sdk-node 1.0.1-beta.3 → 1.0.1-beta.5
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/booking-processes-api.ts +192 -4
- package/base.ts +3 -3
- package/dist/api/booking-processes-api.d.ts +114 -4
- package/dist/api/booking-processes-api.js +133 -4
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/create-booking-entry-request-dto.d.ts +15 -9
- package/dist/models/create-booking-process-request-dto.d.ts +10 -4
- package/dist/models/create-financial-account-request-dto.d.ts +11 -5
- package/dist/models/financial-transaction-data-dto.d.ts +13 -7
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/list-booking-process-response-class.d.ts +31 -0
- package/dist/models/list-booking-process-response-class.js +15 -0
- package/models/create-booking-entry-request-dto.ts +15 -9
- package/models/create-booking-process-request-dto.ts +10 -4
- package/models/create-financial-account-request-dto.ts +11 -5
- package/models/financial-transaction-data-dto.ts +13 -7
- package/models/index.ts +1 -0
- package/models/list-booking-process-response-class.ts +37 -0
- package/package.json +1 -1
|
@@ -21,35 +21,41 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateFinancialAccountRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* The name of the financial account. This is a descriptive label used to identify the account within the system.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateFinancialAccountRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'name': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateFinancialAccountRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'financialAccountNumber': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The type of financial account, specifying its category or classification, such as asset, equity, or expense. This categorization helps in accounting and reporting.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateFinancialAccountRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'type': CreateFinancialAccountRequestDtoTypeEnum;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* An optional code representing the entity associated with this account. Useful for associating the account with specific organizational entities or departments.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateFinancialAccountRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'entityCode'?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* An optional identifier for the parent account. If provided, this allows the creation of sub-accounts under a parent financial account, establishing a hierarchy.
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof CreateFinancialAccountRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'parentId'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
55
|
+
* @type {object}
|
|
56
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'customFields': object;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
@@ -21,43 +21,49 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface FinancialTransactionDataDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* 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.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof FinancialTransactionDataDto
|
|
27
27
|
*/
|
|
28
28
|
'financialAccountNumber': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* 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.
|
|
31
31
|
* @type {number}
|
|
32
32
|
* @memberof FinancialTransactionDataDto
|
|
33
33
|
*/
|
|
34
34
|
'amount': number;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Specifies whether the transaction is a debit or a credit. A debit indicates an outgoing payment, while a credit represents incoming funds.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof FinancialTransactionDataDto
|
|
39
39
|
*/
|
|
40
40
|
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* The unique number assigned to the partner involved in the transaction, typically representing a customer, supplier, or other associated party.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof FinancialTransactionDataDto
|
|
45
45
|
*/
|
|
46
46
|
'partnerNumber': string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* An optional grouping identifier for the partner, used for categorization and reporting purposes.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof FinancialTransactionDataDto
|
|
51
51
|
*/
|
|
52
52
|
'partnerGroup'?: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* The policy number related to this transaction, used for referencing the associated insurance policy or agreement.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof FinancialTransactionDataDto
|
|
57
57
|
*/
|
|
58
58
|
'policyNumber': string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
|
|
61
|
+
* @type {object}
|
|
62
|
+
* @memberof FinancialTransactionDataDto
|
|
63
|
+
*/
|
|
64
|
+
'customFields': object;
|
|
65
|
+
/**
|
|
66
|
+
* A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
|
|
61
67
|
* @type {string}
|
|
62
68
|
* @memberof FinancialTransactionDataDto
|
|
63
69
|
*/
|
package/models/index.ts
CHANGED
|
@@ -11,4 +11,5 @@ export * from './financial-transaction-data-dto';
|
|
|
11
11
|
export * from './get-financial-account-response-class';
|
|
12
12
|
export * from './inline-response200';
|
|
13
13
|
export * from './inline-response503';
|
|
14
|
+
export * from './list-booking-process-response-class';
|
|
14
15
|
export * from './list-financial-accounts-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { BookingProcessClass } from './booking-process-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBookingProcessResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBookingProcessResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of booking processs.
|
|
26
|
+
* @type {Array<BookingProcessClass>}
|
|
27
|
+
* @memberof ListBookingProcessResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<BookingProcessClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListBookingProcessResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|