@saritasa/renewaire-frontend-sdk 0.157.0 → 0.158.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
|
@@ -3869,6 +3869,49 @@ class ProjectShippingApiService extends BaseService {
|
|
|
3869
3869
|
reportProgress: reportProgress,
|
|
3870
3870
|
});
|
|
3871
3871
|
}
|
|
3872
|
+
projectShippingGetLocations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3873
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
3874
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
3875
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectShippingGetLocations.");
|
|
3876
|
+
}
|
|
3877
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3878
|
+
// authentication (Bearer) required
|
|
3879
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3880
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3881
|
+
this.configuration.selectHeaderAccept([
|
|
3882
|
+
"text/plain",
|
|
3883
|
+
"application/json",
|
|
3884
|
+
"text/json",
|
|
3885
|
+
]);
|
|
3886
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3887
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3888
|
+
}
|
|
3889
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3890
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3891
|
+
let responseType_ = "json";
|
|
3892
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3893
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3894
|
+
responseType_ = "text";
|
|
3895
|
+
}
|
|
3896
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3897
|
+
responseType_ = "json";
|
|
3898
|
+
}
|
|
3899
|
+
else {
|
|
3900
|
+
responseType_ = "blob";
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
let localVarPath = `/api/project-shipping/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/locations`;
|
|
3904
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3905
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3906
|
+
context: localVarHttpContext,
|
|
3907
|
+
responseType: responseType_,
|
|
3908
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3909
|
+
headers: localVarHeaders,
|
|
3910
|
+
observe: observe,
|
|
3911
|
+
transferCache: localVarTransferCache,
|
|
3912
|
+
reportProgress: reportProgress,
|
|
3913
|
+
});
|
|
3914
|
+
}
|
|
3872
3915
|
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
3916
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectShippingApiService, providedIn: "root" });
|
|
3874
3917
|
}
|
|
@@ -3886,6 +3929,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
3886
3929
|
type: Optional
|
|
3887
3930
|
}] }] });
|
|
3888
3931
|
|
|
3932
|
+
/**
|
|
3933
|
+
* RenewAire CORES API
|
|
3934
|
+
*
|
|
3935
|
+
* Contact: renewaire@saritasa.com
|
|
3936
|
+
*
|
|
3937
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3938
|
+
* https://openapi-generator.tech
|
|
3939
|
+
* Do not edit the class manually.
|
|
3940
|
+
*/
|
|
3941
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3942
|
+
class ProjectSoldToApiService extends BaseService {
|
|
3943
|
+
httpClient;
|
|
3944
|
+
constructor(httpClient, basePath, configuration) {
|
|
3945
|
+
super(basePath, configuration);
|
|
3946
|
+
this.httpClient = httpClient;
|
|
3947
|
+
}
|
|
3948
|
+
projectSoldToSearchSoldTo(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3949
|
+
const searchSoldToQueryFilter = requestParameters?.searchSoldToQueryFilter;
|
|
3950
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3951
|
+
// authentication (Bearer) required
|
|
3952
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3953
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3954
|
+
this.configuration.selectHeaderAccept([
|
|
3955
|
+
"text/plain",
|
|
3956
|
+
"application/json",
|
|
3957
|
+
"text/json",
|
|
3958
|
+
]);
|
|
3959
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3960
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3961
|
+
}
|
|
3962
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3963
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3964
|
+
// to determine the Content-Type header
|
|
3965
|
+
const consumes = [
|
|
3966
|
+
"application/json-patch+json",
|
|
3967
|
+
"application/json",
|
|
3968
|
+
"text/json",
|
|
3969
|
+
"application/*+json",
|
|
3970
|
+
];
|
|
3971
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3972
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3973
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3974
|
+
}
|
|
3975
|
+
let responseType_ = "json";
|
|
3976
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3977
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3978
|
+
responseType_ = "text";
|
|
3979
|
+
}
|
|
3980
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3981
|
+
responseType_ = "json";
|
|
3982
|
+
}
|
|
3983
|
+
else {
|
|
3984
|
+
responseType_ = "blob";
|
|
3985
|
+
}
|
|
3986
|
+
}
|
|
3987
|
+
let localVarPath = `/api/project-sold-to`;
|
|
3988
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3989
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3990
|
+
context: localVarHttpContext,
|
|
3991
|
+
body: searchSoldToQueryFilter,
|
|
3992
|
+
responseType: responseType_,
|
|
3993
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3994
|
+
headers: localVarHeaders,
|
|
3995
|
+
observe: observe,
|
|
3996
|
+
transferCache: localVarTransferCache,
|
|
3997
|
+
reportProgress: reportProgress,
|
|
3998
|
+
});
|
|
3999
|
+
}
|
|
4000
|
+
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 });
|
|
4001
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectSoldToApiService, providedIn: "root" });
|
|
4002
|
+
}
|
|
4003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: ProjectSoldToApiService, decorators: [{
|
|
4004
|
+
type: Injectable,
|
|
4005
|
+
args: [{
|
|
4006
|
+
providedIn: "root",
|
|
4007
|
+
}]
|
|
4008
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4009
|
+
type: Optional
|
|
4010
|
+
}, {
|
|
4011
|
+
type: Inject,
|
|
4012
|
+
args: [BASE_PATH]
|
|
4013
|
+
}] }, { type: Configuration, decorators: [{
|
|
4014
|
+
type: Optional
|
|
4015
|
+
}] }] });
|
|
4016
|
+
|
|
3889
4017
|
/**
|
|
3890
4018
|
* RenewAire CORES API
|
|
3891
4019
|
*
|
|
@@ -9194,6 +9322,7 @@ const APIS = [
|
|
|
9194
9322
|
ProjectRevisionsApiService,
|
|
9195
9323
|
ProjectSharingApiService,
|
|
9196
9324
|
ProjectShippingApiService,
|
|
9325
|
+
ProjectSoldToApiService,
|
|
9197
9326
|
ProjectStatusesApiService,
|
|
9198
9327
|
ProjectsApiService,
|
|
9199
9328
|
RegionsApiService,
|
|
@@ -9505,6 +9634,16 @@ var CoolingDesignBasis;
|
|
|
9505
9634
|
* Do not edit the class manually.
|
|
9506
9635
|
*/
|
|
9507
9636
|
|
|
9637
|
+
/**
|
|
9638
|
+
* RenewAire CORES API
|
|
9639
|
+
*
|
|
9640
|
+
* Contact: renewaire@saritasa.com
|
|
9641
|
+
*
|
|
9642
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9643
|
+
* https://openapi-generator.tech
|
|
9644
|
+
* Do not edit the class manually.
|
|
9645
|
+
*/
|
|
9646
|
+
|
|
9508
9647
|
/**
|
|
9509
9648
|
* RenewAire CORES API
|
|
9510
9649
|
*
|
|
@@ -9607,6 +9746,16 @@ var FileType;
|
|
|
9607
9746
|
* Do not edit the class manually.
|
|
9608
9747
|
*/
|
|
9609
9748
|
|
|
9749
|
+
/**
|
|
9750
|
+
* RenewAire CORES API
|
|
9751
|
+
*
|
|
9752
|
+
* Contact: renewaire@saritasa.com
|
|
9753
|
+
*
|
|
9754
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9755
|
+
* https://openapi-generator.tech
|
|
9756
|
+
* Do not edit the class manually.
|
|
9757
|
+
*/
|
|
9758
|
+
|
|
9610
9759
|
/**
|
|
9611
9760
|
* RenewAire CORES API
|
|
9612
9761
|
*
|
|
@@ -10362,6 +10511,16 @@ var RegistrationStatus;
|
|
|
10362
10511
|
* Do not edit the class manually.
|
|
10363
10512
|
*/
|
|
10364
10513
|
|
|
10514
|
+
/**
|
|
10515
|
+
* RenewAire CORES API
|
|
10516
|
+
*
|
|
10517
|
+
* Contact: renewaire@saritasa.com
|
|
10518
|
+
*
|
|
10519
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10520
|
+
* https://openapi-generator.tech
|
|
10521
|
+
* Do not edit the class manually.
|
|
10522
|
+
*/
|
|
10523
|
+
|
|
10365
10524
|
/**
|
|
10366
10525
|
* RenewAire CORES API
|
|
10367
10526
|
*
|
|
@@ -10521,5 +10680,5 @@ function provideApi(configOrBasePath) {
|
|
|
10521
10680
|
* Generated bundle index. Do not edit.
|
|
10522
10681
|
*/
|
|
10523
10682
|
|
|
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 };
|
|
10683
|
+
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
10684
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|