@agravity/private 10.3.4 → 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';
@@ -276,9 +276,11 @@ export class AssetOperationsService extends BaseService {
276
276
 
277
277
  /**
278
278
  * This endpoint allows to bulk checkout or checkin multiple assets. When an asset is checked out, only the user who checked it out (or admins) can create new versions or delete the asset.
279
+ * @endpoint put /assets/checkout/bulk
279
280
  * @param requestParameters
280
281
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
281
282
  * @param reportProgress flag to report request and response progress.
283
+ * @param options additional options
282
284
  */
283
285
  public httpAssetBulkCheckoutToggle(
284
286
  requestParameters: HttpAssetBulkCheckoutToggleRequestParams,
@@ -314,9 +316,11 @@ export class AssetOperationsService extends BaseService {
314
316
  }
315
317
  const fsMissingETagAction = requestParameters?.fsMissingETagAction;
316
318
 
317
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
318
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>checkout, 'checkout');
319
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fsMissingETagAction, 'fsMissingETagAction');
319
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
320
+
321
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'checkout', <any>checkout, QueryParamStyle.Form, true);
322
+
323
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fsMissingETagAction', <any>fsMissingETagAction, QueryParamStyle.Form, true);
320
324
 
321
325
  let localVarHeaders = this.defaultHeaders;
322
326
 
@@ -355,21 +359,23 @@ export class AssetOperationsService extends BaseService {
355
359
  return this.httpClient.request<AssetBulkCheckoutResult>('put', `${basePath}${localVarPath}`, {
356
360
  context: localVarHttpContext,
357
361
  body: assetBulkCheckoutBody,
358
- params: localVarQueryParameters,
362
+ params: localVarQueryParameters.toHttpParams(),
359
363
  responseType: <any>responseType_,
360
364
  ...(withCredentials ? { withCredentials } : {}),
361
365
  headers: localVarHeaders,
362
366
  observe: observe,
363
- transferCache: localVarTransferCache,
367
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
364
368
  reportProgress: reportProgress
365
369
  });
366
370
  }
367
371
 
368
372
  /**
369
373
  * This endpoint allows to checkout or checkin an asset. When an asset is checked out, only the user who checked it out (or admins) can create new versions or delete the asset.
374
+ * @endpoint put /assets/{id}/checkout
370
375
  * @param requestParameters
371
376
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
372
377
  * @param reportProgress flag to report request and response progress.
378
+ * @param options additional options
373
379
  */
374
380
  public httpAssetCheckoutToggle(
375
381
  requestParameters: HttpAssetCheckoutToggleRequestParams,
@@ -405,9 +411,11 @@ export class AssetOperationsService extends BaseService {
405
411
  }
406
412
  const fsMissingETagAction = requestParameters?.fsMissingETagAction;
407
413
 
408
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
409
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>checkout, 'checkout');
410
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fsMissingETagAction, 'fsMissingETagAction');
414
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
415
+
416
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'checkout', <any>checkout, QueryParamStyle.Form, true);
417
+
418
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fsMissingETagAction', <any>fsMissingETagAction, QueryParamStyle.Form, true);
411
419
 
412
420
  let localVarHeaders = this.defaultHeaders;
413
421
 
@@ -438,21 +446,23 @@ export class AssetOperationsService extends BaseService {
438
446
  const { basePath, withCredentials } = this.configuration;
439
447
  return this.httpClient.request<AgravityInfoResponse>('put', `${basePath}${localVarPath}`, {
440
448
  context: localVarHttpContext,
441
- params: localVarQueryParameters,
449
+ params: localVarQueryParameters.toHttpParams(),
442
450
  responseType: <any>responseType_,
443
451
  ...(withCredentials ? { withCredentials } : {}),
444
452
  headers: localVarHeaders,
445
453
  observe: observe,
446
- transferCache: localVarTransferCache,
454
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
447
455
  reportProgress: reportProgress
448
456
  });
449
457
  }
450
458
 
451
459
  /**
452
460
  * This endpoint lets you resize/modify the image asset according to the given GET parameter(s) - Only exception is for target: If this is a download format no other parameter is used.
461
+ * @endpoint get /assets/{id}/imageedit
453
462
  * @param requestParameters
454
463
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
455
464
  * @param reportProgress flag to report request and response progress.
465
+ * @param options additional options
456
466
  */
