@rolatech/angular-services 20.0.0-beta.13 → 20.0.0-beta.14

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.
@@ -1547,6 +1547,9 @@ class PropertyService extends BaseService {
1547
1547
  withCredentials: true,
1548
1548
  });
1549
1549
  }
1550
+ export() {
1551
+ return this.http.get(`${this.actionUrl}/export`, { withCredentials: true });
1552
+ }
1550
1553
  archived(propertyId) {
1551
1554
  return this.http.post(`${this.actionUrl}/${propertyId}/archived`, {}, {
1552
1555
  withCredentials: true,
@@ -1883,6 +1886,35 @@ class PropertyService extends BaseService {
1883
1886
  deleteTenant(id) {
1884
1887
  return this.http.delete(`${this.actionUrl}/tenants/${id}`, { withCredentials: true });
1885
1888
  }
1889
+ //COS
1890
+ uploadVideoTourInit(propertyId, data) {
1891
+ return this.http.post(`${this.actionUrl}/${propertyId}/video-tour/init`, data, {
1892
+ withCredentials: true,
1893
+ });
1894
+ }
1895
+ uploadVideoTourPartsToProperty(propertyId, data) {
1896
+ return this.http.post(`${this.actionUrl}/${propertyId}/video-tour/parts`, data, {
1897
+ withCredentials: true,
1898
+ });
1899
+ }
1900
+ completePartUpload(propertyId, data) {
1901
+ return this.http.put(`${this.actionUrl}/${propertyId}/video-tour/parts`, data, {
1902
+ withCredentials: true,
1903
+ });
1904
+ }
1905
+ uploadVideoToProperty(propertyId, data) {
1906
+ return this.http.post(`${this.actionUrl}/${propertyId}/video-tour`, data, {
1907
+ withCredentials: true,
1908
+ });
1909
+ }
1910
+ deletePropertyVideo(propertyId, videoId) {
1911
+ return this.http.delete(`${this.actionUrl}/${propertyId}/video-tour/${videoId}`, { withCredentials: true });
1912
+ }
1913
+ uploadPropertyVideoThumbnail(videoId, data) {
1914
+ return this.http.post(`${this.actionUrl}/video-tour/${videoId}/thumbnail`, data, {
1915
+ withCredentials: true,
1916
+ });
1917
+ }
1886
1918
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1887
1919
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PropertyService, providedIn: 'root' });
1888
1920
  }