@saritasa/renewaire-frontend-sdk 0.111.1 → 0.113.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 +2 -2
- package/fesm2022/saritasa-renewaire-frontend-sdk.mjs +52 -125
- package/fesm2022/saritasa-renewaire-frontend-sdk.mjs.map +1 -1
- package/index.d.ts +197 -239
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1211,6 +1211,7 @@ class GroupsApiService extends BaseService {
|
|
|
1211
1211
|
const isActive = requestParameters?.isActive;
|
|
1212
1212
|
const erpCustomerName = requestParameters?.erpCustomerName;
|
|
1213
1213
|
const customerType = requestParameters?.customerType;
|
|
1214
|
+
const createdAt = requestParameters?.createdAt;
|
|
1214
1215
|
const repTerritoryName = requestParameters?.repTerritoryName;
|
|
1215
1216
|
const permissionBundleName = requestParameters?.permissionBundleName;
|
|
1216
1217
|
const erpCustomerNumber = requestParameters?.erpCustomerNumber;
|
|
@@ -1230,6 +1231,7 @@ class GroupsApiService extends BaseService {
|
|
|
1230
1231
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
|
|
1231
1232
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerName, "ErpCustomerName");
|
|
1232
1233
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, customerType, "CustomerType");
|
|
1234
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
|
|
1233
1235
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryName, "RepTerritoryName");
|
|
1234
1236
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, permissionBundleName, "PermissionBundleName");
|
|
1235
1237
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerNumber, "ErpCustomerNumber");
|
|
@@ -5195,129 +5197,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
|
|
|
5195
5197
|
type: Optional
|
|
5196
5198
|
}] }] });
|
|
5197
5199
|
|
|
5198
|
-
/**
|
|
5199
|
-
* RenewAire CORES API
|
|
5200
|
-
*
|
|
5201
|
-
* Contact: renewaire@saritasa.com
|
|
5202
|
-
*
|
|
5203
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5204
|
-
* https://openapi-generator.tech
|
|
5205
|
-
* Do not edit the class manually.
|
|
5206
|
-
*/
|
|
5207
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
5208
|
-
class UserDesignConditionsApiService extends BaseService {
|
|
5209
|
-
httpClient;
|
|
5210
|
-
constructor(httpClient, basePath, configuration) {
|
|
5211
|
-
super(basePath, configuration);
|
|
5212
|
-
this.httpClient = httpClient;
|
|
5213
|
-
}
|
|
5214
|
-
userDesignConditionsGetProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5215
|
-
const userId = requestParameters?.userId;
|
|
5216
|
-
if (userId === null || userId === undefined) {
|
|
5217
|
-
throw new Error("Required parameter userId was null or undefined when calling userDesignConditionsGetProjectDesignConditions.");
|
|
5218
|
-
}
|
|
5219
|
-
let localVarHeaders = this.defaultHeaders;
|
|
5220
|
-
// authentication (Bearer) required
|
|
5221
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
5222
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
5223
|
-
this.configuration.selectHeaderAccept([
|
|
5224
|
-
"text/plain",
|
|
5225
|
-
"application/json",
|
|
5226
|
-
"text/json",
|
|
5227
|
-
]);
|
|
5228
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5229
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
5230
|
-
}
|
|
5231
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5232
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
5233
|
-
let responseType_ = "json";
|
|
5234
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
5235
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
5236
|
-
responseType_ = "text";
|
|
5237
|
-
}
|
|
5238
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5239
|
-
responseType_ = "json";
|
|
5240
|
-
}
|
|
5241
|
-
else {
|
|
5242
|
-
responseType_ = "blob";
|
|
5243
|
-
}
|
|
5244
|
-
}
|
|
5245
|
-
let localVarPath = `/api/users/design-conditions/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
5246
|
-
const { basePath, withCredentials } = this.configuration;
|
|
5247
|
-
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
5248
|
-
context: localVarHttpContext,
|
|
5249
|
-
responseType: responseType_,
|
|
5250
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
5251
|
-
headers: localVarHeaders,
|
|
5252
|
-
observe: observe,
|
|
5253
|
-
transferCache: localVarTransferCache,
|
|
5254
|
-
reportProgress: reportProgress,
|
|
5255
|
-
});
|
|
5256
|
-
}
|
|
5257
|
-
userDesignConditionsSaveProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
5258
|
-
const saveUserDesignConditionsDto = requestParameters?.saveUserDesignConditionsDto;
|
|
5259
|
-
let localVarHeaders = this.defaultHeaders;
|
|
5260
|
-
// authentication (Bearer) required
|
|
5261
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
5262
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5263
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5264
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
5265
|
-
}
|
|
5266
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5267
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
5268
|
-
// to determine the Content-Type header
|
|
5269
|
-
const consumes = [
|
|
5270
|
-
"application/json-patch+json",
|
|
5271
|
-
"application/json",
|
|
5272
|
-
"text/json",
|
|
5273
|
-
"application/*+json",
|
|
5274
|
-
];
|
|
5275
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5276
|
-
if (httpContentTypeSelected !== undefined) {
|
|
5277
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
5278
|
-
}
|
|
5279
|
-
let responseType_ = "json";
|
|
5280
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
5281
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
5282
|
-
responseType_ = "text";
|
|
5283
|
-
}
|
|
5284
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5285
|
-
responseType_ = "json";
|
|
5286
|
-
}
|
|
5287
|
-
else {
|
|
5288
|
-
responseType_ = "blob";
|
|
5289
|
-
}
|
|
5290
|
-
}
|
|
5291
|
-
let localVarPath = `/api/users/design-conditions`;
|
|
5292
|
-
const { basePath, withCredentials } = this.configuration;
|
|
5293
|
-
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
5294
|
-
context: localVarHttpContext,
|
|
5295
|
-
body: saveUserDesignConditionsDto,
|
|
5296
|
-
responseType: responseType_,
|
|
5297
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
5298
|
-
headers: localVarHeaders,
|
|
5299
|
-
observe: observe,
|
|
5300
|
-
transferCache: localVarTransferCache,
|
|
5301
|
-
reportProgress: reportProgress,
|
|
5302
|
-
});
|
|
5303
|
-
}
|
|
5304
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5305
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
|
|
5306
|
-
}
|
|
5307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
5308
|
-
type: Injectable,
|
|
5309
|
-
args: [{
|
|
5310
|
-
providedIn: "root",
|
|
5311
|
-
}]
|
|
5312
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
5313
|
-
type: Optional
|
|
5314
|
-
}, {
|
|
5315
|
-
type: Inject,
|
|
5316
|
-
args: [BASE_PATH]
|
|
5317
|
-
}] }, { type: Configuration, decorators: [{
|
|
5318
|
-
type: Optional
|
|
5319
|
-
}] }] });
|
|
5320
|
-
|
|
5321
5200
|
/**
|
|
5322
5201
|
* RenewAire CORES API
|
|
5323
5202
|
*
|
|
@@ -6445,6 +6324,55 @@ class UsersApiService extends BaseService {
|
|
|
6445
6324
|
reportProgress: reportProgress,
|
|
6446
6325
|
});
|
|
6447
6326
|
}
|
|
6327
|
+
usersUpdateUserDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6328
|
+
const userId = requestParameters?.userId;
|
|
6329
|
+
if (userId === null || userId === undefined) {
|
|
6330
|
+
throw new Error("Required parameter userId was null or undefined when calling usersUpdateUserDesignConditions.");
|
|
6331
|
+
}
|
|
6332
|
+
const saveUserDesignConditionsDto = requestParameters?.saveUserDesignConditionsDto;
|
|
6333
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6334
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6335
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6336
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6337
|
+
}
|
|
6338
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6339
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6340
|
+
// to determine the Content-Type header
|
|
6341
|
+
const consumes = [
|
|
6342
|
+
"application/json-patch+json",
|
|
6343
|
+
"application/json",
|
|
6344
|
+
"text/json",
|
|
6345
|
+
"application/*+json",
|
|
6346
|
+
];
|
|
6347
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6348
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6349
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6350
|
+
}
|
|
6351
|
+
let responseType_ = "json";
|
|
6352
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6353
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6354
|
+
responseType_ = "text";
|
|
6355
|
+
}
|
|
6356
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6357
|
+
responseType_ = "json";
|
|
6358
|
+
}
|
|
6359
|
+
else {
|
|
6360
|
+
responseType_ = "blob";
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/settings/design-conditions`;
|
|
6364
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6365
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
6366
|
+
context: localVarHttpContext,
|
|
6367
|
+
body: saveUserDesignConditionsDto,
|
|
6368
|
+
responseType: responseType_,
|
|
6369
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6370
|
+
headers: localVarHeaders,
|
|
6371
|
+
observe: observe,
|
|
6372
|
+
transferCache: localVarTransferCache,
|
|
6373
|
+
reportProgress: reportProgress,
|
|
6374
|
+
});
|
|
6375
|
+
}
|
|
6448
6376
|
usersUpdateUserDetails(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6449
6377
|
const userId = requestParameters?.userId;
|
|
6450
6378
|
if (userId === null || userId === undefined) {
|
|
@@ -7490,7 +7418,6 @@ const APIS = [
|
|
|
7490
7418
|
RsdRegionsApiService,
|
|
7491
7419
|
S3ApiService,
|
|
7492
7420
|
StaticFilesApiService,
|
|
7493
|
-
UserDesignConditionsApiService,
|
|
7494
7421
|
UserTablesApiService,
|
|
7495
7422
|
UsersApiService,
|
|
7496
7423
|
UsersManagementApiService,
|
|
@@ -8616,5 +8543,5 @@ function provideApi(configOrBasePath) {
|
|
|
8616
8543
|
* Generated bundle index. Do not edit.
|
|
8617
8544
|
*/
|
|
8618
8545
|
|
|
8619
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem,
|
|
8546
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
8620
8547
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|