@agravity/private 11.1.3 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +19 -1
- package/README.md +3 -3
- package/api/aIOperations.agravity.ts +5 -0
- package/api/analyticsManagement.agravity.ts +262 -0
- package/api/api.ts +12 -3
- package/api/assetManagement.agravity.ts +7 -2
- package/api/assetVersioning.agravity.ts +5 -0
- package/api/{wordpressManagement.agravity.ts → assistantOperations.agravity.ts} +50 -116
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +98 -4
- package/api/collectionTypeItemRefsManagement.agravity.ts +693 -0
- package/api/collectionTypeManagement.agravity.ts +24 -187
- package/api/generalManagement.agravity.ts +65 -0
- package/api/itemGroupsManagement.agravity.ts +510 -0
- package/api/portalManagement.agravity.ts +94 -0
- package/api/searchManagement.agravity.ts +15 -15
- package/api/secureUpload.agravity.ts +1 -1
- package/api/stockImport.agravity.ts +1 -1
- package/api/translationManagement.agravity.ts +6 -6
- package/api/workspaceManagement.agravity.ts +10 -0
- package/model/asset.agravity.ts +1 -0
- package/model/assistantChatMessage.agravity.ts +14 -0
- package/model/assistantChatRequest.agravity.ts +15 -0
- package/model/assistantChatResponse.agravity.ts +14 -0
- package/model/assistantFeedbackRequest.agravity.ts +15 -0
- package/model/collTypeItem.agravity.ts +4 -1
- package/model/collTypeItemBlueprint.agravity.ts +2 -0
- package/model/collTypeItemRef.agravity.ts +15 -0
- package/model/collection.agravity.ts +1 -0
- package/model/collectionType.agravity.ts +2 -0
- package/model/exportFieldDefinition.agravity.ts +1 -1
- package/model/itemGroup.agravity.ts +25 -0
- package/model/models.ts +15 -0
- package/model/reportingAnalyticsCatalogResponse.agravity.ts +14 -0
- package/model/reportingAnalyticsMetricCatalogItem.agravity.ts +19 -0
- package/model/reportingAnalyticsMetricRequest.agravity.ts +15 -0
- package/model/reportingAnalyticsMetricResult.agravity.ts +21 -0
- package/model/reportingAnalyticsRequest.agravity.ts +17 -0
- package/model/reportingAnalyticsResponse.agravity.ts +17 -0
- package/model/reportingNamedUsage.agravity.ts +15 -0
- package/model/reportingSystemSnapshot.agravity.ts +17 -0
- package/model/reportingTimeSeriesPoint.agravity.ts +14 -0
- package/model/searchAdminIndexerStatus.agravity.ts +1 -0
- package/model/secureUploadEntity.agravity.ts +9 -0
- package/model/versionEntity.agravity.ts +1 -0
- package/model/versionedAsset.agravity.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -4,6 +4,7 @@ README.md
|
|
|
4
4
|
api.base.service.ts
|
|
5
5
|
api.module.ts
|
|
6
6
|
api/aIOperations.agravity.ts
|
|
7
|
+
api/analyticsManagement.agravity.ts
|
|
7
8
|
api/api.ts
|
|
8
9
|
api/assetIconRuleManagement.agravity.ts
|
|
9
10
|
api/assetManagement.agravity.ts
|
|
@@ -12,10 +13,12 @@ api/assetPublishing.agravity.ts
|
|
|
12
13
|
api/assetRelationManagement.agravity.ts
|
|
13
14
|
api/assetRelationTypeManagement.agravity.ts
|
|
14
15
|
api/assetVersioning.agravity.ts
|
|
16
|
+
api/assistantOperations.agravity.ts
|
|
15
17
|
api/authenticationManagement.agravity.ts
|
|
16
18
|
api/collectionManagement.agravity.ts
|
|
17
19
|
api/collectionShareManagement.agravity.ts
|
|
18
20
|
api/collectionTypeItemBlueprintManagement.agravity.ts
|
|
21
|
+
api/collectionTypeItemRefsManagement.agravity.ts
|
|
19
22
|
api/collectionTypeManagement.agravity.ts
|
|
20
23
|
api/commentsManagement.agravity.ts
|
|
21
24
|
api/configurationManagement.agravity.ts
|
|
@@ -28,6 +31,7 @@ api/generalManagement.agravity.ts
|
|
|
28
31
|
api/helperTools.agravity.ts
|
|
29
32
|
api/historyEntryManagement.agravity.ts
|
|
30
33
|
api/iccProfileManagement.agravity.ts
|
|
34
|
+
api/itemGroupsManagement.agravity.ts
|
|
31
35
|
api/listBlobs.agravity.ts
|
|
32
36
|
api/listQueues.agravity.ts
|
|
33
37
|
api/listTables.agravity.ts
|
|
@@ -49,7 +53,6 @@ api/structureImport.agravity.ts
|
|
|
49
53
|
api/translationManagement.agravity.ts
|
|
50
54
|
api/webAppData.agravity.ts
|
|
51
55
|
api/widgetLayoutManagement.agravity.ts
|
|
52
|
-
api/wordpressManagement.agravity.ts
|
|
53
56
|
api/workspaceManagement.agravity.ts
|
|
54
57
|
configuration.ts
|
|
55
58
|
encoder.ts
|
|
@@ -88,12 +91,17 @@ model/assetRelation.agravity.ts
|
|
|
88
91
|
model/assetRelationType.agravity.ts
|
|
89
92
|
model/assetTextContent.agravity.ts
|
|
90
93
|
model/assetsOperationBody.agravity.ts
|
|
94
|
+
model/assistantChatMessage.agravity.ts
|
|
95
|
+
model/assistantChatRequest.agravity.ts
|
|
96
|
+
model/assistantChatResponse.agravity.ts
|
|
97
|
+
model/assistantFeedbackRequest.agravity.ts
|
|
91
98
|
model/availableExportFields.agravity.ts
|
|
92
99
|
model/azSearchOptions.agravity.ts
|
|
93
100
|
model/azureIdentity.agravity.ts
|
|
94
101
|
model/blobInfoObj.agravity.ts
|
|
95
102
|
model/collTypeItem.agravity.ts
|
|
96
103
|
model/collTypeItemBlueprint.agravity.ts
|
|
104
|
+
model/collTypeItemRef.agravity.ts
|
|
97
105
|
model/collection.agravity.ts
|
|
98
106
|
model/collectionType.agravity.ts
|
|
99
107
|
model/collectionUDL.agravity.ts
|
|
@@ -126,6 +134,7 @@ model/httpAssetExportInputParameter.agravity.ts
|
|
|
126
134
|
model/httpRequestAvailableExportFieldsInputParameter.agravity.ts
|
|
127
135
|
model/infoEntitySkillEnhanced.agravity.ts
|
|
128
136
|
model/instancesItem.agravity.ts
|
|
137
|
+
model/itemGroup.agravity.ts
|
|
129
138
|
model/metadata.agravity.ts
|
|
130
139
|
model/models.ts
|
|
131
140
|
model/moveCollectionBody.agravity.ts
|
|
@@ -146,6 +155,15 @@ model/publishedAsset.agravity.ts
|
|
|
146
155
|
model/quickShare.agravity.ts
|
|
147
156
|
model/quickShareFull.agravity.ts
|
|
148
157
|
model/relatedAsset.agravity.ts
|
|
158
|
+
model/reportingAnalyticsCatalogResponse.agravity.ts
|
|
159
|
+
model/reportingAnalyticsMetricCatalogItem.agravity.ts
|
|
160
|
+
model/reportingAnalyticsMetricRequest.agravity.ts
|
|
161
|
+
model/reportingAnalyticsMetricResult.agravity.ts
|
|
162
|
+
model/reportingAnalyticsRequest.agravity.ts
|
|
163
|
+
model/reportingAnalyticsResponse.agravity.ts
|
|
164
|
+
model/reportingNamedUsage.agravity.ts
|
|
165
|
+
model/reportingSystemSnapshot.agravity.ts
|
|
166
|
+
model/reportingTimeSeriesPoint.agravity.ts
|
|
149
167
|
model/reverseAssetSearchFieldSettings.agravity.ts
|
|
150
168
|
model/sasToken.agravity.ts
|
|
151
169
|
model/savedSearch.agravity.ts
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @agravity/private@
|
|
1
|
+
# @agravity/private@12.0.0
|
|
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 & 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 & 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 & Discovery</strong> - Full-text search with advanced filtering and AI-enhanced similarity search</p> <p><strong>User & 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 & 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:
|
|
5
|
+
The version of the OpenAPI document: 12.0.0
|
|
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@
|
|
27
|
+
npm install @agravity/private@12.0.0 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -74,6 +74,7 @@ export interface HttpReverseAssetSearchRequestParams {
|
|
|
74
74
|
file?: Blob;
|
|
75
75
|
filename?: string;
|
|
76
76
|
previewof?: string;
|
|
77
|
+
id?: string;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
export interface HttpSimilarAssetsRequestParams {
|
|
@@ -751,6 +752,7 @@ export class AIOperationsService extends BaseService {
|
|
|
751
752
|
const file = requestParameters?.file;
|
|
752
753
|
const filename = requestParameters?.filename;
|
|
753
754
|
const previewof = requestParameters?.previewof;
|
|
755
|
+
const id = requestParameters?.id;
|
|
754
756
|
|
|
755
757
|
let localVarHeaders = this.defaultHeaders;
|
|
756
758
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -801,6 +803,9 @@ export class AIOperationsService extends BaseService {
|
|
|
801
803
|
if (previewof !== undefined) {
|
|
802
804
|
localVarFormParams = (localVarFormParams.append('previewof', <any>previewof) as any) || localVarFormParams;
|
|
803
805
|
}
|
|
806
|
+
if (id !== undefined) {
|
|
807
|
+
localVarFormParams = (localVarFormParams.append('id', <any>id) as any) || localVarFormParams;
|
|
808
|
+
}
|
|
804
809
|
|
|
805
810
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
806
811
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -0,0 +1,262 @@
|
|
|
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
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
|
+
|
|
12
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
14
|
+
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
|
+
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { ReportingAnalyticsCatalogResponse } from '../model/reportingAnalyticsCatalogResponse.agravity';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { ReportingAnalyticsRequest } from '../model/reportingAnalyticsRequest.agravity';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ReportingAnalyticsResponse } from '../model/reportingAnalyticsResponse.agravity';
|
|
27
|
+
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
30
|
+
import { AgravityConfiguration } from '../configuration';
|
|
31
|
+
import { BaseService } from '../api.base.service';
|
|
32
|
+
|
|
33
|
+
export interface HttpReportingAnalyticsExecuteRequestParams {
|
|
34
|
+
/** The reporting analytics execution request. */
|
|
35
|
+
reportingAnalyticsRequest: ReportingAnalyticsRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@Injectable({
|
|
39
|
+
providedIn: 'root'
|
|
40
|
+
})
|
|
41
|
+
export class AnalyticsManagementService extends BaseService {
|
|
42
|
+
constructor(
|
|
43
|
+
protected httpClient: HttpClient,
|
|
44
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
45
|
+
@Optional() configuration?: AgravityConfiguration
|
|
46
|
+
) {
|
|
47
|
+
super(basePath, configuration);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Creates deterministic reporting events for analytics integration tests.
|
|
52
|
+
* @endpoint post /analytics/reporting/test-fixture
|
|
53
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
54
|
+
* @param reportProgress flag to report request and response progress.
|
|
55
|
+
* @param options additional options
|
|
56
|
+
*/
|
|
57
|
+
public httpReportingAnalyticsCreateTestFixture(
|
|
58
|
+
observe?: 'body',
|
|
59
|
+
reportProgress?: boolean,
|
|
60
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
61
|
+
): Observable<AgravityInfoResponse>;
|
|
62
|
+
public httpReportingAnalyticsCreateTestFixture(
|
|
63
|
+
observe?: 'response',
|
|
64
|
+
reportProgress?: boolean,
|
|
65
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
66
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
67
|
+
public httpReportingAnalyticsCreateTestFixture(
|
|
68
|
+
observe?: 'events',
|
|
69
|
+
reportProgress?: boolean,
|
|
70
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
71
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
72
|
+
public httpReportingAnalyticsCreateTestFixture(
|
|
73
|
+
observe: any = 'body',
|
|
74
|
+
reportProgress: boolean = false,
|
|
75
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
76
|
+
): Observable<any> {
|
|
77
|
+
let localVarHeaders = this.defaultHeaders;
|
|
78
|
+
|
|
79
|
+
// authentication (msal_auth) required
|
|
80
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
81
|
+
|
|
82
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
83
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
84
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
88
|
+
|
|
89
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
90
|
+
|
|
91
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
92
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
93
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
94
|
+
responseType_ = 'text';
|
|
95
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
96
|
+
responseType_ = 'json';
|
|
97
|
+
} else {
|
|
98
|
+
responseType_ = 'blob';
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
let localVarPath = `/analytics/reporting/test-fixture`;
|
|
103
|
+
const { basePath, withCredentials } = this.configuration;
|
|
104
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${basePath}${localVarPath}`, {
|
|
105
|
+
context: localVarHttpContext,
|
|
106
|
+
responseType: <any>responseType_,
|
|
107
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
108
|
+
headers: localVarHeaders,
|
|
109
|
+
observe: observe,
|
|
110
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
111
|
+
reportProgress: reportProgress
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Executes reporting analytics metrics.
|
|
117
|
+
* @endpoint post /analytics/reporting
|
|
118
|
+
* @param requestParameters
|
|
119
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
120
|
+
* @param reportProgress flag to report request and response progress.
|
|
121
|
+
* @param options additional options
|
|
122
|
+
*/
|
|
123
|
+
public httpReportingAnalyticsExecute(
|
|
124
|
+
requestParameters: HttpReportingAnalyticsExecuteRequestParams,
|
|
125
|
+
observe?: 'body',
|
|
126
|
+
reportProgress?: boolean,
|
|
127
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
128
|
+
): Observable<ReportingAnalyticsResponse>;
|
|
129
|
+
public httpReportingAnalyticsExecute(
|
|
130
|
+
requestParameters: HttpReportingAnalyticsExecuteRequestParams,
|
|
131
|
+
observe?: 'response',
|
|
132
|
+
reportProgress?: boolean,
|
|
133
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
134
|
+
): Observable<HttpResponse<ReportingAnalyticsResponse>>;
|
|
135
|
+
public httpReportingAnalyticsExecute(
|
|
136
|
+
requestParameters: HttpReportingAnalyticsExecuteRequestParams,
|
|
137
|
+
observe?: 'events',
|
|
138
|
+
reportProgress?: boolean,
|
|
139
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
140
|
+
): Observable<HttpEvent<ReportingAnalyticsResponse>>;
|
|
141
|
+
public httpReportingAnalyticsExecute(
|
|
142
|
+
requestParameters: HttpReportingAnalyticsExecuteRequestParams,
|
|
143
|
+
observe: any = 'body',
|
|
144
|
+
reportProgress: boolean = false,
|
|
145
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
146
|
+
): Observable<any> {
|
|
147
|
+
const reportingAnalyticsRequest = requestParameters?.reportingAnalyticsRequest;
|
|
148
|
+
if (reportingAnalyticsRequest === null || reportingAnalyticsRequest === undefined) {
|
|
149
|
+
throw new Error('Required parameter reportingAnalyticsRequest was null or undefined when calling httpReportingAnalyticsExecute.');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
let localVarHeaders = this.defaultHeaders;
|
|
153
|
+
|
|
154
|
+
// authentication (msal_auth) required
|
|
155
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
156
|
+
|
|
157
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
158
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
159
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
163
|
+
|
|
164
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
165
|
+
|
|
166
|
+
// to determine the Content-Type header
|
|
167
|
+
const consumes: string[] = ['application/json'];
|
|
168
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
169
|
+
if (httpContentTypeSelected !== undefined) {
|
|
170
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
174
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
175
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
176
|
+
responseType_ = 'text';
|
|
177
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
178
|
+
responseType_ = 'json';
|
|
179
|
+
} else {
|
|
180
|
+
responseType_ = 'blob';
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
let localVarPath = `/analytics/reporting`;
|
|
185
|
+
const { basePath, withCredentials } = this.configuration;
|
|
186
|
+
return this.httpClient.request<ReportingAnalyticsResponse>('post', `${basePath}${localVarPath}`, {
|
|
187
|
+
context: localVarHttpContext,
|
|
188
|
+
body: reportingAnalyticsRequest,
|
|
189
|
+
responseType: <any>responseType_,
|
|
190
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
191
|
+
headers: localVarHeaders,
|
|
192
|
+
observe: observe,
|
|
193
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
194
|
+
reportProgress: reportProgress
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Returns supported reporting analytics metrics.
|
|
200
|
+
* @endpoint get /analytics/reporting/metrics
|
|
201
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
202
|
+
* @param reportProgress flag to report request and response progress.
|
|
203
|
+
* @param options additional options
|
|
204
|
+
*/
|
|
205
|
+
public httpReportingAnalyticsGetMetrics(
|
|
206
|
+
observe?: 'body',
|
|
207
|
+
reportProgress?: boolean,
|
|
208
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
209
|
+
): Observable<ReportingAnalyticsCatalogResponse>;
|
|
210
|
+
public httpReportingAnalyticsGetMetrics(
|
|
211
|
+
observe?: 'response',
|
|
212
|
+
reportProgress?: boolean,
|
|
213
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
214
|
+
): Observable<HttpResponse<ReportingAnalyticsCatalogResponse>>;
|
|
215
|
+
public httpReportingAnalyticsGetMetrics(
|
|
216
|
+
observe?: 'events',
|
|
217
|
+
reportProgress?: boolean,
|
|
218
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
219
|
+
): Observable<HttpEvent<ReportingAnalyticsCatalogResponse>>;
|
|
220
|
+
public httpReportingAnalyticsGetMetrics(
|
|
221
|
+
observe: any = 'body',
|
|
222
|
+
reportProgress: boolean = false,
|
|
223
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
224
|
+
): Observable<any> {
|
|
225
|
+
let localVarHeaders = this.defaultHeaders;
|
|
226
|
+
|
|
227
|
+
// authentication (msal_auth) required
|
|
228
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
229
|
+
|
|
230
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
231
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
232
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
236
|
+
|
|
237
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
238
|
+
|
|
239
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
240
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
241
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
242
|
+
responseType_ = 'text';
|
|
243
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
244
|
+
responseType_ = 'json';
|
|
245
|
+
} else {
|
|
246
|
+
responseType_ = 'blob';
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
let localVarPath = `/analytics/reporting/metrics`;
|
|
251
|
+
const { basePath, withCredentials } = this.configuration;
|
|
252
|
+
return this.httpClient.request<ReportingAnalyticsCatalogResponse>('get', `${basePath}${localVarPath}`, {
|
|
253
|
+
context: localVarHttpContext,
|
|
254
|
+
responseType: <any>responseType_,
|
|
255
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
256
|
+
headers: localVarHeaders,
|
|
257
|
+
observe: observe,
|
|
258
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
259
|
+
reportProgress: reportProgress
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
package/api/api.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './aIOperations.agravity';
|
|
2
2
|
import { AIOperationsService } from './aIOperations.agravity';
|
|
3
|
+
export * from './analyticsManagement.agravity';
|
|
4
|
+
import { AnalyticsManagementService } from './analyticsManagement.agravity';
|
|
3
5
|
export * from './assetIconRuleManagement.agravity';
|
|
4
6
|
import { AssetIconRuleManagementService } from './assetIconRuleManagement.agravity';
|
|
5
7
|
export * from './assetManagement.agravity';
|
|
@@ -14,6 +16,8 @@ export * from './assetRelationTypeManagement.agravity';
|
|
|
14
16
|
import { AssetRelationTypeManagementService } from './assetRelationTypeManagement.agravity';
|
|
15
17
|
export * from './assetVersioning.agravity';
|
|
16
18
|
import { AssetVersioningService } from './assetVersioning.agravity';
|
|
19
|
+
export * from './assistantOperations.agravity';
|
|
20
|
+
import { AssistantOperationsService } from './assistantOperations.agravity';
|
|
17
21
|
export * from './authenticationManagement.agravity';
|
|
18
22
|
import { AuthenticationManagementService } from './authenticationManagement.agravity';
|
|
19
23
|
export * from './collectionManagement.agravity';
|
|
@@ -22,6 +26,8 @@ export * from './collectionShareManagement.agravity';
|
|
|
22
26
|
import { CollectionShareManagementService } from './collectionShareManagement.agravity';
|
|
23
27
|
export * from './collectionTypeItemBlueprintManagement.agravity';
|
|
24
28
|
import { CollectionTypeItemBlueprintManagementService } from './collectionTypeItemBlueprintManagement.agravity';
|
|
29
|
+
export * from './collectionTypeItemRefsManagement.agravity';
|
|
30
|
+
import { CollectionTypeItemRefsManagementService } from './collectionTypeItemRefsManagement.agravity';
|
|
25
31
|
export * from './collectionTypeManagement.agravity';
|
|
26
32
|
import { CollectionTypeManagementService } from './collectionTypeManagement.agravity';
|
|
27
33
|
export * from './commentsManagement.agravity';
|
|
@@ -46,6 +52,8 @@ export * from './historyEntryManagement.agravity';
|
|
|
46
52
|
import { HistoryEntryManagementService } from './historyEntryManagement.agravity';
|
|
47
53
|
export * from './iccProfileManagement.agravity';
|
|
48
54
|
import { IccProfileManagementService } from './iccProfileManagement.agravity';
|
|
55
|
+
export * from './itemGroupsManagement.agravity';
|
|
56
|
+
import { ItemGroupsManagementService } from './itemGroupsManagement.agravity';
|
|
49
57
|
export * from './listBlobs.agravity';
|
|
50
58
|
import { ListBlobsService } from './listBlobs.agravity';
|
|
51
59
|
export * from './listQueues.agravity';
|
|
@@ -88,12 +96,11 @@ export * from './webAppData.agravity';
|
|
|
88
96
|
import { WebAppDataService } from './webAppData.agravity';
|
|
89
97
|
export * from './widgetLayoutManagement.agravity';
|
|
90
98
|
import { WidgetLayoutManagementService } from './widgetLayoutManagement.agravity';
|
|
91
|
-
export * from './wordpressManagement.agravity';
|
|
92
|
-
import { WordpressManagementService } from './wordpressManagement.agravity';
|
|
93
99
|
export * from './workspaceManagement.agravity';
|
|
94
100
|
import { WorkspaceManagementService } from './workspaceManagement.agravity';
|
|
95
101
|
export const APIS = [
|
|
96
102
|
AIOperationsService,
|
|
103
|
+
AnalyticsManagementService,
|
|
97
104
|
AssetIconRuleManagementService,
|
|
98
105
|
AssetManagementService,
|
|
99
106
|
AssetOperationsService,
|
|
@@ -101,10 +108,12 @@ export const APIS = [
|
|
|
101
108
|
AssetRelationManagementService,
|
|
102
109
|
AssetRelationTypeManagementService,
|
|
103
110
|
AssetVersioningService,
|
|
111
|
+
AssistantOperationsService,
|
|
104
112
|
AuthenticationManagementService,
|
|
105
113
|
CollectionManagementService,
|
|
106
114
|
CollectionShareManagementService,
|
|
107
115
|
CollectionTypeItemBlueprintManagementService,
|
|
116
|
+
CollectionTypeItemRefsManagementService,
|
|
108
117
|
CollectionTypeManagementService,
|
|
109
118
|
CommentsManagementService,
|
|
110
119
|
ConfigurationManagementService,
|
|
@@ -117,6 +126,7 @@ export const APIS = [
|
|
|
117
126
|
HelperToolsService,
|
|
118
127
|
HistoryEntryManagementService,
|
|
119
128
|
IccProfileManagementService,
|
|
129
|
+
ItemGroupsManagementService,
|
|
120
130
|
ListBlobsService,
|
|
121
131
|
ListQueuesService,
|
|
122
132
|
ListTablesService,
|
|
@@ -138,6 +148,5 @@ export const APIS = [
|
|
|
138
148
|
TranslationManagementService,
|
|
139
149
|
WebAppDataService,
|
|
140
150
|
WidgetLayoutManagementService,
|
|
141
|
-
WordpressManagementService,
|
|
142
151
|
WorkspaceManagementService
|
|
143
152
|
];
|
|
@@ -38,6 +38,7 @@ export interface HttpAssetUploadFileRequestParams {
|
|
|
38
38
|
file?: Blob;
|
|
39
39
|
filename?: string;
|
|
40
40
|
previewof?: string;
|
|
41
|
+
id?: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export interface HttpAssetsBulkDeleteUpdateRequestParams {
|
|
@@ -62,7 +63,7 @@ export interface HttpAssetsBulkPutUpdateRequestParams {
|
|
|
62
63
|
export interface HttpAssetsCreateRequestParams {
|
|
63
64
|
/** The ID of the collection where this assets should be assigned. */
|
|
64
65
|
collectionid: string;
|
|
65
|
-
/** This endpoint creates an unique asset ID and adds the information to the database. */
|
|
66
|
+
/** This endpoint creates an unique asset ID and adds the information to the database. An optional \"id\" sets a custom asset id; the id of a deleted asset is reused: the deleted asset is purged and can no longer be restored. */
|
|
66
67
|
asset: Asset;
|
|
67
68
|
/** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
|
|
68
69
|
translations?: boolean;
|
|
@@ -146,7 +147,7 @@ export class AssetManagementService extends BaseService {
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
/**
|
|
149
|
-
* This endpoint allows to upload one asset which is put onto the storage (INBOX). Collection ID is mandatory on asset upload. Previewof can be used alone.
|
|
150
|
+
* This endpoint allows to upload one asset which is put onto the storage (INBOX). Collection ID is mandatory on asset upload. Previewof can be used alone. The optional field \"id\" sets a custom asset id (\"a\" followed by 24 letters or digits); it must not belong to an existing asset and can not be combined with \"previewof\". The id of a deleted asset is reused: the deleted asset is purged and can no longer be restored.
|
|
150
151
|
* @endpoint post /assetsupload
|
|
151
152
|
* @param requestParameters
|
|
152
153
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -183,6 +184,7 @@ export class AssetManagementService extends BaseService {
|
|
|
183
184
|
const file = requestParameters?.file;
|
|
184
185
|
const filename = requestParameters?.filename;
|
|
185
186
|
const previewof = requestParameters?.previewof;
|
|
187
|
+
const id = requestParameters?.id;
|
|
186
188
|
|
|
187
189
|
let localVarHeaders = this.defaultHeaders;
|
|
188
190
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -230,6 +232,9 @@ export class AssetManagementService extends BaseService {
|
|
|
230
232
|
if (previewof !== undefined) {
|
|
231
233
|
localVarFormParams = (localVarFormParams.append('previewof', <any>previewof) as any) || localVarFormParams;
|
|
232
234
|
}
|
|
235
|
+
if (id !== undefined) {
|
|
236
|
+
localVarFormParams = (localVarFormParams.append('id', <any>id) as any) || localVarFormParams;
|
|
237
|
+
}
|
|
233
238
|
|
|
234
239
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
235
240
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -43,6 +43,7 @@ export interface HttpAssetCreateUploadVersionRequestParams {
|
|
|
43
43
|
file?: Blob;
|
|
44
44
|
filename?: string;
|
|
45
45
|
previewof?: string;
|
|
46
|
+
id2?: string;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
export interface HttpAssetRestoreLastVersionRequestParams {
|
|
@@ -234,6 +235,7 @@ export class AssetVersioningService extends BaseService {
|
|
|
234
235
|
const file = requestParameters?.file;
|
|
235
236
|
const filename = requestParameters?.filename;
|
|
236
237
|
const previewof = requestParameters?.previewof;
|
|
238
|
+
const id2 = requestParameters?.id2;
|
|
237
239
|
|
|
238
240
|
let localVarHeaders = this.defaultHeaders;
|
|
239
241
|
|
|
@@ -281,6 +283,9 @@ export class AssetVersioningService extends BaseService {
|
|
|
281
283
|
if (previewof !== undefined) {
|
|
282
284
|
localVarFormParams = (localVarFormParams.append('previewof', <any>previewof) as any) || localVarFormParams;
|
|
283
285
|
}
|
|
286
|
+
if (id2 !== undefined) {
|
|
287
|
+
localVarFormParams = (localVarFormParams.append('id', <any>id2) as any) || localVarFormParams;
|
|
288
|
+
}
|
|
284
289
|
|
|
285
290
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
286
291
|
if (localVarHttpHeaderAcceptSelected) {
|