@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,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,17 @@
1
+ export * from './accounting-config-class';
2
+ export * from './accounting-config-data-class';
3
+ export * from './accounting-configuration-class';
1
4
  export * from './booking-entry-class';
5
+ export * from './chart-of-accounts-config-class';
6
+ export * from './chart-of-accounts-item-class';
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';
13
+ export * from './create-accounting-config-request-dto';
14
+ export * from './create-accounting-config-response-class';
2
15
  export * from './create-booking-entry-request-dto';
3
16
  export * from './create-booking-entry-response-class';
4
17
  export * from './create-financial-account-request-dto';
@@ -10,17 +23,25 @@ export * from './create-personal-account-response-class';
10
23
  export * from './financial-account-class';
11
24
  export * from './financial-transaction-class';
12
25
  export * from './financial-transaction-data-dto';
26
+ export * from './get-accounting-config-response-class';
13
27
  export * from './get-booking-entry-response-class';
14
28
  export * from './get-financial-account-response-class';
15
29
  export * from './get-financial-transaction-response-class';
16
30
  export * from './get-number-range-response-class';
17
31
  export * from './get-personal-account-response-class';
32
+ export * from './inline-object2';
18
33
  export * from './inline-response200';
19
34
  export * from './inline-response503';
35
+ export * from './list-accounting-configs-response-class';
20
36
  export * from './list-booking-entries-response-class';
21
37
  export * from './list-financial-accounts-response-class';
22
38
  export * from './list-financial-transactions-response-class';
23
39
  export * from './list-number-range-response-class';
24
40
  export * from './list-personal-accounts-response-class';
25
41
  export * from './number-range-class';
42
+ export * from './opening-balance-class';
43
+ export * from './opening-balances-class';
26
44
  export * from './personal-account-class';
45
+ export * from './update-chart-of-accounts-response-class';
46
+ export * from './validate-accounting-config-request-dto';
47
+ export * from './validate-accounting-config-response-class';
@@ -14,7 +14,20 @@ 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-config-class"), exports);
18
+ __exportStar(require("./accounting-config-data-class"), exports);
19
+ __exportStar(require("./accounting-configuration-class"), exports);
17
20
  __exportStar(require("./booking-entry-class"), exports);
21
+ __exportStar(require("./chart-of-accounts-config-class"), exports);
22
+ __exportStar(require("./chart-of-accounts-item-class"), exports);
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);
29
+ __exportStar(require("./create-accounting-config-request-dto"), exports);
30
+ __exportStar(require("./create-accounting-config-response-class"), exports);
18
31
  __exportStar(require("./create-booking-entry-request-dto"), exports);
19
32
  __exportStar(require("./create-booking-entry-response-class"), exports);
20
33
  __exportStar(require("./create-financial-account-request-dto"), exports);
@@ -26,17 +39,25 @@ __exportStar(require("./create-personal-account-response-class"), exports);
26
39
  __exportStar(require("./financial-account-class"), exports);
27
40
  __exportStar(require("./financial-transaction-class"), exports);
28
41
  __exportStar(require("./financial-transaction-data-dto"), exports);
42
+ __exportStar(require("./get-accounting-config-response-class"), exports);
29
43
  __exportStar(require("./get-booking-entry-response-class"), exports);
30
44
  __exportStar(require("./get-financial-account-response-class"), exports);
31
45
  __exportStar(require("./get-financial-transaction-response-class"), exports);
32
46
  __exportStar(require("./get-number-range-response-class"), exports);
33
47
  __exportStar(require("./get-personal-account-response-class"), exports);
48
+ __exportStar(require("./inline-object2"), exports);
34
49
  __exportStar(require("./inline-response200"), exports);
35
50
  __exportStar(require("./inline-response503"), exports);
51
+ __exportStar(require("./list-accounting-configs-response-class"), exports);
36
52
  __exportStar(require("./list-booking-entries-response-class"), exports);
37
53
  __exportStar(require("./list-financial-accounts-response-class"), exports);
38
54
  __exportStar(require("./list-financial-transactions-response-class"), exports);
39
55
  __exportStar(require("./list-number-range-response-class"), exports);
40
56
  __exportStar(require("./list-personal-accounts-response-class"), exports);
41
57
  __exportStar(require("./number-range-class"), exports);
58
+ __exportStar(require("./opening-balance-class"), exports);
59
+ __exportStar(require("./opening-balances-class"), exports);
42
60
  __exportStar(require("./personal-account-class"), exports);
61
+ __exportStar(require("./update-chart-of-accounts-response-class"), exports);
62
+ __exportStar(require("./validate-accounting-config-request-dto"), exports);
63
+ __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 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 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
+ 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 { 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 });
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AccountingConfigDataClass } from './accounting-config-data-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface AccountingConfigClass
22
+ */
23
+ export interface AccountingConfigClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof AccountingConfigClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof AccountingConfigClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The configuration details
38
+ * @type {AccountingConfigDataClass}
39
+ * @memberof AccountingConfigClass
40
+ */
41
+ 'config'?: AccountingConfigDataClass;
42
+ /**
43
+ * Product slug this config is scoped to; absent for the tenant default config.
44
+ * @type {string}
45
+ * @memberof AccountingConfigClass
46
+ */
47
+ 'productSlug'?: string;
48
+ /**
49
+ * Identifier of the user who created the record.
50
+ * @type {string}
51
+ * @memberof AccountingConfigClass
52
+ */
53
+ 'createdBy': string;
54
+ /**
55
+ * Identifier of the user who last updated the record.
56
+ * @type {string}
57
+ * @memberof AccountingConfigClass
58
+ */
59
+ 'updatedBy': string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof AccountingConfigClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof AccountingConfigClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
73
+