@emilgroup/commission-sdk 1.0.0-beta.1
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 +40 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/commission-agreement-versions-api.ts +531 -0
- package/api/commission-agreements-api.ts +638 -0
- package/api/commissions-api.ts +637 -0
- package/api/default-api.ts +124 -0
- package/api.ts +33 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/commission-agreement-versions-api.d.ts +300 -0
- package/dist/api/commission-agreement-versions-api.js +527 -0
- package/dist/api/commission-agreements-api.d.ts +357 -0
- package/dist/api/commission-agreements-api.js +620 -0
- package/dist/api/commissions-api.d.ts +357 -0
- package/dist/api/commissions-api.js +620 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api.d.ts +15 -0
- package/dist/api.js +33 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/commission-agreement-class.d.ts +89 -0
- package/dist/models/commission-agreement-class.js +25 -0
- package/dist/models/commission-agreement-version-class.d.ts +79 -0
- package/dist/models/commission-agreement-version-class.js +15 -0
- package/dist/models/commission-class.d.ts +103 -0
- package/dist/models/commission-class.js +15 -0
- package/dist/models/commission-item-class.d.ts +84 -0
- package/dist/models/commission-item-class.js +21 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +71 -0
- package/dist/models/create-commission-agreement-request-dto.js +25 -0
- package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +42 -0
- package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-version-response-class.js +15 -0
- package/dist/models/create-commission-item-request-dto.d.ts +48 -0
- package/dist/models/create-commission-item-request-dto.js +21 -0
- package/dist/models/create-commission-request-dto.d.ts +55 -0
- package/dist/models/create-commission-request-dto.js +15 -0
- package/dist/models/create-commission-response-class.d.ts +25 -0
- package/dist/models/create-commission-response-class.js +15 -0
- package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-response-class.js +15 -0
- package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-version-response-class.js +15 -0
- package/dist/models/get-commission-response-class.d.ts +25 -0
- package/dist/models/get-commission-response-class.js +15 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +39 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
- package/dist/models/list-commission-agreements-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-response-class.js +15 -0
- package/dist/models/list-commissions-response-class.d.ts +43 -0
- package/dist/models/list-commissions-response-class.js +15 -0
- package/dist/models/update-commission-agreement-request-dto.d.ts +48 -0
- package/dist/models/update-commission-agreement-request-dto.js +21 -0
- package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-response-class.js +15 -0
- package/dist/models/update-commission-request-dto.d.ts +53 -0
- package/dist/models/update-commission-request-dto.js +20 -0
- package/dist/models/update-commission-response-class.d.ts +25 -0
- package/dist/models/update-commission-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/commission-agreement-class.ts +99 -0
- package/models/commission-agreement-version-class.ts +85 -0
- package/models/commission-class.ts +109 -0
- package/models/commission-item-class.ts +93 -0
- package/models/create-commission-agreement-request-dto.ts +81 -0
- package/models/create-commission-agreement-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +48 -0
- package/models/create-commission-agreement-version-response-class.ts +31 -0
- package/models/create-commission-item-request-dto.ts +57 -0
- package/models/create-commission-request-dto.ts +61 -0
- package/models/create-commission-response-class.ts +31 -0
- package/models/get-commission-agreement-response-class.ts +31 -0
- package/models/get-commission-agreement-version-response-class.ts +31 -0
- package/models/get-commission-response-class.ts +31 -0
- package/models/index.ts +23 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-commission-agreement-versions-response-class.ts +49 -0
- package/models/list-commission-agreements-response-class.ts +49 -0
- package/models/list-commissions-response-class.ts +49 -0
- package/models/update-commission-agreement-request-dto.ts +57 -0
- package/models/update-commission-agreement-response-class.ts +31 -0
- package/models/update-commission-request-dto.ts +62 -0
- package/models/update-commission-response-class.ts +31 -0
- package/package.json +26 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,103 @@
|
|
|
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 { CommissionItemClass } from './commission-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommissionClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CommissionClass {
|
|
19
|
+
/**
|
|
20
|
+
* The unique database identifier of the commission
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CommissionClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* The unique code or identifier of the commission agreement this commission is based on
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionClass
|
|
29
|
+
*/
|
|
30
|
+
'commissionAgreementCode': string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CommissionClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* A detailed description explaining what this commission represents and its purpose
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CommissionClass
|
|
41
|
+
*/
|
|
42
|
+
'description': string;
|
|
43
|
+
/**
|
|
44
|
+
* The version identifier of the commission agreement being used for this commission
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof CommissionClass
|
|
47
|
+
*/
|
|
48
|
+
'commissionAgreementVersionId': number;
|
|
49
|
+
/**
|
|
50
|
+
* The unique code or identifier of the partner associated with this commission
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CommissionClass
|
|
53
|
+
*/
|
|
54
|
+
'partnerCode': string;
|
|
55
|
+
/**
|
|
56
|
+
* The updated policy code or identifier of the policy associated with this commission
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CommissionClass
|
|
59
|
+
*/
|
|
60
|
+
'policyCode': string;
|
|
61
|
+
/**
|
|
62
|
+
* The total monetary amount of the commission in the smallest currency unit (e.g., cents). This is the sum of all commission items
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof CommissionClass
|
|
65
|
+
*/
|
|
66
|
+
'amount': number;
|
|
67
|
+
/**
|
|
68
|
+
* The status of the commission. Valid values: pending, settled
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CommissionClass
|
|
71
|
+
*/
|
|
72
|
+
'status': string;
|
|
73
|
+
/**
|
|
74
|
+
* Time at which the object was created.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CommissionClass
|
|
77
|
+
*/
|
|
78
|
+
'createdAt': string;
|
|
79
|
+
/**
|
|
80
|
+
* Time at which the object was updated.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof CommissionClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedAt': string;
|
|
85
|
+
/**
|
|
86
|
+
* Identifier of the user who created the record.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof CommissionClass
|
|
89
|
+
*/
|
|
90
|
+
'createdBy': string;
|
|
91
|
+
/**
|
|
92
|
+
* Identifier of the user who last updated the record.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CommissionClass
|
|
95
|
+
*/
|
|
96
|
+
'updatedBy': string;
|
|
97
|
+
/**
|
|
98
|
+
* An array of commission items that make up this commission. Each item represents a specific commission component with its own amount, type
|
|
99
|
+
* @type {Array<CommissionItemClass>}
|
|
100
|
+
* @memberof CommissionClass
|
|
101
|
+
*/
|
|
102
|
+
'items': Array<CommissionItemClass>;
|
|
103
|
+
}
|
|
@@ -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,84 @@
|
|
|
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 CommissionItemClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CommissionItemClass {
|
|
18
|
+
/**
|
|
19
|
+
* The unique database identifier of the commission item
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CommissionItemClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier of the parent commission this item belongs to
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CommissionItemClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* The name or title of the commission item
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommissionItemClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* A detailed description explaining what this commission item represents
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CommissionItemClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* The monetary amount of the commission item in the smallest currency unit (e.g., cents)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CommissionItemClass
|
|
46
|
+
*/
|
|
47
|
+
'amount': number;
|
|
48
|
+
/**
|
|
49
|
+
* The type of commission item. Valid values: \'sales\', \'maintenance\', \'other\'
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CommissionItemClass
|
|
52
|
+
*/
|
|
53
|
+
'type': CommissionItemClassTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CommissionItemClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was updated.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CommissionItemClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who created the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CommissionItemClass
|
|
70
|
+
*/
|
|
71
|
+
'createdBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who last updated the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CommissionItemClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedBy': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const CommissionItemClassTypeEnum: {
|
|
80
|
+
readonly Sales: "sales";
|
|
81
|
+
readonly Maintenance: "maintenance";
|
|
82
|
+
readonly Other: "other";
|
|
83
|
+
};
|
|
84
|
+
export type CommissionItemClassTypeEnum = typeof CommissionItemClassTypeEnum[keyof typeof CommissionItemClassTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CommissionItemClassTypeEnum = void 0;
|
|
17
|
+
exports.CommissionItemClassTypeEnum = {
|
|
18
|
+
Sales: 'sales',
|
|
19
|
+
Maintenance: 'maintenance',
|
|
20
|
+
Other: 'other'
|
|
21
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
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 CreateCommissionAgreementRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionAgreementRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable name of the commission agreement
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* Frequency at which commissions are billed (e.g., monthly, quarterly, annually)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'billingFrequency': CreateCommissionAgreementRequestDtoBillingFrequencyEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Current status of the commission agreement (e.g., active, inactive)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'status': CreateCommissionAgreementRequestDtoStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Array of product slugs that this commission agreement applies to
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'productSlugs': Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Detailed description of the commission agreement terms and conditions
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'description'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Start date when the commission agreement becomes effective
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'startDate'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* End date when the commission agreement expires or is terminated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateCommissionAgreementRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'endDate'?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare const CreateCommissionAgreementRequestDtoBillingFrequencyEnum: {
|
|
62
|
+
readonly Monthly: "monthly";
|
|
63
|
+
readonly Quarterly: "quarterly";
|
|
64
|
+
readonly Yearly: "yearly";
|
|
65
|
+
};
|
|
66
|
+
export type CreateCommissionAgreementRequestDtoBillingFrequencyEnum = typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum[keyof typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum];
|
|
67
|
+
export declare const CreateCommissionAgreementRequestDtoStatusEnum: {
|
|
68
|
+
readonly Active: "active";
|
|
69
|
+
readonly Inactive: "inactive";
|
|
70
|
+
};
|
|
71
|
+
export type CreateCommissionAgreementRequestDtoStatusEnum = typeof CreateCommissionAgreementRequestDtoStatusEnum[keyof typeof CreateCommissionAgreementRequestDtoStatusEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
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.CreateCommissionAgreementRequestDtoStatusEnum = exports.CreateCommissionAgreementRequestDtoBillingFrequencyEnum = void 0;
|
|
17
|
+
exports.CreateCommissionAgreementRequestDtoBillingFrequencyEnum = {
|
|
18
|
+
Monthly: 'monthly',
|
|
19
|
+
Quarterly: 'quarterly',
|
|
20
|
+
Yearly: 'yearly'
|
|
21
|
+
};
|
|
22
|
+
exports.CreateCommissionAgreementRequestDtoStatusEnum = {
|
|
23
|
+
Active: 'active',
|
|
24
|
+
Inactive: 'inactive'
|
|
25
|
+
};
|
|
@@ -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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionAgreementResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionAgreementResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created commission agreement object
|
|
21
|
+
* @type {CommissionAgreementClass}
|
|
22
|
+
* @memberof CreateCommissionAgreementResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
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,42 @@
|
|
|
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 CreateCommissionAgreementVersionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionAgreementVersionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the parent commission agreement to create a version for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCommissionAgreementVersionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'commissionAgreementCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Start date when this version of the commission agreement becomes effective
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionAgreementVersionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'startDate'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* End date when this version of the commission agreement expires
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionAgreementVersionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'endDate'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Description explaining what changed in this version or version notes
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateCommissionAgreementVersionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'versionDescription'?: string;
|
|
42
|
+
}
|
|
@@ -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 { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionAgreementVersionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionAgreementVersionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created commission agreement version object
|
|
21
|
+
* @type {CommissionAgreementVersionClass}
|
|
22
|
+
* @memberof CreateCommissionAgreementVersionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'version'?: CommissionAgreementVersionClass;
|
|
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,48 @@
|
|
|
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 CreateCommissionItemRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionItemRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The name or title of the commission item
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCommissionItemRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* A detailed description explaining what this commission item represents
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionItemRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
* The monetary amount of the commission item in the smallest currency unit (e.g., cents)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateCommissionItemRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'amount': number;
|
|
36
|
+
/**
|
|
37
|
+
* The type of commission item. Valid values: sales, maintenance, other
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateCommissionItemRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'type': CreateCommissionItemRequestDtoTypeEnum;
|
|
42
|
+
}
|
|
43
|
+
export declare const CreateCommissionItemRequestDtoTypeEnum: {
|
|
44
|
+
readonly Sales: "sales";
|
|
45
|
+
readonly Maintenance: "maintenance";
|
|
46
|
+
readonly Other: "other";
|
|
47
|
+
};
|
|
48
|
+
export type CreateCommissionItemRequestDtoTypeEnum = typeof CreateCommissionItemRequestDtoTypeEnum[keyof typeof CreateCommissionItemRequestDtoTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CreateCommissionItemRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreateCommissionItemRequestDtoTypeEnum = {
|
|
18
|
+
Sales: 'sales',
|
|
19
|
+
Maintenance: 'maintenance',
|
|
20
|
+
Other: 'other'
|
|
21
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { CreateCommissionItemRequestDto } from './create-commission-item-request-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* The unique code or identifier of the commission agreement this commission is based on
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateCommissionRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'commissionAgreementCode': string;
|
|
25
|
+
/**
|
|
26
|
+
* A detailed description explaining what this commission represents and its purpose
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateCommissionRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'description': string;
|
|
31
|
+
/**
|
|
32
|
+
* The version identifier of the commission agreement being used for this commission
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof CreateCommissionRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'commissionAgreementVersionId': number;
|
|
37
|
+
/**
|
|
38
|
+
* The unique code or identifier of the partner associated with this commission
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateCommissionRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'partnerCode': string;
|
|
43
|
+
/**
|
|
44
|
+
* The policy code or identifier of the policy associated with this commission
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateCommissionRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'policyCode': string;
|
|
49
|
+
/**
|
|
50
|
+
* An array of commission items that make up this commission. Each item represents a specific commission component with its own amount, type
|
|
51
|
+
* @type {Array<CreateCommissionItemRequestDto>}
|
|
52
|
+
* @memberof CreateCommissionRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'items': Array<CreateCommissionItemRequestDto>;
|
|
55
|
+
}
|
|
@@ -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 { CommissionClass } from './commission-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The commission that was created
|
|
21
|
+
* @type {CommissionClass}
|
|
22
|
+
* @memberof CreateCommissionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'commission'?: CommissionClass;
|
|
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,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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetCommissionAgreementResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCommissionAgreementResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The requested commission agreement object
|
|
21
|
+
* @type {CommissionAgreementClass}
|
|
22
|
+
* @memberof GetCommissionAgreementResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
25
|
+
}
|