@emilgroup/insurance-sdk-node 1.93.1-beta.15 → 1.93.1-beta.16

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.
@@ -215,6 +215,9 @@ models/premium-override-dto.ts
215
215
  models/premium-override-request-class.ts
216
216
  models/premium-override-request-dto.ts
217
217
  models/product-class.ts
218
+ models/product-config-summary-class.ts
219
+ models/product-config-version-summary-class.ts
220
+ models/product-config-without-versions-class.ts
218
221
  models/product-factor-class.ts
219
222
  models/product-factor-for-version-class.ts
220
223
  models/product-factor-value-class.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/insurance-sdk-node@1.93.1-beta.15 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.93.1-beta.16 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.15
24
+ yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.16
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -229,12 +229,13 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
229
229
  /**
230
230
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
231
231
  * @summary Retrieve the Product Config
232
- * @param {string} code
232
+ * @param {string} code Unique identifier for the object.
233
233
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
234
+ * @param {string} [expand] You can expand product config in this endpoint.
234
235
  * @param {*} [options] Override http request option.
235
236
  * @throws {RequiredError}
236
237
  */
237
- getProductConfig: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
+ getProductConfig: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
239
  // verify required parameter 'code' is not null or undefined
239
240
  assertParamExists('getProductConfig', 'code', code)
240
241
  const localVarPath = `/insuranceservice/v1/product-configs/{code}`
@@ -256,6 +257,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
256
257
  // http bearer authentication required
257
258
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
258
259
 
260
+ if (expand !== undefined) {
261
+ localVarQueryParameter['expand'] = expand;
262
+ }
263
+
259
264
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
260
265
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
261
266
  }
@@ -674,13 +679,14 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
674
679
  /**
675
680
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
676
681
  * @summary Retrieve the Product Config
677
- * @param {string} code
682
+ * @param {string} code Unique identifier for the object.
678
683
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
+ * @param {string} [expand] You can expand product config in this endpoint.
679
685
  * @param {*} [options] Override http request option.
680
686
  * @throws {RequiredError}
681
687
  */
