@brightinteractive/platform-api 0.0.26 → 0.0.28

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.
Files changed (40) hide show
  1. package/api/api.d.ts +1 -1
  2. package/api/assets.service.d.ts +1 -1
  3. package/api/users.service.d.ts +122 -0
  4. package/esm2022/api/assets.service.mjs +1 -1
  5. package/esm2022/api/users.service.mjs +343 -1
  6. package/esm2022/model/accountRequest.mjs +1 -1
  7. package/esm2022/model/assetAndUploadBatchRequestItem.mjs +1 -1
  8. package/esm2022/model/assetUploadBatchRequestItem.mjs +1 -1
  9. package/esm2022/model/assetUploadDetails.mjs +1 -1
  10. package/esm2022/model/assetUploadRequest.mjs +1 -1
  11. package/esm2022/model/featureBasedPlan.mjs +23 -0
  12. package/esm2022/model/models.mjs +10 -1
  13. package/esm2022/model/plan.mjs +1 -1
  14. package/esm2022/model/platformCurrentUserAccountSearchRequest.mjs +13 -0
  15. package/esm2022/model/platformUserForgottenPasswordRequest.mjs +13 -0
  16. package/esm2022/model/platformUserRequest.mjs +13 -0
  17. package/esm2022/model/platformUserResetPasswordRequest.mjs +13 -0
  18. package/esm2022/model/platformUserSignUpToken.mjs +13 -0
  19. package/esm2022/model/platformUserSignUpTokenRequest.mjs +13 -0
  20. package/esm2022/model/platformUserVerificationRequest.mjs +13 -0
  21. package/esm2022/model/sliderValueBasedPlan.mjs +18 -0
  22. package/fesm2022/brightinteractive-platform-api.mjs +468 -1
  23. package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
  24. package/model/accountRequest.d.ts +1 -1
  25. package/model/assetAndUploadBatchRequestItem.d.ts +1 -1
  26. package/model/assetUploadBatchRequestItem.d.ts +1 -1
  27. package/model/assetUploadDetails.d.ts +1 -1
  28. package/model/assetUploadRequest.d.ts +1 -1
  29. package/model/featureBasedPlan.d.ts +29 -0
  30. package/model/models.d.ts +9 -0
  31. package/model/plan.d.ts +3 -1
  32. package/model/platformCurrentUserAccountSearchRequest.d.ts +21 -0
  33. package/model/platformUserForgottenPasswordRequest.d.ts +17 -0
  34. package/model/platformUserRequest.d.ts +21 -0
  35. package/model/platformUserResetPasswordRequest.d.ts +21 -0
  36. package/model/platformUserSignUpToken.d.ts +17 -0
  37. package/model/platformUserSignUpTokenRequest.d.ts +21 -0
  38. package/model/platformUserVerificationRequest.d.ts +17 -0
  39. package/model/sliderValueBasedPlan.d.ts +22 -0
  40. package/package.json +1 -1
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 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 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 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)[];
@@ -206,7 +206,7 @@ export declare class AssetsService {
206
206
  }): Observable<HttpEvent<AssetAndUploadBatchJob>>;
