@brightinteractive/platform-api 0.1.5 → 0.1.7

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
@@ -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 AssetsService | 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 UsersService | typeof WordPressService)[];
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 GroupsService | typeof AssetSharesService | typeof AssetsService | 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 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 UsersService | typeof WordPressService)[];
@@ -1,5 +1,7 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { GroupPatchRequest } from '../model/groupPatchRequest';
4
+ import { GroupRequest } from '../model/groupRequest';
3
5
  import { GroupWithPermittedActions } from '../model/groupWithPermittedActions';
4
6
  import { Configuration } from '../configuration';
5
7
  import * as i0 from "@angular/core";
@@ -12,6 +14,50 @@ export declare class GroupsService {
12
14
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
13
15
  private addToHttpParams;
14
16
  private addToHttpParamsRecursive;
17
+ /**
18
+ * Delete a group
19
+ * Delete a [`Group`](#tag/Group)
20
+ * @param id The unique ID of the group
21
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
22
+ * @param reportProgress flag to report request and response progress.
23
+ */
24
+ deleteGroup(id: string, observe?: 'body', reportProgress?: boolean, options?: {
25
+ httpHeaderAccept?: 'application/json';
26
+ context?: HttpContext;
27
+ transferCache?: boolean;
28
+ }): Observable<any>;
29
+ deleteGroup(id: string, observe?: 'response', reportProgress?: boolean, options?: {
30
+ httpHeaderAccept?: 'application/json';
31
+ context?: HttpContext;
32
+ transferCache?: boolean;
33
+ }): Observable<HttpResponse<any>>;
34
+ deleteGroup(id: string, observe?: 'events', reportProgress?: boolean, options?: {
35
+ httpHeaderAccept?: 'application/json';
36
+ context?: HttpContext;
37
+ transferCache?: boolean;
38
+ }): Observable<HttpEvent<any>>;
39
+ /**
40
+ * Get a group
41
+ * Get a [&#x60;Group&#x60;](#tag/Group)
42
+ * @param id The unique ID of the group
43
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
44
+ * @param reportProgress flag to report request and response progress.
45
+ */
46
+ getGroup(id: string, observe?: 'body', reportProgress?: boolean, options?: {
47
+ httpHeaderAccept?: 'application/json';
48
+ context?: HttpContext;
49
+ transferCache?: boolean;
50
+ }): Observable<GroupWithPermittedActions>;
51
+ getGroup(id: string, observe?: 'response', reportProgress?: boolean, options?: {
52
+ httpHeaderAccept?: 'application/json';
53
+ context?: HttpContext;
54
+ transferCache?: boolean;
55
+ }): Observable<HttpResponse<GroupWithPermittedActions>>;
56
+ getGroup(id: string, observe?: 'events', reportProgress?: boolean, options?: {
57
+ httpHeaderAccept?: 'application/json';
58
+ context?: HttpContext;
59
+ transferCache?: boolean;
60
+ }): Observable<HttpEvent<GroupWithPermittedActions>>;
15
61
  /**
16
62
  * Get all groups
17
63
  * Get all of the [&#x60;Groups&#x60;](#tag/Group) in the current [&#x60;Account&#x60;](#tag/Account)
@@ -33,6 +79,52 @@ export declare class GroupsService {
33
79
  context?: HttpContext;
34
80
  transferCache?: boolean;
35
81
  }): Observable<HttpEvent<Array<GroupWithPermittedActions>>>;
82
+ /**
83
+ * Update a group
84
+ * Update a [&#x60;Group&#x60;](#tag/Group)
85
+ * @param id The unique ID of the group
86
+ * @param groupPatchRequest
87
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
88
+ * @param reportProgress flag to report request and response progress.
89
+ */
90
+ patchGroup(id: string, groupPatchRequest: GroupPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
91
+ httpHeaderAccept?: 'application/json';
92
+ context?: HttpContext;
93
+ transferCache?: boolean;
94
+ }): Observable<GroupWithPermittedActions>;
95
+ patchGroup(id: string, groupPatchRequest: GroupPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
96
+ httpHeaderAccept?: 'application/json';
97
+ context?: HttpContext;
98
+ transferCache?: boolean;
99
+ }): Observable<HttpResponse<GroupWithPermittedActions>>;
100
+ patchGroup(id: string, groupPatchRequest: GroupPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
101
+ httpHeaderAccept?: 'application/json';
102
+ context?: HttpContext;
103
+ transferCache?: boolean;
104
+ }): Observable<HttpEvent<GroupWithPermittedActions>>;
105
+ /**
106
+ * Create a group
107
+ * Create a [&#x60;Group&#x60;](#tag/Group)
108
+ * @param id The unique ID of the group
109
+ * @param groupRequest
110
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
111
+ * @param reportProgress flag to report request and response progress.
112
+ */
113
+ postGroup(id: string, groupRequest: GroupRequest, observe?: 'body', reportProgress?: boolean, options?: {
114
+ httpHeaderAccept?: 'application/json';
115
+ context?: HttpContext;
116
+ transferCache?: boolean;
117
+ }): Observable<GroupWithPermittedActions>;
118
+ postGroup(id: string, groupRequest: GroupRequest, observe?: 'response', reportProgress?: boolean, options?: {
119
+ httpHeaderAccept?: 'application/json';
120
+ context?: HttpContext;
121
+ transferCache?: boolean;
122
+ }): Observable<HttpResponse<GroupWithPermittedActions>>;
123
+ postGroup(id: string, groupRequest: GroupRequest, observe?: 'events', reportProgress?: boolean, options?: {
124
+ httpHeaderAccept?: 'application/json';
125
+ context?: HttpContext;
126
+ transferCache?: boolean;
127
+ }): Observable<HttpEvent<GroupWithPermittedActions>>;
36
128
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupsService, [null, { optional: true; }, { optional: true; }]>;
37
129
  static ɵprov: i0.ɵɵInjectableDeclaration<GroupsService>;
38
130
  }