@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.
- 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';
|
|
@@ -132,9 +132,11 @@ export class SearchManagementService extends BaseService {
|
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* This endpoint deletes the index, indexes and data source connection. Has to be recreated with recreate endpoint.
|
|
135
|
+
* @endpoint patch /searchadmin/delete
|
|
135
136
|
* @param requestParameters
|
|
136
137
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
137
138
|
* @param reportProgress flag to report request and response progress.
|
|
139
|
+
* @param options additional options
|
|
138
140
|
*/
|
|
139
141
|
public httpAzureDeleteSearchCompletely(
|
|
140
142
|
requestParameters?: HttpAzureDeleteSearchCompletelyRequestParams,
|
|
@@ -162,8 +164,9 @@ export class SearchManagementService extends BaseService {
|
|
|
162
164
|
): Observable<any> {
|
|
163
165
|
const portalId = requestParameters?.portalId;
|
|
164
166
|
|
|
165
|
-
let localVarQueryParameters = new
|
|
166
|
-
|
|
167
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
168
|
+
|
|
169
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
167
170
|
|
|
168
171
|
let localVarHeaders = this.defaultHeaders;
|
|
169
172
|
|
|
@@ -194,21 +197,23 @@ export class SearchManagementService extends BaseService {
|
|
|
194
197
|
const { basePath, withCredentials } = this.configuration;
|
|
195
198
|
return this.httpClient.request<AgravityInfoResponse>('patch', `${basePath}${localVarPath}`, {
|
|
196
199
|
context: localVarHttpContext,
|
|
197
|
-
params: localVarQueryParameters,
|
|
200
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
198
201
|
responseType: <any>responseType_,
|
|
199
202
|
...(withCredentials ? { withCredentials } : {}),
|
|
200
203
|
headers: localVarHeaders,
|
|
201
204
|
observe: observe,
|
|
202
|
-
transferCache: localVarTransferCache,
|
|
205
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
203
206
|
reportProgress: reportProgress
|
|
204
207
|
});
|
|
205
208
|
}
|
|
206
209
|
|
|
207
210
|
/**
|
|
208
211
|
* This endpoint recreates the index and creates the indexes, skillset and data source connection if not existing
|
|
212
|
+
* @endpoint patch /searchadmin/recreate
|
|
209
213
|
* @param requestParameters
|
|
210
214
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
211
215
|
* @param reportProgress flag to report request and response progress.
|
|
216
|
+
* @param options additional options
|
|
212
217
|
*/
|
|
213
218
|
public httpAzureRecreateGlobalIndex(
|
|
214
219
|
requestParameters?: HttpAzureRecreateGlobalIndexRequestParams,
|
|
@@ -236,8 +241,9 @@ export class SearchManagementService extends BaseService {
|
|
|
236
241
|
): Observable<any> {
|
|
237
242
|
const portalId = requestParameters?.portalId;
|
|
238
243
|
|
|
239
|
-
let localVarQueryParameters = new
|
|
240
|
-
|
|
244
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
245
|
+
|
|
246
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
241
247
|
|
|
242
248
|
let localVarHeaders = this.defaultHeaders;
|
|
243
249
|
|
|
@@ -268,21 +274,23 @@ export class SearchManagementService extends BaseService {
|
|
|
268
274
|
const { basePath, withCredentials } = this.configuration;
|
|
269
275
|
return this.httpClient.request<AgravityInfoResponse>('patch', `${basePath}${localVarPath}`, {
|
|
270
276
|
context: localVarHttpContext,
|
|
271
|
-
params: localVarQueryParameters,
|
|
277
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
272
278
|
responseType: <any>responseType_,
|
|
273
279
|
...(withCredentials ? { withCredentials } : {}),
|
|
274
280
|
headers: localVarHeaders,
|
|
275
281
|
observe: observe,
|
|
276
|
-
transferCache: localVarTransferCache,
|
|
282
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
277
283
|
reportProgress: reportProgress
|
|
278
284
|
});
|
|
279
285
|
}
|
|
280
286
|
|
|
281
287
|
/**
|
|
282
288
|
* This endpoint returns one facette based on the search parameters.
|
|
289
|
+
* @endpoint get /search/facette
|
|
283
290
|
* @param requestParameters
|
|
284
291
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
285
292
|
* @param reportProgress flag to report request and response progress.
|
|
293
|
+
* @param options additional options
|
|
286
294
|
*/
|
|
287
295
|
public httpGetSearchFacetteByName(
|
|
288
296
|
requestParameters: HttpGetSearchFacetteByNameRequestParams,
|
|
@@ -324,16 +332,25 @@ export class SearchManagementService extends BaseService {
|
|
|
324
332
|
const ids = requestParameters?.ids;
|
|
325
333
|
const portalId = requestParameters?.portalId;
|
|
326
334
|
|
|
327
|
-
let localVarQueryParameters = new
|
|
328
|
-
|
|
329
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
330
|
-
|
|
331
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
332
|
-
|
|
333
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
334
|
-
|
|
335
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
336
|
-
|
|
335
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
336
|
+
|
|
337
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'name', <any>name, QueryParamStyle.Form, true);
|
|
338
|
+
|
|
339
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 's', <any>s, QueryParamStyle.Form, true);
|
|
340
|
+
|
|
341
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
342
|
+
|
|
343
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
344
|
+
|
|
345
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'mode', <any>mode, QueryParamStyle.Form, true);
|
|
346
|
+
|
|
347
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
|
|
348
|
+
|
|
349
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'scopefilter', <any>scopefilter, QueryParamStyle.Form, true);
|
|
350
|
+
|
|
351
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', <any>ids, QueryParamStyle.Form, true);
|
|
352
|
+
|
|
353
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
337
354
|
|
|
338
355
|
let localVarHeaders = this.defaultHeaders;
|
|
339
356
|
|
|
@@ -364,21 +381,23 @@ export class SearchManagementService extends BaseService {
|
|
|
364
381
|
const { basePath, withCredentials } = this.configuration;
|
|
365
382
|
return this.httpClient.request<SearchFacet>('get', `${basePath}${localVarPath}`, {
|
|
366
383
|
context: localVarHttpContext,
|
|
367
|
-
params: localVarQueryParameters,
|
|
384
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
368
385
|
responseType: <any>responseType_,
|
|
369
386
|
...(withCredentials ? { withCredentials } : {}),
|
|
370
387
|
headers: localVarHeaders,
|
|
371
388
|
observe: observe,
|
|
372
|
-
transferCache: localVarTransferCache,
|
|
389
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
373
390
|
reportProgress: reportProgress
|
|
374
391
|
});
|
|
375
392
|
}
|
|
376
393
|
|
|
377
394
|
/**
|
|
378
395
|
* This endpoint returns a configured max amount of results for search terms.
|
|
396
|
+
* @endpoint get /search
|
|
379
397
|
* @param requestParameters
|
|
380
398
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
381
399
|
* @param reportProgress flag to report request and response progress.
|
|
400
|
+
* @param options additional options
|
|
382
401
|
*/
|
|
383
402
|
public httpGlobalSearch(
|
|
384
403
|
requestParameters: HttpGlobalSearchRequestParams,
|
|
@@ -424,22 +443,37 @@ export class SearchManagementService extends BaseService {
|
|
|
424
443
|
const translations = requestParameters?.translations;
|
|
425
444
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
426
445
|
|
|
427
|
-
let localVarQueryParameters = new
|
|
428
|
-
|
|
429
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
430
|
-
|
|
431
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
432
|
-
|
|
433
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
434
|
-
|
|
435
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
436
|
-
|
|
437
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
438
|
-
|
|
439
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
440
|
-
|
|
441
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
442
|
-
|
|
446
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
447
|
+
|
|
448
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 's', <any>s, QueryParamStyle.Form, true);
|
|
449
|
+
|
|
450
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
451
|
+
|
|
452
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'skip', <any>skip, QueryParamStyle.Form, true);
|
|
453
|
+
|
|
454
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
455
|
+
|
|
456
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
457
|
+
|
|
458
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'mode', <any>mode, QueryParamStyle.Form, true);
|
|
459
|
+
|
|
460
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'expose', <any>expose, QueryParamStyle.Form, true);
|
|
461
|
+
|
|
462
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
|
|
463
|
+
|
|
464
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'broadness', <any>broadness, QueryParamStyle.Form, true);
|
|
465
|
+
|
|
466
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'rel_id', <any>relId, QueryParamStyle.Form, true);
|
|
467
|
+
|
|
468
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'scopefilter', <any>scopefilter, QueryParamStyle.Form, true);
|
|
469
|
+
|
|
470
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
|
|
471
|
+
|
|
472
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', <any>ids, QueryParamStyle.Form, true);
|
|
473
|
+
|
|
474
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
475
|
+
|
|
476
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
443
477
|
|
|
444
478
|
let localVarHeaders = this.defaultHeaders;
|
|
445
479
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -473,21 +507,23 @@ export class SearchManagementService extends BaseService {
|
|
|
473
507
|
const { basePath, withCredentials } = this.configuration;
|
|
474
508
|
return this.httpClient.request<SearchResult>('get', `${basePath}${localVarPath}`, {
|
|
475
509
|
context: localVarHttpContext,
|
|
476
|
-
params: localVarQueryParameters,
|
|
510
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
477
511
|
responseType: <any>responseType_,
|
|
478
512
|
...(withCredentials ? { withCredentials } : {}),
|
|
479
513
|
headers: localVarHeaders,
|
|
480
514
|
observe: observe,
|
|
481
|
-
transferCache: localVarTransferCache,
|
|
515
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
482
516
|
reportProgress: reportProgress
|
|
483
517
|
});
|
|
484
518
|
}
|
|
485
519
|
|
|
486
520
|
/**
|
|
487
521
|
* This endpoint removes all assets which are not longer available in the database from the search index.
|
|
522
|
+
* @endpoint patch /searchadmin/clean
|
|
488
523
|
* @param requestParameters
|
|
489
524
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
490
525
|
* @param reportProgress flag to report request and response progress.
|
|
526
|
+
* @param options additional options
|
|
491
527
|
*/
|
|
492
528
|
public httpPatchCleanSearchFromDeletedAssets(
|
|
493
529
|
requestParameters?: HttpPatchCleanSearchFromDeletedAssetsRequestParams,
|
|
@@ -515,8 +551,9 @@ export class SearchManagementService extends BaseService {
|
|
|
515
551
|
): Observable<any> {
|
|
516
552
|
const portalId = requestParameters?.portalId;
|
|
517
553
|
|
|
518
|
-
let localVarQueryParameters = new
|
|
519
|
-
|
|
554
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
555
|
+
|
|
556
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
520
557
|
|
|
521
558
|
let localVarHeaders = this.defaultHeaders;
|
|
522
559
|
|
|
@@ -547,21 +584,23 @@ export class SearchManagementService extends BaseService {
|
|
|
547
584
|
const { basePath, withCredentials } = this.configuration;
|
|
548
585
|
return this.httpClient.request<AgravityInfoResponse>('patch', `${basePath}${localVarPath}`, {
|
|
549
586
|
context: localVarHttpContext,
|
|
550
|
-
params: localVarQueryParameters,
|
|
587
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
551
588
|
responseType: <any>responseType_,
|
|
552
589
|
...(withCredentials ? { withCredentials } : {}),
|
|
553
590
|
headers: localVarHeaders,
|
|
554
591
|
observe: observe,
|
|
555
|
-
transferCache: localVarTransferCache,
|
|
592
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
556
593
|
reportProgress: reportProgress
|
|
557
594
|
});
|
|
558
595
|
}
|
|
559
596
|
|
|
560
597
|
/**
|
|
561
598
|
* This endpoint takes the ID and check if it is a collection type, collection or asset and re-index it in search.
|
|
599
|
+
* @endpoint patch /searchadmin/reindex/{id}
|
|
562
600
|
* @param requestParameters
|
|
563
601
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
564
602
|
* @param reportProgress flag to report request and response progress.
|
|
603
|
+
* @param options additional options
|
|
565
604
|
*/
|
|
566
605
|
public httpPatchReIndexAssets(
|
|
567
606
|
requestParameters: HttpPatchReIndexAssetsRequestParams,
|
|
@@ -625,16 +664,18 @@ export class SearchManagementService extends BaseService {
|
|
|
625
664
|
...(withCredentials ? { withCredentials } : {}),
|
|
626
665
|
headers: localVarHeaders,
|
|
627
666
|
observe: observe,
|
|
628
|
-
transferCache: localVarTransferCache,
|
|
667
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
629
668
|
reportProgress: reportProgress
|
|
630
669
|
});
|
|
631
670
|
}
|
|
632
671
|
|
|
633
672
|
/**
|
|
634
673
|
* This endpoint gives the status about the index and indexer. Skill and data source connection only when \'full\' is set to true.
|
|
674
|
+
* @endpoint get /searchadmin/status
|
|
635
675
|
* @param requestParameters
|
|
636
676
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
637
677
|
* @param reportProgress flag to report request and response progress.
|
|
678
|
+
* @param options additional options
|
|
638
679
|
*/
|
|
639
680
|
public httpSearchAdminGetStatus(
|
|
640
681
|
requestParameters?: HttpSearchAdminGetStatusRequestParams,
|
|
@@ -663,9 +704,11 @@ export class SearchManagementService extends BaseService {
|
|
|
663
704
|
const portalId = requestParameters?.portalId;
|
|
664
705
|
const full = requestParameters?.full;
|
|
665
706
|
|
|
666
|
-
let localVarQueryParameters = new
|
|
667
|
-
|
|
668
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
707
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
708
|
+
|
|
709
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
710
|
+
|
|
711
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'full', <any>full, QueryParamStyle.Form, true);
|
|
669
712
|
|
|
670
713
|
let localVarHeaders = this.defaultHeaders;
|
|
671
714
|
|
|
@@ -696,21 +739,23 @@ export class SearchManagementService extends BaseService {
|
|
|
696
739
|
const { basePath, withCredentials } = this.configuration;
|
|
697
740
|
return this.httpClient.request<SearchAdminStatus>('get', `${basePath}${localVarPath}`, {
|
|
698
741
|
context: localVarHttpContext,
|
|
699
|
-
params: localVarQueryParameters,
|
|
742
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
700
743
|
responseType: <any>responseType_,
|
|
701
744
|
...(withCredentials ? { withCredentials } : {}),
|
|
702
745
|
headers: localVarHeaders,
|
|
703
746
|
observe: observe,
|
|
704
|
-
transferCache: localVarTransferCache,
|
|
747
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
705
748
|
reportProgress: reportProgress
|
|
706
749
|
});
|
|
707
750
|
}
|
|
708
751
|
|
|
709
752
|
/**
|
|
710
753
|
* This endpoint runs the search indexer
|
|
754
|
+
* @endpoint patch /searchadmin/run
|
|
711
755
|
* @param requestParameters
|
|
712
756
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
713
757
|
* @param reportProgress flag to report request and response progress.
|
|
758
|
+
* @param options additional options
|
|
714
759
|
*/
|
|
715
760
|
public httpSearchAdminRun(
|
|
716
761
|
requestParameters?: HttpSearchAdminRunRequestParams,
|
|
@@ -738,8 +783,9 @@ export class SearchManagementService extends BaseService {
|
|
|
738
783
|
): Observable<any> {
|
|
739
784
|
const portalId = requestParameters?.portalId;
|
|
740
785
|
|
|
741
|
-
let localVarQueryParameters = new
|
|
742
|
-
|
|
786
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
787
|
+
|
|
788
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
743
789
|
|
|
744
790
|
let localVarHeaders = this.defaultHeaders;
|
|
745
791
|
|
|
@@ -770,12 +816,12 @@ export class SearchManagementService extends BaseService {
|
|
|
770
816
|
const { basePath, withCredentials } = this.configuration;
|
|
771
817
|
return this.httpClient.request<AgravityInfoResponse>('patch', `${basePath}${localVarPath}`, {
|
|
772
818
|
context: localVarHttpContext,
|
|
773
|
-
params: localVarQueryParameters,
|
|
819
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
774
820
|
responseType: <any>responseType_,
|
|
775
821
|
...(withCredentials ? { withCredentials } : {}),
|
|
776
822
|
headers: localVarHeaders,
|
|
777
823
|
observe: observe,
|
|
778
|
-
transferCache: localVarTransferCache,
|
|
824
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
779
825
|
reportProgress: reportProgress
|
|
780
826
|
});
|
|
781
827
|
}
|
|
@@ -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';
|
|
@@ -43,8 +43,10 @@ export class SearchSettingsOperationsService extends BaseService {
|
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* This endpoint lists all search settings in database.
|
|
46
|
+
* @endpoint get /searchsettings
|
|
46
47
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
47
48
|
* @param reportProgress flag to report request and response progress.
|
|
49
|
+
* @param options additional options
|
|
48
50
|
*/
|
|
49
51
|
public httpSearchSettingsGet(
|
|
50
52
|
observe?: 'body',
|
|
@@ -99,16 +101,18 @@ export class SearchSettingsOperationsService extends BaseService {
|
|
|
99
101
|
...(withCredentials ? { withCredentials } : {}),
|
|
100
102
|
headers: localVarHeaders,
|
|
101
103
|
observe: observe,
|
|
102
|
-
transferCache: localVarTransferCache,
|
|
104
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
103
105
|
reportProgress: reportProgress
|
|
104
106
|
});
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
/**
|
|
108
110
|
* This endpoint creates one search settings entry in the database.
|
|
111
|
+
* @endpoint put /searchsettings
|
|
109
112
|
* @param requestParameters
|
|
110
113
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
111
114
|
* @param reportProgress flag to report request and response progress.
|
|
115
|
+
* @param options additional options
|
|
112
116
|
*/
|
|
113
117
|
public httpSearchSettingsPut(
|
|
114
118
|
requestParameters: HttpSearchSettingsPutRequestParams,
|
|
@@ -180,7 +184,7 @@ export class SearchSettingsOperationsService extends BaseService {
|
|
|
180
184
|
...(withCredentials ? { withCredentials } : {}),
|
|
181
185
|
headers: localVarHeaders,
|
|
182
186
|
observe: observe,
|
|
183
|
-
transferCache: localVarTransferCache,
|
|
187
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
184
188
|
reportProgress: reportProgress
|
|
185
189
|
});
|
|
186
190
|
}
|
|
@@ -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';
|
|
@@ -74,9 +74,11 @@ export class SecureUploadService extends BaseService {
|
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Returns the API Key of a secure upload
|
|
77
|
+
* @endpoint get /secureupload/{id}/apikey
|
|
77
78
|
* @param requestParameters
|
|
78
79
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
79
80
|
* @param reportProgress flag to report request and response progress.
|
|
81
|
+
* @param options additional options
|
|
80
82
|
*/
|
|
81
83
|
public httpGetSecureUploadApiKeyById(
|
|
82
84
|
requestParameters: HttpGetSecureUploadApiKeyByIdRequestParams,
|
|
@@ -140,16 +142,18 @@ export class SecureUploadService extends BaseService {
|
|
|
140
142
|
...(withCredentials ? { withCredentials } : {}),
|
|
141
143
|
headers: localVarHeaders,
|
|
142
144
|
observe: observe,
|
|
143
|
-
transferCache: localVarTransferCache,
|
|
145
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
144
146
|
reportProgress: reportProgress
|
|
145
147
|
});
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
/**
|
|
149
151
|
* This lists the secure upload collection which are stored in the database for a specific user (Taken from Bearer token).
|
|
152
|
+
* @endpoint get /secureupload
|
|
150
153
|
* @param requestParameters
|
|
151
154
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
152
155
|
* @param reportProgress flag to report request and response progress.
|
|
156
|
+
* @param options additional options
|
|
153
157
|
*/
|
|
154
158
|
public httpGetSecureUploadListOfUser(
|
|
155
159
|
requestParameters?: HttpGetSecureUploadListOfUserRequestParams,
|
|
@@ -177,8 +181,9 @@ export class SecureUploadService extends BaseService {
|
|
|
177
181
|
): Observable<any> {
|
|
178
182
|
const collectionid = requestParameters?.collectionid;
|
|
179
183
|
|
|
180
|
-
let localVarQueryParameters = new
|
|
181
|
-
|
|
184
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
185
|
+
|
|
186
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
182
187
|
|
|
183
188
|
let localVarHeaders = this.defaultHeaders;
|
|
184
189
|
|
|
@@ -209,21 +214,23 @@ export class SecureUploadService extends BaseService {
|
|
|
209
214
|
const { basePath, withCredentials } = this.configuration;
|
|
210
215
|
return this.httpClient.request<Array<SecureUploadEntity>>('get', `${basePath}${localVarPath}`, {
|
|
211
216
|
context: localVarHttpContext,
|
|
212
|
-
params: localVarQueryParameters,
|
|
217
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
213
218
|
responseType: <any>responseType_,
|
|
214
219
|
...(withCredentials ? { withCredentials } : {}),
|
|
215
220
|
headers: localVarHeaders,
|
|
216
221
|
observe: observe,
|
|
217
|
-
transferCache: localVarTransferCache,
|
|
222
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
218
223
|
reportProgress: reportProgress
|
|
219
224
|
});
|
|
220
225
|
}
|
|
221
226
|
|
|
222
227
|
/**
|
|
223
228
|
* Creates an secure upload entry point for a collection
|
|
229
|
+
* @endpoint post /secureupload
|
|
224
230
|
* @param requestParameters
|
|
225
231
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
226
232
|
* @param reportProgress flag to report request and response progress.
|
|
233
|
+
* @param options additional options
|
|
227
234
|
*/
|
|
228
235
|
public httpSecureUploadCreateForUser(
|
|
229
236
|
requestParameters: HttpSecureUploadCreateForUserRequestParams,
|
|
@@ -255,8 +262,9 @@ export class SecureUploadService extends BaseService {
|
|
|
255
262
|
}
|
|
256
263
|
const sftpenabled = requestParameters?.sftpenabled;
|
|
257
264
|
|
|
258
|
-
let localVarQueryParameters = new
|
|
259
|
-
|
|
265
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
266
|
+
|
|
267
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sftpenabled', <any>sftpenabled, QueryParamStyle.Form, true);
|
|
260
268
|
|
|
261
269
|
let localVarHeaders = this.defaultHeaders;
|
|
262
270
|
|
|
@@ -295,21 +303,23 @@ export class SecureUploadService extends BaseService {
|
|
|
295
303
|
return this.httpClient.request<SecureUploadEntity>('post', `${basePath}${localVarPath}`, {
|
|
296
304
|
context: localVarHttpContext,
|
|
297
305
|
body: secureUploadEntity,
|
|
298
|
-
params: localVarQueryParameters,
|
|
306
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
299
307
|
responseType: <any>responseType_,
|
|
300
308
|
...(withCredentials ? { withCredentials } : {}),
|
|
301
309
|
headers: localVarHeaders,
|
|
302
310
|
observe: observe,
|
|
303
|
-
transferCache: localVarTransferCache,
|
|
311
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
304
312
|
reportProgress: reportProgress
|
|
305
313
|
});
|
|
306
314
|
}
|
|
307
315
|
|
|
308
316
|
/**
|
|
309
317
|
* Returns one single secure upload entity from ID
|
|
318
|
+
* @endpoint get /secureupload/{id}
|
|
310
319
|
* @param requestParameters
|
|
311
320
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
312
321
|
* @param reportProgress flag to report request and response progress.
|
|
322
|
+
* @param options additional options
|
|
313
323
|
*/
|
|
314
324
|
public httpSecureUploadEntityCheckById(
|
|
315
325
|
requestParameters: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
@@ -373,16 +383,18 @@ export class SecureUploadService extends BaseService {
|
|
|
373
383
|
...(withCredentials ? { withCredentials } : {}),
|
|
374
384
|
headers: localVarHeaders,
|
|
375
385
|
observe: observe,
|
|
376
|
-
transferCache: localVarTransferCache,
|
|
386
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
377
387
|
reportProgress: reportProgress
|
|
378
388
|
});
|
|
379
389
|
}
|
|
380
390
|
|
|
381
391
|
/**
|
|
382
392
|
* Deletes (= disables) the secure upload to collection with the given ID.
|
|
393
|
+
* @endpoint delete /secureupload/{id}
|
|
383
394
|
* @param requestParameters
|
|
384
395
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
385
396
|
* @param reportProgress flag to report request and response progress.
|
|
397
|
+
* @param options additional options
|
|
386
398
|
*/
|
|
387
399
|
public httpSecureUploadToCollectionsDeleteById(
|
|
388
400
|
requestParameters: HttpSecureUploadToCollectionsDeleteByIdRequestParams,
|
|
@@ -446,16 +458,18 @@ export class SecureUploadService extends BaseService {
|
|
|
446
458
|
...(withCredentials ? { withCredentials } : {}),
|
|
447
459
|
headers: localVarHeaders,
|
|
448
460
|
observe: observe,
|
|
449
|
-
transferCache: localVarTransferCache,
|
|
461
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
450
462
|
reportProgress: reportProgress
|
|
451
463
|
});
|
|
452
464
|
}
|
|
453
465
|
|
|
454
466
|
/**
|
|
455
467
|
* Updates a secure upload entity
|
|
468
|
+
* @endpoint post /secureupload/{id}
|
|
456
469
|
* @param requestParameters
|
|
457
470
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
458
471
|
* @param reportProgress flag to report request and response progress.
|
|
472
|
+
* @param options additional options
|
|
459
473
|
*/
|
|
460
474
|
public httpSecureUploadUpdateWithId(
|
|
461
475
|
requestParameters: HttpSecureUploadUpdateWithIdRequestParams,
|
|
@@ -531,7 +545,7 @@ export class SecureUploadService extends BaseService {
|
|
|
531
545
|
...(withCredentials ? { withCredentials } : {}),
|
|
532
546
|
headers: localVarHeaders,
|
|
533
547
|
observe: observe,
|
|
534
|
-
transferCache: localVarTransferCache,
|
|
548
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
535
549
|
reportProgress: reportProgress
|
|
536
550
|
});
|
|
537
551
|
}
|
|
@@ -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';
|
|
@@ -45,8 +45,10 @@ export class SignalRConnectionManagementService extends BaseService {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* This endpoint delivers the connection data for a client.
|
|
48
|
+
* @endpoint post /signalr/negotiate
|
|
48
49
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
49
50
|
* @param reportProgress flag to report request and response progress.
|
|
51
|
+
* @param options additional options
|
|
50
52
|
*/
|
|
51
53
|
public httpSignalRNegotiate(
|
|
52
54
|
observe?: 'body',
|
|
@@ -98,15 +100,17 @@ export class SignalRConnectionManagementService extends BaseService {
|
|
|
98
100
|
...(withCredentials ? { withCredentials } : {}),
|
|
99
101
|
headers: localVarHeaders,
|
|
100
102
|
observe: observe,
|
|
101
|
-
transferCache: localVarTransferCache,
|
|
103
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
102
104
|
reportProgress: reportProgress
|
|
103
105
|
});
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
/**
|
|
107
109
|
* Allowes a client via rest to send messages to clients.
|
|
110
|
+
* @endpoint post /signalr/messages
|
|
108
111
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
109
112
|
* @param reportProgress flag to report request and response progress.
|
|
113
|
+
* @param options additional options
|
|
110
114
|
*/
|
|
111
115
|
public httpSignalRSendMessage(
|
|
112
116
|
observe?: 'body',
|
|
@@ -158,16 +162,18 @@ export class SignalRConnectionManagementService extends BaseService {
|
|
|
158
162
|
...(withCredentials ? { withCredentials } : {}),
|
|
159
163
|
headers: localVarHeaders,
|
|
160
164
|
observe: observe,
|
|
161
|
-
transferCache: localVarTransferCache,
|
|
165
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
162
166
|
reportProgress: reportProgress
|
|
163
167
|
});
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
/**
|
|
167
171
|
* Allowes a client via rest to send messages to one client (user)
|
|
172
|
+
* @endpoint post /signalr/info/{id}
|
|
168
173
|
* @param requestParameters
|
|
169
174
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
170
175
|
* @param reportProgress flag to report request and response progress.
|
|
176
|
+
* @param options additional options
|
|
171
177
|
*/
|
|
172
178
|
public httpSignalRSendMessageToUser(
|
|
173
179
|
requestParameters: HttpSignalRSendMessageToUserRequestParams,
|
|
@@ -228,7 +234,7 @@ export class SignalRConnectionManagementService extends BaseService {
|
|
|
228
234
|
...(withCredentials ? { withCredentials } : {}),
|
|
229
235
|
headers: localVarHeaders,
|
|
230
236
|
observe: observe,
|
|
231
|
-
transferCache: localVarTransferCache,
|
|
237
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
232
238
|
reportProgress: reportProgress
|
|
233
239
|
});
|
|
234
240
|
}
|