@saritasa/renewaire-frontend-sdk 0.391.0 → 0.392.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
|
@@ -6940,58 +6940,6 @@ class ProjectLinesApiService extends BaseService {
|
|
|
6940
6940
|
reportProgress: reportProgress,
|
|
6941
6941
|
});
|
|
6942
6942
|
}
|
|
6943
|
-
projectLinesCreateProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6944
|
-
const saveLineDto = requestParameters?.saveLineDto;
|
|
6945
|
-
let localVarHeaders = this.defaultHeaders;
|
|
6946
|
-
// authentication (Bearer) required
|
|
6947
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6948
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
6949
|
-
this.configuration.selectHeaderAccept([
|
|
6950
|
-
"text/plain",
|
|
6951
|
-
"application/json",
|
|
6952
|
-
"text/json",
|
|
6953
|
-
]);
|
|
6954
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6955
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6956
|
-
}
|
|
6957
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6958
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
6959
|
-
// to determine the Content-Type header
|
|
6960
|
-
const consumes = [
|
|
6961
|
-
"application/json-patch+json",
|
|
6962
|
-
"application/json",
|
|
6963
|
-
"text/json",
|
|
6964
|
-
"application/*+json",
|
|
6965
|
-
];
|
|
6966
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6967
|
-
if (httpContentTypeSelected !== undefined) {
|
|
6968
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6969
|
-
}
|
|
6970
|
-
let responseType_ = "json";
|
|
6971
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
6972
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6973
|
-
responseType_ = "text";
|
|
6974
|
-
}
|
|
6975
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6976
|
-
responseType_ = "json";
|
|
6977
|
-
}
|
|
6978
|
-
else {
|
|
6979
|
-
responseType_ = "blob";
|
|
6980
|
-
}
|
|
6981
|
-
}
|
|
6982
|
-
let localVarPath = `/api/project-lines`;
|
|
6983
|
-
const { basePath, withCredentials } = this.configuration;
|
|
6984
|
-
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
6985
|
-
context: localVarHttpContext,
|
|
6986
|
-
body: saveLineDto,
|
|
6987
|
-
responseType: responseType_,
|
|
6988
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
6989
|
-
headers: localVarHeaders,
|
|
6990
|
-
observe: observe,
|
|
6991
|
-
transferCache: localVarTransferCache,
|
|
6992
|
-
reportProgress: reportProgress,
|
|
6993
|
-
});
|
|
6994
|
-
}
|
|
6995
6943
|
projectLinesGetProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6996
6944
|
const projectLineId = requestParameters?.projectLineId;
|
|
6997
6945
|
if (projectLineId === null || projectLineId === undefined) {
|
|
@@ -7189,44 +7137,6 @@ class ProjectLinesApiService extends BaseService {
|
|
|
7189
7137
|
reportProgress: reportProgress,
|
|
7190
7138
|
});
|
|
7191
7139
|
}
|
|
7192
|
-
projectLinesRemoveProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
7193
|
-
const projectLineId = requestParameters?.projectLineId;
|
|
7194
|
-
if (projectLineId === null || projectLineId === undefined) {
|
|
7195
|
-
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesRemoveProjectLine.");
|
|
7196
|
-
}
|
|
7197
|
-
let localVarHeaders = this.defaultHeaders;
|
|
7198
|
-
// authentication (Bearer) required
|
|
7199
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
7200
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
7201
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7202
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
7203
|
-
}
|
|
7204
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7205
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
7206
|
-
let responseType_ = "json";
|
|
7207
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
7208
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
7209
|
-
responseType_ = "text";
|
|
7210
|
-
}
|
|
7211
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7212
|
-
responseType_ = "json";
|
|
7213
|
-
}
|
|
7214
|
-
else {
|
|
7215
|
-
responseType_ = "blob";
|
|
7216
|
-
}
|
|
7217
|
-
}
|
|
7218
|
-
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
7219
|
-
const { basePath, withCredentials } = this.configuration;
|
|
7220
|
-
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
7221
|
-
context: localVarHttpContext,
|
|
7222
|
-
responseType: responseType_,
|
|
7223
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
7224
|
-
headers: localVarHeaders,
|
|
7225
|
-
observe: observe,
|
|
7226
|
-
transferCache: localVarTransferCache,
|
|
7227
|
-
reportProgress: reportProgress,
|
|
7228
|
-
});
|
|
7229
|
-
}
|
|
7230
7140
|
projectLinesRequestCustomizations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
7231
7141
|
const projectLineId = requestParameters?.projectLineId;
|
|
7232
7142
|
if (projectLineId === null || projectLineId === undefined) {
|
|
@@ -7380,53 +7290,6 @@ class ProjectLinesApiService extends BaseService {
|
|
|
7380
7290
|
reportProgress: reportProgress,
|
|
7381
7291
|
});
|
|
7382
7292
|
}
|
|
7383
|
-
projectLinesUpdateProjectLines(requestParameters, observe = "body", reportProgress = false, options) {
|
|
7384
|
-
const updateLinesDto = requestParameters?.updateLinesDto;
|
|
7385
|
-
let localVarHeaders = this.defaultHeaders;
|
|
7386
|
-
// authentication (Bearer) required
|
|
7387
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
7388
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
7389
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7390
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
7391
|
-
}
|
|
7392
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7393
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
7394
|
-
// to determine the Content-Type header
|
|
7395
|
-
const consumes = [
|
|
7396
|
-
"application/json-patch+json",
|
|
7397
|
-
"application/json",
|
|
7398
|
-
"text/json",
|
|
7399
|
-
"application/*+json",
|
|
7400
|
-
];
|
|
7401
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
7402
|
-
if (httpContentTypeSelected !== undefined) {
|
|
7403
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
7404
|
-
}
|
|
7405
|
-
let responseType_ = "json";
|
|
7406
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
7407
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
7408
|
-
responseType_ = "text";
|
|
7409
|
-
}
|
|
7410
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7411
|
-
responseType_ = "json";
|
|
7412
|
-
}
|
|
7413
|
-
else {
|
|
7414
|
-
responseType_ = "blob";
|
|
7415
|
-
}
|
|
7416
|
-
}
|
|
7417
|
-
let localVarPath = `/api/project-lines`;
|
|
7418
|
-
const { basePath, withCredentials } = this.configuration;
|
|
7419
|
-
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
7420
|
-
context: localVarHttpContext,
|
|
7421
|
-
body: updateLinesDto,
|
|
7422
|
-
responseType: responseType_,
|
|
7423
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
7424
|
-
headers: localVarHeaders,
|
|
7425
|
-
observe: observe,
|
|
7426
|
-
transferCache: localVarTransferCache,
|
|
7427
|
-
reportProgress: reportProgress,
|
|
7428
|
-
});
|
|
7429
|
-
}
|
|
7430
7293
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ProjectLinesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7431
7294
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ProjectLinesApiService, providedIn: "root" });
|
|
7432
7295
|
}
|
|
@@ -17100,16 +16963,6 @@ var ProjectLineCustomizationStatus;
|
|
|
17100
16963
|
* Do not edit the class manually.
|
|
17101
16964
|
*/
|
|
17102
16965
|
|
|
17103
|
-
/**
|
|
17104
|
-
* RenewAire CORES API
|
|
17105
|
-
*
|
|
17106
|
-
* Contact: renewaire@saritasa.com
|
|
17107
|
-
*
|
|
17108
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17109
|
-
* https://openapi-generator.tech
|
|
17110
|
-
* Do not edit the class manually.
|
|
17111
|
-
*/
|
|
17112
|
-
|
|
17113
16966
|
/**
|
|
17114
16967
|
* RenewAire CORES API
|
|
17115
16968
|
*
|