@agravity/private 10.3.5 → 11.0.1

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';
@@ -73,9 +73,11 @@ export class DashboardWidgetManagementService extends BaseService {
73
73
 
74
74
  /**
75
75
  * This endpoint creates a dashboard widget in database.
76
+ * @endpoint post /dashboard/widgets
76
77
  * @param requestParameters
77
78
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
78
79
  * @param reportProgress flag to report request and response progress.
80
+ * @param options additional options
79
81
  */
80
82
  public httpDashboardWidgetsCreate(
81
83
  requestParameters: HttpDashboardWidgetsCreateRequestParams,
@@ -151,16 +153,18 @@ export class DashboardWidgetManagementService extends BaseService {
151
153
  ...(withCredentials ? { withCredentials } : {}),
152
154
  headers: localVarHeaders,
153
155
  observe: observe,
154
- transferCache: localVarTransferCache,
156
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
155
157
  reportProgress: reportProgress
156
158
  });
157
159
  }
158
160
 
159
161
  /**
160
162
  * This endpoint deletes a single dashboard widget.
163
+ * @endpoint delete /dashboard/widgets/{id}
161
164
  * @param requestParameters
162
165
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
163
166
  * @param reportProgress flag to report request and response progress.
167
+ * @param options additional options
164
168
  */
165
169
  public httpDashboardWidgetsDeleteById(
166
170
  requestParameters: HttpDashboardWidgetsDeleteByIdRequestParams,
@@ -224,16 +228,18 @@ export class DashboardWidgetManagementService extends BaseService {
224
228
  ...(withCredentials ? { withCredentials } : {}),
225
229
  headers: localVarHeaders,
226
230
  observe: observe,
227
- transferCache: localVarTransferCache,
231
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
228
232
  reportProgress: reportProgress
229
233
  });
230
234
  }
231
235
 
232
236
  /**
233
237
  * This endpoint lists all dashboard widgets in database.
238
+ * @endpoint get /dashboard/widgets
234
239
  * @param requestParameters
235
240
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
236
241
  * @param reportProgress flag to report request and response progress.
242
+ * @param options additional options
237
243
  */
238
244
  public httpDashboardWidgetsGetAll(
239
245
  requestParameters?: HttpDashboardWidgetsGetAllRequestParams,
@@ -262,8 +268,9 @@ export class DashboardWidgetManagementService extends BaseService {
262
268
  const populate = requestParameters?.populate;
263
269
  const acceptLanguage = requestParameters?.acceptLanguage;
264
270
 
265
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
266
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>populate, 'populate');
271
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
272
+
273
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'populate', <any>populate, QueryParamStyle.Form, true);
267
274
 
268
275
  let localVarHeaders = this.defaultHeaders;
269
276
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -297,21 +304,23 @@ export class DashboardWidgetManagementService extends BaseService {
297
304
  const { basePath, withCredentials } = this.configuration;
298
305
  return this.httpClient.request<Array<DashboardWidget>>('get', `${basePath}${localVarPath}`, {
299
306
  context: localVarHttpContext,
300
- params: localVarQueryParameters,
307
+ params: localVarQueryParameters.toHttpParams(),
301
308
  responseType: <any>responseType_,
302
309
  ...(withCredentials ? { withCredentials } : {}),
303
310
  headers: localVarHeaders,
304
311
  observe: observe,
305
- transferCache: localVarTransferCache,
312
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
306
313
  reportProgress: reportProgress
307
314
  });
308
315
  }
309
316
 
310
317
  /**
311
318
  * This endpoint gets a dashboard widget from database.
319
+ * @endpoint get /dashboard/widgets/{id}
312
320
  * @param requestParameters
313
321
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
314
322
  * @param reportProgress flag to report request and response progress.
323
+ * @param options additional options
315
324
  */
316
325
  public httpDashboardWidgetsGetById(
317
326
  requestParameters: HttpDashboardWidgetsGetByIdRequestParams,
@@ -379,16 +388,18 @@ export class DashboardWidgetManagementService extends BaseService {
379
388
  ...(withCredentials ? { withCredentials } : {}),
380
389
  headers: localVarHeaders,
381
390
  observe: observe,
382
- transferCache: localVarTransferCache,
391
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
383
392
  reportProgress: reportProgress
384
393
  });
385
394
  }
386
395
 
