@saritasa/renewaire-frontend-sdk 0.421.0 → 0.422.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.421.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.422.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.421.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.422.0 --save
5
5
  ```
@@ -6119,6 +6119,62 @@ class PricingApiService extends BaseService {
6119
6119
  super(basePath, configuration);
6120
6120
  this.httpClient = httpClient;
6121
6121
  }
6122
+ projectPricingCalculateLinePrice(requestParameters, observe = "body", reportProgress = false, options) {
6123
+ const lineId = requestParameters?.lineId;
6124
+ if (lineId === null || lineId === undefined) {
6125
+ throw new Error("Required parameter lineId was null or undefined when calling projectPricingCalculateLinePrice.");
6126
+ }
6127
+ const calculateLinePriceDto = requestParameters?.calculateLinePriceDto;
6128
+ let localVarHeaders = this.defaultHeaders;
6129
+ // authentication (Bearer) required
6130
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6131
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
6132
+ this.configuration.selectHeaderAccept([
6133
+ "text/plain",
6134
+ "application/json",
6135
+ "text/json",
6136
+ ]);
6137
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6138
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6139
+ }
6140
+ const localVarHttpContext = options?.context ?? new HttpContext();
6141
+ const localVarTransferCache = options?.transferCache ?? true;
6142
+ // to determine the Content-Type header
6143
+ const consumes = [
6144
+ "application/json-patch+json",
6145
+ "application/json",
6146
+ "text/json",
6147
+ "application/*+json",
6148
+ ];
6149
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6150
+ if (httpContentTypeSelected !== undefined) {
6151
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
6152
+ }
6153
+ let responseType_ = "json";
6154
+ if (localVarHttpHeaderAcceptSelected) {
6155
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6156
+ responseType_ = "text";
6157
+ }
6158
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6159
+ responseType_ = "json";
6160
+ }
6161
+ else {
6162
+ responseType_ = "blob";
6163
+ }
6164
+ }
6165
+ let localVarPath = `/api/pricing/line/${this.configuration.encodeParam({ name: "lineId", value: lineId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
6166
+ const { basePath, withCredentials } = this.configuration;
6167
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
6168
+ context: localVarHttpContext,
6169
+ body: calculateLinePriceDto,
6170
+ responseType: responseType_,
6171
+ ...(withCredentials ? { withCredentials } : {}),
6172
+ headers: localVarHeaders,
6173
+ observe: observe,
6174
+ transferCache: localVarTransferCache,
6175
+ reportProgress: reportProgress,
6176
+ });
6177
+ }
6122
6178
  projectPricingCalculatePriceSources(requestParameters, observe = "body", reportProgress = false, options) {
6123
6179
  const calculatePricesDto = requestParameters?.calculatePricesDto;
6124
6180
  let localVarHeaders = this.defaultHeaders;
@@ -15548,6 +15604,158 @@ class UsersManagementApiService extends BaseService {
15548
15604
  reportProgress: reportProgress,
15549
15605
  });
15550
15606
  }
