@saritasa/renewaire-frontend-sdk 0.5.0 → 0.6.0

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.6.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.5.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.6.0 --save
5
5
  ```
@@ -2825,6 +2825,60 @@ class UsersApiService extends BaseService {
2825
2825
  reportProgress: reportProgress,
2826
2826
  });
2827
2827
  }
2828
+ usersSearchUsers(requestParameters, observe = "body", reportProgress = false, options) {
2829
+ const fields = requestParameters?.fields;
2830
+ if (fields === null || fields === undefined) {
2831
+ throw new Error("Required parameter fields was null or undefined when calling usersSearchUsers.");
2832
+ }
2833
+ const queryFilterOrderBy = requestParameters?.queryFilterOrderBy;
2834
+ const queryFilterPage = requestParameters?.queryFilterPage;
2835
+ const queryFilterPageSize = requestParameters?.queryFilterPageSize;
2836
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2837
+ if (fields) {
2838
+ fields.forEach((element) => {
2839
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Fields");
2840
+ });
2841
+ }
2842
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, queryFilterOrderBy, "QueryFilter.OrderBy");
2843
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, queryFilterPage, "QueryFilter.Page");
2844
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, queryFilterPageSize, "QueryFilter.PageSize");
2845
+ let localVarHeaders = this.defaultHeaders;
2846
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2847
+ this.configuration.selectHeaderAccept([
2848
+ "text/plain",
2849
+ "application/json",
2850
+ "text/json",
2851
+ ]);
2852
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2853
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2854
+ }
2855
+ const localVarHttpContext = options?.context ?? new HttpContext();
2856
+ const localVarTransferCache = options?.transferCache ?? true;
2857
+ let responseType_ = "json";
2858
+ if (localVarHttpHeaderAcceptSelected) {
2859
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2860
+ responseType_ = "text";
2861
+ }
2862
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2863
+ responseType_ = "json";
2864
+ }
2865
+ else {
2866
+ responseType_ = "blob";
2867
+ }
2868
+ }
2869
+ let localVarPath = `/api/users`;
2870
+ const { basePath, withCredentials } = this.configuration;
2871
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2872
+ context: localVarHttpContext,
2873
+ params: localVarQueryParameters,
2874
+ responseType: responseType_,
2875
+ ...(withCredentials ? { withCredentials } : {}),
2876
+ headers: localVarHeaders,
2877
+ observe: observe,
2878
+ transferCache: localVarTransferCache,
2879
+ reportProgress: reportProgress,
2880
+ });
2881
+ }
2828
2882
  usersSetUserAddress(requestParameters, observe = "body", reportProgress = false, options) {
2829
2883
  const setAddressDto = requestParameters?.setAddressDto;
2830
2884
  let localVarHeaders = this.defaultHeaders;
@@ -3199,6 +3253,55 @@ class UsersApiService extends BaseService {
3199
3253
  reportProgress: reportProgress,
3200
3254
  });
3201
3255
  }
3256
+ usersVerifyResetPasswordToken(requestParameters, observe = "body", reportProgress = false, options) {
3257
+ const verifyResetPasswordTokenCommand = requestParameters?.verifyResetPasswordTokenCommand;
3258
+ let localVarHeaders = this.defaultHeaders;
3259
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3260
+ this.configuration.selectHeaderAccept([
3261
+ "text/plain",
3262
+ "application/json",
3263
+ "text/json",
3264
+ ]);
3265
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3266
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3267
+ }
3268
+ const localVarHttpContext = options?.context ?? new HttpContext();
3269
+ const localVarTransferCache = options?.transferCache ?? true;
3270
+ // to determine the Content-Type header
3271
+ const consumes = [
3272
+ "application/json",
3273
+ "text/json",
3274
+ "application/*+json",
3275
+ ];
3276
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3277
+ if (httpContentTypeSelected !== undefined) {
3278
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3279
+ }
3280
+ let responseType_ = "json";
3281
+ if (localVarHttpHeaderAcceptSelected) {
3282
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3283
+ responseType_ = "text";
3284
+ }
3285
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3286
+ responseType_ = "json";
3287
+ }
3288
+ else {
3289
+ responseType_ = "blob";
3290
+ }
3291
+ }
3292
+ let localVarPath = `/api/users/reset-password/verify`;
3293
+ const { basePath, withCredentials } = this.configuration;
3294
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3295
+ context: localVarHttpContext,
3296
+ body: verifyResetPasswordTokenCommand,
3297
+ responseType: responseType_,
3298
+ ...(withCredentials ? { withCredentials } : {}),
3299
+ headers: localVarHeaders,
3300
+ observe: observe,
3301
+ transferCache: localVarTransferCache,
3302
+ reportProgress: reportProgress,
3303
+ });
3304
+ }
3202
3305
  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
3306
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, providedIn: "root" });
3204
3307
  }
@@ -3738,6 +3841,16 @@ var SearchRegionDtoLevelEnum;
3738
3841
  * Do not edit the class manually.
3739
3842
  */
3740
3843
 
3844
+ /**
3845
+ * RenewAire CORES API
3846
+ *
3847
+ * Contact: renewaire@saritasa.com
3848
+ *
3849
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3850
+ * https://openapi-generator.tech
3851
+ * Do not edit the class manually.
3852
+ */
3853
+
3741
3854
  /**
3742
3855
  * RenewAire CORES API
3743
3856
  *
@@ -3872,6 +3985,16 @@ var UserProfileSettingsDtoRegistrationStatusEnum;
3872
3985
  UserProfileSettingsDtoRegistrationStatusEnum["Completed"] = "Completed";
3873
3986
  })(UserProfileSettingsDtoRegistrationStatusEnum || (UserProfileSettingsDtoRegistrationStatusEnum = {}));
3874
3987
 
3988
+ /**
3989
+ * RenewAire CORES API
3990
+ *
3991
+ * Contact: renewaire@saritasa.com
3992
+ *
3993
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3994
+ * https://openapi-generator.tech
3995
+ * Do not edit the class manually.
3996
+ */
3997
+
3875
3998
  class ApiModule {
3876
3999
  static forRoot(configurationFactory) {
3877
4000
  return {