387
396
  /**
388
397
  * Updates a dashboard widget in database.
398
+ * @endpoint post /dashboard/widgets/{id}
389
399
  * @param requestParameters
390
400
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
391
401
  * @param reportProgress flag to report request and response progress.
402
+ * @param options additional options
392
403
  */
393
404
  public httpDashboardWidgetsUpdateById(
394
405
  requestParameters: HttpDashboardWidgetsUpdateByIdRequestParams,
@@ -468,7 +479,7 @@ export class DashboardWidgetManagementService extends BaseService {
468
479
  ...(withCredentials ? { withCredentials } : {}),
469
480
  headers: localVarHeaders,
470
481
  observe: observe,
471
- transferCache: localVarTransferCache,
482
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
472
483
  reportProgress: reportProgress
473
484
  });
474
485
  }
@@ -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';
@@ -94,9 +94,11 @@ export class DataImportExportManagementService extends BaseService {
94
94
 
95
95
  /**
96
96
  * This endpoint creates an excel export of an asset list.
97
+ * @endpoint post /data/excel/export/assets
97
98
  * @param requestParameters
98
99
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
99
100
  * @param reportProgress flag to report request and response progress.
101
+ * @param options additional options
100
102
  */
101
103
  public httpDataExportAssetsAsExcel(
102
104
  requestParameters: HttpDataExportAssetsAsExcelRequestParams,
@@ -128,8 +130,9 @@ export class DataImportExportManagementService extends BaseService {
128
130
  }
129
131
  const language = requestParameters?.language;
130
132
 
131
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
132
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>language, 'language');
133
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
134
+
135
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'language', <any>language, QueryParamStyle.Form, true);
133
136
 
134
137
  let localVarHeaders = this.defaultHeaders;
135
138
 
@@ -168,21 +171,23 @@ export class DataImportExportManagementService extends BaseService {
168
171
  return this.httpClient.request<ExcelExportTableEntity>('post', `${basePath}${localVarPath}`, {
169
172
  context: localVarHttpContext,
170
173
  body: httpAssetExportInputParameter,
171
- params: localVarQueryParameters,
174
+ params: localVarQueryParameters.toHttpParams(),
172
175
  responseType: <any>responseType_,
173
176
  ...(withCredentials ? { withCredentials } : {}),
174
177
  headers: localVarHeaders,
175
178
  observe: observe,
176
- transferCache: localVarTransferCache,
179
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
177
180
  reportProgress: reportProgress
178
181
  });
179
182
  }
180
183
 
181
184
  /**
182
185
  * This endpoint retrieves the status and if populated the url to the excel or translation export.
186
+ * @endpoint get /data/excel/export/status/{id}
183
187
  * @param requestParameters
184
188
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
185
189
  * @param reportProgress flag to report request and response progress.
190
+ * @param options additional options
186
191
  */
187
192
  public httpDataExportCheckStatus(
188
193
  requestParameters: HttpDataExportCheckStatusRequestParams,
@@ -246,16 +251,18 @@ export class DataImportExportManagementService extends BaseService {
246
251
  ...(withCredentials ? { withCredentials } : {}),
247
252
  headers: localVarHeaders,
248
253
  observe: observe,
249
- transferCache: localVarTransferCache,
254
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
250
255
  reportProgress: reportProgress
251
256
  });
252
257
  }
253
258
 
254
259
  /**
255
260
  * This endpoint creates an excel export of the db
261
+ * @endpoint get /data/excel/export
256
262
  * @param requestParameters
257
263
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
258
264
  * @param reportProgress flag to report request and response progress.
265
+ * @param options additional options
259
266
  */