15607
+ usersManagementNotifyAccountActivated(requestParameters, observe = "body", reportProgress = false, options) {
15608
+ const userId = requestParameters?.userId;
15609
+ if (userId === null || userId === undefined) {
15610
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementNotifyAccountActivated.");
15611
+ }
15612
+ let localVarHeaders = this.defaultHeaders;
15613
+ // authentication (Bearer) required
15614
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
15615
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
15616
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
15617
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
15618
+ }
15619
+ const localVarHttpContext = options?.context ?? new HttpContext();
15620
+ const localVarTransferCache = options?.transferCache ?? true;
15621
+ let responseType_ = "json";
15622
+ if (localVarHttpHeaderAcceptSelected) {
15623
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
15624
+ responseType_ = "text";
15625
+ }
15626
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
15627
+ responseType_ = "json";
15628
+ }
15629
+ else {
15630
+ responseType_ = "blob";
15631
+ }
15632
+ }
15633
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/notify/account-activated`;
15634
+ const { basePath, withCredentials } = this.configuration;
15635
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
15636
+ context: localVarHttpContext,
15637
+ responseType: responseType_,
15638
+ ...(withCredentials ? { withCredentials } : {}),
15639
+ headers: localVarHeaders,
15640
+ observe: observe,
15641
+ transferCache: localVarTransferCache,
15642
+ reportProgress: reportProgress,
15643
+ });
15644
+ }
15645
+ usersManagementNotifyAccountUpgraded(requestParameters, observe = "body", reportProgress = false, options) {
15646
+ const userId = requestParameters?.userId;
15647
+ if (userId === null || userId === undefined) {
15648
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementNotifyAccountUpgraded.");
15649
+ }
15650
+ let localVarHeaders = this.defaultHeaders;
15651
+ // authentication (Bearer) required
15652
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
15653
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
15654
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
15655
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
15656
+ }
15657
+ const localVarHttpContext = options?.context ?? new HttpContext();
15658
+ const localVarTransferCache = options?.transferCache ?? true;
15659
+ let responseType_ = "json";
15660
+ if (localVarHttpHeaderAcceptSelected) {
15661
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
15662
+ responseType_ = "text";
15663
+ }
15664
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
15665
+ responseType_ = "json";
15666
+ }
15667
+ else {
15668
+ responseType_ = "blob";
15669
+ }
15670
+ }
15671
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/notify/account-upgraded`;
15672
+ const { basePath, withCredentials } = this.configuration;
15673
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
15674
+ context: localVarHttpContext,
15675
+ responseType: responseType_,
15676
+ ...(withCredentials ? { withCredentials } : {}),
15677
+ headers: localVarHeaders,
15678
+ observe: observe,
15679
+ transferCache: localVarTransferCache,
15680
+ reportProgress: reportProgress,
15681
+ });
15682
+ }
15683
+ usersManagementNotifySendPasswordReset(requestParameters, observe = "body", reportProgress = false, options) {
15684
+ const userId = requestParameters?.userId;
15685
+ if (userId === null || userId === undefined) {
15686
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementNotifySendPasswordReset.");
15687
+ }
15688
+ let localVarHeaders = this.defaultHeaders;
15689
+ // authentication (Bearer) required
15690
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
15691
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
15692
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
15693
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
15694
+ }
15695
+ const localVarHttpContext = options?.context ?? new HttpContext();
15696
+ const localVarTransferCache = options?.transferCache ?? true;
15697
+ let responseType_ = "json";
15698
+ if (localVarHttpHeaderAcceptSelected) {
15699
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
15700
+ responseType_ = "text";
15701
+ }
15702
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
15703
+ responseType_ = "json";
15704
+ }
15705
+ else {
15706
+ responseType_ = "blob";
15707
+ }
15708
+ }
15709
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/notify/password-reset`;
15710
+ const { basePath, withCredentials } = this.configuration;
15711
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
15712
+ context: localVarHttpContext,
15713
+ responseType: responseType_,
15714
+ ...(withCredentials ? { withCredentials } : {}),
15715
+ headers: localVarHeaders,
15716
+ observe: observe,
15717
+ transferCache: localVarTransferCache,
15718
+ reportProgress: reportProgress,
15719
+ });
15720
+ }
15721
+ usersManagementNotifySendUsername(requestParameters, observe = "body", reportProgress = false, options) {
15722
+ const userId = requestParameters?.userId;
15723
+ if (userId === null || userId === undefined) {
15724
+ throw new Error("Required parameter userId was null or undefined when calling usersManagementNotifySendUsername.");
15725
+ }
15726
+ let localVarHeaders = this.defaultHeaders;
15727
+ // authentication (Bearer) required
15728
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
15729
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
15730
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
15731
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
15732
+ }
15733
+ const localVarHttpContext = options?.context ?? new HttpContext();
15734
+ const localVarTransferCache = options?.transferCache ?? true;
15735
+ let responseType_ = "json";
15736
+ if (localVarHttpHeaderAcceptSelected) {
15737
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
15738
+ responseType_ = "text";
15739
+ }
15740
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
15741
+ responseType_ = "json";
15742
+ }
15743
+ else {
15744
+ responseType_ = "blob";
15745
+ }
15746
+ }
15747
+ let localVarPath = `/api/users/management/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/notify/username`;
15748
+ const { basePath, withCredentials } = this.configuration;
15749
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
15750
+ context: localVarHttpContext,
15751
+ responseType: responseType_,
15752
+ ...(withCredentials ? { withCredentials } : {}),
15753
+ headers: localVarHeaders,
15754
+ observe: observe,
15755
+ transferCache: localVarTransferCache,
15756
+ reportProgress: reportProgress,
15757
+ });
15758
+ }
15551
15759
  usersManagementRequestCompanyChange(requestParameters, observe = "body", reportProgress = false, options) {
15552
15760
  const userId = requestParameters?.userId;
15553
15761
  if (userId === null || userId === undefined) {
@@ -16302,6 +16510,26 @@ var AddressCountry;
16302
16510
  * Do not edit the class manually.
16303
16511
  */
16304
16512
 
16513
+ /**
16514
+ * RenewAire CORES API
16515
+ *
16516
+ * Contact: renewaire@saritasa.com
16517
+ *
16518
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16519
+ * https://openapi-generator.tech
16520
+ * Do not edit the class manually.
16521
+ */
16522
+
16523
+ /**
16524
+ * RenewAire CORES API
16525
+ *
16526
+ * Contact: renewaire@saritasa.com
16527
+ *
16528
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16529
+ * https://openapi-generator.tech
16530
+ * Do not edit the class manually.
16531
+ */
16532
+
16305
16533
  /**
16306
16534
  * RenewAire CORES API
16307
16535
  *
@@ -17077,6 +17305,16 @@ var LineDownloadFileType;
17077
17305
  * Do not edit the class manually.
17078
17306
  */
17079
17307
 
17308
+ /**
17309
+ * RenewAire CORES API
17310
+ *
17311
+ * Contact: renewaire@saritasa.com
17312
+ *
17313
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17314
+ * https://openapi-generator.tech
17315
+ * Do not edit the class manually.
17316
+ */
17317
+
17080
17318
  /**
17081
17319
  * RenewAire CORES API
17082
17320
  *
@@ -17577,7 +17815,7 @@ var ProjectDiscountStatus;
17577
17815
  * Do not edit the class manually.
17578
17816
  */
17579
17817
  /**
17580
- * Discount type.<br />ProjectDiscountType<br />0 = Internal<br />1 = PriceProtection<br />2 = Marketing<br />3 = Rep<br />4 = QS
17818
+ * Discount type.<br />ProjectDiscountType<br />0 = Internal (Internal discount)<br />1 = PriceProtection (Price protection discount)<br />2 = Marketing (Marketing discount)<br />3 = Rep (REP discount)<br />4 = QS (Project qualified specification discount)
17581
17819
  */
17582
17820
  var ProjectDiscountType;
17583
17821
  (function (ProjectDiscountType) {
@@ -18472,6 +18710,16 @@ var RepDataSource;
18472
18710
  * Do not edit the class manually.
18473
18711
  */
18474
18712
 
18713
+ /**
18714
+ * RenewAire CORES API
18715
+ *
18716
+ * Contact: renewaire@saritasa.com
18717
+ *
18718
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18719
+ * https://openapi-generator.tech
18720
+ * Do not edit the class manually.
18721
+ */
18722
+
18475
18723
  /**
18476
18724
  * RenewAire CORES API
18477
18725
  *