@saritasa/renewaire-frontend-sdk 0.166.0 → 0.167.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.166.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.167.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.166.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.167.0 --save
5
5
  ```
@@ -1718,8 +1718,6 @@ class LeadTimesApiService extends BaseService {
1718
1718
  }
1719
1719
  leadTimesGetLeadTimTables(observe = "body", reportProgress = false, options) {
1720
1720
  let localVarHeaders = this.defaultHeaders;
1721
- // authentication (Bearer) required
1722
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1723
1721
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1724
1722
  this.configuration.selectHeaderAccept([
1725
1723
  "text/plain",
@@ -4044,6 +4042,59 @@ class ProjectShippingApiService extends BaseService {
4044
4042
  reportProgress: reportProgress,
4045
4043
  });
4046
4044
  }
4045
+ projectShippingSearchShipTo(requestParameters, observe = "body", reportProgress = false, options) {
4046
+ const projectRevisionId = requestParameters?.projectRevisionId;
4047
+ if (projectRevisionId === null || projectRevisionId === undefined) {
4048
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectShippingSearchShipTo.");
4049
+ }
4050
+ const name = requestParameters?.name;
4051
+ const orderBy = requestParameters?.orderBy;
4052
+ const page = requestParameters?.page;
4053
+ const pageSize = requestParameters?.pageSize;
4054
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
4055
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
4056
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
4057
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
4058
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
4059
+ let localVarHeaders = this.defaultHeaders;
4060
+ // authentication (Bearer) required
4061
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
4062
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
4063
+ this.configuration.selectHeaderAccept([
4064
+ "text/plain",
4065
+ "application/json",
4066
+ "text/json",
4067
+ ]);
4068
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4069
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
4070
+ }
4071
+ const localVarHttpContext = options?.context ?? new HttpContext();
4072
+ const localVarTransferCache = options?.transferCache ?? true;
4073
+ let responseType_ = "json";
4074
+ if (localVarHttpHeaderAcceptSelected) {
4075
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
4076
+ responseType_ = "text";
4077
+ }
4078
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4079
+ responseType_ = "json";
4080
+ }
4081
+ else {
4082
+ responseType_ = "blob";
4083
+ }
4084
+ }
4085
+ let localVarPath = `/api/project-shipping/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/locations/csi/customers`;
4086
+ const { basePath, withCredentials } = this.configuration;
4087
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4088
+ context: localVarHttpContext,
4089
+ params: localVarQueryParameters,
4090
+ responseType: responseType_,
4091
+ ...(withCredentials ? { withCredentials } : {}),
4092
+ headers: localVarHeaders,
4093
+ observe: observe,
4094
+ transferCache: localVarTransferCache,
4095
+ reportProgress: reportProgress,
4096
+ });
4097
+ }
4047
4098
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectShippingApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4048
4099
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectShippingApiService, providedIn: "root" });
4049
4100
  }
@@ -4585,6 +4636,7 @@ class ProjectsApiService extends BaseService {
4585
4636
  if (projectRevisionId === null || projectRevisionId === undefined) {
4586
4637
  throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsDuplicateProject.");
4587
4638
  }
4639
+ const duplicateProjectRequest = requestParameters?.duplicateProjectRequest;
4588
4640
  let localVarHeaders = this.defaultHeaders;
4589
4641
  // authentication (Bearer) required
4590
4642
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -4599,6 +4651,17 @@ class ProjectsApiService extends BaseService {
4599
4651
  }
4600
4652
  const localVarHttpContext = options?.context ?? new HttpContext();
4601
4653
  const localVarTransferCache = options?.transferCache ?? true;
4654
+ // to determine the Content-Type header
4655
+ const consumes = [
4656
+ "application/json-patch+json",
4657
+ "application/json",
4658
+ "text/json",
4659
+ "application/*+json",
4660
+ ];
4661
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4662
+ if (httpContentTypeSelected !== undefined) {
4663
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
4664
+ }
4602
4665
  let responseType_ = "json";
4603
4666
  if (localVarHttpHeaderAcceptSelected) {
4604
4667
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -4615,6 +4678,7 @@ class ProjectsApiService extends BaseService {
4615
4678
  const { basePath, withCredentials } = this.configuration;
4616
4679
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4617
4680
  context: localVarHttpContext,
4681
+ body: duplicateProjectRequest,
4618
4682
  responseType: responseType_,
4619
4683
  ...(withCredentials ? { withCredentials } : {}),
4620
4684
  headers: localVarHeaders,
@@ -9838,6 +9902,16 @@ var CoolingDesignBasis;
9838
9902
  * Do not edit the class manually.
9839
9903
  */
9840
9904
 
9905
+ /**
9906
+ * RenewAire CORES API
9907
+ *
9908
+ * Contact: renewaire@saritasa.com
9909
+ *
9910
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9911
+ * https://openapi-generator.tech
9912
+ * Do not edit the class manually.
9913
+ */
9914
+
9841
9915
  /**
9842
9916
  * RenewAire CORES API
9843
9917
  *
@@ -9886,6 +9960,16 @@ var DesignWeatherMode;
9886
9960
  * Do not edit the class manually.
9887
9961
  */
9888
9962
 
9963
+ /**
9964
+ * RenewAire CORES API
9965
+ *
9966
+ * Contact: renewaire@saritasa.com
9967
+ *
9968
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9969
+ * https://openapi-generator.tech
9970
+ * Do not edit the class manually.
9971
+ */
9972
+
9889
9973
  /**
9890
9974
  * RenewAire CORES API
9891
9975
  *