@brightinteractive/platform-api 0.1.65 → 0.1.67-filename-template
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/allowedLoginMethods.service.d.ts +38 -0
- package/api/api.d.ts +5 -1
- package/api/assetResolvedFilenames.service.d.ts +40 -0
- package/api/presetTransformations.service.d.ts +1 -0
- package/api/shopify.service.d.ts +13 -12
- package/fesm2022/brightinteractive-platform-api.mjs +458 -2
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/actionType.d.ts +2 -1
- package/model/assetDownloadBatchRequest.d.ts +5 -0
- package/model/fieldValueSubstitutionTemplatePart.d.ts +24 -0
- package/model/filenameTemplatePart.d.ts +19 -0
- package/model/literalTemplatePart.d.ts +24 -0
- package/model/loginMethod.d.ts +17 -0
- package/model/models.d.ts +18 -0
- package/model/resolvedFilename.d.ts +17 -0
- package/model/resolvedFilenameBatch.d.ts +20 -0
- package/model/resolvedFilenameBatchRequest.d.ts +22 -0
- package/model/resolvedFilenameBatchRequestItem.d.ts +21 -0
- package/model/resolvedFilenameDetails.d.ts +17 -0
- package/model/resolvedFilenameWithPermittedActions.d.ts +17 -0
- package/model/shopifyExportCompletedJob.d.ts +43 -0
- package/model/shopifyExportJob.d.ts +8 -0
- package/model/shopifyExportJobWithPermittedActions.d.ts +17 -0
- package/model/shopifyExportResult.d.ts +21 -0
- package/model/shopifyExportResultAssetFailure.d.ts +15 -0
- package/model/shopifyExportResultProductFailure.d.ts +15 -0
- package/model/shopifyExportResultUploadFailure.d.ts +17 -0
- package/model/specialSubstitutionTemplatePart.d.ts +30 -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.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LoginMethod } from '../model/loginMethod';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AllowedLoginMethodsService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Update the allowed login methods
|
|
17
|
+
* @param loginMethod
|
|
18
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
+
* @param reportProgress flag to report request and response progress.
|
|
20
|
+
*/
|
|
21
|
+
putAllowedLoginMethods(loginMethod: Array<LoginMethod>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
+
httpHeaderAccept?: 'application/json';
|
|
23
|
+
context?: HttpContext;
|
|
24
|
+
transferCache?: boolean;
|
|
25
|
+
}): Observable<Array<LoginMethod>>;
|
|
26
|
+
putAllowedLoginMethods(loginMethod: Array<LoginMethod>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<HttpResponse<Array<LoginMethod>>>;
|
|
31
|
+
putAllowedLoginMethods(loginMethod: Array<LoginMethod>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpEvent<Array<LoginMethod>>>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AllowedLoginMethodsService, [null, { optional: true; }, { optional: true; }]>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AllowedLoginMethodsService>;
|
|
38
|
+
}
|
package/api/api.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './accountSecurity.service';
|
|
|
4
4
|
import { AccountSecurityService } from './accountSecurity.service';
|
|
5
5
|
export * from './accounts.service';
|
|
6
6
|
import { AccountsService } from './accounts.service';
|
|
7
|
+
export * from './allowedLoginMethods.service';
|
|
8
|
+
import { AllowedLoginMethodsService } from './allowedLoginMethods.service';
|
|
7
9
|
export * from './assetComments.service';
|
|
8
10
|
import { AssetCommentsService } from './assetComments.service';
|
|
9
11
|
export * from './assetDeduplication.service';
|
|
@@ -14,6 +16,8 @@ export * from './assetEmbeddableLinks.service';
|
|
|
14
16
|
import { AssetEmbeddableLinksService } from './assetEmbeddableLinks.service';
|
|
15
17
|
export * from './assetMetadataExport.service';
|
|
16
18
|
import { AssetMetadataExportService } from './assetMetadataExport.service';
|
|
19
|
+
export * from './assetResolvedFilenames.service';
|
|
20
|
+
import { AssetResolvedFilenamesService } from './assetResolvedFilenames.service';
|
|
17
21
|
export * from './assetSavedCropAreaSummaries.service';
|
|
18
22
|
import { AssetSavedCropAreaSummariesService } from './assetSavedCropAreaSummaries.service';
|
|
19
23
|
export * from './assetSavedCropAreas.service';
|
|
@@ -114,4 +118,4 @@ export * from './users.service';
|
|
|
114
118
|
import { UsersService } from './users.service';
|
|
115
119
|
export * from './wordPress.service';
|
|
116
120
|
import { WordPressService } from './wordPress.service';
|
|
117
|
-
export declare const APIS: (typeof
|
|
121
|
+
export declare const APIS: (typeof AIImageGenerationsService | typeof AccountSecurityService | typeof AccountsService | typeof AllowedLoginMethodsService | typeof AssetCommentsService | typeof AssetDeduplicationService | typeof AssetDownloadEventsService | typeof AssetEmbeddableLinksService | typeof AssetMetadataExportService | typeof AssetResolvedFilenamesService | typeof AssetSavedCropAreaSummariesService | typeof AssetSavedCropAreasService | typeof AssetShareAccessTokensService | typeof AssetShareEmailsService | typeof AssetSharesService | typeof AssetsService | typeof AutoTaggingImageSettingsService | typeof CloudConnectionsService | typeof CloudImportJobsService | typeof CloudObjectsService | typeof CollectionShareAccessTokensService | typeof CollectionSharesService | typeof CollectionsService | typeof CorebookService | typeof CustomService | typeof DefaultService | typeof EntityQuotaOverridesService | 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 ReferenceImageUploadsService | typeof SavedSearchService | typeof SavedSearchesService | typeof SearchFiltersService | typeof ShopifyService | typeof ShopifySKUSettingsService | typeof StaffMembersService | typeof SubdomainsService | typeof SubscriptionService | typeof TextInImageSettingsService | typeof ThemeService | typeof UserPreferencesService | typeof UserReferrerService | typeof UsersService | typeof WordPressService)[];
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ResolvedFilenameBatch } from '../model/resolvedFilenameBatch';
|
|
4
|
+
import { ResolvedFilenameBatchRequest } from '../model/resolvedFilenameBatchRequest';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AssetResolvedFilenamesService {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
protected basePath: string;
|
|
10
|
+
defaultHeaders: HttpHeaders;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
encoder: HttpParameterCodec;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
+
private addToHttpParams;
|
|
15
|
+
private addToHttpParamsRecursive;
|
|
16
|
+
/**
|
|
17
|
+
* Resolve templated filenames
|
|
18
|
+
* Calculate the resolved filename given a filename template for a set of [`Asset`](#tag/Assets)s.
|
|
19
|
+
* @param resolvedFilenameBatchRequest
|
|
20
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
21
|
+
* @param reportProgress flag to report request and response progress.
|
|
22
|
+
*/
|
|
23
|
+
postResolvedFilenameBatches(resolvedFilenameBatchRequest: ResolvedFilenameBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: 'application/json';
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
transferCache?: boolean;
|
|
27
|
+
}): Observable<ResolvedFilenameBatch>;
|
|
28
|
+
postResolvedFilenameBatches(resolvedFilenameBatchRequest: ResolvedFilenameBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
|
+
httpHeaderAccept?: 'application/json';
|
|
30
|
+
context?: HttpContext;
|
|
31
|
+
transferCache?: boolean;
|
|
32
|
+
}): Observable<HttpResponse<ResolvedFilenameBatch>>;
|
|
33
|
+
postResolvedFilenameBatches(resolvedFilenameBatchRequest: ResolvedFilenameBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
|
+
httpHeaderAccept?: 'application/json';
|
|
35
|
+
context?: HttpContext;
|
|
36
|
+
transferCache?: boolean;
|
|
37
|
+
}): Observable<HttpEvent<ResolvedFilenameBatch>>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetResolvedFilenamesService, [null, { optional: true; }, { optional: true; }]>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssetResolvedFilenamesService>;
|
|
40
|
+
}
|
|
@@ -18,6 +18,7 @@ export declare class PresetTransformationsService {
|
|
|
18
18
|
private addToHttpParamsRecursive;
|
|
19
19
|
/**
|
|
20
20
|
* Get grouped preset transformations
|
|
21
|
+
* Get all [`PresetTransformations`](#tag/Preset-Transformations) for the account in a group structure.
|
|
21
22
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
22
23
|
* @param reportProgress flag to report request and response progress.
|
|
23
24
|
*/
|
package/api/shopify.service.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { CreateShopifyProductImageBatchRequest } from '../model/createShopifyPro
|
|
|
5
5
|
import { JobPatchRequest } from '../model/jobPatchRequest';
|
|
6
6
|
import { NoResultJob } from '../model/noResultJob';
|
|
7
7
|
import { ShopifyConnectionWithPermittedActions } from '../model/shopifyConnectionWithPermittedActions';
|
|
8
|
+
import { ShopifyExportJobWithPermittedActions } from '../model/shopifyExportJobWithPermittedActions';
|
|
8
9
|
import { ShopifyExportRequest } from '../model/shopifyExportRequest';
|
|
9
10
|
import { ShopifyProductSearch } from '../model/shopifyProductSearch';
|
|
10
11
|
import { ShopifyProductSearchRequest } from '../model/shopifyProductSearchRequest';
|
|
@@ -51,17 +52,17 @@ export declare class ShopifyService {
|
|
|
51
52
|
httpHeaderAccept?: 'application/json';
|
|
52
53
|
context?: HttpContext;
|
|
53
54
|
transferCache?: boolean;
|
|
54
|
-
}): Observable<Array<
|
|
55
|
+
}): Observable<Array<ShopifyExportJobWithPermittedActions>>;
|
|
55
56
|
getCurrentUserShopifyExportJobs(observe?: 'response', reportProgress?: boolean, options?: {
|
|
56
57
|
httpHeaderAccept?: 'application/json';
|
|
57
58
|
context?: HttpContext;
|
|
58
59
|
transferCache?: boolean;
|
|
59
|
-
}): Observable<HttpResponse<Array<
|
|
60
|
+
}): Observable<HttpResponse<Array<ShopifyExportJobWithPermittedActions>>>;
|
|
60
61
|
getCurrentUserShopifyExportJobs(observe?: 'events', reportProgress?: boolean, options?: {
|
|
61
62
|
httpHeaderAccept?: 'application/json';
|
|
62
63
|
context?: HttpContext;
|
|
63
64
|
transferCache?: boolean;
|
|
64
|
-
}): Observable<HttpEvent<Array<
|
|
65
|
+
}): Observable<HttpEvent<Array<ShopifyExportJobWithPermittedActions>>>;
|
|
65
66
|
/**
|
|
66
67
|
* Callback required to install Dash with Shopify
|
|
67
68
|
* This is quite an internal endpoint and is only really in the API due to needing to be on the dash.app domain.
|
|
@@ -123,17 +124,17 @@ export declare class ShopifyService {
|
|
|
123
124
|
httpHeaderAccept?: 'application/json';
|
|
124
125
|
context?: HttpContext;
|
|
125
126
|
transferCache?: boolean;
|
|
126
|
-
}): Observable<
|
|
127
|
+
}): Observable<ShopifyExportJobWithPermittedActions>;
|
|
127
128
|
getShopifyExportJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
128
129
|
httpHeaderAccept?: 'application/json';
|
|
129
130
|
context?: HttpContext;
|
|
130
131
|
transferCache?: boolean;
|
|
131
|
-
}): Observable<HttpResponse<
|
|
132
|
+
}): Observable<HttpResponse<ShopifyExportJobWithPermittedActions>>;
|
|
132
133
|
getShopifyExportJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
133
134
|
httpHeaderAccept?: 'application/json';
|
|
134
135
|
context?: HttpContext;
|
|
135
136
|
transferCache?: boolean;
|
|
136
|
-
}): Observable<HttpEvent<
|
|
137
|
+
}): Observable<HttpEvent<ShopifyExportJobWithPermittedActions>>;
|
|
137
138
|
/**
|
|
138
139
|
* Update the status of exporting to Shopify
|
|
139
140
|
* Update a [`ShopifyExportJob`](#operation/postShopifyExportJob). Primarily used to stop a job.
|
|
@@ -146,17 +147,17 @@ export declare class ShopifyService {
|
|
|
146
147
|
httpHeaderAccept?: 'application/json';
|
|
147
148
|
context?: HttpContext;
|
|
148
149
|
transferCache?: boolean;
|
|
149
|
-
}): Observable<
|
|
150
|
+
}): Observable<ShopifyExportJobWithPermittedActions>;
|
|
150
151
|
patchShopifyExportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
151
152
|
httpHeaderAccept?: 'application/json';
|
|
152
153
|
context?: HttpContext;
|
|
153
154
|
transferCache?: boolean;
|
|
154
|
-
}): Observable<HttpResponse<
|
|
155
|
+
}): Observable<HttpResponse<ShopifyExportJobWithPermittedActions>>;
|
|
155
156
|
patchShopifyExportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
156
157
|
httpHeaderAccept?: 'application/json';
|
|
157
158
|
context?: HttpContext;
|
|
158
159
|
transferCache?: boolean;
|
|
159
|
-
}): Observable<HttpEvent<
|
|
160
|
+
}): Observable<HttpEvent<ShopifyExportJobWithPermittedActions>>;
|
|
160
161
|
/**
|
|
161
162
|
* Send images to Shopify
|
|
162
163
|
* See [`AssetDownloadBatchJob`](#operation/postAssetDownloadBatchJob) for an idea of how to use this endpoint
|
|
@@ -234,17 +235,17 @@ export declare class ShopifyService {
|
|
|
234
235
|
httpHeaderAccept?: 'application/json';
|
|
235
236
|
context?: HttpContext;
|
|
236
237
|
transferCache?: boolean;
|
|
237
|
-
}): Observable<
|
|
238
|
+
}): Observable<ShopifyExportJobWithPermittedActions>;
|
|
238
239
|
postShopifyExportJob(shopifyExportRequest: ShopifyExportRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
239
240
|
httpHeaderAccept?: 'application/json';
|
|
240
241
|
context?: HttpContext;
|
|
241
242
|
transferCache?: boolean;
|
|
242
|
-
}): Observable<HttpResponse<
|
|
243
|
+
}): Observable<HttpResponse<ShopifyExportJobWithPermittedActions>>;
|
|
243
244
|
postShopifyExportJob(shopifyExportRequest: ShopifyExportRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
244
245
|
httpHeaderAccept?: 'application/json';
|
|
245
246
|
context?: HttpContext;
|
|
246
247
|
transferCache?: boolean;
|
|
247
|
-
}): Observable<HttpEvent<
|
|
248
|
+
}): Observable<HttpEvent<ShopifyExportJobWithPermittedActions>>;
|
|
248
249
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShopifyService, [null, { optional: true; }, { optional: true; }]>;
|
|
249
250
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShopifyService>;
|
|
250
251
|
}
|