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