@saritasa/renewaire-frontend-sdk 0.65.1 → 0.66.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
|
@@ -1485,6 +1485,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
1485
1485
|
type: Optional
|
|
1486
1486
|
}] }] });
|
|
1487
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* RenewAire CORES API
|
|
1490
|
+
*
|
|
1491
|
+
* Contact: renewaire@saritasa.com
|
|
1492
|
+
*
|
|
1493
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1494
|
+
* https://openapi-generator.tech
|
|
1495
|
+
* Do not edit the class manually.
|
|
1496
|
+
*/
|
|
1497
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1498
|
+
class LeadTimesApiService extends BaseService {
|
|
1499
|
+
httpClient;
|
|
1500
|
+
constructor(httpClient, basePath, configuration) {
|
|
1501
|
+
super(basePath, configuration);
|
|
1502
|
+
this.httpClient = httpClient;
|
|
1503
|
+
}
|
|
1504
|
+
leadTimesCreateLeadTimeGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1505
|
+
const createLeadTimeGroupDto = requestParameters?.createLeadTimeGroupDto;
|
|
1506
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1507
|
+
// authentication (Bearer) required
|
|
1508
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1509
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1510
|
+
this.configuration.selectHeaderAccept([
|
|
1511
|
+
"text/plain",
|
|
1512
|
+
"application/json",
|
|
1513
|
+
"text/json",
|
|
1514
|
+
]);
|
|
1515
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1516
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1517
|
+
}
|
|
1518
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1519
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1520
|
+
// to determine the Content-Type header
|
|
1521
|
+
const consumes = [
|
|
1522
|
+
"application/json",
|
|
1523
|
+
"text/json",
|
|
1524
|
+
"application/*+json",
|
|
1525
|
+
];
|
|
1526
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1527
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1528
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1529
|
+
}
|
|
1530
|
+
let responseType_ = "json";
|
|
1531
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1532
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1533
|
+
responseType_ = "text";
|
|
1534
|
+
}
|
|
1535
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1536
|
+
responseType_ = "json";
|
|
1537
|
+
}
|
|
1538
|
+
else {
|
|
1539
|
+
responseType_ = "blob";
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
let localVarPath = `/api/lead-times`;
|
|
1543
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1544
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1545
|
+
context: localVarHttpContext,
|
|
1546
|
+
body: createLeadTimeGroupDto,
|
|
1547
|
+
responseType: responseType_,
|
|
1548
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1549
|
+
headers: localVarHeaders,
|
|
1550
|
+
observe: observe,
|
|
1551
|
+
transferCache: localVarTransferCache,
|
|
1552
|
+
reportProgress: reportProgress,
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
leadTimesGetLeadTimeGroups(observe = "body", reportProgress = false, options) {
|
|
1556
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1557
|
+
// authentication (Bearer) required
|
|
1558
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1559
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1560
|
+
this.configuration.selectHeaderAccept([
|
|
1561
|
+
"text/plain",
|
|
1562
|
+
"application/json",
|
|
1563
|
+
"text/json",
|
|
1564
|
+
]);
|
|
1565
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1566
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1567
|
+
}
|
|
1568
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1569
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1570
|
+
let responseType_ = "json";
|
|
1571
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1572
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1573
|
+
responseType_ = "text";
|
|
1574
|
+
}
|
|
1575
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1576
|
+
responseType_ = "json";
|
|
1577
|
+
}
|
|
1578
|
+
else {
|
|
1579
|
+
responseType_ = "blob";
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
let localVarPath = `/api/lead-times`;
|
|
1583
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1584
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1585
|
+
context: localVarHttpContext,
|
|
1586
|
+
responseType: responseType_,
|
|
1587
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1588
|
+
headers: localVarHeaders,
|
|
1589
|
+
observe: observe,
|
|
1590
|
+
transferCache: localVarTransferCache,
|
|
1591
|
+
reportProgress: reportProgress,
|
|
1592
|
+
});
|
|
1593
|
+
}
|
|
1594
|
+
leadTimesUpdateLeadTimeGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1595
|
+
const leadTimeGroupId = requestParameters?.leadTimeGroupId;
|
|
1596
|
+
if (leadTimeGroupId === null || leadTimeGroupId === undefined) {
|
|
1597
|
+
throw new Error("Required parameter leadTimeGroupId was null or undefined when calling leadTimesUpdateLeadTimeGroup.");
|
|
1598
|
+
}
|
|
1599
|
+
const updateLeadTimeGroupDto = requestParameters?.updateLeadTimeGroupDto;
|
|
1600
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1601
|
+
// authentication (Bearer) required
|
|
1602
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1603
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1604
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1605
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1606
|
+
}
|
|
1607
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1608
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1609
|
+
// to determine the Content-Type header
|
|
1610
|
+
const consumes = [
|
|
1611
|
+
"application/json",
|
|
1612
|
+
"text/json",
|
|
1613
|
+
"application/*+json",
|
|
1614
|
+
];
|
|
1615
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1616
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1617
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1618
|
+
}
|
|
1619
|
+
let responseType_ = "json";
|
|
1620
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1621
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1622
|
+
responseType_ = "text";
|
|
1623
|
+
}
|
|
1624
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1625
|
+
responseType_ = "json";
|
|
1626
|
+
}
|
|
1627
|
+
else {
|
|
1628
|
+
responseType_ = "blob";
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
let localVarPath = `/api/lead-times/${this.configuration.encodeParam({ name: "leadTimeGroupId", value: leadTimeGroupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1632
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1633
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1634
|
+
context: localVarHttpContext,
|
|
1635
|
+
body: updateLeadTimeGroupDto,
|
|
1636
|
+
responseType: responseType_,
|
|
1637
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1638
|
+
headers: localVarHeaders,
|
|
1639
|
+
observe: observe,
|
|
1640
|
+
transferCache: localVarTransferCache,
|
|
1641
|
+
reportProgress: reportProgress,
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LeadTimesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1645
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LeadTimesApiService, providedIn: "root" });
|
|
1646
|
+
}
|
|
1647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LeadTimesApiService, decorators: [{
|
|
1648
|
+
type: Injectable,
|
|
1649
|
+
args: [{
|
|
1650
|
+
providedIn: "root",
|
|
1651
|
+
}]
|
|
1652
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1653
|
+
type: Optional
|
|
1654
|
+
}, {
|
|
1655
|
+
type: Inject,
|
|
1656
|
+
args: [BASE_PATH]
|
|
1657
|
+
}] }, { type: Configuration, decorators: [{
|
|
1658
|
+
type: Optional
|
|
1659
|
+
}] }] });
|
|
1660
|
+
|
|
1488
1661
|
/**
|
|
1489
1662
|
* RenewAire CORES API
|
|
1490
1663
|
*
|
|
@@ -6375,6 +6548,7 @@ const APIS = [
|
|
|
6375
6548
|
FeedbacksApiService,
|
|
6376
6549
|
GroupsApiService,
|
|
6377
6550
|
KnownContactsApiService,
|
|
6551
|
+
LeadTimesApiService,
|
|
6378
6552
|
PermissionBundlesApiService,
|
|
6379
6553
|
PermissionsApiService,
|
|
6380
6554
|
ProjectsApiService,
|
|
@@ -6602,6 +6776,12 @@ var CoolingDesignBasis;
|
|
|
6602
6776
|
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
6603
6777
|
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
6604
6778
|
|
|
6779
|
+
var CreateLeadTimeGroupDtoTypeEnum;
|
|
6780
|
+
(function (CreateLeadTimeGroupDtoTypeEnum) {
|
|
6781
|
+
CreateLeadTimeGroupDtoTypeEnum["RenewAire"] = "RenewAire";
|
|
6782
|
+
CreateLeadTimeGroupDtoTypeEnum["SpUnits"] = "SPUnits";
|
|
6783
|
+
})(CreateLeadTimeGroupDtoTypeEnum || (CreateLeadTimeGroupDtoTypeEnum = {}));
|
|
6784
|
+
|
|
6605
6785
|
/**
|
|
6606
6786
|
* RenewAire CORES API
|
|
6607
6787
|
*
|
|
@@ -6819,6 +6999,40 @@ var Language;
|
|
|
6819
6999
|
Language["French"] = "French";
|
|
6820
7000
|
})(Language || (Language = {}));
|
|
6821
7001
|
|
|
7002
|
+
/**
|
|
7003
|
+
* RenewAire CORES API
|
|
7004
|
+
*
|
|
7005
|
+
* Contact: renewaire@saritasa.com
|
|
7006
|
+
*
|
|
7007
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7008
|
+
* https://openapi-generator.tech
|
|
7009
|
+
* Do not edit the class manually.
|
|
7010
|
+
*/
|
|
7011
|
+
|
|
7012
|
+
var LeadTimeGroupDtoTypeEnum;
|
|
7013
|
+
(function (LeadTimeGroupDtoTypeEnum) {
|
|
7014
|
+
LeadTimeGroupDtoTypeEnum["RenewAire"] = "RenewAire";
|
|
7015
|
+
LeadTimeGroupDtoTypeEnum["SpUnits"] = "SPUnits";
|
|
7016
|
+
})(LeadTimeGroupDtoTypeEnum || (LeadTimeGroupDtoTypeEnum = {}));
|
|
7017
|
+
|
|
7018
|
+
/**
|
|
7019
|
+
* RenewAire CORES API
|
|
7020
|
+
*
|
|
7021
|
+
* Contact: renewaire@saritasa.com
|
|
7022
|
+
*
|
|
7023
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7024
|
+
* https://openapi-generator.tech
|
|
7025
|
+
* Do not edit the class manually.
|
|
7026
|
+
*/
|
|
7027
|
+
/**
|
|
7028
|
+
* LeadTimeType<br />0 = RenewAire<br />1 = SPUnits
|
|
7029
|
+
*/
|
|
7030
|
+
var LeadTimeType;
|
|
7031
|
+
(function (LeadTimeType) {
|
|
7032
|
+
LeadTimeType["RenewAire"] = "RenewAire";
|
|
7033
|
+
LeadTimeType["SpUnits"] = "SPUnits";
|
|
7034
|
+
})(LeadTimeType || (LeadTimeType = {}));
|
|
7035
|
+
|
|
6822
7036
|
/**
|
|
6823
7037
|
* RenewAire CORES API
|
|
6824
7038
|
*
|
|
@@ -7113,6 +7327,16 @@ var SaveGroupDtoTypeEnum;
|
|
|
7113
7327
|
SaveGroupDtoTypeEnum["System"] = "System";
|
|
7114
7328
|
})(SaveGroupDtoTypeEnum || (SaveGroupDtoTypeEnum = {}));
|
|
7115
7329
|
|
|
7330
|
+
/**
|
|
7331
|
+
* RenewAire CORES API
|
|
7332
|
+
*
|
|
7333
|
+
* Contact: renewaire@saritasa.com
|
|
7334
|
+
*
|
|
7335
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7336
|
+
* https://openapi-generator.tech
|
|
7337
|
+
* Do not edit the class manually.
|
|
7338
|
+
*/
|
|
7339
|
+
|
|
7116
7340
|
/**
|
|
7117
7341
|
* RenewAire CORES API
|
|
7118
7342
|
*
|
|
@@ -7540,5 +7764,5 @@ function provideApi(configOrBasePath) {
|
|
|
7540
7764
|
* Generated bundle index. Do not edit.
|
|
7541
7765
|
*/
|
|
7542
7766
|
|
|
7543
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, ControllerProgramDtoProgramTypeEnum, ControllerProgramDtoReleaseTypeEnum, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
7767
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, ControllerProgramDtoProgramTypeEnum, ControllerProgramDtoReleaseTypeEnum, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CreateLeadTimeGroupDtoTypeEnum, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeGroupDtoTypeEnum, LeadTimeType, LeadTimesApiService, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
7544
7768
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|