@saritasa/renewaire-frontend-sdk 0.258.0 → 0.259.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
|
@@ -6536,6 +6536,141 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6536
6536
|
type: Optional
|
|
6537
6537
|
}] }] });
|
|
6538
6538
|
|
|
6539
|
+
/**
|
|
6540
|
+
* RenewAire CORES API
|
|
6541
|
+
*
|
|
6542
|
+
* Contact: renewaire@saritasa.com
|
|
6543
|
+
*
|
|
6544
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6545
|
+
* https://openapi-generator.tech
|
|
6546
|
+
* Do not edit the class manually.
|
|
6547
|
+
*/
|
|
6548
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
6549
|
+
class ProjectQuotesApiService extends BaseService {
|
|
6550
|
+
httpClient;
|
|
6551
|
+
constructor(httpClient, basePath, configuration) {
|
|
6552
|
+
super(basePath, configuration);
|
|
6553
|
+
this.httpClient = httpClient;
|
|
6554
|
+
}
|
|
6555
|
+
projectQuoteUpdateProjectQuoteCustomItems(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6556
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6557
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
6558
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQuoteUpdateProjectQuoteCustomItems.");
|
|
6559
|
+
}
|
|
6560
|
+
const updateProjectQuoteCustomItemDto = requestParameters?.updateProjectQuoteCustomItemDto;
|
|
6561
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6562
|
+
// authentication (Bearer) required
|
|
6563
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6564
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6565
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6566
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6567
|
+
}
|
|
6568
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6569
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6570
|
+
// to determine the Content-Type header
|
|
6571
|
+
const consumes = [
|
|
6572
|
+
"application/json-patch+json",
|
|
6573
|
+
"application/json",
|
|
6574
|
+
"text/json",
|
|
6575
|
+
"application/*+json",
|
|
6576
|
+
];
|
|
6577
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6578
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6579
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6580
|
+
}
|
|
6581
|
+
let responseType_ = "json";
|
|
6582
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6583
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6584
|
+
responseType_ = "text";
|
|
6585
|
+
}
|
|
6586
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6587
|
+
responseType_ = "json";
|
|
6588
|
+
}
|
|
6589
|
+
else {
|
|
6590
|
+
responseType_ = "blob";
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/quote-custom-items`;
|
|
6594
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6595
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
6596
|
+
context: localVarHttpContext,
|
|
6597
|
+
body: updateProjectQuoteCustomItemDto,
|
|
6598
|
+
responseType: responseType_,
|
|
6599
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6600
|
+
headers: localVarHeaders,
|
|
6601
|
+
observe: observe,
|
|
6602
|
+
transferCache: localVarTransferCache,
|
|
6603
|
+
reportProgress: reportProgress,
|
|
6604
|
+
});
|
|
6605
|
+
}
|
|
6606
|
+
projectQuoteUpdateQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6607
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6608
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
6609
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQuoteUpdateQuote.");
|
|
6610
|
+
}
|
|
6611
|
+
const updateProjectQuoteDtoOperation = requestParameters?.updateProjectQuoteDtoOperation;
|
|
6612
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6613
|
+
// authentication (Bearer) required
|
|
6614
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6615
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6616
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6617
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6618
|
+
}
|
|
6619
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6620
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6621
|
+
// to determine the Content-Type header
|
|
6622
|
+
const consumes = [
|
|
6623
|
+
"application/json-patch+json",
|
|
6624
|
+
"application/json",
|
|
6625
|
+
"text/json",
|
|
6626
|
+
"application/*+json",
|
|
6627
|
+
];
|
|
6628
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6629
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6630
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6631
|
+
}
|
|
6632
|
+
let responseType_ = "json";
|
|
6633
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6634
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6635
|
+
responseType_ = "text";
|
|
6636
|
+
}
|
|
6637
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6638
|
+
responseType_ = "json";
|
|
6639
|
+
}
|
|
6640
|
+
else {
|
|
6641
|
+
responseType_ = "blob";
|
|
6642
|
+
}
|
|
6643
|
+
}
|
|
6644
|
+
let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/quote`;
|
|
6645
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6646
|
+
return this.httpClient.request("patch", `${basePath}${localVarPath}`, {
|
|
6647
|
+
context: localVarHttpContext,
|
|
6648
|
+
body: updateProjectQuoteDtoOperation,
|
|
6649
|
+
responseType: responseType_,
|
|
6650
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6651
|
+
headers: localVarHeaders,
|
|
6652
|
+
observe: observe,
|
|
6653
|
+
transferCache: localVarTransferCache,
|
|
6654
|
+
reportProgress: reportProgress,
|
|
6655
|
+
});
|
|
6656
|
+
}
|
|
6657
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProjectQuotesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6658
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProjectQuotesApiService, providedIn: "root" });
|
|
6659
|
+
}
|
|
6660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProjectQuotesApiService, decorators: [{
|
|
6661
|
+
type: Injectable,
|
|
6662
|
+
args: [{
|
|
6663
|
+
providedIn: "root",
|
|
6664
|
+
}]
|
|
6665
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
6666
|
+
type: Optional
|
|
6667
|
+
}, {
|
|
6668
|
+
type: Inject,
|
|
6669
|
+
args: [BASE_PATH]
|
|
6670
|
+
}] }, { type: Configuration, decorators: [{
|
|
6671
|
+
type: Optional
|
|
6672
|
+
}] }] });
|
|
6673
|
+
|
|
6539
6674
|
/**
|
|
6540
6675
|
* RenewAire CORES API
|
|
6541
6676
|
*
|
|
@@ -12901,6 +13036,7 @@ const APIS = [
|
|
|
12901
13036
|
ProjectLinksApiService,
|
|
12902
13037
|
ProjectNotesApiService,
|
|
12903
13038
|
ProjectQualifiedSpecificationsApiService,
|
|
13039
|
+
ProjectQuotesApiService,
|
|
12904
13040
|
ProjectRevisionsApiService,
|
|
12905
13041
|
ProjectSharingApiService,
|
|
12906
13042
|
ProjectShippingApiService,
|
|
@@ -14085,6 +14221,61 @@ var ProjectNoteType;
|
|
|
14085
14221
|
ProjectNoteType["SalesChannel"] = "SalesChannel";
|
|
14086
14222
|
})(ProjectNoteType || (ProjectNoteType = {}));
|
|
14087
14223
|
|
|
14224
|
+
/**
|
|
14225
|
+
* RenewAire CORES API
|
|
14226
|
+
*
|
|
14227
|
+
* Contact: renewaire@saritasa.com
|
|
14228
|
+
*
|
|
14229
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14230
|
+
* https://openapi-generator.tech
|
|
14231
|
+
* Do not edit the class manually.
|
|
14232
|
+
*/
|
|
14233
|
+
/**
|
|
14234
|
+
* Quote accessories view.<br />ProjectQuoteLogAccessoriesView<br />0 = OrderedByProjectLineNumber<br />1 = GroupedByLinkedErvLines
|
|
14235
|
+
*/
|
|
14236
|
+
var ProjectQuoteLogAccessoriesView;
|
|
14237
|
+
(function (ProjectQuoteLogAccessoriesView) {
|
|
14238
|
+
ProjectQuoteLogAccessoriesView["OrderedByProjectLineNumber"] = "OrderedByProjectLineNumber";
|
|
14239
|
+
ProjectQuoteLogAccessoriesView["GroupedByLinkedErvLines"] = "GroupedByLinkedErvLines";
|
|
14240
|
+
})(ProjectQuoteLogAccessoriesView || (ProjectQuoteLogAccessoriesView = {}));
|
|
14241
|
+
|
|
14242
|
+
/**
|
|
14243
|
+
* RenewAire CORES API
|
|
14244
|
+
*
|
|
14245
|
+
* Contact: renewaire@saritasa.com
|
|
14246
|
+
*
|
|
14247
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14248
|
+
* https://openapi-generator.tech
|
|
14249
|
+
* Do not edit the class manually.
|
|
14250
|
+
*/
|
|
14251
|
+
/**
|
|
14252
|
+
* Project quote multiplier.<br />ProjectQuoteMultiplier<br />0 = ListPrice<br />1 = Custom
|
|
14253
|
+
*/
|
|
14254
|
+
var ProjectQuoteMultiplier;
|
|
14255
|
+
(function (ProjectQuoteMultiplier) {
|
|
14256
|
+
ProjectQuoteMultiplier["ListPrice"] = "ListPrice";
|
|
14257
|
+
ProjectQuoteMultiplier["Custom"] = "Custom";
|
|
14258
|
+
})(ProjectQuoteMultiplier || (ProjectQuoteMultiplier = {}));
|
|
14259
|
+
|
|
14260
|
+
/**
|
|
14261
|
+
* RenewAire CORES API
|
|
14262
|
+
*
|
|
14263
|
+
* Contact: renewaire@saritasa.com
|
|
14264
|
+
*
|
|
14265
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14266
|
+
* https://openapi-generator.tech
|
|
14267
|
+
* Do not edit the class manually.
|
|
14268
|
+
*/
|
|
14269
|
+
/**
|
|
14270
|
+
* Quote pricing options.<br />ProjectQuotePricing<br />0 = ShowLineItemPricing<br />1 = HideAllPricing<br />2 = OnlyShowTotal
|
|
14271
|
+
*/
|
|
14272
|
+
var ProjectQuotePricing;
|
|
14273
|
+
(function (ProjectQuotePricing) {
|
|
14274
|
+
ProjectQuotePricing["ShowLineItemPricing"] = "ShowLineItemPricing";
|
|
14275
|
+
ProjectQuotePricing["HideAllPricing"] = "HideAllPricing";
|
|
14276
|
+
ProjectQuotePricing["OnlyShowTotal"] = "OnlyShowTotal";
|
|
14277
|
+
})(ProjectQuotePricing || (ProjectQuotePricing = {}));
|
|
14278
|
+
|
|
14088
14279
|
/**
|
|
14089
14280
|
* RenewAire CORES API
|
|
14090
14281
|
*
|
|
@@ -14597,6 +14788,26 @@ var UnitSystem;
|
|
|
14597
14788
|
* Do not edit the class manually.
|
|
14598
14789
|
*/
|
|
14599
14790
|
|
|
14791
|
+
/**
|
|
14792
|
+
* RenewAire CORES API
|
|
14793
|
+
*
|
|
14794
|
+
* Contact: renewaire@saritasa.com
|
|
14795
|
+
*
|
|
14796
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14797
|
+
* https://openapi-generator.tech
|
|
14798
|
+
* Do not edit the class manually.
|
|
14799
|
+
*/
|
|
14800
|
+
|
|
14801
|
+
/**
|
|
14802
|
+
* RenewAire CORES API
|
|
14803
|
+
*
|
|
14804
|
+
* Contact: renewaire@saritasa.com
|
|
14805
|
+
*
|
|
14806
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14807
|
+
* https://openapi-generator.tech
|
|
14808
|
+
* Do not edit the class manually.
|
|
14809
|
+
*/
|
|
14810
|
+
|
|
14600
14811
|
/**
|
|
14601
14812
|
* RenewAire CORES API
|
|
14602
14813
|
*
|
|
@@ -14718,5 +14929,5 @@ function provideApi(configOrBasePath) {
|
|
|
14718
14929
|
* Generated bundle index. Do not edit.
|
|
14719
14930
|
*/
|
|
14720
14931
|
|
|
14721
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, 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 };
|
|
14932
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, 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, ProjectQuoteLogAccessoriesView, ProjectQuoteMultiplier, ProjectQuotePricing, ProjectQuotesApiService, 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 };
|
|
14722
14933
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|