@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
@@ -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
+
@@ -68,17 +68,53 @@ export interface CreateFinancialAccountRequestDto {
68
68
  * @memberof CreateFinancialAccountRequestDto
69
69
  */
70
70
  'clearable': boolean;
71
+ /**
72
+ * Whether the financial account is a control account
73
+ * @type {boolean}
74
+ * @memberof CreateFinancialAccountRequestDto
75
+ */
76
+ 'isControlAccount': boolean;
77
+ /**
78
+ * The functional category of the account. Empty string means unset.
79
+ * @type {string}
80
+ * @memberof CreateFinancialAccountRequestDto
81
+ */
82
+ 'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
71
83
  }
72
84
 
73
85
  export const CreateFinancialAccountRequestDtoTypeEnum = {
74
86
  Asset: 'asset',
75
87
  Liability: 'liability',
76
88
  Equity: 'equity',
77
- Revenue: 'revenue',
89
+ Income: 'income',
78
90
  Expense: 'expense',
79
91
  OpeningBalance: 'opening_balance'
80
92
  } as const;
81
93
 
82
94
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
95
+ export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
96
+ BankAcc: 'bank_acc',
97
+ TaxPendingAcc: 'tax_pending_acc',
98
+ TaxForwardedAcc: 'tax_forwarded_acc',
99
+ TaxDueAcc: 'tax_due_acc',
100
+ VatPendingAcc: 'vat_pending_acc',
101
+ VatDueAcc: 'vat_due_acc',
102
+ RevenueBufferAcc: 'revenue_buffer_acc',
103
+ RevenueFinalAcc: 'revenue_final_acc',
104
+ ClaimExpenseAcc: 'claim_expense_acc',
105
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
106
+ WriteOffExpAcc: 'write_off_exp_acc',
107
+ RoundingDiffAcc: 'rounding_diff_acc',
108
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
109
+ FeeRevenueAcc: 'fee_revenue_acc',
110
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
111
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
112
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
113
+ BrokerCtrlAcc: 'broker_ctrl_acc',
114
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
115
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
116
+ } as const;
117
+
118
+ export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
83
119
 
84
120
 
@@ -47,13 +47,13 @@ export interface CreateNumberRangeRequestDto {
47
47
  }
48
48
 
49
49
  export const CreateNumberRangeRequestDtoAccountTypeEnum = {
50
- Customer: 'customer',
51
- Supplier: 'supplier',
52
- Employee: 'employee',
50
+ Policyholder: 'policyholder',
51
+ RiskCarrier: 'risk_carrier',
52
+ Broker: 'broker',
53
53
  Asset: 'asset',
54
54
  Liability: 'liability',
55
55
  Equity: 'equity',
56
- Revenue: 'revenue',
56
+ Income: 'income',
57
57
  Expense: 'expense'
58
58
  } as const;
59
59
 
@@ -45,7 +45,13 @@ export interface CreatePersonalAccountRequestDto {
45
45
  */
46
46
  'partnerNumber': string;
47
47
  /**
48
- * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
48
+ * The partner code of the account
49
+ * @type {string}
50
+ * @memberof CreatePersonalAccountRequestDto
51
+ */
52
+ 'partnerCode': string;
53
+ /**
54
+ * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
49
55
  * @type {string}
50
56
  * @memberof CreatePersonalAccountRequestDto
51
57
  */
@@ -59,9 +65,9 @@ export interface CreatePersonalAccountRequestDto {
59
65
  }
60
66
 
61
67
  export const CreatePersonalAccountRequestDtoTypeEnum = {
62
- Customer: 'customer',
63
- Supplier: 'supplier',
64
- Employee: 'employee'
68
+ Policyholder: 'policyholder',
69
+ RiskCarrier: 'risk_carrier',
70
+ Broker: 'broker'
65
71
  } as const;
66
72
 
67
73
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -57,7 +57,7 @@ export interface FinancialAccountClass {
57
57
  */
58
58
  'partnerNumber': string;
59
59
  /**
60
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
60
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
61
61
  * @type {string}
62
62
  * @memberof FinancialAccountClass
63
63
  */
@@ -80,6 +80,24 @@ export interface FinancialAccountClass {
80
80
  * @memberof FinancialAccountClass
81
81
  */
82
82
  'clearable': boolean;
83
+ /**
84
+ * The status of the account, either \'active\' or \'inactive\'.
85
+ * @type {string}
86
+ * @memberof FinancialAccountClass
87
+ */
88
+ 'status': string;
89
+ /**
90
+ * Whether the account is a control account.
91
+ * @type {boolean}
92
+ * @memberof FinancialAccountClass
93
+ */
94
+ 'isControlAccount': boolean;
95
+ /**
96
+ * The functional category of the account. Empty string means unset.
97
+ * @type {string}
98
+ * @memberof FinancialAccountClass
99
+ */
100
+ 'functionalCategory': string;
83
101
  /**
84
102
  * Time at which the object was created.
85
103
  * @type {string}
@@ -110,7 +128,7 @@ export const FinancialAccountClassTypeEnum = {
110
128
  Asset: 'asset',
111
129
  Liability: 'liability',
112
130
  Equity: 'equity',
113
- Revenue: 'revenue',
131
+ Income: 'income',
114
132
  Expense: 'expense',
115
133
  OpeningBalance: 'opening_balance'
116
134
  } as const;
@@ -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 { AccountingCategoryClass } from './accounting-category-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetAccountingCategoriesResponseClass
22
+ */
23
+ export interface GetAccountingCategoriesResponseClass {
24
+ /**
25
+ * The list of functional categories
26
+ * @type {Array<AccountingCategoryClass>}
27
+ * @memberof GetAccountingCategoriesResponseClass
28
+ */
29
+ 'items': Array<AccountingCategoryClass>;
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,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';
@@ -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
+ FeeRevenueAcc: 'fee_revenue_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
+
@@ -56,6 +56,12 @@ export interface PersonalAccountClass {
56
56
  * @memberof PersonalAccountClass
57
57
  */
58
58
  'partnerNumber': string;
59
+ /**
60
+ * The partner code of the account
61
+ * @type {string}
62
+ * @memberof PersonalAccountClass
63
+ */
64
+ 'partnerCode': string;
59
65
  /**
60
66
  * The entity code of the account (account code, bank account code, etc...).
61
67
  * @type {string}
@@ -63,7 +69,7 @@ export interface PersonalAccountClass {
63
69
  */
64
70
  'entityCode'?: string;
65
71
  /**
66
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
72
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
67
73
  * @type {string}
68
74
  * @memberof PersonalAccountClass
69
75
  */
@@ -104,7 +110,7 @@ export const PersonalAccountClassTypeEnum = {
104
110
  Asset: 'asset',
105
111
  Liability: 'liability',
106
112
  Equity: 'equity',
107
- Revenue: 'revenue',
113
+ Income: 'income',
108
114
  Expense: 'expense',
109
115
  OpeningBalance: 'opening_balance'
110
116
  } as const;
@@ -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.3",
3
+ "version": "1.27.1-beta.30",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.12.0",
21
+ "axios": "1.18.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },