@agravity/private 10.3.5 → 11.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 (55) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api/aIOperations.agravity.ts +38 -14
  5. package/api/assetIconRuleManagement.agravity.ts +33 -19
  6. package/api/assetManagement.agravity.ts +74 -37
  7. package/api/assetOperations.agravity.ts +175 -86
  8. package/api/assetPublishing.agravity.ts +33 -14
  9. package/api/assetRelationManagement.agravity.ts +37 -21
  10. package/api/assetRelationTypeManagement.agravity.ts +36 -20
  11. package/api/assetVersioning.agravity.ts +33 -14
  12. package/api/authenticationManagement.agravity.ts +57 -24
  13. package/api/collectionManagement.agravity.ts +86 -46
  14. package/api/collectionShareManagement.agravity.ts +29 -15
  15. package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
  16. package/api/collectionTypeManagement.agravity.ts +50 -27
  17. package/api/commentsManagement.agravity.ts +14 -6
  18. package/api/configurationManagement.agravity.ts +25 -13
  19. package/api/dashboardWidgetManagement.agravity.ts +21 -10
  20. package/api/dataImportExportManagement.agravity.ts +49 -25
  21. package/api/downloadFormatManagement.agravity.ts +36 -20
  22. package/api/downloadZip.agravity.ts +11 -5
  23. package/api/featuresManagement.agravity.ts +5 -3
  24. package/api/generalManagement.agravity.ts +43 -22
  25. package/api/helperTools.agravity.ts +76 -35
  26. package/api/historyEntryManagement.agravity.ts +9 -6
  27. package/api/iccProfileManagement.agravity.ts +5 -3
  28. package/api/listBlobs.agravity.ts +8 -4
  29. package/api/listQueues.agravity.ts +5 -3
  30. package/api/listTables.agravity.ts +5 -3
  31. package/api/notificationManagement.agravity.ts +11 -5
  32. package/api/permissionsManagement.agravity.ts +14 -6
  33. package/api/portalManagement.agravity.ts +26 -10
  34. package/api/portalsUsersManagement.agravity.ts +17 -7
  35. package/api/profilesManagement.agravity.ts +20 -8
  36. package/api/publishing.agravity.ts +11 -7
  37. package/api/quickshareManagement.agravity.ts +36 -19
  38. package/api/savedSearchManagement.agravity.ts +23 -13
  39. package/api/searchManagement.agravity.ts +100 -54
  40. package/api/searchSettingsOperations.agravity.ts +8 -4
  41. package/api/secureUpload.agravity.ts +28 -14
  42. package/api/signalRConnectionManagement.agravity.ts +11 -5
  43. package/api/staticDefinedListManagement.agravity.ts +35 -20
  44. package/api/stockImport.agravity.ts +22 -13
  45. package/api/structureImport.agravity.ts +13 -8
  46. package/api/translationManagement.agravity.ts +32 -17
  47. package/api/webAppData.agravity.ts +14 -6
  48. package/api/widgetLayoutManagement.agravity.ts +8 -4
  49. package/api/wordpressManagement.agravity.ts +28 -16
  50. package/api/workspaceManagement.agravity.ts +39 -21
  51. package/api.base.service.ts +41 -27
  52. package/configuration.ts +3 -2
  53. package/encoder.ts +15 -0
  54. package/package.json +9 -9
  55. package/query.params.ts +165 -0
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -81,9 +81,11 @@ export class StaticDefinedListManagementService extends BaseService {
81
81
 
82
82
  /**
83
83
  * This endpoint creates one static defined list entry in the database.
84
+ * @endpoint post /staticdefinedlists
84
85
  * @param requestParameters
85
86
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
86
87
  * @param reportProgress flag to report request and response progress.
88
+ * @param options additional options
87
89
  */
88
90
  public httpStaticDefinedListsCreate(
89
91
  requestParameters: HttpStaticDefinedListsCreateRequestParams,
@@ -116,8 +118,9 @@ export class StaticDefinedListManagementService extends BaseService {
116
118
  const translations = requestParameters?.translations;
117
119
  const acceptLanguage = requestParameters?.acceptLanguage;
118
120
 
119
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
120
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
121
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
122
+
123
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
121
124
 
122
125
  let localVarHeaders = this.defaultHeaders;
123
126
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -159,21 +162,23 @@ export class StaticDefinedListManagementService extends BaseService {
159
162
  return this.httpClient.request<StaticDefinedList>('post', `${basePath}${localVarPath}`, {
160
163
  context: localVarHttpContext,
161
164
  body: staticDefinedList,
162
- params: localVarQueryParameters,
165
+ params: localVarQueryParameters.toHttpParams(),
163
166
  responseType: <any>responseType_,
164
167
  ...(withCredentials ? { withCredentials } : {}),
165
168
  headers: localVarHeaders,
166
169
  observe: observe,
167
- transferCache: localVarTransferCache,
170
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
168
171
  reportProgress: reportProgress
169
172
  });
170
173
  }
171
174
 
172
175
  /**
173
176
  * This endpoint deletes a single static defined list.
177
+ * @endpoint delete /staticdefinedlists/{id}
174
178
  * @param requestParameters
175
179
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
176
180
  * @param reportProgress flag to report request and response progress.
181
+ * @param options additional options
177
182
  */
178
183
  public httpStaticDefinedListsDeleteById(
179
184
  requestParameters: HttpStaticDefinedListsDeleteByIdRequestParams,
@@ -237,16 +242,18 @@ export class StaticDefinedListManagementService extends BaseService {
237
242
  ...(withCredentials ? { withCredentials } : {}),
238
243
  headers: localVarHeaders,
239
244
  observe: observe,
240
- transferCache: localVarTransferCache,
245
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
241
246
  reportProgress: reportProgress
242
247
  });
243
248
  }
244
249
 
245
250
  /**
246
251
  * This endpoint lists all static defined lists in database.
252
+ * @endpoint get /staticdefinedlists
247
253
  * @param requestParameters
248
254
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
249
255
  * @param reportProgress flag to report request and response progress.
256
+ * @param options additional options
250
257
  */
251
258
  public httpStaticDefinedListsGetAll(
252
259
  requestParameters?: HttpStaticDefinedListsGetAllRequestParams,
@@ -275,8 +282,9 @@ export class StaticDefinedListManagementService extends BaseService {
275
282
  const translations = requestParameters?.translations;
276
283
  const acceptLanguage = requestParameters?.acceptLanguage;
277
284
 
278
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
279
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
285
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
286
+
287
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
280
288
 
281
289
  let localVarHeaders = this.defaultHeaders;
282
290
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -310,21 +318,23 @@ export class StaticDefinedListManagementService extends BaseService {
310
318
  const { basePath, withCredentials } = this.configuration;
311
319
  return this.httpClient.request<Array<StaticDefinedList>>('get', `${basePath}${localVarPath}`, {
312
320
  context: localVarHttpContext,
313
- params: localVarQueryParameters,
321
+ params: localVarQueryParameters.toHttpParams(),
314
322
  responseType: <any>responseType_,
315
323
  ...(withCredentials ? { withCredentials } : {}),
316
324
  headers: localVarHeaders,
317
325
  observe: observe,
318
- transferCache: localVarTransferCache,
326
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
319
327
  reportProgress: reportProgress
320
328
  });
321
329
  }
322
330
 
323
331
  /**
324
332
  * This endpoint gets a static defined list from database.
333
+ * @endpoint get /staticdefinedlists/{id}
325
334
  * @param requestParameters
326
335
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
327
336
  * @param reportProgress flag to report request and response progress.
337
+ * @param options additional options
328
338
  */
329
339
  public httpStaticDefinedListsGetById(
330
340
  requestParameters: HttpStaticDefinedListsGetByIdRequestParams,
@@ -357,8 +367,9 @@ export class StaticDefinedListManagementService extends BaseService {
357
367
  const translations = requestParameters?.translations;
358
368
  const acceptLanguage = requestParameters?.acceptLanguage;
359
369
 
360
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
361
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
370
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
371
+
372
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
362
373
 
363
374
  let localVarHeaders = this.defaultHeaders;
364
375
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -392,21 +403,23 @@ export class StaticDefinedListManagementService extends BaseService {
392
403
  const { basePath, withCredentials } = this.configuration;
393
404
  return this.httpClient.request<StaticDefinedList>('get', `${basePath}${localVarPath}`, {
394
405
  context: localVarHttpContext,
395
- params: localVarQueryParameters,
406
+ params: localVarQueryParameters.toHttpParams(),
396
407
  responseType: <any>responseType_,
397
408
  ...(withCredentials ? { withCredentials } : {}),
398
409
  headers: localVarHeaders,
399
410
  observe: observe,
400
- transferCache: localVarTransferCache,
411
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
401
412
  reportProgress: reportProgress
402
413
  });
403
414
  }
404
415
 
405
416
  /**
406
417
  * Updates a static defined list in database.
418
+ * @endpoint post /staticdefinedlists/{id}
407
419
  * @param requestParameters
408
420
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
409
421
  * @param reportProgress flag to report request and response progress.
422
+ * @param options additional options
410
423
  */
411
424
  public httpStaticDefinedListsUpdateById(
412
425
  requestParameters: HttpStaticDefinedListsUpdateByIdRequestParams,
@@ -447,9 +460,11 @@ export class StaticDefinedListManagementService extends BaseService {
447
460
  const translations = requestParameters?.translations;
448
461
  const acceptLanguage = requestParameters?.acceptLanguage;
449
462
 
450
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
451
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>updatemode, 'updatemode');
452
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
463
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
464
+
465
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'updatemode', <any>updatemode, QueryParamStyle.Form, true);
466
+
467
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
453
468
 
454
469
  let localVarHeaders = this.defaultHeaders;
455
470
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -491,12 +506,12 @@ export class StaticDefinedListManagementService extends BaseService {
491
506
  return this.httpClient.request<StaticDefinedList>('post', `${basePath}${localVarPath}`, {
492
507
  context: localVarHttpContext,
493
508
  body: staticDefinedList,
494
- params: localVarQueryParameters,
509
+ params: localVarQueryParameters.toHttpParams(),
495
510
  responseType: <any>responseType_,
496
511
  ...(withCredentials ? { withCredentials } : {}),
497
512
  headers: localVarHeaders,
498
513
  observe: observe,
499
- transferCache: localVarTransferCache,
514
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
500
515
  reportProgress: reportProgress
501
516
  });
502
517
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -54,9 +54,11 @@ export class StockImportService extends BaseService {
54
54
 
55
55
  /**
56
56
  * This imports 10 images from Pixabay into new collection type with specific id: t111111111111
57
+ * @endpoint get /stockimport/pixabay
57
58
  * @param requestParameters
58
59
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
59
60
  * @param reportProgress flag to report request and response progress.
61
+ * @param options additional options
60
62
  */
61
63
  public httpStockImportPixabay(
62
64
  requestParameters: HttpStockImportPixabayRequestParams,
@@ -89,10 +91,13 @@ export class StockImportService extends BaseService {
89
91
  const count = requestParameters?.count;
90
92
  const mediaType = requestParameters?.mediaType;
91
93
 
92
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
93
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>q, 'q');
94
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>count, 'count');
95
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>mediaType, 'media_type');
94
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
95
+
96
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'q', <any>q, QueryParamStyle.Form, true);
97
+
98
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'count', <any>count, QueryParamStyle.Form, true);
99
+
100
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'media_type', <any>mediaType, QueryParamStyle.Form, true);
96
101
 
97
102
  let localVarHeaders = this.defaultHeaders;
98
103
 
@@ -123,21 +128,23 @@ export class StockImportService extends BaseService {
123
128
  const { basePath, withCredentials } = this.configuration;
124
129
  return this.httpClient.request<GroupAllAppData>('get', `${basePath}${localVarPath}`, {
125
130
  context: localVarHttpContext,
126
- params: localVarQueryParameters,
131
+ params: localVarQueryParameters.toHttpParams(),
127
132
  responseType: <any>responseType_,
128
133
  ...(withCredentials ? { withCredentials } : {}),
129
134
  headers: localVarHeaders,
130
135
  observe: observe,
131
- transferCache: localVarTransferCache,
136
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
132
137
  reportProgress: reportProgress
133
138
  });
134
139
  }
135
140
 
136
141
  /**
137
142
  * This imports 10 images from Unsplash into new collection type with specific id: t10000000-0000-0000-0000-000000000000
143
+ * @endpoint get /stockimport/unsplash
138
144
  * @param requestParameters
139
145
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
140
146
  * @param reportProgress flag to report request and response progress.
147
+ * @param options additional options
141
148
  */
142
149
  public httpStockImportUnsplash(
143
150
  requestParameters: HttpStockImportUnsplashRequestParams,
@@ -169,9 +176,11 @@ export class StockImportService extends BaseService {
169
176
  }
170
177
  const count = requestParameters?.count;
171
178
 
172
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
173
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>q, 'q');
174
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>count, 'count');
179
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
180
+
181
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'q', <any>q, QueryParamStyle.Form, true);
182
+
183
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'count', <any>count, QueryParamStyle.Form, true);
175
184
 
176
185
  let localVarHeaders = this.defaultHeaders;
177
186
 
@@ -202,12 +211,12 @@ export class StockImportService extends BaseService {
202
211
  const { basePath, withCredentials } = this.configuration;
203
212
  return this.httpClient.request<GroupAllAppData>('get', `${basePath}${localVarPath}`, {
204
213
  context: localVarHttpContext,
205
- params: localVarQueryParameters,
214
+ params: localVarQueryParameters.toHttpParams(),
206
215
  responseType: <any>responseType_,
207
216
  ...(withCredentials ? { withCredentials } : {}),
208
217
  headers: localVarHeaders,
209
218
  observe: observe,
210
- transferCache: localVarTransferCache,
219
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
211
220
  reportProgress: reportProgress
212
221
  });
213
222
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -47,9 +47,11 @@ export class StructureImportService extends BaseService {
47
47
 
48
48
  /**
49
49
  * This endpoint reads and creates structure elements for subfolders in the database based on container folder structure
50
+ * @endpoint put /structure
50
51
  * @param requestParameters
51
52
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
52
53
  * @param reportProgress flag to report request and response progress.
54
+ * @param options additional options
53
55
  */
54
56
  public httpStructureCreateCollections(
55
57
  requestParameters?: HttpStructureCreateCollectionsRequestParams,
@@ -79,10 +81,13 @@ export class StructureImportService extends BaseService {
79
81
  const parent = requestParameters?.parent;
80
82
  const rootiscolltype = requestParameters?.rootiscolltype;
81
83
 
82
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
83
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>collectiontypeid, 'collectiontypeid');
84
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>parent, 'parent');
85
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>rootiscolltype, 'rootiscolltype');
84
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
85
+
86
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
87
+
88
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'parent', <any>parent, QueryParamStyle.Form, true);
89
+
90
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'rootiscolltype', <any>rootiscolltype, QueryParamStyle.Form, true);
86
91
 
