@saritasa/renewaire-frontend-sdk 0.169.0 → 0.171.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
|
@@ -6077,6 +6077,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
6077
6077
|
const phone = requestParameters?.phone;
|
|
6078
6078
|
const email = requestParameters?.email;
|
|
6079
6079
|
const website = requestParameters?.website;
|
|
6080
|
+
const csiSalesman = requestParameters?.csiSalesman;
|
|
6080
6081
|
const text = requestParameters?.text;
|
|
6081
6082
|
const orderBy = requestParameters?.orderBy;
|
|
6082
6083
|
const page = requestParameters?.page;
|
|
@@ -6103,6 +6104,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
6103
6104
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, phone, "Phone");
|
|
6104
6105
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, email, "Email");
|
|
6105
6106
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, website, "Website");
|
|
6107
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, csiSalesman, "CsiSalesman");
|
|
6106
6108
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
|
|
6107
6109
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
6108
6110
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
@@ -6633,6 +6635,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
6633
6635
|
type: Optional
|
|
6634
6636
|
}] }] });
|
|
6635
6637
|
|
|
6638
|
+
/**
|
|
6639
|
+
* RenewAire CORES API
|
|
6640
|
+
*
|
|
6641
|
+
* Contact: renewaire@saritasa.com
|
|
6642
|
+
*
|
|
6643
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6644
|
+
* https://openapi-generator.tech
|
|
6645
|
+
* Do not edit the class manually.
|
|
6646
|
+
*/
|
|
6647
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
6648
|
+
class RoutingsApiService extends BaseService {
|
|
6649
|
+
httpClient;
|
|
6650
|
+
constructor(httpClient, basePath, configuration) {
|
|
6651
|
+
super(basePath, configuration);
|
|
6652
|
+
this.httpClient = httpClient;
|
|
6653
|
+
}
|
|
6654
|
+
routingsCreateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6655
|
+
const createRoutingLayerCommand = requestParameters?.createRoutingLayerCommand;
|
|
6656
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6657
|
+
// authentication (Bearer) required
|
|
6658
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6659
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
6660
|
+
this.configuration.selectHeaderAccept([
|
|
6661
|
+
"text/plain",
|
|
6662
|
+
"application/json",
|
|
6663
|
+
"text/json",
|
|
6664
|
+
]);
|
|
6665
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6666
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6667
|
+
}
|
|
6668
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6669
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6670
|
+
// to determine the Content-Type header
|
|
6671
|
+
const consumes = [
|
|
6672
|
+
"application/json-patch+json",
|
|
6673
|
+
"application/json",
|
|
6674
|
+
"text/json",
|
|
6675
|
+
"application/*+json",
|
|
6676
|
+
];
|
|
6677
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6678
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6679
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6680
|
+
}
|
|
6681
|
+
let responseType_ = "json";
|
|
6682
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6683
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6684
|
+
responseType_ = "text";
|
|
6685
|
+
}
|
|
6686
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6687
|
+
responseType_ = "json";
|
|
6688
|
+
}
|
|
6689
|
+
else {
|
|
6690
|
+
responseType_ = "blob";
|
|
6691
|
+
}
|
|
6692
|
+
}
|
|
6693
|
+
let localVarPath = `/api/routings`;
|
|
6694
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6695
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
6696
|
+
context: localVarHttpContext,
|
|
6697
|
+
body: createRoutingLayerCommand,
|
|
6698
|
+
responseType: responseType_,
|
|
6699
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6700
|
+
headers: localVarHeaders,
|
|
6701
|
+
observe: observe,
|
|
6702
|
+
transferCache: localVarTransferCache,
|
|
6703
|
+
reportProgress: reportProgress,
|
|
6704
|
+
});
|
|
6705
|
+
}
|
|
6706
|
+
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 });
|
|
6707
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: RoutingsApiService, providedIn: "root" });
|
|
6708
|
+
}
|
|
6709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: RoutingsApiService, decorators: [{
|
|
6710
|
+
type: Injectable,
|
|
6711
|
+
args: [{
|
|
6712
|
+
providedIn: "root",
|
|
6713
|
+
}]
|
|
6714
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
6715
|
+
type: Optional
|
|
6716
|
+
}, {
|
|
6717
|
+
type: Inject,
|
|
6718
|
+
args: [BASE_PATH]
|
|
6719
|
+
}] }, { type: Configuration, decorators: [{
|
|
6720
|
+
type: Optional
|
|
6721
|
+
}] }] });
|
|
6722
|
+
|
|
6636
6723
|
/**
|
|
6637
6724
|
* RenewAire CORES API
|
|
6638
6725
|
*
|
|
@@ -9579,6 +9666,7 @@ const APIS = [
|
|
|
9579
9666
|
RepSalesReportsApiService,
|
|
9580
9667
|
RepTerritoriesApiService,
|
|
9581
9668
|
RepTerritoryLocationsApiService,
|
|
9669
|
+
RoutingsApiService,
|
|
9582
9670
|
RsdRegionsApiService,
|
|
9583
9671
|
S3ApiService,
|
|
9584
9672
|
StaticFilesApiService,
|
|
@@ -9914,6 +10002,16 @@ var CoolingDesignBasis;
|
|
|
9914
10002
|
* Do not edit the class manually.
|
|
9915
10003
|
*/
|
|
9916
10004
|
|
|
10005
|
+
/**
|
|
10006
|
+
* RenewAire CORES API
|
|
10007
|
+
*
|
|
10008
|
+
* Contact: renewaire@saritasa.com
|
|
10009
|
+
*
|
|
10010
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10011
|
+
* https://openapi-generator.tech
|
|
10012
|
+
* Do not edit the class manually.
|
|
10013
|
+
*/
|
|
10014
|
+
|
|
9917
10015
|
/**
|
|
9918
10016
|
* RenewAire CORES API
|
|
9919
10017
|
*
|
|
@@ -10245,7 +10343,7 @@ var OperationType;
|
|
|
10245
10343
|
* Do not edit the class manually.
|
|
10246
10344
|
*/
|
|
10247
10345
|
/**
|
|
10248
|
-
* 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
|
|
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 />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 />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
|
|
10249
10347
|
*/
|
|
10250
10348
|
var Permission;
|
|
10251
10349
|
(function (Permission) {
|
|
@@ -10314,6 +10412,9 @@ var Permission;
|
|
|
10314
10412
|
Permission["ViewPermissionBundles"] = "ViewPermissionBundles";
|
|
10315
10413
|
Permission["EditUsers"] = "EditUsers";
|
|
10316
10414
|
Permission["BombMaterialsAdmin"] = "BombMaterialsAdmin";
|
|
10415
|
+
Permission["BombRoutingAdmin"] = "BombRoutingAdmin";
|
|
10416
|
+
Permission["BombSchematicsAdmin"] = "BombSchematicsAdmin";
|
|
10417
|
+
Permission["BombValidationsAdmin"] = "BombValidationsAdmin";
|
|
10317
10418
|
Permission["SubmitOrder"] = "SubmitOrder";
|
|
10318
10419
|
Permission["ImportOrdersToErp"] = "ImportOrdersToErp";
|
|
10319
10420
|
Permission["ViewDiscountWorkflows"] = "ViewDiscountWorkflows";
|
|
@@ -11000,5 +11101,5 @@ function provideApi(configOrBasePath) {
|
|
|
11000
11101
|
* Generated bundle index. Do not edit.
|
|
11001
11102
|
*/
|
|
11002
11103
|
|
|
11003
|
-
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, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
11104
|
+
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, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RoutingsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
11004
11105
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|