@agravity/public 8.0.0 → 8.1.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 +1 -0
- package/README.md +3 -3
- 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.0
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.
|
|
3
|
+
The version of the OpenAPI document: 8.1.0
|
|
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.0 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -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