@agravity/private 8.0.0 → 8.1.1
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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## @agravity/private@8.
|
|
1
|
+
## @agravity/private@8.1.1
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.
|
|
3
|
+
The version of the OpenAPI document: 8.1.1
|
|
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/private@8.
|
|
24
|
+
npm install @agravity/private@8.1.1 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -34,7 +34,7 @@ export interface HttpAssetUploadFileRequestParams {
|
|
|
34
34
|
/** The requested language of the response. If not matching it falls back to default language. */
|
|
35
35
|
acceptLanguage?: string;
|
|
36
36
|
name?: string;
|
|
37
|
-
|
|
37
|
+
collectionid?: string;
|
|
38
38
|
file?: Blob;
|
|
39
39
|
filename?: string;
|
|
40
40
|
previewof?: string;
|
|
@@ -245,7 +245,7 @@ export class AssetManagementService {
|
|
|
245
245
|
): Observable<any> {
|
|
246
246
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
247
247
|
const name = requestParameters?.name;
|
|
248
|
-
const
|
|
248
|
+
const collectionid = requestParameters?.collectionid;
|
|
249
249
|
const file = requestParameters?.file;
|
|
250
250
|
const filename = requestParameters?.filename;
|
|
251
251
|
const previewof = requestParameters?.previewof;
|
|
@@ -295,8 +295,8 @@ export class AssetManagementService {
|
|
|
295
295
|
if (name !== undefined) {
|
|
296
296
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
297
297
|
}
|
|
298
|
-
if (
|
|
299
|
-
localVarFormParams = (localVarFormParams.append('
|
|
298
|
+
if (collectionid !== undefined) {
|
|
299
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
300
300
|
}
|
|
301
301
|
if (file !== undefined) {
|
|
302
302
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -39,7 +39,7 @@ export interface HttpAssetCreateUploadVersionRequestParams {
|
|
|
39
39
|
/** The ID of the asset. */
|
|
40
40
|
id: string;
|
|
41
41
|
name?: string;
|
|
42
|
-
|
|
42
|
+
collectionid?: string;
|
|
43
43
|
file?: Blob;
|
|
44
44
|
filename?: string;
|
|
45
45
|
previewof?: string;
|
|
@@ -306,7 +306,7 @@ export class AssetVersioningService {
|
|
|
306
306
|
throw new Error('Required parameter id was null or undefined when calling httpAssetCreateUploadVersion.');
|
|
307
307
|
}
|
|
308
308
|
const name = requestParameters?.name;
|
|
309
|
-
const
|
|
309
|
+
const collectionid = requestParameters?.collectionid;
|
|
310
310
|
const file = requestParameters?.file;
|
|
311
311
|
const filename = requestParameters?.filename;
|
|
312
312
|
const previewof = requestParameters?.previewof;
|
|
@@ -360,8 +360,8 @@ export class AssetVersioningService {
|
|
|
360
360
|
if (name !== undefined) {
|
|
361
361
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
362
362
|
}
|
|
363
|
-
if (
|
|
364
|
-
localVarFormParams = (localVarFormParams.append('
|
|
363
|
+
if (collectionid !== undefined) {
|
|
364
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
365
365
|
}
|
|
366
366
|
if (file !== undefined) {
|
|
367
367
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -50,6 +50,8 @@ export interface HttpSharedCollectionsGetByIdRequestParams {
|
|
|
50
50
|
limit?: number;
|
|
51
51
|
/** How the return assets are sorted. Default is property: created_date (newest first). */
|
|
52
52
|
orderby?: string;
|
|
53
|
+
/** The requested language of the response. If not matching it falls back to default language. */
|
|
54
|
+
acceptLanguage?: string;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
@Injectable({
|
|
@@ -427,6 +429,7 @@ export class CollectionShareManagementService {
|
|
|
427
429
|
const continuationToken = requestParameters?.continuationToken;
|
|
428
430
|
const limit = requestParameters?.limit;
|
|
429
431
|
const orderby = requestParameters?.orderby;
|
|
432
|
+
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
430
433
|
|
|
431
434
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
432
435
|
if (continuationToken !== undefined && continuationToken !== null) {
|
|
@@ -440,6 +443,9 @@ export class CollectionShareManagementService {
|
|
|
440
443
|
}
|
|
441
444
|
|
|
442
445
|
let localVarHeaders = this.defaultHeaders;
|
|
446
|
+
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
447
|
+
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
448
|
+
}
|
|
443
449
|
|
|
444
450
|
let localVarCredential: string | undefined;
|
|
445
451
|
// authentication (msal_auth) required
|
|
@@ -17,11 +17,12 @@ export interface AzureIdentity {
|
|
|
17
17
|
ident_type?: AzureIdentity.IdentTypeEnum | null;
|
|
18
18
|
}
|
|
19
19
|
export namespace AzureIdentity {
|
|
20
|
-
export type IdentTypeEnum = 'USER' | 'GROUP' | 'APIKEY' | 'PORTAL';
|
|
20
|
+
export type IdentTypeEnum = 'USER' | 'GROUP' | 'APIKEY' | 'PORTAL' | 'SHARED';
|
|
21
21
|
export const IdentTypeEnum = {
|
|
22
22
|
User: 'USER' as IdentTypeEnum,
|
|
23
23
|
Group: 'GROUP' as IdentTypeEnum,
|
|
24
24
|
Apikey: 'APIKEY' as IdentTypeEnum,
|
|
25
|
-
Portal: 'PORTAL' as IdentTypeEnum
|
|
25
|
+
Portal: 'PORTAL' as IdentTypeEnum,
|
|
26
|
+
Shared: 'SHARED' as IdentTypeEnum
|
|
26
27
|
};
|
|
27
28
|
}
|
package/model/portal.agravity.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import { SharedAllowedFormat } from './sharedAllowedFormat.agravity';
|
|
12
|
+
import { AssetIconRule } from './assetIconRule.agravity';
|
|
12
13
|
import { PortalLinks } from './portalLinks.agravity';
|
|
13
14
|
import { PortalTheme } from './portalTheme.agravity';
|
|
14
15
|
|
|
@@ -21,6 +22,7 @@ export interface Portal {
|
|
|
21
22
|
links?: PortalLinks | null;
|
|
22
23
|
metadata?: Array<string> | null;
|
|
23
24
|
facettes?: Array<string> | null;
|
|
25
|
+
asset_icon_rules?: Array<AssetIconRule> | null;
|
|
24
26
|
allowed_formats?: Array<SharedAllowedFormat> | null;
|
|
25
27
|
limit_ids?: Array<string> | null;
|
|
26
28
|
name?: string | null;
|
package/package.json
CHANGED