@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
package/dist/api.d.ts CHANGED
@@ -11,8 +11,10 @@
11
11
  */
12
12
  export * from './api/accounting-configs-api';
13
13
  export * from './api/booking-entries-api';
14
+ export * from './api/commission-account-mappings-api';
14
15
  export * from './api/financial-accounts-api';
15
16
  export * from './api/financial-transactions-api';
16
17
  export * from './api/health-api';
17
18
  export * from './api/number-ranges-api';
18
19
  export * from './api/personal-accounts-api';
20
+ export * from './api/product-account-mappings-api';
package/dist/api.js CHANGED
@@ -29,8 +29,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/accounting-configs-api"), exports);
31
31
  __exportStar(require("./api/booking-entries-api"), exports);
32
+ __exportStar(require("./api/commission-account-mappings-api"), exports);
32
33
  __exportStar(require("./api/financial-accounts-api"), exports);
33
34
  __exportStar(require("./api/financial-transactions-api"), exports);
34
35
  __exportStar(require("./api/health-api"), exports);
35
36
  __exportStar(require("./api/number-ranges-api"), exports);
36
37
  __exportStar(require("./api/personal-accounts-api"), exports);
38
+ __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
+ };
@@ -76,6 +76,18 @@ export interface BookingEntryClass {
76
76
  * @memberof BookingEntryClass
77
77
  */
78
78
  'externalNumber'?: string;
79
+ /**
80
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Always set together with sourceEntityType.
81
+ * @type {string}
82
+ * @memberof BookingEntryClass
83
+ */
84
+ 'sourceEntityCode'?: string;
85
+ /**
86
+ * The kind of source entity this entry was posted for. Always set together with sourceEntityCode.
87
+ * @type {string}
88
+ * @memberof BookingEntryClass
89
+ */
90
+ 'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
79
91
  /**
80
92
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
81
93
  * @type {Array<FinancialTransactionClass>}
@@ -121,3 +133,10 @@ export declare const BookingEntryClassCurrencyEnum: {
121
133
  readonly Sek: "SEK";
122
134
  };
123
135
  export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
136
+ export declare const BookingEntryClassSourceEntityTypeEnum: {
137
+ readonly Invoice: "invoice";
138
+ readonly Payment: "payment";
139
+ readonly Credit: "credit";
140
+ readonly CreditAllocation: "credit_allocation";
141
+ };
142
+ export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BookingEntryClassCurrencyEnum = void 0;
16
+ exports.BookingEntryClassSourceEntityTypeEnum = exports.BookingEntryClassCurrencyEnum = void 0;
17
17
  exports.BookingEntryClassCurrencyEnum = {
18
18
  Eur: 'EUR',
19
19
  Usd: 'USD',
@@ -27,3 +27,9 @@ exports.BookingEntryClassCurrencyEnum = {
27
27
  Nok: 'NOK',
28
28
  Sek: 'SEK'
29
29
  };
30
+ exports.BookingEntryClassSourceEntityTypeEnum = {
31
+ Invoice: 'invoice',
32
+ Payment: 'payment',
33
+ Credit: 'credit',
34
+ CreditAllocation: 'credit_allocation'
35
+ };
@@ -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 { FinancialAccountClass } from './financial-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAccountMappingClass
17
+ */
18
+ export interface CommissionAccountMappingClass {
19
+ /**
20
+ * Empty string when this row is type-level (not agreement-scoped).
21
+ * @type {string}
22
+ * @memberof CommissionAccountMappingClass
23
+ */
24
+ 'commissionAgreementCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAccountMappingClass
29
+ */
30
+ 'commissionType': string;
31
+ /**
32
+ *
33
+ * @type {FinancialAccountClass}
34
+ * @memberof CommissionAccountMappingClass
35
+ */
36
+ 'financialAccount': FinancialAccountClass;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CommissionAccountMappingClass
41
+ */
42
+ 'createdAt'?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CommissionAccountMappingClass
47
+ */
48
+ 'updatedAt'?: string;
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,44 @@
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
13
+ import { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionAgreementAccountMappingDetailClass
18
+ */
19
+ export interface CommissionAgreementAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CommissionAgreementAccountMappingDetailClass
24
+ */
25
+ 'commissionAgreementCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof CommissionAgreementAccountMappingDetailClass
30
+ */
31
+ 'commissionAgreementNumber': string;
32
+ /**
33
+ * The agreement\'s main partner.
34
+ * @type {CommissionAgreementPartnerClass}
35
+ * @memberof CommissionAgreementAccountMappingDetailClass
36
+ */
37
+ 'mainPartner'?: CommissionAgreementPartnerClass;
38
+ /**
39
+ * One entry per commission type that has some row (type-level or agreement-level) for this tenant.
40
+ * @type {Array<CommissionTypeAccountMappingClass>}
41
+ * @memberof CommissionAgreementAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<CommissionTypeAccountMappingClass>;
44
+ }
@@ -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,30 @@
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 CommissionAgreementPartnerClass
16
+ */
17
+ export interface CommissionAgreementPartnerClass {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CommissionAgreementPartnerClass
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CommissionAgreementPartnerClass
28
+ */
29
+ 'name': string;
30
+ }
@@ -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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementWithAccountMappingClass
17
+ */
18
+ export interface CommissionAgreementWithAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionAgreementWithAccountMappingClass
23
+ */
24
+ 'commissionAgreementCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAgreementWithAccountMappingClass
29
+ */
30
+ 'commissionAgreementNumber': string;
31
+ /**
32
+ * The agreement\'s main partner, read from commissionservice (CommissionAgreement.metadata.mainPartner). Omitted when the agreement has none.
33
+ * @type {CommissionAgreementPartnerClass}
34
+ * @memberof CommissionAgreementWithAccountMappingClass
35
+ */
36
+ 'mainPartner'?: CommissionAgreementPartnerClass;
37
+ /**
38
+ * True if any commission type has an agreement-level override for this agreement.
39
+ * @type {boolean}
40
+ * @memberof CommissionAgreementWithAccountMappingClass
41
+ */
42
+ 'hasCustomMapping': boolean;
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,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 { ResolvedCommissionAccountMappingClass } from './resolved-commission-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionTypeAccountMappingClass
17
+ */
18
+ export interface CommissionTypeAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionTypeAccountMappingClass
23
+ */
24
+ 'commissionType': string;
25
+ /**
26
+ *
27
+ * @type {ResolvedCommissionAccountMappingClass}
28
+ * @memberof CommissionTypeAccountMappingClass
29
+ */
30
+ 'accountMapping': ResolvedCommissionAccountMappingClass;
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 });
@@ -40,6 +40,18 @@ export interface CreateBookingEntryRequestDto {
40
40
  * @memberof CreateBookingEntryRequestDto
41
41
  */
42
42
  'externalNumber'?: string;
43
+ /**
44
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
45
+ * @type {string}
46
+ * @memberof CreateBookingEntryRequestDto
47
+ */
48
+ 'sourceEntityCode'?: string;
49
+ /**
50
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode.
51
+ * @type {string}
52
+ * @memberof CreateBookingEntryRequestDto
53
+ */
54
+ 'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
43
55
  /**
44
56
  * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
45
57
  * @type {string}
@@ -61,3 +73,10 @@ export interface CreateBookingEntryRequestDto {
61
73
  */
62
74
  'financialTransactions': Array<FinancialTransactionDataDto>;
63
75
  }
76
+ export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
+ readonly Invoice: "invoice";
78
+ readonly Payment: "payment";
79
+ readonly Credit: "credit";
80
+ readonly CreditAllocation: "credit_allocation";
81
+ };
82
+ export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -13,3 +13,10 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
+ Invoice: 'invoice',
19
+ Payment: 'payment',
20
+ Credit: 'credit',
21
+ CreditAllocation: 'credit_allocation'
22
+ };
@@ -77,6 +77,18 @@ 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;
86
+ /**
87
+ * The connected bank account this account books, given as its code. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Its IBAN is read from the bank account and returned as linkedBankAccountIban; it is never accepted here.
88
+ * @type {string}
89
+ * @memberof CreateFinancialAccountRequestDto
90
+ */
91
+ 'linkedBankAccountCode'?: string;
80
92
  }