457
467
  public httpAssetImageEdit(
458
468
  requestParameters: HttpAssetImageEditRequestParams,
@@ -499,23 +509,39 @@ export class AssetOperationsService extends BaseService {
499
509
  const original = requestParameters?.original;
500
510
  const origin = requestParameters?.origin;
501
511
 
502
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
503
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>width, 'width');
504
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>height, 'height');
505
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>mode, 'mode');
506
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>target, 'target');
507
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>bgcolor, 'bgcolor');
508
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>dpi, 'dpi');
509
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>depth, 'depth');
510
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>quality, 'quality');
511
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>colorspace, 'colorspace');
512
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>cropX, 'crop_x');
513
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>cropY, 'crop_y');
514
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>cropWidth, 'crop_width');
515
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>cropHeight, 'crop_height');
516
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
517
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>original, 'original');
518
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>origin, 'origin');
512
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
513
+
514
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'width', <any>width, QueryParamStyle.Form, true);
515
+
516
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'height', <any>height, QueryParamStyle.Form, true);
517
+
518
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'mode', <any>mode, QueryParamStyle.Form, true);
519
+
520
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'target', <any>target, QueryParamStyle.Form, true);
521
+
522
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'bgcolor', <any>bgcolor, QueryParamStyle.Form, true);
523
+
524
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'dpi', <any>dpi, QueryParamStyle.Form, true);
525
+
526
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'depth', <any>depth, QueryParamStyle.Form, true);
527
+
528
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'quality', <any>quality, QueryParamStyle.Form, true);
529
+
530
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'colorspace', <any>colorspace, QueryParamStyle.Form, true);
531
+
532
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'crop_x', <any>cropX, QueryParamStyle.Form, true);
533
+
534
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'crop_y', <any>cropY, QueryParamStyle.Form, true);
535
+
536
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'crop_width', <any>cropWidth, QueryParamStyle.Form, true);
537
+
538
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'crop_height', <any>cropHeight, QueryParamStyle.Form, true);
539
+
540
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
541
+
542
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'original', <any>original, QueryParamStyle.Form, true);
543
+
544
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'origin', <any>origin, QueryParamStyle.Form, true);
519
545
 
520
546
  let localVarHeaders = this.defaultHeaders;
521
547
 
@@ -535,21 +561,23 @@ export class AssetOperationsService extends BaseService {
535
561
  const { basePath, withCredentials } = this.configuration;
536
562
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
537
563
  context: localVarHttpContext,
538
- params: localVarQueryParameters,
564
+ params: localVarQueryParameters.toHttpParams(),
539
565
  responseType: 'blob',
540
566
  ...(withCredentials ? { withCredentials } : {}),
541
567
  headers: localVarHeaders,
542
568
  observe: observe,
543
- transferCache: localVarTransferCache,
569
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
544
570
  reportProgress: reportProgress
545
571
  });
546
572
  }
547
573
 
548
574
  /**
549
575
  * This endpoint lets you rotate an image clockwise in 90 degree steps.
576
+ * @endpoint post /assets/{id}/rotate
550
577
  * @param requestParameters
551
578
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
552
579
  * @param reportProgress flag to report request and response progress.
580
+ * @param options additional options
553
581
  */
554
582
  public httpAssetImageRotateClockwise(
555
583
  requestParameters: HttpAssetImageRotateClockwiseRequestParams,
@@ -582,8 +610,9 @@ export class AssetOperationsService extends BaseService {
582
610
  const translations = requestParameters?.translations;
583
611
  const acceptLanguage = requestParameters?.acceptLanguage;
584
612
 
585
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
586
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
613
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
614
+
615
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
587
616
 
588
617
  let localVarHeaders = this.defaultHeaders;
589
618
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -617,21 +646,23 @@ export class AssetOperationsService extends BaseService {
617
646
  const { basePath, withCredentials } = this.configuration;
618
647
  return this.httpClient.request<Asset>('post', `${basePath}${localVarPath}`, {
619
648
  context: localVarHttpContext,
620
- params: localVarQueryParameters,
649
+ params: localVarQueryParameters.toHttpParams(),
621
650
  responseType: <any>responseType_,
622
651
  ...(withCredentials ? { withCredentials } : {}),
623
652
  headers: localVarHeaders,
624
653
  observe: observe,
625
- transferCache: localVarTransferCache,
654
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
626
655
  reportProgress: reportProgress
627
656
  });
628
657
  }
629
658
 
630
659
  /**
631
660
  * This endpoint lets you resize/modify the image asset according to the given parameter(s).
661
+ * @endpoint get /assets/{id}/resize
632
662
  * @param requestParameters
633
663
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
634
664
  * @param reportProgress flag to report request and response progress.
665
+ * @param options additional options
635
666
  */
636
667
  public httpAssetResize(
637
668
  requestParameters: HttpAssetResizeRequestParams,
@@ -684,16 +715,18 @@ export class AssetOperationsService extends BaseService {
684
715
  ...(withCredentials ? { withCredentials } : {}),
685
716
  headers: localVarHeaders,
686
717
  observe: observe,
687
- transferCache: localVarTransferCache,
718
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
688
719
  reportProgress: reportProgress
689
720
  });
690
721
  }
691
722
 
692
723
  /**
693
724
  * This endpoint allows to move/assign from/to another collection with the given operation parameter.
725
+ * @endpoint post /assets/{id}/tocollection
694
726
  * @param requestParameters
695
727
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
696
728
  * @param reportProgress flag to report request and response progress.
729
+ * @param options additional options
697
730
  */
698
731
  public httpAssetToCollection(
699
732
  requestParameters: HttpAssetToCollectionRequestParams,
@@ -769,16 +802,18 @@ export class AssetOperationsService extends BaseService {
769
802
  ...(withCredentials ? { withCredentials } : {}),
770
803
  headers: localVarHeaders,
771
804
  observe: observe,
772
- transferCache: localVarTransferCache,
805
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
773
806
  reportProgress: reportProgress
774
807
  });
775
808
  }
