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

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 (60) 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 +61 -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 +25 -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/get-accounting-config-response-class.d.ts +25 -0
  26. package/dist/models/get-accounting-config-response-class.js +15 -0
  27. package/dist/models/index.d.ts +16 -0
  28. package/dist/models/index.js +16 -0
  29. package/dist/models/inline-object2.d.ts +24 -0
  30. package/dist/models/inline-object2.js +15 -0
  31. package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
  32. package/dist/models/list-accounting-configs-response-class.js +15 -0
  33. package/dist/models/opening-balance-class.d.ts +65 -0
  34. package/dist/models/opening-balance-class.js +38 -0
  35. package/dist/models/opening-balances-class.d.ts +25 -0
  36. package/dist/models/opening-balances-class.js +15 -0
  37. package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
  38. package/dist/models/update-chart-of-accounts-response-class.js +15 -0
  39. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  40. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  41. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  42. package/dist/models/validate-accounting-config-response-class.js +15 -0
  43. package/models/accounting-config-class.ts +67 -0
  44. package/models/accounting-config-data-class.ts +51 -0
  45. package/models/accounting-configuration-class.ts +42 -0
  46. package/models/chart-of-accounts-config-class.ts +31 -0
  47. package/models/chart-of-accounts-item-class.ts +80 -0
  48. package/models/create-accounting-config-data-dto.ts +48 -0
  49. package/models/create-accounting-config-request-dto.ts +31 -0
  50. package/models/create-accounting-config-response-class.ts +31 -0
  51. package/models/get-accounting-config-response-class.ts +31 -0
  52. package/models/index.ts +16 -0
  53. package/models/inline-object2.ts +30 -0
  54. package/models/list-accounting-configs-response-class.ts +49 -0
  55. package/models/opening-balance-class.ts +74 -0
  56. package/models/opening-balances-class.ts +31 -0
  57. package/models/update-chart-of-accounts-response-class.ts +31 -0
  58. package/models/validate-accounting-config-request-dto.ts +31 -0
  59. package/models/validate-accounting-config-response-class.ts +36 -0
  60. package/package.json +1 -1
