@saritasa/renewaire-frontend-sdk 0.135.0 → 0.136.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
|
@@ -3008,7 +3008,12 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
3008
3008
|
let localVarHeaders = this.defaultHeaders;
|
|
3009
3009
|
// authentication (Bearer) required
|
|
3010
3010
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3011
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3011
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3012
|
+
this.configuration.selectHeaderAccept([
|
|
3013
|
+
"text/plain",
|
|
3014
|
+
"application/json",
|
|
3015
|
+
"text/json",
|
|
3016
|
+
]);
|
|
3012
3017
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3013
3018
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3014
3019
|
}
|
|
@@ -3218,6 +3223,57 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
3218
3223
|
reportProgress: reportProgress,
|
|
3219
3224
|
});
|
|
3220
3225
|
}
|
|
3226
|
+
projectRevisionsUpdateRevision(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3227
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
3228
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
3229
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectRevisionsUpdateRevision.");
|
|
3230
|
+
}
|
|
3231
|
+
const saveProjectRevisionDto = requestParameters?.saveProjectRevisionDto;
|
|
3232
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3233
|
+
// authentication (Bearer) required
|
|
3234
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3235
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3236
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3237
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3238
|
+
}
|
|
3239
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3240
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3241
|
+
// to determine the Content-Type header
|
|
3242
|
+
const consumes = [
|
|
3243
|
+
"application/json-patch+json",
|
|
3244
|
+
"application/json",
|
|
3245
|
+
"text/json",
|
|
3246
|
+
"application/*+json",
|
|
3247
|
+
];
|
|
3248
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3249
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3250
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3251
|
+
}
|
|
3252
|
+
let responseType_ = "json";
|
|
3253
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3254
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3255
|
+
responseType_ = "text";
|
|
3256
|
+
}
|
|
3257
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3258
|
+
responseType_ = "json";
|
|
3259
|
+
}
|
|
3260
|
+
else {
|
|
3261
|
+
responseType_ = "blob";
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
3265
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3266
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
3267
|
+
context: localVarHttpContext,
|
|
3268
|
+
body: saveProjectRevisionDto,
|
|
3269
|
+
responseType: responseType_,
|
|
3270
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3271
|
+
headers: localVarHeaders,
|
|
3272
|
+
observe: observe,
|
|
3273
|
+
transferCache: localVarTransferCache,
|
|
3274
|
+
reportProgress: reportProgress,
|
|
3275
|
+
});
|
|
3276
|
+
}
|
|
3221
3277
|
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
3278
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: ProjectRevisionsApiService, providedIn: "root" });
|
|
3223
3279
|
}
|
|
@@ -9009,16 +9065,6 @@ var CoolingDesignBasis;
|
|
|
9009
9065
|
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
9010
9066
|
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
9011
9067
|
|
|
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
9068
|
/**
|
|
9023
9069
|
* RenewAire CORES API
|
|
9024
9070
|
*
|
|
@@ -9483,6 +9529,16 @@ var ProjectNoteType;
|
|
|
9483
9529
|
ProjectNoteType["SalesChannel"] = "SalesChannel";
|
|
9484
9530
|
})(ProjectNoteType || (ProjectNoteType = {}));
|
|
9485
9531
|
|
|
9532
|
+
/**
|
|
9533
|
+
* RenewAire CORES API
|
|
9534
|
+
*
|
|
9535
|
+
* Contact: renewaire@saritasa.com
|
|
9536
|
+
*
|
|
9537
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9538
|
+
* https://openapi-generator.tech
|
|
9539
|
+
* Do not edit the class manually.
|
|
9540
|
+
*/
|
|
9541
|
+
|
|
9486
9542
|
/**
|
|
9487
9543
|
* RenewAire CORES API
|
|
9488
9544
|
*
|
|
@@ -9827,6 +9883,16 @@ var RegistrationStatus;
|
|
|
9827
9883
|
* Do not edit the class manually.
|
|
9828
9884
|
*/
|
|
9829
9885
|
|
|
9886
|
+
/**
|
|
9887
|
+
* RenewAire CORES API
|
|
9888
|
+
*
|
|
9889
|
+
* Contact: renewaire@saritasa.com
|
|
9890
|
+
*
|
|
9891
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9892
|
+
* https://openapi-generator.tech
|
|
9893
|
+
* Do not edit the class manually.
|
|
9894
|
+
*/
|
|
9895
|
+
|
|
9830
9896
|
/**
|
|
9831
9897
|
* RenewAire CORES API
|
|
9832
9898
|
*
|