@emilgroup/insurance-sdk-node 1.19.1 → 1.19.2

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.19.1 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.19.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.19.1
24
+ yarn add @emilgroup/insurance-sdk-node@1.19.2
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -21,7 +21,7 @@ export interface CreatePaymentMethodRequestDto {
21
21
  * @type {string}
22
22
  * @memberof CreatePaymentMethodRequestDto
23
23
  */
24
- 'type': CreatePaymentMethodRequestDtoTypeEnum;
24
+ 'type': string;
25
25
  /**
26
26
  *
27
27
  * @type {SepaDto}
@@ -29,8 +29,3 @@ export interface CreatePaymentMethodRequestDto {
29
29
  */
30
30
  'sepa'?: SepaDto;
31
31
  }
32
- export declare const CreatePaymentMethodRequestDtoTypeEnum: {
33
- readonly Sepa: "sepa";
34
- readonly Invoice: "invoice";
35
- };
36
- export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
@@ -13,8 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreatePaymentMethodRequestDtoTypeEnum = void 0;
17
- exports.CreatePaymentMethodRequestDtoTypeEnum = {
18
- Sepa: 'sepa',
19
- Invoice: 'invoice'
20
- };
@@ -39,12 +39,6 @@ export interface CreateProductRequestDto {
39
39
  * @memberof CreateProductRequestDto
40
40
  */
41
41
  'slug': string;
42
- /**
43
- * Default language of the product.
44
- * @type {string}
45
- * @memberof CreateProductRequestDto
46
- */
47
- 'defaultLanguage': CreateProductRequestDtoDefaultLanguageEnum;
48
42
  }
49
43
  export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
50
44
  readonly Default: "default";
@@ -61,25 +55,3 @@ export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
61
55
  readonly Device: "device";
62
56
  };
63
57
  export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
