@emilgroup/accounting-sdk-node 1.27.1-beta.22 → 1.27.1-beta.24

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 (23) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/dist/models/create-accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  4. package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
  5. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
  6. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
  7. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
  8. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
  9. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
  10. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
  11. package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
  12. package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
  13. package/dist/models/create-accounting-config-data-dto.d.ts +12 -9
  14. package/dist/models/index.d.ts +5 -0
  15. package/dist/models/index.js +5 -0
  16. package/models/create-accounting-config-data-dto-accounting-configuration.ts +56 -0
  17. package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
  18. package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
  19. package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
  20. package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
  21. package/models/create-accounting-config-data-dto.ts +12 -9
  22. package/models/index.ts +5 -0
  23. package/package.json +1 -1
@@ -21,6 +21,11 @@ models/accounting-configuration-class.ts
21
21
  models/booking-entry-class.ts
22
22
  models/chart-of-accounts-config-class.ts
23
23
  models/chart-of-accounts-item-class.ts
24
+ models/create-accounting-config-data-dto-accounting-configuration.ts
25
+ models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts
26
+ models/create-accounting-config-data-dto-chart-of-accounts-config.ts
27
+ models/create-accounting-config-data-dto-opening-balances-opening-balances.ts
28
+ models/create-accounting-config-data-dto-opening-balances.ts
24
29
  models/create-accounting-config-data-dto.ts
25
30
  models/create-accounting-config-request-dto.ts
26
31
  models/create-accounting-config-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/accounting-sdk-node@1.27.1-beta.22 --save
