@saritasa/renewaire-frontend-sdk 0.299.0 → 0.300.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
|
@@ -8388,6 +8388,57 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8388
8388
|
reportProgress: reportProgress,
|
|
8389
8389
|
});
|
|
8390
8390
|
}
|
|
8391
|
+
projectStatusesRequestOrderCancellation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
8392
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
8393
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
8394
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestOrderCancellation.");
|
|
8395
|
+
}
|
|
8396
|
+
const requestOrderCancellationCommand = requestParameters?.requestOrderCancellationCommand;
|
|
8397
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8398
|
+
// authentication (Bearer) required
|
|
8399
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
8400
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
8401
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8402
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
8403
|
+
}
|
|
8404
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8405
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8406
|
+
// to determine the Content-Type header
|
|
8407
|
+
const consumes = [
|
|
8408
|
+
"application/json-patch+json",
|
|
8409
|
+
"application/json",
|
|
8410
|
+
"text/json",
|
|
8411
|
+
"application/*+json",
|
|
8412
|
+
];
|
|
8413
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
8414
|
+
if (httpContentTypeSelected !== undefined) {
|
|
8415
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
8416
|
+
}
|
|
8417
|
+
let responseType_ = "json";
|
|
8418
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8419
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
8420
|
+
responseType_ = "text";
|
|
8421
|
+
}
|
|
8422
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8423
|
+
responseType_ = "json";
|
|
8424
|
+
}
|
|
8425
|
+
else {
|
|
8426
|
+
responseType_ = "blob";
|
|
8427
|
+
}
|
|
8428
|
+
}
|
|
8429
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-cancellation`;
|
|
8430
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8431
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
8432
|
+
context: localVarHttpContext,
|
|
8433
|
+
body: requestOrderCancellationCommand,
|
|
8434
|
+
responseType: responseType_,
|
|
8435
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8436
|
+
headers: localVarHeaders,
|
|
8437
|
+
observe: observe,
|
|
8438
|
+
transferCache: localVarTransferCache,
|
|
8439
|
+
reportProgress: reportProgress,
|
|
8440
|
+
});
|
|
8441
|
+
}
|
|
8391
8442
|
projectStatusesRequestQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
8392
8443
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
8393
8444
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
@@ -14944,28 +14995,16 @@ var ProjectSharingAccessLevel;
|
|
|
14944
14995
|
* Do not edit the class manually.
|
|
14945
14996
|
*/
|
|
14946
14997
|
/**
|
|
14947
|
-
* Project status.<br />ProjectStatus<br />0 = Started<br />1 =
|
|
14998
|
+
* Project status.<br />ProjectStatus<br />0 = Started<br />1 = QuoteRequested<br />2 = QuoteSubmitted<br />3 = AwaitingCustomerApproval<br />4 = SubmittedToRenewAire<br />5 = Ordered
|
|
14948
14999
|
*/
|
|
14949
15000
|
var ProjectStatus;
|
|
14950
15001
|
(function (ProjectStatus) {
|
|
14951
15002
|
ProjectStatus["Started"] = "Started";
|
|
14952
|
-
ProjectStatus["QsSubmitted"] = "QSSubmitted";
|
|
14953
15003
|
ProjectStatus["QuoteRequested"] = "QuoteRequested";
|
|
14954
|
-
ProjectStatus["CustomPricingRequested"] = "CustomPricingRequested";
|
|
14955
15004
|
ProjectStatus["QuoteSubmitted"] = "QuoteSubmitted";
|
|
14956
15005
|
ProjectStatus["AwaitingCustomerApproval"] = "AwaitingCustomerApproval";
|
|
14957
15006
|
ProjectStatus["SubmittedToRenewAire"] = "SubmittedToRenewAire";
|
|
14958
|
-
ProjectStatus["AwaitingApproval"] = "AwaitingApproval";
|
|
14959
|
-
ProjectStatus["Open"] = "Open";
|
|
14960
|
-
ProjectStatus["OrderChangeRequested"] = "OrderChangeRequested";
|
|
14961
|
-
ProjectStatus["OrderCancellationRequested"] = "OrderCancellationRequested";
|
|
14962
|
-
ProjectStatus["OrderChangeSubmitted"] = "OrderChangeSubmitted";
|
|
14963
|
-
ProjectStatus["OrderCancellationSubmitted"] = "OrderCancellationSubmitted";
|
|
14964
|
-
ProjectStatus["OnHold"] = "OnHold";
|
|
14965
|
-
ProjectStatus["Cancelled"] = "Cancelled";
|
|
14966
|
-
ProjectStatus["Closed"] = "Closed";
|
|
14967
15007
|
ProjectStatus["Ordered"] = "Ordered";
|
|
14968
|
-
ProjectStatus["Archived"] = "Archived";
|
|
14969
15008
|
})(ProjectStatus || (ProjectStatus = {}));
|
|
14970
15009
|
|
|
14971
15010
|
/**
|
|
@@ -15370,6 +15409,16 @@ var RegistrationStatus;
|
|
|
15370
15409
|
* Do not edit the class manually.
|
|
15371
15410
|
*/
|
|
15372
15411
|
|
|
15412
|
+
/**
|
|
15413
|
+
* RenewAire CORES API
|
|
15414
|
+
*
|
|
15415
|
+
* Contact: renewaire@saritasa.com
|
|
15416
|
+
*
|
|
15417
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15418
|
+
* https://openapi-generator.tech
|
|
15419
|
+
* Do not edit the class manually.
|
|
15420
|
+
*/
|
|
15421
|
+
|
|
15373
15422
|
/**
|
|
15374
15423
|
* RenewAire CORES API
|
|
15375
15424
|
*
|