@emilgroup/accounting-sdk-node 1.32.1-beta.57 → 1.32.1-beta.58

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 (183) hide show
  1. package/.openapi-generator/FILES +0 -48
  2. package/README.md +2 -2
  3. package/api/booking-entries-api.ts +0 -214
  4. package/api/financial-accounts-api.ts +16 -136
  5. package/api.ts +0 -6
  6. package/dist/api/booking-entries-api.d.ts +0 -114
  7. package/dist/api/booking-entries-api.js +0 -186
  8. package/dist/api/financial-accounts-api.d.ts +16 -82
  9. package/dist/api/financial-accounts-api.js +13 -112
  10. package/dist/api.d.ts +0 -3
  11. package/dist/api.js +0 -3
  12. package/dist/models/booking-entry-class.d.ts +0 -20
  13. package/dist/models/booking-entry-class.js +1 -8
  14. package/dist/models/create-booking-entry-request-dto.d.ts +2 -24
  15. package/dist/models/create-booking-entry-request-dto.js +0 -8
  16. package/dist/models/create-financial-account-request-dto.d.ts +5 -48
  17. package/dist/models/create-financial-account-request-dto.js +2 -24
  18. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  19. package/dist/models/create-number-range-request-dto.js +4 -4
  20. package/dist/models/create-personal-account-request-dto.d.ts +6 -14
  21. package/dist/models/create-personal-account-request-dto.js +3 -3
  22. package/dist/models/financial-account-class.d.ts +2 -49
  23. package/dist/models/financial-account-class.js +2 -6
  24. package/dist/models/financial-transaction-data-dto.d.ts +2 -5
  25. package/dist/models/financial-transaction-data-dto.js +0 -1
  26. package/dist/models/index.d.ts +0 -45
  27. package/dist/models/index.js +0 -45
  28. package/dist/models/personal-account-class.d.ts +2 -8
  29. package/dist/models/personal-account-class.js +1 -1
  30. package/models/booking-entry-class.ts +0 -21
  31. package/models/create-booking-entry-request-dto.ts +2 -25
  32. package/models/create-financial-account-request-dto.ts +5 -47
  33. package/models/create-number-range-request-dto.ts +4 -4
  34. package/models/create-personal-account-request-dto.ts +6 -12
  35. package/models/financial-account-class.ts +2 -50
  36. package/models/financial-transaction-data-dto.ts +2 -3
  37. package/models/index.ts +0 -45
  38. package/models/personal-account-class.ts +2 -8
  39. package/package.json +1 -1
  40. package/api/accounting-configs-api.ts +0 -852
  41. package/api/commission-account-mappings-api.ts +0 -1195
  42. package/api/product-account-mappings-api.ts +0 -1474
  43. package/dist/api/accounting-configs-api.d.ts +0 -451
  44. package/dist/api/accounting-configs-api.js +0 -863
  45. package/dist/api/commission-account-mappings-api.d.ts +0 -685
  46. package/dist/api/commission-account-mappings-api.js +0 -1008
  47. package/dist/api/product-account-mappings-api.d.ts +0 -851
  48. package/dist/api/product-account-mappings-api.js +0 -1228
  49. package/dist/models/account-mapping-class.d.ts +0 -71
  50. package/dist/models/account-mapping-class.js +0 -38
  51. package/dist/models/accounting-category-class.d.ts +0 -45
  52. package/dist/models/accounting-category-class.js +0 -24
  53. package/dist/models/accounting-config-class.d.ts +0 -78
  54. package/dist/models/accounting-config-class.js +0 -20
  55. package/dist/models/accounting-config-data-class.d.ts +0 -38
  56. package/dist/models/accounting-config-data-class.js +0 -15
  57. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +0 -46
  58. package/dist/models/accounting-config-data-dto-accounting-configuration.js +0 -24
  59. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -77
  60. package/dist/models/accounting-config-data-dto-default-account-mappings.js +0 -38
  61. package/dist/models/accounting-config-data-dto.d.ts +0 -38
  62. package/dist/models/accounting-config-data-dto.js +0 -15
  63. package/dist/models/accounting-configuration-class.d.ts +0 -36
  64. package/dist/models/accounting-configuration-class.js +0 -15
  65. package/dist/models/commission-account-mapping-class.d.ts +0 -49
  66. package/dist/models/commission-account-mapping-class.js +0 -15
  67. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +0 -44
  68. package/dist/models/commission-agreement-account-mapping-detail-class.js +0 -15
  69. package/dist/models/commission-agreement-partner-class.d.ts +0 -30
  70. package/dist/models/commission-agreement-partner-class.js +0 -15
  71. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +0 -43
  72. package/dist/models/commission-agreement-with-account-mapping-class.js +0 -15
  73. package/dist/models/commission-type-account-mapping-class.d.ts +0 -31
  74. package/dist/models/commission-type-account-mapping-class.js +0 -15
  75. package/dist/models/create-and-enable-subledger-request-dto.d.ts +0 -25
  76. package/dist/models/create-and-enable-subledger-request-dto.js +0 -15
  77. package/dist/models/create-and-enable-subledger-response-class.d.ts +0 -25
  78. package/dist/models/create-and-enable-subledger-response-class.js +0 -15
  79. package/dist/models/create-or-correct-opening-balance-dto.d.ts +0 -25
  80. package/dist/models/create-or-correct-opening-balance-dto.js +0 -15
  81. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +0 -25
  82. package/dist/models/create-or-correct-opening-balance-response-class.js +0 -15
  83. package/dist/models/export-accounting-config-response-class.d.ts +0 -25
  84. package/dist/models/export-accounting-config-response-class.js +0 -15
  85. package/dist/models/get-accounting-categories-response-class.d.ts +0 -25
  86. package/dist/models/get-accounting-categories-response-class.js +0 -15
  87. package/dist/models/get-activation-snapshot-response-class.d.ts +0 -25
  88. package/dist/models/get-activation-snapshot-response-class.js +0 -15
  89. package/dist/models/list-commission-account-mappings-response-class.d.ts +0 -43
  90. package/dist/models/list-commission-account-mappings-response-class.js +0 -15
  91. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +0 -43
  92. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +0 -15
  93. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +0 -43
  94. package/dist/models/list-commission-type-account-mappings-response-class.js +0 -15
  95. package/dist/models/list-product-account-mappings-response-class.d.ts +0 -43
  96. package/dist/models/list-product-account-mappings-response-class.js +0 -15
  97. package/dist/models/list-products-with-account-mappings-response-class.d.ts +0 -43
  98. package/dist/models/list-products-with-account-mappings-response-class.js +0 -15
  99. package/dist/models/opening-balance-item-dto.d.ts +0 -41
  100. package/dist/models/opening-balance-item-dto.js +0 -20
  101. package/dist/models/post-financial-event-request-dto.d.ts +0 -44
  102. package/dist/models/post-financial-event-request-dto.js +0 -23
  103. package/dist/models/post-financial-event-response-class.d.ts +0 -25
  104. package/dist/models/post-financial-event-response-class.js +0 -15
  105. package/dist/models/premium-item-account-mapping-class.d.ts +0 -37
  106. package/dist/models/premium-item-account-mapping-class.js +0 -15
  107. package/dist/models/product-account-mapping-class.d.ts +0 -61
  108. package/dist/models/product-account-mapping-class.js +0 -15
  109. package/dist/models/product-account-mapping-detail-class.d.ts +0 -50
  110. package/dist/models/product-account-mapping-detail-class.js +0 -15
  111. package/dist/models/product-version-account-mapping-detail-class.d.ts +0 -50
  112. package/dist/models/product-version-account-mapping-detail-class.js +0 -15
  113. package/dist/models/product-version-with-account-mappings-class.d.ts +0 -42
  114. package/dist/models/product-version-with-account-mappings-class.js +0 -15
  115. package/dist/models/product-with-account-mappings-class.d.ts +0 -49
  116. package/dist/models/product-with-account-mappings-class.js +0 -15
  117. package/dist/models/put-premium-item-account-body-dto.d.ts +0 -24
  118. package/dist/models/put-premium-item-account-body-dto.js +0 -15
  119. package/dist/models/put-product-category-account-body-dto.d.ts +0 -24
  120. package/dist/models/put-product-category-account-body-dto.js +0 -15
  121. package/dist/models/put-product-version-category-account-body-dto.d.ts +0 -24
  122. package/dist/models/put-product-version-category-account-body-dto.js +0 -15
  123. package/dist/models/resolved-account-mapping-class.d.ts +0 -31
  124. package/dist/models/resolved-account-mapping-class.js +0 -15
  125. package/dist/models/resolved-commission-account-mapping-class.d.ts +0 -37
  126. package/dist/models/resolved-commission-account-mapping-class.js +0 -21
  127. package/dist/models/update-commission-agreement-account-body-dto.d.ts +0 -24
  128. package/dist/models/update-commission-agreement-account-body-dto.js +0 -15
  129. package/dist/models/update-commission-type-account-body-dto.d.ts +0 -24
  130. package/dist/models/update-commission-type-account-body-dto.js +0 -15
  131. package/dist/models/update-financial-account-body-dto.d.ts +0 -48
  132. package/dist/models/update-financial-account-body-dto.js +0 -15
  133. package/dist/models/update-financial-account-response-class.d.ts +0 -25
  134. package/dist/models/update-financial-account-response-class.js +0 -15
  135. package/dist/models/validate-accounting-config-request-dto.d.ts +0 -25
  136. package/dist/models/validate-accounting-config-request-dto.js +0 -15
  137. package/dist/models/validate-accounting-config-response-class.d.ts +0 -30
  138. package/dist/models/validate-accounting-config-response-class.js +0 -15
  139. package/models/account-mapping-class.ts +0 -80
  140. package/models/accounting-category-class.ts +0 -54
  141. package/models/accounting-config-class.ts +0 -87
  142. package/models/accounting-config-data-class.ts +0 -44
  143. package/models/accounting-config-data-dto-accounting-configuration.ts +0 -56
  144. package/models/accounting-config-data-dto-default-account-mappings.ts +0 -86
  145. package/models/accounting-config-data-dto.ts +0 -44
  146. package/models/accounting-configuration-class.ts +0 -42
  147. package/models/commission-account-mapping-class.ts +0 -55
  148. package/models/commission-agreement-account-mapping-detail-class.ts +0 -50
  149. package/models/commission-agreement-partner-class.ts +0 -36
  150. package/models/commission-agreement-with-account-mapping-class.ts +0 -49
  151. package/models/commission-type-account-mapping-class.ts +0 -37
  152. package/models/create-and-enable-subledger-request-dto.ts +0 -31
  153. package/models/create-and-enable-subledger-response-class.ts +0 -31
  154. package/models/create-or-correct-opening-balance-dto.ts +0 -31
  155. package/models/create-or-correct-opening-balance-response-class.ts +0 -31
  156. package/models/export-accounting-config-response-class.ts +0 -31
  157. package/models/get-accounting-categories-response-class.ts +0 -31
  158. package/models/get-activation-snapshot-response-class.ts +0 -31
  159. package/models/list-commission-account-mappings-response-class.ts +0 -49
  160. package/models/list-commission-agreements-with-account-mappings-response-class.ts +0 -49
  161. package/models/list-commission-type-account-mappings-response-class.ts +0 -49
  162. package/models/list-product-account-mappings-response-class.ts +0 -49
  163. package/models/list-products-with-account-mappings-response-class.ts +0 -49
  164. package/models/opening-balance-item-dto.ts +0 -50
  165. package/models/post-financial-event-request-dto.ts +0 -53
  166. package/models/post-financial-event-response-class.ts +0 -31
  167. package/models/premium-item-account-mapping-class.ts +0 -43
  168. package/models/product-account-mapping-class.ts +0 -67
  169. package/models/product-account-mapping-detail-class.ts +0 -56
  170. package/models/product-version-account-mapping-detail-class.ts +0 -56
  171. package/models/product-version-with-account-mappings-class.ts +0 -48
  172. package/models/product-with-account-mappings-class.ts +0 -55
  173. package/models/put-premium-item-account-body-dto.ts +0 -30
  174. package/models/put-product-category-account-body-dto.ts +0 -30
  175. package/models/put-product-version-category-account-body-dto.ts +0 -30
  176. package/models/resolved-account-mapping-class.ts +0 -37
  177. package/models/resolved-commission-account-mapping-class.ts +0 -46
  178. package/models/update-commission-agreement-account-body-dto.ts +0 -30
  179. package/models/update-commission-type-account-body-dto.ts +0 -30
  180. package/models/update-financial-account-body-dto.ts +0 -54
  181. package/models/update-financial-account-response-class.ts +0 -31
  182. package/models/validate-accounting-config-request-dto.ts +0 -31
  183. package/models/validate-accounting-config-response-class.ts +0 -36
