@saritasa/renewaire-frontend-sdk 0.369.0 → 0.370.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.369.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.370.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.369.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.370.0 --save
5
5
  ```
@@ -13305,6 +13305,40 @@ class UsersApiService extends BaseService {
13305
13305
  reportProgress: reportProgress,
13306
13306
  });
13307
13307
  }
13308
+ usersRequestOwnDeactivation(observe = "body", reportProgress = false, options) {
13309
+ let localVarHeaders = this.defaultHeaders;
13310
+ // authentication (Bearer) required
13311
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
13312
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
13313
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
13314
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
13315
+ }
13316
+ const localVarHttpContext = options?.context ?? new HttpContext();
13317
+ const localVarTransferCache = options?.transferCache ?? true;
13318
+ let responseType_ = "json";
13319
+ if (localVarHttpHeaderAcceptSelected) {
13320
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
13321
+ responseType_ = "text";
13322
+ }
13323
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
13324
+ responseType_ = "json";
13325
+ }
13326
+ else {
13327
+ responseType_ = "blob";
13328
+ }
13329
+ }
13330
+ let localVarPath = `/api/users/request-deactivation`;
13331
+ const { basePath, withCredentials } = this.configuration;
13332
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
13333
+ context: localVarHttpContext,
13334
+ responseType: responseType_,
13335
+ ...(withCredentials ? { withCredentials } : {}),
13336
+ headers: localVarHeaders,
13337
+ observe: observe,
13338
+ transferCache: localVarTransferCache,
13339
+ reportProgress: reportProgress,
13340
+ });
13341
+ }
13308
13342
  usersResetPassword(requestParameters, observe = "body", reportProgress = false, options) {
13309
13343
  const resetPasswordCommand = requestParameters?.resetPasswordCommand;
13310
13344
  let localVarHeaders = this.defaultHeaders;