@saritasa/renewaire-frontend-sdk 0.1.0-dev.341 → 0.1.0-dev.420
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.
|
@@ -1079,6 +1079,61 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
1079
1079
|
reportProgress: reportProgress,
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
|
+
repTerritoriesCreateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1083
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1084
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1085
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesCreateRepTerritoryLocation.");
|
|
1086
|
+
}
|
|
1087
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1088
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1089
|
+
// authentication (Bearer) required
|
|
1090
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1091
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1092
|
+
this.configuration.selectHeaderAccept([
|
|
1093
|
+
"text/plain",
|
|
1094
|
+
"application/json",
|
|
1095
|
+
"text/json",
|
|
1096
|
+
]);
|
|
1097
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1098
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1099
|
+
}
|
|
1100
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1101
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1102
|
+
// to determine the Content-Type header
|
|
1103
|
+
const consumes = [
|
|
1104
|
+
"application/json",
|
|
1105
|
+
"text/json",
|
|
1106
|
+
"application/*+json",
|
|
1107
|
+
];
|
|
1108
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1109
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1110
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1111
|
+
}
|
|
1112
|
+
let responseType_ = "json";
|
|
1113
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1114
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1115
|
+
responseType_ = "text";
|
|
1116
|
+
}
|
|
1117
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1118
|
+
responseType_ = "json";
|
|
1119
|
+
}
|
|
1120
|
+
else {
|
|
1121
|
+
responseType_ = "blob";
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/locations`;
|
|
1125
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1126
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1127
|
+
context: localVarHttpContext,
|
|
1128
|
+
body: saveRepTerritoryLocationDto,
|
|
1129
|
+
responseType: responseType_,
|
|
1130
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1131
|
+
headers: localVarHeaders,
|
|
1132
|
+
observe: observe,
|
|
1133
|
+
transferCache: localVarTransferCache,
|
|
1134
|
+
reportProgress: reportProgress,
|
|
1135
|
+
});
|
|
1136
|
+
}
|
|
1082
1137
|
repTerritoriesCreateRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1083
1138
|
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1084
1139
|
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
@@ -1335,6 +1390,228 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1335
1390
|
type: Optional
|
|
1336
1391
|
}] }] });
|
|
1337
1392
|
|
|
1393
|
+
/**
|
|
1394
|
+
* RenewAire CORES API
|
|
1395
|
+
*
|
|
1396
|
+
* Contact: renewaire@saritasa.com
|
|
1397
|
+
*
|
|
1398
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1399
|
+
* https://openapi-generator.tech
|
|
1400
|
+
* Do not edit the class manually.
|
|
1401
|
+
*/
|
|
1402
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1403
|
+
class RepTerritoryLocationsApiService extends BaseService {
|
|
1404
|
+
httpClient;
|
|
1405
|
+
constructor(httpClient, basePath, configuration) {
|
|
1406
|
+
super(basePath, configuration);
|
|
1407
|
+
this.httpClient = httpClient;
|
|
1408
|
+
}
|
|
1409
|
+
repTerritoryLocationsGetRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1410
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1411
|
+
if (repTerritoryLocationId === null ||
|
|
1412
|
+
repTerritoryLocationId === undefined) {
|
|
1413
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsGetRepTerritoryLocation.");
|
|
1414
|
+
}
|
|
1415
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1416
|
+
// authentication (Bearer) required
|
|
1417
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1418
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1419
|
+
this.configuration.selectHeaderAccept([
|
|
1420
|
+
"text/plain",
|
|
1421
|
+
"application/json",
|
|
1422
|
+
"text/json",
|
|
1423
|
+
]);
|
|
1424
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1425
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1426
|
+
}
|
|
1427
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1428
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1429
|
+
let responseType_ = "json";
|
|
1430
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1431
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1432
|
+
responseType_ = "text";
|
|
1433
|
+
}
|
|
1434
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1435
|
+
responseType_ = "json";
|
|
1436
|
+
}
|
|
1437
|
+
else {
|
|
1438
|
+
responseType_ = "blob";
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1442
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1443
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1444
|
+
context: localVarHttpContext,
|
|
1445
|
+
responseType: responseType_,
|
|
1446
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1447
|
+
headers: localVarHeaders,
|
|
1448
|
+
observe: observe,
|
|
1449
|
+
transferCache: localVarTransferCache,
|
|
1450
|
+
reportProgress: reportProgress,
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1454
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1455
|
+
if (repTerritoryLocationId === null ||
|
|
1456
|
+
repTerritoryLocationId === undefined) {
|
|
1457
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsRemoveRepTerritoryLocation.");
|
|
1458
|
+
}
|
|
1459
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1460
|
+
// authentication (Bearer) required
|
|
1461
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1462
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1463
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1464
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1465
|
+
}
|
|
1466
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1467
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1468
|
+
let responseType_ = "json";
|
|
1469
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1470
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1471
|
+
responseType_ = "text";
|
|
1472
|
+
}
|
|
1473
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1474
|
+
responseType_ = "json";
|
|
1475
|
+
}
|
|
1476
|
+
else {
|
|
1477
|
+
responseType_ = "blob";
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1481
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1482
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1483
|
+
context: localVarHttpContext,
|
|
1484
|
+
responseType: responseType_,
|
|
1485
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1486
|
+
headers: localVarHeaders,
|
|
1487
|
+
observe: observe,
|
|
1488
|
+
transferCache: localVarTransferCache,
|
|
1489
|
+
reportProgress: reportProgress,
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
repTerritoryLocationsSearchRepTerritoryLocations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1493
|
+
const name = requestParameters?.name;
|
|
1494
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1495
|
+
const repName = requestParameters?.repName;
|
|
1496
|
+
const allCounties = requestParameters?.allCounties;
|
|
1497
|
+
const orderBy = requestParameters?.orderBy;
|
|
1498
|
+
const page = requestParameters?.page;
|
|
1499
|
+
const pageSize = requestParameters?.pageSize;
|
|
1500
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1501
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
1502
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryId, "RepTerritoryId");
|
|
1503
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repName, "RepName");
|
|
1504
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, allCounties, "AllCounties");
|
|
1505
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1506
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1507
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1508
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1509
|
+
// authentication (Bearer) required
|
|
1510
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1511
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1512
|
+
this.configuration.selectHeaderAccept([
|
|
1513
|
+
"text/plain",
|
|
1514
|
+
"application/json",
|
|
1515
|
+
"text/json",
|
|
1516
|
+
]);
|
|
1517
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1518
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1519
|
+
}
|
|
1520
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1521
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1522
|
+
let responseType_ = "json";
|
|
1523
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1524
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1525
|
+
responseType_ = "text";
|
|
1526
|
+
}
|
|
1527
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1528
|
+
responseType_ = "json";
|
|
1529
|
+
}
|
|
1530
|
+
else {
|
|
1531
|
+
responseType_ = "blob";
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
let localVarPath = `/api/rep-territory-locations`;
|
|
1535
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1536
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1537
|
+
context: localVarHttpContext,
|
|
1538
|
+
params: localVarQueryParameters,
|
|
1539
|
+
responseType: responseType_,
|
|
1540
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1541
|
+
headers: localVarHeaders,
|
|
1542
|
+
observe: observe,
|
|
1543
|
+
transferCache: localVarTransferCache,
|
|
1544
|
+
reportProgress: reportProgress,
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1548
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1549
|
+
if (repTerritoryLocationId === null ||
|
|
1550
|
+
repTerritoryLocationId === undefined) {
|
|
1551
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsUpdateRepTerritoryLocation.");
|
|
1552
|
+
}
|
|
1553
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1554
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1555
|
+
// authentication (Bearer) required
|
|
1556
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1557
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1558
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1559
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1560
|
+
}
|
|
1561
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1562
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1563
|
+
// to determine the Content-Type header
|
|
1564
|
+
const consumes = [
|
|
1565
|
+
"application/json",
|
|
1566
|
+
"text/json",
|
|
1567
|
+
"application/*+json",
|
|
1568
|
+
];
|
|
1569
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1570
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1571
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1572
|
+
}
|
|
1573
|
+
let responseType_ = "json";
|
|
1574
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1575
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1576
|
+
responseType_ = "text";
|
|
1577
|
+
}
|
|
1578
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1579
|
+
responseType_ = "json";
|
|
1580
|
+
}
|
|
1581
|
+
else {
|
|
1582
|
+
responseType_ = "blob";
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1586
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1587
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1588
|
+
context: localVarHttpContext,
|
|
1589
|
+
body: saveRepTerritoryLocationDto,
|
|
1590
|
+
responseType: responseType_,
|
|
1591
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1592
|
+
headers: localVarHeaders,
|
|
1593
|
+
observe: observe,
|
|
1594
|
+
transferCache: localVarTransferCache,
|
|
1595
|
+
reportProgress: reportProgress,
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1599
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
|
|
1600
|
+
}
|
|
1601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
|
|
1602
|
+
type: Injectable,
|
|
1603
|
+
args: [{
|
|
1604
|
+
providedIn: "root",
|
|
1605
|
+
}]
|
|
1606
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1607
|
+
type: Optional
|
|
1608
|
+
}, {
|
|
1609
|
+
type: Inject,
|
|
1610
|
+
args: [BASE_PATH]
|
|
1611
|
+
}] }, { type: Configuration, decorators: [{
|
|
1612
|
+
type: Optional
|
|
1613
|
+
}] }] });
|
|
1614
|
+
|
|
1338
1615
|
/**
|
|
1339
1616
|
* RenewAire CORES API
|
|
1340
1617
|
*
|
|
@@ -1351,6 +1628,99 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1351
1628
|
super(basePath, configuration);
|
|
1352
1629
|
this.httpClient = httpClient;
|
|
1353
1630
|
}
|
|
1631
|
+
rsdRegionsCreateDocumentDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1632
|
+
const rsdRegionId = requestParameters?.rsdRegionId;
|
|
1633
|
+
if (rsdRegionId === null || rsdRegionId === undefined) {
|
|
1634
|
+
throw new Error("Required parameter rsdRegionId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1635
|
+
}
|
|
1636
|
+
const documentId = requestParameters?.documentId;
|
|
1637
|
+
if (documentId === null || documentId === undefined) {
|
|
1638
|
+
throw new Error("Required parameter documentId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1639
|
+
}
|
|
1640
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1641
|
+
// authentication (Bearer) required
|
|
1642
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1643
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1644
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1645
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1646
|
+
}
|
|
1647
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1648
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1649
|
+
let responseType_ = "json";
|
|
1650
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1651
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1652
|
+
responseType_ = "text";
|
|
1653
|
+
}
|
|
1654
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1655
|
+
responseType_ = "json";
|
|
1656
|
+
}
|
|
1657
|
+
else {
|
|
1658
|
+
responseType_ = "blob";
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents/${this.configuration.encodeParam({ name: "documentId", value: documentId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/download-url`;
|
|
1662
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1663
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1664
|
+
context: localVarHttpContext,
|
|
1665
|
+
responseType: responseType_,
|
|
1666
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1667
|
+
headers: localVarHeaders,
|
|
1668
|
+
observe: observe,
|
|
1669
|
+
transferCache: localVarTransferCache,
|
|
1670
|
+
reportProgress: reportProgress,
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1674
|
+
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
1675
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1676
|
+
// authentication (Bearer) required
|
|
1677
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1678
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1679
|
+
this.configuration.selectHeaderAccept([
|
|
1680
|
+
"text/plain",
|
|
1681
|
+
"application/json",
|
|
1682
|
+
"text/json",
|
|
1683
|
+
]);
|
|
1684
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1685
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1686
|
+
}
|
|
1687
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1688
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1689
|
+
// to determine the Content-Type header
|
|
1690
|
+
const consumes = [
|
|
1691
|
+
"application/json",
|
|
1692
|
+
"text/json",
|
|
1693
|
+
"application/*+json",
|
|
1694
|
+
];
|
|
1695
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1696
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1697
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1698
|
+
}
|
|
1699
|
+
let responseType_ = "json";
|
|
1700
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1701
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1702
|
+
responseType_ = "text";
|
|
1703
|
+
}
|
|
1704
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1705
|
+
responseType_ = "json";
|
|
1706
|
+
}
|
|
1707
|
+
else {
|
|
1708
|
+
responseType_ = "blob";
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
let localVarPath = `/api/rsd-regions/documents/upload-url`;
|
|
1712
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1713
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1714
|
+
context: localVarHttpContext,
|
|
1715
|
+
body: createUploadUrlCommand,
|
|
1716
|
+
responseType: responseType_,
|
|
1717
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1718
|
+
headers: localVarHeaders,
|
|
1719
|
+
observe: observe,
|
|
1720
|
+
transferCache: localVarTransferCache,
|
|
1721
|
+
reportProgress: reportProgress,
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1354
1724
|
rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1355
1725
|
const createRsdRegionDto = requestParameters?.createRsdRegionDto;
|
|
1356
1726
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -1389,11 +1759,104 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1389
1759
|
responseType_ = "blob";
|
|
1390
1760
|
}
|
|
1391
1761
|
}
|
|
1392
|
-
let localVarPath = `/api/rsd-regions`;
|
|
1762
|
+
let localVarPath = `/api/rsd-regions`;
|
|
1763
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1764
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1765
|
+
context: localVarHttpContext,
|
|
1766
|
+
body: createRsdRegionDto,
|
|
1767
|
+
responseType: responseType_,
|
|
1768
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1769
|
+
headers: localVarHeaders,
|
|
1770
|
+
observe: observe,
|
|
1771
|
+
transferCache: localVarTransferCache,
|
|
1772
|
+
reportProgress: reportProgress,
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
rsdRegionsCreateRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1776
|
+
const id = requestParameters?.id;
|
|
1777
|
+
if (id === null || id === undefined) {
|
|
1778
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsCreateRsdRegionDocuments.");
|
|
1779
|
+
}
|
|
1780
|
+
const createDocumentsDto = requestParameters?.createDocumentsDto;
|
|
1781
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1782
|
+
// authentication (Bearer) required
|
|
1783
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1784
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1785
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1786
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1787
|
+
}
|
|
1788
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1789
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1790
|
+
// to determine the Content-Type header
|
|
1791
|
+
const consumes = [
|
|
1792
|
+
"application/json",
|
|
1793
|
+
"text/json",
|
|
1794
|
+
"application/*+json",
|
|
1795
|
+
];
|
|
1796
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1797
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1798
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1799
|
+
}
|
|
1800
|
+
let responseType_ = "json";
|
|
1801
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1802
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1803
|
+
responseType_ = "text";
|
|
1804
|
+
}
|
|
1805
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1806
|
+
responseType_ = "json";
|
|
1807
|
+
}
|
|
1808
|
+
else {
|
|
1809
|
+
responseType_ = "blob";
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents`;
|
|
1813
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1814
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1815
|
+
context: localVarHttpContext,
|
|
1816
|
+
body: createDocumentsDto,
|
|
1817
|
+
responseType: responseType_,
|
|
1818
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1819
|
+
headers: localVarHeaders,
|
|
1820
|
+
observe: observe,
|
|
1821
|
+
transferCache: localVarTransferCache,
|
|
1822
|
+
reportProgress: reportProgress,
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
rsdRegionsGetRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1826
|
+
const id = requestParameters?.id;
|
|
1827
|
+
if (id === null || id === undefined) {
|
|
1828
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsGetRsdRegion.");
|
|
1829
|
+
}
|
|
1830
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1831
|
+
// authentication (Bearer) required
|
|
1832
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1833
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1834
|
+
this.configuration.selectHeaderAccept([
|
|
1835
|
+
"text/plain",
|
|
1836
|
+
"application/json",
|
|
1837
|
+
"text/json",
|
|
1838
|
+
]);
|
|
1839
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1840
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1841
|
+
}
|
|
1842
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1843
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1844
|
+
let responseType_ = "json";
|
|
1845
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1846
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1847
|
+
responseType_ = "text";
|
|
1848
|
+
}
|
|
1849
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1850
|
+
responseType_ = "json";
|
|
1851
|
+
}
|
|
1852
|
+
else {
|
|
1853
|
+
responseType_ = "blob";
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1393
1857
|
const { basePath, withCredentials } = this.configuration;
|
|
1394
|
-
return this.httpClient.request("
|
|
1858
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1395
1859
|
context: localVarHttpContext,
|
|
1396
|
-
body: createRsdRegionDto,
|
|
1397
1860
|
responseType: responseType_,
|
|
1398
1861
|
...(withCredentials ? { withCredentials } : {}),
|
|
1399
1862
|
headers: localVarHeaders,
|
|
@@ -1402,20 +1865,15 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1402
1865
|
reportProgress: reportProgress,
|
|
1403
1866
|
});
|
|
1404
1867
|
}
|
|
1405
|
-
|
|
1868
|
+
rsdRegionsRemoveRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1406
1869
|
const id = requestParameters?.id;
|
|
1407
1870
|
if (id === null || id === undefined) {
|
|
1408
|
-
throw new Error("Required parameter id was null or undefined when calling
|
|
1871
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsRemoveRsdRegion.");
|
|
1409
1872
|
}
|
|
1410
1873
|
let localVarHeaders = this.defaultHeaders;
|
|
1411
1874
|
// authentication (Bearer) required
|
|
1412
1875
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1413
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1414
|
-
this.configuration.selectHeaderAccept([
|
|
1415
|
-
"text/plain",
|
|
1416
|
-
"application/json",
|
|
1417
|
-
"text/json",
|
|
1418
|
-
]);
|
|
1876
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1419
1877
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1420
1878
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1421
1879
|
}
|
|
@@ -1435,7 +1893,7 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1435
1893
|
}
|
|
1436
1894
|
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1437
1895
|
const { basePath, withCredentials } = this.configuration;
|
|
1438
|
-
return this.httpClient.request("
|
|
1896
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1439
1897
|
context: localVarHttpContext,
|
|
1440
1898
|
responseType: responseType_,
|
|
1441
1899
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -1445,11 +1903,8 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1445
1903
|
reportProgress: reportProgress,
|
|
1446
1904
|
});
|
|
1447
1905
|
}
|
|
1448
|
-
|
|
1449
|
-
const
|
|
1450
|
-
if (id === null || id === undefined) {
|
|
1451
|
-
throw new Error("Required parameter id was null or undefined when calling rsdRegionsRemoveRsdRegion.");
|
|
1452
|
-
}
|
|
1906
|
+
rsdRegionsRemoveRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1907
|
+
const removeDocumentsCommand = requestParameters?.removeDocumentsCommand;
|
|
1453
1908
|
let localVarHeaders = this.defaultHeaders;
|
|
1454
1909
|
// authentication (Bearer) required
|
|
1455
1910
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1459,6 +1914,16 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1459
1914
|
}
|
|
1460
1915
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1461
1916
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1917
|
+
// to determine the Content-Type header
|
|
1918
|
+
const consumes = [
|
|
1919
|
+
"application/json",
|
|
1920
|
+
"text/json",
|
|
1921
|
+
"application/*+json",
|
|
1922
|
+
];
|
|
1923
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1924
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1925
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1926
|
+
}
|
|
1462
1927
|
let responseType_ = "json";
|
|
1463
1928
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1464
1929
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -1471,10 +1936,11 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1471
1936
|
responseType_ = "blob";
|
|
1472
1937
|
}
|
|
1473
1938
|
}
|
|
1474
|
-
let localVarPath = `/api/rsd-regions
|
|
1939
|
+
let localVarPath = `/api/rsd-regions/documents`;
|
|
1475
1940
|
const { basePath, withCredentials } = this.configuration;
|
|
1476
1941
|
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1477
1942
|
context: localVarHttpContext,
|
|
1943
|
+
body: removeDocumentsCommand,
|
|
1478
1944
|
responseType: responseType_,
|
|
1479
1945
|
...(withCredentials ? { withCredentials } : {}),
|
|
1480
1946
|
headers: localVarHeaders,
|
|
@@ -1609,6 +2075,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1609
2075
|
type: Optional
|
|
1610
2076
|
}] }] });
|
|
1611
2077
|
|
|
2078
|
+
/**
|
|
2079
|
+
* RenewAire CORES API
|
|
2080
|
+
*
|
|
2081
|
+
* Contact: renewaire@saritasa.com
|
|
2082
|
+
*
|
|
2083
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2084
|
+
* https://openapi-generator.tech
|
|
2085
|
+
* Do not edit the class manually.
|
|
2086
|
+
*/
|
|
2087
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2088
|
+
class UserDesignConditionsApiService extends BaseService {
|
|
2089
|
+
httpClient;
|
|
2090
|
+
constructor(httpClient, basePath, configuration) {
|
|
2091
|
+
super(basePath, configuration);
|
|
2092
|
+
this.httpClient = httpClient;
|
|
2093
|
+
}
|
|
2094
|
+
userDesignConditionsGetProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2095
|
+
const userId = requestParameters?.userId;
|
|
2096
|
+
if (userId === null || userId === undefined) {
|
|
2097
|
+
throw new Error("Required parameter userId was null or undefined when calling userDesignConditionsGetProjectDesignConditions.");
|
|
2098
|
+
}
|
|
2099
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2100
|
+
// authentication (Bearer) required
|
|
2101
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2102
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2103
|
+
this.configuration.selectHeaderAccept([
|
|
2104
|
+
"text/plain",
|
|
2105
|
+
"application/json",
|
|
2106
|
+
"text/json",
|
|
2107
|
+
]);
|
|
2108
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2109
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2110
|
+
}
|
|
2111
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2112
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2113
|
+
let responseType_ = "json";
|
|
2114
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2115
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2116
|
+
responseType_ = "text";
|
|
2117
|
+
}
|
|
2118
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2119
|
+
responseType_ = "json";
|
|
2120
|
+
}
|
|
2121
|
+
else {
|
|
2122
|
+
responseType_ = "blob";
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
let localVarPath = `/api/users/design-conditions/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
2126
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2127
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2128
|
+
context: localVarHttpContext,
|
|
2129
|
+
responseType: responseType_,
|
|
2130
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2131
|
+
headers: localVarHeaders,
|
|
2132
|
+
observe: observe,
|
|
2133
|
+
transferCache: localVarTransferCache,
|
|
2134
|
+
reportProgress: reportProgress,
|
|
2135
|
+
});
|
|
2136
|
+
}
|
|
2137
|
+
userDesignConditionsSaveProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2138
|
+
const saveUserDesignConditionsDto = requestParameters?.saveUserDesignConditionsDto;
|
|
2139
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2140
|
+
// authentication (Bearer) required
|
|
2141
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2142
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2143
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2144
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2145
|
+
}
|
|
2146
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2147
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2148
|
+
// to determine the Content-Type header
|
|
2149
|
+
const consumes = [
|
|
2150
|
+
"application/json",
|
|
2151
|
+
"text/json",
|
|
2152
|
+
"application/*+json",
|
|
2153
|
+
];
|
|
2154
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2155
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2156
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2157
|
+
}
|
|
2158
|
+
let responseType_ = "json";
|
|
2159
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2160
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2161
|
+
responseType_ = "text";
|
|
2162
|
+
}
|
|
2163
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2164
|
+
responseType_ = "json";
|
|
2165
|
+
}
|
|
2166
|
+
else {
|
|
2167
|
+
responseType_ = "blob";
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
let localVarPath = `/api/users/design-conditions`;
|
|
2171
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2172
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2173
|
+
context: localVarHttpContext,
|
|
2174
|
+
body: saveUserDesignConditionsDto,
|
|
2175
|
+
responseType: responseType_,
|
|
2176
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2177
|
+
headers: localVarHeaders,
|
|
2178
|
+
observe: observe,
|
|
2179
|
+
transferCache: localVarTransferCache,
|
|
2180
|
+
reportProgress: reportProgress,
|
|
2181
|
+
});
|
|
2182
|
+
}
|
|
2183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2184
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
|
|
2185
|
+
}
|
|
2186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
2187
|
+
type: Injectable,
|
|
2188
|
+
args: [{
|
|
2189
|
+
providedIn: "root",
|
|
2190
|
+
}]
|
|
2191
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2192
|
+
type: Optional
|
|
2193
|
+
}, {
|
|
2194
|
+
type: Inject,
|
|
2195
|
+
args: [BASE_PATH]
|
|
2196
|
+
}] }, { type: Configuration, decorators: [{
|
|
2197
|
+
type: Optional
|
|
2198
|
+
}] }] });
|
|
2199
|
+
|
|
1612
2200
|
/**
|
|
1613
2201
|
* RenewAire CORES API
|
|
1614
2202
|
*
|
|
@@ -1713,7 +2301,7 @@ class UsersApiService extends BaseService {
|
|
|
1713
2301
|
reportProgress: reportProgress,
|
|
1714
2302
|
});
|
|
1715
2303
|
}
|
|
1716
|
-
|
|
2304
|
+
usersGetCurrentRepContacts(observe = "body", reportProgress = false, options) {
|
|
1717
2305
|
let localVarHeaders = this.defaultHeaders;
|
|
1718
2306
|
// authentication (Bearer) required
|
|
1719
2307
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1752,10 +2340,10 @@ class UsersApiService extends BaseService {
|
|
|
1752
2340
|
reportProgress: reportProgress,
|
|
1753
2341
|
});
|
|
1754
2342
|
}
|
|
1755
|
-
|
|
2343
|
+
usersGetRepContacts(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1756
2344
|
const userId = requestParameters?.userId;
|
|
1757
2345
|
if (userId === null || userId === undefined) {
|
|
1758
|
-
throw new Error("Required parameter userId was null or undefined when calling
|
|
2346
|
+
throw new Error("Required parameter userId was null or undefined when calling usersGetRepContacts.");
|
|
1759
2347
|
}
|
|
1760
2348
|
let localVarHeaders = this.defaultHeaders;
|
|
1761
2349
|
// authentication (Bearer) required
|
|
@@ -1956,7 +2544,9 @@ const APIS = [
|
|
|
1956
2544
|
RegionsApiService,
|
|
1957
2545
|
RepContactsApiService,
|
|
1958
2546
|
RepTerritoriesApiService,
|
|
2547
|
+
RepTerritoryLocationsApiService,
|
|
1959
2548
|
RsdRegionsApiService,
|
|
2549
|
+
UserDesignConditionsApiService,
|
|
1960
2550
|
UsersApiService,
|
|
1961
2551
|
];
|
|
1962
2552
|
|
|
@@ -1997,6 +2587,72 @@ var AddressDtoCountryEnum;
|
|
|
1997
2587
|
AddressDtoCountryEnum["Mexico"] = "Mexico";
|
|
1998
2588
|
})(AddressDtoCountryEnum || (AddressDtoCountryEnum = {}));
|
|
1999
2589
|
|
|
2590
|
+
/**
|
|
2591
|
+
* RenewAire CORES API
|
|
2592
|
+
*
|
|
2593
|
+
* Contact: renewaire@saritasa.com
|
|
2594
|
+
*
|
|
2595
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2596
|
+
* https://openapi-generator.tech
|
|
2597
|
+
* Do not edit the class manually.
|
|
2598
|
+
*/
|
|
2599
|
+
/**
|
|
2600
|
+
* CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
|
|
2601
|
+
*/
|
|
2602
|
+
var CoolingDesignBasis;
|
|
2603
|
+
(function (CoolingDesignBasis) {
|
|
2604
|
+
CoolingDesignBasis["Cooling"] = "Cooling";
|
|
2605
|
+
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
2606
|
+
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* RenewAire CORES API
|
|
2610
|
+
*
|
|
2611
|
+
* Contact: renewaire@saritasa.com
|
|
2612
|
+
*
|
|
2613
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2614
|
+
* https://openapi-generator.tech
|
|
2615
|
+
* Do not edit the class manually.
|
|
2616
|
+
*/
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* RenewAire CORES API
|
|
2620
|
+
*
|
|
2621
|
+
* Contact: renewaire@saritasa.com
|
|
2622
|
+
*
|
|
2623
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2624
|
+
* https://openapi-generator.tech
|
|
2625
|
+
* Do not edit the class manually.
|
|
2626
|
+
*/
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* RenewAire CORES API
|
|
2630
|
+
*
|
|
2631
|
+
* Contact: renewaire@saritasa.com
|
|
2632
|
+
*
|
|
2633
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2634
|
+
* https://openapi-generator.tech
|
|
2635
|
+
* Do not edit the class manually.
|
|
2636
|
+
*/
|
|
2637
|
+
/**
|
|
2638
|
+
* DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
|
|
2639
|
+
*/
|
|
2640
|
+
var DesignWeatherMode;
|
|
2641
|
+
(function (DesignWeatherMode) {
|
|
2642
|
+
DesignWeatherMode["RelativeHumidity"] = "RelativeHumidity";
|
|
2643
|
+
DesignWeatherMode["WetBulb"] = "WetBulb";
|
|
2644
|
+
})(DesignWeatherMode || (DesignWeatherMode = {}));
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* RenewAire CORES API
|
|
2648
|
+
*
|
|
2649
|
+
* Contact: renewaire@saritasa.com
|
|
2650
|
+
*
|
|
2651
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2652
|
+
* https://openapi-generator.tech
|
|
2653
|
+
* Do not edit the class manually.
|
|
2654
|
+
*/
|
|
2655
|
+
|
|
2000
2656
|
/**
|
|
2001
2657
|
* RenewAire CORES API
|
|
2002
2658
|
*
|
|
@@ -2115,6 +2771,22 @@ var Permission;
|
|
|
2115
2771
|
* Do not edit the class manually.
|
|
2116
2772
|
*/
|
|
2117
2773
|
|
|
2774
|
+
/**
|
|
2775
|
+
* RenewAire CORES API
|
|
2776
|
+
*
|
|
2777
|
+
* Contact: renewaire@saritasa.com
|
|
2778
|
+
*
|
|
2779
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2780
|
+
* https://openapi-generator.tech
|
|
2781
|
+
* Do not edit the class manually.
|
|
2782
|
+
*/
|
|
2783
|
+
var RegionDtoLevelEnum;
|
|
2784
|
+
(function (RegionDtoLevelEnum) {
|
|
2785
|
+
RegionDtoLevelEnum["Country"] = "Country";
|
|
2786
|
+
RegionDtoLevelEnum["State"] = "State";
|
|
2787
|
+
RegionDtoLevelEnum["County"] = "County";
|
|
2788
|
+
})(RegionDtoLevelEnum || (RegionDtoLevelEnum = {}));
|
|
2789
|
+
|
|
2118
2790
|
/**
|
|
2119
2791
|
* RenewAire CORES API
|
|
2120
2792
|
*
|
|
@@ -2174,6 +2846,22 @@ var RegionLevel;
|
|
|
2174
2846
|
* Do not edit the class manually.
|
|
2175
2847
|
*/
|
|
2176
2848
|
|
|
2849
|
+
/**
|
|
2850
|
+
* RenewAire CORES API
|
|
2851
|
+
*
|
|
2852
|
+
* Contact: renewaire@saritasa.com
|
|
2853
|
+
*
|
|
2854
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2855
|
+
* https://openapi-generator.tech
|
|
2856
|
+
* Do not edit the class manually.
|
|
2857
|
+
*/
|
|
2858
|
+
|
|
2859
|
+
var SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
2860
|
+
(function (SaveUserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
2861
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
2862
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
2863
|
+
})(SaveUserDesignConditionsDtoCoolingDesignBasisEnum || (SaveUserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
2864
|
+
|
|
2177
2865
|
/**
|
|
2178
2866
|
* RenewAire CORES API
|
|
2179
2867
|
*
|
|
@@ -2230,6 +2918,48 @@ var SearchRegionDtoLevelEnum;
|
|
|
2230
2918
|
* Do not edit the class manually.
|
|
2231
2919
|
*/
|
|
2232
2920
|
|
|
2921
|
+
/**
|
|
2922
|
+
* RenewAire CORES API
|
|
2923
|
+
*
|
|
2924
|
+
* Contact: renewaire@saritasa.com
|
|
2925
|
+
*
|
|
2926
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2927
|
+
* https://openapi-generator.tech
|
|
2928
|
+
* Do not edit the class manually.
|
|
2929
|
+
*/
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* RenewAire CORES API
|
|
2933
|
+
*
|
|
2934
|
+
* Contact: renewaire@saritasa.com
|
|
2935
|
+
*
|
|
2936
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2937
|
+
* https://openapi-generator.tech
|
|
2938
|
+
* Do not edit the class manually.
|
|
2939
|
+
*/
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* RenewAire CORES API
|
|
2943
|
+
*
|
|
2944
|
+
* Contact: renewaire@saritasa.com
|
|
2945
|
+
*
|
|
2946
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2947
|
+
* https://openapi-generator.tech
|
|
2948
|
+
* Do not edit the class manually.
|
|
2949
|
+
*/
|
|
2950
|
+
|
|
2951
|
+
var UserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
2952
|
+
(function (UserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
2953
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
2954
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
2955
|
+
})(UserDesignConditionsDtoCoolingDesignBasisEnum || (UserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
2956
|
+
|
|
2957
|
+
var UserDesignWeatherConditionDtoDesignWeatherModeEnum;
|
|
2958
|
+
(function (UserDesignWeatherConditionDtoDesignWeatherModeEnum) {
|
|
2959
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["RelativeHumidity"] = "RelativeHumidity";
|
|
2960
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["WetBulb"] = "WetBulb";
|
|
2961
|
+
})(UserDesignWeatherConditionDtoDesignWeatherModeEnum || (UserDesignWeatherConditionDtoDesignWeatherModeEnum = {}));
|
|
2962
|
+
|
|
2233
2963
|
/**
|
|
2234
2964
|
* RenewAire CORES API
|
|
2235
2965
|
*
|
|
@@ -2312,5 +3042,5 @@ function provideApi(configOrBasePath) {
|
|
|
2312
3042
|
* Generated bundle index. Do not edit.
|
|
2313
3043
|
*/
|
|
2314
3044
|
|
|
2315
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, Permission, PermissionBundlesApiService, PermissionsApiService, RegionLevel, RegionsApiService, RepContactsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
3045
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
|
|
2316
3046
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|