@veloceapps/api 8.0.0-69 → 8.0.0-70

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.
@@ -2886,6 +2886,15 @@ class VeloceObjectsApiService {
2886
2886
  url: `${this.serviceUrl}/${id}`,
2887
2887
  });
2888
2888
  };
2889
+ this.duplicateObject$ = (body) => {
2890
+ return this.baseHttpService
2891
+ .api({
2892
+ method: 'post',
2893
+ url: `${this.serviceUrl}/${body.id}/clone`,
2894
+ body,
2895
+ })
2896
+ .pipe(map(response => response.clonedRecordId));
2897
+ };
2889
2898
  this.restoreObject$ = (id) => {
2890
2899
  return this.baseHttpService.api({
2891
2900
  method: 'patch',