@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.
Files changed (34) 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/publicAIOperations.pub.agravity.ts +5 -3
  5. package/api/publicAssetManagement.pub.agravity.ts +69 -35
  6. package/api/publicAssetOperations.pub.agravity.ts +114 -59
  7. package/api/publicAssetPublishing.pub.agravity.ts +11 -5
  8. package/api/publicAssetRelationManagement.pub.agravity.ts +37 -21
  9. package/api/publicAssetRelationTypeManagement.pub.agravity.ts +16 -10
  10. package/api/publicAssetVersioning.pub.agravity.ts +27 -12
  11. package/api/publicAuthenticationManagement.pub.agravity.ts +19 -11
  12. package/api/publicCollectionManagement.pub.agravity.ts +67 -36
  13. package/api/publicCollectionSecureUpload.pub.agravity.ts +16 -10
  14. package/api/publicCollectionTypeManagement.pub.agravity.ts +25 -15
  15. package/api/publicConfigurationManagement.pub.agravity.ts +9 -6
  16. package/api/publicDownloadFormatManagement.pub.agravity.ts +12 -7
  17. package/api/publicEndpoints.pub.agravity.ts +30 -17
  18. package/api/publicGeneralManagement.pub.agravity.ts +24 -12
  19. package/api/publicHelperTools.pub.agravity.ts +33 -19
  20. package/api/publicPortalManagement.pub.agravity.ts +27 -12
  21. package/api/publicPublishing.pub.agravity.ts +11 -7
  22. package/api/publicSavedSearch.pub.agravity.ts +11 -7
  23. package/api/publicSearchManagement.pub.agravity.ts +67 -36
  24. package/api/publicSharingManagement.pub.agravity.ts +30 -16
  25. package/api/publicSignalRConnectionManagement.pub.agravity.ts +5 -3
  26. package/api/publicStaticDefinedListManagement.pub.agravity.ts +25 -15
  27. package/api/publicTranslationManagement.pub.agravity.ts +19 -11
  28. package/api/publicWebAppData.pub.agravity.ts +8 -4
  29. package/api/publicWorkspaceManagement.pub.agravity.ts +16 -10
  30. package/api.base.service.ts +41 -27
  31. package/configuration.ts +3 -2
  32. package/encoder.ts +15 -0
  33. package/package.json +9 -9
  34. 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.pub.agravity';
@@ -60,9 +60,11 @@ export class PublicEndpointsService extends BaseService {
60
60
 
61
61
  /**
62
62
  * This endpoint returns the binary data of an asset to be downloaded.
63
+ * @endpoint get /public/download
63
64
  * @param requestParameters
64
65
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
65
66
  * @param reportProgress flag to report request and response progress.
67
+ * @param options additional options
66
68
  */
67
69
  public httpAssetGetBlobDownload(
68
70
  requestParameters: HttpAssetGetBlobDownloadRequestParams,
@@ -100,12 +102,17 @@ export class PublicEndpointsService extends BaseService {
100
102
  const locked = requestParameters?.locked;
101
103
  const uncompleted = requestParameters?.uncompleted;
102
104
 
103
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
104
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>assetId, 'asset_id');
105
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>format, 'format');
106
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
107
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>locked, 'locked');
108
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>uncompleted, 'uncompleted');
105
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
106
+
107
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'asset_id', <any>assetId, QueryParamStyle.Form, true);
108
+
109
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'format', <any>format, QueryParamStyle.Form, true);
110
+
111
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
112
+
113
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'locked', <any>locked, QueryParamStyle.Form, true);
114
+
115
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'uncompleted', <any>uncompleted, QueryParamStyle.Form, true);
109
116
 
110
117
  let localVarHeaders = this.defaultHeaders;
111
118
 
@@ -122,21 +129,23 @@ export class PublicEndpointsService extends BaseService {
122
129
  const { basePath, withCredentials } = this.configuration;
123
130
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
124
131
  context: localVarHttpContext,
125
- params: localVarQueryParameters,
132
+ params: localVarQueryParameters.toHttpParams(),
126
133
  responseType: 'blob',
127
134
  ...(withCredentials ? { withCredentials } : {}),
128
135
  headers: localVarHeaders,
129
136
  observe: observe,
130
- transferCache: localVarTransferCache,
137
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
131
138
  reportProgress: reportProgress
132
139
  });
133
140
  }
134
141
 
135
142
  /**
136
143
  * This endpoint returns the content of an asset which is available in a specific portal (portal_id is \&quot;key\&quot;) and returns the blob directly.
144
+ * @endpoint get /public/view
137
145
  * @param requestParameters
138
146
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
139
147
  * @param reportProgress flag to report request and response progress.
148
+ * @param options additional options
140
149
  */
141
150
  public httpAssetGetViewForPortal(
142
151
  requestParameters: HttpAssetGetViewForPortalRequestParams,
@@ -176,11 +185,15 @@ export class PublicEndpointsService extends BaseService {
176
185
  }
177
186
  const download = requestParameters?.download;
178
187
 
179
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
180
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>assetId, 'asset_id');
181
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
182
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>format, 'format');
183
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>download, 'download');
188
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
189
+
190
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'asset_id', <any>assetId, QueryParamStyle.Form, true);
191
+
192
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
193
+
194
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'format', <any>format, QueryParamStyle.Form, true);
195
+
196
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'download', <any>download, QueryParamStyle.Form, true);
184
197
 
185
198
  let localVarHeaders = this.defaultHeaders;
186
199
 
@@ -197,12 +210,12 @@ export class PublicEndpointsService extends BaseService {
197
210
  const { basePath, withCredentials } = this.configuration;
198
211
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
199
212
  context: localVarHttpContext,
200
- params: localVarQueryParameters,
213
+ params: localVarQueryParameters.toHttpParams(),
201
214
  responseType: 'blob',
202
215
  ...(withCredentials ? { withCredentials } : {}),
203
216
  headers: localVarHeaders,
204
217
  observe: observe,
205
- transferCache: localVarTransferCache,
218
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
206
219
  reportProgress: reportProgress
207
220
  });
208
221
  }
@@ -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.pub.agravity';
@@ -63,8 +63,10 @@ export class PublicGeneralManagementService extends BaseService {
63
63
 
64
64
  /**
65
65
  * Get the current version of the backend. To see if backend was updated or not.
66
+ * @endpoint get /version
66
67
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
67
68
  * @param reportProgress flag to report request and response progress.
69
+ * @param options additional options
68
70
  */
69
71
  public httpAgravityVersionInfo(
70
72
  observe?: 'body',
@@ -116,16 +118,18 @@ export class PublicGeneralManagementService 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 checks all deleted entities in the database until a specific date and returns the elements which are deleted.
128
+ * @endpoint get /deleted
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 httpGetDeletedEntities(
131
135
  requestParameters?: HttpGetDeletedEntitiesRequestParams,
@@ -156,11 +160,15 @@ export class PublicGeneralManagementService extends BaseService {
156
160
  const until = requestParameters?.until;
157
161
  const portalId = requestParameters?.portalId;
158
162
 
159
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
160
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>entityType, 'entity_type');
161
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>since, 'since');
162
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>until, 'until');
163
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
163
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
164
+
165
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'entity_type', <any>entityType, QueryParamStyle.Form, true);
166
+
167
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'since', <any>since, QueryParamStyle.Form, true);
168
+
169
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'until', <any>until, QueryParamStyle.Form, true);
170
+
171
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
164
172
 
165
173
  let localVarHeaders = this.defaultHeaders;
166
174
 
@@ -191,21 +199,23 @@ export class PublicGeneralManagementService extends BaseService {
191
199
  const { basePath, withCredentials } = this.configuration;
192
200
  return this.httpClient.request<Array<DeletedEntities>>('get', `${basePath}${localVarPath}`, {
193
201
  context: localVarHttpContext,
194
- params: localVarQueryParameters,
202
+ params: localVarQueryParameters.toHttpParams(),
195
203
  responseType: <any>responseType_,
196
204
  ...(withCredentials ? { withCredentials } : {}),
197
205
  headers: localVarHeaders,
198
206
  observe: observe,
199
- transferCache: localVarTransferCache,
207
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
200
208
  reportProgress: reportProgress
201
209
  });
202
210
  }
203
211
 
204
212
  /**
205
213
  * Trigger the durable execution to continue
214
+ * @endpoint get /durable/{instanceId}
206
215
  * @param requestParameters
207
216
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
208
217
  * @param reportProgress flag to report request and response progress.
218
+ * @param options additional options
209
219
  */
210
220
  public httpTriggerDurableContinue(
211
221
  requestParameters: HttpTriggerDurableContinueRequestParams,
@@ -266,16 +276,18 @@ export class PublicGeneralManagementService extends BaseService {
266
276
  ...(withCredentials ? { withCredentials } : {}),
267
277
  headers: localVarHeaders,
268
278
  observe: observe,
269
- transferCache: localVarTransferCache,
279
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
270
280
  reportProgress: reportProgress
271
281
  });
272
282
  }
273
283
 
274
284
  /**
275
285
  * Trigger the durable execution to continue
286
+ * @endpoint get /durable/scch/{instanceId}
276
287
  * @param requestParameters
277
288
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
278
289
  * @param reportProgress flag to report request and response progress.
290
+ * @param options additional options
279
291
  */
280
292
  public httpTriggerDurableScchTrainingDone(
281
293
  requestParameters: HttpTriggerDurableScchTrainingDoneRequestParams,
@@ -336,7 +348,7 @@ export class PublicGeneralManagementService extends BaseService {
336
348
  ...(withCredentials ? { withCredentials } : {}),
337
349
  headers: localVarHeaders,
338
350
  observe: observe,
339
- transferCache: localVarTransferCache,
351
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
340
352
  reportProgress: reportProgress
341
353
  });
342
354
  }