20
+ npm install @emilgroup/accounting-sdk-node@1.27.1-beta.24 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk-node@1.27.1-beta.22
24
+ yarn add @emilgroup/accounting-sdk-node@1.27.1-beta.24
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -0,0 +1,46 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The accounting configuration
14
+ * @export
15
+ * @interface CreateAccountingConfigDataDtoAccountingConfiguration
16
+ */
17
+ export interface CreateAccountingConfigDataDtoAccountingConfiguration {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
22
+ */
23
+ 'settlementRecognitionMode': CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
28
+ */
29
+ 'defaultTaxHandling': CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
37
+ export declare const CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum: {
38
+ readonly Soll: "SOLL";
39
+ readonly Ist: "IST";
40
+ };
41
+ export type CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
42
+ export declare const CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum: {
43
+ readonly CarrierPays: "CARRIER_PAYS";
44
+ readonly MgaPays: "MGA_PAYS";
45
+ };
46
+ export type CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
@@ -0,0 +1,24 @@
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.CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = exports.CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = void 0;
17
+ exports.CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
18
+ Soll: 'SOLL',
19
+ Ist: 'IST'
20
+ };
21
+ exports.CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
22
+ CarrierPays: 'CARRIER_PAYS',
23
+ MgaPays: 'MGA_PAYS'
24
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateAccountingConfigDataDtoChartOfAccountsConfigItems
16
+ */
17
+ export interface CreateAccountingConfigDataDtoChartOfAccountsConfigItems {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
22
+ */
23
+ 'category': CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
28
+ */
29
+ 'label': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
34
+ */
35
+ 'financialAccountNumber': string;
36
+ }
37
+ export declare const CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum: {
38
+ readonly BankAcc: "bank_acc";
39
+ readonly TaxPendingAcc: "tax_pending_acc";
40
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
41
+ readonly TaxDueAcc: "tax_due_acc";
42
+ readonly VatPendingAcc: "vat_pending_acc";
43
+ readonly VatDueAcc: "vat_due_acc";
44
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
45
+ readonly RevenueFinalAcc: "revenue_final_acc";
46
+ readonly ClaimExpenseAcc: "claim_expense_acc";
47
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
48
+ readonly WriteOffExpAcc: "write_off_exp_acc";
49
+ readonly RoundingDiffAcc: "rounding_diff_acc";
50
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
51
+ readonly FeeRevenueAccAcc: "fee_revenue_acc_acc";
52
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
53
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
54
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
55
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
56
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
57
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
58
+ };
59
+ export type CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum[keyof typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum];
@@ -0,0 +1,38 @@
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.CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = void 0;
17
+ exports.CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = {
18
+ BankAcc: 'bank_acc',
19
+ TaxPendingAcc: 'tax_pending_acc',
20
+ TaxForwardedAcc: 'tax_forwarded_acc',
21
+ TaxDueAcc: 'tax_due_acc',
22
+ VatPendingAcc: 'vat_pending_acc',
23
+ VatDueAcc: 'vat_due_acc',
24
+ RevenueBufferAcc: 'revenue_buffer_acc',
25
+ RevenueFinalAcc: 'revenue_final_acc',
26
+ ClaimExpenseAcc: 'claim_expense_acc',
27
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
28
+ WriteOffExpAcc: 'write_off_exp_acc',
29
+ RoundingDiffAcc: 'rounding_diff_acc',
30
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
31
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
32
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
33
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
34
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
+ BrokerCtrlAcc: 'broker_ctrl_acc',
36
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
38
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CreateAccountingConfigDataDtoChartOfAccountsConfigItems } from './create-accounting-config-data-dto-chart-of-accounts-config-items';
13
+ /**
14
+ * The chart of accounts configuration
15
+ * @export
16
+ * @interface CreateAccountingConfigDataDtoChartOfAccountsConfig
17
+ */
18
+ export interface CreateAccountingConfigDataDtoChartOfAccountsConfig {
19
+ /**
20
+ *
21
+ * @type {Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>}
22
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfig
23
+ */
24
+ 'items': Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>;
25
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,65 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
16
+ */
17
+ export interface CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
22
+ */
23
+ 'category': CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
28
+ */
29
+ 'financialAccountNumber': string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
34
+ */
35
+ 'creditAmountInCents': number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
40
+ */
41
+ 'debitAmountInCents': number;
42
+ }
43
+ export declare const CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum: {
44
+ readonly BankAcc: "bank_acc";
45
+ readonly TaxPendingAcc: "tax_pending_acc";
46
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
47
+ readonly TaxDueAcc: "tax_due_acc";
48
+ readonly VatPendingAcc: "vat_pending_acc";
49
+ readonly VatDueAcc: "vat_due_acc";
50
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
51
+ readonly RevenueFinalAcc: "revenue_final_acc";
52
+ readonly ClaimExpenseAcc: "claim_expense_acc";
53
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
54
+ readonly WriteOffExpAcc: "write_off_exp_acc";
55
+ readonly RoundingDiffAcc: "rounding_diff_acc";
56
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
57
+ readonly FeeRevenueAccAcc: "fee_revenue_acc_acc";
58
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
59
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
60
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
61
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
62
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
63
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
64
+ };
65
+ export type CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum[keyof typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum];
@@ -0,0 +1,38 @@
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.CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = void 0;
17
+ exports.CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = {
18
+ BankAcc: 'bank_acc',
19
+ TaxPendingAcc: 'tax_pending_acc',
20
+ TaxForwardedAcc: 'tax_forwarded_acc',
21
+ TaxDueAcc: 'tax_due_acc',
22
+ VatPendingAcc: 'vat_pending_acc',
23
+ VatDueAcc: 'vat_due_acc',
24
+ RevenueBufferAcc: 'revenue_buffer_acc',
25
+ RevenueFinalAcc: 'revenue_final_acc',
26
+ ClaimExpenseAcc: 'claim_expense_acc',
27
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
28
+ WriteOffExpAcc: 'write_off_exp_acc',
29
+ RoundingDiffAcc: 'rounding_diff_acc',
30
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
31
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
32
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
33
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
34
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
+ BrokerCtrlAcc: 'broker_ctrl_acc',
36
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
38
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances } from './create-accounting-config-data-dto-opening-balances-opening-balances';
13
+ /**
14
+ * The opening balances
15
+ * @export
16
+ * @interface CreateAccountingConfigDataDtoOpeningBalances
17
+ */
18
+ export interface CreateAccountingConfigDataDtoOpeningBalances {
19
+ /**
20
+ *
21
+ * @type {Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>}
22
+ * @memberof CreateAccountingConfigDataDtoOpeningBalances
23
+ */
24
+ 'openingBalances': Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>;
25
+ }
@@ -0,0 +1,15 @@
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 });
@@ -9,6 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CreateAccountingConfigDataDtoAccountingConfiguration } from './create-accounting-config-data-dto-accounting-configuration';
13
+ import { CreateAccountingConfigDataDtoChartOfAccountsConfig } from './create-accounting-config-data-dto-chart-of-accounts-config';
14
+ import { CreateAccountingConfigDataDtoOpeningBalances } from './create-accounting-config-data-dto-opening-balances';
12
15
  /**
13
16
  *
14
17
  * @export
@@ -22,21 +25,21 @@ export interface CreateAccountingConfigDataDto {
22
25
  */
