@veloceapps/api 8.0.0-65 → 8.0.0-66
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/portals-api.service.mjs +9 -2
- package/fesm2015/veloceapps-api.mjs +7 -0
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +7 -0
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/portals-api.service.d.ts +3 -1
- package/package.json +1 -1
@@ -2935,6 +2935,13 @@ class PortalsApiService {
|
|
2935
2935
|
url: `${this.serviceUrl}/${id}/restore`,
|
2936
2936
|
});
|
2937
2937
|
};
|
2938
|
+
this.duplicatePortal$ = (cloneRequest) => {
|
2939
|
+
return this.baseHttpService.api({
|
2940
|
+
url: `${this.serviceUrl}/${cloneRequest.id}/clone`,
|
2941
|
+
method: 'post',
|
2942
|
+
body: cloneRequest,
|
2943
|
+
});
|
2944
|
+
};
|
2938
2945
|
this.getPortal$ = (id) => {
|
2939
2946
|
return this.baseHttpService.api({
|
2940
2947
|
url: `${this.serviceUrl}/${id}`,
|