@emilgroup/insurance-sdk-node 1.12.0 → 1.13.0

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/insurance-sdk-node@1.12.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.13.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.12.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.13.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -40,21 +40,21 @@ export interface CreateInsuredObjectRequestDto {
40
40
  */
41
41
  'insuredObjectTypeId': number;
42
42
  /**
43
- * Insured object count.
44
- * @type {number}
43
+ * A boolean value indicating whether the insured object accepts multiple objects.
44
+ * @type {boolean}
45
45
  * @memberof CreateInsuredObjectRequestDto
46
46
  */
47
- 'count'?: number;
47
+ 'isMultiInsuredObject'?: boolean;
48
48
  /**
49
- * Minimum insured object count.
49
+ * Minimum insured object count, required if isMultiInsuredObject is true.
50
50
  * @type {number}
51
51
  * @memberof CreateInsuredObjectRequestDto
52
52
  */
53
- 'min'?: number;
53
+ 'minInsuredObjectsCount'?: number;
54
54
  /**
55
- * Maximum insured object count.
55
+ * Maximum insured object count, required if isMultiInsuredObject is true.
56
56
  * @type {number}
57
57
  * @memberof CreateInsuredObjectRequestDto
58
58
  */
59
- 'max'?: number;
59
+ 'maxInsuredObjectsCount'?: number;
60
60
  }
@@ -47,23 +47,23 @@ export interface InsuredObjectClass {
47
47
  */
48
48
  'insuredObjectTypeId': number;
49
49
  /**
50
- * Insured object count default to 1.
51
- * @type {number}
50
+ * A boolean value indicating whether the current insured object is multiple or not. Default: false.
51
+ * @type {boolean}
52
52
  * @memberof InsuredObjectClass
53
53
  */
54
- 'count': number;
54
+ 'isMultiInsuredObject': boolean;
55
55
  /**
56
- * Minimum insured object count default to 0.
56
+ * Minimum insured object count.
57
57
  * @type {number}
58
58
  * @memberof InsuredObjectClass
59
59
  */
60
- 'min': number;
60
+ 'minInsuredObjectsCount'?: number;
61
61
  /**
62
- * Maximum insured object count default to 1.
62
+ * Maximum insured object count.
63
63
  * @type {number}
64
64
  * @memberof InsuredObjectClass
65
65
  */
66
- 'max': number;
66
+ 'maxInsuredObjectsCount'?: number;
67
67
  /**
68
68
  * Product fields.
69
69
  * @type {Array<SharedProductFieldClass>}
@@ -46,21 +46,21 @@ export interface UpdateInsuredObjectRequestDto {
46
46
  */
47
47
  'insuredObjectTypeId': number;
48
48
  /**
49
- * Insured object count.
50
- * @type {number}
49
+ * A boolean value indicating whether the insured object accepts multiple objects.
50
+ * @type {boolean}
51
51
  * @memberof UpdateInsuredObjectRequestDto
52
52
  */
53
- 'count'?: number;
53
+ 'isMultiInsuredObject'?: boolean;
54
54
  /**
55
- * Minimum insured object count.
55
+ * Minimum insured object count, required if isMultiInsuredObject is true.
56
56
  * @type {number}
57
57
  * @memberof UpdateInsuredObjectRequestDto
58
58
  */
59
- 'min'?: number;
59
+ 'minInsuredObjectsCount'?: number;
60
60
  /**
61
- * Maximum insured object count.
61
+ * Maximum insured object count, required if isMultiInsuredObject is true.
62
62
  * @type {number}
63
63
  * @memberof UpdateInsuredObjectRequestDto
64
64
  */
65
- 'max'?: number;
65
+ 'maxInsuredObjectsCount'?: number;
66
66
  }
@@ -45,22 +45,22 @@ export interface CreateInsuredObjectRequestDto {
45
45
  */
46
46
  'insuredObjectTypeId': number;
47
47
  /**
48
- * Insured object count.
49
- * @type {number}
48
+ * A boolean value indicating whether the insured object accepts multiple objects.
49
+ * @type {boolean}
50
50
  * @memberof CreateInsuredObjectRequestDto
51
51
  */
52
- 'count'?: number;
52
+ 'isMultiInsuredObject'?: boolean;
53
53
  /**
54
- * Minimum insured object count.
54
+ * Minimum insured object count, required if isMultiInsuredObject is true.
55
55
  * @type {number}
56
56
  * @memberof CreateInsuredObjectRequestDto
57
57
  */
58
- 'min'?: number;
58
+ 'minInsuredObjectsCount'?: number;
59
59
  /**
60
- * Maximum insured object count.
60
+ * Maximum insured object count, required if isMultiInsuredObject is true.
61
61
  * @type {number}
62
62
  * @memberof CreateInsuredObjectRequestDto
63
63
  */
64
- 'max'?: number;
64
+ 'maxInsuredObjectsCount'?: number;
65
65
  }
66
66
 
@@ -52,23 +52,23 @@ export interface InsuredObjectClass {
52
52
  */
53
53
  'insuredObjectTypeId': number;
54
54
  /**
55
- * Insured object count default to 1.
56
- * @type {number}
55
+ * A boolean value indicating whether the current insured object is multiple or not. Default: false.
56
+ * @type {boolean}
57
57
  * @memberof InsuredObjectClass
58
58
  */
59
- 'count': number;
59
+ 'isMultiInsuredObject': boolean;
60
60
  /**
61
- * Minimum insured object count default to 0.
61
+ * Minimum insured object count.
62
62
  * @type {number}
63
63
  * @memberof InsuredObjectClass
64
64
  */
65
- 'min': number;
65
+ 'minInsuredObjectsCount'?: number;
66
66
  /**
67
- * Maximum insured object count default to 1.
67
+ * Maximum insured object count.
68
68
  * @type {number}
69
69
  * @memberof InsuredObjectClass
70
70
  */
71
- 'max': number;
71
+ 'maxInsuredObjectsCount'?: number;
72
72
  /**
73
73
  * Product fields.
74
74
  * @type {Array<SharedProductFieldClass>}
@@ -51,22 +51,22 @@ export interface UpdateInsuredObjectRequestDto {
51
51
  */
52
52
  'insuredObjectTypeId': number;
53
53
  /**
54
- * Insured object count.
55
- * @type {number}
54
+ * A boolean value indicating whether the insured object accepts multiple objects.
55
+ * @type {boolean}
56
56
  * @memberof UpdateInsuredObjectRequestDto
57
57
  */
58
- 'count'?: number;
58
+ 'isMultiInsuredObject'?: boolean;
59
59
  /**
60
- * Minimum insured object count.
60
+ * Minimum insured object count, required if isMultiInsuredObject is true.
61
61
  * @type {number}
62
62
  * @memberof UpdateInsuredObjectRequestDto
63
63
  */
64
- 'min'?: number;
64
+ 'minInsuredObjectsCount'?: number;
65
65
  /**
66
- * Maximum insured object count.
66
+ * Maximum insured object count, required if isMultiInsuredObject is true.
67
67
  * @type {number}
68
68
  * @memberof UpdateInsuredObjectRequestDto
69
69
  */
70
- 'max'?: number;
70
+ 'maxInsuredObjectsCount'?: number;
71
71
  }
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }