@saritasa/renewaire-frontend-sdk 0.218.0 → 0.219.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.218.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.219.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.218.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.219.0 --save
5
5
  ```
@@ -4787,6 +4787,57 @@ class ProjectQualifiedSpecificationsApiService extends BaseService {
4787
4787
  reportProgress: reportProgress,
4788
4788
  });
4789
4789
  }
4790
+ projectQualifiedSpecificationProcessQualifiedSpecification(requestParameters, observe = "body", reportProgress = false, options) {
4791
+ const projectRevisionId = requestParameters?.projectRevisionId;
4792
+ if (projectRevisionId === null || projectRevisionId === undefined) {
4793
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQualifiedSpecificationProcessQualifiedSpecification.");
4794
+ }
4795
+ const processQualifiedSpecificationDto = requestParameters?.processQualifiedSpecificationDto;
4796
+ let localVarHeaders = this.defaultHeaders;
4797
+ // authentication (Bearer) required
4798
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
4799
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
4800
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4801
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
4802
+ }
4803
+ const localVarHttpContext = options?.context ?? new HttpContext();
4804
+ const localVarTransferCache = options?.transferCache ?? true;
4805
+ // to determine the Content-Type header
4806
+ const consumes = [
4807
+ "application/json-patch+json",
4808
+ "application/json",
4809
+ "text/json",
4810
+ "application/*+json",
4811
+ ];
4812
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4813
+ if (httpContentTypeSelected !== undefined) {
4814
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
4815
+ }
4816
+ let responseType_ = "json";
4817
+ if (localVarHttpHeaderAcceptSelected) {
4818
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
4819
+ responseType_ = "text";
4820
+ }
4821
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4822
+ responseType_ = "json";
4823
+ }
4824
+ else {
4825
+ responseType_ = "blob";
4826
+ }
4827
+ }
4828
+ let localVarPath = `/api/project-qualified-specifications/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/process`;
4829
+ const { basePath, withCredentials } = this.configuration;
4830
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4831
+ context: localVarHttpContext,
4832
+ body: processQualifiedSpecificationDto,
4833
+ responseType: responseType_,
4834
+ ...(withCredentials ? { withCredentials } : {}),
4835
+ headers: localVarHeaders,
4836
+ observe: observe,
4837
+ transferCache: localVarTransferCache,
4838
+ reportProgress: reportProgress,
4839
+ });
4840
+ }
4790
4841
  projectQualifiedSpecificationSubmitQualifiedSpecification(requestParameters, observe = "body", reportProgress = false, options) {
4791
4842
  const projectRevisionId = requestParameters?.projectRevisionId;
4792
4843
  if (projectRevisionId === null || projectRevisionId === undefined) {