@agravity/private 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -3
- package/README.md +10 -10
- package/api/api.ts +3 -3
- package/api/assetIconRuleManagement.agravity.ts +1 -1
- package/api/assetManagement.agravity.ts +1 -1
- package/api/assetOperations.agravity.ts +1 -1
- package/api/assetPublishing.agravity.ts +1 -1
- package/api/assetVersioning.agravity.ts +1 -1
- package/api/authenticationManagement.agravity.ts +1 -1
- package/api/collectionManagement.agravity.ts +1 -1
- package/api/collectionSharing.agravity.ts +1 -1
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +1 -1
- package/api/collectionTypeManagement.agravity.ts +1 -1
- package/api/configurationManagement.agravity.ts +1 -1
- package/api/downloadFormatManagement.agravity.ts +1 -1
- package/api/downloadZip.agravity.ts +1 -1
- package/api/generalManagement.agravity.ts +1 -1
- package/api/helperTools.agravity.ts +43 -1
- package/api/historyEntryManagement.agravity.ts +139 -0
- package/api/iccProfileManagement.agravity.ts +1 -1
- package/api/listBlobs.agravity.ts +1 -1
- package/api/listQueues.agravity.ts +1 -1
- package/api/permissionsManagement.agravity.ts +1 -1
- package/api/publishing.agravity.ts +1 -1
- package/api/quickshareManagement.agravity.ts +1 -1
- package/api/savedSearchManagement.agravity.ts +1 -1
- package/api/searchManagement.agravity.ts +1 -1
- package/api/secureUpload.agravity.ts +1 -1
- package/api/signalRConnectionManagement.agravity.ts +1 -1
- package/api/staticDefinedListManagement.agravity.ts +1 -1
- package/api/stockImport.agravity.ts +1 -1
- package/api/structureImport.agravity.ts +1 -1
- package/api/translationManagement.agravity.ts +1 -1
- package/api/webAppData.agravity.ts +1 -1
- package/api/wordpressManagement.agravity.ts +1 -1
- package/api/workspaceManagement.agravity.ts +1 -1
- package/api.module.ts +1 -1
- package/model/agravityErrorResponse.agravity.ts +1 -1
- package/model/agravityInfoResponse.agravity.ts +1 -1
- package/model/agravityUser.agravity.ts +1 -1
- package/model/agravityVersion.agravity.ts +1 -1
- package/model/allWebAppData.agravity.ts +1 -1
- package/model/apiKeyResponse.agravity.ts +1 -1
- package/model/appConfigTableEntity.agravity.ts +1 -1
- package/model/artificialIntelligenceGroup.agravity.ts +1 -1
- package/model/asset.agravity.ts +1 -1
- package/model/assetAvailability.agravity.ts +1 -1
- package/model/assetBlob.agravity.ts +1 -1
- package/model/assetBulkUpdate.agravity.ts +1 -1
- package/model/assetCollectionLink.agravity.ts +1 -1
- package/model/assetIconRule.agravity.ts +1 -1
- package/model/{assetIdContainer.agravity.ts → assetIdFormat.agravity.ts} +4 -3
- package/model/assetPageResult.agravity.ts +1 -1
- package/model/assetsOperationBody.agravity.ts +1 -1
- package/model/azSearchOptions.agravity.ts +1 -1
- package/model/azureIdentity.agravity.ts +1 -1
- package/model/blobInfoObj.agravity.ts +1 -1
- package/model/collTypeItem.agravity.ts +1 -1
- package/model/collTypeItemBlueprint.agravity.ts +1 -1
- package/model/collection.agravity.ts +1 -1
- package/model/collectionType.agravity.ts +1 -1
- package/model/collectionUDL.agravity.ts +1 -1
- package/model/createSftpUserResult.agravity.ts +1 -1
- package/model/dataResult.agravity.ts +1 -1
- package/model/distZipResponse.agravity.ts +1 -1
- package/model/downloadFormat.agravity.ts +1 -1
- package/model/downloadObject.agravity.ts +3 -3
- package/model/downloadZipRequest.agravity.ts +3 -3
- package/model/dynamicImageOperation.agravity.ts +1 -1
- package/model/emailAddress.agravity.ts +1 -1
- package/model/entityId.agravity.ts +1 -1
- package/model/entityIdName.agravity.ts +1 -1
- package/model/entityTranslations.agravity.ts +1 -1
- package/model/frontendAppConfig.agravity.ts +1 -1
- package/model/groupAllAppData.agravity.ts +1 -1
- package/model/{upgradeV2V3CollectionCustomItemTableEntity.agravity.ts → historyEntry.agravity.ts} +29 -7
- package/model/infoEntitySkillEnhanced.agravity.ts +1 -1
- package/model/metadata.agravity.ts +1 -1
- package/model/models.ts +2 -2
- package/model/moveCollectionBody.agravity.ts +1 -1
- package/model/permissionChange.agravity.ts +1 -1
- package/model/permissionSetting.agravity.ts +1 -1
- package/model/publishEntity.agravity.ts +1 -1
- package/model/publishedAsset.agravity.ts +1 -1
- package/model/quickShare.agravity.ts +4 -3
- package/model/quickShareFull.agravity.ts +4 -3
- package/model/sasToken.agravity.ts +1 -1
- package/model/savedSearch.agravity.ts +1 -1
- package/model/searchAdminDataSourceStatus.agravity.ts +1 -1
- package/model/searchAdminIndexStatus.agravity.ts +1 -1
- package/model/searchAdminIndexerLastRun.agravity.ts +1 -1
- package/model/searchAdminIndexerStatus.agravity.ts +1 -1
- package/model/searchAdminSkillStatus.agravity.ts +1 -1
- package/model/searchAdminStatistics.agravity.ts +1 -1
- package/model/searchAdminStatus.agravity.ts +1 -1
- package/model/searchFacet.agravity.ts +1 -1
- package/model/searchFacetEntity.agravity.ts +1 -1
- package/model/searchResult.agravity.ts +1 -1
- package/model/searchableItem.agravity.ts +1 -1
- package/model/secureUploadEntity.agravity.ts +1 -1
- package/model/sharedAsset.agravity.ts +1 -1
- package/model/sharedCollection.agravity.ts +1 -1
- package/model/sharedCollectionFull.agravity.ts +1 -1
- package/model/signalRConnectionInfo.agravity.ts +1 -1
- package/model/simpleAsset.agravity.ts +1 -1
- package/model/staticDefinedList.agravity.ts +1 -1
- package/model/uiTutorials.agravity.ts +1 -1
- package/model/versionEntity.agravity.ts +1 -1
- package/model/versionedAsset.agravity.ts +1 -1
- package/model/whereParam.agravity.ts +1 -1
- package/model/workspace.agravity.ts +1 -1
- package/ng-package.json +6 -0
- package/package.json +45 -28
- package/tsconfig.json +28 -0
- package/api/upgradeManagement.agravity.ts +0 -333
package/.openapi-generator/FILES
CHANGED
|
@@ -18,6 +18,7 @@ api/downloadFormatManagement.agravity.ts
|
|
|
18
18
|
api/downloadZip.agravity.ts
|
|
19
19
|
api/generalManagement.agravity.ts
|
|
20
20
|
api/helperTools.agravity.ts
|
|
21
|
+
api/historyEntryManagement.agravity.ts
|
|
21
22
|
api/iccProfileManagement.agravity.ts
|
|
22
23
|
api/listBlobs.agravity.ts
|
|
23
24
|
api/listQueues.agravity.ts
|
|
@@ -32,7 +33,6 @@ api/staticDefinedListManagement.agravity.ts
|
|
|
32
33
|
api/stockImport.agravity.ts
|
|
33
34
|
api/structureImport.agravity.ts
|
|
34
35
|
api/translationManagement.agravity.ts
|
|
35
|
-
api/upgradeManagement.agravity.ts
|
|
36
36
|
api/webAppData.agravity.ts
|
|
37
37
|
api/wordpressManagement.agravity.ts
|
|
38
38
|
api/workspaceManagement.agravity.ts
|
|
@@ -54,7 +54,7 @@ model/assetBlob.agravity.ts
|
|
|
54
54
|
model/assetBulkUpdate.agravity.ts
|
|
55
55
|
model/assetCollectionLink.agravity.ts
|
|
56
56
|
model/assetIconRule.agravity.ts
|
|
57
|
-
model/
|
|
57
|
+
model/assetIdFormat.agravity.ts
|
|
58
58
|
model/assetPageResult.agravity.ts
|
|
59
59
|
model/assetsOperationBody.agravity.ts
|
|
60
60
|
model/azSearchOptions.agravity.ts
|
|
@@ -78,6 +78,7 @@ model/entityIdName.agravity.ts
|
|
|
78
78
|
model/entityTranslations.agravity.ts
|
|
79
79
|
model/frontendAppConfig.agravity.ts
|
|
80
80
|
model/groupAllAppData.agravity.ts
|
|
81
|
+
model/historyEntry.agravity.ts
|
|
81
82
|
model/infoEntitySkillEnhanced.agravity.ts
|
|
82
83
|
model/metadata.agravity.ts
|
|
83
84
|
model/models.ts
|
|
@@ -109,9 +110,11 @@ model/signalRConnectionInfo.agravity.ts
|
|
|
109
110
|
model/simpleAsset.agravity.ts
|
|
110
111
|
model/staticDefinedList.agravity.ts
|
|
111
112
|
model/uiTutorials.agravity.ts
|
|
112
|
-
model/upgradeV2V3CollectionCustomItemTableEntity.agravity.ts
|
|
113
113
|
model/versionEntity.agravity.ts
|
|
114
114
|
model/versionedAsset.agravity.ts
|
|
115
115
|
model/whereParam.agravity.ts
|
|
116
116
|
model/workspace.agravity.ts
|
|
117
|
+
ng-package.json
|
|
118
|
+
package.json
|
|
119
|
+
tsconfig.json
|
|
117
120
|
variables.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @
|
|
1
|
+
## @agravity/private@5.3.0
|
|
2
2
|
|
|
3
3
|
### Building
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
19
19
|
_published:_
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
npm install @ --save
|
|
22
|
+
npm install @agravity/private@5.3.0 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -39,7 +39,7 @@ npm link
|
|
|
39
39
|
|
|
40
40
|
In your project:
|
|
41
41
|
```
|
|
42
|
-
npm link
|
|
42
|
+
npm link @agravity/private
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.
|
|
@@ -54,7 +54,7 @@ In your Angular project:
|
|
|
54
54
|
|
|
55
55
|
```
|
|
56
56
|
// without configuring providers
|
|
57
|
-
import { AgravityApiModule } from '';
|
|
57
|
+
import { AgravityApiModule } from '@agravity/private';
|
|
58
58
|
import { HttpClientModule } from '@angular/common/http';
|
|
59
59
|
|
|
60
60
|
@NgModule({
|
|
@@ -73,7 +73,7 @@ export class AppModule {}
|
|
|
73
73
|
|
|
74
74
|
```
|
|
75
75
|
// configuring providers
|
|
76
|
-
import { AgravityApiModule, AgravityConfiguration, AgravityConfigurationParameters } from '';
|
|
76
|
+
import { AgravityApiModule, AgravityConfiguration, AgravityConfigurationParameters } from '@agravity/private';
|
|
77
77
|
|
|
78
78
|
export function apiConfigFactory (): AgravityConfiguration {
|
|
79
79
|
const params: AgravityConfigurationParameters = {
|
|
@@ -93,7 +93,7 @@ export class AppModule {}
|
|
|
93
93
|
|
|
94
94
|
```
|
|
95
95
|
// configuring providers with an authentication service that manages your access tokens
|
|
96
|
-
import { AgravityApiModule, AgravityConfiguration } from '';
|
|
96
|
+
import { AgravityApiModule, AgravityConfiguration } from '@agravity/private';
|
|
97
97
|
|
|
98
98
|
@NgModule({
|
|
99
99
|
imports: [ AgravityApiModule ],
|
|
@@ -117,7 +117,7 @@ export class AppModule {}
|
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
```
|
|
120
|
-
import { DefaultApi } from '';
|
|
120
|
+
import { DefaultApi } from '@agravity/private';
|
|
121
121
|
|
|
122
122
|
export class AppComponent {
|
|
123
123
|
constructor(private apiGateway: DefaultApi) { }
|
|
@@ -155,7 +155,7 @@ export class AppModule {
|
|
|
155
155
|
If different than the generated base path, during app bootstrap, you can provide the base path to your service.
|
|
156
156
|
|
|
157
157
|
```
|
|
158
|
-
import { BASE_PATH } from '';
|
|
158
|
+
import { BASE_PATH } from '@agravity/private';
|
|
159
159
|
|
|
160
160
|
bootstrap(AppComponent, [
|
|
161
161
|
{ provide: BASE_PATH, useValue: 'https://your-web-service.com' },
|
|
@@ -164,7 +164,7 @@ bootstrap(AppComponent, [
|
|
|
164
164
|
or
|
|
165
165
|
|
|
166
166
|
```
|
|
167
|
-
import { BASE_PATH } from '';
|
|
167
|
+
import { BASE_PATH } from '@agravity/private';
|
|
168
168
|
|
|
169
169
|
@NgModule({
|
|
170
170
|
imports: [],
|
|
@@ -188,7 +188,7 @@ export const environment = {
|
|
|
188
188
|
|
|
189
189
|
In the src/app/app.module.ts:
|
|
190
190
|
```
|
|
191
|
-
import { BASE_PATH } from '';
|
|
191
|
+
import { BASE_PATH } from '@agravity/private';
|
|
192
192
|
import { environment } from '../environments/environment';
|
|
193
193
|
|
|
194
194
|
@NgModule({
|
package/api/api.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './generalManagement.agravity';
|
|
|
28
28
|
import { GeneralManagementService } from './generalManagement.agravity';
|
|
29
29
|
export * from './helperTools.agravity';
|
|
30
30
|
import { HelperToolsService } from './helperTools.agravity';
|
|
31
|
+
export * from './historyEntryManagement.agravity';
|
|
32
|
+
import { HistoryEntryManagementService } from './historyEntryManagement.agravity';
|
|
31
33
|
export * from './iccProfileManagement.agravity';
|
|
32
34
|
import { IccProfileManagementService } from './iccProfileManagement.agravity';
|
|
33
35
|
export * from './listBlobs.agravity';
|
|
@@ -56,12 +58,10 @@ export * from './structureImport.agravity';
|
|
|
56
58
|
import { StructureImportService } from './structureImport.agravity';
|
|
57
59
|
export * from './translationManagement.agravity';
|
|
58
60
|
import { TranslationManagementService } from './translationManagement.agravity';
|
|
59
|
-
export * from './upgradeManagement.agravity';
|
|
60
|
-
import { UpgradeManagementService } from './upgradeManagement.agravity';
|
|
61
61
|
export * from './webAppData.agravity';
|
|
62
62
|
import { WebAppDataService } from './webAppData.agravity';
|
|
63
63
|
export * from './wordpressManagement.agravity';
|
|
64
64
|
import { WordpressManagementService } from './wordpressManagement.agravity';
|
|
65
65
|
export * from './workspaceManagement.agravity';
|
|
66
66
|
import { WorkspaceManagementService } from './workspaceManagement.agravity';
|
|
67
|
-
export const APIS = [AssetIconRuleManagementService, AssetManagementService, AssetOperationsService, AssetPublishingService, AssetVersioningService, AuthenticationManagementService, CollectionManagementService, CollectionSharingService, CollectionTypeItemBlueprintManagementService, CollectionTypeManagementService, ConfigurationManagementService, DownloadFormatManagementService, DownloadZipService, GeneralManagementService, HelperToolsService, IccProfileManagementService, ListBlobsService, ListQueuesService, PermissionsManagementService, PublishingService, QuickshareManagementService, SavedSearchManagementService, SearchManagementService, SecureUploadService, SignalRConnectionManagementService, StaticDefinedListManagementService, StockImportService, StructureImportService, TranslationManagementService,
|
|
67
|
+
export const APIS = [AssetIconRuleManagementService, AssetManagementService, AssetOperationsService, AssetPublishingService, AssetVersioningService, AuthenticationManagementService, CollectionManagementService, CollectionSharingService, CollectionTypeItemBlueprintManagementService, CollectionTypeManagementService, ConfigurationManagementService, DownloadFormatManagementService, DownloadZipService, GeneralManagementService, HelperToolsService, HistoryEntryManagementService, IccProfileManagementService, ListBlobsService, ListQueuesService, PermissionsManagementService, PublishingService, QuickshareManagementService, SavedSearchManagementService, SearchManagementService, SecureUploadService, SignalRConnectionManagementService, StaticDefinedListManagementService, StockImportService, StructureImportService, TranslationManagementService, WebAppDataService, WordpressManagementService, WorkspaceManagementService];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -585,6 +585,48 @@ export class HelperToolsService {
|
|
|
585
585
|
);
|
|
586
586
|
}
|
|
587
587
|
|
|
588
|
+
/**
|
|
589
|
+
* This method starts queues in all functions to clear the config cache.
|
|
590
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
591
|
+
* @param reportProgress flag to report request and response progress.
|
|
592
|
+
*/
|
|
593
|
+
public httpPatchClearConfigCache(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<AgravityInfoResponse>;
|
|
594
|
+
public httpPatchClearConfigCache(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
595
|
+
public httpPatchClearConfigCache(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
596
|
+
public httpPatchClearConfigCache(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
597
|
+
|
|
598
|
+
let headers = this.defaultHeaders;
|
|
599
|
+
|
|
600
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
601
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
602
|
+
// to determine the Accept header
|
|
603
|
+
const httpHeaderAccepts: string[] = [
|
|
604
|
+
'application/json'
|
|
605
|
+
];
|
|
606
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
607
|
+
}
|
|
608
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
609
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
614
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
615
|
+
responseType_ = 'text';
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
return this.httpClient.patch<AgravityInfoResponse>(`${this.configuration.basePath}/helper/clearconfigcache`,
|
|
619
|
+
null,
|
|
620
|
+
{
|
|
621
|
+
responseType: <any>responseType_,
|
|
622
|
+
withCredentials: this.configuration.withCredentials,
|
|
623
|
+
headers: headers,
|
|
624
|
+
observe: observe,
|
|
625
|
+
reportProgress: reportProgress
|
|
626
|
+
}
|
|
627
|
+
);
|
|
628
|
+
}
|
|
629
|
+
|
|
588
630
|
/**
|
|
589
631
|
* Re-queue poisoned messages. It takes the only one argument and tries to find the poisoned queue.
|
|
590
632
|
* @param queue Enter queue name which has to take messages from poison to regular queue.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.3.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
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
|
+
|
|
14
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
+
import { HttpClient, HttpHeaders, HttpParams,
|
|
16
|
+
HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
17
|
+
import { CustomHttpParameterCodec } from '../encoder';
|
|
18
|
+
import { Observable } from 'rxjs';
|
|
19
|
+
|
|
20
|
+
import { HistoryEntry } from '../model/models';
|
|
21
|
+
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
23
|
+
import { AgravityConfiguration } from '../configuration';
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@Injectable({
|
|
28
|
+
providedIn: 'root'
|
|
29
|
+
})
|
|
30
|
+
export class HistoryEntryManagementService {
|
|
31
|
+
|
|
32
|
+
protected basePath = 'http://localhost:7071/api';
|
|
33
|
+
public defaultHeaders = new HttpHeaders();
|
|
34
|
+
public configuration = new AgravityConfiguration();
|
|
35
|
+
public encoder: HttpParameterCodec;
|
|
36
|
+
|
|
37
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: AgravityConfiguration) {
|
|
38
|
+
if (configuration) {
|
|
39
|
+
this.configuration = configuration;
|
|
40
|
+
}
|
|
41
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
42
|
+
if (typeof basePath !== 'string') {
|
|
43
|
+
basePath = this.basePath;
|
|
44
|
+
}
|
|
45
|
+
this.configuration.basePath = basePath;
|
|
46
|
+
}
|
|
47
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
52
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
53
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
54
|
+
} else {
|
|
55
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
56
|
+
}
|
|
57
|
+
return httpParams;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return httpParams;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (typeof value === "object") {
|
|
66
|
+
if (Array.isArray(value)) {
|
|
67
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
68
|
+
} else if (value instanceof Date) {
|
|
69
|
+
if (key != null) {
|
|
70
|
+
httpParams = httpParams.append(key,
|
|
71
|
+
(value as Date).toISOString().substr(0, 10));
|
|
72
|
+
} else {
|
|
73
|
+
throw Error("key may not be null if value is Date");
|
|
74
|
+
}
|
|
75
|
+
} else {
|
|
76
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
77
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
78
|
+
}
|
|
79
|
+
} else if (key != null) {
|
|
80
|
+
httpParams = httpParams.append(key, value);
|
|
81
|
+
} else {
|
|
82
|
+
throw Error("key may not be null if value is not object or array");
|
|
83
|
+
}
|
|
84
|
+
return httpParams;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* This endpoint gets the complete history of an entity.
|
|
89
|
+
* @param id The ID of the entity of which the history should be fetched.
|
|
90
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
91
|
+
* @param reportProgress flag to report request and response progress.
|
|
92
|
+
*/
|
|
93
|
+
public httpHistoryEntriesGetById(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<Array<HistoryEntry>>;
|
|
94
|
+
public httpHistoryEntriesGetById(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<Array<HistoryEntry>>>;
|
|
95
|
+
public httpHistoryEntriesGetById(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<Array<HistoryEntry>>>;
|
|
96
|
+
public httpHistoryEntriesGetById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
|
|
97
|
+
if (id === null || id === undefined) {
|
|
98
|
+
throw new Error('Required parameter id was null or undefined when calling httpHistoryEntriesGetById.');
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
let headers = this.defaultHeaders;
|
|
102
|
+
|
|
103
|
+
let credential: string | undefined;
|
|
104
|
+
// authentication (msal_auth) required
|
|
105
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
106
|
+
if (credential) {
|
|
107
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
111
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
112
|
+
// to determine the Accept header
|
|
113
|
+
const httpHeaderAccepts: string[] = [
|
|
114
|
+
'application/json'
|
|
115
|
+
];
|
|
116
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
117
|
+
}
|
|
118
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
119
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
124
|
+
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
125
|
+
responseType_ = 'text';
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return this.httpClient.get<Array<HistoryEntry>>(`${this.configuration.basePath}/history/${encodeURIComponent(String(id))}`,
|
|
129
|
+
{
|
|
130
|
+
responseType: <any>responseType_,
|
|
131
|
+
withCredentials: this.configuration.withCredentials,
|
|
132
|
+
headers: headers,
|
|
133
|
+
observe: observe,
|
|
134
|
+
reportProgress: reportProgress
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full 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>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 5.
|
|
5
|
+
* The version of the OpenAPI document: 5.3.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|