@agravity/private 10.1.5 → 10.2.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 +7 -2
- package/README.md +3 -3
- package/api/aIOperations.agravity.ts +65 -63
- package/api/api.ts +6 -0
- package/api/assetOperations.agravity.ts +7 -0
- package/api/authenticationManagement.agravity.ts +66 -1
- package/api/collectionManagement.agravity.ts +5 -5
- package/api/dataImportExportManagement.agravity.ts +78 -78
- package/api/featuresManagement.agravity.ts +99 -0
- package/api/notificationManagement.agravity.ts +14 -16
- package/api/profilesManagement.agravity.ts +529 -0
- package/model/agravityUser.agravity.ts +0 -4
- package/model/aiAssetStatus.agravity.ts +36 -0
- package/model/aiSettings.agravity.ts +1 -0
- package/model/aiTypeSettings.agravity.ts +1 -0
- package/model/azureIdentity.agravity.ts +1 -0
- package/model/collectionUDL.agravity.ts +1 -0
- package/model/entityIdName.agravity.ts +1 -0
- package/model/feature.agravity.ts +24 -0
- package/model/httpAssetExportInputParameter.agravity.ts +0 -1
- package/model/models.ts +5 -2
- package/model/{notificationSettingDto.agravity.ts → notificationSettingsEntry.agravity.ts} +2 -3
- package/model/permissionToProfileBody.agravity.ts +14 -0
- package/model/profile.agravity.ts +26 -0
- package/package.json +1 -1
- package/model/uiTutorials.agravity.ts +0 -21
package/.openapi-generator/FILES
CHANGED
|
@@ -23,6 +23,7 @@ api/dashboardWidgetManagement.agravity.ts
|
|
|
23
23
|
api/dataImportExportManagement.agravity.ts
|
|
24
24
|
api/downloadFormatManagement.agravity.ts
|
|
25
25
|
api/downloadZip.agravity.ts
|
|
26
|
+
api/featuresManagement.agravity.ts
|
|
26
27
|
api/generalManagement.agravity.ts
|
|
27
28
|
api/helperTools.agravity.ts
|
|
28
29
|
api/historyEntryManagement.agravity.ts
|
|
@@ -34,6 +35,7 @@ api/notificationManagement.agravity.ts
|
|
|
34
35
|
api/permissionsManagement.agravity.ts
|
|
35
36
|
api/portalManagement.agravity.ts
|
|
36
37
|
api/portalsUsersManagement.agravity.ts
|
|
38
|
+
api/profilesManagement.agravity.ts
|
|
37
39
|
api/publishing.agravity.ts
|
|
38
40
|
api/quickshareManagement.agravity.ts
|
|
39
41
|
api/savedSearchManagement.agravity.ts
|
|
@@ -61,6 +63,7 @@ model/agravityUserDto.agravity.ts
|
|
|
61
63
|
model/agravityUserOnlineStatus.agravity.ts
|
|
62
64
|
model/agravityVersion.agravity.ts
|
|
63
65
|
model/aiAsset.agravity.ts
|
|
66
|
+
model/aiAssetStatus.agravity.ts
|
|
64
67
|
model/aiFieldGeneration.agravity.ts
|
|
65
68
|
model/aiModelDeployment.agravity.ts
|
|
66
69
|
model/aiSettings.agravity.ts
|
|
@@ -109,6 +112,7 @@ model/entityTranslations.agravity.ts
|
|
|
109
112
|
model/excelExportTableEntity.agravity.ts
|
|
110
113
|
model/excelImportTableEntity.agravity.ts
|
|
111
114
|
model/exportFieldDefinition.agravity.ts
|
|
115
|
+
model/feature.agravity.ts
|
|
112
116
|
model/frontendAppConfig.agravity.ts
|
|
113
117
|
model/groupAllAppData.agravity.ts
|
|
114
118
|
model/historyEntry.agravity.ts
|
|
@@ -119,16 +123,18 @@ model/infoEntitySkillEnhanced.agravity.ts
|
|
|
119
123
|
model/metadata.agravity.ts
|
|
120
124
|
model/models.ts
|
|
121
125
|
model/moveCollectionBody.agravity.ts
|
|
122
|
-
model/
|
|
126
|
+
model/notificationSettingsEntry.agravity.ts
|
|
123
127
|
model/permissionChange.agravity.ts
|
|
124
128
|
model/permissionEntity.agravity.ts
|
|
125
129
|
model/permissionSetting.agravity.ts
|
|
130
|
+
model/permissionToProfileBody.agravity.ts
|
|
126
131
|
model/portal.agravity.ts
|
|
127
132
|
model/portalAuthentication.agravity.ts
|
|
128
133
|
model/portalFields.agravity.ts
|
|
129
134
|
model/portalLinks.agravity.ts
|
|
130
135
|
model/portalTheme.agravity.ts
|
|
131
136
|
model/portalUserContext.agravity.ts
|
|
137
|
+
model/profile.agravity.ts
|
|
132
138
|
model/publishEntity.agravity.ts
|
|
133
139
|
model/publishedAsset.agravity.ts
|
|
134
140
|
model/quickShare.agravity.ts
|
|
@@ -158,7 +164,6 @@ model/signalRConnectionInfo.agravity.ts
|
|
|
158
164
|
model/staticDefinedList.agravity.ts
|
|
159
165
|
model/translation.agravity.ts
|
|
160
166
|
model/translationRequest.agravity.ts
|
|
161
|
-
model/uiTutorials.agravity.ts
|
|
162
167
|
model/versionEntity.agravity.ts
|
|
163
168
|
model/versionedAsset.agravity.ts
|
|
164
169
|
model/whereParam.agravity.ts
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @agravity/private@10.
|
|
1
|
+
# @agravity/private@10.2.0
|
|
2
2
|
|
|
3
3
|
<h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
|
|
4
4
|
|
|
5
|
-
The version of the OpenAPI document: 10.
|
|
5
|
+
The version of the OpenAPI document: 10.2.0
|
|
6
6
|
|
|
7
7
|
## Building
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @agravity/private@10.
|
|
27
|
+
npm install @agravity/private@10.2.0 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -19,6 +19,8 @@ import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
|
19
19
|
// @ts-ignore
|
|
20
20
|
import { AiAsset } from '../model/aiAsset.agravity';
|
|
21
21
|
// @ts-ignore
|
|
22
|
+
import { AiAssetStatus } from '../model/aiAssetStatus.agravity';
|
|
23
|
+
// @ts-ignore
|
|
22
24
|
import { AiModelDeployment } from '../model/aiModelDeployment.agravity';
|
|
23
25
|
// @ts-ignore
|
|
24
26
|
import { AiSettings } from '../model/aiSettings.agravity';
|
|
@@ -40,21 +42,21 @@ export interface HttpDeleteAssetAIFieldGenerationRequestParams {
|
|
|
40
42
|
requestBody: { [key: string]: Array<string> };
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
export interface HttpEnqueueAssetAIFieldGenerationRequestParams {
|
|
44
|
-
/** This body contains a dictionary of asset id and list of fields which should be generated for this asset */
|
|
45
|
-
requestBody: { [key: string]: Array<string> };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
45
|
export interface HttpGetAIAssetByIdRequestParams {
|
|
49
46
|
/** The ID of the Asset. */
|
|
50
47
|
id: string;
|
|
51
48
|
}
|
|
52
49
|
|
|
53
|
-
export interface
|
|
54
|
-
/** The ID of the
|
|
50
|
+
export interface HttpGetAIAssetStatusByIdRequestParams {
|
|
51
|
+
/** The ID of the Asset. */
|
|
55
52
|
id: string;
|
|
56
53
|
}
|
|
57
54
|
|
|
55
|
+
export interface HttpPatchAiAssetsRequestParams {
|
|
56
|
+
/** A list of asset ids to be enqueued for applying ai */
|
|
57
|
+
requestBody: Array<string>;
|
|
58
|
+
}
|
|
59
|
+
|
|
58
60
|
export interface HttpReverseAssetSearchRequestParams {
|
|
59
61
|
/** The requested language of the response. If not matching it falls back to default language. */
|
|
60
62
|
acceptLanguage?: string;
|
|
@@ -313,38 +315,38 @@ export class AIOperationsService extends BaseService {
|
|
|
313
315
|
}
|
|
314
316
|
|
|
315
317
|
/**
|
|
316
|
-
* This endpoint
|
|
318
|
+
* This endpoint returns the AI Asset
|
|
317
319
|
* @param requestParameters
|
|
318
320
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
319
321
|
* @param reportProgress flag to report request and response progress.
|
|
320
322
|
*/
|
|
321
|
-
public
|
|
322
|
-
requestParameters:
|
|
323
|
+
public httpGetAIAssetById(
|
|
324
|
+
requestParameters: HttpGetAIAssetByIdRequestParams,
|
|
323
325
|
observe?: 'body',
|
|
324
326
|
reportProgress?: boolean,
|
|
325
327
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
326
|
-
): Observable<
|
|
327
|
-
public
|
|
328
|
-
requestParameters:
|
|
328
|
+
): Observable<AiAsset>;
|
|
329
|
+
public httpGetAIAssetById(
|
|
330
|
+
requestParameters: HttpGetAIAssetByIdRequestParams,
|
|
329
331
|
observe?: 'response',
|
|
330
332
|
reportProgress?: boolean,
|
|
331
333
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
332
|
-
): Observable<HttpResponse<
|
|
333
|
-
public
|
|
334
|
-
requestParameters:
|
|
334
|
+
): Observable<HttpResponse<AiAsset>>;
|
|
335
|
+
public httpGetAIAssetById(
|
|
336
|
+
requestParameters: HttpGetAIAssetByIdRequestParams,
|
|
335
337
|
observe?: 'events',
|
|
336
338
|
reportProgress?: boolean,
|
|
337
339
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
338
|
-
): Observable<HttpEvent<
|
|
339
|
-
public
|
|
340
|
-
requestParameters:
|
|
340
|
+
): Observable<HttpEvent<AiAsset>>;
|
|
341
|
+
public httpGetAIAssetById(
|
|
342
|
+
requestParameters: HttpGetAIAssetByIdRequestParams,
|
|
341
343
|
observe: any = 'body',
|
|
342
344
|
reportProgress: boolean = false,
|
|
343
345
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
344
346
|
): Observable<any> {
|
|
345
|
-
const
|
|
346
|
-
if (
|
|
347
|
-
throw new Error('Required parameter
|
|
347
|
+
const id = requestParameters?.id;
|
|
348
|
+
if (id === null || id === undefined) {
|
|
349
|
+
throw new Error('Required parameter id was null or undefined when calling httpGetAIAssetById.');
|
|
348
350
|
}
|
|
349
351
|
|
|
350
352
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -361,13 +363,6 @@ export class AIOperationsService extends BaseService {
|
|
|
361
363
|
|
|
362
364
|
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
363
365
|
|
|
364
|
-
// to determine the Content-Type header
|
|
365
|
-
const consumes: string[] = ['application/json'];
|
|
366
|
-
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
367
|
-
if (httpContentTypeSelected !== undefined) {
|
|
368
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
366
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
372
367
|
if (localVarHttpHeaderAcceptSelected) {
|
|
373
368
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -379,11 +374,10 @@ export class AIOperationsService extends BaseService {
|
|
|
379
374
|
}
|
|
380
375
|
}
|
|
381
376
|
|
|
382
|
-
let localVarPath = `/ai/
|
|
377
|
+
let localVarPath = `/ai/assets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/aiasset`;
|
|
383
378
|
const { basePath, withCredentials } = this.configuration;
|
|
384
|
-
return this.httpClient.request<
|
|
379
|
+
return this.httpClient.request<AiAsset>('get', `${basePath}${localVarPath}`, {
|
|
385
380
|
context: localVarHttpContext,
|
|
386
|
-
body: requestBody,
|
|
387
381
|
responseType: <any>responseType_,
|
|
388
382
|
...(withCredentials ? { withCredentials } : {}),
|
|
389
383
|
headers: localVarHeaders,
|
|
@@ -394,38 +388,38 @@ export class AIOperationsService extends BaseService {
|
|
|
394
388
|
}
|
|
395
389
|
|
|
396
390
|
/**
|
|
397
|
-
* This endpoint returns the AI Asset
|
|
391
|
+
* This endpoint returns the AI Asset Status
|
|
398
392
|
* @param requestParameters
|
|
399
393
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
400
394
|
* @param reportProgress flag to report request and response progress.
|
|
401
395
|
*/
|
|
402
|
-
public
|
|
403
|
-
requestParameters:
|
|
396
|
+
public httpGetAIAssetStatusById(
|
|
397
|
+
requestParameters: HttpGetAIAssetStatusByIdRequestParams,
|
|
404
398
|
observe?: 'body',
|
|
405
399
|
reportProgress?: boolean,
|
|
406
400
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
407
|
-
): Observable<
|
|
408
|
-
public
|
|
409
|
-
requestParameters:
|
|
401
|
+
): Observable<AiAssetStatus>;
|
|
402
|
+
public httpGetAIAssetStatusById(
|
|
403
|
+
requestParameters: HttpGetAIAssetStatusByIdRequestParams,
|
|
410
404
|
observe?: 'response',
|
|
411
405
|
reportProgress?: boolean,
|
|
412
406
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
413
|
-
): Observable<HttpResponse<
|
|
414
|
-
public
|
|
415
|
-
requestParameters:
|
|
407
|
+
): Observable<HttpResponse<AiAssetStatus>>;
|
|
408
|
+
public httpGetAIAssetStatusById(
|
|
409
|
+
requestParameters: HttpGetAIAssetStatusByIdRequestParams,
|
|
416
410
|
observe?: 'events',
|
|
417
411
|
reportProgress?: boolean,
|
|
418
412
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
419
|
-
): Observable<HttpEvent<
|
|
420
|
-
public
|
|
421
|
-
requestParameters:
|
|
413
|
+
): Observable<HttpEvent<AiAssetStatus>>;
|
|
414
|
+
public httpGetAIAssetStatusById(
|
|
415
|
+
requestParameters: HttpGetAIAssetStatusByIdRequestParams,
|
|
422
416
|
observe: any = 'body',
|
|
423
417
|
reportProgress: boolean = false,
|
|
424
418
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
425
419
|
): Observable<any> {
|
|
426
420
|
const id = requestParameters?.id;
|
|
427
421
|
if (id === null || id === undefined) {
|
|
428
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
422
|
+
throw new Error('Required parameter id was null or undefined when calling httpGetAIAssetStatusById.');
|
|
429
423
|
}
|
|
430
424
|
|
|
431
425
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -453,9 +447,9 @@ export class AIOperationsService extends BaseService {
|
|
|
453
447
|
}
|
|
454
448
|
}
|
|
455
449
|
|
|
456
|
-
let localVarPath = `/ai/
|
|
450
|
+
let localVarPath = `/ai/assetsstatus/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
457
451
|
const { basePath, withCredentials } = this.configuration;
|
|
458
|
-
return this.httpClient.request<
|
|
452
|
+
return this.httpClient.request<AiAssetStatus>('get', `${basePath}${localVarPath}`, {
|
|
459
453
|
context: localVarHttpContext,
|
|
460
454
|
responseType: <any>responseType_,
|
|
461
455
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -535,33 +529,33 @@ export class AIOperationsService extends BaseService {
|
|
|
535
529
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
536
530
|
* @param reportProgress flag to report request and response progress.
|
|
537
531
|
*/
|
|
538
|
-
public
|
|
539
|
-
requestParameters:
|
|
532
|
+
public httpPatchAiAssets(
|
|
533
|
+
requestParameters: HttpPatchAiAssetsRequestParams,
|
|
540
534
|
observe?: 'body',
|
|
541
535
|
reportProgress?: boolean,
|
|
542
536
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
543
|
-
): Observable<
|
|
544
|
-
public
|
|
545
|
-
requestParameters:
|
|
537
|
+
): Observable<Array<AiAssetStatus>>;
|
|
538
|
+
public httpPatchAiAssets(
|
|
539
|
+
requestParameters: HttpPatchAiAssetsRequestParams,
|
|
546
540
|
observe?: 'response',
|
|
547
541
|
reportProgress?: boolean,
|
|
548
542
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
549
|
-
): Observable<HttpResponse<
|
|
550
|
-
public
|
|
551
|
-
requestParameters:
|
|
543
|
+
): Observable<HttpResponse<Array<AiAssetStatus>>>;
|
|
544
|
+
public httpPatchAiAssets(
|
|
545
|
+
requestParameters: HttpPatchAiAssetsRequestParams,
|
|
552
546
|
observe?: 'events',
|
|
553
547
|
reportProgress?: boolean,
|
|
554
548
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
555
|
-
): Observable<HttpEvent<
|
|
556
|
-
public
|
|
557
|
-
requestParameters:
|
|
549
|
+
): Observable<HttpEvent<Array<AiAssetStatus>>>;
|
|
550
|
+
public httpPatchAiAssets(
|
|
551
|
+
requestParameters: HttpPatchAiAssetsRequestParams,
|
|
558
552
|
observe: any = 'body',
|
|
559
553
|
reportProgress: boolean = false,
|
|
560
554
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
561
555
|
): Observable<any> {
|
|
562
|
-
const
|
|
563
|
-
if (
|
|
564
|
-
throw new Error('Required parameter
|
|
556
|
+
const requestBody = requestParameters?.requestBody;
|
|
557
|
+
if (requestBody === null || requestBody === undefined) {
|
|
558
|
+
throw new Error('Required parameter requestBody was null or undefined when calling httpPatchAiAssets.');
|
|
565
559
|
}
|
|
566
560
|
|
|
567
561
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -578,6 +572,13 @@ export class AIOperationsService extends BaseService {
|
|
|
578
572
|
|
|
579
573
|
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
580
574
|
|
|
575
|
+
// to determine the Content-Type header
|
|
576
|
+
const consumes: string[] = ['application/json'];
|
|
577
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
578
|
+
if (httpContentTypeSelected !== undefined) {
|
|
579
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
580
|
+
}
|
|
581
|
+
|
|
581
582
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
582
583
|
if (localVarHttpHeaderAcceptSelected) {
|
|
583
584
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -589,10 +590,11 @@ export class AIOperationsService extends BaseService {
|
|
|
589
590
|
}
|
|
590
591
|
}
|
|
591
592
|
|
|
592
|
-
let localVarPath = `/ai/assets
|
|
593
|
+
let localVarPath = `/ai/assets`;
|
|
593
594
|
const { basePath, withCredentials } = this.configuration;
|
|
594
|
-
return this.httpClient.request<
|
|
595
|
+
return this.httpClient.request<Array<AiAssetStatus>>('patch', `${basePath}${localVarPath}`, {
|
|
595
596
|
context: localVarHttpContext,
|
|
597
|
+
body: requestBody,
|
|
596
598
|
responseType: <any>responseType_,
|
|
597
599
|
...(withCredentials ? { withCredentials } : {}),
|
|
598
600
|
headers: localVarHeaders,
|
package/api/api.ts
CHANGED
|
@@ -36,6 +36,8 @@ export * from './downloadFormatManagement.agravity';
|
|
|
36
36
|
import { DownloadFormatManagementService } from './downloadFormatManagement.agravity';
|
|
37
37
|
export * from './downloadZip.agravity';
|
|
38
38
|
import { DownloadZipService } from './downloadZip.agravity';
|
|
39
|
+
export * from './featuresManagement.agravity';
|
|
40
|
+
import { FeaturesManagementService } from './featuresManagement.agravity';
|
|
39
41
|
export * from './generalManagement.agravity';
|
|
40
42
|
import { GeneralManagementService } from './generalManagement.agravity';
|
|
41
43
|
export * from './helperTools.agravity';
|
|
@@ -58,6 +60,8 @@ export * from './portalManagement.agravity';
|
|
|
58
60
|
import { PortalManagementService } from './portalManagement.agravity';
|
|
59
61
|
export * from './portalsUsersManagement.agravity';
|
|
60
62
|
import { PortalsUsersManagementService } from './portalsUsersManagement.agravity';
|
|
63
|
+
export * from './profilesManagement.agravity';
|
|
64
|
+
import { ProfilesManagementService } from './profilesManagement.agravity';
|
|
61
65
|
export * from './publishing.agravity';
|
|
62
66
|
import { PublishingService } from './publishing.agravity';
|
|
63
67
|
export * from './quickshareManagement.agravity';
|
|
@@ -108,6 +112,7 @@ export const APIS = [
|
|
|
108
112
|
DataImportExportManagementService,
|
|
109
113
|
DownloadFormatManagementService,
|
|
110
114
|
DownloadZipService,
|
|
115
|
+
FeaturesManagementService,
|
|
111
116
|
GeneralManagementService,
|
|
112
117
|
HelperToolsService,
|
|
113
118
|
HistoryEntryManagementService,
|
|
@@ -119,6 +124,7 @@ export const APIS = [
|
|
|
119
124
|
PermissionsManagementService,
|
|
120
125
|
PortalManagementService,
|
|
121
126
|
PortalsUsersManagementService,
|
|
127
|
+
ProfilesManagementService,
|
|
122
128
|
PublishingService,
|
|
123
129
|
QuickshareManagementService,
|
|
124
130
|
SavedSearchManagementService,
|
|
@@ -173,6 +173,8 @@ export interface HttpImageDynamicEditRequestParams {
|
|
|
173
173
|
id: string;
|
|
174
174
|
/** Operations to be performed on the image directly mapped to c# imagemagick sdk */
|
|
175
175
|
dynamicImageOperation: Array<DynamicImageOperation>;
|
|
176
|
+
/** If the file should have a specific naming. */
|
|
177
|
+
targetFilename?: string;
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
export interface HttpImageDynamicGetFromDownloadIdRequestParams {
|
|
@@ -1372,6 +1374,10 @@ export class AssetOperationsService extends BaseService {
|
|
|
1372
1374
|
if (dynamicImageOperation === null || dynamicImageOperation === undefined) {
|
|
1373
1375
|
throw new Error('Required parameter dynamicImageOperation was null or undefined when calling httpImageDynamicEdit.');
|
|
1374
1376
|
}
|
|
1377
|
+
const targetFilename = requestParameters?.targetFilename;
|
|
1378
|
+
|
|
1379
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1380
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>targetFilename, 'target_filename');
|
|
1375
1381
|
|
|
1376
1382
|
let localVarHeaders = this.defaultHeaders;
|
|
1377
1383
|
|
|
@@ -1399,6 +1405,7 @@ export class AssetOperationsService extends BaseService {
|
|
|
1399
1405
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1400
1406
|
context: localVarHttpContext,
|
|
1401
1407
|
body: dynamicImageOperation,
|
|
1408
|
+
params: localVarQueryParameters,
|
|
1402
1409
|
responseType: 'blob',
|
|
1403
1410
|
...(withCredentials ? { withCredentials } : {}),
|
|
1404
1411
|
headers: localVarHeaders,
|
|
@@ -23,6 +23,8 @@ import { AgravityUser } from '../model/agravityUser.agravity';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { AgravityUserDto } from '../model/agravityUserDto.agravity';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { Feature } from '../model/feature.agravity';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { SasToken } from '../model/sasToken.agravity';
|
|
27
29
|
|
|
28
30
|
// @ts-ignore
|
|
@@ -445,7 +447,7 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
445
447
|
}
|
|
446
448
|
|
|
447
449
|
/**
|
|
448
|
-
* This
|
|
450
|
+
* This gets the user information about an Agravity User (incl. Online Status). Only full information if requester and userId are the same or it has role Admin.
|
|
449
451
|
* @param requestParameters
|
|
450
452
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
451
453
|
* @param reportProgress flag to report request and response progress.
|
|
@@ -598,6 +600,69 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
598
600
|
});
|
|
599
601
|
}
|
|
600
602
|
|
|
603
|
+
/**
|
|
604
|
+
* This endpoint gets the agravity users allowed features.
|
|
605
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
606
|
+
* @param reportProgress flag to report request and response progress.
|
|
607
|
+
*/
|
|
608
|
+
public httpAuthGetAgravityUsersFeatures(
|
|
609
|
+
observe?: 'body',
|
|
610
|
+
reportProgress?: boolean,
|
|
611
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
612
|
+
): Observable<Array<Feature>>;
|
|
613
|
+
public httpAuthGetAgravityUsersFeatures(
|
|
614
|
+
observe?: 'response',
|
|
615
|
+
reportProgress?: boolean,
|
|
616
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
617
|
+
): Observable<HttpResponse<Array<Feature>>>;
|
|
618
|
+
public httpAuthGetAgravityUsersFeatures(
|
|
619
|
+
observe?: 'events',
|
|
620
|
+
reportProgress?: boolean,
|
|
621
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
622
|
+
): Observable<HttpEvent<Array<Feature>>>;
|
|
623
|
+
public httpAuthGetAgravityUsersFeatures(
|
|
624
|
+
observe: any = 'body',
|
|
625
|
+
reportProgress: boolean = false,
|
|
626
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
627
|
+
): Observable<any> {
|
|
628
|
+
let localVarHeaders = this.defaultHeaders;
|
|
629
|
+
|
|
630
|
+
// authentication (msal_auth) required
|
|
631
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
632
|
+
|
|
633
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
634
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
635
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
639
|
+
|
|
640
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
641
|
+
|
|
642
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
643
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
644
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
645
|
+
responseType_ = 'text';
|
|
646
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
647
|
+
responseType_ = 'json';
|
|
648
|
+
} else {
|
|
649
|
+
responseType_ = 'blob';
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
let localVarPath = `/auth/features`;
|
|
654
|
+
const { basePath, withCredentials } = this.configuration;
|
|
655
|
+
return this.httpClient.request<Array<Feature>>('get', `${basePath}${localVarPath}`, {
|
|
656
|
+
context: localVarHttpContext,
|
|
657
|
+
responseType: <any>responseType_,
|
|
658
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
659
|
+
headers: localVarHeaders,
|
|
660
|
+
observe: observe,
|
|
661
|
+
transferCache: localVarTransferCache,
|
|
662
|
+
reportProgress: reportProgress
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
|
|
601
666
|
/**
|
|
602
667
|
* This endpoint gets the ID of the application client.
|
|
603
668
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -25,7 +25,7 @@ import { EntityListResult } from '../model/entityListResult.agravity';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { EntityNamesRequest } from '../model/entityNamesRequest.agravity';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { NotificationSettingsEntry } from '../model/notificationSettingsEntry.agravity';
|
|
29
29
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -588,19 +588,19 @@ export class CollectionManagementService extends BaseService {
|
|
|
588
588
|
observe?: 'body',
|
|
589
589
|
reportProgress?: boolean,
|
|
590
590
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
591
|
-
): Observable<
|
|
591
|
+
): Observable<NotificationSettingsEntry>;
|
|
592
592
|
public httpCollectionsGetNotificationSettingsOfId(
|
|
593
593
|
requestParameters: HttpCollectionsGetNotificationSettingsOfIdRequestParams,
|
|
594
594
|
observe?: 'response',
|
|
595
595
|
reportProgress?: boolean,
|
|
596
596
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
597
|
-
): Observable<HttpResponse<
|
|
597
|
+
): Observable<HttpResponse<NotificationSettingsEntry>>;
|
|
598
598
|
public httpCollectionsGetNotificationSettingsOfId(
|
|
599
599
|
requestParameters: HttpCollectionsGetNotificationSettingsOfIdRequestParams,
|
|
600
600
|
observe?: 'events',
|
|
601
601
|
reportProgress?: boolean,
|
|
602
602
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
603
|
-
): Observable<HttpEvent<
|
|
603
|
+
): Observable<HttpEvent<NotificationSettingsEntry>>;
|
|
604
604
|
public httpCollectionsGetNotificationSettingsOfId(
|
|
605
605
|
requestParameters: HttpCollectionsGetNotificationSettingsOfIdRequestParams,
|
|
606
606
|
observe: any = 'body',
|
|
@@ -639,7 +639,7 @@ export class CollectionManagementService extends BaseService {
|
|
|
639
639
|
|
|
640
640
|
let localVarPath = `/collections/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/notificationsettings`;
|
|
641
641
|
const { basePath, withCredentials } = this.configuration;
|
|
642
|
-
return this.httpClient.request<
|
|
642
|
+
return this.httpClient.request<NotificationSettingsEntry>('get', `${basePath}${localVarPath}`, {
|
|
643
643
|
context: localVarHttpContext,
|
|
644
644
|
responseType: <any>responseType_,
|
|
645
645
|
...(withCredentials ? { withCredentials } : {}),
|