87
92
  let localVarHeaders = this.defaultHeaders;
88
93
 
@@ -113,12 +118,12 @@ export class StructureImportService extends BaseService {
113
118
  const { basePath, withCredentials } = this.configuration;
114
119
  return this.httpClient.request<Array<BlobInfoObj>>('put', `${basePath}${localVarPath}`, {
115
120
  context: localVarHttpContext,
116
- params: localVarQueryParameters,
121
+ params: localVarQueryParameters.toHttpParams(),
117
122
  responseType: <any>responseType_,
118
123
  ...(withCredentials ? { withCredentials } : {}),
119
124
  headers: localVarHeaders,
120
125
  observe: observe,
121
- transferCache: localVarTransferCache,
126
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
122
127
  reportProgress: reportProgress
123
128
  });
124
129
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -84,9 +84,11 @@ export class TranslationManagementService extends BaseService {
84
84
 
85
85
  /**
86
86
  * Get all the translations of a whole list of translatable entities.
87
+ * @endpoint post /translations
87
88
  * @param requestParameters
88
89
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
89
90
  * @param reportProgress flag to report request and response progress.
91
+ * @param options additional options
90
92
  */
91
93
  public httpBulkTranslations(
92
94
  requestParameters: HttpBulkTranslationsRequestParams,
@@ -118,8 +120,9 @@ export class TranslationManagementService extends BaseService {
118
120
  }
119
121
  const property = requestParameters?.property;
120
122
 
121
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
122
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>property, 'property');
123
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
124
+
125
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'property', <any>property, QueryParamStyle.Form, true);
123
126
 
124
127
  let localVarHeaders = this.defaultHeaders;
125
128
 
@@ -158,21 +161,23 @@ export class TranslationManagementService extends BaseService {
158
161
  return this.httpClient.request<Array<EntityTranslations>>('post', `${basePath}${localVarPath}`, {
159
162
  context: localVarHttpContext,
160
163
  body: requestBody,
161
- params: localVarQueryParameters,
164
+ params: localVarQueryParameters.toHttpParams(),
162
165
  responseType: <any>responseType_,
163
166
  ...(withCredentials ? { withCredentials } : {}),
164
167
  headers: localVarHeaders,
165
168
  observe: observe,
166
- transferCache: localVarTransferCache,
169
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
167
170
  reportProgress: reportProgress
168
171
  });
169
172
  }
170
173
 
171
174
  /**
172
175
  * Translates the given text into the requested languages by the Microsoft AI Translator. (only when enabled in settings)
176
+ * @endpoint post /translations-ai
173
177
  * @param requestParameters
174
178
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
175
179
  * @param reportProgress flag to report request and response progress.
180
+ * @param options additional options
176
181
  */
177
182
  public httpCognitiveTranslateText(
178
183
  requestParameters: HttpCognitiveTranslateTextRequestParams,
@@ -244,16 +249,18 @@ export class TranslationManagementService extends BaseService {
244
249
  ...(withCredentials ? { withCredentials } : {}),
245
250
  headers: localVarHeaders,
246
251
  observe: observe,
247
- transferCache: localVarTransferCache,
252
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
248
253
  reportProgress: reportProgress
249
254
  });
250
255
  }