260
267
  public httpDataExportItemsAsExcel(
261
268
  requestParameters?: HttpDataExportItemsAsExcelRequestParams,
@@ -283,8 +290,9 @@ export class DataImportExportManagementService extends BaseService {
283
290
  ): Observable<any> {
284
291
  const filter = requestParameters?.filter;
285
292
 
286
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
287
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
293
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
294
+
295
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
288
296
 
289
297
  let localVarHeaders = this.defaultHeaders;
290
298
 
@@ -315,21 +323,23 @@ export class DataImportExportManagementService extends BaseService {
315
323
  const { basePath, withCredentials } = this.configuration;
316
324
  return this.httpClient.request<AgravityInfoResponse>('get', `${basePath}${localVarPath}`, {
317
325
  context: localVarHttpContext,
318
- params: localVarQueryParameters,
326
+ params: localVarQueryParameters.toHttpParams(),
319
327
  responseType: <any>responseType_,
320
328
  ...(withCredentials ? { withCredentials } : {}),
321
329
  headers: localVarHeaders,
322
330
  observe: observe,
323
- transferCache: localVarTransferCache,
331
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
324
332
  reportProgress: reportProgress
325
333
  });
326
334
  }
327
335
 
328
336
  /**
329
337
  * This endpoint creates an excel export of translations of db entities
338
+ * @endpoint get /data/excel/export/translations
330
339
  * @param requestParameters
331
340
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
332
341
  * @param reportProgress flag to report request and response progress.
342
+ * @param options additional options
333
343
  */
334
344
  public httpDataExportTranslationsAsExcel(
335
345
  requestParameters?: HttpDataExportTranslationsAsExcelRequestParams,
@@ -357,8 +367,9 @@ export class DataImportExportManagementService extends BaseService {
357
367
  ): Observable<any> {
358
368
  const filter = requestParameters?.filter;
359
369
 
360
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
361
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
370
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
371
+
372
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
362
373
 
363
374
  let localVarHeaders = this.defaultHeaders;
364
375
 
@@ -389,21 +400,23 @@ export class DataImportExportManagementService extends BaseService {
389
400
  const { basePath, withCredentials } = this.configuration;
390
401
  return this.httpClient.request<ExcelExportTableEntity>('get', `${basePath}${localVarPath}`, {
391
402
  context: localVarHttpContext,
392
- params: localVarQueryParameters,
403
+ params: localVarQueryParameters.toHttpParams(),
393
404
  responseType: <any>responseType_,
394
405
  ...(withCredentials ? { withCredentials } : {}),
395
406
  headers: localVarHeaders,
396
407
  observe: observe,
397
- transferCache: localVarTransferCache,
408
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
398
409
  reportProgress: reportProgress
399
410
  });
400
411
  }
401
412
 
402
413
  /**
403
414
  * This endpoint retrieves the status and if populated the url to the excel export
415
+ * @endpoint delete /data/excel/export/translations/{id}
404
416
  * @param requestParameters
405
417
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
406
418
  * @param reportProgress flag to report request and response progress.
419
+ * @param options additional options
407
420
  */
408
421
  public httpDataExportTranslationsCancel(
409
422
  requestParameters: HttpDataExportTranslationsCancelRequestParams,
@@ -467,16 +480,18 @@ export class DataImportExportManagementService extends BaseService {
467
480
  ...(withCredentials ? { withCredentials } : {}),
468
481
  headers: localVarHeaders,
469
482
  observe: observe,
470
- transferCache: localVarTransferCache,
483
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
471
484
  reportProgress: reportProgress
472
485
  });
473
486
  }
474
487
 
475
488
  /**
476
489
  * This endpoint starts an excel import of assets from an uploaded Excel file.
490
+ * @endpoint post /data/excel/import/assets
477
491
  * @param requestParameters
478
492
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
479
493
  * @param reportProgress flag to report request and response progress.
494
+ * @param options additional options
480
495
  */
481
496
  public httpDataImportAssetsAsExcel(
482
497
  requestParameters: HttpDataImportAssetsAsExcelRequestParams,
@@ -509,10 +524,13 @@ export class DataImportExportManagementService extends BaseService {
509
524
  const language = requestParameters?.language;
510
525
  const deleteEmptyValues = requestParameters?.deleteEmptyValues;
511
526
 
512
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
513
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fileName, 'fileName');
514
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>language, 'language');
515
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>deleteEmptyValues, 'deleteEmptyValues');
527
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
528
+
529
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fileName', <any>fileName, QueryParamStyle.Form, true);
530
+
531
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'language', <any>language, QueryParamStyle.Form, true);
532
+
533
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'deleteEmptyValues', <any>deleteEmptyValues, QueryParamStyle.Form, true);
516
534
 
517
535
  let localVarHeaders = this.defaultHeaders;
518
536
 
@@ -543,21 +561,23 @@ export class DataImportExportManagementService extends BaseService {
543
561
  const { basePath, withCredentials } = this.configuration;
544
562
  return this.httpClient.request<ExcelExportTableEntity>('post', `${basePath}${localVarPath}`, {
545
563
  context: localVarHttpContext,
546
- params: localVarQueryParameters,
564
+ params: localVarQueryParameters.toHttpParams(),
547
565
  responseType: <any>responseType_,
548
566
  ...(withCredentials ? { withCredentials } : {}),
549
567
  headers: localVarHeaders,
550
568
  observe: observe,
551
- transferCache: localVarTransferCache,
569
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
552
570
  reportProgress: reportProgress
553
571
  });
554
572
  }
