@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.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api/aIOperations.agravity.ts +38 -14
- package/api/assetIconRuleManagement.agravity.ts +33 -19
- package/api/assetManagement.agravity.ts +74 -37
- package/api/assetOperations.agravity.ts +175 -86
- package/api/assetPublishing.agravity.ts +33 -14
- package/api/assetRelationManagement.agravity.ts +37 -21
- package/api/assetRelationTypeManagement.agravity.ts +36 -20
- package/api/assetVersioning.agravity.ts +33 -14
- package/api/authenticationManagement.agravity.ts +57 -24
- package/api/collectionManagement.agravity.ts +86 -46
- package/api/collectionShareManagement.agravity.ts +29 -15
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
- package/api/collectionTypeManagement.agravity.ts +50 -27
- package/api/commentsManagement.agravity.ts +14 -6
- package/api/configurationManagement.agravity.ts +25 -13
- package/api/dashboardWidgetManagement.agravity.ts +21 -10
- package/api/dataImportExportManagement.agravity.ts +49 -25
- package/api/downloadFormatManagement.agravity.ts +36 -20
- package/api/downloadZip.agravity.ts +11 -5
- package/api/featuresManagement.agravity.ts +5 -3
- package/api/generalManagement.agravity.ts +43 -22
- package/api/helperTools.agravity.ts +76 -35
- package/api/historyEntryManagement.agravity.ts +9 -6
- package/api/iccProfileManagement.agravity.ts +5 -3
- package/api/listBlobs.agravity.ts +8 -4
- package/api/listQueues.agravity.ts +5 -3
- package/api/listTables.agravity.ts +5 -3
- package/api/notificationManagement.agravity.ts +11 -5
- package/api/permissionsManagement.agravity.ts +14 -6
- package/api/portalManagement.agravity.ts +26 -10
- package/api/portalsUsersManagement.agravity.ts +17 -7
- package/api/profilesManagement.agravity.ts +20 -8
- package/api/publishing.agravity.ts +11 -7
- package/api/quickshareManagement.agravity.ts +36 -19
- package/api/savedSearchManagement.agravity.ts +23 -13
- package/api/searchManagement.agravity.ts +100 -54
- package/api/searchSettingsOperations.agravity.ts +8 -4
- package/api/secureUpload.agravity.ts +28 -14
- package/api/signalRConnectionManagement.agravity.ts +11 -5
- package/api/staticDefinedListManagement.agravity.ts +35 -20
- package/api/stockImport.agravity.ts +22 -13
- package/api/structureImport.agravity.ts +13 -8
- package/api/translationManagement.agravity.ts +32 -17
- package/api/webAppData.agravity.ts +14 -6
- package/api/widgetLayoutManagement.agravity.ts +8 -4
- package/api/wordpressManagement.agravity.ts +28 -16
- package/api/workspaceManagement.agravity.ts +39 -21
- package/api.base.service.ts +41 -27
- package/configuration.ts +3 -2
- package/encoder.ts +15 -0
- package/package.json +9 -9
- 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,
|
|
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';
|
|
@@ -147,9 +147,11 @@ export class AssetManagementService extends BaseService {
|
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* This endpoint allows to upload one asset which is put onto the storage (INBOX). Collection ID is mandatory on asset upload. Previewof can be used alone.
|
|
150
|
+
* @endpoint post /assetsupload
|
|
150
151
|
* @param requestParameters
|
|
151
152
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
152
153
|
* @param reportProgress flag to report request and response progress.
|
|
154
|
+
* @param options additional options
|
|
153
155
|
*/
|
|
154
156
|
public httpAssetUploadFile(
|
|
155
157
|
requestParameters?: HttpAssetUploadFileRequestParams,
|
|
@@ -249,15 +251,17 @@ export class AssetManagementService extends BaseService {
|
|
|
249
251
|
...(withCredentials ? { withCredentials } : {}),
|
|
250
252
|
headers: localVarHeaders,
|
|
251
253
|
observe: observe,
|
|
252
|
-
transferCache: localVarTransferCache,
|
|
254
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
253
255
|
reportProgress: reportProgress
|
|
254
256
|
});
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
/**
|
|
260
|
+
* @endpoint delete /assetsbulkupdate
|
|
258
261
|
* @param requestParameters
|
|
259
262
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
260
263
|
* @param reportProgress flag to report request and response progress.
|
|
264
|
+
* @param options additional options
|
|
261
265
|
*/
|
|
262
266
|
public httpAssetsBulkDeleteUpdate(
|
|
263
267
|
requestParameters: HttpAssetsBulkDeleteUpdateRequestParams,
|
|
@@ -329,15 +333,17 @@ export class AssetManagementService extends BaseService {
|
|
|
329
333
|
...(withCredentials ? { withCredentials } : {}),
|
|
330
334
|
headers: localVarHeaders,
|
|
331
335
|
observe: observe,
|
|
332
|
-
transferCache: localVarTransferCache,
|
|
336
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
333
337
|
reportProgress: reportProgress
|
|
334
338
|
});
|
|
335
339
|
}
|
|
336
340
|
|
|
337
341
|
/**
|
|
342
|
+
* @endpoint post /assetsbulkupdate
|
|
338
343
|
* @param requestParameters
|
|
339
344
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
340
345
|
* @param reportProgress flag to report request and response progress.
|
|
346
|
+
* @param options additional options
|
|
341
347
|
*/
|
|
342
348
|
public httpAssetsBulkPostUpdate(
|
|
343
349
|
requestParameters: HttpAssetsBulkPostUpdateRequestParams,
|
|
@@ -413,15 +419,17 @@ export class AssetManagementService extends BaseService {
|
|
|
413
419
|
...(withCredentials ? { withCredentials } : {}),
|
|
414
420
|
headers: localVarHeaders,
|
|
415
421
|
observe: observe,
|
|
416
|
-
transferCache: localVarTransferCache,
|
|
422
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
417
423
|
reportProgress: reportProgress
|
|
418
424
|
});
|
|
419
425
|
}
|
|
420
426
|
|
|
421
427
|
/**
|
|
428
|
+
* @endpoint put /assetsbulkupdate
|
|
422
429
|
* @param requestParameters
|
|
423
430
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
424
431
|
* @param reportProgress flag to report request and response progress.
|
|
432
|
+
* @param options additional options
|
|
425
433
|
*/
|
|
426
434
|
public httpAssetsBulkPutUpdate(
|
|
427
435
|
requestParameters: HttpAssetsBulkPutUpdateRequestParams,
|
|
@@ -497,16 +505,18 @@ export class AssetManagementService extends BaseService {
|
|
|
497
505
|
...(withCredentials ? { withCredentials } : {}),
|
|
498
506
|
headers: localVarHeaders,
|
|
499
507
|
observe: observe,
|
|
500
|
-
transferCache: localVarTransferCache,
|
|
508
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
501
509
|
reportProgress: reportProgress
|
|
502
510
|
});
|
|
503
511
|
}
|
|
504
512
|
|
|
505
513
|
/**
|
|
506
514
|
* This endpoint creates one asset entry in the database.
|
|
515
|
+
* @endpoint post /assets
|
|
507
516
|
* @param requestParameters
|
|
508
517
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
509
518
|
* @param reportProgress flag to report request and response progress.
|
|
519
|
+
* @param options additional options
|
|
510
520
|
*/
|
|
511
521
|
public httpAssetsCreate(
|
|
512
522
|
requestParameters: HttpAssetsCreateRequestParams,
|
|
@@ -543,9 +553,11 @@ export class AssetManagementService extends BaseService {
|
|
|
543
553
|
const translations = requestParameters?.translations;
|
|
544
554
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
545
555
|
|
|
546
|
-
let localVarQueryParameters = new
|
|
547
|
-
|
|
548
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
556
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
557
|
+
|
|
558
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
559
|
+
|
|
560
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
549
561
|
|
|
550
562
|
let localVarHeaders = this.defaultHeaders;
|
|
551
563
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -587,20 +599,22 @@ export class AssetManagementService extends BaseService {
|
|
|
587
599
|
return this.httpClient.request<Asset>('post', `${basePath}${localVarPath}`, {
|
|
588
600
|
context: localVarHttpContext,
|
|
589
601
|
body: asset,
|
|
590
|
-
params: localVarQueryParameters,
|
|
602
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
591
603
|
responseType: <any>responseType_,
|
|
592
604
|
...(withCredentials ? { withCredentials } : {}),
|
|
593
605
|
headers: localVarHeaders,
|
|
594
606
|
observe: observe,
|
|
595
|
-
transferCache: localVarTransferCache,
|
|
607
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
596
608
|
reportProgress: reportProgress
|
|
597
609
|
});
|
|
598
610
|
}
|
|
599
611
|
|
|
600
612
|
/**
|
|
613
|
+
* @endpoint delete /assets
|
|
601
614
|
* @param requestParameters
|
|
602
615
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
603
616
|
* @param reportProgress flag to report request and response progress.
|
|
617
|
+
* @param options additional options
|
|
604
618
|
*/
|
|
605
619
|
public httpAssetsDeleteAll(
|
|
606
620
|
requestParameters?: HttpAssetsDeleteAllRequestParams,
|
|
@@ -662,15 +676,17 @@ export class AssetManagementService extends BaseService {
|
|
|
662
676
|
...(withCredentials ? { withCredentials } : {}),
|
|
663
677
|
headers: localVarHeaders,
|
|
664
678
|
observe: observe,
|
|
665
|
-
transferCache: localVarTransferCache,
|
|
679
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
666
680
|
reportProgress: reportProgress
|
|
667
681
|
});
|
|
668
682
|
}
|
|
669
683
|
|
|
670
684
|
/**
|
|
685
|
+
* @endpoint delete /assets/{id}
|
|
671
686
|
* @param requestParameters
|
|
672
687
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
673
688
|
* @param reportProgress flag to report request and response progress.
|
|
689
|
+
* @param options additional options
|
|
674
690
|
*/
|
|
675
691
|
public httpAssetsDeleteById(
|
|
676
692
|
requestParameters: HttpAssetsDeleteByIdRequestParams,
|
|
@@ -734,15 +750,17 @@ export class AssetManagementService extends BaseService {
|
|
|
734
750
|
...(withCredentials ? { withCredentials } : {}),
|
|
735
751
|
headers: localVarHeaders,
|
|
736
752
|
observe: observe,
|
|
737
|
-
transferCache: localVarTransferCache,
|
|
753
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
738
754
|
reportProgress: reportProgress
|
|
739
755
|
});
|
|
740
756
|
}
|
|
741
757
|
|
|
742
758
|
/**
|
|
759
|
+
* @endpoint get /assets
|
|
743
760
|
* @param requestParameters
|
|
744
761
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
745
762
|
* @param reportProgress flag to report request and response progress.
|
|
763
|
+
* @param options additional options
|
|
746
764
|
*/
|
|
747
765
|
public httpAssetsGet(
|
|
748
766
|
requestParameters?: HttpAssetsGetRequestParams,
|
|
@@ -780,17 +798,27 @@ export class AssetManagementService extends BaseService {
|
|
|
780
798
|
const translations = requestParameters?.translations;
|
|
781
799
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
782
800
|
|
|
783
|
-
let localVarQueryParameters = new
|
|
784
|
-
|
|
785
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
786
|
-
|
|
787
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
788
|
-
|
|
789
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
790
|
-
|
|
791
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
792
|
-
|
|
793
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
801
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
802
|
+
|
|
803
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
804
|
+
|
|
805
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
806
|
+
|
|
807
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
|
|
808
|
+
|
|
809
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'expose', <any>expose, QueryParamStyle.Form, true);
|
|
810
|
+
|
|
811
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuation_token', <any>continuationToken, QueryParamStyle.Form, true);
|
|
812
|
+
|
|
813
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
814
|
+
|
|
815
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
|
|
816
|
+
|
|
817
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
|
|
818
|
+
|
|
819
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
820
|
+
|
|
821
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
794
822
|
|
|
795
823
|
let localVarHeaders = this.defaultHeaders;
|
|
796
824
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -824,21 +852,23 @@ export class AssetManagementService extends BaseService {
|
|
|
824
852
|
const { basePath, withCredentials } = this.configuration;
|
|
825
853
|
return this.httpClient.request<AssetPageResult>('get', `${basePath}${localVarPath}`, {
|
|
826
854
|
context: localVarHttpContext,
|
|
827
|
-
params: localVarQueryParameters,
|
|
855
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
828
856
|
responseType: <any>responseType_,
|
|
829
857
|
...(withCredentials ? { withCredentials } : {}),
|
|
830
858
|
headers: localVarHeaders,
|
|
831
859
|
observe: observe,
|
|
832
|
-
transferCache: localVarTransferCache,
|
|
860
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
833
861
|
reportProgress: reportProgress
|
|
834
862
|
});
|
|
835
863
|
}
|
|
836
864
|
|
|
837
865
|
/**
|
|
838
866
|
* This endpoint returns one single asset (from ID). If the returned asset is from a special asset type (e.g. \"AssetImage\") it returns the full entity.
|
|
867
|
+
* @endpoint get /assets/{id}
|
|
839
868
|
* @param requestParameters
|
|
840
869
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
841
870
|
* @param reportProgress flag to report request and response progress.
|
|
871
|
+
* @param options additional options
|
|
842
872
|
*/
|
|
843
873
|
public httpAssetsGetById(
|
|
844
874
|
requestParameters: HttpAssetsGetByIdRequestParams,
|
|
@@ -874,11 +904,15 @@ export class AssetManagementService extends BaseService {
|
|
|
874
904
|
const translations = requestParameters?.translations;
|
|
875
905
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
876
906
|
|
|
877
|
-
let localVarQueryParameters = new
|
|
878
|
-
|
|
879
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
880
|
-
|
|
881
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
907
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
908
|
+
|
|
909
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
|
|
910
|
+
|
|
911
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'expose', <any>expose, QueryParamStyle.Form, true);
|
|
912
|
+
|
|
913
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
914
|
+
|
|
915
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
882
916
|
|
|
883
917
|
let localVarHeaders = this.defaultHeaders;
|
|
884
918
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -912,21 +946,23 @@ export class AssetManagementService extends BaseService {
|
|
|
912
946
|
const { basePath, withCredentials } = this.configuration;
|
|
913
947
|
return this.httpClient.request<Asset>('get', `${basePath}${localVarPath}`, {
|
|
914
948
|
context: localVarHttpContext,
|
|
915
|
-
params: localVarQueryParameters,
|
|
949
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
916
950
|
responseType: <any>responseType_,
|
|
917
951
|
...(withCredentials ? { withCredentials } : {}),
|
|
918
952
|
headers: localVarHeaders,
|
|
919
953
|
observe: observe,
|
|
920
|
-
transferCache: localVarTransferCache,
|
|
954
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
921
955
|
reportProgress: reportProgress
|
|
922
956
|
});
|
|
923
957
|
}
|
|
924
958
|
|
|
925
959
|
/**
|
|
926
960
|
* This endpoint updates one single asset (from ID)
|
|
961
|
+
* @endpoint post /assets/{id}
|
|
927
962
|
* @param requestParameters
|
|
928
963
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
929
964
|
* @param reportProgress flag to report request and response progress.
|
|
965
|
+
* @param options additional options
|
|
930
966
|
*/
|
|
931
967
|
public httpAssetsUpdateById(
|
|
932
968
|
requestParameters: HttpAssetsUpdateByIdRequestParams,
|
|
@@ -963,8 +999,9 @@ export class AssetManagementService extends BaseService {
|
|
|
963
999
|
const translations = requestParameters?.translations;
|
|
964
1000
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
965
1001
|
|
|
966
|
-
let localVarQueryParameters = new
|
|
967
|
-
|
|
1002
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1003
|
+
|
|
1004
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
968
1005
|
|
|
969
1006
|
let localVarHeaders = this.defaultHeaders;
|
|
970
1007
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -1006,12 +1043,12 @@ export class AssetManagementService extends BaseService {
|
|
|
1006
1043
|
return this.httpClient.request<Asset>('post', `${basePath}${localVarPath}`, {
|
|
1007
1044
|
context: localVarHttpContext,
|
|
1008
1045
|
body: asset,
|
|
1009
|
-
params: localVarQueryParameters,
|
|
1046
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
1010
1047
|
responseType: <any>responseType_,
|
|
1011
1048
|
...(withCredentials ? { withCredentials } : {}),
|
|
1012
1049
|
headers: localVarHeaders,
|
|
1013
1050
|
observe: observe,
|
|
1014
|
-
transferCache: localVarTransferCache,
|
|
1051
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1015
1052
|
reportProgress: reportProgress
|
|
1016
1053
|
});
|
|
1017
1054
|
}
|