@saritasa/renewaire-frontend-sdk 0.155.1 → 0.157.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
|
@@ -1892,6 +1892,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
1892
1892
|
type: Optional
|
|
1893
1893
|
}] }] });
|
|
1894
1894
|
|
|
1895
|
+
/**
|
|
1896
|
+
* RenewAire CORES API
|
|
1897
|
+
*
|
|
1898
|
+
* Contact: renewaire@saritasa.com
|
|
1899
|
+
*
|
|
1900
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1901
|
+
* https://openapi-generator.tech
|
|
1902
|
+
* Do not edit the class manually.
|
|
1903
|
+
*/
|
|
1904
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1905
|
+
class MaterialsApiService extends BaseService {
|
|
1906
|
+
httpClient;
|
|
1907
|
+
constructor(httpClient, basePath, configuration) {
|
|
1908
|
+
super(basePath, configuration);
|
|
1909
|
+
this.httpClient = httpClient;
|
|
1910
|
+
}
|
|
1911
|
+
materialsCreateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1912
|
+
const createMaterialLayerCommand = requestParameters?.createMaterialLayerCommand;
|
|
1913
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1914
|
+
// authentication (Bearer) required
|
|
1915
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1916
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1917
|
+
this.configuration.selectHeaderAccept([
|
|
1918
|
+
"text/plain",
|
|
1919
|
+
"application/json",
|
|
1920
|
+
"text/json",
|
|
1921
|
+
]);
|
|
1922
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1923
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1924
|
+
}
|
|
1925
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1926
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1927
|
+
// to determine the Content-Type header
|
|
1928
|
+
const consumes = [
|
|
1929
|
+
"application/json-patch+json",
|
|
1930
|
+
"application/json",
|
|
1931
|
+
"text/json",
|
|
1932
|
+
"application/*+json",
|
|
1933
|
+
];
|
|
1934
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1935
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1936
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1937
|
+
}
|
|
1938
|
+
let responseType_ = "json";
|
|
1939
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1940
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1941
|
+
responseType_ = "text";
|
|
1942
|
+
}
|
|
1943
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1944
|
+
responseType_ = "json";
|
|
1945
|
+
}
|
|
1946
|
+
else {
|
|
1947
|
+
responseType_ = "blob";
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
let localVarPath = `/api/materials`;
|
|
1951
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1952
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1953
|
+
context: localVarHttpContext,
|
|
1954
|
+
body: createMaterialLayerCommand,
|
|
1955
|
+
responseType: responseType_,
|
|
1956
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1957
|
+
headers: localVarHeaders,
|
|
1958
|
+
observe: observe,
|
|
1959
|
+
transferCache: localVarTransferCache,
|
|
1960
|
+
reportProgress: reportProgress,
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1964
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, providedIn: "root" });
|
|
1965
|
+
}
|
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, decorators: [{
|
|
1967
|
+
type: Injectable,
|
|
1968
|
+
args: [{
|
|
1969
|
+
providedIn: "root",
|
|
1970
|
+
}]
|
|
1971
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1972
|
+
type: Optional
|
|
1973
|
+
}, {
|
|
1974
|
+
type: Inject,
|
|
1975
|
+
args: [BASE_PATH]
|
|
1976
|
+
}] }, { type: Configuration, decorators: [{
|
|
1977
|
+
type: Optional
|
|
1978
|
+
}] }] });
|
|
1979
|
+
|
|
1895
1980
|
/**
|
|
1896
1981
|
* RenewAire CORES API
|
|
1897
1982
|
*
|
|
@@ -9100,6 +9185,7 @@ const APIS = [
|
|
|
9100
9185
|
KnownContactsApiService,
|
|
9101
9186
|
LeadTimesApiService,
|
|
9102
9187
|
MaintenanceApiService,
|
|
9188
|
+
MaterialsApiService,
|
|
9103
9189
|
PermissionBundlesApiService,
|
|
9104
9190
|
PermissionsApiService,
|
|
9105
9191
|
ProjectBidStatusesApiService,
|
|
@@ -9409,6 +9495,16 @@ var CoolingDesignBasis;
|
|
|
9409
9495
|
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
9410
9496
|
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
9411
9497
|
|
|
9498
|
+
/**
|
|
9499
|
+
* RenewAire CORES API
|
|
9500
|
+
*
|
|
9501
|
+
* Contact: renewaire@saritasa.com
|
|
9502
|
+
*
|
|
9503
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9504
|
+
* https://openapi-generator.tech
|
|
9505
|
+
* Do not edit the class manually.
|
|
9506
|
+
*/
|
|
9507
|
+
|
|
9412
9508
|
/**
|
|
9413
9509
|
* RenewAire CORES API
|
|
9414
9510
|
*
|
|
@@ -9690,7 +9786,7 @@ var OperationType;
|
|
|
9690
9786
|
* Do not edit the class manually.
|
|
9691
9787
|
*/
|
|
9692
9788
|
/**
|
|
9693
|
-
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />6 = AnswerIncomingChats<br />7 = QsEligible<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />29 = ReassignProjects<br />30 = CreateNewProjects<br />31 = CreateNewLineItems<br />32 = ViewClosedLines<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />38 = ManageAllUserGroups<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />56 = ViewFinancialReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />61 = ViewRolesTable<br />62 = ViewPermissionBundles<br />63 = EditUsers<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 = ViewExtraQuoteOptions<br />119 = ViewShipToSelectionAndInformation<br />120 = ViewProjectRevisions<br />121 = AddProjectRevisions<br />122 = ViewLinkedProjects<br />123 = AddLinkedProjects<br />124 = TakeOverEditingFromOtherUsers<br />125 = AccessProjectSalesChannelNotes
|
|
9789
|
+
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />6 = AnswerIncomingChats<br />7 = QsEligible<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />29 = ReassignProjects<br />30 = CreateNewProjects<br />31 = CreateNewLineItems<br />32 = ViewClosedLines<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />38 = ManageAllUserGroups<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />56 = ViewFinancialReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />61 = ViewRolesTable<br />62 = ViewPermissionBundles<br />63 = EditUsers<br />64 = BombMaterialsAdmin<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 = ViewExtraQuoteOptions<br />119 = ViewShipToSelectionAndInformation<br />120 = ViewProjectRevisions<br />121 = AddProjectRevisions<br />122 = ViewLinkedProjects<br />123 = AddLinkedProjects<br />124 = TakeOverEditingFromOtherUsers<br />125 = AccessProjectSalesChannelNotes
|
|
9694
9790
|
*/
|
|
9695
9791
|
var Permission;
|
|
9696
9792
|
(function (Permission) {
|
|
@@ -9758,6 +9854,7 @@ var Permission;
|
|
|
9758
9854
|
Permission["ViewRolesTable"] = "ViewRolesTable";
|
|
9759
9855
|
Permission["ViewPermissionBundles"] = "ViewPermissionBundles";
|
|
9760
9856
|
Permission["EditUsers"] = "EditUsers";
|
|
9857
|
+
Permission["BombMaterialsAdmin"] = "BombMaterialsAdmin";
|
|
9761
9858
|
Permission["SubmitOrder"] = "SubmitOrder";
|
|
9762
9859
|
Permission["ImportOrdersToErp"] = "ImportOrdersToErp";
|
|
9763
9860
|
Permission["ViewDiscountWorkflows"] = "ViewDiscountWorkflows";
|
|
@@ -10424,5 +10521,5 @@ function provideApi(configOrBasePath) {
|
|
|
10424
10521
|
* Generated bundle index. Do not edit.
|
|
10425
10522
|
*/
|
|
10426
10523
|
|
|
10427
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
10524
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, MaterialsApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
10428
10525
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|