@emilgroup/accounting-sdk-node 1.27.1-beta.17 → 1.27.1-beta.21

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 (63) hide show
  1. package/.openapi-generator/FILES +17 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +1144 -0
  4. package/api.ts +2 -0
  5. package/dist/api/accounting-configs-api.d.ts +624 -0
  6. package/dist/api/accounting-configs-api.js +1038 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/accounting-config-class.d.ts +67 -0
  10. package/dist/models/accounting-config-class.js +15 -0
  11. package/dist/models/accounting-config-data-class.d.ts +45 -0
  12. package/dist/models/accounting-config-data-class.js +15 -0
  13. package/dist/models/accounting-configuration-class.d.ts +36 -0
  14. package/dist/models/accounting-configuration-class.js +15 -0
  15. package/dist/models/chart-of-accounts-config-class.d.ts +25 -0
  16. package/dist/models/chart-of-accounts-config-class.js +15 -0
  17. package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
  18. package/dist/models/chart-of-accounts-item-class.js +38 -0
  19. package/dist/models/create-accounting-config-data-dto.d.ts +42 -0
  20. package/dist/models/create-accounting-config-data-dto.js +15 -0
  21. package/dist/models/create-accounting-config-request-dto.d.ts +31 -0
  22. package/dist/models/create-accounting-config-request-dto.js +15 -0
  23. package/dist/models/create-accounting-config-response-class.d.ts +25 -0
  24. package/dist/models/create-accounting-config-response-class.js +15 -0
  25. package/dist/models/create-financial-account-request-dto.d.ts +24 -1
  26. package/dist/models/create-financial-account-request-dto.js +23 -1
  27. package/dist/models/get-accounting-config-response-class.d.ts +25 -0
  28. package/dist/models/get-accounting-config-response-class.js +15 -0
  29. package/dist/models/index.d.ts +16 -0
  30. package/dist/models/index.js +16 -0
  31. package/dist/models/inline-object2.d.ts +24 -0
  32. package/dist/models/inline-object2.js +15 -0
  33. package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
  34. package/dist/models/list-accounting-configs-response-class.js +15 -0
  35. package/dist/models/opening-balance-class.d.ts +65 -0
  36. package/dist/models/opening-balance-class.js +38 -0
  37. package/dist/models/opening-balances-class.d.ts +25 -0
  38. package/dist/models/opening-balances-class.js +15 -0
  39. package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
  40. package/dist/models/update-chart-of-accounts-response-class.js +15 -0
  41. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  42. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  43. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  44. package/dist/models/validate-accounting-config-response-class.js +15 -0
  45. package/models/accounting-config-class.ts +73 -0
  46. package/models/accounting-config-data-class.ts +51 -0
  47. package/models/accounting-configuration-class.ts +42 -0
  48. package/models/chart-of-accounts-config-class.ts +31 -0
  49. package/models/chart-of-accounts-item-class.ts +80 -0
  50. package/models/create-accounting-config-data-dto.ts +48 -0
  51. package/models/create-accounting-config-request-dto.ts +37 -0
  52. package/models/create-accounting-config-response-class.ts +31 -0
  53. package/models/create-financial-account-request-dto.ts +25 -1
  54. package/models/get-accounting-config-response-class.ts +31 -0
  55. package/models/index.ts +16 -0
  56. package/models/inline-object2.ts +30 -0
  57. package/models/list-accounting-configs-response-class.ts +49 -0
  58. package/models/opening-balance-class.ts +74 -0
  59. package/models/opening-balances-class.ts +31 -0
  60. package/models/update-chart-of-accounts-response-class.ts +31 -0
  61. package/models/validate-accounting-config-request-dto.ts +31 -0
  62. package/models/validate-accounting-config-response-class.ts +36 -0
  63. package/package.json +2 -2
@@ -1,4 +1,12 @@
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-request-dto';
9
+ export * from './create-accounting-config-response-class';
2
10
  export * from './create-booking-entry-request-dto';
3
11
  export * from './create-booking-entry-response-class';
4
12
  export * from './create-financial-account-request-dto';
@@ -10,17 +18,25 @@ export * from './create-personal-account-response-class';
10
18
  export * from './financial-account-class';
11
19
  export * from './financial-transaction-class';
12
20
  export * from './financial-transaction-data-dto';
21
+ export * from './get-accounting-config-response-class';
13
22
  export * from './get-booking-entry-response-class';
14
23
  export * from './get-financial-account-response-class';
15
24
  export * from './get-financial-transaction-response-class';
16
25
  export * from './get-number-range-response-class';
17
26
  export * from './get-personal-account-response-class';
27
+ export * from './inline-object2';
18
28
  export * from './inline-response200';
19
29
  export * from './inline-response503';
30
+ export * from './list-accounting-configs-response-class';
20
31
  export * from './list-booking-entries-response-class';
21
32
  export * from './list-financial-accounts-response-class';
22
33
  export * from './list-financial-transactions-response-class';
23
34
  export * from './list-number-range-response-class';
24
35
  export * from './list-personal-accounts-response-class';