@@ -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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateAccountingConfigRequestDto
22
+ */
23
+ export interface CreateAccountingConfigRequestDto {
24
+ /**
25
+ * Configuration for the accounting system.
26
+ * @type {CreateAccountingConfigDataDto}
27
+ * @memberof CreateAccountingConfigRequestDto
28
+ */
29
+ 'accountingConfigData': CreateAccountingConfigDataDto;
30
+ }
31
+
@@ -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 { AccountingConfigClass } from './accounting-config-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateAccountingConfigResponseClass
22
+ */
23
+ export interface CreateAccountingConfigResponseClass {
24
+ /**
25
+ * The accounting configuration created
26
+ * @type {AccountingConfigClass}
27
+ * @memberof CreateAccountingConfigResponseClass
28
+ */
29
+ 'accountingConfig'?: AccountingConfigClass;
30
+ }
31
+
@@ -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 { AccountingConfigClass } from './accounting-config-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetAccountingConfigResponseClass
22
+ */
23
+ export interface GetAccountingConfigResponseClass {
24
+ /**
25
+ * The accounting configuration details
26
+ * @type {AccountingConfigClass}
27
+ * @memberof GetAccountingConfigResponseClass
28
+ */
29
+ 'accountingConfig'?: AccountingConfigClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -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';
@@ -0,0 +1,30 @@
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 InlineObject2
21
+ */
22
+ export interface InlineObject2 {
23
+ /**
24
+ * The updated chart of accounts configuration
25
+ * @type {object}
26
+ * @memberof InlineObject2
27
+ */
28
+ 'chartOfAccountsConfig': object;
29
+ }
30
+
@@ -0,0 +1,49 @@
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 { AccountingConfigClass } from './accounting-config-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListAccountingConfigsResponseClass
22
+ */
23
+ export interface ListAccountingConfigsResponseClass {
24
+ /**
25
+ * List of accounting configurations
26
+ * @type {Array<AccountingConfigClass>}
27
+ * @memberof ListAccountingConfigsResponseClass
28
+ */
29
+ 'items': Array<AccountingConfigClass>;
30
+ /**
31
+ * The next page token
32
+ * @type {string}
33
+ * @memberof ListAccountingConfigsResponseClass
34
+ */
35
+ 'nextPageToken'?: string;
36
+ /**
37
+ * The number of items per page
38
+ * @type {number}
39
+ * @memberof ListAccountingConfigsResponseClass
40
+ */
41
+ 'itemsPerPage'?: number;
42
+ /**
43
+ * The total number of items
44
+ * @type {number}
45
+ * @memberof ListAccountingConfigsResponseClass
46
+ */
47
+ 'totalItems'?: number;
48
+ }
49
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface OpeningBalanceClass
21
+ */
22
+ export interface OpeningBalanceClass {
23
+ /**
24
+ * The category of the opening balance
25
+ * @type {string}
26
+ * @memberof OpeningBalanceClass
27
+ */
28
+ 'category': OpeningBalanceClassCategoryEnum;
29
+ /**
30
+ * The financial account number of the opening balance
31
+ * @type {string}
32
+ * @memberof OpeningBalanceClass
33
+ */
34
+ 'financialAccountNumber': string;
35
+ /**
36
+ * The credit amount of the opening balance
37
+ * @type {number}
38
+ * @memberof OpeningBalanceClass
39
+ */
40
+ 'creditAmountInCents': number;
41
+ /**
42
+ * The debit amount of the opening balance
43
+ * @type {number}
44
+ * @memberof OpeningBalanceClass
45
+ */
46
+ 'debitAmountInCents': number;
47
+ }
48
+
49
+ export const OpeningBalanceClassCategoryEnum = {
50
+ BankAcc: 'bank_acc',
51
+ TaxPendingAcc: 'tax_pending_acc',
52
+ TaxForwardedAcc: 'tax_forwarded_acc',
53
+ TaxDueAcc: 'tax_due_acc',
54
+ VatPendingAcc: 'vat_pending_acc',
55
+ VatDueAcc: 'vat_due_acc',
56
+ RevenueBufferAcc: 'revenue_buffer_acc',
57
+ RevenueFinalAcc: 'revenue_final_acc',
58
+ ClaimExpenseAcc: 'claim_expense_acc',
59
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
60
+ WriteOffExpAcc: 'write_off_exp_acc',
61
+ RoundingDiffAcc: 'rounding_diff_acc',
62
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
63
+ FeeRevenueAccAcc: 'fee_revenue_acc_acc',
64
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
65
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
66
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
67
+ BrokerCtrlAcc: 'broker_ctrl_acc',
68
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
69
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
70
+ } as const;
71
+
72
+ export type OpeningBalanceClassCategoryEnum = typeof OpeningBalanceClassCategoryEnum[keyof typeof OpeningBalanceClassCategoryEnum];
73
+
74
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { OpeningBalanceClass } from './opening-balance-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface OpeningBalancesClass
22
+ */
23
+ export interface OpeningBalancesClass {
24
+ /**
25
+ * The opening balances details
26
+ * @type {Array<OpeningBalanceClass>}
27
+ * @memberof OpeningBalancesClass
28
+ */
29
+ 'openingBalances'?: Array<OpeningBalanceClass>;
30
+ }
31
+
@@ -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 { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateChartOfAccountsResponseClass
22
+ */
23
+ export interface UpdateChartOfAccountsResponseClass {
24
+ /**
25
+ * The updated chart of accounts configuration
26
+ * @type {ChartOfAccountsConfigClass}
27
+ * @memberof UpdateChartOfAccountsResponseClass
28
+ */
29
+ 'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
30
+ }
31
+
@@ -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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ValidateAccountingConfigRequestDto
22
+ */
23
+ export interface ValidateAccountingConfigRequestDto {
24
+ /**
25
+ * The accounting config data to validate
26
+ * @type {CreateAccountingConfigDataDto}
27
+ * @memberof ValidateAccountingConfigRequestDto
28
+ */
29
+ 'accountingConfigData': CreateAccountingConfigDataDto;
30
+ }
31
+
@@ -0,0 +1,36 @@
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 ValidateAccountingConfigResponseClass
21
+ */
22
+ export interface ValidateAccountingConfigResponseClass {
23
+ /**
24
+ * Whether the accounting config is valid
25
+ * @type {boolean}
26
+ * @memberof ValidateAccountingConfigResponseClass
27
+ */
28
+ 'isValid': boolean;
29
+ /**
30
+ * When isValid is false, a human-readable explanation of why the config is invalid
31
+ * @type {string}
32
+ * @memberof ValidateAccountingConfigResponseClass
33
+ */
34
+ 'validationMessage'?: string;
35
+ }
36
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.27.1-beta.17",
3
+ "version": "1.27.1-beta.19",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [