@brightinteractive/platform-api 0.1.64 → 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 ShopifyService | 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 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 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)[];
@@ -41,6 +41,27 @@ export declare class ShopifyService {
41
41
  context?: HttpContext;
42
42
  transferCache?: boolean;
43
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>>>;
44
65
  /**
45
66
  * Callback required to install Dash with Shopify
46
67
  * This is quite an internal endpoint and is only really in the API due to needing to be on the dash.app domain.
@@ -12956,6 +12956,56 @@ class ShopifyService {
12956
12956
  reportProgress: reportProgress
12957
12957
  });
12958
12958
  }
12959
+ getCurrentUserShopifyExportJobs(observe = 'body', reportProgress = false, options) {
12960
+ let localVarHeaders = this.defaultHeaders;
12961
+ let localVarCredential;
12962
+ // authentication (bearerToken) required
12963
+ localVarCredential = this.configuration.lookupCredential('bearerToken');
12964
+ if (localVarCredential) {
12965
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
12966
+ }
12967
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
12968
+ if (localVarHttpHeaderAcceptSelected === undefined) {
12969
+ // to determine the Accept header
12970
+ const httpHeaderAccepts = [
12971
+ 'application/json'
12972
+ ];
12973
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
12974
+ }
12975
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
12976
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
12977
+ }
12978
+ let localVarHttpContext = options && options.context;
12979
+ if (localVarHttpContext === undefined) {
12980
+ localVarHttpContext = new HttpContext();
12981
+ }
12982
+ let localVarTransferCache = options && options.transferCache;
12983
+ if (localVarTransferCache === undefined) {
12984
+ localVarTransferCache = true;
12985
+ }
12986
+ let responseType_ = 'json';
12987
+ if (localVarHttpHeaderAcceptSelected) {
12988
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
12989
+ responseType_ = 'text';
12990
+ }
12991
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
12992
+ responseType_ = 'json';
12993
+ }
12994
+ else {
12995
+ responseType_ = 'blob';
12996
+ }
12997
+ }
12998
+ let localVarPath = `/current-user-shopify-export-jobs`;
12999
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
13000
+ context: localVarHttpContext,
13001
+ responseType: responseType_,
13002
+ withCredentials: this.configuration.withCredentials,
13003
+ headers: localVarHeaders,
13004
+ observe: observe,
13005
+ transferCache: localVarTransferCache,
13006
+ reportProgress: reportProgress
13007
+ });
13008
+ }
12959
13009
  getShopifyCallback(shop, hmac, session, timestamp, locale, host, embedded, observe = 'body', reportProgress = false, options) {
12960
13010
  if (shop === null || shop === undefined) {
12961
13011
  throw new Error('Required parameter shop was null or undefined when calling getShopifyCallback.');