@saritasa/renewaire-frontend-sdk 0.215.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
|
/**
|
|
@@ -11649,26 +11735,6 @@ var LeadTimeType;
|
|
|
11649
11735
|
* Do not edit the class manually.
|
|
11650
11736
|
*/
|
|
11651
11737
|
|
|
11652
|
-
/**
|
|
11653
|
-
* RenewAire CORES API
|
|
11654
|
-
*
|
|
11655
|
-
* Contact: renewaire@saritasa.com
|
|
11656
|
-
*
|
|
11657
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11658
|
-
* https://openapi-generator.tech
|
|
11659
|
-
* Do not edit the class manually.
|
|
11660
|
-
*/
|
|
11661
|
-
|
|
11662
|
-
/**
|
|
11663
|
-
* RenewAire CORES API
|
|
11664
|
-
*
|
|
11665
|
-
* Contact: renewaire@saritasa.com
|
|
11666
|
-
*
|
|
11667
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11668
|
-
* https://openapi-generator.tech
|
|
11669
|
-
* Do not edit the class manually.
|
|
11670
|
-
*/
|
|
11671
|
-
|
|
11672
11738
|
/**
|
|
11673
11739
|
* RenewAire CORES API
|
|
11674
11740
|
*
|
|
@@ -11749,6 +11815,45 @@ var OperationType;
|
|
|
11749
11815
|
* https://openapi-generator.tech
|
|
11750
11816
|
* Do not edit the class manually.
|
|
11751
11817
|
*/
|
|
11818
|
+
/**
|
|
11819
|
+
* Comparison operator type.<br />OperatorType<br />0 = Is<br />1 = IsNot<br />2 = In<br />3 = NotIn
|
|
11820
|
+
*/
|
|
11821
|
+
var OperatorType;
|
|
11822
|
+
(function (OperatorType) {
|
|
11823
|
+
OperatorType["Is"] = "Is";
|
|
11824
|
+
OperatorType["IsNot"] = "IsNot";
|
|
11825
|
+
OperatorType["In"] = "In";
|
|
11826
|
+
OperatorType["NotIn"] = "NotIn";
|
|
11827
|
+
})(OperatorType || (OperatorType = {}));
|
|
11828
|
+
|
|
11829
|
+
/**
|
|
11830
|
+
* RenewAire CORES API
|
|
11831
|
+
*
|
|
11832
|
+
* Contact: renewaire@saritasa.com
|
|
11833
|
+
*
|
|
11834
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11835
|
+
* https://openapi-generator.tech
|
|
11836
|
+
* Do not edit the class manually.
|
|
11837
|
+
*/
|
|
11838
|
+
|
|
11839
|
+
/**
|
|
11840
|
+
* RenewAire CORES API
|
|
11841
|
+
*
|
|
11842
|
+
* Contact: renewaire@saritasa.com
|
|
11843
|
+
*
|
|
11844
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11845
|
+
* https://openapi-generator.tech
|
|
11846
|
+
* Do not edit the class manually.
|
|
11847
|
+
*/
|
|
11848
|
+
/**
|
|
11849
|
+
* Kind of the parameter to compare.<br />ParameterKind<br />0 = NumberPart<br />1 = NumberGroup<br />2 = ModelParameter
|
|
11850
|
+
*/
|
|
11851
|
+
var ParameterKind;
|
|
11852
|
+
(function (ParameterKind) {
|
|
11853
|
+
ParameterKind["NumberPart"] = "NumberPart";
|
|
11854
|
+
ParameterKind["NumberGroup"] = "NumberGroup";
|
|
11855
|
+
ParameterKind["ModelParameter"] = "ModelParameter";
|
|
11856
|
+
})(ParameterKind || (ParameterKind = {}));
|
|
11752
11857
|
|
|
11753
11858
|
/**
|
|
11754
11859
|
* RenewAire CORES API
|
|
@@ -11956,12 +12061,13 @@ var ProjectBidStatusType;
|
|
|
11956
12061
|
* Do not edit the class manually.
|
|
11957
12062
|
*/
|
|
11958
12063
|
/**
|
|
11959
|
-
* 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
|
|
11960
12065
|
*/
|
|
11961
12066
|
var ProjectLogType;
|
|
11962
12067
|
(function (ProjectLogType) {
|
|
11963
12068
|
ProjectLogType["StatusChange"] = "StatusChange";
|
|
11964
12069
|
ProjectLogType["Save"] = "Save";
|
|
12070
|
+
ProjectLogType["QualifiedSpecification"] = "QualifiedSpecification";
|
|
11965
12071
|
})(ProjectLogType || (ProjectLogType = {}));
|
|
11966
12072
|
|
|
11967
12073
|
/**
|
|
@@ -12418,36 +12524,6 @@ var RegistrationStatus;
|
|
|
12418
12524
|
* Do not edit the class manually.
|
|
12419
12525
|
*/
|
|
12420
12526
|
|
|
12421
|
-
/**
|
|
12422
|
-
* RenewAire CORES API
|
|
12423
|
-
*
|
|
12424
|
-
* Contact: renewaire@saritasa.com
|
|
12425
|
-
*
|
|
12426
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12427
|
-
* https://openapi-generator.tech
|
|
12428
|
-
* Do not edit the class manually.
|
|
12429
|
-
*/
|
|
12430
|
-
|
|
12431
|
-
/**
|
|
12432
|
-
* RenewAire CORES API
|
|
12433
|
-
*
|
|
12434
|
-
* Contact: renewaire@saritasa.com
|
|
12435
|
-
*
|
|
12436
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12437
|
-
* https://openapi-generator.tech
|
|
12438
|
-
* Do not edit the class manually.
|
|
12439
|
-
*/
|
|
12440
|
-
|
|
12441
|
-
/**
|
|
12442
|
-
* RenewAire CORES API
|
|
12443
|
-
*
|
|
12444
|
-
* Contact: renewaire@saritasa.com
|
|
12445
|
-
*
|
|
12446
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12447
|
-
* https://openapi-generator.tech
|
|
12448
|
-
* Do not edit the class manually.
|
|
12449
|
-
*/
|
|
12450
|
-
|
|
12451
12527
|
/**
|
|
12452
12528
|
* RenewAire CORES API
|
|
12453
12529
|
*
|
|
@@ -12647,5 +12723,5 @@ function provideApi(configOrBasePath) {
|
|
|
12647
12723
|
* Generated bundle index. Do not edit.
|
|
12648
12724
|
*/
|
|
12649
12725
|
|
|
12650
|
-
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, 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 };
|
|
12651
12727
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|