@saritasa/renewaire-frontend-sdk 0.157.0 → 0.159.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.157.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.159.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.157.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.159.0 --save
5
5
  ```
@@ -1960,6 +1960,49 @@ class MaterialsApiService extends BaseService {
1960
1960
  reportProgress: reportProgress,
1961
1961
  });
1962
1962
  }
1963
+ materialsGetMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
1964
+ const materialLayerId = requestParameters?.materialLayerId;
1965
+ if (materialLayerId === null || materialLayerId === undefined) {
1966
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsGetMaterialLayer.");
1967
+ }
1968
+ let localVarHeaders = this.defaultHeaders;
1969
+ // authentication (Bearer) required
1970
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1971
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1972
+ this.configuration.selectHeaderAccept([
1973
+ "text/plain",
1974
+ "application/json",
1975
+ "text/json",
1976
+ ]);
1977
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1978
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1979
+ }
1980
+ const localVarHttpContext = options?.context ?? new HttpContext();
1981
+ const localVarTransferCache = options?.transferCache ?? true;
1982
+ let responseType_ = "json";
1983
+ if (localVarHttpHeaderAcceptSelected) {
1984
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1985
+ responseType_ = "text";
1986
+ }
1987
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1988
+ responseType_ = "json";
1989
+ }
1990
+ else {
1991
+ responseType_ = "blob";
1992
+ }
1993
+ }
1994
+ let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1995
+ const { basePath, withCredentials } = this.configuration;
1996
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1997
+ context: localVarHttpContext,
1998
+ responseType: responseType_,
1999
+ ...(withCredentials ? { withCredentials } : {}),
2000
+ headers: localVarHeaders,
2001
+ observe: observe,
2002
+ transferCache: localVarTransferCache,
2003
+ reportProgress: reportProgress,
2004
+ });
2005
+ }
1963
2006
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1964
2007
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, providedIn: "root" });
1965
2008
  }
@@ -3869,6 +3912,49 @@ class ProjectShippingApiService extends BaseService {
3869
3912
  reportProgress: reportProgress,
3870
3913
  });
3871
3914
  }
3915
+ projectShippingGetLocations(requestParameters, observe = "body", reportProgress = false, options) {
3916
+ const projectRevisionId = requestParameters?.projectRevisionId;
3917
+ if (projectRevisionId === null || projectRevisionId === undefined) {
3918
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectShippingGetLocations.");
3919
+ }
3920
+ let localVarHeaders = this.defaultHeaders;
3921
+ // authentication (Bearer) required
3922
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
3923
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3924
+ this.configuration.selectHeaderAccept([
3925
+ "text/plain",
3926
+ "application/json",
3927
+ "text/json",
3928
+ ]);
3929
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3930
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3931
+ }
3932
+ const localVarHttpContext = options?.context ?? new HttpContext();
3933
+ const localVarTransferCache = options?.transferCache ?? true;
3934
+ let responseType_ = "json";
3935
+ if (localVarHttpHeaderAcceptSelected) {
3936
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3937
+ responseType_ = "text";
3938
+ }
3939
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3940
+ responseType_ = "json";
3941
+ }
3942
+ else {
3943
+ responseType_ = "blob";
3944
+ }
3945
+ }
3946
+ let localVarPath = `/api/project-shipping/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/locations`;
3947
+ const { basePath, withCredentials } = this.configuration;
3948
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3949
+ context: localVarHttpContext,
3950
+ responseType: responseType_,
3951
+ ...(withCredentials ? { withCredentials } : {}),
3952
+ headers: localVarHeaders,
3953
+ observe: observe,
3954
+ transferCache: localVarTransferCache,
3955
+ reportProgress: reportProgress,
3956
+ });
3957
+ }
3872
3958
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectShippingApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3873
3959
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectShippingApiService, providedIn: "root" });
3874
3960
  }
@@ -3886,6 +3972,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
3886
3972
  type: Optional
3887
3973
  }] }] });
3888
3974
 
3975
+ /**
3976
+ * RenewAire CORES API
3977
+ *
3978
+ * Contact: renewaire@saritasa.com
3979
+ *
3980
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3981
+ * https://openapi-generator.tech
3982
+ * Do not edit the class manually.
3983
+ */
3984
+ /* tslint:disable:no-unused-variable member-ordering */
3985
+ class ProjectSoldToApiService extends BaseService {
3986
+ httpClient;
3987
+ constructor(httpClient, basePath, configuration) {
3988
+ super(basePath, configuration);
3989
+ this.httpClient = httpClient;
3990
+ }
3991
+ projectSoldToSearchSoldTo(requestParameters, observe = "body", reportProgress = false, options) {
3992
+ const searchSoldToQueryFilter = requestParameters?.searchSoldToQueryFilter;
3993
+ let localVarHeaders = this.defaultHeaders;
3994
+ // authentication (Bearer) required
3995
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
3996
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3997
+ this.configuration.selectHeaderAccept([
3998
+ "text/plain",
3999
+ "application/json",
4000
+ "text/json",
4001
+ ]);
4002
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4003
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
4004
+ }
4005
+ const localVarHttpContext = options?.context ?? new HttpContext();
4006
+ const localVarTransferCache = options?.transferCache ?? true;
4007
+ // to determine the Content-Type header
4008
+ const consumes = [
4009
+ "application/json-patch+json",
4010
+ "application/json",
4011
+ "text/json",
4012
+ "application/*+json",
4013
+ ];
4014
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4015
+ if (httpContentTypeSelected !== undefined) {
4016
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
4017
+ }
4018
+ let responseType_ = "json";
4019
+ if (localVarHttpHeaderAcceptSelected) {
4020
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
4021
+ responseType_ = "text";
4022
+ }
4023
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4024
+ responseType_ = "json";
4025
+ }
4026
+ else {
4027
+ responseType_ = "blob";
4028
+ }
4029
+ }
4030
+ let localVarPath = `/api/project-sold-to`;
4031
+ const { basePath, withCredentials } = this.configuration;
4032
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4033
+ context: localVarHttpContext,
4034
+ body: searchSoldToQueryFilter,
4035
+ responseType: responseType_,
4036
+ ...(withCredentials ? { withCredentials } : {}),
4037
+ headers: localVarHeaders,
4038
+ observe: observe,
4039
+ transferCache: localVarTransferCache,
4040
+ reportProgress: reportProgress,
4041
+ });
4042
+ }
4043
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectSoldToApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4044
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectSoldToApiService, providedIn: "root" });
4045
+ }
4046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectSoldToApiService, decorators: [{
4047
+ type: Injectable,
4048
+ args: [{
4049
+ providedIn: "root",
4050
+ }]
4051
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4052
+ type: Optional
4053
+ }, {
4054
+ type: Inject,
4055
+ args: [BASE_PATH]
4056
+ }] }, { type: Configuration, decorators: [{
4057
+ type: Optional
4058
+ }] }] });
4059
+
3889
4060
  /**
3890
4061
  * RenewAire CORES API
3891
4062
  *
@@ -9194,6 +9365,7 @@ const APIS = [
9194
9365
  ProjectRevisionsApiService,
9195
9366
  ProjectSharingApiService,
9196
9367
  ProjectShippingApiService,
9368
+ ProjectSoldToApiService,
9197
9369
  ProjectStatusesApiService,
9198
9370
  ProjectsApiService,
9199
9371
  RegionsApiService,
@@ -9505,6 +9677,16 @@ var CoolingDesignBasis;
9505
9677
  * Do not edit the class manually.
9506
9678
  */
9507
9679
 
9680
+ /**
9681
+ * RenewAire CORES API
9682
+ *
9683
+ * Contact: renewaire@saritasa.com
9684
+ *
9685
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9686
+ * https://openapi-generator.tech
9687
+ * Do not edit the class manually.
9688
+ */
9689
+
9508
9690
  /**
9509
9691
  * RenewAire CORES API
9510
9692
  *
@@ -9607,6 +9789,16 @@ var FileType;
9607
9789
  * Do not edit the class manually.
9608
9790
  */
9609
9791
 
9792
+ /**
9793
+ * RenewAire CORES API
9794
+ *
9795
+ * Contact: renewaire@saritasa.com
9796
+ *
9797
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9798
+ * https://openapi-generator.tech
9799
+ * Do not edit the class manually.
9800
+ */
9801
+
9610
9802
  /**
9611
9803
  * RenewAire CORES API
9612
9804
  *
@@ -9743,6 +9935,26 @@ var LeadTimeType;
9743
9935
  * Do not edit the class manually.
9744
9936
  */
9745
9937
 
9938
+ /**
9939
+ * RenewAire CORES API
9940
+ *
9941
+ * Contact: renewaire@saritasa.com
9942
+ *
9943
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9944
+ * https://openapi-generator.tech
9945
+ * Do not edit the class manually.
9946
+ */
9947
+
9948
+ /**
9949
+ * RenewAire CORES API
9950
+ *
9951
+ * Contact: renewaire@saritasa.com
9952
+ *
9953
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9954
+ * https://openapi-generator.tech
9955
+ * Do not edit the class manually.
9956
+ */
9957
+
9746
9958
  /**
9747
9959
  * RenewAire CORES API
9748
9960
  *
@@ -10362,6 +10574,16 @@ var RegistrationStatus;
10362
10574
  * Do not edit the class manually.
10363
10575
  */
10364
10576
 
10577
+ /**
10578
+ * RenewAire CORES API
10579
+ *
10580
+ * Contact: renewaire@saritasa.com
10581
+ *
10582
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10583
+ * https://openapi-generator.tech
10584
+ * Do not edit the class manually.
10585
+ */
10586
+
10365
10587
  /**
10366
10588
  * RenewAire CORES API
10367
10589
  *
@@ -10521,5 +10743,5 @@ function provideApi(configOrBasePath) {
10521
10743
  * Generated bundle index. Do not edit.
10522
10744
  */
10523
10745
 
10524
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, MaterialsApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
10746
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, MaterialsApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, 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 };
10525
10747
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map