776
809
 
777
810
  /**
778
811
  * This endpoint allows to move/assign multiple assets from/to another collection with the given operation parameter.
812
+ * @endpoint post /assetsoperations/tocollection
779
813
  * @param requestParameters
780
814
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
781
815
  * @param reportProgress flag to report request and response progress.
816
+ * @param options additional options
782
817
  */
783
818
  public httpAssetsToCollection(
784
819
  requestParameters: HttpAssetsToCollectionRequestParams,
@@ -850,16 +885,18 @@ export class AssetOperationsService extends BaseService {
850
885
  ...(withCredentials ? { withCredentials } : {}),
851
886
  headers: localVarHeaders,
852
887
  observe: observe,
853
- transferCache: localVarTransferCache,
888
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
854
889
  reportProgress: reportProgress
855
890
  });
856
891
  }
857
892
 
858
893
  /**
859
894
  * This endpoint deletes the alternative thumbnail blob of an asset and renews it
895
+ * @endpoint delete /assets/{id}/alternative
860
896
  * @param requestParameters
861
897
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
862
898
  * @param reportProgress flag to report request and response progress.
899
+ * @param options additional options
863
900
  */
864
901
  public httpDeleteAlternativeThumb(
865
902
  requestParameters: HttpDeleteAlternativeThumbRequestParams,
@@ -923,16 +960,18 @@ export class AssetOperationsService extends BaseService {
923
960
  ...(withCredentials ? { withCredentials } : {}),
924
961
  headers: localVarHeaders,
925
962
  observe: observe,
926
- transferCache: localVarTransferCache,
963
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
927
964
  reportProgress: reportProgress
928
965
  });
929
966
  }
930
967
 
931
968
  /**
932
969
  * This endpoint deletes a specific blob from the asset (if exists)
970
+ * @endpoint delete /assets/{id}/blobs/{name}
933
971
  * @param requestParameters
934
972
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
935
973
  * @param reportProgress flag to report request and response progress.
974
+ * @param options additional options
936
975
  */
937
976
  public httpDeleteSpecificBlob(
938
977
  requestParameters: HttpDeleteSpecificBlobRequestParams,
@@ -1000,16 +1039,18 @@ export class AssetOperationsService extends BaseService {
1000
1039
  ...(withCredentials ? { withCredentials } : {}),
1001
1040
  headers: localVarHeaders,
1002
1041
  observe: observe,
1003
- transferCache: localVarTransferCache,
1042
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1004
1043
  reportProgress: reportProgress
1005
1044
  });
1006
1045
  }
1007
1046
 
1008
1047
  /**
1009
1048
  * This endpoint allows to check all assets in system elements with the given criteria are already in the system. Currently supported field: md5
1049
+ * @endpoint get /assetscheck
1010
1050
  * @param requestParameters
1011
1051
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1012
1052
  * @param reportProgress flag to report request and response progress.
1053
+ * @param options additional options
1013
1054
  */
