@brightinteractive/platform-api 0.1.63 → 0.1.65

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 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
@@ -114,4 +114,4 @@ export * from './users.service';
114
114
  import { UsersService } from './users.service';
115
115
  export * from './wordPress.service';
116
116
  import { WordPressService } from './wordPress.service';
117
- export declare const APIS: (typeof AssetsService | typeof AIImageGenerationsService | 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 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)[];
117
+ export declare const APIS: (typeof EntityQuotaOverridesService | typeof AIImageGenerationsService | 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 AssetsService | typeof AutoTaggingImageSettingsService | typeof CloudConnectionsService | typeof CloudImportJobsService | typeof CloudObjectsService | typeof CollectionShareAccessTokensService | typeof CollectionSharesService | typeof CollectionsService | typeof CorebookService | typeof CustomService | typeof DefaultService | 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)[];
@@ -5,8 +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 { ShopifyExportBatchJob } from '../model/shopifyExportBatchJob';
9
- import { ShopifyExportBatchRequest } from '../model/shopifyExportBatchRequest';
8
+ import { ShopifyExportRequest } from '../model/shopifyExportRequest';
10
9
  import { ShopifyProductSearch } from '../model/shopifyProductSearch';
11
10
  import { ShopifyProductSearchRequest } from '../model/shopifyProductSearchRequest';
12
11
  import { Configuration } from '../configuration';
@@ -22,26 +21,47 @@ export declare class ShopifyService {
22
21
  private addToHttpParamsRecursive;
23
22
  /**
24
23
  * Delete a Shopify export
25
- * Deletes a [`ShopifyExportBatchJob`](#operation/postShopifyExportBatchJob)
26
- * @param id The unique ID of the [`ShopifyExportBatchJob`](#operation/postShopifyExportBatchJob)
24
+ * Deletes a [`ShopifyExportJob`](#operation/postShopifyExportJob)
25
+ * @param id The unique ID of the [`ShopifyExportJob`](#operation/postShopifyExportJob)
27
26
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
28
27
  * @param reportProgress flag to report request and response progress.
29
28
  */
30
- deleteShopifyExportBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
29
+ deleteShopifyExportJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
31
30
  httpHeaderAccept?: 'application/json';
32
31
  context?: HttpContext;
33
32
  transferCache?: boolean;
34
33
  }): Observable<any>;
35
- deleteShopifyExportBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
34
+ deleteShopifyExportJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
36
35
  httpHeaderAccept?: 'application/json';
37
36
  context?: HttpContext;
38
37
  transferCache?: boolean;
39
38
  }): Observable<HttpResponse<any>>;
40
- deleteShopifyExportBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
39
+ deleteShopifyExportJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
41
40
  httpHeaderAccept?: 'application/json';
42
41
  context?: HttpContext;
43
42
  transferCache?: boolean;
44
43
  }): Observable<HttpEvent<any>>;
44
+ /**
45
+ * Get the current user\&#39;s shopify export jobs
46
+ * Get the status and eventual result of all [&#x60;ShopifyExportJob&#x60;](#operation/postShopifyExportJob)s for the current user
47
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
48
+ * @param reportProgress flag to report request and response progress.
49
+ */
50
+ getCurrentUserShopifyExportJobs(observe?: 'body', reportProgress?: boolean, options?: {
51
+ httpHeaderAccept?: 'application/json';
52
+ context?: HttpContext;
53
+ transferCache?: boolean;
54
+ }): Observable<Array<NoResultJob>>;
55
+ getCurrentUserShopifyExportJobs(observe?: 'response', reportProgress?: boolean, options?: {
56
+ httpHeaderAccept?: 'application/json';
57
+ context?: HttpContext;
58
+ transferCache?: boolean;
59
+ }): Observable<HttpResponse<Array<NoResultJob>>>;
60
+ getCurrentUserShopifyExportJobs(observe?: 'events', reportProgress?: boolean, options?: {
61
+ httpHeaderAccept?: 'application/json';
62
+ context?: HttpContext;
63
+ transferCache?: boolean;
64
+ }): Observable<HttpEvent<Array<NoResultJob>>>;
45
65
  /**
46
66
  * Callback required to install Dash with Shopify
47
67
  * This is quite an internal endpoint and is only really in the API due to needing to be on the dash.app domain.
@@ -94,49 +114,49 @@ export declare class ShopifyService {
94
114
  }): Observable<HttpEvent<ShopifyConnectionWithPermittedActions>>;
95
115
  /**
96
116
  * Get the status of exporting to Shopify
97
- * Get the status and eventual result of a [&#x60;ShopifyExportBatchJob&#x60;](#operation/postShopifyExportBatchJob)
98
- * @param id The unique ID of the [&#x60;ShopifyExportBatchJob&#x60;](#operation/postShopifyExportBatchJob)
117
+ * Get the status and eventual result of a [&#x60;ShopifyExportJob&#x60;](#operation/postShopifyExportJob)
118
+ * @param id The unique ID of the [&#x60;ShopifyExportJob&#x60;](#operation/postShopifyExportJob)
99
119
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
100
120
  * @param reportProgress flag to report request and response progress.
101
121
  */
102
- getShopifyExportBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
122
+ getShopifyExportJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
103
123
  httpHeaderAccept?: 'application/json';
104
124
  context?: HttpContext;
105
125
  transferCache?: boolean;
106
- }): Observable<ShopifyExportBatchJob>;
107
- getShopifyExportBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
126
+ }): Observable<NoResultJob>;
127
+ getShopifyExportJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
108
128
  httpHeaderAccept?: 'application/json';
109
129
  context?: HttpContext;
110
130
  transferCache?: boolean;
111
- }): Observable<HttpResponse<ShopifyExportBatchJob>>;
112
- getShopifyExportBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
131
+ }): Observable<HttpResponse<NoResultJob>>;
132
+ getShopifyExportJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
113
133
  httpHeaderAccept?: 'application/json';
114
134
  context?: HttpContext;
115
135
  transferCache?: boolean;
116
- }): Observable<HttpEvent<ShopifyExportBatchJob>>;
136
+ }): Observable<HttpEvent<NoResultJob>>;
117
137
  /**
118
138
  * Update the status of exporting to Shopify
119
- * Update a [&#x60;ShopifyExportBatchJob&#x60;](#operation/postShopifyExportBatchJob). Primarily used to stop a job.
120
- * @param id The unique ID of the [&#x60;ShopifyExportBatchJob&#x60;](#operation/postShopifyExportBatchJob)
139
+ * Update a [&#x60;ShopifyExportJob&#x60;](#operation/postShopifyExportJob). Primarily used to stop a job.
140
+ * @param id The unique ID of the [&#x60;ShopifyExportJob&#x60;](#operation/postShopifyExportJob)
121
141
  * @param jobPatchRequest
122
142
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
123
143
  * @param reportProgress flag to report request and response progress.
124
144
  */
125
- patchShopifyExportBatchJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
145
+ patchShopifyExportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
126
146
  httpHeaderAccept?: 'application/json';
127
147
  context?: HttpContext;
128
148
  transferCache?: boolean;
129
- }): Observable<ShopifyExportBatchJob>;
130
- patchShopifyExportBatchJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
149
+ }): Observable<NoResultJob>;
150
+ patchShopifyExportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
131
151
  httpHeaderAccept?: 'application/json';
132
152
  context?: HttpContext;
133
153
  transferCache?: boolean;
134
- }): Observable<HttpResponse<ShopifyExportBatchJob>>;
135
- patchShopifyExportBatchJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
154
+ }): Observable<HttpResponse<NoResultJob>>;
155
+ patchShopifyExportJob(id: string, jobPatchRequest: JobPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
136
156
  httpHeaderAccept?: 'application/json';
137
157
  context?: HttpContext;
138
158
  transferCache?: boolean;
139
- }): Observable<HttpEvent<ShopifyExportBatchJob>>;
159
+ }): Observable<HttpEvent<NoResultJob>>;
140
160
  /**
141
161
  * Send images to Shopify
142
162
  * See [&#x60;AssetDownloadBatchJob&#x60;](#operation/postAssetDownloadBatchJob) for an idea of how to use this endpoint
@@ -205,26 +225,26 @@ export declare class ShopifyService {
205
225
  }): Observable<HttpEvent<ShopifyProductSearch>>;
206
226
  /**
207
227
  * Export images to products in Shopify
208
- * Create a Shopify export batch job to upload multiple assets from Dash into your Shopify account. The uploaded assets can be associated with products and their position on the product listing can be specified. Existing Shopify images can also be reordered.
209
- * @param shopifyExportBatchRequest
228
+ * Create a Shopify export job to upload multiple assets from Dash into your Shopify account. The uploaded assets can be associated with products and their position on the product listing can be specified. Existing Shopify images can also be reordered.
229
+ * @param shopifyExportRequest
210
230
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
211
231
  * @param reportProgress flag to report request and response progress.
212
232
  */
213
- postShopifyExportBatchJob(shopifyExportBatchRequest: ShopifyExportBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
233
+ postShopifyExportJob(shopifyExportRequest: ShopifyExportRequest, observe?: 'body', reportProgress?: boolean, options?: {
214
234
  httpHeaderAccept?: 'application/json';
215
235
  context?: HttpContext;
216
236
  transferCache?: boolean;
217
- }): Observable<ShopifyExportBatchJob>;
218
- postShopifyExportBatchJob(shopifyExportBatchRequest: ShopifyExportBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
237
+ }): Observable<NoResultJob>;
238
+ postShopifyExportJob(shopifyExportRequest: ShopifyExportRequest, observe?: 'response', reportProgress?: boolean, options?: {
219
239
  httpHeaderAccept?: 'application/json';
220
240
  context?: HttpContext;
221
241
  transferCache?: boolean;
222
- }): Observable<HttpResponse<ShopifyExportBatchJob>>;
223
- postShopifyExportBatchJob(shopifyExportBatchRequest: ShopifyExportBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
242
+ }): Observable<HttpResponse<NoResultJob>>;
243
+ postShopifyExportJob(shopifyExportRequest: ShopifyExportRequest, observe?: 'events', reportProgress?: boolean, options?: {
224
244
  httpHeaderAccept?: 'application/json';
225
245
  context?: HttpContext;
226
246
  transferCache?: boolean;
227
- }): Observable<HttpEvent<ShopifyExportBatchJob>>;
247
+ }): Observable<HttpEvent<NoResultJob>>;
228
248
  static ɵfac: i0.ɵɵFactoryDeclaration<ShopifyService, [null, { optional: true; }, { optional: true; }]>;
229
249
  static ɵprov: i0.ɵɵInjectableDeclaration<ShopifyService>;
230
250
  }