251
256
 
252
257
  /**
253
258
  * Get all the translations of a whole entity (Asset, Collection, Collection Type, Download Format)
259
+ * @endpoint get /translations/{id}
254
260
  * @param requestParameters
255
261
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
256
262
  * @param reportProgress flag to report request and response progress.
263
+ * @param options additional options
257
264
  */
258
265
  public httpTranslationsById(
259
266
  requestParameters: HttpTranslationsByIdRequestParams,
@@ -285,8 +292,9 @@ export class TranslationManagementService extends BaseService {
285
292
  }
286
293
  const items = requestParameters?.items;
287
294
 
288
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
289
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>items, 'items');
295
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
296
+
297
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
290
298
 
291
299
  let localVarHeaders = this.defaultHeaders;
292
300
 
@@ -317,21 +325,23 @@ export class TranslationManagementService extends BaseService {
317
325
  const { basePath, withCredentials } = this.configuration;
318
326
  return this.httpClient.request<{ [key: string]: { [key: string]: any } }>('get', `${basePath}${localVarPath}`, {
319
327
  context: localVarHttpContext,
320
- params: localVarQueryParameters,
328
+ params: localVarQueryParameters.toHttpParams(),
321
329
  responseType: <any>responseType_,
322
330
  ...(withCredentials ? { withCredentials } : {}),
323
331
  headers: localVarHeaders,
324
332
  observe: observe,
325
- transferCache: localVarTransferCache,
333
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
326
334
  reportProgress: reportProgress
327
335
  });
328
336
  }
