@veloceapps/api 7.0.2-60 → 7.0.2-62

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.
@@ -1177,6 +1177,16 @@ class GuidedSellingApiService {
1177
1177
  body: expression || {},
1178
1178
  });
1179
1179
  }
1180
+ searchById$(id, searchParams) {
1181
+ const params = new HttpParams({ fromObject: { ...searchParams } });
1182
+ const expression = new Expression(undefined, [{ key: 'id', operator: Operator.EQ, value: id }]);
1183
+ return this.http.api({
1184
+ method: 'post',
1185
+ url: `${this.serviceUrl}/search`,
1186
+ params,
1187
+ body: expression || {},
1188
+ });
1189
+ }
1180
1190
  }
1181
1191
  GuidedSellingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: GuidedSellingApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
1182
1192
  GuidedSellingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: GuidedSellingApiService });