@emilgroup/accounting-sdk 1.34.1-beta.3 → 1.34.1-beta.5
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.
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk@1.34.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.34.1-beta.5 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.34.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.34.1-beta.5
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -49,7 +49,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
49
49
|
createAndEnableSubledger: async (createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
50
|
// verify required parameter 'createAndEnableSubledgerRequestDto' is not null or undefined
|
|
51
51
|
assertParamExists('createAndEnableSubledger', 'createAndEnableSubledgerRequestDto', createAndEnableSubledgerRequestDto)
|
|
52
|
-
const localVarPath = `/accountingservice/v1/
|
|
52
|
+
const localVarPath = `/accountingservice/v1/subledger`;
|
|
53
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
55
|
let baseOptions;
|
|
@@ -96,7 +96,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
96
96
|
createAndEnableSubledgerFromFile: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
97
|
// verify required parameter 'file' is not null or undefined
|
|
98
98
|
assertParamExists('createAndEnableSubledgerFromFile', 'file', file)
|
|
99
|
-
const localVarPath = `/accountingservice/v1/
|
|
99
|
+
const localVarPath = `/accountingservice/v1/subledger/upload`;
|
|
100
100
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
101
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
102
|
let baseOptions;
|
|
@@ -145,7 +145,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
147
|
exportAccountingConfig: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
|
-
const localVarPath = `/accountingservice/v1/
|
|
148
|
+
const localVarPath = `/accountingservice/v1/subledger/config/export`;
|
|
149
149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
151
|
let baseOptions;
|
|
@@ -186,7 +186,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
186
186
|
* @throws {RequiredError}
|
|
187
187
|
*/
|
|
188
188
|
getAccountingCategories: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
|
-
const localVarPath = `/accountingservice/v1/
|
|
189
|
+
const localVarPath = `/accountingservice/v1/subledger/categories`;
|
|
190
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
191
191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
192
192
|
let baseOptions;
|
|
@@ -227,7 +227,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
*/
|
|
229
229
|
resetSubledger: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
230
|
-
const localVarPath = `/accountingservice/v1/
|
|
230
|
+
const localVarPath = `/accountingservice/v1/subledger/reset`;
|
|
231
231
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
232
232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
233
233
|
let baseOptions;
|
|
@@ -271,7 +271,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
271
271
|
validateAccountingConfig: async (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
272
272
|
// verify required parameter 'validateAccountingConfigRequestDto' is not null or undefined
|
|
273
273
|
assertParamExists('validateAccountingConfig', 'validateAccountingConfigRequestDto', validateAccountingConfigRequestDto)
|
|
274
|
-
const localVarPath = `/accountingservice/v1/
|
|
274
|
+
const localVarPath = `/accountingservice/v1/subledger/config/validate`;
|
|
275
275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
276
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
277
277
|
let baseOptions;
|
|
@@ -318,7 +318,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
318
318
|
validateAccountingConfigFromFile: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
319
|
// verify required parameter 'file' is not null or undefined
|
|
320
320
|
assertParamExists('validateAccountingConfigFromFile', 'file', file)
|
|
321
|
-
const localVarPath = `/accountingservice/v1/
|
|
321
|
+
const localVarPath = `/accountingservice/v1/subledger/config/validate/upload`;
|
|
322
322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
323
323
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
324
324
|
let baseOptions;
|
|
@@ -109,7 +109,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createAndEnableSubledgerRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createAndEnableSubledger', 'createAndEnableSubledgerRequestDto', createAndEnableSubledgerRequestDto);
|
|
112
|
-
localVarPath = "/accountingservice/v1/
|
|
112
|
+
localVarPath = "/accountingservice/v1/subledger";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -158,7 +158,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
case 0:
|
|
159
159
|
// verify required parameter 'file' is not null or undefined
|
|
160
160
|
(0, common_1.assertParamExists)('createAndEnableSubledgerFromFile', 'file', file);
|
|
161
|
-
localVarPath = "/accountingservice/v1/
|
|
161
|
+
localVarPath = "/accountingservice/v1/subledger/upload";
|
|
162
162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
163
|
if (configuration) {
|
|
164
164
|
baseOptions = configuration.baseOptions;
|
|
@@ -207,7 +207,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
return __generator(this, function (_a) {
|
|
208
208
|
switch (_a.label) {
|
|
209
209
|
case 0:
|
|
210
|
-
localVarPath = "/accountingservice/v1/
|
|
210
|
+
localVarPath = "/accountingservice/v1/subledger/config/export";
|
|
211
211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
212
|
if (configuration) {
|
|
213
213
|
baseOptions = configuration.baseOptions;
|
|
@@ -251,7 +251,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
return __generator(this, function (_a) {
|
|
252
252
|
switch (_a.label) {
|
|
253
253
|
case 0:
|
|
254
|
-
localVarPath = "/accountingservice/v1/
|
|
254
|
+
localVarPath = "/accountingservice/v1/subledger/categories";
|
|
255
255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
256
256
|
if (configuration) {
|
|
257
257
|
baseOptions = configuration.baseOptions;
|
|
@@ -295,7 +295,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
295
295
|
return __generator(this, function (_a) {
|
|
296
296
|
switch (_a.label) {
|
|
297
297
|
case 0:
|
|
298
|
-
localVarPath = "/accountingservice/v1/
|
|
298
|
+
localVarPath = "/accountingservice/v1/subledger/reset";
|
|
299
299
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
300
300
|
if (configuration) {
|
|
301
301
|
baseOptions = configuration.baseOptions;
|
|
@@ -342,7 +342,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
342
342
|
case 0:
|
|
343
343
|
// verify required parameter 'validateAccountingConfigRequestDto' is not null or undefined
|
|
344
344
|
(0, common_1.assertParamExists)('validateAccountingConfig', 'validateAccountingConfigRequestDto', validateAccountingConfigRequestDto);
|
|
345
|
-
localVarPath = "/accountingservice/v1/
|
|
345
|
+
localVarPath = "/accountingservice/v1/subledger/config/validate";
|
|
346
346
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
347
347
|
if (configuration) {
|
|
348
348
|
baseOptions = configuration.baseOptions;
|
|
@@ -391,7 +391,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
391
391
|
case 0:
|
|
392
392
|
// verify required parameter 'file' is not null or undefined
|
|
393
393
|
(0, common_1.assertParamExists)('validateAccountingConfigFromFile', 'file', file);
|
|
394
|
-
localVarPath = "/accountingservice/v1/
|
|
394
|
+
localVarPath = "/accountingservice/v1/subledger/config/validate/upload";
|
|
395
395
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
396
396
|
if (configuration) {
|
|
397
397
|
baseOptions = configuration.baseOptions;
|