555
573
 
556
574
  /**
557
575
  * This endpoint retrieves the status of the excel import.
576
+ * @endpoint get /data/excel/import/{id}
558
577
  * @param requestParameters
559
578
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
560
579
  * @param reportProgress flag to report request and response progress.
580
+ * @param options additional options
561
581
  */
562
582
  public httpDataImportCheckStatus(
563
583
  requestParameters: HttpDataImportCheckStatusRequestParams,
@@ -621,15 +641,17 @@ export class DataImportExportManagementService extends BaseService {
621
641
  ...(withCredentials ? { withCredentials } : {}),
622
642
  headers: localVarHeaders,
623
643
  observe: observe,
624
- transferCache: localVarTransferCache,
644
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
625
645
  reportProgress: reportProgress
626
646
  });
627
647
  }
628
648
 
629
649
  /**
630
650
  * This endpoint puts a excel file on the translations import blob container
651
+ * @endpoint post /data/excel/import/translations
631
652
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
632
653
  * @param reportProgress flag to report request and response progress.
654
+ * @param options additional options
633
655
  */
634
656
  public httpDataImportTranslationsAsExcel(
635
657
  observe?: 'body',
@@ -684,16 +706,18 @@ export class DataImportExportManagementService extends BaseService {
684
706
  ...(withCredentials ? { withCredentials } : {}),
685
707
  headers: localVarHeaders,
686
708
  observe: observe,
687
- transferCache: localVarTransferCache,
709
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
688
710
  reportProgress: reportProgress
689
711
  });
690
712
  }
691
713
 
692
714
  /**
693
715
  * This endpoint gets available fields for asset export selection
716
+ * @endpoint post /data/excel/export/assets/fields
694
717
  * @param requestParameters
695
718
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
696
719
  * @param reportProgress flag to report request and response progress.
720
+ * @param options additional options
697
721
  */
698
722
  public httpGetAvailableExportFields(
699
723
  requestParameters: HttpGetAvailableExportFieldsRequestParams,
@@ -765,7 +789,7 @@ export class DataImportExportManagementService extends BaseService {
765
789
  ...(withCredentials ? { withCredentials } : {}),
766
790
  headers: localVarHeaders,
767
791
  observe: observe,
768
- transferCache: localVarTransferCache,
792
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
769
793
  reportProgress: reportProgress
770
794
  });
771
795
  }
