@saritasa/renewaire-frontend-sdk 0.415.0 → 0.417.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.415.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.417.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.415.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.417.0 --save
5
5
  ```
@@ -7115,6 +7115,62 @@ class ProjectLinesApiService extends BaseService {
7115
7115
  reportProgress: reportProgress,
7116
7116
  });
7117
7117
  }
7118
+ projectLinesGetValidations(requestParameters, observe = "body", reportProgress = false, options) {
7119
+ const projectRevisionId = requestParameters?.projectRevisionId;
7120
+ if (projectRevisionId === null || projectRevisionId === undefined) {
7121
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectLinesGetValidations.");
7122
+ }
7123
+ const batchSaveLineDto = requestParameters?.batchSaveLineDto;
7124
+ let localVarHeaders = this.defaultHeaders;
7125
+ // authentication (Bearer) required
7126
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
7127
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
7128
+ this.configuration.selectHeaderAccept([
7129
+ "text/plain",
7130
+ "application/json",
7131
+ "text/json",
7132
+ ]);
7133
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
7134
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
7135
+ }
7136
+ const localVarHttpContext = options?.context ?? new HttpContext();
7137
+ const localVarTransferCache = options?.transferCache ?? true;
7138
+ // to determine the Content-Type header
7139
+ const consumes = [
7140
+ "application/json-patch+json",
7141
+ "application/json",
7142
+ "text/json",
7143
+ "application/*+json",
7144
+ ];
7145
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
7146
+ if (httpContentTypeSelected !== undefined) {
7147
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
7148
+ }
7149
+ let responseType_ = "json";
7150
+ if (localVarHttpHeaderAcceptSelected) {
7151
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
7152
+ responseType_ = "text";
7153
+ }
7154
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
7155
+ responseType_ = "json";
7156
+ }
7157
+ else {
7158
+ responseType_ = "blob";
7159
+ }
7160
+ }
7161
+ let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/get-validations`;
7162
+ const { basePath, withCredentials } = this.configuration;
7163
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7164
+ context: localVarHttpContext,
7165
+ body: batchSaveLineDto,
7166
+ responseType: responseType_,
7167
+ ...(withCredentials ? { withCredentials } : {}),
7168
+ headers: localVarHeaders,
7169
+ observe: observe,
7170
+ transferCache: localVarTransferCache,
7171
+ reportProgress: reportProgress,
7172
+ });
7173
+ }
7118
7174
  projectLinesQueryCoil(requestParameters, observe = "body", reportProgress = false, options) {
7119
7175
  const queryCoilDto = requestParameters?.queryCoilDto;
7120
7176
  let localVarHeaders = this.defaultHeaders;
@@ -17456,6 +17512,16 @@ var ProjectDownloadFileType;
17456
17512
  * Do not edit the class manually.
17457
17513
  */
17458
17514
 
17515
+ /**
17516
+ * RenewAire CORES API
17517
+ *
17518
+ * Contact: renewaire@saritasa.com
17519
+ *
17520
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17521
+ * https://openapi-generator.tech
17522
+ * Do not edit the class manually.
17523
+ */
17524
+
17459
17525
  /**
17460
17526
  * RenewAire CORES API
17461
17527
  *
@@ -17495,6 +17561,16 @@ var ProjectLineCustomizationStatus;
17495
17561
  * Do not edit the class manually.
17496
17562
  */
17497
17563
 
17564
+ /**
17565
+ * RenewAire CORES API
17566
+ *
17567
+ * Contact: renewaire@saritasa.com
17568
+ *
17569
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17570
+ * https://openapi-generator.tech
17571
+ * Do not edit the class manually.
17572
+ */
17573
+
17498
17574
  /**
17499
17575
  * RenewAire CORES API
17500
17576
  *