@emilgroup/insurance-sdk-node 1.7.3 → 1.8.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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/api/insured-objects-api.ts +101 -0
- package/api/leads-api.ts +8 -8
- package/api/policies-api.ts +21 -6
- package/api/product-factors-api.ts +4 -4
- package/api/product-versions-api.ts +0 -103
- package/dist/api/insured-objects-api.d.ts +55 -0
- package/dist/api/insured-objects-api.js +92 -0
- package/dist/api/leads-api.d.ts +8 -8
- package/dist/api/leads-api.js +8 -8
- package/dist/api/policies-api.d.ts +12 -3
- package/dist/api/policies-api.js +13 -6
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +4 -4
- package/dist/api/product-versions-api.d.ts +0 -53
- package/dist/api/product-versions-api.js +0 -89
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/models/index.ts +0 -1
- package/package.json +2 -2
- package/dist/models/clone-product-version-response-class.d.ts +0 -25
- package/dist/models/clone-product-version-response-class.js +0 -15
- package/models/clone-product-version-response-class.ts +0 -31
|
@@ -145,6 +145,54 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
150
|
+
* @summary Delete the insured object
|
|
151
|
+
* @param {string} id
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'id' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('deleteInsuredObject', 'id', id);
|
|
165
|
+
localVarPath = "/insuranceservice/v1/insured-objects/{id}"
|
|
166
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
|
+
case 1:
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
148
196
|
/**
|
|
149
197
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
150
198
|
* @summary Retrieve the insured object
|
|
@@ -294,6 +342,27 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
294
342
|
});
|
|
295
343
|
});
|
|
296
344
|
},
|
|
345
|
+
/**
|
|
346
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
347
|
+
* @summary Delete the insured object
|
|
348
|
+
* @param {string} id
|
|
349
|
+
* @param {string} [authorization] Bearer Token
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
355
|
+
var localVarAxiosArgs;
|
|
356
|
+
return __generator(this, function (_a) {
|
|
357
|
+
switch (_a.label) {
|
|
358
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInsuredObject(id, authorization, options)];
|
|
359
|
+
case 1:
|
|
360
|
+
localVarAxiosArgs = _a.sent();
|
|
361
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
},
|
|
297
366
|
/**
|
|
298
367
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
299
368
|
* @summary Retrieve the insured object
|
|
@@ -363,6 +432,17 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
363
432
|
createInsuredObject: function (createInsuredObjectRequestDto, authorization, options) {
|
|
364
433
|
return localVarFp.createInsuredObject(createInsuredObjectRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
365
434
|
},
|
|
435
|
+
/**
|
|
436
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
437
|
+
* @summary Delete the insured object
|
|
438
|
+
* @param {string} id
|
|
439
|
+
* @param {string} [authorization] Bearer Token
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
444
|
+
return localVarFp.deleteInsuredObject(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
445
|
+
},
|
|
366
446
|
/**
|
|
367
447
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
368
448
|
* @summary Retrieve the insured object
|
|
@@ -417,6 +497,18 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
417
497
|
var _this = this;
|
|
418
498
|
return (0, exports.InsuredObjectsApiFp)(this.configuration).createInsuredObject(requestParameters.createInsuredObjectRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
419
499
|
};
|
|
500
|
+
/**
|
|
501
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it.
|
|
502
|
+
* @summary Delete the insured object
|
|
503
|
+
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
* @memberof InsuredObjectsApi
|
|
507
|
+
*/
|
|
508
|
+
InsuredObjectsApi.prototype.deleteInsuredObject = function (requestParameters, options) {
|
|
509
|
+
var _this = this;
|
|
510
|
+
return (0, exports.InsuredObjectsApiFp)(this.configuration).deleteInsuredObject(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
511
|
+
};
|
|
420
512
|
/**
|
|
421
513
|
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information.
|
|
422
514
|
* @summary Retrieve the insured object
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
43
43
|
*/
|
|
44
44
|
getLead: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* Returns a list of
|
|
47
|
-
* @summary List
|
|
46
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
47
|
+
* @summary List leads
|
|
48
48
|
* @param {string} [authorization] Bearer Token
|
|
49
49
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
50
50
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -92,8 +92,8 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
*/
|
|
93
93
|
getLead(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
|
|
94
94
|
/**
|
|
95
|
-
* Returns a list of
|
|
96
|
-
* @summary List
|
|
95
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
96
|
+
* @summary List leads
|
|
97
97
|
* @param {string} [authorization] Bearer Token
|
|
98
98
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
99
99
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -141,8 +141,8 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
141
141
|
*/
|
|
142
142
|
getLead(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
|
|
143
143
|
/**
|
|
144
|
-
* Returns a list of
|
|
145
|
-
* @summary List
|
|
144
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
|
+
* @summary List leads
|
|
146
146
|
* @param {string} [authorization] Bearer Token
|
|
147
147
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
148
148
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -309,8 +309,8 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
309
309
|
*/
|
|
310
310
|
getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
|
|
311
311
|
/**
|
|
312
|
-
* Returns a list of
|
|
313
|
-
* @summary List
|
|
312
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
313
|
+
* @summary List leads
|
|
314
314
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
package/dist/api/leads-api.js
CHANGED
|
@@ -200,8 +200,8 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
200
200
|
});
|
|
201
201
|
},
|
|
202
202
|
/**
|
|
203
|
-
* Returns a list of
|
|
204
|
-
* @summary List
|
|
203
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
204
|
+
* @summary List leads
|
|
205
205
|
* @param {string} [authorization] Bearer Token
|
|
206
206
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
207
207
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -374,8 +374,8 @@ var LeadsApiFp = function (configuration) {
|
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
|
-
* Returns a list of
|
|
378
|
-
* @summary List
|
|
377
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
|
+
* @summary List leads
|
|
379
379
|
* @param {string} [authorization] Bearer Token
|
|
380
380
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
381
381
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -455,8 +455,8 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
455
455
|
return localVarFp.getLead(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
456
456
|
},
|
|
457
457
|
/**
|
|
458
|
-
* Returns a list of
|
|
459
|
-
* @summary List
|
|
458
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
459
|
+
* @summary List leads
|
|
460
460
|
* @param {string} [authorization] Bearer Token
|
|
461
461
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
462
462
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -521,8 +521,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
521
521
|
return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
522
522
|
};
|
|
523
523
|
/**
|
|
524
|
-
* Returns a list of
|
|
525
|
-
* @summary List
|
|
524
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
525
|
+
* @summary List leads
|
|
526
526
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
528
528
|
* @throws {RequiredError}
|
|
@@ -105,11 +105,12 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
105
105
|
* Withdraw policy by tenant.
|
|
106
106
|
* @summary Withdraw policy by tenant
|
|
107
107
|
* @param {string} policyCode The policy code.
|
|
108
|
+
* @param {object} body
|
|
108
109
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
109
110
|
* @param {*} [options] Override http request option.
|
|
110
111
|
* @throws {RequiredError}
|
|
111
112
|
*/
|
|
112
|
-
withdrawPolicy: (policyCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
|
+
withdrawPolicy: (policyCode: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
114
|
};
|
|
114
115
|
/**
|
|
115
116
|
* PoliciesApi - functional programming interface
|
|
@@ -193,11 +194,12 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
193
194
|
* Withdraw policy by tenant.
|
|
194
195
|
* @summary Withdraw policy by tenant
|
|
195
196
|
* @param {string} policyCode The policy code.
|
|
197
|
+
* @param {object} body
|
|
196
198
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
199
|
* @param {*} [options] Override http request option.
|
|
198
200
|
* @throws {RequiredError}
|
|
199
201
|
*/
|
|
200
|
-
withdrawPolicy(policyCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WithdrawPolicyResponseClass>>;
|
|
202
|
+
withdrawPolicy(policyCode: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WithdrawPolicyResponseClass>>;
|
|
201
203
|
};
|
|
202
204
|
/**
|
|
203
205
|
* PoliciesApi - factory interface
|
|
@@ -281,11 +283,12 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
281
283
|
* Withdraw policy by tenant.
|
|
282
284
|
* @summary Withdraw policy by tenant
|
|
283
285
|
* @param {string} policyCode The policy code.
|
|
286
|
+
* @param {object} body
|
|
284
287
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
285
288
|
* @param {*} [options] Override http request option.
|
|
286
289
|
* @throws {RequiredError}
|
|
287
290
|
*/
|
|
288
|
-
withdrawPolicy(policyCode: string, authorization?: string, options?: any): AxiosPromise<WithdrawPolicyResponseClass>;
|
|
291
|
+
withdrawPolicy(policyCode: string, body: object, authorization?: string, options?: any): AxiosPromise<WithdrawPolicyResponseClass>;
|
|
289
292
|
};
|
|
290
293
|
/**
|
|
291
294
|
* Request parameters for createPolicy operation in PoliciesApi.
|
|
@@ -492,6 +495,12 @@ export interface PoliciesApiWithdrawPolicyRequest {
|
|
|
492
495
|
* @memberof PoliciesApiWithdrawPolicy
|
|
493
496
|
*/
|
|
494
497
|
readonly policyCode: string;
|
|
498
|
+
/**
|
|
499
|
+
*
|
|
500
|
+
* @type {object}
|
|
501
|
+
* @memberof PoliciesApiWithdrawPolicy
|
|
502
|
+
*/
|
|
503
|
+
readonly body: object;
|
|
495
504
|
/**
|
|
496
505
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
497
506
|
* @type {string}
|
package/dist/api/policies-api.js
CHANGED
|
@@ -480,11 +480,12 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
480
480
|
* Withdraw policy by tenant.
|
|
481
481
|
* @summary Withdraw policy by tenant
|
|
482
482
|
* @param {string} policyCode The policy code.
|
|
483
|
+
* @param {object} body
|
|
483
484
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
484
485
|
* @param {*} [options] Override http request option.
|
|
485
486
|
* @throws {RequiredError}
|
|
486
487
|
*/
|
|
487
|
-
withdrawPolicy: function (policyCode, authorization, options) {
|
|
488
|
+
withdrawPolicy: function (policyCode, body, authorization, options) {
|
|
488
489
|
if (options === void 0) { options = {}; }
|
|
489
490
|
return __awaiter(_this, void 0, void 0, function () {
|
|
490
491
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -493,6 +494,8 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
493
494
|
case 0:
|
|
494
495
|
// verify required parameter 'policyCode' is not null or undefined
|
|
495
496
|
(0, common_1.assertParamExists)('withdrawPolicy', 'policyCode', policyCode);
|
|
497
|
+
// verify required parameter 'body' is not null or undefined
|
|
498
|
+
(0, common_1.assertParamExists)('withdrawPolicy', 'body', body);
|
|
496
499
|
localVarPath = "/insuranceservice/v1/policies/{policyCode}/withdraw"
|
|
497
500
|
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)));
|
|
498
501
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -513,9 +516,11 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
513
516
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
514
517
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
515
518
|
}
|
|
519
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
516
520
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
517
521
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
522
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
523
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
519
524
|
return [2 /*return*/, {
|
|
520
525
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
521
526
|
options: localVarRequestOptions,
|
|
@@ -695,16 +700,17 @@ var PoliciesApiFp = function (configuration) {
|
|
|
695
700
|
* Withdraw policy by tenant.
|
|
696
701
|
* @summary Withdraw policy by tenant
|
|
697
702
|
* @param {string} policyCode The policy code.
|
|
703
|
+
* @param {object} body
|
|
698
704
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
699
705
|
* @param {*} [options] Override http request option.
|
|
700
706
|
* @throws {RequiredError}
|
|
701
707
|
*/
|
|
702
|
-
withdrawPolicy: function (policyCode, authorization, options) {
|
|
708
|
+
withdrawPolicy: function (policyCode, body, authorization, options) {
|
|
703
709
|
return __awaiter(this, void 0, void 0, function () {
|
|
704
710
|
var localVarAxiosArgs;
|
|
705
711
|
return __generator(this, function (_a) {
|
|
706
712
|
switch (_a.label) {
|
|
707
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.withdrawPolicy(policyCode, authorization, options)];
|
|
713
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.withdrawPolicy(policyCode, body, authorization, options)];
|
|
708
714
|
case 1:
|
|
709
715
|
localVarAxiosArgs = _a.sent();
|
|
710
716
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -813,12 +819,13 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
813
819
|
* Withdraw policy by tenant.
|
|
814
820
|
* @summary Withdraw policy by tenant
|
|
815
821
|
* @param {string} policyCode The policy code.
|
|
822
|
+
* @param {object} body
|
|
816
823
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
817
824
|
* @param {*} [options] Override http request option.
|
|
818
825
|
* @throws {RequiredError}
|
|
819
826
|
*/
|
|
820
|
-
withdrawPolicy: function (policyCode, authorization, options) {
|
|
821
|
-
return localVarFp.withdrawPolicy(policyCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
827
|
+
withdrawPolicy: function (policyCode, body, authorization, options) {
|
|
828
|
+
return localVarFp.withdrawPolicy(policyCode, body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
822
829
|
},
|
|
823
830
|
};
|
|
824
831
|
};
|
|
@@ -929,7 +936,7 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
929
936
|
*/
|
|
930
937
|
PoliciesApi.prototype.withdrawPolicy = function (requestParameters, options) {
|
|
931
938
|
var _this = this;
|
|
932
|
-
return (0, exports.PoliciesApiFp)(this.configuration).withdrawPolicy(requestParameters.policyCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
939
|
+
return (0, exports.PoliciesApiFp)(this.configuration).withdrawPolicy(requestParameters.policyCode, requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
933
940
|
};
|
|
934
941
|
return PoliciesApi;
|
|
935
942
|
}(base_1.BaseAPI));
|
|
@@ -48,7 +48,7 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
|
|
|
48
48
|
getProductFactorValue: (productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
49
|
/**
|
|
50
50
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
51
|
-
* @summary
|
|
51
|
+
* @summary List product factors for version
|
|
52
52
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
53
53
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
54
54
|
* @param {string} [authorization] Bearer Token
|
|
@@ -121,7 +121,7 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorValueResponseClass>>;
|
|
122
122
|
/**
|
|
123
123
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
124
|
-
* @summary
|
|
124
|
+
* @summary List product factors for version
|
|
125
125
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
126
126
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
127
127
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
|
|
|
194
194
|
getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: any): AxiosPromise<GetProductFactorValueResponseClass>;
|
|
195
195
|
/**
|
|
196
196
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
197
|
-
* @summary
|
|
197
|
+
* @summary List product factors for version
|
|
198
198
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
199
199
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -456,7 +456,7 @@ export declare class ProductFactorsApi extends BaseAPI {
|
|
|
456
456
|
getProductFactorValue(requestParameters: ProductFactorsApiGetProductFactorValueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorValueResponseClass, any>>;
|
|
457
457
|
/**
|
|
458
458
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
459
|
-
* @summary
|
|
459
|
+
* @summary List product factors for version
|
|
460
460
|
* @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
|
|
461
461
|
* @param {*} [options] Override http request option.
|
|
462
462
|
* @throws {RequiredError}
|
|
@@ -224,7 +224,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
224
224
|
},
|
|
225
225
|
/**
|
|
226
226
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
227
|
-
* @summary
|
|
227
|
+
* @summary List product factors for version
|
|
228
228
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
229
229
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
230
230
|
* @param {string} [authorization] Bearer Token
|
|
@@ -515,7 +515,7 @@ var ProductFactorsApiFp = function (configuration) {
|
|
|
515
515
|
},
|
|
516
516
|
/**
|
|
517
517
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
518
|
-
* @summary
|
|
518
|
+
* @summary List product factors for version
|
|
519
519
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
520
520
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
521
521
|
* @param {string} [authorization] Bearer Token
|
|
@@ -644,7 +644,7 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
|
|
|
644
644
|
},
|
|
645
645
|
/**
|
|
646
646
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
647
|
-
* @summary
|
|
647
|
+
* @summary List product factors for version
|
|
648
648
|
* @param {number} productVersionId Unique identifier referencing the product Version.
|
|
649
649
|
* @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
|
|
650
650
|
* @param {string} [authorization] Bearer Token
|
|
@@ -734,7 +734,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
|
|
|
734
734
|
};
|
|
735
735
|
/**
|
|
736
736
|
* Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
|
|
737
|
-
* @summary
|
|
737
|
+
* @summary List product factors for version
|
|
738
738
|
* @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
|
|
739
739
|
* @param {*} [options] Override http request option.
|
|
740
740
|
* @throws {RequiredError}
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CloneProductVersionRequestDto } from '../models';
|
|
16
|
-
import { CloneProductVersionResponseClass } from '../models';
|
|
17
15
|
import { GetProductVersionResponseClass } from '../models';
|
|
18
16
|
import { UpdateProductVersionRequestDto } from '../models';
|
|
19
17
|
import { UpdateProductVersionResponseClass } from '../models';
|
|
@@ -22,14 +20,6 @@ import { UpdateProductVersionResponseClass } from '../models';
|
|
|
22
20
|
* @export
|
|
23
21
|
*/
|
|
24
22
|
export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
28
|
-
* @param {string} [authorization] Bearer Token
|
|
29
|
-
* @param {*} [options] Override http request option.
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
*/
|
|
32
|
-
cloneProductVersion: (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
23
|
/**
|
|
34
24
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
35
25
|
* @summary Retrieve the product version
|
|
@@ -56,14 +46,6 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
56
46
|
* @export
|
|
57
47
|
*/
|
|
58
48
|
export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
62
|
-
* @param {string} [authorization] Bearer Token
|
|
63
|
-
* @param {*} [options] Override http request option.
|
|
64
|
-
* @throws {RequiredError}
|
|
65
|
-
*/
|
|
66
|
-
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>>;
|
|
67
49
|
/**
|
|
68
50
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
69
51
|
* @summary Retrieve the product version
|
|
@@ -90,14 +72,6 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
90
72
|
* @export
|
|
91
73
|
*/
|
|
92
74
|
export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
96
|
-
* @param {string} [authorization] Bearer Token
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass>;
|
|
101
75
|
/**
|
|
102
76
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
103
77
|
* @summary Retrieve the product version
|
|
@@ -119,25 +93,6 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
119
93
|
*/
|
|
120
94
|
updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
|
|
121
95
|
};
|
|
122
|
-
/**
|
|
123
|
-
* Request parameters for cloneProductVersion operation in ProductVersionsApi.
|
|
124
|
-
* @export
|
|
125
|
-
* @interface ProductVersionsApiCloneProductVersionRequest
|
|
126
|
-
*/
|
|
127
|
-
export interface ProductVersionsApiCloneProductVersionRequest {
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {CloneProductVersionRequestDto}
|
|
131
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
132
|
-
*/
|
|
133
|
-
readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto;
|
|
134
|
-
/**
|
|
135
|
-
* Bearer Token
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @memberof ProductVersionsApiCloneProductVersion
|
|
138
|
-
*/
|
|
139
|
-
readonly authorization?: string;
|
|
140
|
-
}
|
|
141
96
|
/**
|
|
142
97
|
* Request parameters for getProductVersion operation in ProductVersionsApi.
|
|
143
98
|
* @export
|
|
@@ -195,14 +150,6 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
195
150
|
* @extends {BaseAPI}
|
|
196
151
|
*/
|
|
197
152
|
export declare class ProductVersionsApi extends BaseAPI {
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
201
|
-
* @param {*} [options] Override http request option.
|
|
202
|
-
* @throws {RequiredError}
|
|
203
|
-
* @memberof ProductVersionsApi
|
|
204
|
-
*/
|
|
205
|
-
cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneProductVersionResponseClass, any>>;
|
|
206
153
|
/**
|
|
207
154
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
208
155
|
* @summary Retrieve the product version
|
|
@@ -96,54 +96,6 @@ var FormData = require('form-data');
|
|
|
96
96
|
var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
102
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
105
|
-
*/
|
|
106
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
107
|
-
if (options === void 0) { options = {}; }
|
|
108
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
109
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
-
return __generator(this, function (_a) {
|
|
111
|
-
switch (_a.label) {
|
|
112
|
-
case 0:
|
|
113
|
-
// verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto);
|
|
115
|
-
localVarPath = "/insuranceservice/v1/product-versions/clone";
|
|
116
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
-
if (configuration) {
|
|
118
|
-
baseOptions = configuration.baseOptions;
|
|
119
|
-
baseAccessToken = configuration.accessToken;
|
|
120
|
-
}
|
|
121
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
-
localVarHeaderParameter = {};
|
|
123
|
-
localVarQueryParameter = {};
|
|
124
|
-
// authentication bearer required
|
|
125
|
-
// http bearer authentication required
|
|
126
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
127
|
-
case 1:
|
|
128
|
-
// authentication bearer required
|
|
129
|
-
// http bearer authentication required
|
|
130
|
-
_a.sent();
|
|
131
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
|
-
}
|
|
134
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneProductVersionRequestDto, localVarRequestOptions, configuration);
|
|
139
|
-
return [2 /*return*/, {
|
|
140
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
|
-
options: localVarRequestOptions,
|
|
142
|
-
}];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
},
|
|
147
99
|
/**
|
|
148
100
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
149
101
|
* @summary Retrieve the product version
|
|
@@ -261,26 +213,6 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
261
213
|
var ProductVersionsApiFp = function (configuration) {
|
|
262
214
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
263
215
|
return {
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
267
|
-
* @param {string} [authorization] Bearer Token
|
|
268
|
-
* @param {*} [options] Override http request option.
|
|
269
|
-
* @throws {RequiredError}
|
|
270
|
-
*/
|
|
271
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
272
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
273
|
-
var localVarAxiosArgs;
|
|
274
|
-
return __generator(this, function (_a) {
|
|
275
|
-
switch (_a.label) {
|
|
276
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options)];
|
|
277
|
-
case 1:
|
|
278
|
-
localVarAxiosArgs = _a.sent();
|
|
279
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
});
|
|
283
|
-
},
|
|
284
216
|
/**
|
|
285
217
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
286
218
|
* @summary Retrieve the product version
|
|
@@ -335,16 +267,6 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
335
267
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
336
268
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
337
269
|
return {
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
341
|
-
* @param {string} [authorization] Bearer Token
|
|
342
|
-
* @param {*} [options] Override http request option.
|
|
343
|
-
* @throws {RequiredError}
|
|
344
|
-
*/
|
|
345
|
-
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
346
|
-
return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
347
|
-
},
|
|
348
270
|
/**
|
|
349
271
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
350
272
|
* @summary Retrieve the product version
|
|
@@ -383,17 +305,6 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
383
305
|
function ProductVersionsApi() {
|
|
384
306
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
385
307
|
}
|
|
386
|
-
/**
|
|
387
|
-
*
|
|
388
|
-
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
389
|
-
* @param {*} [options] Override http request option.
|
|
390
|
-
* @throws {RequiredError}
|
|
391
|
-
* @memberof ProductVersionsApi
|
|
392
|
-
*/
|
|
393
|
-
ProductVersionsApi.prototype.cloneProductVersion = function (requestParameters, options) {
|
|
394
|
-
var _this = this;
|
|
395
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
396
|
-
};
|
|
397
308
|
/**
|
|
398
309
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
399
310
|
* @summary Retrieve the product version
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './calculate-custom-premium-request-dto';
|
|
2
2
|
export * from './calculate-premium-request-dto';
|
|
3
3
|
export * from './clone-product-version-request-dto';
|
|
4
|
-
export * from './clone-product-version-response-class';
|
|
5
4
|
export * from './create-account-request-dto';
|
|
6
5
|
export * from './create-bank-account-request-dto';
|
|
7
6
|
export * from './create-custom-application-request-dto';
|