@agravity/private 6.1.6 → 7.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 (133) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/api.ts +6 -0
  4. package/api/assetIconRuleManagement.agravity.ts +1 -1
  5. package/api/assetManagement.agravity.ts +1 -1
  6. package/api/assetOperations.agravity.ts +47 -7
  7. package/api/assetPublishing.agravity.ts +1 -1
  8. package/api/assetVersioning.agravity.ts +1 -1
  9. package/api/authenticationManagement.agravity.ts +1 -1
  10. package/api/collectionManagement.agravity.ts +1 -1
  11. package/api/collectionShareManagement.agravity.ts +1 -1
  12. package/api/collectionTypeItemBlueprintManagement.agravity.ts +1 -1
  13. package/api/collectionTypeManagement.agravity.ts +1 -1
  14. package/api/commentsManagement.agravity.ts +1 -1
  15. package/api/configurationManagement.agravity.ts +1 -1
  16. package/api/dashboardWidgetManagement.agravity.ts +1 -1
  17. package/api/dataImportExportManagement.agravity.ts +414 -0
  18. package/api/downloadFormatManagement.agravity.ts +1 -1
  19. package/api/downloadZip.agravity.ts +1 -1
  20. package/api/generalManagement.agravity.ts +1 -1
  21. package/api/helperTools.agravity.ts +1 -256
  22. package/api/historyEntryManagement.agravity.ts +1 -1
  23. package/api/iccProfileManagement.agravity.ts +1 -1
  24. package/api/listBlobs.agravity.ts +1 -1
  25. package/api/listQueues.agravity.ts +1 -1
  26. package/api/listTables.agravity.ts +1 -1
  27. package/api/permissionsManagement.agravity.ts +1 -1
  28. package/api/portalManagement.agravity.ts +321 -0
  29. package/api/publishing.agravity.ts +1 -1
  30. package/api/quickshareManagement.agravity.ts +1 -1
  31. package/api/savedSearchManagement.agravity.ts +1 -1
  32. package/api/searchManagement.agravity.ts +67 -13
  33. package/api/secureUpload.agravity.ts +1 -1
  34. package/api/signalRConnectionManagement.agravity.ts +1 -1
  35. package/api/staticDefinedListManagement.agravity.ts +1 -1
  36. package/api/stockImport.agravity.ts +1 -1
  37. package/api/structureImport.agravity.ts +1 -1
  38. package/api/translationManagement.agravity.ts +1 -1
  39. package/api/webAppData.agravity.ts +1 -1
  40. package/api/widgetLayoutManagement.agravity.ts +1 -1
  41. package/api/wordpressManagement.agravity.ts +1 -1
  42. package/api/workspaceManagement.agravity.ts +1 -1
  43. package/api.module.ts +2 -0
  44. package/index.ts +1 -0
  45. package/model/agravityErrorResponse.agravity.ts +1 -1
  46. package/model/agravityInfoResponse.agravity.ts +1 -1
  47. package/model/agravityUser.agravity.ts +1 -1
  48. package/model/agravityUserDto.agravity.ts +1 -1
  49. package/model/agravityVersion.agravity.ts +1 -1
  50. package/model/allWebAppData.agravity.ts +1 -1
  51. package/model/apiKeyResponse.agravity.ts +1 -1
  52. package/model/appConfigTableEntity.agravity.ts +3 -2
  53. package/model/artificialIntelligenceGroup.agravity.ts +1 -1
  54. package/model/asset.agravity.ts +1 -1
  55. package/model/assetAvailability.agravity.ts +1 -1
  56. package/model/assetBlob.agravity.ts +1 -1
  57. package/model/assetBulkUpdate.agravity.ts +1 -1
  58. package/model/assetCollectionLink.agravity.ts +1 -1
  59. package/model/assetIconRule.agravity.ts +1 -1
  60. package/model/assetIdFormat.agravity.ts +1 -1
  61. package/model/assetPageResult.agravity.ts +1 -1
  62. package/model/assetTextContent.agravity.ts +1 -1
  63. package/model/assetsOperationBody.agravity.ts +1 -1
  64. package/model/azSearchOptions.agravity.ts +2 -1
  65. package/model/azureIdentity.agravity.ts +4 -3
  66. package/model/blobInfoObj.agravity.ts +1 -1
  67. package/model/collTypeItem.agravity.ts +2 -2
  68. package/model/collTypeItemBlueprint.agravity.ts +1 -1
  69. package/model/collection.agravity.ts +1 -1
  70. package/model/collectionType.agravity.ts +2 -2
  71. package/model/collectionUDL.agravity.ts +1 -1
  72. package/model/comment.agravity.ts +1 -1
  73. package/model/createSftpUserResult.agravity.ts +1 -1
  74. package/model/dashboardWidget.agravity.ts +1 -1
  75. package/model/dataResult.agravity.ts +1 -1
  76. package/model/distZipResponse.agravity.ts +1 -1
  77. package/model/downloadFormat.agravity.ts +1 -1
  78. package/model/downloadObject.agravity.ts +2 -1
  79. package/model/downloadZipRequest.agravity.ts +1 -1
  80. package/model/dynamicImageOperation.agravity.ts +1 -1
  81. package/model/emailAddress.agravity.ts +1 -1
  82. package/model/entityId.agravity.ts +1 -1
  83. package/model/entityIdName.agravity.ts +1 -1
  84. package/model/entityTranslations.agravity.ts +1 -1
  85. package/model/excelExportTableEntity.agravity.ts +3 -1
  86. package/model/frontendAppConfig.agravity.ts +1 -1
  87. package/model/groupAllAppData.agravity.ts +1 -1
  88. package/model/historyEntry.agravity.ts +1 -1
  89. package/model/infoEntitySkillEnhanced.agravity.ts +1 -1
  90. package/model/metadata.agravity.ts +1 -1
  91. package/model/models.ts +3 -0
  92. package/model/moveCollectionBody.agravity.ts +1 -1
  93. package/model/permissionChange.agravity.ts +1 -1
  94. package/model/permissionEntity.agravity.ts +1 -1
  95. package/model/permissionSetting.agravity.ts +1 -1
  96. package/model/portal.agravity.ts +35 -0
  97. package/model/portalLanguages.agravity.ts +16 -0
  98. package/model/portalTheme.agravity.ts +18 -0
  99. package/model/publishEntity.agravity.ts +1 -1
  100. package/model/publishedAsset.agravity.ts +1 -1
  101. package/model/quickShare.agravity.ts +1 -1
  102. package/model/quickShareFull.agravity.ts +1 -1
  103. package/model/sasToken.agravity.ts +1 -1
  104. package/model/savedSearch.agravity.ts +1 -1
  105. package/model/searchAdminDataSourceStatus.agravity.ts +1 -1
  106. package/model/searchAdminIndexStatus.agravity.ts +1 -1
  107. package/model/searchAdminIndexerLastRun.agravity.ts +1 -1
  108. package/model/searchAdminIndexerStatus.agravity.ts +1 -1
  109. package/model/searchAdminSkillStatus.agravity.ts +1 -1
  110. package/model/searchAdminStatistics.agravity.ts +1 -1
  111. package/model/searchAdminStatus.agravity.ts +1 -1
  112. package/model/searchFacet.agravity.ts +1 -1
  113. package/model/searchFacetEntity.agravity.ts +1 -1
  114. package/model/searchResult.agravity.ts +1 -1
  115. package/model/searchableItem.agravity.ts +1 -1
  116. package/model/secureUploadEntity.agravity.ts +1 -1
  117. package/model/sharedAllowedFormat.agravity.ts +1 -1
  118. package/model/sharedAsset.agravity.ts +1 -1
  119. package/model/sharedCollection.agravity.ts +1 -1
  120. package/model/sharedCollectionFull.agravity.ts +1 -1
  121. package/model/signalRConnectionInfo.agravity.ts +1 -1
  122. package/model/simpleAsset.agravity.ts +1 -1
  123. package/model/staticDefinedList.agravity.ts +1 -1
  124. package/model/translation.agravity.ts +1 -1
  125. package/model/translationRequest.agravity.ts +1 -1
  126. package/model/uiTutorials.agravity.ts +1 -1
  127. package/model/versionEntity.agravity.ts +1 -1
  128. package/model/versionedAsset.agravity.ts +1 -1
  129. package/model/whereParam.agravity.ts +1 -1
  130. package/model/widgetLayout.agravity.ts +1 -1
  131. package/model/widgetProperties.agravity.ts +1 -1
  132. package/model/workspace.agravity.ts +2 -2
  133. package/package.json +1 -1