@@ -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.pub.agravity';
@@ -64,9 +64,11 @@ export class PublicHelperToolsService extends BaseService {
64
64
 
65
65
  /**
66
66
  * Returns all user defined lists of all collection types
67
+ * @endpoint get /helper/userdefinedlists
67
68
  * @param requestParameters
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 httpGetAllUserDefinedLists(
72
74
  requestParameters?: HttpGetAllUserDefinedListsRequestParams,
@@ -95,8 +97,9 @@ export class PublicHelperToolsService extends BaseService {
95
97
  const translations = requestParameters?.translations;
96
98
  const acceptLanguage = requestParameters?.acceptLanguage;
97
99
 
98
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
99
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
100
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
101
+
102
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
100
103
 
101
104
  let localVarHeaders = this.defaultHeaders;
102
105
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -130,21 +133,23 @@ export class PublicHelperToolsService extends BaseService {
130
133
  const { basePath, withCredentials } = this.configuration;
131
134
  return this.httpClient.request<Array<CollectionUDL>>('get', `${basePath}${localVarPath}`, {
132
135
  context: localVarHttpContext,
133
- params: localVarQueryParameters,
136
+ params: localVarQueryParameters.toHttpParams(),
134
137
  responseType: <any>responseType_,
135
138
  ...(withCredentials ? { withCredentials } : {}),
136
139
  headers: localVarHeaders,
137
140
  observe: observe,
138
- transferCache: localVarTransferCache,
141
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
139
142
  reportProgress: reportProgress
140
143
  });
141
144
  }
142
145
 
143
146
  /**
144
147
  * Returns all filterable items directly from the search index
148
+ * @endpoint get /helper/filterableitems
145
149
  * @param requestParameters
146
150
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
147
151
  * @param reportProgress flag to report request and response progress.
152
+ * @param options additional options
148
153
  */
149
154
  public httpGetAllowedFilterableItems(
150
155
  requestParameters?: HttpGetAllowedFilterableItemsRequestParams,
@@ -172,8 +177,9 @@ export class PublicHelperToolsService extends BaseService {
172
177
  ): Observable<any> {
173
178
  const portalId = requestParameters?.portalId;
174
179
 
175
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
176
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
180
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
181
+
182
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
177
183
 
178
184
  let localVarHeaders = this.defaultHeaders;
179
185
 
@@ -204,21 +210,23 @@ export class PublicHelperToolsService extends BaseService {
204
210
  const { basePath, withCredentials } = this.configuration;
205
211
  return this.httpClient.request<Array<string>>('get', `${basePath}${localVarPath}`, {
206
212
  context: localVarHttpContext,
207
- params: localVarQueryParameters,
213
+ params: localVarQueryParameters.toHttpParams(),
208
214
  responseType: <any>responseType_,
209
215
  ...(withCredentials ? { withCredentials } : {}),
210
216
  headers: localVarHeaders,
211
217
  observe: observe,
212
- transferCache: localVarTransferCache,
218
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
213
219
  reportProgress: reportProgress
214
220
  });
215
221
  }
216
222
 
217
223
  /**
218
224
  * Returns all searchable items directly from the search index
225
+ * @endpoint get /helper/searchableitemnames
219
226
  * @param requestParameters
220
227
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
221
228
  * @param reportProgress flag to report request and response progress.
229
+ * @param options additional options
222
230
  */
223
231
  public httpGetAllowedSearchableItemNames(
224
232
  requestParameters?: HttpGetAllowedSearchableItemNamesRequestParams,
@@ -246,8 +254,9 @@ export class PublicHelperToolsService extends BaseService {
246
254
  ): Observable<any> {
247
255
  const portalId = requestParameters?.portalId;
248
256
 
249
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
250
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
257
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
258
+
259
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
251
260
 
252
261
  let localVarHeaders = this.defaultHeaders;
253
262
 
@@ -278,21 +287,23 @@ export class PublicHelperToolsService extends BaseService {
278
287
  const { basePath, withCredentials } = this.configuration;
279
288
  return this.httpClient.request<Array<string>>('get', `${basePath}${localVarPath}`, {
280
289
  context: localVarHttpContext,
281
- params: localVarQueryParameters,
290
+ params: localVarQueryParameters.toHttpParams(),
282
291
  responseType: <any>responseType_,
283
292
  ...(withCredentials ? { withCredentials } : {}),
284
293
  headers: localVarHeaders,
285
294
  observe: observe,
286
- transferCache: localVarTransferCache,
295
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
287
296
  reportProgress: reportProgress
288
297
  });
289
298
  }
290
299
 
291
300
  /**
292
301
  * Returns all searchable items directly from the search index
302
+ * @endpoint get /helper/searchableitems
293
303
  * @param requestParameters
294
304
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
295
305
  * @param reportProgress flag to report request and response progress.
306
+ * @param options additional options
296
307
  */
297
308
  public httpGetAllowedSearchableItems(
298
309
  requestParameters?: HttpGetAllowedSearchableItemsRequestParams,
@@ -320,8 +331,9 @@ export class PublicHelperToolsService extends BaseService {
320
331
  ): Observable<any> {
321
332
  const portalId = requestParameters?.portalId;
322
333
 
323
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
324
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
334
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
335
+
336
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
325
337
 
326
338
  let localVarHeaders = this.defaultHeaders;
327
339
 
@@ -352,20 +364,22 @@ export class PublicHelperToolsService extends BaseService {
352
364
  const { basePath, withCredentials } = this.configuration;
353
365
  return this.httpClient.request<Array<SearchableItem>>('get', `${basePath}${localVarPath}`, {
354
366
  context: localVarHttpContext,
355
- params: localVarQueryParameters,
367
+ params: localVarQueryParameters.toHttpParams(),
356
368
  responseType: <any>responseType_,
357
369
  ...(withCredentials ? { withCredentials } : {}),
358
370
  headers: localVarHeaders,
359
371
  observe: observe,
360
- transferCache: localVarTransferCache,
372
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
361
373
  reportProgress: reportProgress
362
374
  });
363
375
  }
364
376
 
365
377
  /**
366
378
  * This updates the cached user defined lists and store it in the system.
379
+ * @endpoint patch /helper/userdefinedlists
367
380
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
368
381
  * @param reportProgress flag to report request and response progress.
382
+ * @param options additional options
369
383
  */
370
384
  public httpPatchUpdateCachedUserDefinedLists(
371
385
  observe?: 'body',
@@ -420,7 +434,7 @@ export class PublicHelperToolsService extends BaseService {
420
434
  ...(withCredentials ? { withCredentials } : {}),
421
435
  headers: localVarHeaders,
422
436
  observe: observe,
423
- transferCache: localVarTransferCache,
437
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
424
438
  reportProgress: reportProgress
425
439
  });
426
440
  }
@@ -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.pub.agravity';
@@ -81,9 +81,11 @@ export class PublicPortalManagementService extends BaseService {
81
81
 
82
82
  /**
83
83
  * This endpoint gets all Asset IDs in portal scope.
84
+ * @endpoint get /portals/{id}/assetids
84
85
  * @param requestParameters
85
86
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
86
87
  * @param reportProgress flag to report request and response progress.
88
+ * @param options additional options
87
89
  */
88
90
  public httpPortalGetAllAssetIdsById(
89
91
  requestParameters: HttpPortalGetAllAssetIdsByIdRequestParams,
@@ -147,16 +149,18 @@ export class PublicPortalManagementService extends BaseService {
147
149
  ...(withCredentials ? { withCredentials } : {}),
148
150
  headers: localVarHeaders,
149
151
  observe: observe,
150
- transferCache: localVarTransferCache,
152
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
151
153
  reportProgress: reportProgress
152
154
  });
153
155
  }
154
156
 
155
157
  /**
156
158
  * This endpoint gets the progress/status of the ZIP creation of a portal.
159
+ * @endpoint get /portals/{id}/zip/{zipId}
157
160
  * @param requestParameters
158
161
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
159
162
  * @param reportProgress flag to report request and response progress.
163
+ * @param options additional options
160
164
  */
161
165
  public httpPortalGetStatusZipById(
162
166
  requestParameters: HttpPortalGetStatusZipByIdRequestParams,
@@ -224,16 +228,18 @@ export class PublicPortalManagementService extends BaseService {
224
228
  ...(withCredentials ? { withCredentials } : {}),
225
229
  headers: localVarHeaders,
226
230
  observe: observe,
227
- transferCache: localVarTransferCache,
231
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
228
232
  reportProgress: reportProgress
229
233
  });
230
234
  }
231
235
 
232
236
  /**
233
237
  * Initiates the ZIP creation of an asset basket from an portal.
238
+ * @endpoint post /portals/{id}/zip
234
239
  * @param requestParameters
235
240
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
236
241
  * @param reportProgress flag to report request and response progress.
242
+ * @param options additional options
237
243
  */
238
244
  public httpPortalRequestZipById(
239
245
  requestParameters: HttpPortalRequestZipByIdRequestParams,
@@ -309,16 +315,18 @@ export class PublicPortalManagementService extends BaseService {
309
315
  ...(withCredentials ? { withCredentials } : {}),
310
316
  headers: localVarHeaders,
311
317
  observe: observe,
312
- transferCache: localVarTransferCache,
318
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
313
319
  reportProgress: reportProgress
314
320
  });
315
321
  }
316
322
 
317
323
  /**
318
324
  * This endpoint returns a full configuration of the portal. Incl. download formats, SDLs, UDLs, etc.
325
+ * @endpoint get /portals/{id}/config
319
326
  * @param requestParameters
320
327
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
321
328
  * @param reportProgress flag to report request and response progress.
329
+ * @param options additional options
322
330
  */
323
331
  public httpPortalsConfigurationGetById(
324
332
  requestParameters: HttpPortalsConfigurationGetByIdRequestParams,
@@ -351,8 +359,9 @@ export class PublicPortalManagementService extends BaseService {
351
359
  const translations = requestParameters?.translations;
352
360
  const acceptLanguage = requestParameters?.acceptLanguage;
353
361
 
354
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
355
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
362
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
363
+
364
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
356
365
 
357
366
  let localVarHeaders = this.defaultHeaders;
358
367
  if (acceptLanguage !== undefined && acceptLanguage !== null) {
@@ -386,20 +395,22 @@ export class PublicPortalManagementService extends BaseService {
386
395
  const { basePath, withCredentials } = this.configuration;
387
396
  return this.httpClient.request<PortalConfiguration>('get', `${basePath}${localVarPath}`, {
388
397
  context: localVarHttpContext,
389
- params: localVarQueryParameters,
398
+ params: localVarQueryParameters.toHttpParams(),
390
399
  responseType: <any>responseType_,
391
400
  ...(withCredentials ? { withCredentials } : {}),
392
401
  headers: localVarHeaders,
393
402
  observe: observe,
394
- transferCache: localVarTransferCache,
403
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
395
404
  reportProgress: reportProgress
396
405
  });
397
406
  }
398
407
 
399
408
  /**
400
409
  * This endpoint saves the portal user and returns CustomClaimsProviderResponseContentTokenIssuanceStart which is used to enhance the token with user context,...
410
+ * @endpoint post /portalsenhancetoken
401
411
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
402
412
  * @param reportProgress flag to report request and response progress.
413
+ * @param options additional options
403
414
  */
404
415
  public httpPortalsEnhanceToken(
405
416
  observe?: 'body',
@@ -454,16 +465,18 @@ export class PublicPortalManagementService extends BaseService {
454
465
  ...(withCredentials ? { withCredentials } : {}),
455
466
  headers: localVarHeaders,
456
467
  observe: observe,
457
- transferCache: localVarTransferCache,
468
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
458
469
  reportProgress: reportProgress
459
470
  });
460
471
  }
461
472
 
462
473
  /**
463
474
  * This endpoint return the created portal by ID.
475
+ * @endpoint get /portals/{id}
464
476
  * @param requestParameters
465
477
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
466
478
  * @param reportProgress flag to report request and response progress.
479
+ * @param options additional options
467
480
  */
468
481
  public httpPortalsGetById(
469
482
  requestParameters: HttpPortalsGetByIdRequestParams,
@@ -527,15 +540,17 @@ export class PublicPortalManagementService extends BaseService {
527
540
  ...(withCredentials ? { withCredentials } : {}),
528
541
  headers: localVarHeaders,
529
542
  observe: observe,
530
- transferCache: localVarTransferCache,
543
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
531
544
  reportProgress: reportProgress
532
545
  });
533
546
  }
534
547
 
535
548
  /**
536
549
  * This endpoint saves the portal user attributes
550
+ * @endpoint post /portalssaveuserattributes
537
551
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
538
552
  * @param reportProgress flag to report request and response progress.
553
+ * @param options additional options
539
554
  */
540
555
  public httpPortalsSavePortalUserAttributes(
541
556
  observe?: 'body',
@@ -590,7 +605,7 @@ export class PublicPortalManagementService extends BaseService {
590
605
  ...(withCredentials ? { withCredentials } : {}),
591
606
  headers: localVarHeaders,
592
607
  observe: observe,
593
- transferCache: localVarTransferCache,
608
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
594
609
  reportProgress: reportProgress
595
610
  });
596
611
  }
@@ -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 { PublishEntity } from '../model/publishEntity.pub.agravity';
@@ -43,9 +43,11 @@ export class PublicPublishingService extends BaseService {
43
43
 
44
44
  /**
45
45
  * This endpoint lists all the published assets which are stored in the database
46
+ * @endpoint get /publish
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 httpPublishedAssetsGetAll(
51
53
  requestParameters?: HttpPublishedAssetsGetAllRequestParams,
@@ -74,9 +76,11 @@ export class PublicPublishingService extends BaseService {
74
76
  const cid = requestParameters?.cid;
75
77
  const incldescendants = requestParameters?.incldescendants;
76
78
 
77
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
78
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>cid, 'cid');
79
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>incldescendants, 'incldescendants');
79
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
80
+
81
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'cid', <any>cid, QueryParamStyle.Form, true);
82
+
83
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'incldescendants', <any>incldescendants, QueryParamStyle.Form, true);
80
84
 
81
85
  let localVarHeaders = this.defaultHeaders;
82
86
 
@@ -107,12 +111,12 @@ export class PublicPublishingService extends BaseService {
107
111
  const { basePath, withCredentials } = this.configuration;
108
112
  return this.httpClient.request<PublishEntity>('get', `${basePath}${localVarPath}`, {
109
113
  context: localVarHttpContext,
110
- params: localVarQueryParameters,
114
+ params: localVarQueryParameters.toHttpParams(),
111
115
  responseType: <any>responseType_,
112
116
  ...(withCredentials ? { withCredentials } : {}),
113
117
  headers: localVarHeaders,
114
118
  observe: observe,
115
- transferCache: localVarTransferCache,
119
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
116
120
  reportProgress: reportProgress
117
121
  });
118
122
  }