@agravity/private 7.3.1 → 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 +18 -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.1
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,18 +11,46 @@
|
|
|
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 {
|
|
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 { AgravityVersion } from '../model/agravityVersion.agravity';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { DeletedEntities } from '../model/deletedEntities.agravity';
|
|
23
26
|
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
25
29
|
import { AgravityConfiguration } from '../configuration';
|
|
26
30
|
|
|
31
|
+
export interface HttpCleanupRequestParams {
|
|
32
|
+
/** (Default 90 days) - How many days in the entity. */
|
|
33
|
+
olderThanDays?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface HttpGetDeletedEntitiesRequestParams {
|
|
37
|
+
/** The type of the entity (e.g. \'asset\', \'collection_type\', \'collection_type\'. Admins are allowed to list the other types as well. */
|
|
38
|
+
entityType?: string;
|
|
39
|
+
/** The date in the past since the entities are marked as deleted in the database. */
|
|
40
|
+
since?: string;
|
|
41
|
+
/** The date in the past until the entities are marked as deleted in the database. */
|
|
42
|
+
until?: string;
|
|
43
|
+
/** If the request comes from portal this is the indicator. */
|
|
44
|
+
portalId?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface HttpSetupRequestParams {
|
|
48
|
+
/** (Default true) - Set to false if base collections (Folder) should not be created. */
|
|
49
|
+
createfolder: boolean;
|
|
50
|
+
/** Comma separated queue-names (have to start with \'setup-\'). */
|
|
51
|
+
addconfigqueues?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
27
54
|
@Injectable({
|
|
28
55
|
providedIn: 'root'
|
|
29
56
|
})
|
|
@@ -35,13 +62,18 @@ export class GeneralManagementService {
|
|
|
35
62
|
|
|
36
63
|
constructor(
|
|
37
64
|
protected httpClient: HttpClient,
|
|
38
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
65
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
39
66
|
@Optional() configuration: AgravityConfiguration
|
|
40
67
|
) {
|
|
41
68
|
if (configuration) {
|
|
42
69
|
this.configuration = configuration;
|
|
43
70
|
}
|
|
44
71
|
if (typeof this.configuration.basePath !== 'string') {
|
|
72
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
73
|
+
if (firstBasePath != undefined) {
|
|
74
|
+
basePath = firstBasePath;
|
|
75
|
+
}
|
|
76
|
+
|
|
45
77
|
if (typeof basePath !== 'string') {
|
|
46
78
|
basePath = this.basePath;
|
|
47
79
|
}
|
|
@@ -50,6 +82,7 @@ export class GeneralManagementService {
|
|
|
50
82
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
51
83
|
}
|
|
52
84
|
|
|
85
|
+
// @ts-ignore
|
|
53
86
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
54
87
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
55
88
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -69,7 +102,7 @@ export class GeneralManagementService {
|
|
|
69
102
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
70
103
|
} else if (value instanceof Date) {
|
|
71
104
|
if (key != null) {
|
|
72
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
105
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
73
106
|
} else {
|
|
74
107
|
throw Error('key may not be null if value is Date');
|
|
75
108
|
}
|
|
@@ -89,39 +122,74 @@ export class GeneralManagementService {
|
|
|
89
122
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
90
123
|
* @param reportProgress flag to report request and response progress.
|
|
91
124
|
*/
|
|
92
|
-
public httpAgravityVersionInfo(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
125
|
+
public httpAgravityVersionInfo(
|
|
126
|
+
observe?: 'body',
|
|
127
|
+
reportProgress?: boolean,
|
|
128
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
129
|
+
): Observable<AgravityVersion>;
|
|
130
|
+
public httpAgravityVersionInfo(
|
|
131
|
+
observe?: 'response',
|
|
132
|
+
reportProgress?: boolean,
|
|
133
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
134
|
+
): Observable<HttpResponse<AgravityVersion>>;
|
|
135
|
+
public httpAgravityVersionInfo(
|
|
136
|
+
observe?: 'events',
|
|
137
|
+
reportProgress?: boolean,
|
|
138
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
139
|
+
): Observable<HttpEvent<AgravityVersion>>;
|
|
140
|
+
public httpAgravityVersionInfo(
|
|
141
|
+
observe: any = 'body',
|
|
142
|
+
reportProgress: boolean = false,
|
|
143
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
144
|
+
): Observable<any> {
|
|
145
|
+
let localVarHeaders = this.defaultHeaders;
|
|
97
146
|
|
|
98
|
-
let
|
|
147
|
+
let localVarCredential: string | undefined;
|
|
99
148
|
// authentication (msal_auth) required
|
|
100
|
-
|
|
101
|
-
if (
|
|
102
|
-
|
|
149
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
150
|
+
if (localVarCredential) {
|
|
151
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
103
152
|
}
|
|
104
153
|
|
|
105
|
-
let
|
|
106
|
-
if (
|
|
154
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
155
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
107
156
|
// to determine the Accept header
|
|
108
157
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
109
|
-
|
|
158
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
159
|
+
}
|
|
160
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
161
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
110
162
|
}
|
|
111
|
-
|
|
112
|
-
|
|
163
|
+
|
|
164
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
165
|
+
if (localVarHttpContext === undefined) {
|
|
166
|
+
localVarHttpContext = new HttpContext();
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
170
|
+
if (localVarTransferCache === undefined) {
|
|
171
|
+
localVarTransferCache = true;
|
|
113
172
|
}
|
|
114
173
|
|
|
115
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
116
|
-
if (
|
|
117
|
-
|
|
174
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
175
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
176
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
177
|
+
responseType_ = 'text';
|
|
178
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
179
|
+
responseType_ = 'json';
|
|
180
|
+
} else {
|
|
181
|
+
responseType_ = 'blob';
|
|
182
|
+
}
|
|
118
183
|
}
|
|
119
184
|
|
|
120
|
-
|
|
185
|
+
let localVarPath = `/version`;
|
|
186
|
+
return this.httpClient.request<AgravityVersion>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
187
|
+
context: localVarHttpContext,
|
|
121
188
|
responseType: <any>responseType_,
|
|
122
189
|
withCredentials: this.configuration.withCredentials,
|
|
123
|
-
headers:
|
|
190
|
+
headers: localVarHeaders,
|
|
124
191
|
observe: observe,
|
|
192
|
+
transferCache: localVarTransferCache,
|
|
125
193
|
reportProgress: reportProgress
|
|
126
194
|
});
|
|
127
195
|
}
|
|
@@ -131,88 +199,164 @@ export class GeneralManagementService {
|
|
|
131
199
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
132
200
|
* @param reportProgress flag to report request and response progress.
|
|
133
201
|
*/
|
|
134
|
-
public httpAssetsDeleteAllFast(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
202
|
+
public httpAssetsDeleteAllFast(
|
|
203
|
+
observe?: 'body',
|
|
204
|
+
reportProgress?: boolean,
|
|
205
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
206
|
+
): Observable<AgravityInfoResponse>;
|
|
207
|
+
public httpAssetsDeleteAllFast(
|
|
208
|
+
observe?: 'response',
|
|
209
|
+
reportProgress?: boolean,
|
|
210
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
211
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
212
|
+
public httpAssetsDeleteAllFast(
|
|
213
|
+
observe?: 'events',
|
|
214
|
+
reportProgress?: boolean,
|
|
215
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
216
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
217
|
+
public httpAssetsDeleteAllFast(
|
|
218
|
+
observe: any = 'body',
|
|
219
|
+
reportProgress: boolean = false,
|
|
220
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
221
|
+
): Observable<any> {
|
|
222
|
+
let localVarHeaders = this.defaultHeaders;
|
|
139
223
|
|
|
140
|
-
let
|
|
224
|
+
let localVarCredential: string | undefined;
|
|
141
225
|
// authentication (msal_auth) required
|
|
142
|
-
|
|
143
|
-
if (
|
|
144
|
-
|
|
226
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
227
|
+
if (localVarCredential) {
|
|
228
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
145
229
|
}
|
|
146
230
|
|
|
147
|
-
let
|
|
148
|
-
if (
|
|
231
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
232
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
149
233
|
// to determine the Accept header
|
|
150
234
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
151
|
-
|
|
235
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
236
|
+
}
|
|
237
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
238
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
152
239
|
}
|
|
153
|
-
|
|
154
|
-
|
|
240
|
+
|
|
241
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
242
|
+
if (localVarHttpContext === undefined) {
|
|
243
|
+
localVarHttpContext = new HttpContext();
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
247
|
+
if (localVarTransferCache === undefined) {
|
|
248
|
+
localVarTransferCache = true;
|
|
155
249
|
}
|
|
156
250
|
|
|
157
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
158
|
-
if (
|
|
159
|
-
|
|
251
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
252
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
253
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
254
|
+
responseType_ = 'text';
|
|
255
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
256
|
+
responseType_ = 'json';
|
|
257
|
+
} else {
|
|
258
|
+
responseType_ = 'blob';
|
|
259
|
+
}
|
|
160
260
|
}
|
|
161
261
|
|
|
162
|
-
|
|
262
|
+
let localVarPath = `/cosmosdb!!`;
|
|
263
|
+
return this.httpClient.request<AgravityInfoResponse>('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
264
|
+
context: localVarHttpContext,
|
|
163
265
|
responseType: <any>responseType_,
|
|
164
266
|
withCredentials: this.configuration.withCredentials,
|
|
165
|
-
headers:
|
|
267
|
+
headers: localVarHeaders,
|
|
166
268
|
observe: observe,
|
|
269
|
+
transferCache: localVarTransferCache,
|
|
167
270
|
reportProgress: reportProgress
|
|
168
271
|
});
|
|
169
272
|
}
|
|
170
273
|
|
|
171
274
|
/**
|
|
172
275
|
* This endpoint queries all entities from which are marked as status \"D\" and cleans internal archive container from that assets
|
|
173
|
-
* @param
|
|
276
|
+
* @param requestParameters
|
|
174
277
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
175
278
|
* @param reportProgress flag to report request and response progress.
|
|
176
279
|
*/
|
|
177
|
-
public httpCleanup(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
280
|
+
public httpCleanup(
|
|
281
|
+
requestParameters?: HttpCleanupRequestParams,
|
|
282
|
+
observe?: 'body',
|
|
283
|
+
reportProgress?: boolean,
|
|
284
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
285
|
+
): Observable<AgravityInfoResponse>;
|
|
286
|
+
public httpCleanup(
|
|
287
|
+
requestParameters?: HttpCleanupRequestParams,
|
|
288
|
+
observe?: 'response',
|
|
289
|
+
reportProgress?: boolean,
|
|
290
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
291
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
292
|
+
public httpCleanup(
|
|
293
|
+
requestParameters?: HttpCleanupRequestParams,
|
|
294
|
+
observe?: 'events',
|
|
295
|
+
reportProgress?: boolean,
|
|
296
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
297
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
298
|
+
public httpCleanup(
|
|
299
|
+
requestParameters?: HttpCleanupRequestParams,
|
|
300
|
+
observe: any = 'body',
|
|
301
|
+
reportProgress: boolean = false,
|
|
302
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
303
|
+
): Observable<any> {
|
|
304
|
+
const olderThanDays = requestParameters?.olderThanDays;
|
|
305
|
+
|
|
306
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
182
307
|
if (olderThanDays !== undefined && olderThanDays !== null) {
|
|
183
|
-
|
|
308
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>olderThanDays, 'olderThanDays');
|
|
184
309
|
}
|
|
185
310
|
|
|
186
|
-
let
|
|
311
|
+
let localVarHeaders = this.defaultHeaders;
|
|
187
312
|
|
|
188
|
-
let
|
|
313
|
+
let localVarCredential: string | undefined;
|
|
189
314
|
// authentication (msal_auth) required
|
|
190
|
-
|
|
191
|
-
if (
|
|
192
|
-
|
|
315
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
316
|
+
if (localVarCredential) {
|
|
317
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
193
318
|
}
|
|
194
319
|
|
|
195
|
-
let
|
|
196
|
-
if (
|
|
320
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
321
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
197
322
|
// to determine the Accept header
|
|
198
323
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
199
|
-
|
|
324
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
200
325
|
}
|
|
201
|
-
if (
|
|
202
|
-
|
|
326
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
327
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
203
328
|
}
|
|
204
329
|
|
|
205
|
-
let
|
|
206
|
-
if (
|
|
207
|
-
|
|
330
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
331
|
+
if (localVarHttpContext === undefined) {
|
|
332
|
+
localVarHttpContext = new HttpContext();
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
336
|
+
if (localVarTransferCache === undefined) {
|
|
337
|
+
localVarTransferCache = true;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
341
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
342
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
343
|
+
responseType_ = 'text';
|
|
344
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
345
|
+
responseType_ = 'json';
|
|
346
|
+
} else {
|
|
347
|
+
responseType_ = 'blob';
|
|
348
|
+
}
|
|
208
349
|
}
|
|
209
350
|
|
|
210
|
-
|
|
211
|
-
|
|
351
|
+
let localVarPath = `/cleanup`;
|
|
352
|
+
return this.httpClient.request<AgravityInfoResponse>('patch', `${this.configuration.basePath}${localVarPath}`, {
|
|
353
|
+
context: localVarHttpContext,
|
|
354
|
+
params: localVarQueryParameters,
|
|
212
355
|
responseType: <any>responseType_,
|
|
213
356
|
withCredentials: this.configuration.withCredentials,
|
|
214
|
-
headers:
|
|
357
|
+
headers: localVarHeaders,
|
|
215
358
|
observe: observe,
|
|
359
|
+
transferCache: localVarTransferCache,
|
|
216
360
|
reportProgress: reportProgress
|
|
217
361
|
});
|
|
218
362
|
}
|
|
@@ -222,207 +366,273 @@ export class GeneralManagementService {
|
|
|
222
366
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
223
367
|
* @param reportProgress flag to report request and response progress.
|
|
224
368
|
*/
|
|
225
|
-
public httpCleanupOrigAssets(
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
369
|
+
public httpCleanupOrigAssets(
|
|
370
|
+
observe?: 'body',
|
|
371
|
+
reportProgress?: boolean,
|
|
372
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
373
|
+
): Observable<AgravityInfoResponse>;
|
|
374
|
+
public httpCleanupOrigAssets(
|
|
375
|
+
observe?: 'response',
|
|
376
|
+
reportProgress?: boolean,
|
|
377
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
378
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
379
|
+
public httpCleanupOrigAssets(
|
|
380
|
+
observe?: 'events',
|
|
381
|
+
reportProgress?: boolean,
|
|
382
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
383
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
384
|
+
public httpCleanupOrigAssets(
|
|
385
|
+
observe: any = 'body',
|
|
386
|
+
reportProgress: boolean = false,
|
|
387
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
388
|
+
): Observable<any> {
|
|
389
|
+
let localVarHeaders = this.defaultHeaders;
|
|
230
390
|
|
|
231
|
-
let
|
|
391
|
+
let localVarCredential: string | undefined;
|
|
232
392
|
// authentication (msal_auth) required
|
|
233
|
-
|
|
234
|
-
if (
|
|
235
|
-
|
|
393
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
394
|
+
if (localVarCredential) {
|
|
395
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
236
396
|
}
|
|
237
397
|
|
|
238
|
-
let
|
|
239
|
-
if (
|
|
398
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
399
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
240
400
|
// to determine the Accept header
|
|
241
401
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
242
|
-
|
|
402
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
243
403
|
}
|
|
244
|
-
if (
|
|
245
|
-
|
|
404
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
405
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
246
406
|
}
|
|
247
407
|
|
|
248
|
-
let
|
|
249
|
-
if (
|
|
250
|
-
|
|
408
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
409
|
+
if (localVarHttpContext === undefined) {
|
|
410
|
+
localVarHttpContext = new HttpContext();
|
|
251
411
|
}
|
|
252
412
|
|
|
253
|
-
|
|
413
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
414
|
+
if (localVarTransferCache === undefined) {
|
|
415
|
+
localVarTransferCache = true;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
419
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
420
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
421
|
+
responseType_ = 'text';
|
|
422
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
423
|
+
responseType_ = 'json';
|
|
424
|
+
} else {
|
|
425
|
+
responseType_ = 'blob';
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
let localVarPath = `/cleanup`;
|
|
430
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
431
|
+
context: localVarHttpContext,
|
|
254
432
|
responseType: <any>responseType_,
|
|
255
433
|
withCredentials: this.configuration.withCredentials,
|
|
256
|
-
headers:
|
|
434
|
+
headers: localVarHeaders,
|
|
257
435
|
observe: observe,
|
|
436
|
+
transferCache: localVarTransferCache,
|
|
258
437
|
reportProgress: reportProgress
|
|
259
438
|
});
|
|
260
439
|
}
|
|
261
440
|
|
|
262
441
|
/**
|
|
263
442
|
* This endpoint checks all deleted entities in the database until a specific date and returns the elements which are deleted.
|
|
264
|
-
* @param
|
|
265
|
-
* @param since The date in the past since the entities are marked as deleted in the database.
|
|
266
|
-
* @param until The date in the past until the entities are marked as deleted in the database.
|
|
267
|
-
* @param portalId If the request comes from portal this is the indicator.
|
|
443
|
+
* @param requestParameters
|
|
268
444
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
269
445
|
* @param reportProgress flag to report request and response progress.
|
|
270
446
|
*/
|
|
271
447
|
public httpGetDeletedEntities(
|
|
272
|
-
|
|
273
|
-
since?: string,
|
|
274
|
-
until?: string,
|
|
275
|
-
portalId?: string,
|
|
448
|
+
requestParameters?: HttpGetDeletedEntitiesRequestParams,
|
|
276
449
|
observe?: 'body',
|
|
277
450
|
reportProgress?: boolean,
|
|
278
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
451
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
279
452
|
): Observable<Array<DeletedEntities>>;
|
|
280
453
|
public httpGetDeletedEntities(
|
|
281
|
-
|
|
282
|
-
since?: string,
|
|
283
|
-
until?: string,
|
|
284
|
-
portalId?: string,
|
|
454
|
+
requestParameters?: HttpGetDeletedEntitiesRequestParams,
|
|
285
455
|
observe?: 'response',
|
|
286
456
|
reportProgress?: boolean,
|
|
287
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
457
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
288
458
|
): Observable<HttpResponse<Array<DeletedEntities>>>;
|
|
289
459
|
public httpGetDeletedEntities(
|
|
290
|
-
|
|
291
|
-
since?: string,
|
|
292
|
-
until?: string,
|
|
293
|
-
portalId?: string,
|
|
460
|
+
requestParameters?: HttpGetDeletedEntitiesRequestParams,
|
|
294
461
|
observe?: 'events',
|
|
295
462
|
reportProgress?: boolean,
|
|
296
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
463
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
297
464
|
): Observable<HttpEvent<Array<DeletedEntities>>>;
|
|
298
465
|
public httpGetDeletedEntities(
|
|
299
|
-
|
|
300
|
-
since?: string,
|
|
301
|
-
until?: string,
|
|
302
|
-
portalId?: string,
|
|
466
|
+
requestParameters?: HttpGetDeletedEntitiesRequestParams,
|
|
303
467
|
observe: any = 'body',
|
|
304
468
|
reportProgress: boolean = false,
|
|
305
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
469
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
306
470
|
): Observable<any> {
|
|
307
|
-
|
|
471
|
+
const entityType = requestParameters?.entityType;
|
|
472
|
+
const since = requestParameters?.since;
|
|
473
|
+
const until = requestParameters?.until;
|
|
474
|
+
const portalId = requestParameters?.portalId;
|
|
475
|
+
|
|
476
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
308
477
|
if (entityType !== undefined && entityType !== null) {
|
|
309
|
-
|
|
478
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>entityType, 'entity_type');
|
|
310
479
|
}
|
|
311
480
|
if (since !== undefined && since !== null) {
|
|
312
|
-
|
|
481
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>since, 'since');
|
|
313
482
|
}
|
|
314
483
|
if (until !== undefined && until !== null) {
|
|
315
|
-
|
|
484
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>until, 'until');
|
|
316
485
|
}
|
|
317
486
|
if (portalId !== undefined && portalId !== null) {
|
|
318
|
-
|
|
487
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
319
488
|
}
|
|
320
489
|
|
|
321
|
-
let
|
|
490
|
+
let localVarHeaders = this.defaultHeaders;
|
|
322
491
|
|
|
323
|
-
let
|
|
492
|
+
let localVarCredential: string | undefined;
|
|
324
493
|
// authentication (msal_auth) required
|
|
325
|
-
|
|
326
|
-
if (
|
|
327
|
-
|
|
494
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
495
|
+
if (localVarCredential) {
|
|
496
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
328
497
|
}
|
|
329
498
|
|
|
330
|
-
let
|
|
331
|
-
if (
|
|
499
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
500
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
332
501
|
// to determine the Accept header
|
|
333
502
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
334
|
-
|
|
503
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
504
|
+
}
|
|
505
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
506
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
335
507
|
}
|
|
336
|
-
|
|
337
|
-
|
|
508
|
+
|
|
509
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
510
|
+
if (localVarHttpContext === undefined) {
|
|
511
|
+
localVarHttpContext = new HttpContext();
|
|
338
512
|
}
|
|
339
513
|
|
|
340
|
-
let
|
|
341
|
-
if (
|
|
342
|
-
|
|
514
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
515
|
+
if (localVarTransferCache === undefined) {
|
|
516
|
+
localVarTransferCache = true;
|
|
343
517
|
}
|
|
344
518
|
|
|
345
|
-
|
|
346
|
-
|
|
519
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
520
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
521
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
522
|
+
responseType_ = 'text';
|
|
523
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
524
|
+
responseType_ = 'json';
|
|
525
|
+
} else {
|
|
526
|
+
responseType_ = 'blob';
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
let localVarPath = `/deleted`;
|
|
531
|
+
return this.httpClient.request<Array<DeletedEntities>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
532
|
+
context: localVarHttpContext,
|
|
533
|
+
params: localVarQueryParameters,
|
|
347
534
|
responseType: <any>responseType_,
|
|
348
535
|
withCredentials: this.configuration.withCredentials,
|
|
349
|
-
headers:
|
|
536
|
+
headers: localVarHeaders,
|
|
350
537
|
observe: observe,
|
|
538
|
+
transferCache: localVarTransferCache,
|
|
351
539
|
reportProgress: reportProgress
|
|
352
540
|
});
|
|
353
541
|
}
|
|
354
542
|
|
|
355
543
|
/**
|
|
356
544
|
* This endpoint runs the initial setup of an environment.
|
|
357
|
-
* @param
|
|
358
|
-
* @param addconfigqueues Comma separated queue-names (have to start with \'setup-\').
|
|
545
|
+
* @param requestParameters
|
|
359
546
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
360
547
|
* @param reportProgress flag to report request and response progress.
|
|
361
548
|
*/
|
|
362
549
|
public httpSetup(
|
|
363
|
-
|
|
364
|
-
addconfigqueues?: string,
|
|
550
|
+
requestParameters?: HttpSetupRequestParams,
|
|
365
551
|
observe?: 'body',
|
|
366
552
|
reportProgress?: boolean,
|
|
367
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
553
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
368
554
|
): Observable<AgravityInfoResponse>;
|
|
369
555
|
public httpSetup(
|
|
370
|
-
|
|
371
|
-
addconfigqueues?: string,
|
|
556
|
+
requestParameters?: HttpSetupRequestParams,
|
|
372
557
|
observe?: 'response',
|
|
373
558
|
reportProgress?: boolean,
|
|
374
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
559
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
375
560
|
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
376
561
|
public httpSetup(
|
|
377
|
-
|
|
378
|
-
addconfigqueues?: string,
|
|
562
|
+
requestParameters?: HttpSetupRequestParams,
|
|
379
563
|
observe?: 'events',
|
|
380
564
|
reportProgress?: boolean,
|
|
381
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
565
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
382
566
|
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
383
|
-
public httpSetup(
|
|
567
|
+
public httpSetup(
|
|
568
|
+
requestParameters?: HttpSetupRequestParams,
|
|
569
|
+
observe: any = 'body',
|
|
570
|
+
reportProgress: boolean = false,
|
|
571
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
572
|
+
): Observable<any> {
|
|
573
|
+
const createfolder = requestParameters?.createfolder;
|
|
384
574
|
if (createfolder === null || createfolder === undefined) {
|
|
385
575
|
throw new Error('Required parameter createfolder was null or undefined when calling httpSetup.');
|
|
386
576
|
}
|
|
577
|
+
const addconfigqueues = requestParameters?.addconfigqueues;
|
|
387
578
|
|
|
388
|
-
let
|
|
579
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
389
580
|
if (createfolder !== undefined && createfolder !== null) {
|
|
390
|
-
|
|
581
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>createfolder, 'createfolder');
|
|
391
582
|
}
|
|
392
583
|
if (addconfigqueues !== undefined && addconfigqueues !== null) {
|
|
393
|
-
|
|
584
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>addconfigqueues, 'addconfigqueues');
|
|
394
585
|
}
|
|
395
586
|
|
|
396
|
-
let
|
|
587
|
+
let localVarHeaders = this.defaultHeaders;
|
|
397
588
|
|
|
398
|
-
let
|
|
589
|
+
let localVarCredential: string | undefined;
|
|
399
590
|
// authentication (msal_auth) required
|
|
400
|
-
|
|
401
|
-
if (
|
|
402
|
-
|
|
591
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
592
|
+
if (localVarCredential) {
|
|
593
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
403
594
|
}
|
|
404
595
|
|
|
405
|
-
let
|
|
406
|
-
if (
|
|
596
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
597
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
407
598
|
// to determine the Accept header
|
|
408
599
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
409
|
-
|
|
600
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
410
601
|
}
|
|
411
|
-
if (
|
|
412
|
-
|
|
602
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
603
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
413
604
|
}
|
|
414
605
|
|
|
415
|
-
let
|
|
416
|
-
if (
|
|
417
|
-
|
|
606
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
607
|
+
if (localVarHttpContext === undefined) {
|
|
608
|
+
localVarHttpContext = new HttpContext();
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
612
|
+
if (localVarTransferCache === undefined) {
|
|
613
|
+
localVarTransferCache = true;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
617
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
618
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
619
|
+
responseType_ = 'text';
|
|
620
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
621
|
+
responseType_ = 'json';
|
|
622
|
+
} else {
|
|
623
|
+
responseType_ = 'blob';
|
|
624
|
+
}
|
|
418
625
|
}
|
|
419
626
|
|
|
420
|
-
|
|
421
|
-
|
|
627
|
+
let localVarPath = `/setup`;
|
|
628
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
629
|
+
context: localVarHttpContext,
|
|
630
|
+
params: localVarQueryParameters,
|
|
422
631
|
responseType: <any>responseType_,
|
|
423
632
|
withCredentials: this.configuration.withCredentials,
|
|
424
|
-
headers:
|
|
633
|
+
headers: localVarHeaders,
|
|
425
634
|
observe: observe,
|
|
635
|
+
transferCache: localVarTransferCache,
|
|
426
636
|
reportProgress: reportProgress
|
|
427
637
|
});
|
|
428
638
|
}
|