@saritasa/renewaire-frontend-sdk 0.290.0 → 0.292.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
|
@@ -5684,6 +5684,44 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5684
5684
|
reportProgress: reportProgress,
|
|
5685
5685
|
});
|
|
5686
5686
|
}
|
|
5687
|
+
projectLinesCancelCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5688
|
+
const projectLineId = requestParameters?.projectLineId;
|
|
5689
|
+
if (projectLineId === null || projectLineId === undefined) {
|
|
5690
|
+
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesCancelCustomizations.");
|
|
5691
|
+
}
|
|
5692
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5693
|
+
// authentication (Bearer) required
|
|
5694
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
5695
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5696
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5697
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
5698
|
+
}
|
|
5699
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5700
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5701
|
+
let responseType_ = "json";
|
|
5702
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5703
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
5704
|
+
responseType_ = "text";
|
|
5705
|
+
}
|
|
5706
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5707
|
+
responseType_ = "json";
|
|
5708
|
+
}
|
|
5709
|
+
else {
|
|
5710
|
+
responseType_ = "blob";
|
|
5711
|
+
}
|
|
5712
|
+
}
|
|
5713
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/customizations`;
|
|
5714
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5715
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
5716
|
+
context: localVarHttpContext,
|
|
5717
|
+
responseType: responseType_,
|
|
5718
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5719
|
+
headers: localVarHeaders,
|
|
5720
|
+
observe: observe,
|
|
5721
|
+
transferCache: localVarTransferCache,
|
|
5722
|
+
reportProgress: reportProgress,
|
|
5723
|
+
});
|
|
5724
|
+
}
|
|
5687
5725
|
projectLinesCreateProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5688
5726
|
const saveLineDto = requestParameters?.saveLineDto;
|
|
5689
5727
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -5983,6 +6021,57 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5983
6021
|
reportProgress: reportProgress,
|
|
5984
6022
|
});
|
|
5985
6023
|
}
|
|
6024
|
+
projectLinesSubmitCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6025
|
+
const projectLineId = requestParameters?.projectLineId;
|
|
6026
|
+
if (projectLineId === null || projectLineId === undefined) {
|
|
6027
|
+
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesSubmitCustomizations.");
|
|
6028
|
+
}
|
|
6029
|
+
const submitLineCustomizationDto = requestParameters?.submitLineCustomizationDto;
|
|
6030
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6031
|
+
// authentication (Bearer) required
|
|
6032
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6033
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6034
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6035
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6036
|
+
}
|
|
6037
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6038
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6039
|
+
// to determine the Content-Type header
|
|
6040
|
+
const consumes = [
|
|
6041
|
+
"application/json-patch+json",
|
|
6042
|
+
"application/json",
|
|
6043
|
+
"text/json",
|
|
6044
|
+
"application/*+json",
|
|
6045
|
+
];
|
|
6046
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6047
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6048
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6049
|
+
}
|
|
6050
|
+
let responseType_ = "json";
|
|
6051
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6052
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6053
|
+
responseType_ = "text";
|
|
6054
|
+
}
|
|
6055
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6056
|
+
responseType_ = "json";
|
|
6057
|
+
}
|
|
6058
|
+
else {
|
|
6059
|
+
responseType_ = "blob";
|
|
6060
|
+
}
|
|
6061
|
+
}
|
|
6062
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/submit-customizations`;
|
|
6063
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6064
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
6065
|
+
context: localVarHttpContext,
|
|
6066
|
+
body: submitLineCustomizationDto,
|
|
6067
|
+
responseType: responseType_,
|
|
6068
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6069
|
+
headers: localVarHeaders,
|
|
6070
|
+
observe: observe,
|
|
6071
|
+
transferCache: localVarTransferCache,
|
|
6072
|
+
reportProgress: reportProgress,
|
|
6073
|
+
});
|
|
6074
|
+
}
|
|
5986
6075
|
projectLinesUpdateProjectLines(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5987
6076
|
const updateLinesDto = requestParameters?.updateLinesDto;
|
|
5988
6077
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -8136,12 +8225,12 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8136
8225
|
reportProgress: reportProgress,
|
|
8137
8226
|
});
|
|
8138
8227
|
}
|
|
8139
|
-
|
|
8228
|
+
projectStatusesRejectQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
8140
8229
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
8141
8230
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
8142
|
-
throw new Error("Required parameter projectRevisionId was null or undefined when calling
|
|
8231
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRejectQuote.");
|
|
8143
8232
|
}
|
|
8144
|
-
const
|
|
8233
|
+
const rejectQuoteCommand = requestParameters?.rejectQuoteCommand;
|
|
8145
8234
|
let localVarHeaders = this.defaultHeaders;
|
|
8146
8235
|
// authentication (Bearer) required
|
|
8147
8236
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -8179,11 +8268,11 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8179
8268
|
responseType_ = "blob";
|
|
8180
8269
|
}
|
|
8181
8270
|
}
|
|
8182
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/
|
|
8271
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/reject-quote`;
|
|
8183
8272
|
const { basePath, withCredentials } = this.configuration;
|
|
8184
8273
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
8185
8274
|
context: localVarHttpContext,
|
|
8186
|
-
body:
|
|
8275
|
+
body: rejectQuoteCommand,
|
|
8187
8276
|
responseType: responseType_,
|
|
8188
8277
|
...(withCredentials ? { withCredentials } : {}),
|
|
8189
8278
|
headers: localVarHeaders,
|
|
@@ -8192,12 +8281,12 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8192
8281
|
reportProgress: reportProgress,
|
|
8193
8282
|
});
|
|
8194
8283
|
}
|
|
8195
|
-
|
|
8284
|
+
projectStatusesRequestOrder(requestParameters, observe = "body", reportProgress = false, options) {
|
|
8196
8285
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
8197
8286
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
8198
|
-
throw new Error("Required parameter projectRevisionId was null or undefined when calling
|
|
8287
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestOrder.");
|
|
8199
8288
|
}
|
|
8200
|
-
const
|
|
8289
|
+
const requestOrderCommand = requestParameters?.requestOrderCommand;
|
|
8201
8290
|
let localVarHeaders = this.defaultHeaders;
|
|
8202
8291
|
// authentication (Bearer) required
|
|
8203
8292
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -8235,11 +8324,11 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8235
8324
|
responseType_ = "blob";
|
|
8236
8325
|
}
|
|
8237
8326
|
}
|
|
8238
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-
|
|
8327
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-order`;
|
|
8239
8328
|
const { basePath, withCredentials } = this.configuration;
|
|
8240
8329
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
8241
8330
|
context: localVarHttpContext,
|
|
8242
|
-
body:
|
|
8331
|
+
body: requestOrderCommand,
|
|
8243
8332
|
responseType: responseType_,
|
|
8244
8333
|
...(withCredentials ? { withCredentials } : {}),
|
|
8245
8334
|
headers: localVarHeaders,
|
|
@@ -8248,12 +8337,12 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8248
8337
|
reportProgress: reportProgress,
|
|
8249
8338
|
});
|
|
8250
8339
|
}
|
|
8251
|
-
|
|
8340
|
+
projectStatusesRequestQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
8252
8341
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
8253
8342
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
8254
|
-
throw new Error("Required parameter projectRevisionId was null or undefined when calling
|
|
8343
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestQuote.");
|
|
8255
8344
|
}
|
|
8256
|
-
const
|
|
8345
|
+
const requestQuoteCommand = requestParameters?.requestQuoteCommand;
|
|
8257
8346
|
let localVarHeaders = this.defaultHeaders;
|
|
8258
8347
|
// authentication (Bearer) required
|
|
8259
8348
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -8291,11 +8380,11 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
8291
8380
|
responseType_ = "blob";
|
|
8292
8381
|
}
|
|
8293
8382
|
}
|
|
8294
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/
|
|
8383
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-quote`;
|
|
8295
8384
|
const { basePath, withCredentials } = this.configuration;
|
|
8296
8385
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
8297
8386
|
context: localVarHttpContext,
|
|
8298
|
-
body:
|
|
8387
|
+
body: requestQuoteCommand,
|
|
8299
8388
|
responseType: responseType_,
|
|
8300
8389
|
...(withCredentials ? { withCredentials } : {}),
|
|
8301
8390
|
headers: localVarHeaders,
|
|
@@ -15209,6 +15298,16 @@ var RegistrationStatus;
|
|
|
15209
15298
|
* Do not edit the class manually.
|
|
15210
15299
|
*/
|
|
15211
15300
|
|
|
15301
|
+
/**
|
|
15302
|
+
* RenewAire CORES API
|
|
15303
|
+
*
|
|
15304
|
+
* Contact: renewaire@saritasa.com
|
|
15305
|
+
*
|
|
15306
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15307
|
+
* https://openapi-generator.tech
|
|
15308
|
+
* Do not edit the class manually.
|
|
15309
|
+
*/
|
|
15310
|
+
|
|
15212
15311
|
/**
|
|
15213
15312
|
* RenewAire CORES API
|
|
15214
15313
|
*
|