@irohalab/mira-sdk-angular 1.1.1 → 1.3.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.
@@ -1,6 +1,8 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { ClientMapping } from '../model/clientMapping';
3
4
  import { CreateSubItemFavoriteRequestBody } from '../model/createSubItemFavoriteRequestBody';
5
+ import { DeleteClientMappingByMainItemResponse } from '../model/deleteClientMappingByMainItemResponse';
4
6
  import { Favorite } from '../model/favorite';
5
7
  import { GetOnAirItemListResponse } from '../model/getOnAirItemListResponse';
6
8
  import { ListFavoritesResponse } from '../model/listFavoritesResponse';
@@ -23,6 +25,27 @@ export declare class DefaultMira implements DefaultMiraInterface {
23
25
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: MiraConfiguration);
24
26
  private addToHttpParams;
25
27
  private addToHttpParamsRecursive;
28
+ /**
29
+ * Add ClientMapping
30
+ * @param request_body
31
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
32
+ * @param reportProgress flag to report request and response progress.
33
+ */
34
+ addClientMapping(request_body: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
35
+ httpHeaderAccept?: 'application/json';
36
+ context?: HttpContext;
37
+ transferCache?: boolean;
38
+ }): Observable<ClientMapping>;
39
+ addClientMapping(request_body: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
40
+ httpHeaderAccept?: 'application/json';
41
+ context?: HttpContext;
42
+ transferCache?: boolean;
43
+ }): Observable<HttpResponse<ClientMapping>>;
44
+ addClientMapping(request_body: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: 'application/json';
46
+ context?: HttpContext;
47
+ transferCache?: boolean;
48
+ }): Observable<HttpEvent<ClientMapping>>;
26
49
  /**
27
50
  * create a favorite for user and item
28
51
  * @param Favorite
@@ -65,6 +88,27 @@ export declare class DefaultMira implements DefaultMiraInterface {
65
88
  context?: HttpContext;
66
89
  transferCache?: boolean;
67
90
  }): Observable<HttpEvent<SubItemFavorite>>;
91
+ /**
92
+ * Delete ClientMapping by MainItem id
93
+ * @param id
94
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
95
+ * @param reportProgress flag to report request and response progress.
96
+ */
97
+ deleteClientMappingByMainItemId(id: string, observe?: 'body', reportProgress?: boolean, options?: {
98
+ httpHeaderAccept?: 'application/json';
99
+ context?: HttpContext;
100
+ transferCache?: boolean;
101
+ }): Observable<DeleteClientMappingByMainItemResponse>;
102
+ deleteClientMappingByMainItemId(id: string, observe?: 'response', reportProgress?: boolean, options?: {
103
+ httpHeaderAccept?: 'application/json';
104
+ context?: HttpContext;
105
+ transferCache?: boolean;
106
+ }): Observable<HttpResponse<DeleteClientMappingByMainItemResponse>>;
107
+ deleteClientMappingByMainItemId(id: string, observe?: 'events', reportProgress?: boolean, options?: {
108
+ httpHeaderAccept?: 'application/json';
109
+ context?: HttpContext;
110
+ transferCache?: boolean;
111
+ }): Observable<HttpEvent<DeleteClientMappingByMainItemResponse>>;
68
112
  /**
69
113
  * Delete a favorite
70
114
  * @param id
@@ -10,7 +10,9 @@
10
10
  */
11
11
  import { HttpHeaders } from '@angular/common/http';
12
12
  import { Observable } from 'rxjs';
13
+ import { ClientMapping } from '../model/models';
13
14
  import { CreateSubItemFavoriteRequestBody } from '../model/models';
15
+ import { DeleteClientMappingByMainItemResponse } from '../model/models';
14
16
  import { Favorite } from '../model/models';
15
17
  import { GetOnAirItemListResponse } from '../model/models';
16
18
  import { ListFavoritesResponse } from '../model/models';
@@ -25,6 +27,12 @@ import { MiraConfiguration } from '../configuration';
25
27
  export interface DefaultMiraInterface {
26
28
  defaultHeaders: HttpHeaders;
27
29
  configuration: MiraConfiguration;
30
+ /**
31
+ *
32
+ * Add ClientMapping
33
+ * @param request_body
34
+ */
35
+ addClientMapping(request_body: Array<string>, extraHttpRequestParams?: any): Observable<ClientMapping>;
28
36
  /**
29
37
  *
30
38
  * create a favorite for user and item
@@ -37,6 +45,12 @@ export interface DefaultMiraInterface {
37
45
  * @param CreateSubItemFavoriteRequestBody
38
46
  */
39
47
  createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, extraHttpRequestParams?: any): Observable<SubItemFavorite>;
48
+ /**
49
+ *
50
+ * Delete ClientMapping by MainItem id
51
+ * @param id
52
+ */
53
+ deleteClientMappingByMainItemId(id: string, extraHttpRequestParams?: any): Observable<DeleteClientMappingByMainItemResponse>;
40
54
  /**
41
55
  *
42
56
  * Delete a favorite