@emilgroup/accounting-sdk 1.28.1-beta.3 → 1.28.1-beta.30

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 (96) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +1137 -0
  4. package/api/financial-accounts-api.ts +12 -12
  5. package/api.ts +2 -0
  6. package/base.ts +1 -0
  7. package/dist/api/accounting-configs-api.d.ts +624 -0
  8. package/dist/api/accounting-configs-api.js +1031 -0
  9. package/dist/api/financial-accounts-api.d.ts +12 -12
  10. package/dist/api/financial-accounts-api.js +9 -9
  11. package/dist/api.d.ts +1 -0
  12. package/dist/api.js +1 -0
  13. package/dist/base.d.ts +2 -1
  14. package/dist/base.js +1 -0
  15. package/dist/models/accounting-config-class.d.ts +67 -0
  16. package/dist/models/accounting-config-class.js +15 -0
  17. package/dist/models/accounting-config-data-class.d.ts +45 -0
  18. package/dist/models/accounting-config-data-class.js +15 -0
  19. package/dist/models/accounting-configuration-class.d.ts +36 -0
  20. package/dist/models/accounting-configuration-class.js +15 -0
  21. package/dist/models/chart-of-accounts-config-class.d.ts +25 -0
  22. package/dist/models/chart-of-accounts-config-class.js +15 -0
  23. package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
  24. package/dist/models/chart-of-accounts-item-class.js +38 -0
  25. package/dist/models/create-accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  26. package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
  27. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
  28. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
  29. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
  30. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
  31. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
  32. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
  33. package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
  34. package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
  35. package/dist/models/create-accounting-config-data-dto.d.ts +45 -0
  36. package/dist/models/create-accounting-config-data-dto.js +15 -0
  37. package/dist/models/create-accounting-config-request-dto.d.ts +31 -0
  38. package/dist/models/create-accounting-config-request-dto.js +15 -0
  39. package/dist/models/create-accounting-config-response-class.d.ts +25 -0
  40. package/dist/models/create-accounting-config-response-class.js +15 -0
  41. package/dist/models/create-financial-account-request-dto.d.ts +36 -1
  42. package/dist/models/create-financial-account-request-dto.js +24 -2
  43. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  44. package/dist/models/create-number-range-request-dto.js +4 -4
  45. package/dist/models/create-personal-account-request-dto.d.ts +10 -4
  46. package/dist/models/create-personal-account-request-dto.js +3 -3
  47. package/dist/models/financial-account-class.d.ts +20 -2
  48. package/dist/models/financial-account-class.js +1 -1
  49. package/dist/models/get-accounting-config-response-class.d.ts +25 -0
  50. package/dist/models/get-accounting-config-response-class.js +15 -0
  51. package/dist/models/index.d.ts +21 -0
  52. package/dist/models/index.js +21 -0
  53. package/dist/models/inline-object2.d.ts +24 -0
  54. package/dist/models/inline-object2.js +15 -0
  55. package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
  56. package/dist/models/list-accounting-configs-response-class.js +15 -0
  57. package/dist/models/opening-balance-class.d.ts +65 -0
  58. package/dist/models/opening-balance-class.js +38 -0
  59. package/dist/models/opening-balances-class.d.ts +25 -0
  60. package/dist/models/opening-balances-class.js +15 -0
  61. package/dist/models/personal-account-class.d.ts +8 -2
  62. package/dist/models/personal-account-class.js +1 -1
  63. package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
  64. package/dist/models/update-chart-of-accounts-response-class.js +15 -0
  65. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  66. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  67. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  68. package/dist/models/validate-accounting-config-response-class.js +15 -0
  69. package/models/accounting-config-class.ts +73 -0
  70. package/models/accounting-config-data-class.ts +51 -0
  71. package/models/accounting-configuration-class.ts +42 -0
  72. package/models/chart-of-accounts-config-class.ts +31 -0
  73. package/models/chart-of-accounts-item-class.ts +80 -0
  74. package/models/create-accounting-config-data-dto-accounting-configuration.ts +56 -0
  75. package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
  76. package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
  77. package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
  78. package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
  79. package/models/create-accounting-config-data-dto.ts +51 -0
  80. package/models/create-accounting-config-request-dto.ts +37 -0
  81. package/models/create-accounting-config-response-class.ts +31 -0
  82. package/models/create-financial-account-request-dto.ts +37 -1
  83. package/models/create-number-range-request-dto.ts +4 -4
  84. package/models/create-personal-account-request-dto.ts +10 -4
  85. package/models/financial-account-class.ts +20 -2
  86. package/models/get-accounting-config-response-class.ts +31 -0
  87. package/models/index.ts +21 -0
  88. package/models/inline-object2.ts +30 -0
  89. package/models/list-accounting-configs-response-class.ts +49 -0
  90. package/models/opening-balance-class.ts +74 -0
  91. package/models/opening-balances-class.ts +31 -0
  92. package/models/personal-account-class.ts +8 -2
  93. package/models/update-chart-of-accounts-response-class.ts +31 -0
  94. package/models/validate-accounting-config-request-dto.ts +31 -0
  95. package/models/validate-accounting-config-response-class.ts +36 -0
  96. package/package.json +2 -2