1014
1055
  public httpGetAllAssetsCheckOnCriteria(
1015
1056
  requestParameters: HttpGetAllAssetsCheckOnCriteriaRequestParams,
@@ -1040,8 +1081,9 @@ export class AssetOperationsService extends BaseService {
1040
1081
  throw new Error('Required parameter md5 was null or undefined when calling httpGetAllAssetsCheckOnCriteria.');
1041
1082
  }
1042
1083
 
1043
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1044
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>md5, 'md5');
1084
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1085
+
1086
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'md5', <any>md5, QueryParamStyle.Form, true);
1045
1087
 
1046
1088
  let localVarHeaders = this.defaultHeaders;
1047
1089
 
@@ -1072,21 +1114,23 @@ export class AssetOperationsService extends BaseService {
1072
1114
  const { basePath, withCredentials } = this.configuration;
1073
1115
  return this.httpClient.request<Array<Asset>>('get', `${basePath}${localVarPath}`, {
1074
1116
  context: localVarHttpContext,
1075
- params: localVarQueryParameters,
1117
+ params: localVarQueryParameters.toHttpParams(),
1076
1118
  responseType: <any>responseType_,
1077
1119
  ...(withCredentials ? { withCredentials } : {}),
1078
1120
  headers: localVarHeaders,
1079
1121
  observe: observe,
1080
- transferCache: localVarTransferCache,
1122
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1081
1123
  reportProgress: reportProgress
1082
1124
  });
1083
1125
  }
1084
1126
 
1085
1127
  /**
1086
1128
  * This endpoint checks, if an asset exists and returns the url for the requested blob.
1129
+ * @endpoint get /assets/{id}/blobs
1087
1130
  * @param requestParameters
1088
1131
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1089
1132
  * @param reportProgress flag to report request and response progress.
1133
+ * @param options additional options
1090
1134
  */
1091
1135
  public httpGetAssetBlob(
1092
1136
  requestParameters: HttpGetAssetBlobRequestParams,
@@ -1118,8 +1162,9 @@ export class AssetOperationsService extends BaseService {
1118
1162
  }
1119
1163
  const c = requestParameters?.c;
1120
1164
 
1121
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1122
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>c, 'c');
1165
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1166
+
1167
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'c', <any>c, QueryParamStyle.Form, true);
1123
1168
 
1124
1169
  let localVarHeaders = this.defaultHeaders;
1125
1170
 
@@ -1150,21 +1195,23 @@ export class AssetOperationsService extends BaseService {
1150
1195
  const { basePath, withCredentials } = this.configuration;
1151
1196
  return this.httpClient.request<AssetBlob>('get', `${basePath}${localVarPath}`, {
1152
1197
  context: localVarHttpContext,
1153
- params: localVarQueryParameters,
1198
+ params: localVarQueryParameters.toHttpParams(),
1154
1199
  responseType: <any>responseType_,
1155
1200
  ...(withCredentials ? { withCredentials } : {}),
1156
1201
  headers: localVarHeaders,
1157
1202
  observe: observe,
1158
- transferCache: localVarTransferCache,
1203
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1159
1204
  reportProgress: reportProgress
1160
1205
  });
1161
1206
  }
1162
1207
 
1163
1208
  /**
1164
1209
  * This endpoint returns all collections of a specific asset.
1210
+ * @endpoint get /assets/{id}/collections
1165
1211
  * @param requestParameters
1166
1212
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1167
1213
  * @param reportProgress flag to report request and response progress.
1214
+ * @param options additional options
1168
1215
  */
1169
1216
  public httpGetAssetCollectionsById(
1170
1217
  requestParameters: HttpGetAssetCollectionsByIdRequestParams,
@@ -1198,9 +1245,11 @@ export class AssetOperationsService extends BaseService {
1198
1245
  const translations = requestParameters?.translations;
1199
1246
  const acceptLanguage = requestParameters?.acceptLanguage;
1200
1247
 
1201
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1202
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>fields, 'fields');
1203
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
1248
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1249
+
1250
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
1251
+
1252
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
1204
1253
 
1205
1254
  let localVarHeaders = this.defaultHeaders;
1206
1255
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -1234,21 +1283,23 @@ export class AssetOperationsService extends BaseService {
1234
1283
  const { basePath, withCredentials } = this.configuration;
1235
1284
  return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
1236
1285
  context: localVarHttpContext,
1237
- params: localVarQueryParameters,
1286
+ params: localVarQueryParameters.toHttpParams(),
1238
1287
  responseType: <any>responseType_,
1239
1288
  ...(withCredentials ? { withCredentials } : {}),
1240
1289
  headers: localVarHeaders,
1241
1290
  observe: observe,
1242
- transferCache: localVarTransferCache,
1291
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1243
1292
  reportProgress: reportProgress
1244
1293
  });
