@saritasa/renewaire-frontend-sdk 0.187.0 → 0.189.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
|
@@ -1408,6 +1408,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
1408
1408
|
type: Optional
|
|
1409
1409
|
}] }] });
|
|
1410
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* RenewAire CORES API
|
|
1413
|
+
*
|
|
1414
|
+
* Contact: renewaire@saritasa.com
|
|
1415
|
+
*
|
|
1416
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1417
|
+
* https://openapi-generator.tech
|
|
1418
|
+
* Do not edit the class manually.
|
|
1419
|
+
*/
|
|
1420
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1421
|
+
class BombValidationsApiService extends BaseService {
|
|
1422
|
+
httpClient;
|
|
1423
|
+
constructor(httpClient, basePath, configuration) {
|
|
1424
|
+
super(basePath, configuration);
|
|
1425
|
+
this.httpClient = httpClient;
|
|
1426
|
+
}
|
|
1427
|
+
validationsCreateValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1428
|
+
const createValidationLayerCommand = requestParameters?.createValidationLayerCommand;
|
|
1429
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1430
|
+
// authentication (Bearer) required
|
|
1431
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1432
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1433
|
+
this.configuration.selectHeaderAccept([
|
|
1434
|
+
"text/plain",
|
|
1435
|
+
"application/json",
|
|
1436
|
+
"text/json",
|
|
1437
|
+
]);
|
|
1438
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1439
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1440
|
+
}
|
|
1441
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1442
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1443
|
+
// to determine the Content-Type header
|
|
1444
|
+
const consumes = [
|
|
1445
|
+
"application/json-patch+json",
|
|
1446
|
+
"application/json",
|
|
1447
|
+
"text/json",
|
|
1448
|
+
"application/*+json",
|
|
1449
|
+
];
|
|
1450
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1451
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1452
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1453
|
+
}
|
|
1454
|
+
let responseType_ = "json";
|
|
1455
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1456
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1457
|
+
responseType_ = "text";
|
|
1458
|
+
}
|
|
1459
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1460
|
+
responseType_ = "json";
|
|
1461
|
+
}
|
|
1462
|
+
else {
|
|
1463
|
+
responseType_ = "blob";
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
let localVarPath = `/api/bomb/validations`;
|
|
1467
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1468
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1469
|
+
context: localVarHttpContext,
|
|
1470
|
+
body: createValidationLayerCommand,
|
|
1471
|
+
responseType: responseType_,
|
|
1472
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1473
|
+
headers: localVarHeaders,
|
|
1474
|
+
observe: observe,
|
|
1475
|
+
transferCache: localVarTransferCache,
|
|
1476
|
+
reportProgress: reportProgress,
|
|
1477
|
+
});
|
|
1478
|
+
}
|
|
1479
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombValidationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1480
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombValidationsApiService, providedIn: "root" });
|
|
1481
|
+
}
|
|
1482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombValidationsApiService, decorators: [{
|
|
1483
|
+
type: Injectable,
|
|
1484
|
+
args: [{
|
|
1485
|
+
providedIn: "root",
|
|
1486
|
+
}]
|
|
1487
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1488
|
+
type: Optional
|
|
1489
|
+
}, {
|
|
1490
|
+
type: Inject,
|
|
1491
|
+
args: [BASE_PATH]
|
|
1492
|
+
}] }, { type: Configuration, decorators: [{
|
|
1493
|
+
type: Optional
|
|
1494
|
+
}] }] });
|
|
1495
|
+
|
|
1411
1496
|
/**
|
|
1412
1497
|
* RenewAire CORES API
|
|
1413
1498
|
*
|
|
@@ -10064,6 +10149,7 @@ const APIS = [
|
|
|
10064
10149
|
BombMaterialsApiService,
|
|
10065
10150
|
BombRoutingsApiService,
|
|
10066
10151
|
BombSchematicsApiService,
|
|
10152
|
+
BombValidationsApiService,
|
|
10067
10153
|
ControllerProgramsApiService,
|
|
10068
10154
|
FeedbacksApiService,
|
|
10069
10155
|
GroupsApiService,
|
|
@@ -10422,6 +10508,16 @@ var CoolingDesignBasis;
|
|
|
10422
10508
|
* Do not edit the class manually.
|
|
10423
10509
|
*/
|
|
10424
10510
|
|
|
10511
|
+
/**
|
|
10512
|
+
* RenewAire CORES API
|
|
10513
|
+
*
|
|
10514
|
+
* Contact: renewaire@saritasa.com
|
|
10515
|
+
*
|
|
10516
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10517
|
+
* https://openapi-generator.tech
|
|
10518
|
+
* Do not edit the class manually.
|
|
10519
|
+
*/
|
|
10520
|
+
|
|
10425
10521
|
/**
|
|
10426
10522
|
* RenewAire CORES API
|
|
10427
10523
|
*
|
|
@@ -11572,5 +11668,5 @@ function provideApi(configOrBasePath) {
|
|
|
11572
11668
|
* Generated bundle index. Do not edit.
|
|
11573
11669
|
*/
|
|
11574
11670
|
|
|
11575
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombRoutingsApiService, BombSchematicsApiService, 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, ProjectAccessLevel, 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 };
|
|
11671
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, 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, ProjectAccessLevel, 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 };
|
|
11576
11672
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|