329
337
 
330
338
  /**
331
339
  * Get the translation of custom field on the entity (Asset, Collection)
340
+ * @endpoint get /translations/{id}/custom/{customField}
332
341
  * @param requestParameters
333
342
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
334
343
  * @param reportProgress flag to report request and response progress.
344
+ * @param options additional options
335
345
  */
336
346
  public httpTranslationsByIdFilterByCustomField(
337
347
  requestParameters: HttpTranslationsByIdFilterByCustomFieldRequestParams,
@@ -399,16 +409,18 @@ export class TranslationManagementService extends BaseService {
399
409
  ...(withCredentials ? { withCredentials } : {}),
400
410
  headers: localVarHeaders,
401
411
  observe: observe,
402
- transferCache: localVarTransferCache,
412
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
403
413
  reportProgress: reportProgress
404
414
  });
405
415
  }
406
416
 
407
417
  /**
408
418
  * Get the translations of a specific field on the entity (Asset, Collection, Collection Type, Download Format)
419
+ * @endpoint get /translations/{id}/{property}
409
420
  * @param requestParameters
410
421
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
411
422
  * @param reportProgress flag to report request and response progress.
423
+ * @param options additional options
412
424
  */
413
425
  public httpTranslationsByIdFilterByProperty(
414
426
  requestParameters: HttpTranslationsByIdFilterByPropertyRequestParams,
@@ -444,8 +456,9 @@ export class TranslationManagementService extends BaseService {
444
456
  }
445
457
  const items = requestParameters?.items;
446
458
 
447
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
448
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>items, 'items');
459
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
460
+
461
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
449
462
 
