@agravity/private 10.2.5 → 10.3.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.
@@ -74,7 +74,12 @@ model/appConfigTableEntity.agravity.ts
74
74
  model/asset.agravity.ts
75
75
  model/assetAvailability.agravity.ts
76
76
  model/assetBlob.agravity.ts
77
+ model/assetBulkCheckoutBody.agravity.ts
78
+ model/assetBulkCheckoutResult.agravity.ts
77
79
  model/assetBulkUpdate.agravity.ts
80
+ model/assetCheckout.agravity.ts
81
+ model/assetCheckoutFailure.agravity.ts
82
+ model/assetCheckoutWarningDetail.agravity.ts
78
83
  model/assetCollectionLink.agravity.ts
79
84
  model/assetIconRule.agravity.ts
80
85
  model/assetIdFormat.agravity.ts
@@ -120,6 +125,7 @@ model/httpAssetExportFieldSelector.agravity.ts
120
125
  model/httpAssetExportInputParameter.agravity.ts
121
126
  model/httpRequestAvailableExportFieldsInputParameter.agravity.ts
122
127
  model/infoEntitySkillEnhanced.agravity.ts
128
+ model/instancesItem.agravity.ts
123
129
  model/metadata.agravity.ts
124
130
  model/models.ts
125
131
  model/moveCollectionBody.agravity.ts
@@ -162,6 +168,7 @@ model/sharedCollection.agravity.ts
162
168
  model/sharedCollectionFull.agravity.ts
163
169
  model/signalRConnectionInfo.agravity.ts
164
170
  model/staticDefinedList.agravity.ts
171
+ model/transcriptItem.agravity.ts
165
172
  model/translation.agravity.ts
166
173
  model/translationRequest.agravity.ts
167
174
  model/versionEntity.agravity.ts
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # @agravity/private@10.2.5
1
+ # @agravity/private@10.3.1
2
2
 
3
3
  <p>Agravity is a powerful, enterprise-grade Headless Digital Asset Management (DAM) system designed for organizations that need complete control over how they manage, organize, and distribute their digital assets.</p> <h2>Key Features</h2> <ul> <li>Asset Management - Upload, organize, and manage all types of digital assets (images, videos, documents, etc.)</li> <li>Collections &amp; Hierarchies - Create flexible folder structures and collection types with customizable metadata</li> <li>Advanced Search - Powered by Azure Cognitive Search with AI-enhanced capabilities for intelligent discovery</li> <li>AI Integration - Leverage AI to automatically generate metadata, tags, and descriptions for your assets</li> <li>Versioning - Track and restore previous versions of your assets with complete version history</li> <li>Publishing &amp; Distribution - Publish assets to various channels including Vimeo, CDN, and custom portals</li> <li>Portal System - Create public-facing portals with granular permission controls and custom branding</li> <li>Download Formats - Define custom download formats with image transformations and optimizations</li> <li>Collaboration Features - Share collections, create quick shares, and manage team access with role-based permissions</li> <li>Multi-Language Support - Full translation capabilities for all metadata and UI elements</li> <li>API-First Architecture - Complete REST API for seamless integration with your applications</li> </ul> <h2>Headless DAM Benefits</h2> <p>As a headless DAM solution, Agravity separates content management from presentation. This means:</p> <ul> <li>Flexibility - Use the same assets across multiple channels and applications without duplication</li> <li>API-Driven - Access all functionality through powerful REST APIs for custom integrations</li> <li>Framework Agnostic - Integrate with any frontend framework or technology stack</li> <li>Scalability - Built on cloud-native architecture with Azure infrastructure for unlimited growth</li> <li>Multi-Channel Distribution - Publish to web, mobile, social media, and custom portals from a single source</li> </ul> <h2>Core Entities</h2> <p><strong>Assets</strong> - Your digital content (images, videos, documents). Each asset can have multiple versions, metadata, and be published to various targets.</p> <p><strong>Collections</strong> - Logical groupings of assets organized hierarchically. Support custom metadata through collection types.</p> <p><strong>Collection Types</strong> - Define the structure and metadata fields for collections, similar to database schemas.</p> <p><strong>Workspaces</strong> - Organize collection types into workspaces for multi-project management.</p> <p><strong>Download Formats</strong> - Define transformations and optimizations for assets when downloaded.</p> <p><strong>Portals</strong> - Public-facing interfaces for sharing collections with external stakeholders.</p> <h2>API Endpoints Overview</h2> <p><strong>Asset Management</strong> - Create, read, update, delete, and search assets with full metadata support</p> <p><strong>Collection Management</strong> - Organize assets into collections with hierarchical structures</p> <p><strong>AI Operations</strong> - Automatically generate asset metadata using AI-powered field generation</p> <p><strong>Publishing</strong> - Publish assets to Vimeo, CDN, or custom publishing targets</p> <p><strong>Search &amp; Discovery</strong> - Full-text search with advanced filtering and AI-enhanced similarity search</p> <p><strong>User &amp; Portal Management</strong> - Control access through roles, profiles, and custom portals</p> <p><strong>Content Distribution</strong> - Share collections, create download packages, and generate secure links</p> <h2>Security &amp; Permissions</h2> <ul> <li>OAuth 2.0 authentication with Azure AD integration</li> <li>Role-based access control (RBAC) with custom profiles</li> <li>Entity-level permissions for granular control</li> <li>API key authentication for service-to-service communication</li> <li>Secure sharing with password-protected links and expiration dates</li> </ul> <h2>Use Cases</h2> <ul> <li>E-commerce product image management and distribution</li> <li>Marketing asset management across multiple channels</li> <li>Brand asset library and governance</li> <li>Video content management and publishing</li> <li>Enterprise document management with searchability</li> <li>Multi-tenant content management for agencies</li> <li>AI-powered metadata generation at scale</li> </ul> <h2>Support</h2> <p>For questions or support, contact <a href=\"mailto:support@agravity.io\">support@agravity.io</a> or visit <a href=\"https://agravity.io\">https://agravity.io</a>.</p> < p>Agravity © 2026 - Enterprise Headless Digital Asset Management</p>
