@saritasa/renewaire-frontend-sdk 0.234.0 → 0.236.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
|
@@ -4314,6 +4314,57 @@ class ProjectDiscountsApiService extends BaseService {
|
|
|
4314
4314
|
reportProgress: reportProgress,
|
|
4315
4315
|
});
|
|
4316
4316
|
}
|
|
4317
|
+
projectDiscountsReviewProjectDiscount(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4318
|
+
const projectDiscountId = requestParameters?.projectDiscountId;
|
|
4319
|
+
if (projectDiscountId === null || projectDiscountId === undefined) {
|
|
4320
|
+
throw new Error("Required parameter projectDiscountId was null or undefined when calling projectDiscountsReviewProjectDiscount.");
|
|
4321
|
+
}
|
|
4322
|
+
const reviewProjectDiscountDto = requestParameters?.reviewProjectDiscountDto;
|
|
4323
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4324
|
+
// authentication (Bearer) required
|
|
4325
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4326
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4327
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4328
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4329
|
+
}
|
|
4330
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4331
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4332
|
+
// to determine the Content-Type header
|
|
4333
|
+
const consumes = [
|
|
4334
|
+
"application/json-patch+json",
|
|
4335
|
+
"application/json",
|
|
4336
|
+
"text/json",
|
|
4337
|
+
"application/*+json",
|
|
4338
|
+
];
|
|
4339
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4340
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4341
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4342
|
+
}
|
|
4343
|
+
let responseType_ = "json";
|
|
4344
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4345
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4346
|
+
responseType_ = "text";
|
|
4347
|
+
}
|
|
4348
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4349
|
+
responseType_ = "json";
|
|
4350
|
+
}
|
|
4351
|
+
else {
|
|
4352
|
+
responseType_ = "blob";
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
let localVarPath = `/api/project-discounts/${this.configuration.encodeParam({ name: "projectDiscountId", value: projectDiscountId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/review`;
|
|
4356
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4357
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4358
|
+
context: localVarHttpContext,
|
|
4359
|
+
body: reviewProjectDiscountDto,
|
|
4360
|
+
responseType: responseType_,
|
|
4361
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4362
|
+
headers: localVarHeaders,
|
|
4363
|
+
observe: observe,
|
|
4364
|
+
transferCache: localVarTransferCache,
|
|
4365
|
+
reportProgress: reportProgress,
|
|
4366
|
+
});
|
|
4367
|
+
}
|
|
4317
4368
|
projectDiscountsUpdateProjectDiscount(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4318
4369
|
const projectDiscountId = requestParameters?.projectDiscountId;
|
|
4319
4370
|
if (projectDiscountId === null || projectDiscountId === undefined) {
|
|
@@ -4407,7 +4458,12 @@ class ProjectLinesApiService extends BaseService {
|
|
|
4407
4458
|
let localVarHeaders = this.defaultHeaders;
|
|
4408
4459
|
// authentication (Bearer) required
|
|
4409
4460
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4410
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4461
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4462
|
+
this.configuration.selectHeaderAccept([
|
|
4463
|
+
"text/plain",
|
|
4464
|
+
"application/json",
|
|
4465
|
+
"text/json",
|
|
4466
|
+
]);
|
|
4411
4467
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4412
4468
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4413
4469
|
}
|
|
@@ -4449,6 +4505,57 @@ class ProjectLinesApiService extends BaseService {
|
|
|
4449
4505
|
reportProgress: reportProgress,
|
|
4450
4506
|
});
|
|
4451
4507
|
}
|
|
4508
|
+
projectLinesSetLineShippingLocations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4509
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
4510
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
4511
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectLinesSetLineShippingLocations.");
|
|
4512
|
+
}
|
|
4513
|
+
const setLineShippingLocationDto = requestParameters?.setLineShippingLocationDto;
|
|
4514
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4515
|
+
// authentication (Bearer) required
|
|
4516
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4517
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4518
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4519
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4520
|
+
}
|
|
4521
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4522
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4523
|
+
// to determine the Content-Type header
|
|
4524
|
+
const consumes = [
|
|
4525
|
+
"application/json-patch+json",
|
|
4526
|
+
"application/json",
|
|
4527
|
+
"text/json",
|
|
4528
|
+
"application/*+json",
|
|
4529
|
+
];
|
|
4530
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4531
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4532
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4533
|
+
}
|
|
4534
|
+
let responseType_ = "json";
|
|
4535
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4536
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4537
|
+
responseType_ = "text";
|
|
4538
|
+
}
|
|
4539
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4540
|
+
responseType_ = "json";
|
|
4541
|
+
}
|
|
4542
|
+
else {
|
|
4543
|
+
responseType_ = "blob";
|
|
4544
|
+
}
|
|
4545
|
+
}
|
|
4546
|
+
let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/locations`;
|
|
4547
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4548
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4549
|
+
context: localVarHttpContext,
|
|
4550
|
+
body: setLineShippingLocationDto,
|
|
4551
|
+
responseType: responseType_,
|
|
4552
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4553
|
+
headers: localVarHeaders,
|
|
4554
|
+
observe: observe,
|
|
4555
|
+
transferCache: localVarTransferCache,
|
|
4556
|
+
reportProgress: reportProgress,
|
|
4557
|
+
});
|
|
4558
|
+
}
|
|
4452
4559
|
projectLinesUpdateProjectLines(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4453
4560
|
const updateLinesDto = requestParameters?.updateLinesDto;
|
|
4454
4561
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -12613,6 +12720,25 @@ var ProjectBidStatusType;
|
|
|
12613
12720
|
* Do not edit the class manually.
|
|
12614
12721
|
*/
|
|
12615
12722
|
|
|
12723
|
+
/**
|
|
12724
|
+
* RenewAire CORES API
|
|
12725
|
+
*
|
|
12726
|
+
* Contact: renewaire@saritasa.com
|
|
12727
|
+
*
|
|
12728
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12729
|
+
* https://openapi-generator.tech
|
|
12730
|
+
* Do not edit the class manually.
|
|
12731
|
+
*/
|
|
12732
|
+
/**
|
|
12733
|
+
* Discount status.<br />ProjectDiscountStatus<br />0 = Pending<br />1 = Approved<br />2 = Rejected
|
|
12734
|
+
*/
|
|
12735
|
+
var ProjectDiscountStatus;
|
|
12736
|
+
(function (ProjectDiscountStatus) {
|
|
12737
|
+
ProjectDiscountStatus["Pending"] = "Pending";
|
|
12738
|
+
ProjectDiscountStatus["Approved"] = "Approved";
|
|
12739
|
+
ProjectDiscountStatus["Rejected"] = "Rejected";
|
|
12740
|
+
})(ProjectDiscountStatus || (ProjectDiscountStatus = {}));
|
|
12741
|
+
|
|
12616
12742
|
/**
|
|
12617
12743
|
* RenewAire CORES API
|
|
12618
12744
|
*
|
|
@@ -12632,6 +12758,16 @@ var ProjectDiscountType;
|
|
|
12632
12758
|
ProjectDiscountType["Qs"] = "QS";
|
|
12633
12759
|
})(ProjectDiscountType || (ProjectDiscountType = {}));
|
|
12634
12760
|
|
|
12761
|
+
/**
|
|
12762
|
+
* RenewAire CORES API
|
|
12763
|
+
*
|
|
12764
|
+
* Contact: renewaire@saritasa.com
|
|
12765
|
+
*
|
|
12766
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12767
|
+
* https://openapi-generator.tech
|
|
12768
|
+
* Do not edit the class manually.
|
|
12769
|
+
*/
|
|
12770
|
+
|
|
12635
12771
|
/**
|
|
12636
12772
|
* RenewAire CORES API
|
|
12637
12773
|
*
|
|
@@ -13143,6 +13279,16 @@ var RegistrationStatus;
|
|
|
13143
13279
|
* Do not edit the class manually.
|
|
13144
13280
|
*/
|
|
13145
13281
|
|
|
13282
|
+
/**
|
|
13283
|
+
* RenewAire CORES API
|
|
13284
|
+
*
|
|
13285
|
+
* Contact: renewaire@saritasa.com
|
|
13286
|
+
*
|
|
13287
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13288
|
+
* https://openapi-generator.tech
|
|
13289
|
+
* Do not edit the class manually.
|
|
13290
|
+
*/
|
|
13291
|
+
|
|
13146
13292
|
/**
|
|
13147
13293
|
* RenewAire CORES API
|
|
13148
13294
|
*
|
|
@@ -13342,5 +13488,5 @@ function provideApi(configOrBasePath) {
|
|
|
13342
13488
|
* Generated bundle index. Do not edit.
|
|
13343
13489
|
*/
|
|
13344
13490
|
|
|
13345
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, 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, 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 };
|
|
13491
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, 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 };
|
|
13346
13492
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|