@emilgroup/commission-sdk-node 2.9.1-beta.113 → 2.9.1-beta.114

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.
@@ -42,6 +42,7 @@ models/commission-creation-renewal-config-dto.ts
42
42
  models/commission-estimate-class.ts
43
43
  models/commission-item-class.ts
44
44
  models/commission-paid-invoice-entry-class.ts
45
+ models/commission-payout-config-dto.ts
45
46
  models/commission-recipient-class.ts
46
47
  models/commission-settlement-class.ts
47
48
  models/create-commission-agreement-product-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/commission-sdk-node@2.9.1-beta.113 --save
20
+ npm install @emilgroup/commission-sdk-node@2.9.1-beta.114 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk-node@2.9.1-beta.113
24
+ yarn add @emilgroup/commission-sdk-node@2.9.1-beta.114
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CommissionConfigDto } from './commission-config-dto';
13
+ import { CommissionPayoutConfigDto } from './commission-payout-config-dto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -22,4 +23,10 @@ export interface CommissionAgreementRuleConfigDto {
22
23
  * @memberof CommissionAgreementRuleConfigDto
23
24
  */
24
25
  'commissions': Array<CommissionConfigDto>;
26
+ /**
27
+ * Who the rule\'s commissions are paid to. When absent, they are paid to the agreement\'s main partner
28
+ * @type {CommissionPayoutConfigDto}
29
+ * @memberof CommissionAgreementRuleConfigDto
30
+ */
31
+ 'payout'?: CommissionPayoutConfigDto;
25
32
  }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface 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 PartnerLinkIntermediary: "partnerLinkIntermediary";
28
+ };
29
+ export type CommissionPayoutConfigDtoToEnum = typeof CommissionPayoutConfigDtoToEnum[keyof typeof CommissionPayoutConfigDtoToEnum];
@@ -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.CommissionPayoutConfigDtoToEnum = void 0;
17
+ exports.CommissionPayoutConfigDtoToEnum = {
18
+ MainPartner: 'mainPartner',
19
+ PartnerLinkIntermediary: 'partnerLinkIntermediary'
20
+ };
@@ -23,6 +23,7 @@ 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';
26
27
  export * from './commission-recipient-class';
27
28
  export * from './commission-settlement-class';
28
29
  export * from './create-commission-agreement-product-request-dto';
@@ -39,6 +39,7 @@ __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);
42
43
  __exportStar(require("./commission-recipient-class"), exports);
43
44
  __exportStar(require("./commission-settlement-class"), exports);
44
45
  __exportStar(require("./create-commission-agreement-product-request-dto"), exports);
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { CommissionConfigDto } from './commission-config-dto';
17
+ import { CommissionPayoutConfigDto } from './commission-payout-config-dto';
17
18
 
18
19
  /**
19
20
  *
@@ -27,5 +28,11 @@ export interface CommissionAgreementRuleConfigDto {
27
28
  * @memberof CommissionAgreementRuleConfigDto
28
29
  */
29
30
  '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;
30
37
  }
31
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
+
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
+ PartnerLinkIntermediary: 'partnerLinkIntermediary'
34
+ } as const;
35
+
36
+ export type CommissionPayoutConfigDtoToEnum = typeof CommissionPayoutConfigDtoToEnum[keyof typeof CommissionPayoutConfigDtoToEnum];
37
+
38
+
package/models/index.ts CHANGED
@@ -23,6 +23,7 @@ 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';
26
27
  export * from './commission-recipient-class';
27
28
  export * from './commission-settlement-class';
28
29
  export * from './create-commission-agreement-product-request-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "2.9.1-beta.113",
3
+ "version": "2.9.1-beta.114",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [