@emilgroup/accounting-sdk-node 1.32.1-beta.3 → 1.32.1-beta.4
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-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -53,7 +53,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
53
53
|
createAndEnableSubledger: async (createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'createAndEnableSubledgerRequestDto' is not null or undefined
|
|
55
55
|
assertParamExists('createAndEnableSubledger', 'createAndEnableSubledgerRequestDto', createAndEnableSubledgerRequestDto)
|
|
56
|
-
const localVarPath = `/accountingservice/v1/
|
|
56
|
+
const localVarPath = `/accountingservice/v1/subledger`;
|
|
57
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
58
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
59
|
let baseOptions;
|
|
@@ -100,7 +100,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
100
100
|
createAndEnableSubledgerFromFile: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
101
|
// verify required parameter 'file' is not null or undefined
|
|
102
102
|
assertParamExists('createAndEnableSubledgerFromFile', 'file', file)
|
|
103
|
-
const localVarPath = `/accountingservice/v1/
|
|
103
|
+
const localVarPath = `/accountingservice/v1/subledger/upload`;
|
|
104
104
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
105
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106
106
|
let baseOptions;
|
|
@@ -150,7 +150,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
152
|
exportAccountingConfig: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
|
-
const localVarPath = `/accountingservice/v1/
|
|
153
|
+
const localVarPath = `/accountingservice/v1/subledger/config/export`;
|
|
154
154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
156
156
|
let baseOptions;
|
|
@@ -191,7 +191,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
*/
|
|
193
193
|
getAccountingCategories: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
-
const localVarPath = `/accountingservice/v1/
|
|
194
|
+
const localVarPath = `/accountingservice/v1/subledger/categories`;
|
|
195
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
197
197
|
let baseOptions;
|
|
@@ -232,7 +232,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
234
|
resetSubledger: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
|
-
const localVarPath = `/accountingservice/v1/
|
|
235
|
+
const localVarPath = `/accountingservice/v1/subledger/reset`;
|
|
236
236
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
237
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
238
238
|
let baseOptions;
|
|
@@ -276,7 +276,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
276
276
|
validateAccountingConfig: async (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
277
277
|
// verify required parameter 'validateAccountingConfigRequestDto' is not null or undefined
|
|
278
278
|
assertParamExists('validateAccountingConfig', 'validateAccountingConfigRequestDto', validateAccountingConfigRequestDto)
|
|
279
|
-
const localVarPath = `/accountingservice/v1/
|
|
279
|
+
const localVarPath = `/accountingservice/v1/subledger/config/validate`;
|
|
280
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
281
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
282
282
|
let baseOptions;
|
|
@@ -323,7 +323,7 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
323
323
|
validateAccountingConfigFromFile: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
324
324
|
// verify required parameter 'file' is not null or undefined
|
|
325
325
|
assertParamExists('validateAccountingConfigFromFile', 'file', file)
|
|
326
|
-
const localVarPath = `/accountingservice/v1/
|
|
326
|
+
const localVarPath = `/accountingservice/v1/subledger/config/validate/upload`;
|
|
327
327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
329
329
|
let baseOptions;
|
|
@@ -113,7 +113,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createAndEnableSubledgerRequestDto' is not null or undefined
|
|
115
115
|
(0, common_1.assertParamExists)('createAndEnableSubledger', 'createAndEnableSubledgerRequestDto', createAndEnableSubledgerRequestDto);
|
|
116
|
-
localVarPath = "/accountingservice/v1/
|
|
116
|
+
localVarPath = "/accountingservice/v1/subledger";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -162,7 +162,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
162
162
|
case 0:
|
|
163
163
|
// verify required parameter 'file' is not null or undefined
|
|
164
164
|
(0, common_1.assertParamExists)('createAndEnableSubledgerFromFile', 'file', file);
|
|
165
|
-
localVarPath = "/accountingservice/v1/
|
|
165
|
+
localVarPath = "/accountingservice/v1/subledger/upload";
|
|
166
166
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
167
|
if (configuration) {
|
|
168
168
|
baseOptions = configuration.baseOptions;
|
|
@@ -212,7 +212,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
return __generator(this, function (_a) {
|
|
213
213
|
switch (_a.label) {
|
|
214
214
|
case 0:
|
|
215
|
-
localVarPath = "/accountingservice/v1/
|
|
215
|
+
localVarPath = "/accountingservice/v1/subledger/config/export";
|
|
216
216
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
217
|
if (configuration) {
|
|
218
218
|
baseOptions = configuration.baseOptions;
|
|
@@ -256,7 +256,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
256
256
|
return __generator(this, function (_a) {
|
|
257
257
|
switch (_a.label) {
|
|
258
258
|
case 0:
|
|
259
|
-
localVarPath = "/accountingservice/v1/
|
|
259
|
+
localVarPath = "/accountingservice/v1/subledger/categories";
|
|
260
260
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
261
|
if (configuration) {
|
|
262
262
|
baseOptions = configuration.baseOptions;
|
|
@@ -300,7 +300,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
300
300
|
return __generator(this, function (_a) {
|
|
301
301
|
switch (_a.label) {
|
|
302
302
|
case 0:
|
|
303
|
-
localVarPath = "/accountingservice/v1/
|
|
303
|
+
localVarPath = "/accountingservice/v1/subledger/reset";
|
|
304
304
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
305
305
|
if (configuration) {
|
|
306
306
|
baseOptions = configuration.baseOptions;
|
|
@@ -347,7 +347,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
347
347
|
case 0:
|
|
348
348
|
// verify required parameter 'validateAccountingConfigRequestDto' is not null or undefined
|
|
349
349
|
(0, common_1.assertParamExists)('validateAccountingConfig', 'validateAccountingConfigRequestDto', validateAccountingConfigRequestDto);
|
|
350
|
-
localVarPath = "/accountingservice/v1/
|
|
350
|
+
localVarPath = "/accountingservice/v1/subledger/config/validate";
|
|
351
351
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
352
352
|
if (configuration) {
|
|
353
353
|
baseOptions = configuration.baseOptions;
|
|
@@ -396,7 +396,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
396
396
|
case 0:
|
|
397
397
|
// verify required parameter 'file' is not null or undefined
|
|
398
398
|
(0, common_1.assertParamExists)('validateAccountingConfigFromFile', 'file', file);
|
|
399
|
-
localVarPath = "/accountingservice/v1/
|
|
399
|
+
localVarPath = "/accountingservice/v1/subledger/config/validate/upload";
|
|
400
400
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
401
401
|
if (configuration) {
|
|
402
402
|
baseOptions = configuration.baseOptions;
|