@brightinteractive/platform-api 0.1.0 → 0.1.1

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 (145) hide show
  1. package/api/accountSecurity.service.d.ts +53 -0
  2. package/api/accounts.service.d.ts +41 -3
  3. package/api/api.d.ts +49 -1
  4. package/api/assetComments.service.d.ts +97 -0
  5. package/api/assetDeduplication.service.d.ts +35 -0
  6. package/api/assetDownloadEvents.service.d.ts +0 -3
  7. package/api/assetEmbeddableLinks.service.d.ts +19 -12
  8. package/api/assetMetadataExport.service.d.ts +94 -0
  9. package/api/assetSavedCropAreaSummaries.service.d.ts +21 -3
  10. package/api/assetSavedCropAreas.service.d.ts +0 -12
  11. package/api/assetShareAccessTokens.service.d.ts +0 -3
  12. package/api/assetShareEmails.service.d.ts +0 -3
  13. package/api/assetShares.service.d.ts +21 -12
  14. package/api/assets.service.d.ts +80 -51
  15. package/api/autoTaggingImageSettings.service.d.ts +53 -0
  16. package/api/cloudConnections.service.d.ts +111 -0
  17. package/api/cloudImportJobs.service.d.ts +115 -0
  18. package/api/cloudObjects.service.d.ts +57 -0
  19. package/api/collectionShareAccessTokens.service.d.ts +0 -3
  20. package/api/collectionShares.service.d.ts +20 -15
  21. package/api/collections.service.d.ts +0 -9
  22. package/api/corebook.service.d.ts +0 -6
  23. package/api/custom.service.d.ts +0 -12
  24. package/api/externalApp.service.d.ts +76 -0
  25. package/api/fieldOptionImages.service.d.ts +76 -0
  26. package/api/fieldOptions.service.d.ts +0 -15
  27. package/api/fieldViews.service.d.ts +0 -3
  28. package/api/fields.service.d.ts +0 -9
  29. package/api/folderSettings.service.d.ts +0 -3
  30. package/api/groups.service.d.ts +0 -3
  31. package/api/guestUploadAccessTokens.service.d.ts +37 -0
  32. package/api/guestUploadEmails.service.d.ts +36 -0
  33. package/api/guestUploads.service.d.ts +117 -0
  34. package/api/onboardingChecklist.service.d.ts +53 -0
  35. package/api/ping.service.d.ts +34 -0
  36. package/api/portalAccessTokens.service.d.ts +0 -3
  37. package/api/portalEmails.service.d.ts +0 -3
  38. package/api/portals.service.d.ts +0 -15
  39. package/api/presetTransformations.service.d.ts +39 -3
  40. package/api/publiclyAvailableGuestUploadData.service.d.ts +37 -0
  41. package/api/publiclyAvailablePortalDatas.service.d.ts +37 -0
  42. package/api/savedSearch.service.d.ts +0 -3
  43. package/api/savedSearches.service.d.ts +0 -12
  44. package/api/searchFilters.service.d.ts +19 -3
  45. package/api/shopify.service.d.ts +102 -0
  46. package/api/staffMembers.service.d.ts +74 -0
  47. package/api/subdomains.service.d.ts +0 -3
  48. package/api/subscription.service.d.ts +152 -0
  49. package/api/textInImageSettings.service.d.ts +53 -0
  50. package/api/theme.service.d.ts +132 -3
  51. package/api/userPreferences.service.d.ts +55 -0
  52. package/api/userReferrer.service.d.ts +35 -0
  53. package/api/users.service.d.ts +241 -9
  54. package/api/wordPress.service.d.ts +89 -0
  55. package/esm2022/api/accountSecurity.service.mjs +198 -0
  56. package/esm2022/api/accounts.service.mjs +117 -9
  57. package/esm2022/api/api.mjs +50 -2
  58. package/esm2022/api/assetComments.service.mjs +312 -0
  59. package/esm2022/api/assetDeduplication.service.mjs +141 -0
  60. package/esm2022/api/assetDownloadEvents.service.mjs +3 -9
  61. package/esm2022/api/assetEmbeddableLinks.service.mjs +51 -24
  62. package/esm2022/api/assetMetadataExport.service.mjs +297 -0
  63. package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +60 -9
  64. package/esm2022/api/assetSavedCropAreas.service.mjs +3 -24
  65. package/esm2022/api/assetShareAccessTokens.service.mjs +3 -9
  66. package/esm2022/api/assetShareEmails.service.mjs +3 -9
  67. package/esm2022/api/assetShares.service.mjs +60 -24
  68. package/esm2022/api/assets.service.mjs +222 -89
  69. package/esm2022/api/autoTaggingImageSettings.service.mjs +198 -0
  70. package/esm2022/api/cloudConnections.service.mjs +333 -0
  71. package/esm2022/api/cloudImportJobs.service.mjs +359 -0
  72. package/esm2022/api/cloudObjects.service.mjs +204 -0
  73. package/esm2022/api/collectionShareAccessTokens.service.mjs +3 -9
  74. package/esm2022/api/collectionShares.service.mjs +60 -29
  75. package/esm2022/api/collections.service.mjs +3 -19
  76. package/esm2022/api/corebook.service.mjs +3 -14
  77. package/esm2022/api/custom.service.mjs +3 -24
  78. package/esm2022/api/externalApp.service.mjs +267 -0
  79. package/esm2022/api/fieldOptionImages.service.mjs +258 -0
  80. package/esm2022/api/fieldOptions.service.mjs +3 -29
  81. package/esm2022/api/fieldViews.service.mjs +3 -9
  82. package/esm2022/api/fields.service.mjs +3 -19
  83. package/esm2022/api/folderSettings.service.mjs +3 -9
  84. package/esm2022/api/groups.service.mjs +3 -9
  85. package/esm2022/api/guestUploadAccessTokens.service.mjs +147 -0
  86. package/esm2022/api/guestUploadEmails.service.mjs +153 -0
  87. package/esm2022/api/guestUploads.service.mjs +366 -0
  88. package/esm2022/api/onboardingChecklist.service.mjs +198 -0
  89. package/esm2022/api/ping.service.mjs +135 -0
  90. package/esm2022/api/portalAccessTokens.service.mjs +3 -9
  91. package/esm2022/api/portalEmails.service.mjs +3 -9
  92. package/esm2022/api/portals.service.mjs +3 -29
  93. package/esm2022/api/presetTransformations.service.mjs +105 -9
  94. package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +147 -0
  95. package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +147 -0
  96. package/esm2022/api/savedSearch.service.mjs +3 -9
  97. package/esm2022/api/savedSearches.service.mjs +3 -24
  98. package/esm2022/api/searchFilters.service.mjs +48 -9
  99. package/esm2022/api/shopify.service.mjs +320 -0
  100. package/esm2022/api/staffMembers.service.mjs +246 -0
  101. package/esm2022/api/subdomains.service.mjs +3 -9
  102. package/esm2022/api/subscription.service.mjs +441 -0
  103. package/esm2022/api/textInImageSettings.service.mjs +198 -0
  104. package/esm2022/api/theme.service.mjs +342 -9
  105. package/esm2022/api/userPreferences.service.mjs +198 -0
  106. package/esm2022/api/userReferrer.service.mjs +141 -0
  107. package/esm2022/api/users.service.mjs +643 -23
  108. package/esm2022/api/wordPress.service.mjs +300 -0
  109. package/esm2022/model/account.mjs +1 -1
  110. package/esm2022/model/accountRequest.mjs +1 -1
  111. package/esm2022/model/accountRequestAttribution.mjs +13 -0
  112. package/esm2022/model/assetFile.mjs +1 -1
  113. package/esm2022/model/assetFileDimensions.mjs +13 -0
  114. package/esm2022/model/assetFileGpsLocation.mjs +13 -0
  115. package/esm2022/model/cloudObjectPagedSearch.mjs +1 -1
  116. package/esm2022/model/cloudObjectPagedSearchNextPage.mjs +2 -0
  117. package/esm2022/model/fieldOption.mjs +1 -1
  118. package/esm2022/model/fieldOptionParent.mjs +2 -0
  119. package/esm2022/model/models.mjs +9 -1
  120. package/esm2022/model/portalPatchRequest.mjs +1 -1
  121. package/esm2022/model/portalPatchRequestWelcomeMessage.mjs +13 -0
  122. package/esm2022/model/userPreferences.mjs +1 -1
  123. package/esm2022/model/userPreferencesDefaultSort.mjs +2 -0
  124. package/esm2022/model/userPreferencesPatchRequest.mjs +1 -1
  125. package/esm2022/model/userPreferencesPatchRequestDefaultSort.mjs +2 -0
  126. package/fesm2022/brightinteractive-platform-api.mjs +8964 -2178
  127. package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
  128. package/model/account.d.ts +2 -2
  129. package/model/accountRequest.d.ts +2 -2
  130. package/model/accountRequestAttribution.d.ts +15 -0
  131. package/model/assetFile.d.ts +4 -16
  132. package/model/assetFileDimensions.d.ts +24 -0
  133. package/model/assetFileGpsLocation.d.ts +24 -0
  134. package/model/cloudObjectPagedSearch.d.ts +2 -2
  135. package/model/cloudObjectPagedSearchNextPage.d.ts +27 -0
  136. package/model/fieldOption.d.ts +2 -5
  137. package/model/fieldOptionParent.d.ts +23 -0
  138. package/model/models.d.ts +8 -0
  139. package/model/portalPatchRequest.d.ts +2 -2
  140. package/model/portalPatchRequestWelcomeMessage.d.ts +21 -0
  141. package/model/userPreferences.d.ts +2 -2
  142. package/model/userPreferencesDefaultSort.d.ts +19 -0
  143. package/model/userPreferencesPatchRequest.d.ts +2 -2
  144. package/model/userPreferencesPatchRequestDefaultSort.d.ts +15 -0
  145. package/package.json +1 -1
