@saritasa/renewaire-frontend-sdk 0.186.0 → 0.188.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
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.186.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.188.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.186.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.188.0 --save
5
5
  ```
@@ -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
  *
@@ -4048,7 +4133,7 @@ class ProjectRevisionsApiService extends BaseService {
4048
4133
  throw new Error("Required parameter projectRevisionId was null or undefined when calling projectRevisionsUpdateRevision.");
4049
4134
  }
4050
4135
  const isEndEditMode = requestParameters?.isEndEditMode;
4051
- const updateProjectRevisionDto = requestParameters?.updateProjectRevisionDto;
4136
+ const updateProjectRevisionDtoOperation = requestParameters?.updateProjectRevisionDtoOperation;
4052
4137
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
4053
4138
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isEndEditMode, "isEndEditMode");
4054
4139
  let localVarHeaders = this.defaultHeaders;
@@ -4092,7 +4177,7 @@ class ProjectRevisionsApiService extends BaseService {
4092
4177
  const { basePath, withCredentials } = this.configuration;
4093
4178
  return this.httpClient.request("patch", `${basePath}${localVarPath}`, {
4094
4179
  context: localVarHttpContext,
4095
- body: updateProjectRevisionDto,
4180
+ body: updateProjectRevisionDtoOperation,
4096
4181
  params: localVarQueryParameters,
4097
4182
  responseType: responseType_,
4098
4183
  ...(withCredentials ? { withCredentials } : {}),
@@ -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
  *
@@ -11481,6 +11577,16 @@ var UnitSystem;
11481
11577
  * Do not edit the class manually.
11482
11578
  */
11483
11579
 
11580
+ /**
11581
+ * RenewAire CORES API
11582
+ *
11583
+ * Contact: renewaire@saritasa.com
11584
+ *
11585
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11586
+ * https://openapi-generator.tech
11587
+ * Do not edit the class manually.
11588
+ */
11589
+
11484
11590
  /**
11485
11591
  * RenewAire CORES API
11486
11592
  *
@@ -11562,5 +11668,5 @@ function provideApi(configOrBasePath) {
11562
11668
  * Generated bundle index. Do not edit.
11563
11669
  */
11564
11670
 
11565
- 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 };
11566
11672
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map