@emilgroup/accounting-sdk-node 1.27.1-beta.16 → 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
package/api.ts CHANGED
@@ -24,6 +24,7 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
+ import { AccountingConfigsApi } from './api';
27
28
  import { BookingEntriesApi } from './api';
28
29
  import { FinancialAccountsApi } from './api';
29
30
  import { FinancialTransactionsApi } from './api';
@@ -32,6 +33,7 @@ import { NumberRangesApi } from './api';
32
33
  import { PersonalAccountsApi } from './api';
33
34
 
34
35
 
36
+ export * from './api/accounting-configs-api';
35
37
  export * from './api/booking-entries-api';
36
38
  export * from './api/financial-accounts-api';
37
39
  export * from './api/financial-transactions-api';
@@ -0,0 +1,624 @@
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 { CreateAccountingConfigRequestDto } from '../models';
16
+ import { CreateAccountingConfigResponseClass } from '../models';
17
+ import { GetAccountingConfigResponseClass } from '../models';
18
+ import { InlineObject2 } from '../models';
19
+ import { ListAccountingConfigsResponseClass } from '../models';
20
+ import { UpdateChartOfAccountsResponseClass } from '../models';
21
+ import { ValidateAccountingConfigRequestDto } from '../models';
22
+ import { ValidateAccountingConfigResponseClass } from '../models';
23
+ /**
24
+ * AccountingConfigsApi - axios parameter creator
25
+ * @export
26
+ */
27
+ export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * This will create accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
30
+ * @summary Create the accounting config
31
+ * @param {CreateAccountingConfigRequestDto} createAccountingConfigRequestDto
32
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ createAccountingConfig: (createAccountingConfigRequestDto: CreateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * This will create accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
39
+ * @summary Create the accounting config from file
40
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createAccountingConfigFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ * This will delete accounting config. **Required Permissions** \"accounting-management.financial-accounts.delete\"
48
+ * @summary Delete the accounting config
49
+ * @param {string} code Unique identifier for the object.
50
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ deleteAccountingConfig: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
57
+ * @summary Retrieve the accounting config
58
+ * @param {string} code
59
+ * @param {string} expand
60
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ getAccountingConfig: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * Retrieves a list of accountingconfigs. **Required Permissions** \"accounting-management.financial-accounts.view\"
67
+ * @summary List accounting configs
68
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
72
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
73
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
74
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
75
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ listAccountingConfigs: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ /**
81
+ * This will update the chart of accounts. **Required Permissions** \"accounting-management.financial-accounts.update\"
82
+ * @summary Update the chart of accounts
83
+ * @param {string} code
84
+ * @param {InlineObject2} inlineObject2
85
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ updateChartOfAccounts: (code: string, inlineObject2: InlineObject2, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
+ /**
91
+ * This will update the chart of accounts from a file. **Required Permissions** \"accounting-management.financial-accounts.update\"
92
+ * @summary Update the chart of accounts from file
93
+ * @param {string} code
94
+ * @param {any} file JSON or YAML file containing the chart of accounts config. Supported formats: .json, .yaml, .yml
95
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ updateChartOfAccountsFromFile: (code: string, file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
100
+ /**
101
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
102
+ * @summary Create the validate accounting config
103
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ validateAccountingConfig: (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
109
+ /**
110
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
111
+ * @summary Create the validate accounting config from file
112
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
113
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ validateAccountingConfigFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
118
+ };
119
+ /**
120
+ * AccountingConfigsApi - functional programming interface
121
+ * @export
122
+ */
123
+ export declare const AccountingConfigsApiFp: (configuration?: Configuration) => {
124
+ /**
125
+ * This will create accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
126
+ * @summary Create the accounting config
127
+ * @param {CreateAccountingConfigRequestDto} createAccountingConfigRequestDto
128
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ createAccountingConfig(createAccountingConfigRequestDto: CreateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountingConfigResponseClass>>;
133
+ /**
134
+ * This will create accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
135
+ * @summary Create the accounting config from file
136
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
137
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ createAccountingConfigFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountingConfigResponseClass>>;
142
+ /**
143
+ * This will delete accounting config. **Required Permissions** \"accounting-management.financial-accounts.delete\"
144
+ * @summary Delete the accounting config
145
+ * @param {string} code Unique identifier for the object.
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
+ deleteAccountingConfig(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
151
+ /**
152
+ * This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
153
+ * @summary Retrieve the accounting config
154
+ * @param {string} code
155
+ * @param {string} expand
156
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ getAccountingConfig(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingConfigResponseClass>>;
161
+ /**
162
+ * Retrieves a list of accountingconfigs. **Required Permissions** \"accounting-management.financial-accounts.view\"
163
+ * @summary List accounting configs
164
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
166
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
167
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
168
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
169
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
170
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
171
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ listAccountingConfigs(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountingConfigsResponseClass>>;
176
+ /**
177
+ * This will update the chart of accounts. **Required Permissions** \"accounting-management.financial-accounts.update\"
178
+ * @summary Update the chart of accounts
179
+ * @param {string} code
180
+ * @param {InlineObject2} inlineObject2
181
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ updateChartOfAccounts(code: string, inlineObject2: InlineObject2, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateChartOfAccountsResponseClass>>;
186
+ /**
187
+ * This will update the chart of accounts from a file. **Required Permissions** \"accounting-management.financial-accounts.update\"
188
+ * @summary Update the chart of accounts from file
189
+ * @param {string} code
190
+ * @param {any} file JSON or YAML file containing the chart of accounts config. Supported formats: .json, .yaml, .yml
191
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ updateChartOfAccountsFromFile(code: string, file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateChartOfAccountsResponseClass>>;
196
+ /**
197
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
198
+ * @summary Create the validate accounting config
199
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
200
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ */
204
+ validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
205
+ /**
206
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
207
+ * @summary Create the validate accounting config from file
208
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
209
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ validateAccountingConfigFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
214
+ };
215
+ /**
216
+ * AccountingConfigsApi - factory interface
217
+ * @export
218
+ */
219
+ export declare const AccountingConfigsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
220
+ /**
221
+ * This will create accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
222
+ * @summary Create the accounting config
223
+ * @param {CreateAccountingConfigRequestDto} createAccountingConfigRequestDto
224
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ createAccountingConfig(createAccountingConfigRequestDto: CreateAccountingConfigRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAccountingConfigResponseClass>;
229
+ /**
230
+ * This will create accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
231
+ * @summary Create the accounting config from file
232
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
233
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ */
237
+ createAccountingConfigFromFile(file: any, authorization?: string, options?: any): AxiosPromise<CreateAccountingConfigResponseClass>;
238
+ /**
239
+ * This will delete accounting config. **Required Permissions** \"accounting-management.financial-accounts.delete\"
240
+ * @summary Delete the accounting config
241
+ * @param {string} code Unique identifier for the object.
242
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ */
246
+ deleteAccountingConfig(code: string, authorization?: string, options?: any): AxiosPromise<void>;
247
+ /**
248
+ * This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
249
+ * @summary Retrieve the accounting config
250
+ * @param {string} code
251
+ * @param {string} expand
252
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ */
256
+ getAccountingConfig(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetAccountingConfigResponseClass>;
257
+ /**
258
+ * Retrieves a list of accountingconfigs. **Required Permissions** \"accounting-management.financial-accounts.view\"
259
+ * @summary List accounting configs
260
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
261
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
262
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
263
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
264
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
265
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
266
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
267
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ listAccountingConfigs(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListAccountingConfigsResponseClass>;
272
+ /**
273
+ * This will update the chart of accounts. **Required Permissions** \"accounting-management.financial-accounts.update\"
274
+ * @summary Update the chart of accounts
275
+ * @param {string} code
276
+ * @param {InlineObject2} inlineObject2
277
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ updateChartOfAccounts(code: string, inlineObject2: InlineObject2, authorization?: string, options?: any): AxiosPromise<UpdateChartOfAccountsResponseClass>;
282
+ /**
283
+ * This will update the chart of accounts from a file. **Required Permissions** \"accounting-management.financial-accounts.update\"
284
+ * @summary Update the chart of accounts from file
285
+ * @param {string} code
286
+ * @param {any} file JSON or YAML file containing the chart of accounts config. Supported formats: .json, .yaml, .yml
287
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ updateChartOfAccountsFromFile(code: string, file: any, authorization?: string, options?: any): AxiosPromise<UpdateChartOfAccountsResponseClass>;
292
+ /**
293
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
294
+ * @summary Create the validate accounting config
295
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
296
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
301
+ /**
302
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
303
+ * @summary Create the validate accounting config from file
304
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
305
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ validateAccountingConfigFromFile(file: any, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
310
+ };
311
+ /**
312
+ * Request parameters for createAccountingConfig operation in AccountingConfigsApi.
313
+ * @export
314
+ * @interface AccountingConfigsApiCreateAccountingConfigRequest
315
+ */
316
+ export interface AccountingConfigsApiCreateAccountingConfigRequest {
317
+ /**
318
+ *
319
+ * @type {CreateAccountingConfigRequestDto}
320
+ * @memberof AccountingConfigsApiCreateAccountingConfig
321
+ */
322
+ readonly createAccountingConfigRequestDto: CreateAccountingConfigRequestDto;
323
+ /**
324
+ * Bearer Token: provided by the login endpoint under the name accessToken.
325
+ * @type {string}
326
+ * @memberof AccountingConfigsApiCreateAccountingConfig
327
+ */
328
+ readonly authorization?: string;
329
+ }
330
+ /**
331
+ * Request parameters for createAccountingConfigFromFile operation in AccountingConfigsApi.
332
+ * @export
333
+ * @interface AccountingConfigsApiCreateAccountingConfigFromFileRequest
334
+ */
335
+ export interface AccountingConfigsApiCreateAccountingConfigFromFileRequest {
336
+ /**
337
+ * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
338
+ * @type {any}
339
+ * @memberof AccountingConfigsApiCreateAccountingConfigFromFile
340
+ */
341
+ readonly file: any;
342
+ /**
343
+ * Bearer Token: provided by the login endpoint under the name accessToken.
344
+ * @type {string}
345
+ * @memberof AccountingConfigsApiCreateAccountingConfigFromFile
346
+ */
347
+ readonly authorization?: string;
348
+ }
349
+ /**
350
+ * Request parameters for deleteAccountingConfig operation in AccountingConfigsApi.
351
+ * @export
352
+ * @interface AccountingConfigsApiDeleteAccountingConfigRequest
353
+ */
354
+ export interface AccountingConfigsApiDeleteAccountingConfigRequest {
355
+ /**
356
+ * Unique identifier for the object.
357
+ * @type {string}
358
+ * @memberof AccountingConfigsApiDeleteAccountingConfig
359
+ */
360
+ readonly code: string;
361
+ /**
362
+ * Bearer Token: provided by the login endpoint under the name accessToken.
363
+ * @type {string}
364
+ * @memberof AccountingConfigsApiDeleteAccountingConfig
365
+ */
366
+ readonly authorization?: string;
367
+ }
368
+ /**
369
+ * Request parameters for getAccountingConfig operation in AccountingConfigsApi.
370
+ * @export
371
+ * @interface AccountingConfigsApiGetAccountingConfigRequest
372
+ */
373
+ export interface AccountingConfigsApiGetAccountingConfigRequest {
374
+ /**
375
+ *
376
+ * @type {string}
377
+ * @memberof AccountingConfigsApiGetAccountingConfig
378
+ */
379
+ readonly code: string;
380
+ /**
381
+ *
382
+ * @type {string}
383
+ * @memberof AccountingConfigsApiGetAccountingConfig
384
+ */
385
+ readonly expand: string;
386
+ /**
387
+ * Bearer Token: provided by the login endpoint under the name accessToken.
388
+ * @type {string}
389
+ * @memberof AccountingConfigsApiGetAccountingConfig
390
+ */
391
+ readonly authorization?: string;
392
+ }
393
+ /**
394
+ * Request parameters for listAccountingConfigs operation in AccountingConfigsApi.
395
+ * @export
396
+ * @interface AccountingConfigsApiListAccountingConfigsRequest
397
+ */
398
+ export interface AccountingConfigsApiListAccountingConfigsRequest {
399
+ /**
400
+ * Bearer Token: provided by the login endpoint under the name accessToken.
401
+ * @type {string}
402
+ * @memberof AccountingConfigsApiListAccountingConfigs
403
+ */
404
+ readonly authorization?: string;
405
+ /**
406
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
407
+ * @type {number}
408
+ * @memberof AccountingConfigsApiListAccountingConfigs
409
+ */
410
+ readonly pageSize?: number;
411
+ /**
412
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
413
+ * @type {string}
414
+ * @memberof AccountingConfigsApiListAccountingConfigs
415
+ */
416
+ readonly pageToken?: string;
417
+ /**
418
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
419
+ * @type {string}
420
+ * @memberof AccountingConfigsApiListAccountingConfigs
421
+ */
422
+ readonly filter?: string;
423
+ /**
424
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
425
+ * @type {string}
426
+ * @memberof AccountingConfigsApiListAccountingConfigs
427
+ */
428
+ readonly search?: string;
429
+ /**
430
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
431
+ * @type {string}
432
+ * @memberof AccountingConfigsApiListAccountingConfigs
433
+ */
434
+ readonly order?: string;
435
+ /**
436
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
437
+ * @type {string}
438
+ * @memberof AccountingConfigsApiListAccountingConfigs
439
+ */
440
+ readonly expand?: string;
441
+ /**
442
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
443
+ * @type {string}
444
+ * @memberof AccountingConfigsApiListAccountingConfigs
445
+ */
446
+ readonly filters?: string;
447
+ }
448
+ /**
449
+ * Request parameters for updateChartOfAccounts operation in AccountingConfigsApi.
450
+ * @export
451
+ * @interface AccountingConfigsApiUpdateChartOfAccountsRequest
452
+ */
453
+ export interface AccountingConfigsApiUpdateChartOfAccountsRequest {
454
+ /**
455
+ *
456
+ * @type {string}
457
+ * @memberof AccountingConfigsApiUpdateChartOfAccounts
458
+ */
459
+ readonly code: string;
460
+ /**
461
+ *
462
+ * @type {InlineObject2}
463
+ * @memberof AccountingConfigsApiUpdateChartOfAccounts
464
+ */
465
+ readonly inlineObject2: InlineObject2;
466
+ /**
467
+ * Bearer Token: provided by the login endpoint under the name accessToken.
468
+ * @type {string}
469
+ * @memberof AccountingConfigsApiUpdateChartOfAccounts
470
+ */
471
+ readonly authorization?: string;
472
+ }
473
+ /**
474
+ * Request parameters for updateChartOfAccountsFromFile operation in AccountingConfigsApi.
475
+ * @export
476
+ * @interface AccountingConfigsApiUpdateChartOfAccountsFromFileRequest
477
+ */
478
+ export interface AccountingConfigsApiUpdateChartOfAccountsFromFileRequest {
479
+ /**
480
+ *
481
+ * @type {string}
482
+ * @memberof AccountingConfigsApiUpdateChartOfAccountsFromFile
483
+ */
484
+ readonly code: string;
485
+ /**
486
+ * JSON or YAML file containing the chart of accounts config. Supported formats: .json, .yaml, .yml
487
+ * @type {any}
488
+ * @memberof AccountingConfigsApiUpdateChartOfAccountsFromFile
489
+ */
490
+ readonly file: any;
491
+ /**
492
+ * Bearer Token: provided by the login endpoint under the name accessToken.
493
+ * @type {string}
494
+ * @memberof AccountingConfigsApiUpdateChartOfAccountsFromFile
495
+ */
496
+ readonly authorization?: string;
497
+ }
498
+ /**
499
+ * Request parameters for validateAccountingConfig operation in AccountingConfigsApi.
500
+ * @export
501
+ * @interface AccountingConfigsApiValidateAccountingConfigRequest
502
+ */
503
+ export interface AccountingConfigsApiValidateAccountingConfigRequest {
504
+ /**
505
+ *
506
+ * @type {ValidateAccountingConfigRequestDto}
507
+ * @memberof AccountingConfigsApiValidateAccountingConfig
508
+ */
509
+ readonly validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto;
510
+ /**
511
+ * Bearer Token: provided by the login endpoint under the name accessToken.
512
+ * @type {string}
513
+ * @memberof AccountingConfigsApiValidateAccountingConfig
514
+ */
515
+ readonly authorization?: string;
516
+ }
517
+ /**
518
+ * Request parameters for validateAccountingConfigFromFile operation in AccountingConfigsApi.
519
+ * @export
520
+ * @interface AccountingConfigsApiValidateAccountingConfigFromFileRequest
521
+ */
522
+ export interface AccountingConfigsApiValidateAccountingConfigFromFileRequest {
523
+ /**
524
+ * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
525
+ * @type {any}
526
+ * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
527
+ */
528
+ readonly file: any;
529
+ /**
530
+ * Bearer Token: provided by the login endpoint under the name accessToken.
531
+ * @type {string}
532
+ * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
533
+ */
534
+ readonly authorization?: string;
535
+ }
536
+ /**
537
+ * AccountingConfigsApi - object-oriented interface
538
+ * @export
539
+ * @class AccountingConfigsApi
540
+ * @extends {BaseAPI}
541
+ */
542
+ export declare class AccountingConfigsApi extends BaseAPI {
543
+ /**
544
+ * This will create accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
545
+ * @summary Create the accounting config
546
+ * @param {AccountingConfigsApiCreateAccountingConfigRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ * @memberof AccountingConfigsApi
550
+ */
551
+ createAccountingConfig(requestParameters: AccountingConfigsApiCreateAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountingConfigResponseClass, any, {}>>;
552
+ /**
553
+ * This will create accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
554
+ * @summary Create the accounting config from file
555
+ * @param {AccountingConfigsApiCreateAccountingConfigFromFileRequest} requestParameters Request parameters.
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ * @memberof AccountingConfigsApi
559
+ */
560
+ createAccountingConfigFromFile(requestParameters: AccountingConfigsApiCreateAccountingConfigFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountingConfigResponseClass, any, {}>>;
561
+ /**
562
+ * This will delete accounting config. **Required Permissions** \"accounting-management.financial-accounts.delete\"
563
+ * @summary Delete the accounting config
564
+ * @param {AccountingConfigsApiDeleteAccountingConfigRequest} requestParameters Request parameters.
565
+ * @param {*} [options] Override http request option.
566
+ * @throws {RequiredError}
567
+ * @memberof AccountingConfigsApi
568
+ */
569
+ deleteAccountingConfig(requestParameters: AccountingConfigsApiDeleteAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
570
+ /**
571
+ * This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
572
+ * @summary Retrieve the accounting config
573
+ * @param {AccountingConfigsApiGetAccountingConfigRequest} requestParameters Request parameters.
574
+ * @param {*} [options] Override http request option.
575
+ * @throws {RequiredError}
576
+ * @memberof AccountingConfigsApi
577
+ */
578
+ getAccountingConfig(requestParameters: AccountingConfigsApiGetAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingConfigResponseClass, any, {}>>;
579
+ /**
580
+ * Retrieves a list of accountingconfigs. **Required Permissions** \"accounting-management.financial-accounts.view\"
581
+ * @summary List accounting configs
582
+ * @param {AccountingConfigsApiListAccountingConfigsRequest} requestParameters Request parameters.
583
+ * @param {*} [options] Override http request option.
584
+ * @throws {RequiredError}
585
+ * @memberof AccountingConfigsApi
586
+ */
587
+ listAccountingConfigs(requestParameters?: AccountingConfigsApiListAccountingConfigsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountingConfigsResponseClass, any, {}>>;
588
+ /**
589
+ * This will update the chart of accounts. **Required Permissions** \"accounting-management.financial-accounts.update\"
590
+ * @summary Update the chart of accounts
591
+ * @param {AccountingConfigsApiUpdateChartOfAccountsRequest} requestParameters Request parameters.
592
+ * @param {*} [options] Override http request option.
593
+ * @throws {RequiredError}
594
+ * @memberof AccountingConfigsApi
595
+ */
596
+ updateChartOfAccounts(requestParameters: AccountingConfigsApiUpdateChartOfAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateChartOfAccountsResponseClass, any, {}>>;
597
+ /**
598
+ * This will update the chart of accounts from a file. **Required Permissions** \"accounting-management.financial-accounts.update\"
599
+ * @summary Update the chart of accounts from file
600
+ * @param {AccountingConfigsApiUpdateChartOfAccountsFromFileRequest} requestParameters Request parameters.
601
+ * @param {*} [options] Override http request option.
602
+ * @throws {RequiredError}
603
+ * @memberof AccountingConfigsApi
604
+ */
605
+ updateChartOfAccountsFromFile(requestParameters: AccountingConfigsApiUpdateChartOfAccountsFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateChartOfAccountsResponseClass, any, {}>>;
606
+ /**
607
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
608
+ * @summary Create the validate accounting config
609
+ * @param {AccountingConfigsApiValidateAccountingConfigRequest} requestParameters Request parameters.
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ * @memberof AccountingConfigsApi
613
+ */
614
+ validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
615
+ /**
616
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
617
+ * @summary Create the validate accounting config from file
618
+ * @param {AccountingConfigsApiValidateAccountingConfigFromFileRequest} requestParameters Request parameters.
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ * @memberof AccountingConfigsApi
622
+ */
623
+ validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
624
+ }