1245
1294
  }
1246
1295
 
1247
1296
  /**
1248
1297
  * This endpoint is similar to GetAssetBlob but with ContentDistribution and filename to let browser download the content.
1298
+ * @endpoint get /assets/{id}/download
1249
1299
  * @param requestParameters
1250
1300
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1251
1301
  * @param reportProgress flag to report request and response progress.
1302
+ * @param options additional options
1252
1303
  */
1253
1304
  public httpGetAssetDownload(
1254
1305
  requestParameters: HttpGetAssetDownloadRequestParams,
@@ -1282,10 +1333,13 @@ export class AssetOperationsService extends BaseService {
1282
1333
  const f = requestParameters?.f;
1283
1334
  const portalId = requestParameters?.portalId;
1284
1335
 
1285
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1286
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>c, 'c');
1287
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>f, 'f');
1288
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
1336
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1337
+
1338
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'c', <any>c, QueryParamStyle.Form, true);
1339
+
1340
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'f', <any>f, QueryParamStyle.Form, true);
1341
+
1342
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
1289
1343
 
1290
1344
  let localVarHeaders = this.defaultHeaders;
1291
1345
 
@@ -1316,21 +1370,23 @@ export class AssetOperationsService extends BaseService {
1316
1370
  const { basePath, withCredentials } = this.configuration;
1317
1371
  return this.httpClient.request<AssetBlob>('get', `${basePath}${localVarPath}`, {
1318
1372
  context: localVarHttpContext,
1319
- params: localVarQueryParameters,
1373
+ params: localVarQueryParameters.toHttpParams(),
1320
1374
  responseType: <any>responseType_,
1321
1375
  ...(withCredentials ? { withCredentials } : {}),
1322
1376
  headers: localVarHeaders,
1323
1377
  observe: observe,
1324
- transferCache: localVarTransferCache,
1378
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1325
1379
  reportProgress: reportProgress
1326
1380
  });
1327
1381
  }
1328
1382
 
1329
1383
  /**
1330
1384
  * This endpoint returns the asset relations
1385
+ * @endpoint get /assets/{id}/relations
1331
1386
  * @param requestParameters
1332
1387
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1333
1388
  * @param reportProgress flag to report request and response progress.
1389
+ * @param options additional options
1334
1390
  */
1335
1391
  public httpGetAssetRelationsById(
1336
1392
  requestParameters: HttpGetAssetRelationsByIdRequestParams,
@@ -1394,16 +1450,18 @@ export class AssetOperationsService extends BaseService {
1394
1450
  ...(withCredentials ? { withCredentials } : {}),
1395
1451
  headers: localVarHeaders,
1396
1452
  observe: observe,
1397
- transferCache: localVarTransferCache,
1453
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1398
1454
  reportProgress: reportProgress
1399
1455
  });
1400
1456
  }
1401
1457
 
1402
1458
  /**
1403
1459
  * This endpoint returns all technical metadata of an asset.
1460
+ * @endpoint get /assets/{id}/techdata
1404
1461
  * @param requestParameters
1405
1462
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1406
1463
  * @param reportProgress flag to report request and response progress.
1464
+ * @param options additional options
1407
1465
  */
1408
1466
  public httpGetAssetTechDataById(
1409
1467
  requestParameters: HttpGetAssetTechDataByIdRequestParams,
@@ -1467,16 +1525,18 @@ export class AssetOperationsService extends BaseService {
1467
1525
  ...(withCredentials ? { withCredentials } : {}),
1468
1526
  headers: localVarHeaders,
1469
1527
  observe: observe,
1470
- transferCache: localVarTransferCache,
1528
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1471
1529
  reportProgress: reportProgress
1472
1530
  });
1473
1531
  }
1474
1532
 
1475
1533
  /**
1476
1534
  * This endpoint returns all textual content of an asset (i.e. text of PDF)
1535
+ * @endpoint get /assets/{id}/textcontent
1477
1536
  * @param requestParameters
1478
1537
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1479
1538
  * @param reportProgress flag to report request and response progress.
1539
+ * @param options additional options
1480
1540
  */
1481
1541
  public httpGetAssetTextContentById(
1482
1542
  requestParameters: HttpGetAssetTextContentByIdRequestParams,
@@ -1540,16 +1600,18 @@ export class AssetOperationsService extends BaseService {
1540
1600
  ...(withCredentials ? { withCredentials } : {}),
1541
1601
  headers: localVarHeaders,
1542
1602
  observe: observe,
1543
- transferCache: localVarTransferCache,
1603
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1544
1604
  reportProgress: reportProgress
1545
1605
  });
