@saritasa/renewaire-frontend-sdk 0.2.0 → 0.3.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 +547 -73
- package/fesm2022/saritasa-renewaire-frontend-sdk.mjs.map +1 -1
- package/index.d.ts +457 -126
- package/package.json +2 -2
|
@@ -316,6 +316,55 @@ class AuthApiService extends BaseService {
|
|
|
316
316
|
reportProgress: reportProgress,
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
+
authAuthenticateByEmailToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
320
|
+
const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
|
|
321
|
+
let localVarHeaders = this.defaultHeaders;
|
|
322
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
323
|
+
this.configuration.selectHeaderAccept([
|
|
324
|
+
"text/plain",
|
|
325
|
+
"application/json",
|
|
326
|
+
"text/json",
|
|
327
|
+
]);
|
|
328
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
329
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
330
|
+
}
|
|
331
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
332
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
333
|
+
// to determine the Content-Type header
|
|
334
|
+
const consumes = [
|
|
335
|
+
"application/json",
|
|
336
|
+
"text/json",
|
|
337
|
+
"application/*+json",
|
|
338
|
+
];
|
|
339
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
340
|
+
if (httpContentTypeSelected !== undefined) {
|
|
341
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
342
|
+
}
|
|
343
|
+
let responseType_ = "json";
|
|
344
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
345
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
346
|
+
responseType_ = "text";
|
|
347
|
+
}
|
|
348
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
349
|
+
responseType_ = "json";
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
352
|
+
responseType_ = "blob";
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
let localVarPath = `/api/auth/email`;
|
|
356
|
+
const { basePath, withCredentials } = this.configuration;
|
|
357
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
358
|
+
context: localVarHttpContext,
|
|
359
|
+
body: emailConfirmationTokenDto,
|
|
360
|
+
responseType: responseType_,
|
|
361
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
362
|
+
headers: localVarHeaders,
|
|
363
|
+
observe: observe,
|
|
364
|
+
transferCache: localVarTransferCache,
|
|
365
|
+
reportProgress: reportProgress,
|
|
366
|
+
});
|
|
367
|
+
}
|
|
319
368
|
authRefreshToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
320
369
|
const refreshTokenCommand = requestParameters?.refreshTokenCommand;
|
|
321
370
|
if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
|
|
@@ -368,10 +417,10 @@ class AuthApiService extends BaseService {
|
|
|
368
417
|
reportProgress: reportProgress,
|
|
369
418
|
});
|
|
370
419
|
}
|
|
371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
372
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
421
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthApiService, providedIn: "root" });
|
|
373
422
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthApiService, decorators: [{
|
|
375
424
|
type: Injectable,
|
|
376
425
|
args: [{
|
|
377
426
|
providedIn: "root",
|
|
@@ -670,10 +719,10 @@ class PermissionBundlesApiService extends BaseService {
|
|
|
670
719
|
reportProgress: reportProgress,
|
|
671
720
|
});
|
|
672
721
|
}
|
|
673
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
674
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
723
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
|
|
675
724
|
}
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
|
|
677
726
|
type: Injectable,
|
|
678
727
|
args: [{
|
|
679
728
|
providedIn: "root",
|
|
@@ -742,10 +791,10 @@ class PermissionsApiService extends BaseService {
|
|
|
742
791
|
reportProgress: reportProgress,
|
|
743
792
|
});
|
|
744
793
|
}
|
|
745
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
746
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
794
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
795
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
747
796
|
}
|
|
748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
749
798
|
type: Injectable,
|
|
750
799
|
args: [{
|
|
751
800
|
providedIn: "root",
|
|
@@ -828,10 +877,10 @@ class RegionsApiService extends BaseService {
|
|
|
828
877
|
reportProgress: reportProgress,
|
|
829
878
|
});
|
|
830
879
|
}
|
|
831
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
832
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
880
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
881
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, providedIn: "root" });
|
|
833
882
|
}
|
|
834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, decorators: [{
|
|
835
884
|
type: Injectable,
|
|
836
885
|
args: [{
|
|
837
886
|
providedIn: "root",
|
|
@@ -995,10 +1044,10 @@ class RepContactsApiService extends BaseService {
|
|
|
995
1044
|
reportProgress: reportProgress,
|
|
996
1045
|
});
|
|
997
1046
|
}
|
|
998
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
999
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1047
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1048
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
|
|
1000
1049
|
}
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, decorators: [{
|
|
1002
1051
|
type: Injectable,
|
|
1003
1052
|
args: [{
|
|
1004
1053
|
providedIn: "root",
|
|
@@ -1373,10 +1422,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
1373
1422
|
reportProgress: reportProgress,
|
|
1374
1423
|
});
|
|
1375
1424
|
}
|
|
1376
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1377
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1425
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1426
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
|
|
1378
1427
|
}
|
|
1379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
|
|
1380
1429
|
type: Injectable,
|
|
1381
1430
|
args: [{
|
|
1382
1431
|
providedIn: "root",
|
|
@@ -1595,10 +1644,10 @@ class RepTerritoryLocationsApiService extends BaseService {
|
|
|
1595
1644
|
reportProgress: reportProgress,
|
|
1596
1645
|
});
|
|
1597
1646
|
}
|
|
1598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1599
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1648
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
|
|
1600
1649
|
}
|
|
1601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
|
|
1602
1651
|
type: Injectable,
|
|
1603
1652
|
args: [{
|
|
1604
1653
|
providedIn: "root",
|
|
@@ -2058,10 +2107,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
2058
2107
|
reportProgress: reportProgress,
|
|
2059
2108
|
});
|
|
2060
2109
|
}
|
|
2061
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2062
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2111
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
|
|
2063
2112
|
}
|
|
2064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, decorators: [{
|
|
2065
2114
|
type: Injectable,
|
|
2066
2115
|
args: [{
|
|
2067
2116
|
providedIn: "root",
|
|
@@ -2180,10 +2229,10 @@ class UserDesignConditionsApiService extends BaseService {
|
|
|
2180
2229
|
reportProgress: reportProgress,
|
|
2181
2230
|
});
|
|
2182
2231
|
}
|
|
2183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2184
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2233
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
|
|
2185
2234
|
}
|
|
2186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
2187
2236
|
type: Injectable,
|
|
2188
2237
|
args: [{
|
|
2189
2238
|
providedIn: "root",
|
|
@@ -2213,6 +2262,140 @@ class UsersApiService extends BaseService {
|
|
|
2213
2262
|
super(basePath, configuration);
|
|
2214
2263
|
this.httpClient = httpClient;
|
|
2215
2264
|
}
|
|
2265
|
+
usersAdminSetUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2266
|
+
const userId = requestParameters?.userId;
|
|
2267
|
+
if (userId === null || userId === undefined) {
|
|
2268
|
+
throw new Error("Required parameter userId was null or undefined when calling usersAdminSetUserPassword.");
|
|
2269
|
+
}
|
|
2270
|
+
const newPassword = requestParameters?.newPassword;
|
|
2271
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2272
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, newPassword, "newPassword");
|
|
2273
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2274
|
+
// authentication (Bearer) required
|
|
2275
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2276
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2277
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2278
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2279
|
+
}
|
|
2280
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2281
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2282
|
+
let responseType_ = "json";
|
|
2283
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2284
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2285
|
+
responseType_ = "text";
|
|
2286
|
+
}
|
|
2287
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2288
|
+
responseType_ = "json";
|
|
2289
|
+
}
|
|
2290
|
+
else {
|
|
2291
|
+
responseType_ = "blob";
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/set-password`;
|
|
2295
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2296
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2297
|
+
context: localVarHttpContext,
|
|
2298
|
+
params: localVarQueryParameters,
|
|
2299
|
+
responseType: responseType_,
|
|
2300
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2301
|
+
headers: localVarHeaders,
|
|
2302
|
+
observe: observe,
|
|
2303
|
+
transferCache: localVarTransferCache,
|
|
2304
|
+
reportProgress: reportProgress,
|
|
2305
|
+
});
|
|
2306
|
+
}
|
|
2307
|
+
usersChangeCurrentUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2308
|
+
const changeCurrentUserPasswordCommand = requestParameters?.changeCurrentUserPasswordCommand;
|
|
2309
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2310
|
+
// authentication (Bearer) required
|
|
2311
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2312
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2313
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2314
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2315
|
+
}
|
|
2316
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2317
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2318
|
+
// to determine the Content-Type header
|
|
2319
|
+
const consumes = [
|
|
2320
|
+
"application/json",
|
|
2321
|
+
"text/json",
|
|
2322
|
+
"application/*+json",
|
|
2323
|
+
];
|
|
2324
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2325
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2326
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2327
|
+
}
|
|
2328
|
+
let responseType_ = "json";
|
|
2329
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2330
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2331
|
+
responseType_ = "text";
|
|
2332
|
+
}
|
|
2333
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2334
|
+
responseType_ = "json";
|
|
2335
|
+
}
|
|
2336
|
+
else {
|
|
2337
|
+
responseType_ = "blob";
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
let localVarPath = `/api/users/me/change-password`;
|
|
2341
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2342
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2343
|
+
context: localVarHttpContext,
|
|
2344
|
+
body: changeCurrentUserPasswordCommand,
|
|
2345
|
+
responseType: responseType_,
|
|
2346
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2347
|
+
headers: localVarHeaders,
|
|
2348
|
+
observe: observe,
|
|
2349
|
+
transferCache: localVarTransferCache,
|
|
2350
|
+
reportProgress: reportProgress,
|
|
2351
|
+
});
|
|
2352
|
+
}
|
|
2353
|
+
usersChangeEmail(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2354
|
+
const changeEmailCommand = requestParameters?.changeEmailCommand;
|
|
2355
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2356
|
+
// authentication (Bearer) required
|
|
2357
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2358
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2359
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2360
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2361
|
+
}
|
|
2362
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2363
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2364
|
+
// to determine the Content-Type header
|
|
2365
|
+
const consumes = [
|
|
2366
|
+
"application/json",
|
|
2367
|
+
"text/json",
|
|
2368
|
+
"application/*+json",
|
|
2369
|
+
];
|
|
2370
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2371
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2372
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2373
|
+
}
|
|
2374
|
+
let responseType_ = "json";
|
|
2375
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2376
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2377
|
+
responseType_ = "text";
|
|
2378
|
+
}
|
|
2379
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2380
|
+
responseType_ = "json";
|
|
2381
|
+
}
|
|
2382
|
+
else {
|
|
2383
|
+
responseType_ = "blob";
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
let localVarPath = `/api/users/me/change-email`;
|
|
2387
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2388
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2389
|
+
context: localVarHttpContext,
|
|
2390
|
+
body: changeEmailCommand,
|
|
2391
|
+
responseType: responseType_,
|
|
2392
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2393
|
+
headers: localVarHeaders,
|
|
2394
|
+
observe: observe,
|
|
2395
|
+
transferCache: localVarTransferCache,
|
|
2396
|
+
reportProgress: reportProgress,
|
|
2397
|
+
});
|
|
2398
|
+
}
|
|
2216
2399
|
usersConfirmEmail(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2217
2400
|
const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
|
|
2218
2401
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2340,11 +2523,7 @@ class UsersApiService extends BaseService {
|
|
|
2340
2523
|
reportProgress: reportProgress,
|
|
2341
2524
|
});
|
|
2342
2525
|
}
|
|
2343
|
-
|
|
2344
|
-
const userId = requestParameters?.userId;
|
|
2345
|
-
if (userId === null || userId === undefined) {
|
|
2346
|
-
throw new Error("Required parameter userId was null or undefined when calling usersGetRepContacts.");
|
|
2347
|
-
}
|
|
2526
|
+
usersGetCurrentUser(observe = "body", reportProgress = false, options) {
|
|
2348
2527
|
let localVarHeaders = this.defaultHeaders;
|
|
2349
2528
|
// authentication (Bearer) required
|
|
2350
2529
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -2371,7 +2550,7 @@ class UsersApiService extends BaseService {
|
|
|
2371
2550
|
responseType_ = "blob";
|
|
2372
2551
|
}
|
|
2373
2552
|
}
|
|
2374
|
-
let localVarPath = `/api/users
|
|
2553
|
+
let localVarPath = `/api/users/me`;
|
|
2375
2554
|
const { basePath, withCredentials } = this.configuration;
|
|
2376
2555
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2377
2556
|
context: localVarHttpContext,
|
|
@@ -2383,9 +2562,14 @@ class UsersApiService extends BaseService {
|
|
|
2383
2562
|
reportProgress: reportProgress,
|
|
2384
2563
|
});
|
|
2385
2564
|
}
|
|
2386
|
-
|
|
2387
|
-
const
|
|
2565
|
+
usersGetRepContacts(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2566
|
+
const userId = requestParameters?.userId;
|
|
2567
|
+
if (userId === null || userId === undefined) {
|
|
2568
|
+
throw new Error("Required parameter userId was null or undefined when calling usersGetRepContacts.");
|
|
2569
|
+
}
|
|
2388
2570
|
let localVarHeaders = this.defaultHeaders;
|
|
2571
|
+
// authentication (Bearer) required
|
|
2572
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2389
2573
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2390
2574
|
this.configuration.selectHeaderAccept([
|
|
2391
2575
|
"text/plain",
|
|
@@ -2397,6 +2581,41 @@ class UsersApiService extends BaseService {
|
|
|
2397
2581
|
}
|
|
2398
2582
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2399
2583
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2584
|
+
let responseType_ = "json";
|
|
2585
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2586
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2587
|
+
responseType_ = "text";
|
|
2588
|
+
}
|
|
2589
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2590
|
+
responseType_ = "json";
|
|
2591
|
+
}
|
|
2592
|
+
else {
|
|
2593
|
+
responseType_ = "blob";
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/rep-contacts`;
|
|
2597
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2598
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2599
|
+
context: localVarHttpContext,
|
|
2600
|
+
responseType: responseType_,
|
|
2601
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2602
|
+
headers: localVarHeaders,
|
|
2603
|
+
observe: observe,
|
|
2604
|
+
transferCache: localVarTransferCache,
|
|
2605
|
+
reportProgress: reportProgress,
|
|
2606
|
+
});
|
|
2607
|
+
}
|
|
2608
|
+
usersRequestChangeEmail(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2609
|
+
const requestChangeEmailCommand = requestParameters?.requestChangeEmailCommand;
|
|
2610
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2611
|
+
// authentication (Bearer) required
|
|
2612
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2613
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2614
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2615
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2616
|
+
}
|
|
2617
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2618
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2400
2619
|
// to determine the Content-Type header
|
|
2401
2620
|
const consumes = [
|
|
2402
2621
|
"application/json",
|
|
@@ -2419,11 +2638,11 @@ class UsersApiService extends BaseService {
|
|
|
2419
2638
|
responseType_ = "blob";
|
|
2420
2639
|
}
|
|
2421
2640
|
}
|
|
2422
|
-
let localVarPath = `/api/users`;
|
|
2641
|
+
let localVarPath = `/api/users/me/request-change-email`;
|
|
2423
2642
|
const { basePath, withCredentials } = this.configuration;
|
|
2424
2643
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2425
2644
|
context: localVarHttpContext,
|
|
2426
|
-
body:
|
|
2645
|
+
body: requestChangeEmailCommand,
|
|
2427
2646
|
responseType: responseType_,
|
|
2428
2647
|
...(withCredentials ? { withCredentials } : {}),
|
|
2429
2648
|
headers: localVarHeaders,
|
|
@@ -2520,10 +2739,194 @@ class UsersApiService extends BaseService {
|
|
|
2520
2739
|
reportProgress: reportProgress,
|
|
2521
2740
|
});
|
|
2522
2741
|
}
|
|
2523
|
-
|
|
2524
|
-
|
|
2742
|
+
usersSetUserAddress(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2743
|
+
const setAddressDto = requestParameters?.setAddressDto;
|
|
2744
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2745
|
+
// authentication (Bearer) required
|
|
2746
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2747
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2748
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2749
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2750
|
+
}
|
|
2751
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2752
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2753
|
+
// to determine the Content-Type header
|
|
2754
|
+
const consumes = [
|
|
2755
|
+
"application/json",
|
|
2756
|
+
"text/json",
|
|
2757
|
+
"application/*+json",
|
|
2758
|
+
];
|
|
2759
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2760
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2761
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2762
|
+
}
|
|
2763
|
+
let responseType_ = "json";
|
|
2764
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2765
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2766
|
+
responseType_ = "text";
|
|
2767
|
+
}
|
|
2768
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2769
|
+
responseType_ = "json";
|
|
2770
|
+
}
|
|
2771
|
+
else {
|
|
2772
|
+
responseType_ = "blob";
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
let localVarPath = `/api/users/registration/set-address`;
|
|
2776
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2777
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2778
|
+
context: localVarHttpContext,
|
|
2779
|
+
body: setAddressDto,
|
|
2780
|
+
responseType: responseType_,
|
|
2781
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2782
|
+
headers: localVarHeaders,
|
|
2783
|
+
observe: observe,
|
|
2784
|
+
transferCache: localVarTransferCache,
|
|
2785
|
+
reportProgress: reportProgress,
|
|
2786
|
+
});
|
|
2787
|
+
}
|
|
2788
|
+
usersSetUserOccupation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2789
|
+
const setUserOccupationCommand = requestParameters?.setUserOccupationCommand;
|
|
2790
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2791
|
+
// authentication (Bearer) required
|
|
2792
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2793
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2794
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2795
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2796
|
+
}
|
|
2797
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2798
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2799
|
+
// to determine the Content-Type header
|
|
2800
|
+
const consumes = [
|
|
2801
|
+
"application/json",
|
|
2802
|
+
"text/json",
|
|
2803
|
+
"application/*+json",
|
|
2804
|
+
];
|
|
2805
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2806
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2807
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2808
|
+
}
|
|
2809
|
+
let responseType_ = "json";
|
|
2810
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2811
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2812
|
+
responseType_ = "text";
|
|
2813
|
+
}
|
|
2814
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2815
|
+
responseType_ = "json";
|
|
2816
|
+
}
|
|
2817
|
+
else {
|
|
2818
|
+
responseType_ = "blob";
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
let localVarPath = `/api/users/registration/set-occupation`;
|
|
2822
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2823
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2824
|
+
context: localVarHttpContext,
|
|
2825
|
+
body: setUserOccupationCommand,
|
|
2826
|
+
responseType: responseType_,
|
|
2827
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2828
|
+
headers: localVarHeaders,
|
|
2829
|
+
observe: observe,
|
|
2830
|
+
transferCache: localVarTransferCache,
|
|
2831
|
+
reportProgress: reportProgress,
|
|
2832
|
+
});
|
|
2833
|
+
}
|
|
2834
|
+
usersSetUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2835
|
+
const setUserPasswordCommand = requestParameters?.setUserPasswordCommand;
|
|
2836
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2837
|
+
// authentication (Bearer) required
|
|
2838
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2839
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2840
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2841
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2842
|
+
}
|
|
2843
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2844
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2845
|
+
// to determine the Content-Type header
|
|
2846
|
+
const consumes = [
|
|
2847
|
+
"application/json",
|
|
2848
|
+
"text/json",
|
|
2849
|
+
"application/*+json",
|
|
2850
|
+
];
|
|
2851
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2852
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2853
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2854
|
+
}
|
|
2855
|
+
let responseType_ = "json";
|
|
2856
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2857
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2858
|
+
responseType_ = "text";
|
|
2859
|
+
}
|
|
2860
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2861
|
+
responseType_ = "json";
|
|
2862
|
+
}
|
|
2863
|
+
else {
|
|
2864
|
+
responseType_ = "blob";
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
let localVarPath = `/api/users/registration/set-password`;
|
|
2868
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2869
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2870
|
+
context: localVarHttpContext,
|
|
2871
|
+
body: setUserPasswordCommand,
|
|
2872
|
+
responseType: responseType_,
|
|
2873
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2874
|
+
headers: localVarHeaders,
|
|
2875
|
+
observe: observe,
|
|
2876
|
+
transferCache: localVarTransferCache,
|
|
2877
|
+
reportProgress: reportProgress,
|
|
2878
|
+
});
|
|
2879
|
+
}
|
|
2880
|
+
usersSetUserProfile(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2881
|
+
const userProfileDto = requestParameters?.userProfileDto;
|
|
2882
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2883
|
+
// authentication (Bearer) required
|
|
2884
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2885
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2886
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2887
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2888
|
+
}
|
|
2889
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2890
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2891
|
+
// to determine the Content-Type header
|
|
2892
|
+
const consumes = [
|
|
2893
|
+
"application/json",
|
|
2894
|
+
"text/json",
|
|
2895
|
+
"application/*+json",
|
|
2896
|
+
];
|
|
2897
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2898
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2899
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2900
|
+
}
|
|
2901
|
+
let responseType_ = "json";
|
|
2902
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2903
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2904
|
+
responseType_ = "text";
|
|
2905
|
+
}
|
|
2906
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2907
|
+
responseType_ = "json";
|
|
2908
|
+
}
|
|
2909
|
+
else {
|
|
2910
|
+
responseType_ = "blob";
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
let localVarPath = `/api/users/registration/set-profile`;
|
|
2914
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2915
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2916
|
+
context: localVarHttpContext,
|
|
2917
|
+
body: userProfileDto,
|
|
2918
|
+
responseType: responseType_,
|
|
2919
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2920
|
+
headers: localVarHeaders,
|
|
2921
|
+
observe: observe,
|
|
2922
|
+
transferCache: localVarTransferCache,
|
|
2923
|
+
reportProgress: reportProgress,
|
|
2924
|
+
});
|
|
2925
|
+
}
|
|
2926
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2927
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, providedIn: "root" });
|
|
2525
2928
|
}
|
|
2526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, decorators: [{
|
|
2527
2930
|
type: Injectable,
|
|
2528
2931
|
args: [{
|
|
2529
2932
|
providedIn: "root",
|
|
@@ -2587,6 +2990,26 @@ var AddressDtoCountryEnum;
|
|
|
2587
2990
|
AddressDtoCountryEnum["Mexico"] = "Mexico";
|
|
2588
2991
|
})(AddressDtoCountryEnum || (AddressDtoCountryEnum = {}));
|
|
2589
2992
|
|
|
2993
|
+
/**
|
|
2994
|
+
* RenewAire CORES API
|
|
2995
|
+
*
|
|
2996
|
+
* Contact: renewaire@saritasa.com
|
|
2997
|
+
*
|
|
2998
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2999
|
+
* https://openapi-generator.tech
|
|
3000
|
+
* Do not edit the class manually.
|
|
3001
|
+
*/
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* RenewAire CORES API
|
|
3005
|
+
*
|
|
3006
|
+
* Contact: renewaire@saritasa.com
|
|
3007
|
+
*
|
|
3008
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3009
|
+
* https://openapi-generator.tech
|
|
3010
|
+
* Do not edit the class manually.
|
|
3011
|
+
*/
|
|
3012
|
+
|
|
2590
3013
|
/**
|
|
2591
3014
|
* RenewAire CORES API
|
|
2592
3015
|
*
|
|
@@ -2634,14 +3057,15 @@ var CoolingDesignBasis;
|
|
|
2634
3057
|
* https://openapi-generator.tech
|
|
2635
3058
|
* Do not edit the class manually.
|
|
2636
3059
|
*/
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
3060
|
+
var CurrentUserDtoRegistrationStatusEnum;
|
|
3061
|
+
(function (CurrentUserDtoRegistrationStatusEnum) {
|
|
3062
|
+
CurrentUserDtoRegistrationStatusEnum["EmailVerification"] = "EmailVerification";
|
|
3063
|
+
CurrentUserDtoRegistrationStatusEnum["SetPassword"] = "SetPassword";
|
|
3064
|
+
CurrentUserDtoRegistrationStatusEnum["SetProfile"] = "SetProfile";
|
|
3065
|
+
CurrentUserDtoRegistrationStatusEnum["SetAddress"] = "SetAddress";
|
|
3066
|
+
CurrentUserDtoRegistrationStatusEnum["SetOccupation"] = "SetOccupation";
|
|
3067
|
+
CurrentUserDtoRegistrationStatusEnum["Completed"] = "Completed";
|
|
3068
|
+
})(CurrentUserDtoRegistrationStatusEnum || (CurrentUserDtoRegistrationStatusEnum = {}));
|
|
2645
3069
|
|
|
2646
3070
|
/**
|
|
2647
3071
|
* RenewAire CORES API
|
|
@@ -2652,6 +3076,14 @@ var DesignWeatherMode;
|
|
|
2652
3076
|
* https://openapi-generator.tech
|
|
2653
3077
|
* Do not edit the class manually.
|
|
2654
3078
|
*/
|
|
3079
|
+
/**
|
|
3080
|
+
* DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
|
|
3081
|
+
*/
|
|
3082
|
+
var DesignWeatherMode;
|
|
3083
|
+
(function (DesignWeatherMode) {
|
|
3084
|
+
DesignWeatherMode["RelativeHumidity"] = "RelativeHumidity";
|
|
3085
|
+
DesignWeatherMode["WetBulb"] = "WetBulb";
|
|
3086
|
+
})(DesignWeatherMode || (DesignWeatherMode = {}));
|
|
2655
3087
|
|
|
2656
3088
|
/**
|
|
2657
3089
|
* RenewAire CORES API
|
|
@@ -2771,16 +3203,6 @@ var Permission;
|
|
|
2771
3203
|
* Do not edit the class manually.
|
|
2772
3204
|
*/
|
|
2773
3205
|
|
|
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
|
-
|
|
2784
3206
|
/**
|
|
2785
3207
|
* RenewAire CORES API
|
|
2786
3208
|
*
|
|
@@ -2816,6 +3238,38 @@ var RegionLevel;
|
|
|
2816
3238
|
RegionLevel["County"] = "County";
|
|
2817
3239
|
})(RegionLevel || (RegionLevel = {}));
|
|
2818
3240
|
|
|
3241
|
+
/**
|
|
3242
|
+
* RenewAire CORES API
|
|
3243
|
+
*
|
|
3244
|
+
* Contact: renewaire@saritasa.com
|
|
3245
|
+
*
|
|
3246
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3247
|
+
* https://openapi-generator.tech
|
|
3248
|
+
* Do not edit the class manually.
|
|
3249
|
+
*/
|
|
3250
|
+
/**
|
|
3251
|
+
* RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
|
|
3252
|
+
*/
|
|
3253
|
+
var RegistrationStatus;
|
|
3254
|
+
(function (RegistrationStatus) {
|
|
3255
|
+
RegistrationStatus["EmailVerification"] = "EmailVerification";
|
|
3256
|
+
RegistrationStatus["SetPassword"] = "SetPassword";
|
|
3257
|
+
RegistrationStatus["SetProfile"] = "SetProfile";
|
|
3258
|
+
RegistrationStatus["SetAddress"] = "SetAddress";
|
|
3259
|
+
RegistrationStatus["SetOccupation"] = "SetOccupation";
|
|
3260
|
+
RegistrationStatus["Completed"] = "Completed";
|
|
3261
|
+
})(RegistrationStatus || (RegistrationStatus = {}));
|
|
3262
|
+
|
|
3263
|
+
/**
|
|
3264
|
+
* RenewAire CORES API
|
|
3265
|
+
*
|
|
3266
|
+
* Contact: renewaire@saritasa.com
|
|
3267
|
+
*
|
|
3268
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3269
|
+
* https://openapi-generator.tech
|
|
3270
|
+
* Do not edit the class manually.
|
|
3271
|
+
*/
|
|
3272
|
+
|
|
2819
3273
|
/**
|
|
2820
3274
|
* RenewAire CORES API
|
|
2821
3275
|
*
|
|
@@ -2948,17 +3402,25 @@ var SearchRegionDtoLevelEnum;
|
|
|
2948
3402
|
* Do not edit the class manually.
|
|
2949
3403
|
*/
|
|
2950
3404
|
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
3405
|
+
/**
|
|
3406
|
+
* RenewAire CORES API
|
|
3407
|
+
*
|
|
3408
|
+
* Contact: renewaire@saritasa.com
|
|
3409
|
+
*
|
|
3410
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3411
|
+
* https://openapi-generator.tech
|
|
3412
|
+
* Do not edit the class manually.
|
|
3413
|
+
*/
|
|
2956
3414
|
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
3415
|
+
/**
|
|
3416
|
+
* RenewAire CORES API
|
|
3417
|
+
*
|
|
3418
|
+
* Contact: renewaire@saritasa.com
|
|
3419
|
+
*
|
|
3420
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3421
|
+
* https://openapi-generator.tech
|
|
3422
|
+
* Do not edit the class manually.
|
|
3423
|
+
*/
|
|
2962
3424
|
|
|
2963
3425
|
/**
|
|
2964
3426
|
* RenewAire CORES API
|
|
@@ -2970,6 +3432,18 @@ var UserDesignWeatherConditionDtoDesignWeatherModeEnum;
|
|
|
2970
3432
|
* Do not edit the class manually.
|
|
2971
3433
|
*/
|
|
2972
3434
|
|
|
3435
|
+
var UserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
3436
|
+
(function (UserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
3437
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
3438
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
3439
|
+
})(UserDesignConditionsDtoCoolingDesignBasisEnum || (UserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
3440
|
+
|
|
3441
|
+
var UserDesignWeatherConditionDtoDesignWeatherModeEnum;
|
|
3442
|
+
(function (UserDesignWeatherConditionDtoDesignWeatherModeEnum) {
|
|
3443
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["RelativeHumidity"] = "RelativeHumidity";
|
|
3444
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["WetBulb"] = "WetBulb";
|
|
3445
|
+
})(UserDesignWeatherConditionDtoDesignWeatherModeEnum || (UserDesignWeatherConditionDtoDesignWeatherModeEnum = {}));
|
|
3446
|
+
|
|
2973
3447
|
/**
|
|
2974
3448
|
* RenewAire CORES API
|
|
2975
3449
|
*
|
|
@@ -3006,11 +3480,11 @@ class ApiModule {
|
|
|
3006
3480
|
"See also https://github.com/angular/angular/issues/20575");
|
|
3007
3481
|
}
|
|
3008
3482
|
}
|
|
3009
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
3010
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
3011
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
3483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3484
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ApiModule });
|
|
3485
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule });
|
|
3012
3486
|
}
|
|
3013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
3487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule, decorators: [{
|
|
3014
3488
|
type: NgModule,
|
|
3015
3489
|
args: [{
|
|
3016
3490
|
imports: [],
|
|
@@ -3042,5 +3516,5 @@ function provideApi(configOrBasePath) {
|
|
|
3042
3516
|
* Generated bundle index. Do not edit.
|
|
3043
3517
|
*/
|
|
3044
3518
|
|
|
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 };
|
|
3519
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
|
|
3046
3520
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|