@rolatech/angular-services 20.2.9-beta.1 → 20.2.9-beta.3

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.
@@ -3770,6 +3770,20 @@ class PropertyOfferCounterService extends BaseService {
3770
3770
  withCredentials: true,
3771
3771
  });
3772
3772
  }
3773
+ cancelByTenant(id, clientId) {
3774
+ const params = clientId ? new HttpParams().set('clientId', clientId) : undefined;
3775
+ return this.http.post(`${this.actionUrl}/offers/${id}/cancel/tenant`, {}, {
3776
+ params,
3777
+ withCredentials: true,
3778
+ });
3779
+ }
3780
+ cancelByAgent(id, clientId) {
3781
+ const params = clientId ? new HttpParams().set('clientId', clientId) : undefined;
3782
+ return this.http.post(`${this.actionUrl}/offers/${id}/cancel/agent`, {}, {
3783
+ params,
3784
+ withCredentials: true,
3785
+ });
3786
+ }
3773
3787
  getEditLock(id) {
3774
3788
  return this.http.get(`${this.actionUrl}/offers/${id}/edit-lock`, { withCredentials: true });
3775
3789
  }