@saritasa/renewaire-frontend-sdk 0.43.0 → 0.44.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
|
@@ -4788,6 +4788,52 @@ class UsersApiService extends BaseService {
|
|
|
4788
4788
|
reportProgress: reportProgress,
|
|
4789
4789
|
});
|
|
4790
4790
|
}
|
|
4791
|
+
usersSendInvite(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4792
|
+
const inviteDto = requestParameters?.inviteDto;
|
|
4793
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4794
|
+
// authentication (Bearer) required
|
|
4795
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4796
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4797
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4798
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4799
|
+
}
|
|
4800
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4801
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4802
|
+
// to determine the Content-Type header
|
|
4803
|
+
const consumes = [
|
|
4804
|
+
"application/json",
|
|
4805
|
+
"text/json",
|
|
4806
|
+
"application/*+json",
|
|
4807
|
+
];
|
|
4808
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4809
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4810
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4811
|
+
}
|
|
4812
|
+
let responseType_ = "json";
|
|
4813
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4814
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4815
|
+
responseType_ = "text";
|
|
4816
|
+
}
|
|
4817
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4818
|
+
responseType_ = "json";
|
|
4819
|
+
}
|
|
4820
|
+
else {
|
|
4821
|
+
responseType_ = "blob";
|
|
4822
|
+
}
|
|
4823
|
+
}
|
|
4824
|
+
let localVarPath = `/api/users/invite`;
|
|
4825
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4826
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4827
|
+
context: localVarHttpContext,
|
|
4828
|
+
body: inviteDto,
|
|
4829
|
+
responseType: responseType_,
|
|
4830
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4831
|
+
headers: localVarHeaders,
|
|
4832
|
+
observe: observe,
|
|
4833
|
+
transferCache: localVarTransferCache,
|
|
4834
|
+
reportProgress: reportProgress,
|
|
4835
|
+
});
|
|
4836
|
+
}
|
|
4791
4837
|
usersSetPreferredLanguage(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4792
4838
|
const setPreferredLanguageCommand = requestParameters?.setPreferredLanguageCommand;
|
|
4793
4839
|
if (setPreferredLanguageCommand === null ||
|
|
@@ -6354,6 +6400,16 @@ var GroupType;
|
|
|
6354
6400
|
* Do not edit the class manually.
|
|
6355
6401
|
*/
|
|
6356
6402
|
|
|
6403
|
+
/**
|
|
6404
|
+
* RenewAire CORES API
|
|
6405
|
+
*
|
|
6406
|
+
* Contact: renewaire@saritasa.com
|
|
6407
|
+
*
|
|
6408
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6409
|
+
* https://openapi-generator.tech
|
|
6410
|
+
* Do not edit the class manually.
|
|
6411
|
+
*/
|
|
6412
|
+
|
|
6357
6413
|
/**
|
|
6358
6414
|
* RenewAire CORES API
|
|
6359
6415
|
*
|