@saritasa/renewaire-frontend-sdk 0.239.1 → 0.240.1
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
|
@@ -3891,6 +3891,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
3891
3891
|
type: Optional
|
|
3892
3892
|
}] }] });
|
|
3893
3893
|
|
|
3894
|
+
/**
|
|
3895
|
+
* RenewAire CORES API
|
|
3896
|
+
*
|
|
3897
|
+
* Contact: renewaire@saritasa.com
|
|
3898
|
+
*
|
|
3899
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3900
|
+
* https://openapi-generator.tech
|
|
3901
|
+
* Do not edit the class manually.
|
|
3902
|
+
*/
|
|
3903
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3904
|
+
class PartsApiService extends BaseService {
|
|
3905
|
+
httpClient;
|
|
3906
|
+
constructor(httpClient, basePath, configuration) {
|
|
3907
|
+
super(basePath, configuration);
|
|
3908
|
+
this.httpClient = httpClient;
|
|
3909
|
+
}
|
|
3910
|
+
projectPartsSearchParts(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3911
|
+
const text = requestParameters?.text;
|
|
3912
|
+
const orderBy = requestParameters?.orderBy;
|
|
3913
|
+
const page = requestParameters?.page;
|
|
3914
|
+
const pageSize = requestParameters?.pageSize;
|
|
3915
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3916
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
|
|
3917
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
3918
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
3919
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
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/parts`;
|
|
3947
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3948
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3949
|
+
context: localVarHttpContext,
|
|
3950
|
+
params: localVarQueryParameters,
|
|
3951
|
+
responseType: responseType_,
|
|
3952
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3953
|
+
headers: localVarHeaders,
|
|
3954
|
+
observe: observe,
|
|
3955
|
+
transferCache: localVarTransferCache,
|
|
3956
|
+
reportProgress: reportProgress,
|
|
3957
|
+
});
|
|
3958
|
+
}
|
|
3959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PartsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3960
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PartsApiService, providedIn: "root" });
|
|
3961
|
+
}
|
|
3962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: PartsApiService, decorators: [{
|
|
3963
|
+
type: Injectable,
|
|
3964
|
+
args: [{
|
|
3965
|
+
providedIn: "root",
|
|
3966
|
+
}]
|
|
3967
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3968
|
+
type: Optional
|
|
3969
|
+
}, {
|
|
3970
|
+
type: Inject,
|
|
3971
|
+
args: [BASE_PATH]
|
|
3972
|
+
}] }, { type: Configuration, decorators: [{
|
|
3973
|
+
type: Optional
|
|
3974
|
+
}] }] });
|
|
3975
|
+
|
|
3894
3976
|
/**
|
|
3895
3977
|
* RenewAire CORES API
|
|
3896
3978
|
*
|
|
@@ -12113,6 +12195,7 @@ const APIS = [
|
|
|
12113
12195
|
KnownContactsApiService,
|
|
12114
12196
|
LeadTimesApiService,
|
|
12115
12197
|
MaintenanceApiService,
|
|
12198
|
+
PartsApiService,
|
|
12116
12199
|
PermissionBundlesApiService,
|
|
12117
12200
|
PermissionsApiService,
|
|
12118
12201
|
ProjectBidStatusesApiService,
|
|
@@ -13679,6 +13762,16 @@ var RegistrationStatus;
|
|
|
13679
13762
|
* Do not edit the class manually.
|
|
13680
13763
|
*/
|
|
13681
13764
|
|
|
13765
|
+
/**
|
|
13766
|
+
* RenewAire CORES API
|
|
13767
|
+
*
|
|
13768
|
+
* Contact: renewaire@saritasa.com
|
|
13769
|
+
*
|
|
13770
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13771
|
+
* https://openapi-generator.tech
|
|
13772
|
+
* Do not edit the class manually.
|
|
13773
|
+
*/
|
|
13774
|
+
|
|
13682
13775
|
/**
|
|
13683
13776
|
* RenewAire CORES API
|
|
13684
13777
|
*
|
|
@@ -13878,5 +13971,5 @@ function provideApi(configOrBasePath) {
|
|
|
13878
13971
|
* Generated bundle index. Do not edit.
|
|
13879
13972
|
*/
|
|
13880
13973
|
|
|
13881
|
-
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, 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 };
|
|
13974
|
+
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 };
|
|
13882
13975
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|