@saritasa/renewaire-frontend-sdk 0.62.0 → 0.64.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
|
@@ -650,8 +650,11 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
650
650
|
reportProgress: reportProgress,
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
|
-
|
|
654
|
-
const
|
|
653
|
+
controllerProgramsGetControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
|
|
654
|
+
const controllerProgramId = requestParameters?.controllerProgramId;
|
|
655
|
+
if (controllerProgramId === null || controllerProgramId === undefined) {
|
|
656
|
+
throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsGetControllerProgram.");
|
|
657
|
+
}
|
|
655
658
|
let localVarHeaders = this.defaultHeaders;
|
|
656
659
|
// authentication (Bearer) required
|
|
657
660
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -666,16 +669,69 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
666
669
|
}
|
|
667
670
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
668
671
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
"
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
672
|
+
let responseType_ = "json";
|
|
673
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
674
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
675
|
+
responseType_ = "text";
|
|
676
|
+
}
|
|
677
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
678
|
+
responseType_ = "json";
|
|
679
|
+
}
|
|
680
|
+
else {
|
|
681
|
+
responseType_ = "blob";
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
685
|
+
const { basePath, withCredentials } = this.configuration;
|
|
686
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
687
|
+
context: localVarHttpContext,
|
|
688
|
+
responseType: responseType_,
|
|
689
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
690
|
+
headers: localVarHeaders,
|
|
691
|
+
observe: observe,
|
|
692
|
+
transferCache: localVarTransferCache,
|
|
693
|
+
reportProgress: reportProgress,
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
controllerProgramsSearchControllerPrograms(requestParameters, observe = "body", reportProgress = false, options) {
|
|
697
|
+
const programType = requestParameters?.programType;
|
|
698
|
+
if (programType === null || programType === undefined) {
|
|
699
|
+
throw new Error("Required parameter programType was null or undefined when calling controllerProgramsSearchControllerPrograms.");
|
|
700
|
+
}
|
|
701
|
+
const versionNumber = requestParameters?.versionNumber;
|
|
702
|
+
const releaseType = requestParameters?.releaseType;
|
|
703
|
+
const createdAt = requestParameters?.createdAt;
|
|
704
|
+
const createdBy = requestParameters?.createdBy;
|
|
705
|
+
const notes = requestParameters?.notes;
|
|
706
|
+
const fileName = requestParameters?.fileName;
|
|
707
|
+
const orderBy = requestParameters?.orderBy;
|
|
708
|
+
const page = requestParameters?.page;
|
|
709
|
+
const pageSize = requestParameters?.pageSize;
|
|
710
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
711
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, programType, "ProgramType");
|
|
712
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, versionNumber, "VersionNumber");
|
|
713
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, releaseType, "ReleaseType");
|
|
714
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
|
|
715
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdBy, "CreatedBy");
|
|
716
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, notes, "Notes");
|
|
717
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, fileName, "FileName");
|
|
718
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
719
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
720
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
721
|
+
let localVarHeaders = this.defaultHeaders;
|
|
722
|
+
// authentication (Bearer) required
|
|
723
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
724
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
725
|
+
this.configuration.selectHeaderAccept([
|
|
726
|
+
"text/plain",
|
|
727
|
+
"application/json",
|
|
728
|
+
"text/json",
|
|
729
|
+
]);
|
|
730
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
731
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
678
732
|
}
|
|
733
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
734
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
679
735
|
let responseType_ = "json";
|
|
680
736
|
if (localVarHttpHeaderAcceptSelected) {
|
|
681
737
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -688,11 +744,11 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
688
744
|
responseType_ = "blob";
|
|
689
745
|
}
|
|
690
746
|
}
|
|
691
|
-
let localVarPath = `/api/controller-programs
|
|
747
|
+
let localVarPath = `/api/controller-programs`;
|
|
692
748
|
const { basePath, withCredentials } = this.configuration;
|
|
693
|
-
return this.httpClient.request("
|
|
749
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
694
750
|
context: localVarHttpContext,
|
|
695
|
-
|
|
751
|
+
params: localVarQueryParameters,
|
|
696
752
|
responseType: responseType_,
|
|
697
753
|
...(withCredentials ? { withCredentials } : {}),
|
|
698
754
|
headers: localVarHeaders,
|
|
@@ -3539,57 +3595,6 @@ class RsdRegionsApiService extends BaseService {
|
|
|
3539
3595
|
reportProgress: reportProgress,
|
|
3540
3596
|
});
|
|
3541
3597
|
}
|
|
3542
|
-
rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3543
|
-
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
3544
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3545
|
-
// authentication (Bearer) required
|
|
3546
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3547
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3548
|
-
this.configuration.selectHeaderAccept([
|
|
3549
|
-
"text/plain",
|
|
3550
|
-
"application/json",
|
|
3551
|
-
"text/json",
|
|
3552
|
-
]);
|
|
3553
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3554
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3555
|
-
}
|
|
3556
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3557
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3558
|
-
// to determine the Content-Type header
|
|
3559
|
-
const consumes = [
|
|
3560
|
-
"application/json",
|
|
3561
|
-
"text/json",
|
|
3562
|
-
"application/*+json",
|
|
3563
|
-
];
|
|
3564
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3565
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3566
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3567
|
-
}
|
|
3568
|
-
let responseType_ = "json";
|
|
3569
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3570
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3571
|
-
responseType_ = "text";
|
|
3572
|
-
}
|
|
3573
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3574
|
-
responseType_ = "json";
|
|
3575
|
-
}
|
|
3576
|
-
else {
|
|
3577
|
-
responseType_ = "blob";
|
|
3578
|
-
}
|
|
3579
|
-
}
|
|
3580
|
-
let localVarPath = `/api/rsd-regions/documents/upload-url`;
|
|
3581
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3582
|
-
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
3583
|
-
context: localVarHttpContext,
|
|
3584
|
-
body: createUploadUrlCommand,
|
|
3585
|
-
responseType: responseType_,
|
|
3586
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3587
|
-
headers: localVarHeaders,
|
|
3588
|
-
observe: observe,
|
|
3589
|
-
transferCache: localVarTransferCache,
|
|
3590
|
-
reportProgress: reportProgress,
|
|
3591
|
-
});
|
|
3592
|
-
}
|
|
3593
3598
|
rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3594
3599
|
const name = requestParameters?.name;
|
|
3595
3600
|
if (name === null || name === undefined) {
|
|
@@ -4042,6 +4047,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
4042
4047
|
type: Optional
|
|
4043
4048
|
}] }] });
|
|
4044
4049
|
|
|
4050
|
+
/**
|
|
4051
|
+
* RenewAire CORES API
|
|
4052
|
+
*
|
|
4053
|
+
* Contact: renewaire@saritasa.com
|
|
4054
|
+
*
|
|
4055
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4056
|
+
* https://openapi-generator.tech
|
|
4057
|
+
* Do not edit the class manually.
|
|
4058
|
+
*/
|
|
4059
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4060
|
+
class S3ApiService extends BaseService {
|
|
4061
|
+
httpClient;
|
|
4062
|
+
constructor(httpClient, basePath, configuration) {
|
|
4063
|
+
super(basePath, configuration);
|
|
4064
|
+
this.httpClient = httpClient;
|
|
4065
|
+
}
|
|
4066
|
+
s3CreateFileUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4067
|
+
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
4068
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4069
|
+
// authentication (Bearer) required
|
|
4070
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4071
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4072
|
+
this.configuration.selectHeaderAccept([
|
|
4073
|
+
"text/plain",
|
|
4074
|
+
"application/json",
|
|
4075
|
+
"text/json",
|
|
4076
|
+
]);
|
|
4077
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4078
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4079
|
+
}
|
|
4080
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4081
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4082
|
+
// to determine the Content-Type header
|
|
4083
|
+
const consumes = [
|
|
4084
|
+
"application/json",
|
|
4085
|
+
"text/json",
|
|
4086
|
+
"application/*+json",
|
|
4087
|
+
];
|
|
4088
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4089
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4090
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4091
|
+
}
|
|
4092
|
+
let responseType_ = "json";
|
|
4093
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4094
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4095
|
+
responseType_ = "text";
|
|
4096
|
+
}
|
|
4097
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4098
|
+
responseType_ = "json";
|
|
4099
|
+
}
|
|
4100
|
+
else {
|
|
4101
|
+
responseType_ = "blob";
|
|
4102
|
+
}
|
|
4103
|
+
}
|
|
4104
|
+
let localVarPath = `/api/s3/upload-url`;
|
|
4105
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4106
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4107
|
+
context: localVarHttpContext,
|
|
4108
|
+
body: createUploadUrlCommand,
|
|
4109
|
+
responseType: responseType_,
|
|
4110
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4111
|
+
headers: localVarHeaders,
|
|
4112
|
+
observe: observe,
|
|
4113
|
+
transferCache: localVarTransferCache,
|
|
4114
|
+
reportProgress: reportProgress,
|
|
4115
|
+
});
|
|
4116
|
+
}
|
|
4117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4118
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, providedIn: "root" });
|
|
4119
|
+
}
|
|
4120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, decorators: [{
|
|
4121
|
+
type: Injectable,
|
|
4122
|
+
args: [{
|
|
4123
|
+
providedIn: "root",
|
|
4124
|
+
}]
|
|
4125
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4126
|
+
type: Optional
|
|
4127
|
+
}, {
|
|
4128
|
+
type: Inject,
|
|
4129
|
+
args: [BASE_PATH]
|
|
4130
|
+
}] }, { type: Configuration, decorators: [{
|
|
4131
|
+
type: Optional
|
|
4132
|
+
}] }] });
|
|
4133
|
+
|
|
4045
4134
|
/**
|
|
4046
4135
|
* RenewAire CORES API
|
|
4047
4136
|
*
|
|
@@ -6288,6 +6377,7 @@ const APIS = [
|
|
|
6288
6377
|
RepTerritoriesApiService,
|
|
6289
6378
|
RepTerritoryLocationsApiService,
|
|
6290
6379
|
RsdRegionsApiService,
|
|
6380
|
+
S3ApiService,
|
|
6291
6381
|
StaticFilesApiService,
|
|
6292
6382
|
UserDesignConditionsApiService,
|
|
6293
6383
|
UserTablesApiService,
|
|
@@ -6436,6 +6526,19 @@ var AuditEntity;
|
|
|
6436
6526
|
* Do not edit the class manually.
|
|
6437
6527
|
*/
|
|
6438
6528
|
|
|
6529
|
+
var ControllerProgramDtoProgramTypeEnum;
|
|
6530
|
+
(function (ControllerProgramDtoProgramTypeEnum) {
|
|
6531
|
+
ControllerProgramDtoProgramTypeEnum["Erv"] = "ERV";
|
|
6532
|
+
ControllerProgramDtoProgramTypeEnum["Dn"] = "DN";
|
|
6533
|
+
ControllerProgramDtoProgramTypeEnum["Refrigeration"] = "Refrigeration";
|
|
6534
|
+
ControllerProgramDtoProgramTypeEnum["Misc"] = "Misc";
|
|
6535
|
+
})(ControllerProgramDtoProgramTypeEnum || (ControllerProgramDtoProgramTypeEnum = {}));
|
|
6536
|
+
var ControllerProgramDtoReleaseTypeEnum;
|
|
6537
|
+
(function (ControllerProgramDtoReleaseTypeEnum) {
|
|
6538
|
+
ControllerProgramDtoReleaseTypeEnum["Custom"] = "Custom";
|
|
6539
|
+
ControllerProgramDtoReleaseTypeEnum["Factory"] = "Factory";
|
|
6540
|
+
})(ControllerProgramDtoReleaseTypeEnum || (ControllerProgramDtoReleaseTypeEnum = {}));
|
|
6541
|
+
|
|
6439
6542
|
/**
|
|
6440
6543
|
* RenewAire CORES API
|
|
6441
6544
|
*
|
|
@@ -7430,5 +7533,5 @@ function provideApi(configOrBasePath) {
|
|
|
7430
7533
|
* Generated bundle index. Do not edit.
|
|
7431
7534
|
*/
|
|
7432
7535
|
|
|
7433
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, 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, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
7536
|
+
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 };
|
|
7434
7537
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|