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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/api/commission-agreement-rules-api.ts +4 -4
  4. package/api/commission-agreement-versions-api.ts +4 -4
  5. package/api/commission-agreements-api.ts +4 -4
  6. package/api/commission-candidates-api.ts +4 -4
  7. package/api/commission-recipients-api.ts +4 -4
  8. package/api/commission-settlements-api.ts +8 -8
  9. package/api/commissions-api.ts +8 -8
  10. package/dist/api/commission-agreement-rules-api.d.ts +4 -4
  11. package/dist/api/commission-agreement-rules-api.js +3 -3
  12. package/dist/api/commission-agreement-versions-api.d.ts +4 -4
  13. package/dist/api/commission-agreement-versions-api.js +3 -3
  14. package/dist/api/commission-agreements-api.d.ts +4 -4
  15. package/dist/api/commission-agreements-api.js +3 -3
  16. package/dist/api/commission-candidates-api.d.ts +4 -4
  17. package/dist/api/commission-candidates-api.js +3 -3
  18. package/dist/api/commission-recipients-api.d.ts +4 -4
  19. package/dist/api/commission-recipients-api.js +3 -3
  20. package/dist/api/commission-settlements-api.d.ts +8 -8
  21. package/dist/api/commission-settlements-api.js +3 -3
  22. package/dist/api/commissions-api.d.ts +8 -8
  23. package/dist/api/commissions-api.js +3 -3
  24. package/dist/models/commission-agreement-rule-config-dto.d.ts +0 -7
  25. package/dist/models/commission-estimate-class.d.ts +0 -24
  26. package/dist/models/commission-item-class.d.ts +0 -18
  27. package/dist/models/create-commission-item-request-dto.d.ts +0 -24
  28. package/dist/models/index.d.ts +0 -1
  29. package/dist/models/index.js +0 -1
  30. package/dist/models/update-commission-request-dto.d.ts +1 -1
  31. package/models/commission-agreement-rule-config-dto.ts +0 -7
  32. package/models/commission-estimate-class.ts +0 -24
  33. package/models/commission-item-class.ts +0 -18
  34. package/models/create-commission-item-request-dto.ts +0 -24
  35. package/models/index.ts +0 -1
  36. package/models/update-commission-request-dto.ts +1 -1
  37. package/package.json +1 -1
  38. package/dist/models/commission-payout-config-dto.d.ts +0 -29
  39. package/dist/models/commission-payout-config-dto.js +0 -20
  40. package/models/commission-payout-config-dto.ts +0 -38
@@ -45,30 +45,6 @@ export interface CommissionEstimateClass {
45
45
  * @memberof CommissionEstimateClass
46
46
  */
47
47
  'group': CommissionEstimateClassGroupEnum;
48
- /**
49
- * First day the line pays for (inclusive); absent when the line covers the whole commission period, or is a sale
50
- * @type {string}
51
- * @memberof CommissionEstimateClass
52
- */
53
- 'periodFrom'?: string;
54
- /**
55
- * Day after the last day the line pays for (exclusive); absent when periodFrom is absent
56
- * @type {string}
57
- * @memberof CommissionEstimateClass
58
- */
59
- 'periodTo'?: string;
60
- /**
61
- * Code of the commission agreement version the line is priced with, set when the estimate splits the commission period by version; a line without it is priced with the estimate\'s version. Pass it on with the line when creating the commission
62
- * @type {string}
63
- * @memberof CommissionEstimateClass
64
- */
65
- 'commissionAgreementVersionCode'?: string;
66
- /**
67
- * Code of the partner the line is paid to, set when the estimate splits the commission period by version; a line without it is paid to the estimate\'s partner. Pass it on with the line when creating the commission
68
- * @type {string}
69
- * @memberof CommissionEstimateClass
70
- */
71
- 'partnerCode'?: string;
72
48
  }
