@emilgroup/accounting-sdk-node 1.32.1-beta.2 → 1.32.1-beta.21

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.
Files changed (71) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +97 -7
  4. package/api/financial-accounts-api.ts +120 -0
  5. package/api/product-account-mappings-api.ts +1474 -0
  6. package/api.ts +2 -0
  7. package/dist/api/accounting-configs-api.d.ts +47 -0
  8. package/dist/api/accounting-configs-api.js +94 -7
  9. package/dist/api/financial-accounts-api.d.ts +66 -0
  10. package/dist/api/financial-accounts-api.js +99 -0
  11. package/dist/api/product-account-mappings-api.d.ts +851 -0
  12. package/dist/api/product-account-mappings-api.js +1228 -0
  13. package/dist/api.d.ts +1 -0
  14. package/dist/api.js +1 -0
  15. package/dist/models/accounting-config-class.d.ts +11 -0
  16. package/dist/models/accounting-config-class.js +5 -0
  17. package/dist/models/create-financial-account-request-dto.d.ts +6 -0
  18. package/dist/models/financial-account-class.d.ts +18 -1
  19. package/dist/models/financial-account-class.js +5 -1
  20. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  21. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  22. package/dist/models/index.d.ts +15 -0
  23. package/dist/models/index.js +15 -0
  24. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  25. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  26. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  27. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  28. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  29. package/dist/models/premium-item-account-mapping-class.js +15 -0
  30. package/dist/models/product-account-mapping-class.d.ts +61 -0
  31. package/dist/models/product-account-mapping-class.js +15 -0
  32. package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
  33. package/dist/models/product-account-mapping-detail-class.js +15 -0
  34. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  35. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  36. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  37. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  38. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  39. package/dist/models/product-with-account-mappings-class.js +15 -0
  40. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  41. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  42. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  43. package/dist/models/put-product-category-account-body-dto.js +15 -0
  44. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  45. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  46. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  47. package/dist/models/resolved-account-mapping-class.js +15 -0
  48. package/dist/models/update-financial-account-body-dto.d.ts +42 -0
  49. package/dist/models/update-financial-account-body-dto.js +15 -0
  50. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  51. package/dist/models/update-financial-account-response-class.js +15 -0
  52. package/models/accounting-config-class.ts +14 -0
  53. package/models/create-financial-account-request-dto.ts +6 -0
  54. package/models/financial-account-class.ts +19 -1
  55. package/models/get-activation-snapshot-response-class.ts +31 -0
  56. package/models/index.ts +15 -0
  57. package/models/list-product-account-mappings-response-class.ts +49 -0
  58. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  59. package/models/premium-item-account-mapping-class.ts +43 -0
  60. package/models/product-account-mapping-class.ts +67 -0
  61. package/models/product-account-mapping-detail-class.ts +56 -0
  62. package/models/product-version-account-mapping-detail-class.ts +56 -0
  63. package/models/product-version-with-account-mappings-class.ts +48 -0
  64. package/models/product-with-account-mappings-class.ts +55 -0
  65. package/models/put-premium-item-account-body-dto.ts +30 -0
  66. package/models/put-product-category-account-body-dto.ts +30 -0
  67. package/models/put-product-version-category-account-body-dto.ts +30 -0
  68. package/models/resolved-account-mapping-class.ts +37 -0
  69. package/models/update-financial-account-body-dto.ts +48 -0
  70. package/models/update-financial-account-response-class.ts +31 -0
  71. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -16,3 +16,4 @@ export * from './api/financial-transactions-api';
16
16
  export * from './api/health-api';
17
17
  export * from './api/number-ranges-api';
18
18
  export * from './api/personal-accounts-api';
19
+ export * from './api/product-account-mappings-api';
package/dist/api.js CHANGED
@@ -34,3 +34,4 @@ __exportStar(require("./api/financial-transactions-api"), exports);
34
34
  __exportStar(require("./api/health-api"), exports);
35
35
  __exportStar(require("./api/number-ranges-api"), exports);
36
36
  __exportStar(require("./api/personal-accounts-api"), exports);
37
+ __exportStar(require("./api/product-account-mappings-api"), exports);
@@ -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
+ };
@@ -77,6 +77,12 @@ export interface CreateFinancialAccountRequestDto {
77
77
  * @memberof CreateFinancialAccountRequestDto
78
78
  */
79
79
  'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
80
+ /**
81
+ * Whether this account is the default for its functional category. Only meaningful for pool categories. Setting true on creation will clear isDefault on any other account in the same category.
82
+ * @type {boolean}
83
+ * @memberof CreateFinancialAccountRequestDto
84
+ */
85
+ 'isDefault'?: boolean;
80
86
  }
81
87
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
82
88
  readonly Asset: "asset";
