@agravity/private 5.2.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.
- package/.openapi-generator/FILES +117 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +203 -0
- package/api/api.ts +67 -0
- package/api/assetIconRuleManagement.agravity.ts +400 -0
- package/api/assetManagement.agravity.ts +737 -0
- package/api/assetOperations.agravity.ts +1309 -0
- package/api/assetPublishing.agravity.ts +511 -0
- package/api/assetVersioning.agravity.ts +657 -0
- package/api/authenticationManagement.agravity.ts +502 -0
- package/api/collectionManagement.agravity.ts +618 -0
- package/api/collectionSharing.agravity.ts +329 -0
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +340 -0
- package/api/collectionTypeManagement.agravity.ts +533 -0
- package/api/configurationManagement.agravity.ts +311 -0
- package/api/downloadFormatManagement.agravity.ts +400 -0
- package/api/downloadZip.agravity.ts +151 -0
- package/api/generalManagement.agravity.ts +348 -0
- package/api/helperTools.agravity.ts +640 -0
- package/api/iccProfileManagement.agravity.ts +134 -0
- package/api/listBlobs.agravity.ts +185 -0
- package/api/listQueues.agravity.ts +134 -0
- package/api/permissionsManagement.agravity.ts +262 -0
- package/api/publishing.agravity.ts +148 -0
- package/api/quickshareManagement.agravity.ts +385 -0
- package/api/savedSearchManagement.agravity.ts +271 -0
- package/api/searchManagement.agravity.ts +345 -0
- package/api/secureUpload.agravity.ts +371 -0
- package/api/signalRConnectionManagement.agravity.ts +218 -0
- package/api/staticDefinedListManagement.agravity.ts +408 -0
- package/api/stockImport.agravity.ts +221 -0
- package/api/structureImport.agravity.ts +137 -0
- package/api/translationManagement.agravity.ts +404 -0
- package/api/upgradeManagement.agravity.ts +333 -0
- package/api/webAppData.agravity.ts +300 -0
- package/api/wordpressManagement.agravity.ts +282 -0
- package/api/workspaceManagement.agravity.ts +513 -0
- package/api.module.ts +63 -0
- package/configuration.ts +130 -0
- package/encoder.ts +20 -0
- package/git_push.sh +58 -0
- package/index.ts +5 -0
- package/model/agravityErrorResponse.agravity.ts +19 -0
- package/model/agravityInfoResponse.agravity.ts +19 -0
- package/model/agravityUser.agravity.ts +37 -0
- package/model/agravityVersion.agravity.ts +24 -0
- package/model/allWebAppData.agravity.ts +24 -0
- package/model/apiKeyResponse.agravity.ts +18 -0
- package/model/appConfigTableEntity.agravity.ts +25 -0
- package/model/artificialIntelligenceGroup.agravity.ts +20 -0
- package/model/asset.agravity.ts +47 -0
- package/model/assetAvailability.agravity.ts +19 -0
- package/model/assetBlob.agravity.ts +82 -0
- package/model/assetBulkUpdate.agravity.ts +20 -0
- package/model/assetCollectionLink.agravity.ts +18 -0
- package/model/assetIconRule.agravity.ts +35 -0
- package/model/assetIdContainer.agravity.ts +18 -0
- package/model/assetPageResult.agravity.ts +23 -0
- package/model/assetsOperationBody.agravity.ts +20 -0
- package/model/azSearchOptions.agravity.ts +25 -0
- package/model/azureIdentity.agravity.ts +30 -0
- package/model/blobInfoObj.agravity.ts +23 -0
- package/model/collTypeItem.agravity.ts +38 -0
- package/model/collTypeItemBlueprint.agravity.ts +31 -0
- package/model/collection.agravity.ts +35 -0
- package/model/collectionType.agravity.ts +35 -0
- package/model/collectionUDL.agravity.ts +21 -0
- package/model/createSftpUserResult.agravity.ts +18 -0
- package/model/dataResult.agravity.ts +22 -0
- package/model/distZipResponse.agravity.ts +19 -0
- package/model/downloadFormat.agravity.ts +34 -0
- package/model/downloadObject.agravity.ts +32 -0
- package/model/downloadZipRequest.agravity.ts +25 -0
- package/model/dynamicImageOperation.agravity.ts +18 -0
- package/model/emailAddress.agravity.ts +18 -0
- package/model/entityId.agravity.ts +17 -0
- package/model/entityIdName.agravity.ts +19 -0
- package/model/entityTranslations.agravity.ts +18 -0
- package/model/frontendAppConfig.agravity.ts +21 -0
- package/model/groupAllAppData.agravity.ts +26 -0
- package/model/infoEntitySkillEnhanced.agravity.ts +25 -0
- package/model/metadata.agravity.ts +19 -0
- package/model/models.ts +73 -0
- package/model/moveCollectionBody.agravity.ts +19 -0
- package/model/permissionChange.agravity.ts +29 -0
- package/model/permissionSetting.agravity.ts +27 -0
- package/model/publishEntity.agravity.ts +28 -0
- package/model/publishedAsset.agravity.ts +25 -0
- package/model/quickShare.agravity.ts +31 -0
- package/model/quickShareFull.agravity.ts +36 -0
- package/model/sasToken.agravity.ts +22 -0
- package/model/savedSearch.agravity.ts +31 -0
- package/model/searchAdminDataSourceStatus.agravity.ts +18 -0
- package/model/searchAdminIndexStatus.agravity.ts +20 -0
- package/model/searchAdminIndexerLastRun.agravity.ts +21 -0
- package/model/searchAdminIndexerStatus.agravity.ts +20 -0
- package/model/searchAdminSkillStatus.agravity.ts +18 -0
- package/model/searchAdminStatistics.agravity.ts +18 -0
- package/model/searchAdminStatus.agravity.ts +24 -0
- package/model/searchFacet.agravity.ts +19 -0
- package/model/searchFacetEntity.agravity.ts +19 -0
- package/model/searchResult.agravity.ts +23 -0
- package/model/searchableItem.agravity.ts +26 -0
- package/model/secureUploadEntity.agravity.ts +27 -0
- package/model/sharedAsset.agravity.ts +25 -0
- package/model/sharedCollection.agravity.ts +24 -0
- package/model/sharedCollectionFull.agravity.ts +29 -0
- package/model/signalRConnectionInfo.agravity.ts +18 -0
- package/model/simpleAsset.agravity.ts +26 -0
- package/model/staticDefinedList.agravity.ts +30 -0
- package/model/uiTutorials.agravity.ts +26 -0
- package/model/upgradeV2V3CollectionCustomItemTableEntity.agravity.ts +21 -0
- package/model/versionEntity.agravity.ts +28 -0
- package/model/versionedAsset.agravity.ts +20 -0
- package/model/whereParam.agravity.ts +43 -0
- package/model/workspace.agravity.ts +34 -0
- package/package.json +28 -0
- package/variables.ts +9 -0
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.2.0
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
|
+
|
|
14
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
+
import { HttpClient, HttpHeaders, HttpParams,
|
|
16
|
+
HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
17
|
+
import { CustomHttpParameterCodec } from '../encoder';
|
|
18
|
+
import { Observable } from 'rxjs';
|
|
19
|
+
|
|
20
|
+
import { AgravityErrorResponse } from '../model/models';
|
|
21
|
+
import { AgravityInfoResponse } from '../model/models';
|
|
22
|
+
import { AssetBlob } from '../model/models';
|
|
23
|
+
import { CollectionUDL } from '../model/models';
|
|
24
|
+
import { InfoEntitySkillEnhanced } from '../model/models';
|
|
25
|
+
import { SearchableItem } from '../model/models';
|
|
26
|
+
|
|
27
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
28
|
+
import { AgravityConfiguration } from '../configuration';
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@Injectable({
|
|
33
|
+
providedIn: 'root'
|
|
34
|
+
})
|
|
35
|
+
export class HelperToolsService {
|
|
36
|
+
|
|
37
|
+
protected basePath = 'http://localhost:7071/api';
|
|
38
|
+
public defaultHeaders = new HttpHeaders();
|
|
39
|
+
public configuration = new AgravityConfiguration();
|
|
40
|
+
public encoder: HttpParameterCodec;
|
|
41
|
+
|
|
42
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: AgravityConfiguration) {
|
|
43
|
+
if (configuration) {
|
|
44
|
+
this.configuration = configuration;
|
|
45
|
+
}
|
|
46
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
47
|
+
if (typeof basePath !== 'string') {
|
|
48
|
+
basePath = this.basePath;
|
|
49
|
+
}
|
|
50
|
+
this.configuration.basePath = basePath;
|
|
51
|
+
}
|
|
52
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
57
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
58
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
59
|
+
} else {
|
|
60
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
61
|
+
}
|
|
62
|
+
return httpParams;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return httpParams;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (typeof value === "object") {
|
|
71
|
+
if (Array.isArray(value)) {
|
|
72
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
73
|
+
} else if (value instanceof Date) {
|
|
74
|
+
if (key != null) {
|
|
75
|
+
httpParams = httpParams.append(key,
|
|
76
|
+
(value as Date).toISOString().substr(0, 10));
|
|
77
|
+
} else {
|
|
78
|
+
throw Error("key may not be null if value is Date");
|
|
79
|
+
}
|
|
80
|
+
} else {
|
|
81
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
82
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
83
|
+
}
|
|
84
|
+
} else if (key != null) {
|
|
85
|
+
httpParams = httpParams.append(key, value);
|
|
86
|
+
} else {
|
|
87
|
+
throw Error("key may not be null if value is not object or array");
|
|
88
|
+
}
|
|
89
|
+
return httpParams;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* This endpoint calculates the md5 hash of an asset.
|
|
94
|
+
* @param id The ID of the asset.
|
|
95
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
96
|
+
* @param reportProgress flag to report request and response progress.
|
|
97
|
+
*/
|
|
98
|
+
public httpCalculateMD5HashForAsset(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<AgravityInfoResponse>;
|
|
99
|
+
public httpCalculateMD5HashForAsset(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
100
|
+
public httpCalculateMD5HashForAsset(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
101
|
+
public httpCalculateMD5HashForAsset(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
102
|
+
if (id === null || id === undefined) {
|
|
103
|
+
throw new Error('Required parameter id was null or undefined when calling httpCalculateMD5HashForAsset.');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
let headers = this.defaultHeaders;
|
|
107
|
+
|
|
108
|
+
let credential: string | undefined;
|
|
109
|
+
// authentication (msal_auth) required
|
|
110
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
111
|
+
if (credential) {
|
|
112
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
116
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
117
|
+
// to determine the Accept header
|
|
118
|
+
const httpHeaderAccepts: string[] = [
|
|
119
|
+
'application/json'
|
|
120
|
+
];
|
|
121
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
122
|
+
}
|
|
123
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
124
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
129
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
130
|
+
responseType_ = 'text';
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return this.httpClient.get<AgravityInfoResponse>(`${this.configuration.basePath}/helper/md5/${encodeURIComponent(String(id))}`,
|
|
134
|
+
{
|
|
135
|
+
responseType: <any>responseType_,
|
|
136
|
+
withCredentials: this.configuration.withCredentials,
|
|
137
|
+
headers: headers,
|
|
138
|
+
observe: observe,
|
|
139
|
+
reportProgress: reportProgress
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* This endpoint creates an excel export of the db
|
|
146
|
+
* @param filter Used to specify what to be retured. Valid values are: asset, workspace, collection_type and/or only certain collection types (IDs) for exporting. When providing multiple values separate it with comma (\',\').
|
|
147
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
148
|
+
* @param reportProgress flag to report request and response progress.
|
|
149
|
+
*/
|
|
150
|
+
public httpExportItemsAsExcel(filter?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<AgravityInfoResponse>;
|
|
151
|
+
public httpExportItemsAsExcel(filter?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
152
|
+
public httpExportItemsAsExcel(filter?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
153
|
+
public httpExportItemsAsExcel(filter?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
154
|
+
|
|
155
|
+
let queryParameters = new HttpParams({encoder: this.encoder});
|
|
156
|
+
if (filter !== undefined && filter !== null) {
|
|
157
|
+
queryParameters = this.addToHttpParams(queryParameters,
|
|
158
|
+
<any>filter, 'filter');
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
let headers = this.defaultHeaders;
|
|
162
|
+
|
|
163
|
+
let credential: string | undefined;
|
|
164
|
+
// authentication (msal_auth) required
|
|
165
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
166
|
+
if (credential) {
|
|
167
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
171
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
172
|
+
// to determine the Accept header
|
|
173
|
+
const httpHeaderAccepts: string[] = [
|
|
174
|
+
'application/json'
|
|
175
|
+
];
|
|
176
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
177
|
+
}
|
|
178
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
179
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
184
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
185
|
+
responseType_ = 'text';
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return this.httpClient.get<AgravityInfoResponse>(`${this.configuration.basePath}/helper/excel/export`,
|
|
189
|
+
{
|
|
190
|
+
params: queryParameters,
|
|
191
|
+
responseType: <any>responseType_,
|
|
192
|
+
withCredentials: this.configuration.withCredentials,
|
|
193
|
+
headers: headers,
|
|
194
|
+
observe: observe,
|
|
195
|
+
reportProgress: reportProgress
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Returns all thumbnail blob types incl. URLs
|
|
202
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
203
|
+
* @param reportProgress flag to report request and response progress.
|
|
204
|
+
*/
|
|
205
|
+
public httpGetAllThumbnailBlobsList(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<AssetBlob>>;
|
|
206
|
+
public httpGetAllThumbnailBlobsList(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<AssetBlob>>>;
|
|
207
|
+
public httpGetAllThumbnailBlobsList(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<AssetBlob>>>;
|
|
208
|
+
public httpGetAllThumbnailBlobsList(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
209
|
+
|
|
210
|
+
let headers = this.defaultHeaders;
|
|
211
|
+
|
|
212
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
213
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
214
|
+
// to determine the Accept header
|
|
215
|
+
const httpHeaderAccepts: string[] = [
|
|
216
|
+
'application/json'
|
|
217
|
+
];
|
|
218
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
219
|
+
}
|
|
220
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
221
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
226
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
227
|
+
responseType_ = 'text';
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
return this.httpClient.get<Array<AssetBlob>>(`${this.configuration.basePath}/helper/placeholderblobs`,
|
|
231
|
+
{
|
|
232
|
+
responseType: <any>responseType_,
|
|
233
|
+
withCredentials: this.configuration.withCredentials,
|
|
234
|
+
headers: headers,
|
|
235
|
+
observe: observe,
|
|
236
|
+
reportProgress: reportProgress
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Returns all user defined lists of all collection types
|
|
243
|
+
* @param translations When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header)
|
|
244
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
245
|
+
* @param reportProgress flag to report request and response progress.
|
|
246
|
+
*/
|
|
247
|
+
public httpGetAllUserDefinedLists(translations?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<CollectionUDL>>;
|
|
248
|
+
public httpGetAllUserDefinedLists(translations?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<CollectionUDL>>>;
|
|
249
|
+
public httpGetAllUserDefinedLists(translations?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<CollectionUDL>>>;
|
|
250
|
+
public httpGetAllUserDefinedLists(translations?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
251
|
+
|
|
252
|
+
let queryParameters = new HttpParams({encoder: this.encoder});
|
|
253
|
+
if (translations !== undefined && translations !== null) {
|
|
254
|
+
queryParameters = this.addToHttpParams(queryParameters,
|
|
255
|
+
<any>translations, 'translations');
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
let headers = this.defaultHeaders;
|
|
259
|
+
|
|
260
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
261
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
262
|
+
// to determine the Accept header
|
|
263
|
+
const httpHeaderAccepts: string[] = [
|
|
264
|
+
'application/json'
|
|
265
|
+
];
|
|
266
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
267
|
+
}
|
|
268
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
269
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
274
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
275
|
+
responseType_ = 'text';
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
return this.httpClient.get<Array<CollectionUDL>>(`${this.configuration.basePath}/helper/userdefinedlists`,
|
|
279
|
+
{
|
|
280
|
+
params: queryParameters,
|
|
281
|
+
responseType: <any>responseType_,
|
|
282
|
+
withCredentials: this.configuration.withCredentials,
|
|
283
|
+
headers: headers,
|
|
284
|
+
observe: observe,
|
|
285
|
+
reportProgress: reportProgress
|
|
286
|
+
}
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Returns all filterable items directly from the search index
|
|
292
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
293
|
+
* @param reportProgress flag to report request and response progress.
|
|
294
|
+
*/
|
|
295
|
+
public httpGetAllowedFilterableItems(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<string>>;
|
|
296
|
+
public httpGetAllowedFilterableItems(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<string>>>;
|
|
297
|
+
public httpGetAllowedFilterableItems(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<string>>>;
|
|
298
|
+
public httpGetAllowedFilterableItems(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
299
|
+
|
|
300
|
+
let headers = this.defaultHeaders;
|
|
301
|
+
|
|
302
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
303
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
304
|
+
// to determine the Accept header
|
|
305
|
+
const httpHeaderAccepts: string[] = [
|
|
306
|
+
'application/json'
|
|
307
|
+
];
|
|
308
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
309
|
+
}
|
|
310
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
311
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
316
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
317
|
+
responseType_ = 'text';
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/helper/filterableitems`,
|
|
321
|
+
{
|
|
322
|
+
responseType: <any>responseType_,
|
|
323
|
+
withCredentials: this.configuration.withCredentials,
|
|
324
|
+
headers: headers,
|
|
325
|
+
observe: observe,
|
|
326
|
+
reportProgress: reportProgress
|
|
327
|
+
}
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Returns all allowed (currently supported) collection item types
|
|
333
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
334
|
+
* @param reportProgress flag to report request and response progress.
|
|
335
|
+
*/
|
|
336
|
+
public httpGetAllowedItemTypes(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<string>>;
|
|
337
|
+
public httpGetAllowedItemTypes(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<string>>>;
|
|
338
|
+
public httpGetAllowedItemTypes(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<string>>>;
|
|
339
|
+
public httpGetAllowedItemTypes(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
340
|
+
|
|
341
|
+
let headers = this.defaultHeaders;
|
|
342
|
+
|
|
343
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
344
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
345
|
+
// to determine the Accept header
|
|
346
|
+
const httpHeaderAccepts: string[] = [
|
|
347
|
+
'application/json'
|
|
348
|
+
];
|
|
349
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
350
|
+
}
|
|
351
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
352
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
357
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
358
|
+
responseType_ = 'text';
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/helper/collitemtypes`,
|
|
362
|
+
{
|
|
363
|
+
responseType: <any>responseType_,
|
|
364
|
+
withCredentials: this.configuration.withCredentials,
|
|
365
|
+
headers: headers,
|
|
366
|
+
observe: observe,
|
|
367
|
+
reportProgress: reportProgress
|
|
368
|
+
}
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Returns all searchable items directly from the search index
|
|
374
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
375
|
+
* @param reportProgress flag to report request and response progress.
|
|
376
|
+
*/
|
|
377
|
+
public httpGetAllowedSearchableItemNames(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<string>>;
|
|
378
|
+
public httpGetAllowedSearchableItemNames(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<string>>>;
|
|
379
|
+
public httpGetAllowedSearchableItemNames(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<string>>>;
|
|
380
|
+
public httpGetAllowedSearchableItemNames(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
381
|
+
|
|
382
|
+
let headers = this.defaultHeaders;
|
|
383
|
+
|
|
384
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
385
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
386
|
+
// to determine the Accept header
|
|
387
|
+
const httpHeaderAccepts: string[] = [
|
|
388
|
+
'application/json'
|
|
389
|
+
];
|
|
390
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
391
|
+
}
|
|
392
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
393
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
398
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
399
|
+
responseType_ = 'text';
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/helper/searchableitemnames`,
|
|
403
|
+
{
|
|
404
|
+
responseType: <any>responseType_,
|
|
405
|
+
withCredentials: this.configuration.withCredentials,
|
|
406
|
+
headers: headers,
|
|
407
|
+
observe: observe,
|
|
408
|
+
reportProgress: reportProgress
|
|
409
|
+
}
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Returns all searchable items directly from the search index
|
|
415
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
416
|
+
* @param reportProgress flag to report request and response progress.
|
|
417
|
+
*/
|
|
418
|
+
public httpGetAllowedSearchableItems(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<SearchableItem>>;
|
|
419
|
+
public httpGetAllowedSearchableItems(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<SearchableItem>>>;
|
|
420
|
+
public httpGetAllowedSearchableItems(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<SearchableItem>>>;
|
|
421
|
+
public httpGetAllowedSearchableItems(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
422
|
+
|
|
423
|
+
let headers = this.defaultHeaders;
|
|
424
|
+
|
|
425
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
426
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
427
|
+
// to determine the Accept header
|
|
428
|
+
const httpHeaderAccepts: string[] = [
|
|
429
|
+
'application/json'
|
|
430
|
+
];
|
|
431
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
432
|
+
}
|
|
433
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
434
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
439
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
440
|
+
responseType_ = 'text';
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
return this.httpClient.get<Array<SearchableItem>>(`${this.configuration.basePath}/helper/searchableitems`,
|
|
444
|
+
{
|
|
445
|
+
responseType: <any>responseType_,
|
|
446
|
+
withCredentials: this.configuration.withCredentials,
|
|
447
|
+
headers: headers,
|
|
448
|
+
observe: observe,
|
|
449
|
+
reportProgress: reportProgress
|
|
450
|
+
}
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* This is a helper method to see the result when an entity (Asset or Collection) is enhanced with the skill-enhancer (for search indexer).
|
|
456
|
+
* @param id The ID of the entity (Asset or Collection).
|
|
457
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
458
|
+
* @param reportProgress flag to report request and response progress.
|
|
459
|
+
*/
|
|
460
|
+
public httpGetAssetSkillEnhancer(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<InfoEntitySkillEnhanced>;
|
|
461
|
+
public httpGetAssetSkillEnhancer(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<InfoEntitySkillEnhanced>>;
|
|
462
|
+
public httpGetAssetSkillEnhancer(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<InfoEntitySkillEnhanced>>;
|
|
463
|
+
public httpGetAssetSkillEnhancer(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
464
|
+
if (id === null || id === undefined) {
|
|
465
|
+
throw new Error('Required parameter id was null or undefined when calling httpGetAssetSkillEnhancer.');
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
let headers = this.defaultHeaders;
|
|
469
|
+
|
|
470
|
+
let credential: string | undefined;
|
|
471
|
+
// authentication (msal_auth) required
|
|
472
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
473
|
+
if (credential) {
|
|
474
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
478
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
479
|
+
// to determine the Accept header
|
|
480
|
+
const httpHeaderAccepts: string[] = [
|
|
481
|
+
'application/json'
|
|
482
|
+
];
|
|
483
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
484
|
+
}
|
|
485
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
486
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
491
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
492
|
+
responseType_ = 'text';
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
return this.httpClient.get<InfoEntitySkillEnhanced>(`${this.configuration.basePath}/helper/skillenhancer/${encodeURIComponent(String(id))}`,
|
|
496
|
+
{
|
|
497
|
+
responseType: <any>responseType_,
|
|
498
|
+
withCredentials: this.configuration.withCredentials,
|
|
499
|
+
headers: headers,
|
|
500
|
+
observe: observe,
|
|
501
|
+
reportProgress: reportProgress
|
|
502
|
+
}
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Returns all allowed (currently supported) filter names for image edit endpoint.
|
|
508
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
509
|
+
* @param reportProgress flag to report request and response progress.
|
|
510
|
+
*/
|
|
511
|
+
public httpGetImageEditFilters(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<string>>;
|
|
512
|
+
public httpGetImageEditFilters(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<string>>>;
|
|
513
|
+
public httpGetImageEditFilters(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<string>>>;
|
|
514
|
+
public httpGetImageEditFilters(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
515
|
+
|
|
516
|
+
let headers = this.defaultHeaders;
|
|
517
|
+
|
|
518
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
519
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
520
|
+
// to determine the Accept header
|
|
521
|
+
const httpHeaderAccepts: string[] = [
|
|
522
|
+
'application/json'
|
|
523
|
+
];
|
|
524
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
525
|
+
}
|
|
526
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
527
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
532
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
533
|
+
responseType_ = 'text';
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/helper/imageeditfilters`,
|
|
537
|
+
{
|
|
538
|
+
responseType: <any>responseType_,
|
|
539
|
+
withCredentials: this.configuration.withCredentials,
|
|
540
|
+
headers: headers,
|
|
541
|
+
observe: observe,
|
|
542
|
+
reportProgress: reportProgress
|
|
543
|
+
}
|
|
544
|
+
);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* This sets metadata from all blobs inside inbox container on storage. This should re-trigger the inbox trigger.
|
|
549
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
550
|
+
* @param reportProgress flag to report request and response progress.
|
|
551
|
+
*/
|
|
552
|
+
public httpInboxPoke(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<AgravityInfoResponse>;
|
|
553
|
+
public httpInboxPoke(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
554
|
+
public httpInboxPoke(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
555
|
+
public httpInboxPoke(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
556
|
+
|
|
557
|
+
let headers = this.defaultHeaders;
|
|
558
|
+
|
|
559
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
560
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
561
|
+
// to determine the Accept header
|
|
562
|
+
const httpHeaderAccepts: string[] = [
|
|
563
|
+
'application/json'
|
|
564
|
+
];
|
|
565
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
566
|
+
}
|
|
567
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
568
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
573
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
574
|
+
responseType_ = 'text';
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
return this.httpClient.get<AgravityInfoResponse>(`${this.configuration.basePath}/helper/inboxpoke`,
|
|
578
|
+
{
|
|
579
|
+
responseType: <any>responseType_,
|
|
580
|
+
withCredentials: this.configuration.withCredentials,
|
|
581
|
+
headers: headers,
|
|
582
|
+
observe: observe,
|
|
583
|
+
reportProgress: reportProgress
|
|
584
|
+
}
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Re-queue poisoned messages. It takes the only one argument and tries to find the poisoned queue.
|
|
590
|
+
* @param queue Enter queue name which has to take messages from poison to regular queue.
|
|
591
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
592
|
+
* @param reportProgress flag to report request and response progress.
|
|
593
|
+
*/
|
|
594
|
+
public httpQueuesAgain(queue: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<string>>;
|
|
595
|
+
public httpQueuesAgain(queue: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<string>>>;
|
|
596
|
+
public httpQueuesAgain(queue: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<string>>>;
|
|
597
|
+
public httpQueuesAgain(queue: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
598
|
+
if (queue === null || queue === undefined) {
|
|
599
|
+
throw new Error('Required parameter queue was null or undefined when calling httpQueuesAgain.');
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
let queryParameters = new HttpParams({encoder: this.encoder});
|
|
603
|
+
if (queue !== undefined && queue !== null) {
|
|
604
|
+
queryParameters = this.addToHttpParams(queryParameters,
|
|
605
|
+
<any>queue, 'queue');
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
let headers = this.defaultHeaders;
|
|
609
|
+
|
|
610
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
611
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
612
|
+
// to determine the Accept header
|
|
613
|
+
const httpHeaderAccepts: string[] = [
|
|
614
|
+
'application/json'
|
|
615
|
+
];
|
|
616
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
617
|
+
}
|
|
618
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
619
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
624
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
625
|
+
responseType_ = 'text';
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/helper/queueagain`,
|
|
629
|
+
{
|
|
630
|
+
params: queryParameters,
|
|
631
|
+
responseType: <any>responseType_,
|
|
632
|
+
withCredentials: this.configuration.withCredentials,
|
|
633
|
+
headers: headers,
|
|
634
|
+
observe: observe,
|
|
635
|
+
reportProgress: reportProgress
|
|
636
|
+
}
|
|
637
|
+
);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
}
|