@saritasa/renewaire-frontend-sdk 0.171.0 → 0.172.1
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
|
@@ -2039,6 +2039,49 @@ class MaterialsApiService extends BaseService {
|
|
|
2039
2039
|
reportProgress: reportProgress,
|
|
2040
2040
|
});
|
|
2041
2041
|
}
|
|
2042
|
+
materialsSearchMaterialLayers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2043
|
+
const parentMaterialLayerId = requestParameters?.parentMaterialLayerId;
|
|
2044
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2045
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentMaterialLayerId, "ParentMaterialLayerId");
|
|
2046
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2047
|
+
// authentication (Bearer) required
|
|
2048
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2049
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2050
|
+
this.configuration.selectHeaderAccept([
|
|
2051
|
+
"text/plain",
|
|
2052
|
+
"application/json",
|
|
2053
|
+
"text/json",
|
|
2054
|
+
]);
|
|
2055
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2056
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2057
|
+
}
|
|
2058
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2059
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2060
|
+
let responseType_ = "json";
|
|
2061
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2062
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2063
|
+
responseType_ = "text";
|
|
2064
|
+
}
|
|
2065
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2066
|
+
responseType_ = "json";
|
|
2067
|
+
}
|
|
2068
|
+
else {
|
|
2069
|
+
responseType_ = "blob";
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
let localVarPath = `/api/materials`;
|
|
2073
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2074
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2075
|
+
context: localVarHttpContext,
|
|
2076
|
+
params: localVarQueryParameters,
|
|
2077
|
+
responseType: responseType_,
|
|
2078
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2079
|
+
headers: localVarHeaders,
|
|
2080
|
+
observe: observe,
|
|
2081
|
+
transferCache: localVarTransferCache,
|
|
2082
|
+
reportProgress: reportProgress,
|
|
2083
|
+
});
|
|
2084
|
+
}
|
|
2042
2085
|
materialsUpdateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2043
2086
|
const materialLayerId = requestParameters?.materialLayerId;
|
|
2044
2087
|
if (materialLayerId === null || materialLayerId === undefined) {
|
|
@@ -10300,6 +10343,16 @@ var LeadTimeType;
|
|
|
10300
10343
|
* Do not edit the class manually.
|
|
10301
10344
|
*/
|
|
10302
10345
|
|
|
10346
|
+
/**
|
|
10347
|
+
* RenewAire CORES API
|
|
10348
|
+
*
|
|
10349
|
+
* Contact: renewaire@saritasa.com
|
|
10350
|
+
*
|
|
10351
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10352
|
+
* https://openapi-generator.tech
|
|
10353
|
+
* Do not edit the class manually.
|
|
10354
|
+
*/
|
|
10355
|
+
|
|
10303
10356
|
/**
|
|
10304
10357
|
* RenewAire CORES API
|
|
10305
10358
|
*
|
|
@@ -10343,7 +10396,7 @@ var OperationType;
|
|
|
10343
10396
|
* Do not edit the class manually.
|
|
10344
10397
|
*/
|
|
10345
10398
|
/**
|
|
10346
|
-
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />
|
|
10399
|
+
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<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 />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 />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />61 = ViewRolesTable<br />62 = ViewPermissionBundles<br />63 = EditUsers<br />64 = BombMaterialsAdmin<br />65 = BombRoutingAdmin<br />66 = BombSchematicsAdmin<br />67 = BombValidationsAdmin<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
|
|
10347
10400
|
*/
|
|
10348
10401
|
var Permission;
|
|
10349
10402
|
(function (Permission) {
|
|
@@ -10353,7 +10406,6 @@ var Permission;
|
|
|
10353
10406
|
Permission["EditAllProjectsInTheSystem"] = "EditAllProjectsInTheSystem";
|
|
10354
10407
|
Permission["ViewOtherGroupMembersProjects"] = "ViewOtherGroupMembersProjects";
|
|
10355
10408
|
Permission["EditEachOthersGroupMembersProjects"] = "EditEachOthersGroupMembersProjects";
|
|
10356
|
-
Permission["AnswerIncomingChats"] = "AnswerIncomingChats";
|
|
10357
10409
|
Permission["QsEligible"] = "QsEligible";
|
|
10358
10410
|
Permission["ViewQsApplications"] = "ViewQsApplications";
|
|
10359
10411
|
Permission["ViewPricing"] = "ViewPricing";
|
|
@@ -10376,10 +10428,6 @@ var Permission;
|
|
|
10376
10428
|
Permission["EditCertainReadonlyFields"] = "EditCertainReadonlyFields";
|
|
10377
10429
|
Permission["ViewRenewAireOnlyData"] = "ViewRenewAireOnlyData";
|
|
10378
10430
|
Permission["ViewAhriCertificationItemsAndData"] = "ViewAhriCertificationItemsAndData";
|
|
10379
|
-
Permission["ReassignProjects"] = "ReassignProjects";
|
|
10380
|
-
Permission["CreateNewProjects"] = "CreateNewProjects";
|
|
10381
|
-
Permission["CreateNewLineItems"] = "CreateNewLineItems";
|
|
10382
|
-
Permission["ViewClosedLines"] = "ViewClosedLines";
|
|
10383
10431
|
Permission["AccessSiteInMaintenanceMode"] = "AccessSiteInMaintenanceMode";
|
|
10384
10432
|
Permission["ViewSoldToSelectionAndInformation"] = "ViewSoldToSelectionAndInformation";
|
|
10385
10433
|
Permission["Rep"] = "Rep";
|
|
@@ -10403,7 +10451,6 @@ var Permission;
|
|
|
10403
10451
|
Permission["ViewRenewAireLeadTimesData"] = "ViewRenewAireLeadTimesData";
|
|
10404
10452
|
Permission["ViewSpLeadTimesData"] = "ViewSpLeadTimesData";
|
|
10405
10453
|
Permission["ViewRepReports"] = "ViewRepReports";
|
|
10406
|
-
Permission["ViewFinancialReports"] = "ViewFinancialReports";
|
|
10407
10454
|
Permission["AccessPartnerPortal"] = "AccessPartnerPortal";
|
|
10408
10455
|
Permission["AccessExchangerPerformanceApp"] = "AccessExchangerPerformanceApp";
|
|
10409
10456
|
Permission["ViewDefrost"] = "ViewDefrost";
|