1546
1606
  }
1547
1607
 
1548
1608
  /**
1549
1609
  * This endpoint returns the binary directly to the endpoint
1610
+ * @endpoint get /assets/{id}/view
1550
1611
  * @param requestParameters
1551
1612
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1552
1613
  * @param reportProgress flag to report request and response progress.
1614
+ * @param options additional options
1553
1615
  */
1554
1616
  public httpGetAssetView(
1555
1617
  requestParameters: HttpGetAssetViewRequestParams,
@@ -1584,11 +1646,15 @@ export class AssetOperationsService extends BaseService {
1584
1646
  const locked = requestParameters?.locked;
1585
1647
  const uncompleted = requestParameters?.uncompleted;
1586
1648
 
1587
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1588
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>format, 'format');
1589
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
1590
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>locked, 'locked');
1591
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>uncompleted, 'uncompleted');
1649
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1650
+
1651
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'format', <any>format, QueryParamStyle.Form, true);
1652
+
1653
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
1654
+
1655
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'locked', <any>locked, QueryParamStyle.Form, true);
1656
+
1657
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'uncompleted', <any>uncompleted, QueryParamStyle.Form, true);
1592
1658
 
1593
1659
  let localVarHeaders = this.defaultHeaders;
1594
1660
 
@@ -1619,21 +1685,23 @@ export class AssetOperationsService extends BaseService {
1619
1685
  const { basePath, withCredentials } = this.configuration;
1620
1686
  return this.httpClient.request<AssetBlob>('get', `${basePath}${localVarPath}`, {
1621
1687
  context: localVarHttpContext,
1622
- params: localVarQueryParameters,
1688
+ params: localVarQueryParameters.toHttpParams(),
1623
1689
  responseType: <any>responseType_,
1624
1690
  ...(withCredentials ? { withCredentials } : {}),
1625
1691
  headers: localVarHeaders,
1626
1692
  observe: observe,
1627
- transferCache: localVarTransferCache,
1693
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1628
1694
  reportProgress: reportProgress
1629
1695
  });
1630
1696
  }
1631
1697
 
1632
1698
  /**
1633
1699
  * This endpoint lets you use the entire api of Imagemagick to edit the image.
1700
+ * @endpoint post /assets/{id}/imageedit
1634
1701
  * @param requestParameters
1635
1702
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1636
1703
  * @param reportProgress flag to report request and response progress.
1704
+ * @param options additional options
1637
1705
  */
1638
1706
  public httpImageDynamicEdit(
1639
1707
  requestParameters: HttpImageDynamicEditRequestParams,
@@ -1669,8 +1737,9 @@ export class AssetOperationsService extends BaseService {
1669
1737
  }
1670
1738
  const targetFilename = requestParameters?.targetFilename;
1671
1739
 
1672
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1673
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>targetFilename, 'target_filename');
1740
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1741
+
1742
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'target_filename', <any>targetFilename, QueryParamStyle.Form, true);
1674
1743
 
1675
1744
  let localVarHeaders = this.defaultHeaders;
1676
1745
 
@@ -1698,21 +1767,23 @@ export class AssetOperationsService extends BaseService {
1698
1767
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1699
1768
  context: localVarHttpContext,
1700
1769
  body: dynamicImageOperation,
1701
- params: localVarQueryParameters,
1770
+ params: localVarQueryParameters.toHttpParams(),
1702
1771
  responseType: 'blob',
1703
1772
  ...(withCredentials ? { withCredentials } : {}),
1704
1773
  headers: localVarHeaders,
1705
1774
  observe: observe,
1706
- transferCache: localVarTransferCache,
1775
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1707
1776
  reportProgress: reportProgress
1708
1777
  });
1709
1778
  }
1710
1779
 
1711
1780
  /**
1712
1781
  * This endpoint returns an image with the requested download format applied.
1782
+ * @endpoint get /assets/{id}/imageedit/{download_format_id}
1713
1783
  * @param requestParameters
1714
1784
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1715
1785
  * @param reportProgress flag to report request and response progress.
1786
+ * @param options additional options
1716
1787
  */