@@ -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,25 @@ 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 [`User`](#tag/Users) and delete all [`AssetShares`](#tag/Asset-Shares) belonging to that user
35
+ * @param id The unique ID of the [`User`](#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
+ }): Observable<any>;
43
+ deleteUser(id: string, observe?: 'response', reportProgress?: boolean, options?: {
44
+ httpHeaderAccept?: 'application/json';
45
+ context?: HttpContext;
46
+ }): Observable<HttpResponse<any>>;
47
+ deleteUser(id: string, observe?: 'events', reportProgress?: boolean, options?: {
48
+ httpHeaderAccept?: 'application/json';
49
+ context?: HttpContext;
50
+ }): Observable<HttpEvent<any>>;
18
51
  /**
19
52
  * Get the current user
20
53
  * Get the currently authenticated [&#x60;User&#x60;](#tag/Users)
@@ -24,18 +57,33 @@ export declare class UsersService {
24
57
  getCurrentUser(observe?: 'body', reportProgress?: boolean, options?: {
25
58
  httpHeaderAccept?: 'application/json';
26
59
  context?: HttpContext;
27
- transferCache?: boolean;
28
60
  }): Observable<UserWithPermittedActions>;
29
61
  getCurrentUser(observe?: 'response', reportProgress?: boolean, options?: {
30
62
  httpHeaderAccept?: 'application/json';
31
63
  context?: HttpContext;
32
- transferCache?: boolean;
33
64
  }): Observable<HttpResponse<UserWithPermittedActions>>;
34
65
  getCurrentUser(observe?: 'events', reportProgress?: boolean, options?: {
35
66
  httpHeaderAccept?: 'application/json';
36
67
  context?: HttpContext;
37
- transferCache?: boolean;
38
68
  }): Observable<HttpEvent<UserWithPermittedActions>>;
69
+ /**
70
+ * Check the creation status of the current user
71
+ * Get the currently authenticated [&#x60;User&#x60;](#tag/Users)\&#39;s creation status (used for detecting if a temporary signup token has been used)
72
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
73
+ * @param reportProgress flag to report request and response progress.
74
+ */
75
+ getCurrentUserCreationStatus(observe?: 'body', reportProgress?: boolean, options?: {
76
+ httpHeaderAccept?: 'application/json';
77
+ context?: HttpContext;
78
+ }): Observable<UserCreationStatusResponseWithPermittedActions>;
79
+ getCurrentUserCreationStatus(observe?: 'response', reportProgress?: boolean, options?: {
80
+ httpHeaderAccept?: 'application/json';
81
+ context?: HttpContext;
82
+ }): Observable<HttpResponse<UserCreationStatusResponseWithPermittedActions>>;
83
+ getCurrentUserCreationStatus(observe?: 'events', reportProgress?: boolean, options?: {
84
+ httpHeaderAccept?: 'application/json';
85
+ context?: HttpContext;
86
+ }): Observable<HttpEvent<UserCreationStatusResponseWithPermittedActions>>;
39
87
  /**
40
88
  * Get a user
41
89
  * Get a [&#x60;User&#x60;](#tag/Users)
@@ -46,18 +94,167 @@ export declare class UsersService {
46
94
  getUser(id: string, observe?: 'body', reportProgress?: boolean, options?: {
47
95
  httpHeaderAccept?: 'application/json';
48
96
  context?: HttpContext;
49
- transferCache?: boolean;
50
97
  }): Observable<UserWithNoPermittedActions>;
51
98
  getUser(id: string, observe?: 'response', reportProgress?: boolean, options?: {
52
99
  httpHeaderAccept?: 'application/json';
53
100
  context?: HttpContext;
54
- transferCache?: boolean;
55
101
  }): Observable<HttpResponse<UserWithNoPermittedActions>>;
56
102
  getUser(id: string, observe?: 'events', reportProgress?: boolean, options?: {
57
103
  httpHeaderAccept?: 'application/json';
58
104
  context?: HttpContext;
59
- transferCache?: boolean;
60
105
  }): Observable<HttpEvent<UserWithNoPermittedActions>>;
106
+ /**
107
+ * Get the status of creating users
108
+ * Get the status and eventual result of an [&#x60;UserBatchJob&#x60;](#operation/postUserBatchJob)
109
+ * @param id The unique ID of the [&#x60;UserBatchJob&#x60;](#operation/postUserBatchJob)
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
+ getUserBatchJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
114
+ httpHeaderAccept?: 'application/json';
115
+ context?: HttpContext;
116
+ }): Observable<UserBatchJob>;
117
+ getUserBatchJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
118
+ httpHeaderAccept?: 'application/json';
119
+ context?: HttpContext;
120
+ }): Observable<HttpResponse<UserBatchJob>>;
121
+ getUserBatchJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
122
+ httpHeaderAccept?: 'application/json';
123
+ context?: HttpContext;
124
+ }): Observable<HttpEvent<UserBatchJob>>;
125
+ /**
126
+ * Delete a user
127
+ * Delete a [&#x60;User&#x60;](#tag/Users) with the option to delete all [&#x60;AssetShares&#x60;](#tag/Asset-Shares) belonging to that user
128
+ * @param userDeleteRequest
129
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
130
+ * @param reportProgress flag to report request and response progress.
131
+ */
132
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'body', reportProgress?: boolean, options?: {
133
+ httpHeaderAccept?: 'application/json';
134
+ context?: HttpContext;
135
+ }): Observable<any>;
136
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'response', reportProgress?: boolean, options?: {
137
+ httpHeaderAccept?: 'application/json';
138
+ context?: HttpContext;
139
+ }): Observable<HttpResponse<any>>;
140
+ postDeleteUser(userDeleteRequest: UserDeleteRequest, observe?: 'events', reportProgress?: boolean, options?: {
141
+ httpHeaderAccept?: 'application/json';
142
+ context?: HttpContext;
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>>;
61
258
  /**
62
259
  * Create a user
63
260
  * Create a new [&#x60;User&#x60;](#tag/Users) in the current account
@@ -68,18 +265,53 @@ export declare class UsersService {
68
265
  postUser(userRequest: UserRequest, observe?: 'body', reportProgress?: boolean, options?: {
69
266
  httpHeaderAccept?: 'application/json';
70
267
  context?: HttpContext;
71
- transferCache?: boolean;
72
268
  }): Observable<AccountUserWithPermittedActions>;
73
269
  postUser(userRequest: UserRequest, observe?: 'response', reportProgress?: boolean, options?: {
74
270
  httpHeaderAccept?: 'application/json';
75
271
  context?: HttpContext;
76
- transferCache?: boolean;
77
272
  }): Observable<HttpResponse<AccountUserWithPermittedActions>>;
78
273
  postUser(userRequest: UserRequest, observe?: 'events', reportProgress?: boolean, options?: {
79
274
  httpHeaderAccept?: 'application/json';
80
275
  context?: HttpContext;
81
- transferCache?: boolean;
82
276
  }): Observable<HttpEvent<AccountUserWithPermittedActions>>;
277
+ /**
278
+ * Create users
279
+ * Create new [&#x60;User&#x60;](#tag/Users) resources in the current account
280
+ * @param userBatchRequest
281
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
282
+ * @param reportProgress flag to report request and response progress.
283
+ */
284
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
285
+ httpHeaderAccept?: 'application/json';
286
+ context?: HttpContext;
287
+ }): Observable<UserBatchJob>;
288
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
289
+ httpHeaderAccept?: 'application/json';
290
+ context?: HttpContext;
291
+ }): Observable<HttpResponse<UserBatchJob>>;
292
+ postUserBatchJob(userBatchRequest: UserBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
293
+ httpHeaderAccept?: 'application/json';
294
+ context?: HttpContext;
295
+ }): Observable<HttpEvent<UserBatchJob>>;
296
+ /**
297
+ * Search for users
298
+ * Create a new &#x60;UserSearch&#x60;
299
+ * @param userSearchRequest
300
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
301
+ * @param reportProgress flag to report request and response progress.
302
+ */
303
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
304
+ httpHeaderAccept?: 'application/json';
305
+ context?: HttpContext;
306
+ }): Observable<UserSearch>;
307
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
308
+ httpHeaderAccept?: 'application/json';
309
+ context?: HttpContext;
310
+ }): Observable<HttpResponse<UserSearch>>;
311
+ postUserSearch(userSearchRequest: UserSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
312
+ httpHeaderAccept?: 'application/json';
313
+ context?: HttpContext;
314
+ }): Observable<HttpEvent<UserSearch>>;
83
315
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, [null, { optional: true; }, { optional: true; }]>;
84
316
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
85
317
  }