73
49
  export declare const CommissionEstimateClassTypeEnum: {
74
50
  readonly Sales: "sales";
@@ -51,24 +51,6 @@ export interface CommissionItemClass {
51
51
  * @memberof CommissionItemClass
52
52
  */
53
53
  'type': CommissionItemClassTypeEnum;
54
- /**
55
- * First day the item pays for (inclusive); absent when the item does not record its days
56
- * @type {string}
57
- * @memberof CommissionItemClass
58
- */
59
- 'periodFrom'?: string;
60
- /**
61
- * Day after the last day the item pays for (exclusive); absent when periodFrom is absent
62
- * @type {string}
63
- * @memberof CommissionItemClass
64
- */
65
- 'periodTo'?: string;
66
- /**
67
- * Code of the invoice the item pays for; absent when the item does not record its invoice
68
- * @type {string}
69
- * @memberof CommissionItemClass
70
- */
71
- 'invoiceCode'?: string;
72
54
  /**
73
55
  * Time at which the object was created.
74
56
  * @type {string}
@@ -39,30 +39,6 @@ export interface CreateCommissionItemRequestDto {
39
39
  * @memberof CreateCommissionItemRequestDto
40
40
  */
41
41
  'type': CreateCommissionItemRequestDtoTypeEnum;
42
- /**
43
- * First day the item pays for (inclusive), as the estimate returns it; give it together with periodTo, or neither. Inside the commission period when the commission has a candidate
44
- * @type {string}
45
- * @memberof CreateCommissionItemRequestDto
46
- */
47
- 'periodFrom'?: string;
48
- /**
49
- * Day after the last day the item pays for (exclusive), as the estimate returns it; after periodFrom
50
- * @type {string}
51
- * @memberof CreateCommissionItemRequestDto
52
- */
53
- 'periodTo'?: string;
54
- /**
55
- * Code of the commission agreement version the item is priced with, as the estimate returns it; empty for the request\'s version. It must belong to the request\'s version\'s agreement and cover the item\'s days, or the commission period\'s start for an item without days. Without a candidate, only the request\'s version is accepted
56
- * @type {string}
57
- * @memberof CreateCommissionItemRequestDto
58
- */
59
- 'commissionAgreementVersionCode'?: string;
60
- /**
61
- * Code of the partner the item is paid to, as the estimate returns it; empty for the request\'s partner. All items of one agreement version are paid to one partner
62
- * @type {string}
63
- * @memberof CreateCommissionItemRequestDto
64
- */
65
- 'partnerCode'?: string;
66
42
  }
67
43
  export declare const CreateCommissionItemRequestDtoTypeEnum: {
68
44
  readonly Sales: "sales";
@@ -23,7 +23,6 @@ export * from './commission-creation-renewal-config-dto';
23
23
  export * from './commission-estimate-class';
24
24
  export * from './commission-item-class';
25
25
  export * from './commission-paid-invoice-entry-class';
26
- export * from './commission-payout-config-dto';
27
26
  export * from './commission-recipient-class';
28
27
  export * from './commission-settlement-class';
29
28
  export * from './create-commission-agreement-product-request-dto';
@@ -39,7 +39,6 @@ __exportStar(require("./commission-creation-renewal-config-dto"), exports);
39
39
  __exportStar(require("./commission-estimate-class"), exports);
40
40
  __exportStar(require("./commission-item-class"), exports);
41
41
  __exportStar(require("./commission-paid-invoice-entry-class"), exports);
42
- __exportStar(require("./commission-payout-config-dto"), exports);
43
42
  __exportStar(require("./commission-recipient-class"), exports);
44
43
  __exportStar(require("./commission-settlement-class"), exports);
45
44
  __exportStar(require("./create-commission-agreement-product-request-dto"), exports);
@@ -40,7 +40,7 @@ export interface UpdateCommissionRequestDto {
40
40
  */
41
41
  'policyCode': string;
42
42
  /**
43
- * The updated status of the commission. A draft commission can stay draft or be set to open; an open one stays open. A settlement publishes a commission and a clawback closes it, so a settled, published or closed commission cannot be updated.
43
+ * The updated status of the commission. Valid values: draft, open, published, closed
44
44
  * @type {string}
45
45
  * @memberof UpdateCommissionRequestDto
46
46
  */
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  import { CommissionConfigDto } from './commission-config-dto';
17
- import { CommissionPayoutConfigDto } from './commission-payout-config-dto';
18
17
 
19
18
  /**
20
19
  *
@@ -28,11 +27,5 @@ export interface CommissionAgreementRuleConfigDto {
28
27
  * @memberof CommissionAgreementRuleConfigDto
29
28
  */
30
29
  'commissions': Array<CommissionConfigDto>;
31
- /**
32
- * Who the rule\'s commissions are paid to. When absent, they are paid to the agreement\'s main partner
33
- * @type {CommissionPayoutConfigDto}
34
- * @memberof CommissionAgreementRuleConfigDto
35
- */
36
- 'payout'?: CommissionPayoutConfigDto;
37
30
  }
38
31
 
@@ -50,30 +50,6 @@ export interface CommissionEstimateClass {
50
50
  * @memberof CommissionEstimateClass
51
51
  */
52
52
  'group': CommissionEstimateClassGroupEnum;
53
- /**
54
- * First day the line pays for (inclusive); absent when the line covers the whole commission period, or is a sale
55
- * @type {string}
56
- * @memberof CommissionEstimateClass
57
- */
58
- 'periodFrom'?: string;
59
- /**
60
- * Day after the last day the line pays for (exclusive); absent when periodFrom is absent
61
- * @type {string}
62
- * @memberof CommissionEstimateClass
63
- */
64
- 'periodTo'?: string;
65
- /**
66
- * Code of the commission agreement version the line is priced with, set when the estimate splits the commission period by version; a line without it is priced with the estimate\'s version. Pass it on with the line when creating the commission
67
- * @type {string}
68
- * @memberof CommissionEstimateClass
69
- */
70
- 'commissionAgreementVersionCode'?: string;
71
- /**
72
- * Code of the partner the line is paid to, set when the estimate splits the commission period by version; a line without it is paid to the estimate\'s partner. Pass it on with the line when creating the commission
73
- * @type {string}
74
- * @memberof CommissionEstimateClass
75
- */
76
- 'partnerCode'?: string;
77
53
  }
78
54
 
79
55
  export const CommissionEstimateClassTypeEnum = {
@@ -56,24 +56,6 @@ export interface CommissionItemClass {
56
56
  * @memberof CommissionItemClass
57
57
  */
58
58
  'type': CommissionItemClassTypeEnum;
59
- /**
60
- * First day the item pays for (inclusive); absent when the item does not record its days
61
- * @type {string}
62
- * @memberof CommissionItemClass
63
- */
64
- 'periodFrom'?: string;
65
- /**
66
- * Day after the last day the item pays for (exclusive); absent when periodFrom is absent
67
- * @type {string}
68
- * @memberof CommissionItemClass
69
- */
70
- 'periodTo'?: string;
71
- /**
72
- * Code of the invoice the item pays for; absent when the item does not record its invoice
73
- * @type {string}
74
- * @memberof CommissionItemClass
75
- */
76
- 'invoiceCode'?: string;
77
59
  /**
78
60
  * Time at which the object was created.
79
61
  * @type {string}
@@ -44,30 +44,6 @@ export interface CreateCommissionItemRequestDto {
44
44
  * @memberof CreateCommissionItemRequestDto
45
45
  */
46
46
  'type': CreateCommissionItemRequestDtoTypeEnum;
47
- /**
48
- * First day the item pays for (inclusive), as the estimate returns it; give it together with periodTo, or neither. Inside the commission period when the commission has a candidate
49
- * @type {string}
50
- * @memberof CreateCommissionItemRequestDto
51
- */
52
- 'periodFrom'?: string;
53
- /**
54
- * Day after the last day the item pays for (exclusive), as the estimate returns it; after periodFrom
55
- * @type {string}
56
- * @memberof CreateCommissionItemRequestDto
57
- */
58
- 'periodTo'?: string;
59
- /**
60
- * Code of the commission agreement version the item is priced with, as the estimate returns it; empty for the request\'s version. It must belong to the request\'s version\'s agreement and cover the item\'s days, or the commission period\'s start for an item without days. Without a candidate, only the request\'s version is accepted
61
- * @type {string}
62
- * @memberof CreateCommissionItemRequestDto
63
- */
64
- 'commissionAgreementVersionCode'?: string;
65
- /**
66
- * Code of the partner the item is paid to, as the estimate returns it; empty for the request\'s partner. All items of one agreement version are paid to one partner
67
- * @type {string}
68
- * @memberof CreateCommissionItemRequestDto
69
- */
70
- 'partnerCode'?: string;
71
47
  }
72
48
 
73
49
  export const CreateCommissionItemRequestDtoTypeEnum = {
package/models/index.ts CHANGED
@@ -23,7 +23,6 @@ export * from './commission-creation-renewal-config-dto';
23
23
  export * from './commission-estimate-class';
24
24
  export * from './commission-item-class';
25
25
  export * from './commission-paid-invoice-entry-class';
26
- export * from './commission-payout-config-dto';
27
26
  export * from './commission-recipient-class';
28
27
  export * from './commission-settlement-class';
29
28
  export * from './create-commission-agreement-product-request-dto';
@@ -45,7 +45,7 @@ export interface UpdateCommissionRequestDto {
45
45
  */
46
46
  'policyCode': string;
47
47
  /**
48
- * The updated status of the commission. A draft commission can stay draft or be set to open; an open one stays open. A settlement publishes a commission and a clawback closes it, so a settled, published or closed commission cannot be updated.
48
+ * The updated status of the commission. Valid values: draft, open, published, closed
49
49
  * @type {string}
50
50
  * @memberof UpdateCommissionRequestDto
51
51
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "2.9.1-beta.130",
3
+ "version": "2.9.1-beta.131",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,29 +0,0 @@
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 CommissionPayoutConfigDto
16
- */
17
- export interface CommissionPayoutConfigDto {
18
- /**
19
- * Who receives the commissions priced by the rule: the agreement\'s main partner or the intermediary linked on the policy
20
- * @type {string}
21
- * @memberof CommissionPayoutConfigDto
22
- */
23
- 'to': CommissionPayoutConfigDtoToEnum;
24
- }
25
- export declare const CommissionPayoutConfigDtoToEnum: {
26
- readonly MainPartner: "mainPartner";
27
- readonly Intermediary: "intermediary";
28
- };
29
- export type CommissionPayoutConfigDtoToEnum = typeof CommissionPayoutConfigDtoToEnum[keyof typeof CommissionPayoutConfigDtoToEnum];
@@ -1,20 +0,0 @@
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.CommissionPayoutConfigDtoToEnum = void 0;
17
- exports.CommissionPayoutConfigDtoToEnum = {
18
- MainPartner: 'mainPartner',
19
- Intermediary: 'intermediary'
20
- };
@@ -1,38 +0,0 @@
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 CommissionPayoutConfigDto
21
- */
22
- export interface CommissionPayoutConfigDto {
23
- /**
24
- * Who receives the commissions priced by the rule: the agreement\'s main partner or the intermediary linked on the policy
25
- * @type {string}
26
- * @memberof CommissionPayoutConfigDto
27
- */
28
- 'to': CommissionPayoutConfigDtoToEnum;
29
- }
30
-
31
- export const CommissionPayoutConfigDtoToEnum = {
32
- MainPartner: 'mainPartner',
33
- Intermediary: 'intermediary'
34
- } as const;
35
-
36
- export type CommissionPayoutConfigDtoToEnum = typeof CommissionPayoutConfigDtoToEnum[keyof typeof CommissionPayoutConfigDtoToEnum];
37
-
38
-