@agravity/private 8.4.0 → 8.4.2
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/README.md +3 -3
- package/api/helperTools.agravity.ts +70 -0
- package/model/blobInfoObj.agravity.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## @agravity/private@8.4.
|
|
1
|
+
## @agravity/private@8.4.2
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.4.
|
|
3
|
+
The version of the OpenAPI document: 8.4.2
|
|
4
4
|
|
|
5
5
|
### Building
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
21
|
_published:_
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
npm install @agravity/private@8.4.
|
|
24
|
+
npm install @agravity/private@8.4.2 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -226,6 +226,76 @@ export class HelperToolsService {
|
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Returns all operations which could be applied to images.
|
|
231
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
232
|
+
* @param reportProgress flag to report request and response progress.
|
|
233
|
+
*/
|
|
234
|
+
public httpGetAllImageOperations(
|
|
235
|
+
observe?: 'body',
|
|
236
|
+
reportProgress?: boolean,
|
|
237
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
238
|
+
): Observable<Array<CollectionUDL>>;
|
|
239
|
+
public httpGetAllImageOperations(
|
|
240
|
+
observe?: 'response',
|
|
241
|
+
reportProgress?: boolean,
|
|
242
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
243
|
+
): Observable<HttpResponse<Array<CollectionUDL>>>;
|
|
244
|
+
public httpGetAllImageOperations(
|
|
245
|
+
observe?: 'events',
|
|
246
|
+
reportProgress?: boolean,
|
|
247
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
248
|
+
): Observable<HttpEvent<Array<CollectionUDL>>>;
|
|
249
|
+
public httpGetAllImageOperations(
|
|
250
|
+
observe: any = 'body',
|
|
251
|
+
reportProgress: boolean = false,
|
|
252
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
253
|
+
): Observable<any> {
|
|
254
|
+
let localVarHeaders = this.defaultHeaders;
|
|
255
|
+
|
|
256
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
257
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
258
|
+
// to determine the Accept header
|
|
259
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
260
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
261
|
+
}
|
|
262
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
263
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
267
|
+
if (localVarHttpContext === undefined) {
|
|
268
|
+
localVarHttpContext = new HttpContext();
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
272
|
+
if (localVarTransferCache === undefined) {
|
|
273
|
+
localVarTransferCache = true;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
277
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
278
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
279
|
+
responseType_ = 'text';
|
|
280
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
281
|
+
responseType_ = 'json';
|
|
282
|
+
} else {
|
|
283
|
+
responseType_ = 'blob';
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
let localVarPath = `/helper/imageoperations`;
|
|
288
|
+
return this.httpClient.request<Array<CollectionUDL>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
289
|
+
context: localVarHttpContext,
|
|
290
|
+
responseType: <any>responseType_,
|
|
291
|
+
withCredentials: this.configuration.withCredentials,
|
|
292
|
+
headers: localVarHeaders,
|
|
293
|
+
observe: observe,
|
|
294
|
+
transferCache: localVarTransferCache,
|
|
295
|
+
reportProgress: reportProgress
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
|
|
229
299
|
/**
|
|
230
300
|
* Returns all thumbnail blob types incl. URLs
|
|
231
301
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
package/package.json
CHANGED