@agravity/private 10.3.5 → 11.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api/aIOperations.agravity.ts +38 -14
  5. package/api/assetIconRuleManagement.agravity.ts +33 -19
  6. package/api/assetManagement.agravity.ts +74 -37
  7. package/api/assetOperations.agravity.ts +175 -86
  8. package/api/assetPublishing.agravity.ts +33 -14
  9. package/api/assetRelationManagement.agravity.ts +37 -21
  10. package/api/assetRelationTypeManagement.agravity.ts +36 -20
  11. package/api/assetVersioning.agravity.ts +33 -14
  12. package/api/authenticationManagement.agravity.ts +57 -24
  13. package/api/collectionManagement.agravity.ts +86 -46
  14. package/api/collectionShareManagement.agravity.ts +29 -15
  15. package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
  16. package/api/collectionTypeManagement.agravity.ts +50 -27
  17. package/api/commentsManagement.agravity.ts +14 -6
  18. package/api/configurationManagement.agravity.ts +25 -13
  19. package/api/dashboardWidgetManagement.agravity.ts +21 -10
  20. package/api/dataImportExportManagement.agravity.ts +49 -25
  21. package/api/downloadFormatManagement.agravity.ts +36 -20
  22. package/api/downloadZip.agravity.ts +11 -5
  23. package/api/featuresManagement.agravity.ts +5 -3
  24. package/api/generalManagement.agravity.ts +43 -22
  25. package/api/helperTools.agravity.ts +76 -35
  26. package/api/historyEntryManagement.agravity.ts +9 -6
  27. package/api/iccProfileManagement.agravity.ts +5 -3
  28. package/api/listBlobs.agravity.ts +8 -4
  29. package/api/listQueues.agravity.ts +5 -3
  30. package/api/listTables.agravity.ts +5 -3
  31. package/api/notificationManagement.agravity.ts +11 -5
  32. package/api/permissionsManagement.agravity.ts +14 -6
  33. package/api/portalManagement.agravity.ts +26 -10
  34. package/api/portalsUsersManagement.agravity.ts +17 -7
  35. package/api/profilesManagement.agravity.ts +20 -8
  36. package/api/publishing.agravity.ts +11 -7
  37. package/api/quickshareManagement.agravity.ts +36 -19
  38. package/api/savedSearchManagement.agravity.ts +23 -13
  39. package/api/searchManagement.agravity.ts +100 -54
  40. package/api/searchSettingsOperations.agravity.ts +8 -4
  41. package/api/secureUpload.agravity.ts +28 -14
  42. package/api/signalRConnectionManagement.agravity.ts +11 -5
  43. package/api/staticDefinedListManagement.agravity.ts +35 -20
  44. package/api/stockImport.agravity.ts +22 -13
  45. package/api/structureImport.agravity.ts +13 -8
  46. package/api/translationManagement.agravity.ts +32 -17
  47. package/api/webAppData.agravity.ts +14 -6
  48. package/api/widgetLayoutManagement.agravity.ts +8 -4
  49. package/api/wordpressManagement.agravity.ts +28 -16
  50. package/api/workspaceManagement.agravity.ts +39 -21
  51. package/api.base.service.ts +41 -27
  52. package/configuration.ts +3 -2
  53. package/encoder.ts +15 -0
  54. package/package.json +9 -9
  55. package/query.params.ts +165 -0
@@ -10,9 +10,9 @@
10
10
  /* tslint:disable:no-unused-variable member-ordering */
11
11
 
12
12
  import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
- import { CustomHttpParameterCodec } from '../encoder';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
15
14
  import { Observable } from 'rxjs';
15
+ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
16
16
 
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
@@ -78,9 +78,11 @@ export class QuickshareManagementService extends BaseService {
78
78
 
79
79
  /**
80
80
  * Returns one single quick share (from ID)
81
+ * @endpoint get /quickshares/{id}
81
82
  * @param requestParameters
82
83
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
83
84
  * @param reportProgress flag to report request and response progress.
85
+ * @param options additional options
84
86
  */
85
87
  public httpQuickShareGetById(
86
88
  requestParameters: HttpQuickShareGetByIdRequestParams,
@@ -114,10 +116,13 @@ export class QuickshareManagementService extends BaseService {
114
116
  const limit = requestParameters?.limit;
115
117
  const orderby = requestParameters?.orderby;
116
118
 
117
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
118
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>continuationToken, 'continuation_token');
119
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>limit, 'limit');
120
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>orderby, 'orderby');
119
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
120
+
121
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuation_token', <any>continuationToken, QueryParamStyle.Form, true);
122
+
123
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
124
+
125
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
121
126
 
122
127
  let localVarHeaders = this.defaultHeaders;
123
128
 