682
- async getProductConfig(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>> {
683
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfig(code, authorization, options);
688
+ async getProductConfig(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>> {
689
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfig(code, authorization, expand, options);
684
690
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
685
691
  },
686
692
  /**
@@ -824,13 +830,14 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
824
830
  /**
825
831
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
826
832
  * @summary Retrieve the Product Config
827
- * @param {string} code
833
+ * @param {string} code Unique identifier for the object.
828
834
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
835
+ * @param {string} [expand] You can expand product config in this endpoint.
829
836
  * @param {*} [options] Override http request option.
830
837
  * @throws {RequiredError}
831
838
  */
832
- getProductConfig(code: string, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass> {
833
- return localVarFp.getProductConfig(code, authorization, options).then((request) => request(axios, basePath));
839
+ getProductConfig(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass> {
840
+ return localVarFp.getProductConfig(code, authorization, expand, options).then((request) => request(axios, basePath));
834
841
  },
835
842
  /**
836
843
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
@@ -992,7 +999,7 @@ export interface ProductConfigsApiDeleteProductConfigVersionRequest {
992
999
  */
993
1000
  export interface ProductConfigsApiGetProductConfigRequest {
994
1001
  /**
995
- *
1002
+ * Unique identifier for the object.
996
1003
  * @type {string}
997
1004
  * @memberof ProductConfigsApiGetProductConfig
998
1005
  */
@@ -1004,6 +1011,13 @@ export interface ProductConfigsApiGetProductConfigRequest {
1004
1011
  * @memberof ProductConfigsApiGetProductConfig
1005
1012
  */
1006
1013
  readonly authorization?: string
1014
+
1015
+ /**
1016
+ * You can expand product config in this endpoint.
1017
+ * @type {string}
1018
+ * @memberof ProductConfigsApiGetProductConfig
1019
+ */
1020
+ readonly expand?: string
1007
1021
  }
1008
1022
 
1009
1023
  /**
@@ -1294,7 +1308,7 @@ export class ProductConfigsApi extends BaseAPI {
1294
1308
  * @memberof ProductConfigsApi
1295
1309
  */
1296
1310
  public getProductConfig(requestParameters: ProductConfigsApiGetProductConfigRequest, options?: AxiosRequestConfig) {
1297
- return ProductConfigsApiFp(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1311
+ return ProductConfigsApiFp(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1298
1312
  }
1299
1313
 
1300
1314
  /**
@@ -66,12 +66,13 @@ export declare const ProductConfigsApiAxiosParamCreator: (configuration?: Config
66
66
  /**
67
67
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
68
68
  * @summary Retrieve the Product Config
69
- * @param {string} code
69
+ * @param {string} code Unique identifier for the object.
70
70
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
71
+ * @param {string} [expand] You can expand product config in this endpoint.
71
72
  * @param {*} [options] Override http request option.
72
73
  * @throws {RequiredError}
73
74
  */
74
- getProductConfig: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ getProductConfig: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
76
  /**
76
77
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
77
78
  * @summary Retrieve the Product Config Version
@@ -183,12 +184,13 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
183
184
  /**
184
185
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
185
186
  * @summary Retrieve the Product Config
186
- * @param {string} code
187
+ * @param {string} code Unique identifier for the object.
187
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
+ * @param {string} [expand] You can expand product config in this endpoint.
188
190
  * @param {*} [options] Override http request option.
189
191
  * @throws {RequiredError}
190
192
  */
191
- getProductConfig(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>>;
193
+ getProductConfig(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>>;
192
194
  /**
193
195
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
194
196
  * @summary Retrieve the Product Config Version
@@ -300,12 +302,13 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
300
302
  /**
301
303
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
302
304
  * @summary Retrieve the Product Config
303
- * @param {string} code
305
+ * @param {string} code Unique identifier for the object.
304
306
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
307
+ * @param {string} [expand] You can expand product config in this endpoint.
305
308
  * @param {*} [options] Override http request option.
306
309
  * @throws {RequiredError}
307
310
  */
308
- getProductConfig(code: string, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass>;
311
+ getProductConfig(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass>;
309
312
  /**
310
313
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
311
314
  * @summary Retrieve the Product Config Version
@@ -446,7 +449,7 @@ export interface ProductConfigsApiDeleteProductConfigVersionRequest {
446
449
  */
447
450
  export interface ProductConfigsApiGetProductConfigRequest {
448
451
  /**
449
- *
452
+ * Unique identifier for the object.
450
453
  * @type {string}
451
454
  * @memberof ProductConfigsApiGetProductConfig
452
455
  */
@@ -457,6 +460,12 @@ export interface ProductConfigsApiGetProductConfigRequest {
457
460
  * @memberof ProductConfigsApiGetProductConfig
458
461
  */
459
462
  readonly authorization?: string;
463
+ /**
464
+ * You can expand product config in this endpoint.
465
+ * @type {string}
466
+ * @memberof ProductConfigsApiGetProductConfig
467
+ */
468
+ readonly expand?: string;
460
469
  }
461
470
  /**
462
471
  * Request parameters for getProductConfigVersion operation in ProductConfigsApi.
@@ -283,12 +283,13 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
283
283
  /**
284
284
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
285
285
  * @summary Retrieve the Product Config
286
- * @param {string} code
286
+ * @param {string} code Unique identifier for the object.
287
287
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
288
+ * @param {string} [expand] You can expand product config in this endpoint.
288
289
  * @param {*} [options] Override http request option.
289
290
  * @throws {RequiredError}
290
291
  */
291
- getProductConfig: function (code, authorization, options) {
292
+ getProductConfig: function (code, authorization, expand, options) {
292
293
  if (options === void 0) { options = {}; }
293
294
  return __awaiter(_this, void 0, void 0, function () {
294
295
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -314,6 +315,9 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
314
315
  // authentication bearer required
315
316
  // http bearer authentication required
316
317
  _a.sent();
318
+ if (expand !== undefined) {
319
+ localVarQueryParameter['expand'] = expand;
320
+ }
317
321
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
318
322
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
319
323
  }
@@ -769,17 +773,18 @@ var ProductConfigsApiFp = function (configuration) {
769
773
  /**
770
774
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
771
775
  * @summary Retrieve the Product Config
772
- * @param {string} code
776
+ * @param {string} code Unique identifier for the object.
773
777
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
778
+ * @param {string} [expand] You can expand product config in this endpoint.
774
779
  * @param {*} [options] Override http request option.
775
780
  * @throws {RequiredError}
776
781
  */
777
- getProductConfig: function (code, authorization, options) {
782
+ getProductConfig: function (code, authorization, expand, options) {
778
783
  return __awaiter(this, void 0, void 0, function () {
779
784
  var localVarAxiosArgs;
780
785
  return __generator(this, function (_a) {
781
786
  switch (_a.label) {
782
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfig(code, authorization, options)];
787
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfig(code, authorization, expand, options)];
783
788
  case 1:
784
789
  localVarAxiosArgs = _a.sent();
785
790
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -982,13 +987,14 @@ var ProductConfigsApiFactory = function (configuration, basePath, axios) {
982
987
  /**
983
988
  * Retrieves a product config by code **Required Permissions** \"policy-management.products.view\"
984
989
  * @summary Retrieve the Product Config
985
- * @param {string} code
990
+ * @param {string} code Unique identifier for the object.
986
991
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
992
+ * @param {string} [expand] You can expand product config in this endpoint.
987
993
  * @param {*} [options] Override http request option.
988
994
  * @throws {RequiredError}
989
995
  */
990
- getProductConfig: function (code, authorization, options) {
991
- return localVarFp.getProductConfig(code, authorization, options).then(function (request) { return request(axios, basePath); });
996
+ getProductConfig: function (code, authorization, expand, options) {
997
+ return localVarFp.getProductConfig(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
992
998
  },
993
999
  /**
994
1000
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
@@ -1144,7 +1150,7 @@ var ProductConfigsApi = /** @class */ (function (_super) {
1144
1150
  */
1145
1151
  ProductConfigsApi.prototype.getProductConfig = function (requestParameters, options) {
1146
1152
  var _this = this;
1147
- return (0, exports.ProductConfigsApiFp)(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1153
+ return (0, exports.ProductConfigsApiFp)(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1148
1154
  };
1149
1155
  /**
1150
1156
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
@@ -179,6 +179,9 @@ export * from './premium-override-dto';
179
179
  export * from './premium-override-request-class';
180
180
  export * from './premium-override-request-dto';
181
181
  export * from './product-class';
182
+ export * from './product-config-summary-class';
183
+ export * from './product-config-version-summary-class';
184
+ export * from './product-config-without-versions-class';
182
185
  export * from './product-factor-class';
183
186
  export * from './product-factor-for-version-class';
184
187
  export * from './product-factor-value-class';
@@ -195,6 +195,9 @@ __exportStar(require("./premium-override-dto"), exports);
195
195
  __exportStar(require("./premium-override-request-class"), exports);
196
196
  __exportStar(require("./premium-override-request-dto"), exports);
197
197
  __exportStar(require("./product-class"), exports);
198
+ __exportStar(require("./product-config-summary-class"), exports);
199
+ __exportStar(require("./product-config-version-summary-class"), exports);
200
+ __exportStar(require("./product-config-without-versions-class"), exports);
198
201
  __exportStar(require("./product-factor-class"), exports);
199
202
  __exportStar(require("./product-factor-for-version-class"), exports);
200
203
  __exportStar(require("./product-factor-value-class"), exports);
@@ -0,0 +1,79 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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
+ import { ProductConfigVersionSummaryClass } from './product-config-version-summary-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductConfigSummaryClass
17
+ */
18
+ export interface ProductConfigSummaryClass {
19
+ /**
20
+ * Unique numeric identifier
21
+ * @type {number}
22
+ * @memberof ProductConfigSummaryClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof ProductConfigSummaryClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * URL-friendly unique identifier
33
+ * @type {string}
34
+ * @memberof ProductConfigSummaryClass
35
+ */
36
+ 'slug': string;
37
+ /**
38
+ * URL-friendly product identifier
39
+ * @type {string}
40
+ * @memberof ProductConfigSummaryClass
41
+ */
42
+ 'productSlug': string;
43
+ /**
44
+ * Identifier for the related product version
45
+ * @type {number}
46
+ * @memberof ProductConfigSummaryClass
47
+ */
48
+ 'productVersionId': number;
49
+ /**
50
+ * Identifier of the user who created the record.
51
+ * @type {string}
52
+ * @memberof ProductConfigSummaryClass
53
+ */
54
+ 'createdBy': string;
55
+ /**
56
+ * Identifier of the user who last updated the record.
57
+ * @type {string}
58
+ * @memberof ProductConfigSummaryClass
59
+ */
60
+ 'updatedBy': string;
61
+ /**
62
+ * Time at which the object was created.
63
+ * @type {string}
64
+ * @memberof ProductConfigSummaryClass
65
+ */
66
+ 'createdAt': string;
67
+ /**
68
+ * Time at which the object was updated.
69
+ * @type {string}
70
+ * @memberof ProductConfigSummaryClass
71
+ */
72
+ 'updatedAt': string;
73
+ /**
74
+ * Product configuration versions
75
+ * @type {Array<ProductConfigVersionSummaryClass>}
76
+ * @memberof ProductConfigSummaryClass
77
+ */
78
+ 'versions': Array<ProductConfigVersionSummaryClass>;
79
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService 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 });
@@ -0,0 +1,78 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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 ProductConfigVersionSummaryClass
16
+ */
17
+ export interface ProductConfigVersionSummaryClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductConfigVersionSummaryClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ProductConfigVersionSummaryClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Current status of the product configuration version
32
+ * @type {string}
33
+ * @memberof ProductConfigVersionSummaryClass
34
+ */
35
+ 'status': ProductConfigVersionSummaryClassStatusEnum;
36
+ /**
37
+ * Version number of the product configuration version
38
+ * @type {number}
39
+ * @memberof ProductConfigVersionSummaryClass
40
+ */
41
+ 'version': number;
42
+ /**
43
+ * Unique code linking to the parent product configuration
44
+ * @type {string}
45
+ * @memberof ProductConfigVersionSummaryClass
46
+ */
47
+ 'productConfigCode': string;
48
+ /**
49
+ * Identifier of the user who created the record.
50
+ * @type {string}
51
+ * @memberof ProductConfigVersionSummaryClass
52
+ */
53
+ 'createdBy': string;
54
+ /**
55
+ * Identifier of the user who last updated the record.
56
+ * @type {string}
57
+ * @memberof ProductConfigVersionSummaryClass
58
+ */
59
+ 'updatedBy': string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof ProductConfigVersionSummaryClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof ProductConfigVersionSummaryClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
73
+ export declare const ProductConfigVersionSummaryClassStatusEnum: {
74
+ readonly Archived: "archived";
75
+ readonly Draft: "draft";
76
+ readonly Published: "published";
77
+ };
78
+ export type ProductConfigVersionSummaryClassStatusEnum = typeof ProductConfigVersionSummaryClassStatusEnum[keyof typeof ProductConfigVersionSummaryClassStatusEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService 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.ProductConfigVersionSummaryClassStatusEnum = void 0;
17
+ exports.ProductConfigVersionSummaryClassStatusEnum = {
18
+ Archived: 'archived',
19
+ Draft: 'draft',
20
+ Published: 'published'
21
+ };
@@ -0,0 +1,72 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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 ProductConfigWithoutVersionsClass
16
+ */
17
+ export interface ProductConfigWithoutVersionsClass {
18
+ /**
19
+ * Unique numeric identifier
20
+ * @type {number}
21
+ * @memberof ProductConfigWithoutVersionsClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ProductConfigWithoutVersionsClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * URL-friendly unique identifier
32
+ * @type {string}
33
+ * @memberof ProductConfigWithoutVersionsClass
34
+ */
35
+ 'slug': string;
36
+ /**
37
+ * URL-friendly product identifier
38
+ * @type {string}
39
+ * @memberof ProductConfigWithoutVersionsClass
40
+ */
41
+ 'productSlug': string;
42
+ /**
43
+ * Identifier for the related product version
44
+ * @type {number}
45
+ * @memberof ProductConfigWithoutVersionsClass
46
+ */
47
+ 'productVersionId': number;
48
+ /**
49
+ * Identifier of the user who created the record.
50
+ * @type {string}
51
+ * @memberof ProductConfigWithoutVersionsClass
52
+ */
53
+ 'createdBy': string;
54
+ /**
55
+ * Identifier of the user who last updated the record.
56
+ * @type {string}
57
+ * @memberof ProductConfigWithoutVersionsClass
58
+ */
59
+ 'updatedBy': string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof ProductConfigWithoutVersionsClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof ProductConfigWithoutVersionsClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService 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 });
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SharedProductConfigClass } from './shared-product-config-class';
12
+ import { ProductConfigSummaryClass } from './product-config-summary-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { SharedProductConfigClass } from './shared-product-config-class';
18
18
  export interface RestGetProductConfigResponseClass {
19
19
  /**
20
20
  * The product configuration
21
- * @type {SharedProductConfigClass}
21
+ * @type {ProductConfigSummaryClass}
22
22
  * @memberof RestGetProductConfigResponseClass
23
23
  */
24
- 'productConfig': SharedProductConfigClass;
24
+ 'productConfig': ProductConfigSummaryClass;
25
25
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SharedProductConfigVersionClass } from './shared-product-config-version-class';
12
+ import { ProductConfigVersionSummaryClass } from './product-config-version-summary-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import { SharedProductConfigVersionClass } from './shared-product-config-version
18
18
  export interface RestListProductConfigVersionsResponseClass {
19
19
  /**
20
20
  * List of product configuration versions
21
- * @type {Array<SharedProductConfigVersionClass>}
21
+ * @type {Array<ProductConfigVersionSummaryClass>}
22
22
  * @memberof RestListProductConfigVersionsResponseClass
23
23
  */
24
- 'items': Array<SharedProductConfigVersionClass>;
24
+ 'items': Array<ProductConfigVersionSummaryClass>;
25
25
  /**
26
26
  * Next page token.
27
27
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SharedProductConfigClass } from './shared-product-config-class';
12
+ import { ProductConfigSummaryClass } from './product-config-summary-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import { SharedProductConfigClass } from './shared-product-config-class';
18
18
  export interface RestListProductConfigsResponseClass {
19
19
  /**
20
20
  * List of product configurations
21
- * @type {Array<SharedProductConfigClass>}
21
+ * @type {Array<ProductConfigSummaryClass>}
22
22
  * @memberof RestListProductConfigsResponseClass
23
23
  */
24
- 'items': Array<SharedProductConfigClass>;
24
+ 'items': Array<ProductConfigSummaryClass>;
25
25
  /**
26
26
  * Next page token.
27
27
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SharedProductConfigClass } from './shared-product-config-class';
12
+ import { ProductConfigWithoutVersionsClass } from './product-config-without-versions-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { SharedProductConfigClass } from './shared-product-config-class';
18
18
  export interface RestUpdateProductConfigResponseClass {
19
19
  /**
20
20
  * The product configuration
21
- * @type {SharedProductConfigClass}
21
+ * @type {ProductConfigWithoutVersionsClass}
22
22
  * @memberof RestUpdateProductConfigResponseClass
23
23
  */
24
- 'productConfig': SharedProductConfigClass;
24
+ 'productConfig': ProductConfigWithoutVersionsClass;
25
25
  }
package/models/index.ts CHANGED
@@ -179,6 +179,9 @@ export * from './premium-override-dto';
179
179
  export * from './premium-override-request-class';
180
180
  export * from './premium-override-request-dto';
181
181
  export * from './product-class';
182
+ export * from './product-config-summary-class';
183
+ export * from './product-config-version-summary-class';
184
+ export * from './product-config-without-versions-class';
182
185
  export * from './product-factor-class';
183
186
  export * from './product-factor-for-version-class';
184
187
  export * from './product-factor-value-class';
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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
+ import { ProductConfigVersionSummaryClass } from './product-config-version-summary-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ProductConfigSummaryClass
22
+ */
23
+ export interface ProductConfigSummaryClass {
24
+ /**
25
+ * Unique numeric identifier
26
+ * @type {number}
27
+ * @memberof ProductConfigSummaryClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof ProductConfigSummaryClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * URL-friendly unique identifier
38
+ * @type {string}
39
+ * @memberof ProductConfigSummaryClass
40
+ */
41
+ 'slug': string;
42
+ /**
43
+ * URL-friendly product identifier
44
+ * @type {string}
45
+ * @memberof ProductConfigSummaryClass
46
+ */
47
+ 'productSlug': string;
48
+ /**
49
+ * Identifier for the related product version
50
+ * @type {number}
51
+ * @memberof ProductConfigSummaryClass
52
+ */
53
+ 'productVersionId': number;
54
+ /**
55
+ * Identifier of the user who created the record.
56
+ * @type {string}
57
+ * @memberof ProductConfigSummaryClass
58
+ */
59
+ 'createdBy': string;
60
+ /**
61
+ * Identifier of the user who last updated the record.
62
+ * @type {string}
63
+ * @memberof ProductConfigSummaryClass
64
+ */
65
+ 'updatedBy': string;
66
+ /**
67
+ * Time at which the object was created.
68
+ * @type {string}
69
+ * @memberof ProductConfigSummaryClass
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ * Time at which the object was updated.
74
+ * @type {string}
75
+ * @memberof ProductConfigSummaryClass
76
+ */
77
+ 'updatedAt': string;
78
+ /**
79
+ * Product configuration versions
80
+ * @type {Array<ProductConfigVersionSummaryClass>}
81
+ * @memberof ProductConfigSummaryClass
82
+ */
83
+ 'versions': Array<ProductConfigVersionSummaryClass>;
84
+ }
85
+
@@ -0,0 +1,87 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 ProductConfigVersionSummaryClass
21
+ */
22
+ export interface ProductConfigVersionSummaryClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ProductConfigVersionSummaryClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof ProductConfigVersionSummaryClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Current status of the product configuration version
37
+ * @type {string}
38
+ * @memberof ProductConfigVersionSummaryClass
39
+ */
40
+ 'status': ProductConfigVersionSummaryClassStatusEnum;
41
+ /**
42
+ * Version number of the product configuration version
43
+ * @type {number}
44
+ * @memberof ProductConfigVersionSummaryClass
45
+ */
46
+ 'version': number;
47
+ /**
48
+ * Unique code linking to the parent product configuration
49
+ * @type {string}
50
+ * @memberof ProductConfigVersionSummaryClass
51
+ */
52
+ 'productConfigCode': string;
53
+ /**
54
+ * Identifier of the user who created the record.
55
+ * @type {string}
56
+ * @memberof ProductConfigVersionSummaryClass
57
+ */
58
+ 'createdBy': string;
59
+ /**
60
+ * Identifier of the user who last updated the record.
61
+ * @type {string}
62
+ * @memberof ProductConfigVersionSummaryClass
63
+ */
64
+ 'updatedBy': string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof ProductConfigVersionSummaryClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof ProductConfigVersionSummaryClass
75
+ */
76
+ 'updatedAt': string;
77
+ }
78
+
79
+ export const ProductConfigVersionSummaryClassStatusEnum = {
80
+ Archived: 'archived',
81
+ Draft: 'draft',
82
+ Published: 'published'
83
+ } as const;
84
+
85
+ export type ProductConfigVersionSummaryClassStatusEnum = typeof ProductConfigVersionSummaryClassStatusEnum[keyof typeof ProductConfigVersionSummaryClassStatusEnum];
86
+
87
+
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 ProductConfigWithoutVersionsClass
21
+ */
22
+ export interface ProductConfigWithoutVersionsClass {
23
+ /**
24
+ * Unique numeric identifier
25
+ * @type {number}
26
+ * @memberof ProductConfigWithoutVersionsClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof ProductConfigWithoutVersionsClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * URL-friendly unique identifier
37
+ * @type {string}
38
+ * @memberof ProductConfigWithoutVersionsClass
39
+ */
40
+ 'slug': string;
41
+ /**
42
+ * URL-friendly product identifier
43
+ * @type {string}
44
+ * @memberof ProductConfigWithoutVersionsClass
45
+ */
46
+ 'productSlug': string;
47
+ /**
48
+ * Identifier for the related product version
49
+ * @type {number}
50
+ * @memberof ProductConfigWithoutVersionsClass
51
+ */
52
+ 'productVersionId': number;
53
+ /**
54
+ * Identifier of the user who created the record.
55
+ * @type {string}
56
+ * @memberof ProductConfigWithoutVersionsClass
57
+ */
58
+ 'createdBy': string;
59
+ /**
60
+ * Identifier of the user who last updated the record.
61
+ * @type {string}
62
+ * @memberof ProductConfigWithoutVersionsClass
63
+ */
64
+ 'updatedBy': string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof ProductConfigWithoutVersionsClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof ProductConfigWithoutVersionsClass
75
+ */
76
+ 'updatedAt': string;
77
+ }
78
+
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { SharedProductConfigClass } from './shared-product-config-class';
16
+ import { ProductConfigSummaryClass } from './product-config-summary-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,9 +23,9 @@ import { SharedProductConfigClass } from './shared-product-config-class';
23
23
  export interface RestGetProductConfigResponseClass {
24
24
  /**
25
25
  * The product configuration
26
- * @type {SharedProductConfigClass}
26
+ * @type {ProductConfigSummaryClass}
27
27
  * @memberof RestGetProductConfigResponseClass
28
28
  */
29
- 'productConfig': SharedProductConfigClass;
29
+ 'productConfig': ProductConfigSummaryClass;
30
30
  }
31
31
 
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { SharedProductConfigVersionClass } from './shared-product-config-version-class';
16
+ import { ProductConfigVersionSummaryClass } from './product-config-version-summary-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,10 +23,10 @@ import { SharedProductConfigVersionClass } from './shared-product-config-version
23
23
  export interface RestListProductConfigVersionsResponseClass {
24
24
  /**
25
25
  * List of product configuration versions
26
- * @type {Array<SharedProductConfigVersionClass>}
26
+ * @type {Array<ProductConfigVersionSummaryClass>}
27
27
  * @memberof RestListProductConfigVersionsResponseClass
28
28
  */
29
- 'items': Array<SharedProductConfigVersionClass>;
29
+ 'items': Array<ProductConfigVersionSummaryClass>;
30
30
  /**
31
31
  * Next page token.
32
32
  * @type {string}
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { SharedProductConfigClass } from './shared-product-config-class';
16
+ import { ProductConfigSummaryClass } from './product-config-summary-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,10 +23,10 @@ import { SharedProductConfigClass } from './shared-product-config-class';
23
23
  export interface RestListProductConfigsResponseClass {
24
24
  /**
25
25
  * List of product configurations
26
- * @type {Array<SharedProductConfigClass>}
26
+ * @type {Array<ProductConfigSummaryClass>}
27
27
  * @memberof RestListProductConfigsResponseClass
28
28
  */
29
- 'items': Array<SharedProductConfigClass>;
29
+ 'items': Array<ProductConfigSummaryClass>;
30
30
  /**
31
31
  * Next page token.
32
32
  * @type {string}
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { SharedProductConfigClass } from './shared-product-config-class';
16
+ import { ProductConfigWithoutVersionsClass } from './product-config-without-versions-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,9 +23,9 @@ import { SharedProductConfigClass } from './shared-product-config-class';
23
23
  export interface RestUpdateProductConfigResponseClass {
24
24
  /**
25
25
  * The product configuration
26
- * @type {SharedProductConfigClass}
26
+ * @type {ProductConfigWithoutVersionsClass}
27
27
  * @memberof RestUpdateProductConfigResponseClass
28
28
  */
29
- 'productConfig': SharedProductConfigClass;
29
+ 'productConfig': ProductConfigWithoutVersionsClass;
30
30
  }
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.93.1-beta.15",
3
+ "version": "1.93.1-beta.16",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [