@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';
@@ -150,9 +150,11 @@ export class CollectionManagementService extends BaseService {
150
150
 
151
151
  /**
152
152
  * This endpoint creates a unique collection ID and adds the information to the database.
153
+ * @endpoint post /collections
153
154
  * @param requestParameters
154
155
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
155
156
  * @param reportProgress flag to report request and response progress.
157
+ * @param options additional options
156
158
  */
157
159
  public httpCollectionsCreate(
158
160
  requestParameters: HttpCollectionsCreateRequestParams,
@@ -189,9 +191,11 @@ export class CollectionManagementService extends BaseService {
189
191
  const translations = requestParameters?.translations;
190
192
  const acceptLanguage = requestParameters?.acceptLanguage;
191
193
 
192
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
193
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>collectiontypeid, 'collectiontypeid');
194
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
194
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
195
+
196
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
197
+
198
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
195
199
 
196
200
  let localVarHeaders = this.defaultHeaders;
197
201
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -233,21 +237,23 @@ export class CollectionManagementService extends BaseService {
233
237
  return this.httpClient.request<Collection>('post', `${basePath}${localVarPath}`, {
234
238
  context: localVarHttpContext,
235
239
  body: collection,
236
- params: localVarQueryParameters,
240
+ params: localVarQueryParameters.toHttpParams(),
237
241
  responseType: <any>responseType_,
238
242
  ...(withCredentials ? { withCredentials } : {}),
239
243
  headers: localVarHeaders,
240
244
  observe: observe,
241
- transferCache: localVarTransferCache,
245
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
242
246
  reportProgress: reportProgress
243
247
  });
244
248
  }
245
249
 
246
250
  /**
247
251
  * This endpoint deletes the collection with the given ID (and their siblings).
252
+ * @endpoint delete /collections/{id}
248
253
  * @param requestParameters
249
254
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
250
255
  * @param reportProgress flag to report request and response progress.
256
+ * @param options additional options
251
257
  */
252
258
  public httpCollectionsDeleteById(
253
259
  requestParameters: HttpCollectionsDeleteByIdRequestParams,
@@ -279,8 +285,9 @@ export class CollectionManagementService extends BaseService {
279
285
  }
280
286
  const deleteassets = requestParameters?.deleteassets;
281
287
 
282
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
283
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>deleteassets, 'deleteassets');
288
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
289
+
290
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'deleteassets', <any>deleteassets, QueryParamStyle.Form, true);
284
291
 
285
292
  let localVarHeaders = this.defaultHeaders;
286
293
 
@@ -311,21 +318,23 @@ export class CollectionManagementService extends BaseService {
311
318
  const { basePath, withCredentials } = this.configuration;
312
319
  return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
313
320
  context: localVarHttpContext,
314
- params: localVarQueryParameters,
321
+ params: localVarQueryParameters.toHttpParams(),
315
322
  responseType: <any>responseType_,
316
323
  ...(withCredentials ? { withCredentials } : {}),
317
324
  headers: localVarHeaders,
318
325
  observe: observe,
319
- transferCache: localVarTransferCache,
326
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
320
327
  reportProgress: reportProgress
321
328
  });
322
329
  }
323
330
 
324
331
  /**
325
332
  * This endpoint lists all the collections, which are stored in the database and not deleted (status \&quot;A\&quot;)
333
+ * @endpoint get /collections
326
334
  * @param requestParameters
327
335
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
328
336
  * @param reportProgress flag to report request and response progress.
337
+ * @param options additional options
329
338
  */
330
339
  public httpCollectionsGet(
331
340
  requestParameters?: HttpCollectionsGetRequestParams,
@@ -359,13 +368,19 @@ export class CollectionManagementService extends BaseService {
359
368
  const translations = requestParameters?.translations;
360
369
  const acceptLanguage = requestParameters?.acceptLanguage;
361
370
 
362
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
363
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>collectiontypeid, 'collectiontypeid');
364
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>level, 'level');
365
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>parentid, 'parentid');
366
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fields, 'fields');
367
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>items, 'items');
368
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
371
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
372
+
373
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
374
+
375
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'level', <any>level, QueryParamStyle.Form, true);
376
+
377
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'parentid', <any>parentid, QueryParamStyle.Form, true);
378
+
379
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
380
+
381
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
382
+
383
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
369
384
 
370
385
  let localVarHeaders = this.defaultHeaders;
371
386
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -399,21 +414,23 @@ export class CollectionManagementService extends BaseService {
399
414
  const { basePath, withCredentials } = this.configuration;
400
415
  return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
401
416
  context: localVarHttpContext,
402
- params: localVarQueryParameters,
417
+ params: localVarQueryParameters.toHttpParams(),
403
418
  responseType: <any>responseType_,
404
419
  ...(withCredentials ? { withCredentials } : {}),
405
420
  headers: localVarHeaders,
406
421
  observe: observe,
407
- transferCache: localVarTransferCache,
422
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
408
423
  reportProgress: reportProgress
409
424
  });
410
425
  }
411
426
 
412
427
  /**
413
428
  * This endpoint returns one single collection (from ID). This will include all specific properties from collection type.
429
+ * @endpoint get /collections/{id}
414
430
  * @param requestParameters
415
431
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
416
432
  * @param reportProgress flag to report request and response progress.
433
+ * @param options additional options
417
434
  */
418
435
  public httpCollectionsGetById(
419
436
  requestParameters: HttpCollectionsGetByIdRequestParams,
@@ -448,10 +465,13 @@ export class CollectionManagementService extends BaseService {
448
465
  const translations = requestParameters?.translations;
449
466
  const acceptLanguage = requestParameters?.acceptLanguage;
450
467
 
451
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
452
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fields, 'fields');
453
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>items, 'items');
454
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
468
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
469
+
470
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
471
+
472
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
473
+
474
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
455
475
 
456
476
  let localVarHeaders = this.defaultHeaders;
457
477
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -485,21 +505,23 @@ export class CollectionManagementService extends BaseService {
485
505
  const { basePath, withCredentials } = this.configuration;
486
506
  return this.httpClient.request<Collection>('get', `${basePath}${localVarPath}`, {
487
507
  context: localVarHttpContext,
488
- params: localVarQueryParameters,
508
+ params: localVarQueryParameters.toHttpParams(),
489
509
  responseType: <any>responseType_,
490
510
  ...(withCredentials ? { withCredentials } : {}),
491
511
  headers: localVarHeaders,
492
512
  observe: observe,
493
- transferCache: localVarTransferCache,
513
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
494
514
  reportProgress: reportProgress
495
515
  });
496
516
  }
497
517
 
498
518
  /**
499
519
  * This endpoint returns the complete tree of descendants from a single collection.
520
+ * @endpoint get /collections/{id}/descendants
500
521
  * @param requestParameters
501
522
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
502
523
  * @param reportProgress flag to report request and response progress.
524
+ * @param options additional options
503
525
  */
504
526
  public httpCollectionsGetDescendantsTreeOfId(
505
527
  requestParameters: HttpCollectionsGetDescendantsTreeOfIdRequestParams,
@@ -532,8 +554,9 @@ export class CollectionManagementService extends BaseService {
532
554
  const translations = requestParameters?.translations;
533
555
  const acceptLanguage = requestParameters?.acceptLanguage;
534
556
 
535
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
536
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
557
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
558
+
559
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
537
560
 
538
561
  let localVarHeaders = this.defaultHeaders;
539
562
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -567,21 +590,23 @@ export class CollectionManagementService extends BaseService {
567
590
  const { basePath, withCredentials } = this.configuration;
568
591
  return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
569
592
  context: localVarHttpContext,
570
- params: localVarQueryParameters,
593
+ params: localVarQueryParameters.toHttpParams(),
571
594
  responseType: <any>responseType_,
572
595
  ...(withCredentials ? { withCredentials } : {}),
573
596
  headers: localVarHeaders,
574
597
  observe: observe,
575
- transferCache: localVarTransferCache,
598
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
576
599
  reportProgress: reportProgress
577
600
  });
578
601
  }
579
602
 
580
603
  /**
581
604
  * This endpoint returns the notification settings for a collection.
605
+ * @endpoint get /collections/{id}/notificationsettings
582
606
  * @param requestParameters
583
607
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
584
608
  * @param reportProgress flag to report request and response progress.
609
+ * @param options additional options
585
610
  */
586
611
  public httpCollectionsGetNotificationSettingsOfId(
587
612
  requestParameters: HttpCollectionsGetNotificationSettingsOfIdRequestParams,
@@ -645,16 +670,18 @@ export class CollectionManagementService extends BaseService {
645
670
  ...(withCredentials ? { withCredentials } : {}),
646
671
  headers: localVarHeaders,
647
672
  observe: observe,
648
- transferCache: localVarTransferCache,
673
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
649
674
  reportProgress: reportProgress
650
675
  });
