@saritasa/renewaire-frontend-sdk 0.63.0 → 0.65.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,57 +650,6 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
650
650
|
reportProgress: reportProgress,
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
|
-
controllerProgramsCreateFileUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
654
|
-
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
655
|
-
let localVarHeaders = this.defaultHeaders;
|
|
656
|
-
// authentication (Bearer) required
|
|
657
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
658
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
659
|
-
this.configuration.selectHeaderAccept([
|
|
660
|
-
"text/plain",
|
|
661
|
-
"application/json",
|
|
662
|
-
"text/json",
|
|
663
|
-
]);
|
|
664
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
665
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
666
|
-
}
|
|
667
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
668
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
669
|
-
// to determine the Content-Type header
|
|
670
|
-
const consumes = [
|
|
671
|
-
"application/json",
|
|
672
|
-
"text/json",
|
|
673
|
-
"application/*+json",
|
|
674
|
-
];
|
|
675
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
676
|
-
if (httpContentTypeSelected !== undefined) {
|
|
677
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
678
|
-
}
|
|
679
|
-
let responseType_ = "json";
|
|
680
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
681
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
682
|
-
responseType_ = "text";
|
|
683
|
-
}
|
|
684
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
685
|
-
responseType_ = "json";
|
|
686
|
-
}
|
|
687
|
-
else {
|
|
688
|
-
responseType_ = "blob";
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
let localVarPath = `/api/controller-programs/files/upload-url`;
|
|
692
|
-
const { basePath, withCredentials } = this.configuration;
|
|
693
|
-
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
694
|
-
context: localVarHttpContext,
|
|
695
|
-
body: createUploadUrlCommand,
|
|
696
|
-
responseType: responseType_,
|
|
697
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
698
|
-
headers: localVarHeaders,
|
|
699
|
-
observe: observe,
|
|
700
|
-
transferCache: localVarTransferCache,
|
|
701
|
-
reportProgress: reportProgress,
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
653
|
controllerProgramsGetControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
|
|
705
654
|
const controllerProgramId = requestParameters?.controllerProgramId;
|
|
706
655
|
if (controllerProgramId === null || controllerProgramId === undefined) {
|
|
@@ -1166,6 +1115,9 @@ class GroupsApiService extends BaseService {
|
|
|
1166
1115
|
const isActive = requestParameters?.isActive;
|
|
1167
1116
|
const erpCustomerName = requestParameters?.erpCustomerName;
|
|
1168
1117
|
const customerType = requestParameters?.customerType;
|
|
1118
|
+
const repTerritoryName = requestParameters?.repTerritoryName;
|
|
1119
|
+
const permissionBundleName = requestParameters?.permissionBundleName;
|
|
1120
|
+
const erpCustomerNumber = requestParameters?.erpCustomerNumber;
|
|
1169
1121
|
const text = requestParameters?.text;
|
|
1170
1122
|
const orderBy = requestParameters?.orderBy;
|
|
1171
1123
|
const page = requestParameters?.page;
|
|
@@ -1182,6 +1134,9 @@ class GroupsApiService extends BaseService {
|
|
|
1182
1134
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
|
|
1183
1135
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerName, "ErpCustomerName");
|
|
1184
1136
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, customerType, "CustomerType");
|
|
1137
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryName, "RepTerritoryName");
|
|
1138
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, permissionBundleName, "PermissionBundleName");
|
|
1139
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerNumber, "ErpCustomerNumber");
|
|
1185
1140
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
|
|
1186
1141
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1187
1142
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
@@ -3646,57 +3601,6 @@ class RsdRegionsApiService extends BaseService {
|
|
|
3646
3601
|
reportProgress: reportProgress,
|
|
3647
3602
|
});
|
|
3648
3603
|
}
|
|
3649
|
-
rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3650
|
-
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
3651
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3652
|
-
// authentication (Bearer) required
|
|
3653
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3654
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3655
|
-
this.configuration.selectHeaderAccept([
|
|
3656
|
-
"text/plain",
|
|
3657
|
-
"application/json",
|
|
3658
|
-
"text/json",
|
|
3659
|
-
]);
|
|
3660
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3661
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3662
|
-
}
|
|
3663
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3664
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3665
|
-
// to determine the Content-Type header
|
|
3666
|
-
const consumes = [
|
|
3667
|
-
"application/json",
|
|
3668
|
-
"text/json",
|
|
3669
|
-
"application/*+json",
|
|
3670
|
-
];
|
|
3671
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3672
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3673
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3674
|
-
}
|
|
3675
|
-
let responseType_ = "json";
|
|
3676
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3677
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3678
|
-
responseType_ = "text";
|
|
3679
|
-
}
|
|
3680
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3681
|
-
responseType_ = "json";
|
|
3682
|
-
}
|
|
3683
|
-
else {
|
|
3684
|
-
responseType_ = "blob";
|
|
3685
|
-
}
|
|
3686
|
-
}
|
|
3687
|
-
let localVarPath = `/api/rsd-regions/documents/upload-url`;
|
|
3688
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3689
|
-
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
3690
|
-
context: localVarHttpContext,
|
|
3691
|
-
body: createUploadUrlCommand,
|
|
3692
|
-
responseType: responseType_,
|
|
3693
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3694
|
-
headers: localVarHeaders,
|
|
3695
|
-
observe: observe,
|
|
3696
|
-
transferCache: localVarTransferCache,
|
|
3697
|
-
reportProgress: reportProgress,
|
|
3698
|
-
});
|
|
3699
|
-
}
|
|
3700
3604
|
rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3701
3605
|
const name = requestParameters?.name;
|
|
3702
3606
|
if (name === null || name === undefined) {
|
|
@@ -4149,6 +4053,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
4149
4053
|
type: Optional
|
|
4150
4054
|
}] }] });
|
|
4151
4055
|
|
|
4056
|
+
/**
|
|
4057
|
+
* RenewAire CORES API
|
|
4058
|
+
*
|
|
4059
|
+
* Contact: renewaire@saritasa.com
|
|
4060
|
+
*
|
|
4061
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4062
|
+
* https://openapi-generator.tech
|
|
4063
|
+
* Do not edit the class manually.
|
|
4064
|
+
*/
|
|
4065
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4066
|
+
class S3ApiService extends BaseService {
|
|
4067
|
+
httpClient;
|
|
4068
|
+
constructor(httpClient, basePath, configuration) {
|
|
4069
|
+
super(basePath, configuration);
|
|
4070
|
+
this.httpClient = httpClient;
|
|
4071
|
+
}
|
|
4072
|
+
s3CreateFileUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4073
|
+
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
4074
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4075
|
+
// authentication (Bearer) required
|
|
4076
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4077
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4078
|
+
this.configuration.selectHeaderAccept([
|
|
4079
|
+
"text/plain",
|
|
4080
|
+
"application/json",
|
|
4081
|
+
"text/json",
|
|
4082
|
+
]);
|
|
4083
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4084
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4085
|
+
}
|
|
4086
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4087
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4088
|
+
// to determine the Content-Type header
|
|
4089
|
+
const consumes = [
|
|
4090
|
+
"application/json",
|
|
4091
|
+
"text/json",
|
|
4092
|
+
"application/*+json",
|
|
4093
|
+
];
|
|
4094
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4095
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4096
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4097
|
+
}
|
|
4098
|
+
let responseType_ = "json";
|
|
4099
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4100
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4101
|
+
responseType_ = "text";
|
|
4102
|
+
}
|
|
4103
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4104
|
+
responseType_ = "json";
|
|
4105
|
+
}
|
|
4106
|
+
else {
|
|
4107
|
+
responseType_ = "blob";
|
|
4108
|
+
}
|
|
4109
|
+
}
|
|
4110
|
+
let localVarPath = `/api/s3/upload-url`;
|
|
4111
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4112
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4113
|
+
context: localVarHttpContext,
|
|
4114
|
+
body: createUploadUrlCommand,
|
|
4115
|
+
responseType: responseType_,
|
|
4116
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4117
|
+
headers: localVarHeaders,
|
|
4118
|
+
observe: observe,
|
|
4119
|
+
transferCache: localVarTransferCache,
|
|
4120
|
+
reportProgress: reportProgress,
|
|
4121
|
+
});
|
|
4122
|
+
}
|
|
4123
|
+
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 });
|
|
4124
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, providedIn: "root" });
|
|
4125
|
+
}
|
|
4126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, decorators: [{
|
|
4127
|
+
type: Injectable,
|
|
4128
|
+
args: [{
|
|
4129
|
+
providedIn: "root",
|
|
4130
|
+
}]
|
|
4131
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4132
|
+
type: Optional
|
|
4133
|
+
}, {
|
|
4134
|
+
type: Inject,
|
|
4135
|
+
args: [BASE_PATH]
|
|
4136
|
+
}] }, { type: Configuration, decorators: [{
|
|
4137
|
+
type: Optional
|
|
4138
|
+
}] }] });
|
|
4139
|
+
|
|
4152
4140
|
/**
|
|
4153
4141
|
* RenewAire CORES API
|
|
4154
4142
|
*
|
|
@@ -6395,6 +6383,7 @@ const APIS = [
|
|
|
6395
6383
|
RepTerritoriesApiService,
|
|
6396
6384
|
RepTerritoryLocationsApiService,
|
|
6397
6385
|
RsdRegionsApiService,
|
|
6386
|
+
S3ApiService,
|
|
6398
6387
|
StaticFilesApiService,
|
|
6399
6388
|
UserDesignConditionsApiService,
|
|
6400
6389
|
UserTablesApiService,
|
|
@@ -7550,5 +7539,5 @@ function provideApi(configOrBasePath) {
|
|
|
7550
7539
|
* Generated bundle index. Do not edit.
|
|
7551
7540
|
*/
|
|
7552
7541
|
|
|
7553
|
-
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, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
7542
|
+
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 };
|
|
7554
7543
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|