@agravity/public 8.2.0 → 8.3.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 +11 -0
- package/README.md +3 -3
- package/api/publicPortalManagement.pub.agravity.ts +94 -0
- package/api/publicSearchManagement.pub.agravity.ts +12 -0
- package/configuration.ts +1 -1
- package/model/customClaimsProviderResponseAction.pub.agravity.ts +16 -0
- package/model/customClaimsProviderResponseAuthenticationContext.pub.agravity.ts +22 -0
- package/model/customClaimsProviderResponseClaims.pub.agravity.ts +15 -0
- package/model/customClaimsProviderResponseClient.pub.agravity.ts +16 -0
- package/model/customClaimsProviderResponseContent.pub.agravity.ts +16 -0
- package/model/customClaimsProviderResponseData.pub.agravity.ts +18 -0
- package/model/customClaimsProviderResponseServicePrincipal.pub.agravity.ts +17 -0
- package/model/customClaimsProviderResponseUser.pub.agravity.ts +26 -0
- package/model/models.ts +11 -0
- package/model/portal.pub.agravity.ts +10 -7
- package/model/portalAuthentication.pub.agravity.ts +28 -0
- package/model/portalConfiguration.pub.agravity.ts +10 -7
- package/model/portalFields.pub.agravity.ts +19 -0
- package/model/portalTheme.pub.agravity.ts +3 -2
- package/model/portalUserContext.pub.agravity.ts +17 -0
- package/model/portalZipRequest.pub.agravity.ts +1 -0
- package/model/sharedCollectionZipRequest.pub.agravity.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,14 @@ model/collectionUDL.pub.agravity.ts
|
|
|
49
49
|
model/collectionUDLListEntity.pub.agravity.ts
|
|
50
50
|
model/collectionUDLReference.pub.agravity.ts
|
|
51
51
|
model/createSftpUserResult.pub.agravity.ts
|
|
52
|
+
model/customClaimsProviderResponseAction.pub.agravity.ts
|
|
53
|
+
model/customClaimsProviderResponseAuthenticationContext.pub.agravity.ts
|
|
54
|
+
model/customClaimsProviderResponseClaims.pub.agravity.ts
|
|
55
|
+
model/customClaimsProviderResponseClient.pub.agravity.ts
|
|
56
|
+
model/customClaimsProviderResponseContent.pub.agravity.ts
|
|
57
|
+
model/customClaimsProviderResponseData.pub.agravity.ts
|
|
58
|
+
model/customClaimsProviderResponseServicePrincipal.pub.agravity.ts
|
|
59
|
+
model/customClaimsProviderResponseUser.pub.agravity.ts
|
|
52
60
|
model/dataResult.pub.agravity.ts
|
|
53
61
|
model/deletedEntities.pub.agravity.ts
|
|
54
62
|
model/distZipResponse.pub.agravity.ts
|
|
@@ -62,9 +70,12 @@ model/models.ts
|
|
|
62
70
|
model/moveCollectionBody.pub.agravity.ts
|
|
63
71
|
model/permissionEntity.pub.agravity.ts
|
|
64
72
|
model/portal.pub.agravity.ts
|
|
73
|
+
model/portalAuthentication.pub.agravity.ts
|
|
65
74
|
model/portalConfiguration.pub.agravity.ts
|
|
75
|
+
model/portalFields.pub.agravity.ts
|
|
66
76
|
model/portalLinks.pub.agravity.ts
|
|
67
77
|
model/portalTheme.pub.agravity.ts
|
|
78
|
+
model/portalUserContext.pub.agravity.ts
|
|
68
79
|
model/portalZipRequest.pub.agravity.ts
|
|
69
80
|
model/publishEntity.pub.agravity.ts
|
|
70
81
|
model/publishedAsset.pub.agravity.ts
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## @agravity/public@8.
|
|
1
|
+
## @agravity/public@8.3.0
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.
|
|
3
|
+
The version of the OpenAPI document: 8.3.0
|
|
4
4
|
|
|
5
5
|
### Building
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
21
|
_published:_
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
npm install @agravity/public@8.
|
|
24
|
+
npm install @agravity/public@8.3.0 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -18,6 +18,8 @@ import { Observable } from 'rxjs';
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import { CustomClaimsProviderResponseContent } from '../model/customClaimsProviderResponseContent.pub.agravity';
|
|
22
|
+
// @ts-ignore
|
|
21
23
|
import { Portal } from '../model/portal.pub.agravity';
|
|
22
24
|
// @ts-ignore
|
|
23
25
|
import { PortalConfiguration } from '../model/portalConfiguration.pub.agravity';
|
|
@@ -50,6 +52,10 @@ export interface HttpPortalRequestZipByIdRequestParams {
|
|
|
50
52
|
export interface HttpPortalsConfigurationGetByIdRequestParams {
|
|
51
53
|
/** The ID of the portal. */
|
|
52
54
|
id: string;
|
|
55
|
+
/** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
|
|
56
|
+
translations?: boolean;
|
|
57
|
+
/** The requested language of the response. If not matching it falls back to default language. */
|
|
58
|
+
acceptLanguage?: string;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
export interface HttpPortalsGetByIdRequestParams {
|
|
@@ -434,8 +440,18 @@ export class PublicPortalManagementService {
|
|
|
434
440
|
if (id === null || id === undefined) {
|
|
435
441
|
throw new Error('Required parameter id was null or undefined when calling httpPortalsConfigurationGetById.');
|
|
436
442
|
}
|
|
443
|
+
const translations = requestParameters?.translations;
|
|
444
|
+
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
445
|
+
|
|
446
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
447
|
+
if (translations !== undefined && translations !== null) {
|
|
448
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
449
|
+
}
|
|
437
450
|
|
|
438
451
|
let localVarHeaders = this.defaultHeaders;
|
|
452
|
+
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
453
|
+
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
454
|
+
}
|
|
439
455
|
|
|
440
456
|
let localVarCredential: string | undefined;
|
|
441
457
|
// authentication (function_key) required
|
|
@@ -477,6 +493,84 @@ export class PublicPortalManagementService {
|
|
|
477
493
|
|
|
478
494
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/config`;
|
|
479
495
|
return this.httpClient.request<PortalConfiguration>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
496
|
+
context: localVarHttpContext,
|
|
497
|
+
params: localVarQueryParameters,
|
|
498
|
+
responseType: <any>responseType_,
|
|
499
|
+
withCredentials: this.configuration.withCredentials,
|
|
500
|
+
headers: localVarHeaders,
|
|
501
|
+
observe: observe,
|
|
502
|
+
transferCache: localVarTransferCache,
|
|
503
|
+
reportProgress: reportProgress
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* This endpoint returns the portal user context.
|
|
509
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
510
|
+
* @param reportProgress flag to report request and response progress.
|
|
511
|
+
*/
|
|
512
|
+
public httpPortalsEnhanceToken(
|
|
513
|
+
observe?: 'body',
|
|
514
|
+
reportProgress?: boolean,
|
|
515
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
516
|
+
): Observable<CustomClaimsProviderResponseContent>;
|
|
517
|
+
public httpPortalsEnhanceToken(
|
|
518
|
+
observe?: 'response',
|
|
519
|
+
reportProgress?: boolean,
|
|
520
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
521
|
+
): Observable<HttpResponse<CustomClaimsProviderResponseContent>>;
|
|
522
|
+
public httpPortalsEnhanceToken(
|
|
523
|
+
observe?: 'events',
|
|
524
|
+
reportProgress?: boolean,
|
|
525
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
526
|
+
): Observable<HttpEvent<CustomClaimsProviderResponseContent>>;
|
|
527
|
+
public httpPortalsEnhanceToken(
|
|
528
|
+
observe: any = 'body',
|
|
529
|
+
reportProgress: boolean = false,
|
|
530
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
531
|
+
): Observable<any> {
|
|
532
|
+
let localVarHeaders = this.defaultHeaders;
|
|
533
|
+
|
|
534
|
+
let localVarCredential: string | undefined;
|
|
535
|
+
// authentication (function_key) required
|
|
536
|
+
localVarCredential = this.configuration.lookupCredential('function_key');
|
|
537
|
+
if (localVarCredential) {
|
|
538
|
+
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
542
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
543
|
+
// to determine the Accept header
|
|
544
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
545
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
546
|
+
}
|
|
547
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
548
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
552
|
+
if (localVarHttpContext === undefined) {
|
|
553
|
+
localVarHttpContext = new HttpContext();
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
557
|
+
if (localVarTransferCache === undefined) {
|
|
558
|
+
localVarTransferCache = true;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
562
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
563
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
564
|
+
responseType_ = 'text';
|
|
565
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
566
|
+
responseType_ = 'json';
|
|
567
|
+
} else {
|
|
568
|
+
responseType_ = 'blob';
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
let localVarPath = `/portalsenhancetoken`;
|
|
573
|
+
return this.httpClient.request<CustomClaimsProviderResponseContent>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
480
574
|
context: localVarHttpContext,
|
|
481
575
|
responseType: <any>responseType_,
|
|
482
576
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -41,6 +41,8 @@ export interface HttpGetSearchFacetteByNameRequestParams {
|
|
|
41
41
|
mode?: string;
|
|
42
42
|
/** Key value filter for filterable strings and string collections separated by special \',,,\'. For date or numbers \"<\", \"=\" and \">\" are possible. Mode influences AND (all) and OR (any) of all filters. Multiple filters are separated by semicolons. (Only if Azure Search is enabled) */
|
|
43
43
|
filter?: string;
|
|
44
|
+
/** Colon separated key value filter for additional scopes. It applies the same conventions as for filter parameter. */
|
|
45
|
+
scopefilter?: string;
|
|
44
46
|
/** Comma separated values list with all ids which should be returned. */
|
|
45
47
|
ids?: string;
|
|
46
48
|
/** If the search should be redirected to a specific portal. */
|
|
@@ -64,6 +66,8 @@ export interface HttpGlobalSearchRequestParams {
|
|
|
64
66
|
expose?: boolean;
|
|
65
67
|
/** Colon separated key value filter for filterable strings and string collections. For date or numbers \"<\", \"=\" and \">\" are possible. Mode influences AND (all) and OR (any) of all filters. Multiple filters are separated by semicolons. (Only if Azure Search is enabled) */
|
|
66
68
|
filter?: string;
|
|
69
|
+
/** Colon separated key value filter for additional scopes. It applies the same conventions as for filter parameter. */
|
|
70
|
+
scopefilter?: string;
|
|
67
71
|
/** Sortable fields can be used. For descendant sorting use leading \"!\". (Only if Azure Search is enabled) */
|
|
68
72
|
orderby?: string;
|
|
69
73
|
/** Comma separated values list with all ids which should be returned. */
|
|
@@ -189,6 +193,7 @@ export class PublicSearchManagementService {
|
|
|
189
193
|
const collectionid = requestParameters?.collectionid;
|
|
190
194
|
const mode = requestParameters?.mode;
|
|
191
195
|
const filter = requestParameters?.filter;
|
|
196
|
+
const scopefilter = requestParameters?.scopefilter;
|
|
192
197
|
const ids = requestParameters?.ids;
|
|
193
198
|
const portalId = requestParameters?.portalId;
|
|
194
199
|
|
|
@@ -211,6 +216,9 @@ export class PublicSearchManagementService {
|
|
|
211
216
|
if (filter !== undefined && filter !== null) {
|
|
212
217
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
|
|
213
218
|
}
|
|
219
|
+
if (scopefilter !== undefined && scopefilter !== null) {
|
|
220
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>scopefilter, 'scopefilter');
|
|
221
|
+
}
|
|
214
222
|
if (ids !== undefined && ids !== null) {
|
|
215
223
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>ids, 'ids');
|
|
216
224
|
}
|
|
@@ -312,6 +320,7 @@ export class PublicSearchManagementService {
|
|
|
312
320
|
const mode = requestParameters?.mode;
|
|
313
321
|
const expose = requestParameters?.expose;
|
|
314
322
|
const filter = requestParameters?.filter;
|
|
323
|
+
const scopefilter = requestParameters?.scopefilter;
|
|
315
324
|
const orderby = requestParameters?.orderby;
|
|
316
325
|
const ids = requestParameters?.ids;
|
|
317
326
|
const portalId = requestParameters?.portalId;
|
|
@@ -343,6 +352,9 @@ export class PublicSearchManagementService {
|
|
|
343
352
|
if (filter !== undefined && filter !== null) {
|
|
344
353
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
|
|
345
354
|
}
|
|
355
|
+
if (scopefilter !== undefined && scopefilter !== null) {
|
|
356
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>scopefilter, 'scopefilter');
|
|
357
|
+
}
|
|
346
358
|
if (orderby !== undefined && orderby !== null) {
|
|
347
359
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>orderby, 'orderby');
|
|
348
360
|
}
|
package/configuration.ts
CHANGED
|
@@ -146,7 +146,7 @@ export class AgravityPublicConfiguration {
|
|
|
146
146
|
* @return True if the given MIME is JSON, false otherwise.
|
|
147
147
|
*/
|
|
148
148
|
public isJsonMime(mime: string): boolean {
|
|
149
|
-
const jsonMime: RegExp = new RegExp('^(application
|
|
149
|
+
const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
150
150
|
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { CustomClaimsProviderResponseClaims } from './customClaimsProviderResponseClaims.pub.agravity';
|
|
12
|
+
|
|
13
|
+
export interface CustomClaimsProviderResponseAction {
|
|
14
|
+
odata_type?: string | null;
|
|
15
|
+
claims?: CustomClaimsProviderResponseClaims | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { CustomClaimsProviderResponseUser } from './customClaimsProviderResponseUser.pub.agravity';
|
|
12
|
+
import { CustomClaimsProviderResponseClient } from './customClaimsProviderResponseClient.pub.agravity';
|
|
13
|
+
import { CustomClaimsProviderResponseServicePrincipal } from './customClaimsProviderResponseServicePrincipal.pub.agravity';
|
|
14
|
+
|
|
15
|
+
export interface CustomClaimsProviderResponseAuthenticationContext {
|
|
16
|
+
user?: CustomClaimsProviderResponseUser;
|
|
17
|
+
correlationId?: string;
|
|
18
|
+
client?: CustomClaimsProviderResponseClient;
|
|
19
|
+
protocol?: string;
|
|
20
|
+
clientServicePrincipal?: CustomClaimsProviderResponseServicePrincipal;
|
|
21
|
+
resourceServicePrincipal?: CustomClaimsProviderResponseServicePrincipal;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface CustomClaimsProviderResponseClaims {
|
|
13
|
+
userContext?: Array<string> | null;
|
|
14
|
+
role?: string | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface CustomClaimsProviderResponseClient {
|
|
13
|
+
ip?: string;
|
|
14
|
+
locale?: string;
|
|
15
|
+
market?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { CustomClaimsProviderResponseData } from './customClaimsProviderResponseData.pub.agravity';
|
|
12
|
+
|
|
13
|
+
export interface CustomClaimsProviderResponseContent {
|
|
14
|
+
data?: CustomClaimsProviderResponseData | null;
|
|
15
|
+
source?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { CustomClaimsProviderResponseAuthenticationContext } from './customClaimsProviderResponseAuthenticationContext.pub.agravity';
|
|
12
|
+
import { CustomClaimsProviderResponseAction } from './customClaimsProviderResponseAction.pub.agravity';
|
|
13
|
+
|
|
14
|
+
export interface CustomClaimsProviderResponseData {
|
|
15
|
+
odata_type?: string | null;
|
|
16
|
+
actions?: Array<CustomClaimsProviderResponseAction> | null;
|
|
17
|
+
authenticationContext?: CustomClaimsProviderResponseAuthenticationContext | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface CustomClaimsProviderResponseServicePrincipal {
|
|
13
|
+
id?: string;
|
|
14
|
+
appId?: string;
|
|
15
|
+
appDisplayName?: string;
|
|
16
|
+
displayName?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface CustomClaimsProviderResponseUser {
|
|
13
|
+
companyName?: string;
|
|
14
|
+
createdDateTime?: string;
|
|
15
|
+
displayName?: string;
|
|
16
|
+
givenName?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
mail?: string;
|
|
19
|
+
onPremisesSamAccountName?: string;
|
|
20
|
+
onPremisesSecurityIdentifier?: string;
|
|
21
|
+
onPremisesUserPrincipalName?: string;
|
|
22
|
+
preferredLanguage?: string;
|
|
23
|
+
surname?: string;
|
|
24
|
+
userPrincipalName?: string;
|
|
25
|
+
userType?: string;
|
|
26
|
+
}
|
package/model/models.ts
CHANGED
|
@@ -17,6 +17,14 @@ export * from './collectionUDL.pub.agravity';
|
|
|
17
17
|
export * from './collectionUDLListEntity.pub.agravity';
|
|
18
18
|
export * from './collectionUDLReference.pub.agravity';
|
|
19
19
|
export * from './createSftpUserResult.pub.agravity';
|
|
20
|
+
export * from './customClaimsProviderResponseAction.pub.agravity';
|
|
21
|
+
export * from './customClaimsProviderResponseAuthenticationContext.pub.agravity';
|
|
22
|
+
export * from './customClaimsProviderResponseClaims.pub.agravity';
|
|
23
|
+
export * from './customClaimsProviderResponseClient.pub.agravity';
|
|
24
|
+
export * from './customClaimsProviderResponseContent.pub.agravity';
|
|
25
|
+
export * from './customClaimsProviderResponseData.pub.agravity';
|
|
26
|
+
export * from './customClaimsProviderResponseServicePrincipal.pub.agravity';
|
|
27
|
+
export * from './customClaimsProviderResponseUser.pub.agravity';
|
|
20
28
|
export * from './dataResult.pub.agravity';
|
|
21
29
|
export * from './deletedEntities.pub.agravity';
|
|
22
30
|
export * from './distZipResponse.pub.agravity';
|
|
@@ -29,9 +37,12 @@ export * from './groupAllAppData.pub.agravity';
|
|
|
29
37
|
export * from './moveCollectionBody.pub.agravity';
|
|
30
38
|
export * from './permissionEntity.pub.agravity';
|
|
31
39
|
export * from './portal.pub.agravity';
|
|
40
|
+
export * from './portalAuthentication.pub.agravity';
|
|
32
41
|
export * from './portalConfiguration.pub.agravity';
|
|
42
|
+
export * from './portalFields.pub.agravity';
|
|
33
43
|
export * from './portalLinks.pub.agravity';
|
|
34
44
|
export * from './portalTheme.pub.agravity';
|
|
45
|
+
export * from './portalUserContext.pub.agravity';
|
|
35
46
|
export * from './portalZipRequest.pub.agravity';
|
|
36
47
|
export * from './publishEntity.pub.agravity';
|
|
37
48
|
export * from './publishedAsset.pub.agravity';
|
|
@@ -10,21 +10,24 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { SharedAllowedFormat } from './sharedAllowedFormat.pub.agravity';
|
|
12
12
|
import { AssetIconRule } from './assetIconRule.pub.agravity';
|
|
13
|
+
import { PortalAuthentication } from './portalAuthentication.pub.agravity';
|
|
14
|
+
import { PortalFields } from './portalFields.pub.agravity';
|
|
13
15
|
import { PortalLinks } from './portalLinks.pub.agravity';
|
|
14
16
|
import { PortalTheme } from './portalTheme.pub.agravity';
|
|
15
17
|
|
|
16
18
|
export interface Portal {
|
|
17
19
|
id?: string | null;
|
|
18
20
|
entity_type?: string | null;
|
|
19
|
-
|
|
21
|
+
authentication?: PortalAuthentication | null;
|
|
20
22
|
languages?: string | null;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
metadata?: Array<string> | null;
|
|
24
|
-
facettes?: Array<string> | null;
|
|
25
|
-
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
26
|
-
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
23
|
+
fields?: Array<PortalFields> | null;
|
|
24
|
+
filter?: string | null;
|
|
27
25
|
limit_ids?: Array<string> | null;
|
|
26
|
+
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
27
|
+
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
28
|
+
allowed_origins?: Array<string> | null;
|
|
29
|
+
links?: PortalLinks | null;
|
|
30
|
+
theme?: PortalTheme | null;
|
|
28
31
|
name?: string | null;
|
|
29
32
|
description?: string | null;
|
|
30
33
|
add_properties?: { [key: string]: any } | null;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface PortalAuthentication {
|
|
13
|
+
method?: PortalAuthentication.MethodEnum;
|
|
14
|
+
issuer?: string | null;
|
|
15
|
+
client_id?: string | null;
|
|
16
|
+
tenant_id?: string | null;
|
|
17
|
+
password?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export namespace PortalAuthentication {
|
|
20
|
+
export type MethodEnum = 'UNDEFINED' | 'NONE' | 'PASSWORD' | 'EEID' | 'AUTH0';
|
|
21
|
+
export const MethodEnum = {
|
|
22
|
+
Undefined: 'UNDEFINED' as MethodEnum,
|
|
23
|
+
None: 'NONE' as MethodEnum,
|
|
24
|
+
Password: 'PASSWORD' as MethodEnum,
|
|
25
|
+
Eeid: 'EEID' as MethodEnum,
|
|
26
|
+
Auth0: 'AUTH0' as MethodEnum
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -13,7 +13,9 @@ import { CollTypeItem } from './collTypeItem.pub.agravity';
|
|
|
13
13
|
import { SharedAllowedFormat } from './sharedAllowedFormat.pub.agravity';
|
|
14
14
|
import { AssetIconRule } from './assetIconRule.pub.agravity';
|
|
15
15
|
import { FrontendAppConfig } from './frontendAppConfig.pub.agravity';
|
|
16
|
+
import { PortalAuthentication } from './portalAuthentication.pub.agravity';
|
|
16
17
|
import { CollectionUDL } from './collectionUDL.pub.agravity';
|
|
18
|
+
import { PortalFields } from './portalFields.pub.agravity';
|
|
17
19
|
import { PortalLinks } from './portalLinks.pub.agravity';
|
|
18
20
|
import { PortalTheme } from './portalTheme.pub.agravity';
|
|
19
21
|
import { StaticDefinedList } from './staticDefinedList.pub.agravity';
|
|
@@ -26,15 +28,16 @@ export interface PortalConfiguration {
|
|
|
26
28
|
configs?: Array<FrontendAppConfig> | null;
|
|
27
29
|
id?: string | null;
|
|
28
30
|
entity_type?: string | null;
|
|
29
|
-
|
|
31
|
+
authentication?: PortalAuthentication | null;
|
|
30
32
|
languages?: string | null;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
metadata?: Array<string> | null;
|
|
34
|
-
facettes?: Array<string> | null;
|
|
35
|
-
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
36
|
-
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
33
|
+
fields?: Array<PortalFields> | null;
|
|
34
|
+
filter?: string | null;
|
|
37
35
|
limit_ids?: Array<string> | null;
|
|
36
|
+
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
37
|
+
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
38
|
+
allowed_origins?: Array<string> | null;
|
|
39
|
+
links?: PortalLinks | null;
|
|
40
|
+
theme?: PortalTheme | null;
|
|
38
41
|
name?: string | null;
|
|
39
42
|
description?: string | null;
|
|
40
43
|
add_properties?: { [key: string]: any } | null;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import { PortalUserContext } from './portalUserContext.pub.agravity';
|
|
12
|
+
|
|
13
|
+
export interface PortalFields {
|
|
14
|
+
name?: string | null;
|
|
15
|
+
detail_order?: number | null;
|
|
16
|
+
facet_order?: number | null;
|
|
17
|
+
labels?: { [key: string]: string } | null;
|
|
18
|
+
user_context?: PortalUserContext | null;
|
|
19
|
+
}
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface PortalTheme {
|
|
13
|
-
background_url?: string | null;
|
|
14
13
|
logo_url?: string | null;
|
|
15
|
-
colors?: { [key: string]: object } | null;
|
|
16
14
|
topbar_color?: string | null;
|
|
15
|
+
background_url?: string | null;
|
|
16
|
+
fav_icon?: string | null;
|
|
17
17
|
icon_empty?: string | null;
|
|
18
18
|
icon_active?: string | null;
|
|
19
|
+
colors?: { [key: string]: object } | null;
|
|
19
20
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Public Functions
|
|
3
|
+
* <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
|
+
*
|
|
5
|
+
* Contact: office@agravity.io
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface PortalUserContext {
|
|
13
|
+
key?: string | null;
|
|
14
|
+
mandatory?: boolean | null;
|
|
15
|
+
mapping?: { [key: string]: string } | null;
|
|
16
|
+
options?: Array<string> | null;
|
|
17
|
+
}
|
|
@@ -14,6 +14,7 @@ import { AgravityErrorResponse } from './agravityErrorResponse.pub.agravity';
|
|
|
14
14
|
export interface PortalZipRequest {
|
|
15
15
|
zip_type?: string | null;
|
|
16
16
|
portal_id?: string | null;
|
|
17
|
+
language?: string | null;
|
|
17
18
|
asset_ids?: Array<string> | null;
|
|
18
19
|
id?: string | null;
|
|
19
20
|
entity_type?: string | null;
|
|
@@ -14,6 +14,7 @@ import { AgravityErrorResponse } from './agravityErrorResponse.pub.agravity';
|
|
|
14
14
|
export interface SharedCollectionZipRequest {
|
|
15
15
|
sharedcoll_id?: string | null;
|
|
16
16
|
password?: string | null;
|
|
17
|
+
language?: string | null;
|
|
17
18
|
id?: string | null;
|
|
18
19
|
entity_type?: string | null;
|
|
19
20
|
zip_type?: string | null;
|
package/package.json
CHANGED