4
4
 
5
- The version of the OpenAPI document: 10.2.5
5
+ The version of the OpenAPI document: 10.3.1
6
6
 
7
7
  ## Building
8
8
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @agravity/private@10.2.5 --save
27
+ npm install @agravity/private@10.3.1 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -26,6 +26,8 @@ import { AiModelDeployment } from '../model/aiModelDeployment.agravity';
26
26
  import { AiSettings } from '../model/aiSettings.agravity';
27
27
  // @ts-ignore
28
28
  import { SearchResult } from '../model/searchResult.agravity';
29
+ // @ts-ignore
30
+ import { TranscriptItem } from '../model/transcriptItem.agravity';
29
31
 
30
32
  // @ts-ignore
31
33
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
@@ -52,6 +54,13 @@ export interface HttpGetAIAssetStatusByIdRequestParams {
52
54
  id: string;
53
55
  }
54
56
 
57
+ export interface HttpGetAIAssetTranscriptTranslationByIdRequestParams {
58
+ /** The ID of the Asset. */
59
+ id: string;
60
+ /** The language of the AI Asset transcription. */
61
+ language: string;
62
+ }
63
+
55
64
  export interface HttpPatchAiAssetsRequestParams {
56
65
  /** A list of asset ids to be enqueued for applying ai */
57
66
  requestBody: Array<string>;
@@ -81,6 +90,13 @@ export interface HttpTryAIFieldGenerationPostRequestParams {
81
90
  aiSettings: AiSettings;
82
91
  }
83
92
 
93
+ export interface HttpUpdateAIAssetRequestParams {
94
+ /** The ID of the Asset. */
95
+ id: string;
96
+ /** This endpoint updates the AI Asset. */
97
+ aiAsset: AiAsset;
98
+ }
99
+
84
100
  @Injectable({
85
101
  providedIn: 'root'
86
102
  })
@@ -460,6 +476,83 @@ export class AIOperationsService extends BaseService {
460
476
  });
