@emilgroup/commission-sdk 1.0.0-beta.2 → 1.0.0-beta.20
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 +33 -0
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +651 -0
- package/api/commission-agreement-rules-api.ts +758 -0
- package/api/commission-agreement-versions-api.ts +67 -25
- package/api/commission-agreements-api.ts +83 -28
- package/api/commission-recipients-api.ts +693 -0
- package/api/commissions-api.ts +18 -18
- package/api.ts +6 -0
- package/dist/api/commission-agreement-products-api.d.ts +366 -0
- package/dist/api/commission-agreement-products-api.js +626 -0
- package/dist/api/commission-agreement-rules-api.d.ts +423 -0
- package/dist/api/commission-agreement-rules-api.js +719 -0
- package/dist/api/commission-agreement-versions-api.d.ts +47 -20
- package/dist/api/commission-agreement-versions-api.js +38 -20
- package/dist/api/commission-agreements-api.d.ts +55 -19
- package/dist/api/commission-agreements-api.js +48 -24
- package/dist/api/commission-recipients-api.d.ts +393 -0
- package/dist/api/commission-recipients-api.js +644 -0
- package/dist/api/commissions-api.d.ts +18 -18
- package/dist/api/commissions-api.js +9 -9
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/commission-agreement-class.d.ts +14 -0
- package/dist/models/commission-agreement-metadata-dto.d.ts +25 -0
- package/dist/models/commission-agreement-metadata-dto.js +15 -0
- package/dist/models/commission-agreement-metadata-partner-dto.d.ts +30 -0
- package/dist/models/commission-agreement-metadata-partner-dto.js +15 -0
- package/dist/models/commission-agreement-product-class.d.ts +78 -0
- package/dist/models/commission-agreement-product-class.js +20 -0
- package/dist/models/commission-agreement-rule-class.d.ts +80 -0
- package/dist/models/commission-agreement-rule-class.js +21 -0
- package/dist/models/commission-agreement-rule-config-dto.d.ts +25 -0
- package/dist/models/commission-agreement-rule-config-dto.js +15 -0
- package/dist/models/commission-agreement-rule-evaluation-class.d.ts +31 -0
- package/dist/models/commission-agreement-rule-evaluation-class.js +15 -0
- package/dist/models/commission-class.d.ts +5 -4
- package/dist/models/commission-conditions-dto.d.ts +24 -0
- package/dist/models/commission-conditions-dto.js +15 -0
- package/dist/models/commission-config-dto.d.ts +63 -0
- package/dist/models/commission-config-dto.js +34 -0
- package/dist/models/commission-recipient-class.d.ts +90 -0
- package/dist/models/commission-recipient-class.js +20 -0
- package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
- package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-product-response-class.js +15 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
- package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
- package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
- package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
- package/dist/models/create-commission-recipient-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-response-class.js +15 -0
- package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
- package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
- package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/evaluated-commission-class.d.ts +54 -0
- package/dist/models/evaluated-commission-class.js +21 -0
- package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-product-response-class.js +15 -0
- package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/get-commission-recipient-response-class.js +15 -0
- package/dist/models/index.d.ts +30 -0
- package/dist/models/index.js +30 -0
- package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-products-response-class.js +15 -0
- package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
- package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
- package/dist/models/list-commission-recipients-response-class.js +15 -0
- package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
- package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
- package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-product-response-class.js +15 -0
- package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
- package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
- package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
- package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
- package/dist/models/update-commission-recipient-request-dto.js +15 -0
- package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/update-commission-recipient-response-class.js +15 -0
- package/dist/models/update-commission-request-dto.d.ts +5 -3
- package/dist/models/update-commission-request-dto.js +4 -2
- package/models/commission-agreement-class.ts +14 -0
- package/models/commission-agreement-metadata-dto.ts +31 -0
- package/models/commission-agreement-metadata-partner-dto.ts +36 -0
- package/models/commission-agreement-product-class.ts +87 -0
- package/models/commission-agreement-rule-class.ts +89 -0
- package/models/commission-agreement-rule-config-dto.ts +31 -0
- package/models/commission-agreement-rule-evaluation-class.ts +37 -0
- package/models/commission-class.ts +5 -4
- package/models/commission-conditions-dto.ts +30 -0
- package/models/commission-config-dto.ts +73 -0
- package/models/commission-recipient-class.ts +99 -0
- package/models/create-commission-agreement-product-request-dto.ts +36 -0
- package/models/create-commission-agreement-product-response-class.ts +31 -0
- package/models/create-commission-agreement-request-dto.ts +8 -1
- package/models/create-commission-agreement-rule-request-dto.ts +37 -0
- package/models/create-commission-agreement-rule-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +1 -1
- package/models/create-commission-recipient-request-dto.ts +42 -0
- package/models/create-commission-recipient-response-class.ts +31 -0
- package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
- package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
- package/models/evaluated-commission-class.ts +63 -0
- package/models/get-commission-agreement-product-response-class.ts +31 -0
- package/models/get-commission-agreement-rule-response-class.ts +31 -0
- package/models/get-commission-recipient-response-class.ts +31 -0
- package/models/index.ts +30 -0
- package/models/list-commission-agreement-products-response-class.ts +49 -0
- package/models/list-commission-agreement-rules-response-class.ts +49 -0
- package/models/list-commission-recipients-response-class.ts +49 -0
- package/models/update-commission-agreement-product-request-dto.ts +50 -0
- package/models/update-commission-agreement-product-response-class.ts +31 -0
- package/models/update-commission-agreement-rule-request-dto.ts +52 -0
- package/models/update-commission-agreement-rule-response-class.ts +31 -0
- package/models/update-commission-recipient-request-dto.ts +48 -0
- package/models/update-commission-recipient-response-class.ts +31 -0
- package/models/update-commission-request-dto.ts +5 -3
- package/package.json +1 -1
|
@@ -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 CommissionConditionsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CommissionConditionsDto {
|
|
18
|
+
/**
|
|
19
|
+
* If the commission is paid on the first year
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CommissionConditionsDto
|
|
22
|
+
*/
|
|
23
|
+
'paidOnFirstYear'?: boolean;
|
|
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,63 @@
|
|
|
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 { CommissionConditionsDto } from './commission-conditions-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionConfigDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionConfigDto {
|
|
19
|
+
/**
|
|
20
|
+
* Type of commission (e.g., sales, maintenance, other)
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CommissionConfigDto
|
|
23
|
+
*/
|
|
24
|
+
'type': CommissionConfigDtoTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Mathematical expression to calculate commission (e.g., \'invoice.totalNetto * 0.10\'). Always return value in cents.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionConfigDto
|
|
29
|
+
*/
|
|
30
|
+
'expression': string;
|
|
31
|
+
/**
|
|
32
|
+
* Currency code (e.g., EUR, USD, GBP, CHF, PLN, AUD, CAD, DDK, HUF, NOK, SEK)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CommissionConfigDto
|
|
35
|
+
*/
|
|
36
|
+
'currency': CommissionConfigDtoCurrencyEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Business rule conditions that determine commission calculation logic beyond the expression (e.g., payment timing, eligibility criteria, special conditions)
|
|
39
|
+
* @type {CommissionConditionsDto}
|
|
40
|
+
* @memberof CommissionConfigDto
|
|
41
|
+
*/
|
|
42
|
+
'conditions'?: CommissionConditionsDto;
|
|
43
|
+
}
|
|
44
|
+
export declare const CommissionConfigDtoTypeEnum: {
|
|
45
|
+
readonly Sales: "sales";
|
|
46
|
+
readonly Maintenance: "maintenance";
|
|
47
|
+
readonly Other: "other";
|
|
48
|
+
};
|
|
49
|
+
export type CommissionConfigDtoTypeEnum = typeof CommissionConfigDtoTypeEnum[keyof typeof CommissionConfigDtoTypeEnum];
|
|
50
|
+
export declare const CommissionConfigDtoCurrencyEnum: {
|
|
51
|
+
readonly Eur: "EUR";
|
|
52
|
+
readonly Usd: "USD";
|
|
53
|
+
readonly Gbp: "GBP";
|
|
54
|
+
readonly Chf: "CHF";
|
|
55
|
+
readonly Pln: "PLN";
|
|
56
|
+
readonly Aud: "AUD";
|
|
57
|
+
readonly Cad: "CAD";
|
|
58
|
+
readonly Ddk: "DDK";
|
|
59
|
+
readonly Huf: "HUF";
|
|
60
|
+
readonly Nok: "NOK";
|
|
61
|
+
readonly Sek: "SEK";
|
|
62
|
+
};
|
|
63
|
+
export type CommissionConfigDtoCurrencyEnum = typeof CommissionConfigDtoCurrencyEnum[keyof typeof CommissionConfigDtoCurrencyEnum];
|
|
@@ -0,0 +1,34 @@
|
|
|
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.CommissionConfigDtoCurrencyEnum = exports.CommissionConfigDtoTypeEnum = void 0;
|
|
17
|
+
exports.CommissionConfigDtoTypeEnum = {
|
|
18
|
+
Sales: 'sales',
|
|
19
|
+
Maintenance: 'maintenance',
|
|
20
|
+
Other: 'other'
|
|
21
|
+
};
|
|
22
|
+
exports.CommissionConfigDtoCurrencyEnum = {
|
|
23
|
+
Eur: 'EUR',
|
|
24
|
+
Usd: 'USD',
|
|
25
|
+
Gbp: 'GBP',
|
|
26
|
+
Chf: 'CHF',
|
|
27
|
+
Pln: 'PLN',
|
|
28
|
+
Aud: 'AUD',
|
|
29
|
+
Cad: 'CAD',
|
|
30
|
+
Ddk: 'DDK',
|
|
31
|
+
Huf: 'HUF',
|
|
32
|
+
Nok: 'NOK',
|
|
33
|
+
Sek: 'SEK'
|
|
34
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionRecipientClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionRecipientClass {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the commission recipient
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CommissionRecipientClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* The commission agreement version associated with this commission recipient
|
|
27
|
+
* @type {CommissionAgreementVersionClass}
|
|
28
|
+
* @memberof CommissionRecipientClass
|
|
29
|
+
*/
|
|
30
|
+
'version'?: CommissionAgreementVersionClass;
|
|
31
|
+
/**
|
|
32
|
+
* The commission agreement version code associated with this commission recipient
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CommissionRecipientClass
|
|
35
|
+
*/
|
|
36
|
+
'commissionAgreementVersionCode'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique code identifier for the commission recipient, auto-generated on creation
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CommissionRecipientClass
|
|
41
|
+
*/
|
|
42
|
+
'code': string;
|
|
43
|
+
/**
|
|
44
|
+
* Human-readable display name for the commission recipient
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CommissionRecipientClass
|
|
47
|
+
*/
|
|
48
|
+
'displayName': string;
|
|
49
|
+
/**
|
|
50
|
+
* The unique code or identifier of the partner associated with this commission recipient
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CommissionRecipientClass
|
|
53
|
+
*/
|
|
54
|
+
'partnerCode': string;
|
|
55
|
+
/**
|
|
56
|
+
* Status of the commission recipient
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CommissionRecipientClass
|
|
59
|
+
*/
|
|
60
|
+
'status': CommissionRecipientClassStatusEnum;
|
|
61
|
+
/**
|
|
62
|
+
* Timestamp when the commission recipient was created
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CommissionRecipientClass
|
|
65
|
+
*/
|
|
66
|
+
'createdAt'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp when the commission recipient was last updated
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CommissionRecipientClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedAt'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* User identifier who created the commission recipient
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CommissionRecipientClass
|
|
77
|
+
*/
|
|
78
|
+
'createdBy'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* User identifier who last updated the commission recipient
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof CommissionRecipientClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedBy'?: string;
|
|
85
|
+
}
|
|
86
|
+
export declare const CommissionRecipientClassStatusEnum: {
|
|
87
|
+
readonly Active: "active";
|
|
88
|
+
readonly Inactive: "inactive";
|
|
89
|
+
};
|
|
90
|
+
export type CommissionRecipientClassStatusEnum = typeof CommissionRecipientClassStatusEnum[keyof typeof CommissionRecipientClassStatusEnum];
|
|
@@ -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.CommissionRecipientClassStatusEnum = void 0;
|
|
17
|
+
exports.CommissionRecipientClassStatusEnum = {
|
|
18
|
+
Active: 'active',
|
|
19
|
+
Inactive: 'inactive'
|
|
20
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CreateCommissionAgreementProductRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionAgreementProductRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the parent commission agreement version to create a product for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCommissionAgreementProductRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'commissionAgreementVersionCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Product slug identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionAgreementProductRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productSlug': string;
|
|
30
|
+
}
|
|
@@ -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,25 @@
|
|
|
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 { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionAgreementProductResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionAgreementProductResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created commission agreement product object
|
|
21
|
+
* @type {CommissionAgreementProductClass}
|
|
22
|
+
* @memberof CreateCommissionAgreementProductResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'product'?: CommissionAgreementProductClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,12 @@ export interface CreateCommissionAgreementRequestDto {
|
|
|
39
40
|
* @memberof CreateCommissionAgreementRequestDto
|
|
40
41
|
*/
|
|
41
42
|
'productSlugs': Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Metadata associated with the commission agreement
|
|
45
|
+
* @type {CommissionAgreementMetadataDto}
|
|
46
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'metadata': CommissionAgreementMetadataDto;
|
|
42
49
|
/**
|
|
43
50
|
* Detailed description of the commission agreement terms and conditions
|
|
44
51
|
* @type {string}
|
|
@@ -50,7 +57,7 @@ export interface CreateCommissionAgreementRequestDto {
|
|
|
50
57
|
* @type {string}
|
|
51
58
|
* @memberof CreateCommissionAgreementRequestDto
|
|
52
59
|
*/
|
|
53
|
-
'startDate'
|
|
60
|
+
'startDate': string;
|
|
54
61
|
/**
|
|
55
62
|
* End date when the commission agreement expires or is terminated
|
|
56
63
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionAgreementRuleRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionAgreementRuleRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Code of the parent commission agreement version to create a rule for
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'commissionAgreementVersionCode': string;
|
|
25
|
+
/**
|
|
26
|
+
* Configuration object for the commission agreement rule
|
|
27
|
+
* @type {CommissionAgreementRuleConfigDto}
|
|
28
|
+
* @memberof CreateCommissionAgreementRuleRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'config': CommissionAgreementRuleConfigDto;
|
|
31
|
+
}
|
|
@@ -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,25 @@
|
|
|
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 { CommissionAgreementRuleClass } from './commission-agreement-rule-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionAgreementRuleResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionAgreementRuleResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created commission agreement rule object
|
|
21
|
+
* @type {CommissionAgreementRuleClass}
|
|
22
|
+
* @memberof CreateCommissionAgreementRuleResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'rule'?: CommissionAgreementRuleClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -26,7 +26,7 @@ export interface CreateCommissionAgreementVersionRequestDto {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateCommissionAgreementVersionRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'startDate'
|
|
29
|
+
'startDate': string;
|
|
30
30
|
/**
|
|
31
31
|
* End date when this version of the commission agreement expires
|
|
32
32
|
* @type {string}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CreateCommissionRecipientRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionRecipientRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The unique code or identifier of the commission agreement version this recipient is associated with
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCommissionRecipientRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'commissionAgreementVersionCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Human-readable display name for the commission recipient
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionRecipientRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'displayName': string;
|
|
30
|
+
/**
|
|
31
|
+
* The unique code or identifier of the partner associated with this commission recipient
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionRecipientRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode': string;
|
|
36
|
+
}
|
|
@@ -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,25 @@
|
|
|
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 { CommissionRecipientClass } from './commission-recipient-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionRecipientResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionRecipientResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The commission recipient that was created
|
|
21
|
+
* @type {CommissionRecipientClass}
|
|
22
|
+
* @memberof CreateCommissionRecipientResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'recipient'?: CommissionRecipientClass;
|
|
25
|
+
}
|
|
@@ -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,31 @@
|
|
|
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 { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EvaluateCommissionAgreementRuleRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface EvaluateCommissionAgreementRuleRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Mock data object containing invoice, policy, and other data needed for expression evaluation (e.g., { invoice: { totalNetto: 1000 }, policy: { ... } })
|
|
21
|
+
* @type {object}
|
|
22
|
+
* @memberof EvaluateCommissionAgreementRuleRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'data': object;
|
|
25
|
+
/**
|
|
26
|
+
* Configuration object for the commission agreement rule
|
|
27
|
+
* @type {CommissionAgreementRuleConfigDto}
|
|
28
|
+
* @memberof EvaluateCommissionAgreementRuleRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'config': CommissionAgreementRuleConfigDto;
|
|
31
|
+
}
|
|
@@ -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,25 @@
|
|
|
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 { CommissionAgreementRuleEvaluationClass } from './commission-agreement-rule-evaluation-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EvaluateCommissionAgreementRuleResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface EvaluateCommissionAgreementRuleResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The evaluation result containing premium amount and evaluated commissions
|
|
21
|
+
* @type {CommissionAgreementRuleEvaluationClass}
|
|
22
|
+
* @memberof EvaluateCommissionAgreementRuleResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'evaluation'?: CommissionAgreementRuleEvaluationClass;
|
|
25
|
+
}
|
|
@@ -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 });
|