@agravity/public 5.2.0 → 5.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.
- package/.openapi-generator/FILES +4 -1
- package/README.md +10 -10
- package/api/api.ts +65 -43
- package/api/publicAssetManagement.pub.agravity.ts +615 -504
- package/api/publicAssetOperations.pub.agravity.ts +740 -633
- package/api/publicAssetPublishing.pub.agravity.ts +277 -263
- package/api/publicAssetVersioning.pub.agravity.ts +613 -552
- package/api/publicAuthenticationManagement.pub.agravity.ts +125 -135
- package/api/publicCollectionManagement.pub.agravity.ts +680 -562
- package/api/publicCollectionSecureUpload.pub.agravity.ts +243 -229
- package/api/publicCollectionTypeManagement.pub.agravity.ts +293 -266
- package/api/publicConfigurationManagement.pub.agravity.ts +118 -128
- package/api/publicDownloadFormatManagement.pub.agravity.ts +125 -135
- package/api/publicGeneralManagement.pub.agravity.ts +206 -221
- package/api/publicHelperTools.pub.agravity.ts +269 -288
- package/api/publicPublishing.pub.agravity.ts +160 -148
- package/api/publicSavedSearch.pub.agravity.ts +160 -148
- package/api/publicSearchManagement.pub.agravity.ts +237 -197
- package/api/publicSharingManagement.pub.agravity.ts +259 -215
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +125 -136
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +325 -203
- package/api/publicTranslationManagement.pub.agravity.ts +322 -267
- package/api/publicWebAppData.pub.agravity.ts +179 -193
- package/api/publicWorkspaceManagement.pub.agravity.ts +199 -204
- package/api.module.ts +49 -51
- package/configuration.ts +129 -132
- package/encoder.ts +20 -20
- package/index.ts +5 -5
- package/model/agravityErrorResponse.pub.agravity.ts +17 -19
- package/model/agravityVersion.pub.agravity.ts +22 -24
- package/model/allWebAppData.pub.agravity.ts +22 -24
- package/model/artificialIntelligenceGroup.pub.agravity.ts +18 -20
- package/model/asset.pub.agravity.ts +45 -47
- package/model/assetAvailability.pub.agravity.ts +17 -19
- package/model/assetBlob.pub.agravity.ts +79 -82
- package/model/{assetIdContainer.pub.agravity.ts → assetIdFormat.pub.agravity.ts} +17 -18
- package/model/assetPageResult.pub.agravity.ts +21 -23
- package/model/azSearchOptions.pub.agravity.ts +23 -25
- package/model/badRequestResult.pub.agravity.ts +15 -17
- package/model/collTypeItem.pub.agravity.ts +36 -38
- package/model/collection.pub.agravity.ts +33 -35
- package/model/collectionType.pub.agravity.ts +33 -35
- package/model/collectionUDL.pub.agravity.ts +19 -21
- package/model/createSftpUserResult.pub.agravity.ts +16 -18
- package/model/dataResult.pub.agravity.ts +20 -22
- package/model/distZipResponse.pub.agravity.ts +17 -19
- package/model/downloadFormat.pub.agravity.ts +32 -34
- package/model/dynamicImageOperation.pub.agravity.ts +16 -18
- package/model/entityId.pub.agravity.ts +15 -17
- package/model/entityIdName.pub.agravity.ts +17 -19
- package/model/frontendAppConfig.pub.agravity.ts +19 -21
- package/model/groupAllAppData.pub.agravity.ts +24 -26
- package/model/metadata.pub.agravity.ts +17 -19
- package/model/models.ts +44 -44
- package/model/okResult.pub.agravity.ts +15 -17
- package/model/publishEntity.pub.agravity.ts +26 -28
- package/model/publishedAsset.pub.agravity.ts +23 -25
- package/model/quickShareFull.pub.agravity.ts +35 -36
- package/model/sasToken.pub.agravity.ts +20 -22
- package/model/savedSearch.pub.agravity.ts +29 -31
- package/model/searchFacet.pub.agravity.ts +17 -19
- package/model/searchFacetEntity.pub.agravity.ts +17 -19
- package/model/searchResult.pub.agravity.ts +21 -23
- package/model/searchableItem.pub.agravity.ts +24 -26
- package/model/secureUploadEntity.pub.agravity.ts +25 -27
- package/model/sharedAsset.pub.agravity.ts +23 -25
- package/model/sharedCollectionFull.pub.agravity.ts +27 -29
- package/model/signalRConnectionInfo.pub.agravity.ts +16 -18
- package/model/staticDefinedList.pub.agravity.ts +28 -30
- package/model/versionEntity.pub.agravity.ts +26 -28
- package/model/versionedAsset.pub.agravity.ts +18 -20
- package/model/whereParam.pub.agravity.ts +40 -43
- package/model/workspace.pub.agravity.ts +32 -34
- package/ng-package.json +6 -0
- package/package.json +44 -27
- package/tsconfig.json +20 -0
- package/variables.ts +9 -9
package/configuration.ts
CHANGED
|
@@ -1,132 +1,129 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
|
|
3
|
-
export interface AgravityPublicConfigurationParameters {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export class AgravityPublicConfiguration {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
: value;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
|
|
3
|
+
export interface AgravityPublicConfigurationParameters {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
+
*/
|
|
7
|
+
apiKeys?: { [key: string]: string };
|
|
8
|
+
username?: string;
|
|
9
|
+
password?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
12
|
+
*/
|
|
13
|
+
accessToken?: string | (() => string);
|
|
14
|
+
basePath?: string;
|
|
15
|
+
withCredentials?: boolean;
|
|
16
|
+
encoder?: HttpParameterCodec;
|
|
17
|
+
/**
|
|
18
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
19
|
+
* document. They should map to the value used for authentication
|
|
20
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
21
|
+
*/
|
|
22
|
+
credentials?: { [key: string]: string | (() => string | undefined) };
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class AgravityPublicConfiguration {
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
28
|
+
*/
|
|
29
|
+
apiKeys?: { [key: string]: string };
|
|
30
|
+
username?: string;
|
|
31
|
+
password?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
34
|
+
*/
|
|
35
|
+
accessToken?: string | (() => string);
|
|
36
|
+
basePath?: string;
|
|
37
|
+
withCredentials?: boolean;
|
|
38
|
+
encoder?: HttpParameterCodec;
|
|
39
|
+
/**
|
|
40
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
41
|
+
* document. They should map to the value used for authentication
|
|
42
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
43
|
+
*/
|
|
44
|
+
credentials: { [key: string]: string | (() => string | undefined) };
|
|
45
|
+
|
|
46
|
+
constructor(configurationParameters: AgravityPublicConfigurationParameters = {}) {
|
|
47
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
48
|
+
this.username = configurationParameters.username;
|
|
49
|
+
this.password = configurationParameters.password;
|
|
50
|
+
this.accessToken = configurationParameters.accessToken;
|
|
51
|
+
this.basePath = configurationParameters.basePath;
|
|
52
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
53
|
+
this.encoder = configurationParameters.encoder;
|
|
54
|
+
if (configurationParameters.credentials) {
|
|
55
|
+
this.credentials = configurationParameters.credentials;
|
|
56
|
+
} else {
|
|
57
|
+
this.credentials = {};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// init default function_key credential
|
|
61
|
+
if (!this.credentials['function_key']) {
|
|
62
|
+
this.credentials['function_key'] = () => {
|
|
63
|
+
if (this.apiKeys === null || this.apiKeys === undefined) {
|
|
64
|
+
return undefined;
|
|
65
|
+
} else {
|
|
66
|
+
return this.apiKeys['function_key'] || this.apiKeys['x-functions-key'];
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Select the correct content-type to use for a request.
|
|
74
|
+
* Uses {@link AgravityPublicConfiguration#isJsonMime} to determine the correct content-type.
|
|
75
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
76
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
77
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
78
|
+
*/
|
|
79
|
+
public selectHeaderContentType(contentTypes: string[]): string | undefined {
|
|
80
|
+
if (contentTypes.length === 0) {
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const type = contentTypes.find((x: string) => this.isJsonMime(x));
|
|
85
|
+
if (type === undefined) {
|
|
86
|
+
return contentTypes[0];
|
|
87
|
+
}
|
|
88
|
+
return type;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Select the correct accept content-type to use for a request.
|
|
93
|
+
* Uses {@link AgravityPublicConfiguration#isJsonMime} to determine the correct accept content-type.
|
|
94
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
95
|
+
* @param accepts - the array of content types that are available for selection.
|
|
96
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
97
|
+
*/
|
|
98
|
+
public selectHeaderAccept(accepts: string[]): string | undefined {
|
|
99
|
+
if (accepts.length === 0) {
|
|
100
|
+
return undefined;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const type = accepts.find((x: string) => this.isJsonMime(x));
|
|
104
|
+
if (type === undefined) {
|
|
105
|
+
return accepts[0];
|
|
106
|
+
}
|
|
107
|
+
return type;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Check if the given MIME is a JSON MIME.
|
|
112
|
+
* JSON MIME examples:
|
|
113
|
+
* application/json
|
|
114
|
+
* application/json; charset=UTF8
|
|
115
|
+
* APPLICATION/JSON
|
|
116
|
+
* application/vnd.company+json
|
|
117
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
118
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
119
|
+
*/
|
|
120
|
+
public isJsonMime(mime: string): boolean {
|
|
121
|
+
const jsonMime: RegExp = new RegExp('^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
122
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public lookupCredential(key: string): string | undefined {
|
|
126
|
+
const value = this.credentials[key];
|
|
127
|
+
return typeof value === 'function' ? value() : value;
|
|
128
|
+
}
|
|
129
|
+
}
|
package/encoder.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Custom HttpParameterCodec
|
|
5
|
-
* Workaround for https://github.com/angular/angular/issues/18261
|
|
6
|
-
*/
|
|
7
|
-
export class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Custom HttpParameterCodec
|
|
5
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
6
|
+
*/
|
|
7
|
+
export class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
8
|
+
encodeKey(k: string): string {
|
|
9
|
+
return encodeURIComponent(k);
|
|
10
|
+
}
|
|
11
|
+
encodeValue(v: string): string {
|
|
12
|
+
return encodeURIComponent(v);
|
|
13
|
+
}
|
|
14
|
+
decodeKey(k: string): string {
|
|
15
|
+
return decodeURIComponent(k);
|
|
16
|
+
}
|
|
17
|
+
decodeValue(v: string): string {
|
|
18
|
+
return decodeURIComponent(v);
|
|
19
|
+
}
|
|
20
|
+
}
|
package/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './api/api';
|
|
2
|
-
export * from './model/models';
|
|
3
|
-
export * from './variables';
|
|
4
|
-
export * from './configuration';
|
|
5
|
-
export * from './api.module';
|
|
1
|
+
export * from './api/api';
|
|
2
|
+
export * from './model/models';
|
|
3
|
+
export * from './variables';
|
|
4
|
+
export * from './configuration';
|
|
5
|
+
export * from './api.module';
|
|
@@ -1,19 +1,17 @@
|
|
|
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 2023. All Rights Reserved
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
6
|
-
* Contact: office@agravity.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
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 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.1
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export interface AgravityErrorResponse {
|
|
14
|
+
error_id?: string;
|
|
15
|
+
error_message?: string;
|
|
16
|
+
exception?: string;
|
|
17
|
+
}
|
|
@@ -1,24 +1,22 @@
|
|
|
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 2023. All Rights Reserved
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
6
|
-
* Contact: office@agravity.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
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 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.1
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export interface AgravityVersion {
|
|
14
|
+
name?: string;
|
|
15
|
+
company?: string;
|
|
16
|
+
customer?: string;
|
|
17
|
+
updated?: string;
|
|
18
|
+
client_id?: string;
|
|
19
|
+
version?: string;
|
|
20
|
+
permission_enabled?: boolean;
|
|
21
|
+
region?: string;
|
|
22
|
+
}
|
|
@@ -1,24 +1,22 @@
|
|
|
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 2023. All Rights Reserved
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
6
|
-
* Contact: office@agravity.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { Asset } from './asset.pub.agravity';
|
|
13
|
-
import { Collection } from './collection.pub.agravity';
|
|
14
|
-
import { PublishedAsset } from './publishedAsset.pub.agravity';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
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 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.1
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Asset } from './asset.pub.agravity';
|
|
13
|
+
import { Collection } from './collection.pub.agravity';
|
|
14
|
+
import { PublishedAsset } from './publishedAsset.pub.agravity';
|
|
15
|
+
|
|
16
|
+
export interface AllWebAppData {
|
|
17
|
+
root_collection?: Collection;
|
|
18
|
+
subcollections?: Array<Collection>;
|
|
19
|
+
assets?: Array<Asset>;
|
|
20
|
+
pub_assets?: Array<PublishedAsset>;
|
|
21
|
+
created_date?: string;
|
|
22
|
+
}
|
|
@@ -1,20 +1,18 @@
|
|
|
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 2023. All Rights Reserved
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
6
|
-
* Contact: office@agravity.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
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 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.1
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export interface ArtificialIntelligenceGroup {
|
|
14
|
+
origin?: string;
|
|
15
|
+
url?: string;
|
|
16
|
+
min_confidence?: number | null;
|
|
17
|
+
values?: Array<{ [key: string]: object }>;
|
|
18
|
+
}
|
|
@@ -1,47 +1,45 @@
|
|
|
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 2023. All Rights Reserved
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
6
|
-
* Contact: office@agravity.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { CollTypeItem } from './collTypeItem.pub.agravity';
|
|
13
|
-
import { AssetBlob } from './assetBlob.pub.agravity';
|
|
14
|
-
import { ArtificialIntelligenceGroup } from './artificialIntelligenceGroup.pub.agravity';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
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 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.1
|
|
6
|
+
* Contact: office@agravity.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CollTypeItem } from './collTypeItem.pub.agravity';
|
|
13
|
+
import { AssetBlob } from './assetBlob.pub.agravity';
|
|
14
|
+
import { ArtificialIntelligenceGroup } from './artificialIntelligenceGroup.pub.agravity';
|
|
15
|
+
|
|
16
|
+
export interface Asset {
|
|
17
|
+
id?: string;
|
|
18
|
+
entity_type?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
asset_type?: string;
|
|
21
|
+
duplicates?: Array<string>;
|
|
22
|
+
text_content?: string;
|
|
23
|
+
ai_groups?: Array<ArtificialIntelligenceGroup>;
|
|
24
|
+
keywords?: Array<string>;
|
|
25
|
+
orig_blob?: AssetBlob;
|
|
26
|
+
blobs?: Array<AssetBlob>;
|
|
27
|
+
collections?: Array<string>;
|
|
28
|
+
failed_reason?: string;
|
|
29
|
+
region_of_origin?: string;
|
|
30
|
+
availability?: string;
|
|
31
|
+
available_from?: string | null;
|
|
32
|
+
available_to?: string | null;
|
|
33
|
+
custom?: any;
|
|
34
|
+
items?: Array<CollTypeItem>;
|
|
35
|
+
translations?: { [key: string]: { [key: string]: object } };
|
|
36
|
+
description?: string;
|
|
37
|
+
add_properties?: { [key: string]: any };
|
|
38
|
+
status?: string;
|
|
39
|
+
created_date?: string | null;
|
|
40
|
+
created_by?: string;
|
|
41
|
+
modified_date?: string | null;
|
|
42
|
+
modified_by?: string;
|
|
43
|
+
pk?: string;
|
|
44
|
+
_etag?: string;
|
|
45
|
+
}
|