@brightinteractive/platform-api 0.1.0 → 0.1.2

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 (73) hide show
  1. package/api/accountSecurity.service.d.ts +59 -0
  2. package/api/accounts.service.d.ts +47 -0
  3. package/api/api.d.ts +49 -1
  4. package/api/assetComments.service.d.ts +109 -0
  5. package/api/assetDeduplication.service.d.ts +38 -0
  6. package/api/assetEmbeddableLinks.service.d.ts +22 -0
  7. package/api/assetMetadataExport.service.d.ts +106 -0
  8. package/api/assetSavedCropAreaSummaries.service.d.ts +24 -0
  9. package/api/assetShares.service.d.ts +24 -0
  10. package/api/assets.service.d.ts +92 -0
  11. package/api/autoTaggingImageSettings.service.d.ts +59 -0
  12. package/api/cloudConnections.service.d.ts +126 -0
  13. package/api/cloudImportJobs.service.d.ts +130 -0
  14. package/api/cloudObjects.service.d.ts +63 -0
  15. package/api/collectionShares.service.d.ts +23 -0
  16. package/api/externalApp.service.d.ts +85 -0
  17. package/api/fieldOptionImages.service.d.ts +85 -0
  18. package/api/guestUploadAccessTokens.service.d.ts +40 -0
  19. package/api/guestUploadEmails.service.d.ts +39 -0
  20. package/api/guestUploads.service.d.ts +132 -0
  21. package/api/onboardingChecklist.service.d.ts +59 -0
  22. package/api/ping.service.d.ts +37 -0
  23. package/api/presetTransformations.service.d.ts +45 -0
  24. package/api/publiclyAvailableGuestUploadData.service.d.ts +40 -0
  25. package/api/publiclyAvailablePortalDatas.service.d.ts +40 -0
  26. package/api/searchFilters.service.d.ts +22 -0
  27. package/api/shopify.service.d.ts +114 -0
  28. package/api/staffMembers.service.d.ts +83 -0
  29. package/api/subscription.service.d.ts +173 -0
  30. package/api/textInImageSettings.service.d.ts +59 -0
  31. package/api/theme.service.d.ts +153 -0
  32. package/api/userPreferences.service.d.ts +61 -0
  33. package/api/userReferrer.service.d.ts +38 -0
  34. package/api/users.service.d.ts +277 -0
  35. package/api/wordPress.service.d.ts +101 -0
  36. package/esm2022/api/accountSecurity.service.mjs +209 -0
  37. package/esm2022/api/accounts.service.mjs +125 -1
  38. package/esm2022/api/api.mjs +50 -2
  39. package/esm2022/api/assetComments.service.mjs +333 -0
  40. package/esm2022/api/assetDeduplication.service.mjs +147 -0
  41. package/esm2022/api/assetEmbeddableLinks.service.mjs +54 -1
  42. package/esm2022/api/assetMetadataExport.service.mjs +318 -0
  43. package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +63 -1
  44. package/esm2022/api/assetShares.service.mjs +63 -1
  45. package/esm2022/api/assets.service.mjs +240 -1
  46. package/esm2022/api/autoTaggingImageSettings.service.mjs +209 -0
  47. package/esm2022/api/cloudConnections.service.mjs +359 -0
  48. package/esm2022/api/cloudImportJobs.service.mjs +385 -0
  49. package/esm2022/api/cloudObjects.service.mjs +215 -0
  50. package/esm2022/api/collectionShares.service.mjs +63 -1
  51. package/esm2022/api/externalApp.service.mjs +283 -0
  52. package/esm2022/api/fieldOptionImages.service.mjs +274 -0
  53. package/esm2022/api/guestUploadAccessTokens.service.mjs +153 -0
  54. package/esm2022/api/guestUploadEmails.service.mjs +159 -0
  55. package/esm2022/api/guestUploads.service.mjs +392 -0
  56. package/esm2022/api/onboardingChecklist.service.mjs +209 -0
  57. package/esm2022/api/ping.service.mjs +141 -0
  58. package/esm2022/api/presetTransformations.service.mjs +113 -1
  59. package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +153 -0
  60. package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +153 -0
  61. package/esm2022/api/searchFilters.service.mjs +51 -1
  62. package/esm2022/api/shopify.service.mjs +341 -0
  63. package/esm2022/api/staffMembers.service.mjs +262 -0
  64. package/esm2022/api/subscription.service.mjs +477 -0
  65. package/esm2022/api/textInImageSettings.service.mjs +209 -0
  66. package/esm2022/api/theme.service.mjs +375 -1
  67. package/esm2022/api/userPreferences.service.mjs +209 -0
  68. package/esm2022/api/userReferrer.service.mjs +147 -0
  69. package/esm2022/api/users.service.mjs +702 -6
  70. package/esm2022/api/wordPress.service.mjs +321 -0
  71. package/fesm2022/brightinteractive-platform-api.mjs +9376 -1700
  72. package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
  73. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ReferrerWithPermittedActions } from '../model/referrerWithPermittedActions';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class UserReferrerService {
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
+ * Get the current user\'s referrer code
17
+ * Get the currently authenticated [`User`](#tag/Users)\'s referrer code
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
+ getCurrentUserReferrer(observe?: 'body', reportProgress?: boolean, options?: {
22
+ httpHeaderAccept?: 'application/json';
23
+ context?: HttpContext;
24
+ transferCache?: boolean;
25
+ }): Observable<ReferrerWithPermittedActions>;
26
+ getCurrentUserReferrer(observe?: 'response', reportProgress?: boolean, options?: {
27
+ httpHeaderAccept?: 'application/json';
28
+ context?: HttpContext;
29
+ transferCache?: boolean;
30
+ }): Observable<HttpResponse<ReferrerWithPermittedActions>>;
31
+ getCurrentUserReferrer(observe?: 'events', reportProgress?: boolean, options?: {
32
+ httpHeaderAccept?: 'application/json';
33
+ context?: HttpContext;
34
+ transferCache?: boolean;
35
+ }): Observable<HttpEvent<ReferrerWithPermittedActions>>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserReferrerService, [null, { optional: true; }, { optional: true; }]>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserReferrerService>;
38
+ }
@@ -1,7 +1,21 @@
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';
12
+ import { UserBatchJob } from '../model/userBatchJob';
13
+ import { UserBatchRequest } from '../model/userBatchRequest';
14
+ import { UserCreationStatusResponseWithPermittedActions } from '../model/userCreationStatusResponseWithPermittedActions';
15
+ import { UserDeleteRequest } from '../model/userDeleteRequest';
4
16
  import { UserRequest } from '../model/userRequest';
17
+ import { UserSearch } from '../model/userSearch';
18
+ import { UserSearchRequest } from '../model/userSearchRequest';
5
19
  import { UserWithNoPermittedActions } from '../model/userWithNoPermittedActions';
6
20
  import { UserWithPermittedActions } from '../model/userWithPermittedActions';
7
21
  import { Configuration } from '../configuration';
@@ -15,6 +29,28 @@ export declare class UsersService {
15
29
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
16
30
  private addToHttpParams;
17
31
  private addToHttpParamsRecursive;
32
+ /**
33
+ * Delete a User
34
+ * Delete a [&#x60;User&#x60;](#tag/Users) and delete all [&#x60;AssetShares&#x60;](#tag/Asset-Shares) belonging to that user
35
+ * @param id The unique ID of the [&#x60;User&#x60;](#tag/Users)
36
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
37
+ * @param reportProgress flag to report request and response progress.
38
+ */
39
+ deleteUser(id: string, observe?: 'body', reportProgress?: boolean, options?: {
40
+ httpHeaderAccept?: 'application/json';
41
+ context?: HttpContext;
42
+ transferCache?: boolean;
43
+ }): Observable<any>;
44
+ deleteUser(id: string, observe?: 'response', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: 'application/json';
46
+ context?: HttpContext;
47
+ transferCache?: boolean;
48
+ }): Observable<HttpResponse<any>>;
49
+ deleteUser(id: string, observe?: 'events', reportProgress?: boolean, options?: {
50
+ httpHeaderAccept?: 'application/json';
51
+ context?: HttpContext;
52
+ transferCache?: boolean;
53
+ }): Observable<HttpEvent<any>>;
18
54
  /**
19
55
  * Get the current user
20
56
  * Get the currently authenticated [&#x60;User&#x60;](#tag/Users)
@@ -36,6 +72,27 @@ export declare class UsersService {
36
72
  context?: HttpContext;
37
73
  transferCache?: boolean;
38
74
  }): Observable<HttpEvent<UserWithPermittedActions>>;
75
+ /**
76
+ * Check the creation status of the current user
77
+ * Get the currently authenticated [&#x60;User&#x60;](#tag/Users)\&#39;s creation status (used for detecting if a temporary signup token has been used)
78
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
79
+ * @param reportProgress flag to report request and response progress.
80
+ */
81
+ getCurrentUserCreationStatus(observe?: 'body', reportProgress?: boolean, options?: {
82
+ httpHeaderAccept?: 'application/json';
83
+ context?: HttpContext;
84
+ transferCache?: boolean;
85
+ }): Observable<UserCreationStatusResponseWithPermittedActions>;
86
+ getCurrentUserCreationStatus(observe?: 'response', reportProgress?: boolean, options?: {
87
+ httpHeaderAccept?: 'application/json';
88
+ context?: HttpContext;
89
+ transferCache?: boolean;
90
+ }): Observable<HttpResponse<UserCreationStatusResponseWithPermittedActions>>;
91
+ getCurrentUserCreationStatus(observe?: 'events', reportProgress?: boolean, options?: {
92
+ httpHeaderAccept?: 'application/json';
93
+ context?: HttpContext;
94
+ transferCache?: boolean;
95
+ }): Observable<HttpEvent<UserCreationStatusResponseWithPermittedActions>>;
39
96
  /**
40
97
  * Get a user
41
98
  * Get a [&#x60;User&#x60;](#tag/Users)
@@ -58,6 +115,182 @@ export declare class UsersService {
58
115
  context?: HttpContext;
59
116
  transferCache?: boolean;
60
117
  }): Observable<HttpEvent<UserWithNoPermittedActions>>;
118
+ /**
119
+ * Get the status of creating users
120
+ * Get the status and eventual result of an [&#x60;UserBatchJob&#x60;](#operation/postUserBatchJob)
121
+ * @param id The unique ID of the [&#x60;UserBatchJob&#x60;](#operation/postUserBatchJob)
122
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
123
+ * @param reportProgress flag to report request and response progress.
124
+ */
125
+ getUserBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
126
+ httpHeaderAccept?: 'application/json';
127
+ context?: HttpContext;
128
+ transferCache?: boolean;
129
+ }): Observable<UserBatchJob>;
130
+ getUserBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
131
+ httpHeaderAccept?: 'application/json';
132
+ context?: HttpContext;
133
+ transferCache?: boolean;
134
+ }): Observable<HttpResponse<UserBatchJob>>;
135
+ getUserBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
136
+ httpHeaderAccept?: 'application/json';
137
+ context?: HttpContext;
138
+ transferCache?: boolean;
139
+ }): Observable<HttpEvent<UserBatchJob>>;
140
+ /**
141
+ * Delete a user
142
+ * Delete a [&#x60;User&#x60;](#tag/Users) with the option to delete all [&#x60;AssetShares&#x60;](#tag/Asset-Shares) belonging to that user
143
+ * @param userDeleteRequest
144
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
145
+ * @param reportProgress flag to report request and response progress.
146
+ */
147
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'body', reportProgress?: boolean, options?: {
148
+ httpHeaderAccept?: 'application/json';
149
+ context?: HttpContext;
150
+ transferCache?: boolean;
151
+ }): Observable<any>;
152
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'response', reportProgress?: boolean, options?: {
153
+ httpHeaderAccept?: 'application/json';
154
+ context?: HttpContext;
155
+ transferCache?: boolean;
156
+ }): Observable<HttpResponse<any>>;
157
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'events', reportProgress?: boolean, options?: {
158
+ httpHeaderAccept?: 'application/json';
159
+ context?: HttpContext;
160
+ transferCache?: boolean;
161
+ }): Observable<HttpEvent<any>>;
162
+ /**
163
+ * Get accounts which the current user has a seat in
164
+ * Get accounts which the currently authenticated [&#x60;Platform User&#x60;](#operation/postPlatformUser)\&#39;s has a seat in
165
+ * @param platformCurrentUserAccountSearchRequest
166
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
167
+ * @param reportProgress flag to report request and response progress.
168
+ */
169
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
170
+ httpHeaderAccept?: 'application/json';
171
+ context?: HttpContext;
172
+ transferCache?: boolean;
173
+ }): Observable<PubliclyAvailableAccountDataSearch>;
174
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
175
+ httpHeaderAccept?: 'application/json';
176
+ context?: HttpContext;
177
+ transferCache?: boolean;
178
+ }): Observable<HttpResponse<PubliclyAvailableAccountDataSearch>>;
179
+ postPlatformCurrentUserAccountsSearch(platformCurrentUserAccountSearchRequest: PlatformCurrentUserAccountSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
180
+ httpHeaderAccept?: 'application/json';
181
+ context?: HttpContext;
182
+ transferCache?: boolean;
183
+ }): Observable<HttpEvent<PubliclyAvailableAccountDataSearch>>;
184
+ /**
185
+ * Create a platform user
186
+ * Create a new [&#x60;Platform User&#x60;](#operation/postPlatformUser)
187
+ * @param platformUserRequest
188
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
189
+ * @param reportProgress flag to report request and response progress.
190
+ */
191
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'body', reportProgress?: boolean, options?: {
192
+ httpHeaderAccept?: 'application/json';
193
+ context?: HttpContext;
194
+ transferCache?: boolean;
195
+ }): Observable<any>;
196
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'response', reportProgress?: boolean, options?: {
197
+ httpHeaderAccept?: 'application/json';
198
+ context?: HttpContext;
199
+ transferCache?: boolean;
200
+ }): Observable<HttpResponse<any>>;
201
+ postPlatformUser(platformUserRequest: PlatformUserRequest, observe?: 'events', reportProgress?: boolean, options?: {
202
+ httpHeaderAccept?: 'application/json';
203
+ context?: HttpContext;
204
+ transferCache?: boolean;
205
+ }): Observable<HttpEvent<any>>;
206
+ /**
207
+ * Request a password reset
208
+ * Request a [&#x60;Platform User&#x60;](#operation/postPlatformUser) password reset
209
+ * @param platformUserForgottenPasswordRequest
210
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
211
+ * @param reportProgress flag to report request and response progress.
212
+ */
213
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: {
214
+ httpHeaderAccept?: 'application/json';
215
+ context?: HttpContext;
216
+ transferCache?: boolean;
217
+ }): Observable<any>;
218
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: {
219
+ httpHeaderAccept?: 'application/json';
220
+ context?: HttpContext;
221
+ transferCache?: boolean;
222
+ }): Observable<HttpResponse<any>>;
223
+ postPlatformUserForgottenPassword(platformUserForgottenPasswordRequest: PlatformUserForgottenPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: {
224
+ httpHeaderAccept?: 'application/json';
225
+ context?: HttpContext;
226
+ transferCache?: boolean;
227
+ }): Observable<HttpEvent<any>>;
228
+ /**
229
+ * Reset a password
230
+ * Reset a [&#x60;Platform User&#x60;](#operation/postPlatformUser) password
231
+ * @param platformUserResetPasswordRequest
232
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
233
+ * @param reportProgress flag to report request and response progress.
234
+ */
235
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: {
236
+ httpHeaderAccept?: 'application/json';
237
+ context?: HttpContext;
238
+ transferCache?: boolean;
239
+ }): Observable<any>;
240
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: {
241
+ httpHeaderAccept?: 'application/json';
242
+ context?: HttpContext;
243
+ transferCache?: boolean;
244
+ }): Observable<HttpResponse<any>>;
245
+ postPlatformUserResetPassword(platformUserResetPasswordRequest: PlatformUserResetPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: {
246
+ httpHeaderAccept?: 'application/json';
247
+ context?: HttpContext;
248
+ transferCache?: boolean;
249
+ }): Observable<HttpEvent<any>>;
250
+ /**
251
+ * Get a sign-up token
252
+ * Get an authentication token needed to create a [&#x60;Platform User&#x60;](#operation/postPlatformUser)
253
+ * @param platformUserSignUpTokenRequest
254
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
255
+ * @param reportProgress flag to report request and response progress.
256
+ */
257
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'body', reportProgress?: boolean, options?: {
258
+ httpHeaderAccept?: 'application/json';
259
+ context?: HttpContext;
260
+ transferCache?: boolean;
261
+ }): Observable<PlatformUserSignUpToken>;
262
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'response', reportProgress?: boolean, options?: {
263
+ httpHeaderAccept?: 'application/json';
264
+ context?: HttpContext;
265
+ transferCache?: boolean;
266
+ }): Observable<HttpResponse<PlatformUserSignUpToken>>;
267
+ postPlatformUserSignUpToken(platformUserSignUpTokenRequest: PlatformUserSignUpTokenRequest, observe?: 'events', reportProgress?: boolean, options?: {
268
+ httpHeaderAccept?: 'application/json';
269
+ context?: HttpContext;
270
+ transferCache?: boolean;
271
+ }): Observable<HttpEvent<PlatformUserSignUpToken>>;
272
+ /**
273
+ * Request verification code for sign-up
274
+ * Request verification code needed to retrieve authentication token to create a [&#x60;Platform User&#x60;](#operation/postPlatformUser)
275
+ * @param platformUserVerificationRequest
276
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
277
+ * @param reportProgress flag to report request and response progress.
278
+ */
279
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'body', reportProgress?: boolean, options?: {
280
+ httpHeaderAccept?: 'application/json';
281
+ context?: HttpContext;
282
+ transferCache?: boolean;
283
+ }): Observable<any>;
284
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'response', reportProgress?: boolean, options?: {
285
+ httpHeaderAccept?: 'application/json';
286
+ context?: HttpContext;
287
+ transferCache?: boolean;
288
+ }): Observable<HttpResponse<any>>;
289
+ postPlatformUserVerification(platformUserVerificationRequest: PlatformUserVerificationRequest, observe?: 'events', reportProgress?: boolean, options?: {
290
+ httpHeaderAccept?: 'application/json';
291
+ context?: HttpContext;
292
+ transferCache?: boolean;
293
+ }): Observable<HttpEvent<any>>;
61
294
  /**
62
295
  * Create a user
63
296
  * Create a new [&#x60;User&#x60;](#tag/Users) in the current account
@@ -80,6 +313,50 @@ export declare class UsersService {
80
313
  context?: HttpContext;
81
314
  transferCache?: boolean;
82
315
  }): Observable<HttpEvent<AccountUserWithPermittedActions>>;
316
+ /**
317
+ * Create users
318
+ * Create new [&#x60;User&#x60;](#tag/Users) resources in the current account
319
+ * @param userBatchRequest
320
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
321
+ * @param reportProgress flag to report request and response progress.
322
+ */
323
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
324
+ httpHeaderAccept?: 'application/json';
325
+ context?: HttpContext;
326
+ transferCache?: boolean;
327
+ }): Observable<UserBatchJob>;
328
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
329
+ httpHeaderAccept?: 'application/json';
330
+ context?: HttpContext;
331
+ transferCache?: boolean;
332
+ }): Observable<HttpResponse<UserBatchJob>>;
333
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
334
+ httpHeaderAccept?: 'application/json';
335
+ context?: HttpContext;
336
+ transferCache?: boolean;
337
+ }): Observable<HttpEvent<UserBatchJob>>;
338
+ /**
339
+ * Search for users
340
+ * Create a new &#x60;UserSearch&#x60;
341
+ * @param userSearchRequest
342
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
343
+ * @param reportProgress flag to report request and response progress.
344
+ */
345
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
346
+ httpHeaderAccept?: 'application/json';
347
+ context?: HttpContext;
348
+ transferCache?: boolean;
349
+ }): Observable<UserSearch>;
350
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
351
+ httpHeaderAccept?: 'application/json';
352
+ context?: HttpContext;
353
+ transferCache?: boolean;
354
+ }): Observable<HttpResponse<UserSearch>>;
355
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
356
+ httpHeaderAccept?: 'application/json';
357
+ context?: HttpContext;
358
+ transferCache?: boolean;
359
+ }): Observable<HttpEvent<UserSearch>>;
83
360
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, [null, { optional: true; }, { optional: true; }]>;
84
361
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
85
362
  }
