@agravity/public 8.1.0 → 8.1.2
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/public@8.1.
|
|
1
|
+
## @agravity/public@8.1.2
|
|
2
2
|
|
|
3
|
-
The version of the OpenAPI document: 8.1.
|
|
3
|
+
The version of the OpenAPI document: 8.1.2
|
|
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.1.
|
|
24
|
+
npm install @agravity/public@8.1.2 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -30,7 +30,7 @@ export interface HttpAssetUploadFileRequestParams {
|
|
|
30
30
|
/** The requested language of the response. If not matching it falls back to default language. */
|
|
31
31
|
acceptLanguage?: string;
|
|
32
32
|
name?: string;
|
|
33
|
-
|
|
33
|
+
collectionid?: string;
|
|
34
34
|
file?: Blob;
|
|
35
35
|
filename?: string;
|
|
36
36
|
previewof?: string;
|
|
@@ -207,7 +207,7 @@ export class PublicAssetManagementService {
|
|
|
207
207
|
): Observable<any> {
|
|
208
208
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
209
209
|
const name = requestParameters?.name;
|
|
210
|
-
const
|
|
210
|
+
const collectionid = requestParameters?.collectionid;
|
|
211
211
|
const file = requestParameters?.file;
|
|
212
212
|
const filename = requestParameters?.filename;
|
|
213
213
|
const previewof = requestParameters?.previewof;
|
|
@@ -264,8 +264,8 @@ export class PublicAssetManagementService {
|
|
|
264
264
|
if (name !== undefined) {
|
|
265
265
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
266
266
|
}
|
|
267
|
-
if (
|
|
268
|
-
localVarFormParams = (localVarFormParams.append('
|
|
267
|
+
if (collectionid !== undefined) {
|
|
268
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
269
269
|
}
|
|
270
270
|
if (file !== undefined) {
|
|
271
271
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -885,7 +885,7 @@ export class PublicAssetOperationsService {
|
|
|
885
885
|
|
|
886
886
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
887
887
|
if (shareId !== undefined && shareId !== null) {
|
|
888
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, '
|
|
888
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, 'share_id');
|
|
889
889
|
}
|
|
890
890
|
if (format !== undefined && format !== null) {
|
|
891
891
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>format, 'format');
|
|
@@ -32,7 +32,7 @@ export interface HttpAssetCreateUploadVersionRequestParams {
|
|
|
32
32
|
/** The ID of the asset. */
|
|
33
33
|
id: string;
|
|
34
34
|
name?: string;
|
|
35
|
-
|
|
35
|
+
collectionid?: string;
|
|
36
36
|
file?: Blob;
|
|
37
37
|
filename?: string;
|
|
38
38
|
previewof?: string;
|
|
@@ -197,7 +197,7 @@ export class PublicAssetVersioningService {
|
|
|
197
197
|
throw new Error('Required parameter id was null or undefined when calling httpAssetCreateUploadVersion.');
|
|
198
198
|
}
|
|
199
199
|
const name = requestParameters?.name;
|
|
200
|
-
const
|
|
200
|
+
const collectionid = requestParameters?.collectionid;
|
|
201
201
|
const file = requestParameters?.file;
|
|
202
202
|
const filename = requestParameters?.filename;
|
|
203
203
|
const previewof = requestParameters?.previewof;
|
|
@@ -251,8 +251,8 @@ export class PublicAssetVersioningService {
|
|
|
251
251
|
if (name !== undefined) {
|
|
252
252
|
localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
|
|
253
253
|
}
|
|
254
|
-
if (
|
|
255
|
-
localVarFormParams = (localVarFormParams.append('
|
|
254
|
+
if (collectionid !== undefined) {
|
|
255
|
+
localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
|
|
256
256
|
}
|
|
257
257
|
if (file !== undefined) {
|
|
258
258
|
localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
|
|
@@ -228,7 +228,7 @@ export class PublicDownloadFormatManagementService {
|
|
|
228
228
|
|
|
229
229
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
230
230
|
if (shareId !== undefined && shareId !== null) {
|
|
231
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, '
|
|
231
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>shareId, 'share_id');
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
let localVarHeaders = this.defaultHeaders;
|
package/package.json
CHANGED