@brightinteractive/platform-api 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/api/api.d.ts +1 -1
- package/api/assets.service.d.ts +24 -0
- package/esm2022/api/assets.service.mjs +63 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/model/fieldOptionBatch.mjs +1 -1
- package/esm2022/model/models.mjs +7 -1
- package/esm2022/model/rejectedMetadataSuggestion.mjs +13 -0
- package/esm2022/model/rejectedMetadataSuggestionBatch.mjs +2 -0
- package/esm2022/model/rejectedMetadataSuggestionBatchRequest.mjs +2 -0
- package/esm2022/model/rejectedMetadataSuggestionRequest.mjs +13 -0
- package/esm2022/model/rejectedMetadataSuggestionRequestItem.mjs +13 -0
- package/esm2022/model/rejectedMetadataSuggestionWithPermittedActions.mjs +2 -0
- package/fesm2022/brightinteractive-platform-api.mjs +98 -0
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/fieldOptionBatch.d.ts +1 -1
- package/model/models.d.ts +6 -0
- package/model/rejectedMetadataSuggestion.d.ts +29 -0
- package/model/rejectedMetadataSuggestionBatch.d.ts +20 -0
- package/model/rejectedMetadataSuggestionBatchRequest.d.ts +15 -0
- package/model/rejectedMetadataSuggestionRequest.d.ts +25 -0
- package/model/rejectedMetadataSuggestionRequestItem.d.ts +29 -0
- package/model/rejectedMetadataSuggestionWithPermittedActions.d.ts +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# PlatformApi
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project platform-api` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project platform-api`.
|
|
8
|
-
> Note: Don't forget to add `--project platform-api` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build platform-api` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build platform-api`, go to the dist folder `cd dist/platform-api` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test platform-api` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# PlatformApi
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project platform-api` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project platform-api`.
|
|
8
|
+
> Note: Don't forget to add `--project platform-api` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build platform-api` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build platform-api`, go to the dist folder `cd dist/platform-api` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test platform-api` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/api/api.d.ts
CHANGED
|
@@ -104,4 +104,4 @@ export * from './users.service';
|
|
|
104
104
|
import { UsersService } from './users.service';
|
|
105
105
|
export * from './wordPress.service';
|
|
106
106
|
import { WordPressService } from './wordPress.service';
|
|
107
|
-
export declare const APIS: (typeof AccountSecurityService | typeof AccountsService | typeof AssetCommentsService | typeof AssetDeduplicationService | typeof AssetDownloadEventsService | typeof AssetEmbeddableLinksService | typeof AssetMetadataExportService | typeof AssetSavedCropAreaSummariesService | typeof AssetSavedCropAreasService | typeof AssetShareAccessTokensService | typeof AssetShareEmailsService | typeof AssetSharesService | typeof
|
|
107
|
+
export declare const APIS: (typeof UsersService | typeof AssetsService | typeof AccountSecurityService | typeof AccountsService | typeof AssetCommentsService | typeof AssetDeduplicationService | typeof AssetDownloadEventsService | typeof AssetEmbeddableLinksService | typeof AssetMetadataExportService | typeof AssetSavedCropAreaSummariesService | typeof AssetSavedCropAreasService | typeof AssetShareAccessTokensService | typeof AssetShareEmailsService | typeof AssetSharesService | typeof AutoTaggingImageSettingsService | typeof CloudConnectionsService | typeof CloudImportJobsService | typeof CloudObjectsService | typeof CollectionShareAccessTokensService | typeof CollectionSharesService | typeof CollectionsService | typeof CorebookService | typeof CustomService | typeof ExternalAppService | typeof FieldOptionImagesService | typeof FieldOptionsService | typeof FieldViewsService | typeof FieldsService | typeof FolderSettingsService | typeof GroupsService | typeof GuestUploadAccessTokensService | typeof GuestUploadEmailsService | typeof GuestUploadsService | typeof OnboardingChecklistService | typeof PingService | typeof PortalAccessTokensService | typeof PortalEmailsService | typeof PortalsService | typeof PresetTransformationsService | typeof PubliclyAvailableGuestUploadDataService | typeof PubliclyAvailablePortalDatasService | typeof SavedSearchService | typeof SavedSearchesService | typeof SearchFiltersService | typeof ShopifyService | typeof StaffMembersService | typeof SubdomainsService | typeof SubscriptionService | typeof TextInImageSettingsService | typeof ThemeService | typeof UserPreferencesService | typeof UserReferrerService | typeof WordPressService)[];
|
package/api/assets.service.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ import { MetadataEditBatchRequest } from '../model/metadataEditBatchRequest';
|
|
|
24
24
|
import { MetadataSuggestionBatchJob } from '../model/metadataSuggestionBatchJob';
|
|
25
25
|
import { MetadataSuggestionBatchRequest } from '../model/metadataSuggestionBatchRequest';
|
|
26
26
|
import { NoResultJob } from '../model/noResultJob';
|
|
27
|
+
import { RejectedMetadataSuggestionBatch } from '../model/rejectedMetadataSuggestionBatch';
|
|
28
|
+
import { RejectedMetadataSuggestionBatchRequest } from '../model/rejectedMetadataSuggestionBatchRequest';
|
|
27
29
|
import { Configuration } from '../configuration';
|
|
28
30
|
import * as i0 from "@angular/core";
|
|
29
31
|
export declare class AssetsService {
|
|
@@ -541,6 +543,28 @@ export declare class AssetsService {
|
|
|
541
543
|
context?: HttpContext;
|
|
542
544
|
transferCache?: boolean;
|
|
543
545
|
}): Observable<HttpEvent<AssetsCreationWithPermittedActions>>;
|
|
546
|
+
/**
|
|
547
|
+
* Create rejected asset metadata suggestions
|
|
548
|
+
* Record the fact that some asset metadata suggestions have been rejected, and should therefore not be suggested again for the given asset.
|
|
549
|
+
* @param rejectedMetadataSuggestionBatchRequest
|
|
550
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
551
|
+
* @param reportProgress flag to report request and response progress.
|
|
552
|
+
*/
|
|
553
|
+
postRejectedAssetMetadataSuggestionBatches(rejectedMetadataSuggestionBatchRequest: RejectedMetadataSuggestionBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
554
|
+
httpHeaderAccept?: 'application/json';
|
|
555
|
+
context?: HttpContext;
|
|
556
|
+
transferCache?: boolean;
|
|
557
|
+
}): Observable<RejectedMetadataSuggestionBatch>;
|
|
558
|
+
postRejectedAssetMetadataSuggestionBatches(rejectedMetadataSuggestionBatchRequest: RejectedMetadataSuggestionBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
559
|
+
httpHeaderAccept?: 'application/json';
|
|
560
|
+
context?: HttpContext;
|
|
561
|
+
transferCache?: boolean;
|
|
562
|
+
}): Observable<HttpResponse<RejectedMetadataSuggestionBatch>>;
|
|
563
|
+
postRejectedAssetMetadataSuggestionBatches(rejectedMetadataSuggestionBatchRequest: RejectedMetadataSuggestionBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
564
|
+
httpHeaderAccept?: 'application/json';
|
|
565
|
+
context?: HttpContext;
|
|
566
|
+
transferCache?: boolean;
|
|
567
|
+
}): Observable<HttpEvent<RejectedMetadataSuggestionBatch>>;
|
|
544
568
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsService, [null, { optional: true; }, { optional: true; }]>;
|
|
545
569
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssetsService>;
|
|
546
570
|
}
|