651
676
  }
652
677
 
653
678
  /**
654
679
  * This endpoint returns the complete tree of ancestors from a single collection.
680
+ * @endpoint get /collections/{id}/ancestors
655
681
  * @param requestParameters
656
682
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
657
683
  * @param reportProgress flag to report request and response progress.
684
+ * @param options additional options
658
685
  */
659
686
  public httpCollectionsGetTreeAncestorsOfId(
660
687
  requestParameters: HttpCollectionsGetTreeAncestorsOfIdRequestParams,
@@ -687,8 +714,9 @@ export class CollectionManagementService extends BaseService {
687
714
  const translations = requestParameters?.translations;
688
715
  const acceptLanguage = requestParameters?.acceptLanguage;
689
716
 
690
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
691
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
717
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
718
+
719
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
692
720
 
693
721
  let localVarHeaders = this.defaultHeaders;
694
722
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -722,21 +750,23 @@ export class CollectionManagementService extends BaseService {
722
750
  const { basePath, withCredentials } = this.configuration;
723
751
  return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
724
752
  context: localVarHttpContext,
725
- params: localVarQueryParameters,
753
+ params: localVarQueryParameters.toHttpParams(),
726
754
  responseType: <any>responseType_,
727
755
  ...(withCredentials ? { withCredentials } : {}),
728
756
  headers: localVarHeaders,
729
757
  observe: observe,
730
- transferCache: localVarTransferCache,
758
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
731
759
  reportProgress: reportProgress
732
760
  });
733
761
  }
734
762
 
735
763
  /**
736
764
  * This endpoint updates the collection. Specific properties could be updated.
765
+ * @endpoint post /collections/{id}
737
766
  * @param requestParameters
738
767
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
739
768
  * @param reportProgress flag to report request and response progress.
769
+ * @param options additional options
740
770
  */
741
771
  public httpCollectionsUpdateById(
742
772
  requestParameters: HttpCollectionsUpdateByIdRequestParams,
@@ -773,8 +803,9 @@ export class CollectionManagementService extends BaseService {
773
803
  const translations = requestParameters?.translations;
774
804
  const acceptLanguage = requestParameters?.acceptLanguage;
775
805
 
776
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
777
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
806
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
807
+
808
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
778
809
 
779
810
  let localVarHeaders = this.defaultHeaders;
780
811
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -816,21 +847,23 @@ export class CollectionManagementService extends BaseService {
816
847
  return this.httpClient.request<Collection>('post', `${basePath}${localVarPath}`, {
817
848
  context: localVarHttpContext,
818
849
  body: collection,
819
- params: localVarQueryParameters,
850
+ params: localVarQueryParameters.toHttpParams(),
820
851
  responseType: <any>responseType_,
821
852
  ...(withCredentials ? { withCredentials } : {}),
822
853
  headers: localVarHeaders,
823
854
  observe: observe,
824
- transferCache: localVarTransferCache,
855
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
825
856
  reportProgress: reportProgress
826
857
  });
827
858
  }
828
859
 
829
860
  /**
830
861
  * This endpoint returns a generated thumbnail as a preview of the containing assets.
862
+ * @endpoint get /collections/{id}/previews
831
863
  * @param requestParameters
832
864
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
833
865
  * @param reportProgress flag to report request and response progress.
866
+ * @param options additional options
834
867
  */
835
868
  public httpGetCollectionPreviewsById(
836
869
  requestParameters: HttpGetCollectionPreviewsByIdRequestParams,
@@ -894,16 +927,18 @@ export class CollectionManagementService extends BaseService {
894
927
  ...(withCredentials ? { withCredentials } : {}),
895
928
  headers: localVarHeaders,
896
929
  observe: observe,
897
- transferCache: localVarTransferCache,
930
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
898
931
  reportProgress: reportProgress
899
932
  });
900
933
  }
901
934
 
902
935
  /**
903
936
  * This endpoint repairs the items of an collection. Checks all collection type items and assign it to collection.
937
+ * @endpoint patch /collections/{id}/repair
904
938
  * @param requestParameters
905
939
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
906
940
  * @param reportProgress flag to report request and response progress.
941
+ * @param options additional options
907
942
  */
908
943
  public httpPatchCollectionRepair(
909
944
  requestParameters: HttpPatchCollectionRepairRequestParams,
@@ -967,16 +1002,18 @@ export class CollectionManagementService extends BaseService {
967
1002
  ...(withCredentials ? { withCredentials } : {}),
968
1003
  headers: localVarHeaders,
969
1004
  observe: observe,
970
- transferCache: localVarTransferCache,
1005
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
971
1006
  reportProgress: reportProgress
972
1007
  });
973
1008
  }
