@saritasa/renewaire-frontend-sdk 0.216.0 → 0.217.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
|
@@ -4687,6 +4687,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
4687
4687
|
type: Optional
|
|
4688
4688
|
}] }] });
|
|
4689
4689
|
|
|
4690
|
+
/**
|
|
4691
|
+
* RenewAire CORES API
|
|
4692
|
+
*
|
|
4693
|
+
* Contact: renewaire@saritasa.com
|
|
4694
|
+
*
|
|
4695
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4696
|
+
* https://openapi-generator.tech
|
|
4697
|
+
* Do not edit the class manually.
|
|
4698
|
+
*/
|
|
4699
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4700
|
+
class ProjectQualifiedSpecificationsApiService extends BaseService {
|
|
4701
|
+
httpClient;
|
|
4702
|
+
constructor(httpClient, basePath, configuration) {
|
|
4703
|
+
super(basePath, configuration);
|
|
4704
|
+
this.httpClient = httpClient;
|
|
4705
|
+
}
|
|
4706
|
+
projectQualifiedSpecificationSubmitQualifiedSpecification(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4707
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
4708
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
4709
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQualifiedSpecificationSubmitQualifiedSpecification.");
|
|
4710
|
+
}
|
|
4711
|
+
const saveQualifiedSpecificationDto = requestParameters?.saveQualifiedSpecificationDto;
|
|
4712
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4713
|
+
// authentication (Bearer) required
|
|
4714
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4715
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4716
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4717
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4718
|
+
}
|
|
4719
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4720
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4721
|
+
// to determine the Content-Type header
|
|
4722
|
+
const consumes = [
|
|
4723
|
+
"application/json-patch+json",
|
|
4724
|
+
"application/json",
|
|
4725
|
+
"text/json",
|
|
4726
|
+
"application/*+json",
|
|
4727
|
+
];
|
|
4728
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4729
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4730
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4731
|
+
}
|
|
4732
|
+
let responseType_ = "json";
|
|
4733
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4734
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4735
|
+
responseType_ = "text";
|
|
4736
|
+
}
|
|
4737
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4738
|
+
responseType_ = "json";
|
|
4739
|
+
}
|
|
4740
|
+
else {
|
|
4741
|
+
responseType_ = "blob";
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4744
|
+
let localVarPath = `/api/project-qualified-specifications/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
4745
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4746
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4747
|
+
context: localVarHttpContext,
|
|
4748
|
+
body: saveQualifiedSpecificationDto,
|
|
4749
|
+
responseType: responseType_,
|
|
4750
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4751
|
+
headers: localVarHeaders,
|
|
4752
|
+
observe: observe,
|
|
4753
|
+
transferCache: localVarTransferCache,
|
|
4754
|
+
reportProgress: reportProgress,
|
|
4755
|
+
});
|
|
4756
|
+
}
|
|
4757
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ProjectQualifiedSpecificationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4758
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ProjectQualifiedSpecificationsApiService, providedIn: "root" });
|
|
4759
|
+
}
|
|
4760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ProjectQualifiedSpecificationsApiService, decorators: [{
|
|
4761
|
+
type: Injectable,
|
|
4762
|
+
args: [{
|
|
4763
|
+
providedIn: "root",
|
|
4764
|
+
}]
|
|
4765
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4766
|
+
type: Optional
|
|
4767
|
+
}, {
|
|
4768
|
+
type: Inject,
|
|
4769
|
+
args: [BASE_PATH]
|
|
4770
|
+
}] }, { type: Configuration, decorators: [{
|
|
4771
|
+
type: Optional
|
|
4772
|
+
}] }] });
|
|
4773
|
+
|
|
4690
4774
|
/**
|
|
4691
4775
|
* RenewAire CORES API
|
|
4692
4776
|
*
|
|
@@ -11001,6 +11085,7 @@ const APIS = [
|
|
|
11001
11085
|
ProjectBidStatusesApiService,
|
|
11002
11086
|
ProjectLinksApiService,
|
|
11003
11087
|
ProjectNotesApiService,
|
|
11088
|
+
ProjectQualifiedSpecificationsApiService,
|
|
11004
11089
|
ProjectRevisionsApiService,
|
|
11005
11090
|
ProjectSharingApiService,
|
|
11006
11091
|
ProjectShippingApiService,
|
|
@@ -11461,7 +11546,7 @@ var FeedbackType;
|
|
|
11461
11546
|
* Do not edit the class manually.
|
|
11462
11547
|
*/
|
|
11463
11548
|
/**
|
|
11464
|
-
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = SchematicLayerFile
|
|
11549
|
+
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = SchematicLayerFile<br />6 = QualifiedSpecification
|
|
11465
11550
|
*/
|
|
11466
11551
|
var FileType;
|
|
11467
11552
|
(function (FileType) {
|
|
@@ -11471,6 +11556,7 @@ var FileType;
|
|
|
11471
11556
|
FileType["ProjectNoteAttachment"] = "ProjectNoteAttachment";
|
|
11472
11557
|
FileType["BidStatusAttachment"] = "BidStatusAttachment";
|
|
11473
11558
|
FileType["SchematicLayerFile"] = "SchematicLayerFile";
|
|
11559
|
+
FileType["QualifiedSpecification"] = "QualifiedSpecification";
|
|
11474
11560
|
})(FileType || (FileType = {}));
|
|
11475
11561
|
|
|
11476
11562
|
/**
|
|
@@ -11975,12 +12061,13 @@ var ProjectBidStatusType;
|
|
|
11975
12061
|
* Do not edit the class manually.
|
|
11976
12062
|
*/
|
|
11977
12063
|
/**
|
|
11978
|
-
* Project log type.<br />ProjectLogType<br />0 = StatusChange<br />1 = Save
|
|
12064
|
+
* Project log type.<br />ProjectLogType<br />0 = StatusChange<br />1 = Save<br />2 = QualifiedSpecification
|
|
11979
12065
|
*/
|
|
11980
12066
|
var ProjectLogType;
|
|
11981
12067
|
(function (ProjectLogType) {
|
|
11982
12068
|
ProjectLogType["StatusChange"] = "StatusChange";
|
|
11983
12069
|
ProjectLogType["Save"] = "Save";
|
|
12070
|
+
ProjectLogType["QualifiedSpecification"] = "QualifiedSpecification";
|
|
11984
12071
|
})(ProjectLogType || (ProjectLogType = {}));
|
|
11985
12072
|
|
|
11986
12073
|
/**
|
|
@@ -12636,5 +12723,5 @@ function provideApi(configOrBasePath) {
|
|
|
12636
12723
|
* Generated bundle index. Do not edit.
|
|
12637
12724
|
*/
|
|
12638
12725
|
|
|
12639
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, 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 };
|
|
12726
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, 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 };
|
|
12640
12727
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|