@@ -1,451 +0,0 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateAndEnableSubledgerRequestDto } from '../models';
16
- import { CreateAndEnableSubledgerResponseClass } from '../models';
17
- import { ExportAccountingConfigResponseClass } from '../models';
18
- import { GetAccountingCategoriesResponseClass } from '../models';
19
- import { GetActivationSnapshotResponseClass } from '../models';
20
- import { ValidateAccountingConfigRequestDto } from '../models';
21
- import { ValidateAccountingConfigResponseClass } from '../models';
22
- /**
23
- * AccountingConfigsApi - axios parameter creator
24
- * @export
25
- */
26
- export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Configuration) => {
27
- /**
28
- * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
29
- * @summary Create the create and enable subledger
30
- * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
31
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
32
- * @param {*} [options] Override http request option.
33
- * @throws {RequiredError}
34
- */
35
- createAndEnableSubledger: (createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
- /**
37
- * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
38
- * @summary Create the create and enable subledger from file
39
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
40
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- createAndEnableSubledgerFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
- /**
46
- * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
47
- * @summary Retrieve the export accounting config
48
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- exportAccountingConfig: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
55
- * @summary Retrieve the accounting categories
56
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- getAccountingCategories: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
- /**
62
- * Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
63
- * @summary Retrieve the get activation snapshot
64
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- getActivationSnapshot: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
- /**
70
- * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
71
- * @summary Delete the reset subledger
72
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- resetSubledger: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
- /**
78
- * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
79
- * @summary Create the validate accounting config
80
- * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
81
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
82
- * @param {*} [options] Override http request option.
83
- * @throws {RequiredError}
84
- */
85
- validateAccountingConfig: (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
86
- /**
87
- * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
88
- * @summary Create the validate accounting config from file
89
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
90
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- validateAccountingConfigFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
- };
96
- /**
97
- * AccountingConfigsApi - functional programming interface
98
- * @export
99
- */
100
- export declare const AccountingConfigsApiFp: (configuration?: Configuration) => {
101
- /**
102
- * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
103
- * @summary Create the create and enable subledger
104
- * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
105
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
- * @param {*} [options] Override http request option.
107
- * @throws {RequiredError}
108
- */
109
- createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
110
- /**
111
- * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
112
- * @summary Create the create and enable subledger from file
113
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
114
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
- * @param {*} [options] Override http request option.
116
- * @throws {RequiredError}
117
- */
118
- createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
119
- /**
120
- * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
121
- * @summary Retrieve the export accounting config
122
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
123
- * @param {*} [options] Override http request option.
124
- * @throws {RequiredError}
125
- */
126
- exportAccountingConfig(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportAccountingConfigResponseClass>>;
127
- /**
128
- * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
129
- * @summary Retrieve the accounting categories
130
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- */
134
- getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>>;
135
- /**
136
- * Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
137
- * @summary Retrieve the get activation snapshot
138
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
139
- * @param {*} [options] Override http request option.
140
- * @throws {RequiredError}
141
- */
142
- getActivationSnapshot(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActivationSnapshotResponseClass>>;
143
- /**
144
- * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
145
- * @summary Delete the reset subledger
146
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- */
150
- resetSubledger(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
151
- /**
152
- * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
153
- * @summary Create the validate accounting config
154
- * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
155
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
- * @param {*} [options] Override http request option.
157
- * @throws {RequiredError}
158
- */
159
- validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
160
- /**
161
- * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
162
- * @summary Create the validate accounting config from file
163
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
164
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
- * @param {*} [options] Override http request option.
166
- * @throws {RequiredError}
167
- */
168
- validateAccountingConfigFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
169
- };
170
- /**
171
- * AccountingConfigsApi - factory interface
172
- * @export
173
- */
174
- export declare const AccountingConfigsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
175
- /**
176
- * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
177
- * @summary Create the create and enable subledger
178
- * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
179
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
180
- * @param {*} [options] Override http request option.
181
- * @throws {RequiredError}
182
- */
183
- createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
184
- /**
185
- * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
186
- * @summary Create the create and enable subledger from file
187
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
188
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @param {*} [options] Override http request option.
190
- * @throws {RequiredError}
191
- */
192
- createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
193
- /**
194
- * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
195
- * @summary Retrieve the export accounting config
196
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- exportAccountingConfig(authorization?: string, options?: any): AxiosPromise<ExportAccountingConfigResponseClass>;
201
- /**
202
- * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
203
- * @summary Retrieve the accounting categories
204
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
205
- * @param {*} [options] Override http request option.
206
- * @throws {RequiredError}
207
- */
208
- getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass>;
209
- /**
210
- * Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
211
- * @summary Retrieve the get activation snapshot
212
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
213
- * @param {*} [options] Override http request option.
214
- * @throws {RequiredError}
215
- */
216
- getActivationSnapshot(authorization?: string, options?: any): AxiosPromise<GetActivationSnapshotResponseClass>;
217
- /**
218
- * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
219
- * @summary Delete the reset subledger
220
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- */
224
- resetSubledger(authorization?: string, options?: any): AxiosPromise<void>;
225
- /**
226
- * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
227
- * @summary Create the validate accounting config
228
- * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
229
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
230
- * @param {*} [options] Override http request option.
231
- * @throws {RequiredError}
232
- */
233
- validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
234
- /**
235
- * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
236
- * @summary Create the validate accounting config from file
237
- * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
238
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
239
- * @param {*} [options] Override http request option.
240
- * @throws {RequiredError}
241
- */
242
- validateAccountingConfigFromFile(file: any, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
243
- };
244
- /**
245
- * Request parameters for createAndEnableSubledger operation in AccountingConfigsApi.
246
- * @export
247
- * @interface AccountingConfigsApiCreateAndEnableSubledgerRequest
248
- */
249
- export interface AccountingConfigsApiCreateAndEnableSubledgerRequest {
250
- /**
251
- *
252
- * @type {CreateAndEnableSubledgerRequestDto}
253
- * @memberof AccountingConfigsApiCreateAndEnableSubledger
254
- */
255
- readonly createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto;
256
- /**
257
- * Bearer Token: provided by the login endpoint under the name accessToken.
258
- * @type {string}
259
- * @memberof AccountingConfigsApiCreateAndEnableSubledger
260
- */
261
- readonly authorization?: string;
262
- }
263
- /**
264
- * Request parameters for createAndEnableSubledgerFromFile operation in AccountingConfigsApi.
265
- * @export
266
- * @interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest
267
- */
268
- export interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest {
269
- /**
270
- * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
271
- * @type {any}
272
- * @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
273
- */
274
- readonly file: any;
275
- /**
276
- * Bearer Token: provided by the login endpoint under the name accessToken.
277
- * @type {string}
278
- * @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
279
- */
280
- readonly authorization?: string;
281
- }
282
- /**
283
- * Request parameters for exportAccountingConfig operation in AccountingConfigsApi.
284
- * @export
285
- * @interface AccountingConfigsApiExportAccountingConfigRequest
286
- */
287
- export interface AccountingConfigsApiExportAccountingConfigRequest {
288
- /**
289
- * Bearer Token: provided by the login endpoint under the name accessToken.
290
- * @type {string}
291
- * @memberof AccountingConfigsApiExportAccountingConfig
292
- */
293
- readonly authorization?: string;
294
- }
295
- /**
296
- * Request parameters for getAccountingCategories operation in AccountingConfigsApi.
297
- * @export
298
- * @interface AccountingConfigsApiGetAccountingCategoriesRequest
299
- */
300
- export interface AccountingConfigsApiGetAccountingCategoriesRequest {
301
- /**
302
- * Bearer Token: provided by the login endpoint under the name accessToken.
303
- * @type {string}
304
- * @memberof AccountingConfigsApiGetAccountingCategories
305
- */
306
- readonly authorization?: string;
307
- }
308
- /**
309
- * Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
310
- * @export
311
- * @interface AccountingConfigsApiGetActivationSnapshotRequest
312
- */
313
- export interface AccountingConfigsApiGetActivationSnapshotRequest {
314
- /**
315
- * Bearer Token: provided by the login endpoint under the name accessToken.
316
- * @type {string}
317
- * @memberof AccountingConfigsApiGetActivationSnapshot
318
- */
319
- readonly authorization?: string;
320
- }
321
- /**
322
- * Request parameters for resetSubledger operation in AccountingConfigsApi.
323
- * @export
324
- * @interface AccountingConfigsApiResetSubledgerRequest
325
- */
326
- export interface AccountingConfigsApiResetSubledgerRequest {
327
- /**
328
- * Bearer Token: provided by the login endpoint under the name accessToken.
329
- * @type {string}
330
- * @memberof AccountingConfigsApiResetSubledger
331
- */
332
- readonly authorization?: string;
333
- }
334
- /**
335
- * Request parameters for validateAccountingConfig operation in AccountingConfigsApi.
336
- * @export
337
- * @interface AccountingConfigsApiValidateAccountingConfigRequest
338
- */
339
- export interface AccountingConfigsApiValidateAccountingConfigRequest {
340
- /**
341
- *
342
- * @type {ValidateAccountingConfigRequestDto}
343
- * @memberof AccountingConfigsApiValidateAccountingConfig
344
- */
345
- readonly validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto;
346
- /**
347
- * Bearer Token: provided by the login endpoint under the name accessToken.
348
- * @type {string}
349
- * @memberof AccountingConfigsApiValidateAccountingConfig
350
- */
351
- readonly authorization?: string;
352
- }
353
- /**
354
- * Request parameters for validateAccountingConfigFromFile operation in AccountingConfigsApi.
355
- * @export
356
- * @interface AccountingConfigsApiValidateAccountingConfigFromFileRequest
357
- */
358
- export interface AccountingConfigsApiValidateAccountingConfigFromFileRequest {
359
- /**
360
- * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
361
- * @type {any}
362
- * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
363
- */
364
- readonly file: any;
365
- /**
366
- * Bearer Token: provided by the login endpoint under the name accessToken.
367
- * @type {string}
368
- * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
369
- */
370
- readonly authorization?: string;
371
- }
372
- /**
373
- * AccountingConfigsApi - object-oriented interface
374
- * @export
375
- * @class AccountingConfigsApi
376
- * @extends {BaseAPI}
377
- */
378
- export declare class AccountingConfigsApi extends BaseAPI {
379
- /**
380
- * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
381
- * @summary Create the create and enable subledger
382
- * @param {AccountingConfigsApiCreateAndEnableSubledgerRequest} requestParameters Request parameters.
383
- * @param {*} [options] Override http request option.
384
- * @throws {RequiredError}
385
- * @memberof AccountingConfigsApi
386
- */
387
- createAndEnableSubledger(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
388
- /**
389
- * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
390
- * @summary Create the create and enable subledger from file
391
- * @param {AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest} requestParameters Request parameters.
392
- * @param {*} [options] Override http request option.
393
- * @throws {RequiredError}
394
- * @memberof AccountingConfigsApi
395
- */
396
- createAndEnableSubledgerFromFile(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
397
- /**
398
- * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
399
- * @summary Retrieve the export accounting config
400
- * @param {AccountingConfigsApiExportAccountingConfigRequest} requestParameters Request parameters.
401
- * @param {*} [options] Override http request option.
402
- * @throws {RequiredError}
403
- * @memberof AccountingConfigsApi
404
- */
405
- exportAccountingConfig(requestParameters?: AccountingConfigsApiExportAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportAccountingConfigResponseClass, any, {}>>;
406
- /**
407
- * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
408
- * @summary Retrieve the accounting categories
409
- * @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
410
- * @param {*} [options] Override http request option.
411
- * @throws {RequiredError}
412
- * @memberof AccountingConfigsApi
413
- */
414
- getAccountingCategories(requestParameters?: AccountingConfigsApiGetAccountingCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingCategoriesResponseClass, any, {}>>;
415
- /**
416
- * Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
417
- * @summary Retrieve the get activation snapshot
418
- * @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
419
- * @param {*} [options] Override http request option.
420
- * @throws {RequiredError}
421
- * @memberof AccountingConfigsApi
422
- */
423
- getActivationSnapshot(requestParameters?: AccountingConfigsApiGetActivationSnapshotRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActivationSnapshotResponseClass, any, {}>>;
424
- /**
425
- * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
426
- * @summary Delete the reset subledger
427
- * @param {AccountingConfigsApiResetSubledgerRequest} requestParameters Request parameters.
428
- * @param {*} [options] Override http request option.
429
- * @throws {RequiredError}
430
- * @memberof AccountingConfigsApi
431
- */
432
- resetSubledger(requestParameters?: AccountingConfigsApiResetSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
433
- /**
434
- * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
435
- * @summary Create the validate accounting config
436
- * @param {AccountingConfigsApiValidateAccountingConfigRequest} requestParameters Request parameters.
437
- * @param {*} [options] Override http request option.
438
- * @throws {RequiredError}
439
- * @memberof AccountingConfigsApi
440
- */
441
- validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
442
- /**
443
- * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
444
- * @summary Create the validate accounting config from file
445
- * @param {AccountingConfigsApiValidateAccountingConfigFromFileRequest} requestParameters Request parameters.
446
- * @param {*} [options] Override http request option.
447
- * @throws {RequiredError}
448
- * @memberof AccountingConfigsApi
449
- */
450
- validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
451
- }