@emilgroup/accounting-sdk 1.34.1-beta.16 → 1.34.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.
@@ -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@1.34.1-beta.16 --save
20
+ npm install @emilgroup/accounting-sdk@1.34.1-beta.18 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.34.1-beta.16
24
+ yarn add @emilgroup/accounting-sdk@1.34.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 { GetSubledgerSettingsResponseClass } from '../models';
32
+ import { GetActivationSnapshotResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { ValidateAccountingConfigRequestDto } from '../models';
35
35
  // @ts-ignore
@@ -222,14 +222,14 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
222
222
  };
223
223
  },
224
224
  /**
225
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
226
- * @summary Retrieve the get subledger settings
225
+ * 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\"
226
+ * @summary Retrieve the get activation snapshot
227
227
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
228
228
  * @param {*} [options] Override http request option.
229
229
  * @throws {RequiredError}
230
230
  */
231
- getSubledgerSettings: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
232
- const localVarPath = `/accountingservice/v1/subledger/settings`;
231
+ getActivationSnapshot: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
232
+ const localVarPath = `/accountingservice/v1/subledger/activation-snapshot`;
233
233
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
234
234
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
235
235
  let baseOptions;
@@ -459,14 +459,14 @@ export const AccountingConfigsApiFp = function(configuration?: Configuration) {
459
459
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
460
460
  },
461
461
  /**
462
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
463
- * @summary Retrieve the get subledger settings
462
+ * 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\"
463
+ * @summary Retrieve the get activation snapshot
464
464
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
465
465
  * @param {*} [options] Override http request option.
466
466
  * @throws {RequiredError}
467
467
  */
