@saritasa/renewaire-frontend-sdk 0.282.0 → 0.284.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
|
@@ -5791,6 +5791,57 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5791
5791
|
reportProgress: reportProgress,
|
|
5792
5792
|
});
|
|
5793
5793
|
}
|
|
5794
|
+
projectLinesRemoveCustomization(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5795
|
+
const projectLineId = requestParameters?.projectLineId;
|
|
5796
|
+
if (projectLineId === null || projectLineId === undefined) {
|
|
5797
|
+
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesRemoveCustomization.");
|
|
5798
|
+
}
|
|
5799
|
+
const removeLineCustomizationDto = requestParameters?.removeLineCustomizationDto;
|
|
5800
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5801
|
+
// authentication (Bearer) required
|
|
5802
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
5803
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5804
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5805
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
5806
|
+
}
|
|
5807
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5808
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5809
|
+
// to determine the Content-Type header
|
|
5810
|
+
const consumes = [
|
|
5811
|
+
"application/json-patch+json",
|
|
5812
|
+
"application/json",
|
|
5813
|
+
"text/json",
|
|
5814
|
+
"application/*+json",
|
|
5815
|
+
];
|
|
5816
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5817
|
+
if (httpContentTypeSelected !== undefined) {
|
|
5818
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
5819
|
+
}
|
|
5820
|
+
let responseType_ = "json";
|
|
5821
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5822
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
5823
|
+
responseType_ = "text";
|
|
5824
|
+
}
|
|
5825
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5826
|
+
responseType_ = "json";
|
|
5827
|
+
}
|
|
5828
|
+
else {
|
|
5829
|
+
responseType_ = "blob";
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5832
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/customizations`;
|
|
5833
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5834
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
5835
|
+
context: localVarHttpContext,
|
|
5836
|
+
body: removeLineCustomizationDto,
|
|
5837
|
+
responseType: responseType_,
|
|
5838
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5839
|
+
headers: localVarHeaders,
|
|
5840
|
+
observe: observe,
|
|
5841
|
+
transferCache: localVarTransferCache,
|
|
5842
|
+
reportProgress: reportProgress,
|
|
5843
|
+
});
|
|
5844
|
+
}
|
|
5794
5845
|
projectLinesRequestCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5795
5846
|
const projectLineId = requestParameters?.projectLineId;
|
|
5796
5847
|
if (projectLineId === null || projectLineId === undefined) {
|
|
@@ -15088,6 +15139,16 @@ var RegistrationStatus;
|
|
|
15088
15139
|
* Do not edit the class manually.
|
|
15089
15140
|
*/
|
|
15090
15141
|
|
|
15142
|
+
/**
|
|
15143
|
+
* RenewAire CORES API
|
|
15144
|
+
*
|
|
15145
|
+
* Contact: renewaire@saritasa.com
|
|
15146
|
+
*
|
|
15147
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15148
|
+
* https://openapi-generator.tech
|
|
15149
|
+
* Do not edit the class manually.
|
|
15150
|
+
*/
|
|
15151
|
+
|
|
15091
15152
|
/**
|
|
15092
15153
|
* RenewAire CORES API
|
|
15093
15154
|
*
|