@emilgroup/commission-sdk-node 2.9.1-beta.121 → 2.9.1-beta.123

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-node@2.9.1-beta.121 --save
20
+ npm install @emilgroup/commission-sdk-node@2.9.1-beta.123 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk-node@2.9.1-beta.121
24
+ yarn add @emilgroup/commission-sdk-node@2.9.1-beta.123
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -45,6 +45,30 @@ 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;
48
72
  }
49
73
  export declare const CommissionEstimateClassTypeEnum: {
50
74
  readonly Sales: "sales";
@@ -39,6 +39,30 @@ 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;
42
66
  }
43
67
  export declare const CreateCommissionItemRequestDtoTypeEnum: {
44
68
  readonly Sales: "sales";
@@ -50,6 +50,30 @@ 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;
53
77
  }
54
78
 
55
79
  export const CommissionEstimateClassTypeEnum = {
@@ -44,6 +44,30 @@ 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;
47
71
  }
48
72
 
49
73
  export const CreateCommissionItemRequestDtoTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "2.9.1-beta.121",
3
+ "version": "2.9.1-beta.123",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [