@emilgroup/accounting-sdk-node 1.27.1-beta.3 → 1.27.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 (102) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +1234 -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 +671 -0
  8. package/dist/api/accounting-configs-api.js +1125 -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-category-class.d.ts +45 -0
  16. package/dist/models/accounting-category-class.js +24 -0
  17. package/dist/models/accounting-config-class.d.ts +67 -0
  18. package/dist/models/accounting-config-class.js +15 -0
  19. package/dist/models/accounting-config-data-class.d.ts +45 -0
  20. package/dist/models/accounting-config-data-class.js +15 -0
  21. package/dist/models/accounting-configuration-class.d.ts +36 -0
  22. package/dist/models/accounting-configuration-class.js +15 -0
  23. package/dist/models/chart-of-accounts-config-class.d.ts +25 -0
  24. package/dist/models/chart-of-accounts-config-class.js +15 -0
  25. package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
  26. package/dist/models/chart-of-accounts-item-class.js +38 -0
  27. package/dist/models/create-accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  28. package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
  29. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
  30. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
  31. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
  32. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
  33. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
  34. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
  35. package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
  36. package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
  37. package/dist/models/create-accounting-config-data-dto.d.ts +45 -0
  38. package/dist/models/create-accounting-config-data-dto.js +15 -0
  39. package/dist/models/create-accounting-config-request-dto.d.ts +31 -0
  40. package/dist/models/create-accounting-config-request-dto.js +15 -0
  41. package/dist/models/create-accounting-config-response-class.d.ts +25 -0
  42. package/dist/models/create-accounting-config-response-class.js +15 -0
  43. package/dist/models/create-financial-account-request-dto.d.ts +36 -1
  44. package/dist/models/create-financial-account-request-dto.js +24 -2
  45. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  46. package/dist/models/create-number-range-request-dto.js +4 -4
  47. package/dist/models/create-personal-account-request-dto.d.ts +10 -4
  48. package/dist/models/create-personal-account-request-dto.js +3 -3
  49. package/dist/models/financial-account-class.d.ts +20 -2
  50. package/dist/models/financial-account-class.js +1 -1
  51. package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
  52. package/dist/models/get-accounting-categories-response-class.js +15 -0
  53. package/dist/models/get-accounting-config-response-class.d.ts +25 -0
  54. package/dist/models/get-accounting-config-response-class.js +15 -0
  55. package/dist/models/index.d.ts +23 -0
  56. package/dist/models/index.js +23 -0
  57. package/dist/models/inline-object2.d.ts +24 -0
  58. package/dist/models/inline-object2.js +15 -0
  59. package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
  60. package/dist/models/list-accounting-configs-response-class.js +15 -0
  61. package/dist/models/opening-balance-class.d.ts +65 -0
  62. package/dist/models/opening-balance-class.js +38 -0
  63. package/dist/models/opening-balances-class.d.ts +25 -0
  64. package/dist/models/opening-balances-class.js +15 -0
  65. package/dist/models/personal-account-class.d.ts +8 -2
  66. package/dist/models/personal-account-class.js +1 -1
  67. package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
  68. package/dist/models/update-chart-of-accounts-response-class.js +15 -0
  69. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  70. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  71. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  72. package/dist/models/validate-accounting-config-response-class.js +15 -0
  73. package/models/accounting-category-class.ts +54 -0
  74. package/models/accounting-config-class.ts +73 -0
  75. package/models/accounting-config-data-class.ts +51 -0
  76. package/models/accounting-configuration-class.ts +42 -0
  77. package/models/chart-of-accounts-config-class.ts +31 -0
  78. package/models/chart-of-accounts-item-class.ts +80 -0
  79. package/models/create-accounting-config-data-dto-accounting-configuration.ts +56 -0
  80. package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
  81. package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
  82. package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
  83. package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
  84. package/models/create-accounting-config-data-dto.ts +51 -0
  85. package/models/create-accounting-config-request-dto.ts +37 -0
  86. package/models/create-accounting-config-response-class.ts +31 -0
  87. package/models/create-financial-account-request-dto.ts +37 -1
  88. package/models/create-number-range-request-dto.ts +4 -4
  89. package/models/create-personal-account-request-dto.ts +10 -4
  90. package/models/financial-account-class.ts +20 -2
  91. package/models/get-accounting-categories-response-class.ts +31 -0
  92. package/models/get-accounting-config-response-class.ts +31 -0
  93. package/models/index.ts +23 -0
  94. package/models/inline-object2.ts +30 -0
  95. package/models/list-accounting-configs-response-class.ts +49 -0
  96. package/models/opening-balance-class.ts +74 -0
  97. package/models/opening-balances-class.ts +31 -0
  98. package/models/personal-account-class.ts +8 -2
  99. package/models/update-chart-of-accounts-response-class.ts +31 -0
  100. package/models/validate-accounting-config-request-dto.ts +31 -0
  101. package/models/validate-accounting-config-response-class.ts +36 -0
  102. package/package.json +2 -2