@@ -0,0 +1,89 @@
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
+ }): Observable<any>;
26
+ deleteWordPressSettings(observe?: 'response', reportProgress?: boolean, options?: {
27
+ httpHeaderAccept?: 'application/json';
28
+ context?: HttpContext;
29
+ }): Observable<HttpResponse<any>>;
30
+ deleteWordPressSettings(observe?: 'events', reportProgress?: boolean, options?: {
31
+ httpHeaderAccept?: 'application/json';
32
+ context?: HttpContext;
33
+ }): Observable<HttpEvent<any>>;
34
+ /**
35
+ * Get the account WordPress settings
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
+ getWordPressSettings(observe?: 'body', reportProgress?: boolean, options?: {
40
+ httpHeaderAccept?: 'application/json';
41
+ context?: HttpContext;
42
+ }): Observable<WordPressSettingsWithPermittedActions>;
43
+ getWordPressSettings(observe?: 'response', reportProgress?: boolean, options?: {
44
+ httpHeaderAccept?: 'application/json';
45
+ context?: HttpContext;
46
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
47
+ getWordPressSettings(observe?: 'events', reportProgress?: boolean, options?: {
48
+ httpHeaderAccept?: 'application/json';
49
+ context?: HttpContext;
50
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
51
+ /**
52
+ * Update the account WordPress settings
53
+ * @param wordPressSettingsPatchRequest
54
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
55
+ * @param reportProgress flag to report request and response progress.
56
+ */
57
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
58
+ httpHeaderAccept?: 'application/json';
59
+ context?: HttpContext;
60
+ }): Observable<WordPressSettingsWithPermittedActions>;
61
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
62
+ httpHeaderAccept?: 'application/json';
63
+ context?: HttpContext;
64
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
65
+ patchWordPressSettings(wordPressSettingsPatchRequest: WordPressSettingsPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
66
+ httpHeaderAccept?: 'application/json';
67
+ context?: HttpContext;
68
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
69
+ /**
70
+ * Create or update the account WordPress settings
71
+ * @param wordPressSettingsPutRequest
72
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
73
+ * @param reportProgress flag to report request and response progress.
74
+ */
75
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'body', reportProgress?: boolean, options?: {
76
+ httpHeaderAccept?: 'application/json';
77
+ context?: HttpContext;
78
+ }): Observable<WordPressSettingsWithPermittedActions>;
79
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'response', reportProgress?: boolean, options?: {
80
+ httpHeaderAccept?: 'application/json';
81
+ context?: HttpContext;
82
+ }): Observable<HttpResponse<WordPressSettingsWithPermittedActions>>;
83
+ putWordPressSettings(wordPressSettingsPutRequest: WordPressSettingsPutRequest, observe?: 'events', reportProgress?: boolean, options?: {
84
+ httpHeaderAccept?: 'application/json';
85
+ context?: HttpContext;
86
+ }): Observable<HttpEvent<WordPressSettingsWithPermittedActions>>;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<WordPressService, [null, { optional: true; }, { optional: true; }]>;
88
+ static ɵprov: i0.ɵɵInjectableDeclaration<WordPressService>;
89
+ }