450
463
  let localVarHeaders = this.defaultHeaders;
451
464
 
@@ -476,21 +489,23 @@ export class TranslationManagementService extends BaseService {
476
489
  const { basePath, withCredentials } = this.configuration;
477
490
  return this.httpClient.request<{ [key: string]: { [key: string]: any } }>('get', `${basePath}${localVarPath}`, {
478
491
  context: localVarHttpContext,
479
- params: localVarQueryParameters,
492
+ params: localVarQueryParameters.toHttpParams(),
480
493
  responseType: <any>responseType_,
481
494
  ...(withCredentials ? { withCredentials } : {}),
482
495
  headers: localVarHeaders,
483
496
  observe: observe,
484
- transferCache: localVarTransferCache,
497
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
485
498
  reportProgress: reportProgress
486
499
  });
487
500
  }
488
501
 
489
502
  /**
490
503
  * Updates the translations of a whole entity (Asset, Collection, Collection Type, Download Format)
504
+ * @endpoint post /translations/{id}
491
505
  * @param requestParameters
492
506
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
493
507
  * @param reportProgress flag to report request and response progress.
508
+ * @param options additional options
494
509
  */
495
510
  public httpUpdateTranslationsById(
496
511
  requestParameters: HttpUpdateTranslationsByIdRequestParams,
@@ -566,7 +581,7 @@ export class TranslationManagementService extends BaseService {
566
581
  ...(withCredentials ? { withCredentials } : {}),
567
582
  headers: localVarHeaders,
568
583
  observe: observe,
569
- transferCache: localVarTransferCache,
584
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
570
585
  reportProgress: reportProgress
571
586
  });
