@agravity/public 8.0.0 → 8.1.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 +1 -0
- package/README.md +3 -3
- package/api/publicAssetManagement.pub.agravity.ts +4 -4
- package/api/publicAssetOperations.pub.agravity.ts +1 -1
- package/api/publicAssetVersioning.pub.agravity.ts +4 -4
- package/api/publicDownloadFormatManagement.pub.agravity.ts +1 -1
- package/api/publicSharingManagement.pub.agravity.ts +6 -0
- package/model/assetIconRule.pub.agravity.ts +32 -0
- package/model/models.ts +1 -0
- package/model/portal.pub.agravity.ts +2 -0
- package/model/portalConfiguration.pub.agravity.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -38,6 +38,7 @@ model/artificialIntelligenceGroup.pub.agravity.ts
|
|
|
38
38
|
model/asset.pub.agravity.ts
|
|
39
39
|
model/assetAvailability.pub.agravity.ts
|
|
40
40
|
model/assetBlob.pub.agravity.ts
|
|
41
|
+
model/assetIconRule.pub.agravity.ts
|
|
41
42
|
model/assetIdFormat.pub.agravity.ts
|
|
42
43
|
model/assetPageResult.pub.agravity.ts
|
|
43
44
|
model/azSearchOptions.pub.agravity.ts
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## @agravity/public@8.
|
|
1
|
+
## @agravity/public@8.1.1
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.
|
|
3
|
+
The version of the OpenAPI document: 8.1.1
|
|
4
4
|
|
|
5
5
|
### Building
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
21
|
_published:_
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
npm install @agravity/public@8.
|
|
24
|
+
npm install @agravity/public@8.1.1 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -30,7 +30,7 @@ export interface HttpAssetUploadFileRequestParams {
|
|
|
30
30
|
/** The requested language of the response. If not matching it falls back to default language. */
|
|
31
31
|
acceptLanguage?: string;
|
|
32
32
|
name?: string;
|
|
33
|
-
|
|
33
|
+
collectionid?: string;
|
|
34
34
|
file?: Blob;
|
|
35
35
|
filename?: string;
|
|
36
36
|
previewof?: string;
|
|
@@ -207,7 +207,7 @@ export class PublicAssetManagementService {
|
|
|
207
207
|
): Observable<any> {
|
|
208
208
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
209
209
|
const name = requestParameters?.name;
|
|
210
|
-
const
|
|
210
|
+
const collectionid = requestParameters?.collectionid;
|
|
211
211
|
const file = requestParameters?.file;
|
|
212
212
|
const filename = requestParameters?.filename;
|
|
213
213
|
const previewof = requestParameters?.previewof;
|
|
@@ -264,8 +264,8 @@ export class PublicAssetManagementService {
|
|
|
264
264
|
if (name !== undefined) {
|
|
265
265
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
266
266
|
}
|
|
267
|
-
if (
|
|
268
|
-
localVarFormParams = (localVarFormParams.append('
|
|
267
|
+
if (collectionid !== undefined) {
|
|
268
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
269
269
|
}
|
|
270
270
|
if (file !== undefined) {
|
|
271
271
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -885,7 +885,7 @@ export class PublicAssetOperationsService {
|
|
|
885
885
|
|
|
886
886
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
887
887
|
if (shareId !== undefined && shareId !== null) {
|
|
888
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, '
|
|
888
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, 'share_id');
|
|
889
889
|
}
|
|
890
890
|
if (format !== undefined && format !== null) {
|
|
891
891
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>format, 'format');
|
|
@@ -32,7 +32,7 @@ export interface HttpAssetCreateUploadVersionRequestParams {
|
|
|
32
32
|
/** The ID of the asset. */
|
|
33
33
|
id: string;
|
|
34
34
|
name?: string;
|
|
35
|
-
|
|
35
|
+
collectionid?: string;
|
|
36
36
|
file?: Blob;
|
|
37
37
|
filename?: string;
|
|
38
38
|
previewof?: string;
|
|
@@ -197,7 +197,7 @@ export class PublicAssetVersioningService {
|
|
|
197
197
|
throw new Error('Required parameter id was null or undefined when calling httpAssetCreateUploadVersion.');
|
|
198
198
|
}
|
|
199
199
|
const name = requestParameters?.name;
|
|
200
|
-
const
|
|
200
|
+
const collectionid = requestParameters?.collectionid;
|
|
201
201
|
const file = requestParameters?.file;
|
|
202
202
|
const filename = requestParameters?.filename;
|
|
203
203
|
const previewof = requestParameters?.previewof;
|
|
@@ -251,8 +251,8 @@ export class PublicAssetVersioningService {
|
|
|
251
251
|
if (name !== undefined) {
|
|
252
252
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
253
253
|
}
|
|
254
|
-
if (
|
|
255
|
-
localVarFormParams = (localVarFormParams.append('
|
|
254
|
+
if (collectionid !== undefined) {
|
|
255
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
256
256
|
}
|
|
257
257
|
if (file !== undefined) {
|
|
258
258
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -228,7 +228,7 @@ export class PublicDownloadFormatManagementService {
|
|
|
228
228
|
|
|
229
229
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
230
230
|
if (shareId !== undefined && shareId !== null) {
|
|
231
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, '
|
|
231
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, 'share_id');
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -50,6 +50,8 @@ export interface HttpSharedCollectionsGetByIdRequestParams {
|
|
|
50
50
|
limit?: number;
|
|
51
51
|
/** How the return assets are sorted. Default is property: created_date (newest first). */
|
|
52
52
|
orderby?: string;
|
|
53
|
+
/** The requested language of the response. If not matching it falls back to default language. */
|
|
54
|
+
acceptLanguage?: string;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
export interface HttpSharedCollectionsGetStatusZipByIdRequestParams {
|
|
@@ -269,6 +271,7 @@ export class PublicSharingManagementService {
|
|
|
269
271
|
const continuationToken = requestParameters?.continuationToken;
|
|
270
272
|
const limit = requestParameters?.limit;
|
|
271
273
|
const orderby = requestParameters?.orderby;
|
|
274
|
+
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
272
275
|
|
|
273
276
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
274
277
|
if (continuationToken !== undefined && continuationToken !== null) {
|
|
@@ -285,6 +288,9 @@ export class PublicSharingManagementService {
|
|
|
285
288
|
if (ayPassword !== undefined && ayPassword !== null) {
|
|
286
289
|
localVarHeaders = localVarHeaders.set('ay-password', String(ayPassword));
|
|
287
290
|
}
|
|
291
|
+
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
292
|
+
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
293
|
+
}
|
|
288
294
|
|
|
289
295
|
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
290
296
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
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 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface AssetIconRule {
|
|
13
|
+
id?: string | null;
|
|
14
|
+
entity_type?: string | null;
|
|
15
|
+
type?: string | null;
|
|
16
|
+
path?: string | null;
|
|
17
|
+
color?: string | null;
|
|
18
|
+
value?: string | null;
|
|
19
|
+
icon?: string | null;
|
|
20
|
+
operator?: string | null;
|
|
21
|
+
translations?: { [key: string]: { [key: string]: object } } | null;
|
|
22
|
+
name?: string | null;
|
|
23
|
+
description?: string | null;
|
|
24
|
+
add_properties?: { [key: string]: any } | null;
|
|
25
|
+
status?: string | null;
|
|
26
|
+
created_date?: string | null;
|
|
27
|
+
created_by?: string | null;
|
|
28
|
+
modified_date?: string | null;
|
|
29
|
+
modified_by?: string | null;
|
|
30
|
+
pk?: string | null;
|
|
31
|
+
_etag?: string | null;
|
|
32
|
+
}
|
package/model/models.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './artificialIntelligenceGroup.pub.agravity';
|
|
|
6
6
|
export * from './asset.pub.agravity';
|
|
7
7
|
export * from './assetAvailability.pub.agravity';
|
|
8
8
|
export * from './assetBlob.pub.agravity';
|
|
9
|
+
export * from './assetIconRule.pub.agravity';
|
|
9
10
|
export * from './assetIdFormat.pub.agravity';
|
|
10
11
|
export * from './assetPageResult.pub.agravity';
|
|
11
12
|
export * from './azSearchOptions.pub.agravity';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import { SharedAllowedFormat } from './sharedAllowedFormat.pub.agravity';
|
|
12
|
+
import { AssetIconRule } from './assetIconRule.pub.agravity';
|
|
12
13
|
import { PortalLinks } from './portalLinks.pub.agravity';
|
|
13
14
|
import { PortalTheme } from './portalTheme.pub.agravity';
|
|
14
15
|
|
|
@@ -21,6 +22,7 @@ export interface Portal {
|
|
|
21
22
|
links?: PortalLinks | null;
|
|
22
23
|
metadata?: Array<string> | null;
|
|
23
24
|
facettes?: Array<string> | null;
|
|
25
|
+
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
24
26
|
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
25
27
|
limit_ids?: Array<string> | null;
|
|
26
28
|
name?: string | null;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import { DownloadFormat } from './downloadFormat.pub.agravity';
|
|
12
12
|
import { CollTypeItem } from './collTypeItem.pub.agravity';
|
|
13
13
|
import { SharedAllowedFormat } from './sharedAllowedFormat.pub.agravity';
|
|
14
|
+
import { AssetIconRule } from './assetIconRule.pub.agravity';
|
|
14
15
|
import { FrontendAppConfig } from './frontendAppConfig.pub.agravity';
|
|
15
16
|
import { CollectionUDL } from './collectionUDL.pub.agravity';
|
|
16
17
|
import { PortalLinks } from './portalLinks.pub.agravity';
|
|
@@ -31,6 +32,7 @@ export interface PortalConfiguration {
|
|
|
31
32
|
links?: PortalLinks | null;
|
|
32
33
|
metadata?: Array<string> | null;
|
|
33
34
|
facettes?: Array<string> | null;
|
|
35
|
+
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
34
36
|
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
35
37
|
limit_ids?: Array<string> | null;
|
|
36
38
|
name?: string | null;
|
package/package.json
CHANGED