@@ -148,21 +153,23 @@ export class QuickshareManagementService extends BaseService {
148
153
  const { basePath, withCredentials } = this.configuration;
149
154
  return this.httpClient.request<QuickShareFull>('get', `${basePath}${localVarPath}`, {
150
155
  context: localVarHttpContext,
151
- params: localVarQueryParameters,
156
+ params: localVarQueryParameters.toHttpParams(),
152
157
  responseType: <any>responseType_,
153
158
  ...(withCredentials ? { withCredentials } : {}),
154
159
  headers: localVarHeaders,
155
160
  observe: observe,
156
- transferCache: localVarTransferCache,
161
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
157
162
  reportProgress: reportProgress
158
163
  });
159
164
  }
160
165
 
161
166
  /**
162
167
  * Creates an additional quick share
168
+ * @endpoint post /quickshares
163
169
  * @param requestParameters
164
170
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
165
171
  * @param reportProgress flag to report request and response progress.
172
+ * @param options additional options
166
173
  */
167
174
  public httpQuickSharesCreate(
168
175
  requestParameters: HttpQuickSharesCreateRequestParams,
@@ -234,16 +241,18 @@ export class QuickshareManagementService extends BaseService {
234
241
  ...(withCredentials ? { withCredentials } : {}),
235
242
  headers: localVarHeaders,
236
243
  observe: observe,
237
- transferCache: localVarTransferCache,
244
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
238
245
  reportProgress: reportProgress
239
246
  });
240
247
  }
241
248
 
242
249
  /**
243
250
  * Dele tes all the quick shares of a specific user. If no userid is added, the user from the OAuth2 token is used.
251
+ * @endpoint delete /quickshares
244
252
  * @param requestParameters
245
253
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
246
254
  * @param reportProgress flag to report request and response progress.
255
+ * @param options additional options
247
256
  */
248
257
  public httpQuickSharesDelete(
249
258
  requestParameters?: HttpQuickSharesDeleteRequestParams,
@@ -271,8 +280,9 @@ export class QuickshareManagementService extends BaseService {
271
280
  ): Observable<any> {
272
281
  const userid = requestParameters?.userid;
273
282
 
274
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
275
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>userid, 'userid');
283
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
284
+
285
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'userid', <any>userid, QueryParamStyle.Form, true);
276
286
 
277
287
  let localVarHeaders = this.defaultHeaders;
278
288
 
@@ -303,21 +313,23 @@ export class QuickshareManagementService extends BaseService {
303
313
  const { basePath, withCredentials } = this.configuration;
304
314
  return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
305
315
  context: localVarHttpContext,
306
- params: localVarQueryParameters,
316
+ params: localVarQueryParameters.toHttpParams(),
307
317
  responseType: <any>responseType_,
308
318
  ...(withCredentials ? { withCredentials } : {}),
309
319
  headers: localVarHeaders,
310
320
  observe: observe,
311
- transferCache: localVarTransferCache,
321
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
312
322
  reportProgress: reportProgress
313
323
  });
314
324
  }
315
325
 
316
326
  /**
317
327
  * Deletes the quick share with the given ID.
328
+ * @endpoint delete /quickshares/{id}
318
329
  * @param requestParameters
319
330
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
320
331
  * @param reportProgress flag to report request and response progress.
332
+ * @param options additional options
321
333
  */
322
334
  public httpQuickSharesDeleteById(
323
335
  requestParameters: HttpQuickSharesDeleteByIdRequestParams,
@@ -381,16 +393,18 @@ export class QuickshareManagementService extends BaseService {
381
393
  ...(withCredentials ? { withCredentials } : {}),
382
394
  headers: localVarHeaders,
383
395
  observe: observe,
384
- transferCache: localVarTransferCache,
396
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
385
397
  reportProgress: reportProgress
386
398
  });
387
399
  }
388
400
 
389
401
  /**
390
402
  * This lists all the quick shares which are stored in the database for a specific user.
403
+ * @endpoint get /quickshares
391
404
  * @param requestParameters
392
405
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
393
406
  * @param reportProgress flag to report request and response progress.
407
+ * @param options additional options
394
408
  */
395
409
  public httpQuickSharesGet(
396
410
  requestParameters?: HttpQuickSharesGetRequestParams,
@@ -418,8 +432,9 @@ export class QuickshareManagementService extends BaseService {
418
432
  ): Observable<any> {
419
433
  const userid = requestParameters?.userid;
420
434
 
421
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
422
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>userid, 'userid');
435
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
436
+
437
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'userid', <any>userid, QueryParamStyle.Form, true);
423
438
 
424
439
  let localVarHeaders = this.defaultHeaders;
425
440
 
@@ -450,21 +465,23 @@ export class QuickshareManagementService extends BaseService {
450
465
  const { basePath, withCredentials } = this.configuration;
451
466
  return this.httpClient.request<Array<QuickShare>>('get', `${basePath}${localVarPath}`, {
452
467
  context: localVarHttpContext,
453
- params: localVarQueryParameters,
468
+ params: localVarQueryParameters.toHttpParams(),
454
469
  responseType: <any>responseType_,
455
470
  ...(withCredentials ? { withCredentials } : {}),
456
471
  headers: localVarHeaders,
457
472
  observe: observe,
458
- transferCache: localVarTransferCache,
473
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
459
474
  reportProgress: reportProgress
460
475
  });
461
476
  }
