@saritasa/renewaire-frontend-sdk 0.136.0 → 0.137.1

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.136.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.137.1
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.136.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.137.1 --save
5
5
  ```
@@ -1606,8 +1606,11 @@ class LeadTimesApiService extends BaseService {
1606
1606
  super(basePath, configuration);
1607
1607
  this.httpClient = httpClient;
1608
1608
  }
1609
- leadTimesCreateLeadTimeGroup(requestParameters, observe = "body", reportProgress = false, options) {
1610
- const createLeadTimeGroupDto = requestParameters?.createLeadTimeGroupDto;
1609
+ leadTimesCreateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
1610
+ const leadTimesTableType = requestParameters?.leadTimesTableType;
1611
+ const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
1612
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1613
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, leadTimesTableType, "leadTimesTableType");
1611
1614
  let localVarHeaders = this.defaultHeaders;
1612
1615
  // authentication (Bearer) required
1613
1616
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1649,7 +1652,8 @@ class LeadTimesApiService extends BaseService {
1649
1652
  const { basePath, withCredentials } = this.configuration;
1650
1653
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1651
1654
  context: localVarHttpContext,
1652
- body: createLeadTimeGroupDto,
1655
+ body: saveLeadTimesTableDto,
1656
+ params: localVarQueryParameters,
1653
1657
  responseType: responseType_,
1654
1658
  ...(withCredentials ? { withCredentials } : {}),
1655
1659
  headers: localVarHeaders,
@@ -1658,7 +1662,7 @@ class LeadTimesApiService extends BaseService {
1658
1662
  reportProgress: reportProgress,
1659
1663
  });
1660
1664
  }
1661
- leadTimesGetLeadTimeGroups(observe = "body", reportProgress = false, options) {
1665
+ leadTimesGetLeadTimTables(observe = "body", reportProgress = false, options) {
1662
1666
  let localVarHeaders = this.defaultHeaders;
1663
1667
  // authentication (Bearer) required
1664
1668
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1697,12 +1701,12 @@ class LeadTimesApiService extends BaseService {
1697
1701
  reportProgress: reportProgress,
1698
1702
  });
1699
1703
  }
1700
- leadTimesUpdateLeadTimeGroup(requestParameters, observe = "body", reportProgress = false, options) {
1701
- const leadTimeGroupId = requestParameters?.leadTimeGroupId;
1702
- if (leadTimeGroupId === null || leadTimeGroupId === undefined) {
1703
- throw new Error("Required parameter leadTimeGroupId was null or undefined when calling leadTimesUpdateLeadTimeGroup.");
1704
+ leadTimesUpdateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
1705
+ const leadTimesTableId = requestParameters?.leadTimesTableId;
1706
+ if (leadTimesTableId === null || leadTimesTableId === undefined) {
1707
+ throw new Error("Required parameter leadTimesTableId was null or undefined when calling leadTimesUpdateLeadTimesTable.");
1704
1708
  }
1705
- const updateLeadTimeGroupDto = requestParameters?.updateLeadTimeGroupDto;
1709
+ const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
1706
1710
  let localVarHeaders = this.defaultHeaders;
1707
1711
  // authentication (Bearer) required
1708
1712
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1735,11 +1739,11 @@ class LeadTimesApiService extends BaseService {
1735
1739
  responseType_ = "blob";
1736
1740
  }
1737
1741
  }
1738
- let localVarPath = `/api/lead-times/${this.configuration.encodeParam({ name: "leadTimeGroupId", value: leadTimeGroupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1742
+ let localVarPath = `/api/lead-times/${this.configuration.encodeParam({ name: "leadTimesTableId", value: leadTimesTableId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1739
1743
  const { basePath, withCredentials } = this.configuration;
1740
1744
  return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1741
1745
  context: localVarHttpContext,
1742
- body: updateLeadTimeGroupDto,
1746
+ body: saveLeadTimesTableDto,
1743
1747
  responseType: responseType_,
1744
1748
  ...(withCredentials ? { withCredentials } : {}),
1745
1749
  headers: localVarHeaders,