@saritasa/renewaire-frontend-sdk 0.225.0 → 0.227.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
|
@@ -6024,6 +6024,45 @@ class ProjectShippingApiService extends BaseService {
|
|
|
6024
6024
|
reportProgress: reportProgress,
|
|
6025
6025
|
});
|
|
6026
6026
|
}
|
|
6027
|
+
projectShippingRemoveShippingLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6028
|
+
const projectShippingLocationId = requestParameters?.projectShippingLocationId;
|
|
6029
|
+
if (projectShippingLocationId === null ||
|
|
6030
|
+
projectShippingLocationId === undefined) {
|
|
6031
|
+
throw new Error("Required parameter projectShippingLocationId was null or undefined when calling projectShippingRemoveShippingLocation.");
|
|
6032
|
+
}
|
|
6033
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6034
|
+
// authentication (Bearer) required
|
|
6035
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6036
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6037
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6038
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6039
|
+
}
|
|
6040
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6041
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6042
|
+
let responseType_ = "json";
|
|
6043
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6044
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6045
|
+
responseType_ = "text";
|
|
6046
|
+
}
|
|
6047
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6048
|
+
responseType_ = "json";
|
|
6049
|
+
}
|
|
6050
|
+
else {
|
|
6051
|
+
responseType_ = "blob";
|
|
6052
|
+
}
|
|
6053
|
+
}
|
|
6054
|
+
let localVarPath = `/api/project-shipping/${this.configuration.encodeParam({ name: "projectShippingLocationId", value: projectShippingLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
6055
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6056
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
6057
|
+
context: localVarHttpContext,
|
|
6058
|
+
responseType: responseType_,
|
|
6059
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6060
|
+
headers: localVarHeaders,
|
|
6061
|
+
observe: observe,
|
|
6062
|
+
transferCache: localVarTransferCache,
|
|
6063
|
+
reportProgress: reportProgress,
|
|
6064
|
+
});
|
|
6065
|
+
}
|
|
6027
6066
|
projectShippingSearchShipTo(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6028
6067
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6029
6068
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|