@saritasa/renewaire-frontend-sdk 0.256.0 → 0.257.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.256.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.257.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.256.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.257.0 --save
5
5
  ```
@@ -1916,6 +1916,63 @@ class BombParametersApiService extends BaseService {
1916
1916
  reportProgress: reportProgress,
1917
1917
  });
1918
1918
  }
1919
+ modelParametersSearchRoutingLayersAggregate(requestParameters, observe = "body", reportProgress = false, options) {
1920
+ const modelNumber = requestParameters?.modelNumber;
1921
+ if (modelNumber === null || modelNumber === undefined) {
1922
+ throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchRoutingLayersAggregate.");
1923
+ }
1924
+ const buildDate = requestParameters?.buildDate;
1925
+ if (buildDate === null || buildDate === undefined) {
1926
+ throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchRoutingLayersAggregate.");
1927
+ }
1928
+ const modelParameters = requestParameters?.modelParameters;
1929
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1930
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, modelNumber, "ModelNumber");
1931
+ if (modelParameters) {
1932
+ modelParameters.forEach((element) => {
1933
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
1934
+ });
1935
+ }
1936
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
1937
+ let localVarHeaders = this.defaultHeaders;
1938
+ // authentication (Bearer) required
1939
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1940
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1941
+ this.configuration.selectHeaderAccept([
1942
+ "text/plain",
1943
+ "application/json",
1944
+ "text/json",
1945
+ ]);
1946
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1947
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1948
+ }
1949
+ const localVarHttpContext = options?.context ?? new HttpContext();
1950
+ const localVarTransferCache = options?.transferCache ?? true;
1951
+ let responseType_ = "json";
1952
+ if (localVarHttpHeaderAcceptSelected) {
1953
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1954
+ responseType_ = "text";
1955
+ }
1956
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1957
+ responseType_ = "json";
1958
+ }
1959
+ else {
1960
+ responseType_ = "blob";
1961
+ }
1962
+ }
1963
+ let localVarPath = `/api/bomb/model-parameters/routings/aggregate`;
1964
+ const { basePath, withCredentials } = this.configuration;
1965
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1966
+ context: localVarHttpContext,
1967
+ params: localVarQueryParameters,
1968
+ responseType: responseType_,
1969
+ ...(withCredentials ? { withCredentials } : {}),
1970
+ headers: localVarHeaders,
1971
+ observe: observe,
1972
+ transferCache: localVarTransferCache,
1973
+ reportProgress: reportProgress,
1974
+ });
1975
+ }
1919
1976
  modelParametersSearchRoutingLayersNested(requestParameters, observe = "body", reportProgress = false, options) {
1920
1977
  const modelNumber = requestParameters?.modelNumber;
1921
1978
  if (modelNumber === null || modelNumber === undefined) {
@@ -3508,6 +3565,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
3508
3565
  type: Optional
3509
3566
  }] }] });
3510
3567
 
3568
+ /**
3569
+ * RenewAire CORES API
3570
+ *
3571
+ * Contact: renewaire@saritasa.com
3572
+ *
3573
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3574
+ * https://openapi-generator.tech
3575
+ * Do not edit the class manually.
3576
+ */
3577
+ /* tslint:disable:no-unused-variable member-ordering */
3578
+ class CsiApiService extends BaseService {
3579
+ httpClient;
3580
+ constructor(httpClient, basePath, configuration) {
3581
+ super(basePath, configuration);
3582
+ this.httpClient = httpClient;
3583
+ }
3584
+ csiCreateCsiItem(requestParameters, observe = "body", reportProgress = false, options) {
3585
+ const searchBombDto = requestParameters?.searchBombDto;
3586
+ let localVarHeaders = this.defaultHeaders;
3587
+ // authentication (Bearer) required
3588
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
3589
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3590
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3591
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3592
+ }
3593
+ const localVarHttpContext = options?.context ?? new HttpContext();
3594
+ const localVarTransferCache = options?.transferCache ?? true;
3595
+ // to determine the Content-Type header
3596
+ const consumes = [
3597
+ "application/json-patch+json",
3598
+ "application/json",
3599
+ "text/json",
3600
+ "application/*+json",
3601
+ ];
3602
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3603
+ if (httpContentTypeSelected !== undefined) {
3604
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3605
+ }
3606
+ let responseType_ = "json";
3607
+ if (localVarHttpHeaderAcceptSelected) {
3608
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3609
+ responseType_ = "text";
3610
+ }
3611
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3612
+ responseType_ = "json";
3613
+ }
3614
+ else {
3615
+ responseType_ = "blob";
3616
+ }
3617
+ }
3618
+ let localVarPath = `/api/csi/item`;
3619
+ const { basePath, withCredentials } = this.configuration;
3620
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3621
+ context: localVarHttpContext,
3622
+ body: searchBombDto,
3623
+ responseType: responseType_,
3624
+ ...(withCredentials ? { withCredentials } : {}),
3625
+ headers: localVarHeaders,
3626
+ observe: observe,
3627
+ transferCache: localVarTransferCache,
3628
+ reportProgress: reportProgress,
3629
+ });
3630
+ }
3631
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CsiApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3632
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CsiApiService, providedIn: "root" });
3633
+ }
3634
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CsiApiService, decorators: [{
3635
+ type: Injectable,
3636
+ args: [{
3637
+ providedIn: "root",
3638
+ }]
3639
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3640
+ type: Optional
3641
+ }, {
3642
+ type: Inject,
3643
+ args: [BASE_PATH]
3644
+ }] }, { type: Configuration, decorators: [{
3645
+ type: Optional
3646
+ }] }] });
3647
+
3511
3648
  /**
3512
3649
  * RenewAire CORES API
3513
3650
  *
@@ -12805,6 +12942,7 @@ const APIS = [
12805
12942
  BombSchematicsApiService,
12806
12943
  BombValidationsApiService,
12807
12944
  ControllerProgramsApiService,
12945
+ CsiApiService,
12808
12946
  FeedbacksApiService,
12809
12947
  GroupsApiService,
12810
12948
  KnownContactsApiService,
@@ -13581,6 +13719,16 @@ var ModelNumberValidationErrorType;
13581
13719
  * Do not edit the class manually.
13582
13720
  */
13583
13721
 
13722
+ /**
13723
+ * RenewAire CORES API
13724
+ *
13725
+ * Contact: renewaire@saritasa.com
13726
+ *
13727
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13728
+ * https://openapi-generator.tech
13729
+ * Do not edit the class manually.
13730
+ */
13731
+
13584
13732
  /**
13585
13733
  * RenewAire CORES API
13586
13734
  *
@@ -14658,5 +14806,5 @@ function provideApi(configOrBasePath) {
14658
14806
  * Generated bundle index. Do not edit.
14659
14807
  */
14660
14808
 
14661
- 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 };
14809
+ 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, CsiApiService, 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 };
14662
14810
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map