@emilgroup/commission-sdk-node 2.9.1-beta.13 → 2.9.1-beta.131

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 (77) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +4 -4
  4. package/api/commission-agreement-rules-api.ts +20 -6
  5. package/api/commission-settlements-api.ts +8 -8
  6. package/api/commissions-api.ts +188 -0
  7. package/dist/api/commission-agreement-products-api.d.ts +4 -4
  8. package/dist/api/commission-agreement-products-api.js +3 -3
  9. package/dist/api/commission-agreement-rules-api.d.ts +12 -3
  10. package/dist/api/commission-agreement-rules-api.js +12 -6
  11. package/dist/api/commission-settlements-api.d.ts +8 -8
  12. package/dist/api/commission-settlements-api.js +3 -3
  13. package/dist/api/commissions-api.d.ts +110 -0
  14. package/dist/api/commissions-api.js +129 -0
  15. package/dist/models/clawback-config-class.d.ts +6 -0
  16. package/dist/models/clawback-config-dto.d.ts +6 -0
  17. package/dist/models/commission-agreement-class.d.ts +2 -2
  18. package/dist/models/commission-agreement-class.js +1 -1
  19. package/dist/models/commission-agreement-version-class.d.ts +4 -4
  20. package/dist/models/commission-agreement-version-config-class.d.ts +32 -0
  21. package/dist/models/commission-agreement-version-config-class.js +15 -0
  22. package/dist/models/commission-agreement-version-config-dto.d.ts +32 -0
  23. package/dist/models/commission-agreement-version-config-dto.js +15 -0
  24. package/dist/models/commission-class.d.ts +15 -7
  25. package/dist/models/commission-class.js +3 -1
  26. package/dist/models/commission-creation-config-class.d.ts +43 -0
  27. package/dist/models/commission-creation-config-class.js +20 -0
  28. package/dist/models/commission-creation-config-dto.d.ts +43 -0
  29. package/dist/models/commission-creation-config-dto.js +20 -0
  30. package/dist/models/commission-creation-invoice-config-class.d.ts +24 -0
  31. package/dist/models/commission-creation-invoice-config-class.js +15 -0
  32. package/dist/models/commission-creation-invoice-config-dto.d.ts +24 -0
  33. package/dist/models/commission-creation-invoice-config-dto.js +15 -0
  34. package/dist/models/commission-creation-renewal-config-class.d.ts +29 -0
  35. package/dist/models/commission-creation-renewal-config-class.js +20 -0
  36. package/dist/models/commission-creation-renewal-config-dto.d.ts +29 -0
  37. package/dist/models/commission-creation-renewal-config-dto.js +20 -0
  38. package/dist/models/commission-paid-invoice-entry-class.d.ts +115 -0
  39. package/dist/models/commission-paid-invoice-entry-class.js +22 -0
  40. package/dist/models/create-commission-agreement-request-dto.d.ts +5 -5
  41. package/dist/models/create-commission-agreement-request-dto.js +1 -1
  42. package/dist/models/create-commission-agreement-version-request-dto.d.ts +4 -4
  43. package/dist/models/estimate-commissions-request-dto.d.ts +6 -0
  44. package/dist/models/index.d.ts +10 -0
  45. package/dist/models/index.js +10 -0
  46. package/dist/models/list-commission-agreement-versions-response-class.d.ts +10 -10
  47. package/dist/models/list-commission-agreements-response-class.d.ts +10 -10
  48. package/dist/models/list-commission-paid-invoice-entries-response-class.d.ts +43 -0
  49. package/dist/models/list-commission-paid-invoice-entries-response-class.js +15 -0
  50. package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +1 -0
  51. package/dist/models/scheduled-commission-clawback-trigger-class.js +2 -1
  52. package/dist/models/update-commission-agreement-request-dto.d.ts +2 -2
  53. package/dist/models/update-commission-agreement-request-dto.js +1 -1
  54. package/models/clawback-config-class.ts +6 -0
  55. package/models/clawback-config-dto.ts +6 -0
  56. package/models/commission-agreement-class.ts +2 -2
  57. package/models/commission-agreement-version-class.ts +4 -4
  58. package/models/commission-agreement-version-config-class.ts +38 -0
  59. package/models/commission-agreement-version-config-dto.ts +38 -0
  60. package/models/commission-class.ts +16 -8
  61. package/models/commission-creation-config-class.ts +52 -0
  62. package/models/commission-creation-config-dto.ts +52 -0
  63. package/models/commission-creation-invoice-config-class.ts +30 -0
  64. package/models/commission-creation-invoice-config-dto.ts +30 -0
  65. package/models/commission-creation-renewal-config-class.ts +38 -0
  66. package/models/commission-creation-renewal-config-dto.ts +38 -0
  67. package/models/commission-paid-invoice-entry-class.ts +124 -0
  68. package/models/create-commission-agreement-request-dto.ts +5 -5
  69. package/models/create-commission-agreement-version-request-dto.ts +4 -4
  70. package/models/estimate-commissions-request-dto.ts +6 -0
  71. package/models/index.ts +10 -0
  72. package/models/list-commission-agreement-versions-response-class.ts +10 -10
  73. package/models/list-commission-agreements-response-class.ts +10 -10
  74. package/models/list-commission-paid-invoice-entries-response-class.ts +49 -0
  75. package/models/scheduled-commission-clawback-trigger-class.ts +2 -1
  76. package/models/update-commission-agreement-request-dto.ts +2 -2
  77. package/package.json +1 -1
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ClawbackConfigClass } from './clawback-config-class';
13
12
  import { CommissionAgreementClass } from './commission-agreement-class';
