@saritasa/renewaire-frontend-sdk 0.286.0 → 0.287.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.286.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.287.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.286.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.287.0 --save
5
5
  ```
@@ -5671,7 +5671,7 @@ class ProjectLinesApiService extends BaseService {
5671
5671
  responseType_ = "blob";
5672
5672
  }
5673
5673
  }
5674
- let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/approve-customization`;
5674
+ let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/customizations/approve`;
5675
5675
  const { basePath, withCredentials } = this.configuration;
5676
5676
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5677
5677
  context: localVarHttpContext,
@@ -5829,7 +5829,7 @@ class ProjectLinesApiService extends BaseService {
5829
5829
  responseType_ = "blob";
5830
5830
  }
5831
5831
  }
5832
- let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/reject-customization`;
5832
+ let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/customizations/reject`;
5833
5833
  const { basePath, withCredentials } = this.configuration;
5834
5834
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5835
5835
  context: localVarHttpContext,
@@ -5842,57 +5842,6 @@ class ProjectLinesApiService extends BaseService {
5842
5842
  reportProgress: reportProgress,
5843
5843
  });
5844
5844
  }
5845
- projectLinesRemoveCustomization(requestParameters, observe = "body", reportProgress = false, options) {
5846
- const projectLineId = requestParameters?.projectLineId;
5847
- if (projectLineId === null || projectLineId === undefined) {
5848
- throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesRemoveCustomization.");
5849
- }
5850
- const removeLineCustomizationDto = requestParameters?.removeLineCustomizationDto;
5851
- let localVarHeaders = this.defaultHeaders;
5852
- // authentication (Bearer) required
5853
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
5854
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
5855
- if (localVarHttpHeaderAcceptSelected !== undefined) {
5856
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
5857
- }
5858
- const localVarHttpContext = options?.context ?? new HttpContext();
5859
- const localVarTransferCache = options?.transferCache ?? true;
5860
- // to determine the Content-Type header
5861
- const consumes = [
5862
- "application/json-patch+json",
5863
- "application/json",
5864
- "text/json",
5865
- "application/*+json",
5866
- ];
5867
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
5868
- if (httpContentTypeSelected !== undefined) {
5869
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
5870
- }
5871
- let responseType_ = "json";
5872
- if (localVarHttpHeaderAcceptSelected) {
5873
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
5874
- responseType_ = "text";
5875
- }
5876
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
5877
- responseType_ = "json";
5878
- }
5879
- else {
5880
- responseType_ = "blob";
5881
- }
5882
- }
5883
- let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/customizations`;
5884
- const { basePath, withCredentials } = this.configuration;
5885
- return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
5886
- context: localVarHttpContext,
5887
- body: removeLineCustomizationDto,
5888
- responseType: responseType_,
5889
- ...(withCredentials ? { withCredentials } : {}),
5890
- headers: localVarHeaders,
5891
- observe: observe,
5892
- transferCache: localVarTransferCache,
5893
- reportProgress: reportProgress,
5894
- });
5895
- }
5896
5845
  projectLinesRequestCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
5897
5846
  const projectLineId = requestParameters?.projectLineId;
5898
5847
  if (projectLineId === null || projectLineId === undefined) {
@@ -15200,16 +15149,6 @@ var RegistrationStatus;
15200
15149
  * Do not edit the class manually.
15201
15150
  */
15202
15151
 
15203
- /**
15204
- * RenewAire CORES API
15205
- *
15206
- * Contact: renewaire@saritasa.com
15207
- *
15208
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15209
- * https://openapi-generator.tech
15210
- * Do not edit the class manually.
15211
- */
15212
-
15213
15152
  /**
15214
15153
  * RenewAire CORES API
15215
15154
  *