207
207
  /**
208
208
  * Create assets and upload files
209
- * An [&#x60;AssetAndUploadBatchJob&#x60;](#operation/postAssetAndUploadBatchJob) should be created when you want to create multiple [&#x60;Asset&#x60;](#tag/Assets) resources and also create an [&#x60;AssetUpload&#x60;](#operation/postAssetUpload) for each of them. The [&#x60;AssetUpload&#x60;](#operation/postAssetUpload) resources in the completed job should then be used to upload the files for each and asset and complete each upload. After the [&#x60;Asset&#x60;](#tag/Assets) resources have been created and files uploaded to them they will still be in [&#x60;Asset.lifecycleStatus.state &#x3D; \&#39;STAGED\&#39;&#x60;](#tag/Assets). To send them for approval or put them live see [Asset Lifecycle](#tag/Asset-Lifecycle).
209
+ * An [&#x60;AssetAndUploadBatchJob&#x60;](#operation/postAssetAndUploadBatchJob) should be created when you want to create multiple [&#x60;Asset&#x60;](#tag/Assets) resources and also create an [&#x60;AssetUpload&#x60;](#operation/postAssetUpload) for each of them. Each asset can be uploaded in a single part or in multiple parts. If the filesize is less than 5MiB then it must be uploaded in a single part. If the filesize is greater than 5GiB then it must be uploaded in multiple parts, each smaller than 5GiB. The [&#x60;AssetUpload&#x60;](#operation/postAssetUpload) resources in the completed job should then be used to upload the files for each and asset and complete each upload. After the [&#x60;Asset&#x60;](#tag/Assets) resources have been created and files uploaded to them they will still be in [&#x60;Asset.lifecycleStatus.state &#x3D; \&#39;STAGED\&#39;&#x60;](#tag/Assets). To send them for approval or put them live see [Asset Lifecycle](#tag/Asset-Lifecycle).
210
210
  * @param assetAndUploadBatchRequest
211
211
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
212
212
  * @param reportProgress flag to report request and response progress.
@@ -1,6 +1,14 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { AccountUserWithPermittedActions } from '../model/accountUserWithPermittedActions';
4
+ import { PlatformCurrentUserAccountSearchRequest } from '../model/platformCurrentUserAccountSearchRequest';
5
+ import { PlatformUserForgottenPasswordRequest } from '../model/platformUserForgottenPasswordRequest';
6
+ import { PlatformUserRequest } from '../model/platformUserRequest';
7
+ import { PlatformUserResetPasswordRequest } from '../model/platformUserResetPasswordRequest';
8
+ import { PlatformUserSignUpToken } from '../model/platformUserSignUpToken';
9
+ import { PlatformUserSignUpTokenRequest } from '../model/platformUserSignUpTokenRequest';
10
+ import { PlatformUserVerificationRequest } from '../model/platformUserVerificationRequest';
11
+ import { PubliclyAvailableAccountDataSearch } from '../model/publiclyAvailableAccountDataSearch';
4
12
  import { UserBatchJob } from '../model/userBatchJob';
5
13
  import { UserBatchRequest } from '../model/userBatchRequest';
6
14
  import { UserCreationStatusResponseWithPermittedActions } from '../model/userCreationStatusResponseWithPermittedActions';
@@ -133,6 +141,120 @@ export declare class UsersService {
133
141
  httpHeaderAccept?: 'application/json';
134
142
  context?: HttpContext;
135
143
  }): Observable<HttpEvent<any>>;
144
+ /**
145
+ * Get accounts which the current user has a seat in
146
+ * Get accounts which the currently authenticated [&#x60;Platform User&#x60;](#operation/postPlatformUser)\&#39;s has a seat in
147
+ * @param platformCurrentUserAccountSearchRequest
148
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
149
+ * @param reportProgress flag to report request and response progress.
150
+ */
151
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
152
+ httpHeaderAccept?: 'application/json';
153
+ context?: HttpContext;
154
+ }): Observable<PubliclyAvailableAccountDataSearch>;
155
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
156
+ httpHeaderAccept?: 'application/json';
157
+ context?: HttpContext;
158
+ }): Observable<HttpResponse<PubliclyAvailableAccountDataSearch>>;
159
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
160
+ httpHeaderAccept?: 'application/json';
161
+ context?: HttpContext;
162
+ }): Observable<HttpEvent<PubliclyAvailableAccountDataSearch>>;
163
+ /**
164
+ * Create a platform user
165
+ * Create a new [&#x60;Platform User&#x60;](#operation/postPlatformUser)
166
+ * @param platformUserRequest
167
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
168
+ * @param reportProgress flag to report request and response progress.
169
+ */
170
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'body', reportProgress?: boolean, options?: {
171
+ httpHeaderAccept?: 'application/json';
172
+ context?: HttpContext;
173
+ }): Observable<any>;
174
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'response', reportProgress?: boolean, options?: {
175
+ httpHeaderAccept?: 'application/json';
176
+ context?: HttpContext;
177
+ }): Observable<HttpResponse<any>>;
178
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'events', reportProgress?: boolean, options?: {
179
+ httpHeaderAccept?: 'application/json';
180
+ context?: HttpContext;
181
+ }): Observable<HttpEvent<any>>;
182
+ /**
183
+ * Request a password reset
184
+ * Request a [&#x60;Platform User&#x60;](#operation/postPlatformUser) password reset
185
+ * @param platformUserForgottenPasswordRequest
186
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
187
+ * @param reportProgress flag to report request and response progress.
188
+ */
189
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: {
190
+ httpHeaderAccept?: 'application/json';
191
+ context?: HttpContext;
192
+ }): Observable<any>;
193
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: {
194
+ httpHeaderAccept?: 'application/json';
195
+ context?: HttpContext;
196
+ }): Observable<HttpResponse<any>>;
197
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: {
198
+ httpHeaderAccept?: 'application/json';
199
+ context?: HttpContext;
200
+ }): Observable<HttpEvent<any>>;
201
+ /**
202
+ * Reset a password
203
+ * Reset a [&#x60;Platform User&#x60;](#operation/postPlatformUser) password
204
+ * @param platformUserResetPasswordRequest
205
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
206
+ * @param reportProgress flag to report request and response progress.
207
+ */
208
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: {
209
+ httpHeaderAccept?: 'application/json';
210
+ context?: HttpContext;
211
+ }): Observable<any>;
212
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: {
213
+ httpHeaderAccept?: 'application/json';
214
+ context?: HttpContext;
215
+ }): Observable<HttpResponse<any>>;
216
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: {
217
+ httpHeaderAccept?: 'application/json';
218
+ context?: HttpContext;
219
+ }): Observable<HttpEvent<any>>;
220
+ /**
221
+ * Get a sign-up token
222
+ * Get an authentication token needed to create a [&#x60;Platform User&#x60;](#operation/postPlatformUser)
223
+ * @param platformUserSignUpTokenRequest
224
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
225
+ * @param reportProgress flag to report request and response progress.
226
+ */
227
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'body', reportProgress?: boolean, options?: {
228
+ httpHeaderAccept?: 'application/json';
229
+ context?: HttpContext;
230
+ }): Observable<PlatformUserSignUpToken>;
231
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'response', reportProgress?: boolean, options?: {
232
+ httpHeaderAccept?: 'application/json';
233
+ context?: HttpContext;
234
+ }): Observable<HttpResponse<PlatformUserSignUpToken>>;
235
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'events', reportProgress?: boolean, options?: {
236
+ httpHeaderAccept?: 'application/json';
237
+ context?: HttpContext;
238
+ }): Observable<HttpEvent<PlatformUserSignUpToken>>;
239
+ /**
240
+ * Request verification code for sign-up
241
+ * Request verification code needed to retrieve authentication token to create a [&#x60;Platform User&#x60;](#operation/postPlatformUser)
242
+ * @param platformUserVerificationRequest
243
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
244
+ * @param reportProgress flag to report request and response progress.
245
+ */
246
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'body', reportProgress?: boolean, options?: {
247
+ httpHeaderAccept?: 'application/json';
248
+ context?: HttpContext;
249
+ }): Observable<any>;
250
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'response', reportProgress?: boolean, options?: {
251
+ httpHeaderAccept?: 'application/json';
252
+ context?: HttpContext;
253
+ }): Observable<HttpResponse<any>>;
254
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'events', reportProgress?: boolean, options?: {
255
+ httpHeaderAccept?: 'application/json';
256
+ context?: HttpContext;
257
+ }): Observable<HttpEvent<any>>;
136
258
  /**
137
259
  * Create a user
138
260
  * Create a new [&#x60;User&#x60;](#tag/Users) in the current account