@irohalab/mira-sdk-angular 1.5.0 → 1.6.0

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.
@@ -382,6 +382,27 @@ export declare class DefaultMira implements DefaultMiraInterface {
382
382
  context?: HttpContext;
383
383
  transferCache?: boolean;
384
384
  }): Observable<HttpEvent<SucceedEmptyResponse>>;
385
+ /**
386
+ * predict Main Item names base on provided prefix
387
+ * @param prefix start part of the name
388
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
389
+ * @param reportProgress flag to report request and response progress.
390
+ */
391
+ predictMainItemName(prefix: string, observe?: 'body', reportProgress?: boolean, options?: {
392
+ httpHeaderAccept?: 'application/json';
393
+ context?: HttpContext;
394
+ transferCache?: boolean;
395
+ }): Observable<Array<string>>;
396
+ predictMainItemName(prefix: string, observe?: 'response', reportProgress?: boolean, options?: {
397
+ httpHeaderAccept?: 'application/json';
398
+ context?: HttpContext;
399
+ transferCache?: boolean;
400
+ }): Observable<HttpResponse<Array<string>>>;
401
+ predictMainItemName(prefix: string, observe?: 'events', reportProgress?: boolean, options?: {
402
+ httpHeaderAccept?: 'application/json';
403
+ context?: HttpContext;
404
+ transferCache?: boolean;
405
+ }): Observable<HttpEvent<Array<string>>>;
385
406
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultMira, [null, { optional: true; }, { optional: true; }]>;
386
407
  static ɵprov: i0.ɵɵInjectableDeclaration<DefaultMira>;
387
408
  }
@@ -144,4 +144,10 @@ export interface DefaultMiraInterface {
144
144
  * @param PatchFavoriteBody
145
145
  */
146
146
  patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
147
+ /**
148
+ *
149
+ * predict Main Item names base on provided prefix
150
+ * @param prefix start part of the name
151
+ */
152
+ predictMainItemName(prefix: string, extraHttpRequestParams?: any): Observable<Array<string>>;
147
153
  }