23
26
  'activationDate'?: string;
24
27
  /**
25
- * The chart of accounts configuration
26
- * @type {object}
28
+ *
29
+ * @type {CreateAccountingConfigDataDtoChartOfAccountsConfig}
27
30
  * @memberof CreateAccountingConfigDataDto
28
31
  */
29
- 'chartOfAccountsConfig'?: object;
32
+ 'chartOfAccountsConfig'?: CreateAccountingConfigDataDtoChartOfAccountsConfig;
30
33
  /**
31
- * The accounting configuration
32
- * @type {object}
34
+ *
35
+ * @type {CreateAccountingConfigDataDtoAccountingConfiguration}
33
36
  * @memberof CreateAccountingConfigDataDto
34
37
  */
35
- 'accountingConfiguration'?: object;
38
+ 'accountingConfiguration'?: CreateAccountingConfigDataDtoAccountingConfiguration;
36
39
  /**
37
- * The opening balances
38
- * @type {object}
40
+ *
41
+ * @type {CreateAccountingConfigDataDtoOpeningBalances}
39
42
  * @memberof CreateAccountingConfigDataDto
40
43
  */
41
- 'openingBalances'?: object;
44
+ 'openingBalances'?: CreateAccountingConfigDataDtoOpeningBalances;
42
45
  }
@@ -5,6 +5,11 @@ export * from './booking-entry-class';
5
5
  export * from './chart-of-accounts-config-class';
6
6
  export * from './chart-of-accounts-item-class';
7
7
  export * from './create-accounting-config-data-dto';
8
+ export * from './create-accounting-config-data-dto-accounting-configuration';
9
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config';
10
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config-items';
11
+ export * from './create-accounting-config-data-dto-opening-balances';
12
+ export * from './create-accounting-config-data-dto-opening-balances-opening-balances';
8
13
  export * from './create-accounting-config-request-dto';
9
14
  export * from './create-accounting-config-response-class';
10
15
  export * from './create-booking-entry-request-dto';
@@ -21,6 +21,11 @@ __exportStar(require("./booking-entry-class"), exports);
21
21
  __exportStar(require("./chart-of-accounts-config-class"), exports);
22
22
  __exportStar(require("./chart-of-accounts-item-class"), exports);
23
23
  __exportStar(require("./create-accounting-config-data-dto"), exports);
24
+ __exportStar(require("./create-accounting-config-data-dto-accounting-configuration"), exports);
25
+ __exportStar(require("./create-accounting-config-data-dto-chart-of-accounts-config"), exports);
26
+ __exportStar(require("./create-accounting-config-data-dto-chart-of-accounts-config-items"), exports);
27
+ __exportStar(require("./create-accounting-config-data-dto-opening-balances"), exports);
28
+ __exportStar(require("./create-accounting-config-data-dto-opening-balances-opening-balances"), exports);
24
29
  __exportStar(require("./create-accounting-config-request-dto"), exports);
