@saritasa/renewaire-frontend-sdk 0.245.3 → 0.247.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.245.3
1
+ # @@saritasa/renewaire-frontend-sdk@0.247.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.245.3 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.247.0 --save
5
5
  ```
@@ -4590,6 +4590,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
4590
4590
  type: Optional
4591
4591
  }] }] });
4592
4592
 
4593
+ /**
4594
+ * RenewAire CORES API
4595
+ *
4596
+ * Contact: renewaire@saritasa.com
4597
+ *
4598
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4599
+ * https://openapi-generator.tech
4600
+ * Do not edit the class manually.
4601
+ */
4602
+ /* tslint:disable:no-unused-variable member-ordering */
4603
+ class PricingApiService extends BaseService {
4604
+ httpClient;
4605
+ constructor(httpClient, basePath, configuration) {
4606
+ super(basePath, configuration);
4607
+ this.httpClient = httpClient;
4608
+ }
4609
+ projectPricingCalculatePriceSources(requestParameters, observe = "body", reportProgress = false, options) {
4610
+ const calculatePricesDto = requestParameters?.calculatePricesDto;
4611
+ let localVarHeaders = this.defaultHeaders;
4612
+ // authentication (Bearer) required
4613
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
4614
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
4615
+ this.configuration.selectHeaderAccept([
4616
+ "text/plain",
4617
+ "application/json",
4618
+ "text/json",
4619
+ ]);
4620
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4621
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
4622
+ }
4623
+ const localVarHttpContext = options?.context ?? new HttpContext();
4624
+ const localVarTransferCache = options?.transferCache ?? true;
4625
+ // to determine the Content-Type header
4626
+ const consumes = [
4627
+ "application/json-patch+json",
4628
+ "application/json",
4629
+ "text/json",
4630
+ "application/*+json",
4631
+ ];
4632
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4633
+ if (httpContentTypeSelected !== undefined) {
4634
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
4635
+ }
4636
+ let responseType_ = "json";
4637
+ if (localVarHttpHeaderAcceptSelected) {
4638
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
4639
+ responseType_ = "text";
4640
+ }
4641
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4642
+ responseType_ = "json";
4643
+ }
4644
+ else {
4645
+ responseType_ = "blob";
4646
+ }
4647
+ }
4648
+ let localVarPath = `/api/pricing`;
4649
+ const { basePath, withCredentials } = this.configuration;
4650
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4651
+ context: localVarHttpContext,
4652
+ body: calculatePricesDto,
4653
+ responseType: responseType_,
4654
+ ...(withCredentials ? { withCredentials } : {}),
4655
+ headers: localVarHeaders,
4656
+ observe: observe,
4657
+ transferCache: localVarTransferCache,
4658
+ reportProgress: reportProgress,
4659
+ });
4660
+ }
4661
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PricingApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4662
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PricingApiService, providedIn: "root" });
4663
+ }
4664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PricingApiService, decorators: [{
4665
+ type: Injectable,
4666
+ args: [{
4667
+ providedIn: "root",
4668
+ }]
4669
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4670
+ type: Optional
4671
+ }, {
4672
+ type: Inject,
4673
+ args: [BASE_PATH]
4674
+ }] }, { type: Configuration, decorators: [{
4675
+ type: Optional
4676
+ }] }] });
4677
+
4593
4678
  /**
4594
4679
  * RenewAire CORES API
4595
4680
  *
@@ -12463,6 +12548,7 @@ const APIS = [
12463
12548
  PartsApiService,
12464
12549
  PermissionBundlesApiService,
12465
12550
  PermissionsApiService,
12551
+ PricingApiService,
12466
12552
  ProjectBidStatusesApiService,
12467
12553
  ProjectDiscountsApiService,
12468
12554
  ProjectLinesApiService,
@@ -12704,6 +12790,16 @@ var BuildingType;
12704
12790
  * Do not edit the class manually.
12705
12791
  */
12706
12792
 
12793
+ /**
12794
+ * RenewAire CORES API
12795
+ *
12796
+ * Contact: renewaire@saritasa.com
12797
+ *
12798
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12799
+ * https://openapi-generator.tech
12800
+ * Do not edit the class manually.
12801
+ */
12802
+
12707
12803
  /**
12708
12804
  * RenewAire CORES API
12709
12805
  *
@@ -13210,26 +13306,6 @@ var ModelNumberValidationErrorType;
13210
13306
  * Do not edit the class manually.
13211
13307
  */
13212
13308
 
13213
- /**
13214
- * RenewAire CORES API
13215
- *
13216
- * Contact: renewaire@saritasa.com
13217
- *
13218
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13219
- * https://openapi-generator.tech
13220
- * Do not edit the class manually.
13221
- */
13222
-
13223
- /**
13224
- * RenewAire CORES API
13225
- *
13226
- * Contact: renewaire@saritasa.com
13227
- *
13228
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13229
- * https://openapi-generator.tech
13230
- * Do not edit the class manually.
13231
- */
13232
-
13233
13309
  /**
13234
13310
  * RenewAire CORES API
13235
13311
  *
@@ -13441,6 +13517,16 @@ var Permission;
13441
13517
  * Do not edit the class manually.
13442
13518
  */
13443
13519
 
13520
+ /**
13521
+ * RenewAire CORES API
13522
+ *
13523
+ * Contact: renewaire@saritasa.com
13524
+ *
13525
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13526
+ * https://openapi-generator.tech
13527
+ * Do not edit the class manually.
13528
+ */
13529
+
13444
13530
  /**
13445
13531
  * RenewAire CORES API
13446
13532
  *
@@ -14225,6 +14311,16 @@ var UserStatus;
14225
14311
  * Do not edit the class manually.
14226
14312
  */
14227
14313
 
14314
+ /**
14315
+ * RenewAire CORES API
14316
+ *
14317
+ * Contact: renewaire@saritasa.com
14318
+ *
14319
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14320
+ * https://openapi-generator.tech
14321
+ * Do not edit the class manually.
14322
+ */
14323
+
14228
14324
  class ApiModule {
14229
14325
  static forRoot(configurationFactory) {
14230
14326
  return {
@@ -14277,5 +14373,5 @@ function provideApi(configOrBasePath) {
14277
14373
  * Generated bundle index. Do not edit.
14278
14374
  */
14279
14375
 
14280
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDrawingsApiService, BombMaterialsApiService, BombParametersApiService, 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, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, 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 };
14376
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDrawingsApiService, BombMaterialsApiService, BombParametersApiService, 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, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, PricingApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, 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 };
14281
14377
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map