@agravity/private 10.3.4 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api/aIOperations.agravity.ts +38 -14
  5. package/api/assetIconRuleManagement.agravity.ts +33 -19
  6. package/api/assetManagement.agravity.ts +74 -37
  7. package/api/assetOperations.agravity.ts +175 -86
  8. package/api/assetPublishing.agravity.ts +33 -14
  9. package/api/assetRelationManagement.agravity.ts +37 -21
  10. package/api/assetRelationTypeManagement.agravity.ts +36 -20
  11. package/api/assetVersioning.agravity.ts +33 -14
  12. package/api/authenticationManagement.agravity.ts +57 -24
  13. package/api/collectionManagement.agravity.ts +86 -46
  14. package/api/collectionShareManagement.agravity.ts +29 -15
  15. package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
  16. package/api/collectionTypeManagement.agravity.ts +50 -27
  17. package/api/commentsManagement.agravity.ts +14 -6
  18. package/api/configurationManagement.agravity.ts +25 -13
  19. package/api/dashboardWidgetManagement.agravity.ts +21 -10
  20. package/api/dataImportExportManagement.agravity.ts +49 -25
  21. package/api/downloadFormatManagement.agravity.ts +36 -20
  22. package/api/downloadZip.agravity.ts +11 -5
  23. package/api/featuresManagement.agravity.ts +5 -3
  24. package/api/generalManagement.agravity.ts +43 -22
  25. package/api/helperTools.agravity.ts +76 -35
  26. package/api/historyEntryManagement.agravity.ts +9 -6
  27. package/api/iccProfileManagement.agravity.ts +5 -3
  28. package/api/listBlobs.agravity.ts +8 -4
  29. package/api/listQueues.agravity.ts +5 -3
  30. package/api/listTables.agravity.ts +5 -3
  31. package/api/notificationManagement.agravity.ts +11 -5
  32. package/api/permissionsManagement.agravity.ts +14 -6
  33. package/api/portalManagement.agravity.ts +26 -10
  34. package/api/portalsUsersManagement.agravity.ts +17 -7
  35. package/api/profilesManagement.agravity.ts +20 -8
  36. package/api/publishing.agravity.ts +11 -7
  37. package/api/quickshareManagement.agravity.ts +36 -19
  38. package/api/savedSearchManagement.agravity.ts +23 -13
  39. package/api/searchManagement.agravity.ts +100 -54
  40. package/api/searchSettingsOperations.agravity.ts +8 -4
  41. package/api/secureUpload.agravity.ts +28 -14
  42. package/api/signalRConnectionManagement.agravity.ts +11 -5
  43. package/api/staticDefinedListManagement.agravity.ts +35 -20
  44. package/api/stockImport.agravity.ts +22 -13
  45. package/api/structureImport.agravity.ts +13 -8
  46. package/api/translationManagement.agravity.ts +32 -17
  47. package/api/webAppData.agravity.ts +14 -6
  48. package/api/widgetLayoutManagement.agravity.ts +8 -4
  49. package/api/wordpressManagement.agravity.ts +28 -16
  50. package/api/workspaceManagement.agravity.ts +39 -21
  51. package/api.base.service.ts +41 -27
  52. package/configuration.ts +3 -2
  53. package/encoder.ts +15 -0
  54. package/package.json +9 -9
  55. package/query.params.ts +165 -0
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { Feature } from '../model/feature.agravity';
@@ -36,8 +36,10 @@ export class FeaturesManagementService extends BaseService {
36
36
 
37
37
  /**
38
38
  * This endpoint lists all features available.
39
+ * @endpoint get /features
39
40
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
40
41
  * @param reportProgress flag to report request and response progress.
42
+ * @param options additional options
41
43
  */
42
44
  public httpFeaturesGetAll(
43
45
  observe?: 'body',
@@ -92,7 +94,7 @@ export class FeaturesManagementService extends BaseService {
92
94
  ...(withCredentials ? { withCredentials } : {}),
93
95
  headers: localVarHeaders,
94
96
  observe: observe,
95
- transferCache: localVarTransferCache,
97
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
96
98
  reportProgress: reportProgress
97
99
  });
98
100
  }
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -65,8 +65,10 @@ export class GeneralManagementService extends BaseService {
65
65
 
66
66
  /**
67
67
  * This endpoint returns the current version of the backend.
68
+ * @endpoint get /version
68
69
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
69
70
  * @param reportProgress flag to report request and response progress.
71
+ * @param options additional options
70
72
  */
71
73
  public httpAgravityVersionInfo(
72
74
  observe?: 'body',
@@ -121,15 +123,17 @@ export class GeneralManagementService extends BaseService {
121
123
  ...(withCredentials ? { withCredentials } : {}),
122
124
  headers: localVarHeaders,
123
125
  observe: observe,
124
- transferCache: localVarTransferCache,
126
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
125
127
  reportProgress: reportProgress
126
128
  });
127
129
  }