25
30
  __exportStar(require("./create-accounting-config-response-class"), exports);
26
31
  __exportStar(require("./create-booking-entry-request-dto"), exports);
@@ -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 CreateAccountingConfigDataDtoAccountingConfiguration
21
+ */
22
+ export interface CreateAccountingConfigDataDtoAccountingConfiguration {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
27
+ */
28
+ 'settlementRecognitionMode': CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
33
+ */
34
+ 'defaultTaxHandling': CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
39
+ */
40
+ 'toleranceAmountInCents': number;
41
+ }
42
+
43
+ export const CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
44
+ Soll: 'SOLL',
45
+ Ist: 'IST'
46
+ } as const;
47
+
48
+ export type CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
49
+ export const CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
50
+ CarrierPays: 'CARRIER_PAYS',
51
+ MgaPays: 'MGA_PAYS'
52
+ } as const;
53
+
54
+ export type CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
55
+
56
+
@@ -0,0 +1,68 @@
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 CreateAccountingConfigDataDtoChartOfAccountsConfigItems
21
+ */
22
+ export interface CreateAccountingConfigDataDtoChartOfAccountsConfigItems {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
27
+ */
28
+ 'category': CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
33
+ */
34
+ 'label': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
39
+ */
40
+ 'financialAccountNumber': string;
41
+ }
42
+
43
+ export const CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = {
44
+ BankAcc: 'bank_acc',
45
+ TaxPendingAcc: 'tax_pending_acc',
46
+ TaxForwardedAcc: 'tax_forwarded_acc',
47
+ TaxDueAcc: 'tax_due_acc',
48
+ VatPendingAcc: 'vat_pending_acc',
49
+ VatDueAcc: 'vat_due_acc',
50
+ RevenueBufferAcc: 'revenue_buffer_acc',
51
+ RevenueFinalAcc: 'revenue_final_acc',
52
+ ClaimExpenseAcc: 'claim_expense_acc',
53
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
54
+ WriteOffExpAcc: 'write_off_exp_acc',
55
+ RoundingDiffAcc: 'rounding_diff_acc',
56
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
57
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
58
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
59
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
60
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
61
+ BrokerCtrlAcc: 'broker_ctrl_acc',
62
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
63
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
64
+ } as const;
65
+
66
+ export type CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum[keyof typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum];
67
+
68
+
@@ -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 { CreateAccountingConfigDataDtoChartOfAccountsConfigItems } from './create-accounting-config-data-dto-chart-of-accounts-config-items';
17
+
18
+ /**
19
+ * The chart of accounts configuration
20
+ * @export
21
+ * @interface CreateAccountingConfigDataDtoChartOfAccountsConfig
22
+ */
23
+ export interface CreateAccountingConfigDataDtoChartOfAccountsConfig {
24
+ /**
25
+ *
26
+ * @type {Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>}
27
+ * @memberof CreateAccountingConfigDataDtoChartOfAccountsConfig
28
+ */
29
+ 'items': Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>;
30
+ }
31
+
@@ -0,0 +1,74 @@
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 CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
21
+ */
22
+ export interface CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
27
+ */
28
+ 'category': CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
33
+ */
34
+ 'financialAccountNumber': string;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
39
+ */
40
+ 'creditAmountInCents': number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
45
+ */
46
+ 'debitAmountInCents': number;
47
+ }
48
+
49
+ export const CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = {
50
+ BankAcc: 'bank_acc',
51
+ TaxPendingAcc: 'tax_pending_acc',
52
+ TaxForwardedAcc: 'tax_forwarded_acc',
53
+ TaxDueAcc: 'tax_due_acc',
54
+ VatPendingAcc: 'vat_pending_acc',
55
+ VatDueAcc: 'vat_due_acc',
56
+ RevenueBufferAcc: 'revenue_buffer_acc',
57
+ RevenueFinalAcc: 'revenue_final_acc',
58
+ ClaimExpenseAcc: 'claim_expense_acc',
59
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
60
+ WriteOffExpAcc: 'write_off_exp_acc',
61
+ RoundingDiffAcc: 'rounding_diff_acc',
62
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
63
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
64
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
65
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
66
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
67
+ BrokerCtrlAcc: 'broker_ctrl_acc',
68
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
69
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
70
+ } as const;
71
+
72
+ export type CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum[keyof typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum];
73
+
74
+
@@ -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 { CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances } from './create-accounting-config-data-dto-opening-balances-opening-balances';
17
+
18
+ /**
19
+ * The opening balances
20
+ * @export
21
+ * @interface CreateAccountingConfigDataDtoOpeningBalances
22
+ */
23
+ export interface CreateAccountingConfigDataDtoOpeningBalances {
24
+ /**
25
+ *
26
+ * @type {Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>}
27
+ * @memberof CreateAccountingConfigDataDtoOpeningBalances
28
+ */
29
+ 'openingBalances': Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>;
30
+ }
31
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CreateAccountingConfigDataDtoAccountingConfiguration } from './create-accounting-config-data-dto-accounting-configuration';
17
+ import { CreateAccountingConfigDataDtoChartOfAccountsConfig } from './create-accounting-config-data-dto-chart-of-accounts-config';
18
+ import { CreateAccountingConfigDataDtoOpeningBalances } from './create-accounting-config-data-dto-opening-balances';
16
19
 