462
477
 
463
478
  /**
464
479
  * Updates an existing quick share
480
+ * @endpoint post /quickshares/{id}
465
481
  * @param requestParameters
466
482
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
467
483
  * @param reportProgress flag to report request and response progress.
484
+ * @param options additional options
468
485
  */
469
486
  public httpQuickSharesUpdateById(
470
487
  requestParameters: HttpQuickSharesUpdateByIdRequestParams,
@@ -540,7 +557,7 @@ export class QuickshareManagementService extends BaseService {
540
557
  ...(withCredentials ? { withCredentials } : {}),
541
558
  headers: localVarHeaders,
542
559
  observe: observe,
543
- transferCache: localVarTransferCache,
560
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
544
561
  reportProgress: reportProgress
545
562
  });
546
563
  }
@@ -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';
@@ -63,9 +63,11 @@ export class SavedSearchManagementService extends BaseService {
63
63
 
64
64
  /**
65
65
  * This endpoint creates one saved search entry in the database.
66
+ * @endpoint post /savedsearches
66
67
  * @param requestParameters
67
68
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
68
69
  * @param reportProgress flag to report request and response progress.
70
+ * @param options additional options
69
71
  */
70
72
  public httpSavedSearchesCreate(
71
73
  requestParameters: HttpSavedSearchesCreateRequestParams,
@@ -99,9 +101,11 @@ export class SavedSearchManagementService extends BaseService {
99
101
  const acceptLanguage = requestParameters?.acceptLanguage;
100
102
  const isglobal = requestParameters?.isglobal;
101
103
 
102
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
103
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
104
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>isglobal, 'isglobal');
104
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
105
+
106
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
107
+
108
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'isglobal', <any>isglobal, QueryParamStyle.Form, true);
105
109
 
106
110
  let localVarHeaders = this.defaultHeaders;
107
111
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -143,21 +147,23 @@ export class SavedSearchManagementService extends BaseService {
143
147
  return this.httpClient.request<SavedSearch>('post', `${basePath}${localVarPath}`, {
144
148
  context: localVarHttpContext,
145
149
  body: savedSearch,
146
- params: localVarQueryParameters,
150
+ params: localVarQueryParameters.toHttpParams(),
147
151
  responseType: <any>responseType_,
148
152
  ...(withCredentials ? { withCredentials } : {}),
149
153
  headers: localVarHeaders,
150
154
  observe: observe,
151
- transferCache: localVarTransferCache,
155
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
152
156
  reportProgress: reportProgress
153
157
  });
154
158
  }
155
159
 
156
160
  /**
157
161
  * This endpoint deletes a single saved search.
162
+ * @endpoint delete /savedsearches/{id}
158
163
  * @param requestParameters
159
164
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
160
165
  * @param reportProgress flag to report request and response progress.
166
+ * @param options additional options
161
167
  */
162
168
  public httpSavedSearchesDeleteById(
163
169
  requestParameters: HttpSavedSearchesDeleteByIdRequestParams,
@@ -221,16 +227,18 @@ export class SavedSearchManagementService extends BaseService {
221
227
  ...(withCredentials ? { withCredentials } : {}),
222
228
  headers: localVarHeaders,
223
229
  observe: observe,
224
- transferCache: localVarTransferCache,
230
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
225
231
  reportProgress: reportProgress
226
232
  });
227
233
  }
228
234
 
229
235
  /**
230
236
  * This endpoint lists all saved searches in database.
237
+ * @endpoint get /savedsearches
231
238
  * @param requestParameters
232
239
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
233
240
  * @param reportProgress flag to report request and response progress.
241
+ * @param options additional options
234
242
  */
235
243
  public httpSavedSearchesGetAll(
236
244
  requestParameters?: HttpSavedSearchesGetAllRequestParams,
@@ -260,9 +268,11 @@ export class SavedSearchManagementService extends BaseService {
260
268
  const translations = requestParameters?.translations;
261
269
  const acceptLanguage = requestParameters?.acceptLanguage;
262
270
 
263
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
264
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>external, 'external');
265
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
271
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
272
+
273
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'external', <any>external, QueryParamStyle.Form, true);
274
+
275
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
266
276
 
267
277
  let localVarHeaders = this.defaultHeaders;
268
278
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -296,12 +306,12 @@ export class SavedSearchManagementService extends BaseService {
296
306
  const { basePath, withCredentials } = this.configuration;
297
307
  return this.httpClient.request<Array<SavedSearch>>('get', `${basePath}${localVarPath}`, {
298
308
  context: localVarHttpContext,
299
- params: localVarQueryParameters,
309
+ params: localVarQueryParameters.toHttpParams(),
300
310
  responseType: <any>responseType_,
301
311
  ...(withCredentials ? { withCredentials } : {}),
302
312
  headers: localVarHeaders,
303
313
  observe: observe,
304
- transferCache: localVarTransferCache,
314
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
305
315
  reportProgress: reportProgress
306
316
  });
307
317
  }