@emilgroup/accounting-sdk-node 1.27.1-beta.29 → 1.27.1-beta.30
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/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +90 -0
- package/dist/api/accounting-configs-api.d.ts +47 -0
- package/dist/api/accounting-configs-api.js +87 -0
- package/dist/models/accounting-category-class.d.ts +45 -0
- package/dist/models/accounting-category-class.js +24 -0
- package/dist/models/chart-of-accounts-item-class.d.ts +1 -1
- package/dist/models/chart-of-accounts-item-class.js +1 -1
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +1 -1
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +1 -1
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +1 -1
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +1 -1
- package/dist/models/create-financial-account-request-dto.d.ts +1 -1
- package/dist/models/create-financial-account-request-dto.js +1 -1
- package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
- package/dist/models/get-accounting-categories-response-class.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/opening-balance-class.d.ts +1 -1
- package/dist/models/opening-balance-class.js +1 -1
- package/models/accounting-category-class.ts +54 -0
- package/models/chart-of-accounts-item-class.ts +1 -1
- package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +1 -1
- package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +1 -1
- package/models/create-financial-account-request-dto.ts +1 -1
- package/models/get-accounting-categories-response-class.ts +31 -0
- package/models/index.ts +2 -0
- package/models/opening-balance-class.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,7 @@ common.ts
|
|
|
15
15
|
configuration.ts
|
|
16
16
|
git_push.sh
|
|
17
17
|
index.ts
|
|
18
|
+
models/accounting-category-class.ts
|
|
18
19
|
models/accounting-config-class.ts
|
|
19
20
|
models/accounting-config-data-class.ts
|
|
20
21
|
models/accounting-configuration-class.ts
|
|
@@ -40,6 +41,7 @@ models/create-personal-account-response-class.ts
|
|
|
40
41
|
models/financial-account-class.ts
|
|
41
42
|
models/financial-transaction-class.ts
|
|
42
43
|
models/financial-transaction-data-dto.ts
|
|
44
|
+
models/get-accounting-categories-response-class.ts
|
|
43
45
|
models/get-accounting-config-response-class.ts
|
|
44
46
|
models/get-booking-entry-response-class.ts
|
|
45
47
|
models/get-financial-account-response-class.ts
|
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.27.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.27.1-beta.30 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.27.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.27.1-beta.30
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -25,6 +25,8 @@ import { CreateAccountingConfigRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateAccountingConfigResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { GetAccountingCategoriesResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { GetAccountingConfigResponseClass } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
32
|
import { InlineObject2 } from '../models';
|
|
@@ -182,6 +184,47 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
182
184
|
|
|
183
185
|
|
|
184
186
|
|
|
187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
+
|
|
191
|
+
return {
|
|
192
|
+
url: toPathString(localVarUrlObj),
|
|
193
|
+
options: localVarRequestOptions,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
198
|
+
* @summary Retrieve the accounting categories
|
|
199
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
getAccountingCategories: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
const localVarPath = `/accountingservice/v1/accountingconfigs/categories`;
|
|
205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
207
|
+
let baseOptions;
|
|
208
|
+
let baseAccessToken;
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
baseAccessToken = configuration.accessToken;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
215
|
+
const localVarHeaderParameter = {} as any;
|
|
216
|
+
const localVarQueryParameter = {} as any;
|
|
217
|
+
|
|
218
|
+
// authentication bearer required
|
|
219
|
+
// http bearer authentication required
|
|
220
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
221
|
+
|
|
222
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
223
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
185
228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
186
229
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
230
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -573,6 +616,17 @@ export const AccountingConfigsApiFp = function(configuration?: Configuration) {
|
|
|
573
616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountingConfig(code, authorization, options);
|
|
574
617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
575
618
|
},
|
|
619
|
+
/**
|
|
620
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
621
|
+
* @summary Retrieve the accounting categories
|
|
622
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
*/
|
|
626
|
+
async getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>> {
|
|
627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountingCategories(authorization, options);
|
|
628
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
629
|
+
},
|
|
576
630
|
/**
|
|
577
631
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
578
632
|
* @summary Retrieve the accounting config
|
|
@@ -697,6 +751,16 @@ export const AccountingConfigsApiFactory = function (configuration?: Configurati
|
|
|
697
751
|
deleteAccountingConfig(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
698
752
|
return localVarFp.deleteAccountingConfig(code, authorization, options).then((request) => request(axios, basePath));
|
|
699
753
|
},
|
|
754
|
+
/**
|
|
755
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
756
|
+
* @summary Retrieve the accounting categories
|
|
757
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass> {
|
|
762
|
+
return localVarFp.getAccountingCategories(authorization, options).then((request) => request(axios, basePath));
|
|
763
|
+
},
|
|
700
764
|
/**
|
|
701
765
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
702
766
|
* @summary Retrieve the accounting config
|
|
@@ -838,6 +902,20 @@ export interface AccountingConfigsApiDeleteAccountingConfigRequest {
|
|
|
838
902
|
readonly authorization?: string
|
|
839
903
|
}
|
|
840
904
|
|
|
905
|
+
/**
|
|
906
|
+
* Request parameters for getAccountingCategories operation in AccountingConfigsApi.
|
|
907
|
+
* @export
|
|
908
|
+
* @interface AccountingConfigsApiGetAccountingCategoriesRequest
|
|
909
|
+
*/
|
|
910
|
+
export interface AccountingConfigsApiGetAccountingCategoriesRequest {
|
|
911
|
+
/**
|
|
912
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
913
|
+
* @type {string}
|
|
914
|
+
* @memberof AccountingConfigsApiGetAccountingCategories
|
|
915
|
+
*/
|
|
916
|
+
readonly authorization?: string
|
|
917
|
+
}
|
|
918
|
+
|
|
841
919
|
/**
|
|
842
920
|
* Request parameters for getAccountingConfig operation in AccountingConfigsApi.
|
|
843
921
|
* @export
|
|
@@ -1070,6 +1148,18 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
1070
1148
|
return AccountingConfigsApiFp(this.configuration).deleteAccountingConfig(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1071
1149
|
}
|
|
1072
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
1153
|
+
* @summary Retrieve the accounting categories
|
|
1154
|
+
* @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
* @memberof AccountingConfigsApi
|
|
1158
|
+
*/
|
|
1159
|
+
public getAccountingCategories(requestParameters: AccountingConfigsApiGetAccountingCategoriesRequest = {}, options?: AxiosRequestConfig) {
|
|
1160
|
+
return AccountingConfigsApiFp(this.configuration).getAccountingCategories(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1073
1163
|
/**
|
|
1074
1164
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
1075
1165
|
* @summary Retrieve the accounting config
|
|
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateAccountingConfigRequestDto } from '../models';
|
|
16
16
|
import { CreateAccountingConfigResponseClass } from '../models';
|
|
17
|
+
import { GetAccountingCategoriesResponseClass } from '../models';
|
|
17
18
|
import { GetAccountingConfigResponseClass } from '../models';
|
|
18
19
|
import { InlineObject2 } from '../models';
|
|
19
20
|
import { ListAccountingConfigsResponseClass } from '../models';
|
|
@@ -52,6 +53,14 @@ export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Con
|
|
|
52
53
|
* @throws {RequiredError}
|
|
53
54
|
*/
|
|
54
55
|
deleteAccountingConfig: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
58
|
+
* @summary Retrieve the accounting categories
|
|
59
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
getAccountingCategories: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
64
|
/**
|
|
56
65
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
57
66
|
* @summary Retrieve the accounting config
|
|
@@ -148,6 +157,14 @@ export declare const AccountingConfigsApiFp: (configuration?: Configuration) =>
|
|
|
148
157
|
* @throws {RequiredError}
|
|
149
158
|
*/
|
|
150
159
|
deleteAccountingConfig(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
160
|
+
/**
|
|
161
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
162
|
+
* @summary Retrieve the accounting categories
|
|
163
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>>;
|
|
151
168
|
/**
|
|
152
169
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
153
170
|
* @summary Retrieve the accounting config
|
|
@@ -244,6 +261,14 @@ export declare const AccountingConfigsApiFactory: (configuration?: Configuration
|
|
|
244
261
|
* @throws {RequiredError}
|
|
245
262
|
*/
|
|
246
263
|
deleteAccountingConfig(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
264
|
+
/**
|
|
265
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
266
|
+
* @summary Retrieve the accounting categories
|
|
267
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass>;
|
|
247
272
|
/**
|
|
248
273
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
249
274
|
* @summary Retrieve the accounting config
|
|
@@ -365,6 +390,19 @@ export interface AccountingConfigsApiDeleteAccountingConfigRequest {
|
|
|
365
390
|
*/
|
|
366
391
|
readonly authorization?: string;
|
|
367
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* Request parameters for getAccountingCategories operation in AccountingConfigsApi.
|
|
395
|
+
* @export
|
|
396
|
+
* @interface AccountingConfigsApiGetAccountingCategoriesRequest
|
|
397
|
+
*/
|
|
398
|
+
export interface AccountingConfigsApiGetAccountingCategoriesRequest {
|
|
399
|
+
/**
|
|
400
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof AccountingConfigsApiGetAccountingCategories
|
|
403
|
+
*/
|
|
404
|
+
readonly authorization?: string;
|
|
405
|
+
}
|
|
368
406
|
/**
|
|
369
407
|
* Request parameters for getAccountingConfig operation in AccountingConfigsApi.
|
|
370
408
|
* @export
|
|
@@ -567,6 +605,15 @@ export declare class AccountingConfigsApi extends BaseAPI {
|
|
|
567
605
|
* @memberof AccountingConfigsApi
|
|
568
606
|
*/
|
|
569
607
|
deleteAccountingConfig(requestParameters: AccountingConfigsApiDeleteAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
608
|
+
/**
|
|
609
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
610
|
+
* @summary Retrieve the accounting categories
|
|
611
|
+
* @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof AccountingConfigsApi
|
|
615
|
+
*/
|
|
616
|
+
getAccountingCategories(requestParameters?: AccountingConfigsApiGetAccountingCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingCategoriesResponseClass, any, {}>>;
|
|
570
617
|
/**
|
|
571
618
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
572
619
|
* @summary Retrieve the accounting config
|
|
@@ -246,6 +246,50 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
});
|
|
248
248
|
},
|
|
249
|
+
/**
|
|
250
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
251
|
+
* @summary Retrieve the accounting categories
|
|
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
|
+
getAccountingCategories: function (authorization, options) {
|
|
257
|
+
if (options === void 0) { options = {}; }
|
|
258
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
259
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
260
|
+
return __generator(this, function (_a) {
|
|
261
|
+
switch (_a.label) {
|
|
262
|
+
case 0:
|
|
263
|
+
localVarPath = "/accountingservice/v1/accountingconfigs/categories";
|
|
264
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
|
+
if (configuration) {
|
|
266
|
+
baseOptions = configuration.baseOptions;
|
|
267
|
+
baseAccessToken = configuration.accessToken;
|
|
268
|
+
}
|
|
269
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
270
|
+
localVarHeaderParameter = {};
|
|
271
|
+
localVarQueryParameter = {};
|
|
272
|
+
// authentication bearer required
|
|
273
|
+
// http bearer authentication required
|
|
274
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
275
|
+
case 1:
|
|
276
|
+
// authentication bearer required
|
|
277
|
+
// http bearer authentication required
|
|
278
|
+
_a.sent();
|
|
279
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
280
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
281
|
+
}
|
|
282
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
283
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
285
|
+
return [2 /*return*/, {
|
|
286
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
287
|
+
options: localVarRequestOptions,
|
|
288
|
+
}];
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
},
|
|
249
293
|
/**
|
|
250
294
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
251
295
|
* @summary Retrieve the accounting config
|
|
@@ -657,6 +701,26 @@ var AccountingConfigsApiFp = function (configuration) {
|
|
|
657
701
|
});
|
|
658
702
|
});
|
|
659
703
|
},
|
|
704
|
+
/**
|
|
705
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
706
|
+
* @summary Retrieve the accounting categories
|
|
707
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
*/
|
|
711
|
+
getAccountingCategories: function (authorization, options) {
|
|
712
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
713
|
+
var localVarAxiosArgs;
|
|
714
|
+
return __generator(this, function (_a) {
|
|
715
|
+
switch (_a.label) {
|
|
716
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountingCategories(authorization, options)];
|
|
717
|
+
case 1:
|
|
718
|
+
localVarAxiosArgs = _a.sent();
|
|
719
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
720
|
+
}
|
|
721
|
+
});
|
|
722
|
+
});
|
|
723
|
+
},
|
|
660
724
|
/**
|
|
661
725
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
662
726
|
* @summary Retrieve the accounting config
|
|
@@ -835,6 +899,16 @@ var AccountingConfigsApiFactory = function (configuration, basePath, axios) {
|
|
|
835
899
|
deleteAccountingConfig: function (code, authorization, options) {
|
|
836
900
|
return localVarFp.deleteAccountingConfig(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
837
901
|
},
|
|
902
|
+
/**
|
|
903
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
904
|
+
* @summary Retrieve the accounting categories
|
|
905
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
getAccountingCategories: function (authorization, options) {
|
|
910
|
+
return localVarFp.getAccountingCategories(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
911
|
+
},
|
|
838
912
|
/**
|
|
839
913
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
840
914
|
* @summary Retrieve the accounting config
|
|
@@ -960,6 +1034,19 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
960
1034
|
var _this = this;
|
|
961
1035
|
return (0, exports.AccountingConfigsApiFp)(this.configuration).deleteAccountingConfig(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
962
1036
|
};
|
|
1037
|
+
/**
|
|
1038
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
1039
|
+
* @summary Retrieve the accounting categories
|
|
1040
|
+
* @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
|
|
1041
|
+
* @param {*} [options] Override http request option.
|
|
1042
|
+
* @throws {RequiredError}
|
|
1043
|
+
* @memberof AccountingConfigsApi
|
|
1044
|
+
*/
|
|
1045
|
+
AccountingConfigsApi.prototype.getAccountingCategories = function (requestParameters, options) {
|
|
1046
|
+
var _this = this;
|
|
1047
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1048
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1049
|
+
};
|
|
963
1050
|
/**
|
|
964
1051
|
* This will get accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
965
1052
|
* @summary Retrieve the accounting config
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AccountingCategoryClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountingCategoryClass {
|
|
18
|
+
/**
|
|
19
|
+
* The functional category
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountingCategoryClass
|
|
22
|
+
*/
|
|
23
|
+
'category': string;
|
|
24
|
+
/**
|
|
25
|
+
* True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AccountingCategoryClass
|
|
28
|
+
*/
|
|
29
|
+
'isPoolCategory': boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The accounttype of the category
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountingCategoryClass
|
|
34
|
+
*/
|
|
35
|
+
'type': AccountingCategoryClassTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
export declare const AccountingCategoryClassTypeEnum: {
|
|
38
|
+
readonly Asset: "asset";
|
|
39
|
+
readonly Liability: "liability";
|
|
40
|
+
readonly Equity: "equity";
|
|
41
|
+
readonly Income: "income";
|
|
42
|
+
readonly Expense: "expense";
|
|
43
|
+
readonly OpeningBalance: "opening_balance";
|
|
44
|
+
};
|
|
45
|
+
export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AccountingCategoryClassTypeEnum = void 0;
|
|
17
|
+
exports.AccountingCategoryClassTypeEnum = {
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Income: 'income',
|
|
22
|
+
Expense: 'expense',
|
|
23
|
+
OpeningBalance: 'opening_balance'
|
|
24
|
+
};
|
|
@@ -60,7 +60,7 @@ export declare const ChartOfAccountsItemClassCategoryEnum: {
|
|
|
60
60
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
61
61
|
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
62
62
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
63
|
-
readonly
|
|
63
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
64
64
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
65
65
|
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
66
66
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
@@ -28,7 +28,7 @@ exports.ChartOfAccountsItemClassCategoryEnum = {
|
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
29
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
30
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
|
-
|
|
31
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
32
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
33
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -48,7 +48,7 @@ export declare const CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCate
|
|
|
48
48
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
49
49
|
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
50
50
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
51
|
-
readonly
|
|
51
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
52
52
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
53
53
|
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
54
54
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
@@ -28,7 +28,7 @@ exports.CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = {
|
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
29
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
30
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
|
-
|
|
31
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
32
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
33
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare const CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
|
54
54
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
55
55
|
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
56
56
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
57
|
-
readonly
|
|
57
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
58
58
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
59
59
|
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
60
60
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
@@ -28,7 +28,7 @@ exports.CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum
|
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
29
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
30
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
|
-
|
|
31
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
32
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
33
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -99,7 +99,7 @@ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
|
|
|
99
99
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
100
100
|
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
101
101
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
102
|
-
readonly
|
|
102
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
103
103
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
104
104
|
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
105
105
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
@@ -36,7 +36,7 @@ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
36
36
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
37
37
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
38
38
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
39
|
-
|
|
39
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
40
40
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
41
41
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
42
42
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { AccountingCategoryClass } from './accounting-category-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetAccountingCategoriesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetAccountingCategoriesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of functional categories
|
|
21
|
+
* @type {Array<AccountingCategoryClass>}
|
|
22
|
+
* @memberof GetAccountingCategoriesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<AccountingCategoryClass>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './accounting-category-class';
|
|
1
2
|
export * from './accounting-config-class';
|
|
2
3
|
export * from './accounting-config-data-class';
|
|
3
4
|
export * from './accounting-configuration-class';
|
|
@@ -23,6 +24,7 @@ export * from './create-personal-account-response-class';
|
|
|
23
24
|
export * from './financial-account-class';
|
|
24
25
|
export * from './financial-transaction-class';
|
|
25
26
|
export * from './financial-transaction-data-dto';
|
|
27
|
+
export * from './get-accounting-categories-response-class';
|
|
26
28
|
export * from './get-accounting-config-response-class';
|
|
27
29
|
export * from './get-booking-entry-response-class';
|
|
28
30
|
export * from './get-financial-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./accounting-category-class"), exports);
|
|
17
18
|
__exportStar(require("./accounting-config-class"), exports);
|
|
18
19
|
__exportStar(require("./accounting-config-data-class"), exports);
|
|
19
20
|
__exportStar(require("./accounting-configuration-class"), exports);
|
|
@@ -39,6 +40,7 @@ __exportStar(require("./create-personal-account-response-class"), exports);
|
|
|
39
40
|
__exportStar(require("./financial-account-class"), exports);
|
|
40
41
|
__exportStar(require("./financial-transaction-class"), exports);
|
|
41
42
|
__exportStar(require("./financial-transaction-data-dto"), exports);
|
|
43
|
+
__exportStar(require("./get-accounting-categories-response-class"), exports);
|
|
42
44
|
__exportStar(require("./get-accounting-config-response-class"), exports);
|
|
43
45
|
__exportStar(require("./get-booking-entry-response-class"), exports);
|
|
44
46
|
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
@@ -54,7 +54,7 @@ export declare const OpeningBalanceClassCategoryEnum: {
|
|
|
54
54
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
55
55
|
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
56
56
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
57
|
-
readonly
|
|
57
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
58
58
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
59
59
|
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
60
60
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
@@ -28,7 +28,7 @@ exports.OpeningBalanceClassCategoryEnum = {
|
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
29
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
30
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
|
-
|
|
31
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
32
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
33
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AccountingCategoryClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingCategoryClass {
|
|
23
|
+
/**
|
|
24
|
+
* The functional category
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingCategoryClass
|
|
27
|
+
*/
|
|
28
|
+
'category': string;
|
|
29
|
+
/**
|
|
30
|
+
* True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof AccountingCategoryClass
|
|
33
|
+
*/
|
|
34
|
+
'isPoolCategory': boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The accounttype of the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountingCategoryClass
|
|
39
|
+
*/
|
|
40
|
+
'type': AccountingCategoryClassTypeEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const AccountingCategoryClassTypeEnum = {
|
|
44
|
+
Asset: 'asset',
|
|
45
|
+
Liability: 'liability',
|
|
46
|
+
Equity: 'equity',
|
|
47
|
+
Income: 'income',
|
|
48
|
+
Expense: 'expense',
|
|
49
|
+
OpeningBalance: 'opening_balance'
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
|
|
53
|
+
|
|
54
|
+
|
|
@@ -66,7 +66,7 @@ export const ChartOfAccountsItemClassCategoryEnum = {
|
|
|
66
66
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
67
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
68
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
|
-
|
|
69
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
70
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
71
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
72
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -54,7 +54,7 @@ export const CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum
|
|
|
54
54
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
55
55
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
56
56
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
57
|
-
|
|
57
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
58
58
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
59
59
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
60
60
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -60,7 +60,7 @@ export const CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategory
|
|
|
60
60
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
61
61
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
62
62
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
63
|
-
|
|
63
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
64
64
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
65
65
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
66
66
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -106,7 +106,7 @@ export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
106
106
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
107
107
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
108
108
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
109
|
-
|
|
109
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
110
110
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
111
111
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
112
112
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { AccountingCategoryClass } from './accounting-category-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetAccountingCategoriesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetAccountingCategoriesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of functional categories
|
|
26
|
+
* @type {Array<AccountingCategoryClass>}
|
|
27
|
+
* @memberof GetAccountingCategoriesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<AccountingCategoryClass>;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './accounting-category-class';
|
|
1
2
|
export * from './accounting-config-class';
|
|
2
3
|
export * from './accounting-config-data-class';
|
|
3
4
|
export * from './accounting-configuration-class';
|
|
@@ -23,6 +24,7 @@ export * from './create-personal-account-response-class';
|
|
|
23
24
|
export * from './financial-account-class';
|
|
24
25
|
export * from './financial-transaction-class';
|
|
25
26
|
export * from './financial-transaction-data-dto';
|
|
27
|
+
export * from './get-accounting-categories-response-class';
|
|
26
28
|
export * from './get-accounting-config-response-class';
|
|
27
29
|
export * from './get-booking-entry-response-class';
|
|
28
30
|
export * from './get-financial-account-response-class';
|
|
@@ -60,7 +60,7 @@ export const OpeningBalanceClassCategoryEnum = {
|
|
|
60
60
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
61
61
|
RoundingDiffAcc: 'rounding_diff_acc',
|
|
62
62
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
63
|
-
|
|
63
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
64
64
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
65
65
|
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
66
66
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
package/package.json
CHANGED