@emilgroup/commission-sdk 1.0.0-beta.23 → 1.0.0-beta.25

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/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@1.0.0-beta.23 --save
20
+ npm install @emilgroup/commission-sdk@1.0.0-beta.25 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk@1.0.0-beta.23
24
+ yarn add @emilgroup/commission-sdk@1.0.0-beta.25
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -59,6 +59,18 @@ export interface CommissionClass {
59
59
  * @memberof CommissionClass
60
60
  */
61
61
  'policyCode': string;
62
+ /**
63
+ * The unique number of the partner associated with this commission
64
+ * @type {string}
65
+ * @memberof CommissionClass
66
+ */
67
+ 'partnerNumber': string;
68
+ /**
69
+ * The unique number of the policy associated with this commission
70
+ * @type {string}
71
+ * @memberof CommissionClass
72
+ */
73
+ 'policyNumber': string;
62
74
  /**
63
75
  * The total monetary amount of the commission in the smallest currency unit (e.g., cents). This is the sum of all commission items
64
76
  * @type {number}
@@ -23,7 +23,7 @@ export interface CommissionConfigDto {
23
23
  */
24
24
  'type': CommissionConfigDtoTypeEnum;
25
25
  /**
26
- * Mathematical expression to calculate commission (e.g., \'invoice.totalNetto * 0.10\'). Always return value in cents.
26
+ * Mathematical expression to calculate commission (e.g., \'invoice.netAmount * 0.10\'). Always return value in cents.
27
27
  * @type {string}
28
28
  * @memberof CommissionConfigDto
29
29
  */
@@ -17,7 +17,7 @@ import { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-co
17
17
  */
18
18
  export interface EvaluateCommissionAgreementRuleRequestDto {
19
19
  /**
20
- * Mock data object containing invoice, policy, and other data needed for expression evaluation (e.g., { invoice: { totalNetto: 1000 }, policy: { ... } })
20
+ * Mock data object containing invoice, policy, and other data needed for expression evaluation (e.g., { invoice: { netAmount: 1000 }, policy: { ... } })
21
21
  * @type {object}
22
22
  * @memberof EvaluateCommissionAgreementRuleRequestDto
23
23
  */
@@ -64,6 +64,18 @@ export interface CommissionClass {
64
64
  * @memberof CommissionClass
65
65
  */
66
66
  'policyCode': string;
67
+ /**
68
+ * The unique number of the partner associated with this commission
69
+ * @type {string}
70
+ * @memberof CommissionClass
71
+ */
72
+ 'partnerNumber': string;
73
+ /**
74
+ * The unique number of the policy associated with this commission
75
+ * @type {string}
76
+ * @memberof CommissionClass
77
+ */
78
+ 'policyNumber': string;
67
79
  /**
68
80
  * The total monetary amount of the commission in the smallest currency unit (e.g., cents). This is the sum of all commission items
69
81
  * @type {number}
@@ -28,7 +28,7 @@ export interface CommissionConfigDto {
28
28
  */
29
29
  'type': CommissionConfigDtoTypeEnum;
30
30
  /**
31
- * Mathematical expression to calculate commission (e.g., \'invoice.totalNetto * 0.10\'). Always return value in cents.
31
+ * Mathematical expression to calculate commission (e.g., \'invoice.netAmount * 0.10\'). Always return value in cents.
32
32
  * @type {string}
33
33
  * @memberof CommissionConfigDto
34
34
  */
@@ -22,7 +22,7 @@ import { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-co
22
22
  */
23
23
  export interface EvaluateCommissionAgreementRuleRequestDto {
24
24
  /**
25
- * Mock data object containing invoice, policy, and other data needed for expression evaluation (e.g., { invoice: { totalNetto: 1000 }, policy: { ... } })
25
+ * Mock data object containing invoice, policy, and other data needed for expression evaluation (e.g., { invoice: { netAmount: 1000 }, policy: { ... } })
26
26
  * @type {object}
27
27
  * @memberof EvaluateCommissionAgreementRuleRequestDto
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk",
3
- "version": "1.0.0-beta.23",
3
+ "version": "1.0.0-beta.25",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [