@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';
|
|
@@ -107,9 +107,11 @@ export class AssetPublishingService extends BaseService {
|
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* This endpoint returns one single published asset (from ID)
|
|
110
|
+
* @endpoint get /assets/{id}/publish/{pid}
|
|
110
111
|
* @param requestParameters
|
|
111
112
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
112
113
|
* @param reportProgress flag to report request and response progress.
|
|
114
|
+
* @param options additional options
|
|
113
115
|
*/
|
|
114
116
|
public getPublishedAssetById(
|
|
115
117
|
requestParameters: GetPublishedAssetByIdRequestParams,
|
|
@@ -177,16 +179,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
177
179
|
...(withCredentials ? { withCredentials } : {}),
|
|
178
180
|
headers: localVarHeaders,
|
|
179
181
|
observe: observe,
|
|
180
|
-
transferCache: localVarTransferCache,
|
|
182
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
181
183
|
reportProgress: reportProgress
|
|
182
184
|
});
|
|
183
185
|
}
|
|
184
186
|
|
|
185
187
|
/**
|
|
186
188
|
* This endpoint fetches specific information (e.g. statistics) of the published asset (from ID) from the target platform
|
|
189
|
+
* @endpoint get /assets/{id}/publish/{pid}/info
|
|
187
190
|
* @param requestParameters
|
|
188
191
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
189
192
|
* @param reportProgress flag to report request and response progress.
|
|
193
|
+
* @param options additional options
|
|
190
194
|
*/
|
|
191
195
|
public getPublishedAssetDetails(
|
|
192
196
|
requestParameters: GetPublishedAssetDetailsRequestParams,
|
|
@@ -254,16 +258,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
254
258
|
...(withCredentials ? { withCredentials } : {}),
|
|
255
259
|
headers: localVarHeaders,
|
|
256
260
|
observe: observe,
|
|
257
|
-
transferCache: localVarTransferCache,
|
|
261
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
258
262
|
reportProgress: reportProgress
|
|
259
263
|
});
|
|
260
264
|
}
|
|
261
265
|
|
|
262
266
|
/**
|
|
263
267
|
* This endpoint retrieves the status of the published entity i.e. vimeo video upload
|
|
268
|
+
* @endpoint get /assets/{id}/publish/{pid}/status
|
|
264
269
|
* @param requestParameters
|
|
265
270
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
266
271
|
* @param reportProgress flag to report request and response progress.
|
|
272
|
+
* @param options additional options
|
|
267
273
|
*/
|
|
268
274
|
public httpPublishedAssetsCheckStatus(
|
|
269
275
|
requestParameters: HttpPublishedAssetsCheckStatusRequestParams,
|
|
@@ -331,16 +337,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
331
337
|
...(withCredentials ? { withCredentials } : {}),
|
|
332
338
|
headers: localVarHeaders,
|
|
333
339
|
observe: observe,
|
|
334
|
-
transferCache: localVarTransferCache,
|
|
340
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
335
341
|
reportProgress: reportProgress
|
|
336
342
|
});
|
|
337
343
|
}
|
|
338
344
|
|
|
339
345
|
/**
|
|
340
346
|
* This endpoint creates an additional published asset
|
|
347
|
+
* @endpoint post /assets/{id}/publish
|
|
341
348
|
* @param requestParameters
|
|
342
349
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
343
350
|
* @param reportProgress flag to report request and response progress.
|
|
351
|
+
* @param options additional options
|
|
344
352
|
*/
|
|
345
353
|
public httpPublishedAssetsCreate(
|
|
346
354
|
requestParameters: HttpPublishedAssetsCreateRequestParams,
|
|
@@ -416,16 +424,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
416
424
|
...(withCredentials ? { withCredentials } : {}),
|
|
417
425
|
headers: localVarHeaders,
|
|
418
426
|
observe: observe,
|
|
419
|
-
transferCache: localVarTransferCache,
|
|
427
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
420
428
|
reportProgress: reportProgress
|
|
421
429
|
});
|
|
422
430
|
}
|
|
423
431
|
|
|
424
432
|
/**
|
|
425
433
|
* This endpoint deletes the published asset with the given ID.
|
|
434
|
+
* @endpoint delete /assets/{id}/publish
|
|
426
435
|
* @param requestParameters
|
|
427
436
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
428
437
|
* @param reportProgress flag to report request and response progress.
|
|
438
|
+
* @param options additional options
|
|
429
439
|
*/
|
|
430
440
|
public httpPublishedAssetsDeleteAll(
|
|
431
441
|
requestParameters: HttpPublishedAssetsDeleteAllRequestParams,
|
|
@@ -489,16 +499,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
489
499
|
...(withCredentials ? { withCredentials } : {}),
|
|
490
500
|
headers: localVarHeaders,
|
|
491
501
|
observe: observe,
|
|
492
|
-
transferCache: localVarTransferCache,
|
|
502
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
493
503
|
reportProgress: reportProgress
|
|
494
504
|
});
|
|
495
505
|
}
|
|
496
506
|
|
|
497
507
|
/**
|
|
498
508
|
* This endpoint deletes the published asset with the given ID.
|
|
509
|
+
* @endpoint delete /assets/{id}/publish/{pid}
|
|
499
510
|
* @param requestParameters
|
|
500
511
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
501
512
|
* @param reportProgress flag to report request and response progress.
|
|
513
|
+
* @param options additional options
|
|
502
514
|
*/
|
|
503
515
|
public httpPublishedAssetsDeleteById(
|
|
504
516
|
requestParameters: HttpPublishedAssetsDeleteByIdRequestParams,
|
|
@@ -534,8 +546,9 @@ export class AssetPublishingService extends BaseService {
|
|
|
534
546
|
}
|
|
535
547
|
const force = requestParameters?.force;
|
|
536
548
|
|
|
537
|
-
let localVarQueryParameters = new
|
|
538
|
-
|
|
549
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
550
|
+
|
|
551
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'force', <any>force, QueryParamStyle.Form, true);
|
|
539
552
|
|
|
540
553
|
let localVarHeaders = this.defaultHeaders;
|
|
541
554
|
|
|
@@ -566,21 +579,23 @@ export class AssetPublishingService extends BaseService {
|
|
|
566
579
|
const { basePath, withCredentials } = this.configuration;
|
|
567
580
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
|
|
568
581
|
context: localVarHttpContext,
|
|
569
|
-
params: localVarQueryParameters,
|
|
582
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
570
583
|
responseType: <any>responseType_,
|
|
571
584
|
...(withCredentials ? { withCredentials } : {}),
|
|
572
585
|
headers: localVarHeaders,
|
|
573
586
|
observe: observe,
|
|
574
|
-
transferCache: localVarTransferCache,
|
|
587
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
575
588
|
reportProgress: reportProgress
|
|
576
589
|
});
|
|
577
590
|
}
|
|
578
591
|
|
|
579
592
|
/**
|
|
580
593
|
* This endpoint lists all the published assets which are stored in the database if asset is still valid.
|
|
594
|
+
* @endpoint get /assets/{id}/publish
|
|
581
595
|
* @param requestParameters
|
|
582
596
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
583
597
|
* @param reportProgress flag to report request and response progress.
|
|
598
|
+
* @param options additional options
|
|
584
599
|
*/
|
|
585
600
|
public httpPublishedAssetsGet(
|
|
586
601
|
requestParameters: HttpPublishedAssetsGetRequestParams,
|
|
@@ -644,16 +659,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
644
659
|
...(withCredentials ? { withCredentials } : {}),
|
|
645
660
|
headers: localVarHeaders,
|
|
646
661
|
observe: observe,
|
|
647
|
-
transferCache: localVarTransferCache,
|
|
662
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
648
663
|
reportProgress: reportProgress
|
|
649
664
|
});
|
|
650
665
|
}
|
|
651
666
|
|
|
652
667
|
/**
|
|
653
668
|
* This endpoint currently republished the published asset with the given ID.
|
|
669
|
+
* @endpoint patch /assets/{id}/publish/{pid}/republish
|
|
654
670
|
* @param requestParameters
|
|
655
671
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
656
672
|
* @param reportProgress flag to report request and response progress.
|
|
673
|
+
* @param options additional options
|
|
657
674
|
*/
|
|
658
675
|
public httpPublishedAssetsRepublishById(
|
|
659
676
|
requestParameters: HttpPublishedAssetsRepublishByIdRequestParams,
|
|
@@ -733,16 +750,18 @@ export class AssetPublishingService extends BaseService {
|
|
|
733
750
|
...(withCredentials ? { withCredentials } : {}),
|
|
734
751
|
headers: localVarHeaders,
|
|
735
752
|
observe: observe,
|
|
736
|
-
transferCache: localVarTransferCache,
|
|
753
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
737
754
|
reportProgress: reportProgress
|
|
738
755
|
});
|
|
739
756
|
}
|
|
740
757
|
|
|
741
758
|
/**
|
|
742
759
|
* This endpoint currently updates only the description of the published asset with the given ID.
|
|
760
|
+
* @endpoint post /assets/{id}/publish/{pid}
|
|
743
761
|
* @param requestParameters
|
|
744
762
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
745
763
|
* @param reportProgress flag to report request and response progress.
|
|
764
|
+
* @param options additional options
|
|
746
765
|
*/
|
|
747
766
|
public httpPublishedAssetsUpdateById(
|
|
748
767
|
requestParameters: HttpPublishedAssetsUpdateByIdRequestParams,
|
|
@@ -822,7 +841,7 @@ export class AssetPublishingService extends BaseService {
|
|
|
822
841
|
...(withCredentials ? { withCredentials } : {}),
|
|
823
842
|
headers: localVarHeaders,
|
|
824
843
|
observe: observe,
|
|
825
|
-
transferCache: localVarTransferCache,
|
|
844
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
826
845
|
reportProgress: reportProgress
|
|
827
846
|
});
|
|
828
847
|
}
|
|
@@ -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';
|
|
@@ -81,9 +81,11 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* This endpoint creates one asset relation entry in the database.
|
|
84
|
+
* @endpoint post /assetrelations
|
|
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 httpAssetRelationCreate(
|
|
89
91
|
requestParameters: HttpAssetRelationCreateRequestParams,
|
|
@@ -117,9 +119,11 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
117
119
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
118
120
|
const assetrelationtypeid = requestParameters?.assetrelationtypeid;
|
|
119
121
|
|
|
120
|
-
let localVarQueryParameters = new
|
|
121
|
-
|
|
122
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
122
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
123
|
+
|
|
124
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
125
|
+
|
|
126
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assetrelationtypeid', <any>assetrelationtypeid, QueryParamStyle.Form, true);
|
|
123
127
|
|
|
124
128
|
let localVarHeaders = this.defaultHeaders;
|
|
125
129
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -161,21 +165,23 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
161
165
|
return this.httpClient.request<AssetRelation>('post', `${basePath}${localVarPath}`, {
|
|
162
166
|
context: localVarHttpContext,
|
|
163
167
|
body: assetRelation,
|
|
164
|
-
params: localVarQueryParameters,
|
|
168
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
165
169
|
responseType: <any>responseType_,
|
|
166
170
|
...(withCredentials ? { withCredentials } : {}),
|
|
167
171
|
headers: localVarHeaders,
|
|
168
172
|
observe: observe,
|
|
169
|
-
transferCache: localVarTransferCache,
|
|
173
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
170
174
|
reportProgress: reportProgress
|
|
171
175
|
});
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
/**
|
|
175
179
|
* This endpoint deletes a single asset relation.
|
|
180
|
+
* @endpoint delete /assetrelations/{id}
|
|
176
181
|
* @param requestParameters
|
|
177
182
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
178
183
|
* @param reportProgress flag to report request and response progress.
|
|
184
|
+
* @param options additional options
|
|
179
185
|
*/
|
|
180
186
|
public httpAssetRelationDeleteById(
|
|
181
187
|
requestParameters: HttpAssetRelationDeleteByIdRequestParams,
|
|
@@ -239,16 +245,18 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
239
245
|
...(withCredentials ? { withCredentials } : {}),
|
|
240
246
|
headers: localVarHeaders,
|
|
241
247
|
observe: observe,
|
|
242
|
-
transferCache: localVarTransferCache,
|
|
248
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
243
249
|
reportProgress: reportProgress
|
|
244
250
|
});
|
|
245
251
|
}
|
|
246
252
|
|
|
247
253
|
/**
|
|
248
254
|
* This endpoint lists all asset relations in database.
|
|
255
|
+
* @endpoint get /assetrelations
|
|
249
256
|
* @param requestParameters
|
|
250
257
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
251
258
|
* @param reportProgress flag to report request and response progress.
|
|
259
|
+
* @param options additional options
|
|
252
260
|
*/
|
|
253
261
|
public httpAssetRelationGetAll(
|
|
254
262
|
requestParameters?: HttpAssetRelationGetAllRequestParams,
|
|
@@ -278,9 +286,11 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
278
286
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
279
287
|
const translations = requestParameters?.translations;
|
|
280
288
|
|
|
281
|
-
let localVarQueryParameters = new
|
|
282
|
-
|
|
283
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
289
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
290
|
+
|
|
291
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assetrelationtypeid', <any>assetrelationtypeid, QueryParamStyle.Form, true);
|
|
292
|
+
|
|
293
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
284
294
|
|
|
285
295
|
let localVarHeaders = this.defaultHeaders;
|
|
286
296
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -314,21 +324,23 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
314
324
|
const { basePath, withCredentials } = this.configuration;
|
|
315
325
|
return this.httpClient.request<Array<AssetRelation>>('get', `${basePath}${localVarPath}`, {
|
|
316
326
|
context: localVarHttpContext,
|
|
317
|
-
params: localVarQueryParameters,
|
|
327
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
318
328
|
responseType: <any>responseType_,
|
|
319
329
|
...(withCredentials ? { withCredentials } : {}),
|
|
320
330
|
headers: localVarHeaders,
|
|
321
331
|
observe: observe,
|
|
322
|
-
transferCache: localVarTransferCache,
|
|
332
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
323
333
|
reportProgress: reportProgress
|
|
324
334
|
});
|
|
325
335
|
}
|
|
326
336
|
|
|
327
337
|
/**
|
|
328
338
|
* This endpoint gets a single asset relation.
|
|
339
|
+
* @endpoint get /assetrelations/{id}
|
|
329
340
|
* @param requestParameters
|
|
330
341
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
331
342
|
* @param reportProgress flag to report request and response progress.
|
|
343
|
+
* @param options additional options
|
|
332
344
|
*/
|
|
333
345
|
public httpAssetRelationGetById(
|
|
334
346
|
requestParameters: HttpAssetRelationGetByIdRequestParams,
|
|
@@ -360,8 +372,9 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
360
372
|
}
|
|
361
373
|
const translations = requestParameters?.translations;
|
|
362
374
|
|
|
363
|
-
let localVarQueryParameters = new
|
|
364
|
-
|
|
375
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
376
|
+
|
|
377
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
365
378
|
|
|
366
379
|
let localVarHeaders = this.defaultHeaders;
|
|
367
380
|
|
|
@@ -392,21 +405,23 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
392
405
|
const { basePath, withCredentials } = this.configuration;
|
|
393
406
|
return this.httpClient.request<AssetRelation>('get', `${basePath}${localVarPath}`, {
|
|
394
407
|
context: localVarHttpContext,
|
|
395
|
-
params: localVarQueryParameters,
|
|
408
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
396
409
|
responseType: <any>responseType_,
|
|
397
410
|
...(withCredentials ? { withCredentials } : {}),
|
|
398
411
|
headers: localVarHeaders,
|
|
399
412
|
observe: observe,
|
|
400
|
-
transferCache: localVarTransferCache,
|
|
413
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
401
414
|
reportProgress: reportProgress
|
|
402
415
|
});
|
|
403
416
|
}
|
|
404
417
|
|
|
405
418
|
/**
|
|
406
419
|
* This endpoint updates an asset relation entry in the database.
|
|
420
|
+
* @endpoint post /assetrelations/{id}
|
|
407
421
|
* @param requestParameters
|
|
408
422
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
409
423
|
* @param reportProgress flag to report request and response progress.
|
|
424
|
+
* @param options additional options
|
|
410
425
|
*/
|
|
411
426
|
public httpAssetRelationUpdateById(
|
|
412
427
|
requestParameters: HttpAssetRelationUpdateByIdRequestParams,
|
|
@@ -443,8 +458,9 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
443
458
|
const translations = requestParameters?.translations;
|
|
444
459
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
445
460
|
|
|
446
|
-
let localVarQueryParameters = new
|
|
447
|
-
|
|
461
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
462
|
+
|
|
463
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
448
464
|
|
|
449
465
|
let localVarHeaders = this.defaultHeaders;
|
|
450
466
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -486,12 +502,12 @@ export class AssetRelationManagementService extends BaseService {
|
|
|
486
502
|
return this.httpClient.request<AssetRelation>('post', `${basePath}${localVarPath}`, {
|
|
487
503
|
context: localVarHttpContext,
|
|
488
504
|
body: assetRelation,
|
|
489
|
-
params: localVarQueryParameters,
|
|
505
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
490
506
|
responseType: <any>responseType_,
|
|
491
507
|
...(withCredentials ? { withCredentials } : {}),
|
|
492
508
|
headers: localVarHeaders,
|
|
493
509
|
observe: observe,
|
|
494
|
-
transferCache: localVarTransferCache,
|
|
510
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
495
511
|
reportProgress: reportProgress
|
|
496
512
|
});
|
|
497
513
|
}
|
|
@@ -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';
|
|
@@ -90,9 +90,11 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* This endpoint creates one asset relation type entry in the database.
|
|
93
|
+
* @endpoint post /assetrelationtypes
|
|
93
94
|
* @param requestParameters
|
|
94
95
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
95
96
|
* @param reportProgress flag to report request and response progress.
|
|
97
|
+
* @param options additional options
|
|
96
98
|
*/
|
|
97
99
|
public httpAssetRelationTypeCreate(
|
|
98
100
|
requestParameters: HttpAssetRelationTypeCreateRequestParams,
|
|
@@ -125,8 +127,9 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
125
127
|
const translations = requestParameters?.translations;
|
|
126
128
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
127
129
|
|
|
128
|
-
let localVarQueryParameters = new
|
|
129
|
-
|
|
130
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
131
|
+
|
|
132
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
130
133
|
|
|
131
134
|
let localVarHeaders = this.defaultHeaders;
|
|
132
135
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -168,21 +171,23 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
168
171
|
return this.httpClient.request<AssetRelationType>('post', `${basePath}${localVarPath}`, {
|
|
169
172
|
context: localVarHttpContext,
|
|
170
173
|
body: assetRelationType,
|
|
171
|
-
params: localVarQueryParameters,
|
|
174
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
172
175
|
responseType: <any>responseType_,
|
|
173
176
|
...(withCredentials ? { withCredentials } : {}),
|
|
174
177
|
headers: localVarHeaders,
|
|
175
178
|
observe: observe,
|
|
176
|
-
transferCache: localVarTransferCache,
|
|
179
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
177
180
|
reportProgress: reportProgress
|
|
178
181
|
});
|
|
179
182
|
}
|
|
180
183
|
|
|
181
184
|
/**
|
|
182
185
|
* This endpoint deletes a single asset relation type.
|
|
186
|
+
* @endpoint delete /assetrelationtypes/{id}
|
|
183
187
|
* @param requestParameters
|
|
184
188
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
185
189
|
* @param reportProgress flag to report request and response progress.
|
|
190
|
+
* @param options additional options
|
|
186
191
|
*/
|
|
187
192
|
public httpAssetRelationTypeDeleteById(
|
|
188
193
|
requestParameters: HttpAssetRelationTypeDeleteByIdRequestParams,
|
|
@@ -246,16 +251,18 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
246
251
|
...(withCredentials ? { withCredentials } : {}),
|
|
247
252
|
headers: localVarHeaders,
|
|
248
253
|
observe: observe,
|
|
249
|
-
transferCache: localVarTransferCache,
|
|
254
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
250
255
|
reportProgress: reportProgress
|
|
251
256
|
});
|
|
252
257
|
}
|
|
253
258
|
|
|
254
259
|
/**
|
|
255
260
|
* This endpoint lists all asset relation types in database.
|
|
261
|
+
* @endpoint get /assetrelationtypes
|
|
256
262
|
* @param requestParameters
|
|
257
263
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
258
264
|
* @param reportProgress flag to report request and response progress.
|
|
265
|
+
* @param options additional options
|
|
259
266
|
*/
|
|
260
267
|
public httpAssetRelationTypeGetAll(
|
|
261
268
|
requestParameters?: HttpAssetRelationTypeGetAllRequestParams,
|
|
@@ -284,8 +291,9 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
284
291
|
const translations = requestParameters?.translations;
|
|
285
292
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
286
293
|
|
|
287
|
-
let localVarQueryParameters = new
|
|
288
|
-
|
|
294
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
295
|
+
|
|
296
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
289
297
|
|
|
290
298
|
let localVarHeaders = this.defaultHeaders;
|
|
291
299
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -319,21 +327,23 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
319
327
|
const { basePath, withCredentials } = this.configuration;
|
|
320
328
|
return this.httpClient.request<Array<AssetRelationType>>('get', `${basePath}${localVarPath}`, {
|
|
321
329
|
context: localVarHttpContext,
|
|
322
|
-
params: localVarQueryParameters,
|
|
330
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
323
331
|
responseType: <any>responseType_,
|
|
324
332
|
...(withCredentials ? { withCredentials } : {}),
|
|
325
333
|
headers: localVarHeaders,
|
|
326
334
|
observe: observe,
|
|
327
|
-
transferCache: localVarTransferCache,
|
|
335
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
328
336
|
reportProgress: reportProgress
|
|
329
337
|
});
|
|
330
338
|
}
|
|
331
339
|
|
|
332
340
|
/**
|
|
333
341
|
* This endpoint gets a single asset relation type.
|
|
342
|
+
* @endpoint get /assetrelationtypes/{id}
|
|
334
343
|
* @param requestParameters
|
|
335
344
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
336
345
|
* @param reportProgress flag to report request and response progress.
|
|
346
|
+
* @param options additional options
|
|
337
347
|
*/
|
|
338
348
|
public httpAssetRelationTypeGetById(
|
|
339
349
|
requestParameters: HttpAssetRelationTypeGetByIdRequestParams,
|
|
@@ -366,8 +376,9 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
366
376
|
const translations = requestParameters?.translations;
|
|
367
377
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
368
378
|
|
|
369
|
-
let localVarQueryParameters = new
|
|
370
|
-
|
|
379
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
380
|
+
|
|
381
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
371
382
|
|
|
372
383
|
let localVarHeaders = this.defaultHeaders;
|
|
373
384
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -401,21 +412,23 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
401
412
|
const { basePath, withCredentials } = this.configuration;
|
|
402
413
|
return this.httpClient.request<AssetRelationType>('get', `${basePath}${localVarPath}`, {
|
|
403
414
|
context: localVarHttpContext,
|
|
404
|
-
params: localVarQueryParameters,
|
|
415
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
405
416
|
responseType: <any>responseType_,
|
|
406
417
|
...(withCredentials ? { withCredentials } : {}),
|
|
407
418
|
headers: localVarHeaders,
|
|
408
419
|
observe: observe,
|
|
409
|
-
transferCache: localVarTransferCache,
|
|
420
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
410
421
|
reportProgress: reportProgress
|
|
411
422
|
});
|
|
412
423
|
}
|
|
413
424
|
|
|
414
425
|
/**
|
|
415
426
|
* This endpoint updates the permissions of the asset relation type.
|
|
427
|
+
* @endpoint post /assetrelationtypes/{id}/permissions
|
|
416
428
|
* @param requestParameters
|
|
417
429
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
418
430
|
* @param reportProgress flag to report request and response progress.
|
|
431
|
+
* @param options additional options
|
|
419
432
|
*/
|
|
420
433
|
public httpAssetRelationTypeUpdatePermissionsById(
|
|
421
434
|
requestParameters: HttpAssetRelationTypeUpdatePermissionsByIdRequestParams,
|
|
@@ -491,16 +504,18 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
491
504
|
...(withCredentials ? { withCredentials } : {}),
|
|
492
505
|
headers: localVarHeaders,
|
|
493
506
|
observe: observe,
|
|
494
|
-
transferCache: localVarTransferCache,
|
|
507
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
495
508
|
reportProgress: reportProgress
|
|
496
509
|
});
|
|
497
510
|
}
|
|
498
511
|
|
|
499
512
|
/**
|
|
500
513
|
* This endpoint updates an asset relation type entry in the database. Changes to hierarchical, sequential and unique per asset are not allowed if there are already asset relations using this type.
|
|
514
|
+
* @endpoint post /assetrelationtypes/{id}
|
|
501
515
|
* @param requestParameters
|
|
502
516
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
503
517
|
* @param reportProgress flag to report request and response progress.
|
|
518
|
+
* @param options additional options
|
|
504
519
|
*/
|
|
505
520
|
public httpAssetRelationTypeUpdateWithId(
|
|
506
521
|
requestParameters: HttpAssetRelationTypeUpdateWithIdRequestParams,
|
|
@@ -537,8 +552,9 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
537
552
|
const translations = requestParameters?.translations;
|
|
538
553
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
539
554
|
|
|
540
|
-
let localVarQueryParameters = new
|
|
541
|
-
|
|
555
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
556
|
+
|
|
557
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
542
558
|
|
|
543
559
|
let localVarHeaders = this.defaultHeaders;
|
|
544
560
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -580,12 +596,12 @@ export class AssetRelationTypeManagementService extends BaseService {
|
|
|
580
596
|
return this.httpClient.request<AssetRelationType>('post', `${basePath}${localVarPath}`, {
|
|
581
597
|
context: localVarHttpContext,
|
|
582
598
|
body: assetRelationType,
|
|
583
|
-
params: localVarQueryParameters,
|
|
599
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
584
600
|
responseType: <any>responseType_,
|
|
585
601
|
...(withCredentials ? { withCredentials } : {}),
|
|
586
602
|
headers: localVarHeaders,
|
|
587
603
|
observe: observe,
|
|
588
|
-
transferCache: localVarTransferCache,
|
|
604
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
589
605
|
reportProgress: reportProgress
|
|
590
606
|
});
|
|
591
607
|
}
|