128
130
 
129
131
  /**
130
132
  * This endpoint deletes the database completely in a \"fast\" way without querying all entities with this \"hidden\" stored procedure.
133
+ * @endpoint delete /cosmosdb!!
131
134
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
132
135
  * @param reportProgress flag to report request and response progress.
136
+ * @param options additional options
133
137
  */
134
138
  public httpAssetsDeleteAllFast(
135
139
  observe?: 'body',
@@ -184,16 +188,18 @@ export class GeneralManagementService extends BaseService {
184
188
  ...(withCredentials ? { withCredentials } : {}),
185
189
  headers: localVarHeaders,
186
190
  observe: observe,
187
- transferCache: localVarTransferCache,
191
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
188
192
  reportProgress: reportProgress
189
193
  });
190
194
  }
191
195
 
192
196
  /**
193
197
  * This endpoint queries all entities from which are marked as status \"D\" and cleans internal archive container from that assets
198
+ * @endpoint patch /cleanup
194
199
  * @param requestParameters
195
200
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
196
201
  * @param reportProgress flag to report request and response progress.
202
+ * @param options additional options
197
203
  */
198
204
  public httpCleanup(
199
205
  requestParameters?: HttpCleanupRequestParams,
@@ -221,8 +227,9 @@ export class GeneralManagementService extends BaseService {
221
227
  ): Observable<any> {
222
228
  const olderThanDays = requestParameters?.olderThanDays;
223
229
 
224
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
225
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>olderThanDays, 'olderThanDays');
230
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
231
+
232
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'olderThanDays', <any>olderThanDays, QueryParamStyle.Form, true);
226
233
 
227
234
  let localVarHeaders = this.defaultHeaders;
228
235
 
@@ -253,20 +260,22 @@ export class GeneralManagementService extends BaseService {
253
260
  const { basePath, withCredentials } = this.configuration;
254
261
  return this.httpClient.request<AgravityInfoResponse>('patch', `${basePath}${localVarPath}`, {
255
262
  context: localVarHttpContext,
256
- params: localVarQueryParameters,
263
+ params: localVarQueryParameters.toHttpParams(),
257
264
  responseType: <any>responseType_,
258
265
  ...(withCredentials ? { withCredentials } : {}),
259
266
  headers: localVarHeaders,
260
267
  observe: observe,
261
- transferCache: localVarTransferCache,
268
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
262
269
  reportProgress: reportProgress
263
270
  });
264
271
  }
265
272
 
266
273
  /**
267
274
  * This endpoint checks if all assets in original container exist in db otherwise they are deleted
275
+ * @endpoint post /cleanup
268
276
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
269
277
  * @param reportProgress flag to report request and response progress.
278
+ * @param options additional options
270
279
  */
271
280
  public httpCleanupOrigAssets(
272
281
  observe?: 'body',
@@ -321,16 +330,18 @@ export class GeneralManagementService extends BaseService {
321
330
  ...(withCredentials ? { withCredentials } : {}),
322
331
  headers: localVarHeaders,
323
332
  observe: observe,
324
- transferCache: localVarTransferCache,
333
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
325
334
  reportProgress: reportProgress
326
335
  });
327
336
  }
328
337
 
