@agravity/private 8.0.0 → 8.1.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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## @agravity/private@8.
|
|
1
|
+
## @agravity/private@8.1.0
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.
|
|
3
|
+
The version of the OpenAPI document: 8.1.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/private@8.
|
|
24
|
+
npm install @agravity/private@8.1.0 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -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
|
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