64
- export declare const CreateProductRequestDtoDefaultLanguageEnum: {
65
- readonly German: "German";
66
- readonly English: "English";
67
- readonly Polish: "Polish";
68
- readonly French: "French";
69
- readonly Italian: "Italian";
70
- readonly Spanish: "Spanish";
71
- readonly Portuguese: "Portuguese";
72
- readonly Russian: "Russian";
73
- readonly Japanese: "Japanese";
74
- readonly Chinese: "Chinese";
75
- readonly Korean: "Korean";
76
- readonly Turkish: "Turkish";
77
- readonly Arabic: "Arabic";
78
- readonly Hindi: "Hindi";
79
- readonly Indonesian: "Indonesian";
80
- readonly Thai: "Thai";
81
- readonly Vietnamese: "Vietnamese";
82
- readonly Persian: "Persian";
83
- readonly Ukrainian: "Ukrainian";
84
- };
85
- export type CreateProductRequestDtoDefaultLanguageEnum = typeof CreateProductRequestDtoDefaultLanguageEnum[keyof typeof CreateProductRequestDtoDefaultLanguageEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateProductRequestDtoDefaultLanguageEnum = exports.CreateProductRequestDtoInsuredObjectTypesEnum = void 0;
16
+ exports.CreateProductRequestDtoInsuredObjectTypesEnum = void 0;
17
17
  exports.CreateProductRequestDtoInsuredObjectTypesEnum = {
18
18
  Default: 'default',
19
19
  Car: 'car',
@@ -28,24 +28,3 @@ exports.CreateProductRequestDtoInsuredObjectTypesEnum = {
28
28
  Travel: 'travel',
29
29
  Device: 'device'
30
30
  };
31
- exports.CreateProductRequestDtoDefaultLanguageEnum = {
32
- German: 'German',
33
- English: 'English',
34
- Polish: 'Polish',
35
- French: 'French',
36
- Italian: 'Italian',
37
- Spanish: 'Spanish',
38
- Portuguese: 'Portuguese',
39
- Russian: 'Russian',
40
- Japanese: 'Japanese',
41
- Chinese: 'Chinese',
42
- Korean: 'Korean',
43
- Turkish: 'Turkish',
44
- Arabic: 'Arabic',
45
- Hindi: 'Hindi',
46
- Indonesian: 'Indonesian',
47
- Thai: 'Thai',
48
- Vietnamese: 'Vietnamese',
49
- Persian: 'Persian',
50
- Ukrainian: 'Ukrainian'
51
- };
@@ -80,5 +80,5 @@ export interface GrpcPatchLeadRequestDto {
80
80
  * @type {CreatePaymentMethodRequestDto}
81
81
  * @memberof GrpcPatchLeadRequestDto
82
82
  */
83
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
83
+ 'paymentMethod': CreatePaymentMethodRequestDto;
84
84
  }
@@ -50,7 +50,7 @@ export interface GrpcUpdateLeadRequestDto {
50
50
  * @type {CreatePaymentMethodRequestDto}
51
51
  * @memberof GrpcUpdateLeadRequestDto
52
52
  */
53
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
53
+ 'paymentMethod': CreatePaymentMethodRequestDto;
54
54
  /**
55
55
  *
56
56
  * @type {string}
@@ -80,5 +80,5 @@ export interface PatchLeadRequestDto {
80
80
  * @type {CreatePaymentMethodRequestDto}
81
81
  * @memberof PatchLeadRequestDto
82
82
  */
83
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
83
+ 'paymentMethod': CreatePaymentMethodRequestDto;
84
84
  }
@@ -41,12 +41,6 @@ export interface ProductClass {
41
41
  * @memberof ProductClass
42
42
  */
43
43
  'slug': string;
44
- /**
45
- * Default language of the product.
46
- * @type {string}
47
- * @memberof ProductClass
48
- */
49
- 'defaultLanguage': string;
50
44
  /**
51
45
  * Insured object types covered under product.
52
46
  * @type {Array<InsuredObjectTypeClass>}
@@ -50,7 +50,7 @@ export interface UpdateLeadRequestDto {
50
50
  * @type {CreatePaymentMethodRequestDto}
51
51
  * @memberof UpdateLeadRequestDto
52
52
  */
53
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
53
+ 'paymentMethod': CreatePaymentMethodRequestDto;
54
54
  /**
55
55
  *
56
56
  * @type {CreateAccountRequestDto}
@@ -26,7 +26,7 @@ export interface CreatePaymentMethodRequestDto {
26
26
  * @type {string}
27
27
  * @memberof CreatePaymentMethodRequestDto
28
28
  */
29
- 'type': CreatePaymentMethodRequestDtoTypeEnum;
29
+ 'type': string;
30
30
  /**
31
31
  *
32
32
  * @type {SepaDto}
@@ -35,11 +35,3 @@ export interface CreatePaymentMethodRequestDto {
35
35
  'sepa'?: SepaDto;
36
36
  }
37
37
 
38
- export const CreatePaymentMethodRequestDtoTypeEnum = {
39
- Sepa: 'sepa',
40
- Invoice: 'invoice'
41
- } as const;
42
-
43
- export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
44
-
45
-
@@ -44,12 +44,6 @@ export interface CreateProductRequestDto {
44
44
  * @memberof CreateProductRequestDto
45
45
  */
46
46
  'slug': string;
47
- /**
48
- * Default language of the product.
49
- * @type {string}
50
- * @memberof CreateProductRequestDto
51
- */
52
- 'defaultLanguage': CreateProductRequestDtoDefaultLanguageEnum;
53
47
  }
54
48
 
55
49
  export const CreateProductRequestDtoInsuredObjectTypesEnum = {
@@ -68,28 +62,5 @@ export const CreateProductRequestDtoInsuredObjectTypesEnum = {
68
62
  } as const;
69
63
 
70
64
  export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
71
- export const CreateProductRequestDtoDefaultLanguageEnum = {
72
- German: 'German',
73
- English: 'English',
74
- Polish: 'Polish',
75
- French: 'French',
76
- Italian: 'Italian',
77
- Spanish: 'Spanish',
78
- Portuguese: 'Portuguese',
79
- Russian: 'Russian',
80
- Japanese: 'Japanese',
81
- Chinese: 'Chinese',
82
- Korean: 'Korean',
83
- Turkish: 'Turkish',
84
- Arabic: 'Arabic',
85
- Hindi: 'Hindi',
86
- Indonesian: 'Indonesian',
87
- Thai: 'Thai',
88
- Vietnamese: 'Vietnamese',
89
- Persian: 'Persian',
90
- Ukrainian: 'Ukrainian'
91
- } as const;
92
-
93
- export type CreateProductRequestDtoDefaultLanguageEnum = typeof CreateProductRequestDtoDefaultLanguageEnum[keyof typeof CreateProductRequestDtoDefaultLanguageEnum];
94
65
 
95
66
 
@@ -85,6 +85,6 @@ export interface GrpcPatchLeadRequestDto {
85
85
  * @type {CreatePaymentMethodRequestDto}
86
86
  * @memberof GrpcPatchLeadRequestDto
87
87
  */
88
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
88
+ 'paymentMethod': CreatePaymentMethodRequestDto;
89
89
  }
90
90
 
@@ -55,7 +55,7 @@ export interface GrpcUpdateLeadRequestDto {
55
55
  * @type {CreatePaymentMethodRequestDto}
56
56
  * @memberof GrpcUpdateLeadRequestDto
57
57
  */
58
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
58
+ 'paymentMethod': CreatePaymentMethodRequestDto;
59
59
  /**
60
60
  *
61
61
  * @type {string}
@@ -85,6 +85,6 @@ export interface PatchLeadRequestDto {
85
85
  * @type {CreatePaymentMethodRequestDto}
86
86
  * @memberof PatchLeadRequestDto
87
87
  */
88
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
88
+ 'paymentMethod': CreatePaymentMethodRequestDto;
89
89
  }
90
90
 
@@ -46,12 +46,6 @@ export interface ProductClass {
46
46
  * @memberof ProductClass
47
47
  */
48
48
  'slug': string;
49
- /**
50
- * Default language of the product.
51
- * @type {string}
52
- * @memberof ProductClass
53
- */
54
- 'defaultLanguage': string;
55
49
  /**
56
50
  * Insured object types covered under product.
57
51
  * @type {Array<InsuredObjectTypeClass>}
@@ -55,7 +55,7 @@ export interface UpdateLeadRequestDto {
55
55
  * @type {CreatePaymentMethodRequestDto}
56
56
  * @memberof UpdateLeadRequestDto
57
57
  */
58
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
58
+ 'paymentMethod': CreatePaymentMethodRequestDto;
59
59
  /**
60
60
  *
61
61
  * @type {CreateAccountRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [