@saritasa/renewaire-frontend-sdk 0.172.0 → 0.175.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
|
@@ -6746,6 +6746,100 @@ class RoutingsApiService extends BaseService {
|
|
|
6746
6746
|
reportProgress: reportProgress,
|
|
6747
6747
|
});
|
|
6748
6748
|
}
|
|
6749
|
+
routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6750
|
+
const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
|
|
6751
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
6752
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentRoutingLayerId, "ParentRoutingLayerId");
|
|
6753
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6754
|
+
// authentication (Bearer) required
|
|
6755
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6756
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
6757
|
+
this.configuration.selectHeaderAccept([
|
|
6758
|
+
"text/plain",
|
|
6759
|
+
"application/json",
|
|
6760
|
+
"text/json",
|
|
6761
|
+
]);
|
|
6762
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6763
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6764
|
+
}
|
|
6765
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6766
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6767
|
+
let responseType_ = "json";
|
|
6768
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6769
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6770
|
+
responseType_ = "text";
|
|
6771
|
+
}
|
|
6772
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6773
|
+
responseType_ = "json";
|
|
6774
|
+
}
|
|
6775
|
+
else {
|
|
6776
|
+
responseType_ = "blob";
|
|
6777
|
+
}
|
|
6778
|
+
}
|
|
6779
|
+
let localVarPath = `/api/routings`;
|
|
6780
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6781
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
6782
|
+
context: localVarHttpContext,
|
|
6783
|
+
params: localVarQueryParameters,
|
|
6784
|
+
responseType: responseType_,
|
|
6785
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6786
|
+
headers: localVarHeaders,
|
|
6787
|
+
observe: observe,
|
|
6788
|
+
transferCache: localVarTransferCache,
|
|
6789
|
+
reportProgress: reportProgress,
|
|
6790
|
+
});
|
|
6791
|
+
}
|
|
6792
|
+
routingsUpdateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6793
|
+
const routingLayerId = requestParameters?.routingLayerId;
|
|
6794
|
+
if (routingLayerId === null || routingLayerId === undefined) {
|
|
6795
|
+
throw new Error("Required parameter routingLayerId was null or undefined when calling routingsUpdateRoutingLayer.");
|
|
6796
|
+
}
|
|
6797
|
+
const saveRoutingLayerDto = requestParameters?.saveRoutingLayerDto;
|
|
6798
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6799
|
+
// authentication (Bearer) required
|
|
6800
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6801
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6802
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6803
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6804
|
+
}
|
|
6805
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6806
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6807
|
+
// to determine the Content-Type header
|
|
6808
|
+
const consumes = [
|
|
6809
|
+
"application/json-patch+json",
|
|
6810
|
+
"application/json",
|
|
6811
|
+
"text/json",
|
|
6812
|
+
"application/*+json",
|
|
6813
|
+
];
|
|
6814
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6815
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6816
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6817
|
+
}
|
|
6818
|
+
let responseType_ = "json";
|
|
6819
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6820
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6821
|
+
responseType_ = "text";
|
|
6822
|
+
}
|
|
6823
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6824
|
+
responseType_ = "json";
|
|
6825
|
+
}
|
|
6826
|
+
else {
|
|
6827
|
+
responseType_ = "blob";
|
|
6828
|
+
}
|
|
6829
|
+
}
|
|
6830
|
+
let localVarPath = `/api/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
6831
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6832
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
6833
|
+
context: localVarHttpContext,
|
|
6834
|
+
body: saveRoutingLayerDto,
|
|
6835
|
+
responseType: responseType_,
|
|
6836
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6837
|
+
headers: localVarHeaders,
|
|
6838
|
+
observe: observe,
|
|
6839
|
+
transferCache: localVarTransferCache,
|
|
6840
|
+
reportProgress: reportProgress,
|
|
6841
|
+
});
|
|
6842
|
+
}
|
|
6749
6843
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: RoutingsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6750
6844
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: RoutingsApiService, providedIn: "root" });
|
|
6751
6845
|
}
|
|
@@ -10396,7 +10490,7 @@ var OperationType;
|
|
|
10396
10490
|
* Do not edit the class manually.
|
|
10397
10491
|
*/
|
|
10398
10492
|
/**
|
|
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 />
|
|
10493
|
+
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<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
|
|
10400
10494
|
*/
|
|
10401
10495
|
var Permission;
|
|
10402
10496
|
(function (Permission) {
|
|
@@ -10406,8 +10500,6 @@ var Permission;
|
|
|
10406
10500
|
Permission["EditAllProjectsInTheSystem"] = "EditAllProjectsInTheSystem";
|
|
10407
10501
|
Permission["ViewOtherGroupMembersProjects"] = "ViewOtherGroupMembersProjects";
|
|
10408
10502
|
Permission["EditEachOthersGroupMembersProjects"] = "EditEachOthersGroupMembersProjects";
|
|
10409
|
-
Permission["AnswerIncomingChats"] = "AnswerIncomingChats";
|
|
10410
|
-
Permission["QsEligible"] = "QsEligible";
|
|
10411
10503
|
Permission["ViewQsApplications"] = "ViewQsApplications";
|
|
10412
10504
|
Permission["ViewPricing"] = "ViewPricing";
|
|
10413
10505
|
Permission["ConfigurationAccessDoas"] = "ConfigurationAccessDoas";
|
|
@@ -10429,10 +10521,6 @@ var Permission;
|
|
|
10429
10521
|
Permission["EditCertainReadonlyFields"] = "EditCertainReadonlyFields";
|
|
10430
10522
|
Permission["ViewRenewAireOnlyData"] = "ViewRenewAireOnlyData";
|
|
10431
10523
|
Permission["ViewAhriCertificationItemsAndData"] = "ViewAhriCertificationItemsAndData";
|
|
10432
|
-
Permission["ReassignProjects"] = "ReassignProjects";
|
|
10433
|
-
Permission["CreateNewProjects"] = "CreateNewProjects";
|
|
10434
|
-
Permission["CreateNewLineItems"] = "CreateNewLineItems";
|
|
10435
|
-
Permission["ViewClosedLines"] = "ViewClosedLines";
|
|
10436
10524
|
Permission["AccessSiteInMaintenanceMode"] = "AccessSiteInMaintenanceMode";
|
|
10437
10525
|
Permission["ViewSoldToSelectionAndInformation"] = "ViewSoldToSelectionAndInformation";
|
|
10438
10526
|
Permission["Rep"] = "Rep";
|
|
@@ -10456,7 +10544,6 @@ var Permission;
|
|
|
10456
10544
|
Permission["ViewRenewAireLeadTimesData"] = "ViewRenewAireLeadTimesData";
|
|
10457
10545
|
Permission["ViewSpLeadTimesData"] = "ViewSpLeadTimesData";
|
|
10458
10546
|
Permission["ViewRepReports"] = "ViewRepReports";
|
|
10459
|
-
Permission["ViewFinancialReports"] = "ViewFinancialReports";
|
|
10460
10547
|
Permission["AccessPartnerPortal"] = "AccessPartnerPortal";
|
|
10461
10548
|
Permission["AccessExchangerPerformanceApp"] = "AccessExchangerPerformanceApp";
|
|
10462
10549
|
Permission["ViewDefrost"] = "ViewDefrost";
|
|
@@ -10995,6 +11082,26 @@ var RegistrationStatus;
|
|
|
10995
11082
|
* Do not edit the class manually.
|
|
10996
11083
|
*/
|
|
10997
11084
|
|
|
11085
|
+
/**
|
|
11086
|
+
* RenewAire CORES API
|
|
11087
|
+
*
|
|
11088
|
+
* Contact: renewaire@saritasa.com
|
|
11089
|
+
*
|
|
11090
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11091
|
+
* https://openapi-generator.tech
|
|
11092
|
+
* Do not edit the class manually.
|
|
11093
|
+
*/
|
|
11094
|
+
|
|
11095
|
+
/**
|
|
11096
|
+
* RenewAire CORES API
|
|
11097
|
+
*
|
|
11098
|
+
* Contact: renewaire@saritasa.com
|
|
11099
|
+
*
|
|
11100
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11101
|
+
* https://openapi-generator.tech
|
|
11102
|
+
* Do not edit the class manually.
|
|
11103
|
+
*/
|
|
11104
|
+
|
|
10998
11105
|
/**
|
|
10999
11106
|
* RenewAire CORES API
|
|
11000
11107
|
*
|