1717
1788
  public httpImageDynamicGetFromDownloadId(
1718
1789
  requestParameters: HttpImageDynamicGetFromDownloadIdRequestParams,
@@ -1769,16 +1840,18 @@ export class AssetOperationsService extends BaseService {
1769
1840
  ...(withCredentials ? { withCredentials } : {}),
1770
1841
  headers: localVarHeaders,
1771
1842
  observe: observe,
1772
- transferCache: localVarTransferCache,
1843
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1773
1844
  reportProgress: reportProgress
1774
1845
  });
1775
1846
  }
1776
1847
 
1777
1848
  /**
1778
1849
  * This endpoint purges all published assets of this asset when CDN is enabled
1850
+ * @endpoint patch /assets/{id}/purgecdn
1779
1851
  * @param requestParameters
1780
1852
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1781
1853
  * @param reportProgress flag to report request and response progress.
1854
+ * @param options additional options
1782
1855
  */
1783
1856
  public httpPatchAssetPurgeCdn(
1784
1857
  requestParameters: HttpPatchAssetPurgeCdnRequestParams,
@@ -1842,16 +1915,18 @@ export class AssetOperationsService extends BaseService {
1842
1915
  ...(withCredentials ? { withCredentials } : {}),
1843
1916
  headers: localVarHeaders,
1844
1917
  observe: observe,
1845
- transferCache: localVarTransferCache,
1918
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1846
1919
  reportProgress: reportProgress
1847
1920
  });
1848
1921
  }
1849
1922
 
1850
1923
  /**
1851
1924
  * This endpoint marks a asset as \&quot;dirty\&quot; (starts a queue to do that) - to trigger search index to re-index the asset
1925
+ * @endpoint patch /assets/{id}/reindex
1852
1926
  * @param requestParameters
1853
1927
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1854
1928
  * @param reportProgress flag to report request and response progress.
1929
+ * @param options additional options
1855
1930
  */
1856
1931
  public httpPatchAssetReindex(
1857
1932
  requestParameters: HttpPatchAssetReindexRequestParams,
@@ -1915,16 +1990,18 @@ export class AssetOperationsService extends BaseService {
1915
1990
  ...(withCredentials ? { withCredentials } : {}),
1916
1991
  headers: localVarHeaders,
1917
1992
  observe: observe,
1918
- transferCache: localVarTransferCache,
1993
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1919
1994
  reportProgress: reportProgress
1920
1995
  });
1921
1996
  }
1922
1997
 
1923
1998
  /**
1924
1999
  * This endpoint runs all configured queues of the asset again (requeue ID at beginning of queues). E.g. Recreation of previews, AI recognition, hash values, ...
2000
+ * @endpoint patch /assets/{id}/renew
1925
2001
  * @param requestParameters
1926
2002
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1927
2003
  * @param reportProgress flag to report request and response progress.
2004
+ * @param options additional options
1928
2005
  */
1929
2006
  public httpPatchAssetRenew(
1930
2007
  requestParameters: HttpPatchAssetRenewRequestParams,
@@ -1988,16 +2065,18 @@ export class AssetOperationsService extends BaseService {
1988
2065
  ...(withCredentials ? { withCredentials } : {}),
1989
2066
  headers: localVarHeaders,
1990
2067
  observe: observe,
1991
- transferCache: localVarTransferCache,
2068
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1992
2069
  reportProgress: reportProgress
1993
2070
  });
1994
2071
  }
1995
2072
 
1996
2073
  /**
1997
2074
  * This endpoint repairs the asset, it\&#39;s items, custom fields and collections. It also checks the original blob and the blobs of the asset.
2075
+ * @endpoint patch /assets/{id}/repair
1998
2076
  * @param requestParameters
1999
2077
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2000
2078
  * @param reportProgress flag to report request and response progress.
2079
+ * @param options additional options
2001
2080
  */
2002
2081
  public httpPatchAssetRepair(
2003
2082
  requestParameters: HttpPatchAssetRepairRequestParams,
@@ -2061,16 +2140,18 @@ export class AssetOperationsService extends BaseService {
2061
2140
  ...(withCredentials ? { withCredentials } : {}),
2062
2141
  headers: localVarHeaders,
2063
2142
  observe: observe,
2064
- transferCache: localVarTransferCache,
2143
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2065
2144
  reportProgress: reportProgress
2066
2145
  });
2067
2146
  }
2068
2147
 
2069
2148
  /**
2070
2149
  * This endpoint execute a specific queues of the asset. E.g. Recreation of previews, AI recognition, hash values, ...
2150
+ * @endpoint patch /assets/{id}/runqueue/{queueInput}
2071
2151
  * @param requestParameters
2072
2152
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2073
2153
  * @param reportProgress flag to report request and response progress.
2154
+ * @param options additional options
2074
2155
  */