461
477
  }
462
478
 
479
+ /**
480
+ * This endpoint returns the Transcript Translation for a given Asset ID
481
+ * @param requestParameters
482
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
483
+ * @param reportProgress flag to report request and response progress.
484
+ */
485
+ public httpGetAIAssetTranscriptTranslationById(
486
+ requestParameters: HttpGetAIAssetTranscriptTranslationByIdRequestParams,
487
+ observe?: 'body',
488
+ reportProgress?: boolean,
489
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
490
+ ): Observable<Array<TranscriptItem>>;
491
+ public httpGetAIAssetTranscriptTranslationById(
492
+ requestParameters: HttpGetAIAssetTranscriptTranslationByIdRequestParams,
493
+ observe?: 'response',
494
+ reportProgress?: boolean,
495
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
496
+ ): Observable<HttpResponse<Array<TranscriptItem>>>;
497
+ public httpGetAIAssetTranscriptTranslationById(
498
+ requestParameters: HttpGetAIAssetTranscriptTranslationByIdRequestParams,
499
+ observe?: 'events',
500
+ reportProgress?: boolean,
501
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
502
+ ): Observable<HttpEvent<Array<TranscriptItem>>>;
503
+ public httpGetAIAssetTranscriptTranslationById(
504
+ requestParameters: HttpGetAIAssetTranscriptTranslationByIdRequestParams,
505
+ observe: any = 'body',
506
+ reportProgress: boolean = false,
507
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
508
+ ): Observable<any> {
509
+ const id = requestParameters?.id;
510
+ if (id === null || id === undefined) {
511
+ throw new Error('Required parameter id was null or undefined when calling httpGetAIAssetTranscriptTranslationById.');
512
+ }
513
+ const language = requestParameters?.language;
514
+ if (language === null || language === undefined) {
515
+ throw new Error('Required parameter language was null or undefined when calling httpGetAIAssetTranscriptTranslationById.');
516
+ }
517
+
518
+ let localVarHeaders = this.defaultHeaders;
519
+
520
+ // authentication (msal_auth) required
521
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
522
+
523
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
524
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
525
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
526
+ }
527
+
528
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
529
+
530
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
531
+
532
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
533
+ if (localVarHttpHeaderAcceptSelected) {
534
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
535
+ responseType_ = 'text';
536
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
537
+ responseType_ = 'json';
538
+ } else {
539
+ responseType_ = 'blob';
540
+ }
541
+ }
542
+
543
+ let localVarPath = `/ai/assets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/transcript/translation/${this.configuration.encodeParam({ name: 'language', value: language, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
544
+ const { basePath, withCredentials } = this.configuration;
545
+ return this.httpClient.request<Array<TranscriptItem>>('get', `${basePath}${localVarPath}`, {
546
+ context: localVarHttpContext,
547
+ responseType: <any>responseType_,
548
+ ...(withCredentials ? { withCredentials } : {}),
549
+ headers: localVarHeaders,
550
+ observe: observe,
551
+ transferCache: localVarTransferCache,
552
+ reportProgress: reportProgress
553
+ });
554
+ }
555
+
463
556
  /**
464
557
  * This endpoint returns all deployed multimodal AI Models
465
558
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -877,4 +970,89 @@ export class AIOperationsService extends BaseService {
877
970
  reportProgress: reportProgress
878
971
  });
879
972
  }
973
+
974
+ /**
975
+ * This endpoint updates the corresponding AI Asset entry in the database.
976
+ * @param requestParameters
977
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
978
+ * @param reportProgress flag to report request and response progress.
979
+ */
980
+ public httpUpdateAIAsset(
981
+ requestParameters: HttpUpdateAIAssetRequestParams,
982
+ observe?: 'body',
983
+ reportProgress?: boolean,
984
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
985
+ ): Observable<AiAsset>;
986
+ public httpUpdateAIAsset(
987
+ requestParameters: HttpUpdateAIAssetRequestParams,
988
+ observe?: 'response',
989
+ reportProgress?: boolean,
990
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
991
+ ): Observable<HttpResponse<AiAsset>>;
992
+ public httpUpdateAIAsset(
993
+ requestParameters: HttpUpdateAIAssetRequestParams,
994
+ observe?: 'events',
995
+ reportProgress?: boolean,
996
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
997
+ ): Observable<HttpEvent<AiAsset>>;
998
+ public httpUpdateAIAsset(
999
+ requestParameters: HttpUpdateAIAssetRequestParams,
1000
+ observe: any = 'body',
1001
+ reportProgress: boolean = false,
1002
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
1003
+ ): Observable<any> {
1004
+ const id = requestParameters?.id;
1005
+ if (id === null || id === undefined) {
1006
+ throw new Error('Required parameter id was null or undefined when calling httpUpdateAIAsset.');
1007
+ }
1008
+ const aiAsset = requestParameters?.aiAsset;
1009
+ if (aiAsset === null || aiAsset === undefined) {
1010
+ throw new Error('Required parameter aiAsset was null or undefined when calling httpUpdateAIAsset.');
1011
+ }
1012
+
1013
+ let localVarHeaders = this.defaultHeaders;
1014
+
1015
+ // authentication (msal_auth) required
1016
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
1017
+
1018
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
1019
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1020
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1021
+ }
1022
+
1023
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
1024
+
1025
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
1026
+
1027
+ // to determine the Content-Type header
1028
+ const consumes: string[] = ['application/json'];
1029
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
1030
+ if (httpContentTypeSelected !== undefined) {
1031
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1032
+ }
1033
+
1034
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
1035
+ if (localVarHttpHeaderAcceptSelected) {
1036
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1037
+ responseType_ = 'text';
1038
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1039
+ responseType_ = 'json';
1040
+ } else {
1041
+ responseType_ = 'blob';
1042
+ }
1043
+ }
1044
+
1045
+ let localVarPath = `/ai/assets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
1046
+ const { basePath, withCredentials } = this.configuration;
1047
+ return this.httpClient.request<AiAsset>('post', `${basePath}${localVarPath}`, {
1048
+ context: localVarHttpContext,
1049
+ body: aiAsset,
1050
+ responseType: <any>responseType_,
1051
+ ...(withCredentials ? { withCredentials } : {}),
1052
+ headers: localVarHeaders,
1053
+ observe: observe,
1054
+ transferCache: localVarTransferCache,
1055
+ reportProgress: reportProgress
1056
+ });
1057
+ }
880
1058
  }
