@emilgroup/accounting-sdk-node 1.32.1-beta.58 → 1.32.1-beta.59
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 +50 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +868 -0
- package/api/booking-entries-api.ts +230 -6
- package/api/commission-account-mappings-api.ts +1211 -0
- package/api/financial-accounts-api.ts +154 -24
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +1719 -0
- package/api.ts +6 -0
- package/dist/api/accounting-configs-api.d.ts +451 -0
- package/dist/api/accounting-configs-api.js +887 -0
- package/dist/api/booking-entries-api.d.ts +114 -0
- package/dist/api/booking-entries-api.js +207 -10
- package/dist/api/commission-account-mappings-api.d.ts +685 -0
- package/dist/api/commission-account-mappings-api.js +1026 -0
- package/dist/api/financial-accounts-api.d.ts +82 -16
- package/dist/api/financial-accounts-api.js +137 -27
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +972 -0
- package/dist/api/product-account-mappings-api.js +1451 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/account-mapping-class.d.ts +73 -0
- package/dist/models/account-mapping-class.js +40 -0
- package/dist/models/accounting-category-class.d.ts +45 -0
- package/dist/models/accounting-category-class.js +24 -0
- package/dist/models/accounting-config-class.d.ts +78 -0
- package/dist/models/accounting-config-class.js +20 -0
- package/dist/models/accounting-config-data-class.d.ts +38 -0
- package/dist/models/accounting-config-data-class.js +15 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +79 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +40 -0
- package/dist/models/accounting-config-data-dto.d.ts +38 -0
- package/dist/models/accounting-config-data-dto.js +15 -0
- package/dist/models/accounting-configuration-class.d.ts +36 -0
- package/dist/models/accounting-configuration-class.js +15 -0
- package/dist/models/booking-entry-class.d.ts +21 -0
- package/dist/models/booking-entry-class.js +9 -1
- package/dist/models/commission-account-mapping-class.d.ts +49 -0
- package/dist/models/commission-account-mapping-class.js +15 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
- package/dist/models/commission-agreement-partner-class.d.ts +30 -0
- package/dist/models/commission-agreement-partner-class.js +15 -0
- package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
- package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
- package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
- package/dist/models/commission-type-account-mapping-class.js +15 -0
- package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
- package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-response-class.js +15 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +25 -2
- package/dist/models/create-booking-entry-request-dto.js +9 -0
- package/dist/models/create-financial-account-request-dto.d.ts +50 -5
- package/dist/models/create-financial-account-request-dto.js +26 -2
- package/dist/models/create-number-range-request-dto.d.ts +4 -4
- package/dist/models/create-number-range-request-dto.js +4 -4
- package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
- package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
- package/dist/models/create-personal-account-request-dto.d.ts +14 -6
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/export-accounting-config-response-class.d.ts +25 -0
- package/dist/models/export-accounting-config-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +49 -2
- package/dist/models/financial-account-class.js +6 -2
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +11 -2
- package/dist/models/financial-transaction-data-dto.js +1 -0
- package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
- package/dist/models/get-accounting-categories-response-class.js +15 -0
- package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
- package/dist/models/get-activation-snapshot-response-class.js +15 -0
- package/dist/models/index.d.ts +47 -0
- package/dist/models/index.js +47 -0
- package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
- package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-product-account-mappings-response-class.js +15 -0
- package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
- package/dist/models/opening-balance-item-dto.d.ts +41 -0
- package/dist/models/opening-balance-item-dto.js +20 -0
- package/dist/models/personal-account-class.d.ts +8 -2
- package/dist/models/personal-account-class.js +1 -1
- package/dist/models/post-financial-event-request-dto.d.ts +45 -0
- package/dist/models/post-financial-event-request-dto.js +24 -0
- package/dist/models/post-financial-event-response-class.d.ts +25 -0
- package/dist/models/post-financial-event-response-class.js +15 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
- package/dist/models/premium-item-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-class.d.ts +61 -0
- package/dist/models/product-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +56 -0
- package/dist/models/product-account-mapping-detail-class.js +15 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
- package/dist/models/product-version-account-mapping-detail-class.js +15 -0
- package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
- package/dist/models/product-version-with-account-mappings-class.js +15 -0
- package/dist/models/product-with-account-mappings-class.d.ts +49 -0
- package/dist/models/product-with-account-mappings-class.js +15 -0
- package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-account-body-dto.js +15 -0
- package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-category-account-body-dto.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-version-category-account-body-dto.js +15 -0
- package/dist/models/resolved-account-mapping-class.d.ts +31 -0
- package/dist/models/resolved-account-mapping-class.js +15 -0
- package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
- package/dist/models/resolved-commission-account-mapping-class.js +21 -0
- package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
- package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-type-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-body-dto.d.ts +48 -0
- package/dist/models/update-financial-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-response-class.d.ts +25 -0
- package/dist/models/update-financial-account-response-class.js +15 -0
- package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
- package/dist/models/validate-accounting-config-request-dto.js +15 -0
- package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
- package/dist/models/validate-accounting-config-response-class.js +15 -0
- package/models/account-mapping-class.ts +82 -0
- package/models/accounting-category-class.ts +54 -0
- package/models/accounting-config-class.ts +87 -0
- package/models/accounting-config-data-class.ts +44 -0
- package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +88 -0
- package/models/accounting-config-data-dto.ts +44 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/booking-entry-class.ts +22 -0
- package/models/commission-account-mapping-class.ts +55 -0
- package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
- package/models/commission-agreement-partner-class.ts +36 -0
- package/models/commission-agreement-with-account-mapping-class.ts +49 -0
- package/models/commission-type-account-mapping-class.ts +37 -0
- package/models/create-and-enable-subledger-request-dto.ts +31 -0
- package/models/create-and-enable-subledger-response-class.ts +31 -0
- package/models/create-booking-entry-request-dto.ts +26 -2
- package/models/create-financial-account-request-dto.ts +49 -5
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-or-correct-opening-balance-dto.ts +31 -0
- package/models/create-or-correct-opening-balance-response-class.ts +31 -0
- package/models/create-personal-account-request-dto.ts +12 -6
- package/models/export-accounting-config-response-class.ts +31 -0
- package/models/financial-account-class.ts +50 -2
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +9 -2
- package/models/get-accounting-categories-response-class.ts +31 -0
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +47 -0
- package/models/list-commission-account-mappings-response-class.ts +49 -0
- package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
- package/models/list-commission-type-account-mappings-response-class.ts +49 -0
- package/models/list-product-account-mappings-response-class.ts +49 -0
- package/models/list-products-with-account-mappings-response-class.ts +49 -0
- package/models/opening-balance-item-dto.ts +50 -0
- package/models/personal-account-class.ts +8 -2
- package/models/post-financial-event-request-dto.ts +54 -0
- package/models/post-financial-event-response-class.ts +31 -0
- package/models/premium-item-account-mapping-class.ts +43 -0
- package/models/product-account-mapping-class.ts +67 -0
- package/models/product-account-mapping-detail-class.ts +62 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/product-version-account-mapping-detail-class.ts +56 -0
- package/models/product-version-with-account-mappings-class.ts +48 -0
- package/models/product-with-account-mappings-class.ts +55 -0
- package/models/put-premium-item-account-body-dto.ts +30 -0
- package/models/put-product-category-account-body-dto.ts +30 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- package/models/put-product-version-category-account-body-dto.ts +30 -0
- package/models/resolved-account-mapping-class.ts +37 -0
- package/models/resolved-commission-account-mapping-class.ts +46 -0
- package/models/update-commission-agreement-account-body-dto.ts +30 -0
- package/models/update-commission-type-account-body-dto.ts +30 -0
- package/models/update-financial-account-body-dto.ts +54 -0
- package/models/update-financial-account-response-class.ts +31 -0
- package/models/validate-accounting-config-request-dto.ts +31 -0
- package/models/validate-accounting-config-response-class.ts +36 -0
- package/package.json +1 -1
|
@@ -32,6 +32,12 @@ export interface FinancialTransactionDataDto {
|
|
|
32
32
|
* @memberof FinancialTransactionDataDto
|
|
33
33
|
*/
|
|
34
34
|
'personalAccountNumber'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The partner this line\'s amount belongs to. Required on a claims payable or carrier receivable line; never required elsewhere.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FinancialTransactionDataDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
/**
|
|
36
42
|
* A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
|
|
37
43
|
* @type {string}
|
|
@@ -52,10 +58,10 @@ export interface FinancialTransactionDataDto {
|
|
|
52
58
|
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
53
59
|
/**
|
|
54
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.
|
|
55
|
-
* @type {object}
|
|
61
|
+
* @type {{ [key: string]: object; }}
|
|
56
62
|
* @memberof FinancialTransactionDataDto
|
|
57
63
|
*/
|
|
58
|
-
'customFields': object;
|
|
64
|
+
'customFields'?: { [key: string]: object; };
|
|
59
65
|
/**
|
|
60
66
|
* Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
|
|
61
67
|
* @type {string}
|
|
@@ -72,6 +78,7 @@ export const FinancialTransactionDataDtoDebitCreditEnum = {
|
|
|
72
78
|
export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
|
|
73
79
|
export const FinancialTransactionDataDtoTransactionTypeEnum = {
|
|
74
80
|
OpeningBalance: 'OPENING_BALANCE',
|
|
81
|
+
OpeningBalanceCorrection: 'OPENING_BALANCE_CORRECTION',
|
|
75
82
|
Adjustment: 'ADJUSTMENT',
|
|
76
83
|
Normal: 'NORMAL'
|
|
77
84
|
} as const;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { AccountingCategoryClass } from './accounting-category-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetAccountingCategoriesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetAccountingCategoriesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of functional categories
|
|
26
|
+
* @type {Array<AccountingCategoryClass>}
|
|
27
|
+
* @memberof GetAccountingCategoriesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<AccountingCategoryClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActivationSnapshotResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActivationSnapshotResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status.
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof GetActivationSnapshotResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,15 +1,35 @@
|
|
|
1
|
+
export * from './account-mapping-class';
|
|
2
|
+
export * from './accounting-category-class';
|
|
3
|
+
export * from './accounting-config-class';
|
|
4
|
+
export * from './accounting-config-data-class';
|
|
5
|
+
export * from './accounting-config-data-dto';
|
|
6
|
+
export * from './accounting-config-data-dto-accounting-configuration';
|
|
7
|
+
export * from './accounting-config-data-dto-default-account-mappings';
|
|
8
|
+
export * from './accounting-configuration-class';
|
|
1
9
|
export * from './booking-entry-class';
|
|
10
|
+
export * from './commission-account-mapping-class';
|
|
11
|
+
export * from './commission-agreement-account-mapping-detail-class';
|
|
12
|
+
export * from './commission-agreement-partner-class';
|
|
13
|
+
export * from './commission-agreement-with-account-mapping-class';
|
|
14
|
+
export * from './commission-type-account-mapping-class';
|
|
15
|
+
export * from './create-and-enable-subledger-request-dto';
|
|
16
|
+
export * from './create-and-enable-subledger-response-class';
|
|
2
17
|
export * from './create-booking-entry-request-dto';
|
|
3
18
|
export * from './create-booking-entry-response-class';
|
|
4
19
|
export * from './create-financial-account-request-dto';
|
|
5
20
|
export * from './create-financial-account-response-class';
|
|
6
21
|
export * from './create-number-range-request-dto';
|
|
7
22
|
export * from './create-number-range-response-class';
|
|
23
|
+
export * from './create-or-correct-opening-balance-dto';
|
|
24
|
+
export * from './create-or-correct-opening-balance-response-class';
|
|
8
25
|
export * from './create-personal-account-request-dto';
|
|
9
26
|
export * from './create-personal-account-response-class';
|
|
27
|
+
export * from './export-accounting-config-response-class';
|
|
10
28
|
export * from './financial-account-class';
|
|
11
29
|
export * from './financial-transaction-class';
|
|
12
30
|
export * from './financial-transaction-data-dto';
|
|
31
|
+
export * from './get-accounting-categories-response-class';
|
|
32
|
+
export * from './get-activation-snapshot-response-class';
|
|
13
33
|
export * from './get-booking-entry-response-class';
|
|
14
34
|
export * from './get-financial-account-response-class';
|
|
15
35
|
export * from './get-financial-transaction-response-class';
|
|
@@ -18,9 +38,36 @@ export * from './get-personal-account-response-class';
|
|
|
18
38
|
export * from './inline-response200';
|
|
19
39
|
export * from './inline-response503';
|
|
20
40
|
export * from './list-booking-entries-response-class';
|
|
41
|
+
export * from './list-commission-account-mappings-response-class';
|
|
42
|
+
export * from './list-commission-agreements-with-account-mappings-response-class';
|
|
43
|
+
export * from './list-commission-type-account-mappings-response-class';
|
|
21
44
|
export * from './list-financial-accounts-response-class';
|
|
22
45
|
export * from './list-financial-transactions-response-class';
|
|
23
46
|
export * from './list-number-range-response-class';
|
|
24
47
|
export * from './list-personal-accounts-response-class';
|
|
48
|
+
export * from './list-product-account-mappings-response-class';
|
|
49
|
+
export * from './list-products-with-account-mappings-response-class';
|
|
25
50
|
export * from './number-range-class';
|
|
51
|
+
export * from './opening-balance-item-dto';
|
|
26
52
|
export * from './personal-account-class';
|
|
53
|
+
export * from './post-financial-event-request-dto';
|
|
54
|
+
export * from './post-financial-event-response-class';
|
|
55
|
+
export * from './premium-item-account-mapping-class';
|
|
56
|
+
export * from './product-account-mapping-class';
|
|
57
|
+
export * from './product-account-mapping-detail-class';
|
|
58
|
+
export * from './product-risk-carrier-class';
|
|
59
|
+
export * from './product-version-account-mapping-detail-class';
|
|
60
|
+
export * from './product-version-with-account-mappings-class';
|
|
61
|
+
export * from './product-with-account-mappings-class';
|
|
62
|
+
export * from './put-premium-item-account-body-dto';
|
|
63
|
+
export * from './put-product-category-account-body-dto';
|
|
64
|
+
export * from './put-product-risk-carrier-body-dto';
|
|
65
|
+
export * from './put-product-version-category-account-body-dto';
|
|
66
|
+
export * from './resolved-account-mapping-class';
|
|
67
|
+
export * from './resolved-commission-account-mapping-class';
|
|
68
|
+
export * from './update-commission-agreement-account-body-dto';
|
|
69
|
+
export * from './update-commission-type-account-body-dto';
|
|
70
|
+
export * from './update-financial-account-body-dto';
|
|
71
|
+
export * from './update-financial-account-response-class';
|
|
72
|
+
export * from './validate-accounting-config-request-dto';
|
|
73
|
+
export * from './validate-accounting-config-response-class';
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAccountMappingClass } from './commission-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAgreementWithAccountMappingClass } from './commission-agreement-with-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAgreementsWithAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionAgreementWithAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionAgreementWithAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionTypeAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionTypeAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionTypeAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionTypeAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ProductAccountMappingClass } from './product-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ProductAccountMappingClass>}
|
|
45
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ProductAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ProductWithAccountMappingsClass } from './product-with-account-mappings-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductsWithAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductsWithAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage'?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ProductWithAccountMappingsClass>}
|
|
45
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ProductWithAccountMappingsClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface OpeningBalanceItemDto
|
|
21
|
+
*/
|
|
22
|
+
export interface OpeningBalanceItemDto {
|
|
23
|
+
/**
|
|
24
|
+
* The financial account this opening balance is entered or restated for.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof OpeningBalanceItemDto
|
|
27
|
+
*/
|
|
28
|
+
'financialAccountNumber': string;
|
|
29
|
+
/**
|
|
30
|
+
* The confirmed opening balance amount, expressed as a non-negative integer in the smallest currency unit (e.g. cents) — NOT a delta. Direction is carried separately by debitCredit, never by sign. Zero is meaningful: an account with no history and a confirmed balance of zero needs no entry (nothing is booked), and one that already has history can be restated down to exactly zero, which a nonzero-to-zero correction has no other way to express.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof OpeningBalanceItemDto
|
|
33
|
+
*/
|
|
34
|
+
'amountInCents': number;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the opening balance sits on the debit or credit side of the account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof OpeningBalanceItemDto
|
|
39
|
+
*/
|
|
40
|
+
'debitCredit': OpeningBalanceItemDtoDebitCreditEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const OpeningBalanceItemDtoDebitCreditEnum = {
|
|
44
|
+
Debit: 'DEBIT',
|
|
45
|
+
Credit: 'CREDIT'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type OpeningBalanceItemDtoDebitCreditEnum = typeof OpeningBalanceItemDtoDebitCreditEnum[keyof typeof OpeningBalanceItemDtoDebitCreditEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -56,6 +56,12 @@ export interface PersonalAccountClass {
|
|
|
56
56
|
* @memberof PersonalAccountClass
|
|
57
57
|
*/
|
|
58
58
|
'partnerNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The partner code of the account
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PersonalAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'partnerCode': string;
|
|
59
65
|
/**
|
|
60
66
|
* The entity code of the account (account code, bank account code, etc...).
|
|
61
67
|
* @type {string}
|
|
@@ -63,7 +69,7 @@ export interface PersonalAccountClass {
|
|
|
63
69
|
*/
|
|
64
70
|
'entityCode'?: string;
|
|
65
71
|
/**
|
|
66
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
72
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
|
|
67
73
|
* @type {string}
|
|
68
74
|
* @memberof PersonalAccountClass
|
|
69
75
|
*/
|
|
@@ -104,7 +110,7 @@ export const PersonalAccountClassTypeEnum = {
|
|
|
104
110
|
Asset: 'asset',
|
|
105
111
|
Liability: 'liability',
|
|
106
112
|
Equity: 'equity',
|
|
107
|
-
|
|
113
|
+
Income: 'income',
|
|
108
114
|
Expense: 'expense',
|
|
109
115
|
OpeningBalance: 'opening_balance'
|
|
110
116
|
} as const;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PostFinancialEventRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PostFinancialEventRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The kind of source entity to post a booking entry for. Each kind is posted through the same flow its domain event goes through.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PostFinancialEventRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit, credit allocation, commission or claim regulation code.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PostFinancialEventRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'sourceEntityCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment, credit allocation or claim regulation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy, and not accepted for a commission, which names its own recipient.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PostFinancialEventRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const PostFinancialEventRequestDtoSourceEntityTypeEnum = {
|
|
44
|
+
Invoice: 'invoice',
|
|
45
|
+
Payment: 'payment',
|
|
46
|
+
Credit: 'credit',
|
|
47
|
+
CreditAllocation: 'credit_allocation',
|
|
48
|
+
ClaimRegulation: 'claim_regulation',
|
|
49
|
+
Commission: 'commission'
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 PostFinancialEventResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PostFinancialEventResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Every booking entry the posting wrote, in posting order. A payment settlement that releases premium tax writes a second entry.
|
|
26
|
+
* @type {Array<BookingEntryClass>}
|
|
27
|
+
* @memberof PostFinancialEventResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bookingEntries': Array<BookingEntryClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PremiumItemAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PremiumItemAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PremiumItemAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PremiumItemAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'premiumFormulaName': string;
|
|
36
|
+
/**
|
|
37
|
+
* The accounts assigned to this item: 1 entry (unconfigured, or VAT/revenue-classified) or 2 (tax: pending + due), never one-per-eligible-category. Each entry\'s own financialAccount.functionalCategory determines which leg it is — array order is not meaningful, select an entry by functionalCategory, never by position.
|
|
38
|
+
* @type {Array<ResolvedAccountMappingClass>}
|
|
39
|
+
* @memberof PremiumItemAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
42
|
+
}
|
|
43
|
+
|