@emilgroup/accounting-sdk-node 1.32.1-beta.16 → 1.32.1-beta.18
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 +1 -1
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +22 -22
- package/dist/api/accounting-configs-api.d.ts +18 -18
- package/dist/api/accounting-configs-api.js +17 -17
- package/dist/models/accounting-config-class.d.ts +11 -0
- package/dist/models/accounting-config-class.js +5 -0
- package/dist/models/financial-account-class.d.ts +6 -1
- package/dist/models/financial-account-class.js +5 -1
- package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/models/accounting-config-class.ts +14 -0
- package/models/financial-account-class.ts +7 -1
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +1 -1
- package/package.json +1 -1
- package/dist/models/get-subledger-settings-response-class.d.ts +0 -36
- package/models/get-subledger-settings-response-class.ts +0 -42
- /package/dist/models/{get-subledger-settings-response-class.js → get-activation-snapshot-response-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -40,12 +40,12 @@ models/financial-account-class.ts
|
|
|
40
40
|
models/financial-transaction-class.ts
|
|
41
41
|
models/financial-transaction-data-dto.ts
|
|
42
42
|
models/get-accounting-categories-response-class.ts
|
|
43
|
+
models/get-activation-snapshot-response-class.ts
|
|
43
44
|
models/get-booking-entry-response-class.ts
|
|
44
45
|
models/get-financial-account-response-class.ts
|
|
45
46
|
models/get-financial-transaction-response-class.ts
|
|
46
47
|
models/get-number-range-response-class.ts
|
|
47
48
|
models/get-personal-account-response-class.ts
|
|
48
|
-
models/get-subledger-settings-response-class.ts
|
|
49
49
|
models/index.ts
|
|
50
50
|
models/inline-response200.ts
|
|
51
51
|
models/inline-response503.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.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.18 --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.18
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -29,7 +29,7 @@ import { ExportAccountingConfigResponseClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetAccountingCategoriesResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
-
import {
|
|
32
|
+
import { GetActivationSnapshotResponseClass } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { ValidateAccountingConfigRequestDto } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
@@ -227,14 +227,14 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
227
227
|
};
|
|
228
228
|
},
|
|
229
229
|
/**
|
|
230
|
-
* Returns the
|
|
231
|
-
* @summary Retrieve the get
|
|
230
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
231
|
+
* @summary Retrieve the get activation snapshot
|
|
232
232
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
|
|
237
|
-
const localVarPath = `/accountingservice/v1/subledger/
|
|
236
|
+
getActivationSnapshot: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
237
|
+
const localVarPath = `/accountingservice/v1/subledger/activation-snapshot`;
|
|
238
238
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
239
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
240
|
let baseOptions;
|
|
@@ -465,14 +465,14 @@ export const AccountingConfigsApiFp = function(configuration?: Configuration) {
|
|
|
465
465
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
466
466
|
},
|
|
467
467
|
/**
|
|
468
|
-
* Returns the
|
|
469
|
-
* @summary Retrieve the get
|
|
468
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
469
|
+
* @summary Retrieve the get activation snapshot
|
|
470
470
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
471
471
|
* @param {*} [options] Override http request option.
|
|
472
472
|
* @throws {RequiredError}
|
|
473
473
|
*/
|
|
474
|
-
async
|
|
475
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
474
|
+
async getActivationSnapshot(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActivationSnapshotResponseClass>> {
|
|
475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivationSnapshot(authorization, options);
|
|
476
476
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
477
477
|
},
|
|
478
478
|
/**
|
|
@@ -563,14 +563,14 @@ export const AccountingConfigsApiFactory = function (configuration?: Configurati
|
|
|
563
563
|
return localVarFp.getAccountingCategories(authorization, options).then((request) => request(axios, basePath));
|
|
564
564
|
},
|
|
565
565
|
/**
|
|
566
|
-
* Returns the
|
|
567
|
-
* @summary Retrieve the get
|
|
566
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
567
|
+
* @summary Retrieve the get activation snapshot
|
|
568
568
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
569
569
|
* @param {*} [options] Override http request option.
|
|
570
570
|
* @throws {RequiredError}
|
|
571
571
|
*/
|
|
572
|
-
|
|
573
|
-
return localVarFp.
|
|
572
|
+
getActivationSnapshot(authorization?: string, options?: any): AxiosPromise<GetActivationSnapshotResponseClass> {
|
|
573
|
+
return localVarFp.getActivationSnapshot(authorization, options).then((request) => request(axios, basePath));
|
|
574
574
|
},
|
|
575
575
|
/**
|
|
576
576
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -678,15 +678,15 @@ export interface AccountingConfigsApiGetAccountingCategoriesRequest {
|
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
/**
|
|
681
|
-
* Request parameters for
|
|
681
|
+
* Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
|
|
682
682
|
* @export
|
|
683
|
-
* @interface
|
|
683
|
+
* @interface AccountingConfigsApiGetActivationSnapshotRequest
|
|
684
684
|
*/
|
|
685
|
-
export interface
|
|
685
|
+
export interface AccountingConfigsApiGetActivationSnapshotRequest {
|
|
686
686
|
/**
|
|
687
687
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
688
688
|
* @type {string}
|
|
689
|
-
* @memberof
|
|
689
|
+
* @memberof AccountingConfigsApiGetActivationSnapshot
|
|
690
690
|
*/
|
|
691
691
|
readonly authorization?: string
|
|
692
692
|
}
|
|
@@ -803,15 +803,15 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
/**
|
|
806
|
-
* Returns the
|
|
807
|
-
* @summary Retrieve the get
|
|
808
|
-
* @param {
|
|
806
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
807
|
+
* @summary Retrieve the get activation snapshot
|
|
808
|
+
* @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
|
|
809
809
|
* @param {*} [options] Override http request option.
|
|
810
810
|
* @throws {RequiredError}
|
|
811
811
|
* @memberof AccountingConfigsApi
|
|
812
812
|
*/
|
|
813
|
-
public
|
|
814
|
-
return AccountingConfigsApiFp(this.configuration).
|
|
813
|
+
public getActivationSnapshot(requestParameters: AccountingConfigsApiGetActivationSnapshotRequest = {}, options?: AxiosRequestConfig) {
|
|
814
|
+
return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
/**
|
|
@@ -16,7 +16,7 @@ import { CreateAndEnableSubledgerRequestDto } from '../models';
|
|
|
16
16
|
import { CreateAndEnableSubledgerResponseClass } from '../models';
|
|
17
17
|
import { ExportAccountingConfigResponseClass } from '../models';
|
|
18
18
|
import { GetAccountingCategoriesResponseClass } from '../models';
|
|
19
|
-
import {
|
|
19
|
+
import { GetActivationSnapshotResponseClass } from '../models';
|
|
20
20
|
import { ValidateAccountingConfigRequestDto } from '../models';
|
|
21
21
|
import { ValidateAccountingConfigResponseClass } from '../models';
|
|
22
22
|
/**
|
|
@@ -59,13 +59,13 @@ export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Con
|
|
|
59
59
|
*/
|
|
60
60
|
getAccountingCategories: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
/**
|
|
62
|
-
* Returns the
|
|
63
|
-
* @summary Retrieve the get
|
|
62
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
63
|
+
* @summary Retrieve the get activation snapshot
|
|
64
64
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
getActivationSnapshot: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
71
71
|
* @summary Delete the reset subledger
|
|
@@ -133,13 +133,13 @@ export declare const AccountingConfigsApiFp: (configuration?: Configuration) =>
|
|
|
133
133
|
*/
|
|
134
134
|
getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>>;
|
|
135
135
|
/**
|
|
136
|
-
* Returns the
|
|
137
|
-
* @summary Retrieve the get
|
|
136
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
137
|
+
* @summary Retrieve the get activation snapshot
|
|
138
138
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
139
139
|
* @param {*} [options] Override http request option.
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
getActivationSnapshot(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActivationSnapshotResponseClass>>;
|
|
143
143
|
/**
|
|
144
144
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
145
145
|
* @summary Delete the reset subledger
|
|
@@ -207,13 +207,13 @@ export declare const AccountingConfigsApiFactory: (configuration?: Configuration
|
|
|
207
207
|
*/
|
|
208
208
|
getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass>;
|
|
209
209
|
/**
|
|
210
|
-
* Returns the
|
|
211
|
-
* @summary Retrieve the get
|
|
210
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
211
|
+
* @summary Retrieve the get activation snapshot
|
|
212
212
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
213
|
* @param {*} [options] Override http request option.
|
|
214
214
|
* @throws {RequiredError}
|
|
215
215
|
*/
|
|
216
|
-
|
|
216
|
+
getActivationSnapshot(authorization?: string, options?: any): AxiosPromise<GetActivationSnapshotResponseClass>;
|
|
217
217
|
/**
|
|
218
218
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
219
219
|
* @summary Delete the reset subledger
|
|
@@ -306,15 +306,15 @@ export interface AccountingConfigsApiGetAccountingCategoriesRequest {
|
|
|
306
306
|
readonly authorization?: string;
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
|
-
* Request parameters for
|
|
309
|
+
* Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
|
|
310
310
|
* @export
|
|
311
|
-
* @interface
|
|
311
|
+
* @interface AccountingConfigsApiGetActivationSnapshotRequest
|
|
312
312
|
*/
|
|
313
|
-
export interface
|
|
313
|
+
export interface AccountingConfigsApiGetActivationSnapshotRequest {
|
|
314
314
|
/**
|
|
315
315
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
316
316
|
* @type {string}
|
|
317
|
-
* @memberof
|
|
317
|
+
* @memberof AccountingConfigsApiGetActivationSnapshot
|
|
318
318
|
*/
|
|
319
319
|
readonly authorization?: string;
|
|
320
320
|
}
|
|
@@ -413,14 +413,14 @@ export declare class AccountingConfigsApi extends BaseAPI {
|
|
|
413
413
|
*/
|
|
414
414
|
getAccountingCategories(requestParameters?: AccountingConfigsApiGetAccountingCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingCategoriesResponseClass, any, {}>>;
|
|
415
415
|
/**
|
|
416
|
-
* Returns the
|
|
417
|
-
* @summary Retrieve the get
|
|
418
|
-
* @param {
|
|
416
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
417
|
+
* @summary Retrieve the get activation snapshot
|
|
418
|
+
* @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
|
|
419
419
|
* @param {*} [options] Override http request option.
|
|
420
420
|
* @throws {RequiredError}
|
|
421
421
|
* @memberof AccountingConfigsApi
|
|
422
422
|
*/
|
|
423
|
-
|
|
423
|
+
getActivationSnapshot(requestParameters?: AccountingConfigsApiGetActivationSnapshotRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActivationSnapshotResponseClass, any, {}>>;
|
|
424
424
|
/**
|
|
425
425
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
426
426
|
* @summary Delete the reset subledger
|
|
@@ -287,20 +287,20 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
287
287
|
});
|
|
288
288
|
},
|
|
289
289
|
/**
|
|
290
|
-
* Returns the
|
|
291
|
-
* @summary Retrieve the get
|
|
290
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
291
|
+
* @summary Retrieve the get activation snapshot
|
|
292
292
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
293
293
|
* @param {*} [options] Override http request option.
|
|
294
294
|
* @throws {RequiredError}
|
|
295
295
|
*/
|
|
296
|
-
|
|
296
|
+
getActivationSnapshot: function (authorization, options) {
|
|
297
297
|
if (options === void 0) { options = {}; }
|
|
298
298
|
return __awaiter(_this, void 0, void 0, function () {
|
|
299
299
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
300
300
|
return __generator(this, function (_a) {
|
|
301
301
|
switch (_a.label) {
|
|
302
302
|
case 0:
|
|
303
|
-
localVarPath = "/accountingservice/v1/subledger/
|
|
303
|
+
localVarPath = "/accountingservice/v1/subledger/activation-snapshot";
|
|
304
304
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
305
305
|
if (configuration) {
|
|
306
306
|
baseOptions = configuration.baseOptions;
|
|
@@ -569,18 +569,18 @@ var AccountingConfigsApiFp = function (configuration) {
|
|
|
569
569
|
});
|
|
570
570
|
},
|
|
571
571
|
/**
|
|
572
|
-
* Returns the
|
|
573
|
-
* @summary Retrieve the get
|
|
572
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
573
|
+
* @summary Retrieve the get activation snapshot
|
|
574
574
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
575
575
|
* @param {*} [options] Override http request option.
|
|
576
576
|
* @throws {RequiredError}
|
|
577
577
|
*/
|
|
578
|
-
|
|
578
|
+
getActivationSnapshot: function (authorization, options) {
|
|
579
579
|
return __awaiter(this, void 0, void 0, function () {
|
|
580
580
|
var localVarAxiosArgs;
|
|
581
581
|
return __generator(this, function (_a) {
|
|
582
582
|
switch (_a.label) {
|
|
583
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
583
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActivationSnapshot(authorization, options)];
|
|
584
584
|
case 1:
|
|
585
585
|
localVarAxiosArgs = _a.sent();
|
|
586
586
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -703,14 +703,14 @@ var AccountingConfigsApiFactory = function (configuration, basePath, axios) {
|
|
|
703
703
|
return localVarFp.getAccountingCategories(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
704
704
|
},
|
|
705
705
|
/**
|
|
706
|
-
* Returns the
|
|
707
|
-
* @summary Retrieve the get
|
|
706
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
707
|
+
* @summary Retrieve the get activation snapshot
|
|
708
708
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
709
709
|
* @param {*} [options] Override http request option.
|
|
710
710
|
* @throws {RequiredError}
|
|
711
711
|
*/
|
|
712
|
-
|
|
713
|
-
return localVarFp.
|
|
712
|
+
getActivationSnapshot: function (authorization, options) {
|
|
713
|
+
return localVarFp.getActivationSnapshot(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
714
714
|
},
|
|
715
715
|
/**
|
|
716
716
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -809,17 +809,17 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
809
809
|
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
810
810
|
};
|
|
811
811
|
/**
|
|
812
|
-
* Returns the
|
|
813
|
-
* @summary Retrieve the get
|
|
814
|
-
* @param {
|
|
812
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
813
|
+
* @summary Retrieve the get activation snapshot
|
|
814
|
+
* @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
|
|
815
815
|
* @param {*} [options] Override http request option.
|
|
816
816
|
* @throws {RequiredError}
|
|
817
817
|
* @memberof AccountingConfigsApi
|
|
818
818
|
*/
|
|
819
|
-
AccountingConfigsApi.prototype.
|
|
819
|
+
AccountingConfigsApi.prototype.getActivationSnapshot = function (requestParameters, options) {
|
|
820
820
|
var _this = this;
|
|
821
821
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
822
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).
|
|
822
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
823
823
|
};
|
|
824
824
|
/**
|
|
825
825
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -34,6 +34,12 @@ export interface AccountingConfigClass {
|
|
|
34
34
|
* @memberof AccountingConfigClass
|
|
35
35
|
*/
|
|
36
36
|
'config'?: AccountingConfigDataClass;
|
|
37
|
+
/**
|
|
38
|
+
* Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AccountingConfigClass
|
|
41
|
+
*/
|
|
42
|
+
'enablementStatus': AccountingConfigClassEnablementStatusEnum;
|
|
37
43
|
/**
|
|
38
44
|
* Product slug this config is scoped to; absent for the tenant default config.
|
|
39
45
|
* @type {string}
|
|
@@ -65,3 +71,8 @@ export interface AccountingConfigClass {
|
|
|
65
71
|
*/
|
|
66
72
|
'updatedAt': string;
|
|
67
73
|
}
|
|
74
|
+
export declare const AccountingConfigClassEnablementStatusEnum: {
|
|
75
|
+
readonly Pending: "pending";
|
|
76
|
+
readonly Complete: "complete";
|
|
77
|
+
};
|
|
78
|
+
export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AccountingConfigClassEnablementStatusEnum = void 0;
|
|
17
|
+
exports.AccountingConfigClassEnablementStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Complete: 'complete'
|
|
20
|
+
};
|
|
@@ -80,7 +80,7 @@ export interface FinancialAccountClass {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof FinancialAccountClass
|
|
82
82
|
*/
|
|
83
|
-
'status':
|
|
83
|
+
'status': FinancialAccountClassStatusEnum;
|
|
84
84
|
/**
|
|
85
85
|
* Whether the account is a control account.
|
|
86
86
|
* @type {boolean}
|
|
@@ -139,3 +139,8 @@ export declare const FinancialAccountClassTypeEnum: {
|
|
|
139
139
|
readonly OpeningBalance: "opening_balance";
|
|
140
140
|
};
|
|
141
141
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
142
|
+
export declare const FinancialAccountClassStatusEnum: {
|
|
143
|
+
readonly Active: "active";
|
|
144
|
+
readonly Inactive: "inactive";
|
|
145
|
+
};
|
|
146
|
+
export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.FinancialAccountClassTypeEnum = void 0;
|
|
16
|
+
exports.FinancialAccountClassStatusEnum = exports.FinancialAccountClassTypeEnum = void 0;
|
|
17
17
|
exports.FinancialAccountClassTypeEnum = {
|
|
18
18
|
Asset: 'asset',
|
|
19
19
|
Liability: 'liability',
|
|
@@ -22,3 +22,7 @@ exports.FinancialAccountClassTypeEnum = {
|
|
|
22
22
|
Expense: 'expense',
|
|
23
23
|
OpeningBalance: 'opening_balance'
|
|
24
24
|
};
|
|
25
|
+
exports.FinancialAccountClassStatusEnum = {
|
|
26
|
+
Active: 'active',
|
|
27
|
+
Inactive: 'inactive'
|
|
28
|
+
};
|
|
@@ -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 { AccountingConfigClass } from './accounting-config-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetActivationSnapshotResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetActivationSnapshotResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status.
|
|
21
|
+
* @type {AccountingConfigClass}
|
|
22
|
+
* @memberof GetActivationSnapshotResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
25
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ export * from './financial-account-class';
|
|
|
22
22
|
export * from './financial-transaction-class';
|
|
23
23
|
export * from './financial-transaction-data-dto';
|
|
24
24
|
export * from './get-accounting-categories-response-class';
|
|
25
|
+
export * from './get-activation-snapshot-response-class';
|
|
25
26
|
export * from './get-booking-entry-response-class';
|
|
26
27
|
export * from './get-financial-account-response-class';
|
|
27
28
|
export * from './get-financial-transaction-response-class';
|
|
28
29
|
export * from './get-number-range-response-class';
|
|
29
30
|
export * from './get-personal-account-response-class';
|
|
30
|
-
export * from './get-subledger-settings-response-class';
|
|
31
31
|
export * from './inline-response200';
|
|
32
32
|
export * from './inline-response503';
|
|
33
33
|
export * from './list-account-mappings-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -38,12 +38,12 @@ __exportStar(require("./financial-account-class"), exports);
|
|
|
38
38
|
__exportStar(require("./financial-transaction-class"), exports);
|
|
39
39
|
__exportStar(require("./financial-transaction-data-dto"), exports);
|
|
40
40
|
__exportStar(require("./get-accounting-categories-response-class"), exports);
|
|
41
|
+
__exportStar(require("./get-activation-snapshot-response-class"), exports);
|
|
41
42
|
__exportStar(require("./get-booking-entry-response-class"), exports);
|
|
42
43
|
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
43
44
|
__exportStar(require("./get-financial-transaction-response-class"), exports);
|
|
44
45
|
__exportStar(require("./get-number-range-response-class"), exports);
|
|
45
46
|
__exportStar(require("./get-personal-account-response-class"), exports);
|
|
46
|
-
__exportStar(require("./get-subledger-settings-response-class"), exports);
|
|
47
47
|
__exportStar(require("./inline-response200"), exports);
|
|
48
48
|
__exportStar(require("./inline-response503"), exports);
|
|
49
49
|
__exportStar(require("./list-account-mappings-response-class"), exports);
|
|
@@ -39,6 +39,12 @@ export interface AccountingConfigClass {
|
|
|
39
39
|
* @memberof AccountingConfigClass
|
|
40
40
|
*/
|
|
41
41
|
'config'?: AccountingConfigDataClass;
|
|
42
|
+
/**
|
|
43
|
+
* Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'enablementStatus': AccountingConfigClassEnablementStatusEnum;
|
|
42
48
|
/**
|
|
43
49
|
* Product slug this config is scoped to; absent for the tenant default config.
|
|
44
50
|
* @type {string}
|
|
@@ -71,3 +77,11 @@ export interface AccountingConfigClass {
|
|
|
71
77
|
'updatedAt': string;
|
|
72
78
|
}
|
|
73
79
|
|
|
80
|
+
export const AccountingConfigClassEnablementStatusEnum = {
|
|
81
|
+
Pending: 'pending',
|
|
82
|
+
Complete: 'complete'
|
|
83
|
+
} as const;
|
|
84
|
+
|
|
85
|
+
export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
|
|
86
|
+
|
|
87
|
+
|
|
@@ -85,7 +85,7 @@ export interface FinancialAccountClass {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof FinancialAccountClass
|
|
87
87
|
*/
|
|
88
|
-
'status':
|
|
88
|
+
'status': FinancialAccountClassStatusEnum;
|
|
89
89
|
/**
|
|
90
90
|
* Whether the account is a control account.
|
|
91
91
|
* @type {boolean}
|
|
@@ -146,5 +146,11 @@ export const FinancialAccountClassTypeEnum = {
|
|
|
146
146
|
} as const;
|
|
147
147
|
|
|
148
148
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
149
|
+
export const FinancialAccountClassStatusEnum = {
|
|
150
|
+
Active: 'active',
|
|
151
|
+
Inactive: 'inactive'
|
|
152
|
+
} as const;
|
|
153
|
+
|
|
154
|
+
export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
|
|
149
155
|
|
|
150
156
|
|
|
@@ -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 { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActivationSnapshotResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActivationSnapshotResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status.
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof GetActivationSnapshotResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -22,12 +22,12 @@ export * from './financial-account-class';
|
|
|
22
22
|
export * from './financial-transaction-class';
|
|
23
23
|
export * from './financial-transaction-data-dto';
|
|
24
24
|
export * from './get-accounting-categories-response-class';
|
|
25
|
+
export * from './get-activation-snapshot-response-class';
|
|
25
26
|
export * from './get-booking-entry-response-class';
|
|
26
27
|
export * from './get-financial-account-response-class';
|
|
27
28
|
export * from './get-financial-transaction-response-class';
|
|
28
29
|
export * from './get-number-range-response-class';
|
|
29
30
|
export * from './get-personal-account-response-class';
|
|
30
|
-
export * from './get-subledger-settings-response-class';
|
|
31
31
|
export * from './inline-response200';
|
|
32
32
|
export * from './inline-response503';
|
|
33
33
|
export * from './list-account-mappings-response-class';
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
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 GetSubledgerSettingsResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface GetSubledgerSettingsResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
* The date the subledger becomes active
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'activationDate': string;
|
|
24
|
-
/**
|
|
25
|
-
* Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'defaultTaxHandling': string;
|
|
30
|
-
/**
|
|
31
|
-
* Settlement recognition mode, \"SOLL\" or \"IST\"
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'settlementRecognitionMode': string;
|
|
36
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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 GetSubledgerSettingsResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface GetSubledgerSettingsResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* The date the subledger becomes active
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'activationDate': string;
|
|
29
|
-
/**
|
|
30
|
-
* Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
33
|
-
*/
|
|
34
|
-
'defaultTaxHandling': string;
|
|
35
|
-
/**
|
|
36
|
-
* Settlement recognition mode, \"SOLL\" or \"IST\"
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
39
|
-
*/
|
|
40
|
-
'settlementRecognitionMode': string;
|
|
41
|
-
}
|
|
42
|
-
|
|
File without changes
|