14
13
  import { CommissionAgreementProductClass } from './commission-agreement-product-class';
14
+ import { CommissionAgreementVersionConfigClass } from './commission-agreement-version-config-class';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -61,11 +61,11 @@ export interface CommissionAgreementVersionClass {
61
61
  */
62
62
  'settlementCreationDate'?: string;
63
63
  /**
64
- * Version-scoped clawback creation configuration.
65
- * @type {ClawbackConfigClass}
64
+ * Version-scoped agreement configuration.
65
+ * @type {CommissionAgreementVersionConfigClass}
66
66
  * @memberof CommissionAgreementVersionClass
67
67
  */
68
- 'clawbackConfig': ClawbackConfigClass;
68
+ 'config': CommissionAgreementVersionConfigClass;
69
69
  /**
70
70
  * Description explaining what changed in this version or version notes
71
71
  * @type {string}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { ClawbackConfigClass } from './clawback-config-class';
13
+ import { CommissionCreationConfigClass } from './commission-creation-config-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionAgreementVersionConfigClass
18
+ */
19
+ export interface CommissionAgreementVersionConfigClass {
20
+ /**
21
+ * Controls which clawback triggers are enabled for this commission agreement version. Missing values are treated as disabled by default.
22
+ * @type {ClawbackConfigClass}
23
+ * @memberof CommissionAgreementVersionConfigClass
24
+ */
25
+ 'clawback'?: ClawbackConfigClass;
26
+ /**
27
+ * Controls when recurring commission work is created for this commission agreement version. Missing values are treated as renewal mode by default.
28
+ * @type {CommissionCreationConfigClass}
29
+ * @memberof CommissionAgreementVersionConfigClass
30
+ */
31
+ 'commissionCreation'?: CommissionCreationConfigClass;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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,32 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { ClawbackConfigDto } from './clawback-config-dto';
13
+ import { CommissionCreationConfigDto } from './commission-creation-config-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionAgreementVersionConfigDto
18
+ */
19
+ export interface CommissionAgreementVersionConfigDto {
20
+ /**
21
+ * Controls which clawback triggers are enabled for this commission agreement version. Missing values are treated as disabled by default.
22
+ * @type {ClawbackConfigDto}
23
+ * @memberof CommissionAgreementVersionConfigDto
24
+ */
25
+ 'clawback'?: ClawbackConfigDto;
26
+ /**
27
+ * Controls when recurring commission work is created for this commission agreement version. Missing values are treated as renewal mode by default.
28
+ * @type {CommissionCreationConfigDto}
29
+ * @memberof CommissionAgreementVersionConfigDto
30
+ */
31
+ 'commissionCreation'?: CommissionCreationConfigDto;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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 });
@@ -59,6 +59,12 @@ export interface CommissionClass {
59
59
  * @memberof CommissionClass
60
60
  */
61
61
  'commissionAgreementNumber': string;
62
+ /**
63
+ * The code of the commission agreement being used for this commission, stable across all of the agreement\'s versions
64
+ * @type {string}
65
+ * @memberof CommissionClass
66
+ */
67
+ 'commissionAgreementCode': string;
62
68
  /**
63
69
  * The unique code or identifier of the partner associated with this commission
64
70
  * @type {string}
@@ -107,12 +113,6 @@ export interface CommissionClass {
107
113
  * @memberof CommissionClass
108
114
  */
109
115
  'settlementCode'?: string;
110
- /**
111
- * The source invoice code for invoice-driven commissions
112
- * @type {string}
113
- * @memberof CommissionClass
114
- */
115
- 'invoiceCode'?: string;
116
116
  /**
117
117
  * Start of the period the commission was originally created for
118
118
  * @type {string}
@@ -138,11 +138,17 @@ export interface CommissionClass {
138
138
  */
139
139
  'originalCommissionCode'?: string;
140
140
  /**
141
- * The trigger type that created this clawback commission
141
+ * What created this commission: the trigger of a clawback, or partner_coverage for the partner-coverage reconciliation (an adjustment of another commission\'s maintenance or sales, or a partner\'s coverage commission). Empty for any other commission
142
142
  * @type {string}
143
143
  * @memberof CommissionClass
144
144
  */
145
145
  'clawbackTriggerType'?: CommissionClassClawbackTriggerTypeEnum;
146
+ /**
147
+ * Whether the commission was created manually through the REST API rather than by the system. Manual commissions are clawed back in full, system commissions are clawed back using pro rata
148
+ * @type {boolean}
149
+ * @memberof CommissionClass
150
+ */
151
+ 'manual': boolean;
146
152
  /**
147
153
  * Time at which the object was created.
148
154
  * @type {string}
@@ -179,5 +185,7 @@ export declare const CommissionClassClawbackTriggerTypeEnum: {
179
185
  readonly PolicyTermination: "policy_termination";
180
186
  readonly PolicyWithdrawal: "policy_withdrawal";
181
187
  readonly IntermediarySwitched: "intermediary_switched";
188
+ readonly InvoiceReopened: "invoice_reopened";
189
+ readonly PartnerCoverage: "partner_coverage";
182
190
  };
183
191
  export type CommissionClassClawbackTriggerTypeEnum = typeof CommissionClassClawbackTriggerTypeEnum[keyof typeof CommissionClassClawbackTriggerTypeEnum];
@@ -18,5 +18,7 @@ exports.CommissionClassClawbackTriggerTypeEnum = {
18
18
  Manual: 'manual',
19
19
  PolicyTermination: 'policy_termination',
20
20
  PolicyWithdrawal: 'policy_withdrawal',
21
- IntermediarySwitched: 'intermediary_switched'
21
+ IntermediarySwitched: 'intermediary_switched',
22
+ InvoiceReopened: 'invoice_reopened',
23
+ PartnerCoverage: 'partner_coverage'
22
24
  };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { CommissionCreationInvoiceConfigClass } from './commission-creation-invoice-config-class';
13
+ import { CommissionCreationRenewalConfigClass } from './commission-creation-renewal-config-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionCreationConfigClass
18
+ */
19
+ export interface CommissionCreationConfigClass {
20
+ /**
21
+ * Determines which event drives recurring commission creation: renewal dates or paid invoices.
22
+ * @type {string}
23
+ * @memberof CommissionCreationConfigClass
24
+ */
25
+ 'mode': CommissionCreationConfigClassModeEnum;
26
+ /**
27
+ * Required when mode is renewal. Defines whether commission work is created only at renewal or yearly inside long policy periods.
28
+ * @type {CommissionCreationRenewalConfigClass}
29
+ * @memberof CommissionCreationConfigClass
30
+ */
31
+ 'renewal'?: CommissionCreationRenewalConfigClass;
32
+ /**
33
+ * Required when mode is invoice. Defines how many paid invoices must be counted before commission work is created.
34
+ * @type {CommissionCreationInvoiceConfigClass}
35
+ * @memberof CommissionCreationConfigClass
36
+ */
37
+ 'invoice'?: CommissionCreationInvoiceConfigClass;
38
+ }
39
+ export declare const CommissionCreationConfigClassModeEnum: {
40
+ readonly Renewal: "renewal";
41
+ readonly Invoice: "invoice";
42
+ };
43
+ export type CommissionCreationConfigClassModeEnum = typeof CommissionCreationConfigClassModeEnum[keyof typeof CommissionCreationConfigClassModeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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.CommissionCreationConfigClassModeEnum = void 0;
17
+ exports.CommissionCreationConfigClassModeEnum = {
18
+ Renewal: 'renewal',
19
+ Invoice: 'invoice'
20
+ };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { CommissionCreationInvoiceConfigDto } from './commission-creation-invoice-config-dto';
13
+ import { CommissionCreationRenewalConfigDto } from './commission-creation-renewal-config-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionCreationConfigDto
18
+ */
19
+ export interface CommissionCreationConfigDto {
20
+ /**
21
+ * Determines which event drives recurring commission creation: renewal dates or paid invoices.
22
+ * @type {string}
23
+ * @memberof CommissionCreationConfigDto
24
+ */
25
+ 'mode': CommissionCreationConfigDtoModeEnum;
26
+ /**
27
+ * Required when mode is renewal. Defines whether commission work is created only at renewal or yearly inside long policy periods.
28
+ * @type {CommissionCreationRenewalConfigDto}
29
+ * @memberof CommissionCreationConfigDto
30
+ */
31
+ 'renewal'?: CommissionCreationRenewalConfigDto;
32
+ /**
33
+ * Required when mode is invoice. Defines how many paid invoices must be counted before commission work is created.
34
+ * @type {CommissionCreationInvoiceConfigDto}
35
+ * @memberof CommissionCreationConfigDto
36
+ */
37
+ 'invoice'?: CommissionCreationInvoiceConfigDto;
38
+ }
39
+ export declare const CommissionCreationConfigDtoModeEnum: {
40
+ readonly Renewal: "renewal";
41
+ readonly Invoice: "invoice";
42
+ };
43
+ export type CommissionCreationConfigDtoModeEnum = typeof CommissionCreationConfigDtoModeEnum[keyof typeof CommissionCreationConfigDtoModeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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.CommissionCreationConfigDtoModeEnum = void 0;
17
+ exports.CommissionCreationConfigDtoModeEnum = {
18
+ Renewal: 'renewal',
19
+ Invoice: 'invoice'
20
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 CommissionCreationInvoiceConfigClass
16
+ */
17
+ export interface CommissionCreationInvoiceConfigClass {
18
+ /**
19
+ * Number of paid invoices required before commission work is created. Use 1 for every paid invoice.
20
+ * @type {number}
21
+ * @memberof CommissionCreationInvoiceConfigClass
22
+ */
23
+ 'paidInvoiceInterval': number;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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 CommissionService
3
+ * The EMIL CommissionService 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 CommissionCreationInvoiceConfigDto
16
+ */
17
+ export interface CommissionCreationInvoiceConfigDto {
18
+ /**
19
+ * Number of paid invoices required before commission work is created. Use 1 for every paid invoice.
20
+ * @type {number}
21
+ * @memberof CommissionCreationInvoiceConfigDto
22
+ */
23
+ 'paidInvoiceInterval': number;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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,29 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 CommissionCreationRenewalConfigClass
16
+ */
17
+ export interface CommissionCreationRenewalConfigClass {
18
+ /**
19
+ * Renewal mode frequency. Use renewal for the current renewal-date behavior, or yearly to create commission work once per year inside policy periods longer than one year.
20
+ * @type {string}
21
+ * @memberof CommissionCreationRenewalConfigClass
22
+ */
23
+ 'frequency': CommissionCreationRenewalConfigClassFrequencyEnum;
24
+ }
25
+ export declare const CommissionCreationRenewalConfigClassFrequencyEnum: {
26
+ readonly Renewal: "renewal";
27
+ readonly Yearly: "yearly";
28
+ };
29
+ export type CommissionCreationRenewalConfigClassFrequencyEnum = typeof CommissionCreationRenewalConfigClassFrequencyEnum[keyof typeof CommissionCreationRenewalConfigClassFrequencyEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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.CommissionCreationRenewalConfigClassFrequencyEnum = void 0;
17
+ exports.CommissionCreationRenewalConfigClassFrequencyEnum = {
18
+ Renewal: 'renewal',
19
+ Yearly: 'yearly'
20
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 CommissionCreationRenewalConfigDto
16
+ */
17
+ export interface CommissionCreationRenewalConfigDto {
18
+ /**
19
+ * Renewal mode frequency. Use renewal for the current renewal-date behavior, or yearly to create commission work once per year inside policy periods longer than one year.
20
+ * @type {string}
21
+ * @memberof CommissionCreationRenewalConfigDto
22
+ */
23
+ 'frequency': CommissionCreationRenewalConfigDtoFrequencyEnum;
24
+ }
25
+ export declare const CommissionCreationRenewalConfigDtoFrequencyEnum: {
26
+ readonly Renewal: "renewal";
27
+ readonly Yearly: "yearly";
28
+ };
29
+ export type CommissionCreationRenewalConfigDtoFrequencyEnum = typeof CommissionCreationRenewalConfigDtoFrequencyEnum[keyof typeof CommissionCreationRenewalConfigDtoFrequencyEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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.CommissionCreationRenewalConfigDtoFrequencyEnum = void 0;
17
+ exports.CommissionCreationRenewalConfigDtoFrequencyEnum = {
18
+ Renewal: 'renewal',
19
+ Yearly: 'yearly'
20
+ };
@@ -0,0 +1,115 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 CommissionPaidInvoiceEntryClass
16
+ */
17
+ export interface CommissionPaidInvoiceEntryClass {
18
+ /**
19
+ * The unique database identifier of the paid invoice entry
20
+ * @type {number}
21
+ * @memberof CommissionPaidInvoiceEntryClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof CommissionPaidInvoiceEntryClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Policy whose paid invoice was counted
32
+ * @type {string}
33
+ * @memberof CommissionPaidInvoiceEntryClass
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * Paid invoice counted for invoice-mode commission creation
38
+ * @type {string}
39
+ * @memberof CommissionPaidInvoiceEntryClass
40
+ */
41
+ 'invoiceCode': string;
42
+ /**
43
+ * Commission agreement version used when this invoice was counted
44
+ * @type {string}
45
+ * @memberof CommissionPaidInvoiceEntryClass
46
+ */
47
+ 'commissionAgreementVersionCode': string;
48
+ /**
49
+ * Start of the policy version timeslice matched by the invoice billing interval.
50
+ * @type {string}
51
+ * @memberof CommissionPaidInvoiceEntryClass
52
+ */
53
+ 'policyTimesliceFrom': string;
54
+ /**
55
+ * End of the policy version timeslice matched by the invoice billing interval.
56
+ * @type {string}
57
+ * @memberof CommissionPaidInvoiceEntryClass
58
+ */
59
+ 'policyTimesliceTo': string;
60
+ /**
61
+ * The status of the paid invoice entry. Valid values: counted, consumed, settled_no_commission, discarded
62
+ * @type {string}
63
+ * @memberof CommissionPaidInvoiceEntryClass
64
+ */
65
+ 'status': CommissionPaidInvoiceEntryClassStatusEnum;
66
+ /**
67
+ * Whether this entry advances the interval counter. False for a premium correction, which is paid out on its own commission when it is paid.
68
+ * @type {boolean}
69
+ * @memberof CommissionPaidInvoiceEntryClass
70
+ */
71
+ 'countsTowardInterval': boolean;
72
+ /**
73
+ * Candidate created when this entry was reserved for commission creation
74
+ * @type {string}
75
+ * @memberof CommissionPaidInvoiceEntryClass
76
+ */
77
+ 'commissionCandidateCode'?: string;
78
+ /**
79
+ * Commission created from this counted invoice entry
80
+ * @type {string}
81
+ * @memberof CommissionPaidInvoiceEntryClass
82
+ */
83
+ 'commissionCode'?: string;
84
+ /**
85
+ * Time at which the object was created.
86
+ * @type {string}
87
+ * @memberof CommissionPaidInvoiceEntryClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Time at which the object was updated.
92
+ * @type {string}
93
+ * @memberof CommissionPaidInvoiceEntryClass
94
+ */
95
+ 'updatedAt': string;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof CommissionPaidInvoiceEntryClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof CommissionPaidInvoiceEntryClass
106
+ */
107
+ 'updatedBy': string;
108
+ }
109
+ export declare const CommissionPaidInvoiceEntryClassStatusEnum: {
110
+ readonly Counted: "counted";
111
+ readonly Consumed: "consumed";
112
+ readonly SettledNoCommission: "settled_no_commission";
113
+ readonly Discarded: "discarded";
114
+ };
115
+ export type CommissionPaidInvoiceEntryClassStatusEnum = typeof CommissionPaidInvoiceEntryClassStatusEnum[keyof typeof CommissionPaidInvoiceEntryClassStatusEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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.CommissionPaidInvoiceEntryClassStatusEnum = void 0;
17
+ exports.CommissionPaidInvoiceEntryClassStatusEnum = {
18
+ Counted: 'counted',
19
+ Consumed: 'consumed',
20
+ SettledNoCommission: 'settled_no_commission',
21
+ Discarded: 'discarded'
22
+ };