@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.
Files changed (124) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/api.ts +9 -0
  4. package/api/assetIconRuleManagement.agravity.ts +1 -1
  5. package/api/assetManagement.agravity.ts +10 -1
  6. package/api/assetOperations.agravity.ts +48 -1
  7. package/api/assetPublishing.agravity.ts +1 -1
  8. package/api/assetVersioning.agravity.ts +9 -1
  9. package/api/authenticationManagement.agravity.ts +227 -4
  10. package/api/collectionManagement.agravity.ts +1 -1
  11. package/api/collectionSharing.agravity.ts +1 -1
  12. package/api/collectionTypeItemBlueprintManagement.agravity.ts +1 -1
  13. package/api/collectionTypeManagement.agravity.ts +6 -5
  14. package/api/commentsManagement.agravity.ts +294 -0
  15. package/api/configurationManagement.agravity.ts +72 -8
  16. package/api/dashboardWidgetManagement.agravity.ts +383 -0
  17. package/api/downloadFormatManagement.agravity.ts +1 -1
  18. package/api/downloadZip.agravity.ts +1 -1
  19. package/api/generalManagement.agravity.ts +1 -1
  20. package/api/helperTools.agravity.ts +207 -1
  21. package/api/historyEntryManagement.agravity.ts +1 -1
  22. package/api/iccProfileManagement.agravity.ts +1 -1
  23. package/api/listBlobs.agravity.ts +1 -1
  24. package/api/listQueues.agravity.ts +1 -1
  25. package/api/permissionsManagement.agravity.ts +1 -1
  26. package/api/publishing.agravity.ts +1 -1
  27. package/api/quickshareManagement.agravity.ts +1 -1
  28. package/api/savedSearchManagement.agravity.ts +1 -1
  29. package/api/searchManagement.agravity.ts +1 -1
  30. package/api/secureUpload.agravity.ts +1 -1
  31. package/api/signalRConnectionManagement.agravity.ts +1 -1
  32. package/api/staticDefinedListManagement.agravity.ts +1 -1
  33. package/api/stockImport.agravity.ts +1 -1
  34. package/api/structureImport.agravity.ts +1 -1
  35. package/api/translationManagement.agravity.ts +77 -1
  36. package/api/webAppData.agravity.ts +1 -1
  37. package/api/widgetLayoutManagement.agravity.ts +185 -0
  38. package/api/wordpressManagement.agravity.ts +1 -1
  39. package/api/workspaceManagement.agravity.ts +6 -5
  40. package/api.module.ts +3 -0
  41. package/model/agravityErrorResponse.agravity.ts +1 -1
  42. package/model/agravityInfoResponse.agravity.ts +1 -1
  43. package/model/agravityUser.agravity.ts +3 -1
  44. package/model/agravityUserDto.agravity.ts +17 -0
  45. package/model/agravityVersion.agravity.ts +1 -1
  46. package/model/allWebAppData.agravity.ts +1 -1
  47. package/model/apiKeyResponse.agravity.ts +1 -1
  48. package/model/appConfigTableEntity.agravity.ts +2 -1
  49. package/model/artificialIntelligenceGroup.agravity.ts +1 -1
  50. package/model/asset.agravity.ts +10 -1
  51. package/model/assetAvailability.agravity.ts +1 -1
  52. package/model/assetBlob.agravity.ts +1 -1
  53. package/model/assetBulkUpdate.agravity.ts +1 -1
  54. package/model/assetCollectionLink.agravity.ts +1 -1
  55. package/model/assetIconRule.agravity.ts +1 -1
  56. package/model/assetIdFormat.agravity.ts +1 -1
  57. package/model/assetPageResult.agravity.ts +1 -1
  58. package/model/assetsOperationBody.agravity.ts +1 -1
  59. package/model/azSearchOptions.agravity.ts +1 -1
  60. package/model/azureIdentity.agravity.ts +1 -1
  61. package/model/blobInfoObj.agravity.ts +1 -1
  62. package/model/collTypeItem.agravity.ts +1 -1
  63. package/model/collTypeItemBlueprint.agravity.ts +1 -1
  64. package/model/collection.agravity.ts +10 -1
  65. package/model/collectionType.agravity.ts +12 -3
  66. package/model/collectionUDL.agravity.ts +1 -1
  67. package/model/comment.agravity.ts +25 -0
  68. package/model/createSftpUserResult.agravity.ts +1 -1
  69. package/model/dashboardWidget.agravity.ts +27 -0
  70. package/model/dataResult.agravity.ts +1 -1
  71. package/model/distZipResponse.agravity.ts +1 -1
  72. package/model/downloadFormat.agravity.ts +1 -1
  73. package/model/downloadObject.agravity.ts +1 -1
  74. package/model/downloadZipRequest.agravity.ts +1 -1
  75. package/model/dynamicImageOperation.agravity.ts +1 -1
  76. package/model/emailAddress.agravity.ts +1 -1
  77. package/model/entityId.agravity.ts +1 -1
  78. package/model/entityIdName.agravity.ts +1 -1
  79. package/model/entityTranslations.agravity.ts +1 -1
  80. package/model/excelExportTableEntity.agravity.ts +22 -0
  81. package/model/frontendAppConfig.agravity.ts +1 -1
  82. package/model/groupAllAppData.agravity.ts +1 -1
  83. package/model/historyEntry.agravity.ts +1 -1
  84. package/model/infoEntitySkillEnhanced.agravity.ts +1 -1
  85. package/model/metadata.agravity.ts +1 -1
  86. package/model/models.ts +9 -0
  87. package/model/moveCollectionBody.agravity.ts +1 -1
  88. package/model/permissionChange.agravity.ts +9 -8
  89. package/model/permissionEntity.agravity.ts +24 -0
  90. package/model/permissionSetting.agravity.ts +1 -1
  91. package/model/publishEntity.agravity.ts +1 -1
  92. package/model/publishedAsset.agravity.ts +1 -1
  93. package/model/quickShare.agravity.ts +1 -1
  94. package/model/quickShareFull.agravity.ts +1 -1
  95. package/model/sasToken.agravity.ts +1 -1
  96. package/model/savedSearch.agravity.ts +1 -1
  97. package/model/searchAdminDataSourceStatus.agravity.ts +1 -1
  98. package/model/searchAdminIndexStatus.agravity.ts +1 -1
  99. package/model/searchAdminIndexerLastRun.agravity.ts +1 -1
  100. package/model/searchAdminIndexerStatus.agravity.ts +1 -1
  101. package/model/searchAdminSkillStatus.agravity.ts +1 -1
  102. package/model/searchAdminStatistics.agravity.ts +1 -1
  103. package/model/searchAdminStatus.agravity.ts +1 -1
  104. package/model/searchFacet.agravity.ts +1 -1
  105. package/model/searchFacetEntity.agravity.ts +1 -1
  106. package/model/searchResult.agravity.ts +1 -1
  107. package/model/searchableItem.agravity.ts +1 -1
  108. package/model/secureUploadEntity.agravity.ts +1 -1
  109. package/model/sharedAsset.agravity.ts +1 -1
  110. package/model/sharedCollection.agravity.ts +1 -1
  111. package/model/sharedCollectionFull.agravity.ts +1 -1
  112. package/model/signalRConnectionInfo.agravity.ts +1 -1
  113. package/model/simpleAsset.agravity.ts +1 -1
  114. package/model/staticDefinedList.agravity.ts +1 -1
  115. package/model/translation.agravity.ts +16 -0
  116. package/model/translationRequest.agravity.ts +17 -0
  117. package/model/uiTutorials.agravity.ts +1 -1
  118. package/model/versionEntity.agravity.ts +1 -1
  119. package/model/versionedAsset.agravity.ts +2 -1
  120. package/model/whereParam.agravity.ts +1 -1
  121. package/model/widgetLayout.agravity.ts +25 -0
  122. package/model/widgetProperties.agravity.ts +20 -0
  123. package/model/workspace.agravity.ts +3 -3
  124. package/package.json +1 -1
