@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';
|
|
@@ -70,9 +70,11 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* This endpoint creates one collection type item blueprint entry in the database.
|
|
73
|
+
* @endpoint post /colltypeitemblueprints
|
|
73
74
|
* @param requestParameters
|
|
74
75
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
75
76
|
* @param reportProgress flag to report request and response progress.
|
|
77
|
+
* @param options additional options
|
|
76
78
|
*/
|
|
77
79
|
public httpCollTypeItemBlueprintsCreate(
|
|
78
80
|
requestParameters: HttpCollTypeItemBlueprintsCreateRequestParams,
|
|
@@ -105,8 +107,9 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
105
107
|
const translations = requestParameters?.translations;
|
|
106
108
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
107
109
|
|
|
108
|
-
let localVarQueryParameters = new
|
|
109
|
-
|
|
110
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
111
|
+
|
|
112
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
110
113
|
|
|
111
114
|
let localVarHeaders = this.defaultHeaders;
|
|
112
115
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -148,21 +151,23 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
148
151
|
return this.httpClient.request<CollTypeItemBlueprint>('post', `${basePath}${localVarPath}`, {
|
|
149
152
|
context: localVarHttpContext,
|
|
150
153
|
body: collTypeItemBlueprint,
|
|
151
|
-
params: localVarQueryParameters,
|
|
154
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
152
155
|
responseType: <any>responseType_,
|
|
153
156
|
...(withCredentials ? { withCredentials } : {}),
|
|
154
157
|
headers: localVarHeaders,
|
|
155
158
|
observe: observe,
|
|
156
|
-
transferCache: localVarTransferCache,
|
|
159
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
157
160
|
reportProgress: reportProgress
|
|
158
161
|
});
|
|
159
162
|
}
|
|
160
163
|
|
|
161
164
|
/**
|
|
162
165
|
* This endpoint deletes a single collection type item blueprint.
|
|
166
|
+
* @endpoint delete /colltypeitemblueprints/{id}
|
|
163
167
|
* @param requestParameters
|
|
164
168
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
165
169
|
* @param reportProgress flag to report request and response progress.
|
|
170
|
+
* @param options additional options
|
|
166
171
|
*/
|
|
167
172
|
public httpCollTypeItemBlueprintsDeleteById(
|
|
168
173
|
requestParameters: HttpCollTypeItemBlueprintsDeleteByIdRequestParams,
|
|
@@ -226,16 +231,18 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
226
231
|
...(withCredentials ? { withCredentials } : {}),
|
|
227
232
|
headers: localVarHeaders,
|
|
228
233
|
observe: observe,
|
|
229
|
-
transferCache: localVarTransferCache,
|
|
234
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
230
235
|
reportProgress: reportProgress
|
|
231
236
|
});
|
|
232
237
|
}
|
|
233
238
|
|
|
234
239
|
/**
|
|
235
240
|
* This endpoint lists all collection type item blueprint in database.
|
|
241
|
+
* @endpoint get /colltypeitemblueprints
|
|
236
242
|
* @param requestParameters
|
|
237
243
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
238
244
|
* @param reportProgress flag to report request and response progress.
|
|
245
|
+
* @param options additional options
|
|
239
246
|
*/
|
|
240
247
|
public httpCollTypeItemBlueprintsGetAll(
|
|
241
248
|
requestParameters?: HttpCollTypeItemBlueprintsGetAllRequestParams,
|
|
@@ -264,8 +271,9 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
264
271
|
const translations = requestParameters?.translations;
|
|
265
272
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
266
273
|
|
|
267
|
-
let localVarQueryParameters = new
|
|
268
|
-
|
|
274
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
275
|
+
|
|
276
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
269
277
|
|
|
270
278
|
let localVarHeaders = this.defaultHeaders;
|
|
271
279
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -299,21 +307,23 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
299
307
|
const { basePath, withCredentials } = this.configuration;
|
|
300
308
|
return this.httpClient.request<Array<CollTypeItemBlueprint>>('get', `${basePath}${localVarPath}`, {
|
|
301
309
|
context: localVarHttpContext,
|
|
302
|
-
params: localVarQueryParameters,
|
|
310
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
303
311
|
responseType: <any>responseType_,
|
|
304
312
|
...(withCredentials ? { withCredentials } : {}),
|
|
305
313
|
headers: localVarHeaders,
|
|
306
314
|
observe: observe,
|
|
307
|
-
transferCache: localVarTransferCache,
|
|
315
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
308
316
|
reportProgress: reportProgress
|
|
309
317
|
});
|
|
310
318
|
}
|
|
311
319
|
|
|
312
320
|
/**
|
|
313
321
|
* This endpoint updates a single collection type item blueprint.
|
|
322
|
+
* @endpoint post /colltypeitemblueprints/{id}
|
|
314
323
|
* @param requestParameters
|
|
315
324
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
316
325
|
* @param reportProgress flag to report request and response progress.
|
|
326
|
+
* @param options additional options
|
|
317
327
|
*/
|
|
318
328
|
public httpCollTypeItemBlueprintsUpdateById(
|
|
319
329
|
requestParameters: HttpCollTypeItemBlueprintsUpdateByIdRequestParams,
|
|
@@ -350,8 +360,9 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
350
360
|
const translations = requestParameters?.translations;
|
|
351
361
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
352
362
|
|
|
353
|
-
let localVarQueryParameters = new
|
|
354
|
-
|
|
363
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
364
|
+
|
|
365
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
355
366
|
|
|
356
367
|
let localVarHeaders = this.defaultHeaders;
|
|
357
368
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -393,12 +404,12 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
|
|
|
393
404
|
return this.httpClient.request<CollTypeItemBlueprint>('post', `${basePath}${localVarPath}`, {
|
|
394
405
|
context: localVarHttpContext,
|
|
395
406
|
body: collTypeItemBlueprint,
|
|
396
|
-
params: localVarQueryParameters,
|
|
407
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
397
408
|
responseType: <any>responseType_,
|
|
398
409
|
...(withCredentials ? { withCredentials } : {}),
|
|
399
410
|
headers: localVarHeaders,
|
|
400
411
|
observe: observe,
|
|
401
|
-
transferCache: localVarTransferCache,
|
|
412
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
402
413
|
reportProgress: reportProgress
|
|
403
414
|
});
|
|
404
415
|
}
|
|
@@ -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';
|
|
@@ -108,9 +108,11 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* This endpoint creates a unique collection type ID and adds the information to the database.
|
|
111
|
+
* @endpoint post /collectiontypes
|
|
111
112
|
* @param requestParameters
|
|
112
113
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
113
114
|
* @param reportProgress flag to report request and response progress.
|
|
115
|
+
* @param options additional options
|
|
114
116
|
*/
|
|
115
117
|
public httpCollectionTypesCreate(
|
|
116
118
|
requestParameters: HttpCollectionTypesCreateRequestParams,
|
|
@@ -144,9 +146,11 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
144
146
|
const translations = requestParameters?.translations;
|
|
145
147
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
146
148
|
|
|
147
|
-
let localVarQueryParameters = new
|
|
148
|
-
|
|
149
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
149
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
150
|
+
|
|
151
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'workspaceid', <any>workspaceid, QueryParamStyle.Form, true);
|
|
152
|
+
|
|
153
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
150
154
|
|
|
151
155
|
let localVarHeaders = this.defaultHeaders;
|
|
152
156
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -188,21 +192,23 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
188
192
|
return this.httpClient.request<CollectionType>('post', `${basePath}${localVarPath}`, {
|
|
189
193
|
context: localVarHttpContext,
|
|
190
194
|
body: collectionType,
|
|
191
|
-
params: localVarQueryParameters,
|
|
195
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
192
196
|
responseType: <any>responseType_,
|
|
193
197
|
...(withCredentials ? { withCredentials } : {}),
|
|
194
198
|
headers: localVarHeaders,
|
|
195
199
|
observe: observe,
|
|
196
|
-
transferCache: localVarTransferCache,
|
|
200
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
197
201
|
reportProgress: reportProgress
|
|
198
202
|
});
|
|
199
203
|
}
|
|
200
204
|
|
|
201
205
|
/**
|
|
202
206
|
* This endpoint deletes the collection type with the given ID.
|
|
207
|
+
* @endpoint delete /collectiontypes/{id}
|
|
203
208
|
* @param requestParameters
|
|
204
209
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
205
210
|
* @param reportProgress flag to report request and response progress.
|
|
211
|
+
* @param options additional options
|
|
206
212
|
*/
|
|
207
213
|
public httpCollectionTypesDelete(
|
|
208
214
|
requestParameters: HttpCollectionTypesDeleteRequestParams,
|
|
@@ -266,16 +272,18 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
266
272
|
...(withCredentials ? { withCredentials } : {}),
|
|
267
273
|
headers: localVarHeaders,
|
|
268
274
|
observe: observe,
|
|
269
|
-
transferCache: localVarTransferCache,
|
|
275
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
270
276
|
reportProgress: reportProgress
|
|
271
277
|
});
|
|
272
278
|
}
|
|
273
279
|
|
|
274
280
|
/**
|
|
275
281
|
* This endpoint lists all available collection types, which are stored in the database and not deleted (status \"A\").
|
|
282
|
+
* @endpoint get /collectiontypes
|
|
276
283
|
* @param requestParameters
|
|
277
284
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
278
285
|
* @param reportProgress flag to report request and response progress.
|
|
286
|
+
* @param options additional options
|
|
279
287
|
*/
|
|
280
288
|
public httpCollectionTypesGet(
|
|
281
289
|
requestParameters?: HttpCollectionTypesGetRequestParams,
|
|
@@ -304,8 +312,9 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
304
312
|
const translations = requestParameters?.translations;
|
|
305
313
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
306
314
|
|
|
307
|
-
let localVarQueryParameters = new
|
|
308
|
-
|
|
315
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
316
|
+
|
|
317
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
309
318
|
|
|
310
319
|
let localVarHeaders = this.defaultHeaders;
|
|
311
320
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -339,21 +348,23 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
339
348
|
const { basePath, withCredentials } = this.configuration;
|
|
340
349
|
return this.httpClient.request<Array<CollectionType>>('get', `${basePath}${localVarPath}`, {
|
|
341
350
|
context: localVarHttpContext,
|
|
342
|
-
params: localVarQueryParameters,
|
|
351
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
343
352
|
responseType: <any>responseType_,
|
|
344
353
|
...(withCredentials ? { withCredentials } : {}),
|
|
345
354
|
headers: localVarHeaders,
|
|
346
355
|
observe: observe,
|
|
347
|
-
transferCache: localVarTransferCache,
|
|
356
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
348
357
|
reportProgress: reportProgress
|
|
349
358
|
});
|
|
350
359
|
}
|
|
351
360
|
|
|
352
361
|
/**
|
|
353
362
|
* This endpoint returns one single collection type (from ID).
|
|
363
|
+
* @endpoint get /collectiontypes/{id}
|
|
354
364
|
* @param requestParameters
|
|
355
365
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
356
366
|
* @param reportProgress flag to report request and response progress.
|
|
367
|
+
* @param options additional options
|
|
357
368
|
*/
|
|
358
369
|
public httpCollectionTypesGetById(
|
|
359
370
|
requestParameters: HttpCollectionTypesGetByIdRequestParams,
|
|
@@ -386,8 +397,9 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
386
397
|
const translations = requestParameters?.translations;
|
|
387
398
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
388
399
|
|
|
389
|
-
let localVarQueryParameters = new
|
|
390
|
-
|
|
400
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
401
|
+
|
|
402
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
391
403
|
|
|
392
404
|
let localVarHeaders = this.defaultHeaders;
|
|
393
405
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -421,21 +433,23 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
421
433
|
const { basePath, withCredentials } = this.configuration;
|
|
422
434
|
return this.httpClient.request<CollectionType>('get', `${basePath}${localVarPath}`, {
|
|
423
435
|
context: localVarHttpContext,
|
|
424
|
-
params: localVarQueryParameters,
|
|
436
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
425
437
|
responseType: <any>responseType_,
|
|
426
438
|
...(withCredentials ? { withCredentials } : {}),
|
|
427
439
|
headers: localVarHeaders,
|
|
428
440
|
observe: observe,
|
|
429
|
-
transferCache: localVarTransferCache,
|
|
441
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
430
442
|
reportProgress: reportProgress
|
|
431
443
|
});
|
|
432
444
|
}
|
|
433
445
|
|
|
434
446
|
/**
|
|
435
447
|
* This endpoint updates the collection type. Null fields will be ignored. If \'items\' are set they are fully reset (like PUT).
|
|
448
|
+
* @endpoint post /collectiontypes/{id}
|
|
436
449
|
* @param requestParameters
|
|
437
450
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
438
451
|
* @param reportProgress flag to report request and response progress.
|
|
452
|
+
* @param options additional options
|
|
439
453
|
*/
|
|
440
454
|
public httpCollectionTypesUpdate(
|
|
441
455
|
requestParameters: HttpCollectionTypesUpdateRequestParams,
|
|
@@ -472,8 +486,9 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
472
486
|
const translations = requestParameters?.translations;
|
|
473
487
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
474
488
|
|
|
475
|
-
let localVarQueryParameters = new
|
|
476
|
-
|
|
489
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
490
|
+
|
|
491
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
477
492
|
|
|
478
493
|
let localVarHeaders = this.defaultHeaders;
|
|
479
494
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -515,21 +530,23 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
515
530
|
return this.httpClient.request<CollectionType>('post', `${basePath}${localVarPath}`, {
|
|
516
531
|
context: localVarHttpContext,
|
|
517
532
|
body: collectionType,
|
|
518
|
-
params: localVarQueryParameters,
|
|
533
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
519
534
|
responseType: <any>responseType_,
|
|
520
535
|
...(withCredentials ? { withCredentials } : {}),
|
|
521
536
|
headers: localVarHeaders,
|
|
522
537
|
observe: observe,
|
|
523
|
-
transferCache: localVarTransferCache,
|
|
538
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
524
539
|
reportProgress: reportProgress
|
|
525
540
|
});
|
|
526
541
|
}
|
|
527
542
|
|
|
528
543
|
/**
|
|
529
544
|
* This endpoint updates the permissions of the collection type. The modifier tells the system what to do with the list of ids.
|
|
545
|
+
* @endpoint post /collectiontypes/{id}/permissions
|
|
530
546
|
* @param requestParameters
|
|
531
547
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
532
548
|
* @param reportProgress flag to report request and response progress.
|
|
549
|
+
* @param options additional options
|
|
533
550
|
*/
|
|
534
551
|
public httpCollectionTypesUpdatePermissionsById(
|
|
535
552
|
requestParameters: HttpCollectionTypesUpdatePermissionsByIdRequestParams,
|
|
@@ -605,16 +622,18 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
605
622
|
...(withCredentials ? { withCredentials } : {}),
|
|
606
623
|
headers: localVarHeaders,
|
|
607
624
|
observe: observe,
|
|
608
|
-
transferCache: localVarTransferCache,
|
|
625
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
609
626
|
reportProgress: reportProgress
|
|
610
627
|
});
|
|
611
628
|
}
|
|
612
629
|
|
|
613
630
|
/**
|
|
614
631
|
* This method returns a list of all collection types items. (Regardless of the permissions)
|
|
632
|
+
* @endpoint get /collectiontypesitems
|
|
615
633
|
* @param requestParameters
|
|
616
634
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
617
635
|
* @param reportProgress flag to report request and response progress.
|
|
636
|
+
* @param options additional options
|
|
618
637
|
*/
|
|
619
638
|
public httpGetCollectionTypeItems(
|
|
620
639
|
requestParameters?: HttpGetCollectionTypeItemsRequestParams,
|
|
@@ -644,9 +663,11 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
644
663
|
const translations = requestParameters?.translations;
|
|
645
664
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
646
665
|
|
|
647
|
-
let localVarQueryParameters = new
|
|
648
|
-
|
|
649
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
666
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
667
|
+
|
|
668
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'includeblueprint', <any>includeblueprint, QueryParamStyle.Form, true);
|
|
669
|
+
|
|
670
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
650
671
|
|
|
651
672
|
let localVarHeaders = this.defaultHeaders;
|
|
652
673
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -680,21 +701,23 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
680
701
|
const { basePath, withCredentials } = this.configuration;
|
|
681
702
|
return this.httpClient.request<Array<CollTypeItem>>('get', `${basePath}${localVarPath}`, {
|
|
682
703
|
context: localVarHttpContext,
|
|
683
|
-
params: localVarQueryParameters,
|
|
704
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
684
705
|
responseType: <any>responseType_,
|
|
685
706
|
...(withCredentials ? { withCredentials } : {}),
|
|
686
707
|
headers: localVarHeaders,
|
|
687
708
|
observe: observe,
|
|
688
|
-
transferCache: localVarTransferCache,
|
|
709
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
689
710
|
reportProgress: reportProgress
|
|
690
711
|
});
|
|
691
712
|
}
|
|
692
713
|
|
|
693
714
|
/**
|
|
694
715
|
* This endpoint updates all collection type items in all collection types regarding: Label, Order, Translations and Group
|
|
716
|
+
* @endpoint post /collectiontypesitems
|
|
695
717
|
* @param requestParameters
|
|
696
718
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
697
719
|
* @param reportProgress flag to report request and response progress.
|
|
720
|
+
* @param options additional options
|
|
698
721
|
*/
|
|
699
722
|
public httpUpdateCollectionTypeItems(
|
|
700
723
|
requestParameters: HttpUpdateCollectionTypeItemsRequestParams,
|
|
@@ -766,7 +789,7 @@ export class CollectionTypeManagementService extends BaseService {
|
|
|
766
789
|
...(withCredentials ? { withCredentials } : {}),
|
|
767
790
|
headers: localVarHeaders,
|
|
768
791
|
observe: observe,
|
|
769
|
-
transferCache: localVarTransferCache,
|
|
792
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
770
793
|
reportProgress: reportProgress
|
|
771
794
|
});
|
|
772
795
|
}
|
|
@@ -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';
|
|
@@ -62,9 +62,11 @@ export class CommentsManagementService extends BaseService {
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* This endpoint creates a comment for an asset and adds the information to the database.
|
|
65
|
+
* @endpoint post /assets/{id}/comments
|
|
65
66
|
* @param requestParameters
|
|
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 httpCommentsCreate(
|
|
70
72
|
requestParameters: HttpCommentsCreateRequestParams,
|
|
@@ -140,16 +142,18 @@ export class CommentsManagementService 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 endpoint deletes a single comment.
|
|
152
|
+
* @endpoint delete /comments/{id}
|
|
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 httpCommentsDeleteById(
|
|
155
159
|
requestParameters: HttpCommentsDeleteByIdRequestParams,
|
|
@@ -213,16 +217,18 @@ export class CommentsManagementService extends BaseService {
|
|
|
213
217
|
...(withCredentials ? { withCredentials } : {}),
|
|
214
218
|
headers: localVarHeaders,
|
|
215
219
|
observe: observe,
|
|
216
|
-
transferCache: localVarTransferCache,
|
|
220
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
217
221
|
reportProgress: reportProgress
|
|
218
222
|
});
|
|
219
223
|
}
|
|
220
224
|
|
|
221
225
|
/**
|
|
222
226
|
* This endpoint lists all comments for an asset in database.
|
|
227
|
+
* @endpoint get /assets/{id}/comments
|
|
223
228
|
* @param requestParameters
|
|
224
229
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
225
230
|
* @param reportProgress flag to report request and response progress.
|
|
231
|
+
* @param options additional options
|
|
226
232
|
*/
|
|
227
233
|
public httpCommentsGetAllForAsset(
|
|
228
234
|
requestParameters: HttpCommentsGetAllForAssetRequestParams,
|
|
@@ -286,16 +292,18 @@ export class CommentsManagementService extends BaseService {
|
|
|
286
292
|
...(withCredentials ? { withCredentials } : {}),
|
|
287
293
|
headers: localVarHeaders,
|
|
288
294
|
observe: observe,
|
|
289
|
-
transferCache: localVarTransferCache,
|
|
295
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
290
296
|
reportProgress: reportProgress
|
|
291
297
|
});
|
|
292
298
|
}
|
|
293
299
|
|
|
294
300
|
/**
|
|
295
301
|
* Updates a comment in database.
|
|
302
|
+
* @endpoint post /comments/{id}
|
|
296
303
|
* @param requestParameters
|
|
297
304
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
298
305
|
* @param reportProgress flag to report request and response progress.
|
|
306
|
+
* @param options additional options
|
|
299
307
|
*/
|
|
300
308
|
public httpCommentsUpdateById(
|
|
301
309
|
requestParameters: HttpCommentsUpdateByIdRequestParams,
|
|
@@ -371,7 +379,7 @@ export class CommentsManagementService extends BaseService {
|
|
|
371
379
|
...(withCredentials ? { withCredentials } : {}),
|
|
372
380
|
headers: localVarHeaders,
|
|
373
381
|
observe: observe,
|
|
374
|
-
transferCache: localVarTransferCache,
|
|
382
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
375
383
|
reportProgress: reportProgress
|
|
376
384
|
});
|
|
377
385
|
}
|
|
@@ -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';
|
|
@@ -64,9 +64,11 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Deletes an existing custom config value with the given key. It will also refresh the current application configuration cache for this key.
|
|
67
|
+
* @endpoint delete /config/{key}
|
|
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 httpConfigDeleteSingle(
|
|
72
74
|
requestParameters: HttpConfigDeleteSingleRequestParams,
|
|
@@ -130,15 +132,17 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
130
132
|
...(withCredentials ? { withCredentials } : {}),
|
|
131
133
|
headers: localVarHeaders,
|
|
132
134
|
observe: observe,
|
|
133
|
-
transferCache: localVarTransferCache,
|
|
135
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
134
136
|
reportProgress: reportProgress
|
|
135
137
|
});
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
/**
|
|
139
141
|
* Lists all config values stored in config table
|
|
142
|
+
* @endpoint get /config
|
|
140
143
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
141
144
|
* @param reportProgress flag to report request and response progress.
|
|
145
|
+
* @param options additional options
|
|
142
146
|
*/
|
|
143
147
|
public httpConfigGetAll(
|
|
144
148
|
observe?: 'body',
|
|
@@ -193,16 +197,18 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
193
197
|
...(withCredentials ? { withCredentials } : {}),
|
|
194
198
|
headers: localVarHeaders,
|
|
195
199
|
observe: observe,
|
|
196
|
-
transferCache: localVarTransferCache,
|
|
200
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
197
201
|
reportProgress: reportProgress
|
|
198
202
|
});
|
|
199
203
|
}
|
|
200
204
|
|
|
201
205
|
/**
|
|
202
206
|
* Lists config value only for frontend stored in config table. Optional to filter for custom values only.
|
|
207
|
+
* @endpoint get /config/frontend
|
|
203
208
|
* @param requestParameters
|
|
204
209
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
205
210
|
* @param reportProgress flag to report request and response progress.
|
|
211
|
+
* @param options additional options
|
|
206
212
|
*/
|
|
207
213
|
public httpConfigGetFrontendAll(
|
|
208
214
|
requestParameters?: HttpConfigGetFrontendAllRequestParams,
|
|
@@ -230,8 +236,9 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
230
236
|
): Observable<any> {
|
|
231
237
|
const customonly = requestParameters?.customonly;
|
|
232
238
|
|
|
233
|
-
let localVarQueryParameters = new
|
|
234
|
-
|
|
239
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
240
|
+
|
|
241
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'customonly', <any>customonly, QueryParamStyle.Form, true);
|
|
235
242
|
|
|
236
243
|
let localVarHeaders = this.defaultHeaders;
|
|
237
244
|
|
|
@@ -262,21 +269,23 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
262
269
|
const { basePath, withCredentials } = this.configuration;
|
|
263
270
|
return this.httpClient.request<Array<FrontendAppConfig>>('get', `${basePath}${localVarPath}`, {
|
|
264
271
|
context: localVarHttpContext,
|
|
265
|
-
params: localVarQueryParameters,
|
|
272
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
266
273
|
responseType: <any>responseType_,
|
|
267
274
|
...(withCredentials ? { withCredentials } : {}),
|
|
268
275
|
headers: localVarHeaders,
|
|
269
276
|
observe: observe,
|
|
270
|
-
transferCache: localVarTransferCache,
|
|
277
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
271
278
|
reportProgress: reportProgress
|
|
272
279
|
});
|
|
273
280
|
}
|
|
274
281
|
|
|
275
282
|
/**
|
|
276
283
|
* This initializes all configurations and write them into appconfig table.
|
|
284
|
+
* @endpoint post /config
|
|
277
285
|
* @param requestParameters
|
|
278
286
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
279
287
|
* @param reportProgress flag to report request and response progress.
|
|
288
|
+
* @param options additional options
|
|
280
289
|
*/
|
|
281
290
|
public httpConfigUpdate(
|
|
282
291
|
requestParameters: HttpConfigUpdateRequestParams,
|
|
@@ -308,8 +317,9 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
308
317
|
}
|
|
309
318
|
const addconfigqueues = requestParameters?.addconfigqueues;
|
|
310
319
|
|
|
311
|
-
let localVarQueryParameters = new
|
|
312
|
-
|
|
320
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
321
|
+
|
|
322
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'addconfigqueues', <any>addconfigqueues, QueryParamStyle.Form, true);
|
|
313
323
|
|
|
314
324
|
let localVarHeaders = this.defaultHeaders;
|
|
315
325
|
|
|
@@ -340,21 +350,23 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
340
350
|
const { basePath, withCredentials } = this.configuration;
|
|
341
351
|
return this.httpClient.request<AppConfigTableEntity>('post', `${basePath}${localVarPath}`, {
|
|
342
352
|
context: localVarHttpContext,
|
|
343
|
-
params: localVarQueryParameters,
|
|
353
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
344
354
|
responseType: <any>responseType_,
|
|
345
355
|
...(withCredentials ? { withCredentials } : {}),
|
|
346
356
|
headers: localVarHeaders,
|
|
347
357
|
observe: observe,
|
|
348
|
-
transferCache: localVarTransferCache,
|
|
358
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
349
359
|
reportProgress: reportProgress
|
|
350
360
|
});
|
|
351
361
|
}
|
|
352
362
|
|
|
353
363
|
/**
|
|
354
364
|
* Update an existing (pre-generated) config value (only value, content-type and description) or creates/updates custom config with the given key (full). It will also refresh the current application configuration cache for this key.
|
|
365
|
+
* @endpoint post /config/{key}
|
|
355
366
|
* @param requestParameters
|
|
356
367
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
357
368
|
* @param reportProgress flag to report request and response progress.
|
|
369
|
+
* @param options additional options
|
|
358
370
|
*/
|
|
359
371
|
public httpConfigUpdateSingle(
|
|
360
372
|
requestParameters: HttpConfigUpdateSingleRequestParams,
|
|
@@ -430,7 +442,7 @@ export class ConfigurationManagementService extends BaseService {
|
|
|
430
442
|
...(withCredentials ? { withCredentials } : {}),
|
|
431
443
|
headers: localVarHeaders,
|
|
432
444
|
observe: observe,
|
|
433
|
-
transferCache: localVarTransferCache,
|
|
445
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
434
446
|
reportProgress: reportProgress
|
|
435
447
|
});
|
|
436
448
|
}
|