@@ -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 });
@@ -0,0 +1,45 @@
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 { 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';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CreateAccountingConfigDataDto
19
+ */
20
+ export interface CreateAccountingConfigDataDto {
21
+ /**
22
+ * The activation date of the accounting configuration
23
+ * @type {string}
24
+ * @memberof CreateAccountingConfigDataDto
25
+ */
26
+ 'activationDate'?: string;
27
+ /**
28
+ *
29
+ * @type {CreateAccountingConfigDataDtoChartOfAccountsConfig}
30
+ * @memberof CreateAccountingConfigDataDto
31
+ */
32
+ 'chartOfAccountsConfig'?: CreateAccountingConfigDataDtoChartOfAccountsConfig;
33
+ /**
34
+ *
35
+ * @type {CreateAccountingConfigDataDtoAccountingConfiguration}
36
+ * @memberof CreateAccountingConfigDataDto
37
+ */
38
+ 'accountingConfiguration'?: CreateAccountingConfigDataDtoAccountingConfiguration;
39
+ /**
40
+ *
41
+ * @type {CreateAccountingConfigDataDtoOpeningBalances}
42
+ * @memberof CreateAccountingConfigDataDto
43
+ */
44
+ 'openingBalances'?: CreateAccountingConfigDataDtoOpeningBalances;
45
+ }
@@ -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,31 @@
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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAccountingConfigRequestDto
17
+ */
18
+ export interface CreateAccountingConfigRequestDto {
19
+ /**
20
+ * Configuration for the accounting system.
21
+ * @type {CreateAccountingConfigDataDto}
22
+ * @memberof CreateAccountingConfigRequestDto
23
+ */
24
+ 'accountingConfigData': CreateAccountingConfigDataDto;
25
+ /**
26
+ * Product slug to scope this config to. Omit to create the tenant default config. A tenant may have at most one config per product and one default.
27
+ * @type {string}
28
+ * @memberof CreateAccountingConfigRequestDto
29
+ */
30
+ 'productSlug'?: string;
31
+ }
@@ -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,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 { AccountingConfigClass } from './accounting-config-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAccountingConfigResponseClass
17
+ */
18
+ export interface CreateAccountingConfigResponseClass {
19
+ /**
20
+ * The accounting configuration created
21
+ * @type {AccountingConfigClass}
22
+ * @memberof CreateAccountingConfigResponseClass
23
+ */
24
+ 'accountingConfig'?: AccountingConfigClass;
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 });
@@ -63,13 +63,48 @@ export interface CreateFinancialAccountRequestDto {
63
63
  * @memberof CreateFinancialAccountRequestDto
64
64
  */
65
65
  'clearable': boolean;
66
+ /**
67
+ * Whether the financial account is a control account
68
+ * @type {boolean}
69
+ * @memberof CreateFinancialAccountRequestDto
70
+ */
71
+ 'isControlAccount': boolean;
72
+ /**
73
+ * The functional category of the account. Empty string means unset.
74
+ * @type {string}
75
+ * @memberof CreateFinancialAccountRequestDto
76
+ */
77
+ 'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
66
78
  }
67
79
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
68
80
  readonly Asset: "asset";
69
81
  readonly Liability: "liability";
70
82
  readonly Equity: "equity";
71
- readonly Revenue: "revenue";
83
+ readonly Income: "income";
72
84
  readonly Expense: "expense";
73
85
  readonly OpeningBalance: "opening_balance";
74
86
  };
