@saritasa/renewaire-frontend-sdk 0.320.2 → 0.322.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
|
@@ -6076,6 +6076,44 @@ class ProjectLinesApiService extends BaseService {
|
|
|
6076
6076
|
reportProgress: reportProgress,
|
|
6077
6077
|
});
|
|
6078
6078
|
}
|
|
6079
|
+
projectLinesRemoveProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6080
|
+
const projectLineId = requestParameters?.projectLineId;
|
|
6081
|
+
if (projectLineId === null || projectLineId === undefined) {
|
|
6082
|
+
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesRemoveProjectLine.");
|
|
6083
|
+
}
|
|
6084
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6085
|
+
// authentication (Bearer) required
|
|
6086
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6087
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6088
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6089
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6090
|
+
}
|
|
6091
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6092
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6093
|
+
let responseType_ = "json";
|
|
6094
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6095
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6096
|
+
responseType_ = "text";
|
|
6097
|
+
}
|
|
6098
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6099
|
+
responseType_ = "json";
|
|
6100
|
+
}
|
|
6101
|
+
else {
|
|
6102
|
+
responseType_ = "blob";
|
|
6103
|
+
}
|
|
6104
|
+
}
|
|
6105
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
6106
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6107
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
6108
|
+
context: localVarHttpContext,
|
|
6109
|
+
responseType: responseType_,
|
|
6110
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6111
|
+
headers: localVarHeaders,
|
|
6112
|
+
observe: observe,
|
|
6113
|
+
transferCache: localVarTransferCache,
|
|
6114
|
+
reportProgress: reportProgress,
|
|
6115
|
+
});
|
|
6116
|
+
}
|
|
6079
6117
|
projectLinesRequestCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6080
6118
|
const projectLineId = requestParameters?.projectLineId;
|
|
6081
6119
|
if (projectLineId === null || projectLineId === undefined) {
|