468
- async getSubledgerSettings(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubledgerSettingsResponseClass>> {
469
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSubledgerSettings(authorization, options);
468
+ async getActivationSnapshot(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActivationSnapshotResponseClass>> {
469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getActivationSnapshot(authorization, options);
470
470
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
471
471
  },
472
472
  /**
@@ -557,14 +557,14 @@ export const AccountingConfigsApiFactory = function (configuration?: Configurati
557
557
  return localVarFp.getAccountingCategories(authorization, options).then((request) => request(axios, basePath));
558
558
  },
559
559
  /**
560
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
561
- * @summary Retrieve the get subledger settings
560
+ * 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\"
561
+ * @summary Retrieve the get activation snapshot
562
562
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
563
563
  * @param {*} [options] Override http request option.
564
564
  * @throws {RequiredError}
565
565
  */
566
- getSubledgerSettings(authorization?: string, options?: any): AxiosPromise<GetSubledgerSettingsResponseClass> {
567
- return localVarFp.getSubledgerSettings(authorization, options).then((request) => request(axios, basePath));
566
+ getActivationSnapshot(authorization?: string, options?: any): AxiosPromise<GetActivationSnapshotResponseClass> {
567
+ return localVarFp.getActivationSnapshot(authorization, options).then((request) => request(axios, basePath));
568
568
  },
569
569
  /**
570
570
  * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
@@ -672,15 +672,15 @@ export interface AccountingConfigsApiGetAccountingCategoriesRequest {
672
672
  }
673
673
 
674
674
  /**
675
- * Request parameters for getSubledgerSettings operation in AccountingConfigsApi.
675
+ * Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
676
676
  * @export
677
- * @interface AccountingConfigsApiGetSubledgerSettingsRequest
677
+ * @interface AccountingConfigsApiGetActivationSnapshotRequest
678
678
  */
679
- export interface AccountingConfigsApiGetSubledgerSettingsRequest {
679
+ export interface AccountingConfigsApiGetActivationSnapshotRequest {
680
680
  /**
681
681
  * Bearer Token: provided by the login endpoint under the name accessToken.
682
682
  * @type {string}
683
- * @memberof AccountingConfigsApiGetSubledgerSettings
683
+ * @memberof AccountingConfigsApiGetActivationSnapshot
684
684
  */
685
685
  readonly authorization?: string
686
686
  }
@@ -797,15 +797,15 @@ export class AccountingConfigsApi extends BaseAPI {
797
797
  }
798
798
 
799
799
  /**
800
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
801
- * @summary Retrieve the get subledger settings
802
- * @param {AccountingConfigsApiGetSubledgerSettingsRequest} requestParameters Request parameters.
800
+ * 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\"
801
+ * @summary Retrieve the get activation snapshot
802
+ * @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
803
803
  * @param {*} [options] Override http request option.
804
804
  * @throws {RequiredError}
805
805
  * @memberof AccountingConfigsApi
806
806
  */
807
- public getSubledgerSettings(requestParameters: AccountingConfigsApiGetSubledgerSettingsRequest = {}, options?: AxiosRequestConfig) {
808
- return AccountingConfigsApiFp(this.configuration).getSubledgerSettings(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
807
+ public getActivationSnapshot(requestParameters: AccountingConfigsApiGetActivationSnapshotRequest = {}, options?: AxiosRequestConfig) {
808
+ return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
809
809
  }
810
810
 
811
811
  /**
@@ -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 { GetSubledgerSettingsResponseClass } from '../models';
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 activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
63
- * @summary Retrieve the get subledger settings
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
- getSubledgerSettings: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
137
- * @summary Retrieve the get subledger settings
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
- getSubledgerSettings(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubledgerSettingsResponseClass>>;
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 activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
211
- * @summary Retrieve the get subledger settings
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
- getSubledgerSettings(authorization?: string, options?: any): AxiosPromise<GetSubledgerSettingsResponseClass>;
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 getSubledgerSettings operation in AccountingConfigsApi.
309
+ * Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
310
310
  * @export
311
- * @interface AccountingConfigsApiGetSubledgerSettingsRequest
311
+ * @interface AccountingConfigsApiGetActivationSnapshotRequest
312
312
  */
313
- export interface AccountingConfigsApiGetSubledgerSettingsRequest {
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 AccountingConfigsApiGetSubledgerSettings
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 activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
417
- * @summary Retrieve the get subledger settings
418
- * @param {AccountingConfigsApiGetSubledgerSettingsRequest} requestParameters Request parameters.
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
- getSubledgerSettings(requestParameters?: AccountingConfigsApiGetSubledgerSettingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSubledgerSettingsResponseClass, any, {}>>;
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
@@ -282,20 +282,20 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
282
282
  });
283
283
  },
284
284
  /**
285
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
286
- * @summary Retrieve the get subledger settings
285
+ * 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\"
286
+ * @summary Retrieve the get activation snapshot
287
287
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
288
288
  * @param {*} [options] Override http request option.
289
289
  * @throws {RequiredError}
290
290
  */
291
- getSubledgerSettings: function (authorization, options) {
291
+ getActivationSnapshot: function (authorization, options) {
292
292
  if (options === void 0) { options = {}; }
293
293
  return __awaiter(_this, void 0, void 0, function () {
294
294
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
295
295
  return __generator(this, function (_a) {
296
296
  switch (_a.label) {
297
297
  case 0:
298
- localVarPath = "/accountingservice/v1/subledger/settings";
298
+ localVarPath = "/accountingservice/v1/subledger/activation-snapshot";
299
299
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
300
300
  if (configuration) {
301
301
  baseOptions = configuration.baseOptions;
@@ -563,18 +563,18 @@ var AccountingConfigsApiFp = function (configuration) {
563
563
  });
564
564
  },
565
565
  /**
566
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
567
- * @summary Retrieve the get subledger settings
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
- getSubledgerSettings: function (authorization, options) {
572
+ getActivationSnapshot: function (authorization, options) {
573
573
  return __awaiter(this, void 0, void 0, function () {
574
574
  var localVarAxiosArgs;
575
575
  return __generator(this, function (_a) {
576
576
  switch (_a.label) {
577
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSubledgerSettings(authorization, options)];
577
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActivationSnapshot(authorization, options)];
578
578
  case 1:
579
579
  localVarAxiosArgs = _a.sent();
580
580
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -697,14 +697,14 @@ var AccountingConfigsApiFactory = function (configuration, basePath, axios) {
697
697
  return localVarFp.getAccountingCategories(authorization, options).then(function (request) { return request(axios, basePath); });
698
698
  },
699
699
  /**
700
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
701
- * @summary Retrieve the get subledger settings
700
+ * 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\"
701
+ * @summary Retrieve the get activation snapshot
702
702
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
703
703
  * @param {*} [options] Override http request option.
704
704
  * @throws {RequiredError}
705
705
  */
706
- getSubledgerSettings: function (authorization, options) {
707
- return localVarFp.getSubledgerSettings(authorization, options).then(function (request) { return request(axios, basePath); });
706
+ getActivationSnapshot: function (authorization, options) {
707
+ return localVarFp.getActivationSnapshot(authorization, options).then(function (request) { return request(axios, basePath); });
708
708
  },
709
709
  /**
710
710
  * This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
@@ -803,17 +803,17 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
803
803
  return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
804
804
  };
805
805
  /**
806
- * Returns the activation date and accounting configuration settings for the active subledger. **Required Permissions** \"accounting-management.financial-accounts.view\"
807
- * @summary Retrieve the get subledger settings
808
- * @param {AccountingConfigsApiGetSubledgerSettingsRequest} requestParameters Request parameters.
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
- AccountingConfigsApi.prototype.getSubledgerSettings = function (requestParameters, options) {
813
+ AccountingConfigsApi.prototype.getActivationSnapshot = function (requestParameters, options) {
814
814
  var _this = this;
815
815
  if (requestParameters === void 0) { requestParameters = {}; }
816
- return (0, exports.AccountingConfigsApiFp)(this.configuration).getSubledgerSettings(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
816
+ return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
817
817
  };
818
818
  /**
819
819
  * 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': string;
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
+ }
@@ -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';
@@ -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': string;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.34.1-beta.16",
3
+ "version": "1.34.1-beta.18",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -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
-