@@ -41,19 +41,19 @@ export interface HttpAssetUploadFileRequestParams {
41
41
  }
42
42
 
43
43
  export interface HttpAssetsBulkDeleteUpdateRequestParams {
44
- /** The body has to be valid json which contains the reference asset, which for which collection (reference for collection type items) and which assets are to update. The containing keywords (tags) will be removed. Only custom values are replaces if they are part of the given collection id. */
44
+ /** This endpoint updates multiple assets. The containing keywords (tags) will removed if existing. Only custom values are removed on assets which have those items. */
45
45
  assetBulkUpdate: AssetBulkUpdate;
46
46
  }
47
47
 
48
48
  export interface HttpAssetsBulkPostUpdateRequestParams {
49
- /** The body has to be valid json which contains the reference asset, which for which collection (reference for collection type items) and which assets are to update. The containing keywords (tags) will be distinctly added (no removal). Only custom values are replaces if they are part of the given collection id. */
49
+ /** This endpoint updates multiple assets. The containing keywords (tags) will be distinctly added (no removal). Only custom values are added on assets which have those items. */
50
50
  assetBulkUpdate: AssetBulkUpdate;
51
51
  /** The requested language of the response. If not matching it falls back to default language. */
52
52
  acceptLanguage?: string;
53
53
  }
54
54
 
