@saritasa/renewaire-frontend-sdk 0.135.0 → 0.137.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
|
@@ -1606,8 +1606,11 @@ class LeadTimesApiService extends BaseService {
|
|
|
1606
1606
|
super(basePath, configuration);
|
|
1607
1607
|
this.httpClient = httpClient;
|
|
1608
1608
|
}
|
|
1609
|
-
|
|
1610
|
-
const
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
1701
|
-
const
|
|
1702
|
-
if (
|
|
1703
|
-
throw new Error("Required parameter
|
|
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
|
|
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: "
|
|
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:
|
|
1746
|
+
body: saveLeadTimesTableDto,
|
|
1743
1747
|
responseType: responseType_,
|
|
1744
1748
|
...(withCredentials ? { withCredentials } : {}),
|
|
1745
1749
|
headers: localVarHeaders,
|
|
@@ -3008,7 +3012,12 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
3008
3012
|
let localVarHeaders = this.defaultHeaders;
|
|
3009
3013
|
// authentication (Bearer) required
|
|
3010
3014
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3011
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3015
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3016
|
+
this.configuration.selectHeaderAccept([
|
|
3017
|
+
"text/plain",
|
|
3018
|
+
"application/json",
|
|
3019
|
+
"text/json",
|
|
3020
|
+
]);
|
|
3012
3021
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3013
3022
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3014
3023
|
}
|
|
@@ -3218,6 +3227,57 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
3218
3227
|
reportProgress: reportProgress,
|
|
3219
3228
|
});
|
|
3220
3229
|
}
|
|
3230
|
+
projectRevisionsUpdateRevision(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3231
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
3232
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
3233
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectRevisionsUpdateRevision.");
|
|
3234
|
+
}
|
|
3235
|
+
const saveProjectRevisionDto = requestParameters?.saveProjectRevisionDto;
|
|
3236
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3237
|
+
// authentication (Bearer) required
|
|
3238
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3239
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3240
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3241
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3242
|
+
}
|
|
3243
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3244
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3245
|
+
// to determine the Content-Type header
|
|
3246
|
+
const consumes = [
|
|
3247
|
+
"application/json-patch+json",
|
|
3248
|
+
"application/json",
|
|
3249
|
+
"text/json",
|
|
3250
|
+
"application/*+json",
|
|
3251
|
+
];
|
|
3252
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3253
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3254
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3255
|
+
}
|
|
3256
|
+
let responseType_ = "json";
|
|
3257
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3258
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3259
|
+
responseType_ = "text";
|
|
3260
|
+
}
|
|
3261
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3262
|
+
responseType_ = "json";
|
|
3263
|
+
}
|
|
3264
|
+
else {
|
|
3265
|
+
responseType_ = "blob";
|
|
3266
|
+
}
|
|
3267
|
+
}
|
|
3268
|
+
let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
3269
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3270
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
3271
|
+
context: localVarHttpContext,
|
|
3272
|
+
body: saveProjectRevisionDto,
|
|
3273
|
+
responseType: responseType_,
|
|
3274
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3275
|
+
headers: localVarHeaders,
|
|
3276
|
+
observe: observe,
|
|
3277
|
+
transferCache: localVarTransferCache,
|
|
3278
|
+
reportProgress: reportProgress,
|
|
3279
|
+
});
|
|
3280
|
+
}
|
|
3221
3281
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: ProjectRevisionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3222
3282
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: ProjectRevisionsApiService, providedIn: "root" });
|
|
3223
3283
|
}
|
|
@@ -9009,16 +9069,6 @@ var CoolingDesignBasis;
|
|
|
9009
9069
|
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
9010
9070
|
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
9011
9071
|
|
|
9012
|
-
/**
|
|
9013
|
-
* RenewAire CORES API
|
|
9014
|
-
*
|
|
9015
|
-
* Contact: renewaire@saritasa.com
|
|
9016
|
-
*
|
|
9017
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9018
|
-
* https://openapi-generator.tech
|
|
9019
|
-
* Do not edit the class manually.
|
|
9020
|
-
*/
|
|
9021
|
-
|
|
9022
9072
|
/**
|
|
9023
9073
|
* RenewAire CORES API
|
|
9024
9074
|
*
|
|
@@ -9483,6 +9533,16 @@ var ProjectNoteType;
|
|
|
9483
9533
|
ProjectNoteType["SalesChannel"] = "SalesChannel";
|
|
9484
9534
|
})(ProjectNoteType || (ProjectNoteType = {}));
|
|
9485
9535
|
|
|
9536
|
+
/**
|
|
9537
|
+
* RenewAire CORES API
|
|
9538
|
+
*
|
|
9539
|
+
* Contact: renewaire@saritasa.com
|
|
9540
|
+
*
|
|
9541
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9542
|
+
* https://openapi-generator.tech
|
|
9543
|
+
* Do not edit the class manually.
|
|
9544
|
+
*/
|
|
9545
|
+
|
|
9486
9546
|
/**
|
|
9487
9547
|
* RenewAire CORES API
|
|
9488
9548
|
*
|
|
@@ -9827,6 +9887,16 @@ var RegistrationStatus;
|
|
|
9827
9887
|
* Do not edit the class manually.
|
|
9828
9888
|
*/
|
|
9829
9889
|
|
|
9890
|
+
/**
|
|
9891
|
+
* RenewAire CORES API
|
|
9892
|
+
*
|
|
9893
|
+
* Contact: renewaire@saritasa.com
|
|
9894
|
+
*
|
|
9895
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9896
|
+
* https://openapi-generator.tech
|
|
9897
|
+
* Do not edit the class manually.
|
|
9898
|
+
*/
|
|
9899
|
+
|
|
9830
9900
|
/**
|
|
9831
9901
|
* RenewAire CORES API
|
|
9832
9902
|
*
|