@agravity/public 5.2.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.
Files changed (78) hide show
  1. package/.openapi-generator/FILES +76 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +203 -0
  5. package/api/api.ts +43 -0
  6. package/api/publicAssetManagement.pub.agravity.ts +504 -0
  7. package/api/publicAssetOperations.pub.agravity.ts +633 -0
  8. package/api/publicAssetPublishing.pub.agravity.ts +263 -0
  9. package/api/publicAssetVersioning.pub.agravity.ts +552 -0
  10. package/api/publicAuthenticationManagement.pub.agravity.ts +135 -0
  11. package/api/publicCollectionManagement.pub.agravity.ts +562 -0
  12. package/api/publicCollectionSecureUpload.pub.agravity.ts +229 -0
  13. package/api/publicCollectionTypeManagement.pub.agravity.ts +266 -0
  14. package/api/publicConfigurationManagement.pub.agravity.ts +128 -0
  15. package/api/publicDownloadFormatManagement.pub.agravity.ts +135 -0
  16. package/api/publicGeneralManagement.pub.agravity.ts +221 -0
  17. package/api/publicHelperTools.pub.agravity.ts +288 -0
  18. package/api/publicPublishing.pub.agravity.ts +148 -0
  19. package/api/publicSavedSearch.pub.agravity.ts +148 -0
  20. package/api/publicSearchManagement.pub.agravity.ts +197 -0
  21. package/api/publicSharingManagement.pub.agravity.ts +215 -0
  22. package/api/publicSignalRConnectionManagement.pub.agravity.ts +136 -0
  23. package/api/publicStaticDefinedListManagement.pub.agravity.ts +203 -0
  24. package/api/publicTranslationManagement.pub.agravity.ts +267 -0
  25. package/api/publicWebAppData.pub.agravity.ts +193 -0
  26. package/api/publicWorkspaceManagement.pub.agravity.ts +204 -0
  27. package/api.module.ts +51 -0
  28. package/configuration.ts +132 -0
  29. package/encoder.ts +20 -0
  30. package/git_push.sh +58 -0
  31. package/index.ts +5 -0
  32. package/model/agravityErrorResponse.pub.agravity.ts +19 -0
  33. package/model/agravityVersion.pub.agravity.ts +24 -0
  34. package/model/allWebAppData.pub.agravity.ts +24 -0
  35. package/model/artificialIntelligenceGroup.pub.agravity.ts +20 -0
  36. package/model/asset.pub.agravity.ts +47 -0
  37. package/model/assetAvailability.pub.agravity.ts +19 -0
  38. package/model/assetBlob.pub.agravity.ts +82 -0
  39. package/model/assetIdContainer.pub.agravity.ts +18 -0
  40. package/model/assetPageResult.pub.agravity.ts +23 -0
  41. package/model/azSearchOptions.pub.agravity.ts +25 -0
  42. package/model/badRequestResult.pub.agravity.ts +17 -0
  43. package/model/collTypeItem.pub.agravity.ts +38 -0
  44. package/model/collection.pub.agravity.ts +35 -0
  45. package/model/collectionType.pub.agravity.ts +35 -0
  46. package/model/collectionUDL.pub.agravity.ts +21 -0
  47. package/model/createSftpUserResult.pub.agravity.ts +18 -0
  48. package/model/dataResult.pub.agravity.ts +22 -0
  49. package/model/distZipResponse.pub.agravity.ts +19 -0
  50. package/model/downloadFormat.pub.agravity.ts +34 -0
  51. package/model/dynamicImageOperation.pub.agravity.ts +18 -0
  52. package/model/entityId.pub.agravity.ts +17 -0
  53. package/model/entityIdName.pub.agravity.ts +19 -0
  54. package/model/frontendAppConfig.pub.agravity.ts +21 -0
  55. package/model/groupAllAppData.pub.agravity.ts +26 -0
  56. package/model/metadata.pub.agravity.ts +19 -0
  57. package/model/models.ts +44 -0
  58. package/model/okResult.pub.agravity.ts +17 -0
  59. package/model/publishEntity.pub.agravity.ts +28 -0
  60. package/model/publishedAsset.pub.agravity.ts +25 -0
  61. package/model/quickShareFull.pub.agravity.ts +36 -0
  62. package/model/sasToken.pub.agravity.ts +22 -0
  63. package/model/savedSearch.pub.agravity.ts +31 -0
  64. package/model/searchFacet.pub.agravity.ts +19 -0
  65. package/model/searchFacetEntity.pub.agravity.ts +19 -0
  66. package/model/searchResult.pub.agravity.ts +23 -0
  67. package/model/searchableItem.pub.agravity.ts +26 -0
  68. package/model/secureUploadEntity.pub.agravity.ts +27 -0
  69. package/model/sharedAsset.pub.agravity.ts +25 -0
  70. package/model/sharedCollectionFull.pub.agravity.ts +29 -0
  71. package/model/signalRConnectionInfo.pub.agravity.ts +18 -0
  72. package/model/staticDefinedList.pub.agravity.ts +30 -0
  73. package/model/versionEntity.pub.agravity.ts +28 -0
  74. package/model/versionedAsset.pub.agravity.ts +20 -0
  75. package/model/whereParam.pub.agravity.ts +43 -0
  76. package/model/workspace.pub.agravity.ts +34 -0
  77. package/package.json +28 -0
  78. package/variables.ts +9 -0
