@emilgroup/accounting-sdk 1.34.1-beta.2 → 1.34.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 +1470 -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 +1224 -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
@@ -0,0 +1,49 @@
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
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductWithAccountMappingsClass
17
+ */
18
+ export interface ProductWithAccountMappingsClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProductWithAccountMappingsClass
23
+ */
24
+ 'productCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProductWithAccountMappingsClass
29
+ */
30
+ 'productSlug': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ProductWithAccountMappingsClass
35
+ */
36
+ 'productName': string;
37
+ /**
38
+ * Aggregate: true if the product itself, any version, or any premium item under any version is overridden.
39
+ * @type {boolean}
40
+ * @memberof ProductWithAccountMappingsClass
41
+ */
42
+ 'hasCustomMapping': boolean;
43
+ /**
44
+ * Every version of this product, regardless of status.
45
+ * @type {Array<ProductVersionWithAccountMappingsClass>}
46
+ * @memberof ProductWithAccountMappingsClass
47
+ */
48
+ 'versions': Array<ProductVersionWithAccountMappingsClass>;
49
+ }
@@ -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,24 @@
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 PutPremiumItemAccountBodyDto
16
+ */
17
+ export interface PutPremiumItemAccountBodyDto {
18
+ /**
19
+ * Code of the financial account to use. Must belong to the category named in this request\'s path.
20
+ * @type {string}
21
+ * @memberof PutPremiumItemAccountBodyDto
22
+ */
23
+ 'financialAccountCode': string;
24
+ }
@@ -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,24 @@
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 PutProductCategoryAccountBodyDto
16
+ */
17
+ export interface PutProductCategoryAccountBodyDto {
18
+ /**
19
+ * Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
20
+ * @type {string}
21
+ * @memberof PutProductCategoryAccountBodyDto
22
+ */
23
+ 'financialAccountCode': string;
24
+ }
@@ -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,24 @@
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 PutProductVersionCategoryAccountBodyDto
16
+ */
17
+ export interface PutProductVersionCategoryAccountBodyDto {
18
+ /**
19
+ * Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
20
+ * @type {string}
21
+ * @memberof PutProductVersionCategoryAccountBodyDto
22
+ */
23
+ 'financialAccountCode': string;
24
+ }
@@ -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,31 @@
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 ResolvedAccountMappingClass
17
+ */
18
+ export interface ResolvedAccountMappingClass {
19
+ /**
20
+ * The linked account\'s current state, read live.
21
+ * @type {FinancialAccountClass}
22
+ * @memberof ResolvedAccountMappingClass
23
+ */
24
+ 'financialAccount': FinancialAccountClass;
25
+ /**
26
+ * Which level of the cascade produced this value: CATEGORY_DEFAULT, PRODUCT, PRODUCT_VERSION, or PREMIUM_ITEM. Audit/debug only.
27
+ * @type {string}
28
+ * @memberof ResolvedAccountMappingClass
29
+ */
30
+ 'source': string;
31
+ }
@@ -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 UpdateFinancialAccountBodyDto
16
+ */
17
+ export interface UpdateFinancialAccountBodyDto {
18
+ /**
19
+ * The new name of the account. Always editable.
20
+ * @type {string}
21
+ * @memberof UpdateFinancialAccountBodyDto
22
+ */
23
+ 'name'?: string;
24
+ /**
25
+ * The new description of the account. Always editable.
26
+ * @type {string}
27
+ * @memberof UpdateFinancialAccountBodyDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * The new account number. Only editable while the account is not locked (isLocked: false). Resubmitting the current value is always allowed, even while locked.
32
+ * @type {string}
33
+ * @memberof UpdateFinancialAccountBodyDto
34
+ */
35
+ 'financialAccountNumber'?: string;
36
+ /**
37
+ * Set true to make this the default account for its (pool-category) functional category — this demotes the previous default. Setting false is rejected: set a different account as default instead.
38
+ * @type {boolean}
39
+ * @memberof UpdateFinancialAccountBodyDto
40
+ */
41
+ 'isDefault'?: 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 });
@@ -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 { FinancialAccountClass } from './financial-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateFinancialAccountResponseClass
17
+ */
18
+ export interface UpdateFinancialAccountResponseClass {
19
+ /**
20
+ * The financial account response.
21
+ * @type {FinancialAccountClass}
22
+ * @memberof UpdateFinancialAccountResponseClass
23
+ */
24
+ 'financialAccount': FinancialAccountClass;
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 });
@@ -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
+
@@ -80,6 +80,12 @@ export interface CreateFinancialAccountRequestDto {
80
80
  * @memberof CreateFinancialAccountRequestDto
81
81
  */
82
82
  'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
83
+ /**
84
+ * 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.
85
+ * @type {boolean}
86
+ * @memberof CreateFinancialAccountRequestDto
87
+ */
88
+ 'isDefault'?: boolean;
83
89
  }
