@saritasa/renewaire-frontend-sdk 0.365.0 → 0.366.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
|
@@ -14439,6 +14439,57 @@ class UsersManagementApiService extends BaseService {
|
|
|
14439
14439
|
reportProgress: reportProgress,
|
|
14440
14440
|
});
|
|
14441
14441
|
}
|
|
14442
|
+
usersManagementRequestProfileUpdate(requestParameters, observe = "body", reportProgress = false, options) {
|
|
14443
|
+
const userId = requestParameters?.userId;
|
|
14444
|
+
if (userId === null || userId === undefined) {
|
|
14445
|
+
throw new Error("Required parameter userId was null or undefined when calling usersManagementRequestProfileUpdate.");
|
|
14446
|
+
}
|
|
14447
|
+
const requestProfileUpdateDto = requestParameters?.requestProfileUpdateDto;
|
|
14448
|
+
let localVarHeaders = this.defaultHeaders;
|
|
14449
|
+
// authentication (Bearer) required
|
|
14450
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
14451
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
14452
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
14453
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
14454
|
+
}
|
|
14455
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
14456
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
14457
|
+
// to determine the Content-Type header
|
|
14458
|
+
const consumes = [
|
|
14459
|
+
"application/json-patch+json",
|
|
14460
|
+
"application/json",
|
|
14461
|
+
"text/json",
|
|
14462
|
+
"application/*+json",
|
|
14463
|
+
];
|
|
14464
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
14465
|
+
if (httpContentTypeSelected !== undefined) {
|
|
14466
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
14467
|
+
}
|
|
14468
|
+
let responseType_ = "json";
|
|
14469
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
14470
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
14471
|
+
responseType_ = "text";
|
|
14472
|
+
}
|
|
14473
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
14474
|
+
responseType_ = "json";
|
|
14475
|
+
}
|
|
14476
|
+
else {
|
|
14477
|
+
responseType_ = "blob";
|
|
14478
|
+
}
|
|
14479
|
+
}
|
|
14480
|
+
let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/request/profile-update`;
|
|
14481
|
+
const { basePath, withCredentials } = this.configuration;
|
|
14482
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
14483
|
+
context: localVarHttpContext,
|
|
14484
|
+
body: requestProfileUpdateDto,
|
|
14485
|
+
responseType: responseType_,
|
|
14486
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
14487
|
+
headers: localVarHeaders,
|
|
14488
|
+
observe: observe,
|
|
14489
|
+
transferCache: localVarTransferCache,
|
|
14490
|
+
reportProgress: reportProgress,
|
|
14491
|
+
});
|
|
14492
|
+
}
|
|
14442
14493
|
usersManagementSearchUsers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
14443
14494
|
const fields = requestParameters?.fields;
|
|
14444
14495
|
if (fields === null || fields === undefined) {
|
|
@@ -16869,6 +16920,16 @@ var RepDataSource;
|
|
|
16869
16920
|
* Do not edit the class manually.
|
|
16870
16921
|
*/
|
|
16871
16922
|
|
|
16923
|
+
/**
|
|
16924
|
+
* RenewAire CORES API
|
|
16925
|
+
*
|
|
16926
|
+
* Contact: renewaire@saritasa.com
|
|
16927
|
+
*
|
|
16928
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
16929
|
+
* https://openapi-generator.tech
|
|
16930
|
+
* Do not edit the class manually.
|
|
16931
|
+
*/
|
|
16932
|
+
|
|
16872
16933
|
/**
|
|
16873
16934
|
* RenewAire CORES API
|
|
16874
16935
|
*
|