974
1009
 
975
1010
  /**
976
1011
  * This endpoint fetches all collections based on names which comes from an array inside the POST request body and return another list of EntityIdName objects and an array of strings with the names which could not be found.
1012
+ * @endpoint post /collectionsbynames
977
1013
  * @param requestParameters
978
1014
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
979
1015
  * @param reportProgress flag to report request and response progress.
1016
+ * @param options additional options
980
1017
  */
981
1018
  public httpPostCollectionsGetByNames(
982
1019
  requestParameters: HttpPostCollectionsGetByNamesRequestParams,
@@ -1048,16 +1085,18 @@ export class CollectionManagementService extends BaseService {
1048
1085
  ...(withCredentials ? { withCredentials } : {}),
1049
1086
  headers: localVarHeaders,
1050
1087
  observe: observe,
1051
- transferCache: localVarTransferCache,
1088
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1052
1089
  reportProgress: reportProgress
1053
1090
  });
1054
1091
  }
1055
1092
 
1056
1093
  /**
1057
1094
  * Restore a collection to a certain point in time
1095
+ * @endpoint post /collections/{id}/restore
1058
1096
  * @param requestParameters
1059
1097
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1060
1098
  * @param reportProgress flag to report request and response progress.
1099
+ * @param options additional options
1061
1100
  */
1062
1101
  public httpRestoreCollection(
1063
1102
  requestParameters: HttpRestoreCollectionRequestParams,
@@ -1092,8 +1131,9 @@ export class CollectionManagementService extends BaseService {
1092
1131
  throw new Error('Required parameter pointintime was null or undefined when calling httpRestoreCollection.');
1093
1132
  }
1094
1133
 
1095
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1096
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>pointintime, 'pointintime');
1134
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1135
+
1136
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pointintime', <any>pointintime, QueryParamStyle.Form, true);
1097
1137
 
1098
1138
  let localVarHeaders = this.defaultHeaders;
1099
1139
 
@@ -1124,12 +1164,12 @@ export class CollectionManagementService extends BaseService {
1124
1164
  const { basePath, withCredentials } = this.configuration;
1125
1165
  return this.httpClient.request<Collection>('post', `${basePath}${localVarPath}`, {
1126
1166
  context: localVarHttpContext,
1127
- params: localVarQueryParameters,
1167
+ params: localVarQueryParameters.toHttpParams(),
1128
1168
  responseType: <any>responseType_,
1129
1169
  ...(withCredentials ? { withCredentials } : {}),
1130
1170
  headers: localVarHeaders,
1131
1171
  observe: observe,
1132
- transferCache: localVarTransferCache,
1172
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1133
1173
  reportProgress: reportProgress
1134
1174
  });
1135
1175
  }
@@ -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';
@@ -75,9 +75,11 @@ export class CollectionShareManagementService extends BaseService {
75
75
 
76
76
  /**
77
77
  * Creates an additional shared collection
78
+ * @endpoint post /shared
78
79
  * @param requestParameters
79
80
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
80
81
  * @param reportProgress flag to report request and response progress.
82
+ * @param options additional options
81
83
  */
82
84
  public httpSharedCollectionsCreate(
83
85
  requestParameters: HttpSharedCollectionsCreateRequestParams,
@@ -149,16 +151,18 @@ export class CollectionShareManagementService extends BaseService {
149
151
  ...(withCredentials ? { withCredentials } : {}),
150
152
  headers: localVarHeaders,
151
153
  observe: observe,
152
- transferCache: localVarTransferCache,
154
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
153
155
  reportProgress: reportProgress
154
156
  });
155
157
  }
156
158
 
157
159
  /**
158
160
  * Deletes the shared collection with the given ID.
161
+ * @endpoint delete /shared/{id}
159
162
  * @param requestParameters
160
163
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
161
164
  * @param reportProgress flag to report request and response progress.
165
+ * @param options additional options
162
166
  */
