@saritasa/renewaire-frontend-sdk 0.160.1 → 0.162.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
|
@@ -4027,7 +4027,15 @@ class ProjectSoldToApiService extends BaseService {
|
|
|
4027
4027
|
this.httpClient = httpClient;
|
|
4028
4028
|
}
|
|
4029
4029
|
projectSoldToSearchSoldTo(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4030
|
-
const
|
|
4030
|
+
const name = requestParameters?.name;
|
|
4031
|
+
const orderBy = requestParameters?.orderBy;
|
|
4032
|
+
const page = requestParameters?.page;
|
|
4033
|
+
const pageSize = requestParameters?.pageSize;
|
|
4034
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4035
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
4036
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
4037
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
4038
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
4031
4039
|
let localVarHeaders = this.defaultHeaders;
|
|
4032
4040
|
// authentication (Bearer) required
|
|
4033
4041
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -4042,17 +4050,6 @@ class ProjectSoldToApiService extends BaseService {
|
|
|
4042
4050
|
}
|
|
4043
4051
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4044
4052
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
4045
|
-
// to determine the Content-Type header
|
|
4046
|
-
const consumes = [
|
|
4047
|
-
"application/json-patch+json",
|
|
4048
|
-
"application/json",
|
|
4049
|
-
"text/json",
|
|
4050
|
-
"application/*+json",
|
|
4051
|
-
];
|
|
4052
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4053
|
-
if (httpContentTypeSelected !== undefined) {
|
|
4054
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4055
|
-
}
|
|
4056
4053
|
let responseType_ = "json";
|
|
4057
4054
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4058
4055
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -4069,7 +4066,7 @@ class ProjectSoldToApiService extends BaseService {
|
|
|
4069
4066
|
const { basePath, withCredentials } = this.configuration;
|
|
4070
4067
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
4071
4068
|
context: localVarHttpContext,
|
|
4072
|
-
|
|
4069
|
+
params: localVarQueryParameters,
|
|
4073
4070
|
responseType: responseType_,
|
|
4074
4071
|
...(withCredentials ? { withCredentials } : {}),
|
|
4075
4072
|
headers: localVarHeaders,
|
|
@@ -4532,6 +4529,49 @@ class ProjectsApiService extends BaseService {
|
|
|
4532
4529
|
reportProgress: reportProgress,
|
|
4533
4530
|
});
|
|
4534
4531
|
}
|
|
4532
|
+
projectsDuplicateProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4533
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
4534
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
4535
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsDuplicateProject.");
|
|
4536
|
+
}
|
|
4537
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4538
|
+
// authentication (Bearer) required
|
|
4539
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4540
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4541
|
+
this.configuration.selectHeaderAccept([
|
|
4542
|
+
"text/plain",
|
|
4543
|
+
"application/json",
|
|
4544
|
+
"text/json",
|
|
4545
|
+
]);
|
|
4546
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4547
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4548
|
+
}
|
|
4549
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4550
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4551
|
+
let responseType_ = "json";
|
|
4552
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4553
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4554
|
+
responseType_ = "text";
|
|
4555
|
+
}
|
|
4556
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4557
|
+
responseType_ = "json";
|
|
4558
|
+
}
|
|
4559
|
+
else {
|
|
4560
|
+
responseType_ = "blob";
|
|
4561
|
+
}
|
|
4562
|
+
}
|
|
4563
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
|
|
4564
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4565
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4566
|
+
context: localVarHttpContext,
|
|
4567
|
+
responseType: responseType_,
|
|
4568
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4569
|
+
headers: localVarHeaders,
|
|
4570
|
+
observe: observe,
|
|
4571
|
+
transferCache: localVarTransferCache,
|
|
4572
|
+
reportProgress: reportProgress,
|
|
4573
|
+
});
|
|
4574
|
+
}
|
|
4535
4575
|
projectsExtendProjectEditMode(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4536
4576
|
const projectId = requestParameters?.projectId;
|
|
4537
4577
|
if (projectId === null || projectId === undefined) {
|
|
@@ -9764,6 +9804,16 @@ var DesignWeatherMode;
|
|
|
9764
9804
|
* Do not edit the class manually.
|
|
9765
9805
|
*/
|
|
9766
9806
|
|
|
9807
|
+
/**
|
|
9808
|
+
* RenewAire CORES API
|
|
9809
|
+
*
|
|
9810
|
+
* Contact: renewaire@saritasa.com
|
|
9811
|
+
*
|
|
9812
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9813
|
+
* https://openapi-generator.tech
|
|
9814
|
+
* Do not edit the class manually.
|
|
9815
|
+
*/
|
|
9816
|
+
|
|
9767
9817
|
/**
|
|
9768
9818
|
* RenewAire CORES API
|
|
9769
9819
|
*
|
|
@@ -10613,16 +10663,6 @@ var RegistrationStatus;
|
|
|
10613
10663
|
* Do not edit the class manually.
|
|
10614
10664
|
*/
|
|
10615
10665
|
|
|
10616
|
-
/**
|
|
10617
|
-
* RenewAire CORES API
|
|
10618
|
-
*
|
|
10619
|
-
* Contact: renewaire@saritasa.com
|
|
10620
|
-
*
|
|
10621
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10622
|
-
* https://openapi-generator.tech
|
|
10623
|
-
* Do not edit the class manually.
|
|
10624
|
-
*/
|
|
10625
|
-
|
|
10626
10666
|
/**
|
|
10627
10667
|
* RenewAire CORES API
|
|
10628
10668
|
*
|