@saritasa/renewaire-frontend-sdk 0.288.0 → 0.290.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
|
@@ -5685,10 +5685,6 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5685
5685
|
});
|
|
5686
5686
|
}
|
|
5687
5687
|
projectLinesCreateProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5688
|
-
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
5689
|
-
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
5690
|
-
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectLinesCreateProjectLine.");
|
|
5691
|
-
}
|
|
5692
5688
|
const saveLineDto = requestParameters?.saveLineDto;
|
|
5693
5689
|
let localVarHeaders = this.defaultHeaders;
|
|
5694
5690
|
// authentication (Bearer) required
|
|
@@ -5727,7 +5723,7 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5727
5723
|
responseType_ = "blob";
|
|
5728
5724
|
}
|
|
5729
5725
|
}
|
|
5730
|
-
let localVarPath = `/api/project-lines
|
|
5726
|
+
let localVarPath = `/api/project-lines`;
|
|
5731
5727
|
const { basePath, withCredentials } = this.configuration;
|
|
5732
5728
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
5733
5729
|
context: localVarHttpContext,
|
|
@@ -5740,6 +5736,49 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5740
5736
|
reportProgress: reportProgress,
|
|
5741
5737
|
});
|
|
5742
5738
|
}
|
|
5739
|
+
projectLinesGetProjectLine(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5740
|
+
const projectLineId = requestParameters?.projectLineId;
|
|
5741
|
+
if (projectLineId === null || projectLineId === undefined) {
|
|
5742
|
+
throw new Error("Required parameter projectLineId was null or undefined when calling projectLinesGetProjectLine.");
|
|
5743
|
+
}
|
|
5744
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5745
|
+
// authentication (Bearer) required
|
|
5746
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
5747
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
5748
|
+
this.configuration.selectHeaderAccept([
|
|
5749
|
+
"text/plain",
|
|
5750
|
+
"application/json",
|
|
5751
|
+
"text/json",
|
|
5752
|
+
]);
|
|
5753
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5754
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
5755
|
+
}
|
|
5756
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5757
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5758
|
+
let responseType_ = "json";
|
|
5759
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5760
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
5761
|
+
responseType_ = "text";
|
|
5762
|
+
}
|
|
5763
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5764
|
+
responseType_ = "json";
|
|
5765
|
+
}
|
|
5766
|
+
else {
|
|
5767
|
+
responseType_ = "blob";
|
|
5768
|
+
}
|
|
5769
|
+
}
|
|
5770
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectLineId", value: projectLineId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
5771
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5772
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
5773
|
+
context: localVarHttpContext,
|
|
5774
|
+
responseType: responseType_,
|
|
5775
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5776
|
+
headers: localVarHeaders,
|
|
5777
|
+
observe: observe,
|
|
5778
|
+
transferCache: localVarTransferCache,
|
|
5779
|
+
reportProgress: reportProgress,
|
|
5780
|
+
});
|
|
5781
|
+
}
|
|
5743
5782
|
projectLinesRefreshCoil(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5744
5783
|
const projectLineId = requestParameters?.projectLineId;
|
|
5745
5784
|
if (projectLineId === null || projectLineId === undefined) {
|
|
@@ -5980,7 +6019,7 @@ class ProjectLinesApiService extends BaseService {
|
|
|
5980
6019
|
}
|
|
5981
6020
|
let localVarPath = `/api/project-lines`;
|
|
5982
6021
|
const { basePath, withCredentials } = this.configuration;
|
|
5983
|
-
return this.httpClient.request("
|
|
6022
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
5984
6023
|
context: localVarHttpContext,
|
|
5985
6024
|
body: updateLinesDto,
|
|
5986
6025
|
responseType: responseType_,
|
|
@@ -14535,6 +14574,25 @@ var ProjectDiscountType;
|
|
|
14535
14574
|
* Do not edit the class manually.
|
|
14536
14575
|
*/
|
|
14537
14576
|
|
|
14577
|
+
/**
|
|
14578
|
+
* RenewAire CORES API
|
|
14579
|
+
*
|
|
14580
|
+
* Contact: renewaire@saritasa.com
|
|
14581
|
+
*
|
|
14582
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14583
|
+
* https://openapi-generator.tech
|
|
14584
|
+
* Do not edit the class manually.
|
|
14585
|
+
*/
|
|
14586
|
+
/**
|
|
14587
|
+
* Project line customization status.<br />ProjectLineCustomizationStatus<br />0 = Pending<br />1 = Approved<br />2 = Rejected
|
|
14588
|
+
*/
|
|
14589
|
+
var ProjectLineCustomizationStatus;
|
|
14590
|
+
(function (ProjectLineCustomizationStatus) {
|
|
14591
|
+
ProjectLineCustomizationStatus["Pending"] = "Pending";
|
|
14592
|
+
ProjectLineCustomizationStatus["Approved"] = "Approved";
|
|
14593
|
+
ProjectLineCustomizationStatus["Rejected"] = "Rejected";
|
|
14594
|
+
})(ProjectLineCustomizationStatus || (ProjectLineCustomizationStatus = {}));
|
|
14595
|
+
|
|
14538
14596
|
/**
|
|
14539
14597
|
* RenewAire CORES API
|
|
14540
14598
|
*
|
|
@@ -15380,5 +15438,5 @@ function provideApi(configOrBasePath) {
|
|
|
15380
15438
|
* Generated bundle index. Do not edit.
|
|
15381
15439
|
*/
|
|
15382
15440
|
|
|
15383
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CsiApiService, DesignWeatherMode, DownloadType, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, PricingApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectQuoteLogAccessoriesView, ProjectQuoteMultiplier, ProjectQuotePricing, ProjectQuotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
15441
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CsiApiService, DesignWeatherMode, DownloadType, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, PricingApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineCustomizationStatus, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectQuoteLogAccessoriesView, ProjectQuoteMultiplier, ProjectQuotePricing, ProjectQuotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
15384
15442
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|