package/api.module.ts ADDED
@@ -0,0 +1,51 @@
1
+ import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';
2
+ import { AgravityPublicConfiguration } from './configuration';
3
+ import { HttpClient } from '@angular/common/http';
4
+
5
+ import { PublicAssetManagementService } from './api/publicAssetManagement.pub.agravity';
6
+ import { PublicAssetOperationsService } from './api/publicAssetOperations.pub.agravity';
7
+ import { PublicAssetPublishingService } from './api/publicAssetPublishing.pub.agravity';
8
+ import { PublicAssetVersioningService } from './api/publicAssetVersioning.pub.agravity';
9
+ import { PublicAuthenticationManagementService } from './api/publicAuthenticationManagement.pub.agravity';
10
+ import { PublicCollectionManagementService } from './api/publicCollectionManagement.pub.agravity';
11
+ import { PublicCollectionSecureUploadService } from './api/publicCollectionSecureUpload.pub.agravity';
12
+ import { PublicCollectionTypeManagementService } from './api/publicCollectionTypeManagement.pub.agravity';
13
+ import { PublicConfigurationManagementService } from './api/publicConfigurationManagement.pub.agravity';
14
+ import { PublicDownloadFormatManagementService } from './api/publicDownloadFormatManagement.pub.agravity';
15
+ import { PublicGeneralManagementService } from './api/publicGeneralManagement.pub.agravity';
16
+ import { PublicHelperToolsService } from './api/publicHelperTools.pub.agravity';
17
+ import { PublicPublishingService } from './api/publicPublishing.pub.agravity';
18
+ import { PublicSavedSearchService } from './api/publicSavedSearch.pub.agravity';
19
+ import { PublicSearchManagementService } from './api/publicSearchManagement.pub.agravity';
20
+ import { PublicSharingManagementService } from './api/publicSharingManagement.pub.agravity';
21
+ import { PublicSignalRConnectionManagementService } from './api/publicSignalRConnectionManagement.pub.agravity';
22
+ import { PublicStaticDefinedListManagementService } from './api/publicStaticDefinedListManagement.pub.agravity';
23
+ import { PublicTranslationManagementService } from './api/publicTranslationManagement.pub.agravity';
24
+ import { PublicWebAppDataService } from './api/publicWebAppData.pub.agravity';
25
+ import { PublicWorkspaceManagementService } from './api/publicWorkspaceManagement.pub.agravity';
26
+
27
+ @NgModule({
28
+ imports: [],
29
+ declarations: [],
30
+ exports: [],
31
+ providers: []
32
+ })
33
+ export class AgravityPublicApiModule {
34
+ public static forRoot(configurationFactory: () => AgravityPublicConfiguration): ModuleWithProviders<AgravityPublicApiModule> {
35
+ return {
36
+ ngModule: AgravityPublicApiModule,
37
+ providers: [ { provide: AgravityPublicConfiguration, useFactory: configurationFactory } ]
38
+ };
39
+ }
40
+
41
+ constructor( @Optional() @SkipSelf() parentModule: AgravityPublicApiModule,
42
+ @Optional() http: HttpClient) {
43
+ if (parentModule) {
44
+ throw new Error('AgravityPublicApiModule is already loaded. Import in your base AppModule only.');
45
+ }
46
+ if (!http) {
47
+ throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
48
+ 'See also https://github.com/angular/angular/issues/20575');
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,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
+ }
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
+ }
package/encoder.ts ADDED
@@ -0,0 +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
+ }
package/git_push.sh ADDED
@@ -0,0 +1,58 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=`git remote`
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
58
+
package/index.ts ADDED
@@ -0,0 +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';
@@ -0,0 +1,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.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
+
@@ -0,0 +1,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.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
+
@@ -0,0 +1,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.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
+
@@ -0,0 +1,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.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
+
@@ -0,0 +1,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.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
+
@@ -0,0 +1,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.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 AssetAvailability {
15
+ availability?: string;
16
+ available_from?: string | null;
17
+ available_to?: string | null;
18
+ }
19
+
@@ -0,0 +1,82 @@
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 { Metadata } from './metadata.pub.agravity';
13
+
14
+
15
+ export interface AssetBlob {
16
+ blob_type?: AssetBlob.BlobTypeEnum;
17
+ name?: string;
18
+ container?: string;
19
+ size?: number;
20
+ extension?: string;
21
+ content_type?: string;
22
+ md5?: string;
23
+ techdata?: Array<Metadata>;
24
+ add_data?: Array<Metadata>;
25
+ width?: number | null;
26
+ height?: number | null;
27
+ maxwidthheight?: number | null;
28
+ quality?: number | null;
29
+ orientation?: AssetBlob.OrientationEnum | null;
30
+ colorspace?: string;
31
+ profile?: string;
32
+ transparency?: boolean | null;
33
+ mode?: string;
34
+ target?: string;
35
+ filter?: string;
36
+ dpi_x?: number | null;
37
+ dpi_y?: number | null;
38
+ perhash?: string;
39
+ dominantcolor?: string;
40
+ depth?: number | null;
41
+ animated?: boolean | null;
42
+ duration?: number | null;
43
+ videocodec?: string;
44
+ videobitrate?: number | null;
45
+ fps?: number | null;
46
+ colormode?: string;
47
+ audiocodec?: string;
48
+ audiosamplerate?: string;
49
+ audiochanneloutput?: string;
50
+ audiobitrate?: number | null;
51
+ author?: string;
52
+ language?: string;
53
+ wordcount?: number | null;
54
+ pages?: number | null;
55
+ title?: string;
56
+ encoding_name?: string;
57
+ encoding_code?: string;
58
+ url?: string;
59
+ size_readable?: string;
60
+ downloadable?: boolean | null;
61
+ expires?: string | null;
62
+ }
63
+ export namespace AssetBlob {
64
+ export type BlobTypeEnum = 'UNKNOWN' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT' | 'TEXT' | 'OTHER';
65
+ export const BlobTypeEnum = {
66
+ Unknown: 'UNKNOWN' as BlobTypeEnum,
67
+ Image: 'IMAGE' as BlobTypeEnum,
68
+ Video: 'VIDEO' as BlobTypeEnum,
69
+ Audio: 'AUDIO' as BlobTypeEnum,
70
+ Document: 'DOCUMENT' as BlobTypeEnum,
71
+ Text: 'TEXT' as BlobTypeEnum,
72
+ Other: 'OTHER' as BlobTypeEnum
73
+ };
74
+ export type OrientationEnum = 'PORTRAIT' | 'LANDSCAPE' | 'SQUARE';
75
+ export const OrientationEnum = {
76
+ Portrait: 'PORTRAIT' as OrientationEnum,
77
+ Landscape: 'LANDSCAPE' as OrientationEnum,
78
+ Square: 'SQUARE' as OrientationEnum
79
+ };
80
+ }
81
+
82
+
@@ -0,0 +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 AssetIdContainer {
15
+ id?: string;
16
+ container?: string;
17
+ }
18
+
@@ -0,0 +1,23 @@
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 { WhereParam } from './whereParam.pub.agravity';
13
+ import { Asset } from './asset.pub.agravity';
14
+
15
+
16
+ export interface AssetPageResult {
17
+ page?: Array<Asset>;
18
+ page_size?: number;
19
+ size?: number | null;
20
+ continuation_token?: string;
21
+ filter?: Array<WhereParam>;
22
+ }
23
+
@@ -0,0 +1,25 @@
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 AzSearchOptions {
15
+ searchString?: string;
16
+ limit?: number | null;
17
+ skip?: number;
18
+ collectiontypeid?: string;
19
+ collectionid?: string;
20
+ filter?: string;
21
+ orderby?: string;
22
+ mode?: string;
23
+ ids?: string;
24
+ }
25
+
@@ -0,0 +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 BadRequestResult {
15
+ statusCode?: number;
16
+ }
17
+
@@ -0,0 +1,38 @@
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 CollTypeItem {
15
+ id?: string;
16
+ entity_type?: string;
17
+ name?: string;
18
+ item_type?: string;
19
+ format?: string;
20
+ label?: string;
21
+ default_value?: any;
22
+ mandatory?: boolean | null;
23
+ searchable?: boolean | null;
24
+ onlyasset?: boolean | null;
25
+ multi?: boolean | null;
26
+ md5?: string;
27
+ group?: string;
28
+ order?: number | null;
29
+ translations?: { [key: string]: { [key: string]: object; }; };
30
+ status?: string;
31
+ created_date?: string | null;
32
+ created_by?: string;
33
+ modified_date?: string | null;
34
+ modified_by?: string;
35
+ pk?: string;
36
+ _etag?: string;
37
+ }
38
+