55
55
  export interface HttpAssetsBulkPutUpdateRequestParams {
56
- /** The body has to be valid json which contains the reference asset, a collection (used as reference for collection type items) and which asset ids are to update. The containing keywords (tags) will be fully replaced. ONLY custom items are replaced which are in body (others in same collection will be ignored)!Only custom values are replaces if they are part of the given collection id. */
56
+ /** This endpoint updates multiple assets. The containing keywords (tags) will replace existing. Only custom values are replaced on assets which have those items. */
57
57
  assetBulkUpdate: AssetBulkUpdate;
58
58
  /** The requested language of the response. If not matching it falls back to default language. */
59
59
  acceptLanguage?: string;
@@ -25,6 +25,10 @@ import { AssetAvailability } from '../model/assetAvailability.agravity';
25
25
  // @ts-ignore
26
26
  import { AssetBlob } from '../model/assetBlob.agravity';
27
27
  // @ts-ignore
28
+ import { AssetBulkCheckoutBody } from '../model/assetBulkCheckoutBody.agravity';
29
+ // @ts-ignore
30
+ import { AssetBulkCheckoutResult } from '../model/assetBulkCheckoutResult.agravity';
31
+ // @ts-ignore
28
32
  import { AssetRelation } from '../model/assetRelation.agravity';
29
33
  // @ts-ignore
30
34
  import { AssetTextContent } from '../model/assetTextContent.agravity';
@@ -44,6 +48,24 @@ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
44
48
  import { AgravityConfiguration } from '../configuration';
45
49
  import { BaseService } from '../api.base.service';
46
50
 
51
+ export interface HttpAssetBulkCheckoutToggleRequestParams {
52
+ /** Set to \&#39;true\&#39; to checkout the assets, \&#39;false\&#39; to checkin the assets. */
53
+ checkout: boolean;
54
+ /** The list of asset IDs to checkout or checkin. */
55
+ assetBulkCheckoutBody: AssetBulkCheckoutBody;
56
+ /** Optional action for synced assets when FileShare MD5 metadata is missing. Allowed: keep, overwrite. If the synced FileShare file is missing, only overwrite is allowed. */
57
+ fsMissingETagAction?: string;
58
+ }
59
+
60
+ export interface HttpAssetCheckoutToggleRequestParams {
61
+ /** The ID of the asset. */
62
+ id: string;
63
+ /** Set to \&#39;true\&#39; to checkout the asset, \&#39;false\&#39; to checkin the asset. */
64
+ checkout: boolean;
65
+ /** Optional action for synced assets when FileShare MD5 metadata is missing. Allowed: keep, overwrite. If the synced FileShare file is missing, only overwrite is allowed. */
66
+ fsMissingETagAction?: string;
67
+ }
68
+
47
69
  export interface HttpAssetImageEditRequestParams {
48
70
  /** The ID of the asset. */
49
71
  id: string;
@@ -239,6 +261,180 @@ export class AssetOperationsService extends BaseService {
239
261
  super(basePath, configuration);
240
262
  }
241
263
 
264
+ /**
265
+ * This endpoint allows to bulk checkout or checkin multiple assets. When an asset is checked out, only the user who checked it out (or admins) can create new versions or delete the asset.
266
+ * @param requestParameters
267
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
268
+ * @param reportProgress flag to report request and response progress.
269
+ */
270
+ public httpAssetBulkCheckoutToggle(
271
+ requestParameters: HttpAssetBulkCheckoutToggleRequestParams,
272
+ observe?: 'body',
273
+ reportProgress?: boolean,
274
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
275
+ ): Observable<AssetBulkCheckoutResult>;
276
+ public httpAssetBulkCheckoutToggle(
277
+ requestParameters: HttpAssetBulkCheckoutToggleRequestParams,
278
+ observe?: 'response',
279
+ reportProgress?: boolean,
280
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
281
+ ): Observable<HttpResponse<AssetBulkCheckoutResult>>;
282
+ public httpAssetBulkCheckoutToggle(
283
+ requestParameters: HttpAssetBulkCheckoutToggleRequestParams,
284
+ observe?: 'events',
285
+ reportProgress?: boolean,
286
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
287
+ ): Observable<HttpEvent<AssetBulkCheckoutResult>>;
288
+ public httpAssetBulkCheckoutToggle(
289
+ requestParameters: HttpAssetBulkCheckoutToggleRequestParams,
290
+ observe: any = 'body',
291
+ reportProgress: boolean = false,
292
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
293
+ ): Observable<any> {
294
+ const checkout = requestParameters?.checkout;
295
+ if (checkout === null || checkout === undefined) {
296
+ throw new Error('Required parameter checkout was null or undefined when calling httpAssetBulkCheckoutToggle.');
297
+ }
298
+ const assetBulkCheckoutBody = requestParameters?.assetBulkCheckoutBody;
299
+ if (assetBulkCheckoutBody === null || assetBulkCheckoutBody === undefined) {
300
+ throw new Error('Required parameter assetBulkCheckoutBody was null or undefined when calling httpAssetBulkCheckoutToggle.');
301
+ }
302
+ const fsMissingETagAction = requestParameters?.fsMissingETagAction;
303
+
304
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
305
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>checkout, 'checkout');
306
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fsMissingETagAction, 'fsMissingETagAction');
307
+
308
+ let localVarHeaders = this.defaultHeaders;
309
+
310
+ // authentication (msal_auth) required
311
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
312
+
313
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
314
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
315
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
316
+ }
317
+
318
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
319
+
320
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
321
+
322
+ // to determine the Content-Type header
323
+ const consumes: string[] = ['application/json'];
324
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
325
+ if (httpContentTypeSelected !== undefined) {
326
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
327
+ }
328
+
329
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
330
+ if (localVarHttpHeaderAcceptSelected) {
331
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
332
+ responseType_ = 'text';
333
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
334
+ responseType_ = 'json';
335
+ } else {
336
+ responseType_ = 'blob';
337
+ }
338
+ }
339
+
340
+ let localVarPath = `/assets/checkout/bulk`;
341
+ const { basePath, withCredentials } = this.configuration;
342
+ return this.httpClient.request<AssetBulkCheckoutResult>('put', `${basePath}${localVarPath}`, {
343
+ context: localVarHttpContext,
344
+ body: assetBulkCheckoutBody,
345
+ params: localVarQueryParameters,
346
+ responseType: <any>responseType_,
347
+ ...(withCredentials ? { withCredentials } : {}),
348
+ headers: localVarHeaders,
349
+ observe: observe,
350
+ transferCache: localVarTransferCache,
351
+ reportProgress: reportProgress
352
+ });
353
+ }
354
+
355
+ /**
356
+ * This endpoint allows to checkout or checkin an asset. When an asset is checked out, only the user who checked it out (or admins) can create new versions or delete the asset.
357
+ * @param requestParameters
358
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
359
+ * @param reportProgress flag to report request and response progress.
360
+ */
361
+ public httpAssetCheckoutToggle(
362
+ requestParameters: HttpAssetCheckoutToggleRequestParams,
363
+ observe?: 'body',
364
+ reportProgress?: boolean,
365
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
366
+ ): Observable<AgravityInfoResponse>;
367
+ public httpAssetCheckoutToggle(
368
+ requestParameters: HttpAssetCheckoutToggleRequestParams,
369
+ observe?: 'response',
370
+ reportProgress?: boolean,
371
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
372
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
373
+ public httpAssetCheckoutToggle(
374
+ requestParameters: HttpAssetCheckoutToggleRequestParams,
375
+ observe?: 'events',
376
+ reportProgress?: boolean,
377
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
378
+ ): Observable<HttpEvent<AgravityInfoResponse>>;
379
+ public httpAssetCheckoutToggle(
380
+ requestParameters: HttpAssetCheckoutToggleRequestParams,
381
+ observe: any = 'body',
382
+ reportProgress: boolean = false,
383
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
384
+ ): Observable<any> {
385
+ const id = requestParameters?.id;
386
+ if (id === null || id === undefined) {
387
+ throw new Error('Required parameter id was null or undefined when calling httpAssetCheckoutToggle.');
388
+ }
389
+ const checkout = requestParameters?.checkout;
390
+ if (checkout === null || checkout === undefined) {
391
+ throw new Error('Required parameter checkout was null or undefined when calling httpAssetCheckoutToggle.');
392
+ }
393
+ const fsMissingETagAction = requestParameters?.fsMissingETagAction;
394
+
395
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
396
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>checkout, 'checkout');
397
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fsMissingETagAction, 'fsMissingETagAction');
398
+
399
+ let localVarHeaders = this.defaultHeaders;
400
+
401
+ // authentication (msal_auth) required
402
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
403
+
404
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
405
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
406
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
407
+ }
408
+
409
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
410
+
411
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
412
+
413
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
414
+ if (localVarHttpHeaderAcceptSelected) {
415
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
416
+ responseType_ = 'text';
417
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
418
+ responseType_ = 'json';
419
+ } else {
420
+ responseType_ = 'blob';
421
+ }
422
+ }
423
+
424
+ let localVarPath = `/assets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/checkout`;
425
+ const { basePath, withCredentials } = this.configuration;
426
+ return this.httpClient.request<AgravityInfoResponse>('put', `${basePath}${localVarPath}`, {
427
+ context: localVarHttpContext,
428
+ params: localVarQueryParameters,
429
+ responseType: <any>responseType_,
430
+ ...(withCredentials ? { withCredentials } : {}),
431
+ headers: localVarHeaders,
432
+ observe: observe,
433
+ transferCache: localVarTransferCache,
434
+ reportProgress: reportProgress
435
+ });
436
+ }
437
+
242
438
  /**
243
439
  * This endpoint lets you resize/modify the image asset according to the given GET parameter(s) - Only exception is for target: If this is a download format no other parameter is used.
244
440
  * @param requestParameters
@@ -16,8 +16,9 @@ export interface AgravityVersion {
16
16
  updated?: string | null;
17
17
  client_id?: string | null;
18
18
  tenant_id?: string | null;
19
+ subscription_id?: string | null;
19
20
  base?: string | null;
20
21
  version?: string | null;
21
- vector_search_enabled?: boolean | null;
22
+ enabled_features?: Array<string> | null;
22
23
  region?: string | null;
23
24
  }
@@ -30,7 +30,8 @@ export namespace AiAssetStatus {
30
30
  Saving: 'SAVING',
31
31
  Cleanup: 'CLEANUP',
32
32
  Done: 'DONE',
33
- Cancelled: 'CANCELLED'
33
+ Cancelled: 'CANCELLED',
34
+ Removed: 'REMOVED'
34
35
  } as const;
35
36
  export type StatusEnum = (typeof StatusEnum)[keyof typeof StatusEnum];
36
37
  }
@@ -15,4 +15,6 @@ export interface AiTypeSettings {
15
15
  temperature?: number | null;
16
16
  fields?: { [key: string]: AiFieldGeneration } | null;
17
17
  default_fields?: { [key: string]: AiFieldGeneration } | null;
18
+ enabled?: boolean | null;
19
+ configured?: boolean | null;
18
20
  }
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import { CollTypeItem } from './collTypeItem.agravity';
11
11
  import { AssetBlob } from './assetBlob.agravity';
12
+ import { AssetCheckout } from './assetCheckout.agravity';
12
13
 
13
14
  export interface Asset {
14
15
  id?: string | null;
@@ -26,6 +27,8 @@ export interface Asset {
26
27
  availability?: string | null;
27
28
  available_from?: string | null;
28
29
  available_to?: string | null;
30
+ checkout?: AssetCheckout | null;
31
+ fs_synced?: string | null;
29
32
  custom?: any | null;
30
33
  items?: Array<CollTypeItem> | null;
31
34
  translations?: { [key: string]: { [key: string]: any } } | null;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+
11
+ export interface AssetBulkCheckoutBody {
12
+ asset_ids?: Array<string> | null;
13
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ import { AssetCheckoutFailure } from './assetCheckoutFailure.agravity';
11
+ import { AssetCheckoutWarningDetail } from './assetCheckoutWarningDetail.agravity';
12
+
13
+ export interface AssetBulkCheckoutResult {
14
+ successful?: Array<string> | null;
15
+ failed?: Array<AssetCheckoutFailure> | null;
16
+ warnings?: Array<AssetCheckoutWarningDetail> | null;
17
+ import_queued?: Array<string> | null;
18
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+
11
+ export interface AssetCheckout {
12
+ user_id?: string | null;
13
+ checkout_date?: string | null;
14
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+
11
+ export interface AssetCheckoutFailure {
12
+ id?: string | null;
13
+ error_message?: string | null;
14
+ error_code?: string | null;
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+
11
+ export interface AssetCheckoutWarningDetail {
12
+ id?: string | null;
13
+ warning_code?: string | null;
14
+ warning_message?: string | null;
15
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+
11
+ export interface InstancesItem {
12
+ adjustedStart?: string;
13
+ adjustedEnd?: string;
14
+ start?: string;
15
+ end?: string;
16
+ thumbnailsIds?: Array<string>;
17
+ confidence?: number;
18
+ thumbnailId?: string;
19
+ brandType?: string;
20
+ instanceSource?: string;
21
+ }
package/model/models.ts CHANGED
@@ -17,7 +17,12 @@ export * from './appConfigTableEntity.agravity';
17
17
  export * from './asset.agravity';
18
18
  export * from './assetAvailability.agravity';
19
19
  export * from './assetBlob.agravity';
20
+ export * from './assetBulkCheckoutBody.agravity';
21
+ export * from './assetBulkCheckoutResult.agravity';
20
22
  export * from './assetBulkUpdate.agravity';
23
+ export * from './assetCheckout.agravity';
24
+ export * from './assetCheckoutFailure.agravity';
25
+ export * from './assetCheckoutWarningDetail.agravity';
21
26
  export * from './assetCollectionLink.agravity';
22
27
  export * from './assetIconRule.agravity';
23
28
  export * from './assetIdFormat.agravity';
@@ -63,6 +68,7 @@ export * from './httpAssetExportFieldSelector.agravity';
63
68
  export * from './httpAssetExportInputParameter.agravity';
64
69
  export * from './httpRequestAvailableExportFieldsInputParameter.agravity';
65
70
  export * from './infoEntitySkillEnhanced.agravity';
71
+ export * from './instancesItem.agravity';
66
72
  export * from './metadata.agravity';
67
73
  export * from './moveCollectionBody.agravity';
68
74
  export * from './notificationSettingsEntry.agravity';
@@ -104,6 +110,7 @@ export * from './sharedCollection.agravity';
104
110
  export * from './sharedCollectionFull.agravity';
105
111
  export * from './signalRConnectionInfo.agravity';
106
112
  export * from './staticDefinedList.agravity';
113
+ export * from './transcriptItem.agravity';
107
114
  export * from './translation.agravity';
108
115
  export * from './translationRequest.agravity';
109
116
  export * from './versionEntity.agravity';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ *
4
+ * Contact: support@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ import { InstancesItem } from './instancesItem.agravity';
11
+
12
+ export interface TranscriptItem {
13
+ id?: number;
14
+ text?: string;
15
+ confidence?: number;
16
+ speakerId?: number;
17
+ language?: string;
18
+ instances?: Array<InstancesItem>;
19
+ }
@@ -26,7 +26,11 @@ export namespace WhereParam {
26
26
  Contains: 'Contains',
27
27
  StartsWith: 'StartsWith',
28
28
  ArrayContains: 'ArrayContains',
29
- ArrayContainsPartial: 'ArrayContainsPartial'
29
+ ArrayContainsPartial: 'ArrayContainsPartial',
30
+ IsDefined: 'IsDefined',
31
+ IsNotDefined: 'IsNotDefined',
32
+ IsEmpty: 'IsEmpty',
33
+ IsNotEmpty: 'IsNotEmpty'
30
34
  } as const;
31
35
  export type OperatorEnum = (typeof OperatorEnum)[keyof typeof OperatorEnum];
32
36
  export const ValueTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agravity/private",
3
- "version": "10.2.5",
3
+ "version": "10.3.1",
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": {