2075
2156
  public httpPatchAssetRunQueue(
2076
2157
  requestParameters: HttpPatchAssetRunQueueRequestParams,
@@ -2138,15 +2219,17 @@ export class AssetOperationsService extends BaseService {
2138
2219
  ...(withCredentials ? { withCredentials } : {}),
2139
2220
  headers: localVarHeaders,
2140
2221
  observe: observe,
2141
- transferCache: localVarTransferCache,
2222
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2142
2223
  reportProgress: reportProgress
2143
2224
  });
2144
2225
  }
2145
2226
 
2146
2227
  /**
2147
2228
  * This endpoint allows the renewal of all assets (start over the trigger of asset type) with or without filtering.
2229
+ * @endpoint patch /assetsrenew!!
2148
2230
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2149
2231
  * @param reportProgress flag to report request and response progress.
2232
+ * @param options additional options
2150
2233
  */
2151
2234
  public httpPatchRenewAllAssets(
2152
2235
  observe?: 'body',
@@ -2201,16 +2284,18 @@ export class AssetOperationsService extends BaseService {
2201
2284
  ...(withCredentials ? { withCredentials } : {}),
2202
2285
  headers: localVarHeaders,
2203
2286
  observe: observe,
2204
- transferCache: localVarTransferCache,
2287
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2205
2288
  reportProgress: reportProgress
2206
2289
  });
2207
2290
  }
2208
2291
 
2209
2292
  /**
2210
2293
  * This endpoint sets the availability of the asset. All properties are put on the asset and replace previous values.To make an asset unavailable set the &#x60;availability&#x60; property to \&#39;locked\&#39; or set the &#x60;available_from&#x60; property below the current date. To make it available set empty string to &#x60;availability&#x60; property or &#x60;available_to&#x60; property into past.
2294
+ * @endpoint put /assets/{id}/availability
2211
2295
  * @param requestParameters
2212
2296
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2213
2297
  * @param reportProgress flag to report request and response progress.
2298
+ * @param options additional options
2214
2299
  */
2215
2300
  public httpPutAssetAvailability(
2216
2301
  requestParameters: HttpPutAssetAvailabilityRequestParams,
@@ -2286,16 +2371,18 @@ export class AssetOperationsService extends BaseService {
2286
2371
  ...(withCredentials ? { withCredentials } : {}),
2287
2372
  headers: localVarHeaders,
2288
2373
  observe: observe,
2289
- transferCache: localVarTransferCache,
2374
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2290
2375
  reportProgress: reportProgress
2291
2376
  });
2292
2377
  }
2293
2378
 
2294
2379
  /**
2295
2380
  * This endpoint lets you restore an asset to a certain point in time.
2381
+ * @endpoint post /assets/{id}/restore
2296
2382
  * @param requestParameters
2297
2383
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2298
2384
  * @param reportProgress flag to report request and response progress.
2385
+ * @param options additional options
2299
2386
  */
2300
2387
  public httpRestoreAsset(
2301
2388
  requestParameters: HttpRestoreAssetRequestParams,
@@ -2331,9 +2418,11 @@ export class AssetOperationsService extends BaseService {
2331
2418
  }
2332
2419
  const altcollection = requestParameters?.altcollection;
2333
2420
 
2334
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2335
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>pointintime, 'pointintime');
2336
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>altcollection, 'altcollection');
2421
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2422
+
2423
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pointintime', <any>pointintime, QueryParamStyle.Form, true);
2424
+
2425
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'altcollection', <any>altcollection, QueryParamStyle.Form, true);
2337
2426
 
2338
2427
  let localVarHeaders = this.defaultHeaders;
2339
2428
 
@@ -2364,12 +2453,12 @@ export class AssetOperationsService extends BaseService {
2364
2453
  const { basePath, withCredentials } = this.configuration;
2365
2454
  return this.httpClient.request<Asset>('post', `${basePath}${localVarPath}`, {
2366
2455
  context: localVarHttpContext,
2367
- params: localVarQueryParameters,
2456
+ params: localVarQueryParameters.toHttpParams(),
2368
2457
  responseType: <any>responseType_,
2369
2458
  ...(withCredentials ? { withCredentials } : {}),
2370
2459
  headers: localVarHeaders,
2371
2460
  observe: observe,
2372
- transferCache: localVarTransferCache,
2461
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2373
2462
  reportProgress: reportProgress
2374
2463
  });
2375
2464
  }