@saritasa/renewaire-frontend-sdk 0.5.0 → 0.5.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.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.5.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.5.1
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.5.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.5.1 --save
5
5
  ```
@@ -3199,6 +3199,55 @@ class UsersApiService extends BaseService {
3199
3199
  reportProgress: reportProgress,
3200
3200
  });
3201
3201
  }
3202
+ usersVerifyResetPasswordToken(requestParameters, observe = "body", reportProgress = false, options) {
3203
+ const verifyResetPasswordTokenCommand = requestParameters?.verifyResetPasswordTokenCommand;
3204
+ let localVarHeaders = this.defaultHeaders;
3205
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3206
+ this.configuration.selectHeaderAccept([
3207
+ "text/plain",
3208
+ "application/json",
3209
+ "text/json",
3210
+ ]);
3211
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3212
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3213
+ }
3214
+ const localVarHttpContext = options?.context ?? new HttpContext();
3215
+ const localVarTransferCache = options?.transferCache ?? true;
3216
+ // to determine the Content-Type header
3217
+ const consumes = [
3218
+ "application/json",
3219
+ "text/json",
3220
+ "application/*+json",
3221
+ ];
3222
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3223
+ if (httpContentTypeSelected !== undefined) {
3224
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3225
+ }
3226
+ let responseType_ = "json";
3227
+ if (localVarHttpHeaderAcceptSelected) {
3228
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3229
+ responseType_ = "text";
3230
+ }
3231
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3232
+ responseType_ = "json";
3233
+ }
3234
+ else {
3235
+ responseType_ = "blob";
3236
+ }
3237
+ }
3238
+ let localVarPath = `/api/users/reset-password/verify`;
3239
+ const { basePath, withCredentials } = this.configuration;
3240
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3241
+ context: localVarHttpContext,
3242
+ body: verifyResetPasswordTokenCommand,
3243
+ responseType: responseType_,
3244
+ ...(withCredentials ? { withCredentials } : {}),
3245
+ headers: localVarHeaders,
3246
+ observe: observe,
3247
+ transferCache: localVarTransferCache,
3248
+ reportProgress: reportProgress,
3249
+ });
3250
+ }
3202
3251
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3203
3252
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, providedIn: "root" });
3204
3253
  }
@@ -3872,6 +3921,16 @@ var UserProfileSettingsDtoRegistrationStatusEnum;
3872
3921
  UserProfileSettingsDtoRegistrationStatusEnum["Completed"] = "Completed";
3873
3922
  })(UserProfileSettingsDtoRegistrationStatusEnum || (UserProfileSettingsDtoRegistrationStatusEnum = {}));
3874
3923
 
3924
+ /**
3925
+ * RenewAire CORES API
3926
+ *
3927
+ * Contact: renewaire@saritasa.com
3928
+ *
3929
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3930
+ * https://openapi-generator.tech
3931
+ * Do not edit the class manually.
3932
+ */
3933
+
3875
3934
  class ApiModule {
3876
3935
  static forRoot(configurationFactory) {
3877
3936
  return {