@emilgroup/commission-sdk-node 2.9.1-beta.8 → 2.9.1-beta.80
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.
- package/.openapi-generator/FILES +12 -0
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +4 -4
- package/api/commission-agreement-rules-api.ts +20 -6
- package/api/commission-settlements-api.ts +8 -8
- package/api/commissions-api.ts +376 -0
- package/dist/api/commission-agreement-products-api.d.ts +4 -4
- package/dist/api/commission-agreement-products-api.js +3 -3
- package/dist/api/commission-agreement-rules-api.d.ts +12 -3
- package/dist/api/commission-agreement-rules-api.js +12 -6
- package/dist/api/commission-settlements-api.d.ts +8 -8
- package/dist/api/commission-settlements-api.js +3 -3
- package/dist/api/commissions-api.d.ts +220 -0
- package/dist/api/commissions-api.js +258 -0
- package/dist/models/clawback-config-class.d.ts +6 -0
- package/dist/models/clawback-config-dto.d.ts +6 -0
- package/dist/models/commission-agreement-class.d.ts +2 -2
- package/dist/models/commission-agreement-class.js +1 -1
- package/dist/models/commission-agreement-version-class.d.ts +4 -4
- package/dist/models/commission-agreement-version-config-class.d.ts +32 -0
- package/dist/models/commission-agreement-version-config-class.js +15 -0
- package/dist/models/commission-agreement-version-config-dto.d.ts +32 -0
- package/dist/models/commission-agreement-version-config-dto.js +15 -0
- package/dist/models/commission-class.d.ts +13 -6
- package/dist/models/commission-class.js +2 -1
- package/dist/models/commission-creation-config-class.d.ts +43 -0
- package/dist/models/commission-creation-config-class.js +20 -0
- package/dist/models/commission-creation-config-dto.d.ts +43 -0
- package/dist/models/commission-creation-config-dto.js +20 -0
- package/dist/models/commission-creation-invoice-config-class.d.ts +24 -0
- package/dist/models/commission-creation-invoice-config-class.js +15 -0
- package/dist/models/commission-creation-invoice-config-dto.d.ts +24 -0
- package/dist/models/commission-creation-invoice-config-dto.js +15 -0
- package/dist/models/commission-creation-renewal-config-class.d.ts +29 -0
- package/dist/models/commission-creation-renewal-config-class.js +20 -0
- package/dist/models/commission-creation-renewal-config-dto.d.ts +29 -0
- package/dist/models/commission-creation-renewal-config-dto.js +20 -0
- package/dist/models/commission-paid-invoice-entry-class.d.ts +115 -0
- package/dist/models/commission-paid-invoice-entry-class.js +22 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +5 -5
- package/dist/models/create-commission-agreement-request-dto.js +1 -1
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +10 -10
- package/dist/models/list-commission-agreements-response-class.d.ts +10 -10
- package/dist/models/list-commission-paid-invoice-entries-response-class.d.ts +43 -0
- package/dist/models/list-commission-paid-invoice-entries-response-class.js +15 -0
- package/dist/models/list-scheduled-commission-clawback-triggers-response-class.d.ts +43 -0
- package/dist/models/list-scheduled-commission-clawback-triggers-response-class.js +15 -0
- package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +110 -0
- package/dist/models/scheduled-commission-clawback-trigger-class.js +28 -0
- package/dist/models/trigger-due-commission-clawbacks-request-dto.d.ts +1 -1
- package/dist/models/update-commission-agreement-request-dto.d.ts +2 -2
- package/dist/models/update-commission-agreement-request-dto.js +1 -1
- package/models/clawback-config-class.ts +6 -0
- package/models/clawback-config-dto.ts +6 -0
- package/models/commission-agreement-class.ts +2 -2
- package/models/commission-agreement-version-class.ts +4 -4
- package/models/commission-agreement-version-config-class.ts +38 -0
- package/models/commission-agreement-version-config-dto.ts +38 -0
- package/models/commission-class.ts +14 -7
- package/models/commission-creation-config-class.ts +52 -0
- package/models/commission-creation-config-dto.ts +52 -0
- package/models/commission-creation-invoice-config-class.ts +30 -0
- package/models/commission-creation-invoice-config-dto.ts +30 -0
- package/models/commission-creation-renewal-config-class.ts +38 -0
- package/models/commission-creation-renewal-config-dto.ts +38 -0
- package/models/commission-paid-invoice-entry-class.ts +124 -0
- package/models/create-commission-agreement-request-dto.ts +5 -5
- package/models/create-commission-agreement-version-request-dto.ts +4 -4
- package/models/index.ts +12 -0
- package/models/list-commission-agreement-versions-response-class.ts +10 -10
- package/models/list-commission-agreements-response-class.ts +10 -10
- package/models/list-commission-paid-invoice-entries-response-class.ts +49 -0
- package/models/list-scheduled-commission-clawback-triggers-response-class.ts +49 -0
- package/models/scheduled-commission-clawback-trigger-class.ts +120 -0
- package/models/trigger-due-commission-clawbacks-request-dto.ts +1 -1
- package/models/update-commission-agreement-request-dto.ts +2 -2
- package/package.json +1 -1
|
@@ -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,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 { ScheduledCommissionClawbackTriggerClass } from './scheduled-commission-clawback-trigger-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListScheduledCommissionClawbackTriggersResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListScheduledCommissionClawbackTriggersResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of scheduled commission clawback triggerss.
|
|
21
|
+
* @type {Array<ScheduledCommissionClawbackTriggerClass>}
|
|
22
|
+
* @memberof ListScheduledCommissionClawbackTriggersResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ScheduledCommissionClawbackTriggerClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListScheduledCommissionClawbackTriggersResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListScheduledCommissionClawbackTriggersResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListScheduledCommissionClawbackTriggersResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -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,110 @@
|
|
|
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 ScheduledCommissionClawbackTriggerClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ScheduledCommissionClawbackTriggerClass {
|
|
18
|
+
/**
|
|
19
|
+
* The unique database identifier of the scheduled trigger
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The policy this scheduled clawback trigger belongs to
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The automatic clawback trigger type
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
40
|
+
*/
|
|
41
|
+
'triggerType': ScheduledCommissionClawbackTriggerClassTriggerTypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
* The effective date when the scheduled clawback trigger becomes due
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
46
|
+
*/
|
|
47
|
+
'effectiveDate': string;
|
|
48
|
+
/**
|
|
49
|
+
* The current scheduled trigger status
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
52
|
+
*/
|
|
53
|
+
'status': ScheduledCommissionClawbackTriggerClassStatusEnum;
|
|
54
|
+
/**
|
|
55
|
+
* The time when the due job queued this trigger for processing
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
58
|
+
*/
|
|
59
|
+
'queuedAt'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Failure reason when processing this scheduled trigger failed
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
64
|
+
*/
|
|
65
|
+
'errorMessage'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The time when this scheduled trigger was canceled
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
70
|
+
*/
|
|
71
|
+
'canceledAt'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was updated.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the user who created the record.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
88
|
+
*/
|
|
89
|
+
'createdBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who last updated the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ScheduledCommissionClawbackTriggerClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedBy': string;
|
|
96
|
+
}
|
|
97
|
+
export declare const ScheduledCommissionClawbackTriggerClassTriggerTypeEnum: {
|
|
98
|
+
readonly PolicyTermination: "policy_termination";
|
|
99
|
+
readonly PolicyWithdrawal: "policy_withdrawal";
|
|
100
|
+
readonly IntermediarySwitched: "intermediary_switched";
|
|
101
|
+
readonly InvoiceReopened: "invoice_reopened";
|
|
102
|
+
};
|
|
103
|
+
export type ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum[keyof typeof ScheduledCommissionClawbackTriggerClassTriggerTypeEnum];
|
|
104
|
+
export declare const ScheduledCommissionClawbackTriggerClassStatusEnum: {
|
|
105
|
+
readonly Scheduled: "scheduled";
|
|
106
|
+
readonly Queued: "queued";
|
|
107
|
+
readonly Canceled: "canceled";
|
|
108
|
+
readonly Failed: "failed";
|
|
109
|
+
};
|
|
110
|
+
export type ScheduledCommissionClawbackTriggerClassStatusEnum = typeof ScheduledCommissionClawbackTriggerClassStatusEnum[keyof typeof ScheduledCommissionClawbackTriggerClassStatusEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
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.ScheduledCommissionClawbackTriggerClassStatusEnum = exports.ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = void 0;
|
|
17
|
+
exports.ScheduledCommissionClawbackTriggerClassTriggerTypeEnum = {
|
|
18
|
+
PolicyTermination: 'policy_termination',
|
|
19
|
+
PolicyWithdrawal: 'policy_withdrawal',
|
|
20
|
+
IntermediarySwitched: 'intermediary_switched',
|
|
21
|
+
InvoiceReopened: 'invoice_reopened'
|
|
22
|
+
};
|
|
23
|
+
exports.ScheduledCommissionClawbackTriggerClassStatusEnum = {
|
|
24
|
+
Scheduled: 'scheduled',
|
|
25
|
+
Queued: 'queued',
|
|
26
|
+
Canceled: 'canceled',
|
|
27
|
+
Failed: 'failed'
|
|
28
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TriggerDueCommissionClawbacksRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* Processing cutoff for due scheduled clawback triggers. If omitted, server processing time is used.
|
|
19
|
+
* Processing cutoff for due scheduled clawback triggers. If omitted, server processing time is used. Future dates are only allowed when dryRun is true.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof TriggerDueCommissionClawbacksRequestDto
|
|
22
22
|
*/
|
|
@@ -34,14 +34,14 @@ export interface UpdateCommissionAgreementRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'description'?: string;
|
|
36
36
|
/**
|
|
37
|
-
* Updated frequency at which commissions are billed (e.g.,
|
|
37
|
+
* Updated frequency at which commissions are billed (e.g., manual, monthly, quarterly, halfYearly, yearly)
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateCommissionAgreementRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'billingFrequency'?: UpdateCommissionAgreementRequestDtoBillingFrequencyEnum;
|
|
42
42
|
}
|
|
43
43
|
export declare const UpdateCommissionAgreementRequestDtoBillingFrequencyEnum: {
|
|
44
|
-
readonly
|
|
44
|
+
readonly Manual: "manual";
|
|
45
45
|
readonly Monthly: "monthly";
|
|
46
46
|
readonly Quarterly: "quarterly";
|
|
47
47
|
readonly HalfYearly: "halfYearly";
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UpdateCommissionAgreementRequestDtoBillingFrequencyEnum = void 0;
|
|
17
17
|
exports.UpdateCommissionAgreementRequestDtoBillingFrequencyEnum = {
|
|
18
|
-
|
|
18
|
+
Manual: 'manual',
|
|
19
19
|
Monthly: 'monthly',
|
|
20
20
|
Quarterly: 'quarterly',
|
|
21
21
|
HalfYearly: 'halfYearly',
|
|
@@ -38,5 +38,11 @@ export interface ClawbackConfigClass {
|
|
|
38
38
|
* @memberof ClawbackConfigClass
|
|
39
39
|
*/
|
|
40
40
|
'intermediarySwitched': boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof ClawbackConfigClass
|
|
45
|
+
*/
|
|
46
|
+
'invoiceReopened': boolean;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -38,5 +38,11 @@ export interface ClawbackConfigDto {
|
|
|
38
38
|
* @memberof ClawbackConfigDto
|
|
39
39
|
*/
|
|
40
40
|
'intermediarySwitched': boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Allow automatic commission clawback creation for reopened invoices.
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof ClawbackConfigDto
|
|
45
|
+
*/
|
|
46
|
+
'invoiceReopened': boolean;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -65,7 +65,7 @@ export interface CommissionAgreementClass {
|
|
|
65
65
|
*/
|
|
66
66
|
'description'?: string;
|
|
67
67
|
/**
|
|
68
|
-
* Frequency at which commissions are billed (e.g.,
|
|
68
|
+
* Frequency at which commissions are billed (e.g., manual, monthly, quarterly, halfYearly, yearly)
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof CommissionAgreementClass
|
|
71
71
|
*/
|
|
@@ -111,7 +111,7 @@ export const CommissionAgreementClassStatusEnum = {
|
|
|
111
111
|
|
|
112
112
|
export type CommissionAgreementClassStatusEnum = typeof CommissionAgreementClassStatusEnum[keyof typeof CommissionAgreementClassStatusEnum];
|
|
113
113
|
export const CommissionAgreementClassBillingFrequencyEnum = {
|
|
114
|
-
|
|
114
|
+
Manual: 'manual',
|
|
115
115
|
Monthly: 'monthly',
|
|
116
116
|
Quarterly: 'quarterly',
|
|
117
117
|
HalfYearly: 'halfYearly',
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { ClawbackConfigClass } from './clawback-config-class';
|
|
17
16
|
import { CommissionAgreementClass } from './commission-agreement-class';
|
|
18
17
|
import { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
18
|
+
import { CommissionAgreementVersionConfigClass } from './commission-agreement-version-config-class';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
@@ -66,11 +66,11 @@ export interface CommissionAgreementVersionClass {
|
|
|
66
66
|
*/
|
|
67
67
|
'settlementCreationDate'?: string;
|
|
68
68
|
/**
|
|
69
|
-
* Version-scoped
|
|
70
|
-
* @type {
|
|
69
|
+
* Version-scoped agreement configuration.
|
|
70
|
+
* @type {CommissionAgreementVersionConfigClass}
|
|
71
71
|
* @memberof CommissionAgreementVersionClass
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'config': CommissionAgreementVersionConfigClass;
|
|
74
74
|
/**
|
|
75
75
|
* Description explaining what changed in this version or version notes
|
|
76
76
|
* @type {string}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClawbackConfigClass } from './clawback-config-class';
|
|
17
|
+
import { CommissionCreationConfigClass } from './commission-creation-config-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionAgreementVersionConfigClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionAgreementVersionConfigClass {
|
|
25
|
+
/**
|
|
26
|
+
* Controls which clawback triggers are enabled for this commission agreement version. Missing values are treated as disabled by default.
|
|
27
|
+
* @type {ClawbackConfigClass}
|
|
28
|
+
* @memberof CommissionAgreementVersionConfigClass
|
|
29
|
+
*/
|
|
30
|
+
'clawback'?: ClawbackConfigClass;
|
|
31
|
+
/**
|
|
32
|
+
* Controls when recurring commission work is created for this commission agreement version. Missing values are treated as renewal mode by default.
|
|
33
|
+
* @type {CommissionCreationConfigClass}
|
|
34
|
+
* @memberof CommissionAgreementVersionConfigClass
|
|
35
|
+
*/
|
|
36
|
+
'commissionCreation'?: CommissionCreationConfigClass;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClawbackConfigDto } from './clawback-config-dto';
|
|
17
|
+
import { CommissionCreationConfigDto } from './commission-creation-config-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionAgreementVersionConfigDto
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionAgreementVersionConfigDto {
|
|
25
|
+
/**
|
|
26
|
+
* Controls which clawback triggers are enabled for this commission agreement version. Missing values are treated as disabled by default.
|
|
27
|
+
* @type {ClawbackConfigDto}
|
|
28
|
+
* @memberof CommissionAgreementVersionConfigDto
|
|
29
|
+
*/
|
|
30
|
+
'clawback'?: ClawbackConfigDto;
|
|
31
|
+
/**
|
|
32
|
+
* Controls when recurring commission work is created for this commission agreement version. Missing values are treated as renewal mode by default.
|
|
33
|
+
* @type {CommissionCreationConfigDto}
|
|
34
|
+
* @memberof CommissionAgreementVersionConfigDto
|
|
35
|
+
*/
|
|
36
|
+
'commissionCreation'?: CommissionCreationConfigDto;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -64,6 +64,12 @@ export interface CommissionClass {
|
|
|
64
64
|
* @memberof CommissionClass
|
|
65
65
|
*/
|
|
66
66
|
'commissionAgreementNumber': string;
|
|
67
|
+
/**
|
|
68
|
+
* The code of the commission agreement being used for this commission, stable across all of the agreement\'s versions
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CommissionClass
|
|
71
|
+
*/
|
|
72
|
+
'commissionAgreementCode': string;
|
|
67
73
|
/**
|
|
68
74
|
* The unique code or identifier of the partner associated with this commission
|
|
69
75
|
* @type {string}
|
|
@@ -112,12 +118,6 @@ export interface CommissionClass {
|
|
|
112
118
|
* @memberof CommissionClass
|
|
113
119
|
*/
|
|
114
120
|
'settlementCode'?: string;
|
|
115
|
-
/**
|
|
116
|
-
* The source invoice code for invoice-driven commissions
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof CommissionClass
|
|
119
|
-
*/
|
|
120
|
-
'invoiceCode'?: string;
|
|
121
121
|
/**
|
|
122
122
|
* Start of the period the commission was originally created for
|
|
123
123
|
* @type {string}
|
|
@@ -148,6 +148,12 @@ export interface CommissionClass {
|
|
|
148
148
|
* @memberof CommissionClass
|
|
149
149
|
*/
|
|
150
150
|
'clawbackTriggerType'?: CommissionClassClawbackTriggerTypeEnum;
|
|
151
|
+
/**
|
|
152
|
+
* 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
|
|
153
|
+
* @type {boolean}
|
|
154
|
+
* @memberof CommissionClass
|
|
155
|
+
*/
|
|
156
|
+
'manual': boolean;
|
|
151
157
|
/**
|
|
152
158
|
* Time at which the object was created.
|
|
153
159
|
* @type {string}
|
|
@@ -184,7 +190,8 @@ export const CommissionClassClawbackTriggerTypeEnum = {
|
|
|
184
190
|
Manual: 'manual',
|
|
185
191
|
PolicyTermination: 'policy_termination',
|
|
186
192
|
PolicyWithdrawal: 'policy_withdrawal',
|
|
187
|
-
IntermediarySwitched: 'intermediary_switched'
|
|
193
|
+
IntermediarySwitched: 'intermediary_switched',
|
|
194
|
+
InvoiceReopened: 'invoice_reopened'
|
|
188
195
|
} as const;
|
|
189
196
|
|
|
190
197
|
export type CommissionClassClawbackTriggerTypeEnum = typeof CommissionClassClawbackTriggerTypeEnum[keyof typeof CommissionClassClawbackTriggerTypeEnum];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { CommissionCreationInvoiceConfigClass } from './commission-creation-invoice-config-class';
|
|
17
|
+
import { CommissionCreationRenewalConfigClass } from './commission-creation-renewal-config-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionCreationConfigClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionCreationConfigClass {
|
|
25
|
+
/**
|
|
26
|
+
* Determines which event drives recurring commission creation: renewal dates or paid invoices.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionCreationConfigClass
|
|
29
|
+
*/
|
|
30
|
+
'mode': CommissionCreationConfigClassModeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Required when mode is renewal. Defines whether commission work is created only at renewal or yearly inside long policy periods.
|
|
33
|
+
* @type {CommissionCreationRenewalConfigClass}
|
|
34
|
+
* @memberof CommissionCreationConfigClass
|
|
35
|
+
*/
|
|
36
|
+
'renewal'?: CommissionCreationRenewalConfigClass;
|
|
37
|
+
/**
|
|
38
|
+
* Required when mode is invoice. Defines how many paid invoices must be counted before commission work is created.
|
|
39
|
+
* @type {CommissionCreationInvoiceConfigClass}
|
|
40
|
+
* @memberof CommissionCreationConfigClass
|
|
41
|
+
*/
|
|
42
|
+
'invoice'?: CommissionCreationInvoiceConfigClass;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export const CommissionCreationConfigClassModeEnum = {
|
|
46
|
+
Renewal: 'renewal',
|
|
47
|
+
Invoice: 'invoice'
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
50
|
+
export type CommissionCreationConfigClassModeEnum = typeof CommissionCreationConfigClassModeEnum[keyof typeof CommissionCreationConfigClassModeEnum];
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { CommissionCreationInvoiceConfigDto } from './commission-creation-invoice-config-dto';
|
|
17
|
+
import { CommissionCreationRenewalConfigDto } from './commission-creation-renewal-config-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionCreationConfigDto
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionCreationConfigDto {
|
|
25
|
+
/**
|
|
26
|
+
* Determines which event drives recurring commission creation: renewal dates or paid invoices.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionCreationConfigDto
|
|
29
|
+
*/
|
|
30
|
+
'mode': CommissionCreationConfigDtoModeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Required when mode is renewal. Defines whether commission work is created only at renewal or yearly inside long policy periods.
|
|
33
|
+
* @type {CommissionCreationRenewalConfigDto}
|
|
34
|
+
* @memberof CommissionCreationConfigDto
|
|
35
|
+
*/
|
|
36
|
+
'renewal'?: CommissionCreationRenewalConfigDto;
|
|
37
|
+
/**
|
|
38
|
+
* Required when mode is invoice. Defines how many paid invoices must be counted before commission work is created.
|
|
39
|
+
* @type {CommissionCreationInvoiceConfigDto}
|
|
40
|
+
* @memberof CommissionCreationConfigDto
|
|
41
|
+
*/
|
|
42
|
+
'invoice'?: CommissionCreationInvoiceConfigDto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export const CommissionCreationConfigDtoModeEnum = {
|
|
46
|
+
Renewal: 'renewal',
|
|
47
|
+
Invoice: 'invoice'
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
50
|
+
export type CommissionCreationConfigDtoModeEnum = typeof CommissionCreationConfigDtoModeEnum[keyof typeof CommissionCreationConfigDtoModeEnum];
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CommissionCreationInvoiceConfigClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CommissionCreationInvoiceConfigClass {
|
|
23
|
+
/**
|
|
24
|
+
* Number of paid invoices required before commission work is created. Use 1 for every paid invoice.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CommissionCreationInvoiceConfigClass
|
|
27
|
+
*/
|
|
28
|
+
'paidInvoiceInterval': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CommissionCreationInvoiceConfigDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CommissionCreationInvoiceConfigDto {
|
|
23
|
+
/**
|
|
24
|
+
* Number of paid invoices required before commission work is created. Use 1 for every paid invoice.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CommissionCreationInvoiceConfigDto
|
|
27
|
+
*/
|
|
28
|
+
'paidInvoiceInterval': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CommissionCreationRenewalConfigClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CommissionCreationRenewalConfigClass {
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CommissionCreationRenewalConfigClass
|
|
27
|
+
*/
|
|
28
|
+
'frequency': CommissionCreationRenewalConfigClassFrequencyEnum;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const CommissionCreationRenewalConfigClassFrequencyEnum = {
|
|
32
|
+
Renewal: 'renewal',
|
|
33
|
+
Yearly: 'yearly'
|
|
34
|
+
} as const;
|
|
35
|
+
|
|
36
|
+
export type CommissionCreationRenewalConfigClassFrequencyEnum = typeof CommissionCreationRenewalConfigClassFrequencyEnum[keyof typeof CommissionCreationRenewalConfigClassFrequencyEnum];
|
|
37
|
+
|
|
38
|
+
|