@emilgroup/accounting-sdk-node 1.32.1-beta.3 → 1.32.1-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +97 -7
  4. package/api/booking-entries-api.ts +107 -0
  5. package/api/commission-account-mappings-api.ts +1195 -0
  6. package/api/financial-accounts-api.ts +132 -12
  7. package/api/product-account-mappings-api.ts +1474 -0
  8. package/api.ts +4 -0
  9. package/dist/api/accounting-configs-api.d.ts +47 -0
  10. package/dist/api/accounting-configs-api.js +94 -7
  11. package/dist/api/booking-entries-api.d.ts +57 -0
  12. package/dist/api/booking-entries-api.js +93 -0
  13. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  14. package/dist/api/commission-account-mappings-api.js +1008 -0
  15. package/dist/api/financial-accounts-api.d.ts +78 -12
  16. package/dist/api/financial-accounts-api.js +109 -10
  17. package/dist/api/product-account-mappings-api.d.ts +851 -0
  18. package/dist/api/product-account-mappings-api.js +1228 -0
  19. package/dist/api.d.ts +2 -0
  20. package/dist/api.js +2 -0
  21. package/dist/models/accounting-config-class.d.ts +11 -0
  22. package/dist/models/accounting-config-class.js +5 -0
  23. package/dist/models/booking-entry-class.d.ts +19 -0
  24. package/dist/models/booking-entry-class.js +7 -1
  25. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  26. package/dist/models/commission-account-mapping-class.js +15 -0
  27. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  28. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  29. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  30. package/dist/models/commission-agreement-partner-class.js +15 -0
  31. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  32. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  33. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  34. package/dist/models/commission-type-account-mapping-class.js +15 -0
  35. package/dist/models/create-booking-entry-request-dto.d.ts +19 -0
  36. package/dist/models/create-booking-entry-request-dto.js +7 -0
  37. package/dist/models/create-financial-account-request-dto.d.ts +12 -0
  38. package/dist/models/financial-account-class.d.ts +30 -1
  39. package/dist/models/financial-account-class.js +5 -1
  40. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  41. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  42. package/dist/models/index.d.ts +28 -0
  43. package/dist/models/index.js +28 -0
  44. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  45. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  46. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  47. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  48. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  49. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  50. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  51. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  52. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  53. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  54. package/dist/models/post-financial-event-request-dto.d.ts +43 -0
  55. package/dist/models/post-financial-event-request-dto.js +22 -0
  56. package/dist/models/post-financial-event-response-class.d.ts +25 -0
  57. package/dist/models/post-financial-event-response-class.js +15 -0
  58. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  59. package/dist/models/premium-item-account-mapping-class.js +15 -0
  60. package/dist/models/product-account-mapping-class.d.ts +61 -0
  61. package/dist/models/product-account-mapping-class.js +15 -0
  62. package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
  63. package/dist/models/product-account-mapping-detail-class.js +15 -0
  64. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  65. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  66. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  67. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  68. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  69. package/dist/models/product-with-account-mappings-class.js +15 -0
  70. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  71. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  72. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  73. package/dist/models/put-product-category-account-body-dto.js +15 -0
  74. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  75. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  76. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  77. package/dist/models/resolved-account-mapping-class.js +15 -0
  78. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  79. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  80. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  81. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  82. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  83. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  84. package/dist/models/update-financial-account-body-dto.d.ts +48 -0
  85. package/dist/models/update-financial-account-body-dto.js +15 -0
  86. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  87. package/dist/models/update-financial-account-response-class.js +15 -0
  88. package/models/accounting-config-class.ts +14 -0
  89. package/models/booking-entry-class.ts +20 -0
  90. package/models/commission-account-mapping-class.ts +55 -0
  91. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  92. package/models/commission-agreement-partner-class.ts +36 -0
  93. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  94. package/models/commission-type-account-mapping-class.ts +37 -0
  95. package/models/create-booking-entry-request-dto.ts +22 -0
  96. package/models/create-financial-account-request-dto.ts +12 -0
  97. package/models/financial-account-class.ts +31 -1
  98. package/models/get-activation-snapshot-response-class.ts +31 -0
  99. package/models/index.ts +28 -0
  100. package/models/list-commission-account-mappings-response-class.ts +49 -0
  101. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  102. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  103. package/models/list-product-account-mappings-response-class.ts +49 -0
  104. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  105. package/models/post-financial-event-request-dto.ts +52 -0
  106. package/models/post-financial-event-response-class.ts +31 -0
  107. package/models/premium-item-account-mapping-class.ts +43 -0
  108. package/models/product-account-mapping-class.ts +67 -0
  109. package/models/product-account-mapping-detail-class.ts +56 -0
  110. package/models/product-version-account-mapping-detail-class.ts +56 -0
  111. package/models/product-version-with-account-mappings-class.ts +48 -0
  112. package/models/product-with-account-mappings-class.ts +55 -0
  113. package/models/put-premium-item-account-body-dto.ts +30 -0
  114. package/models/put-product-category-account-body-dto.ts +30 -0
  115. package/models/put-product-version-category-account-body-dto.ts +30 -0
  116. package/models/resolved-account-mapping-class.ts +37 -0
  117. package/models/resolved-commission-account-mapping-class.ts +46 -0
  118. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  119. package/models/update-commission-type-account-body-dto.ts +30 -0
  120. package/models/update-financial-account-body-dto.ts +54 -0
  121. package/models/update-financial-account-response-class.ts +31 -0
  122. package/package.json +1 -1