163
167
  public httpSharedCollectionsDeleteById(
164
168
  requestParameters: HttpSharedCollectionsDeleteByIdRequestParams,
@@ -222,16 +226,18 @@ export class CollectionShareManagementService extends BaseService {
222
226
  ...(withCredentials ? { withCredentials } : {}),
223
227
  headers: localVarHeaders,
224
228
  observe: observe,
225
- transferCache: localVarTransferCache,
229
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
226
230
  reportProgress: reportProgress
227
231
  });
228
232
  }
229
233
 
230
234
  /**
231
235
  * This lists all the shared collections which are stored in the database for a specific user.
236
+ * @endpoint get /shared
232
237
  * @param requestParameters
233
238
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
234
239
  * @param reportProgress flag to report request and response progress.
240
+ * @param options additional options
235
241
  */
236
242
  public httpSharedCollectionsGet(
237
243
  requestParameters?: HttpSharedCollectionsGetRequestParams,
@@ -259,8 +265,9 @@ export class CollectionShareManagementService extends BaseService {
259
265
  ): Observable<any> {
260
266
  const collectionid = requestParameters?.collectionid;
261
267
 
262
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
263
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>collectionid, 'collectionid');
268
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
269
+
270
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
264
271
 
265
272
  let localVarHeaders = this.defaultHeaders;
266
273
 
@@ -291,21 +298,23 @@ export class CollectionShareManagementService extends BaseService {
291
298
  const { basePath, withCredentials } = this.configuration;
292
299
  return this.httpClient.request<Array<SharedCollection>>('get', `${basePath}${localVarPath}`, {
293
300
  context: localVarHttpContext,
294
- params: localVarQueryParameters,
301
+ params: localVarQueryParameters.toHttpParams(),
295
302
  responseType: <any>responseType_,
296
303
  ...(withCredentials ? { withCredentials } : {}),
297
304
  headers: localVarHeaders,
298
305
  observe: observe,
299
- transferCache: localVarTransferCache,
306
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
300
307
  reportProgress: reportProgress
301
308
  });
302
309
  }
303
310
 
304
311
  /**
305
312
  * Returns one single shared collection (from ID)
313
+ * @endpoint get /shared/{id}
306
314
  * @param requestParameters
307
315
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
308
316
  * @param reportProgress flag to report request and response progress.
317
+ * @param options additional options
309
318
  */
310
319
  public httpSharedCollectionsGetById(
311
320
  requestParameters: HttpSharedCollectionsGetByIdRequestParams,
@@ -340,10 +349,13 @@ export class CollectionShareManagementService extends BaseService {
340
349
  const orderby = requestParameters?.orderby;
341
350
  const acceptLanguage = requestParameters?.acceptLanguage;
342
351
 
343
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
344
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>continuationToken, 'continuation_token');
345
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>limit, 'limit');
346
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>orderby, 'orderby');
352
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
353
+
354
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuation_token', <any>continuationToken, QueryParamStyle.Form, true);
355
+
356
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
357
+
358
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
347
359
 
348
360
  let localVarHeaders = this.defaultHeaders;
349
361
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -377,21 +389,23 @@ export class CollectionShareManagementService extends BaseService {
377
389
  const { basePath, withCredentials } = this.configuration;
378
390
  return this.httpClient.request<SharedCollectionFull>('get', `${basePath}${localVarPath}`, {
379
391
  context: localVarHttpContext,
380
- params: localVarQueryParameters,
392
+ params: localVarQueryParameters.toHttpParams(),
381
393
  responseType: <any>responseType_,
382
394
  ...(withCredentials ? { withCredentials } : {}),
383
395
  headers: localVarHeaders,
384
396
  observe: observe,
385
- transferCache: localVarTransferCache,
397
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
386
398
  reportProgress: reportProgress
387
399
  });
388
400
  }
389
401
 
390
402
  /**
391
403
  * Updates an existing shared collection.
404
+ * @endpoint post /shared/{id}
392
405
  * @param requestParameters
393
406
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
394
407
  * @param reportProgress flag to report request and response progress.
408
+ * @param options additional options
395
409
  */
396
410
  public httpSharedCollectionsUpdateById(
397
411
  requestParameters: HttpSharedCollectionsUpdateByIdRequestParams,
@@ -467,7 +481,7 @@ export class CollectionShareManagementService extends BaseService {
467
481
  ...(withCredentials ? { withCredentials } : {}),
468
482
  headers: localVarHeaders,
469
483
  observe: observe,
470
- transferCache: localVarTransferCache,
484
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
471
485
  reportProgress: reportProgress
472
486
  });
473
487
  }