@irohalab/mira-sdk-angular 0.7.1 → 0.7.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.
- package/api/default.service.d.ts +9 -8
- package/api/default.serviceInterface.d.ts +5 -4
- package/esm2022/api/default.service.mjs +9 -6
- package/esm2022/api/default.serviceInterface.mjs +1 -1
- package/esm2022/model/favorite.mjs +1 -1
- package/esm2022/model/getFavoriteByMainItemIdResponse.mjs +1 -1
- package/esm2022/model/models.mjs +1 -2
- package/fesm2022/irohalab-mira-sdk-angular.mjs +8 -5
- package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
- package/model/favorite.d.ts +1 -1
- package/model/getFavoriteByMainItemIdResponse.d.ts +1 -1
- package/model/models.d.ts +0 -1
- package/package.json +1 -1
- package/esm2022/model/createFavoriteRequestBody.mjs +0 -2
- package/model/createFavoriteRequestBody.d.ts +0 -17
package/api/default.service.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { CreateFavoriteRequestBody } from '../model/createFavoriteRequestBody';
|
|
4
3
|
import { CreateFavoriteResponse } from '../model/createFavoriteResponse';
|
|
5
4
|
import { CreateSubItemFavoriteRequestBody } from '../model/createSubItemFavoriteRequestBody';
|
|
6
5
|
import { CreateSubItemFavoriteResponse } from '../model/createSubItemFavoriteResponse';
|
|
6
|
+
import { Favorite } from '../model/favorite';
|
|
7
7
|
import { GetFavoriteByMainItemIdResponse } from '../model/getFavoriteByMainItemIdResponse';
|
|
8
8
|
import { GetMainItemByIdResponse } from '../model/getMainItemByIdResponse';
|
|
9
9
|
import { GetOnAirItemListResponse } from '../model/getOnAirItemListResponse';
|
|
@@ -26,21 +26,21 @@ export declare class DefaultMira implements DefaultMiraInterface {
|
|
|
26
26
|
private addToHttpParamsRecursive;
|
|
27
27
|
/**
|
|
28
28
|
* create a favorite for user and item
|
|
29
|
-
* @param
|
|
29
|
+
* @param Favorite
|
|
30
30
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
31
31
|
* @param reportProgress flag to report request and response progress.
|
|
32
32
|
*/
|
|
33
|
-
createFavorite(
|
|
33
|
+
createFavorite(Favorite: Favorite, observe?: 'body', reportProgress?: boolean, options?: {
|
|
34
34
|
httpHeaderAccept?: 'application/json';
|
|
35
35
|
context?: HttpContext;
|
|
36
36
|
transferCache?: boolean;
|
|
37
37
|
}): Observable<CreateFavoriteResponse>;
|
|
38
|
-
createFavorite(
|
|
38
|
+
createFavorite(Favorite: Favorite, observe?: 'response', reportProgress?: boolean, options?: {
|
|
39
39
|
httpHeaderAccept?: 'application/json';
|
|
40
40
|
context?: HttpContext;
|
|
41
41
|
transferCache?: boolean;
|
|
42
42
|
}): Observable<HttpResponse<CreateFavoriteResponse>>;
|
|
43
|
-
createFavorite(
|
|
43
|
+
createFavorite(Favorite: Favorite, observe?: 'events', reportProgress?: boolean, options?: {
|
|
44
44
|
httpHeaderAccept?: 'application/json';
|
|
45
45
|
context?: HttpContext;
|
|
46
46
|
transferCache?: boolean;
|
|
@@ -133,20 +133,21 @@ export declare class DefaultMira implements DefaultMiraInterface {
|
|
|
133
133
|
* get a MainItem by id
|
|
134
134
|
* @param id MainItem id
|
|
135
135
|
* @param coverImage populate coverImage if true
|
|
136
|
+
* @param subItems populate subItems if true
|
|
136
137
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
137
138
|
* @param reportProgress flag to report request and response progress.
|
|
138
139
|
*/
|
|
139
|
-
getMainItemById(id: string, coverImage?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
140
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
140
141
|
httpHeaderAccept?: 'application/json';
|
|
141
142
|
context?: HttpContext;
|
|
142
143
|
transferCache?: boolean;
|
|
143
144
|
}): Observable<GetMainItemByIdResponse>;
|
|
144
|
-
getMainItemById(id: string, coverImage?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
145
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
145
146
|
httpHeaderAccept?: 'application/json';
|
|
146
147
|
context?: HttpContext;
|
|
147
148
|
transferCache?: boolean;
|
|
148
149
|
}): Observable<HttpResponse<GetMainItemByIdResponse>>;
|
|
149
|
-
getMainItemById(id: string, coverImage?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
150
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
150
151
|
httpHeaderAccept?: 'application/json';
|
|
151
152
|
context?: HttpContext;
|
|
152
153
|
transferCache?: boolean;
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { HttpHeaders } from '@angular/common/http';
|
|
12
12
|
import { Observable } from 'rxjs';
|
|
13
|
-
import { CreateFavoriteRequestBody } from '../model/models';
|
|
14
13
|
import { CreateFavoriteResponse } from '../model/models';
|
|
15
14
|
import { CreateSubItemFavoriteRequestBody } from '../model/models';
|
|
16
15
|
import { CreateSubItemFavoriteResponse } from '../model/models';
|
|
16
|
+
import { Favorite } from '../model/models';
|
|
17
17
|
import { GetFavoriteByMainItemIdResponse } from '../model/models';
|
|
18
18
|
import { GetMainItemByIdResponse } from '../model/models';
|
|
19
19
|
import { GetOnAirItemListResponse } from '../model/models';
|
|
@@ -29,9 +29,9 @@ export interface DefaultMiraInterface {
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* create a favorite for user and item
|
|
32
|
-
* @param
|
|
32
|
+
* @param Favorite
|
|
33
33
|
*/
|
|
34
|
-
createFavorite(
|
|
34
|
+
createFavorite(Favorite: Favorite, extraHttpRequestParams?: any): Observable<CreateFavoriteResponse>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* create a SubItemFavorite
|
|
@@ -61,8 +61,9 @@ export interface DefaultMiraInterface {
|
|
|
61
61
|
* get a MainItem by id
|
|
62
62
|
* @param id MainItem id
|
|
63
63
|
* @param coverImage populate coverImage if true
|
|
64
|
+
* @param subItems populate subItems if true
|
|
64
65
|
*/
|
|
65
|
-
getMainItemById(id: string, coverImage?: string, extraHttpRequestParams?: any): Observable<GetMainItemByIdResponse>;
|
|
66
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, extraHttpRequestParams?: any): Observable<GetMainItemByIdResponse>;
|
|
66
67
|
/**
|
|
67
68
|
*
|
|
68
69
|
* get a SubItem by id
|