329
338
  /**
330
339
  * This endpoint checks all deleted entities in the database until a specific date and returns the elements which are deleted.
340
+ * @endpoint get /deleted
331
341
  * @param requestParameters
332
342
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
333
343
  * @param reportProgress flag to report request and response progress.
344
+ * @param options additional options
334
345
  */
335
346
  public httpGetDeletedEntities(
336
347
  requestParameters?: HttpGetDeletedEntitiesRequestParams,
@@ -361,11 +372,15 @@ export class GeneralManagementService extends BaseService {
361
372
  const until = requestParameters?.until;
362
373
  const portalId = requestParameters?.portalId;
363
374
 
364
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
365
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>entityType, 'entity_type');
366
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>since, 'since');
367
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>until, 'until');
368
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
375
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
376
+
377
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'entity_type', <any>entityType, QueryParamStyle.Form, true);
378
+
379
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'since', <any>since, QueryParamStyle.Form, true);
380
+
381
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'until', <any>until, QueryParamStyle.Form, true);
382
+
383
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
369
384
 
370
385
  let localVarHeaders = this.defaultHeaders;
371
386
 
@@ -396,21 +411,23 @@ export class GeneralManagementService extends BaseService {
396
411
  const { basePath, withCredentials } = this.configuration;
397
412
  return this.httpClient.request<Array<DeletedEntities>>('get', `${basePath}${localVarPath}`, {
398
413
  context: localVarHttpContext,
399
- params: localVarQueryParameters,
414
+ params: localVarQueryParameters.toHttpParams(),
400
415
  responseType: <any>responseType_,
401
416
  ...(withCredentials ? { withCredentials } : {}),
402
417
  headers: localVarHeaders,
403
418
  observe: observe,
404
- transferCache: localVarTransferCache,
419
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
405
420
  reportProgress: reportProgress
406
421
  });
407
422
  }
408
423
 
409
424
  /**
410
425
  * This endpoint runs the initial setup of an environment.
426
+ * @endpoint post /setup
411
427
  * @param requestParameters
412
428
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
413
429
  * @param reportProgress flag to report request and response progress.
430
+ * @param options additional options
414
431
  */
415
432
  public httpSetup(
416
433
  requestParameters: HttpSetupRequestParams,
@@ -442,9 +459,11 @@ export class GeneralManagementService extends BaseService {
442
459
  }
443
460
  const addconfigqueues = requestParameters?.addconfigqueues;
444
461
 
445
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
446
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>createfolder, 'createfolder');
447
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>addconfigqueues, 'addconfigqueues');
462
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
463
+
464
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'createfolder', <any>createfolder, QueryParamStyle.Form, true);
465
+
466
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'addconfigqueues', <any>addconfigqueues, QueryParamStyle.Form, true);
448
467
 
449
468
  let localVarHeaders = this.defaultHeaders;
450
469
 
@@ -475,20 +494,22 @@ export class GeneralManagementService extends BaseService {
475
494
  const { basePath, withCredentials } = this.configuration;
476
495
  return this.httpClient.request<AgravityInfoResponse>('post', `${basePath}${localVarPath}`, {
477
496
  context: localVarHttpContext,
478
- params: localVarQueryParameters,
497
+ params: localVarQueryParameters.toHttpParams(),
479
498
  responseType: <any>responseType_,
480
499
  ...(withCredentials ? { withCredentials } : {}),
481
500
  headers: localVarHeaders,
482
501
  observe: observe,
483
- transferCache: localVarTransferCache,
502
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
484
503
  reportProgress: reportProgress
485
504
  });
486
505
  }
487
506
 
488
507
  /**
489
508
  * This endpoint triggers a backup via a docker container.
509
+ * @endpoint post /backup
490
510
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
491
511
  * @param reportProgress flag to report request and response progress.
512
+ * @param options additional options
492
513
  */
493
514
  public httpTriggerBackup(
494
515
  observe?: 'body',
@@ -543,7 +564,7 @@ export class GeneralManagementService extends BaseService {
543
564
  ...(withCredentials ? { withCredentials } : {}),
544
565
  headers: localVarHeaders,
545
566
  observe: observe,
546
- transferCache: localVarTransferCache,
567
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
547
568
  reportProgress: reportProgress
548
569
  });
549
570
  }