@agravity/public 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 +4 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -3
- package/api/publicAssetManagement.pub.agravity.ts +0 -1
- package/api/publicAssetOperations.pub.agravity.ts +0 -1
- package/api/publicAssetPublishing.pub.agravity.ts +0 -1
- package/api/publicAssetVersioning.pub.agravity.ts +0 -1
- package/api/publicAuthenticationManagement.pub.agravity.ts +0 -1
- package/api/publicCollectionManagement.pub.agravity.ts +104 -1
- package/api/publicCollectionSecureUpload.pub.agravity.ts +1 -2
- package/api/publicCollectionTypeManagement.pub.agravity.ts +0 -1
- package/api/publicConfigurationManagement.pub.agravity.ts +0 -1
- package/api/publicDownloadFormatManagement.pub.agravity.ts +0 -1
- package/api/publicEndpoints.pub.agravity.ts +0 -1
- package/api/publicGeneralManagement.pub.agravity.ts +0 -1
- package/api/publicHelperTools.pub.agravity.ts +0 -1
- package/api/publicPortalManagement.pub.agravity.ts +17 -16
- package/api/publicPublishing.pub.agravity.ts +0 -1
- package/api/publicSavedSearch.pub.agravity.ts +1 -2
- package/api/publicSearchManagement.pub.agravity.ts +0 -1
- package/api/publicSharingManagement.pub.agravity.ts +17 -16
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +0 -1
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +0 -1
- package/api/publicTranslationManagement.pub.agravity.ts +0 -1
- package/api/publicWebAppData.pub.agravity.ts +0 -1
- package/api/publicWorkspaceManagement.pub.agravity.ts +0 -1
- package/model/agravityErrorResponse.pub.agravity.ts +0 -1
- package/model/agravityInfoResponse.pub.agravity.ts +0 -1
- package/model/agravityVersion.pub.agravity.ts +1 -1
- package/model/allWebAppData.pub.agravity.ts +0 -1
- package/model/artificialIntelligenceGroup.pub.agravity.ts +0 -1
- package/model/asset.pub.agravity.ts +0 -1
- package/model/assetAvailability.pub.agravity.ts +0 -1
- package/model/assetBlob.pub.agravity.ts +0 -1
- package/model/assetIconRule.pub.agravity.ts +0 -1
- package/model/assetIdFormat.pub.agravity.ts +0 -1
- package/model/assetPageResult.pub.agravity.ts +0 -1
- package/model/azSearchOptions.pub.agravity.ts +0 -1
- package/model/collTypeItem.pub.agravity.ts +0 -1
- package/model/collection.pub.agravity.ts +0 -1
- package/model/collectionType.pub.agravity.ts +0 -1
- package/model/collectionUDL.pub.agravity.ts +1 -1
- package/model/collectionUDLListEntity.pub.agravity.ts +0 -1
- package/model/collectionUDLReference.pub.agravity.ts +0 -1
- package/model/createSftpUserResult.pub.agravity.ts +0 -1
- package/model/customClaimsProviderResponseActionAttributeCollectionSubmit.pub.agravity.ts +1 -2
- package/model/customClaimsProviderResponseActionTokenIssuanceStart.pub.agravity.ts +1 -2
- package/model/customClaimsProviderResponseClaims.pub.agravity.ts +0 -1
- package/model/customClaimsProviderResponseContentAttributeCollectionSubmit.pub.agravity.ts +0 -1
- package/model/customClaimsProviderResponseContentTokenIssuanceStart.pub.agravity.ts +0 -1
- package/model/customClaimsProviderResponseDataAttributeCollectionSubmit.pub.agravity.ts +1 -2
- package/model/customClaimsProviderResponseDataTokenIssuanceStart.pub.agravity.ts +1 -2
- package/model/dataResult.pub.agravity.ts +0 -1
- package/model/deletedEntities.pub.agravity.ts +0 -1
- package/model/distZipResponse.pub.agravity.ts +0 -1
- package/model/downloadFormat.pub.agravity.ts +0 -1
- package/model/downloadZipRequest.pub.agravity.ts +30 -0
- package/model/downloadZipStatus.pub.agravity.ts +32 -0
- package/model/dynamicImageOperation.pub.agravity.ts +0 -1
- package/model/entityId.pub.agravity.ts +0 -1
- package/model/entityIdName.pub.agravity.ts +1 -1
- package/model/entityListResult.pub.agravity.ts +15 -0
- package/model/entityNamesRequest.pub.agravity.ts +14 -0
- package/model/frontendAppConfig.pub.agravity.ts +0 -1
- package/model/groupAllAppData.pub.agravity.ts +0 -1
- package/model/models.ts +4 -2
- package/model/moveCollectionBody.pub.agravity.ts +0 -1
- package/model/permissionEntity.pub.agravity.ts +0 -1
- package/model/portal.pub.agravity.ts +0 -1
- package/model/portalAuthentication.pub.agravity.ts +0 -1
- package/model/portalConfiguration.pub.agravity.ts +0 -1
- package/model/portalFields.pub.agravity.ts +0 -1
- package/model/portalLinks.pub.agravity.ts +0 -1
- package/model/portalTheme.pub.agravity.ts +0 -1
- package/model/portalUserContext.pub.agravity.ts +0 -1
- package/model/publishEntity.pub.agravity.ts +0 -1
- package/model/publishedAsset.pub.agravity.ts +0 -1
- package/model/quickShareFull.pub.agravity.ts +0 -1
- package/model/sasToken.pub.agravity.ts +0 -1
- package/model/savedSearch.pub.agravity.ts +0 -1
- package/model/searchAdminDataSourceStatus.pub.agravity.ts +0 -1
- package/model/searchAdminIndexStatus.pub.agravity.ts +0 -1
- package/model/searchAdminIndexerLastRun.pub.agravity.ts +0 -1
- package/model/searchAdminIndexerStatus.pub.agravity.ts +0 -1
- package/model/searchAdminSkillStatus.pub.agravity.ts +0 -1
- package/model/searchAdminStatistics.pub.agravity.ts +0 -1
- package/model/searchAdminStatus.pub.agravity.ts +0 -1
- package/model/searchFacet.pub.agravity.ts +0 -1
- package/model/searchFacetEntity.pub.agravity.ts +0 -1
- package/model/searchResult.pub.agravity.ts +0 -1
- package/model/searchableItem.pub.agravity.ts +0 -1
- package/model/secureUploadEntity.pub.agravity.ts +0 -1
- package/model/sharedAllowedFormat.pub.agravity.ts +0 -1
- package/model/sharedAsset.pub.agravity.ts +0 -1
- package/model/sharedCollectionFull.pub.agravity.ts +0 -1
- package/model/signalRConnectionInfo.pub.agravity.ts +0 -1
- package/model/staticDefinedList.pub.agravity.ts +0 -1
- package/model/versionEntity.pub.agravity.ts +0 -1
- package/model/versionedAsset.pub.agravity.ts +2 -1
- package/model/whereParam.pub.agravity.ts +0 -1
- package/model/workspace.pub.agravity.ts +0 -1
- package/package.json +10 -10
- package/tsconfig.json +0 -1
- package/model/portalZipRequest.pub.agravity.ts +0 -33
- package/model/sharedCollectionZipRequest.pub.agravity.ts +0 -33
package/.openapi-generator/FILES
CHANGED
|
@@ -60,9 +60,13 @@ model/dataResult.pub.agravity.ts
|
|
|
60
60
|
model/deletedEntities.pub.agravity.ts
|
|
61
61
|
model/distZipResponse.pub.agravity.ts
|
|
62
62
|
model/downloadFormat.pub.agravity.ts
|
|
63
|
+
model/downloadZipRequest.pub.agravity.ts
|
|
64
|
+
model/downloadZipStatus.pub.agravity.ts
|
|
63
65
|
model/dynamicImageOperation.pub.agravity.ts
|
|
64
66
|
model/entityId.pub.agravity.ts
|
|
65
67
|
model/entityIdName.pub.agravity.ts
|
|
68
|
+
model/entityListResult.pub.agravity.ts
|
|
69
|
+
model/entityNamesRequest.pub.agravity.ts
|
|
66
70
|
model/frontendAppConfig.pub.agravity.ts
|
|
67
71
|
model/groupAllAppData.pub.agravity.ts
|
|
68
72
|
model/models.ts
|
|
@@ -75,7 +79,6 @@ model/portalFields.pub.agravity.ts
|
|
|
75
79
|
model/portalLinks.pub.agravity.ts
|
|
76
80
|
model/portalTheme.pub.agravity.ts
|
|
77
81
|
model/portalUserContext.pub.agravity.ts
|
|
78
|
-
model/portalZipRequest.pub.agravity.ts
|
|
79
82
|
model/publishEntity.pub.agravity.ts
|
|
80
83
|
model/publishedAsset.pub.agravity.ts
|
|
81
84
|
model/quickShareFull.pub.agravity.ts
|
|
@@ -96,7 +99,6 @@ model/secureUploadEntity.pub.agravity.ts
|
|
|
96
99
|
model/sharedAllowedFormat.pub.agravity.ts
|
|
97
100
|
model/sharedAsset.pub.agravity.ts
|
|
98
101
|
model/sharedCollectionFull.pub.agravity.ts
|
|
99
|
-
model/sharedCollectionZipRequest.pub.agravity.ts
|
|
100
102
|
model/signalRConnectionInfo.pub.agravity.ts
|
|
101
103
|
model/staticDefinedList.pub.agravity.ts
|
|
102
104
|
model/versionEntity.pub.agravity.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.9.0
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
## @agravity/public@
|
|
1
|
+
## @agravity/public@9.0.1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
|
+
|
|
5
|
+
The version of the OpenAPI document: 9.0.1
|
|
4
6
|
|
|
5
7
|
### Building
|
|
6
8
|
|
|
@@ -21,7 +23,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
23
|
_published:_
|
|
22
24
|
|
|
23
25
|
```
|
|
24
|
-
npm install @agravity/public@
|
|
26
|
+
npm install @agravity/public@9.0.1 --save
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
_without publishing (not recommended):_
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -19,6 +18,10 @@ import { Observable } from 'rxjs';
|
|
|
19
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
20
19
|
// @ts-ignore
|
|
21
20
|
import { Collection } from '../model/collection.pub.agravity';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { EntityListResult } from '../model/entityListResult.pub.agravity';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { EntityNamesRequest } from '../model/entityNamesRequest.pub.agravity';
|
|
22
25
|
|
|
23
26
|
// @ts-ignore
|
|
24
27
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -102,6 +105,11 @@ export interface HttpPublicCollectionsUpdateByIdRequestParams {
|
|
|
102
105
|
acceptLanguage?: string;
|
|
103
106
|
}
|
|
104
107
|
|
|
108
|
+
export interface HttpPublicPostCollectionsGetByNamesRequestParams {
|
|
109
|
+
/** An object with the array of strings with names of the collections to fetch. */
|
|
110
|
+
entityNamesRequest: EntityNamesRequest;
|
|
111
|
+
}
|
|
112
|
+
|
|
105
113
|
@Injectable({
|
|
106
114
|
providedIn: 'root'
|
|
107
115
|
})
|
|
@@ -979,4 +987,99 @@ export class PublicCollectionManagementService {
|
|
|
979
987
|
reportProgress: reportProgress
|
|
980
988
|
});
|
|
981
989
|
}
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* This endpoint fetches all collections based on names which comes from an array inside the POST request body and return another list of EntityIdName objects and an array of strings with the names which could not be found.
|
|
993
|
+
* @param requestParameters
|
|
994
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
995
|
+
* @param reportProgress flag to report request and response progress.
|
|
996
|
+
*/
|
|
997
|
+
public httpPublicPostCollectionsGetByNames(
|
|
998
|
+
requestParameters?: HttpPublicPostCollectionsGetByNamesRequestParams,
|
|
999
|
+
observe?: 'body',
|
|
1000
|
+
reportProgress?: boolean,
|
|
1001
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1002
|
+
): Observable<EntityListResult>;
|
|
1003
|
+
public httpPublicPostCollectionsGetByNames(
|
|
1004
|
+
requestParameters?: HttpPublicPostCollectionsGetByNamesRequestParams,
|
|
1005
|
+
observe?: 'response',
|
|
1006
|
+
reportProgress?: boolean,
|
|
1007
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1008
|
+
): Observable<HttpResponse<EntityListResult>>;
|
|
1009
|
+
public httpPublicPostCollectionsGetByNames(
|
|
1010
|
+
requestParameters?: HttpPublicPostCollectionsGetByNamesRequestParams,
|
|
1011
|
+
observe?: 'events',
|
|
1012
|
+
reportProgress?: boolean,
|
|
1013
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1014
|
+
): Observable<HttpEvent<EntityListResult>>;
|
|
1015
|
+
public httpPublicPostCollectionsGetByNames(
|
|
1016
|
+
requestParameters?: HttpPublicPostCollectionsGetByNamesRequestParams,
|
|
1017
|
+
observe: any = 'body',
|
|
1018
|
+
reportProgress: boolean = false,
|
|
1019
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
1020
|
+
): Observable<any> {
|
|
1021
|
+
const entityNamesRequest = requestParameters?.entityNamesRequest;
|
|
1022
|
+
if (entityNamesRequest === null || entityNamesRequest === undefined) {
|
|
1023
|
+
throw new Error('Required parameter entityNamesRequest was null or undefined when calling httpPublicPostCollectionsGetByNames.');
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1027
|
+
|
|
1028
|
+
let localVarCredential: string | undefined;
|
|
1029
|
+
// authentication (function_key) required
|
|
1030
|
+
localVarCredential = this.configuration.lookupCredential('function_key');
|
|
1031
|
+
if (localVarCredential) {
|
|
1032
|
+
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
1036
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1037
|
+
// to determine the Accept header
|
|
1038
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
1039
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1040
|
+
}
|
|
1041
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1042
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
1046
|
+
if (localVarHttpContext === undefined) {
|
|
1047
|
+
localVarHttpContext = new HttpContext();
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
1051
|
+
if (localVarTransferCache === undefined) {
|
|
1052
|
+
localVarTransferCache = true;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
// to determine the Content-Type header
|
|
1056
|
+
const consumes: string[] = ['application/json'];
|
|
1057
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
1058
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1059
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
1063
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1064
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1065
|
+
responseType_ = 'text';
|
|
1066
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1067
|
+
responseType_ = 'json';
|
|
1068
|
+
} else {
|
|
1069
|
+
responseType_ = 'blob';
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
let localVarPath = `/collectionsbynames`;
|
|
1074
|
+
return this.httpClient.request<EntityListResult>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
1075
|
+
context: localVarHttpContext,
|
|
1076
|
+
body: entityNamesRequest,
|
|
1077
|
+
responseType: <any>responseType_,
|
|
1078
|
+
withCredentials: this.configuration.withCredentials,
|
|
1079
|
+
headers: localVarHeaders,
|
|
1080
|
+
observe: observe,
|
|
1081
|
+
transferCache: localVarTransferCache,
|
|
1082
|
+
reportProgress: reportProgress
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
982
1085
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -286,7 +285,7 @@ export class PublicCollectionSecureUploadService {
|
|
|
286
285
|
const consumes: string[] = ['application/json'];
|
|
287
286
|
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
288
287
|
if (httpContentTypeSelected !== undefined) {
|
|
289
|
-
//
|
|
288
|
+
// localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
290
289
|
}
|
|
291
290
|
|
|
292
291
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -22,11 +21,13 @@ import { CustomClaimsProviderResponseContentAttributeCollectionSubmit } from '..
|
|
|
22
21
|
// @ts-ignore
|
|
23
22
|
import { CustomClaimsProviderResponseContentTokenIssuanceStart } from '../model/customClaimsProviderResponseContentTokenIssuanceStart.pub.agravity';
|
|
24
23
|
// @ts-ignore
|
|
24
|
+
import { DownloadZipRequest } from '../model/downloadZipRequest.pub.agravity';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DownloadZipStatus } from '../model/downloadZipStatus.pub.agravity';
|
|
27
|
+
// @ts-ignore
|
|
25
28
|
import { Portal } from '../model/portal.pub.agravity';
|
|
26
29
|
// @ts-ignore
|
|
27
30
|
import { PortalConfiguration } from '../model/portalConfiguration.pub.agravity';
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import { PortalZipRequest } from '../model/portalZipRequest.pub.agravity';
|
|
30
31
|
|
|
31
32
|
// @ts-ignore
|
|
32
33
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -48,7 +49,7 @@ export interface HttpPortalRequestZipByIdRequestParams {
|
|
|
48
49
|
/** The ID of the portal. */
|
|
49
50
|
id: string;
|
|
50
51
|
/** The allowed formats are the input which could be added. */
|
|
51
|
-
|
|
52
|
+
downloadZipRequest: DownloadZipRequest;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
export interface HttpPortalsConfigurationGetByIdRequestParams {
|
|
@@ -229,19 +230,19 @@ export class PublicPortalManagementService {
|
|
|
229
230
|
observe?: 'body',
|
|
230
231
|
reportProgress?: boolean,
|
|
231
232
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
232
|
-
): Observable<
|
|
233
|
+
): Observable<DownloadZipStatus>;
|
|
233
234
|
public httpPortalGetStatusZipById(
|
|
234
235
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
235
236
|
observe?: 'response',
|
|
236
237
|
reportProgress?: boolean,
|
|
237
238
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
238
|
-
): Observable<HttpResponse<
|
|
239
|
+
): Observable<HttpResponse<DownloadZipStatus>>;
|
|
239
240
|
public httpPortalGetStatusZipById(
|
|
240
241
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
241
242
|
observe?: 'events',
|
|
242
243
|
reportProgress?: boolean,
|
|
243
244
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
244
|
-
): Observable<HttpEvent<
|
|
245
|
+
): Observable<HttpEvent<DownloadZipStatus>>;
|
|
245
246
|
public httpPortalGetStatusZipById(
|
|
246
247
|
requestParameters?: HttpPortalGetStatusZipByIdRequestParams,
|
|
247
248
|
observe: any = 'body',
|
|
@@ -298,7 +299,7 @@ export class PublicPortalManagementService {
|
|
|
298
299
|
}
|
|
299
300
|
|
|
300
301
|
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 })}`;
|
|
301
|
-
return this.httpClient.request<
|
|
302
|
+
return this.httpClient.request<DownloadZipStatus>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
302
303
|
context: localVarHttpContext,
|
|
303
304
|
responseType: <any>responseType_,
|
|
304
305
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -320,19 +321,19 @@ export class PublicPortalManagementService {
|
|
|
320
321
|
observe?: 'body',
|
|
321
322
|
reportProgress?: boolean,
|
|
322
323
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
323
|
-
): Observable<
|
|
324
|
+
): Observable<DownloadZipRequest>;
|
|
324
325
|
public httpPortalRequestZipById(
|
|
325
326
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
326
327
|
observe?: 'response',
|
|
327
328
|
reportProgress?: boolean,
|
|
328
329
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
329
|
-
): Observable<HttpResponse<
|
|
330
|
+
): Observable<HttpResponse<DownloadZipRequest>>;
|
|
330
331
|
public httpPortalRequestZipById(
|
|
331
332
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
332
333
|
observe?: 'events',
|
|
333
334
|
reportProgress?: boolean,
|
|
334
335
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
335
|
-
): Observable<HttpEvent<
|
|
336
|
+
): Observable<HttpEvent<DownloadZipRequest>>;
|
|
336
337
|
public httpPortalRequestZipById(
|
|
337
338
|
requestParameters?: HttpPortalRequestZipByIdRequestParams,
|
|
338
339
|
observe: any = 'body',
|
|
@@ -343,9 +344,9 @@ export class PublicPortalManagementService {
|
|
|
343
344
|
if (id === null || id === undefined) {
|
|
344
345
|
throw new Error('Required parameter id was null or undefined when calling httpPortalRequestZipById.');
|
|
345
346
|
}
|
|
346
|
-
const
|
|
347
|
-
if (
|
|
348
|
-
throw new Error('Required parameter
|
|
347
|
+
const downloadZipRequest = requestParameters?.downloadZipRequest;
|
|
348
|
+
if (downloadZipRequest === null || downloadZipRequest === undefined) {
|
|
349
|
+
throw new Error('Required parameter downloadZipRequest was null or undefined when calling httpPortalRequestZipById.');
|
|
349
350
|
}
|
|
350
351
|
|
|
351
352
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -396,9 +397,9 @@ export class PublicPortalManagementService {
|
|
|
396
397
|
}
|
|
397
398
|
|
|
398
399
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip`;
|
|
399
|
-
return this.httpClient.request<
|
|
400
|
+
return this.httpClient.request<DownloadZipRequest>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
400
401
|
context: localVarHttpContext,
|
|
401
|
-
body:
|
|
402
|
+
body: downloadZipRequest,
|
|
402
403
|
responseType: <any>responseType_,
|
|
403
404
|
withCredentials: this.configuration.withCredentials,
|
|
404
405
|
headers: localVarHeaders,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -23,7 +22,7 @@ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
|
23
22
|
import { AgravityPublicConfiguration } from '../configuration';
|
|
24
23
|
|
|
25
24
|
export interface HttpSavedSearchesGetAllRequestParams {
|
|
26
|
-
/** This parameter filters out all saved searches on basis this boolean. */
|
|
25
|
+
/** This parameter filters out all saved searches on basis this boolean. Only admins can request the external saved searches. */
|
|
27
26
|
external?: boolean;
|
|
28
27
|
/** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
|
|
29
28
|
translations?: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|
|
@@ -18,11 +17,13 @@ import { Observable } from 'rxjs';
|
|
|
18
17
|
// @ts-ignore
|
|
19
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
20
19
|
// @ts-ignore
|
|
20
|
+
import { DownloadZipRequest } from '../model/downloadZipRequest.pub.agravity';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { DownloadZipStatus } from '../model/downloadZipStatus.pub.agravity';
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import { QuickShareFull } from '../model/quickShareFull.pub.agravity';
|
|
22
25
|
// @ts-ignore
|
|
23
26
|
import { SharedCollectionFull } from '../model/sharedCollectionFull.pub.agravity';
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
import { SharedCollectionZipRequest } from '../model/sharedCollectionZipRequest.pub.agravity';
|
|
26
27
|
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -55,7 +56,7 @@ export interface HttpSharedCollectionsGetByIdRequestParams {
|
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export interface HttpSharedCollectionsGetStatusZipByIdRequestParams {
|
|
58
|
-
/** The ID of the zip request
|
|
59
|
+
/** The ID of the zip request. */
|
|
59
60
|
id: string;
|
|
60
61
|
/** The ID of the requested zip. */
|
|
61
62
|
zipId: string;
|
|
@@ -68,8 +69,8 @@ export interface HttpSharedCollectionsRequestZipByIdRequestParams {
|
|
|
68
69
|
id: string;
|
|
69
70
|
/** If shared collection has a password, this header is mandatory. Otherwise StatusCode 403 (Forbidden) is returned. */
|
|
70
71
|
ayPassword?: string;
|
|
71
|
-
/** The
|
|
72
|
-
|
|
72
|
+
/** The request of which assets or download formats should be used.. */
|
|
73
|
+
downloadZipRequest?: DownloadZipRequest;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
@Injectable({
|
|
@@ -347,19 +348,19 @@ export class PublicSharingManagementService {
|
|
|
347
348
|
observe?: 'body',
|
|
348
349
|
reportProgress?: boolean,
|
|
349
350
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
350
|
-
): Observable<
|
|
351
|
+
): Observable<DownloadZipStatus>;
|
|
351
352
|
public httpSharedCollectionsGetStatusZipById(
|
|
352
353
|
requestParameters?: HttpSharedCollectionsGetStatusZipByIdRequestParams,
|
|
353
354
|
observe?: 'response',
|
|
354
355
|
reportProgress?: boolean,
|
|
355
356
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
356
|
-
): Observable<HttpResponse<
|
|
357
|
+
): Observable<HttpResponse<DownloadZipStatus>>;
|
|
357
358
|
public httpSharedCollectionsGetStatusZipById(
|
|
358
359
|
requestParameters?: HttpSharedCollectionsGetStatusZipByIdRequestParams,
|
|
359
360
|
observe?: 'events',
|
|
360
361
|
reportProgress?: boolean,
|
|
361
362
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
362
|
-
): Observable<HttpEvent<
|
|
363
|
+
): Observable<HttpEvent<DownloadZipStatus>>;
|
|
363
364
|
public httpSharedCollectionsGetStatusZipById(
|
|
364
365
|
requestParameters?: HttpSharedCollectionsGetStatusZipByIdRequestParams,
|
|
365
366
|
observe: any = 'body',
|
|
@@ -413,7 +414,7 @@ export class PublicSharingManagementService {
|
|
|
413
414
|
}
|
|
414
415
|
|
|
415
416
|
let localVarPath = `/shared/${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 })}`;
|
|
416
|
-
return this.httpClient.request<
|
|
417
|
+
return this.httpClient.request<DownloadZipStatus>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
417
418
|
context: localVarHttpContext,
|
|
418
419
|
responseType: <any>responseType_,
|
|
419
420
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -435,19 +436,19 @@ export class PublicSharingManagementService {
|
|
|
435
436
|
observe?: 'body',
|
|
436
437
|
reportProgress?: boolean,
|
|
437
438
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
438
|
-
): Observable<
|
|
439
|
+
): Observable<DownloadZipRequest>;
|
|
439
440
|
public httpSharedCollectionsRequestZipById(
|
|
440
441
|
requestParameters?: HttpSharedCollectionsRequestZipByIdRequestParams,
|
|
441
442
|
observe?: 'response',
|
|
442
443
|
reportProgress?: boolean,
|
|
443
444
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
444
|
-
): Observable<HttpResponse<
|
|
445
|
+
): Observable<HttpResponse<DownloadZipRequest>>;
|
|
445
446
|
public httpSharedCollectionsRequestZipById(
|
|
446
447
|
requestParameters?: HttpSharedCollectionsRequestZipByIdRequestParams,
|
|
447
448
|
observe?: 'events',
|
|
448
449
|
reportProgress?: boolean,
|
|
449
450
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
450
|
-
): Observable<HttpEvent<
|
|
451
|
+
): Observable<HttpEvent<DownloadZipRequest>>;
|
|
451
452
|
public httpSharedCollectionsRequestZipById(
|
|
452
453
|
requestParameters?: HttpSharedCollectionsRequestZipByIdRequestParams,
|
|
453
454
|
observe: any = 'body',
|
|
@@ -459,7 +460,7 @@ export class PublicSharingManagementService {
|
|
|
459
460
|
throw new Error('Required parameter id was null or undefined when calling httpSharedCollectionsRequestZipById.');
|
|
460
461
|
}
|
|
461
462
|
const ayPassword = requestParameters?.ayPassword;
|
|
462
|
-
const
|
|
463
|
+
const downloadZipRequest = requestParameters?.downloadZipRequest;
|
|
463
464
|
|
|
464
465
|
let localVarHeaders = this.defaultHeaders;
|
|
465
466
|
if (ayPassword !== undefined && ayPassword !== null) {
|
|
@@ -505,9 +506,9 @@ export class PublicSharingManagementService {
|
|
|
505
506
|
}
|
|
506
507
|
|
|
507
508
|
let localVarPath = `/shared/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip`;
|
|
508
|
-
return this.httpClient.request<
|
|
509
|
+
return this.httpClient.request<DownloadZipRequest>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
509
510
|
context: localVarHttpContext,
|
|
510
|
-
body:
|
|
511
|
+
body: downloadZipRequest,
|
|
511
512
|
responseType: <any>responseType_,
|
|
512
513
|
withCredentials: this.configuration.withCredentials,
|
|
513
514
|
headers: localVarHeaders,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
|
|
3
|
-
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
3
|
*
|
|
5
4
|
* Contact: office@agravity.io
|
|
6
5
|
*
|