572
587
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -62,9 +62,11 @@ export class WebAppDataService extends BaseService {
62
62
 
63
63
  /**
64
64
  * This returns all collections and assets from the given collection type.
65
+ * @endpoint get /data/collectiontype/{id}
65
66
  * @param requestParameters
66
67
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
67
68
  * @param reportProgress flag to report request and response progress.
69
+ * @param options additional options
68
70
  */
69
71
  public httpGetDataCollectionType(
70
72
  requestParameters: HttpGetDataCollectionTypeRequestParams,
@@ -128,16 +130,18 @@ export class WebAppDataService extends BaseService {
128
130
  ...(withCredentials ? { withCredentials } : {}),
129
131
  headers: localVarHeaders,
130
132
  observe: observe,
131
- transferCache: localVarTransferCache,
133
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
132
134
  reportProgress: reportProgress
133
135
  });
134
136
  }
135
137
 
136
138
  /**
137
139
  * This lists all elements of a given collection which can be used by the web frontend. It includes structure and all assets. All coming live from database.
140
+ * @endpoint get /webappdata/{id}
138
141
  * @param requestParameters
139
142
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
140
143
  * @param reportProgress flag to report request and response progress.
144
+ * @param options additional options
141
145
  */
142
146
  public httpGetWebAppData(
143
147
  requestParameters: HttpGetWebAppDataRequestParams,
@@ -201,16 +205,18 @@ export class WebAppDataService extends BaseService {
201
205
  ...(withCredentials ? { withCredentials } : {}),
202
206
  headers: localVarHeaders,
203
207
  observe: observe,
204
- transferCache: localVarTransferCache,
208
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
205
209
  reportProgress: reportProgress
206
210
  });
