@saritasa/renewaire-frontend-sdk 0.182.1 → 0.184.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
|
@@ -1251,6 +1251,57 @@ class BombSchematicsApiService extends BaseService {
|
|
|
1251
1251
|
reportProgress: reportProgress,
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
|
+
schematicsUpdateSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1255
|
+
const schematicLayerId = requestParameters?.schematicLayerId;
|
|
1256
|
+
if (schematicLayerId === null || schematicLayerId === undefined) {
|
|
1257
|
+
throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsUpdateSchematicLayer.");
|
|
1258
|
+
}
|
|
1259
|
+
const saveSchematicLayerDto = requestParameters?.saveSchematicLayerDto;
|
|
1260
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1261
|
+
// authentication (Bearer) required
|
|
1262
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1263
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1264
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1265
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1266
|
+
}
|
|
1267
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1268
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1269
|
+
// to determine the Content-Type header
|
|
1270
|
+
const consumes = [
|
|
1271
|
+
"application/json-patch+json",
|
|
1272
|
+
"application/json",
|
|
1273
|
+
"text/json",
|
|
1274
|
+
"application/*+json",
|
|
1275
|
+
];
|
|
1276
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1277
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1278
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1279
|
+
}
|
|
1280
|
+
let responseType_ = "json";
|
|
1281
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1282
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1283
|
+
responseType_ = "text";
|
|
1284
|
+
}
|
|
1285
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1286
|
+
responseType_ = "json";
|
|
1287
|
+
}
|
|
1288
|
+
else {
|
|
1289
|
+
responseType_ = "blob";
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
1293
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1294
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1295
|
+
context: localVarHttpContext,
|
|
1296
|
+
body: saveSchematicLayerDto,
|
|
1297
|
+
responseType: responseType_,
|
|
1298
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1299
|
+
headers: localVarHeaders,
|
|
1300
|
+
observe: observe,
|
|
1301
|
+
transferCache: localVarTransferCache,
|
|
1302
|
+
reportProgress: reportProgress,
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1254
1305
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1255
1306
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, providedIn: "root" });
|
|
1256
1307
|
}
|
|
@@ -10382,7 +10433,7 @@ var FeedbackType;
|
|
|
10382
10433
|
* Do not edit the class manually.
|
|
10383
10434
|
*/
|
|
10384
10435
|
/**
|
|
10385
|
-
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment
|
|
10436
|
+
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = SchematicLayerFile
|
|
10386
10437
|
*/
|
|
10387
10438
|
var FileType;
|
|
10388
10439
|
(function (FileType) {
|
|
@@ -10391,6 +10442,7 @@ var FileType;
|
|
|
10391
10442
|
FileType["RepSalesReport"] = "RepSalesReport";
|
|
10392
10443
|
FileType["ProjectNoteAttachment"] = "ProjectNoteAttachment";
|
|
10393
10444
|
FileType["BidStatusAttachment"] = "BidStatusAttachment";
|
|
10445
|
+
FileType["SchematicLayerFile"] = "SchematicLayerFile";
|
|
10394
10446
|
})(FileType || (FileType = {}));
|
|
10395
10447
|
|
|
10396
10448
|
/**
|
|
@@ -10632,7 +10684,7 @@ var OperationType;
|
|
|
10632
10684
|
* Do not edit the class manually.
|
|
10633
10685
|
*/
|
|
10634
10686
|
/**
|
|
10635
|
-
* 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 />
|
|
10687
|
+
* 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 />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
|
|
10636
10688
|
*/
|
|
10637
10689
|
var Permission;
|
|
10638
10690
|
(function (Permission) {
|
|
@@ -10668,7 +10720,6 @@ var Permission;
|
|
|
10668
10720
|
Permission["Rep"] = "Rep";
|
|
10669
10721
|
Permission["RequestAccountUpgrade"] = "RequestAccountUpgrade";
|
|
10670
10722
|
Permission["EditUserAccountEmailAddress"] = "EditUserAccountEmailAddress";
|
|
10671
|
-
Permission["ManageAllUserGroups"] = "ManageAllUserGroups";
|
|
10672
10723
|
Permission["ManageRsdRegions"] = "ManageRsdRegions";
|
|
10673
10724
|
Permission["ViewRsdRegions"] = "ViewRsdRegions";
|
|
10674
10725
|
Permission["ManageRepTerritories"] = "ManageRepTerritories";
|