@veloceapps/api 8.0.0-66 → 8.0.0-68
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/esm2020/lib/services/configuration-api.service.mjs +21 -1
- package/fesm2015/veloceapps-api.mjs +17 -0
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +20 -0
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/configuration-api.service.d.ts +5 -0
- package/package.json +1 -1
@@ -404,6 +404,26 @@ class ConfigurationApiService {
|
|
404
404
|
}
|
405
405
|
}));
|
406
406
|
}
|
407
|
+
customConfigurePrice({ url, configurationRequest, runtimeModel, }) {
|
408
|
+
return this.httpService
|
409
|
+
.api({
|
410
|
+
method: 'post',
|
411
|
+
url,
|
412
|
+
body: configurationRequest,
|
413
|
+
errorHandler: e => throwError(e),
|
414
|
+
})
|
415
|
+
.pipe(map(configurePrice => {
|
416
|
+
if (runtimeModel) {
|
417
|
+
return {
|
418
|
+
...configurePrice,
|
419
|
+
lineItem: this.updatePortDomains(configurePrice.lineItem, runtimeModel),
|
420
|
+
};
|
421
|
+
}
|
422
|
+
else {
|
423
|
+
return configurePrice;
|
424
|
+
}
|
425
|
+
}));
|
426
|
+
}
|
407
427
|
getRuntimeDataByProductId(productId, offeringId) {
|
408
428
|
return this.httpService
|
409
429
|
.api({
|