@saritasa/renewaire-frontend-sdk 0.233.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
|
@@ -4276,6 +4276,95 @@ class ProjectDiscountsApiService extends BaseService {
|
|
|
4276
4276
|
reportProgress: reportProgress,
|
|
4277
4277
|
});
|
|
4278
4278
|
}
|
|
4279
|
+
projectDiscountsDeleteProjectDiscount(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4280
|
+
const projectDiscountId = requestParameters?.projectDiscountId;
|
|
4281
|
+
if (projectDiscountId === null || projectDiscountId === undefined) {
|
|
4282
|
+
throw new Error("Required parameter projectDiscountId was null or undefined when calling projectDiscountsDeleteProjectDiscount.");
|
|
4283
|
+
}
|
|
4284
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4285
|
+
// authentication (Bearer) required
|
|
4286
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4287
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4288
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4289
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4290
|
+
}
|
|
4291
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4292
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4293
|
+
let responseType_ = "json";
|
|
4294
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4295
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4296
|
+
responseType_ = "text";
|
|
4297
|
+
}
|
|
4298
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4299
|
+
responseType_ = "json";
|
|
4300
|
+
}
|
|
4301
|
+
else {
|
|
4302
|
+
responseType_ = "blob";
|
|
4303
|
+
}
|
|
4304
|
+
}
|
|
4305
|
+
let localVarPath = `/api/project-discounts/${this.configuration.encodeParam({ name: "projectDiscountId", value: projectDiscountId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
4306
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4307
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
4308
|
+
context: localVarHttpContext,
|
|
4309
|
+
responseType: responseType_,
|
|
4310
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4311
|
+
headers: localVarHeaders,
|
|
4312
|
+
observe: observe,
|
|
4313
|
+
transferCache: localVarTransferCache,
|
|
4314
|
+
reportProgress: reportProgress,
|
|
4315
|
+
});
|
|
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
|
+
}
|
|
4279
4368
|
projectDiscountsUpdateProjectDiscount(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4280
4369
|
const projectDiscountId = requestParameters?.projectDiscountId;
|
|
4281
4370
|
if (projectDiscountId === null || projectDiscountId === undefined) {
|
|
@@ -4369,7 +4458,12 @@ class ProjectLinesApiService extends BaseService {
|
|
|
4369
4458
|
let localVarHeaders = this.defaultHeaders;
|
|
4370
4459
|
// authentication (Bearer) required
|
|
4371
4460
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4372
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4461
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4462
|
+
this.configuration.selectHeaderAccept([
|
|
4463
|
+
"text/plain",
|
|
4464
|
+
"application/json",
|
|
4465
|
+
"text/json",
|
|
4466
|
+
]);
|
|
4373
4467
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4374
4468
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4375
4469
|
}
|
|
@@ -4411,6 +4505,57 @@ class ProjectLinesApiService extends BaseService {
|
|
|
4411
4505
|
reportProgress: reportProgress,
|
|
4412
4506
|
});
|
|
4413
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
|
+
}
|
|
4414
4559
|
projectLinesUpdateProjectLines(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4415
4560
|
const updateLinesDto = requestParameters?.updateLinesDto;
|
|
4416
4561
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -12575,6 +12720,25 @@ var ProjectBidStatusType;
|
|
|
12575
12720
|
* Do not edit the class manually.
|
|
12576
12721
|
*/
|
|
12577
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
|
+
|
|
12578
12742
|
/**
|
|
12579
12743
|
* RenewAire CORES API
|
|
12580
12744
|
*
|
|
@@ -12594,6 +12758,16 @@ var ProjectDiscountType;
|
|
|
12594
12758
|
ProjectDiscountType["Qs"] = "QS";
|
|
12595
12759
|
})(ProjectDiscountType || (ProjectDiscountType = {}));
|
|
12596
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
|
+
|
|
12597
12771
|
/**
|
|
12598
12772
|
* RenewAire CORES API
|
|
12599
12773
|
*
|
|
@@ -13105,6 +13279,16 @@ var RegistrationStatus;
|
|
|
13105
13279
|
* Do not edit the class manually.
|
|
13106
13280
|
*/
|
|
13107
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
|
+
|
|
13108
13292
|
/**
|
|
13109
13293
|
* RenewAire CORES API
|
|
13110
13294
|
*
|
|
@@ -13304,5 +13488,5 @@ function provideApi(configOrBasePath) {
|
|
|
13304
13488
|
* Generated bundle index. Do not edit.
|
|
13305
13489
|
*/
|
|
13306
13490
|
|
|
13307
|
-
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 };
|
|
13308
13492
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|