75
87
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
88
+ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
89
+ readonly BankAcc: "bank_acc";
90
+ readonly TaxPendingAcc: "tax_pending_acc";
91
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
92
+ readonly TaxDueAcc: "tax_due_acc";
93
+ readonly VatPendingAcc: "vat_pending_acc";
94
+ readonly VatDueAcc: "vat_due_acc";
95
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
96
+ readonly RevenueFinalAcc: "revenue_final_acc";
97
+ readonly ClaimExpenseAcc: "claim_expense_acc";
98
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
99
+ readonly WriteOffExpAcc: "write_off_exp_acc";
100
+ readonly RoundingDiffAcc: "rounding_diff_acc";
101
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
102
+ readonly FeeRevenueAccAcc: "fee_revenue_acc_acc";
103
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
104
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
105
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
106
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
107
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
108
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
109
+ };
110
+ export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
@@ -13,12 +13,34 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
16
+ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreateFinancialAccountRequestDtoTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
25
+ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
26
+ BankAcc: 'bank_acc',
27
+ TaxPendingAcc: 'tax_pending_acc',
28
+ TaxForwardedAcc: 'tax_forwarded_acc',
29
+ TaxDueAcc: 'tax_due_acc',
30
+ VatPendingAcc: 'vat_pending_acc',
31
+ VatDueAcc: 'vat_due_acc',
32
+ RevenueBufferAcc: 'revenue_buffer_acc',
33
+ RevenueFinalAcc: 'revenue_final_acc',
34
+ ClaimExpenseAcc: 'claim_expense_acc',
35
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
36
+ WriteOffExpAcc: 'write_off_exp_acc',
37
+ RoundingDiffAcc: 'rounding_diff_acc',
38
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
39
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
40
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
41
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
42
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
43
+ BrokerCtrlAcc: 'broker_ctrl_acc',
44
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
45
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
46
+ };
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
41
41
  'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
42
42
  }
43
43
  export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
44
- readonly Customer: "customer";
45
- readonly Supplier: "supplier";
46
- readonly Employee: "employee";
44
+ readonly Policyholder: "policyholder";
45
+ readonly RiskCarrier: "risk_carrier";
46
+ readonly Broker: "broker";
47
47
  readonly Asset: "asset";
48
48
  readonly Liability: "liability";
49
49
  readonly Equity: "equity";
50
- readonly Revenue: "revenue";
50
+ readonly Income: "income";
51
51
  readonly Expense: "expense";
52
52
  };
53
53
  export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
@@ -15,12 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
17
17
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee',
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker',
21
21
  Asset: 'asset',
22
22
  Liability: 'liability',
23
23
  Equity: 'equity',
24
- Revenue: 'revenue',
24
+ Income: 'income',
25
25
  Expense: 'expense'
26
26
  };
@@ -40,7 +40,13 @@ export interface CreatePersonalAccountRequestDto {
40
40
  */
41
41
  'partnerNumber': string;
42
42
  /**
43
- * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
43
+ * The partner code of the account
44
+ * @type {string}
45
+ * @memberof CreatePersonalAccountRequestDto
46
+ */
47
+ 'partnerCode': string;
48
+ /**
49
+ * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
44
50
  * @type {string}
45
51
  * @memberof CreatePersonalAccountRequestDto
46
52
  */
@@ -53,8 +59,8 @@ export interface CreatePersonalAccountRequestDto {
53
59
  'customFields'?: object;
54
60
  }
55
61
  export declare const CreatePersonalAccountRequestDtoTypeEnum: {
56
- readonly Customer: "customer";
57
- readonly Supplier: "supplier";
58
- readonly Employee: "employee";
62
+ readonly Policyholder: "policyholder";
63
+ readonly RiskCarrier: "risk_carrier";
64
+ readonly Broker: "broker";
59
65
  };
60
66
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreatePersonalAccountRequestDtoTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee'
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker'
21
21
  };
@@ -52,7 +52,7 @@ export interface FinancialAccountClass {
52
52
  */
53
53
  'partnerNumber': string;
54
54
  /**
55
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
55
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
56
56
  * @type {string}
57
57
  * @memberof FinancialAccountClass
58
58
  */
@@ -75,6 +75,24 @@ export interface FinancialAccountClass {
75
75
  * @memberof FinancialAccountClass
76
76
  */
77
77
  'clearable': boolean;
78
+ /**
79
+ * The status of the account, either \'active\' or \'inactive\'.
80
+ * @type {string}
81
+ * @memberof FinancialAccountClass
82
+ */
83
+ 'status': string;
84
+ /**
85
+ * Whether the account is a control account.
86
+ * @type {boolean}
87
+ * @memberof FinancialAccountClass
88
+ */
89
+ 'isControlAccount': boolean;
90
+ /**
91
+ * The functional category of the account. Empty string means unset.
92
+ * @type {string}
93
+ * @memberof FinancialAccountClass
94
+ */
95
+ 'functionalCategory': string;
78
96
  /**
79
97
  * Time at which the object was created.
80
98
  * @type {string}
@@ -104,7 +122,7 @@ export declare const FinancialAccountClassTypeEnum: {
104
122
  readonly Asset: "asset";
105
123
  readonly Liability: "liability";
106
124
  readonly Equity: "equity";
107
- readonly Revenue: "revenue";
125
+ readonly Income: "income";
108
126
  readonly Expense: "expense";
109
127
  readonly OpeningBalance: "opening_balance";
110
128
  };
@@ -18,7 +18,7 @@ exports.FinancialAccountClassTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };