@agravity/private 9.1.2 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- ## @agravity/private@9.1.2
1
+ ## @agravity/private@9.2.0
2
2
 
3
3
  <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
4
4
 
5
- The version of the OpenAPI document: 9.1.2
5
+ The version of the OpenAPI document: 9.2.0
6
6
 
7
7
  ### Building
8
8
 
@@ -23,7 +23,7 @@ Navigate to the folder of your consuming project and run one of next commands.
23
23
  _published:_
24
24
 
25
25
  ```
26
- npm install @agravity/private@9.1.2 --save
26
+ npm install @agravity/private@9.2.0 --save
27
27
  ```
28
28
 
29
29
  _without publishing (not recommended):_
@@ -1097,6 +1097,83 @@ export class HelperToolsService {
1097
1097
  });
1098
1098
  }
1099
1099
 
1100
+ /**
1101
+ * This endpoint fetches the vector search enabled values from the configuration and returns them as a dictionary. [admin only]
1102
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1103
+ * @param reportProgress flag to report request and response progress.
1104
+ */
1105
+ public httpGetVectorSearchEnabled(
1106
+ observe?: 'body',
1107
+ reportProgress?: boolean,
1108
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
1109
+ ): Observable<PublishedAsset>;
1110
+ public httpGetVectorSearchEnabled(
1111
+ observe?: 'response',
1112
+ reportProgress?: boolean,
1113
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
1114
+ ): Observable<HttpResponse<PublishedAsset>>;
1115
+ public httpGetVectorSearchEnabled(
1116
+ observe?: 'events',
1117
+ reportProgress?: boolean,
1118
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
1119
+ ): Observable<HttpEvent<PublishedAsset>>;
1120
+ public httpGetVectorSearchEnabled(
1121
+ observe: any = 'body',
1122
+ reportProgress: boolean = false,
1123
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
1124
+ ): Observable<any> {
1125
+ let localVarHeaders = this.defaultHeaders;
1126
+
1127
+ let localVarCredential: string | undefined;
1128
+ // authentication (msal_auth) required
1129
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
1130
+ if (localVarCredential) {
1131
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
1132
+ }
1133
+
1134
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
1135
+ if (localVarHttpHeaderAcceptSelected === undefined) {
1136
+ // to determine the Accept header
1137
+ const httpHeaderAccepts: string[] = ['application/json'];
1138
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1139
+ }
1140
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1141
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1142
+ }
1143
+
1144
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
1145
+ if (localVarHttpContext === undefined) {
1146
+ localVarHttpContext = new HttpContext();
1147
+ }
1148
+
1149
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
1150
+ if (localVarTransferCache === undefined) {
1151
+ localVarTransferCache = true;
1152
+ }
1153
+
1154
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
1155
+ if (localVarHttpHeaderAcceptSelected) {
1156
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1157
+ responseType_ = 'text';
1158
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1159
+ responseType_ = 'json';
1160
+ } else {
1161
+ responseType_ = 'blob';
1162
+ }
1163
+ }
1164
+
1165
+ let localVarPath = `/helper/vectorsearchenabled`;
1166
+ return this.httpClient.request<PublishedAsset>('get', `${this.configuration.basePath}${localVarPath}`, {
1167
+ context: localVarHttpContext,
1168
+ responseType: <any>responseType_,
1169
+ withCredentials: this.configuration.withCredentials,
1170
+ headers: localVarHeaders,
1171
+ observe: observe,
1172
+ transferCache: localVarTransferCache,
1173
+ reportProgress: reportProgress
1174
+ });
1175
+ }
1176
+
1100
1177
  /**
1101
1178
  * This sets metadata from all blobs inside inbox container on storage. This should re-trigger the inbox trigger.
1102
1179
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agravity/private",
3
- "version": "9.1.2",
3
+ "version": "9.2.0",
4
4
  "description": "The Agravity GlobalDAM API which allowes authenticated user to access the Agravity GlobalDAM Backend",
5
5
  "author": "Philipp Losbichler",
6
6
  "repository": {