@brightinteractive/platform-api 0.1.26 → 0.1.27
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/api.d.ts +3 -1
- package/api/entityQuotaOverrides.service.d.ts +65 -0
- package/esm2022/api/accountSecurity.service.mjs +4 -4
- package/esm2022/api/accounts.service.mjs +4 -4
- package/esm2022/api/api.mjs +4 -2
- package/esm2022/api/assetComments.service.mjs +4 -4
- package/esm2022/api/assetDeduplication.service.mjs +4 -4
- package/esm2022/api/assetDownloadEvents.service.mjs +4 -4
- package/esm2022/api/assetEmbeddableLinks.service.mjs +4 -4
- package/esm2022/api/assetMetadataExport.service.mjs +4 -4
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +4 -4
- package/esm2022/api/assetSavedCropAreas.service.mjs +4 -4
- package/esm2022/api/assetShareAccessTokens.service.mjs +4 -4
- package/esm2022/api/assetShareEmails.service.mjs +4 -4
- package/esm2022/api/assetShares.service.mjs +4 -4
- package/esm2022/api/assets.service.mjs +4 -4
- package/esm2022/api/autoTaggingImageSettings.service.mjs +4 -4
- package/esm2022/api/cloudConnections.service.mjs +4 -4
- package/esm2022/api/cloudImportJobs.service.mjs +4 -4
- package/esm2022/api/cloudObjects.service.mjs +4 -4
- package/esm2022/api/collectionShareAccessTokens.service.mjs +4 -4
- package/esm2022/api/collectionShares.service.mjs +4 -4
- package/esm2022/api/collections.service.mjs +4 -4
- package/esm2022/api/corebook.service.mjs +4 -4
- package/esm2022/api/custom.service.mjs +4 -4
- package/esm2022/api/default.service.mjs +4 -4
- package/esm2022/api/entityQuotaOverrides.service.mjs +221 -0
- package/esm2022/api/externalApp.service.mjs +4 -4
- package/esm2022/api/fieldOptionImages.service.mjs +4 -4
- package/esm2022/api/fieldOptions.service.mjs +4 -4
- package/esm2022/api/fieldViews.service.mjs +4 -4
- package/esm2022/api/fields.service.mjs +4 -4
- package/esm2022/api/folderSettings.service.mjs +4 -4
- package/esm2022/api/groups.service.mjs +4 -4
- package/esm2022/api/guestUploadAccessTokens.service.mjs +4 -4
- package/esm2022/api/guestUploadEmails.service.mjs +4 -4
- package/esm2022/api/guestUploads.service.mjs +4 -4
- package/esm2022/api/onboardingChecklist.service.mjs +4 -4
- package/esm2022/api/ping.service.mjs +4 -4
- package/esm2022/api/portalAccessTokens.service.mjs +4 -4
- package/esm2022/api/portalEmails.service.mjs +4 -4
- package/esm2022/api/portals.service.mjs +4 -4
- package/esm2022/api/presetTransformations.service.mjs +4 -4
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +4 -4
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +4 -4
- package/esm2022/api/savedSearch.service.mjs +4 -4
- package/esm2022/api/savedSearches.service.mjs +4 -4
- package/esm2022/api/searchFilters.service.mjs +4 -4
- package/esm2022/api/shopify.service.mjs +4 -4
- package/esm2022/api/staffMembers.service.mjs +4 -4
- package/esm2022/api/subdomains.service.mjs +4 -4
- package/esm2022/api/subscription.service.mjs +4 -4
- package/esm2022/api/textInImageSettings.service.mjs +4 -4
- package/esm2022/api/theme.service.mjs +4 -4
- package/esm2022/api/userPreferences.service.mjs +4 -4
- package/esm2022/api/userReferrer.service.mjs +4 -4
- package/esm2022/api/users.service.mjs +4 -4
- package/esm2022/api/wordPress.service.mjs +4 -4
- package/esm2022/api.module.mjs +5 -5
- package/esm2022/model/entityQuotaOverride.mjs +13 -0
- package/esm2022/model/entityQuotaOverrideRequest.mjs +13 -0
- package/esm2022/model/entityQuotaOverrideWithPermittedActions.mjs +2 -0
- package/esm2022/model/models.mjs +5 -1
- package/esm2022/model/userFieldInSearchCriterion.mjs +7 -0
- package/esm2022/model/userSearchCriterion.mjs +1 -1
- package/esm2022/model/userSearchField.mjs +4 -2
- package/fesm2022/brightinteractive-platform-api.mjs +414 -169
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/entityQuotaOverride.d.ts +29 -0
- package/model/entityQuotaOverrideRequest.d.ts +17 -0
- package/model/entityQuotaOverrideWithPermittedActions.d.ts +17 -0
- package/model/models.d.ts +4 -0
- package/model/userFieldInSearchCriterion.d.ts +26 -0
- package/model/userSearchCriterion.d.ts +2 -1
- package/model/userSearchField.d.ts +3 -1
- package/package.json +1 -1
|
@@ -323,10 +323,10 @@ class AccountSecurityService {
|
|
|
323
323
|
reportProgress: reportProgress
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
327
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSecurityService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSecurityService, providedIn: 'root' }); }
|
|
328
328
|
}
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSecurityService, decorators: [{
|
|
330
330
|
type: Injectable,
|
|
331
331
|
args: [{
|
|
332
332
|
providedIn: 'root'
|
|
@@ -591,10 +591,10 @@ class AccountsService {
|
|
|
591
591
|
reportProgress: reportProgress
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
595
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
594
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
595
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountsService, providedIn: 'root' }); }
|
|
596
596
|
}
|
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountsService, decorators: [{
|
|
598
598
|
type: Injectable,
|
|
599
599
|
args: [{
|
|
600
600
|
providedIn: 'root'
|
|
@@ -915,10 +915,10 @@ class AssetCommentsService {
|
|
|
915
915
|
reportProgress: reportProgress
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
919
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetCommentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
919
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetCommentsService, providedIn: 'root' }); }
|
|
920
920
|
}
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetCommentsService, decorators: [{
|
|
922
922
|
type: Injectable,
|
|
923
923
|
args: [{
|
|
924
924
|
providedIn: 'root'
|
|
@@ -1053,10 +1053,10 @@ class AssetDeduplicationService {
|
|
|
1053
1053
|
reportProgress: reportProgress
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1057
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDeduplicationService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1057
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDeduplicationService, providedIn: 'root' }); }
|
|
1058
1058
|
}
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDeduplicationService, decorators: [{
|
|
1060
1060
|
type: Injectable,
|
|
1061
1061
|
args: [{
|
|
1062
1062
|
providedIn: 'root'
|
|
@@ -1203,10 +1203,10 @@ class AssetDownloadEventsService {
|
|
|
1203
1203
|
reportProgress: reportProgress
|
|
1204
1204
|
});
|
|
1205
1205
|
}
|
|
1206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1207
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDownloadEventsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDownloadEventsService, providedIn: 'root' }); }
|
|
1208
1208
|
}
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetDownloadEventsService, decorators: [{
|
|
1210
1210
|
type: Injectable,
|
|
1211
1211
|
args: [{
|
|
1212
1212
|
providedIn: 'root'
|
|
@@ -1586,10 +1586,10 @@ class AssetEmbeddableLinksService {
|
|
|
1586
1586
|
reportProgress: reportProgress
|
|
1587
1587
|
});
|
|
1588
1588
|
}
|
|
1589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1590
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetEmbeddableLinksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetEmbeddableLinksService, providedIn: 'root' }); }
|
|
1591
1591
|
}
|
|
1592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetEmbeddableLinksService, decorators: [{
|
|
1593
1593
|
type: Injectable,
|
|
1594
1594
|
args: [{
|
|
1595
1595
|
providedIn: 'root'
|
|
@@ -1895,10 +1895,10 @@ class AssetMetadataExportService {
|
|
|
1895
1895
|
reportProgress: reportProgress
|
|
1896
1896
|
});
|
|
1897
1897
|
}
|
|
1898
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1899
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1898
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetMetadataExportService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1899
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetMetadataExportService, providedIn: 'root' }); }
|
|
1900
1900
|
}
|
|
1901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetMetadataExportService, decorators: [{
|
|
1902
1902
|
type: Injectable,
|
|
1903
1903
|
args: [{
|
|
1904
1904
|
providedIn: 'root'
|
|
@@ -2098,10 +2098,10 @@ class AssetSavedCropAreaSummariesService {
|
|
|
2098
2098
|
reportProgress: reportProgress
|
|
2099
2099
|
});
|
|
2100
2100
|
}
|
|
2101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2102
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreaSummariesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2102
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreaSummariesService, providedIn: 'root' }); }
|
|
2103
2103
|
}
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreaSummariesService, decorators: [{
|
|
2105
2105
|
type: Injectable,
|
|
2106
2106
|
args: [{
|
|
2107
2107
|
providedIn: 'root'
|
|
@@ -2422,10 +2422,10 @@ class AssetSavedCropAreasService {
|
|
|
2422
2422
|
reportProgress: reportProgress
|
|
2423
2423
|
});
|
|
2424
2424
|
}
|
|
2425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2426
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2425
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreasService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2426
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreasService, providedIn: 'root' }); }
|
|
2427
2427
|
}
|
|
2428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSavedCropAreasService, decorators: [{
|
|
2429
2429
|
type: Injectable,
|
|
2430
2430
|
args: [{
|
|
2431
2431
|
providedIn: 'root'
|
|
@@ -2557,10 +2557,10 @@ class AssetShareAccessTokensService {
|
|
|
2557
2557
|
reportProgress: reportProgress
|
|
2558
2558
|
});
|
|
2559
2559
|
}
|
|
2560
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2561
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareAccessTokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2561
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareAccessTokensService, providedIn: 'root' }); }
|
|
2562
2562
|
}
|
|
2563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareAccessTokensService, decorators: [{
|
|
2564
2564
|
type: Injectable,
|
|
2565
2565
|
args: [{
|
|
2566
2566
|
providedIn: 'root'
|
|
@@ -2707,10 +2707,10 @@ class AssetShareEmailsService {
|
|
|
2707
2707
|
reportProgress: reportProgress
|
|
2708
2708
|
});
|
|
2709
2709
|
}
|
|
2710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2711
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2710
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareEmailsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2711
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareEmailsService, providedIn: 'root' }); }
|
|
2712
2712
|
}
|
|
2713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetShareEmailsService, decorators: [{
|
|
2714
2714
|
type: Injectable,
|
|
2715
2715
|
args: [{
|
|
2716
2716
|
providedIn: 'root'
|
|
@@ -3084,10 +3084,10 @@ class AssetSharesService {
|
|
|
3084
3084
|
reportProgress: reportProgress
|
|
3085
3085
|
});
|
|
3086
3086
|
}
|
|
3087
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3088
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSharesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3088
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSharesService, providedIn: 'root' }); }
|
|
3089
3089
|
}
|
|
3090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetSharesService, decorators: [{
|
|
3091
3091
|
type: Injectable,
|
|
3092
3092
|
args: [{
|
|
3093
3093
|
providedIn: 'root'
|
|
@@ -4570,10 +4570,10 @@ class AssetsService {
|
|
|
4570
4570
|
reportProgress: reportProgress
|
|
4571
4571
|
});
|
|
4572
4572
|
}
|
|
4573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4574
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4573
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4574
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
|
|
4575
4575
|
}
|
|
4576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, decorators: [{
|
|
4577
4577
|
type: Injectable,
|
|
4578
4578
|
args: [{
|
|
4579
4579
|
providedIn: 'root'
|
|
@@ -4770,10 +4770,10 @@ class AutoTaggingImageSettingsService {
|
|
|
4770
4770
|
reportProgress: reportProgress
|
|
4771
4771
|
});
|
|
4772
4772
|
}
|
|
4773
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4774
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4773
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoTaggingImageSettingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4774
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoTaggingImageSettingsService, providedIn: 'root' }); }
|
|
4775
4775
|
}
|
|
4776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoTaggingImageSettingsService, decorators: [{
|
|
4777
4777
|
type: Injectable,
|
|
4778
4778
|
args: [{
|
|
4779
4779
|
providedIn: 'root'
|
|
@@ -5120,10 +5120,10 @@ class CloudConnectionsService {
|
|
|
5120
5120
|
reportProgress: reportProgress
|
|
5121
5121
|
});
|
|
5122
5122
|
}
|
|
5123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5124
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudConnectionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5124
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudConnectionsService, providedIn: 'root' }); }
|
|
5125
5125
|
}
|
|
5126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudConnectionsService, decorators: [{
|
|
5127
5127
|
type: Injectable,
|
|
5128
5128
|
args: [{
|
|
5129
5129
|
providedIn: 'root'
|
|
@@ -5496,10 +5496,10 @@ class CloudImportJobsService {
|
|
|
5496
5496
|
reportProgress: reportProgress
|
|
5497
5497
|
});
|
|
5498
5498
|
}
|
|
5499
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5500
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5499
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudImportJobsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5500
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudImportJobsService, providedIn: 'root' }); }
|
|
5501
5501
|
}
|
|
5502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudImportJobsService, decorators: [{
|
|
5503
5503
|
type: Injectable,
|
|
5504
5504
|
args: [{
|
|
5505
5505
|
providedIn: 'root'
|
|
@@ -5702,10 +5702,10 @@ class CloudObjectsService {
|
|
|
5702
5702
|
reportProgress: reportProgress
|
|
5703
5703
|
});
|
|
5704
5704
|
}
|
|
5705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5706
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudObjectsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5706
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudObjectsService, providedIn: 'root' }); }
|
|
5707
5707
|
}
|
|
5708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CloudObjectsService, decorators: [{
|
|
5709
5709
|
type: Injectable,
|
|
5710
5710
|
args: [{
|
|
5711
5711
|
providedIn: 'root'
|
|
@@ -5837,10 +5837,10 @@ class CollectionShareAccessTokensService {
|
|
|
5837
5837
|
reportProgress: reportProgress
|
|
5838
5838
|
});
|
|
5839
5839
|
}
|
|
5840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5841
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5840
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionShareAccessTokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5841
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionShareAccessTokensService, providedIn: 'root' }); }
|
|
5842
5842
|
}
|
|
5843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionShareAccessTokensService, decorators: [{
|
|
5844
5844
|
type: Injectable,
|
|
5845
5845
|
args: [{
|
|
5846
5846
|
providedIn: 'root'
|
|
@@ -6270,10 +6270,10 @@ class CollectionSharesService {
|
|
|
6270
6270
|
reportProgress: reportProgress
|
|
6271
6271
|
});
|
|
6272
6272
|
}
|
|
6273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6274
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionSharesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6274
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionSharesService, providedIn: 'root' }); }
|
|
6275
6275
|
}
|
|
6276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionSharesService, decorators: [{
|
|
6277
6277
|
type: Injectable,
|
|
6278
6278
|
args: [{
|
|
6279
6279
|
providedIn: 'root'
|
|
@@ -6547,10 +6547,10 @@ class CollectionsService {
|
|
|
6547
6547
|
reportProgress: reportProgress
|
|
6548
6548
|
});
|
|
6549
6549
|
}
|
|
6550
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6551
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6551
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionsService, providedIn: 'root' }); }
|
|
6552
6552
|
}
|
|
6553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CollectionsService, decorators: [{
|
|
6554
6554
|
type: Injectable,
|
|
6555
6555
|
args: [{
|
|
6556
6556
|
providedIn: 'root'
|
|
@@ -6747,10 +6747,10 @@ class CorebookService {
|
|
|
6747
6747
|
reportProgress: reportProgress
|
|
6748
6748
|
});
|
|
6749
6749
|
}
|
|
6750
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6751
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6750
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorebookService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6751
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorebookService, providedIn: 'root' }); }
|
|
6752
6752
|
}
|
|
6753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorebookService, decorators: [{
|
|
6754
6754
|
type: Injectable,
|
|
6755
6755
|
args: [{
|
|
6756
6756
|
providedIn: 'root'
|
|
@@ -7059,10 +7059,10 @@ class CustomService {
|
|
|
7059
7059
|
reportProgress: reportProgress
|
|
7060
7060
|
});
|
|
7061
7061
|
}
|
|
7062
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7063
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7062
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7063
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomService, providedIn: 'root' }); }
|
|
7064
7064
|
}
|
|
7065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomService, decorators: [{
|
|
7066
7066
|
type: Injectable,
|
|
7067
7067
|
args: [{
|
|
7068
7068
|
providedIn: 'root'
|
|
@@ -7191,10 +7191,222 @@ class DefaultService {
|
|
|
7191
7191
|
reportProgress: reportProgress
|
|
7192
7192
|
});
|
|
7193
7193
|
}
|
|
7194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7195
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7195
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, providedIn: 'root' }); }
|
|
7196
7196
|
}
|
|
7197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, decorators: [{
|
|
7198
|
+
type: Injectable,
|
|
7199
|
+
args: [{
|
|
7200
|
+
providedIn: 'root'
|
|
7201
|
+
}]
|
|
7202
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
7203
|
+
type: Optional
|
|
7204
|
+
}, {
|
|
7205
|
+
type: Inject,
|
|
7206
|
+
args: [BASE_PATH]
|
|
7207
|
+
}] }, { type: Configuration, decorators: [{
|
|
7208
|
+
type: Optional
|
|
7209
|
+
}] }] });
|
|
7210
|
+
|
|
7211
|
+
/**
|
|
7212
|
+
* Dash API
|
|
7213
|
+
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
7214
|
+
*
|
|
7215
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7216
|
+
* Contact: help@dash.app
|
|
7217
|
+
*
|
|
7218
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7219
|
+
* https://openapi-generator.tech
|
|
7220
|
+
* Do not edit the class manually.
|
|
7221
|
+
*/
|
|
7222
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
7223
|
+
class EntityQuotaOverridesService {
|
|
7224
|
+
constructor(httpClient, basePath, configuration) {
|
|
7225
|
+
this.httpClient = httpClient;
|
|
7226
|
+
this.basePath = 'https://api-v2.dash.app';
|
|
7227
|
+
this.defaultHeaders = new HttpHeaders();
|
|
7228
|
+
this.configuration = new Configuration();
|
|
7229
|
+
if (configuration) {
|
|
7230
|
+
this.configuration = configuration;
|
|
7231
|
+
}
|
|
7232
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
7233
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
7234
|
+
if (firstBasePath != undefined) {
|
|
7235
|
+
basePath = firstBasePath;
|
|
7236
|
+
}
|
|
7237
|
+
if (typeof basePath !== 'string') {
|
|
7238
|
+
basePath = this.basePath;
|
|
7239
|
+
}
|
|
7240
|
+
this.configuration.basePath = basePath;
|
|
7241
|
+
}
|
|
7242
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
7243
|
+
}
|
|
7244
|
+
// @ts-ignore
|
|
7245
|
+
addToHttpParams(httpParams, value, key) {
|
|
7246
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
7247
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
7248
|
+
}
|
|
7249
|
+
else {
|
|
7250
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
7251
|
+
}
|
|
7252
|
+
return httpParams;
|
|
7253
|
+
}
|
|
7254
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
7255
|
+
if (value == null) {
|
|
7256
|
+
return httpParams;
|
|
7257
|
+
}
|
|
7258
|
+
if (typeof value === "object") {
|
|
7259
|
+
if (Array.isArray(value)) {
|
|
7260
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
7261
|
+
}
|
|
7262
|
+
else if (value instanceof Date) {
|
|
7263
|
+
if (key != null) {
|
|
7264
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
7265
|
+
}
|
|
7266
|
+
else {
|
|
7267
|
+
throw Error("key may not be null if value is Date");
|
|
7268
|
+
}
|
|
7269
|
+
}
|
|
7270
|
+
else {
|
|
7271
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
7272
|
+
}
|
|
7273
|
+
}
|
|
7274
|
+
else if (key != null) {
|
|
7275
|
+
httpParams = httpParams.append(key, value);
|
|
7276
|
+
}
|
|
7277
|
+
else {
|
|
7278
|
+
throw Error("key may not be null if value is not object or array");
|
|
7279
|
+
}
|
|
7280
|
+
return httpParams;
|
|
7281
|
+
}
|
|
7282
|
+
getEntityQuotaOverride(accountId, id, observe = 'body', reportProgress = false, options) {
|
|
7283
|
+
if (accountId === null || accountId === undefined) {
|
|
7284
|
+
throw new Error('Required parameter accountId was null or undefined when calling getEntityQuotaOverride.');
|
|
7285
|
+
}
|
|
7286
|
+
if (id === null || id === undefined) {
|
|
7287
|
+
throw new Error('Required parameter id was null or undefined when calling getEntityQuotaOverride.');
|
|
7288
|
+
}
|
|
7289
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7290
|
+
let localVarCredential;
|
|
7291
|
+
// authentication (bearerToken) required
|
|
7292
|
+
localVarCredential = this.configuration.lookupCredential('bearerToken');
|
|
7293
|
+
if (localVarCredential) {
|
|
7294
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
7295
|
+
}
|
|
7296
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
7297
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
7298
|
+
// to determine the Accept header
|
|
7299
|
+
const httpHeaderAccepts = [
|
|
7300
|
+
'application/json'
|
|
7301
|
+
];
|
|
7302
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7303
|
+
}
|
|
7304
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7305
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7306
|
+
}
|
|
7307
|
+
let localVarHttpContext = options && options.context;
|
|
7308
|
+
if (localVarHttpContext === undefined) {
|
|
7309
|
+
localVarHttpContext = new HttpContext();
|
|
7310
|
+
}
|
|
7311
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7312
|
+
if (localVarTransferCache === undefined) {
|
|
7313
|
+
localVarTransferCache = true;
|
|
7314
|
+
}
|
|
7315
|
+
let responseType_ = 'json';
|
|
7316
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7317
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7318
|
+
responseType_ = 'text';
|
|
7319
|
+
}
|
|
7320
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7321
|
+
responseType_ = 'json';
|
|
7322
|
+
}
|
|
7323
|
+
else {
|
|
7324
|
+
responseType_ = 'blob';
|
|
7325
|
+
}
|
|
7326
|
+
}
|
|
7327
|
+
let localVarPath = `/admin/accounts/${this.configuration.encodeParam({ name: "accountId", value: accountId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/entities/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/quota-override`;
|
|
7328
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
7329
|
+
context: localVarHttpContext,
|
|
7330
|
+
responseType: responseType_,
|
|
7331
|
+
withCredentials: this.configuration.withCredentials,
|
|
7332
|
+
headers: localVarHeaders,
|
|
7333
|
+
observe: observe,
|
|
7334
|
+
transferCache: localVarTransferCache,
|
|
7335
|
+
reportProgress: reportProgress
|
|
7336
|
+
});
|
|
7337
|
+
}
|
|
7338
|
+
putEntityQuotaOverride(accountId, id, entityQuotaOverrideRequest, observe = 'body', reportProgress = false, options) {
|
|
7339
|
+
if (accountId === null || accountId === undefined) {
|
|
7340
|
+
throw new Error('Required parameter accountId was null or undefined when calling putEntityQuotaOverride.');
|
|
7341
|
+
}
|
|
7342
|
+
if (id === null || id === undefined) {
|
|
7343
|
+
throw new Error('Required parameter id was null or undefined when calling putEntityQuotaOverride.');
|
|
7344
|
+
}
|
|
7345
|
+
if (entityQuotaOverrideRequest === null || entityQuotaOverrideRequest === undefined) {
|
|
7346
|
+
throw new Error('Required parameter entityQuotaOverrideRequest was null or undefined when calling putEntityQuotaOverride.');
|
|
7347
|
+
}
|
|
7348
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7349
|
+
let localVarCredential;
|
|
7350
|
+
// authentication (bearerToken) required
|
|
7351
|
+
localVarCredential = this.configuration.lookupCredential('bearerToken');
|
|
7352
|
+
if (localVarCredential) {
|
|
7353
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
7354
|
+
}
|
|
7355
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
7356
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
7357
|
+
// to determine the Accept header
|
|
7358
|
+
const httpHeaderAccepts = [
|
|
7359
|
+
'application/json'
|
|
7360
|
+
];
|
|
7361
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7362
|
+
}
|
|
7363
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7364
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7365
|
+
}
|
|
7366
|
+
let localVarHttpContext = options && options.context;
|
|
7367
|
+
if (localVarHttpContext === undefined) {
|
|
7368
|
+
localVarHttpContext = new HttpContext();
|
|
7369
|
+
}
|
|
7370
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7371
|
+
if (localVarTransferCache === undefined) {
|
|
7372
|
+
localVarTransferCache = true;
|
|
7373
|
+
}
|
|
7374
|
+
// to determine the Content-Type header
|
|
7375
|
+
const consumes = [
|
|
7376
|
+
'application/json'
|
|
7377
|
+
];
|
|
7378
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
7379
|
+
if (httpContentTypeSelected !== undefined) {
|
|
7380
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
7381
|
+
}
|
|
7382
|
+
let responseType_ = 'json';
|
|
7383
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7384
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7385
|
+
responseType_ = 'text';
|
|
7386
|
+
}
|
|
7387
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7388
|
+
responseType_ = 'json';
|
|
7389
|
+
}
|
|
7390
|
+
else {
|
|
7391
|
+
responseType_ = 'blob';
|
|
7392
|
+
}
|
|
7393
|
+
}
|
|
7394
|
+
let localVarPath = `/admin/accounts/${this.configuration.encodeParam({ name: "accountId", value: accountId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/entities/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/quota-override`;
|
|
7395
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
7396
|
+
context: localVarHttpContext,
|
|
7397
|
+
body: entityQuotaOverrideRequest,
|
|
7398
|
+
responseType: responseType_,
|
|
7399
|
+
withCredentials: this.configuration.withCredentials,
|
|
7400
|
+
headers: localVarHeaders,
|
|
7401
|
+
observe: observe,
|
|
7402
|
+
transferCache: localVarTransferCache,
|
|
7403
|
+
reportProgress: reportProgress
|
|
7404
|
+
});
|
|
7405
|
+
}
|
|
7406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EntityQuotaOverridesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7407
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EntityQuotaOverridesService, providedIn: 'root' }); }
|
|
7408
|
+
}
|
|
7409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EntityQuotaOverridesService, decorators: [{
|
|
7198
7410
|
type: Injectable,
|
|
7199
7411
|
args: [{
|
|
7200
7412
|
providedIn: 'root'
|
|
@@ -7465,10 +7677,10 @@ class ExternalAppService {
|
|
|
7465
7677
|
reportProgress: reportProgress
|
|
7466
7678
|
});
|
|
7467
7679
|
}
|
|
7468
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7469
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7680
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExternalAppService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7681
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExternalAppService, providedIn: 'root' }); }
|
|
7470
7682
|
}
|
|
7471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExternalAppService, decorators: [{
|
|
7472
7684
|
type: Injectable,
|
|
7473
7685
|
args: [{
|
|
7474
7686
|
providedIn: 'root'
|
|
@@ -7730,10 +7942,10 @@ class FieldOptionImagesService {
|
|
|
7730
7942
|
reportProgress: reportProgress
|
|
7731
7943
|
});
|
|
7732
7944
|
}
|
|
7733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7734
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionImagesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7946
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionImagesService, providedIn: 'root' }); }
|
|
7735
7947
|
}
|
|
7736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionImagesService, decorators: [{
|
|
7737
7949
|
type: Injectable,
|
|
7738
7950
|
args: [{
|
|
7739
7951
|
providedIn: 'root'
|
|
@@ -8110,10 +8322,10 @@ class FieldOptionsService {
|
|
|
8110
8322
|
reportProgress: reportProgress
|
|
8111
8323
|
});
|
|
8112
8324
|
}
|
|
8113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8114
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8326
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionsService, providedIn: 'root' }); }
|
|
8115
8327
|
}
|
|
8116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldOptionsService, decorators: [{
|
|
8117
8329
|
type: Injectable,
|
|
8118
8330
|
args: [{
|
|
8119
8331
|
providedIn: 'root'
|
|
@@ -8248,10 +8460,10 @@ class FieldViewsService {
|
|
|
8248
8460
|
reportProgress: reportProgress
|
|
8249
8461
|
});
|
|
8250
8462
|
}
|
|
8251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8252
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8463
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldViewsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8464
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldViewsService, providedIn: 'root' }); }
|
|
8253
8465
|
}
|
|
8254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldViewsService, decorators: [{
|
|
8255
8467
|
type: Injectable,
|
|
8256
8468
|
args: [{
|
|
8257
8469
|
providedIn: 'root'
|
|
@@ -8619,10 +8831,10 @@ class FieldsService {
|
|
|
8619
8831
|
reportProgress: reportProgress
|
|
8620
8832
|
});
|
|
8621
8833
|
}
|
|
8622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8623
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8834
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8835
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldsService, providedIn: 'root' }); }
|
|
8624
8836
|
}
|
|
8625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FieldsService, decorators: [{
|
|
8626
8838
|
type: Injectable,
|
|
8627
8839
|
args: [{
|
|
8628
8840
|
providedIn: 'root'
|
|
@@ -8757,10 +8969,10 @@ class FolderSettingsService {
|
|
|
8757
8969
|
reportProgress: reportProgress
|
|
8758
8970
|
});
|
|
8759
8971
|
}
|
|
8760
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8761
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FolderSettingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8973
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FolderSettingsService, providedIn: 'root' }); }
|
|
8762
8974
|
}
|
|
8763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FolderSettingsService, decorators: [{
|
|
8764
8976
|
type: Injectable,
|
|
8765
8977
|
args: [{
|
|
8766
8978
|
providedIn: 'root'
|
|
@@ -9128,10 +9340,10 @@ class GroupsService {
|
|
|
9128
9340
|
reportProgress: reportProgress
|
|
9129
9341
|
});
|
|
9130
9342
|
}
|
|
9131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9132
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9343
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GroupsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9344
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GroupsService, providedIn: 'root' }); }
|
|
9133
9345
|
}
|
|
9134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GroupsService, decorators: [{
|
|
9135
9347
|
type: Injectable,
|
|
9136
9348
|
args: [{
|
|
9137
9349
|
providedIn: 'root'
|
|
@@ -9272,10 +9484,10 @@ class GuestUploadAccessTokensService {
|
|
|
9272
9484
|
reportProgress: reportProgress
|
|
9273
9485
|
});
|
|
9274
9486
|
}
|
|
9275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9276
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadAccessTokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9488
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadAccessTokensService, providedIn: 'root' }); }
|
|
9277
9489
|
}
|
|
9278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadAccessTokensService, decorators: [{
|
|
9279
9491
|
type: Injectable,
|
|
9280
9492
|
args: [{
|
|
9281
9493
|
providedIn: 'root'
|
|
@@ -9422,10 +9634,10 @@ class GuestUploadEmailsService {
|
|
|
9422
9634
|
reportProgress: reportProgress
|
|
9423
9635
|
});
|
|
9424
9636
|
}
|
|
9425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9426
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadEmailsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9638
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadEmailsService, providedIn: 'root' }); }
|
|
9427
9639
|
}
|
|
9428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadEmailsService, decorators: [{
|
|
9429
9641
|
type: Injectable,
|
|
9430
9642
|
args: [{
|
|
9431
9643
|
providedIn: 'root'
|
|
@@ -9805,10 +10017,10 @@ class GuestUploadsService {
|
|
|
9805
10017
|
reportProgress: reportProgress
|
|
9806
10018
|
});
|
|
9807
10019
|
}
|
|
9808
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9809
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10021
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadsService, providedIn: 'root' }); }
|
|
9810
10022
|
}
|
|
9811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GuestUploadsService, decorators: [{
|
|
9812
10024
|
type: Injectable,
|
|
9813
10025
|
args: [{
|
|
9814
10026
|
providedIn: 'root'
|
|
@@ -10005,10 +10217,10 @@ class OnboardingChecklistService {
|
|
|
10005
10217
|
reportProgress: reportProgress
|
|
10006
10218
|
});
|
|
10007
10219
|
}
|
|
10008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10009
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10220
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OnboardingChecklistService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10221
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OnboardingChecklistService, providedIn: 'root' }); }
|
|
10010
10222
|
}
|
|
10011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OnboardingChecklistService, decorators: [{
|
|
10012
10224
|
type: Injectable,
|
|
10013
10225
|
args: [{
|
|
10014
10226
|
providedIn: 'root'
|
|
@@ -10137,10 +10349,10 @@ class PingService {
|
|
|
10137
10349
|
reportProgress: reportProgress
|
|
10138
10350
|
});
|
|
10139
10351
|
}
|
|
10140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10141
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PingService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10353
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PingService, providedIn: 'root' }); }
|
|
10142
10354
|
}
|
|
10143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PingService, decorators: [{
|
|
10144
10356
|
type: Injectable,
|
|
10145
10357
|
args: [{
|
|
10146
10358
|
providedIn: 'root'
|
|
@@ -10278,10 +10490,10 @@ class PortalAccessTokensService {
|
|
|
10278
10490
|
reportProgress: reportProgress
|
|
10279
10491
|
});
|
|
10280
10492
|
}
|
|
10281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10282
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalAccessTokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalAccessTokensService, providedIn: 'root' }); }
|
|
10283
10495
|
}
|
|
10284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalAccessTokensService, decorators: [{
|
|
10285
10497
|
type: Injectable,
|
|
10286
10498
|
args: [{
|
|
10287
10499
|
providedIn: 'root'
|
|
@@ -10428,10 +10640,10 @@ class PortalEmailsService {
|
|
|
10428
10640
|
reportProgress: reportProgress
|
|
10429
10641
|
});
|
|
10430
10642
|
}
|
|
10431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10432
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalEmailsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10644
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalEmailsService, providedIn: 'root' }); }
|
|
10433
10645
|
}
|
|
10434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalEmailsService, decorators: [{
|
|
10435
10647
|
type: Injectable,
|
|
10436
10648
|
args: [{
|
|
10437
10649
|
providedIn: 'root'
|
|
@@ -10811,10 +11023,10 @@ class PortalsService {
|
|
|
10811
11023
|
reportProgress: reportProgress
|
|
10812
11024
|
});
|
|
10813
11025
|
}
|
|
10814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10815
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11026
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11027
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalsService, providedIn: 'root' }); }
|
|
10816
11028
|
}
|
|
10817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalsService, decorators: [{
|
|
10818
11030
|
type: Injectable,
|
|
10819
11031
|
args: [{
|
|
10820
11032
|
providedIn: 'root'
|
|
@@ -11073,10 +11285,10 @@ class PresetTransformationsService {
|
|
|
11073
11285
|
reportProgress: reportProgress
|
|
11074
11286
|
});
|
|
11075
11287
|
}
|
|
11076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11077
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PresetTransformationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11289
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PresetTransformationsService, providedIn: 'root' }); }
|
|
11078
11290
|
}
|
|
11079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PresetTransformationsService, decorators: [{
|
|
11080
11292
|
type: Injectable,
|
|
11081
11293
|
args: [{
|
|
11082
11294
|
providedIn: 'root'
|
|
@@ -11217,10 +11429,10 @@ class PubliclyAvailableGuestUploadDataService {
|
|
|
11217
11429
|
reportProgress: reportProgress
|
|
11218
11430
|
});
|
|
11219
11431
|
}
|
|
11220
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11221
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailableGuestUploadDataService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11433
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailableGuestUploadDataService, providedIn: 'root' }); }
|
|
11222
11434
|
}
|
|
11223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailableGuestUploadDataService, decorators: [{
|
|
11224
11436
|
type: Injectable,
|
|
11225
11437
|
args: [{
|
|
11226
11438
|
providedIn: 'root'
|
|
@@ -11361,10 +11573,10 @@ class PubliclyAvailablePortalDatasService {
|
|
|
11361
11573
|
reportProgress: reportProgress
|
|
11362
11574
|
});
|
|
11363
11575
|
}
|
|
11364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11365
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailablePortalDatasService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailablePortalDatasService, providedIn: 'root' }); }
|
|
11366
11578
|
}
|
|
11367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PubliclyAvailablePortalDatasService, decorators: [{
|
|
11368
11580
|
type: Injectable,
|
|
11369
11581
|
args: [{
|
|
11370
11582
|
providedIn: 'root'
|
|
@@ -11502,10 +11714,10 @@ class SavedSearchService {
|
|
|
11502
11714
|
reportProgress: reportProgress
|
|
11503
11715
|
});
|
|
11504
11716
|
}
|
|
11505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11506
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11718
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchService, providedIn: 'root' }); }
|
|
11507
11719
|
}
|
|
11508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchService, decorators: [{
|
|
11509
11721
|
type: Injectable,
|
|
11510
11722
|
args: [{
|
|
11511
11723
|
providedIn: 'root'
|
|
@@ -11832,10 +12044,10 @@ class SavedSearchesService {
|
|
|
11832
12044
|
reportProgress: reportProgress
|
|
11833
12045
|
});
|
|
11834
12046
|
}
|
|
11835
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11836
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
12047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12048
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchesService, providedIn: 'root' }); }
|
|
11837
12049
|
}
|
|
11838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedSearchesService, decorators: [{
|
|
11839
12051
|
type: Injectable,
|
|
11840
12052
|
args: [{
|
|
11841
12053
|
providedIn: 'root'
|
|
@@ -12200,10 +12412,10 @@ class SearchFiltersService {
|
|
|
12200
12412
|
reportProgress: reportProgress
|
|
12201
12413
|
});
|
|
12202
12414
|
}
|
|
12203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
12415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchFiltersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12416
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchFiltersService, providedIn: 'root' }); }
|
|
12205
12417
|
}
|
|
12206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchFiltersService, decorators: [{
|
|
12207
12419
|
type: Injectable,
|
|
12208
12420
|
args: [{
|
|
12209
12421
|
providedIn: 'root'
|
|
@@ -12532,10 +12744,10 @@ class ShopifyService {
|
|
|
12532
12744
|
reportProgress: reportProgress
|
|
12533
12745
|
});
|
|
12534
12746
|
}
|
|
12535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12536
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
12747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShopifyService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12748
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShopifyService, providedIn: 'root' }); }
|
|
12537
12749
|
}
|
|
12538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShopifyService, decorators: [{
|
|
12539
12751
|
type: Injectable,
|
|
12540
12752
|
args: [{
|
|
12541
12753
|
providedIn: 'root'
|
|
@@ -12785,10 +12997,10 @@ class StaffMembersService {
|
|
|
12785
12997
|
reportProgress: reportProgress
|
|
12786
12998
|
});
|
|
12787
12999
|
}
|
|
12788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12789
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13000
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaffMembersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13001
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaffMembersService, providedIn: 'root' }); }
|
|
12790
13002
|
}
|
|
12791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaffMembersService, decorators: [{
|
|
12792
13004
|
type: Injectable,
|
|
12793
13005
|
args: [{
|
|
12794
13006
|
providedIn: 'root'
|
|
@@ -12929,10 +13141,10 @@ class SubdomainsService {
|
|
|
12929
13141
|
reportProgress: reportProgress
|
|
12930
13142
|
});
|
|
12931
13143
|
}
|
|
12932
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12933
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubdomainsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13145
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubdomainsService, providedIn: 'root' }); }
|
|
12934
13146
|
}
|
|
12935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubdomainsService, decorators: [{
|
|
12936
13148
|
type: Injectable,
|
|
12937
13149
|
args: [{
|
|
12938
13150
|
providedIn: 'root'
|
|
@@ -13397,10 +13609,10 @@ class SubscriptionService {
|
|
|
13397
13609
|
reportProgress: reportProgress
|
|
13398
13610
|
});
|
|
13399
13611
|
}
|
|
13400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13401
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13612
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13613
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubscriptionService, providedIn: 'root' }); }
|
|
13402
13614
|
}
|
|
13403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
13404
13616
|
type: Injectable,
|
|
13405
13617
|
args: [{
|
|
13406
13618
|
providedIn: 'root'
|
|
@@ -13597,10 +13809,10 @@ class TextInImageSettingsService {
|
|
|
13597
13809
|
reportProgress: reportProgress
|
|
13598
13810
|
});
|
|
13599
13811
|
}
|
|
13600
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13601
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13812
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextInImageSettingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13813
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextInImageSettingsService, providedIn: 'root' }); }
|
|
13602
13814
|
}
|
|
13603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextInImageSettingsService, decorators: [{
|
|
13604
13816
|
type: Injectable,
|
|
13605
13817
|
args: [{
|
|
13606
13818
|
providedIn: 'root'
|
|
@@ -14115,10 +14327,10 @@ class ThemeService {
|
|
|
14115
14327
|
reportProgress: reportProgress
|
|
14116
14328
|
});
|
|
14117
14329
|
}
|
|
14118
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14119
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThemeService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14331
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThemeService, providedIn: 'root' }); }
|
|
14120
14332
|
}
|
|
14121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThemeService, decorators: [{
|
|
14122
14334
|
type: Injectable,
|
|
14123
14335
|
args: [{
|
|
14124
14336
|
providedIn: 'root'
|
|
@@ -14315,10 +14527,10 @@ class UserPreferencesService {
|
|
|
14315
14527
|
reportProgress: reportProgress
|
|
14316
14528
|
});
|
|
14317
14529
|
}
|
|
14318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14319
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserPreferencesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14531
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserPreferencesService, providedIn: 'root' }); }
|
|
14320
14532
|
}
|
|
14321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserPreferencesService, decorators: [{
|
|
14322
14534
|
type: Injectable,
|
|
14323
14535
|
args: [{
|
|
14324
14536
|
providedIn: 'root'
|
|
@@ -14453,10 +14665,10 @@ class UserReferrerService {
|
|
|
14453
14665
|
reportProgress: reportProgress
|
|
14454
14666
|
});
|
|
14455
14667
|
}
|
|
14456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14457
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserReferrerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14669
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserReferrerService, providedIn: 'root' }); }
|
|
14458
14670
|
}
|
|
14459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserReferrerService, decorators: [{
|
|
14460
14672
|
type: Injectable,
|
|
14461
14673
|
args: [{
|
|
14462
14674
|
providedIn: 'root'
|
|
@@ -15467,10 +15679,10 @@ class UsersService {
|
|
|
15467
15679
|
reportProgress: reportProgress
|
|
15468
15680
|
});
|
|
15469
15681
|
}
|
|
15470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15471
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
15682
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15683
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, providedIn: 'root' }); }
|
|
15472
15684
|
}
|
|
15473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, decorators: [{
|
|
15474
15686
|
type: Injectable,
|
|
15475
15687
|
args: [{
|
|
15476
15688
|
providedIn: 'root'
|
|
@@ -15779,10 +15991,10 @@ class WordPressService {
|
|
|
15779
15991
|
reportProgress: reportProgress
|
|
15780
15992
|
});
|
|
15781
15993
|
}
|
|
15782
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15783
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
15994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WordPressService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15995
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WordPressService, providedIn: 'root' }); }
|
|
15784
15996
|
}
|
|
15785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WordPressService, decorators: [{
|
|
15786
15998
|
type: Injectable,
|
|
15787
15999
|
args: [{
|
|
15788
16000
|
providedIn: 'root'
|
|
@@ -15796,7 +16008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
|
15796
16008
|
type: Optional
|
|
15797
16009
|
}] }] });
|
|
15798
16010
|
|
|
15799
|
-
const APIS = [AccountSecurityService, AccountsService, AssetCommentsService, AssetDeduplicationService, AssetDownloadEventsService, AssetEmbeddableLinksService, AssetMetadataExportService, AssetSavedCropAreaSummariesService, AssetSavedCropAreasService, AssetShareAccessTokensService, AssetShareEmailsService, AssetSharesService, AssetsService, AutoTaggingImageSettingsService, CloudConnectionsService, CloudImportJobsService, CloudObjectsService, CollectionShareAccessTokensService, CollectionSharesService, CollectionsService, CorebookService, CustomService, DefaultService, ExternalAppService, FieldOptionImagesService, FieldOptionsService, FieldViewsService, FieldsService, FolderSettingsService, GroupsService, GuestUploadAccessTokensService, GuestUploadEmailsService, GuestUploadsService, OnboardingChecklistService, PingService, PortalAccessTokensService, PortalEmailsService, PortalsService, PresetTransformationsService, PubliclyAvailableGuestUploadDataService, PubliclyAvailablePortalDatasService, SavedSearchService, SavedSearchesService, SearchFiltersService, ShopifyService, StaffMembersService, SubdomainsService, SubscriptionService, TextInImageSettingsService, ThemeService, UserPreferencesService, UserReferrerService, UsersService, WordPressService];
|
|
16011
|
+
const APIS = [AccountSecurityService, AccountsService, AssetCommentsService, AssetDeduplicationService, AssetDownloadEventsService, AssetEmbeddableLinksService, AssetMetadataExportService, AssetSavedCropAreaSummariesService, AssetSavedCropAreasService, AssetShareAccessTokensService, AssetShareEmailsService, AssetSharesService, AssetsService, AutoTaggingImageSettingsService, CloudConnectionsService, CloudImportJobsService, CloudObjectsService, CollectionShareAccessTokensService, CollectionSharesService, CollectionsService, CorebookService, CustomService, DefaultService, EntityQuotaOverridesService, ExternalAppService, FieldOptionImagesService, FieldOptionsService, FieldViewsService, FieldsService, FolderSettingsService, GroupsService, GuestUploadAccessTokensService, GuestUploadEmailsService, GuestUploadsService, OnboardingChecklistService, PingService, PortalAccessTokensService, PortalEmailsService, PortalsService, PresetTransformationsService, PubliclyAvailableGuestUploadDataService, PubliclyAvailablePortalDatasService, SavedSearchService, SavedSearchesService, SearchFiltersService, ShopifyService, StaffMembersService, SubdomainsService, SubscriptionService, TextInImageSettingsService, ThemeService, UserPreferencesService, UserReferrerService, UsersService, WordPressService];
|
|
15800
16012
|
|
|
15801
16013
|
/**
|
|
15802
16014
|
* Dash API
|
|
@@ -17558,6 +17770,30 @@ const EmbeddableLinkSortField = {
|
|
|
17558
17770
|
* Do not edit the class manually.
|
|
17559
17771
|
*/
|
|
17560
17772
|
|
|
17773
|
+
/**
|
|
17774
|
+
* Dash API
|
|
17775
|
+
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
17776
|
+
*
|
|
17777
|
+
* The version of the OpenAPI document: 2.0.0
|
|
17778
|
+
* Contact: help@dash.app
|
|
17779
|
+
*
|
|
17780
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17781
|
+
* https://openapi-generator.tech
|
|
17782
|
+
* Do not edit the class manually.
|
|
17783
|
+
*/
|
|
17784
|
+
|
|
17785
|
+
/**
|
|
17786
|
+
* Dash API
|
|
17787
|
+
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
17788
|
+
*
|
|
17789
|
+
* The version of the OpenAPI document: 2.0.0
|
|
17790
|
+
* Contact: help@dash.app
|
|
17791
|
+
*
|
|
17792
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17793
|
+
* https://openapi-generator.tech
|
|
17794
|
+
* Do not edit the class manually.
|
|
17795
|
+
*/
|
|
17796
|
+
|
|
17561
17797
|
/**
|
|
17562
17798
|
* Dash API
|
|
17563
17799
|
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
@@ -20076,6 +20312,13 @@ var UserFieldEqualsSearchCriterion;
|
|
|
20076
20312
|
};
|
|
20077
20313
|
})(UserFieldEqualsSearchCriterion || (UserFieldEqualsSearchCriterion = {}));
|
|
20078
20314
|
|
|
20315
|
+
var UserFieldInSearchCriterion;
|
|
20316
|
+
(function (UserFieldInSearchCriterion) {
|
|
20317
|
+
UserFieldInSearchCriterion.TypeEnum = {
|
|
20318
|
+
FieldIn: 'FIELD_IN'
|
|
20319
|
+
};
|
|
20320
|
+
})(UserFieldInSearchCriterion || (UserFieldInSearchCriterion = {}));
|
|
20321
|
+
|
|
20079
20322
|
/**
|
|
20080
20323
|
* Dash API
|
|
20081
20324
|
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
@@ -20118,7 +20361,9 @@ var UserOrSearchCriterion;
|
|
|
20118
20361
|
*/
|
|
20119
20362
|
const UserSearchField = {
|
|
20120
20363
|
IsAdmin: 'IS_ADMIN',
|
|
20121
|
-
Email: 'EMAIL'
|
|
20364
|
+
Email: 'EMAIL',
|
|
20365
|
+
Id: 'ID',
|
|
20366
|
+
Type: 'TYPE'
|
|
20122
20367
|
};
|
|
20123
20368
|
|
|
20124
20369
|
/**
|
|
@@ -20200,11 +20445,11 @@ class ApiModule {
|
|
|
20200
20445
|
'See also https://github.com/angular/angular/issues/20575');
|
|
20201
20446
|
}
|
|
20202
20447
|
}
|
|
20203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20204
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
20205
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
20448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20449
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ApiModule }); }
|
|
20450
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule }); }
|
|
20206
20451
|
}
|
|
20207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule, decorators: [{
|
|
20208
20453
|
type: NgModule,
|
|
20209
20454
|
args: [{
|
|
20210
20455
|
imports: [],
|
|
@@ -20224,5 +20469,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
|
20224
20469
|
* Generated bundle index. Do not edit.
|
|
20225
20470
|
*/
|
|
20226
20471
|
|
|
20227
|
-
export { APIS, AccountPlan, AccountSecurityService, AccountsService, ActionType, ActiveAccountUser, AdminPermissions, AdminUserPatchRequest, AdminUserRequest, AdminUserRequestItem, ApiModule, ApprovedPaymentStatus, AssetAndSearchCriterion, AssetAndUploadBatchCompletedJob, AssetCommentsService, AssetDeduplicationService, AssetDownloadBatchCompletedJob, AssetDownloadEvent, AssetDownloadEventDateField, AssetDownloadEventField, AssetDownloadEventsService, AssetDownloadFailure, AssetEmbeddableLinksService, AssetFieldEqualsSearchCriterion, AssetFieldHasAllEqualSearchCriterion, AssetFieldHasAnyEqualSearchCriterion, AssetFieldIsEmptySearchCriterion, AssetFieldMatchesSearchCriterion, AssetIsSimilarToAssetCriterion, AssetMetadataExportService, AssetNotSearchCriterion, AssetOrSearchCriterion, AssetPaginatedSearchRequest, AssetPermittedActions, AssetPermittedActionsWithDefault, AssetSavedCropAreaSummariesService, AssetSavedCropAreasService, AssetScrollSearchRequest, AssetSearchFieldField, AssetSearchFieldFixed, AssetShareAccessTokensService, AssetShareEmailsService, AssetShareFieldEqualsSearchCriterion, AssetShareSearchField, AssetShareSortField, AssetSharesService, AssetSortFieldField, AssetSortFieldFixed, AssetUploadCompletionFailure, AssetUploadCompletionSuccess, AssetUploadFailure, AssetsSelectorByCriterion, AssetsSelectorByIds, AssetsService, AutoTaggingImageSettingsService, BASE_PATH, BaseAssetSearchRequest, BaseCloudObject, BaseJob, Beta, Billing, BillingRequest, COLLECTION_FORMATS, ClipTransformation, CloudConnectionsService, CloudFile, CloudFileShortcut, CloudFolder, CloudFolderShortcut, CloudImportCompletedJob, CloudImportJobsService, CloudObjectFieldEqualsSearchCriterion, CloudObjectIdValue, CloudObjectMatchesTextSearchCriterion, CloudObjectRootFolder, CloudObjectSearchField, CloudObjectsSelectorByIds, CloudObjectsService, CollectionShareAccessTokensService, CollectionShareFieldEqualsSearchCriterion, CollectionShareSearchField, CollectionShareSortField, CollectionSharesService, CollectionSortField, CollectionsService, CompletedJob, Configuration, ConvertBitrateTransformation, ConvertPresetParameters, ConvertTransformation, ConvertTransformationTemplate, CorebookService, Coupon, CreatedSubscription, CropPresetParameters, CropTransformation, CropTransformationTemplate, CustomService, CustomTransformationDescription, DataType, DefaultService, EmbeddableLink, EmbeddableLinkBatchCompletedJob, EmbeddableLinkFailure, EmbeddableLinkFieldInSearchCriterion, EmbeddableLinkPatchRequest, EmbeddableLinkSearchField, EmbeddableLinkSortField, EventDateInterval, ExternalAccessUser, ExternalAppAccountRequest, ExternalAppService, ExternalAppSsoTokenRequest, ExternalAppUserRequest, FailedJob, FailedPaymentStatus, FailedSubscription, FeatureBasedPlan, Field, FieldOptionAndSearchCriterion, FieldOptionFailure, FieldOptionFieldContainsSearchCriterion, FieldOptionFieldEqualsSearchCriterion, FieldOptionFieldInSearchCriterion, FieldOptionFieldIsEmptySearchCriterion, FieldOptionImageFailure, FieldOptionImagesService, FieldOptionNotSearchCriterion, FieldOptionOrSearchCriterion, FieldOptionSearchField, FieldOptionsService, FieldRequest, FieldSearchFilter, FieldView, FieldViewsService, FieldWhitelistAllOptions, FieldWhitelistSpecificOptions, FieldsService, FileType, FolderSettingsService, GroupRole, GroupsService, GuestUploadAccessTokensService, GuestUploadEmailsService, GuestUploadSortField, GuestUploadUser, GuestUploadsService, HardCodedFixedOptionsSearchFilter, HardCodedFreeOptionDimensionsSearchFilter, HardCodedFreeOptionsSearchFilter, HardCodedUserSearchFilter, InGroupsPermissions, InGroupsUserPatchRequest, InGroupsUserRequest, InGroupsUserRequestItem, InProgressJob, IsTransparentTransformationCriterion, JobPatchRequest, JobStepProgress, LifecycleStatusBinned, LifecycleStatusLive, LifecycleStatusPendingApproval, LifecycleStatusStaged, LifecycleTransition, LimitedDownloads, MatchAllSearchCriterion, MatchNoneSearchCriterion, MatchValues, MatchesMediaTypesTransformationCriterion, MetadataExportCompletedJob, MetadataFieldValueUpdateByIds, MetadataFieldValueUpdateByValues, MetadataFieldValueUpdateOperation, MetadataSuggestionCompletedJob, OnboardingChecklistService, Orientation, OrientationTransformation, OriginGuestUpload, PendingAccountUser, PendingPaymentStatus, PendingSubscription, PingService, PlanUpgradeRequiredDenialReason, PortalAccessTokensService, PortalEmailsService, PortalSortField, PortalUser, PortalsService, PresetTransformationApplicableForAnyAssetsSearchCriterion, PresetTransformationDescription, PresetTransformationHasTransformationOfTypeSearchCriterion, PresetTransformationSort, PresetTransformationsForAssetFieldInSearchCriterion, PresetTransformationsForAssetSearchField, PresetTransformationsForAssetSort, PresetTransformationsService, PublicCollectionShareSearchField, PublicCollectionShareSortField, PubliclyAvailableAccountDataFieldEqualsSearchCriterion, PubliclyAvailableAccountDataHasUsersWithEmailDomainSearchCriterion, PubliclyAvailableAccountDataSearchField, PubliclyAvailableGuestUploadDataService, PubliclyAvailablePortalDatasService, ResizeTransformation, ResizeTransformationTemplate, ResourceType, SavedCropAreaSummaryAndSearchCriterion, SavedCropAreaSummaryFieldEqualsSearchCriterion, SavedCropAreaSummaryFieldInSearchCriterion, SavedCropAreaSummarySearchField, SavedSearchFieldEqualsSearchCriterion, SavedSearchSearchField, SavedSearchService, SavedSearchesService, SearchFiltersService, SelfReportedCompanyDescription, ShopifyImageUsedInOther, ShopifyImageUsedInProduct, ShopifyService, SliderValueBasedPlan, SortOrder, StaffMembersService, StorageAndDownloadsPlan, StorageAndDownloadsPlanRequest, StorageAndDownloadsV7Plan, StorageAndDownloadsV7PlanRequest, SubdomainsService, SubscriptionService, SucceededPaymentStatus, TextInImageSettingsService, ThemeImageType, ThemeSearchField, ThemeService, TieredValueBasedPlan, TieredValueBasedPlanRequest, UnlimitedDownloads, UnverifiedFreeTrialDenialReason, UnverifiedPaidPlanDenialReason, UserBatchCompletedJob, UserCanUploadSearchCriterion, UserCreationStatusResponse, UserDataAccountUser, UserDataPortalUser, UserDataShareUser, UserDataUnknown, UserFailure, UserFieldEqualsSearchCriterion, UserGroupSearchField, UserInGroupWhereFieldEqualsSearchCriterion, UserOrSearchCriterion, UserPreferencesService, UserReferrerService, UserSearchField, UserSortField, UsersService, WordPressService };
|
|
20472
|
+
export { APIS, AccountPlan, AccountSecurityService, AccountsService, ActionType, ActiveAccountUser, AdminPermissions, AdminUserPatchRequest, AdminUserRequest, AdminUserRequestItem, ApiModule, ApprovedPaymentStatus, AssetAndSearchCriterion, AssetAndUploadBatchCompletedJob, AssetCommentsService, AssetDeduplicationService, AssetDownloadBatchCompletedJob, AssetDownloadEvent, AssetDownloadEventDateField, AssetDownloadEventField, AssetDownloadEventsService, AssetDownloadFailure, AssetEmbeddableLinksService, AssetFieldEqualsSearchCriterion, AssetFieldHasAllEqualSearchCriterion, AssetFieldHasAnyEqualSearchCriterion, AssetFieldIsEmptySearchCriterion, AssetFieldMatchesSearchCriterion, AssetIsSimilarToAssetCriterion, AssetMetadataExportService, AssetNotSearchCriterion, AssetOrSearchCriterion, AssetPaginatedSearchRequest, AssetPermittedActions, AssetPermittedActionsWithDefault, AssetSavedCropAreaSummariesService, AssetSavedCropAreasService, AssetScrollSearchRequest, AssetSearchFieldField, AssetSearchFieldFixed, AssetShareAccessTokensService, AssetShareEmailsService, AssetShareFieldEqualsSearchCriterion, AssetShareSearchField, AssetShareSortField, AssetSharesService, AssetSortFieldField, AssetSortFieldFixed, AssetUploadCompletionFailure, AssetUploadCompletionSuccess, AssetUploadFailure, AssetsSelectorByCriterion, AssetsSelectorByIds, AssetsService, AutoTaggingImageSettingsService, BASE_PATH, BaseAssetSearchRequest, BaseCloudObject, BaseJob, Beta, Billing, BillingRequest, COLLECTION_FORMATS, ClipTransformation, CloudConnectionsService, CloudFile, CloudFileShortcut, CloudFolder, CloudFolderShortcut, CloudImportCompletedJob, CloudImportJobsService, CloudObjectFieldEqualsSearchCriterion, CloudObjectIdValue, CloudObjectMatchesTextSearchCriterion, CloudObjectRootFolder, CloudObjectSearchField, CloudObjectsSelectorByIds, CloudObjectsService, CollectionShareAccessTokensService, CollectionShareFieldEqualsSearchCriterion, CollectionShareSearchField, CollectionShareSortField, CollectionSharesService, CollectionSortField, CollectionsService, CompletedJob, Configuration, ConvertBitrateTransformation, ConvertPresetParameters, ConvertTransformation, ConvertTransformationTemplate, CorebookService, Coupon, CreatedSubscription, CropPresetParameters, CropTransformation, CropTransformationTemplate, CustomService, CustomTransformationDescription, DataType, DefaultService, EmbeddableLink, EmbeddableLinkBatchCompletedJob, EmbeddableLinkFailure, EmbeddableLinkFieldInSearchCriterion, EmbeddableLinkPatchRequest, EmbeddableLinkSearchField, EmbeddableLinkSortField, EntityQuotaOverridesService, EventDateInterval, ExternalAccessUser, ExternalAppAccountRequest, ExternalAppService, ExternalAppSsoTokenRequest, ExternalAppUserRequest, FailedJob, FailedPaymentStatus, FailedSubscription, FeatureBasedPlan, Field, FieldOptionAndSearchCriterion, FieldOptionFailure, FieldOptionFieldContainsSearchCriterion, FieldOptionFieldEqualsSearchCriterion, FieldOptionFieldInSearchCriterion, FieldOptionFieldIsEmptySearchCriterion, FieldOptionImageFailure, FieldOptionImagesService, FieldOptionNotSearchCriterion, FieldOptionOrSearchCriterion, FieldOptionSearchField, FieldOptionsService, FieldRequest, FieldSearchFilter, FieldView, FieldViewsService, FieldWhitelistAllOptions, FieldWhitelistSpecificOptions, FieldsService, FileType, FolderSettingsService, GroupRole, GroupsService, GuestUploadAccessTokensService, GuestUploadEmailsService, GuestUploadSortField, GuestUploadUser, GuestUploadsService, HardCodedFixedOptionsSearchFilter, HardCodedFreeOptionDimensionsSearchFilter, HardCodedFreeOptionsSearchFilter, HardCodedUserSearchFilter, InGroupsPermissions, InGroupsUserPatchRequest, InGroupsUserRequest, InGroupsUserRequestItem, InProgressJob, IsTransparentTransformationCriterion, JobPatchRequest, JobStepProgress, LifecycleStatusBinned, LifecycleStatusLive, LifecycleStatusPendingApproval, LifecycleStatusStaged, LifecycleTransition, LimitedDownloads, MatchAllSearchCriterion, MatchNoneSearchCriterion, MatchValues, MatchesMediaTypesTransformationCriterion, MetadataExportCompletedJob, MetadataFieldValueUpdateByIds, MetadataFieldValueUpdateByValues, MetadataFieldValueUpdateOperation, MetadataSuggestionCompletedJob, OnboardingChecklistService, Orientation, OrientationTransformation, OriginGuestUpload, PendingAccountUser, PendingPaymentStatus, PendingSubscription, PingService, PlanUpgradeRequiredDenialReason, PortalAccessTokensService, PortalEmailsService, PortalSortField, PortalUser, PortalsService, PresetTransformationApplicableForAnyAssetsSearchCriterion, PresetTransformationDescription, PresetTransformationHasTransformationOfTypeSearchCriterion, PresetTransformationSort, PresetTransformationsForAssetFieldInSearchCriterion, PresetTransformationsForAssetSearchField, PresetTransformationsForAssetSort, PresetTransformationsService, PublicCollectionShareSearchField, PublicCollectionShareSortField, PubliclyAvailableAccountDataFieldEqualsSearchCriterion, PubliclyAvailableAccountDataHasUsersWithEmailDomainSearchCriterion, PubliclyAvailableAccountDataSearchField, PubliclyAvailableGuestUploadDataService, PubliclyAvailablePortalDatasService, ResizeTransformation, ResizeTransformationTemplate, ResourceType, SavedCropAreaSummaryAndSearchCriterion, SavedCropAreaSummaryFieldEqualsSearchCriterion, SavedCropAreaSummaryFieldInSearchCriterion, SavedCropAreaSummarySearchField, SavedSearchFieldEqualsSearchCriterion, SavedSearchSearchField, SavedSearchService, SavedSearchesService, SearchFiltersService, SelfReportedCompanyDescription, ShopifyImageUsedInOther, ShopifyImageUsedInProduct, ShopifyService, SliderValueBasedPlan, SortOrder, StaffMembersService, StorageAndDownloadsPlan, StorageAndDownloadsPlanRequest, StorageAndDownloadsV7Plan, StorageAndDownloadsV7PlanRequest, SubdomainsService, SubscriptionService, SucceededPaymentStatus, TextInImageSettingsService, ThemeImageType, ThemeSearchField, ThemeService, TieredValueBasedPlan, TieredValueBasedPlanRequest, UnlimitedDownloads, UnverifiedFreeTrialDenialReason, UnverifiedPaidPlanDenialReason, UserBatchCompletedJob, UserCanUploadSearchCriterion, UserCreationStatusResponse, UserDataAccountUser, UserDataPortalUser, UserDataShareUser, UserDataUnknown, UserFailure, UserFieldEqualsSearchCriterion, UserFieldInSearchCriterion, UserGroupSearchField, UserInGroupWhereFieldEqualsSearchCriterion, UserOrSearchCriterion, UserPreferencesService, UserReferrerService, UserSearchField, UserSortField, UsersService, WordPressService };
|
|
20228
20473
|
//# sourceMappingURL=brightinteractive-platform-api.mjs.map
|