84
90
 
85
91
  export const CreateFinancialAccountRequestDtoTypeEnum = {
@@ -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}
@@ -98,6 +98,18 @@ export interface FinancialAccountClass {
98
98
  * @memberof FinancialAccountClass
99
99
  */
100
100
  'functionalCategory': string;
101
+ /**
102
+ * Whether this is the default account for its functional category. Only one pool-category account per category can have isDefault set to true.
103
+ * @type {boolean}
104
+ * @memberof FinancialAccountClass
105
+ */
106
+ 'isDefault': boolean;
107
+ /**
108
+ * Whether the account is locked. Set automatically the first time the account is posted to; once true, financialAccountNumber can no longer be changed.
109
+ * @type {boolean}
110
+ * @memberof FinancialAccountClass
111
+ */
112
+ 'isLocked': boolean;
101
113
  /**
102
114
  * Time at which the object was created.
103
115
  * @type {string}
@@ -134,5 +146,11 @@ export const FinancialAccountClassTypeEnum = {
134
146
  } as const;
135
147
 
136
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];
137
155
 
138
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,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';
@@ -0,0 +1,49 @@
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 { ProductAccountMappingClass } from './product-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListProductAccountMappingsResponseClass
22
+ */
23
+ export interface ListProductAccountMappingsResponseClass {
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof ListProductAccountMappingsResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListProductAccountMappingsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListProductAccountMappingsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ *
44
+ * @type {Array<ProductAccountMappingClass>}
45
+ * @memberof ListProductAccountMappingsResponseClass
46
+ */
47
+ 'items': Array<ProductAccountMappingClass>;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { ProductWithAccountMappingsClass } from './product-with-account-mappings-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListProductsWithAccountMappingsResponseClass
22
+ */
23
+ export interface ListProductsWithAccountMappingsResponseClass {
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof ListProductsWithAccountMappingsResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
32
+ * @type {number}
33
+ * @memberof ListProductsWithAccountMappingsResponseClass
34
+ */
35
+ 'totalItems'?: number;
36
+ /**
37
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
38
+ * @type {number}
39
+ * @memberof ListProductsWithAccountMappingsResponseClass
40
+ */
41
+ 'itemsPerPage'?: number;
42
+ /**
43
+ *
44
+ * @type {Array<ProductWithAccountMappingsClass>}
45
+ * @memberof ListProductsWithAccountMappingsResponseClass
46
+ */
47
+ 'items': Array<ProductWithAccountMappingsClass>;
48
+ }
49
+
@@ -0,0 +1,43 @@
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 { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PremiumItemAccountMappingClass
22
+ */
23
+ export interface PremiumItemAccountMappingClass {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PremiumItemAccountMappingClass
28
+ */
29
+ 'premiumFormulaCode': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PremiumItemAccountMappingClass
34
+ */
35
+ 'premiumFormulaName': string;
36
+ /**
37
+ * 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.
38
+ * @type {Array<ResolvedAccountMappingClass>}
39
+ * @memberof PremiumItemAccountMappingClass
40
+ */
41
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
42
+ }
43
+