@agravity/public 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.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api/publicAIOperations.pub.agravity.ts +5 -3
- package/api/publicAssetManagement.pub.agravity.ts +69 -35
- package/api/publicAssetOperations.pub.agravity.ts +114 -59
- package/api/publicAssetPublishing.pub.agravity.ts +11 -5
- package/api/publicAssetRelationManagement.pub.agravity.ts +37 -21
- package/api/publicAssetRelationTypeManagement.pub.agravity.ts +16 -10
- package/api/publicAssetVersioning.pub.agravity.ts +27 -12
- package/api/publicAuthenticationManagement.pub.agravity.ts +19 -11
- package/api/publicCollectionManagement.pub.agravity.ts +67 -36
- package/api/publicCollectionSecureUpload.pub.agravity.ts +16 -10
- package/api/publicCollectionTypeManagement.pub.agravity.ts +25 -15
- package/api/publicConfigurationManagement.pub.agravity.ts +9 -6
- package/api/publicDownloadFormatManagement.pub.agravity.ts +12 -7
- package/api/publicEndpoints.pub.agravity.ts +30 -17
- package/api/publicGeneralManagement.pub.agravity.ts +24 -12
- package/api/publicHelperTools.pub.agravity.ts +33 -19
- package/api/publicPortalManagement.pub.agravity.ts +27 -12
- package/api/publicPublishing.pub.agravity.ts +11 -7
- package/api/publicSavedSearch.pub.agravity.ts +11 -7
- package/api/publicSearchManagement.pub.agravity.ts +67 -36
- package/api/publicSharingManagement.pub.agravity.ts +30 -16
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +5 -3
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +25 -15
- package/api/publicTranslationManagement.pub.agravity.ts +19 -11
- package/api/publicWebAppData.pub.agravity.ts +8 -4
- package/api/publicWorkspaceManagement.pub.agravity.ts +16 -10
- 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.pub.agravity';
|
|
@@ -125,9 +125,11 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* This endpoint creates a unique collection ID and adds the information to the database.
|
|
128
|
+
* @endpoint post /collections
|
|
128
129
|
* @param requestParameters
|
|
129
130
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
130
131
|
* @param reportProgress flag to report request and response progress.
|
|
132
|
+
* @param options additional options
|
|
131
133
|
*/
|
|
132
134
|
public httpCollectionsCreate(
|
|
133
135
|
requestParameters: HttpCollectionsCreateRequestParams,
|
|
@@ -163,8 +165,9 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
163
165
|
}
|
|
164
166
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
165
167
|
|
|
166
|
-
let localVarQueryParameters = new
|
|
167
|
-
|
|
168
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
169
|
+
|
|
170
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
168
171
|
|
|
169
172
|
let localVarHeaders = this.defaultHeaders;
|
|
170
173
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -206,21 +209,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
206
209
|
return this.httpClient.request<Collection>('post', `${basePath}${localVarPath}`, {
|
|
207
210
|
context: localVarHttpContext,
|
|
208
211
|
body: collection,
|
|
209
|
-
params: localVarQueryParameters,
|
|
212
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
210
213
|
responseType: <any>responseType_,
|
|
211
214
|
...(withCredentials ? { withCredentials } : {}),
|
|
212
215
|
headers: localVarHeaders,
|
|
213
216
|
observe: observe,
|
|
214
|
-
transferCache: localVarTransferCache,
|
|
217
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
215
218
|
reportProgress: reportProgress
|
|
216
219
|
});
|
|
217
220
|
}
|
|
218
221
|
|
|
219
222
|
/**
|
|
220
223
|
* This lists all the collections which are stored in the database and not deleted (status \"A\"). This will include all specific properties from collection type.
|
|
224
|
+
* @endpoint get /collections
|
|
221
225
|
* @param requestParameters
|
|
222
226
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
223
227
|
* @param reportProgress flag to report request and response progress.
|
|
228
|
+
* @param options additional options
|
|
224
229
|
*/
|
|
225
230
|
public httpCollectionsGet(
|
|
226
231
|
requestParameters: HttpCollectionsGetRequestParams,
|
|
@@ -257,13 +262,19 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
257
262
|
const translations = requestParameters?.translations;
|
|
258
263
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
259
264
|
|
|
260
|
-
let localVarQueryParameters = new
|
|
261
|
-
|
|
262
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
263
|
-
|
|
264
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
265
|
-
|
|
266
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
265
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
266
|
+
|
|
267
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
268
|
+
|
|
269
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'level', <any>level, QueryParamStyle.Form, true);
|
|
270
|
+
|
|
271
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'parentid', <any>parentid, QueryParamStyle.Form, true);
|
|
272
|
+
|
|
273
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
|
|
274
|
+
|
|
275
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
276
|
+
|
|
277
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
267
278
|
|
|
268
279
|
let localVarHeaders = this.defaultHeaders;
|
|
269
280
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -297,21 +308,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
297
308
|
const { basePath, withCredentials } = this.configuration;
|
|
298
309
|
return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
|
|
299
310
|
context: localVarHttpContext,
|
|
300
|
-
params: localVarQueryParameters,
|
|
311
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
301
312
|
responseType: <any>responseType_,
|
|
302
313
|
...(withCredentials ? { withCredentials } : {}),
|
|
303
314
|
headers: localVarHeaders,
|
|
304
315
|
observe: observe,
|
|
305
|
-
transferCache: localVarTransferCache,
|
|
316
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
306
317
|
reportProgress: reportProgress
|
|
307
318
|
});
|
|
308
319
|
}
|
|
309
320
|
|
|
310
321
|
/**
|
|
311
322
|
* Returns one single collection (from ID). This will include all specific properties from collection type.
|
|
323
|
+
* @endpoint get /collections/{id}
|
|
312
324
|
* @param requestParameters
|
|
313
325
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
314
326
|
* @param reportProgress flag to report request and response progress.
|
|
327
|
+
* @param options additional options
|
|
315
328
|
*/
|
|
316
329
|
public httpCollectionsGetById(
|
|
317
330
|
requestParameters: HttpCollectionsGetByIdRequestParams,
|
|
@@ -346,10 +359,13 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
346
359
|
const translations = requestParameters?.translations;
|
|
347
360
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
348
361
|
|
|
349
|
-
let localVarQueryParameters = new
|
|
350
|
-
|
|
351
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
352
|
-
|
|
362
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
363
|
+
|
|
364
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'fields', <any>fields, QueryParamStyle.Form, true);
|
|
365
|
+
|
|
366
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
367
|
+
|
|
368
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
353
369
|
|
|
354
370
|
let localVarHeaders = this.defaultHeaders;
|
|
355
371
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -383,21 +399,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
383
399
|
const { basePath, withCredentials } = this.configuration;
|
|
384
400
|
return this.httpClient.request<Collection>('get', `${basePath}${localVarPath}`, {
|
|
385
401
|
context: localVarHttpContext,
|
|
386
|
-
params: localVarQueryParameters,
|
|
402
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
387
403
|
responseType: <any>responseType_,
|
|
388
404
|
...(withCredentials ? { withCredentials } : {}),
|
|
389
405
|
headers: localVarHeaders,
|
|
390
406
|
observe: observe,
|
|
391
|
-
transferCache: localVarTransferCache,
|
|
407
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
392
408
|
reportProgress: reportProgress
|
|
393
409
|
});
|
|
394
410
|
}
|
|
395
411
|
|
|
396
412
|
/**
|
|
397
413
|
* Get the complete tree of descendants from a single collection.
|
|
414
|
+
* @endpoint get /collections/{id}/descendants
|
|
398
415
|
* @param requestParameters
|
|
399
416
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
400
417
|
* @param reportProgress flag to report request and response progress.
|
|
418
|
+
* @param options additional options
|
|
401
419
|
*/
|
|
402
420
|
public httpCollectionsGetDescendantsTreeOfId(
|
|
403
421
|
requestParameters: HttpCollectionsGetDescendantsTreeOfIdRequestParams,
|
|
@@ -430,8 +448,9 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
430
448
|
const translations = requestParameters?.translations;
|
|
431
449
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
432
450
|
|
|
433
|
-
let localVarQueryParameters = new
|
|
434
|
-
|
|
451
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
452
|
+
|
|
453
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
435
454
|
|
|
436
455
|
let localVarHeaders = this.defaultHeaders;
|
|
437
456
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -465,21 +484,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
465
484
|
const { basePath, withCredentials } = this.configuration;
|
|
466
485
|
return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
|
|
467
486
|
context: localVarHttpContext,
|
|
468
|
-
params: localVarQueryParameters,
|
|
487
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
469
488
|
responseType: <any>responseType_,
|
|
470
489
|
...(withCredentials ? { withCredentials } : {}),
|
|
471
490
|
headers: localVarHeaders,
|
|
472
491
|
observe: observe,
|
|
473
|
-
transferCache: localVarTransferCache,
|
|
492
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
474
493
|
reportProgress: reportProgress
|
|
475
494
|
});
|
|
476
495
|
}
|
|
477
496
|
|
|
478
497
|
/**
|
|
479
498
|
* Get the complete tree of ancestors from a single collection.
|
|
499
|
+
* @endpoint get /collections/{id}/ancestors
|
|
480
500
|
* @param requestParameters
|
|
481
501
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
482
502
|
* @param reportProgress flag to report request and response progress.
|
|
503
|
+
* @param options additional options
|
|
483
504
|
*/
|
|
484
505
|
public httpCollectionsGetTreeAncestorsOfId(
|
|
485
506
|
requestParameters: HttpCollectionsGetTreeAncestorsOfIdRequestParams,
|
|
@@ -512,8 +533,9 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
512
533
|
const translations = requestParameters?.translations;
|
|
513
534
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
514
535
|
|
|
515
|
-
let localVarQueryParameters = new
|
|
516
|
-
|
|
536
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
537
|
+
|
|
538
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
517
539
|
|
|
518
540
|
let localVarHeaders = this.defaultHeaders;
|
|
519
541
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -547,21 +569,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
547
569
|
const { basePath, withCredentials } = this.configuration;
|
|
548
570
|
return this.httpClient.request<Array<Collection>>('get', `${basePath}${localVarPath}`, {
|
|
549
571
|
context: localVarHttpContext,
|
|
550
|
-
params: localVarQueryParameters,
|
|
572
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
551
573
|
responseType: <any>responseType_,
|
|
552
574
|
...(withCredentials ? { withCredentials } : {}),
|
|
553
575
|
headers: localVarHeaders,
|
|
554
576
|
observe: observe,
|
|
555
|
-
transferCache: localVarTransferCache,
|
|
577
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
556
578
|
reportProgress: reportProgress
|
|
557
579
|
});
|
|
558
580
|
}
|
|
559
581
|
|
|
560
582
|
/**
|
|
561
583
|
* This endpoint returns a generated thumbnail as a preview of the containing assets.
|
|
584
|
+
* @endpoint get /collections/{id}/previews
|
|
562
585
|
* @param requestParameters
|
|
563
586
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
564
587
|
* @param reportProgress flag to report request and response progress.
|
|
588
|
+
* @param options additional options
|
|
565
589
|
*/
|
|
566
590
|
public httpGetCollectionPreviewsById(
|
|
567
591
|
requestParameters: HttpGetCollectionPreviewsByIdRequestParams,
|
|
@@ -625,16 +649,18 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
625
649
|
...(withCredentials ? { withCredentials } : {}),
|
|
626
650
|
headers: localVarHeaders,
|
|
627
651
|
observe: observe,
|
|
628
|
-
transferCache: localVarTransferCache,
|
|
652
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
629
653
|
reportProgress: reportProgress
|
|
630
654
|
});
|
|
631
655
|
}
|
|
632
656
|
|
|
633
657
|
/**
|
|
634
658
|
* This endpoint deletes the collection with the given ID (and their siblings).
|
|
659
|
+
* @endpoint delete /collections/{id}
|
|
635
660
|
* @param requestParameters
|
|
636
661
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
637
662
|
* @param reportProgress flag to report request and response progress.
|
|
663
|
+
* @param options additional options
|
|
638
664
|
*/
|
|
639
665
|
public httpPublicCollectionsDeleteById(
|
|
640
666
|
requestParameters: HttpPublicCollectionsDeleteByIdRequestParams,
|
|
@@ -666,8 +692,9 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
666
692
|
}
|
|
667
693
|
const deleteassets = requestParameters?.deleteassets;
|
|
668
694
|
|
|
669
|
-
let localVarQueryParameters = new
|
|
670
|
-
|
|
695
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
696
|
+
|
|
697
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'deleteassets', <any>deleteassets, QueryParamStyle.Form, true);
|
|
671
698
|
|
|
672
699
|
let localVarHeaders = this.defaultHeaders;
|
|
673
700
|
|
|
@@ -698,21 +725,23 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
698
725
|
const { basePath, withCredentials } = this.configuration;
|
|
699
726
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
|
|
700
727
|
context: localVarHttpContext,
|
|
701
|
-
params: localVarQueryParameters,
|
|
728
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
702
729
|
responseType: <any>responseType_,
|
|
703
730
|
...(withCredentials ? { withCredentials } : {}),
|
|
704
731
|
headers: localVarHeaders,
|
|
705
732
|
observe: observe,
|
|
706
|
-
transferCache: localVarTransferCache,
|
|
733
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
707
734
|
reportProgress: reportProgress
|
|
708
735
|
});
|
|
709
736
|
}
|
|
710
737
|
|
|
711
738
|
/**
|
|
712
739
|
* This endpoint updates the collection. Specific properties could be updated.
|
|
740
|
+
* @endpoint post /collections/{id}
|
|
713
741
|
* @param requestParameters
|
|
714
742
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
715
743
|
* @param reportProgress flag to report request and response progress.
|
|
744
|
+
* @param options additional options
|
|
716
745
|
*/
|
|
717
746
|
public httpPublicCollectionsUpdateById(
|
|
718
747
|
requestParameters: HttpPublicCollectionsUpdateByIdRequestParams,
|
|
@@ -792,16 +821,18 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
792
821
|
...(withCredentials ? { withCredentials } : {}),
|
|
793
822
|
headers: localVarHeaders,
|
|
794
823
|
observe: observe,
|
|
795
|
-
transferCache: localVarTransferCache,
|
|
824
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
796
825
|
reportProgress: reportProgress
|
|
797
826
|
});
|
|
798
827
|
}
|
|
799
828
|
|
|
800
829
|
/**
|
|
801
830
|
* 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.
|
|
831
|
+
* @endpoint post /collectionsbynames
|
|
802
832
|
* @param requestParameters
|
|
803
833
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
804
834
|
* @param reportProgress flag to report request and response progress.
|
|
835
|
+
* @param options additional options
|
|
805
836
|
*/
|
|
806
837
|
public httpPublicPostCollectionsGetByNames(
|
|
807
838
|
requestParameters: HttpPublicPostCollectionsGetByNamesRequestParams,
|
|
@@ -873,7 +904,7 @@ export class PublicCollectionManagementService extends BaseService {
|
|
|
873
904
|
...(withCredentials ? { withCredentials } : {}),
|
|
874
905
|
headers: localVarHeaders,
|
|
875
906
|
observe: observe,
|
|
876
|
-
transferCache: localVarTransferCache,
|
|
907
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
877
908
|
reportProgress: reportProgress
|
|
878
909
|
});
|
|
879
910
|
}
|
|
@@ -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.pub.agravity';
|
|
@@ -56,9 +56,11 @@ export class PublicCollectionSecureUploadService extends BaseService {
|
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Searchs for one single secure upload entity of an user and returns simple OK if found.
|
|
59
|
+
* @endpoint get /secureupload/{id}
|
|
59
60
|
* @param requestParameters
|
|
60
61
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
62
|
* @param reportProgress flag to report request and response progress.
|
|
63
|
+
* @param options additional options
|
|
62
64
|
*/
|
|
63
65
|
public httpSecureUploadEntityCheckById(
|
|
64
66
|
requestParameters: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
@@ -93,8 +95,9 @@ export class PublicCollectionSecureUploadService extends BaseService {
|
|
|
93
95
|
throw new Error('Required parameter code was null or undefined when calling httpSecureUploadEntityCheckById.');
|
|
94
96
|
}
|
|
95
97
|
|
|
96
|
-
let localVarQueryParameters = new
|
|
97
|
-
|
|
98
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
99
|
+
|
|
100
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'code', <any>code, QueryParamStyle.Form, true);
|
|
98
101
|
|
|
99
102
|
let localVarHeaders = this.defaultHeaders;
|
|
100
103
|
|
|
@@ -125,21 +128,23 @@ export class PublicCollectionSecureUploadService extends BaseService {
|
|
|
125
128
|
const { basePath, withCredentials } = this.configuration;
|
|
126
129
|
return this.httpClient.request<SecureUploadEntity>('get', `${basePath}${localVarPath}`, {
|
|
127
130
|
context: localVarHttpContext,
|
|
128
|
-
params: localVarQueryParameters,
|
|
131
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
129
132
|
responseType: <any>responseType_,
|
|
130
133
|
...(withCredentials ? { withCredentials } : {}),
|
|
131
134
|
headers: localVarHeaders,
|
|
132
135
|
observe: observe,
|
|
133
|
-
transferCache: localVarTransferCache,
|
|
136
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
134
137
|
reportProgress: reportProgress
|
|
135
138
|
});
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
/**
|
|
139
142
|
* This endpoint allows to securly upload one asset which is put onto the storage (INBOX). Object has to be FormData (Add file).
|
|
143
|
+
* @endpoint post /secureupload/{id}/upload
|
|
140
144
|
* @param requestParameters
|
|
141
145
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
142
146
|
* @param reportProgress flag to report request and response progress.
|
|
147
|
+
* @param options additional options
|
|
143
148
|
*/
|
|
144
149
|
public httpSecureUploadFileById(
|
|
145
150
|
requestParameters: HttpSecureUploadFileByIdRequestParams,
|
|
@@ -178,8 +183,9 @@ export class PublicCollectionSecureUploadService extends BaseService {
|
|
|
178
183
|
throw new Error('Required parameter body was null or undefined when calling httpSecureUploadFileById.');
|
|
179
184
|
}
|
|
180
185
|
|
|
181
|
-
let localVarQueryParameters = new
|
|
182
|
-
|
|
186
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
187
|
+
|
|
188
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'code', <any>code, QueryParamStyle.Form, true);
|
|
183
189
|
|
|
184
190
|
let localVarHeaders = this.defaultHeaders;
|
|
185
191
|
|
|
@@ -218,12 +224,12 @@ export class PublicCollectionSecureUploadService extends BaseService {
|
|
|
218
224
|
return this.httpClient.request<Asset>('post', `${basePath}${localVarPath}`, {
|
|
219
225
|
context: localVarHttpContext,
|
|
220
226
|
body: body,
|
|
221
|
-
params: localVarQueryParameters,
|
|
227
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
222
228
|
responseType: <any>responseType_,
|
|
223
229
|
...(withCredentials ? { withCredentials } : {}),
|
|
224
230
|
headers: localVarHeaders,
|
|
225
231
|
observe: observe,
|
|
226
|
-
transferCache: localVarTransferCache,
|
|
232
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
227
233
|
reportProgress: reportProgress
|
|
228
234
|
});
|
|
229
235
|
}
|
|
@@ -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.pub.agravity';
|
|
@@ -65,9 +65,11 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* This lists all available collection types which are stored in the database and not deleted (status \"A\").
|
|
68
|
+
* @endpoint get /collectiontypes
|
|
68
69
|
* @param requestParameters
|
|
69
70
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
70
71
|
* @param reportProgress flag to report request and response progress.
|
|
72
|
+
* @param options additional options
|
|
71
73
|
*/
|
|
72
74
|
public httpCollectionTypesGet(
|
|
73
75
|
requestParameters?: HttpCollectionTypesGetRequestParams,
|
|
@@ -96,8 +98,9 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
96
98
|
const translations = requestParameters?.translations;
|
|
97
99
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
98
100
|
|
|
99
|
-
let localVarQueryParameters = new
|
|
100
|
-
|
|
101
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
102
|
+
|
|
103
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
101
104
|
|
|
102
105
|
let localVarHeaders = this.defaultHeaders;
|
|
103
106
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -131,21 +134,23 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
131
134
|
const { basePath, withCredentials } = this.configuration;
|
|
132
135
|
return this.httpClient.request<Array<CollectionType>>('get', `${basePath}${localVarPath}`, {
|
|
133
136
|
context: localVarHttpContext,
|
|
134
|
-
params: localVarQueryParameters,
|
|
137
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
135
138
|
responseType: <any>responseType_,
|
|
136
139
|
...(withCredentials ? { withCredentials } : {}),
|
|
137
140
|
headers: localVarHeaders,
|
|
138
141
|
observe: observe,
|
|
139
|
-
transferCache: localVarTransferCache,
|
|
142
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
140
143
|
reportProgress: reportProgress
|
|
141
144
|
});
|
|
142
145
|
}
|
|
143
146
|
|
|
144
147
|
/**
|
|
145
148
|
* Returns one single collection type (from ID).
|
|
149
|
+
* @endpoint get /collectiontypes/{id}
|
|
146
150
|
* @param requestParameters
|
|
147
151
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
148
152
|
* @param reportProgress flag to report request and response progress.
|
|
153
|
+
* @param options additional options
|
|
149
154
|
*/
|
|
150
155
|
public httpCollectionTypesGetById(
|
|
151
156
|
requestParameters: HttpCollectionTypesGetByIdRequestParams,
|
|
@@ -178,8 +183,9 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
178
183
|
const translations = requestParameters?.translations;
|
|
179
184
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
180
185
|
|
|
181
|
-
let localVarQueryParameters = new
|
|
182
|
-
|
|
186
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
187
|
+
|
|
188
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
183
189
|
|
|
184
190
|
let localVarHeaders = this.defaultHeaders;
|
|
185
191
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -213,21 +219,23 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
213
219
|
const { basePath, withCredentials } = this.configuration;
|
|
214
220
|
return this.httpClient.request<CollectionType>('get', `${basePath}${localVarPath}`, {
|
|
215
221
|
context: localVarHttpContext,
|
|
216
|
-
params: localVarQueryParameters,
|
|
222
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
217
223
|
responseType: <any>responseType_,
|
|
218
224
|
...(withCredentials ? { withCredentials } : {}),
|
|
219
225
|
headers: localVarHeaders,
|
|
220
226
|
observe: observe,
|
|
221
|
-
transferCache: localVarTransferCache,
|
|
227
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
222
228
|
reportProgress: reportProgress
|
|
223
229
|
});
|
|
224
230
|
}
|
|
225
231
|
|
|
226
232
|
/**
|
|
227
233
|
* This method returns a list of collection types items. (Regardless of the permissions)
|
|
234
|
+
* @endpoint get /collectiontypesitems
|
|
228
235
|
* @param requestParameters
|
|
229
236
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
230
237
|
* @param reportProgress flag to report request and response progress.
|
|
238
|
+
* @param options additional options
|
|
231
239
|
*/
|
|
232
240
|
public httpGetCollectionTypeItems(
|
|
233
241
|
requestParameters?: HttpGetCollectionTypeItemsRequestParams,
|
|
@@ -257,9 +265,11 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
257
265
|
const translations = requestParameters?.translations;
|
|
258
266
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
259
267
|
|
|
260
|
-
let localVarQueryParameters = new
|
|
261
|
-
|
|
262
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
268
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
269
|
+
|
|
270
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'includeblueprint', <any>includeblueprint, QueryParamStyle.Form, true);
|
|
271
|
+
|
|
272
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
263
273
|
|
|
264
274
|
let localVarHeaders = this.defaultHeaders;
|
|
265
275
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -293,12 +303,12 @@ export class PublicCollectionTypeManagementService extends BaseService {
|
|
|
293
303
|
const { basePath, withCredentials } = this.configuration;
|
|
294
304
|
return this.httpClient.request<Array<CollTypeItem>>('get', `${basePath}${localVarPath}`, {
|
|
295
305
|
context: localVarHttpContext,
|
|
296
|
-
params: localVarQueryParameters,
|
|
306
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
297
307
|
responseType: <any>responseType_,
|
|
298
308
|
...(withCredentials ? { withCredentials } : {}),
|
|
299
309
|
headers: localVarHeaders,
|
|
300
310
|
observe: observe,
|
|
301
|
-
transferCache: localVarTransferCache,
|
|
311
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
302
312
|
reportProgress: reportProgress
|
|
303
313
|
});
|
|
304
314
|
}
|
|
@@ -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.pub.agravity';
|
|
@@ -43,9 +43,11 @@ export class PublicConfigurationManagementService extends BaseService {
|
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* Lists config value only for frontend stored in config table. Optional to filter for custom values only.
|
|
46
|
+
* @endpoint get /config/frontend
|
|
46
47
|
* @param requestParameters
|
|
47
48
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
48
49
|
* @param reportProgress flag to report request and response progress.
|
|
50
|
+
* @param options additional options
|
|
49
51
|
*/
|
|
50
52
|
public httpConfigGetFrontendAll(
|
|
51
53
|
requestParameters?: HttpConfigGetFrontendAllRequestParams,
|
|
@@ -73,8 +75,9 @@ export class PublicConfigurationManagementService extends BaseService {
|
|
|
73
75
|
): Observable<any> {
|
|
74
76
|
const customonly = requestParameters?.customonly;
|
|
75
77
|
|
|
76
|
-
let localVarQueryParameters = new
|
|
77
|
-
|
|
78
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
79
|
+
|
|
80
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'customonly', <any>customonly, QueryParamStyle.Form, true);
|
|
78
81
|
|
|
79
82
|
let localVarHeaders = this.defaultHeaders;
|
|
80
83
|
|
|
@@ -102,12 +105,12 @@ export class PublicConfigurationManagementService extends BaseService {
|
|
|
102
105
|
const { basePath, withCredentials } = this.configuration;
|
|
103
106
|
return this.httpClient.request<Array<FrontendAppConfig>>('get', `${basePath}${localVarPath}`, {
|
|
104
107
|
context: localVarHttpContext,
|
|
105
|
-
params: localVarQueryParameters,
|
|
108
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
106
109
|
responseType: <any>responseType_,
|
|
107
110
|
...(withCredentials ? { withCredentials } : {}),
|
|
108
111
|
headers: localVarHeaders,
|
|
109
112
|
observe: observe,
|
|
110
|
-
transferCache: localVarTransferCache,
|
|
113
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
111
114
|
reportProgress: reportProgress
|
|
112
115
|
});
|
|
113
116
|
}
|
|
@@ -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 { DownloadFormat } from '../model/downloadFormat.pub.agravity';
|
|
@@ -50,9 +50,11 @@ export class PublicDownloadFormatManagementService extends BaseService {
|
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* This endpoint lists all download formats in database.
|
|
53
|
+
* @endpoint get /downloadformats
|
|
53
54
|
* @param requestParameters
|
|
54
55
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
55
56
|
* @param reportProgress flag to report request and response progress.
|
|
57
|
+
* @param options additional options
|
|
56
58
|
*/
|
|
57
59
|
public httpDownloadFormatsGetAll(
|
|
58
60
|
requestParameters?: HttpDownloadFormatsGetAllRequestParams,
|
|
@@ -116,16 +118,18 @@ export class PublicDownloadFormatManagementService extends BaseService {
|
|
|
116
118
|
...(withCredentials ? { withCredentials } : {}),
|
|
117
119
|
headers: localVarHeaders,
|
|
118
120
|
observe: observe,
|
|
119
|
-
transferCache: localVarTransferCache,
|
|
121
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
120
122
|
reportProgress: reportProgress
|
|
121
123
|
});
|
|
122
124
|
}
|
|
123
125
|
|
|
124
126
|
/**
|
|
125
127
|
* This endpoint lists all download formats for a specific shared collections in database.Needs a valid shared collection ID to be authenticated.
|
|
128
|
+
* @endpoint get /downloadformats-shared
|
|
126
129
|
* @param requestParameters
|
|
127
130
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
128
131
|
* @param reportProgress flag to report request and response progress.
|
|
132
|
+
* @param options additional options
|
|
129
133
|
*/
|
|
130
134
|
public httpDownloadFormatsGetAllFromShared(
|
|
131
135
|
requestParameters: HttpDownloadFormatsGetAllFromSharedRequestParams,
|
|
@@ -158,8 +162,9 @@ export class PublicDownloadFormatManagementService extends BaseService {
|
|
|
158
162
|
const ayPassword = requestParameters?.ayPassword;
|
|
159
163
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
160
164
|
|
|
161
|
-
let localVarQueryParameters = new
|
|
162
|
-
|
|
165
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
166
|
+
|
|
167
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'share_id', <any>shareId, QueryParamStyle.Form, true);
|
|
163
168
|
|
|
164
169
|
let localVarHeaders = this.defaultHeaders;
|
|
165
170
|
if (ayPassword !== undefined && ayPassword !== null) {
|
|
@@ -193,12 +198,12 @@ export class PublicDownloadFormatManagementService extends BaseService {
|
|
|
193
198
|
const { basePath, withCredentials } = this.configuration;
|
|
194
199
|
return this.httpClient.request<Array<DownloadFormat>>('get', `${basePath}${localVarPath}`, {
|
|
195
200
|
context: localVarHttpContext,
|
|
196
|
-
params: localVarQueryParameters,
|
|
201
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
197
202
|
responseType: <any>responseType_,
|
|
198
203
|
...(withCredentials ? { withCredentials } : {}),
|
|
199
204
|
headers: localVarHeaders,
|
|
200
205
|
observe: observe,
|
|
201
|
-
transferCache: localVarTransferCache,
|
|
206
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
202
207
|
reportProgress: reportProgress
|
|
203
208
|
});
|
|
204
209
|
}
|