@saritasa/renewaire-frontend-sdk 0.373.0 → 0.375.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.373.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.375.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.373.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.375.0 --save
5
5
  ```
@@ -289,8 +289,6 @@ class AuditLogsApiService extends BaseService {
289
289
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
290
290
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
291
291
  let localVarHeaders = this.defaultHeaders;
292
- // authentication (Bearer) required
293
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
294
292
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
295
293
  this.configuration.selectHeaderAccept([
296
294
  "text/plain",
@@ -14215,6 +14213,57 @@ class UsersManagementApiService extends BaseService {
14215
14213
  super(basePath, configuration);
14216
14214
  this.httpClient = httpClient;
14217
14215
  }
14216
+ usersManagementAssignSalesChannelContacts(requestParameters, observe = "body", reportProgress = false, options) {
14217
+ const userId = requestParameters?.userId;
14218
+ if (userId === null || userId === undefined) {
14219
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementAssignSalesChannelContacts.");
14220
+ }
14221
+ const assignSalesChannelContactsDto = requestParameters?.assignSalesChannelContactsDto;
14222
+ let localVarHeaders = this.defaultHeaders;
14223
+ // authentication (Bearer) required
14224
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
14225
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
14226
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
14227
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
14228
+ }
14229
+ const localVarHttpContext = options?.context ?? new HttpContext();
14230
+ const localVarTransferCache = options?.transferCache ?? true;
14231
+ // to determine the Content-Type header
14232
+ const consumes = [
14233
+ "application/json-patch+json",
14234
+ "application/json",
14235
+ "text/json",
14236
+ "application/*+json",
14237
+ ];
14238
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
14239
+ if (httpContentTypeSelected !== undefined) {
14240
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
14241
+ }
14242
+ let responseType_ = "json";
14243
+ if (localVarHttpHeaderAcceptSelected) {
14244
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
14245
+ responseType_ = "text";
14246
+ }
14247
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
14248
+ responseType_ = "json";
14249
+ }
14250
+ else {
14251
+ responseType_ = "blob";
14252
+ }
14253
+ }
14254
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/sales-channel-contacts`;
14255
+ const { basePath, withCredentials } = this.configuration;
14256
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
14257
+ context: localVarHttpContext,
14258
+ body: assignSalesChannelContactsDto,
14259
+ responseType: responseType_,
14260
+ ...(withCredentials ? { withCredentials } : {}),
14261
+ headers: localVarHeaders,
14262
+ observe: observe,
14263
+ transferCache: localVarTransferCache,
14264
+ reportProgress: reportProgress,
14265
+ });
14266
+ }
14218
14267
  usersManagementCreateUser(requestParameters, observe = "body", reportProgress = false, options) {
14219
14268
  const email = requestParameters?.email;
14220
14269
  if (email === null || email === undefined) {
@@ -15244,6 +15293,16 @@ var AshraeVersion;
15244
15293
  AshraeVersion["V2022"] = "V2022";
15245
15294
  })(AshraeVersion || (AshraeVersion = {}));
15246
15295
 
15296
+ /**
15297
+ * RenewAire CORES API
15298
+ *
15299
+ * Contact: renewaire@saritasa.com
15300
+ *
15301
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15302
+ * https://openapi-generator.tech
15303
+ * Do not edit the class manually.
15304
+ */
15305
+
15247
15306
  /**
15248
15307
  * RenewAire CORES API
15249
15308
  *