@emilgroup/accounting-sdk-node 1.32.1-beta.54 → 1.32.1-beta.57
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 +48 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +852 -0
- package/api/booking-entries-api.ts +214 -0
- package/api/commission-account-mappings-api.ts +1195 -0
- package/api/financial-accounts-api.ts +136 -16
- package/api/product-account-mappings-api.ts +1474 -0
- package/api.ts +6 -0
- package/dist/api/accounting-configs-api.d.ts +451 -0
- package/dist/api/accounting-configs-api.js +863 -0
- package/dist/api/booking-entries-api.d.ts +114 -0
- package/dist/api/booking-entries-api.js +186 -0
- package/dist/api/commission-account-mappings-api.d.ts +685 -0
- package/dist/api/commission-account-mappings-api.js +1008 -0
- package/dist/api/financial-accounts-api.d.ts +82 -16
- package/dist/api/financial-accounts-api.js +112 -13
- package/dist/api/product-account-mappings-api.d.ts +851 -0
- package/dist/api/product-account-mappings-api.js +1228 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/account-mapping-class.d.ts +71 -0
- package/dist/models/account-mapping-class.js +38 -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 +77 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -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 +20 -0
- package/dist/models/booking-entry-class.js +8 -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 +24 -2
- package/dist/models/create-booking-entry-request-dto.js +8 -0
- package/dist/models/create-financial-account-request-dto.d.ts +48 -5
- package/dist/models/create-financial-account-request-dto.js +24 -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-data-dto.d.ts +5 -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 +45 -0
- package/dist/models/index.js +45 -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 +44 -0
- package/dist/models/post-financial-event-request-dto.js +23 -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 +50 -0
- package/dist/models/product-account-mapping-detail-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-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 +80 -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 +86 -0
- package/models/accounting-config-data-dto.ts +44 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/booking-entry-class.ts +21 -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 +25 -2
- package/models/create-financial-account-request-dto.ts +47 -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-data-dto.ts +3 -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 +45 -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 +53 -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 +56 -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-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
|
@@ -0,0 +1,80 @@
|
|
|
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 AccountMappingClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountMappingClass {
|
|
23
|
+
/**
|
|
24
|
+
* The category of the chart of accounts that will be mapped to a financial account
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountMappingClass
|
|
27
|
+
*/
|
|
28
|
+
'functionalCategory': AccountMappingClassFunctionalCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
* A label of for the account mapping
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountMappingClass
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* The financial account number that will be mapped to the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountMappingClass
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* The credit amount in cents
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountMappingClass
|
|
45
|
+
*/
|
|
46
|
+
'creditOpeningAmountInCents': number;
|
|
47
|
+
/**
|
|
48
|
+
* The debit amount in cents
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AccountMappingClass
|
|
51
|
+
*/
|
|
52
|
+
'debitOpeningAmountInCents': number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const AccountMappingClassFunctionalCategoryEnum = {
|
|
56
|
+
BankAcc: 'bank_acc',
|
|
57
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
58
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
59
|
+
TaxDueAcc: 'tax_due_acc',
|
|
60
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
61
|
+
VatDueAcc: 'vat_due_acc',
|
|
62
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
63
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
64
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
65
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
66
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
79
|
+
|
|
80
|
+
|
|
@@ -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 AccountingCategoryClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingCategoryClass {
|
|
23
|
+
/**
|
|
24
|
+
* The functional category
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingCategoryClass
|
|
27
|
+
*/
|
|
28
|
+
'category': string;
|
|
29
|
+
/**
|
|
30
|
+
* True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof AccountingCategoryClass
|
|
33
|
+
*/
|
|
34
|
+
'isPoolCategory': boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The accounttype of the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountingCategoryClass
|
|
39
|
+
*/
|
|
40
|
+
'type': AccountingCategoryClassTypeEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const AccountingCategoryClassTypeEnum = {
|
|
44
|
+
Asset: 'asset',
|
|
45
|
+
Liability: 'liability',
|
|
46
|
+
Equity: 'equity',
|
|
47
|
+
Income: 'income',
|
|
48
|
+
Expense: 'expense',
|
|
49
|
+
OpeningBalance: 'opening_balance'
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { AccountingConfigDataClass } from './accounting-config-data-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AccountingConfigClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AccountingConfigClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AccountingConfigClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountingConfigClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* The configuration details
|
|
38
|
+
* @type {AccountingConfigDataClass}
|
|
39
|
+
* @memberof AccountingConfigClass
|
|
40
|
+
*/
|
|
41
|
+
'config'?: AccountingConfigDataClass;
|
|
42
|
+
/**
|
|
43
|
+
* Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'enablementStatus': AccountingConfigClassEnablementStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Product slug this config is scoped to; absent for the tenant default config.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AccountingConfigClass
|
|
52
|
+
*/
|
|
53
|
+
'productSlug'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the user who created the record.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AccountingConfigClass
|
|
58
|
+
*/
|
|
59
|
+
'createdBy': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who last updated the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AccountingConfigClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AccountingConfigClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AccountingConfigClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export const AccountingConfigClassEnablementStatusEnum = {
|
|
81
|
+
Pending: 'pending',
|
|
82
|
+
Complete: 'complete'
|
|
83
|
+
} as const;
|
|
84
|
+
|
|
85
|
+
export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
|
|
86
|
+
|
|
87
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AccountMappingClass } from './account-mapping-class';
|
|
17
|
+
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AccountingConfigDataClass
|
|
23
|
+
*/
|
|
24
|
+
export interface AccountingConfigDataClass {
|
|
25
|
+
/**
|
|
26
|
+
* The activation date of the accounting configuration
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccountingConfigDataClass
|
|
29
|
+
*/
|
|
30
|
+
'activationDate'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Configuration of the chart of accounts
|
|
33
|
+
* @type {Array<AccountMappingClass>}
|
|
34
|
+
* @memberof AccountingConfigDataClass
|
|
35
|
+
*/
|
|
36
|
+
'defaultAccountMappings'?: Array<AccountMappingClass>;
|
|
37
|
+
/**
|
|
38
|
+
* The accounting configuration details
|
|
39
|
+
* @type {AccountingConfigurationClass}
|
|
40
|
+
* @memberof AccountingConfigDataClass
|
|
41
|
+
*/
|
|
42
|
+
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* The accounting configuration
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AccountingConfigDataDtoAccountingConfiguration
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigDataDtoAccountingConfiguration {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
27
|
+
*/
|
|
28
|
+
'settlementRecognitionMode': AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
33
|
+
*/
|
|
34
|
+
'defaultTaxHandling': AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
39
|
+
*/
|
|
40
|
+
'toleranceAmountInCents': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
|
|
44
|
+
Soll: 'SOLL',
|
|
45
|
+
Ist: 'IST'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
|
|
49
|
+
export const AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
|
|
50
|
+
CarrierPays: 'CARRIER_PAYS',
|
|
51
|
+
MgaPays: 'MGA_PAYS'
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export type AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 AccountingConfigDataDtoDefaultAccountMappings
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigDataDtoDefaultAccountMappings {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
27
|
+
*/
|
|
28
|
+
'functionalCategory': AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
45
|
+
*/
|
|
46
|
+
'creditOpeningAmountInCents': number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
51
|
+
*/
|
|
52
|
+
'debitOpeningAmountInCents': number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
57
|
+
*/
|
|
58
|
+
'bankAccountCode'?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
62
|
+
BankAcc: 'bank_acc',
|
|
63
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
64
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
65
|
+
TaxDueAcc: 'tax_due_acc',
|
|
66
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
67
|
+
VatDueAcc: 'vat_due_acc',
|
|
68
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
69
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
70
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
71
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
72
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
73
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
74
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
75
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
76
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
77
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
78
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
79
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
80
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
81
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
82
|
+
} as const;
|
|
83
|
+
|
|
84
|
+
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
85
|
+
|
|
86
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
17
|
+
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AccountingConfigDataDto
|
|
23
|
+
*/
|
|
24
|
+
export interface AccountingConfigDataDto {
|
|
25
|
+
/**
|
|
26
|
+
* The activation date of the accounting configuration
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccountingConfigDataDto
|
|
29
|
+
*/
|
|
30
|
+
'activationDate'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The chart of accounts configuration
|
|
33
|
+
* @type {Array<AccountingConfigDataDtoDefaultAccountMappings>}
|
|
34
|
+
* @memberof AccountingConfigDataDto
|
|
35
|
+
*/
|
|
36
|
+
'defaultAccountMappings': Array<AccountingConfigDataDtoDefaultAccountMappings>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AccountingConfigDataDtoAccountingConfiguration}
|
|
40
|
+
* @memberof AccountingConfigDataDto
|
|
41
|
+
*/
|
|
42
|
+
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AccountingConfigurationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigurationClass {
|
|
23
|
+
/**
|
|
24
|
+
* The mode of settlement recognition, can be \"SOLL\" or \"IST\"
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigurationClass
|
|
27
|
+
*/
|
|
28
|
+
'settlementRecognitionMode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigurationClass
|
|
33
|
+
*/
|
|
34
|
+
'defaultTaxHandling': string;
|
|
35
|
+
/**
|
|
36
|
+
* The tolerance amount in cents
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof AccountingConfigurationClass
|
|
39
|
+
*/
|
|
40
|
+
'toleranceAmountInCents': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -81,6 +81,18 @@ export interface BookingEntryClass {
|
|
|
81
81
|
* @memberof BookingEntryClass
|
|
82
82
|
*/
|
|
83
83
|
'externalNumber'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The code of the source entity this entry was posted for, such as an invoice or payment code. Always set together with sourceEntityType.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BookingEntryClass
|
|
88
|
+
*/
|
|
89
|
+
'sourceEntityCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The kind of source entity this entry was posted for. Always set together with sourceEntityCode.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BookingEntryClass
|
|
94
|
+
*/
|
|
95
|
+
'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
|
|
84
96
|
/**
|
|
85
97
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
86
98
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -128,5 +140,14 @@ export const BookingEntryClassCurrencyEnum = {
|
|
|
128
140
|
} as const;
|
|
129
141
|
|
|
130
142
|
export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
|
|
143
|
+
export const BookingEntryClassSourceEntityTypeEnum = {
|
|
144
|
+
Invoice: 'invoice',
|
|
145
|
+
Payment: 'payment',
|
|
146
|
+
Credit: 'credit',
|
|
147
|
+
CreditAllocation: 'credit_allocation',
|
|
148
|
+
Commission: 'commission'
|
|
149
|
+
} as const;
|
|
150
|
+
|
|
151
|
+
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|
|
131
152
|
|
|
132
153
|
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CommissionAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CommissionAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
* Empty string when this row is type-level (not agreement-scoped).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreementCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommissionAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'commissionType': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {FinancialAccountClass}
|
|
39
|
+
* @memberof CommissionAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'financialAccount': FinancialAccountClass;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CommissionAccountMappingClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CommissionAccountMappingClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt'?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -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
|
+
import { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
|
|
17
|
+
import { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionAgreementAccountMappingDetailClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionAgreementAccountMappingDetailClass {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
29
|
+
*/
|
|
30
|
+
'commissionAgreementCode': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
35
|
+
*/
|
|
36
|
+
'commissionAgreementNumber': string;
|
|
37
|
+
/**
|
|
38
|
+
* The agreement\'s main partner.
|
|
39
|
+
* @type {CommissionAgreementPartnerClass}
|
|
40
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
41
|
+
*/
|
|
42
|
+
'mainPartner'?: CommissionAgreementPartnerClass;
|
|
43
|
+
/**
|
|
44
|
+
* One entry per commission type that has some row (type-level or agreement-level) for this tenant.
|
|
45
|
+
* @type {Array<CommissionTypeAccountMappingClass>}
|
|
46
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
47
|
+
*/
|
|
48
|
+
'accountMappings': Array<CommissionTypeAccountMappingClass>;
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CommissionAgreementPartnerClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CommissionAgreementPartnerClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CommissionAgreementPartnerClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CommissionAgreementPartnerClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
}
|
|
36
|
+
|