@agravity/private 8.4.2 → 9.0.1
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 +3 -4
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -3
- package/api/assetIconRuleManagement.agravity.ts +0 -1
- package/api/assetManagement.agravity.ts +0 -1
- package/api/assetOperations.agravity.ts +110 -1
- package/api/assetPublishing.agravity.ts +0 -1
- package/api/assetVersioning.agravity.ts +1 -2
- package/api/authenticationManagement.agravity.ts +0 -1
- package/api/collectionManagement.agravity.ts +208 -1
- package/api/collectionShareManagement.agravity.ts +0 -1
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +0 -1
- package/api/collectionTypeManagement.agravity.ts +0 -1
- package/api/commentsManagement.agravity.ts +0 -1
- package/api/configurationManagement.agravity.ts +0 -1
- package/api/dashboardWidgetManagement.agravity.ts +0 -1
- package/api/dataImportExportManagement.agravity.ts +0 -1
- package/api/downloadFormatManagement.agravity.ts +0 -1
- package/api/downloadZip.agravity.ts +190 -7
- package/api/generalManagement.agravity.ts +77 -1
- package/api/helperTools.agravity.ts +0 -1
- package/api/historyEntryManagement.agravity.ts +0 -1
- package/api/iccProfileManagement.agravity.ts +0 -1
- package/api/listBlobs.agravity.ts +0 -1
- package/api/listQueues.agravity.ts +0 -1
- package/api/listTables.agravity.ts +0 -1
- package/api/permissionsManagement.agravity.ts +0 -1
- package/api/portalManagement.agravity.ts +17 -16
- package/api/portalsUsersManagement.agravity.ts +0 -1
- package/api/publishing.agravity.ts +0 -1
- package/api/quickshareManagement.agravity.ts +0 -1
- package/api/savedSearchManagement.agravity.ts +6 -1
- package/api/searchManagement.agravity.ts +0 -1
- package/api/secureUpload.agravity.ts +0 -1
- package/api/signalRConnectionManagement.agravity.ts +0 -1
- package/api/staticDefinedListManagement.agravity.ts +0 -1
- package/api/stockImport.agravity.ts +0 -1
- package/api/structureImport.agravity.ts +0 -1
- package/api/translationManagement.agravity.ts +0 -1
- package/api/webAppData.agravity.ts +0 -1
- package/api/widgetLayoutManagement.agravity.ts +0 -1
- package/api/wordpressManagement.agravity.ts +0 -1
- package/api/workspaceManagement.agravity.ts +0 -1
- package/model/agravityErrorResponse.agravity.ts +0 -1
- package/model/agravityInfoResponse.agravity.ts +0 -1
- package/model/agravityPortalUser.agravity.ts +0 -1
- package/model/agravityUser.agravity.ts +0 -3
- package/model/agravityUserDto.agravity.ts +0 -1
- package/model/agravityVersion.agravity.ts +1 -1
- package/model/allWebAppData.agravity.ts +0 -1
- package/model/apiKeyResponse.agravity.ts +0 -1
- package/model/appConfigTableEntity.agravity.ts +0 -1
- package/model/artificialIntelligenceGroup.agravity.ts +0 -1
- package/model/asset.agravity.ts +0 -1
- package/model/assetAvailability.agravity.ts +0 -1
- package/model/assetBlob.agravity.ts +0 -1
- package/model/assetBulkUpdate.agravity.ts +0 -1
- package/model/assetCollectionLink.agravity.ts +0 -1
- package/model/assetIconRule.agravity.ts +0 -1
- package/model/assetIdFormat.agravity.ts +0 -1
- package/model/assetPageResult.agravity.ts +0 -1
- package/model/assetTextContent.agravity.ts +0 -1
- package/model/assetsOperationBody.agravity.ts +0 -1
- package/model/azSearchOptions.agravity.ts +0 -1
- package/model/azureIdentity.agravity.ts +0 -1
- package/model/blobInfoObj.agravity.ts +0 -1
- package/model/collTypeItem.agravity.ts +0 -1
- package/model/collTypeItemBlueprint.agravity.ts +0 -1
- package/model/collection.agravity.ts +0 -1
- package/model/collectionType.agravity.ts +0 -1
- package/model/collectionUDL.agravity.ts +1 -1
- package/model/collectionUDLListEntity.agravity.ts +0 -1
- package/model/collectionUDLReference.agravity.ts +0 -1
- package/model/comment.agravity.ts +0 -1
- package/model/createSftpUserResult.agravity.ts +0 -1
- package/model/dashboardWidget.agravity.ts +0 -1
- package/model/dataResult.agravity.ts +0 -1
- package/model/deletedEntities.agravity.ts +0 -1
- package/model/distZipResponse.agravity.ts +0 -1
- package/model/downloadFormat.agravity.ts +0 -1
- package/model/downloadZipRequest.agravity.ts +16 -10
- package/model/downloadZipStatus.agravity.ts +32 -0
- package/model/dynamicImageOperation.agravity.ts +0 -1
- package/model/entityId.agravity.ts +0 -1
- package/model/entityIdName.agravity.ts +1 -1
- package/model/entityListResult.agravity.ts +15 -0
- package/model/entityNamesRequest.agravity.ts +14 -0
- package/model/entityTranslations.agravity.ts +0 -1
- package/model/excelExportTableEntity.agravity.ts +0 -1
- package/model/frontendAppConfig.agravity.ts +0 -1
- package/model/groupAllAppData.agravity.ts +0 -1
- package/model/historyEntry.agravity.ts +18 -3
- package/model/infoEntitySkillEnhanced.agravity.ts +0 -1
- package/model/metadata.agravity.ts +0 -1
- package/model/models.ts +3 -4
- package/model/moveCollectionBody.agravity.ts +0 -1
- package/model/permissionChange.agravity.ts +0 -1
- package/model/permissionEntity.agravity.ts +0 -1
- package/model/permissionSetting.agravity.ts +0 -1
- package/model/portal.agravity.ts +0 -1
- package/model/portalAuthentication.agravity.ts +0 -1
- package/model/portalFields.agravity.ts +0 -1
- package/model/portalLinks.agravity.ts +0 -1
- package/model/portalTheme.agravity.ts +0 -1
- package/model/portalUserContext.agravity.ts +0 -1
- package/model/publishEntity.agravity.ts +0 -1
- package/model/publishedAsset.agravity.ts +0 -1
- package/model/quickShare.agravity.ts +0 -1
- package/model/quickShareFull.agravity.ts +0 -1
- package/model/sasToken.agravity.ts +0 -1
- package/model/savedSearch.agravity.ts +0 -1
- package/model/searchAdminDataSourceStatus.agravity.ts +0 -1
- package/model/searchAdminIndexStatus.agravity.ts +0 -1
- package/model/searchAdminIndexerLastRun.agravity.ts +0 -1
- package/model/searchAdminIndexerStatus.agravity.ts +0 -1
- package/model/searchAdminSkillStatus.agravity.ts +0 -1
- package/model/searchAdminStatistics.agravity.ts +0 -1
- package/model/searchAdminStatus.agravity.ts +0 -1
- package/model/searchFacet.agravity.ts +0 -1
- package/model/searchFacetEntity.agravity.ts +0 -1
- package/model/searchResult.agravity.ts +0 -1
- package/model/searchableItem.agravity.ts +0 -1
- package/model/secureUploadEntity.agravity.ts +0 -1
- package/model/sharedAllowedFormat.agravity.ts +0 -1
- package/model/sharedAsset.agravity.ts +0 -1
- package/model/sharedCollection.agravity.ts +0 -1
- package/model/sharedCollectionFull.agravity.ts +0 -1
- package/model/signalRConnectionInfo.agravity.ts +0 -1
- package/model/staticDefinedList.agravity.ts +0 -1
- package/model/translation.agravity.ts +0 -1
- package/model/translationRequest.agravity.ts +0 -1
- package/model/uiTutorials.agravity.ts +0 -1
- package/model/versionEntity.agravity.ts +0 -1
- package/model/versionedAsset.agravity.ts +2 -1
- package/model/whereParam.agravity.ts +0 -1
- package/model/widgetLayout.agravity.ts +0 -1
- package/model/widgetProperties.agravity.ts +0 -1
- package/model/workspace.agravity.ts +0 -1
- package/package.json +10 -10
- package/tsconfig.json +0 -1
- package/model/downloadObject.agravity.ts +0 -33
- package/model/emailAddress.agravity.ts +0 -15
- package/model/portalZipRequest.agravity.ts +0 -33
- package/model/simpleAsset.agravity.ts +0 -23
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -18,19 +17,29 @@ import { Observable } from 'rxjs';
|
|
|
18
17
|
// @ts-ignore
|
|
19
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
19
|
// @ts-ignore
|
|
21
|
-
import { DownloadObject } from '../model/downloadObject.agravity';
|
|
22
|
-
// @ts-ignore
|
|
23
20
|
import { DownloadZipRequest } from '../model/downloadZipRequest.agravity';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { DownloadZipStatus } from '../model/downloadZipStatus.agravity';
|
|
24
23
|
|
|
25
24
|
// @ts-ignore
|
|
26
25
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
27
26
|
import { AgravityConfiguration } from '../configuration';
|
|
28
27
|
|
|
28
|
+
export interface HttpDeleteZipByIdRequestParams {
|
|
29
|
+
/** The ID of the requested zip. */
|
|
30
|
+
zipId: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
export interface HttpDownloadZipRequestParams {
|
|
30
34
|
/** This endpoint queues assets in a defined download format for ZIP generation. Queues will deliver an email with a download link. */
|
|
31
35
|
downloadZipRequest: DownloadZipRequest;
|
|
32
36
|
}
|
|
33
37
|
|
|
38
|
+
export interface HttpGetStatusZipByIdRequestParams {
|
|
39
|
+
/** The ID of the requested zip. */
|
|
40
|
+
zipId: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
34
43
|
@Injectable({
|
|
35
44
|
providedIn: 'root'
|
|
36
45
|
})
|
|
@@ -97,6 +106,93 @@ export class DownloadZipService {
|
|
|
97
106
|
return httpParams;
|
|
98
107
|
}
|
|
99
108
|
|
|
109
|
+
/**
|
|
110
|
+
* This endpoint removes the ZIP request and all related data from the database and storage.
|
|
111
|
+
* @param requestParameters
|
|
112
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
113
|
+
* @param reportProgress flag to report request and response progress.
|
|
114
|
+
*/
|
|
115
|
+
public httpDeleteZipById(
|
|
116
|
+
requestParameters?: HttpDeleteZipByIdRequestParams,
|
|
117
|
+
observe?: 'body',
|
|
118
|
+
reportProgress?: boolean,
|
|
119
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
120
|
+
): Observable<any>;
|
|
121
|
+
public httpDeleteZipById(
|
|
122
|
+
requestParameters?: HttpDeleteZipByIdRequestParams,
|
|
123
|
+
observe?: 'response',
|
|
124
|
+
reportProgress?: boolean,
|
|
125
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
126
|
+
): Observable<HttpResponse<any>>;
|
|
127
|
+
public httpDeleteZipById(
|
|
128
|
+
requestParameters?: HttpDeleteZipByIdRequestParams,
|
|
129
|
+
observe?: 'events',
|
|
130
|
+
reportProgress?: boolean,
|
|
131
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
132
|
+
): Observable<HttpEvent<any>>;
|
|
133
|
+
public httpDeleteZipById(
|
|
134
|
+
requestParameters?: HttpDeleteZipByIdRequestParams,
|
|
135
|
+
observe: any = 'body',
|
|
136
|
+
reportProgress: boolean = false,
|
|
137
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
138
|
+
): Observable<any> {
|
|
139
|
+
const zipId = requestParameters?.zipId;
|
|
140
|
+
if (zipId === null || zipId === undefined) {
|
|
141
|
+
throw new Error('Required parameter zipId was null or undefined when calling httpDeleteZipById.');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
let localVarHeaders = this.defaultHeaders;
|
|
145
|
+
|
|
146
|
+
let localVarCredential: string | undefined;
|
|
147
|
+
// authentication (msal_auth) required
|
|
148
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
149
|
+
if (localVarCredential) {
|
|
150
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
154
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
155
|
+
// to determine the Accept header
|
|
156
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
157
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
158
|
+
}
|
|
159
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
160
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
164
|
+
if (localVarHttpContext === undefined) {
|
|
165
|
+
localVarHttpContext = new HttpContext();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
169
|
+
if (localVarTransferCache === undefined) {
|
|
170
|
+
localVarTransferCache = true;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
174
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
175
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
176
|
+
responseType_ = 'text';
|
|
177
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
178
|
+
responseType_ = 'json';
|
|
179
|
+
} else {
|
|
180
|
+
responseType_ = 'blob';
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
let localVarPath = `/downloadzip/${this.configuration.encodeParam({ name: 'zipId', value: zipId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
185
|
+
return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
186
|
+
context: localVarHttpContext,
|
|
187
|
+
responseType: <any>responseType_,
|
|
188
|
+
withCredentials: this.configuration.withCredentials,
|
|
189
|
+
headers: localVarHeaders,
|
|
190
|
+
observe: observe,
|
|
191
|
+
transferCache: localVarTransferCache,
|
|
192
|
+
reportProgress: reportProgress
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
|
|
100
196
|
/**
|
|
101
197
|
* This endpoint queues assets in a defined download format for ZIP generation. Queues will deliver an email with a download link.
|
|
102
198
|
* @param requestParameters
|
|
@@ -108,19 +204,19 @@ export class DownloadZipService {
|
|
|
108
204
|
observe?: 'body',
|
|
109
205
|
reportProgress?: boolean,
|
|
110
206
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
111
|
-
): Observable<
|
|
207
|
+
): Observable<DownloadZipRequest>;
|
|
112
208
|
public httpDownloadZip(
|
|
113
209
|
requestParameters?: HttpDownloadZipRequestParams,
|
|
114
210
|
observe?: 'response',
|
|
115
211
|
reportProgress?: boolean,
|
|
116
212
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
117
|
-
): Observable<HttpResponse<
|
|
213
|
+
): Observable<HttpResponse<DownloadZipRequest>>;
|
|
118
214
|
public httpDownloadZip(
|
|
119
215
|
requestParameters?: HttpDownloadZipRequestParams,
|
|
120
216
|
observe?: 'events',
|
|
121
217
|
reportProgress?: boolean,
|
|
122
218
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
123
|
-
): Observable<HttpEvent<
|
|
219
|
+
): Observable<HttpEvent<DownloadZipRequest>>;
|
|
124
220
|
public httpDownloadZip(
|
|
125
221
|
requestParameters?: HttpDownloadZipRequestParams,
|
|
126
222
|
observe: any = 'body',
|
|
@@ -180,7 +276,7 @@ export class DownloadZipService {
|
|
|
180
276
|
}
|
|
181
277
|
|
|
182
278
|
let localVarPath = `/downloadzip`;
|
|
183
|
-
return this.httpClient.request<
|
|
279
|
+
return this.httpClient.request<DownloadZipRequest>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
184
280
|
context: localVarHttpContext,
|
|
185
281
|
body: downloadZipRequest,
|
|
186
282
|
responseType: <any>responseType_,
|
|
@@ -191,4 +287,91 @@ export class DownloadZipService {
|
|
|
191
287
|
reportProgress: reportProgress
|
|
192
288
|
});
|
|
193
289
|
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* This endpoint gets the progress/status of the ZIP creation.
|
|
293
|
+
* @param requestParameters
|
|
294
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
295
|
+
* @param reportProgress flag to report request and response progress.
|
|
296
|
+
*/
|
|
297
|
+
public httpGetStatusZipById(
|
|
298
|
+
requestParameters?: HttpGetStatusZipByIdRequestParams,
|
|
299
|
+
observe?: 'body',
|
|
300
|
+
reportProgress?: boolean,
|
|
301
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
302
|
+
): Observable<DownloadZipStatus>;
|
|
303
|
+
public httpGetStatusZipById(
|
|
304
|
+
requestParameters?: HttpGetStatusZipByIdRequestParams,
|
|
305
|
+
observe?: 'response',
|
|
306
|
+
reportProgress?: boolean,
|
|
307
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
308
|
+
): Observable<HttpResponse<DownloadZipStatus>>;
|
|
309
|
+
public httpGetStatusZipById(
|
|
310
|
+
requestParameters?: HttpGetStatusZipByIdRequestParams,
|
|
311
|
+
observe?: 'events',
|
|
312
|
+
reportProgress?: boolean,
|
|
313
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
314
|
+
): Observable<HttpEvent<DownloadZipStatus>>;
|
|
315
|
+
public httpGetStatusZipById(
|
|
316
|
+
requestParameters?: HttpGetStatusZipByIdRequestParams,
|
|
317
|
+
observe: any = 'body',
|
|
318
|
+
reportProgress: boolean = false,
|
|
319
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
320
|
+
): Observable<any> {
|
|
321
|
+
const zipId = requestParameters?.zipId;
|
|
322
|
+
if (zipId === null || zipId === undefined) {
|
|
323
|
+
throw new Error('Required parameter zipId was null or undefined when calling httpGetStatusZipById.');
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
let localVarHeaders = this.defaultHeaders;
|
|
327
|
+
|
|
328
|
+
let localVarCredential: string | undefined;
|
|
329
|
+
// authentication (msal_auth) required
|
|
330
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
331
|
+
if (localVarCredential) {
|
|
332
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
336
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
337
|
+
// to determine the Accept header
|
|
338
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
339
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
340
|
+
}
|
|
341
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
342
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
346
|
+
if (localVarHttpContext === undefined) {
|
|
347
|
+
localVarHttpContext = new HttpContext();
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
351
|
+
if (localVarTransferCache === undefined) {
|
|
352
|
+
localVarTransferCache = true;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
356
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
357
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
358
|
+
responseType_ = 'text';
|
|
359
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
360
|
+
responseType_ = 'json';
|
|
361
|
+
} else {
|
|
362
|
+
responseType_ = 'blob';
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
let localVarPath = `/downloadzip/${this.configuration.encodeParam({ name: 'zipId', value: zipId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
367
|
+
return this.httpClient.request<DownloadZipStatus>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
368
|
+
context: localVarHttpContext,
|
|
369
|
+
responseType: <any>responseType_,
|
|
370
|
+
withCredentials: this.configuration.withCredentials,
|
|
371
|
+
headers: localVarHeaders,
|
|
372
|
+
observe: observe,
|
|
373
|
+
transferCache: localVarTransferCache,
|
|
374
|
+
reportProgress: reportProgress
|
|
375
|
+
});
|
|
376
|
+
}
|
|
194
377
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -636,4 +635,81 @@ export class GeneralManagementService {
|
|
|
636
635
|
reportProgress: reportProgress
|
|
637
636
|
});
|
|
638
637
|
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* This endpoint triggers a backup via a docker container.
|
|
641
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
642
|
+
* @param reportProgress flag to report request and response progress.
|
|
643
|
+
*/
|
|
644
|
+
public httpTriggerBackup(
|
|
645
|
+
observe?: 'body',
|
|
646
|
+
reportProgress?: boolean,
|
|
647
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
648
|
+
): Observable<AgravityInfoResponse>;
|
|
649
|
+
public httpTriggerBackup(
|
|
650
|
+
observe?: 'response',
|
|
651
|
+
reportProgress?: boolean,
|
|
652
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
653
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
654
|
+
public httpTriggerBackup(
|
|
655
|
+
observe?: 'events',
|
|
656
|
+
reportProgress?: boolean,
|
|
657
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
658
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
659
|
+
public httpTriggerBackup(
|
|
660
|
+
observe: any = 'body',
|
|
661
|
+
reportProgress: boolean = false,
|
|
662
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
663
|
+
): Observable<any> {
|
|
664
|
+
let localVarHeaders = this.defaultHeaders;
|
|
665
|
+
|
|
666
|
+
let localVarCredential: string | undefined;
|
|
667
|
+
// authentication (msal_auth) required
|
|
668
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
669
|
+
if (localVarCredential) {
|
|
670
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
674
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
675
|
+
// to determine the Accept header
|
|
676
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
677
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
678
|
+
}
|
|
679
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
680
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
684
|
+
if (localVarHttpContext === undefined) {
|
|
685
|
+
localVarHttpContext = new HttpContext();
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
689
|
+
if (localVarTransferCache === undefined) {
|
|
690
|
+
localVarTransferCache = true;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
694
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
695
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
696
|
+
responseType_ = 'text';
|
|
697
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
698
|
+
responseType_ = 'json';
|
|
699
|
+
} else {
|
|
700
|
+
responseType_ = 'blob';
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
let localVarPath = `/backup`;
|
|
705
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
706
|
+
context: localVarHttpContext,
|
|
707
|
+
responseType: <any>responseType_,
|
|
708
|
+
withCredentials: this.configuration.withCredentials,
|
|
709
|
+
headers: localVarHeaders,
|
|
710
|
+
observe: observe,
|
|
711
|
+
transferCache: localVarTransferCache,
|
|
712
|
+
reportProgress: reportProgress
|
|
713
|
+
});
|
|
714
|
+
}
|
|
639
715
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -18,9 +17,11 @@ import { Observable } from 'rxjs';
|
|
|
18
17
|
// @ts-ignore
|
|
19
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
19
|
// @ts-ignore
|
|
21
|
-
import {
|
|
20
|
+
import { DownloadZipRequest } from '../model/downloadZipRequest.agravity';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { DownloadZipStatus } from '../model/downloadZipStatus.agravity';
|
|
22
23
|
// @ts-ignore
|
|
23
|
-
import {
|
|
24
|
+
import { Portal } from '../model/portal.agravity';
|
|
24
25
|
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -44,7 +45,7 @@ export interface HttpPortalRequestZipByIdRequestParams {
|
|
|
44
45
|
/** The ID of the portal. */
|
|
45
46
|
id: string;
|
|
46
47
|
/** The allowed formats are the input which could be added. */
|
|
47
|
-
|
|
48
|
+
downloadZipRequest: DownloadZipRequest;
|
|
48
49
|
/** The password is a XOR combination of all asset MD5 hashes. Otherwise StatusCode 403 (Forbidden) is returned. */
|
|
49
50
|
ayPassword?: string;
|
|
50
51
|
}
|
|
@@ -233,19 +234,19 @@ export class PortalManagementService {
|
|
|
233
234
|
observe?: 'body',
|
|
234
235
|
reportProgress?: boolean,
|
|
235
236
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
236
|
-
): Observable<
|
|
237
|
+
): Observable<DownloadZipStatus>;
|
|
237
238
|
public httpPortalGetStatusZipById(
|
|
238
239
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
239
240
|
observe?: 'response',
|
|
240
241
|
reportProgress?: boolean,
|
|
241
242
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
242
|
-
): Observable<HttpResponse<
|
|
243
|
+
): Observable<HttpResponse<DownloadZipStatus>>;
|
|
243
244
|
public httpPortalGetStatusZipById(
|
|
244
245
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
245
246
|
observe?: 'events',
|
|
246
247
|
reportProgress?: boolean,
|
|
247
248
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
248
|
-
): Observable<HttpEvent<
|
|
249
|
+
): Observable<HttpEvent<DownloadZipStatus>>;
|
|
249
250
|
public httpPortalGetStatusZipById(
|
|
250
251
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
251
252
|
observe: any = 'body',
|
|
@@ -306,7 +307,7 @@ export class PortalManagementService {
|
|
|
306
307
|
}
|
|
307
308
|
|
|
308
309
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip/${this.configuration.encodeParam({ name: 'zipId', value: zipId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
309
|
-
return this.httpClient.request<
|
|
310
|
+
return this.httpClient.request<DownloadZipStatus>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
310
311
|
context: localVarHttpContext,
|
|
311
312
|
responseType: <any>responseType_,
|
|
312
313
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -328,19 +329,19 @@ export class PortalManagementService {
|
|
|
328
329
|
observe?: 'body',
|
|
329
330
|
reportProgress?: boolean,
|
|
330
331
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
331
|
-
): Observable<
|
|
332
|
+
): Observable<DownloadZipRequest>;
|
|
332
333
|
public httpPortalRequestZipById(
|
|
333
334
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
334
335
|
observe?: 'response',
|
|
335
336
|
reportProgress?: boolean,
|
|
336
337
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
337
|
-
): Observable<HttpResponse<
|
|
338
|
+
): Observable<HttpResponse<DownloadZipRequest>>;
|
|
338
339
|
public httpPortalRequestZipById(
|
|
339
340
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
340
341
|
observe?: 'events',
|
|
341
342
|
reportProgress?: boolean,
|
|
342
343
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
343
|
-
): Observable<HttpEvent<
|
|
344
|
+
): Observable<HttpEvent<DownloadZipRequest>>;
|
|
344
345
|
public httpPortalRequestZipById(
|
|
345
346
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
346
347
|
observe: any = 'body',
|
|
@@ -351,9 +352,9 @@ export class PortalManagementService {
|
|
|
351
352
|
if (id === null || id === undefined) {
|
|
352
353
|
throw new Error('Required parameter id was null or undefined when calling httpPortalRequestZipById.');
|
|
353
354
|
}
|
|
354
|
-
const
|
|
355
|
-
if (
|
|
356
|
-
throw new Error('Required parameter
|
|
355
|
+
const downloadZipRequest = requestParameters?.downloadZipRequest;
|
|
356
|
+
if (downloadZipRequest === null || downloadZipRequest === undefined) {
|
|
357
|
+
throw new Error('Required parameter downloadZipRequest was null or undefined when calling httpPortalRequestZipById.');
|
|
357
358
|
}
|
|
358
359
|
const ayPassword = requestParameters?.ayPassword;
|
|
359
360
|
|
|
@@ -408,9 +409,9 @@ export class PortalManagementService {
|
|
|
408
409
|
}
|
|
409
410
|
|
|
410
411
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip`;
|
|
411
|
-
return this.httpClient.request<
|
|
412
|
+
return this.httpClient.request<DownloadZipRequest>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
412
413
|
context: localVarHttpContext,
|
|
413
|
-
body:
|
|
414
|
+
body: downloadZipRequest,
|
|
414
415
|
responseType: <any>responseType_,
|
|
415
416
|
withCredentials: this.configuration.withCredentials,
|
|
416
417
|
headers: localVarHeaders,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -31,6 +30,8 @@ export interface HttpSavedSearchesCreateRequestParams {
|
|
|
31
30
|
translations?: boolean;
|
|
32
31
|
/** The requested language of the response. If not matching it falls back to default language. */
|
|
33
32
|
acceptLanguage?: string;
|
|
33
|
+
/** When set to true saved search will be visibile for everyone (requires editor or admin roles) */
|
|
34
|
+
isglobal?: boolean;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export interface HttpSavedSearchesDeleteByIdRequestParams {
|
|
@@ -149,11 +150,15 @@ export class SavedSearchManagementService {
|
|
|
149
150
|
}
|
|
150
151
|
const translations = requestParameters?.translations;
|
|
151
152
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
153
|
+
const isglobal = requestParameters?.isglobal;
|
|
152
154
|
|
|
153
155
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
154
156
|
if (translations !== undefined && translations !== null) {
|
|
155
157
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
156
158
|
}
|
|
159
|
+
if (isglobal !== undefined && isglobal !== null) {
|
|
160
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>isglobal, 'isglobal');
|
|
161
|
+
}
|
|
157
162
|
|
|
158
163
|
let localVarHeaders = this.defaultHeaders;
|
|
159
164
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|