@agravity/private 5.3.5 → 6.0.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 +12 -0
- package/README.md +2 -2
- package/api/api.ts +9 -0
- package/api/assetIconRuleManagement.agravity.ts +1 -1
- package/api/assetManagement.agravity.ts +10 -1
- package/api/assetOperations.agravity.ts +48 -1
- package/api/assetPublishing.agravity.ts +1 -1
- package/api/assetVersioning.agravity.ts +9 -1
- package/api/authenticationManagement.agravity.ts +227 -4
- 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 +6 -5
- package/api/commentsManagement.agravity.ts +294 -0
- package/api/configurationManagement.agravity.ts +72 -8
- package/api/dashboardWidgetManagement.agravity.ts +383 -0
- 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 +207 -1
- package/api/historyEntryManagement.agravity.ts +1 -1
- 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 +77 -1
- package/api/webAppData.agravity.ts +1 -1
- package/api/widgetLayoutManagement.agravity.ts +185 -0
- package/api/wordpressManagement.agravity.ts +1 -1
- package/api/workspaceManagement.agravity.ts +6 -5
- package/api.module.ts +3 -0
- package/model/agravityErrorResponse.agravity.ts +1 -1
- package/model/agravityInfoResponse.agravity.ts +1 -1
- package/model/agravityUser.agravity.ts +3 -1
- package/model/agravityUserDto.agravity.ts +17 -0
- 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 +2 -1
- package/model/artificialIntelligenceGroup.agravity.ts +1 -1
- package/model/asset.agravity.ts +10 -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/assetIdFormat.agravity.ts +1 -1
- 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 +10 -1
- package/model/collectionType.agravity.ts +12 -3
- package/model/collectionUDL.agravity.ts +1 -1
- package/model/comment.agravity.ts +25 -0
- package/model/createSftpUserResult.agravity.ts +1 -1
- package/model/dashboardWidget.agravity.ts +27 -0
- 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 +1 -1
- package/model/downloadZipRequest.agravity.ts +1 -1
- 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/excelExportTableEntity.agravity.ts +22 -0
- package/model/frontendAppConfig.agravity.ts +1 -1
- package/model/groupAllAppData.agravity.ts +1 -1
- package/model/historyEntry.agravity.ts +1 -1
- package/model/infoEntitySkillEnhanced.agravity.ts +1 -1
- package/model/metadata.agravity.ts +1 -1
- package/model/models.ts +9 -0
- package/model/moveCollectionBody.agravity.ts +1 -1
- package/model/permissionChange.agravity.ts +9 -8
- package/model/permissionEntity.agravity.ts +24 -0
- 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 +1 -1
- package/model/quickShareFull.agravity.ts +1 -1
- 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/translation.agravity.ts +16 -0
- package/model/translationRequest.agravity.ts +17 -0
- package/model/uiTutorials.agravity.ts +1 -1
- package/model/versionEntity.agravity.ts +1 -1
- package/model/versionedAsset.agravity.ts +2 -1
- package/model/whereParam.agravity.ts +1 -1
- package/model/widgetLayout.agravity.ts +25 -0
- package/model/widgetProperties.agravity.ts +20 -0
- package/model/workspace.agravity.ts +3 -3
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -13,7 +13,9 @@ api/collectionManagement.agravity.ts
|
|
|
13
13
|
api/collectionSharing.agravity.ts
|
|
14
14
|
api/collectionTypeItemBlueprintManagement.agravity.ts
|
|
15
15
|
api/collectionTypeManagement.agravity.ts
|
|
16
|
+
api/commentsManagement.agravity.ts
|
|
16
17
|
api/configurationManagement.agravity.ts
|
|
18
|
+
api/dashboardWidgetManagement.agravity.ts
|
|
17
19
|
api/downloadFormatManagement.agravity.ts
|
|
18
20
|
api/downloadZip.agravity.ts
|
|
19
21
|
api/generalManagement.agravity.ts
|
|
@@ -34,6 +36,7 @@ api/stockImport.agravity.ts
|
|
|
34
36
|
api/structureImport.agravity.ts
|
|
35
37
|
api/translationManagement.agravity.ts
|
|
36
38
|
api/webAppData.agravity.ts
|
|
39
|
+
api/widgetLayoutManagement.agravity.ts
|
|
37
40
|
api/wordpressManagement.agravity.ts
|
|
38
41
|
api/workspaceManagement.agravity.ts
|
|
39
42
|
configuration.ts
|
|
@@ -43,6 +46,7 @@ index.ts
|
|
|
43
46
|
model/agravityErrorResponse.agravity.ts
|
|
44
47
|
model/agravityInfoResponse.agravity.ts
|
|
45
48
|
model/agravityUser.agravity.ts
|
|
49
|
+
model/agravityUserDto.agravity.ts
|
|
46
50
|
model/agravityVersion.agravity.ts
|
|
47
51
|
model/allWebAppData.agravity.ts
|
|
48
52
|
model/apiKeyResponse.agravity.ts
|
|
@@ -65,7 +69,9 @@ model/collTypeItemBlueprint.agravity.ts
|
|
|
65
69
|
model/collection.agravity.ts
|
|
66
70
|
model/collectionType.agravity.ts
|
|
67
71
|
model/collectionUDL.agravity.ts
|
|
72
|
+
model/comment.agravity.ts
|
|
68
73
|
model/createSftpUserResult.agravity.ts
|
|
74
|
+
model/dashboardWidget.agravity.ts
|
|
69
75
|
model/dataResult.agravity.ts
|
|
70
76
|
model/distZipResponse.agravity.ts
|
|
71
77
|
model/downloadFormat.agravity.ts
|
|
@@ -76,6 +82,7 @@ model/emailAddress.agravity.ts
|
|
|
76
82
|
model/entityId.agravity.ts
|
|
77
83
|
model/entityIdName.agravity.ts
|
|
78
84
|
model/entityTranslations.agravity.ts
|
|
85
|
+
model/excelExportTableEntity.agravity.ts
|
|
79
86
|
model/frontendAppConfig.agravity.ts
|
|
80
87
|
model/groupAllAppData.agravity.ts
|
|
81
88
|
model/historyEntry.agravity.ts
|
|
@@ -84,6 +91,7 @@ model/metadata.agravity.ts
|
|
|
84
91
|
model/models.ts
|
|
85
92
|
model/moveCollectionBody.agravity.ts
|
|
86
93
|
model/permissionChange.agravity.ts
|
|
94
|
+
model/permissionEntity.agravity.ts
|
|
87
95
|
model/permissionSetting.agravity.ts
|
|
88
96
|
model/publishEntity.agravity.ts
|
|
89
97
|
model/publishedAsset.agravity.ts
|
|
@@ -109,10 +117,14 @@ model/sharedCollectionFull.agravity.ts
|
|
|
109
117
|
model/signalRConnectionInfo.agravity.ts
|
|
110
118
|
model/simpleAsset.agravity.ts
|
|
111
119
|
model/staticDefinedList.agravity.ts
|
|
120
|
+
model/translation.agravity.ts
|
|
121
|
+
model/translationRequest.agravity.ts
|
|
112
122
|
model/uiTutorials.agravity.ts
|
|
113
123
|
model/versionEntity.agravity.ts
|
|
114
124
|
model/versionedAsset.agravity.ts
|
|
115
125
|
model/whereParam.agravity.ts
|
|
126
|
+
model/widgetLayout.agravity.ts
|
|
127
|
+
model/widgetProperties.agravity.ts
|
|
116
128
|
model/workspace.agravity.ts
|
|
117
129
|
ng-package.json
|
|
118
130
|
package.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @agravity/private@
|
|
1
|
+
## @agravity/private@6.0.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 @agravity/private@
|
|
22
|
+
npm install @agravity/private@6.0.0 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
package/api/api.ts
CHANGED
|
@@ -18,8 +18,12 @@ export * from './collectionTypeItemBlueprintManagement.agravity';
|
|
|
18
18
|
import { CollectionTypeItemBlueprintManagementService } from './collectionTypeItemBlueprintManagement.agravity';
|
|
19
19
|
export * from './collectionTypeManagement.agravity';
|
|
20
20
|
import { CollectionTypeManagementService } from './collectionTypeManagement.agravity';
|
|
21
|
+
export * from './commentsManagement.agravity';
|
|
22
|
+
import { CommentsManagementService } from './commentsManagement.agravity';
|
|
21
23
|
export * from './configurationManagement.agravity';
|
|
22
24
|
import { ConfigurationManagementService } from './configurationManagement.agravity';
|
|
25
|
+
export * from './dashboardWidgetManagement.agravity';
|
|
26
|
+
import { DashboardWidgetManagementService } from './dashboardWidgetManagement.agravity';
|
|
23
27
|
export * from './downloadFormatManagement.agravity';
|
|
24
28
|
import { DownloadFormatManagementService } from './downloadFormatManagement.agravity';
|
|
25
29
|
export * from './downloadZip.agravity';
|
|
@@ -60,6 +64,8 @@ export * from './translationManagement.agravity';
|
|
|
60
64
|
import { TranslationManagementService } from './translationManagement.agravity';
|
|
61
65
|
export * from './webAppData.agravity';
|
|
62
66
|
import { WebAppDataService } from './webAppData.agravity';
|
|
67
|
+
export * from './widgetLayoutManagement.agravity';
|
|
68
|
+
import { WidgetLayoutManagementService } from './widgetLayoutManagement.agravity';
|
|
63
69
|
export * from './wordpressManagement.agravity';
|
|
64
70
|
import { WordpressManagementService } from './wordpressManagement.agravity';
|
|
65
71
|
export * from './workspaceManagement.agravity';
|
|
@@ -75,7 +81,9 @@ export const APIS = [
|
|
|
75
81
|
CollectionSharingService,
|
|
76
82
|
CollectionTypeItemBlueprintManagementService,
|
|
77
83
|
CollectionTypeManagementService,
|
|
84
|
+
CommentsManagementService,
|
|
78
85
|
ConfigurationManagementService,
|
|
86
|
+
DashboardWidgetManagementService,
|
|
79
87
|
DownloadFormatManagementService,
|
|
80
88
|
DownloadZipService,
|
|
81
89
|
GeneralManagementService,
|
|
@@ -96,6 +104,7 @@ export const APIS = [
|
|
|
96
104
|
StructureImportService,
|
|
97
105
|
TranslationManagementService,
|
|
98
106
|
WebAppDataService,
|
|
107
|
+
WidgetLayoutManagementService,
|
|
99
108
|
WordpressManagementService,
|
|
100
109
|
WorkspaceManagementService
|
|
101
110
|
];
|
|
@@ -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
|
+
* The version of the OpenAPI document: 6.0.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
|
+
* The version of the OpenAPI document: 6.0.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -100,10 +100,12 @@ export class AssetManagementService {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
+
* This endpoint allows to upload one asset which is put onto the storage (INBOX). Collection ID is mandatory on asset upload. Previewof can be used alone.
|
|
103
104
|
* @param name
|
|
104
105
|
* @param collectionId
|
|
105
106
|
* @param file
|
|
106
107
|
* @param filename
|
|
108
|
+
* @param previewof
|
|
107
109
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
108
110
|
* @param reportProgress flag to report request and response progress.
|
|
109
111
|
*/
|
|
@@ -112,6 +114,7 @@ export class AssetManagementService {
|
|
|
112
114
|
collectionId?: string,
|
|
113
115
|
file?: Blob,
|
|
114
116
|
filename?: string,
|
|
117
|
+
previewof?: string,
|
|
115
118
|
observe?: 'body',
|
|
116
119
|
reportProgress?: boolean,
|
|
117
120
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -121,6 +124,7 @@ export class AssetManagementService {
|
|
|
121
124
|
collectionId?: string,
|
|
122
125
|
file?: Blob,
|
|
123
126
|
filename?: string,
|
|
127
|
+
previewof?: string,
|
|
124
128
|
observe?: 'response',
|
|
125
129
|
reportProgress?: boolean,
|
|
126
130
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -130,6 +134,7 @@ export class AssetManagementService {
|
|
|
130
134
|
collectionId?: string,
|
|
131
135
|
file?: Blob,
|
|
132
136
|
filename?: string,
|
|
137
|
+
previewof?: string,
|
|
133
138
|
observe?: 'events',
|
|
134
139
|
reportProgress?: boolean,
|
|
135
140
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -139,6 +144,7 @@ export class AssetManagementService {
|
|
|
139
144
|
collectionId?: string,
|
|
140
145
|
file?: Blob,
|
|
141
146
|
filename?: string,
|
|
147
|
+
previewof?: string,
|
|
142
148
|
observe: any = 'body',
|
|
143
149
|
reportProgress: boolean = false,
|
|
144
150
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -184,6 +190,9 @@ export class AssetManagementService {
|
|
|
184
190
|
if (filename !== undefined) {
|
|
185
191
|
formParams = (formParams.append('filename', <any>filename) as any) || formParams;
|
|
186
192
|
}
|
|
193
|
+
if (previewof !== undefined) {
|
|
194
|
+
formParams = (formParams.append('previewof', <any>previewof) as any) || formParams;
|
|
195
|
+
}
|
|
187
196
|
|
|
188
197
|
let responseType_: 'text' | 'json' = 'json';
|
|
189
198
|
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -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
|
+
* The version of the OpenAPI document: 6.0.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -534,6 +534,53 @@ export class AssetOperationsService {
|
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
/**
|
|
538
|
+
* This endpoint deletes the alternative thumbnail blob of an asset and renews it
|
|
539
|
+
* @param id The ID of the asset.
|
|
540
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
541
|
+
* @param reportProgress flag to report request and response progress.
|
|
542
|
+
*/
|
|
543
|
+
public httpDeleteAlternativeThumb(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
|
|
544
|
+
public httpDeleteAlternativeThumb(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
545
|
+
public httpDeleteAlternativeThumb(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
546
|
+
public httpDeleteAlternativeThumb(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
547
|
+
if (id === null || id === undefined) {
|
|
548
|
+
throw new Error('Required parameter id was null or undefined when calling httpDeleteAlternativeThumb.');
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
let headers = this.defaultHeaders;
|
|
552
|
+
|
|
553
|
+
let credential: string | undefined;
|
|
554
|
+
// authentication (msal_auth) required
|
|
555
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
556
|
+
if (credential) {
|
|
557
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
561
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
562
|
+
// to determine the Accept header
|
|
563
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
564
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
565
|
+
}
|
|
566
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
567
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
571
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
572
|
+
responseType_ = 'text';
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return this.httpClient.patch<AgravityInfoResponse>(`${this.configuration.basePath}/assets/${encodeURIComponent(String(id))}/alternative`, null, {
|
|
576
|
+
responseType: <any>responseType_,
|
|
577
|
+
withCredentials: this.configuration.withCredentials,
|
|
578
|
+
headers: headers,
|
|
579
|
+
observe: observe,
|
|
580
|
+
reportProgress: reportProgress
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
|
|
537
584
|
/**
|
|
538
585
|
* This endpoint deletes a specific blob from the asset (if exists)
|
|
539
586
|
* @param id The ID of the asset.
|
|
@@ -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
|
+
* The version of the OpenAPI document: 6.0.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
|
+
* The version of the OpenAPI document: 6.0.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -187,6 +187,7 @@ export class AssetVersioningService {
|
|
|
187
187
|
* @param collectionId
|
|
188
188
|
* @param file
|
|
189
189
|
* @param filename
|
|
190
|
+
* @param previewof
|
|
190
191
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
191
192
|
* @param reportProgress flag to report request and response progress.
|
|
192
193
|
*/
|
|
@@ -196,6 +197,7 @@ export class AssetVersioningService {
|
|
|
196
197
|
collectionId?: string,
|
|
197
198
|
file?: Blob,
|
|
198
199
|
filename?: string,
|
|
200
|
+
previewof?: string,
|
|
199
201
|
observe?: 'body',
|
|
200
202
|
reportProgress?: boolean,
|
|
201
203
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -206,6 +208,7 @@ export class AssetVersioningService {
|
|
|
206
208
|
collectionId?: string,
|
|
207
209
|
file?: Blob,
|
|
208
210
|
filename?: string,
|
|
211
|
+
previewof?: string,
|
|
209
212
|
observe?: 'response',
|
|
210
213
|
reportProgress?: boolean,
|
|
211
214
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -216,6 +219,7 @@ export class AssetVersioningService {
|
|
|
216
219
|
collectionId?: string,
|
|
217
220
|
file?: Blob,
|
|
218
221
|
filename?: string,
|
|
222
|
+
previewof?: string,
|
|
219
223
|
observe?: 'events',
|
|
220
224
|
reportProgress?: boolean,
|
|
221
225
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -226,6 +230,7 @@ export class AssetVersioningService {
|
|
|
226
230
|
collectionId?: string,
|
|
227
231
|
file?: Blob,
|
|
228
232
|
filename?: string,
|
|
233
|
+
previewof?: string,
|
|
229
234
|
observe: any = 'body',
|
|
230
235
|
reportProgress: boolean = false,
|
|
231
236
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
@@ -282,6 +287,9 @@ export class AssetVersioningService {
|
|
|
282
287
|
if (filename !== undefined) {
|
|
283
288
|
formParams = (formParams.append('filename', <any>filename) as any) || formParams;
|
|
284
289
|
}
|
|
290
|
+
if (previewof !== undefined) {
|
|
291
|
+
formParams = (formParams.append('previewof', <any>previewof) as any) || formParams;
|
|
292
|
+
}
|
|
285
293
|
|
|
286
294
|
let responseType_: 'text' | 'json' = 'json';
|
|
287
295
|
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -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
|
+
* The version of the OpenAPI document: 6.0.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,7 @@ import { Observable } from 'rxjs';
|
|
|
19
19
|
import { AgravityErrorResponse } from '../model/models';
|
|
20
20
|
import { AgravityInfoResponse } from '../model/models';
|
|
21
21
|
import { AgravityUser } from '../model/models';
|
|
22
|
+
import { AgravityUserDto } from '../model/models';
|
|
22
23
|
import { SasToken } from '../model/models';
|
|
23
24
|
|
|
24
25
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -84,6 +85,159 @@ export class AuthenticationManagementService {
|
|
|
84
85
|
return httpParams;
|
|
85
86
|
}
|
|
86
87
|
|
|
88
|
+
/**
|
|
89
|
+
* This endpoint creates a new api key user in database and registers it on the public function
|
|
90
|
+
* @param agravityUserDto The user to create.
|
|
91
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
92
|
+
* @param reportProgress flag to report request and response progress.
|
|
93
|
+
*/
|
|
94
|
+
public httpAuthCreatePublicApiKey(agravityUserDto: AgravityUserDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityUser>;
|
|
95
|
+
public httpAuthCreatePublicApiKey(
|
|
96
|
+
agravityUserDto: AgravityUserDto,
|
|
97
|
+
observe?: 'response',
|
|
98
|
+
reportProgress?: boolean,
|
|
99
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
100
|
+
): Observable<HttpResponse<AgravityUser>>;
|
|
101
|
+
public httpAuthCreatePublicApiKey(
|
|
102
|
+
agravityUserDto: AgravityUserDto,
|
|
103
|
+
observe?: 'events',
|
|
104
|
+
reportProgress?: boolean,
|
|
105
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
106
|
+
): Observable<HttpEvent<AgravityUser>>;
|
|
107
|
+
public httpAuthCreatePublicApiKey(agravityUserDto: AgravityUserDto, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
108
|
+
if (agravityUserDto === null || agravityUserDto === undefined) {
|
|
109
|
+
throw new Error('Required parameter agravityUserDto was null or undefined when calling httpAuthCreatePublicApiKey.');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
let headers = this.defaultHeaders;
|
|
113
|
+
|
|
114
|
+
let credential: string | undefined;
|
|
115
|
+
// authentication (msal_auth) required
|
|
116
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
117
|
+
if (credential) {
|
|
118
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
122
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
123
|
+
// to determine the Accept header
|
|
124
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
125
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
126
|
+
}
|
|
127
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
128
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// to determine the Content-Type header
|
|
132
|
+
const consumes: string[] = ['application/json'];
|
|
133
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
134
|
+
if (httpContentTypeSelected !== undefined) {
|
|
135
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
139
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
140
|
+
responseType_ = 'text';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
return this.httpClient.post<AgravityUser>(`${this.configuration.basePath}/auth/apikey`, agravityUserDto, {
|
|
144
|
+
responseType: <any>responseType_,
|
|
145
|
+
withCredentials: this.configuration.withCredentials,
|
|
146
|
+
headers: headers,
|
|
147
|
+
observe: observe,
|
|
148
|
+
reportProgress: reportProgress
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* This endpoint to end impersonation an Agravity user.
|
|
154
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
155
|
+
* @param reportProgress flag to report request and response progress.
|
|
156
|
+
*/
|
|
157
|
+
public httpAuthDeleteImpersonateUser(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
|
|
158
|
+
public httpAuthDeleteImpersonateUser(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
159
|
+
public httpAuthDeleteImpersonateUser(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
160
|
+
public httpAuthDeleteImpersonateUser(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
161
|
+
let headers = this.defaultHeaders;
|
|
162
|
+
|
|
163
|
+
let credential: string | undefined;
|
|
164
|
+
// authentication (msal_auth) required
|
|
165
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
166
|
+
if (credential) {
|
|
167
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
171
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
172
|
+
// to determine the Accept header
|
|
173
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
174
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
175
|
+
}
|
|
176
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
177
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
181
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
182
|
+
responseType_ = 'text';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
return this.httpClient.delete<AgravityInfoResponse>(`${this.configuration.basePath}/auth/impersonate`, {
|
|
186
|
+
responseType: <any>responseType_,
|
|
187
|
+
withCredentials: this.configuration.withCredentials,
|
|
188
|
+
headers: headers,
|
|
189
|
+
observe: observe,
|
|
190
|
+
reportProgress: reportProgress
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* This endpoint deletes an api key user and removed the key from public functions.
|
|
196
|
+
* @param id The ID of api key user
|
|
197
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
198
|
+
* @param reportProgress flag to report request and response progress.
|
|
199
|
+
*/
|
|
200
|
+
public httpAuthDeletePublicApiKey(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<any>;
|
|
201
|
+
public httpAuthDeletePublicApiKey(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<any>>;
|
|
202
|
+
public httpAuthDeletePublicApiKey(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<any>>;
|
|
203
|
+
public httpAuthDeletePublicApiKey(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
204
|
+
if (id === null || id === undefined) {
|
|
205
|
+
throw new Error('Required parameter id was null or undefined when calling httpAuthDeletePublicApiKey.');
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
let headers = this.defaultHeaders;
|
|
209
|
+
|
|
210
|
+
let credential: string | undefined;
|
|
211
|
+
// authentication (msal_auth) required
|
|
212
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
213
|
+
if (credential) {
|
|
214
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
218
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
219
|
+
// to determine the Accept header
|
|
220
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
221
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
222
|
+
}
|
|
223
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
224
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
228
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
229
|
+
responseType_ = 'text';
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
return this.httpClient.delete<any>(`${this.configuration.basePath}/auth/apikey/${encodeURIComponent(String(id))}`, {
|
|
233
|
+
responseType: <any>responseType_,
|
|
234
|
+
withCredentials: this.configuration.withCredentials,
|
|
235
|
+
headers: headers,
|
|
236
|
+
observe: observe,
|
|
237
|
+
reportProgress: reportProgress
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
|
|
87
241
|
/**
|
|
88
242
|
* This endpoint returns the user from database of the HTTP request.
|
|
89
243
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -195,22 +349,39 @@ export class AuthenticationManagementService {
|
|
|
195
349
|
/**
|
|
196
350
|
* This endpoint returns all the Agravity users from database.
|
|
197
351
|
* @param limit (Optional): If the reponse should be limited to name and email.
|
|
352
|
+
* @param apikey (Optional): If the response should be limited to api key users
|
|
198
353
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
199
354
|
* @param reportProgress flag to report request and response progress.
|
|
200
355
|
*/
|
|
201
|
-
public httpAuthGetAgravityUsers(limit?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<AgravityUser>>;
|
|
202
356
|
public httpAuthGetAgravityUsers(
|
|
203
357
|
limit?: boolean,
|
|
358
|
+
apikey?: boolean,
|
|
359
|
+
observe?: 'body',
|
|
360
|
+
reportProgress?: boolean,
|
|
361
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
362
|
+
): Observable<Array<AgravityUser>>;
|
|
363
|
+
public httpAuthGetAgravityUsers(
|
|
364
|
+
limit?: boolean,
|
|
365
|
+
apikey?: boolean,
|
|
204
366
|
observe?: 'response',
|
|
205
367
|
reportProgress?: boolean,
|
|
206
368
|
options?: { httpHeaderAccept?: 'application/json' }
|
|
207
369
|
): Observable<HttpResponse<Array<AgravityUser>>>;
|
|
208
|
-
public httpAuthGetAgravityUsers(
|
|
209
|
-
|
|
370
|
+
public httpAuthGetAgravityUsers(
|
|
371
|
+
limit?: boolean,
|
|
372
|
+
apikey?: boolean,
|
|
373
|
+
observe?: 'events',
|
|
374
|
+
reportProgress?: boolean,
|
|
375
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
376
|
+
): Observable<HttpEvent<Array<AgravityUser>>>;
|
|
377
|
+
public httpAuthGetAgravityUsers(limit?: boolean, apikey?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
210
378
|
let queryParameters = new HttpParams({ encoder: this.encoder });
|
|
211
379
|
if (limit !== undefined && limit !== null) {
|
|
212
380
|
queryParameters = this.addToHttpParams(queryParameters, <any>limit, 'limit');
|
|
213
381
|
}
|
|
382
|
+
if (apikey !== undefined && apikey !== null) {
|
|
383
|
+
queryParameters = this.addToHttpParams(queryParameters, <any>apikey, 'apikey');
|
|
384
|
+
}
|
|
214
385
|
|
|
215
386
|
let headers = this.defaultHeaders;
|
|
216
387
|
|
|
@@ -470,4 +641,56 @@ export class AuthenticationManagementService {
|
|
|
470
641
|
reportProgress: reportProgress
|
|
471
642
|
});
|
|
472
643
|
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* This endpoint to impersonate an Agravity user.
|
|
647
|
+
* @param id The ID of the user which should be impersonated.
|
|
648
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
649
|
+
* @param reportProgress flag to report request and response progress.
|
|
650
|
+
*/
|
|
651
|
+
public httpAuthPatchImpersonateUser(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
|
|
652
|
+
public httpAuthPatchImpersonateUser(
|
|
653
|
+
id: string,
|
|
654
|
+
observe?: 'response',
|
|
655
|
+
reportProgress?: boolean,
|
|
656
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
657
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
658
|
+
public httpAuthPatchImpersonateUser(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
659
|
+
public httpAuthPatchImpersonateUser(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
|
|
660
|
+
if (id === null || id === undefined) {
|
|
661
|
+
throw new Error('Required parameter id was null or undefined when calling httpAuthPatchImpersonateUser.');
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
let headers = this.defaultHeaders;
|
|
665
|
+
|
|
666
|
+
let credential: string | undefined;
|
|
667
|
+
// authentication (msal_auth) required
|
|
668
|
+
credential = this.configuration.lookupCredential('msal_auth');
|
|
669
|
+
if (credential) {
|
|
670
|
+
headers = headers.set('Authorization', 'Bearer ' + credential);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
674
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
675
|
+
// to determine the Accept header
|
|
676
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
677
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
678
|
+
}
|
|
679
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
680
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
684
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
685
|
+
responseType_ = 'text';
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
return this.httpClient.patch<AgravityInfoResponse>(`${this.configuration.basePath}/auth/impersonate/${encodeURIComponent(String(id))}`, null, {
|
|
689
|
+
responseType: <any>responseType_,
|
|
690
|
+
withCredentials: this.configuration.withCredentials,
|
|
691
|
+
headers: headers,
|
|
692
|
+
observe: observe,
|
|
693
|
+
reportProgress: reportProgress
|
|
694
|
+
});
|
|
695
|
+
}
|
|
473
696
|
}
|
|
@@ -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
|
+
* The version of the OpenAPI document: 6.0.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
|
+
* The version of the OpenAPI document: 6.0.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|