17
20
  /**
18
21
  *
@@ -27,22 +30,22 @@ export interface CreateAccountingConfigDataDto {
27
30
  */
28
31
  'activationDate'?: string;
29
32
  /**
30
- * The chart of accounts configuration
31
- * @type {object}
33
+ *
34
+ * @type {CreateAccountingConfigDataDtoChartOfAccountsConfig}
32
35
  * @memberof CreateAccountingConfigDataDto
33
36
  */
34
- 'chartOfAccountsConfig'?: object;
37
+ 'chartOfAccountsConfig'?: CreateAccountingConfigDataDtoChartOfAccountsConfig;
35
38
  /**
36
- * The accounting configuration
37
- * @type {object}
39
+ *
40
+ * @type {CreateAccountingConfigDataDtoAccountingConfiguration}
38
41
  * @memberof CreateAccountingConfigDataDto
39
42
  */
40
- 'accountingConfiguration'?: object;
43
+ 'accountingConfiguration'?: CreateAccountingConfigDataDtoAccountingConfiguration;
41
44
  /**
42
- * The opening balances
43
- * @type {object}
45
+ *
46
+ * @type {CreateAccountingConfigDataDtoOpeningBalances}
44
47
  * @memberof CreateAccountingConfigDataDto
45
48
  */
46
- 'openingBalances'?: object;
49
+ 'openingBalances'?: CreateAccountingConfigDataDtoOpeningBalances;
47
50
  }
48
51
 
package/models/index.ts CHANGED
@@ -5,6 +5,11 @@ export * from './booking-entry-class';
5
5
  export * from './chart-of-accounts-config-class';
6
6
  export * from './chart-of-accounts-item-class';
7
7
  export * from './create-accounting-config-data-dto';
8
+ export * from './create-accounting-config-data-dto-accounting-configuration';
9
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config';
10
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config-items';
11
+ export * from './create-accounting-config-data-dto-opening-balances';
12
+ export * from './create-accounting-config-data-dto-opening-balances-opening-balances';
8
13
  export * from './create-accounting-config-request-dto';
9
14
  export * from './create-accounting-config-response-class';
10
15
  export * from './create-booking-entry-request-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.27.1-beta.22",
3
+ "version": "1.27.1-beta.24",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [