@emilgroup/accounting-sdk 1.34.0 → 1.34.1-beta.0

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 (76) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +756 -0
  4. package/api/financial-accounts-api.ts +12 -12
  5. package/api.ts +2 -0
  6. package/dist/api/accounting-configs-api.d.ts +404 -0
  7. package/dist/api/accounting-configs-api.js +770 -0
  8. package/dist/api/financial-accounts-api.d.ts +12 -12
  9. package/dist/api/financial-accounts-api.js +9 -9
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/account-mapping-class.d.ts +71 -0
  13. package/dist/models/account-mapping-class.js +38 -0
  14. package/dist/models/accounting-category-class.d.ts +45 -0
  15. package/dist/models/accounting-category-class.js +24 -0
  16. package/dist/models/accounting-config-class.d.ts +67 -0
  17. package/dist/models/accounting-config-class.js +15 -0
  18. package/dist/models/accounting-config-data-class.d.ts +38 -0
  19. package/dist/models/accounting-config-data-class.js +15 -0
  20. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  21. package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
  22. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +71 -0
  23. package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -0
  24. package/dist/models/accounting-config-data-dto.d.ts +38 -0
  25. package/dist/models/accounting-config-data-dto.js +15 -0
  26. package/dist/models/accounting-configuration-class.d.ts +36 -0
  27. package/dist/models/accounting-configuration-class.js +15 -0
  28. package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
  29. package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
  30. package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
  31. package/dist/models/create-and-enable-subledger-response-class.js +15 -0
  32. package/dist/models/create-booking-entry-request-dto.d.ts +4 -2
  33. package/dist/models/create-financial-account-request-dto.d.ts +40 -3
  34. package/dist/models/create-financial-account-request-dto.js +24 -2
  35. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  36. package/dist/models/create-number-range-request-dto.js +4 -4
  37. package/dist/models/create-personal-account-request-dto.d.ts +14 -6
  38. package/dist/models/create-personal-account-request-dto.js +3 -3
  39. package/dist/models/export-accounting-config-response-class.d.ts +25 -0
  40. package/dist/models/export-accounting-config-response-class.js +15 -0
  41. package/dist/models/financial-account-class.d.ts +20 -2
  42. package/dist/models/financial-account-class.js +1 -1
  43. package/dist/models/financial-transaction-data-dto.d.ts +4 -2
  44. package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
  45. package/dist/models/get-accounting-categories-response-class.js +15 -0
  46. package/dist/models/index.d.ts +14 -0
  47. package/dist/models/index.js +14 -0
  48. package/dist/models/personal-account-class.d.ts +8 -2
  49. package/dist/models/personal-account-class.js +1 -1
  50. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  51. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  52. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  53. package/dist/models/validate-accounting-config-response-class.js +15 -0
  54. package/models/account-mapping-class.ts +80 -0
  55. package/models/accounting-category-class.ts +54 -0
  56. package/models/accounting-config-class.ts +73 -0
  57. package/models/accounting-config-data-class.ts +44 -0
  58. package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
  59. package/models/accounting-config-data-dto-default-account-mappings.ts +80 -0
  60. package/models/accounting-config-data-dto.ts +44 -0
  61. package/models/accounting-configuration-class.ts +42 -0
  62. package/models/create-and-enable-subledger-request-dto.ts +31 -0
  63. package/models/create-and-enable-subledger-response-class.ts +31 -0
  64. package/models/create-booking-entry-request-dto.ts +2 -2
  65. package/models/create-financial-account-request-dto.ts +39 -3
  66. package/models/create-number-range-request-dto.ts +4 -4
  67. package/models/create-personal-account-request-dto.ts +12 -6
  68. package/models/export-accounting-config-response-class.ts +31 -0
  69. package/models/financial-account-class.ts +20 -2
  70. package/models/financial-transaction-data-dto.ts +2 -2
  71. package/models/get-accounting-categories-response-class.ts +31 -0
  72. package/models/index.ts +14 -0
  73. package/models/personal-account-class.ts +8 -2
  74. package/models/validate-accounting-config-request-dto.ts +31 -0
  75. package/models/validate-accounting-config-response-class.ts +36 -0
  76. package/package.json +1 -1
@@ -184,11 +184,11 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
185
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
186
  * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
187
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
187
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
188
188
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
189
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
189
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
190
190
  * @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.<br/> <br/>
191
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
191
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
@@ -307,11 +307,11 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
308
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
309
  * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
310
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
310
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
311
311
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
312
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
312
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
313
313
  * @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.<br/> <br/>
314
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
314
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
@@ -369,11 +369,11 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
370
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
371
  * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
372
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
372
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
373
373
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
374
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
374
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
375
375
  * @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.<br/> <br/>
376
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
376
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
379
379
  */
@@ -481,7 +481,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
481
481
  readonly pageToken?: string
482
482
 
483
483
  /**
484
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
484
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
485
485
  * @type {string}
486
486
  * @memberof FinancialAccountsApiListFinancialAccounts
487
487
  */
@@ -495,7 +495,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
495
495
  readonly search?: string
496
496
 
497
497
  /**
498
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
498
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
499
499
  * @type {string}
500
500
  * @memberof FinancialAccountsApiListFinancialAccounts
501
501
  */
@@ -509,7 +509,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
509
509
  readonly expand?: string
510
510
 
511
511
  /**
512
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
512
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory</i>
513
513
  * @type {string}
514
514
  * @memberof FinancialAccountsApiListFinancialAccounts
515
515
  */
package/api.ts CHANGED
@@ -20,6 +20,7 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
+ import { AccountingConfigsApi } from './api';
23
24
  import { BookingEntriesApi } from './api';
24
25
  import { FinancialAccountsApi } from './api';
25
26
  import { FinancialTransactionsApi } from './api';
@@ -28,6 +29,7 @@ import { NumberRangesApi } from './api';
28
29
  import { PersonalAccountsApi } from './api';
29
30
 
30
31
 
32
+ export * from './api/accounting-configs-api';
31
33
  export * from './api/booking-entries-api';
32
34
  export * from './api/financial-accounts-api';
33
35
  export * from './api/financial-transactions-api';