@@ -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';
@@ -90,9 +90,11 @@ export class DownloadFormatManagementService extends BaseService {
90
90
 
91
91
  /**
92
92
  * This endpoint creates one download format entry in the database.
93
+ * @endpoint post /downloadformats
93
94
  * @param requestParameters
94
95
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
95
96
  * @param reportProgress flag to report request and response progress.
97
+ * @param options additional options
96
98
  */
97
99
  public httpDownloadFormatsCreate(
98
100
  requestParameters: HttpDownloadFormatsCreateRequestParams,
@@ -125,8 +127,9 @@ export class DownloadFormatManagementService extends BaseService {
125
127
  const translations = requestParameters?.translations;
126
128
  const acceptLanguage = requestParameters?.acceptLanguage;
127
129
 
128
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
129
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
130
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
131
+
132
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
130
133
 
131
134
  let localVarHeaders = this.defaultHeaders;
132
135
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -168,21 +171,23 @@ export class DownloadFormatManagementService extends BaseService {
168
171
  return this.httpClient.request<DownloadFormat>('post', `${basePath}${localVarPath}`, {
169
172
  context: localVarHttpContext,
170
173
  body: downloadFormat,
171
- params: localVarQueryParameters,
174
+ params: localVarQueryParameters.toHttpParams(),
172
175
  responseType: <any>responseType_,
173
176
  ...(withCredentials ? { withCredentials } : {}),
174
177
  headers: localVarHeaders,
175
178
  observe: observe,
176
- transferCache: localVarTransferCache,
179
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
177
180
  reportProgress: reportProgress
178
181
  });
179
182
  }
180
183
 
181
184
  /**
182
185
  * This endpoint deletes a single download format.
186
+ * @endpoint delete /downloadformats/{id}
183
187
  * @param requestParameters
184
188
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
185
189
  * @param reportProgress flag to report request and response progress.
190
+ * @param options additional options
186
191
  */
187
192
  public httpDownloadFormatsDeleteById(
188
193
  requestParameters: HttpDownloadFormatsDeleteByIdRequestParams,
@@ -246,16 +251,18 @@ export class DownloadFormatManagementService extends BaseService {
246
251
  ...(withCredentials ? { withCredentials } : {}),
247
252
  headers: localVarHeaders,
248
253
  observe: observe,
249
- transferCache: localVarTransferCache,
254
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
250
255
  reportProgress: reportProgress
251
256
  });
252
257
  }
253
258
 
254
259
  /**
255
260
  * This endpoint lists all download formats in database.
261
+ * @endpoint get /downloadformats
256
262
  * @param requestParameters
257
263
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
258
264
  * @param reportProgress flag to report request and response progress.
265
+ * @param options additional options
259
266
  */
260
267
  public httpDownloadFormatsGetAll(
261
268
  requestParameters?: HttpDownloadFormatsGetAllRequestParams,
@@ -284,8 +291,9 @@ export class DownloadFormatManagementService extends BaseService {
284
291
  const translations = requestParameters?.translations;
285
292
  const acceptLanguage = requestParameters?.acceptLanguage;
286
293
 
287
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
288
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
294
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
295
+
296
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
289
297
 
290
298
  let localVarHeaders = this.defaultHeaders;
291
299
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -319,21 +327,23 @@ export class DownloadFormatManagementService extends BaseService {
319
327
  const { basePath, withCredentials } = this.configuration;
320
328
  return this.httpClient.request<Array<DownloadFormat>>('get', `${basePath}${localVarPath}`, {
321
329
  context: localVarHttpContext,
322
- params: localVarQueryParameters,
330
+ params: localVarQueryParameters.toHttpParams(),
323
331
  responseType: <any>responseType_,
324
332
  ...(withCredentials ? { withCredentials } : {}),
325
333
  headers: localVarHeaders,
326
334
  observe: observe,
327
- transferCache: localVarTransferCache,
335
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
328
336
  reportProgress: reportProgress
329
337
  });
330
338
  }
331
339
 
332
340
  /**
333
341
  * This endpoint get a single download format.
342
+ * @endpoint get /downloadformats/{id}
334
343
  * @param requestParameters
335
344
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
336
345
  * @param reportProgress flag to report request and response progress.
346
+ * @param options additional options
337
347
  */
338
348
  public httpDownloadFormatsGetById(
339
349
  requestParameters: HttpDownloadFormatsGetByIdRequestParams,
@@ -366,8 +376,9 @@ export class DownloadFormatManagementService extends BaseService {
366
376
  const translations = requestParameters?.translations;
367
377
  const acceptLanguage = requestParameters?.acceptLanguage;
368
378
 
369
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
370
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
379
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
380
+
381
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
371
382
 
372
383
  let localVarHeaders = this.defaultHeaders;
373
384
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -401,21 +412,23 @@ export class DownloadFormatManagementService extends BaseService {
401
412
  const { basePath, withCredentials } = this.configuration;
402
413
  return this.httpClient.request<any>('get', `${basePath}${localVarPath}`, {
403
414
  context: localVarHttpContext,
404
- params: localVarQueryParameters,
415
+ params: localVarQueryParameters.toHttpParams(),
405
416
  responseType: <any>responseType_,
406
417
  ...(withCredentials ? { withCredentials } : {}),
407
418
  headers: localVarHeaders,
408
419
  observe: observe,
409
- transferCache: localVarTransferCache,
420
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
410
421
  reportProgress: reportProgress
411
422
  });
412
423
  }
413
424
 
414
425
  /**
415
426
  * This endpoint updates the permissions of the download format. The modifier tells the system what to do with the list of ids.
427
+ * @endpoint post /downloadformats/{id}/permissions
416
428
  * @param requestParameters
417
429
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
418
430
  * @param reportProgress flag to report request and response progress.
431
+ * @param options additional options
419
432
  */
420
433
  public httpDownloadFormatsUpdatePermissionsById(
421
434
  requestParameters: HttpDownloadFormatsUpdatePermissionsByIdRequestParams,
@@ -491,16 +504,18 @@ export class DownloadFormatManagementService extends BaseService {
491
504
  ...(withCredentials ? { withCredentials } : {}),
492
505
  headers: localVarHeaders,
493
506
  observe: observe,
494
- transferCache: localVarTransferCache,
507
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
495
508
  reportProgress: reportProgress
496
509
  });
497
510
  }
498
511
 
499
512
  /**
500
513
  * This endpoint updates a download format entry in the database.
514
+ * @endpoint post /downloadformats/{id}
501
515
  * @param requestParameters
502
516
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
503
517
  * @param reportProgress flag to report request and response progress.
518
+ * @param options additional options
504
519
  */
505
520
  public httpDownloadFormatsUpdateWithId(
506
521
  requestParameters: HttpDownloadFormatsUpdateWithIdRequestParams,
@@ -537,8 +552,9 @@ export class DownloadFormatManagementService extends BaseService {
537
552
  const translations = requestParameters?.translations;
538
553
  const acceptLanguage = requestParameters?.acceptLanguage;
539
554
 
540
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
541
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
555
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
556
+
557
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
542
558
 
543
559
  let localVarHeaders = this.defaultHeaders;
544
560
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -580,12 +596,12 @@ export class DownloadFormatManagementService extends BaseService {
580
596
  return this.httpClient.request<DownloadFormat>('post', `${basePath}${localVarPath}`, {
581
597
  context: localVarHttpContext,
582
598
  body: downloadFormat,
583
- params: localVarQueryParameters,
599
+ params: localVarQueryParameters.toHttpParams(),
584
600
  responseType: <any>responseType_,
585
601
  ...(withCredentials ? { withCredentials } : {}),
586
602
  headers: localVarHeaders,
587
603
  observe: observe,
588
- transferCache: localVarTransferCache,
604
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
589
605
  reportProgress: reportProgress
590
606
  });
591
607
  }
@@ -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';
@@ -55,9 +55,11 @@ export class DownloadZipService extends BaseService {
55
55
 
56
56
  /**
57
57
  * This endpoint removes the ZIP request and all related data from the database and storage.
58
+ * @endpoint delete /downloadzip/{zipId}
58
59
  * @param requestParameters
59
60
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
60
61
  * @param reportProgress flag to report request and response progress.
62
+ * @param options additional options
61
63
  */
62
64
  public httpDeleteZipById(
63
65
  requestParameters: HttpDeleteZipByIdRequestParams,
@@ -121,16 +123,18 @@ export class DownloadZipService extends BaseService {
121
123
  ...(withCredentials ? { withCredentials } : {}),
122
124
  headers: localVarHeaders,
123
125
  observe: observe,
124
- transferCache: localVarTransferCache,
126
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
125
127
  reportProgress: reportProgress
126
128
  });
127
129
  }
128
130
 
129
131
  /**
130
132
  * This endpoint queues assets in a defined download format for ZIP generation. Queues will deliver an email with a download link.
133
+ * @endpoint post /downloadzip
131
134
  * @param requestParameters
132
135
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
133
136
  * @param reportProgress flag to report request and response progress.
137
+ * @param options additional options
134
138
  */
135
139
  public httpDownloadZip(
136
140
  requestParameters: HttpDownloadZipRequestParams,
@@ -202,16 +206,18 @@ export class DownloadZipService extends BaseService {
202
206
  ...(withCredentials ? { withCredentials } : {}),
203
207
  headers: localVarHeaders,
204
208
  observe: observe,
205
- transferCache: localVarTransferCache,
209
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
206
210
  reportProgress: reportProgress
207
211
  });
208
212
  }
209
213
 
210
214
  /**
211
215
  * This endpoint gets the progress/status of the ZIP creation.
216
+ * @endpoint get /downloadzip/{zipId}
212
217
  * @param requestParameters
213
218
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
214
219
  * @param reportProgress flag to report request and response progress.
220
+ * @param options additional options
215
221
  */
216
222
  public httpGetStatusZipById(
217
223
  requestParameters: HttpGetStatusZipByIdRequestParams,
@@ -275,7 +281,7 @@ export class DownloadZipService extends BaseService {
275
281
  ...(withCredentials ? { withCredentials } : {}),
276
282
  headers: localVarHeaders,
277
283
  observe: observe,
278
- transferCache: localVarTransferCache,
284
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
279
285
  reportProgress: reportProgress
280
286
  });
281
287
  }