@@ -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}
@@ -93,6 +93,18 @@ export interface FinancialAccountClass {
93
93
  * @memberof FinancialAccountClass
94
94
  */
95
95
  'functionalCategory': string;
96
+ /**
97
+ * Whether this is the default account for its functional category. Only one pool-category account per category can have isDefault set to true.
98
+ * @type {boolean}
99
+ * @memberof FinancialAccountClass
100
+ */
101
+ 'isDefault': boolean;
102
+ /**
103
+ * Whether the account is locked. Set automatically the first time the account is posted to; once true, financialAccountNumber can no longer be changed.
104
+ * @type {boolean}
105
+ * @memberof FinancialAccountClass
106
+ */
107
+ 'isLocked': boolean;
96
108
  /**
97
109
  * Time at which the object was created.
98
110
  * @type {string}
@@ -127,3 +139,8 @@ export declare const FinancialAccountClassTypeEnum: {
127
139
  readonly OpeningBalance: "opening_balance";
128
140
  };
129
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
+ }
@@ -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 });
@@ -22,6 +22,7 @@ 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';
@@ -34,7 +35,21 @@ export * from './list-financial-accounts-response-class';
34
35
  export * from './list-financial-transactions-response-class';
35
36
  export * from './list-number-range-response-class';
36
37
  export * from './list-personal-accounts-response-class';
38
+ export * from './list-product-account-mappings-response-class';
39
+ export * from './list-products-with-account-mappings-response-class';
37
40
  export * from './number-range-class';
38
41
  export * from './personal-account-class';
42
+ export * from './premium-item-account-mapping-class';
43
+ export * from './product-account-mapping-class';
44
+ export * from './product-account-mapping-detail-class';
45
+ export * from './product-version-account-mapping-detail-class';
46
+ export * from './product-version-with-account-mappings-class';
47
+ export * from './product-with-account-mappings-class';
48
+ export * from './put-premium-item-account-body-dto';
49
+ export * from './put-product-category-account-body-dto';
50
+ export * from './put-product-version-category-account-body-dto';
51
+ export * from './resolved-account-mapping-class';
52
+ export * from './update-financial-account-body-dto';
53
+ export * from './update-financial-account-response-class';
39
54
  export * from './validate-accounting-config-request-dto';
40
55
  export * from './validate-accounting-config-response-class';
@@ -38,6 +38,7 @@ __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);
@@ -50,7 +51,21 @@ __exportStar(require("./list-financial-accounts-response-class"), exports);
50
51
  __exportStar(require("./list-financial-transactions-response-class"), exports);
51
52
  __exportStar(require("./list-number-range-response-class"), exports);
52
53
  __exportStar(require("./list-personal-accounts-response-class"), exports);
54
+ __exportStar(require("./list-product-account-mappings-response-class"), exports);
55
+ __exportStar(require("./list-products-with-account-mappings-response-class"), exports);
53
56
  __exportStar(require("./number-range-class"), exports);
54
57
  __exportStar(require("./personal-account-class"), exports);
58
+ __exportStar(require("./premium-item-account-mapping-class"), exports);
59
+ __exportStar(require("./product-account-mapping-class"), exports);
60
+ __exportStar(require("./product-account-mapping-detail-class"), exports);
61
+ __exportStar(require("./product-version-account-mapping-detail-class"), exports);
62
+ __exportStar(require("./product-version-with-account-mappings-class"), exports);
63
+ __exportStar(require("./product-with-account-mappings-class"), exports);
64
+ __exportStar(require("./put-premium-item-account-body-dto"), exports);
65
+ __exportStar(require("./put-product-category-account-body-dto"), exports);
66
+ __exportStar(require("./put-product-version-category-account-body-dto"), exports);
67
+ __exportStar(require("./resolved-account-mapping-class"), exports);
68
+ __exportStar(require("./update-financial-account-body-dto"), exports);
69
+ __exportStar(require("./update-financial-account-response-class"), exports);
55
70
  __exportStar(require("./validate-accounting-config-request-dto"), exports);
56
71
  __exportStar(require("./validate-accounting-config-response-class"), exports);
@@ -0,0 +1,43 @@
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 { ProductAccountMappingClass } from './product-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProductAccountMappingsResponseClass
17
+ */
18
+ export interface ListProductAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListProductAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListProductAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListProductAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<ProductAccountMappingClass>}
40
+ * @memberof ListProductAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<ProductAccountMappingClass>;
43
+ }
@@ -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 });
@@ -0,0 +1,43 @@
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 { ProductWithAccountMappingsClass } from './product-with-account-mappings-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProductsWithAccountMappingsResponseClass
17
+ */
18
+ export interface ListProductsWithAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListProductsWithAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
27
+ * @type {number}
28
+ * @memberof ListProductsWithAccountMappingsResponseClass
29
+ */
30
+ 'totalItems'?: number;
31
+ /**
32
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
33
+ * @type {number}
34
+ * @memberof ListProductsWithAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage'?: number;
37
+ /**
38
+ *
39
+ * @type {Array<ProductWithAccountMappingsClass>}
40
+ * @memberof ListProductsWithAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<ProductWithAccountMappingsClass>;
43
+ }
@@ -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 });
@@ -0,0 +1,37 @@
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 { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumItemAccountMappingClass
17
+ */
18
+ export interface PremiumItemAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PremiumItemAccountMappingClass
23
+ */
24
+ 'premiumFormulaCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PremiumItemAccountMappingClass
29
+ */
30
+ 'premiumFormulaName': string;
31
+ /**
32
+ * The accounts assigned to this item: 1 entry (unconfigured, or VAT/revenue-classified) or 2 (tax: pending + due), never one-per-eligible-category. Each entry\'s own financialAccount.functionalCategory determines which leg it is — array order is not meaningful, select an entry by functionalCategory, never by position.
33
+ * @type {Array<ResolvedAccountMappingClass>}
34
+ * @memberof PremiumItemAccountMappingClass
35
+ */
36
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
37
+ }
@@ -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 });
@@ -0,0 +1,61 @@
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 { FinancialAccountClass } from './financial-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductAccountMappingClass
17
+ */
18
+ export interface ProductAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProductAccountMappingClass
23
+ */
24
+ 'productCode': string;
25
+ /**
26
+ * Empty string when this row is product-level (not version-scoped).
27
+ * @type {string}
28
+ * @memberof ProductAccountMappingClass
29
+ */
30
+ 'productVersionCode': string;
31
+ /**
32
+ * Empty string unless this row is premium-item-level.
33
+ * @type {string}
34
+ * @memberof ProductAccountMappingClass
35
+ */
36
+ 'premiumFormulaCode': string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProductAccountMappingClass
41
+ */
42
+ 'category': string;
43
+ /**
44
+ *
45
+ * @type {FinancialAccountClass}
46
+ * @memberof ProductAccountMappingClass
47
+ */
48
+ 'financialAccount': FinancialAccountClass;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProductAccountMappingClass
53
+ */
54
+ 'createdAt'?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ProductAccountMappingClass
59
+ */
60
+ 'updatedAt'?: string;
61
+ }
@@ -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 });
@@ -0,0 +1,50 @@
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 { ProductVersionWithAccountMappingsClass } from './product-version-with-account-mappings-class';
13
+ import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductAccountMappingDetailClass
18
+ */
19
+ export interface ProductAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProductAccountMappingDetailClass
24
+ */
25
+ 'productCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProductAccountMappingDetailClass
30
+ */
31
+ 'productSlug': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ProductAccountMappingDetailClass
36
+ */
37
+ 'productName': string;
38
+ /**
39
+ * One entry per category eligible for product-level override, always listed whether overridden or not. Each entry always carries exactly one resolved account.
40
+ * @type {Array<ResolvedAccountMappingClass>}
41
+ * @memberof ProductAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
44
+ /**
45
+ * Same shape as the catalog list, so this endpoint is usable standalone without a prior catalog call.
46
+ * @type {Array<ProductVersionWithAccountMappingsClass>}
47
+ * @memberof ProductAccountMappingDetailClass
48
+ */
49
+ 'versions': Array<ProductVersionWithAccountMappingsClass>;
50
+ }
@@ -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 });
@@ -0,0 +1,50 @@
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 { PremiumItemAccountMappingClass } from './premium-item-account-mapping-class';
13
+ import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductVersionAccountMappingDetailClass
18
+ */
19
+ export interface ProductVersionAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProductVersionAccountMappingDetailClass
24
+ */
25
+ 'productVersionCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProductVersionAccountMappingDetailClass
30
+ */
31
+ 'description': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ProductVersionAccountMappingDetailClass
36
+ */
37
+ 'status': string;
38
+ /**
39
+ * One entry per category eligible for product/version-level override, resolved via PRODUCT_VERSION -> PRODUCT -> CATEGORY_DEFAULT.
40
+ * @type {Array<ResolvedAccountMappingClass>}
41
+ * @memberof ProductVersionAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
44
+ /**
45
+ * Every public, calculation-relevant premium item on this version, whether overridden or not.
46
+ * @type {Array<PremiumItemAccountMappingClass>}
47
+ * @memberof ProductVersionAccountMappingDetailClass
48
+ */
49
+ 'premiumItems': Array<PremiumItemAccountMappingClass>;
50
+ }
@@ -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 });
@@ -0,0 +1,42 @@
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 ProductVersionWithAccountMappingsClass
16
+ */
17
+ export interface ProductVersionWithAccountMappingsClass {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProductVersionWithAccountMappingsClass
22
+ */
23
+ 'productVersionCode': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductVersionWithAccountMappingsClass
28
+ */
29
+ 'description': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProductVersionWithAccountMappingsClass
34
+ */
35
+ 'status': string;
36
+ /**
37
+ * True when this version has at least one product-version-level or premium-item-level override, computed via a bulk local badge lookup.
38
+ * @type {boolean}
39
+ * @memberof ProductVersionWithAccountMappingsClass
40
+ */
41
+ 'hasCustomMapping': boolean;
42
+ }
@@ -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 });