@agravity/private 7.3.0 → 8.0.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 +1 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +29 -4
- package/api/assetIconRuleManagement.agravity.ts +344 -150
- package/api/assetManagement.agravity.ts +709 -389
- package/api/assetOperations.agravity.ts +1414 -650
- package/api/assetPublishing.agravity.ts +562 -255
- package/api/assetVersioning.agravity.ts +598 -278
- package/api/authenticationManagement.agravity.ts +731 -274
- package/api/collectionManagement.agravity.ts +618 -309
- package/api/collectionShareManagement.agravity.ts +256 -121
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +271 -123
- package/api/collectionTypeManagement.agravity.ts +519 -250
- package/api/commentsManagement.agravity.ts +284 -90
- package/api/configurationManagement.agravity.ts +311 -128
- package/api/dashboardWidgetManagement.agravity.ts +342 -124
- package/api/dataImportExportManagement.agravity.ts +378 -148
- package/api/downloadFormatManagement.agravity.ts +450 -152
- package/api/downloadZip.agravity.ts +75 -30
- package/api/generalManagement.agravity.ts +374 -164
- package/api/helperTools.agravity.ts +804 -273
- package/api/historyEntryManagement.agravity.ts +75 -33
- package/api/iccProfileManagement.agravity.ts +64 -23
- package/api/listBlobs.agravity.ts +125 -47
- package/api/listQueues.agravity.ts +68 -24
- package/api/listTables.agravity.ts +68 -25
- package/api/permissionsManagement.agravity.ts +174 -77
- package/api/portalManagement.agravity.ts +511 -198
- package/api/publishing.agravity.ts +69 -38
- package/api/quickshareManagement.agravity.ts +349 -138
- package/api/savedSearchManagement.agravity.ts +205 -92
- package/api/searchManagement.agravity.ts +517 -297
- package/api/secureUpload.agravity.ts +325 -126
- package/api/signalRConnectionManagement.agravity.ts +175 -56
- package/api/staticDefinedListManagement.agravity.ts +342 -162
- package/api/stockImport.agravity.ts +138 -74
- package/api/structureImport.agravity.ts +68 -25
- package/api/translationManagement.agravity.ts +357 -206
- package/api/webAppData.agravity.ts +278 -88
- package/api/widgetLayoutManagement.agravity.ts +131 -47
- package/api/wordpressManagement.agravity.ts +152 -108
- package/api/workspaceManagement.agravity.ts +456 -197
- package/api.module.ts +0 -40
- package/configuration.ts +42 -0
- package/git_push.sh +3 -4
- package/index.ts +1 -0
- package/model/agravityErrorResponse.agravity.ts +3 -4
- package/model/agravityInfoResponse.agravity.ts +3 -4
- package/model/agravityUser.agravity.ts +16 -17
- package/model/agravityUserDto.agravity.ts +3 -4
- package/model/agravityVersion.agravity.ts +8 -9
- package/model/allWebAppData.agravity.ts +4 -5
- package/model/apiKeyResponse.agravity.ts +2 -3
- package/model/appConfigTableEntity.agravity.ts +8 -9
- package/model/artificialIntelligenceGroup.agravity.ts +3 -4
- package/model/asset.agravity.ts +22 -23
- package/model/assetAvailability.agravity.ts +1 -2
- package/model/assetBlob.agravity.ts +27 -28
- package/model/assetBulkUpdate.agravity.ts +2 -3
- package/model/assetCollectionLink.agravity.ts +2 -3
- package/model/assetIconRule.agravity.ts +17 -18
- package/model/assetIdFormat.agravity.ts +3 -4
- package/model/assetPageResult.agravity.ts +4 -5
- package/model/assetTextContent.agravity.ts +2 -3
- package/model/assetsOperationBody.agravity.ts +3 -4
- package/model/azSearchOptions.agravity.ts +8 -9
- package/model/azureIdentity.agravity.ts +4 -5
- package/model/blobInfoObj.agravity.ts +0 -1
- package/model/collTypeItem.agravity.ts +16 -17
- package/model/collTypeItemBlueprint.agravity.ts +12 -13
- package/model/collection.agravity.ts +15 -16
- package/model/collectionType.agravity.ts +14 -15
- package/model/collectionUDL.agravity.ts +4 -5
- package/model/collectionUDLListEntity.agravity.ts +9 -10
- package/model/collectionUDLReference.agravity.ts +3 -4
- package/model/comment.agravity.ts +9 -10
- package/model/createSftpUserResult.agravity.ts +2 -3
- package/model/dashboardWidget.agravity.ts +11 -12
- package/model/dataResult.agravity.ts +4 -5
- package/model/deletedEntities.agravity.ts +4 -5
- package/model/distZipResponse.agravity.ts +3 -4
- package/model/downloadFormat.agravity.ts +19 -16
- package/model/downloadObject.agravity.ts +16 -16
- package/model/downloadZipRequest.agravity.ts +9 -10
- package/model/dynamicImageOperation.agravity.ts +2 -3
- package/model/emailAddress.agravity.ts +2 -3
- package/model/entityId.agravity.ts +1 -2
- package/model/entityIdName.agravity.ts +3 -4
- package/model/entityTranslations.agravity.ts +2 -3
- package/model/excelExportTableEntity.agravity.ts +5 -5
- package/model/frontendAppConfig.agravity.ts +0 -1
- package/model/groupAllAppData.agravity.ts +5 -6
- package/model/historyEntry.agravity.ts +9 -10
- package/model/infoEntitySkillEnhanced.agravity.ts +10 -11
- package/model/metadata.agravity.ts +3 -4
- package/model/models.ts +0 -1
- package/model/moveCollectionBody.agravity.ts +3 -4
- package/model/permissionChange.agravity.ts +1 -2
- package/model/permissionEntity.agravity.ts +1 -2
- package/model/permissionSetting.agravity.ts +8 -9
- package/model/portal.agravity.ts +18 -20
- package/model/portalLinks.agravity.ts +3 -4
- package/model/portalTheme.agravity.ts +6 -7
- package/model/portalZipRequest.agravity.ts +14 -15
- package/model/publishEntity.agravity.ts +9 -10
- package/model/publishedAsset.agravity.ts +12 -13
- package/model/quickShare.agravity.ts +12 -13
- package/model/quickShareFull.agravity.ts +15 -16
- package/model/sasToken.agravity.ts +6 -7
- package/model/savedSearch.agravity.ts +13 -14
- package/model/searchAdminDataSourceStatus.agravity.ts +2 -3
- package/model/searchAdminIndexStatus.agravity.ts +3 -4
- package/model/searchAdminIndexerLastRun.agravity.ts +3 -4
- package/model/searchAdminIndexerStatus.agravity.ts +4 -5
- package/model/searchAdminSkillStatus.agravity.ts +2 -3
- package/model/searchAdminStatistics.agravity.ts +2 -3
- package/model/searchAdminStatus.agravity.ts +4 -5
- package/model/searchFacet.agravity.ts +2 -3
- package/model/searchFacetEntity.agravity.ts +2 -3
- package/model/searchResult.agravity.ts +3 -4
- package/model/searchableItem.agravity.ts +3 -4
- package/model/secureUploadEntity.agravity.ts +10 -11
- package/model/sharedAllowedFormat.agravity.ts +2 -3
- package/model/sharedAsset.agravity.ts +5 -6
- package/model/sharedCollection.agravity.ts +15 -16
- package/model/sharedCollectionFull.agravity.ts +18 -19
- package/model/signalRConnectionInfo.agravity.ts +0 -1
- package/model/simpleAsset.agravity.ts +10 -11
- package/model/staticDefinedList.agravity.ts +12 -13
- package/model/translation.agravity.ts +2 -3
- package/model/translationRequest.agravity.ts +3 -4
- package/model/uiTutorials.agravity.ts +0 -1
- package/model/versionEntity.agravity.ts +9 -10
- package/model/versionedAsset.agravity.ts +5 -6
- package/model/whereParam.agravity.ts +0 -1
- package/model/widgetLayout.agravity.ts +8 -9
- package/model/widgetProperties.agravity.ts +6 -7
- package/model/workspace.agravity.ts +14 -15
- package/package.json +16 -17
- package/param.ts +44 -0
- package/model/portalLanguages.agravity.ts +0 -16
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
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 2024. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.3.0
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,22 +11,68 @@
|
|
|
12
11
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
12
|
|
|
14
13
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
14
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
16
15
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
17
16
|
import { Observable } from 'rxjs';
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { AssetBlob } from '../model/assetBlob.agravity';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { CollectionUDL } from '../model/collectionUDL.agravity';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { CollectionUDLListEntity } from '../model/collectionUDLListEntity.agravity';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import { InfoEntitySkillEnhanced } from '../model/infoEntitySkillEnhanced.agravity';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { PublishedAsset } from '../model/publishedAsset.agravity';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { SearchableItem } from '../model/searchableItem.agravity';
|
|
34
|
+
|
|
35
|
+
// @ts-ignore
|
|
28
36
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
29
37
|
import { AgravityConfiguration } from '../configuration';
|
|
30
38
|
|
|
39
|
+
export interface HttpCalculateMD5HashForAssetRequestParams {
|
|
40
|
+
/** The ID of the asset. */
|
|
41
|
+
id: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface HttpGetAllUserDefinedListsRequestParams {
|
|
45
|
+
/** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
|
|
46
|
+
translations?: boolean;
|
|
47
|
+
/** The requested language of the response. If not matching it falls back to default language. */
|
|
48
|
+
acceptLanguage?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface HttpGetAllowedFilterableItemsRequestParams {
|
|
52
|
+
/** If the search should be redirected to a specific portal. */
|
|
53
|
+
portalId?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface HttpGetAllowedSearchableItemNamesRequestParams {
|
|
57
|
+
/** If the search should be redirected to a specific portal. */
|
|
58
|
+
portalId?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface HttpGetAllowedSearchableItemsRequestParams {
|
|
62
|
+
/** If the search should be redirected to a specific portal. */
|
|
63
|
+
portalId?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface HttpGetAssetSkillEnhancerRequestParams {
|
|
67
|
+
/** The ID of the entity (Asset or Collection). */
|
|
68
|
+
id: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface HttpQueuesAgainRequestParams {
|
|
72
|
+
/** Enter queue name which has to take messages from poison to regular queue. */
|
|
73
|
+
queue: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
31
76
|
@Injectable({
|
|
32
77
|
providedIn: 'root'
|
|
33
78
|
})
|
|
@@ -39,13 +84,18 @@ export class HelperToolsService {
|
|
|
39
84
|
|
|
40
85
|
constructor(
|
|
41
86
|
protected httpClient: HttpClient,
|
|
42
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
87
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
43
88
|
@Optional() configuration: AgravityConfiguration
|
|
44
89
|
) {
|
|
45
90
|
if (configuration) {
|
|
46
91
|
this.configuration = configuration;
|
|
47
92
|
}
|
|
48
93
|
if (typeof this.configuration.basePath !== 'string') {
|
|
94
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
95
|
+
if (firstBasePath != undefined) {
|
|
96
|
+
basePath = firstBasePath;
|
|
97
|
+
}
|
|
98
|
+
|
|
49
99
|
if (typeof basePath !== 'string') {
|
|
50
100
|
basePath = this.basePath;
|
|
51
101
|
}
|
|
@@ -54,6 +104,7 @@ export class HelperToolsService {
|
|
|
54
104
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
55
105
|
}
|
|
56
106
|
|
|
107
|
+
// @ts-ignore
|
|
57
108
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
58
109
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
59
110
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -73,7 +124,7 @@ export class HelperToolsService {
|
|
|
73
124
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
74
125
|
} else if (value instanceof Date) {
|
|
75
126
|
if (key != null) {
|
|
76
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
127
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
77
128
|
} else {
|
|
78
129
|
throw Error('key may not be null if value is Date');
|
|
79
130
|
}
|
|
@@ -90,52 +141,87 @@ export class HelperToolsService {
|
|
|
90
141
|
|
|
91
142
|
/**
|
|
92
143
|
* This endpoint calculates the md5 hash of an asset.
|
|
93
|
-
* @param
|
|
144
|
+
* @param requestParameters
|
|
94
145
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
95
146
|
* @param reportProgress flag to report request and response progress.
|
|
96
147
|
*/
|
|
97
|
-
public httpCalculateMD5HashForAsset(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
|
|
98
148
|
public httpCalculateMD5HashForAsset(
|
|
99
|
-
|
|
149
|
+
requestParameters?: HttpCalculateMD5HashForAssetRequestParams,
|
|
150
|
+
observe?: 'body',
|
|
151
|
+
reportProgress?: boolean,
|
|
152
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
153
|
+
): Observable<AgravityInfoResponse>;
|
|
154
|
+
public httpCalculateMD5HashForAsset(
|
|
155
|
+
requestParameters?: HttpCalculateMD5HashForAssetRequestParams,
|
|
100
156
|
observe?: 'response',
|
|
101
157
|
reportProgress?: boolean,
|
|
102
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
158
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
103
159
|
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
104
|
-
public httpCalculateMD5HashForAsset(
|
|
105
|
-
|
|
160
|
+
public httpCalculateMD5HashForAsset(
|
|
161
|
+
requestParameters?: HttpCalculateMD5HashForAssetRequestParams,
|
|
162
|
+
observe?: 'events',
|
|
163
|
+
reportProgress?: boolean,
|
|
164
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
165
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
166
|
+
public httpCalculateMD5HashForAsset(
|
|
167
|
+
requestParameters?: HttpCalculateMD5HashForAssetRequestParams,
|
|
168
|
+
observe: any = 'body',
|
|
169
|
+
reportProgress: boolean = false,
|
|
170
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
171
|
+
): Observable<any> {
|
|
172
|
+
const id = requestParameters?.id;
|
|
106
173
|
if (id === null || id === undefined) {
|
|
107
174
|
throw new Error('Required parameter id was null or undefined when calling httpCalculateMD5HashForAsset.');
|
|
108
175
|
}
|
|
109
176
|
|
|
110
|
-
let
|
|
177
|
+
let localVarHeaders = this.defaultHeaders;
|
|
111
178
|
|
|
112
|
-
let
|
|
179
|
+
let localVarCredential: string | undefined;
|
|
113
180
|
// authentication (msal_auth) required
|
|
114
|
-
|
|
115
|
-
if (
|
|
116
|
-
|
|
181
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
182
|
+
if (localVarCredential) {
|
|
183
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
117
184
|
}
|
|
118
185
|
|
|
119
|
-
let
|
|
120
|
-
if (
|
|
186
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
187
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
121
188
|
// to determine the Accept header
|
|
122
189
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
123
|
-
|
|
190
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
124
191
|
}
|
|
125
|
-
if (
|
|
126
|
-
|
|
192
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
193
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
127
194
|
}
|
|
128
195
|
|
|
129
|
-
let
|
|
130
|
-
if (
|
|
131
|
-
|
|
196
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
197
|
+
if (localVarHttpContext === undefined) {
|
|
198
|
+
localVarHttpContext = new HttpContext();
|
|
132
199
|
}
|
|
133
200
|
|
|
134
|
-
|
|
201
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
202
|
+
if (localVarTransferCache === undefined) {
|
|
203
|
+
localVarTransferCache = true;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
207
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
208
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
209
|
+
responseType_ = 'text';
|
|
210
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
211
|
+
responseType_ = 'json';
|
|
212
|
+
} else {
|
|
213
|
+
responseType_ = 'blob';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
let localVarPath = `/helper/md5/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
218
|
+
return this.httpClient.request<AgravityInfoResponse>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
219
|
+
context: localVarHttpContext,
|
|
135
220
|
responseType: <any>responseType_,
|
|
136
221
|
withCredentials: this.configuration.withCredentials,
|
|
137
|
-
headers:
|
|
222
|
+
headers: localVarHeaders,
|
|
138
223
|
observe: observe,
|
|
224
|
+
transferCache: localVarTransferCache,
|
|
139
225
|
reportProgress: reportProgress
|
|
140
226
|
});
|
|
141
227
|
}
|
|
@@ -145,84 +231,154 @@ export class HelperToolsService {
|
|
|
145
231
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
146
232
|
* @param reportProgress flag to report request and response progress.
|
|
147
233
|
*/
|
|
148
|
-
public httpGetAllThumbnailBlobsList(
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
234
|
+
public httpGetAllThumbnailBlobsList(
|
|
235
|
+
observe?: 'body',
|
|
236
|
+
reportProgress?: boolean,
|
|
237
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
238
|
+
): Observable<Array<AssetBlob>>;
|
|
239
|
+
public httpGetAllThumbnailBlobsList(
|
|
240
|
+
observe?: 'response',
|
|
241
|
+
reportProgress?: boolean,
|
|
242
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
243
|
+
): Observable<HttpResponse<Array<AssetBlob>>>;
|
|
244
|
+
public httpGetAllThumbnailBlobsList(
|
|
245
|
+
observe?: 'events',
|
|
246
|
+
reportProgress?: boolean,
|
|
247
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
248
|
+
): Observable<HttpEvent<Array<AssetBlob>>>;
|
|
249
|
+
public httpGetAllThumbnailBlobsList(
|
|
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) {
|
|
156
258
|
// to determine the Accept header
|
|
157
259
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
158
|
-
|
|
260
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
159
261
|
}
|
|
160
|
-
if (
|
|
161
|
-
|
|
262
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
263
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
162
264
|
}
|
|
163
265
|
|
|
164
|
-
let
|
|
165
|
-
if (
|
|
166
|
-
|
|
266
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
267
|
+
if (localVarHttpContext === undefined) {
|
|
268
|
+
localVarHttpContext = new HttpContext();
|
|
167
269
|
}
|
|
168
270
|
|
|
169
|
-
|
|
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/placeholderblobs`;
|
|
288
|
+
return this.httpClient.request<Array<AssetBlob>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
289
|
+
context: localVarHttpContext,
|
|
170
290
|
responseType: <any>responseType_,
|
|
171
291
|
withCredentials: this.configuration.withCredentials,
|
|
172
|
-
headers:
|
|
292
|
+
headers: localVarHeaders,
|
|
173
293
|
observe: observe,
|
|
294
|
+
transferCache: localVarTransferCache,
|
|
174
295
|
reportProgress: reportProgress
|
|
175
296
|
});
|
|
176
297
|
}
|
|
177
298
|
|
|
178
299
|
/**
|
|
179
300
|
* Returns all user defined lists of all collection types
|
|
180
|
-
* @param
|
|
301
|
+
* @param requestParameters
|
|
181
302
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
182
303
|
* @param reportProgress flag to report request and response progress.
|
|
183
304
|
*/
|
|
184
|
-
public httpGetAllUserDefinedLists(translations?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<CollectionUDL>>;
|
|
185
305
|
public httpGetAllUserDefinedLists(
|
|
186
|
-
|
|
306
|
+
requestParameters?: HttpGetAllUserDefinedListsRequestParams,
|
|
307
|
+
observe?: 'body',
|
|
308
|
+
reportProgress?: boolean,
|
|
309
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
310
|
+
): Observable<Array<CollectionUDL>>;
|
|
311
|
+
public httpGetAllUserDefinedLists(
|
|
312
|
+
requestParameters?: HttpGetAllUserDefinedListsRequestParams,
|
|
187
313
|
observe?: 'response',
|
|
188
314
|
reportProgress?: boolean,
|
|
189
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
315
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
190
316
|
): Observable<HttpResponse<Array<CollectionUDL>>>;
|
|
191
317
|
public httpGetAllUserDefinedLists(
|
|
192
|
-
|
|
318
|
+
requestParameters?: HttpGetAllUserDefinedListsRequestParams,
|
|
193
319
|
observe?: 'events',
|
|
194
320
|
reportProgress?: boolean,
|
|
195
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
321
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
196
322
|
): Observable<HttpEvent<Array<CollectionUDL>>>;
|
|
197
|
-
public httpGetAllUserDefinedLists(
|
|
198
|
-
|
|
323
|
+
public httpGetAllUserDefinedLists(
|
|
324
|
+
requestParameters?: HttpGetAllUserDefinedListsRequestParams,
|
|
325
|
+
observe: any = 'body',
|
|
326
|
+
reportProgress: boolean = false,
|
|
327
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
328
|
+
): Observable<any> {
|
|
329
|
+
const translations = requestParameters?.translations;
|
|
330
|
+
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
331
|
+
|
|
332
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
199
333
|
if (translations !== undefined && translations !== null) {
|
|
200
|
-
|
|
334
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
201
335
|
}
|
|
202
336
|
|
|
203
|
-
let
|
|
337
|
+
let localVarHeaders = this.defaultHeaders;
|
|
338
|
+
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
339
|
+
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
340
|
+
}
|
|
204
341
|
|
|
205
|
-
let
|
|
206
|
-
if (
|
|
342
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
343
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
207
344
|
// to determine the Accept header
|
|
208
345
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
209
|
-
|
|
346
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
210
347
|
}
|
|
211
|
-
if (
|
|
212
|
-
|
|
348
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
349
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
353
|
+
if (localVarHttpContext === undefined) {
|
|
354
|
+
localVarHttpContext = new HttpContext();
|
|
213
355
|
}
|
|
214
356
|
|
|
215
|
-
let
|
|
216
|
-
if (
|
|
217
|
-
|
|
357
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
358
|
+
if (localVarTransferCache === undefined) {
|
|
359
|
+
localVarTransferCache = true;
|
|
218
360
|
}
|
|
219
361
|
|
|
220
|
-
|
|
221
|
-
|
|
362
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
363
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
364
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
365
|
+
responseType_ = 'text';
|
|
366
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
367
|
+
responseType_ = 'json';
|
|
368
|
+
} else {
|
|
369
|
+
responseType_ = 'blob';
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
let localVarPath = `/helper/userdefinedlists`;
|
|
374
|
+
return this.httpClient.request<Array<CollectionUDL>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
375
|
+
context: localVarHttpContext,
|
|
376
|
+
params: localVarQueryParameters,
|
|
222
377
|
responseType: <any>responseType_,
|
|
223
378
|
withCredentials: this.configuration.withCredentials,
|
|
224
|
-
headers:
|
|
379
|
+
headers: localVarHeaders,
|
|
225
380
|
observe: observe,
|
|
381
|
+
transferCache: localVarTransferCache,
|
|
226
382
|
reportProgress: reportProgress
|
|
227
383
|
});
|
|
228
384
|
}
|
|
@@ -232,86 +388,157 @@ export class HelperToolsService {
|
|
|
232
388
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
233
389
|
* @param reportProgress flag to report request and response progress.
|
|
234
390
|
*/
|
|
235
|
-
public httpGetAllVimeoVideos(
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
391
|
+
public httpGetAllVimeoVideos(
|
|
392
|
+
observe?: 'body',
|
|
393
|
+
reportProgress?: boolean,
|
|
394
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
395
|
+
): Observable<PublishedAsset>;
|
|
396
|
+
public httpGetAllVimeoVideos(
|
|
397
|
+
observe?: 'response',
|
|
398
|
+
reportProgress?: boolean,
|
|
399
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
400
|
+
): Observable<HttpResponse<PublishedAsset>>;
|
|
401
|
+
public httpGetAllVimeoVideos(
|
|
402
|
+
observe?: 'events',
|
|
403
|
+
reportProgress?: boolean,
|
|
404
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
405
|
+
): Observable<HttpEvent<PublishedAsset>>;
|
|
406
|
+
public httpGetAllVimeoVideos(
|
|
407
|
+
observe: any = 'body',
|
|
408
|
+
reportProgress: boolean = false,
|
|
409
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
410
|
+
): Observable<any> {
|
|
411
|
+
let localVarHeaders = this.defaultHeaders;
|
|
412
|
+
|
|
413
|
+
let localVarCredential: string | undefined;
|
|
242
414
|
// authentication (msal_auth) required
|
|
243
|
-
|
|
244
|
-
if (
|
|
245
|
-
|
|
415
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
416
|
+
if (localVarCredential) {
|
|
417
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
246
418
|
}
|
|
247
419
|
|
|
248
|
-
let
|
|
249
|
-
if (
|
|
420
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
421
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
250
422
|
// to determine the Accept header
|
|
251
423
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
252
|
-
|
|
424
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
425
|
+
}
|
|
426
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
427
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
253
428
|
}
|
|
254
|
-
|
|
255
|
-
|
|
429
|
+
|
|
430
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
431
|
+
if (localVarHttpContext === undefined) {
|
|
432
|
+
localVarHttpContext = new HttpContext();
|
|
256
433
|
}
|
|
257
434
|
|
|
258
|
-
let
|
|
259
|
-
if (
|
|
260
|
-
|
|
435
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
436
|
+
if (localVarTransferCache === undefined) {
|
|
437
|
+
localVarTransferCache = true;
|
|
261
438
|
}
|
|
262
439
|
|
|
263
|
-
|
|
440
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
441
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
442
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
443
|
+
responseType_ = 'text';
|
|
444
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
445
|
+
responseType_ = 'json';
|
|
446
|
+
} else {
|
|
447
|
+
responseType_ = 'blob';
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
let localVarPath = `/helper/vimeo-videos`;
|
|
452
|
+
return this.httpClient.request<PublishedAsset>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
453
|
+
context: localVarHttpContext,
|
|
264
454
|
responseType: <any>responseType_,
|
|
265
455
|
withCredentials: this.configuration.withCredentials,
|
|
266
|
-
headers:
|
|
456
|
+
headers: localVarHeaders,
|
|
267
457
|
observe: observe,
|
|
458
|
+
transferCache: localVarTransferCache,
|
|
268
459
|
reportProgress: reportProgress
|
|
269
460
|
});
|
|
270
461
|
}
|
|
271
462
|
|
|
272
463
|
/**
|
|
273
464
|
* Returns all filterable items directly from the search index
|
|
274
|
-
* @param
|
|
465
|
+
* @param requestParameters
|
|
275
466
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
276
467
|
* @param reportProgress flag to report request and response progress.
|
|
277
468
|
*/
|
|
278
|
-
public httpGetAllowedFilterableItems(portalId?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<string>>;
|
|
279
469
|
public httpGetAllowedFilterableItems(
|
|
280
|
-
|
|
470
|
+
requestParameters?: HttpGetAllowedFilterableItemsRequestParams,
|
|
471
|
+
observe?: 'body',
|
|
472
|
+
reportProgress?: boolean,
|
|
473
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
474
|
+
): Observable<Array<string>>;
|
|
475
|
+
public httpGetAllowedFilterableItems(
|
|
476
|
+
requestParameters?: HttpGetAllowedFilterableItemsRequestParams,
|
|
281
477
|
observe?: 'response',
|
|
282
478
|
reportProgress?: boolean,
|
|
283
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
479
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
284
480
|
): Observable<HttpResponse<Array<string>>>;
|
|
285
|
-
public httpGetAllowedFilterableItems(
|
|
286
|
-
|
|
287
|
-
|
|
481
|
+
public httpGetAllowedFilterableItems(
|
|
482
|
+
requestParameters?: HttpGetAllowedFilterableItemsRequestParams,
|
|
483
|
+
observe?: 'events',
|
|
484
|
+
reportProgress?: boolean,
|
|
485
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
486
|
+
): Observable<HttpEvent<Array<string>>>;
|
|
487
|
+
public httpGetAllowedFilterableItems(
|
|
488
|
+
requestParameters?: HttpGetAllowedFilterableItemsRequestParams,
|
|
489
|
+
observe: any = 'body',
|
|
490
|
+
reportProgress: boolean = false,
|
|
491
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
492
|
+
): Observable<any> {
|
|
493
|
+
const portalId = requestParameters?.portalId;
|
|
494
|
+
|
|
495
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
288
496
|
if (portalId !== undefined && portalId !== null) {
|
|
289
|
-
|
|
497
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
290
498
|
}
|
|
291
499
|
|
|
292
|
-
let
|
|
500
|
+
let localVarHeaders = this.defaultHeaders;
|
|
293
501
|
|
|
294
|
-
let
|
|
295
|
-
if (
|
|
502
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
503
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
296
504
|
// to determine the Accept header
|
|
297
505
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
298
|
-
|
|
506
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
299
507
|
}
|
|
300
|
-
if (
|
|
301
|
-
|
|
508
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
509
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
302
510
|
}
|
|
303
511
|
|
|
304
|
-
let
|
|
305
|
-
if (
|
|
306
|
-
|
|
512
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
513
|
+
if (localVarHttpContext === undefined) {
|
|
514
|
+
localVarHttpContext = new HttpContext();
|
|
307
515
|
}
|
|
308
516
|
|
|
309
|
-
|
|
310
|
-
|
|
517
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
518
|
+
if (localVarTransferCache === undefined) {
|
|
519
|
+
localVarTransferCache = true;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
523
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
524
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
525
|
+
responseType_ = 'text';
|
|
526
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
527
|
+
responseType_ = 'json';
|
|
528
|
+
} else {
|
|
529
|
+
responseType_ = 'blob';
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
let localVarPath = `/helper/filterableitems`;
|
|
534
|
+
return this.httpClient.request<Array<string>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
535
|
+
context: localVarHttpContext,
|
|
536
|
+
params: localVarQueryParameters,
|
|
311
537
|
responseType: <any>responseType_,
|
|
312
538
|
withCredentials: this.configuration.withCredentials,
|
|
313
|
-
headers:
|
|
539
|
+
headers: localVarHeaders,
|
|
314
540
|
observe: observe,
|
|
541
|
+
transferCache: localVarTransferCache,
|
|
315
542
|
reportProgress: reportProgress
|
|
316
543
|
});
|
|
317
544
|
}
|
|
@@ -321,188 +548,320 @@ export class HelperToolsService {
|
|
|
321
548
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
322
549
|
* @param reportProgress flag to report request and response progress.
|
|
323
550
|
*/
|
|
324
|
-
public httpGetAllowedItemTypes(
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
551
|
+
public httpGetAllowedItemTypes(
|
|
552
|
+
observe?: 'body',
|
|
553
|
+
reportProgress?: boolean,
|
|
554
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
555
|
+
): Observable<Array<string>>;
|
|
556
|
+
public httpGetAllowedItemTypes(
|
|
557
|
+
observe?: 'response',
|
|
558
|
+
reportProgress?: boolean,
|
|
559
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
560
|
+
): Observable<HttpResponse<Array<string>>>;
|
|
561
|
+
public httpGetAllowedItemTypes(
|
|
562
|
+
observe?: 'events',
|
|
563
|
+
reportProgress?: boolean,
|
|
564
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
565
|
+
): Observable<HttpEvent<Array<string>>>;
|
|
566
|
+
public httpGetAllowedItemTypes(
|
|
567
|
+
observe: any = 'body',
|
|
568
|
+
reportProgress: boolean = false,
|
|
569
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
570
|
+
): Observable<any> {
|
|
571
|
+
let localVarHeaders = this.defaultHeaders;
|
|
572
|
+
|
|
573
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
574
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
332
575
|
// to determine the Accept header
|
|
333
576
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
334
|
-
|
|
577
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
578
|
+
}
|
|
579
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
580
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
335
581
|
}
|
|
336
|
-
|
|
337
|
-
|
|
582
|
+
|
|
583
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
584
|
+
if (localVarHttpContext === undefined) {
|
|
585
|
+
localVarHttpContext = new HttpContext();
|
|
338
586
|
}
|
|
339
587
|
|
|
340
|
-
let
|
|
341
|
-
if (
|
|
342
|
-
|
|
588
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
589
|
+
if (localVarTransferCache === undefined) {
|
|
590
|
+
localVarTransferCache = true;
|
|
343
591
|
}
|
|
344
592
|
|
|
345
|
-
|
|
593
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
594
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
595
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
596
|
+
responseType_ = 'text';
|
|
597
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
598
|
+
responseType_ = 'json';
|
|
599
|
+
} else {
|
|
600
|
+
responseType_ = 'blob';
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
let localVarPath = `/helper/collitemtypes`;
|
|
605
|
+
return this.httpClient.request<Array<string>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
606
|
+
context: localVarHttpContext,
|
|
346
607
|
responseType: <any>responseType_,
|
|
347
608
|
withCredentials: this.configuration.withCredentials,
|
|
348
|
-
headers:
|
|
609
|
+
headers: localVarHeaders,
|
|
349
610
|
observe: observe,
|
|
611
|
+
transferCache: localVarTransferCache,
|
|
350
612
|
reportProgress: reportProgress
|
|
351
613
|
});
|
|
352
614
|
}
|
|
353
615
|
|
|
354
616
|
/**
|
|
355
617
|
* Returns all searchable items directly from the search index
|
|
356
|
-
* @param
|
|
618
|
+
* @param requestParameters
|
|
357
619
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
358
620
|
* @param reportProgress flag to report request and response progress.
|
|
359
621
|
*/
|
|
360
|
-
public httpGetAllowedSearchableItemNames(portalId?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<string>>;
|
|
361
622
|
public httpGetAllowedSearchableItemNames(
|
|
362
|
-
|
|
623
|
+
requestParameters?: HttpGetAllowedSearchableItemNamesRequestParams,
|
|
624
|
+
observe?: 'body',
|
|
625
|
+
reportProgress?: boolean,
|
|
626
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
627
|
+
): Observable<Array<string>>;
|
|
628
|
+
public httpGetAllowedSearchableItemNames(
|
|
629
|
+
requestParameters?: HttpGetAllowedSearchableItemNamesRequestParams,
|
|
363
630
|
observe?: 'response',
|
|
364
631
|
reportProgress?: boolean,
|
|
365
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
632
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
366
633
|
): Observable<HttpResponse<Array<string>>>;
|
|
367
634
|
public httpGetAllowedSearchableItemNames(
|
|
368
|
-
|
|
635
|
+
requestParameters?: HttpGetAllowedSearchableItemNamesRequestParams,
|
|
369
636
|
observe?: 'events',
|
|
370
637
|
reportProgress?: boolean,
|
|
371
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
638
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
372
639
|
): Observable<HttpEvent<Array<string>>>;
|
|
373
|
-
public httpGetAllowedSearchableItemNames(
|
|
374
|
-
|
|
640
|
+
public httpGetAllowedSearchableItemNames(
|
|
641
|
+
requestParameters?: HttpGetAllowedSearchableItemNamesRequestParams,
|
|
642
|
+
observe: any = 'body',
|
|
643
|
+
reportProgress: boolean = false,
|
|
644
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
645
|
+
): Observable<any> {
|
|
646
|
+
const portalId = requestParameters?.portalId;
|
|
647
|
+
|
|
648
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
375
649
|
if (portalId !== undefined && portalId !== null) {
|
|
376
|
-
|
|
650
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
377
651
|
}
|
|
378
652
|
|
|
379
|
-
let
|
|
653
|
+
let localVarHeaders = this.defaultHeaders;
|
|
380
654
|
|
|
381
|
-
let
|
|
382
|
-
if (
|
|
655
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
656
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
383
657
|
// to determine the Accept header
|
|
384
658
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
385
|
-
|
|
659
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
386
660
|
}
|
|
387
|
-
if (
|
|
388
|
-
|
|
661
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
662
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
389
663
|
}
|
|
390
664
|
|
|
391
|
-
let
|
|
392
|
-
if (
|
|
393
|
-
|
|
665
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
666
|
+
if (localVarHttpContext === undefined) {
|
|
667
|
+
localVarHttpContext = new HttpContext();
|
|
394
668
|
}
|
|
395
669
|
|
|
396
|
-
|
|
397
|
-
|
|
670
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
671
|
+
if (localVarTransferCache === undefined) {
|
|
672
|
+
localVarTransferCache = true;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
676
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
677
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
678
|
+
responseType_ = 'text';
|
|
679
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
680
|
+
responseType_ = 'json';
|
|
681
|
+
} else {
|
|
682
|
+
responseType_ = 'blob';
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
let localVarPath = `/helper/searchableitemnames`;
|
|
687
|
+
return this.httpClient.request<Array<string>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
688
|
+
context: localVarHttpContext,
|
|
689
|
+
params: localVarQueryParameters,
|
|
398
690
|
responseType: <any>responseType_,
|
|
399
691
|
withCredentials: this.configuration.withCredentials,
|
|
400
|
-
headers:
|
|
692
|
+
headers: localVarHeaders,
|
|
401
693
|
observe: observe,
|
|
694
|
+
transferCache: localVarTransferCache,
|
|
402
695
|
reportProgress: reportProgress
|
|
403
696
|
});
|
|
404
697
|
}
|
|
405
698
|
|
|
406
699
|
/**
|
|
407
700
|
* Returns all searchable items directly from the search index
|
|
408
|
-
* @param
|
|
701
|
+
* @param requestParameters
|
|
409
702
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
410
703
|
* @param reportProgress flag to report request and response progress.
|
|
411
704
|
*/
|
|
412
|
-
public httpGetAllowedSearchableItems(portalId?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<SearchableItem>>;
|
|
413
705
|
public httpGetAllowedSearchableItems(
|
|
414
|
-
|
|
706
|
+
requestParameters?: HttpGetAllowedSearchableItemsRequestParams,
|
|
707
|
+
observe?: 'body',
|
|
708
|
+
reportProgress?: boolean,
|
|
709
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
710
|
+
): Observable<Array<SearchableItem>>;
|
|
711
|
+
public httpGetAllowedSearchableItems(
|
|
712
|
+
requestParameters?: HttpGetAllowedSearchableItemsRequestParams,
|
|
415
713
|
observe?: 'response',
|
|
416
714
|
reportProgress?: boolean,
|
|
417
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
715
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
418
716
|
): Observable<HttpResponse<Array<SearchableItem>>>;
|
|
419
717
|
public httpGetAllowedSearchableItems(
|
|
420
|
-
|
|
718
|
+
requestParameters?: HttpGetAllowedSearchableItemsRequestParams,
|
|
421
719
|
observe?: 'events',
|
|
422
720
|
reportProgress?: boolean,
|
|
423
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
721
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
424
722
|
): Observable<HttpEvent<Array<SearchableItem>>>;
|
|
425
|
-
public httpGetAllowedSearchableItems(
|
|
426
|
-
|
|
723
|
+
public httpGetAllowedSearchableItems(
|
|
724
|
+
requestParameters?: HttpGetAllowedSearchableItemsRequestParams,
|
|
725
|
+
observe: any = 'body',
|
|
726
|
+
reportProgress: boolean = false,
|
|
727
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
728
|
+
): Observable<any> {
|
|
729
|
+
const portalId = requestParameters?.portalId;
|
|
730
|
+
|
|
731
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
427
732
|
if (portalId !== undefined && portalId !== null) {
|
|
428
|
-
|
|
733
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
429
734
|
}
|
|
430
735
|
|
|
431
|
-
let
|
|
736
|
+
let localVarHeaders = this.defaultHeaders;
|
|
432
737
|
|
|
433
|
-
let
|
|
434
|
-
if (
|
|
738
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
739
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
435
740
|
// to determine the Accept header
|
|
436
741
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
437
|
-
|
|
742
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
438
743
|
}
|
|
439
|
-
if (
|
|
440
|
-
|
|
744
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
745
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
441
746
|
}
|
|
442
747
|
|
|
443
|
-
let
|
|
444
|
-
if (
|
|
445
|
-
|
|
748
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
749
|
+
if (localVarHttpContext === undefined) {
|
|
750
|
+
localVarHttpContext = new HttpContext();
|
|
446
751
|
}
|
|
447
752
|
|
|
448
|
-
|
|
449
|
-
|
|
753
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
754
|
+
if (localVarTransferCache === undefined) {
|
|
755
|
+
localVarTransferCache = true;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
759
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
760
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
761
|
+
responseType_ = 'text';
|
|
762
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
763
|
+
responseType_ = 'json';
|
|
764
|
+
} else {
|
|
765
|
+
responseType_ = 'blob';
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
let localVarPath = `/helper/searchableitems`;
|
|
770
|
+
return this.httpClient.request<Array<SearchableItem>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
771
|
+
context: localVarHttpContext,
|
|
772
|
+
params: localVarQueryParameters,
|
|
450
773
|
responseType: <any>responseType_,
|
|
451
774
|
withCredentials: this.configuration.withCredentials,
|
|
452
|
-
headers:
|
|
775
|
+
headers: localVarHeaders,
|
|
453
776
|
observe: observe,
|
|
777
|
+
transferCache: localVarTransferCache,
|
|
454
778
|
reportProgress: reportProgress
|
|
455
779
|
});
|
|
456
780
|
}
|
|
457
781
|
|
|
458
782
|
/**
|
|
459
783
|
* This is a helper method to see the result when an entity (Asset or Collection) is enhanced with the skill-enhancer (for search indexer).
|
|
460
|
-
* @param
|
|
784
|
+
* @param requestParameters
|
|
461
785
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
462
786
|
* @param reportProgress flag to report request and response progress.
|
|
463
787
|
*/
|
|
464
|
-
public httpGetAssetSkillEnhancer(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<InfoEntitySkillEnhanced>;
|
|
465
788
|
public httpGetAssetSkillEnhancer(
|
|
466
|
-
|
|
789
|
+
requestParameters?: HttpGetAssetSkillEnhancerRequestParams,
|
|
790
|
+
observe?: 'body',
|
|
791
|
+
reportProgress?: boolean,
|
|
792
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
793
|
+
): Observable<InfoEntitySkillEnhanced>;
|
|
794
|
+
public httpGetAssetSkillEnhancer(
|
|
795
|
+
requestParameters?: HttpGetAssetSkillEnhancerRequestParams,
|
|
467
796
|
observe?: 'response',
|
|
468
797
|
reportProgress?: boolean,
|
|
469
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
798
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
470
799
|
): Observable<HttpResponse<InfoEntitySkillEnhanced>>;
|
|
471
|
-
public httpGetAssetSkillEnhancer(
|
|
472
|
-
|
|
800
|
+
public httpGetAssetSkillEnhancer(
|
|
801
|
+
requestParameters?: HttpGetAssetSkillEnhancerRequestParams,
|
|
802
|
+
observe?: 'events',
|
|
803
|
+
reportProgress?: boolean,
|
|
804
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
805
|
+
): Observable<HttpEvent<InfoEntitySkillEnhanced>>;
|
|
806
|
+
public httpGetAssetSkillEnhancer(
|
|
807
|
+
requestParameters?: HttpGetAssetSkillEnhancerRequestParams,
|
|
808
|
+
observe: any = 'body',
|
|
809
|
+
reportProgress: boolean = false,
|
|
810
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
811
|
+
): Observable<any> {
|
|
812
|
+
const id = requestParameters?.id;
|
|
473
813
|
if (id === null || id === undefined) {
|
|
474
814
|
throw new Error('Required parameter id was null or undefined when calling httpGetAssetSkillEnhancer.');
|
|
475
815
|
}
|
|
476
816
|
|
|
477
|
-
let
|
|
817
|
+
let localVarHeaders = this.defaultHeaders;
|
|
478
818
|
|
|
479
|
-
let
|
|
819
|
+
let localVarCredential: string | undefined;
|
|
480
820
|
// authentication (msal_auth) required
|
|
481
|
-
|
|
482
|
-
if (
|
|
483
|
-
|
|
821
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
822
|
+
if (localVarCredential) {
|
|
823
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
484
824
|
}
|
|
485
825
|
|
|
486
|
-
let
|
|
487
|
-
if (
|
|
826
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
827
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
488
828
|
// to determine the Accept header
|
|
489
829
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
490
|
-
|
|
830
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
831
|
+
}
|
|
832
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
833
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
837
|
+
if (localVarHttpContext === undefined) {
|
|
838
|
+
localVarHttpContext = new HttpContext();
|
|
491
839
|
}
|
|
492
|
-
|
|
493
|
-
|
|
840
|
+
|
|
841
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
842
|
+
if (localVarTransferCache === undefined) {
|
|
843
|
+
localVarTransferCache = true;
|
|
494
844
|
}
|
|
495
845
|
|
|
496
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
497
|
-
if (
|
|
498
|
-
|
|
846
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
847
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
848
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
849
|
+
responseType_ = 'text';
|
|
850
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
851
|
+
responseType_ = 'json';
|
|
852
|
+
} else {
|
|
853
|
+
responseType_ = 'blob';
|
|
854
|
+
}
|
|
499
855
|
}
|
|
500
856
|
|
|
501
|
-
|
|
857
|
+
let localVarPath = `/helper/skillenhancer/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
858
|
+
return this.httpClient.request<InfoEntitySkillEnhanced>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
859
|
+
context: localVarHttpContext,
|
|
502
860
|
responseType: <any>responseType_,
|
|
503
861
|
withCredentials: this.configuration.withCredentials,
|
|
504
|
-
headers:
|
|
862
|
+
headers: localVarHeaders,
|
|
505
863
|
observe: observe,
|
|
864
|
+
transferCache: localVarTransferCache,
|
|
506
865
|
reportProgress: reportProgress
|
|
507
866
|
});
|
|
508
867
|
}
|
|
@@ -512,32 +871,67 @@ export class HelperToolsService {
|
|
|
512
871
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
513
872
|
* @param reportProgress flag to report request and response progress.
|
|
514
873
|
*/
|
|
515
|
-
public httpGetImageEditFilters(
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
874
|
+
public httpGetImageEditFilters(
|
|
875
|
+
observe?: 'body',
|
|
876
|
+
reportProgress?: boolean,
|
|
877
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
878
|
+
): Observable<Array<string>>;
|
|
879
|
+
public httpGetImageEditFilters(
|
|
880
|
+
observe?: 'response',
|
|
881
|
+
reportProgress?: boolean,
|
|
882
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
883
|
+
): Observable<HttpResponse<Array<string>>>;
|
|
884
|
+
public httpGetImageEditFilters(
|
|
885
|
+
observe?: 'events',
|
|
886
|
+
reportProgress?: boolean,
|
|
887
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
888
|
+
): Observable<HttpEvent<Array<string>>>;
|
|
889
|
+
public httpGetImageEditFilters(
|
|
890
|
+
observe: any = 'body',
|
|
891
|
+
reportProgress: boolean = false,
|
|
892
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
893
|
+
): Observable<any> {
|
|
894
|
+
let localVarHeaders = this.defaultHeaders;
|
|
895
|
+
|
|
896
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
897
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
523
898
|
// to determine the Accept header
|
|
524
899
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
525
|
-
|
|
900
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
526
901
|
}
|
|
527
|
-
if (
|
|
528
|
-
|
|
902
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
903
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
529
904
|
}
|
|
530
905
|
|
|
531
|
-
let
|
|
532
|
-
if (
|
|
533
|
-
|
|
906
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
907
|
+
if (localVarHttpContext === undefined) {
|
|
908
|
+
localVarHttpContext = new HttpContext();
|
|
534
909
|
}
|
|
535
910
|
|
|
536
|
-
|
|
911
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
912
|
+
if (localVarTransferCache === undefined) {
|
|
913
|
+
localVarTransferCache = true;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
917
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
918
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
919
|
+
responseType_ = 'text';
|
|
920
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
921
|
+
responseType_ = 'json';
|
|
922
|
+
} else {
|
|
923
|
+
responseType_ = 'blob';
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
let localVarPath = `/helper/imageeditfilters`;
|
|
928
|
+
return this.httpClient.request<Array<string>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
929
|
+
context: localVarHttpContext,
|
|
537
930
|
responseType: <any>responseType_,
|
|
538
931
|
withCredentials: this.configuration.withCredentials,
|
|
539
|
-
headers:
|
|
932
|
+
headers: localVarHeaders,
|
|
540
933
|
observe: observe,
|
|
934
|
+
transferCache: localVarTransferCache,
|
|
541
935
|
reportProgress: reportProgress
|
|
542
936
|
});
|
|
543
937
|
}
|
|
@@ -547,32 +941,63 @@ export class HelperToolsService {
|
|
|
547
941
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
548
942
|
* @param reportProgress flag to report request and response progress.
|
|
549
943
|
*/
|
|
550
|
-
public httpInboxPoke(
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
944
|
+
public httpInboxPoke(
|
|
945
|
+
observe?: 'body',
|
|
946
|
+
reportProgress?: boolean,
|
|
947
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
948
|
+
): Observable<AgravityInfoResponse>;
|
|
949
|
+
public httpInboxPoke(
|
|
950
|
+
observe?: 'response',
|
|
951
|
+
reportProgress?: boolean,
|
|
952
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
953
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
954
|
+
public httpInboxPoke(
|
|
955
|
+
observe?: 'events',
|
|
956
|
+
reportProgress?: boolean,
|
|
957
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
958
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
959
|
+
public httpInboxPoke(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }): Observable<any> {
|
|
960
|
+
let localVarHeaders = this.defaultHeaders;
|
|
961
|
+
|
|
962
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
963
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
558
964
|
// to determine the Accept header
|
|
559
965
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
560
|
-
|
|
966
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
967
|
+
}
|
|
968
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
969
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
973
|
+
if (localVarHttpContext === undefined) {
|
|
974
|
+
localVarHttpContext = new HttpContext();
|
|
561
975
|
}
|
|
562
|
-
|
|
563
|
-
|
|
976
|
+
|
|
977
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
978
|
+
if (localVarTransferCache === undefined) {
|
|
979
|
+
localVarTransferCache = true;
|
|
564
980
|
}
|
|
565
981
|
|
|
566
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
567
|
-
if (
|
|
568
|
-
|
|
982
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
983
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
984
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
985
|
+
responseType_ = 'text';
|
|
986
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
987
|
+
responseType_ = 'json';
|
|
988
|
+
} else {
|
|
989
|
+
responseType_ = 'blob';
|
|
990
|
+
}
|
|
569
991
|
}
|
|
570
992
|
|
|
571
|
-
|
|
993
|
+
let localVarPath = `/helper/inboxpoke`;
|
|
994
|
+
return this.httpClient.request<AgravityInfoResponse>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
995
|
+
context: localVarHttpContext,
|
|
572
996
|
responseType: <any>responseType_,
|
|
573
997
|
withCredentials: this.configuration.withCredentials,
|
|
574
|
-
headers:
|
|
998
|
+
headers: localVarHeaders,
|
|
575
999
|
observe: observe,
|
|
1000
|
+
transferCache: localVarTransferCache,
|
|
576
1001
|
reportProgress: reportProgress
|
|
577
1002
|
});
|
|
578
1003
|
}
|
|
@@ -582,32 +1007,67 @@ export class HelperToolsService {
|
|
|
582
1007
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
583
1008
|
* @param reportProgress flag to report request and response progress.
|
|
584
1009
|
*/
|
|
585
|
-
public httpPatchClearConfigCache(
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
1010
|
+
public httpPatchClearConfigCache(
|
|
1011
|
+
observe?: 'body',
|
|
1012
|
+
reportProgress?: boolean,
|
|
1013
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1014
|
+
): Observable<AgravityInfoResponse>;
|
|
1015
|
+
public httpPatchClearConfigCache(
|
|
1016
|
+
observe?: 'response',
|
|
1017
|
+
reportProgress?: boolean,
|
|
1018
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1019
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
1020
|
+
public httpPatchClearConfigCache(
|
|
1021
|
+
observe?: 'events',
|
|
1022
|
+
reportProgress?: boolean,
|
|
1023
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1024
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
1025
|
+
public httpPatchClearConfigCache(
|
|
1026
|
+
observe: any = 'body',
|
|
1027
|
+
reportProgress: boolean = false,
|
|
1028
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1029
|
+
): Observable<any> {
|
|
1030
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1031
|
+
|
|
1032
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
1033
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
593
1034
|
// to determine the Accept header
|
|
594
1035
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
595
|
-
|
|
1036
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1037
|
+
}
|
|
1038
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1039
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
596
1040
|
}
|
|
597
|
-
|
|
598
|
-
|
|
1041
|
+
|
|
1042
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
1043
|
+
if (localVarHttpContext === undefined) {
|
|
1044
|
+
localVarHttpContext = new HttpContext();
|
|
599
1045
|
}
|
|
600
1046
|
|
|
601
|
-
let
|
|
602
|
-
if (
|
|
603
|
-
|
|
1047
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
1048
|
+
if (localVarTransferCache === undefined) {
|
|
1049
|
+
localVarTransferCache = true;
|
|
604
1050
|
}
|
|
605
1051
|
|
|
606
|
-
|
|
1052
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
1053
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1054
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1055
|
+
responseType_ = 'text';
|
|
1056
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1057
|
+
responseType_ = 'json';
|
|
1058
|
+
} else {
|
|
1059
|
+
responseType_ = 'blob';
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
let localVarPath = `/helper/clearconfigcache`;
|
|
1064
|
+
return this.httpClient.request<AgravityInfoResponse>('patch', `${this.configuration.basePath}${localVarPath}`, {
|
|
1065
|
+
context: localVarHttpContext,
|
|
607
1066
|
responseType: <any>responseType_,
|
|
608
1067
|
withCredentials: this.configuration.withCredentials,
|
|
609
|
-
headers:
|
|
1068
|
+
headers: localVarHeaders,
|
|
610
1069
|
observe: observe,
|
|
1070
|
+
transferCache: localVarTransferCache,
|
|
611
1071
|
reportProgress: reportProgress
|
|
612
1072
|
});
|
|
613
1073
|
}
|
|
@@ -617,82 +1077,153 @@ export class HelperToolsService {
|
|
|
617
1077
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
618
1078
|
* @param reportProgress flag to report request and response progress.
|
|
619
1079
|
*/
|
|
620
|
-
public httpPatchUpdateCachedUserDefinedLists(
|
|
1080
|
+
public httpPatchUpdateCachedUserDefinedLists(
|
|
1081
|
+
observe?: 'body',
|
|
1082
|
+
reportProgress?: boolean,
|
|
1083
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1084
|
+
): Observable<CollectionUDLListEntity>;
|
|
621
1085
|
public httpPatchUpdateCachedUserDefinedLists(
|
|
622
1086
|
observe?: 'response',
|
|
623
1087
|
reportProgress?: boolean,
|
|
624
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
1088
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
625
1089
|
): Observable<HttpResponse<CollectionUDLListEntity>>;
|
|
626
|
-
public httpPatchUpdateCachedUserDefinedLists(
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
1090
|
+
public httpPatchUpdateCachedUserDefinedLists(
|
|
1091
|
+
observe?: 'events',
|
|
1092
|
+
reportProgress?: boolean,
|
|
1093
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1094
|
+
): Observable<HttpEvent<CollectionUDLListEntity>>;
|
|
1095
|
+
public httpPatchUpdateCachedUserDefinedLists(
|
|
1096
|
+
observe: any = 'body',
|
|
1097
|
+
reportProgress: boolean = false,
|
|
1098
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1099
|
+
): Observable<any> {
|
|
1100
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1101
|
+
|
|
1102
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
1103
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
632
1104
|
// to determine the Accept header
|
|
633
1105
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
634
|
-
|
|
1106
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
635
1107
|
}
|
|
636
|
-
if (
|
|
637
|
-
|
|
1108
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1109
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
638
1110
|
}
|
|
639
1111
|
|
|
640
|
-
let
|
|
641
|
-
if (
|
|
642
|
-
|
|
1112
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
1113
|
+
if (localVarHttpContext === undefined) {
|
|
1114
|
+
localVarHttpContext = new HttpContext();
|
|
643
1115
|
}
|
|
644
1116
|
|
|
645
|
-
|
|
1117
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
1118
|
+
if (localVarTransferCache === undefined) {
|
|
1119
|
+
localVarTransferCache = true;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
1123
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1124
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1125
|
+
responseType_ = 'text';
|
|
1126
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1127
|
+
responseType_ = 'json';
|
|
1128
|
+
} else {
|
|
1129
|
+
responseType_ = 'blob';
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
let localVarPath = `/helper/userdefinedlists`;
|
|
1134
|
+
return this.httpClient.request<CollectionUDLListEntity>('patch', `${this.configuration.basePath}${localVarPath}`, {
|
|
1135
|
+
context: localVarHttpContext,
|
|
646
1136
|
responseType: <any>responseType_,
|
|
647
1137
|
withCredentials: this.configuration.withCredentials,
|
|
648
|
-
headers:
|
|
1138
|
+
headers: localVarHeaders,
|
|
649
1139
|
observe: observe,
|
|
1140
|
+
transferCache: localVarTransferCache,
|
|
650
1141
|
reportProgress: reportProgress
|
|
651
1142
|
});
|
|
652
1143
|
}
|
|
653
1144
|
|
|
654
1145
|
/**
|
|
655
1146
|
* Re-queue poisoned messages. It takes the only one argument and tries to find the poisoned queue.
|
|
656
|
-
* @param
|
|
1147
|
+
* @param requestParameters
|
|
657
1148
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
658
1149
|
* @param reportProgress flag to report request and response progress.
|
|
659
1150
|
*/
|
|
660
|
-
public httpQueuesAgain(
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
1151
|
+
public httpQueuesAgain(
|
|
1152
|
+
requestParameters?: HttpQueuesAgainRequestParams,
|
|
1153
|
+
observe?: 'body',
|
|
1154
|
+
reportProgress?: boolean,
|
|
1155
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1156
|
+
): Observable<Array<string>>;
|
|
1157
|
+
public httpQueuesAgain(
|
|
1158
|
+
requestParameters?: HttpQueuesAgainRequestParams,
|
|
1159
|
+
observe?: 'response',
|
|
1160
|
+
reportProgress?: boolean,
|
|
1161
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1162
|
+
): Observable<HttpResponse<Array<string>>>;
|
|
1163
|
+
public httpQueuesAgain(
|
|
1164
|
+
requestParameters?: HttpQueuesAgainRequestParams,
|
|
1165
|
+
observe?: 'events',
|
|
1166
|
+
reportProgress?: boolean,
|
|
1167
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1168
|
+
): Observable<HttpEvent<Array<string>>>;
|
|
1169
|
+
public httpQueuesAgain(
|
|
1170
|
+
requestParameters?: HttpQueuesAgainRequestParams,
|
|
1171
|
+
observe: any = 'body',
|
|
1172
|
+
reportProgress: boolean = false,
|
|
1173
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1174
|
+
): Observable<any> {
|
|
1175
|
+
const queue = requestParameters?.queue;
|
|
664
1176
|
if (queue === null || queue === undefined) {
|
|
665
1177
|
throw new Error('Required parameter queue was null or undefined when calling httpQueuesAgain.');
|
|
666
1178
|
}
|
|
667
1179
|
|
|
668
|
-
let
|
|
1180
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
669
1181
|
if (queue !== undefined && queue !== null) {
|
|
670
|
-
|
|
1182
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>queue, 'queue');
|
|
671
1183
|
}
|
|
672
1184
|
|
|
673
|
-
let
|
|
1185
|
+
let localVarHeaders = this.defaultHeaders;
|
|
674
1186
|
|
|
675
|
-
let
|
|
676
|
-
if (
|
|
1187
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
1188
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
677
1189
|
// to determine the Accept header
|
|
678
1190
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
679
|
-
|
|
1191
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
680
1192
|
}
|
|
681
|
-
if (
|
|
682
|
-
|
|
1193
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1194
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
683
1195
|
}
|
|
684
1196
|
|
|
685
|
-
let
|
|
686
|
-
if (
|
|
687
|
-
|
|
1197
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
1198
|
+
if (localVarHttpContext === undefined) {
|
|
1199
|
+
localVarHttpContext = new HttpContext();
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
1203
|
+
if (localVarTransferCache === undefined) {
|
|
1204
|
+
localVarTransferCache = true;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
1208
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1209
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1210
|
+
responseType_ = 'text';
|
|
1211
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1212
|
+
responseType_ = 'json';
|
|
1213
|
+
} else {
|
|
1214
|
+
responseType_ = 'blob';
|
|
1215
|
+
}
|
|
688
1216
|
}
|
|
689
1217
|
|
|
690
|
-
|
|
691
|
-
|
|
1218
|
+
let localVarPath = `/helper/queueagain`;
|
|
1219
|
+
return this.httpClient.request<Array<string>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1220
|
+
context: localVarHttpContext,
|
|
1221
|
+
params: localVarQueryParameters,
|
|
692
1222
|
responseType: <any>responseType_,
|
|
693
1223
|
withCredentials: this.configuration.withCredentials,
|
|
694
|
-
headers:
|
|
1224
|
+
headers: localVarHeaders,
|
|
695
1225
|
observe: observe,
|
|
1226
|
+
transferCache: localVarTransferCache,
|
|
696
1227
|
reportProgress: reportProgress
|
|
697
1228
|
});
|
|
698
1229
|
}
|