@brightinteractive/platform-api 0.1.0 → 0.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/api/accountSecurity.service.d.ts +59 -0
- package/api/accounts.service.d.ts +47 -0
- package/api/api.d.ts +49 -1
- package/api/assetComments.service.d.ts +109 -0
- package/api/assetDeduplication.service.d.ts +38 -0
- package/api/assetEmbeddableLinks.service.d.ts +22 -0
- package/api/assetMetadataExport.service.d.ts +106 -0
- package/api/assetSavedCropAreaSummaries.service.d.ts +24 -0
- package/api/assetShares.service.d.ts +24 -0
- package/api/assets.service.d.ts +92 -0
- package/api/autoTaggingImageSettings.service.d.ts +59 -0
- package/api/cloudConnections.service.d.ts +126 -0
- package/api/cloudImportJobs.service.d.ts +130 -0
- package/api/cloudObjects.service.d.ts +63 -0
- package/api/collectionShares.service.d.ts +23 -0
- package/api/externalApp.service.d.ts +85 -0
- package/api/fieldOptionImages.service.d.ts +85 -0
- package/api/guestUploadAccessTokens.service.d.ts +40 -0
- package/api/guestUploadEmails.service.d.ts +39 -0
- package/api/guestUploads.service.d.ts +132 -0
- package/api/onboardingChecklist.service.d.ts +59 -0
- package/api/ping.service.d.ts +37 -0
- package/api/presetTransformations.service.d.ts +45 -0
- package/api/publiclyAvailableGuestUploadData.service.d.ts +40 -0
- package/api/publiclyAvailablePortalDatas.service.d.ts +40 -0
- package/api/searchFilters.service.d.ts +22 -0
- package/api/shopify.service.d.ts +114 -0
- package/api/staffMembers.service.d.ts +83 -0
- package/api/subscription.service.d.ts +173 -0
- package/api/textInImageSettings.service.d.ts +59 -0
- package/api/theme.service.d.ts +153 -0
- package/api/userPreferences.service.d.ts +61 -0
- package/api/userReferrer.service.d.ts +38 -0
- package/api/users.service.d.ts +277 -0
- package/api/wordPress.service.d.ts +101 -0
- package/esm2022/api/accountSecurity.service.mjs +209 -0
- package/esm2022/api/accounts.service.mjs +125 -1
- package/esm2022/api/api.mjs +50 -2
- package/esm2022/api/assetComments.service.mjs +333 -0
- package/esm2022/api/assetDeduplication.service.mjs +147 -0
- package/esm2022/api/assetEmbeddableLinks.service.mjs +54 -1
- package/esm2022/api/assetMetadataExport.service.mjs +318 -0
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +63 -1
- package/esm2022/api/assetShares.service.mjs +63 -1
- package/esm2022/api/assets.service.mjs +240 -1
- package/esm2022/api/autoTaggingImageSettings.service.mjs +209 -0
- package/esm2022/api/cloudConnections.service.mjs +359 -0
- package/esm2022/api/cloudImportJobs.service.mjs +385 -0
- package/esm2022/api/cloudObjects.service.mjs +215 -0
- package/esm2022/api/collectionShares.service.mjs +63 -1
- package/esm2022/api/externalApp.service.mjs +283 -0
- package/esm2022/api/fieldOptionImages.service.mjs +274 -0
- package/esm2022/api/guestUploadAccessTokens.service.mjs +153 -0
- package/esm2022/api/guestUploadEmails.service.mjs +159 -0
- package/esm2022/api/guestUploads.service.mjs +392 -0
- package/esm2022/api/onboardingChecklist.service.mjs +209 -0
- package/esm2022/api/ping.service.mjs +141 -0
- package/esm2022/api/presetTransformations.service.mjs +113 -1
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +153 -0
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +153 -0
- package/esm2022/api/searchFilters.service.mjs +51 -1
- package/esm2022/api/shopify.service.mjs +341 -0
- package/esm2022/api/staffMembers.service.mjs +262 -0
- package/esm2022/api/subscription.service.mjs +477 -0
- package/esm2022/api/textInImageSettings.service.mjs +209 -0
- package/esm2022/api/theme.service.mjs +375 -1
- package/esm2022/api/userPreferences.service.mjs +209 -0
- package/esm2022/api/userReferrer.service.mjs +147 -0
- package/esm2022/api/users.service.mjs +702 -6
- package/esm2022/api/wordPress.service.mjs +321 -0
- package/fesm2022/brightinteractive-platform-api.mjs +9376 -1700
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/package.json +1 -1
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';
|
|
@@ -205,6 +209,28 @@ export declare class AssetsService {
|
|
|
205
209
|
context?: HttpContext;
|
|
206
210
|
transferCache?: boolean;
|
|
207
211
|
}): Observable<HttpEvent<NoResultJob>>;
|
|
212
|
+
/**
|
|
213
|
+
* Get the status of uploading files
|
|
214
|
+
* Get the status and eventual result of an [`AssetUploadBatchJob`](#operation/postAssetUploadBatchJob)
|
|
215
|
+
* @param id The unique ID of the [`AssetUploadBatchJob`](#operation/postAssetUploadBatchJob)
|
|
216
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
217
|
+
* @param reportProgress flag to report request and response progress.
|
|
218
|
+
*/
|
|
219
|
+
getAssetUploadBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
220
|
+
httpHeaderAccept?: 'application/json';
|
|
221
|
+
context?: HttpContext;
|
|
222
|
+
transferCache?: boolean;
|
|
223
|
+
}): Observable<AssetAndUploadBatchJob>;
|
|
224
|
+
getAssetUploadBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
225
|
+
httpHeaderAccept?: 'application/json';
|
|
226
|
+
context?: HttpContext;
|
|
227
|
+
transferCache?: boolean;
|
|
228
|
+
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
229
|
+
getAssetUploadBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
230
|
+
httpHeaderAccept?: 'application/json';
|
|
231
|
+
context?: HttpContext;
|
|
232
|
+
transferCache?: boolean;
|
|
233
|
+
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
208
234
|
/**
|
|
209
235
|
* Create assets and upload files
|
|
210
236
|
* 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).
|
|
@@ -227,6 +253,28 @@ export declare class AssetsService {
|
|
|
227
253
|
context?: HttpContext;
|
|
228
254
|
transferCache?: boolean;
|
|
229
255
|
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
256
|
+
/**
|
|
257
|
+
* Delete assets
|
|
258
|
+
* Delete a set of [`Asset`](#tag/Assets) by the specified assets selector
|
|
259
|
+
* @param assetDeletionBatchRequest
|
|
260
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
261
|
+
* @param reportProgress flag to report request and response progress.
|
|
262
|
+
*/
|
|
263
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
264
|
+
httpHeaderAccept?: 'application/json';
|
|
265
|
+
context?: HttpContext;
|
|
266
|
+
transferCache?: boolean;
|
|
267
|
+
}): Observable<NoResultJob>;
|
|
268
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
269
|
+
httpHeaderAccept?: 'application/json';
|
|
270
|
+
context?: HttpContext;
|
|
271
|
+
transferCache?: boolean;
|
|
272
|
+
}): Observable<HttpResponse<NoResultJob>>;
|
|
273
|
+
postAssetDeletionBatchJob(assetDeletionBatchRequest: AssetDeletionBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
274
|
+
httpHeaderAccept?: 'application/json';
|
|
275
|
+
context?: HttpContext;
|
|
276
|
+
transferCache?: boolean;
|
|
277
|
+
}): Observable<HttpEvent<NoResultJob>>;
|
|
230
278
|
/**
|
|
231
279
|
* Download assets
|
|
232
280
|
* 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).
|
|
@@ -381,6 +429,28 @@ export declare class AssetsService {
|
|
|
381
429
|
context?: HttpContext;
|
|
382
430
|
transferCache?: boolean;
|
|
383
431
|
}): Observable<HttpEvent<AssetUploadWithPermittedActions>>;
|
|
432
|
+
/**
|
|
433
|
+
* Upload files to assets
|
|
434
|
+
* 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).
|
|
435
|
+
* @param assetUploadBatchRequest
|
|
436
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
437
|
+
* @param reportProgress flag to report request and response progress.
|
|
438
|
+
*/
|
|
439
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
440
|
+
httpHeaderAccept?: 'application/json';
|
|
441
|
+
context?: HttpContext;
|
|
442
|
+
transferCache?: boolean;
|
|
443
|
+
}): Observable<AssetAndUploadBatchJob>;
|
|
444
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
445
|
+
httpHeaderAccept?: 'application/json';
|
|
446
|
+
context?: HttpContext;
|
|
447
|
+
transferCache?: boolean;
|
|
448
|
+
}): Observable<HttpResponse<AssetAndUploadBatchJob>>;
|
|
449
|
+
postAssetUploadBatchJob(assetUploadBatchRequest: AssetUploadBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
450
|
+
httpHeaderAccept?: 'application/json';
|
|
451
|
+
context?: HttpContext;
|
|
452
|
+
transferCache?: boolean;
|
|
453
|
+
}): Observable<HttpEvent<AssetAndUploadBatchJob>>;
|
|
384
454
|
/**
|
|
385
455
|
* Complete an asset file upload
|
|
386
456
|
* 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.
|
|
@@ -403,6 +473,28 @@ export declare class AssetsService {
|
|
|
403
473
|
context?: HttpContext;
|
|
404
474
|
transferCache?: boolean;
|
|
405
475
|
}): Observable<HttpEvent<AssetUploadCompletionWithPermittedActions>>;
|
|
476
|
+
/**
|
|
477
|
+
* Create some new assets
|
|
478
|
+
* Create a specified number of new [`Asset`](#tag/Assets)s without files. [`AssetUpload`](#operation/postAssetUploadBatchJobs)s can be done separately.
|
|
479
|
+
* @param assetsCreationRequest
|
|
480
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
481
|
+
* @param reportProgress flag to report request and response progress.
|
|
482
|
+
*/
|
|
483
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
484
|
+
httpHeaderAccept?: 'application/json';
|
|
485
|
+
context?: HttpContext;
|
|
486
|
+
transferCache?: boolean;
|
|
487
|
+
}): Observable<AssetsCreationWithPermittedActions>;
|
|
488
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
489
|
+
httpHeaderAccept?: 'application/json';
|
|
490
|
+
context?: HttpContext;
|
|
491
|
+
transferCache?: boolean;
|
|
492
|
+
}): Observable<HttpResponse<AssetsCreationWithPermittedActions>>;
|
|
493
|
+
postAssetsCreations(assetsCreationRequest: AssetsCreationRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
494
|
+
httpHeaderAccept?: 'application/json';
|
|
495
|
+
context?: HttpContext;
|
|
496
|
+
transferCache?: boolean;
|
|
497
|
+
}): Observable<HttpEvent<AssetsCreationWithPermittedActions>>;
|
|
406
498
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsService, [null, { optional: true; }, { optional: true; }]>;
|
|
407
499
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetsService>;
|
|
408
500
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AutoTaggingImageSettingsPatchRequest } from '../model/autoTaggingImageSettingsPatchRequest';
|
|
4
|
+
import { AutoTaggingImageSettingsWithPermittedActions } from '../model/autoTaggingImageSettingsWithPermittedActions';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AutoTaggingImageSettingsService {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
protected basePath: string;
|
|
10
|
+
defaultHeaders: HttpHeaders;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
encoder: HttpParameterCodec;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
+
private addToHttpParams;
|
|
15
|
+
private addToHttpParamsRecursive;
|
|
16
|
+
/**
|
|
17
|
+
* Get the account auto-tagging image settings
|
|
18
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
+
* @param reportProgress flag to report request and response progress.
|
|
20
|
+
*/
|
|
21
|
+
getAutoTaggingImageSettings(observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
+
httpHeaderAccept?: 'application/json';
|
|
23
|
+
context?: HttpContext;
|
|
24
|
+
transferCache?: boolean;
|
|
25
|
+
}): Observable<AutoTaggingImageSettingsWithPermittedActions>;
|
|
26
|
+
getAutoTaggingImageSettings(observe?: 'response', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<HttpResponse<AutoTaggingImageSettingsWithPermittedActions>>;
|
|
31
|
+
getAutoTaggingImageSettings(observe?: 'events', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpEvent<AutoTaggingImageSettingsWithPermittedActions>>;
|
|
36
|
+
/**
|
|
37
|
+
* Update the account auto-tagging image settings
|
|
38
|
+
* @param autoTaggingImageSettingsPatchRequest
|
|
39
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
40
|
+
* @param reportProgress flag to report request and response progress.
|
|
41
|
+
*/
|
|
42
|
+
patchAutoTaggingImageSettings(autoTaggingImageSettingsPatchRequest: AutoTaggingImageSettingsPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
43
|
+
httpHeaderAccept?: 'application/json';
|
|
44
|
+
context?: HttpContext;
|
|
45
|
+
transferCache?: boolean;
|
|
46
|
+
}): Observable<AutoTaggingImageSettingsWithPermittedActions>;
|
|
47
|
+
patchAutoTaggingImageSettings(autoTaggingImageSettingsPatchRequest: AutoTaggingImageSettingsPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
transferCache?: boolean;
|
|
51
|
+
}): Observable<HttpResponse<AutoTaggingImageSettingsWithPermittedActions>>;
|
|
52
|
+
patchAutoTaggingImageSettings(autoTaggingImageSettingsPatchRequest: AutoTaggingImageSettingsPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<HttpEvent<AutoTaggingImageSettingsWithPermittedActions>>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoTaggingImageSettingsService, [null, { optional: true; }, { optional: true; }]>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AutoTaggingImageSettingsService>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CloudConnectionRequest } from '../model/cloudConnectionRequest';
|
|
4
|
+
import { CloudConnectionWithPermittedActions } from '../model/cloudConnectionWithPermittedActions';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CloudConnectionsService {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
protected basePath: string;
|
|
10
|
+
defaultHeaders: HttpHeaders;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
encoder: HttpParameterCodec;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
+
private addToHttpParams;
|
|
15
|
+
private addToHttpParamsRecursive;
|
|
16
|
+
/**
|
|
17
|
+
* Delete a cloud connection
|
|
18
|
+
* Delete a [`Cloud Connections`](#tag/Cloud-Connections) resource
|
|
19
|
+
* @param id The unique ID of the [`Cloud Connections`](#tag/Cloud-Connections)
|
|
20
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
21
|
+
* @param reportProgress flag to report request and response progress.
|
|
22
|
+
*/
|
|
23
|
+
deleteCloudConnection(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: 'application/json';
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
transferCache?: boolean;
|
|
27
|
+
}): Observable<any>;
|
|
28
|
+
deleteCloudConnection(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
|
+
httpHeaderAccept?: 'application/json';
|
|
30
|
+
context?: HttpContext;
|
|
31
|
+
transferCache?: boolean;
|
|
32
|
+
}): Observable<HttpResponse<any>>;
|
|
33
|
+
deleteCloudConnection(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
|
+
httpHeaderAccept?: 'application/json';
|
|
35
|
+
context?: HttpContext;
|
|
36
|
+
transferCache?: boolean;
|
|
37
|
+
}): Observable<HttpEvent<any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Get a cloud connection
|
|
40
|
+
* Get a [`CloudConnection`](#tag/Cloud-Connections) resource to connect which connects to Cloud Storage Providers in order to import assets into Dash
|
|
41
|
+
* @param id The unique ID of the [`CloudConnection`](#tag/Cloud-Connections)
|
|
42
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
43
|
+
* @param reportProgress flag to report request and response progress.
|
|
44
|
+
*/
|
|
45
|
+
getCloudConnection(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
46
|
+
httpHeaderAccept?: 'application/json';
|
|
47
|
+
context?: HttpContext;
|
|
48
|
+
transferCache?: boolean;
|
|
49
|
+
}): Observable<CloudConnectionWithPermittedActions>;
|
|
50
|
+
getCloudConnection(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
51
|
+
httpHeaderAccept?: 'application/json';
|
|
52
|
+
context?: HttpContext;
|
|
53
|
+
transferCache?: boolean;
|
|
54
|
+
}): Observable<HttpResponse<CloudConnectionWithPermittedActions>>;
|
|
55
|
+
getCloudConnection(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
56
|
+
httpHeaderAccept?: 'application/json';
|
|
57
|
+
context?: HttpContext;
|
|
58
|
+
transferCache?: boolean;
|
|
59
|
+
}): Observable<HttpEvent<CloudConnectionWithPermittedActions>>;
|
|
60
|
+
/**
|
|
61
|
+
* Get the current user\'s cloud connections
|
|
62
|
+
* Get all the [`CloudConnection`](#tag/Cloud-Connections) resources for the current user
|
|
63
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
64
|
+
* @param reportProgress flag to report request and response progress.
|
|
65
|
+
*/
|
|
66
|
+
getCurrentUserCloudConnections(observe?: 'body', reportProgress?: boolean, options?: {
|
|
67
|
+
httpHeaderAccept?: 'application/json';
|
|
68
|
+
context?: HttpContext;
|
|
69
|
+
transferCache?: boolean;
|
|
70
|
+
}): Observable<Array<CloudConnectionWithPermittedActions>>;
|
|
71
|
+
getCurrentUserCloudConnections(observe?: 'response', reportProgress?: boolean, options?: {
|
|
72
|
+
httpHeaderAccept?: 'application/json';
|
|
73
|
+
context?: HttpContext;
|
|
74
|
+
transferCache?: boolean;
|
|
75
|
+
}): Observable<HttpResponse<Array<CloudConnectionWithPermittedActions>>>;
|
|
76
|
+
getCurrentUserCloudConnections(observe?: 'events', reportProgress?: boolean, options?: {
|
|
77
|
+
httpHeaderAccept?: 'application/json';
|
|
78
|
+
context?: HttpContext;
|
|
79
|
+
transferCache?: boolean;
|
|
80
|
+
}): Observable<HttpEvent<Array<CloudConnectionWithPermittedActions>>>;
|
|
81
|
+
/**
|
|
82
|
+
* Proxy for OAuth callback
|
|
83
|
+
* > **This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header**
|
|
84
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
85
|
+
* @param reportProgress flag to report request and response progress.
|
|
86
|
+
*/
|
|
87
|
+
getOAuthCallback(observe?: 'body', reportProgress?: boolean, options?: {
|
|
88
|
+
httpHeaderAccept?: 'application/json';
|
|
89
|
+
context?: HttpContext;
|
|
90
|
+
transferCache?: boolean;
|
|
91
|
+
}): Observable<any>;
|
|
92
|
+
getOAuthCallback(observe?: 'response', reportProgress?: boolean, options?: {
|
|
93
|
+
httpHeaderAccept?: 'application/json';
|
|
94
|
+
context?: HttpContext;
|
|
95
|
+
transferCache?: boolean;
|
|
96
|
+
}): Observable<HttpResponse<any>>;
|
|
97
|
+
getOAuthCallback(observe?: 'events', reportProgress?: boolean, options?: {
|
|
98
|
+
httpHeaderAccept?: 'application/json';
|
|
99
|
+
context?: HttpContext;
|
|
100
|
+
transferCache?: boolean;
|
|
101
|
+
}): Observable<HttpEvent<any>>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a cloud connection
|
|
104
|
+
* Create a new [`Cloud Connections`](#tag/Cloud-Connections) resource to connect to a cloud storage providers and import assets into Dash
|
|
105
|
+
* @param cloudConnectionRequest
|
|
106
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
107
|
+
* @param reportProgress flag to report request and response progress.
|
|
108
|
+
*/
|
|
109
|
+
postCloudConnections(cloudConnectionRequest: CloudConnectionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
110
|
+
httpHeaderAccept?: 'application/json';
|
|
111
|
+
context?: HttpContext;
|
|
112
|
+
transferCache?: boolean;
|
|
113
|
+
}): Observable<CloudConnectionWithPermittedActions>;
|
|
114
|
+
postCloudConnections(cloudConnectionRequest: CloudConnectionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
115
|
+
httpHeaderAccept?: 'application/json';
|
|
116
|
+
context?: HttpContext;
|
|
117
|
+
transferCache?: boolean;
|
|
118
|
+
}): Observable<HttpResponse<CloudConnectionWithPermittedActions>>;
|
|
119
|
+
postCloudConnections(cloudConnectionRequest: CloudConnectionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
120
|
+
httpHeaderAccept?: 'application/json';
|
|
121
|
+
context?: HttpContext;
|
|
122
|
+
transferCache?: boolean;
|
|
123
|
+
}): Observable<HttpEvent<CloudConnectionWithPermittedActions>>;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CloudConnectionsService, [null, { optional: true; }, { optional: true; }]>;
|
|
125
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CloudConnectionsService>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CloudImportJobRequest } from '../model/cloudImportJobRequest';
|
|
4
|
+
import { CloudImportJobWithPermittedActions } from '../model/cloudImportJobWithPermittedActions';
|
|
5
|
+
import { JobPatchRequest } from '../model/jobPatchRequest';
|
|
6
|
+
import { Configuration } from '../configuration';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CloudImportJobsService {
|
|
9
|
+
protected httpClient: HttpClient;
|
|
10
|
+
protected basePath: string;
|
|
11
|
+
defaultHeaders: HttpHeaders;
|
|
12
|
+
configuration: Configuration;
|
|
13
|
+
encoder: HttpParameterCodec;
|
|
14
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
+
private addToHttpParams;
|
|
16
|
+
private addToHttpParamsRecursive;
|
|
17
|
+
/**
|
|
18
|
+
* Delete a cloud object import
|
|
19
|
+
* Deletes a [`CloudImportJob`](#operation/postCloudImportJob)
|
|
20
|
+
* @param id The unique ID of the [`CloudImportJob`](#operation/postCloudImportJob)
|
|
21
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
22
|
+
* @param reportProgress flag to report request and response progress.
|
|
23
|
+
*/
|
|
24
|
+
deleteCloudImportJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
|
+
httpHeaderAccept?: 'application/json';
|
|
26
|
+
context?: HttpContext;
|
|
27
|
+
transferCache?: boolean;
|
|
28
|
+
}): Observable<any>;
|
|
29
|
+
deleteCloudImportJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
transferCache?: boolean;
|
|
33
|
+
}): Observable<HttpResponse<any>>;
|
|
34
|
+
deleteCloudImportJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
httpHeaderAccept?: 'application/json';
|
|
36
|
+
context?: HttpContext;
|
|
37
|
+
transferCache?: boolean;
|
|
38
|
+
}): Observable<HttpEvent<any>>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the status of a cloud object import
|
|
41
|
+
* Get the status and eventual result of a [`CloudImportJob`](#operation/postCloudImportJob)
|
|
42
|
+
* @param id The unique ID of the [`CloudImportJob`](#operation/postCloudImportJob)
|
|
43
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
44
|
+
* @param reportProgress flag to report request and response progress.
|
|
45
|
+
*/
|
|
46
|
+
getCloudImportJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: 'application/json';
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<CloudImportJobWithPermittedActions>;
|
|
51
|
+
getCloudImportJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpResponse<CloudImportJobWithPermittedActions>>;
|
|
56
|
+
getCloudImportJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<HttpEvent<CloudImportJobWithPermittedActions>>;
|
|
61
|
+
/**
|
|
62
|
+
* Get the current user\'s cloud imports
|
|
63
|
+
* Get all [`CloudImportJob`](#tag/Cloud-Import-Jobs) resources for the current user
|
|
64
|
+
* @param type The cloud provider type of the jobs to get
|
|
65
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
66
|
+
* @param reportProgress flag to report request and response progress.
|
|
67
|
+
*/
|
|
68
|
+
getCurrentUserCloudImportJobs(type?: 'DROPBOX' | 'GOOGLE', observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<Array<CloudImportJobWithPermittedActions>>;
|
|
73
|
+
getCurrentUserCloudImportJobs(type?: 'DROPBOX' | 'GOOGLE', observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/json';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpResponse<Array<CloudImportJobWithPermittedActions>>>;
|
|
78
|
+
getCurrentUserCloudImportJobs(type?: 'DROPBOX' | 'GOOGLE', observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
|
+
httpHeaderAccept?: 'application/json';
|
|
80
|
+
context?: HttpContext;
|
|
81
|
+
transferCache?: boolean;
|
|
82
|
+
}): Observable<HttpEvent<Array<CloudImportJobWithPermittedActions>>>;
|
|
83
|
+
/**
|
|
84
|
+
* Update the status of a cloud object import
|
|
85
|
+
* Update a [`CloudImportJob`](#operation/postCloudImportJob). Primarily used to stop a job.
|
|
86
|
+
* @param id The unique ID of the [`CloudImportJob`](#operation/postCloudImportJob)
|
|
87
|
+
* @param jobPatchRequest
|
|
88
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
89
|
+
* @param reportProgress flag to report request and response progress.
|
|
90
|
+
*/
|
|
91
|
+
patchCloudImportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
92
|
+
httpHeaderAccept?: 'application/json';
|
|
93
|
+
context?: HttpContext;
|
|
94
|
+
transferCache?: boolean;
|
|
95
|
+
}): Observable<CloudImportJobWithPermittedActions>;
|
|
96
|
+
patchCloudImportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
97
|
+
httpHeaderAccept?: 'application/json';
|
|
98
|
+
context?: HttpContext;
|
|
99
|
+
transferCache?: boolean;
|
|
100
|
+
}): Observable<HttpResponse<CloudImportJobWithPermittedActions>>;
|
|
101
|
+
patchCloudImportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
102
|
+
httpHeaderAccept?: 'application/json';
|
|
103
|
+
context?: HttpContext;
|
|
104
|
+
transferCache?: boolean;
|
|
105
|
+
}): Observable<HttpEvent<CloudImportJobWithPermittedActions>>;
|
|
106
|
+
/**
|
|
107
|
+
* Import cloud objects
|
|
108
|
+
* Create a new [`Cloud Import Job`](#tag/Cloud-Import-Jobs) resource to import assets into Dash
|
|
109
|
+
* @param cloudImportJobRequest
|
|
110
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
111
|
+
* @param reportProgress flag to report request and response progress.
|
|
112
|
+
*/
|
|
113
|
+
postCloudImportJobs(cloudImportJobRequest: CloudImportJobRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
114
|
+
httpHeaderAccept?: 'application/json';
|
|
115
|
+
context?: HttpContext;
|
|
116
|
+
transferCache?: boolean;
|
|
117
|
+
}): Observable<CloudImportJobWithPermittedActions>;
|
|
118
|
+
postCloudImportJobs(cloudImportJobRequest: CloudImportJobRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
119
|
+
httpHeaderAccept?: 'application/json';
|
|
120
|
+
context?: HttpContext;
|
|
121
|
+
transferCache?: boolean;
|
|
122
|
+
}): Observable<HttpResponse<CloudImportJobWithPermittedActions>>;
|
|
123
|
+
postCloudImportJobs(cloudImportJobRequest: CloudImportJobRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
124
|
+
httpHeaderAccept?: 'application/json';
|
|
125
|
+
context?: HttpContext;
|
|
126
|
+
transferCache?: boolean;
|
|
127
|
+
}): Observable<HttpEvent<CloudImportJobWithPermittedActions>>;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CloudImportJobsService, [null, { optional: true; }, { optional: true; }]>;
|
|
129
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CloudImportJobsService>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CloudObject } from '../model/cloudObject';
|
|
4
|
+
import { CloudObjectPagedSearch } from '../model/cloudObjectPagedSearch';
|
|
5
|
+
import { CloudObjectPagedSearchRequest } from '../model/cloudObjectPagedSearchRequest';
|
|
6
|
+
import { Configuration } from '../configuration';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CloudObjectsService {
|
|
9
|
+
protected httpClient: HttpClient;
|
|
10
|
+
protected basePath: string;
|
|
11
|
+
defaultHeaders: HttpHeaders;
|
|
12
|
+
configuration: Configuration;
|
|
13
|
+
encoder: HttpParameterCodec;
|
|
14
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
+
private addToHttpParams;
|
|
16
|
+
private addToHttpParamsRecursive;
|
|
17
|
+
/**
|
|
18
|
+
* Get a cloud object
|
|
19
|
+
* Get a CloudObject
|
|
20
|
+
* @param id The unique ID of the CloudConnection that the CloudObject belongs to
|
|
21
|
+
* @param cloudObjectId The unique ID of the CloudObject
|
|
22
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
23
|
+
* @param reportProgress flag to report request and response progress.
|
|
24
|
+
*/
|
|
25
|
+
getCloudObject(id: string, cloudObjectId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<CloudObject>;
|
|
30
|
+
getCloudObject(id: string, cloudObjectId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpResponse<CloudObject>>;
|
|
35
|
+
getCloudObject(id: string, cloudObjectId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
36
|
+
httpHeaderAccept?: 'application/json';
|
|
37
|
+
context?: HttpContext;
|
|
38
|
+
transferCache?: boolean;
|
|
39
|
+
}): Observable<HttpEvent<CloudObject>>;
|
|
40
|
+
/**
|
|
41
|
+
* Search for cloud objects
|
|
42
|
+
* @param cloudObjectPagedSearchRequest
|
|
43
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
44
|
+
* @param reportProgress flag to report request and response progress.
|
|
45
|
+
*/
|
|
46
|
+
postCloudObjectSearches(cloudObjectPagedSearchRequest: CloudObjectPagedSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: 'application/json';
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<CloudObjectPagedSearch>;
|
|
51
|
+
postCloudObjectSearches(cloudObjectPagedSearchRequest: CloudObjectPagedSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpResponse<CloudObjectPagedSearch>>;
|
|
56
|
+
postCloudObjectSearches(cloudObjectPagedSearchRequest: CloudObjectPagedSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<HttpEvent<CloudObjectPagedSearch>>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CloudObjectsService, [null, { optional: true; }, { optional: true; }]>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CloudObjectsService>;
|
|
63
|
+
}
|
|
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { CollectionSharePatchRequest } from '../model/collectionSharePatchRequest';
|
|
4
4
|
import { CollectionShareRequest } from '../model/collectionShareRequest';
|
|
5
5
|
import { CollectionShareSearch } from '../model/collectionShareSearch';
|
|
6
|
+
import { CollectionShareSearchRequest } from '../model/collectionShareSearchRequest';
|
|
6
7
|
import { CollectionShareWithPermittedActions } from '../model/collectionShareWithPermittedActions';
|
|
7
8
|
import { PublicCollectionShareSearchRequest } from '../model/publicCollectionShareSearchRequest';
|
|
8
9
|
import { Configuration } from '../configuration';
|
|
@@ -105,6 +106,28 @@ export declare class CollectionSharesService {
|
|
|
105
106
|
context?: HttpContext;
|
|
106
107
|
transferCache?: boolean;
|
|
107
108
|
}): Observable<HttpEvent<CollectionShareWithPermittedActions>>;
|
|
109
|
+
/**
|
|
110
|
+
* Search for collection shares
|
|
111
|
+
* Create a new [`CollectionShareSearch`](#operation/postCollectionShareSearch)
|
|
112
|
+
* @param collectionShareSearchRequest
|
|
113
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
114
|
+
* @param reportProgress flag to report request and response progress.
|
|
115
|
+
*/
|
|
116
|
+
postCollectionShareSearch(collectionShareSearchRequest: CollectionShareSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
117
|
+
httpHeaderAccept?: 'application/json';
|
|
118
|
+
context?: HttpContext;
|
|
119
|
+
transferCache?: boolean;
|
|
120
|
+
}): Observable<CollectionShareSearch>;
|
|
121
|
+
postCollectionShareSearch(collectionShareSearchRequest: CollectionShareSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
transferCache?: boolean;
|
|
125
|
+
}): Observable<HttpResponse<CollectionShareSearch>>;
|
|
126
|
+
postCollectionShareSearch(collectionShareSearchRequest: CollectionShareSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
127
|
+
httpHeaderAccept?: 'application/json';
|
|
128
|
+
context?: HttpContext;
|
|
129
|
+
transferCache?: boolean;
|
|
130
|
+
}): Observable<HttpEvent<CollectionShareSearch>>;
|
|
108
131
|
/**
|
|
109
132
|
* Search for publicly available collection shares
|
|
110
133
|
* Create a new [`CollectionShareSearch`](#operation/postCollectionShareSearch) **This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header**
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ExternalAppAccountRequest } from '../model/externalAppAccountRequest';
|
|
4
|
+
import { ExternalAppSsoTokenRequest } from '../model/externalAppSsoTokenRequest';
|
|
5
|
+
import { ExternalAppUserRequest } from '../model/externalAppUserRequest';
|
|
6
|
+
import { Configuration } from '../configuration';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ExternalAppService {
|
|
9
|
+
protected httpClient: HttpClient;
|
|
10
|
+
protected basePath: string;
|
|
11
|
+
defaultHeaders: HttpHeaders;
|
|
12
|
+
configuration: Configuration;
|
|
13
|
+
encoder: HttpParameterCodec;
|
|
14
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
+
private addToHttpParams;
|
|
16
|
+
private addToHttpParamsRecursive;
|
|
17
|
+
/**
|
|
18
|
+
* Create an external app account
|
|
19
|
+
* Associate an external app account with the account of the currently authenticated Dash user
|
|
20
|
+
* @param externalAppAccountRequest
|
|
21
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
22
|
+
* @param reportProgress flag to report request and response progress.
|
|
23
|
+
*/
|
|
24
|
+
postExternalAppAccount(externalAppAccountRequest: ExternalAppAccountRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
|
+
httpHeaderAccept?: 'application/json';
|
|
26
|
+
context?: HttpContext;
|
|
27
|
+
transferCache?: boolean;
|
|
28
|
+
}): Observable<any>;
|
|
29
|
+
postExternalAppAccount(externalAppAccountRequest: ExternalAppAccountRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
transferCache?: boolean;
|
|
33
|
+
}): Observable<HttpResponse<any>>;
|
|
34
|
+
postExternalAppAccount(externalAppAccountRequest: ExternalAppAccountRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
httpHeaderAccept?: 'application/json';
|
|
36
|
+
context?: HttpContext;
|
|
37
|
+
transferCache?: boolean;
|
|
38
|
+
}): Observable<HttpEvent<any>>;
|
|
39
|
+
/**
|
|
40
|
+
* Create an external app SSO token
|
|
41
|
+
* Create external app SSO token for the current user
|
|
42
|
+
* @param externalAppSsoTokenRequest
|
|
43
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
44
|
+
* @param reportProgress flag to report request and response progress.
|
|
45
|
+
*/
|
|
46
|
+
postExternalAppSsoTokens(externalAppSsoTokenRequest: ExternalAppSsoTokenRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: 'application/json';
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<any>;
|
|
51
|
+
postExternalAppSsoTokens(externalAppSsoTokenRequest: ExternalAppSsoTokenRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpResponse<any>>;
|
|
56
|
+
postExternalAppSsoTokens(externalAppSsoTokenRequest: ExternalAppSsoTokenRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<HttpEvent<any>>;
|
|
61
|
+
/**
|
|
62
|
+
* Create an external app user
|
|
63
|
+
* Associate an external app user ID with the currently authenticated Dash user
|
|
64
|
+
* @param externalAppUserRequest
|
|
65
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
66
|
+
* @param reportProgress flag to report request and response progress.
|
|
67
|
+
*/
|
|
68
|
+
postExternalAppUser(externalAppUserRequest: ExternalAppUserRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<any>;
|
|
73
|
+
postExternalAppUser(externalAppUserRequest: ExternalAppUserRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/json';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpResponse<any>>;
|
|
78
|
+
postExternalAppUser(externalAppUserRequest: ExternalAppUserRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
|
+
httpHeaderAccept?: 'application/json';
|
|
80
|
+
context?: HttpContext;
|
|
81
|
+
transferCache?: boolean;
|
|
82
|
+
}): Observable<HttpEvent<any>>;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalAppService, [null, { optional: true; }, { optional: true; }]>;
|
|
84
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalAppService>;
|
|
85
|
+
}
|