207
211
  }
208
212
 
209
213
  /**
210
214
  * This triggers an async action to publish the whole structure and puts it to public blob storage with collection type id with extension json.
215
+ * @endpoint post /data/collectiontype/{id}
211
216
  * @param requestParameters
212
217
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
213
218
  * @param reportProgress flag to report request and response progress.
219
+ * @param options additional options
214
220
  */
215
221
  public httpPostDataCollectionType(
216
222
  requestParameters: HttpPostDataCollectionTypeRequestParams,
@@ -274,16 +280,18 @@ export class WebAppDataService extends BaseService {
274
280
  ...(withCredentials ? { withCredentials } : {}),
275
281
  headers: localVarHeaders,
276
282
  observe: observe,
277
- transferCache: localVarTransferCache,
283
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
278
284
  reportProgress: reportProgress
279
285
  });
280
286
  }
281
287
 
282
288
  /**
283
289
  * Takes whole structure and puts it to public blob storage with collection id with extension json.
290
+ * @endpoint post /webappdata/{id}
284
291
  * @param requestParameters
285
292
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
286
293
  * @param reportProgress flag to report request and response progress.
294
+ * @param options additional options
287
295
  */
288
296
  public httpPostWebAppData(
289
297
  requestParameters: HttpPostWebAppDataRequestParams,
@@ -347,7 +355,7 @@ export class WebAppDataService extends BaseService {
347
355
  ...(withCredentials ? { withCredentials } : {}),
348
356
  headers: localVarHeaders,
349
357
  observe: observe,
350
- transferCache: localVarTransferCache,
358
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
351
359
  reportProgress: reportProgress
352
360
  });
353
361
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -43,8 +43,10 @@ export class WidgetLayoutManagementService extends BaseService {
43
43
 
44
44
  /**
45
45
  * This endpoint gets the dashboard layout in database.
46
+ * @endpoint get /dashboard/layout
46
47
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
47
48
  * @param reportProgress flag to report request and response progress.
49
+ * @param options additional options
48
50
  */
49
51
  public httpWidgetLayoutGet(
50
52
  observe?: 'body',
@@ -99,16 +101,18 @@ export class WidgetLayoutManagementService extends BaseService {
99
101
  ...(withCredentials ? { withCredentials } : {}),
100
102
  headers: localVarHeaders,
101
103
  observe: observe,
102
- transferCache: localVarTransferCache,
104
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
103
105
  reportProgress: reportProgress
104
106
  });
105
107
  }
106
108
 
107
109
  /**
108
110
  * Updates the widget layout in database.
111
+ * @endpoint post /dashboard/layout
109
112
  * @param requestParameters
110
113
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
111
114
  * @param reportProgress flag to report request and response progress.
115
+ * @param options additional options
112
116
  */
113
117
  public httpWidgetLayoutUpdate(
114
118
  requestParameters: HttpWidgetLayoutUpdateRequestParams,
@@ -180,7 +184,7 @@ export class WidgetLayoutManagementService extends BaseService {
180
184
  ...(withCredentials ? { withCredentials } : {}),
181
185
  headers: localVarHeaders,
182
186
  observe: observe,
183
- transferCache: localVarTransferCache,
187
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
184
188
  reportProgress: reportProgress
185
189
  });
186
190
  }