81
93
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
82
94
  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,30 @@ 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;
108
+ /**
109
+ * The connected bank account this account books, if one is linked. Absent when unlinked, which is every account outside the bank category.
110
+ * @type {string}
111
+ * @memberof FinancialAccountClass
112
+ */
113
+ 'linkedBankAccountCode'?: string;
114
+ /**
115
+ * IBAN of the linked bank account. Read-only: it is read from the bank account when the link is written and cannot be set here.
116
+ * @type {string}
117
+ * @memberof FinancialAccountClass
118
+ */
119
+ 'linkedBankAccountIban'?: string;
96
120
  /**
97
121
  * Time at which the object was created.
98
122
  * @type {string}
@@ -127,3 +151,8 @@ export declare const FinancialAccountClassTypeEnum: {
127
151
  readonly OpeningBalance: "opening_balance";
128
152
  };
129
153
  export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
154
+ export declare const FinancialAccountClassStatusEnum: {
155
+ readonly Active: "active";
156
+ readonly Inactive: "inactive";
157
+ };
158
+ 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 });
@@ -7,6 +7,11 @@ export * from './accounting-config-data-dto-accounting-configuration';
7
7
  export * from './accounting-config-data-dto-default-account-mappings';
8
8
  export * from './accounting-configuration-class';
9
9
  export * from './booking-entry-class';
10
+ export * from './commission-account-mapping-class';
11
+ export * from './commission-agreement-account-mapping-detail-class';
12
+ export * from './commission-agreement-partner-class';
13
+ export * from './commission-agreement-with-account-mapping-class';
14
+ export * from './commission-type-account-mapping-class';
10
15
  export * from './create-and-enable-subledger-request-dto';
11
16
  export * from './create-and-enable-subledger-response-class';
12
17
  export * from './create-booking-entry-request-dto';
@@ -22,6 +27,7 @@ export * from './financial-account-class';
22
27
  export * from './financial-transaction-class';
23
28
  export * from './financial-transaction-data-dto';
24
29
  export * from './get-accounting-categories-response-class';
30
+ export * from './get-activation-snapshot-response-class';
25
31
  export * from './get-booking-entry-response-class';
26
32
  export * from './get-financial-account-response-class';
27
33
  export * from './get-financial-transaction-response-class';
@@ -30,11 +36,33 @@ export * from './get-personal-account-response-class';
30
36
  export * from './inline-response200';
31
37
  export * from './inline-response503';
32
38
  export * from './list-booking-entries-response-class';
39
+ export * from './list-commission-account-mappings-response-class';
40
+ export * from './list-commission-agreements-with-account-mappings-response-class';
41
+ export * from './list-commission-type-account-mappings-response-class';
33
42
  export * from './list-financial-accounts-response-class';
34
43
  export * from './list-financial-transactions-response-class';
35
44
  export * from './list-number-range-response-class';
36
45
  export * from './list-personal-accounts-response-class';
46
+ export * from './list-product-account-mappings-response-class';
47
+ export * from './list-products-with-account-mappings-response-class';
37
48
  export * from './number-range-class';
38
49
  export * from './personal-account-class';
50
+ export * from './post-financial-event-request-dto';
51
+ export * from './post-financial-event-response-class';
52
+ export * from './premium-item-account-mapping-class';
53
+ export * from './product-account-mapping-class';
54
+ export * from './product-account-mapping-detail-class';
55
+ export * from './product-version-account-mapping-detail-class';
56
+ export * from './product-version-with-account-mappings-class';
57
+ export * from './product-with-account-mappings-class';
58
+ export * from './put-premium-item-account-body-dto';
59
+ export * from './put-product-category-account-body-dto';
60
+ export * from './put-product-version-category-account-body-dto';
61
+ export * from './resolved-account-mapping-class';
62
+ export * from './resolved-commission-account-mapping-class';
63
+ export * from './update-commission-agreement-account-body-dto';
64
+ export * from './update-commission-type-account-body-dto';
65
+ export * from './update-financial-account-body-dto';
66
+ export * from './update-financial-account-response-class';
39
67
  export * from './validate-accounting-config-request-dto';
40
68
  export * from './validate-accounting-config-response-class';