@@ -23,6 +23,11 @@ __exportStar(require("./accounting-config-data-dto-accounting-configuration"), e
23
23
  __exportStar(require("./accounting-config-data-dto-default-account-mappings"), exports);
24
24
  __exportStar(require("./accounting-configuration-class"), exports);
25
25
  __exportStar(require("./booking-entry-class"), exports);
26
+ __exportStar(require("./commission-account-mapping-class"), exports);
27
+ __exportStar(require("./commission-agreement-account-mapping-detail-class"), exports);
28
+ __exportStar(require("./commission-agreement-partner-class"), exports);
29
+ __exportStar(require("./commission-agreement-with-account-mapping-class"), exports);
30
+ __exportStar(require("./commission-type-account-mapping-class"), exports);
26
31
  __exportStar(require("./create-and-enable-subledger-request-dto"), exports);
27
32
  __exportStar(require("./create-and-enable-subledger-response-class"), exports);
28
33
  __exportStar(require("./create-booking-entry-request-dto"), exports);
@@ -38,6 +43,7 @@ __exportStar(require("./financial-account-class"), exports);
38
43
  __exportStar(require("./financial-transaction-class"), exports);
39
44
  __exportStar(require("./financial-transaction-data-dto"), exports);
40
45
  __exportStar(require("./get-accounting-categories-response-class"), exports);
46
+ __exportStar(require("./get-activation-snapshot-response-class"), exports);
41
47
  __exportStar(require("./get-booking-entry-response-class"), exports);
42
48
  __exportStar(require("./get-financial-account-response-class"), exports);
43
49
  __exportStar(require("./get-financial-transaction-response-class"), exports);
@@ -46,11 +52,33 @@ __exportStar(require("./get-personal-account-response-class"), exports);
46
52
  __exportStar(require("./inline-response200"), exports);
47
53
  __exportStar(require("./inline-response503"), exports);
48
54
  __exportStar(require("./list-booking-entries-response-class"), exports);
55
+ __exportStar(require("./list-commission-account-mappings-response-class"), exports);
56
+ __exportStar(require("./list-commission-agreements-with-account-mappings-response-class"), exports);
57
+ __exportStar(require("./list-commission-type-account-mappings-response-class"), exports);
49
58
  __exportStar(require("./list-financial-accounts-response-class"), exports);
50
59
  __exportStar(require("./list-financial-transactions-response-class"), exports);
51
60
  __exportStar(require("./list-number-range-response-class"), exports);
52
61
  __exportStar(require("./list-personal-accounts-response-class"), exports);
62
+ __exportStar(require("./list-product-account-mappings-response-class"), exports);
63
+ __exportStar(require("./list-products-with-account-mappings-response-class"), exports);
53
64
  __exportStar(require("./number-range-class"), exports);
54
65
  __exportStar(require("./personal-account-class"), exports);
66
+ __exportStar(require("./post-financial-event-request-dto"), exports);
67
+ __exportStar(require("./post-financial-event-response-class"), exports);
68
+ __exportStar(require("./premium-item-account-mapping-class"), exports);
69
+ __exportStar(require("./product-account-mapping-class"), exports);
70
+ __exportStar(require("./product-account-mapping-detail-class"), exports);
71
+ __exportStar(require("./product-version-account-mapping-detail-class"), exports);
72
+ __exportStar(require("./product-version-with-account-mappings-class"), exports);
73
+ __exportStar(require("./product-with-account-mappings-class"), exports);
74
+ __exportStar(require("./put-premium-item-account-body-dto"), exports);
75
+ __exportStar(require("./put-product-category-account-body-dto"), exports);
76
+ __exportStar(require("./put-product-version-category-account-body-dto"), exports);
77
+ __exportStar(require("./resolved-account-mapping-class"), exports);
78
+ __exportStar(require("./resolved-commission-account-mapping-class"), exports);
79
+ __exportStar(require("./update-commission-agreement-account-body-dto"), exports);
80
+ __exportStar(require("./update-commission-type-account-body-dto"), exports);
81
+ __exportStar(require("./update-financial-account-body-dto"), exports);
82
+ __exportStar(require("./update-financial-account-response-class"), exports);
55
83
  __exportStar(require("./validate-accounting-config-request-dto"), exports);
56
84
  __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 { CommissionAccountMappingClass } from './commission-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCommissionAccountMappingsResponseClass
17
+ */
18
+ export interface ListCommissionAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListCommissionAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListCommissionAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListCommissionAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<CommissionAccountMappingClass>}
40
+ * @memberof ListCommissionAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<CommissionAccountMappingClass>;
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 { CommissionAgreementWithAccountMappingClass } from './commission-agreement-with-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCommissionAgreementsWithAccountMappingsResponseClass
17
+ */
18
+ export interface ListCommissionAgreementsWithAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<CommissionAgreementWithAccountMappingClass>}
40
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<CommissionAgreementWithAccountMappingClass>;
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 { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCommissionTypeAccountMappingsResponseClass
17
+ */
18
+ export interface ListCommissionTypeAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<CommissionTypeAccountMappingClass>}
40
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<CommissionTypeAccountMappingClass>;
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 { 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,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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostFinancialEventRequestDto
16
+ */
17
+ export interface PostFinancialEventRequestDto {
18
+ /**
19
+ * The kind of source entity to post a booking entry for. Each kind is posted through the same flow its domain event goes through.
20
+ * @type {string}
21
+ * @memberof PostFinancialEventRequestDto
22
+ */
23
+ 'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
24
+ /**
25
+ * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit or credit allocation code.
26
+ * @type {string}
27
+ * @memberof PostFinancialEventRequestDto
28
+ */
29
+ 'sourceEntityCode': string;
30
+ /**
31
+ * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy.
32
+ * @type {string}
33
+ * @memberof PostFinancialEventRequestDto
34
+ */
35
+ 'partnerCode'?: string;
36
+ }
37
+ export declare const PostFinancialEventRequestDtoSourceEntityTypeEnum: {
38
+ readonly Invoice: "invoice";
39
+ readonly Payment: "payment";
40
+ readonly Credit: "credit";
41
+ readonly CreditAllocation: "credit_allocation";
42
+ };
43
+ export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PostFinancialEventRequestDtoSourceEntityTypeEnum = void 0;
17
+ exports.PostFinancialEventRequestDtoSourceEntityTypeEnum = {
18
+ Invoice: 'invoice',
19
+ Payment: 'payment',
20
+ Credit: 'credit',
21
+ CreditAllocation: 'credit_allocation'
22
+ };
@@ -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 { BookingEntryClass } from './booking-entry-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PostFinancialEventResponseClass
17
+ */
18
+ export interface PostFinancialEventResponseClass {
19
+ /**
20
+ * Every booking entry the posting wrote, in posting order. A payment settlement that releases premium tax writes a second entry.
21
+ * @type {Array<BookingEntryClass>}
22
+ * @memberof PostFinancialEventResponseClass
23
+ */
24
+ 'bookingEntries': Array<BookingEntryClass>;
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 });
@@ -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 });