25
36
  export * from './number-range-class';
37
+ export * from './opening-balance-class';
38
+ export * from './opening-balances-class';
26
39
  export * from './personal-account-class';
40
+ export * from './update-chart-of-accounts-response-class';
41
+ export * from './validate-accounting-config-request-dto';
42
+ export * from './validate-accounting-config-response-class';
@@ -14,7 +14,15 @@ 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-request-dto"), exports);
25
+ __exportStar(require("./create-accounting-config-response-class"), exports);
18
26
  __exportStar(require("./create-booking-entry-request-dto"), exports);
19
27
  __exportStar(require("./create-booking-entry-response-class"), exports);
20
28
  __exportStar(require("./create-financial-account-request-dto"), exports);
@@ -26,17 +34,25 @@ __exportStar(require("./create-personal-account-response-class"), exports);
26
34
  __exportStar(require("./financial-account-class"), exports);
27
35
  __exportStar(require("./financial-transaction-class"), exports);
28
36
  __exportStar(require("./financial-transaction-data-dto"), exports);
37
+ __exportStar(require("./get-accounting-config-response-class"), exports);
29
38
  __exportStar(require("./get-booking-entry-response-class"), exports);
30
39
  __exportStar(require("./get-financial-account-response-class"), exports);
31
40
  __exportStar(require("./get-financial-transaction-response-class"), exports);
32
41
  __exportStar(require("./get-number-range-response-class"), exports);
33
42
  __exportStar(require("./get-personal-account-response-class"), exports);
43
+ __exportStar(require("./inline-object2"), exports);
34
44
  __exportStar(require("./inline-response200"), exports);
35
45
  __exportStar(require("./inline-response503"), exports);
46
+ __exportStar(require("./list-accounting-configs-response-class"), exports);
36
47
  __exportStar(require("./list-booking-entries-response-class"), exports);
37
48
  __exportStar(require("./list-financial-accounts-response-class"), exports);
38
49
  __exportStar(require("./list-financial-transactions-response-class"), exports);
39
50
  __exportStar(require("./list-number-range-response-class"), exports);
40
51
  __exportStar(require("./list-personal-accounts-response-class"), exports);
41
52
  __exportStar(require("./number-range-class"), exports);
53
+ __exportStar(require("./opening-balance-class"), exports);
54
+ __exportStar(require("./opening-balances-class"), exports);
42
55
  __exportStar(require("./personal-account-class"), exports);
56
+ __exportStar(require("./update-chart-of-accounts-response-class"), exports);
57
+ __exportStar(require("./validate-accounting-config-request-dto"), exports);
58
+ __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 });
@@ -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
+
@@ -0,0 +1,51 @@
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 { AccountingConfigurationClass } from './accounting-configuration-class';
17
+ import { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
18
+ import { OpeningBalancesClass } from './opening-balances-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface AccountingConfigDataClass
24
+ */
25
+ export interface AccountingConfigDataClass {
26
+ /**
27
+ * The activation date of the accounting configuration
28
+ * @type {string}
29
+ * @memberof AccountingConfigDataClass
30
+ */
31
+ 'activationDate'?: string;
32
+ /**
33
+ * Configuration of the chart of accounts
34
+ * @type {ChartOfAccountsConfigClass}
35
+ * @memberof AccountingConfigDataClass
36
+ */
37
+ 'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
38
+ /**
39
+ * The accounting configuration details
40
+ * @type {AccountingConfigurationClass}
41
+ * @memberof AccountingConfigDataClass
42
+ */
43
+ 'accountingConfiguration'?: AccountingConfigurationClass;
44
+ /**
45
+ * The opening balances details
46
+ * @type {OpeningBalancesClass}
47
+ * @memberof AccountingConfigDataClass
48
+ */
49
+ 'openingBalances'?: OpeningBalancesClass;
50
+ }
51
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface AccountingConfigurationClass
21
+ */
22
+ export interface AccountingConfigurationClass {
23
+ /**
24
+ * The mode of settlement recognition, can be \"SOLL\" or \"IST\"
25
+ * @type {string}
26
+ * @memberof AccountingConfigurationClass
27
+ */
28
+ 'settlementRecognitionMode': string;
29
+ /**
30
+ * The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
31
+ * @type {string}
32
+ * @memberof AccountingConfigurationClass
33
+ */
34
+ 'defaultTaxHandling': string;
35
+ /**
36
+ * The tolerance amount in cents
37
+ * @type {number}
38
+ * @memberof AccountingConfigurationClass
39
+ */
40
+ 'toleranceAmountInCents': number;
41
+ }
42
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ChartOfAccountsItemClass } from './chart-of-accounts-item-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ChartOfAccountsConfigClass
22
+ */
23
+ export interface ChartOfAccountsConfigClass {
24
+ /**
25
+ * List of chart of accounts items
26
+ * @type {Array<ChartOfAccountsItemClass>}
27
+ * @memberof ChartOfAccountsConfigClass
28
+ */
29
+ 'items': Array<ChartOfAccountsItemClass>;
30
+ }
31
+