@@ -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
  };
@@ -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 { AccountingCategoryClass } from './accounting-category-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetAccountingCategoriesResponseClass
17
+ */
18
+ export interface GetAccountingCategoriesResponseClass {
19
+ /**
20
+ * The list of functional categories
21
+ * @type {Array<AccountingCategoryClass>}
22
+ * @memberof GetAccountingCategoriesResponseClass
23
+ */
24
+ 'items': Array<AccountingCategoryClass>;
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,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 GetAccountingConfigResponseClass
17
+ */
18
+ export interface GetAccountingConfigResponseClass {
19
+ /**
20
+ * The accounting configuration details
21
+ * @type {AccountingConfigClass}
22
+ * @memberof GetAccountingConfigResponseClass
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 });
@@ -1,4 +1,18 @@
1
+ export * from './accounting-category-class';
2
+ export * from './accounting-config-class';
3
+ export * from './accounting-config-data-class';
4
+ export * from './accounting-configuration-class';
1
5
  export * from './booking-entry-class';
6
+ export * from './chart-of-accounts-config-class';
7
+ export * from './chart-of-accounts-item-class';
8
+ export * from './create-accounting-config-data-dto';
9
+ export * from './create-accounting-config-data-dto-accounting-configuration';
10
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config';
11
+ export * from './create-accounting-config-data-dto-chart-of-accounts-config-items';
12
+ export * from './create-accounting-config-data-dto-opening-balances';
13
+ export * from './create-accounting-config-data-dto-opening-balances-opening-balances';
14
+ export * from './create-accounting-config-request-dto';
15
+ export * from './create-accounting-config-response-class';
2
16
  export * from './create-booking-entry-request-dto';
3
17
  export * from './create-booking-entry-response-class';
4
18
  export * from './create-financial-account-request-dto';
@@ -10,17 +24,26 @@ export * from './create-personal-account-response-class';
10
24
  export * from './financial-account-class';
11
25
  export * from './financial-transaction-class';
12
26
  export * from './financial-transaction-data-dto';
27
+ export * from './get-accounting-categories-response-class';
28
+ export * from './get-accounting-config-response-class';
13
29
  export * from './get-booking-entry-response-class';
14
30
  export * from './get-financial-account-response-class';
15
31
  export * from './get-financial-transaction-response-class';
16
32
  export * from './get-number-range-response-class';
17
33
  export * from './get-personal-account-response-class';
34
+ export * from './inline-object2';
18
35
  export * from './inline-response200';
19
36
  export * from './inline-response503';
37
+ export * from './list-accounting-configs-response-class';
20
38
  export * from './list-booking-entries-response-class';
21
39
  export * from './list-financial-accounts-response-class';
22
40
  export * from './list-financial-transactions-response-class';
23
41
  export * from './list-number-range-response-class';
24
42
  export * from './list-personal-accounts-response-class';
25
43
  export * from './number-range-class';
44
+ export * from './opening-balance-class';
45
+ export * from './opening-balances-class';
26
46
  export * from './personal-account-class';
47
+ export * from './update-chart-of-accounts-response-class';
48
+ export * from './validate-accounting-config-request-dto';
49
+ export * from './validate-accounting-config-response-class';
@@ -14,7 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./accounting-category-class"), exports);
18
+ __exportStar(require("./accounting-config-class"), exports);
19
+ __exportStar(require("./accounting-config-data-class"), exports);
20
+ __exportStar(require("./accounting-configuration-class"), exports);
17
21
  __exportStar(require("./booking-entry-class"), exports);
22
+ __exportStar(require("./chart-of-accounts-config-class"), exports);
23
+ __exportStar(require("./chart-of-accounts-item-class"), exports);
24
+ __exportStar(require("./create-accounting-config-data-dto"), exports);
25
+ __exportStar(require("./create-accounting-config-data-dto-accounting-configuration"), exports);
26
+ __exportStar(require("./create-accounting-config-data-dto-chart-of-accounts-config"), exports);
27
+ __exportStar(require("./create-accounting-config-data-dto-chart-of-accounts-config-items"), exports);
28
+ __exportStar(require("./create-accounting-config-data-dto-opening-balances"), exports);
29
+ __exportStar(require("./create-accounting-config-data-dto-opening-balances-opening-balances"), exports);
30
+ __exportStar(require("./create-accounting-config-request-dto"), exports);
31
+ __exportStar(require("./create-accounting-config-response-class"), exports);
18
32
  __exportStar(require("./create-booking-entry-request-dto"), exports);
19
33
  __exportStar(require("./create-booking-entry-response-class"), exports);
20
34
  __exportStar(require("./create-financial-account-request-dto"), exports);
@@ -26,17 +40,26 @@ __exportStar(require("./create-personal-account-response-class"), exports);
26
40
  __exportStar(require("./financial-account-class"), exports);
27
41
  __exportStar(require("./financial-transaction-class"), exports);
28
42
  __exportStar(require("./financial-transaction-data-dto"), exports);
43
+ __exportStar(require("./get-accounting-categories-response-class"), exports);
44
+ __exportStar(require("./get-accounting-config-response-class"), exports);
29
45
  __exportStar(require("./get-booking-entry-response-class"), exports);
30
46
  __exportStar(require("./get-financial-account-response-class"), exports);
31
47
  __exportStar(require("./get-financial-transaction-response-class"), exports);
32
48
  __exportStar(require("./get-number-range-response-class"), exports);
33
49
  __exportStar(require("./get-personal-account-response-class"), exports);
50
+ __exportStar(require("./inline-object2"), exports);
34
51
  __exportStar(require("./inline-response200"), exports);
35
52
  __exportStar(require("./inline-response503"), exports);
53
+ __exportStar(require("./list-accounting-configs-response-class"), exports);
36
54
  __exportStar(require("./list-booking-entries-response-class"), exports);
37
55
  __exportStar(require("./list-financial-accounts-response-class"), exports);
38
56
  __exportStar(require("./list-financial-transactions-response-class"), exports);
39
57
  __exportStar(require("./list-number-range-response-class"), exports);
40
58
  __exportStar(require("./list-personal-accounts-response-class"), exports);
41
59
  __exportStar(require("./number-range-class"), exports);
60
+ __exportStar(require("./opening-balance-class"), exports);
61
+ __exportStar(require("./opening-balances-class"), exports);
42
62
  __exportStar(require("./personal-account-class"), exports);
63
+ __exportStar(require("./update-chart-of-accounts-response-class"), exports);
64
+ __exportStar(require("./validate-accounting-config-request-dto"), exports);
65
+ __exportStar(require("./validate-accounting-config-response-class"), exports);
@@ -0,0 +1,24 @@
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 InlineObject2
16
+ */
17
+ export interface InlineObject2 {
18
+ /**
19
+ * The updated chart of accounts configuration
20
+ * @type {object}
21
+ * @memberof InlineObject2
22
+ */
23
+ 'chartOfAccountsConfig': object;
24
+ }
@@ -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,43 @@
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 ListAccountingConfigsResponseClass
17
+ */
18
+ export interface ListAccountingConfigsResponseClass {
19
+ /**
20
+ * List of accounting configurations
21
+ * @type {Array<AccountingConfigClass>}
22
+ * @memberof ListAccountingConfigsResponseClass
23
+ */
24
+ 'items': Array<AccountingConfigClass>;
25
+ /**
26
+ * The next page token
27
+ * @type {string}
28
+ * @memberof ListAccountingConfigsResponseClass
29
+ */
30
+ 'nextPageToken'?: string;
31
+ /**
32
+ * The number of items per page
33
+ * @type {number}
34
+ * @memberof ListAccountingConfigsResponseClass
35
+ */
36
+ 'itemsPerPage'?: number;
37
+ /**
38
+ * The total number of items
39
+ * @type {number}
40
+ * @memberof ListAccountingConfigsResponseClass
41
+ */
42
+ 'totalItems'?: number;
43
+ }
@@ -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 OpeningBalanceClass
16
+ */
17
+ export interface OpeningBalanceClass {
18
+ /**
19
+ * The category of the opening balance
20
+ * @type {string}
21
+ * @memberof OpeningBalanceClass
22
+ */
23
+ 'category': OpeningBalanceClassCategoryEnum;
24
+ /**
25
+ * The financial account number of the opening balance
26
+ * @type {string}
27
+ * @memberof OpeningBalanceClass
28
+ */
29
+ 'financialAccountNumber': string;
30
+ /**
31
+ * The credit amount of the opening balance
32
+ * @type {number}
33
+ * @memberof OpeningBalanceClass
34
+ */
35
+ 'creditAmountInCents': number;
36
+ /**
37
+ * The debit amount of the opening balance
38
+ * @type {number}
39
+ * @memberof OpeningBalanceClass
40
+ */
41
+ 'debitAmountInCents': number;
42
+ }
43
+ export declare const OpeningBalanceClassCategoryEnum: {
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 FeeRevenueAcc: "fee_revenue_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 OpeningBalanceClassCategoryEnum = typeof OpeningBalanceClassCategoryEnum[keyof typeof OpeningBalanceClassCategoryEnum];
@@ -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.OpeningBalanceClassCategoryEnum = void 0;
17
+ exports.OpeningBalanceClassCategoryEnum = {
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
+ FeeRevenueAcc: 'fee_revenue_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 { OpeningBalanceClass } from './opening-balance-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OpeningBalancesClass
17
+ */
18
+ export interface OpeningBalancesClass {
19
+ /**
20
+ * The opening balances details
21
+ * @type {Array<OpeningBalanceClass>}
22
+ * @memberof OpeningBalancesClass
23
+ */
24
+ 'openingBalances'?: Array<OpeningBalanceClass>;
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 });
@@ -51,6 +51,12 @@ export interface PersonalAccountClass {
51
51
  * @memberof PersonalAccountClass
52
52
  */
53
53
  'partnerNumber': string;
54
+ /**
55
+ * The partner code of the account
56
+ * @type {string}
57
+ * @memberof PersonalAccountClass
58
+ */
59
+ 'partnerCode': string;
54
60
  /**
55
61
  * The entity code of the account (account code, bank account code, etc...).
56
62
  * @type {string}
@@ -58,7 +64,7 @@ export interface PersonalAccountClass {
58
64
  */
59
65
  'entityCode'?: string;
60
66
  /**
61
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
67
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
62
68
  * @type {string}
63
69
  * @memberof PersonalAccountClass
64
70
  */
@@ -98,7 +104,7 @@ export declare const PersonalAccountClassTypeEnum: {
98
104
  readonly Asset: "asset";
99
105
  readonly Liability: "liability";
100
106
  readonly Equity: "equity";
101
- readonly Revenue: "revenue";
107
+ readonly Income: "income";
102
108
  readonly Expense: "expense";
103
109
  readonly OpeningBalance: "opening_balance";
104
110
  };
@@ -18,7 +18,7 @@ exports.PersonalAccountClassTypeEnum = {
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
  };
@@ -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 { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateChartOfAccountsResponseClass
17
+ */
18
+ export interface UpdateChartOfAccountsResponseClass {
19
+ /**
20
+ * The updated chart of accounts configuration
21
+ * @type {ChartOfAccountsConfigClass}
22
+ * @memberof UpdateChartOfAccountsResponseClass
23
+ */
24
+ 'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
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,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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ValidateAccountingConfigRequestDto
17
+ */
18
+ export interface ValidateAccountingConfigRequestDto {
19
+ /**
20
+ * The accounting config data to validate
21
+ * @type {CreateAccountingConfigDataDto}
22
+ * @memberof ValidateAccountingConfigRequestDto
23
+ */
24
+ 'accountingConfigData': CreateAccountingConfigDataDto;
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,30 @@
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 ValidateAccountingConfigResponseClass
16
+ */
17
+ export interface ValidateAccountingConfigResponseClass {
18
+ /**
19
+ * Whether the accounting config is valid
20
+ * @type {boolean}
21
+ * @memberof ValidateAccountingConfigResponseClass
22
+ */
23
+ 'isValid': boolean;
24
+ /**
25
+ * When isValid is false, a human-readable explanation of why the config is invalid
26
+ * @type {string}
27
+ * @memberof ValidateAccountingConfigResponseClass
28
+ */
29
+ 'validationMessage'?: string;
30
+ }
@@ -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 });