@@ -0,0 +1,101 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { WordPressSettingsPatchRequest } from '../model/wordPressSettingsPatchRequest';
4
+ import { WordPressSettingsPutRequest } from '../model/wordPressSettingsPutRequest';
5
+ import { WordPressSettingsWithPermittedActions } from '../model/wordPressSettingsWithPermittedActions';
6
+ import { Configuration } from '../configuration';
7
+ import * as i0 from "@angular/core";
8
+ export declare class WordPressService {
9
+ protected httpClient: HttpClient;
10
+ protected basePath: string;
11
+ defaultHeaders: HttpHeaders;
12
+ configuration: Configuration;
13
+ encoder: HttpParameterCodec;
14
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
15
+ private addToHttpParams;
16
+ private addToHttpParamsRecursive;
17
+ /**
18
+ * Delete the account WordPress settings
19
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
20
+ * @param reportProgress flag to report request and response progress.
21
+ */
22
+ deleteWordPressSettings(observe?: 'body', reportProgress?: boolean, options?: {
23
+ httpHeaderAccept?: 'application/json';
24
+ context?: HttpContext;
25
+ transferCache?: boolean;
26
+ }): Observable<any>;
27
+ deleteWordPressSettings(observe?: 'response', reportProgress?: boolean, options?: {
28
+ httpHeaderAccept?: 'application/json';
29
+ context?: HttpContext;
30
+ transferCache?: boolean;
31
+ }): Observable<HttpResponse<any>>;
32
+ deleteWordPressSettings(observe?: 'events', reportProgress?: boolean, options?: {
33
+ httpHeaderAccept?: 'application/json';
34
+ context?: HttpContext;
35
+ transferCache?: boolean;
36
+ }): Observable<HttpEvent<any>>;
37
+ /**
38
+ * Get the account WordPress settings
39
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
40
+ * @param reportProgress flag to report request and response progress.
41
+ */
42
+ getWordPressSettings(observe?: 'body', reportProgress?: boolean, options?: {
43
+ httpHeaderAccept?: 'application/json';
44
+ context?: HttpContext;
45
+ transferCache?: boolean;
46
+ }): Observable<WordPressSettingsWithPermittedActions>;
47
+ getWordPressSettings(observe?: 'response', reportProgress?: boolean, options?: {
48
+ httpHeaderAccept?: 'application/json';
49
+ context?: HttpContext;
50
+ transferCache?: boolean;
51
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
52
+ getWordPressSettings(observe?: 'events', reportProgress?: boolean, options?: {
53
+ httpHeaderAccept?: 'application/json';
54
+ context?: HttpContext;
55
+ transferCache?: boolean;
56
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
57
+ /**
58
+ * Update the account WordPress settings
59
+ * @param wordPressSettingsPatchRequest
60
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
61
+ * @param reportProgress flag to report request and response progress.
62
+ */
63
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
64
+ httpHeaderAccept?: 'application/json';
65
+ context?: HttpContext;
66
+ transferCache?: boolean;
67
+ }): Observable<WordPressSettingsWithPermittedActions>;
68
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
69
+ httpHeaderAccept?: 'application/json';
70
+ context?: HttpContext;
71
+ transferCache?: boolean;
72
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
73
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
74
+ httpHeaderAccept?: 'application/json';
75
+ context?: HttpContext;
76
+ transferCache?: boolean;
77
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
78
+ /**
79
+ * Create or update the account WordPress settings
80
+ * @param wordPressSettingsPutRequest
81
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
82
+ * @param reportProgress flag to report request and response progress.
83
+ */
84
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'body', reportProgress?: boolean, options?: {
85
+ httpHeaderAccept?: 'application/json';
86
+ context?: HttpContext;
87
+ transferCache?: boolean;
88
+ }): Observable<WordPressSettingsWithPermittedActions>;
89
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'response', reportProgress?: boolean, options?: {
90
+ httpHeaderAccept?: 'application/json';
91
+ context?: HttpContext;
92
+ transferCache?: boolean;
93
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
94
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'events', reportProgress?: boolean, options?: {
95
+ httpHeaderAccept?: 'application/json';
96
+ context?: HttpContext;
97
+ transferCache?: boolean;
98
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<WordPressService, [null, { optional: true; }, { optional: true; }]>;
100
+ static ɵprov: i0.ɵɵInjectableDeclaration<WordPressService>;
101
+ }