@veloceapps/api 8.0.0-45 → 8.0.0-47

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.
@@ -2930,6 +2930,20 @@ class PortalsApiService {
2930
2930
  body: expression || {},
2931
2931
  });
2932
2932
  };
2933
+ this.removePortal$ = (id) => {
2934
+ return of(id); // remove when API will be ready
2935
+ return this.baseHttpService.api({
2936
+ url: `${this.serviceUrl}/${id}`,
2937
+ method: 'delete',
2938
+ });
2939
+ };
2940
+ this.restore$ = (id) => {
2941
+ return of(); // remove what API will be ready
2942
+ return this.baseHttpService.api({
2943
+ method: 'patch',
2944
+ url: `${this.serviceUrl}/${id}/restore`,
2945
+ });
2946
+ };
2933
2947
  }
2934
2948
  }
2935
2949
  PortalsApiService.MAX_RESULTS = 60;