@@ -0,0 +1,414 @@
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 2024. All Rights Reserved
4
+ *
5
+ * The version of the OpenAPI document: 7.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 { AgravityInfoResponse } from '../model/models';
20
+ import { ExcelExportTableEntity } 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 DataImportExportManagementService {
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 an excel export of an asset list.
87
+ * @param ids Used to specify what to be returned. Valid values are: collection_type_ids, collection_ids and asset_ids. When providing multiple values separate it with comma (\&#39;,\&#39;).
88
+ * @param language In which language the assets should be exported.
89
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
90
+ * @param reportProgress flag to report request and response progress.
91
+ */
92
+ public httpDataExportAssetsAsExcel(
93
+ ids?: string,
94
+ language?: string,
95
+ observe?: 'body',
96
+ reportProgress?: boolean,
97
+ options?: { httpHeaderAccept?: 'application/json' }
98
+ ): Observable<ExcelExportTableEntity>;
99
+ public httpDataExportAssetsAsExcel(
100
+ ids?: string,
101
+ language?: string,
102
+ observe?: 'response',
103
+ reportProgress?: boolean,
104
+ options?: { httpHeaderAccept?: 'application/json' }
105
+ ): Observable<HttpResponse<ExcelExportTableEntity>>;
106
+ public httpDataExportAssetsAsExcel(
107
+ ids?: string,
108
+ language?: string,
109
+ observe?: 'events',
110
+ reportProgress?: boolean,
111
+ options?: { httpHeaderAccept?: 'application/json' }
112
+ ): Observable<HttpEvent<ExcelExportTableEntity>>;
113
+ public httpDataExportAssetsAsExcel(ids?: string, language?: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
114
+ let queryParameters = new HttpParams({ encoder: this.encoder });
115
+ if (ids !== undefined && ids !== null) {
116
+ queryParameters = this.addToHttpParams(queryParameters, <any>ids, 'ids');
117
+ }
118
+ if (language !== undefined && language !== null) {
119
+ queryParameters = this.addToHttpParams(queryParameters, <any>language, 'language');
120
+ }
121
+
122
+ let headers = this.defaultHeaders;
123
+
124
+ let credential: string | undefined;
125
+ // authentication (msal_auth) required
126
+ credential = this.configuration.lookupCredential('msal_auth');
127
+ if (credential) {
128
+ headers = headers.set('Authorization', 'Bearer ' + credential);
129
+ }
130
+
131
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
132
+ if (httpHeaderAcceptSelected === undefined) {
133
+ // to determine the Accept header
134
+ const httpHeaderAccepts: string[] = ['application/json'];
135
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
136
+ }
137
+ if (httpHeaderAcceptSelected !== undefined) {
138
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
139
+ }
140
+
141
+ let responseType_: 'text' | 'json' = 'json';
142
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
143
+ responseType_ = 'text';
144
+ }
145
+
146
+ return this.httpClient.get<ExcelExportTableEntity>(`${this.configuration.basePath}/data/excel/export/assets`, {
147
+ params: queryParameters,
148
+ responseType: <any>responseType_,
149
+ withCredentials: this.configuration.withCredentials,
150
+ headers: headers,
151
+ observe: observe,
152
+ reportProgress: reportProgress
153
+ });
154
+ }
155
+
156
+ /**
157
+ * This endpoint creates an excel export of the db
158
+ * @param filter Used to specify what to be retured. Valid values are: asset, workspace, collection_type and/or only certain collection types (IDs) for exporting. When providing multiple values separate it with comma (\&#39;,\&#39;).
159
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
160
+ * @param reportProgress flag to report request and response progress.
161
+ */
162
+ public httpDataExportItemsAsExcel(filter?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
163
+ public httpDataExportItemsAsExcel(
164
+ filter?: string,
165
+ observe?: 'response',
166
+ reportProgress?: boolean,
167
+ options?: { httpHeaderAccept?: 'application/json' }
168
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
169
+ public httpDataExportItemsAsExcel(filter?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
170
+ public httpDataExportItemsAsExcel(filter?: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
171
+ let queryParameters = new HttpParams({ encoder: this.encoder });
172
+ if (filter !== undefined && filter !== null) {
173
+ queryParameters = this.addToHttpParams(queryParameters, <any>filter, 'filter');
174
+ }
175
+
176
+ let headers = this.defaultHeaders;
177
+
178
+ let credential: string | undefined;
179
+ // authentication (msal_auth) required
180
+ credential = this.configuration.lookupCredential('msal_auth');
181
+ if (credential) {
182
+ headers = headers.set('Authorization', 'Bearer ' + credential);
183
+ }
184
+
185
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
186
+ if (httpHeaderAcceptSelected === undefined) {
187
+ // to determine the Accept header
188
+ const httpHeaderAccepts: string[] = ['application/json'];
189
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
190
+ }
191
+ if (httpHeaderAcceptSelected !== undefined) {
192
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
193
+ }
194
+
195
+ let responseType_: 'text' | 'json' = 'json';
196
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
197
+ responseType_ = 'text';
198
+ }
199
+
200
+ return this.httpClient.get<AgravityInfoResponse>(`${this.configuration.basePath}/data/excel/export`, {
201
+ params: queryParameters,
202
+ responseType: <any>responseType_,
203
+ withCredentials: this.configuration.withCredentials,
204
+ headers: headers,
205
+ observe: observe,
206
+ reportProgress: reportProgress
207
+ });
208
+ }
209
+
210
+ /**
211
+ * This endpoint creates an excel export of translations of db entities
212
+ * @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;).
213
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
214
+ * @param reportProgress flag to report request and response progress.
215
+ */
216
+ public httpDataExportTranslationsAsExcel(filter?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<ExcelExportTableEntity>;
217
+ public httpDataExportTranslationsAsExcel(
218
+ filter?: string,
219
+ observe?: 'response',
220
+ reportProgress?: boolean,
221
+ options?: { httpHeaderAccept?: 'application/json' }
222
+ ): Observable<HttpResponse<ExcelExportTableEntity>>;
223
+ public httpDataExportTranslationsAsExcel(
224
+ filter?: string,
225
+ observe?: 'events',
226
+ reportProgress?: boolean,
227
+ options?: { httpHeaderAccept?: 'application/json' }
228
+ ): Observable<HttpEvent<ExcelExportTableEntity>>;
229
+ public httpDataExportTranslationsAsExcel(filter?: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
230
+ let queryParameters = new HttpParams({ encoder: this.encoder });
231
+ if (filter !== undefined && filter !== null) {
232
+ queryParameters = this.addToHttpParams(queryParameters, <any>filter, 'filter');
233
+ }
234
+
235
+ let headers = this.defaultHeaders;
236
+
237
+ let credential: string | undefined;
238
+ // authentication (msal_auth) required
239
+ credential = this.configuration.lookupCredential('msal_auth');
240
+ if (credential) {
241
+ headers = headers.set('Authorization', 'Bearer ' + credential);
242
+ }
243
+
244
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
245
+ if (httpHeaderAcceptSelected === undefined) {
246
+ // to determine the Accept header
247
+ const httpHeaderAccepts: string[] = ['application/json'];
248
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
249
+ }
250
+ if (httpHeaderAcceptSelected !== undefined) {
251
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
252
+ }
253
+
254
+ let responseType_: 'text' | 'json' = 'json';
255
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
256
+ responseType_ = 'text';
257
+ }
258
+
259
+ return this.httpClient.get<ExcelExportTableEntity>(`${this.configuration.basePath}/data/excel/export/translations`, {
260
+ params: queryParameters,
261
+ responseType: <any>responseType_,
262
+ withCredentials: this.configuration.withCredentials,
263
+ headers: headers,
264
+ observe: observe,
265
+ reportProgress: reportProgress
266
+ });
267
+ }
268
+
269
+ /**
270
+ * This endpoint retrieves the status and if populated the url to the excel export
271
+ * @param id The ID of translation export
272
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
273
+ * @param reportProgress flag to report request and response progress.
274
+ */
275
+ public httpDataExportTranslationsCancel(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<any>;
276
+ public httpDataExportTranslationsCancel(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<HttpResponse<any>>;
277
+ public httpDataExportTranslationsCancel(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined }): Observable<HttpEvent<any>>;
278
+ public httpDataExportTranslationsCancel(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: undefined }): Observable<any> {
279
+ if (id === null || id === undefined) {
280
+ throw new Error('Required parameter id was null or undefined when calling httpDataExportTranslationsCancel.');
281
+ }
282
+
283
+ let headers = this.defaultHeaders;
284
+
285
+ let credential: string | undefined;
286
+ // authentication (msal_auth) required
287
+ credential = this.configuration.lookupCredential('msal_auth');
288
+ if (credential) {
289
+ headers = headers.set('Authorization', 'Bearer ' + credential);
290
+ }
291
+
292
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
293
+ if (httpHeaderAcceptSelected === undefined) {
294
+ // to determine the Accept header
295
+ const httpHeaderAccepts: string[] = [];
296
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
297
+ }
298
+ if (httpHeaderAcceptSelected !== undefined) {
299
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
300
+ }
301
+
302
+ let responseType_: 'text' | 'json' = 'json';
303
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
304
+ responseType_ = 'text';
305
+ }
306
+
307
+ return this.httpClient.delete<any>(`${this.configuration.basePath}/data/excel/export/translations/${encodeURIComponent(String(id))}`, {
308
+ responseType: <any>responseType_,
309
+ withCredentials: this.configuration.withCredentials,
310
+ headers: headers,
311
+ observe: observe,
312
+ reportProgress: reportProgress
313
+ });
314
+ }
315
+
316
+ /**
317
+ * This endpoint retrieves the status and if populated the url to the excel export.
318
+ * @param id The ID of translation export
319
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
320
+ * @param reportProgress flag to report request and response progress.
321
+ */
322
+ public httpDataExportTranslationsCheckStatus(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<ExcelExportTableEntity>;
323
+ public httpDataExportTranslationsCheckStatus(
324
+ id: string,
325
+ observe?: 'response',
326
+ reportProgress?: boolean,
327
+ options?: { httpHeaderAccept?: 'application/json' }
328
+ ): Observable<HttpResponse<ExcelExportTableEntity>>;
329
+ public httpDataExportTranslationsCheckStatus(
330
+ id: string,
331
+ observe?: 'events',
332
+ reportProgress?: boolean,
333
+ options?: { httpHeaderAccept?: 'application/json' }
334
+ ): Observable<HttpEvent<ExcelExportTableEntity>>;
335
+ public httpDataExportTranslationsCheckStatus(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
336
+ if (id === null || id === undefined) {
337
+ throw new Error('Required parameter id was null or undefined when calling httpDataExportTranslationsCheckStatus.');
338
+ }
339
+
340
+ let headers = this.defaultHeaders;
341
+
342
+ let credential: string | undefined;
343
+ // authentication (msal_auth) required
344
+ credential = this.configuration.lookupCredential('msal_auth');
345
+ if (credential) {
346
+ headers = headers.set('Authorization', 'Bearer ' + credential);
347
+ }
348
+
349
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
350
+ if (httpHeaderAcceptSelected === undefined) {
351
+ // to determine the Accept header
352
+ const httpHeaderAccepts: string[] = ['application/json'];
353
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
354
+ }
355
+ if (httpHeaderAcceptSelected !== undefined) {
356
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
357
+ }
358
+
359
+ let responseType_: 'text' | 'json' = 'json';
360
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
361
+ responseType_ = 'text';
362
+ }
363
+
364
+ return this.httpClient.get<ExcelExportTableEntity>(`${this.configuration.basePath}/data/excel/export/translations/${encodeURIComponent(String(id))}`, {
365
+ responseType: <any>responseType_,
366
+ withCredentials: this.configuration.withCredentials,
367
+ headers: headers,
368
+ observe: observe,
369
+ reportProgress: reportProgress
370
+ });
371
+ }
372
+
373
+ /**
374
+ * This endpoint puts a excel file on the translations import blob container
375
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
376
+ * @param reportProgress flag to report request and response progress.
377
+ */
378
+ public httpDataImportTranslationsAsExcel(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
379
+ public httpDataImportTranslationsAsExcel(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
380
+ public httpDataImportTranslationsAsExcel(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
381
+ public httpDataImportTranslationsAsExcel(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
382
+ let headers = this.defaultHeaders;
383
+
384
+ let credential: string | undefined;
385
+ // authentication (msal_auth) required
386
+ credential = this.configuration.lookupCredential('msal_auth');
387
+ if (credential) {
388
+ headers = headers.set('Authorization', 'Bearer ' + credential);
389
+ }
390
+
391
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
392
+ if (httpHeaderAcceptSelected === undefined) {
393
+ // to determine the Accept header
394
+ const httpHeaderAccepts: string[] = ['application/json'];
395
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
396
+ }
397
+ if (httpHeaderAcceptSelected !== undefined) {
398
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
399
+ }
400
+
401
+ let responseType_: 'text' | 'json' = 'json';
402
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
403
+ responseType_ = 'text';
404
+ }
405
+
406
+ return this.httpClient.post<AgravityInfoResponse>(`${this.configuration.basePath}/data/excel/import/translations`, null, {
407
+ responseType: <any>responseType_,
408
+ withCredentials: this.configuration.withCredentials,
409
+ headers: headers,
410
+ observe: observe,
411
+ reportProgress: reportProgress
412
+ });
413
+ }
414
+ }
@@ -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 2024. All Rights Reserved
4
4
  *
5
- * The version of the OpenAPI document: 6.1.6
5
+ * The version of the OpenAPI document: 7.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 2024. All Rights Reserved
4
4
  *
5
- * The version of the OpenAPI document: 6.1.6
5
+ * The version of the OpenAPI document: 7.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 2024. All Rights Reserved
4
4
  *
5
- * The version of the OpenAPI document: 6.1.6
5
+ * The version of the OpenAPI document: 7.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).