@saritasa/renewaire-frontend-sdk 0.22.0 → 0.23.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.22.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.23.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.22.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.23.0 --save
5
5
  ```
@@ -455,11 +455,7 @@ class AuthApiService extends BaseService {
455
455
  reportProgress: reportProgress,
456
456
  });
457
457
  }
458
- authRefreshToken(requestParameters, observe = "body", reportProgress = false, options) {
459
- const refreshTokenCommand = requestParameters?.refreshTokenCommand;
460
- if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
461
- throw new Error("Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.");
462
- }
458
+ authRefreshToken(observe = "body", reportProgress = false, options) {
463
459
  let localVarHeaders = this.defaultHeaders;
464
460
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
465
461
  this.configuration.selectHeaderAccept([
@@ -472,16 +468,6 @@ class AuthApiService extends BaseService {
472
468
  }
473
469
  const localVarHttpContext = options?.context ?? new HttpContext();
474
470
  const localVarTransferCache = options?.transferCache ?? true;
475
- // to determine the Content-Type header
476
- const consumes = [
477
- "application/json",
478
- "text/json",
479
- "application/*+json",
480
- ];
481
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
482
- if (httpContentTypeSelected !== undefined) {
483
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
484
- }
485
471
  let responseType_ = "json";
486
472
  if (localVarHttpHeaderAcceptSelected) {
487
473
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -498,7 +484,6 @@ class AuthApiService extends BaseService {
498
484
  const { basePath, withCredentials } = this.configuration;
499
485
  return this.httpClient.request("put", `${basePath}${localVarPath}`, {
500
486
  context: localVarHttpContext,
501
- body: refreshTokenCommand,
502
487
  responseType: responseType_,
503
488
  ...(withCredentials ? { withCredentials } : {}),
504
489
  headers: localVarHeaders,
@@ -5029,16 +5014,6 @@ var Permission;
5029
5014
  * Do not edit the class manually.
5030
5015
  */
5031
5016
 
5032
- /**
5033
- * RenewAire CORES API
5034
- *
5035
- * Contact: renewaire@saritasa.com
5036
- *
5037
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5038
- * https://openapi-generator.tech
5039
- * Do not edit the class manually.
5040
- */
5041
-
5042
5017
  /**
5043
5018
  * RenewAire CORES API
5044
5019
  *