@@ -0,0 +1,404 @@
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 { ValidateAccountingConfigRequestDto } from '../models';
20
+ import { ValidateAccountingConfigResponseClass } from '../models';
21
+ /**
22
+ * AccountingConfigsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
28
+ * @summary Create the create and enable subledger
29
+ * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createAndEnableSubledger: (createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
37
+ * @summary Create the create and enable subledger from file
38
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
39
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ createAndEnableSubledgerFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
46
+ * @summary Retrieve the export accounting config
47
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ exportAccountingConfig: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
54
+ * @summary Retrieve the accounting categories
55
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ getAccountingCategories: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
62
+ * @summary Delete the reset subledger
63
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ resetSubledger: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
70
+ * @summary Create the validate accounting config
71
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
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
+ validateAccountingConfig: (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ /**
78
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
79
+ * @summary Create the validate accounting config from file
80
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
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
+ validateAccountingConfigFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
86
+ };
87
+ /**
88
+ * AccountingConfigsApi - functional programming interface
89
+ * @export
90
+ */
91
+ export declare const AccountingConfigsApiFp: (configuration?: Configuration) => {
92
+ /**
93
+ * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
94
+ * @summary Create the create and enable subledger
95
+ * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
101
+ /**
102
+ * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
103
+ * @summary Create the create and enable subledger from file
104
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
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
+ createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
110
+ /**
111
+ * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
112
+ * @summary Retrieve the export accounting config
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
+ exportAccountingConfig(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportAccountingConfigResponseClass>>;
118
+ /**
119
+ * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
120
+ * @summary Retrieve the accounting categories
121
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>>;
126
+ /**
127
+ * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
128
+ * @summary Delete the reset subledger
129
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ resetSubledger(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
134
+ /**
135
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
136
+ * @summary Create the validate accounting config
137
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
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
+ validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
143
+ /**
144
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
145
+ * @summary Create the validate accounting config from file
146
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
147
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ validateAccountingConfigFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
152
+ };
153
+ /**
154
+ * AccountingConfigsApi - factory interface
155
+ * @export
156
+ */
157
+ export declare const AccountingConfigsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
158
+ /**
159
+ * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
160
+ * @summary Create the create and enable subledger
161
+ * @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
162
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
167
+ /**
168
+ * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
169
+ * @summary Create the create and enable subledger from file
170
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
171
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
176
+ /**
177
+ * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
178
+ * @summary Retrieve the export accounting config
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
+ exportAccountingConfig(authorization?: string, options?: any): AxiosPromise<ExportAccountingConfigResponseClass>;
184
+ /**
185
+ * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
186
+ * @summary Retrieve the accounting categories
187
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass>;
192
+ /**
193
+ * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
194
+ * @summary Delete the reset subledger
195
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ resetSubledger(authorization?: string, options?: any): AxiosPromise<void>;
200
+ /**
201
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
202
+ * @summary Create the validate accounting config
203
+ * @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
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
+ validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
209
+ /**
210
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
211
+ * @summary Create the validate accounting config from file
212
+ * @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
213
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ validateAccountingConfigFromFile(file: any, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
218
+ };
219
+ /**
220
+ * Request parameters for createAndEnableSubledger operation in AccountingConfigsApi.
221
+ * @export
222
+ * @interface AccountingConfigsApiCreateAndEnableSubledgerRequest
223
+ */
224
+ export interface AccountingConfigsApiCreateAndEnableSubledgerRequest {
225
+ /**
226
+ *
227
+ * @type {CreateAndEnableSubledgerRequestDto}
228
+ * @memberof AccountingConfigsApiCreateAndEnableSubledger
229
+ */
230
+ readonly createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto;
231
+ /**
232
+ * Bearer Token: provided by the login endpoint under the name accessToken.
233
+ * @type {string}
234
+ * @memberof AccountingConfigsApiCreateAndEnableSubledger
235
+ */
236
+ readonly authorization?: string;
237
+ }
238
+ /**
239
+ * Request parameters for createAndEnableSubledgerFromFile operation in AccountingConfigsApi.
240
+ * @export
241
+ * @interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest
242
+ */
243
+ export interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest {
244
+ /**
245
+ * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
246
+ * @type {any}
247
+ * @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
248
+ */
249
+ readonly file: any;
250
+ /**
251
+ * Bearer Token: provided by the login endpoint under the name accessToken.
252
+ * @type {string}
253
+ * @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
254
+ */
255
+ readonly authorization?: string;
256
+ }
257
+ /**
258
+ * Request parameters for exportAccountingConfig operation in AccountingConfigsApi.
259
+ * @export
260
+ * @interface AccountingConfigsApiExportAccountingConfigRequest
261
+ */
262
+ export interface AccountingConfigsApiExportAccountingConfigRequest {
263
+ /**
264
+ * Bearer Token: provided by the login endpoint under the name accessToken.
265
+ * @type {string}
266
+ * @memberof AccountingConfigsApiExportAccountingConfig
267
+ */
268
+ readonly authorization?: string;
269
+ }
270
+ /**
271
+ * Request parameters for getAccountingCategories operation in AccountingConfigsApi.
272
+ * @export
273
+ * @interface AccountingConfigsApiGetAccountingCategoriesRequest
274
+ */
275
+ export interface AccountingConfigsApiGetAccountingCategoriesRequest {
276
+ /**
277
+ * Bearer Token: provided by the login endpoint under the name accessToken.
278
+ * @type {string}
279
+ * @memberof AccountingConfigsApiGetAccountingCategories
280
+ */
281
+ readonly authorization?: string;
282
+ }
283
+ /**
284
+ * Request parameters for resetSubledger operation in AccountingConfigsApi.
285
+ * @export
286
+ * @interface AccountingConfigsApiResetSubledgerRequest
287
+ */
288
+ export interface AccountingConfigsApiResetSubledgerRequest {
289
+ /**
290
+ * Bearer Token: provided by the login endpoint under the name accessToken.
291
+ * @type {string}
292
+ * @memberof AccountingConfigsApiResetSubledger
293
+ */
294
+ readonly authorization?: string;
295
+ }
296
+ /**
297
+ * Request parameters for validateAccountingConfig operation in AccountingConfigsApi.
298
+ * @export
299
+ * @interface AccountingConfigsApiValidateAccountingConfigRequest
300
+ */
301
+ export interface AccountingConfigsApiValidateAccountingConfigRequest {
302
+ /**
303
+ *
304
+ * @type {ValidateAccountingConfigRequestDto}
305
+ * @memberof AccountingConfigsApiValidateAccountingConfig
306
+ */
307
+ readonly validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto;
308
+ /**
309
+ * Bearer Token: provided by the login endpoint under the name accessToken.
310
+ * @type {string}
311
+ * @memberof AccountingConfigsApiValidateAccountingConfig
312
+ */
313
+ readonly authorization?: string;
314
+ }
315
+ /**
316
+ * Request parameters for validateAccountingConfigFromFile operation in AccountingConfigsApi.
317
+ * @export
318
+ * @interface AccountingConfigsApiValidateAccountingConfigFromFileRequest
319
+ */
320
+ export interface AccountingConfigsApiValidateAccountingConfigFromFileRequest {
321
+ /**
322
+ * JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
323
+ * @type {any}
324
+ * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
325
+ */
326
+ readonly file: any;
327
+ /**
328
+ * Bearer Token: provided by the login endpoint under the name accessToken.
329
+ * @type {string}
330
+ * @memberof AccountingConfigsApiValidateAccountingConfigFromFile
331
+ */
332
+ readonly authorization?: string;
333
+ }
334
+ /**
335
+ * AccountingConfigsApi - object-oriented interface
336
+ * @export
337
+ * @class AccountingConfigsApi
338
+ * @extends {BaseAPI}
339
+ */
340
+ export declare class AccountingConfigsApi extends BaseAPI {
341
+ /**
342
+ * This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
343
+ * @summary Create the create and enable subledger
344
+ * @param {AccountingConfigsApiCreateAndEnableSubledgerRequest} requestParameters Request parameters.
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ * @memberof AccountingConfigsApi
348
+ */
349
+ createAndEnableSubledger(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
350
+ /**
351
+ * This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
352
+ * @summary Create the create and enable subledger from file
353
+ * @param {AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest} requestParameters Request parameters.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ * @memberof AccountingConfigsApi
357
+ */
358
+ createAndEnableSubledgerFromFile(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
359
+ /**
360
+ * This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
361
+ * @summary Retrieve the export accounting config
362
+ * @param {AccountingConfigsApiExportAccountingConfigRequest} requestParameters Request parameters.
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ * @memberof AccountingConfigsApi
366
+ */
367
+ exportAccountingConfig(requestParameters?: AccountingConfigsApiExportAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportAccountingConfigResponseClass, any, {}>>;
368
+ /**
369
+ * This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
370
+ * @summary Retrieve the accounting categories
371
+ * @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ * @memberof AccountingConfigsApi
375
+ */
376
+ getAccountingCategories(requestParameters?: AccountingConfigsApiGetAccountingCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingCategoriesResponseClass, any, {}>>;
377
+ /**
378
+ * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
379
+ * @summary Delete the reset subledger
380
+ * @param {AccountingConfigsApiResetSubledgerRequest} requestParameters Request parameters.
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ * @memberof AccountingConfigsApi
384
+ */
385
+ resetSubledger(requestParameters?: AccountingConfigsApiResetSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
386
+ /**
387
+ * This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
388
+ * @summary Create the validate accounting config
389
+ * @param {AccountingConfigsApiValidateAccountingConfigRequest} requestParameters Request parameters.
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ * @memberof AccountingConfigsApi
393
+ */
394
+ validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
395
+ /**
396
+ * This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
397
+ * @summary Create the validate accounting config from file
398
+ * @param {AccountingConfigsApiValidateAccountingConfigFromFileRequest} requestParameters Request parameters.
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ * @memberof AccountingConfigsApi
402
+ */
403
+ validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
404
+ }