@brightinteractive/platform-api 0.1.0 → 0.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/api/accountSecurity.service.d.ts +53 -0
- package/api/accounts.service.d.ts +41 -3
- package/api/api.d.ts +49 -1
- package/api/assetComments.service.d.ts +97 -0
- package/api/assetDeduplication.service.d.ts +35 -0
- package/api/assetDownloadEvents.service.d.ts +0 -3
- package/api/assetEmbeddableLinks.service.d.ts +19 -12
- package/api/assetMetadataExport.service.d.ts +94 -0
- package/api/assetSavedCropAreaSummaries.service.d.ts +21 -3
- package/api/assetSavedCropAreas.service.d.ts +0 -12
- package/api/assetShareAccessTokens.service.d.ts +0 -3
- package/api/assetShareEmails.service.d.ts +0 -3
- package/api/assetShares.service.d.ts +21 -12
- package/api/assets.service.d.ts +80 -51
- package/api/autoTaggingImageSettings.service.d.ts +53 -0
- package/api/cloudConnections.service.d.ts +111 -0
- package/api/cloudImportJobs.service.d.ts +115 -0
- package/api/cloudObjects.service.d.ts +57 -0
- package/api/collectionShareAccessTokens.service.d.ts +0 -3
- package/api/collectionShares.service.d.ts +20 -15
- package/api/collections.service.d.ts +0 -9
- package/api/corebook.service.d.ts +0 -6
- package/api/custom.service.d.ts +0 -12
- package/api/externalApp.service.d.ts +76 -0
- package/api/fieldOptionImages.service.d.ts +76 -0
- package/api/fieldOptions.service.d.ts +0 -15
- package/api/fieldViews.service.d.ts +0 -3
- package/api/fields.service.d.ts +0 -9
- package/api/folderSettings.service.d.ts +0 -3
- package/api/groups.service.d.ts +0 -3
- package/api/guestUploadAccessTokens.service.d.ts +37 -0
- package/api/guestUploadEmails.service.d.ts +36 -0
- package/api/guestUploads.service.d.ts +117 -0
- package/api/onboardingChecklist.service.d.ts +53 -0
- package/api/ping.service.d.ts +34 -0
- package/api/portalAccessTokens.service.d.ts +0 -3
- package/api/portalEmails.service.d.ts +0 -3
- package/api/portals.service.d.ts +0 -15
- package/api/presetTransformations.service.d.ts +39 -3
- package/api/publiclyAvailableGuestUploadData.service.d.ts +37 -0
- package/api/publiclyAvailablePortalDatas.service.d.ts +37 -0
- package/api/savedSearch.service.d.ts +0 -3
- package/api/savedSearches.service.d.ts +0 -12
- package/api/searchFilters.service.d.ts +19 -3
- package/api/shopify.service.d.ts +102 -0
- package/api/staffMembers.service.d.ts +74 -0
- package/api/subdomains.service.d.ts +0 -3
- package/api/subscription.service.d.ts +152 -0
- package/api/textInImageSettings.service.d.ts +53 -0
- package/api/theme.service.d.ts +132 -3
- package/api/userPreferences.service.d.ts +55 -0
- package/api/userReferrer.service.d.ts +35 -0
- package/api/users.service.d.ts +241 -9
- package/api/wordPress.service.d.ts +89 -0
- package/esm2022/api/accountSecurity.service.mjs +198 -0
- package/esm2022/api/accounts.service.mjs +117 -9
- package/esm2022/api/api.mjs +50 -2
- package/esm2022/api/assetComments.service.mjs +312 -0
- package/esm2022/api/assetDeduplication.service.mjs +141 -0
- package/esm2022/api/assetDownloadEvents.service.mjs +3 -9
- package/esm2022/api/assetEmbeddableLinks.service.mjs +51 -24
- package/esm2022/api/assetMetadataExport.service.mjs +297 -0
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +60 -9
- package/esm2022/api/assetSavedCropAreas.service.mjs +3 -24
- package/esm2022/api/assetShareAccessTokens.service.mjs +3 -9
- package/esm2022/api/assetShareEmails.service.mjs +3 -9
- package/esm2022/api/assetShares.service.mjs +60 -24
- package/esm2022/api/assets.service.mjs +222 -89
- package/esm2022/api/autoTaggingImageSettings.service.mjs +198 -0
- package/esm2022/api/cloudConnections.service.mjs +333 -0
- package/esm2022/api/cloudImportJobs.service.mjs +359 -0
- package/esm2022/api/cloudObjects.service.mjs +204 -0
- package/esm2022/api/collectionShareAccessTokens.service.mjs +3 -9
- package/esm2022/api/collectionShares.service.mjs +60 -29
- package/esm2022/api/collections.service.mjs +3 -19
- package/esm2022/api/corebook.service.mjs +3 -14
- package/esm2022/api/custom.service.mjs +3 -24
- package/esm2022/api/externalApp.service.mjs +267 -0
- package/esm2022/api/fieldOptionImages.service.mjs +258 -0
- package/esm2022/api/fieldOptions.service.mjs +3 -29
- package/esm2022/api/fieldViews.service.mjs +3 -9
- package/esm2022/api/fields.service.mjs +3 -19
- package/esm2022/api/folderSettings.service.mjs +3 -9
- package/esm2022/api/groups.service.mjs +3 -9
- package/esm2022/api/guestUploadAccessTokens.service.mjs +147 -0
- package/esm2022/api/guestUploadEmails.service.mjs +153 -0
- package/esm2022/api/guestUploads.service.mjs +366 -0
- package/esm2022/api/onboardingChecklist.service.mjs +198 -0
- package/esm2022/api/ping.service.mjs +135 -0
- package/esm2022/api/portalAccessTokens.service.mjs +3 -9
- package/esm2022/api/portalEmails.service.mjs +3 -9
- package/esm2022/api/portals.service.mjs +3 -29
- package/esm2022/api/presetTransformations.service.mjs +105 -9
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +147 -0
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +147 -0
- package/esm2022/api/savedSearch.service.mjs +3 -9
- package/esm2022/api/savedSearches.service.mjs +3 -24
- package/esm2022/api/searchFilters.service.mjs +48 -9
- package/esm2022/api/shopify.service.mjs +320 -0
- package/esm2022/api/staffMembers.service.mjs +246 -0
- package/esm2022/api/subdomains.service.mjs +3 -9
- package/esm2022/api/subscription.service.mjs +441 -0
- package/esm2022/api/textInImageSettings.service.mjs +198 -0
- package/esm2022/api/theme.service.mjs +342 -9
- package/esm2022/api/userPreferences.service.mjs +198 -0
- package/esm2022/api/userReferrer.service.mjs +141 -0
- package/esm2022/api/users.service.mjs +643 -23
- package/esm2022/api/wordPress.service.mjs +300 -0
- package/esm2022/model/account.mjs +1 -1
- package/esm2022/model/accountRequest.mjs +1 -1
- package/esm2022/model/accountRequestAttribution.mjs +13 -0
- package/esm2022/model/assetFile.mjs +1 -1
- package/esm2022/model/assetFileDimensions.mjs +13 -0
- package/esm2022/model/assetFileGpsLocation.mjs +13 -0
- package/esm2022/model/cloudObjectPagedSearch.mjs +1 -1
- package/esm2022/model/cloudObjectPagedSearchNextPage.mjs +2 -0
- package/esm2022/model/fieldOption.mjs +1 -1
- package/esm2022/model/fieldOptionParent.mjs +2 -0
- package/esm2022/model/models.mjs +9 -1
- package/esm2022/model/portalPatchRequest.mjs +1 -1
- package/esm2022/model/portalPatchRequestWelcomeMessage.mjs +13 -0
- package/esm2022/model/userPreferences.mjs +1 -1
- package/esm2022/model/userPreferencesDefaultSort.mjs +2 -0
- package/esm2022/model/userPreferencesPatchRequest.mjs +1 -1
- package/esm2022/model/userPreferencesPatchRequestDefaultSort.mjs +2 -0
- package/fesm2022/brightinteractive-platform-api.mjs +8964 -2178
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/account.d.ts +2 -2
- package/model/accountRequest.d.ts +2 -2
- package/model/accountRequestAttribution.d.ts +15 -0
- package/model/assetFile.d.ts +4 -16
- package/model/assetFileDimensions.d.ts +24 -0
- package/model/assetFileGpsLocation.d.ts +24 -0
- package/model/cloudObjectPagedSearch.d.ts +2 -2
- package/model/cloudObjectPagedSearchNextPage.d.ts +27 -0
- package/model/fieldOption.d.ts +2 -5
- package/model/fieldOptionParent.d.ts +23 -0
- package/model/models.d.ts +8 -0
- package/model/portalPatchRequest.d.ts +2 -2
- package/model/portalPatchRequestWelcomeMessage.d.ts +21 -0
- package/model/userPreferences.d.ts +2 -2
- package/model/userPreferencesDefaultSort.d.ts +19 -0
- package/model/userPreferencesPatchRequest.d.ts +2 -2
- package/model/userPreferencesPatchRequestDefaultSort.d.ts +15 -0
- package/package.json +1 -1
|
@@ -24,17 +24,14 @@ export declare class AssetSavedCropAreasService {
|
|
|
24
24
|
deleteSavedCropArea(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
25
|
httpHeaderAccept?: 'application/json';
|
|
26
26
|
context?: HttpContext;
|
|
27
|
-
transferCache?: boolean;
|
|
28
27
|
}): Observable<any>;
|
|
29
28
|
deleteSavedCropArea(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
29
|
httpHeaderAccept?: 'application/json';
|
|
31
30
|
context?: HttpContext;
|
|
32
|
-
transferCache?: boolean;
|
|
33
31
|
}): Observable<HttpResponse<any>>;
|
|
34
32
|
deleteSavedCropArea(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
33
|
httpHeaderAccept?: 'application/json';
|
|
36
34
|
context?: HttpContext;
|
|
37
|
-
transferCache?: boolean;
|
|
38
35
|
}): Observable<HttpEvent<any>>;
|
|
39
36
|
/**
|
|
40
37
|
* Get a saved crop area
|
|
@@ -46,17 +43,14 @@ export declare class AssetSavedCropAreasService {
|
|
|
46
43
|
getSavedCropArea(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
44
|
httpHeaderAccept?: 'application/json';
|
|
48
45
|
context?: HttpContext;
|
|
49
|
-
transferCache?: boolean;
|
|
50
46
|
}): Observable<SavedCropAreaWithPermittedActions>;
|
|
51
47
|
getSavedCropArea(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
48
|
httpHeaderAccept?: 'application/json';
|
|
53
49
|
context?: HttpContext;
|
|
54
|
-
transferCache?: boolean;
|
|
55
50
|
}): Observable<HttpResponse<SavedCropAreaWithPermittedActions>>;
|
|
56
51
|
getSavedCropArea(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
52
|
httpHeaderAccept?: 'application/json';
|
|
58
53
|
context?: HttpContext;
|
|
59
|
-
transferCache?: boolean;
|
|
60
54
|
}): Observable<HttpEvent<SavedCropAreaWithPermittedActions>>;
|
|
61
55
|
/**
|
|
62
56
|
* Update a saved crop area
|
|
@@ -69,17 +63,14 @@ export declare class AssetSavedCropAreasService {
|
|
|
69
63
|
patchSavedCropArea(id: string, savedCropAreaPatchRequest: SavedCropAreaPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
70
64
|
httpHeaderAccept?: 'application/json';
|
|
71
65
|
context?: HttpContext;
|
|
72
|
-
transferCache?: boolean;
|
|
73
66
|
}): Observable<SavedCropAreaWithPermittedActions>;
|
|
74
67
|
patchSavedCropArea(id: string, savedCropAreaPatchRequest: SavedCropAreaPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
75
68
|
httpHeaderAccept?: 'application/json';
|
|
76
69
|
context?: HttpContext;
|
|
77
|
-
transferCache?: boolean;
|
|
78
70
|
}): Observable<HttpResponse<SavedCropAreaWithPermittedActions>>;
|
|
79
71
|
patchSavedCropArea(id: string, savedCropAreaPatchRequest: SavedCropAreaPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
80
72
|
httpHeaderAccept?: 'application/json';
|
|
81
73
|
context?: HttpContext;
|
|
82
|
-
transferCache?: boolean;
|
|
83
74
|
}): Observable<HttpEvent<SavedCropAreaWithPermittedActions>>;
|
|
84
75
|
/**
|
|
85
76
|
* Create a saved crop area for an asset
|
|
@@ -92,17 +83,14 @@ export declare class AssetSavedCropAreasService {
|
|
|
92
83
|
postSavedCropArea(id: string, savedCropAreaRequest: SavedCropAreaRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
93
84
|
httpHeaderAccept?: 'application/json';
|
|
94
85
|
context?: HttpContext;
|
|
95
|
-
transferCache?: boolean;
|
|
96
86
|
}): Observable<SavedCropAreaWithPermittedActions>;
|
|
97
87
|
postSavedCropArea(id: string, savedCropAreaRequest: SavedCropAreaRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
98
88
|
httpHeaderAccept?: 'application/json';
|
|
99
89
|
context?: HttpContext;
|
|
100
|
-
transferCache?: boolean;
|
|
101
90
|
}): Observable<HttpResponse<SavedCropAreaWithPermittedActions>>;
|
|
102
91
|
postSavedCropArea(id: string, savedCropAreaRequest: SavedCropAreaRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
103
92
|
httpHeaderAccept?: 'application/json';
|
|
104
93
|
context?: HttpContext;
|
|
105
|
-
transferCache?: boolean;
|
|
106
94
|
}): Observable<HttpEvent<SavedCropAreaWithPermittedActions>>;
|
|
107
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetSavedCropAreasService, [null, { optional: true; }, { optional: true; }]>;
|
|
108
96
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetSavedCropAreasService>;
|
|
@@ -22,17 +22,14 @@ export declare class AssetShareAccessTokensService {
|
|
|
22
22
|
getAssetShareAccessToken(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
23
|
httpHeaderAccept?: 'application/json';
|
|
24
24
|
context?: HttpContext;
|
|
25
|
-
transferCache?: boolean;
|
|
26
25
|
}): Observable<AccessTokenWithPermittedActions>;
|
|
27
26
|
getAssetShareAccessToken(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
27
|
httpHeaderAccept?: 'application/json';
|
|
29
28
|
context?: HttpContext;
|
|
30
|
-
transferCache?: boolean;
|
|
31
29
|
}): Observable<HttpResponse<AccessTokenWithPermittedActions>>;
|
|
32
30
|
getAssetShareAccessToken(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
31
|
httpHeaderAccept?: 'application/json';
|
|
34
32
|
context?: HttpContext;
|
|
35
|
-
transferCache?: boolean;
|
|
36
33
|
}): Observable<HttpEvent<AccessTokenWithPermittedActions>>;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetShareAccessTokensService, [null, { optional: true; }, { optional: true; }]>;
|
|
38
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetShareAccessTokensService>;
|
|
@@ -22,17 +22,14 @@ export declare class AssetShareEmailsService {
|
|
|
22
22
|
createAssetShareEmail(assetShareEmailRequest: AssetShareEmailRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
23
|
httpHeaderAccept?: 'application/json';
|
|
24
24
|
context?: HttpContext;
|
|
25
|
-
transferCache?: boolean;
|
|
26
25
|
}): Observable<any>;
|
|
27
26
|
createAssetShareEmail(assetShareEmailRequest: AssetShareEmailRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
27
|
httpHeaderAccept?: 'application/json';
|
|
29
28
|
context?: HttpContext;
|
|
30
|
-
transferCache?: boolean;
|
|
31
29
|
}): Observable<HttpResponse<any>>;
|
|
32
30
|
createAssetShareEmail(assetShareEmailRequest: AssetShareEmailRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
31
|
httpHeaderAccept?: 'application/json';
|
|
34
32
|
context?: HttpContext;
|
|
35
|
-
transferCache?: boolean;
|
|
36
33
|
}): Observable<HttpEvent<any>>;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetShareEmailsService, [null, { optional: true; }, { optional: true; }]>;
|
|
38
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetShareEmailsService>;
|
|
@@ -2,6 +2,8 @@ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, H
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { AssetSharePatchRequest } from '../model/assetSharePatchRequest';
|
|
4
4
|
import { AssetShareRequest } from '../model/assetShareRequest';
|
|
5
|
+
import { AssetShareSearch } from '../model/assetShareSearch';
|
|
6
|
+
import { AssetShareSearchRequest } from '../model/assetShareSearchRequest';
|
|
5
7
|
import { AssetShareWithPermittedActions } from '../model/assetShareWithPermittedActions';
|
|
6
8
|
import { Configuration } from '../configuration';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
@@ -24,17 +26,14 @@ export declare class AssetSharesService {
|
|
|
24
26
|
createAssetShare(assetShareRequest: AssetShareRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
27
|
httpHeaderAccept?: 'application/json';
|
|
26
28
|
context?: HttpContext;
|
|
27
|
-
transferCache?: boolean;
|
|
28
29
|
}): Observable<AssetShareWithPermittedActions>;
|
|
29
30
|
createAssetShare(assetShareRequest: AssetShareRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
31
|
httpHeaderAccept?: 'application/json';
|
|
31
32
|
context?: HttpContext;
|
|
32
|
-
transferCache?: boolean;
|
|
33
33
|
}): Observable<HttpResponse<AssetShareWithPermittedActions>>;
|
|
34
34
|
createAssetShare(assetShareRequest: AssetShareRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
35
|
httpHeaderAccept?: 'application/json';
|
|
36
36
|
context?: HttpContext;
|
|
37
|
-
transferCache?: boolean;
|
|
38
37
|
}): Observable<HttpEvent<AssetShareWithPermittedActions>>;
|
|
39
38
|
/**
|
|
40
39
|
* Delete an asset share
|
|
@@ -46,17 +45,14 @@ export declare class AssetSharesService {
|
|
|
46
45
|
deleteAssetShare(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
46
|
httpHeaderAccept?: 'application/json';
|
|
48
47
|
context?: HttpContext;
|
|
49
|
-
transferCache?: boolean;
|
|
50
48
|
}): Observable<any>;
|
|
51
49
|
deleteAssetShare(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
50
|
httpHeaderAccept?: 'application/json';
|
|
53
51
|
context?: HttpContext;
|
|
54
|
-
transferCache?: boolean;
|
|
55
52
|
}): Observable<HttpResponse<any>>;
|
|
56
53
|
deleteAssetShare(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
54
|
httpHeaderAccept?: 'application/json';
|
|
58
55
|
context?: HttpContext;
|
|
59
|
-
transferCache?: boolean;
|
|
60
56
|
}): Observable<HttpEvent<any>>;
|
|
61
57
|
/**
|
|
62
58
|
* Get an asset share
|
|
@@ -68,17 +64,14 @@ export declare class AssetSharesService {
|
|
|
68
64
|
getAssetShare(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
65
|
httpHeaderAccept?: 'application/json';
|
|
70
66
|
context?: HttpContext;
|
|
71
|
-
transferCache?: boolean;
|
|
72
67
|
}): Observable<AssetShareWithPermittedActions>;
|
|
73
68
|
getAssetShare(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
69
|
httpHeaderAccept?: 'application/json';
|
|
75
70
|
context?: HttpContext;
|
|
76
|
-
transferCache?: boolean;
|
|
77
71
|
}): Observable<HttpResponse<AssetShareWithPermittedActions>>;
|
|
78
72
|
getAssetShare(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
73
|
httpHeaderAccept?: 'application/json';
|
|
80
74
|
context?: HttpContext;
|
|
81
|
-
transferCache?: boolean;
|
|
82
75
|
}): Observable<HttpEvent<AssetShareWithPermittedActions>>;
|
|
83
76
|
/**
|
|
84
77
|
* Update an asset share
|
|
@@ -91,18 +84,34 @@ export declare class AssetSharesService {
|
|
|
91
84
|
patchAssetShare(id: string, assetSharePatchRequest: AssetSharePatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
92
85
|
httpHeaderAccept?: 'application/json';
|
|
93
86
|
context?: HttpContext;
|
|
94
|
-
transferCache?: boolean;
|
|
95
87
|
}): Observable<AssetShareWithPermittedActions>;
|
|
96
88
|
patchAssetShare(id: string, assetSharePatchRequest: AssetSharePatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
97
89
|
httpHeaderAccept?: 'application/json';
|
|
98
90
|
context?: HttpContext;
|
|
99
|
-
transferCache?: boolean;
|
|
100
91
|
}): Observable<HttpResponse<AssetShareWithPermittedActions>>;
|
|
101
92
|
patchAssetShare(id: string, assetSharePatchRequest: AssetSharePatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
102
93
|
httpHeaderAccept?: 'application/json';
|
|
103
94
|
context?: HttpContext;
|
|
104
|
-
transferCache?: boolean;
|
|
105
95
|
}): Observable<HttpEvent<AssetShareWithPermittedActions>>;
|
|
96
|
+
/**
|
|
97
|
+
* Search for asset shares
|
|
98
|
+
* Create a new [`AssetShareSearch`](#operation/postAssetShareSearch)
|
|
99
|
+
* @param assetShareSearchRequest
|
|
100
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
101
|
+
* @param reportProgress flag to report request and response progress.
|
|
102
|
+
*/
|
|
103
|
+
postAssetShareSearch(assetShareSearchRequest: AssetShareSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
104
|
+
httpHeaderAccept?: 'application/json';
|
|
105
|
+
context?: HttpContext;
|
|
106
|
+
}): Observable<AssetShareSearch>;
|
|
107
|
+
postAssetShareSearch(assetShareSearchRequest: AssetShareSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
108
|
+
httpHeaderAccept?: 'application/json';
|
|
109
|
+
context?: HttpContext;
|
|
110
|
+
}): Observable<HttpResponse<AssetShareSearch>>;
|
|
111
|
+
postAssetShareSearch(assetShareSearchRequest: AssetShareSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
112
|
+
httpHeaderAccept?: 'application/json';
|
|
113
|
+
context?: HttpContext;
|
|
114
|
+
}): Observable<HttpEvent<AssetShareSearch>>;
|
|
106
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetSharesService, [null, { optional: true; }, { optional: true; }]>;
|
|
107
116
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetSharesService>;
|
|
108
117
|
}
|
package/api/assets.service.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, H
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { AssetAndUploadBatchJob } from '../model/assetAndUploadBatchJob';
|
|
4
4
|
import { AssetAndUploadBatchRequest } from '../model/assetAndUploadBatchRequest';
|
|
5
|
+
import { AssetDeletionBatchRequest } from '../model/assetDeletionBatchRequest';
|
|
5
6
|
import { AssetDownloadBatchJob } from '../model/assetDownloadBatchJob';
|
|
6
7
|
import { AssetDownloadBatchRequest } from '../model/assetDownloadBatchRequest';
|
|
7
8
|
import { AssetFileWithPermittedActions } from '../model/assetFileWithPermittedActions';
|
|
@@ -10,11 +11,14 @@ import { AssetScrollSearch } from '../model/assetScrollSearch';
|
|
|
10
11
|
import { AssetScrollSearchRequest } from '../model/assetScrollSearchRequest';
|
|
11
12
|
import { AssetScrollSearchScrollRequest } from '../model/assetScrollSearchScrollRequest';
|
|
12
13
|
import { AssetSearch } from '../model/assetSearch';
|
|
14
|
+
import { AssetUploadBatchRequest } from '../model/assetUploadBatchRequest';
|
|
13
15
|
import { AssetUploadCompletionRequest } from '../model/assetUploadCompletionRequest';
|
|
14
16
|
import { AssetUploadCompletionWithPermittedActions } from '../model/assetUploadCompletionWithPermittedActions';
|
|
15
17
|
import { AssetUploadRequest } from '../model/assetUploadRequest';
|
|
16
18
|
import { AssetUploadWithPermittedActions } from '../model/assetUploadWithPermittedActions';
|
|
17
19
|
import { AssetWithPermittedActions } from '../model/assetWithPermittedActions';
|
|
20
|
+
import { AssetsCreationRequest } from '../model/assetsCreationRequest';
|
|
21
|
+
import { AssetsCreationWithPermittedActions } from '../model/assetsCreationWithPermittedActions';
|
|
18
22
|
import { LifecycleTransitionBatchRequest } from '../model/lifecycleTransitionBatchRequest';
|
|
19
23
|
import { MetadataEditBatchRequest } from '../model/metadataEditBatchRequest';
|
|
20
24
|
import { NoResultJob } from '../model/noResultJob';
|
|
@@ -39,17 +43,14 @@ export declare class AssetsService {
|
|
|
39
43
|
deleteAsset(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
40
44
|
httpHeaderAccept?: 'application/json';
|
|
41
45
|
context?: HttpContext;
|
|
42
|
-
transferCache?: boolean;
|
|
43
46
|
}): Observable<any>;
|
|
44
47
|
deleteAsset(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
45
48
|
httpHeaderAccept?: 'application/json';
|
|
46
49
|
context?: HttpContext;
|
|
47
|
-
transferCache?: boolean;
|
|
48
50
|
}): Observable<HttpResponse<any>>;
|
|
49
51
|
deleteAsset(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
50
52
|
httpHeaderAccept?: 'application/json';
|
|
51
53
|
context?: HttpContext;
|
|
52
|
-
transferCache?: boolean;
|
|
53
54
|
}): Observable<HttpEvent<any>>;
|
|
54
55
|
/**
|
|
55
56
|
* Delete an asset file
|
|
@@ -61,17 +62,14 @@ export declare class AssetsService {
|
|
|
61
62
|
deleteAssetFile(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
62
63
|
httpHeaderAccept?: 'application/json';
|
|
63
64
|
context?: HttpContext;
|
|
64
|
-
transferCache?: boolean;
|
|
65
65
|
}): Observable<any>;
|
|
66
66
|
deleteAssetFile(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
67
67
|
httpHeaderAccept?: 'application/json';
|
|
68
68
|
context?: HttpContext;
|
|
69
|
-
transferCache?: boolean;
|
|
70
69
|
}): Observable<HttpResponse<any>>;
|
|
71
70
|
deleteAssetFile(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
72
71
|
httpHeaderAccept?: 'application/json';
|
|
73
72
|
context?: HttpContext;
|
|
74
|
-
transferCache?: boolean;
|
|
75
73
|
}): Observable<HttpEvent<any>>;
|
|
76
74
|
/**
|
|
77
75
|
* Get an asset.
|
|
@@ -83,17 +81,14 @@ export declare class AssetsService {
|
|
|
83
81
|
getAsset(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
84
82
|
httpHeaderAccept?: 'application/json';
|
|
85
83
|
context?: HttpContext;
|
|
86
|
-
transferCache?: boolean;
|
|
87
84
|
}): Observable<AssetWithPermittedActions>;
|
|
88
85
|
getAsset(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
89
86
|
httpHeaderAccept?: 'application/json';
|
|
90
87
|
context?: HttpContext;
|
|
91
|
-
transferCache?: boolean;
|
|
92
88
|
}): Observable<HttpResponse<AssetWithPermittedActions>>;
|
|
93
89
|
getAsset(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
94
90
|
httpHeaderAccept?: 'application/json';
|
|
95
91
|
context?: HttpContext;
|
|
96
|
-
transferCache?: boolean;
|
|
97
92
|
}): Observable<HttpEvent<AssetWithPermittedActions>>;
|
|
98
93
|
/**
|
|
99
94
|
* Get the status of creating assets and uploading files
|
|
@@ -105,17 +100,14 @@ export declare class AssetsService {
|
|
|
105
100
|
getAssetAndUploadBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
106
101
|
httpHeaderAccept?: 'application/json';
|
|
107
102
|
context?: HttpContext;
|
|
108
|
-
transferCache?: boolean;
|
|
109
103
|
}): Observable<AssetAndUploadBatchJob>;
|
|
110
104
|
getAssetAndUploadBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
111
105
|
httpHeaderAccept?: 'application/json';
|
|
112
106
|
context?: HttpContext;
|
|
113
|
-
transferCache?: boolean;
|
|
114
107
|
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
115
108
|
getAssetAndUploadBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
116
109
|
httpHeaderAccept?: 'application/json';
|
|
117
110
|
context?: HttpContext;
|
|
118
|
-
transferCache?: boolean;
|
|
119
111
|
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
120
112
|
/**
|
|
121
113
|
* Get the status of downloading assets
|
|
@@ -127,17 +119,14 @@ export declare class AssetsService {
|
|
|
127
119
|
getAssetDownloadBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
128
120
|
httpHeaderAccept?: 'application/json';
|
|
129
121
|
context?: HttpContext;
|
|
130
|
-
transferCache?: boolean;
|
|
131
122
|
}): Observable<AssetDownloadBatchJob>;
|
|
132
123
|
getAssetDownloadBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
133
124
|
httpHeaderAccept?: 'application/json';
|
|
134
125
|
context?: HttpContext;
|
|
135
|
-
transferCache?: boolean;
|
|
136
126
|
}): Observable<HttpResponse<AssetDownloadBatchJob>>;
|
|
137
127
|
getAssetDownloadBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
138
128
|
httpHeaderAccept?: 'application/json';
|
|
139
129
|
context?: HttpContext;
|
|
140
|
-
transferCache?: boolean;
|
|
141
130
|
}): Observable<HttpEvent<AssetDownloadBatchJob>>;
|
|
142
131
|
/**
|
|
143
132
|
* Get an asset\'s files
|
|
@@ -149,17 +138,14 @@ export declare class AssetsService {
|
|
|
149
138
|
getAssetFiles(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
150
139
|
httpHeaderAccept?: 'application/json';
|
|
151
140
|
context?: HttpContext;
|
|
152
|
-
transferCache?: boolean;
|
|
153
141
|
}): Observable<Array<AssetFileWithPermittedActions>>;
|
|
154
142
|
getAssetFiles(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
155
143
|
httpHeaderAccept?: 'application/json';
|
|
156
144
|
context?: HttpContext;
|
|
157
|
-
transferCache?: boolean;
|
|
158
145
|
}): Observable<HttpResponse<Array<AssetFileWithPermittedActions>>>;
|
|
159
146
|
getAssetFiles(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
160
147
|
httpHeaderAccept?: 'application/json';
|
|
161
148
|
context?: HttpContext;
|
|
162
|
-
transferCache?: boolean;
|
|
163
149
|
}): Observable<HttpEvent<Array<AssetFileWithPermittedActions>>>;
|
|
164
150
|
/**
|
|
165
151
|
* Get the status of updating assets\' lifecycle stage
|
|
@@ -171,17 +157,14 @@ export declare class AssetsService {
|
|
|
171
157
|
getAssetLifecycleTransitionBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
172
158
|
httpHeaderAccept?: 'application/json';
|
|
173
159
|
context?: HttpContext;
|
|
174
|
-
transferCache?: boolean;
|
|
175
160
|
}): Observable<NoResultJob>;
|
|
176
161
|
getAssetLifecycleTransitionBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
177
162
|
httpHeaderAccept?: 'application/json';
|
|
178
163
|
context?: HttpContext;
|
|
179
|
-
transferCache?: boolean;
|
|
180
164
|
}): Observable<HttpResponse<NoResultJob>>;
|
|
181
165
|
getAssetLifecycleTransitionBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
182
166
|
httpHeaderAccept?: 'application/json';
|
|
183
167
|
context?: HttpContext;
|
|
184
|
-
transferCache?: boolean;
|
|
185
168
|
}): Observable<HttpEvent<NoResultJob>>;
|
|
186
169
|
/**
|
|
187
170
|
* Get the status of updating assets\' metadata
|
|
@@ -193,18 +176,34 @@ export declare class AssetsService {
|
|
|
193
176
|
getAssetMetadataEditBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
194
177
|
httpHeaderAccept?: 'application/json';
|
|
195
178
|
context?: HttpContext;
|
|
196
|
-
transferCache?: boolean;
|
|
197
179
|
}): Observable<NoResultJob>;
|
|
198
180
|
getAssetMetadataEditBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
199
181
|
httpHeaderAccept?: 'application/json';
|
|
200
182
|
context?: HttpContext;
|
|
201
|
-
transferCache?: boolean;
|
|
202
183
|
}): Observable<HttpResponse<NoResultJob>>;
|
|
203
184
|
getAssetMetadataEditBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
204
185
|
httpHeaderAccept?: 'application/json';
|
|
205
186
|
context?: HttpContext;
|
|
206
|
-
transferCache?: boolean;
|
|
207
187
|
}): Observable<HttpEvent<NoResultJob>>;
|
|
188
|
+
/**
|
|
189
|
+
* Get the status of uploading files
|
|
190
|
+
* Get the status and eventual result of an [`AssetUploadBatchJob`](#operation/postAssetUploadBatchJob)
|
|
191
|
+
* @param id The unique ID of the [`AssetUploadBatchJob`](#operation/postAssetUploadBatchJob)
|
|
192
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
193
|
+
* @param reportProgress flag to report request and response progress.
|
|
194
|
+
*/
|
|
195
|
+
getAssetUploadBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
196
|
+
httpHeaderAccept?: 'application/json';
|
|
197
|
+
context?: HttpContext;
|
|
198
|
+
}): Observable<AssetAndUploadBatchJob>;
|
|
199
|
+
getAssetUploadBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
200
|
+
httpHeaderAccept?: 'application/json';
|
|
201
|
+
context?: HttpContext;
|
|
202
|
+
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
203
|
+
getAssetUploadBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
204
|
+
httpHeaderAccept?: 'application/json';
|
|
205
|
+
context?: HttpContext;
|
|
206
|
+
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
208
207
|
/**
|
|
209
208
|
* Create assets and upload files
|
|
210
209
|
* An [`AssetAndUploadBatchJob`](#operation/postAssetAndUploadBatchJob) should be created when you want to create multiple [`Asset`](#tag/Assets) resources and also create an [`AssetUpload`](#operation/postAssetUpload) for each of them. Each asset can be uploaded in a single part or in multiple parts. If the filesize is less than 5MiB then it must be uploaded in a single part. If the filesize is greater than 5GiB then it must be uploaded in multiple parts, each smaller than 5GiB. The [`AssetUpload`](#operation/postAssetUpload) resources in the completed job should then be used to upload the files for each and asset and complete each upload. After the [`Asset`](#tag/Assets) resources have been created and files uploaded to them they will still be in [`Asset.lifecycleStatus.state = \'STAGED\'`](#tag/Assets). To send them for approval or put them live see [Asset Lifecycle](#tag/Asset-Lifecycle).
|
|
@@ -215,18 +214,34 @@ export declare class AssetsService {
|
|
|
215
214
|
postAssetAndUploadBatchJob(assetAndUploadBatchRequest: AssetAndUploadBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
216
215
|
httpHeaderAccept?: 'application/json';
|
|
217
216
|
context?: HttpContext;
|
|
218
|
-
transferCache?: boolean;
|
|
219
217
|
}): Observable<AssetAndUploadBatchJob>;
|
|
220
218
|
postAssetAndUploadBatchJob(assetAndUploadBatchRequest: AssetAndUploadBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
221
219
|
httpHeaderAccept?: 'application/json';
|
|
222
220
|
context?: HttpContext;
|
|
223
|
-
transferCache?: boolean;
|
|
224
221
|
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
225
222
|
postAssetAndUploadBatchJob(assetAndUploadBatchRequest: AssetAndUploadBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
226
223
|
httpHeaderAccept?: 'application/json';
|
|
227
224
|
context?: HttpContext;
|
|
228
|
-
transferCache?: boolean;
|
|
229
225
|
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
226
|
+
/**
|
|
227
|
+
* Delete assets
|
|
228
|
+
* Delete a set of [`Asset`](#tag/Assets) by the specified assets selector
|
|
229
|
+
* @param assetDeletionBatchRequest
|
|
230
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
231
|
+
* @param reportProgress flag to report request and response progress.
|
|
232
|
+
*/
|
|
233
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
234
|
+
httpHeaderAccept?: 'application/json';
|
|
235
|
+
context?: HttpContext;
|
|
236
|
+
}): Observable<NoResultJob>;
|
|
237
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
238
|
+
httpHeaderAccept?: 'application/json';
|
|
239
|
+
context?: HttpContext;
|
|
240
|
+
}): Observable<HttpResponse<NoResultJob>>;
|
|
241
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
242
|
+
httpHeaderAccept?: 'application/json';
|
|
243
|
+
context?: HttpContext;
|
|
244
|
+
}): Observable<HttpEvent<NoResultJob>>;
|
|
230
245
|
/**
|
|
231
246
|
* Download assets
|
|
232
247
|
* An [`AssetDownloadBatchJob`](#operation/postAssetDownloadBatchJob) should be created when you want to download and optionally transform multiple [`AssetFile`](#operation/getAssetFiles) resources. You can optionally request that a zip is created of all the transformed files. The `transformationDescription` in the request can be one of two types, `CUSTOM` or `PRESET`. A `CUSTOM` `transformationDescription` is a list of `candidateTransformations` which are evaluated in turn against each [`AssetFile`](#operation/getAssetFiles) specified in the request. If the [`AssetFile`](#operation/getAssetFiles) meets the `candidateTransformation.criteria` then the `candidateTransformation.transformation` is applied. Otherwise, the next candiate is considered. The `candidateTransformation.transformation` is a series of operations to apply to the [`AssetFile`](#operation/getAssetFiles) in order (e.g. resize to 200 by 100 and then covert to JPG). An empty list of operations indicates the file should be left untransformed. Putting this all together this allows you to describe a transformations such as: * Resized any image file, otherwise leave the file untransformed * Convert any image that supports transparency to PNG otherwise convert to JPG A `PRESET` `transformationDescription` is similar to a `CUSTOM` transformation except the `transformationDescription` has been predefined. These presets are currently only configurable via the Dash frontend, but can be found via a [`PresetTransformationSearch`](#operation/postPresetTransformationSearch).
|
|
@@ -237,17 +252,14 @@ export declare class AssetsService {
|
|
|
237
252
|
postAssetDownloadBatchJob(assetDownloadBatchRequest: AssetDownloadBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
238
253
|
httpHeaderAccept?: 'application/json';
|
|
239
254
|
context?: HttpContext;
|
|
240
|
-
transferCache?: boolean;
|
|
241
255
|
}): Observable<AssetDownloadBatchJob>;
|
|
242
256
|
postAssetDownloadBatchJob(assetDownloadBatchRequest: AssetDownloadBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
243
257
|
httpHeaderAccept?: 'application/json';
|
|
244
258
|
context?: HttpContext;
|
|
245
|
-
transferCache?: boolean;
|
|
246
259
|
}): Observable<HttpResponse<AssetDownloadBatchJob>>;
|
|
247
260
|
postAssetDownloadBatchJob(assetDownloadBatchRequest: AssetDownloadBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
248
261
|
httpHeaderAccept?: 'application/json';
|
|
249
262
|
context?: HttpContext;
|
|
250
|
-
transferCache?: boolean;
|
|
251
263
|
}): Observable<HttpEvent<AssetDownloadBatchJob>>;
|
|
252
264
|
/**
|
|
253
265
|
* Update assets\' lifecycle stage
|
|
@@ -259,17 +271,14 @@ export declare class AssetsService {
|
|
|
259
271
|
postAssetLifecycleTransitionBatchJob(lifecycleTransitionBatchRequest: LifecycleTransitionBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
260
272
|
httpHeaderAccept?: 'application/json';
|
|
261
273
|
context?: HttpContext;
|
|
262
|
-
transferCache?: boolean;
|
|
263
274
|
}): Observable<NoResultJob>;
|
|
264
275
|
postAssetLifecycleTransitionBatchJob(lifecycleTransitionBatchRequest: LifecycleTransitionBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
265
276
|
httpHeaderAccept?: 'application/json';
|
|
266
277
|
context?: HttpContext;
|
|
267
|
-
transferCache?: boolean;
|
|
268
278
|
}): Observable<HttpResponse<NoResultJob>>;
|
|
269
279
|
postAssetLifecycleTransitionBatchJob(lifecycleTransitionBatchRequest: LifecycleTransitionBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
270
280
|
httpHeaderAccept?: 'application/json';
|
|
271
281
|
context?: HttpContext;
|
|
272
|
-
transferCache?: boolean;
|
|
273
282
|
}): Observable<HttpEvent<NoResultJob>>;
|
|
274
283
|
/**
|
|
275
284
|
* Update assets\' metadata
|
|
@@ -281,17 +290,14 @@ export declare class AssetsService {
|
|
|
281
290
|
postAssetMetadataEditBatchJob(metadataEditBatchRequest: MetadataEditBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
282
291
|
httpHeaderAccept?: 'application/json';
|
|
283
292
|
context?: HttpContext;
|
|
284
|
-
transferCache?: boolean;
|
|
285
293
|
}): Observable<NoResultJob>;
|
|
286
294
|
postAssetMetadataEditBatchJob(metadataEditBatchRequest: MetadataEditBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
287
295
|
httpHeaderAccept?: 'application/json';
|
|
288
296
|
context?: HttpContext;
|
|
289
|
-
transferCache?: boolean;
|
|
290
297
|
}): Observable<HttpResponse<NoResultJob>>;
|
|
291
298
|
postAssetMetadataEditBatchJob(metadataEditBatchRequest: MetadataEditBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
292
299
|
httpHeaderAccept?: 'application/json';
|
|
293
300
|
context?: HttpContext;
|
|
294
|
-
transferCache?: boolean;
|
|
295
301
|
}): Observable<HttpEvent<NoResultJob>>;
|
|
296
302
|
/**
|
|
297
303
|
* Scroll search for assets
|
|
@@ -303,17 +309,14 @@ export declare class AssetsService {
|
|
|
303
309
|
postAssetScrollSearch(assetScrollSearchRequest: AssetScrollSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
304
310
|
httpHeaderAccept?: 'application/json';
|
|
305
311
|
context?: HttpContext;
|
|
306
|
-
transferCache?: boolean;
|
|
307
312
|
}): Observable<AssetScrollSearch>;
|
|
308
313
|
postAssetScrollSearch(assetScrollSearchRequest: AssetScrollSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
309
314
|
httpHeaderAccept?: 'application/json';
|
|
310
315
|
context?: HttpContext;
|
|
311
|
-
transferCache?: boolean;
|
|
312
316
|
}): Observable<HttpResponse<AssetScrollSearch>>;
|
|
313
317
|
postAssetScrollSearch(assetScrollSearchRequest: AssetScrollSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
314
318
|
httpHeaderAccept?: 'application/json';
|
|
315
319
|
context?: HttpContext;
|
|
316
|
-
transferCache?: boolean;
|
|
317
320
|
}): Observable<HttpEvent<AssetScrollSearch>>;
|
|
318
321
|
/**
|
|
319
322
|
* Continue an asset scroll search
|
|
@@ -325,17 +328,14 @@ export declare class AssetsService {
|
|
|
325
328
|
postAssetScrollSearchScroll(assetScrollSearchScrollRequest: AssetScrollSearchScrollRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
326
329
|
httpHeaderAccept?: 'application/json';
|
|
327
330
|
context?: HttpContext;
|
|
328
|
-
transferCache?: boolean;
|
|
329
331
|
}): Observable<AssetScrollSearch>;
|
|
330
332
|
postAssetScrollSearchScroll(assetScrollSearchScrollRequest: AssetScrollSearchScrollRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
331
333
|
httpHeaderAccept?: 'application/json';
|
|
332
334
|
context?: HttpContext;
|
|
333
|
-
transferCache?: boolean;
|
|
334
335
|
}): Observable<HttpResponse<AssetScrollSearch>>;
|
|
335
336
|
postAssetScrollSearchScroll(assetScrollSearchScrollRequest: AssetScrollSearchScrollRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
336
337
|
httpHeaderAccept?: 'application/json';
|
|
337
338
|
context?: HttpContext;
|
|
338
|
-
transferCache?: boolean;
|
|
339
339
|
}): Observable<HttpEvent<AssetScrollSearch>>;
|
|
340
340
|
/**
|
|
341
341
|
* Search for assets
|
|
@@ -347,17 +347,14 @@ export declare class AssetsService {
|
|
|
347
347
|
postAssetSearch(assetPaginatedSearchRequest: AssetPaginatedSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
348
348
|
httpHeaderAccept?: 'application/json';
|
|
349
349
|
context?: HttpContext;
|
|
350
|
-
transferCache?: boolean;
|
|
351
350
|
}): Observable<AssetSearch>;
|
|
352
351
|
postAssetSearch(assetPaginatedSearchRequest: AssetPaginatedSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
353
352
|
httpHeaderAccept?: 'application/json';
|
|
354
353
|
context?: HttpContext;
|
|
355
|
-
transferCache?: boolean;
|
|
356
354
|
}): Observable<HttpResponse<AssetSearch>>;
|
|
357
355
|
postAssetSearch(assetPaginatedSearchRequest: AssetPaginatedSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
358
356
|
httpHeaderAccept?: 'application/json';
|
|
359
357
|
context?: HttpContext;
|
|
360
|
-
transferCache?: boolean;
|
|
361
358
|
}): Observable<HttpEvent<AssetSearch>>;
|
|
362
359
|
/**
|
|
363
360
|
* Upload an asset file
|
|
@@ -369,18 +366,34 @@ export declare class AssetsService {
|
|
|
369
366
|
postAssetUpload(assetUploadRequest: AssetUploadRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
370
367
|
httpHeaderAccept?: 'application/json';
|
|
371
368
|
context?: HttpContext;
|
|
372
|
-
transferCache?: boolean;
|
|
373
369
|
}): Observable<AssetUploadWithPermittedActions>;
|
|
374
370
|
postAssetUpload(assetUploadRequest: AssetUploadRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
375
371
|
httpHeaderAccept?: 'application/json';
|
|
376
372
|
context?: HttpContext;
|
|
377
|
-
transferCache?: boolean;
|
|
378
373
|
}): Observable<HttpResponse<AssetUploadWithPermittedActions>>;
|
|
379
374
|
postAssetUpload(assetUploadRequest: AssetUploadRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
380
375
|
httpHeaderAccept?: 'application/json';
|
|
381
376
|
context?: HttpContext;
|
|
382
|
-
transferCache?: boolean;
|
|
383
377
|
}): Observable<HttpEvent<AssetUploadWithPermittedActions>>;
|
|
378
|
+
/**
|
|
379
|
+
* Upload files to assets
|
|
380
|
+
* An [`AssetUploadBatchJob`](#operation/postAssetUploadBatchJob) should be created when you want to create an [`AssetUpload`](#operation/postAssetUpload) for multiple assets. The [`AssetUpload`](#operation/postAssetUpload) resources in the completed job should then be used to upload the files for each and asset and complete each upload. After the files have been uploaded to the [`Asset`](#tag/Assets)s they will still be in [`Asset.lifecycleStatus.state = \'STAGED\'`](#tag/Assets). To send them for approval or put them live see [Asset Lifecycle](#tag/Asset-Lifecycle).
|
|
381
|
+
* @param assetUploadBatchRequest
|
|
382
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
383
|
+
* @param reportProgress flag to report request and response progress.
|
|
384
|
+
*/
|
|
385
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
386
|
+
httpHeaderAccept?: 'application/json';
|
|
387
|
+
context?: HttpContext;
|
|
388
|
+
}): Observable<AssetAndUploadBatchJob>;
|
|
389
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
390
|
+
httpHeaderAccept?: 'application/json';
|
|
391
|
+
context?: HttpContext;
|
|
392
|
+
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
393
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
394
|
+
httpHeaderAccept?: 'application/json';
|
|
395
|
+
context?: HttpContext;
|
|
396
|
+
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
384
397
|
/**
|
|
385
398
|
* Complete an asset file upload
|
|
386
399
|
* After an [`AssetUpload`](#operation/postAssetUpload) has been created and each part of the file data has been `PUT` to the relavant URL the eTag from each `PUT` must be sent to indicate the upload is complete.
|
|
@@ -391,18 +404,34 @@ export declare class AssetsService {
|
|
|
391
404
|
postAssetUploadCompletion(assetUploadCompletionRequest: AssetUploadCompletionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
392
405
|
httpHeaderAccept?: 'application/json';
|
|
393
406
|
context?: HttpContext;
|
|
394
|
-
transferCache?: boolean;
|
|
395
407
|
}): Observable<AssetUploadCompletionWithPermittedActions>;
|
|
396
408
|
postAssetUploadCompletion(assetUploadCompletionRequest: AssetUploadCompletionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
397
409
|
httpHeaderAccept?: 'application/json';
|
|
398
410
|
context?: HttpContext;
|
|
399
|
-
transferCache?: boolean;
|
|
400
411
|
}): Observable<HttpResponse<AssetUploadCompletionWithPermittedActions>>;
|
|
401
412
|
postAssetUploadCompletion(assetUploadCompletionRequest: AssetUploadCompletionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
402
413
|
httpHeaderAccept?: 'application/json';
|
|
403
414
|
context?: HttpContext;
|
|
404
|
-
transferCache?: boolean;
|
|
405
415
|
}): Observable<HttpEvent<AssetUploadCompletionWithPermittedActions>>;
|
|
416
|
+
/**
|
|
417
|
+
* Create some new assets
|
|
418
|
+
* Create a specified number of new [`Asset`](#tag/Assets)s without files. [`AssetUpload`](#operation/postAssetUploadBatchJobs)s can be done separately.
|
|
419
|
+
* @param assetsCreationRequest
|
|
420
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
421
|
+
* @param reportProgress flag to report request and response progress.
|
|
422
|
+
*/
|
|
423
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
424
|
+
httpHeaderAccept?: 'application/json';
|
|
425
|
+
context?: HttpContext;
|
|
426
|
+
}): Observable<AssetsCreationWithPermittedActions>;
|
|
427
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
428
|
+
httpHeaderAccept?: 'application/json';
|
|
429
|
+
context?: HttpContext;
|
|
430
|
+
}): Observable<HttpResponse<AssetsCreationWithPermittedActions>>;
|
|
431
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
432
|
+
httpHeaderAccept?: 'application/json';
|
|
433
|
+
context?: HttpContext;
|
|
434
|
+
}): Observable<HttpEvent<AssetsCreationWithPermittedActions>>;
|
|
406
435
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsService, [null, { optional: true; }, { optional: true; }]>;
|
|
407
436
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetsService>;
|
|
408
437
|
}
|