@saritasa/renewaire-frontend-sdk 0.366.0 → 0.367.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.366.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.367.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.366.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.367.0 --save
5
5
  ```
@@ -14439,6 +14439,108 @@ class UsersManagementApiService extends BaseService {
14439
14439
  reportProgress: reportProgress,
14440
14440
  });
14441
14441
  }
14442
+ usersManagementRequestCompanyChange(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 usersManagementRequestCompanyChange.");
14446
+ }
14447
+ const userUpdateRequestDto = requestParameters?.userUpdateRequestDto;
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/company-change`;
14481
+ const { basePath, withCredentials } = this.configuration;
14482
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
14483
+ context: localVarHttpContext,
14484
+ body: userUpdateRequestDto,
14485
+ responseType: responseType_,
14486
+ ...(withCredentials ? { withCredentials } : {}),
14487
+ headers: localVarHeaders,
14488
+ observe: observe,
14489
+ transferCache: localVarTransferCache,
14490
+ reportProgress: reportProgress,
14491
+ });
14492
+ }
14493
+ usersManagementRequestEmailChange(requestParameters, observe = "body", reportProgress = false, options) {
14494
+ const userId = requestParameters?.userId;
14495
+ if (userId === null || userId === undefined) {
14496
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementRequestEmailChange.");
14497
+ }
14498
+ const userUpdateRequestDto = requestParameters?.userUpdateRequestDto;
14499
+ let localVarHeaders = this.defaultHeaders;
14500
+ // authentication (Bearer) required
14501
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
14502
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
14503
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
14504
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
14505
+ }
14506
+ const localVarHttpContext = options?.context ?? new HttpContext();
14507
+ const localVarTransferCache = options?.transferCache ?? true;
14508
+ // to determine the Content-Type header
14509
+ const consumes = [
14510
+ "application/json-patch+json",
14511
+ "application/json",
14512
+ "text/json",
14513
+ "application/*+json",
14514
+ ];
14515
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
14516
+ if (httpContentTypeSelected !== undefined) {
14517
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
14518
+ }
14519
+ let responseType_ = "json";
14520
+ if (localVarHttpHeaderAcceptSelected) {
14521
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
14522
+ responseType_ = "text";
14523
+ }
14524
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
14525
+ responseType_ = "json";
14526
+ }
14527
+ else {
14528
+ responseType_ = "blob";
14529
+ }
14530
+ }
14531
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/request/email-change`;
14532
+ const { basePath, withCredentials } = this.configuration;
14533
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
14534
+ context: localVarHttpContext,
14535
+ body: userUpdateRequestDto,
14536
+ responseType: responseType_,
14537
+ ...(withCredentials ? { withCredentials } : {}),
14538
+ headers: localVarHeaders,
14539
+ observe: observe,
14540
+ transferCache: localVarTransferCache,
14541
+ reportProgress: reportProgress,
14542
+ });
14543
+ }
14442
14544
  usersManagementRequestProfileUpdate(requestParameters, observe = "body", reportProgress = false, options) {
14443
14545
  const userId = requestParameters?.userId;
14444
14546
  if (userId === null || userId === undefined) {
@@ -14490,6 +14592,57 @@ class UsersManagementApiService extends BaseService {
14490
14592
  reportProgress: reportProgress,
14491
14593
  });
14492
14594
  }
14595
+ usersManagementRequestRepChange(requestParameters, observe = "body", reportProgress = false, options) {
14596
+ const userId = requestParameters?.userId;
14597
+ if (userId === null || userId === undefined) {
14598
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementRequestRepChange.");
14599
+ }
14600
+ const userUpdateRequestDto = requestParameters?.userUpdateRequestDto;
14601
+ let localVarHeaders = this.defaultHeaders;
14602
+ // authentication (Bearer) required
14603
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
14604
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
14605
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
14606
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
14607
+ }
14608
+ const localVarHttpContext = options?.context ?? new HttpContext();
14609
+ const localVarTransferCache = options?.transferCache ?? true;
14610
+ // to determine the Content-Type header
14611
+ const consumes = [
14612
+ "application/json-patch+json",
14613
+ "application/json",
14614
+ "text/json",
14615
+ "application/*+json",
14616
+ ];
14617
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
14618
+ if (httpContentTypeSelected !== undefined) {
14619
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
14620
+ }
14621
+ let responseType_ = "json";
14622
+ if (localVarHttpHeaderAcceptSelected) {
14623
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
14624
+ responseType_ = "text";
14625
+ }
14626
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
14627
+ responseType_ = "json";
14628
+ }
14629
+ else {
14630
+ responseType_ = "blob";
14631
+ }
14632
+ }
14633
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/request/rep-change`;
14634
+ const { basePath, withCredentials } = this.configuration;
14635
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
14636
+ context: localVarHttpContext,
14637
+ body: userUpdateRequestDto,
14638
+ responseType: responseType_,
14639
+ ...(withCredentials ? { withCredentials } : {}),
14640
+ headers: localVarHeaders,
14641
+ observe: observe,
14642
+ transferCache: localVarTransferCache,
14643
+ reportProgress: reportProgress,
14644
+ });
14645
+ }
14493
14646
  usersManagementSearchUsers(requestParameters, observe = "body", reportProgress = false, options) {
14494
14647
  const fields = requestParameters?.fields;
14495
14648
  if (fields === null || fields === undefined) {
@@ -16148,12 +16301,13 @@ var ProjectDiscountType;
16148
16301
  * Do not edit the class manually.
16149
16302
  */
16150
16303
  /**
16151
- * Project download file types.<br />ProjectDownloadFileType<br />0 = ProjectSummary<br />1 = Schedule
16304
+ * Project download file types.<br />ProjectDownloadFileType<br />0 = ProjectSummary<br />1 = Schedule<br />2 = ExportLines
16152
16305
  */
16153
16306
  var ProjectDownloadFileType;
16154
16307
  (function (ProjectDownloadFileType) {
16155
16308
  ProjectDownloadFileType["ProjectSummary"] = "ProjectSummary";
16156
16309
  ProjectDownloadFileType["Schedule"] = "Schedule";
16310
+ ProjectDownloadFileType["ExportLines"] = "ExportLines";
16157
16311
  })(ProjectDownloadFileType || (ProjectDownloadFileType = {}));
16158
16312
 
16159
16313
  /**