@@ -0,0 +1,383 @@
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: 6.0.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, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
16
+ import { CustomHttpParameterCodec } from '../encoder';
17
+ import { Observable } from 'rxjs';
18
+
19
+ import { AgravityErrorResponse } from '../model/models';
20
+ import { DashboardWidget } from '../model/models';
21
+
22
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
23
+ import { AgravityConfiguration } from '../configuration';
24
+
25
+ @Injectable({
26
+ providedIn: 'root'
27
+ })
28
+ export class DashboardWidgetManagementService {
29
+ protected basePath = 'http://localhost:7071/api';
30
+ public defaultHeaders = new HttpHeaders();
31
+ public configuration = new AgravityConfiguration();
32
+ public encoder: HttpParameterCodec;
33
+
34
+ constructor(
35
+ protected httpClient: HttpClient,
36
+ @Optional() @Inject(BASE_PATH) basePath: string,
37
+ @Optional() configuration: AgravityConfiguration
38
+ ) {
39
+ if (configuration) {
40
+ this.configuration = configuration;
41
+ }
42
+ if (typeof this.configuration.basePath !== 'string') {
43
+ if (typeof basePath !== 'string') {
44
+ basePath = this.basePath;
45
+ }
46
+ this.configuration.basePath = basePath;
47
+ }
48
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
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, (value as Date).toISOString().substr(0, 10));
71
+ } else {
72
+ throw Error('key may not be null if value is Date');
73
+ }
74
+ } else {
75
+ Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
76
+ }
77
+ } else if (key != null) {
78
+ httpParams = httpParams.append(key, value);
79
+ } else {
80
+ throw Error('key may not be null if value is not object or array');
81
+ }
82
+ return httpParams;
83
+ }
84
+
85
+ /**
86
+ * This endpoint creates a dashboard widget in database.
87
+ * @param dashboardWidget The dashboard widget to create.
88
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
89
+ * @param reportProgress flag to report request and response progress.
90
+ */
91
+ public httpDashboardWidgetsCreate(dashboardWidget: DashboardWidget, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<DashboardWidget>;
92
+ public httpDashboardWidgetsCreate(
93
+ dashboardWidget: DashboardWidget,
94
+ observe?: 'response',
95
+ reportProgress?: boolean,
96
+ options?: { httpHeaderAccept?: 'application/json' }
97
+ ): Observable<HttpResponse<DashboardWidget>>;
98
+ public httpDashboardWidgetsCreate(
99
+ dashboardWidget: DashboardWidget,
100
+ observe?: 'events',
101
+ reportProgress?: boolean,
102
+ options?: { httpHeaderAccept?: 'application/json' }
103
+ ): Observable<HttpEvent<DashboardWidget>>;
104
+ public httpDashboardWidgetsCreate(dashboardWidget: DashboardWidget, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
105
+ if (dashboardWidget === null || dashboardWidget === undefined) {
106
+ throw new Error('Required parameter dashboardWidget was null or undefined when calling httpDashboardWidgetsCreate.');
107
+ }
108
+
109
+ let headers = this.defaultHeaders;
110
+
111
+ let credential: string | undefined;
112
+ // authentication (msal_auth) required
113
+ credential = this.configuration.lookupCredential('msal_auth');
114
+ if (credential) {
115
+ headers = headers.set('Authorization', 'Bearer ' + credential);
116
+ }
117
+
118
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
119
+ if (httpHeaderAcceptSelected === undefined) {
120
+ // to determine the Accept header
121
+ const httpHeaderAccepts: string[] = ['application/json'];
122
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
123
+ }
124
+ if (httpHeaderAcceptSelected !== undefined) {
125
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
126
+ }
127
+
128
+ // to determine the Content-Type header
129
+ const consumes: string[] = ['application/json'];
130
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
131
+ if (httpContentTypeSelected !== undefined) {
132
+ headers = headers.set('Content-Type', httpContentTypeSelected);
133
+ }
134
+
135
+ let responseType_: 'text' | 'json' = 'json';
136
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
137
+ responseType_ = 'text';
138
+ }
139
+
140
+ return this.httpClient.post<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets`, dashboardWidget, {
141
+ responseType: <any>responseType_,
142
+ withCredentials: this.configuration.withCredentials,
143
+ headers: headers,
144
+ observe: observe,
145
+ reportProgress: reportProgress
146
+ });
147
+ }
148
+
149
+ /**
150
+ * This endpoint deletes a single dashboard widget.
151
+ * @param id The ID of the dashboard widget.
152
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
153
+ * @param reportProgress flag to report request and response progress.
154
+ */
155
+ public httpDashboardWidgetsDeleteById(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<any>;
156
+ public httpDashboardWidgetsDeleteById(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<any>>;
157
+ public httpDashboardWidgetsDeleteById(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<any>>;
158
+ public httpDashboardWidgetsDeleteById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
159
+ if (id === null || id === undefined) {
160
+ throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsDeleteById.');
161
+ }
162
+
163
+ let headers = this.defaultHeaders;
164
+
165
+ let credential: string | undefined;
166
+ // authentication (msal_auth) required
167
+ credential = this.configuration.lookupCredential('msal_auth');
168
+ if (credential) {
169
+ headers = headers.set('Authorization', 'Bearer ' + credential);
170
+ }
171
+
172
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
173
+ if (httpHeaderAcceptSelected === undefined) {
174
+ // to determine the Accept header
175
+ const httpHeaderAccepts: string[] = ['application/json'];
176
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
177
+ }
178
+ if (httpHeaderAcceptSelected !== undefined) {
179
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
180
+ }
181
+
182
+ let responseType_: 'text' | 'json' = 'json';
183
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
184
+ responseType_ = 'text';
185
+ }
186
+
187
+ return this.httpClient.delete<any>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, {
188
+ responseType: <any>responseType_,
189
+ withCredentials: this.configuration.withCredentials,
190
+ headers: headers,
191
+ observe: observe,
192
+ reportProgress: reportProgress
193
+ });
194
+ }
195
+
196
+ /**
197
+ * This endpoint lists all dashboard widgets in database.
198
+ * @param populate If widgetdata should be populated.
199
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
200
+ * @param reportProgress flag to report request and response progress.
201
+ */
202
+ public httpDashboardWidgetsGetAll(populate?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<DashboardWidget>>;
203
+ public httpDashboardWidgetsGetAll(
204
+ populate?: boolean,
205
+ observe?: 'response',
206
+ reportProgress?: boolean,
207
+ options?: { httpHeaderAccept?: 'application/json' }
208
+ ): Observable<HttpResponse<Array<DashboardWidget>>>;
209
+ public httpDashboardWidgetsGetAll(
210
+ populate?: boolean,
211
+ observe?: 'events',
212
+ reportProgress?: boolean,
213
+ options?: { httpHeaderAccept?: 'application/json' }
214
+ ): Observable<HttpEvent<Array<DashboardWidget>>>;
215
+ public httpDashboardWidgetsGetAll(populate?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
216
+ let queryParameters = new HttpParams({ encoder: this.encoder });
217
+ if (populate !== undefined && populate !== null) {
218
+ queryParameters = this.addToHttpParams(queryParameters, <any>populate, 'populate');
219
+ }
220
+
221
+ let headers = this.defaultHeaders;
222
+
223
+ let credential: string | undefined;
224
+ // authentication (msal_auth) required
225
+ credential = this.configuration.lookupCredential('msal_auth');
226
+ if (credential) {
227
+ headers = headers.set('Authorization', 'Bearer ' + credential);
228
+ }
229
+
230
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
231
+ if (httpHeaderAcceptSelected === undefined) {
232
+ // to determine the Accept header
233
+ const httpHeaderAccepts: string[] = ['application/json'];
234
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
235
+ }
236
+ if (httpHeaderAcceptSelected !== undefined) {
237
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
238
+ }
239
+
240
+ let responseType_: 'text' | 'json' = 'json';
241
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
242
+ responseType_ = 'text';
243
+ }
244
+
245
+ return this.httpClient.get<Array<DashboardWidget>>(`${this.configuration.basePath}/dashboard/widgets`, {
246
+ params: queryParameters,
247
+ responseType: <any>responseType_,
248
+ withCredentials: this.configuration.withCredentials,
249
+ headers: headers,
250
+ observe: observe,
251
+ reportProgress: reportProgress
252
+ });
253
+ }
254
+
255
+ /**
256
+ * This endpoint gets a dashboard widget from database.
257
+ * @param id The ID of the dashboard widget.
258
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
259
+ * @param reportProgress flag to report request and response progress.
260
+ */
261
+ public httpDashboardWidgetsGetById(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<DashboardWidget>;
262
+ public httpDashboardWidgetsGetById(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<DashboardWidget>>;
263
+ public httpDashboardWidgetsGetById(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<DashboardWidget>>;
264
+ public httpDashboardWidgetsGetById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
265
+ if (id === null || id === undefined) {
266
+ throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsGetById.');
267
+ }
268
+
269
+ let headers = this.defaultHeaders;
270
+
271
+ let credential: string | undefined;
272
+ // authentication (msal_auth) required
273
+ credential = this.configuration.lookupCredential('msal_auth');
274
+ if (credential) {
275
+ headers = headers.set('Authorization', 'Bearer ' + credential);
276
+ }
277
+
278
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
279
+ if (httpHeaderAcceptSelected === undefined) {
280
+ // to determine the Accept header
281
+ const httpHeaderAccepts: string[] = ['application/json'];
282
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
283
+ }
284
+ if (httpHeaderAcceptSelected !== undefined) {
285
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
286
+ }
287
+
288
+ let responseType_: 'text' | 'json' = 'json';
289
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
290
+ responseType_ = 'text';
291
+ }
292
+
293
+ return this.httpClient.get<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, {
294
+ responseType: <any>responseType_,
295
+ withCredentials: this.configuration.withCredentials,
296
+ headers: headers,
297
+ observe: observe,
298
+ reportProgress: reportProgress
299
+ });
300
+ }
301
+
302
+ /**
303
+ * Updates a dashboard widget in database.
304
+ * @param id The ID of the dashboard widget.
305
+ * @param dashboardWidget Body has to be a valid dashboard widget item.
306
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
307
+ * @param reportProgress flag to report request and response progress.
308
+ */
309
+ public httpDashboardWidgetsUpdateById(
310
+ id: string,
311
+ dashboardWidget: DashboardWidget,
312
+ observe?: 'body',
313
+ reportProgress?: boolean,
314
+ options?: { httpHeaderAccept?: 'application/json' }
315
+ ): Observable<DashboardWidget>;
316
+ public httpDashboardWidgetsUpdateById(
317
+ id: string,
318
+ dashboardWidget: DashboardWidget,
319
+ observe?: 'response',
320
+ reportProgress?: boolean,
321
+ options?: { httpHeaderAccept?: 'application/json' }
322
+ ): Observable<HttpResponse<DashboardWidget>>;
323
+ public httpDashboardWidgetsUpdateById(
324
+ id: string,
325
+ dashboardWidget: DashboardWidget,
326
+ observe?: 'events',
327
+ reportProgress?: boolean,
328
+ options?: { httpHeaderAccept?: 'application/json' }
329
+ ): Observable<HttpEvent<DashboardWidget>>;
330
+ public httpDashboardWidgetsUpdateById(
331
+ id: string,
332
+ dashboardWidget: DashboardWidget,
333
+ observe: any = 'body',
334
+ reportProgress: boolean = false,
335
+ options?: { httpHeaderAccept?: 'application/json' }
336
+ ): Observable<any> {
337
+ if (id === null || id === undefined) {
338
+ throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsUpdateById.');
339
+ }
340
+ if (dashboardWidget === null || dashboardWidget === undefined) {
341
+ throw new Error('Required parameter dashboardWidget was null or undefined when calling httpDashboardWidgetsUpdateById.');
342
+ }
343
+
344
+ let headers = this.defaultHeaders;
345
+
346
+ let credential: string | undefined;
347
+ // authentication (msal_auth) required
348
+ credential = this.configuration.lookupCredential('msal_auth');
349
+ if (credential) {
350
+ headers = headers.set('Authorization', 'Bearer ' + credential);
351
+ }
352
+
353
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
354
+ if (httpHeaderAcceptSelected === undefined) {
355
+ // to determine the Accept header
356
+ const httpHeaderAccepts: string[] = ['application/json'];
357
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
358
+ }
359
+ if (httpHeaderAcceptSelected !== undefined) {
360
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
361
+ }
362
+
363
+ // to determine the Content-Type header
364
+ const consumes: string[] = ['application/json'];
365
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
366
+ if (httpContentTypeSelected !== undefined) {
367
+ headers = headers.set('Content-Type', httpContentTypeSelected);
368
+ }
369
+
370
+ let responseType_: 'text' | 'json' = 'json';
371
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
372
+ responseType_ = 'text';
373
+ }
374
+
375
+ return this.httpClient.post<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, dashboardWidget, {
376
+ responseType: <any>responseType_,
377
+ withCredentials: this.configuration.withCredentials,
378
+ headers: headers,
379
+ observe: observe,
380
+ reportProgress: reportProgress
381
+ });
382
+ }
383
+ }
@@ -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.3.5
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.3.5
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.3.5
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.3.5
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).
@@ -20,6 +20,7 @@ import { AgravityErrorResponse } from '../model/models';
20
20
  import { AgravityInfoResponse } from '../model/models';
21
21
  import { AssetBlob } from '../model/models';
22
22
  import { CollectionUDL } from '../model/models';
23
+ import { ExcelExportTableEntity } from '../model/models';
23
24
  import { InfoEntitySkillEnhanced } from '../model/models';
24
25
  import { SearchableItem } from '../model/models';
25
26
 
@@ -187,6 +188,169 @@ export class HelperToolsService {
187
188
  });
188
189
  }
189
190
 
191
+ /**
192
+ * This endpoint creates an excel export of translations of db entities
193
+ * @param filter Used to specify what to be returned. Valid values are: asset, workspace, collection_type, collection, ct_item, download_format and/or only certain collection types (IDs) for exporting. When providing multiple values separate it with comma (\&#39;,\&#39;).
194
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
195
+ * @param reportProgress flag to report request and response progress.
196
+ */
197
+ public httpExportTranslationsAsExcel(filter?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<ExcelExportTableEntity>;
198
+ public httpExportTranslationsAsExcel(
199
+ filter?: string,
200
+ observe?: 'response',
201
+ reportProgress?: boolean,
202
+ options?: { httpHeaderAccept?: 'application/json' }
203
+ ): Observable<HttpResponse<ExcelExportTableEntity>>;
204
+ public httpExportTranslationsAsExcel(
205
+ filter?: string,
206
+ observe?: 'events',
207
+ reportProgress?: boolean,
208
+ options?: { httpHeaderAccept?: 'application/json' }
209
+ ): Observable<HttpEvent<ExcelExportTableEntity>>;
210
+ public httpExportTranslationsAsExcel(filter?: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
211
+ let queryParameters = new HttpParams({ encoder: this.encoder });
212
+ if (filter !== undefined && filter !== null) {
213
+ queryParameters = this.addToHttpParams(queryParameters, <any>filter, 'filter');
214
+ }
215
+
216
+ let headers = this.defaultHeaders;
217
+
218
+ let credential: string | undefined;
219
+ // authentication (msal_auth) required
220
+ credential = this.configuration.lookupCredential('msal_auth');
221
+ if (credential) {
222
+ headers = headers.set('Authorization', 'Bearer ' + credential);
223
+ }
224
+
225
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
226
+ if (httpHeaderAcceptSelected === undefined) {
227
+ // to determine the Accept header
228
+ const httpHeaderAccepts: string[] = ['application/json'];
229
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
230
+ }
231
+ if (httpHeaderAcceptSelected !== undefined) {
232
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
233
+ }
234
+
235
+ let responseType_: 'text' | 'json' = 'json';
236
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
237
+ responseType_ = 'text';
238
+ }
239
+
240
+ return this.httpClient.get<ExcelExportTableEntity>(`${this.configuration.basePath}/helper/excel/export/translations`, {
241
+ params: queryParameters,
242
+ responseType: <any>responseType_,
243
+ withCredentials: this.configuration.withCredentials,
244
+ headers: headers,
245
+ observe: observe,
246
+ reportProgress: reportProgress
247
+ });
248
+ }
249
+
250
+ /**
251
+ * This endpoint retrieves the status and if populated the url to the excel export
252
+ * @param id The ID of translation export
253
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
254
+ * @param reportProgress flag to report request and response progress.
255
+ */
256
+ public httpExportTranslationsCancel(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<any>;
257
+ public httpExportTranslationsCancel(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<HttpResponse<any>>;
258
+ public httpExportTranslationsCancel(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<HttpEvent<any>>;
259
+ public httpExportTranslationsCancel(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: undefined }): Observable<any> {
260
+ if (id === null || id === undefined) {
261
+ throw new Error('Required parameter id was null or undefined when calling httpExportTranslationsCancel.');
262
+ }
263
+
264
+ let headers = this.defaultHeaders;
265
+
266
+ let credential: string | undefined;
267
+ // authentication (msal_auth) required
268
+ credential = this.configuration.lookupCredential('msal_auth');
269
+ if (credential) {
270
+ headers = headers.set('Authorization', 'Bearer ' + credential);
271
+ }
272
+
273
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
274
+ if (httpHeaderAcceptSelected === undefined) {
275
+ // to determine the Accept header
276
+ const httpHeaderAccepts: string[] = [];
277
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
278
+ }
279
+ if (httpHeaderAcceptSelected !== undefined) {
280
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
281
+ }
282
+
283
+ let responseType_: 'text' | 'json' = 'json';
284
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
285
+ responseType_ = 'text';
286
+ }
287
+
288
+ return this.httpClient.delete<any>(`${this.configuration.basePath}/helper/excel/export/translations/${encodeURIComponent(String(id))}`, {
289
+ responseType: <any>responseType_,
290
+ withCredentials: this.configuration.withCredentials,
291
+ headers: headers,
292
+ observe: observe,
293
+ reportProgress: reportProgress
294
+ });
295
+ }
296
+
297
+ /**
298
+ * This endpoint retrieves the status and if populated the url to the excel export.
299
+ * @param id The ID of translation export
300
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
301
+ * @param reportProgress flag to report request and response progress.
302
+ */
303
+ public httpExportTranslationsCheckStatus(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<ExcelExportTableEntity>;
304
+ public httpExportTranslationsCheckStatus(
305
+ id: string,
306
+ observe?: 'response',
307
+ reportProgress?: boolean,
308
+ options?: { httpHeaderAccept?: 'application/json' }
309
+ ): Observable<HttpResponse<ExcelExportTableEntity>>;
310
+ public httpExportTranslationsCheckStatus(
311
+ id: string,
312
+ observe?: 'events',
313
+ reportProgress?: boolean,
314
+ options?: { httpHeaderAccept?: 'application/json' }
315
+ ): Observable<HttpEvent<ExcelExportTableEntity>>;
316
+ public httpExportTranslationsCheckStatus(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
317
+ if (id === null || id === undefined) {
318
+ throw new Error('Required parameter id was null or undefined when calling httpExportTranslationsCheckStatus.');
319
+ }
320
+
321
+ let headers = this.defaultHeaders;
322
+
323
+ let credential: string | undefined;
324
+ // authentication (msal_auth) required
325
+ credential = this.configuration.lookupCredential('msal_auth');
326
+ if (credential) {
327
+ headers = headers.set('Authorization', 'Bearer ' + credential);
328
+ }
329
+
330
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
331
+ if (httpHeaderAcceptSelected === undefined) {
332
+ // to determine the Accept header
333
+ const httpHeaderAccepts: string[] = ['application/json'];
334
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
335
+ }
336
+ if (httpHeaderAcceptSelected !== undefined) {
337
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
338
+ }
339
+
340
+ let responseType_: 'text' | 'json' = 'json';
341
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
342
+ responseType_ = 'text';
343
+ }
344
+
345
+ return this.httpClient.get<ExcelExportTableEntity>(`${this.configuration.basePath}/helper/excel/export/translations/${encodeURIComponent(String(id))}`, {
346
+ responseType: <any>responseType_,
347
+ withCredentials: this.configuration.withCredentials,
348
+ headers: headers,
349
+ observe: observe,
350
+ reportProgress: reportProgress
351
+ });
352
+ }
353
+
190
354
  /**
191
355
  * Returns all thumbnail blob types incl. URLs
192
356
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -501,6 +665,48 @@ export class HelperToolsService {
501
665
  });
502
666
  }
503
667
 
668
+ /**
669
+ * This endpoint puts a excel file on the translations import blob container
670
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
671
+ * @param reportProgress flag to report request and response progress.
672
+ */
673
+ public httpImportTranslationsAsExcel(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
674
+ public httpImportTranslationsAsExcel(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
675
+ public httpImportTranslationsAsExcel(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
676
+ public httpImportTranslationsAsExcel(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
677
+ let headers = this.defaultHeaders;
678
+
679
+ let credential: string | undefined;
680
+ // authentication (msal_auth) required
681
+ credential = this.configuration.lookupCredential('msal_auth');
682
+ if (credential) {
683
+ headers = headers.set('Authorization', 'Bearer ' + credential);
684
+ }
685
+
686
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
687
+ if (httpHeaderAcceptSelected === undefined) {
688
+ // to determine the Accept header
689
+ const httpHeaderAccepts: string[] = ['application/json'];
690
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
691
+ }
692
+ if (httpHeaderAcceptSelected !== undefined) {
693
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
694
+ }
695
+
696
+ let responseType_: 'text' | 'json' = 'json';
697
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
698
+ responseType_ = 'text';
699
+ }
700
+
701
+ return this.httpClient.post<AgravityInfoResponse>(`${this.configuration.basePath}/helper/excel/import/translations`, null, {
702
+ responseType: <any>responseType_,
703
+ withCredentials: this.configuration.withCredentials,
704
+ headers: headers,
705
+ observe: observe,
706
+ reportProgress: reportProgress
707
+ });
708
+ }
709
+
504
710
  /**
505
711
  * This sets metadata from all blobs inside inbox container on storage. This should re-trigger the inbox trigger.
506
712
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.