@saritasa/renewaire-frontend-sdk 0.1.11 → 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 +2133 -267
- package/fesm2022/saritasa-renewaire-frontend-sdk.mjs.map +1 -1
- package/index.d.ts +2086 -348
- package/package.json +2 -2
|
@@ -316,11 +316,8 @@ class AuthApiService extends BaseService {
|
|
|
316
316
|
reportProgress: reportProgress,
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
const
|
|
321
|
-
if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
|
|
322
|
-
throw new Error("Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.");
|
|
323
|
-
}
|
|
319
|
+
authAuthenticateByEmailToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
320
|
+
const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
|
|
324
321
|
let localVarHeaders = this.defaultHeaders;
|
|
325
322
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
326
323
|
this.configuration.selectHeaderAccept([
|
|
@@ -355,11 +352,11 @@ class AuthApiService extends BaseService {
|
|
|
355
352
|
responseType_ = "blob";
|
|
356
353
|
}
|
|
357
354
|
}
|
|
358
|
-
let localVarPath = `/api/auth`;
|
|
355
|
+
let localVarPath = `/api/auth/email`;
|
|
359
356
|
const { basePath, withCredentials } = this.configuration;
|
|
360
|
-
return this.httpClient.request("
|
|
357
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
361
358
|
context: localVarHttpContext,
|
|
362
|
-
body:
|
|
359
|
+
body: emailConfirmationTokenDto,
|
|
363
360
|
responseType: responseType_,
|
|
364
361
|
...(withCredentials ? { withCredentials } : {}),
|
|
365
362
|
headers: localVarHeaders,
|
|
@@ -368,43 +365,12 @@ class AuthApiService extends BaseService {
|
|
|
368
365
|
reportProgress: reportProgress,
|
|
369
366
|
});
|
|
370
367
|
}
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
args: [{
|
|
377
|
-
providedIn: "root",
|
|
378
|
-
}]
|
|
379
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
380
|
-
type: Optional
|
|
381
|
-
}, {
|
|
382
|
-
type: Inject,
|
|
383
|
-
args: [BASE_PATH]
|
|
384
|
-
}] }, { type: Configuration, decorators: [{
|
|
385
|
-
type: Optional
|
|
386
|
-
}] }] });
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* RenewAire CORES API
|
|
390
|
-
*
|
|
391
|
-
* Contact: renewaire@saritasa.com
|
|
392
|
-
*
|
|
393
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
394
|
-
* https://openapi-generator.tech
|
|
395
|
-
* Do not edit the class manually.
|
|
396
|
-
*/
|
|
397
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
398
|
-
class PermissionsApiService extends BaseService {
|
|
399
|
-
httpClient;
|
|
400
|
-
constructor(httpClient, basePath, configuration) {
|
|
401
|
-
super(basePath, configuration);
|
|
402
|
-
this.httpClient = httpClient;
|
|
403
|
-
}
|
|
404
|
-
permissionsGetPermissions(observe = "body", reportProgress = false, options) {
|
|
368
|
+
authRefreshToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
369
|
+
const refreshTokenCommand = requestParameters?.refreshTokenCommand;
|
|
370
|
+
if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
|
|
371
|
+
throw new Error("Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.");
|
|
372
|
+
}
|
|
405
373
|
let localVarHeaders = this.defaultHeaders;
|
|
406
|
-
// authentication (Bearer) required
|
|
407
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
408
374
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
409
375
|
this.configuration.selectHeaderAccept([
|
|
410
376
|
"text/plain",
|
|
@@ -416,6 +382,16 @@ class PermissionsApiService extends BaseService {
|
|
|
416
382
|
}
|
|
417
383
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
418
384
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
385
|
+
// to determine the Content-Type header
|
|
386
|
+
const consumes = [
|
|
387
|
+
"application/json",
|
|
388
|
+
"text/json",
|
|
389
|
+
"application/*+json",
|
|
390
|
+
];
|
|
391
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
392
|
+
if (httpContentTypeSelected !== undefined) {
|
|
393
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
394
|
+
}
|
|
419
395
|
let responseType_ = "json";
|
|
420
396
|
if (localVarHttpHeaderAcceptSelected) {
|
|
421
397
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -428,10 +404,11 @@ class PermissionsApiService extends BaseService {
|
|
|
428
404
|
responseType_ = "blob";
|
|
429
405
|
}
|
|
430
406
|
}
|
|
431
|
-
let localVarPath = `/api/
|
|
407
|
+
let localVarPath = `/api/auth`;
|
|
432
408
|
const { basePath, withCredentials } = this.configuration;
|
|
433
|
-
return this.httpClient.request("
|
|
409
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
434
410
|
context: localVarHttpContext,
|
|
411
|
+
body: refreshTokenCommand,
|
|
435
412
|
responseType: responseType_,
|
|
436
413
|
...(withCredentials ? { withCredentials } : {}),
|
|
437
414
|
headers: localVarHeaders,
|
|
@@ -440,10 +417,10 @@ class PermissionsApiService extends BaseService {
|
|
|
440
417
|
reportProgress: reportProgress,
|
|
441
418
|
});
|
|
442
419
|
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
444
|
-
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" });
|
|
445
422
|
}
|
|
446
|
-
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: [{
|
|
447
424
|
type: Injectable,
|
|
448
425
|
args: [{
|
|
449
426
|
providedIn: "root",
|
|
@@ -467,26 +444,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
467
444
|
* Do not edit the class manually.
|
|
468
445
|
*/
|
|
469
446
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
470
|
-
class
|
|
447
|
+
class PermissionBundlesApiService extends BaseService {
|
|
471
448
|
httpClient;
|
|
472
449
|
constructor(httpClient, basePath, configuration) {
|
|
473
450
|
super(basePath, configuration);
|
|
474
451
|
this.httpClient = httpClient;
|
|
475
452
|
}
|
|
476
|
-
|
|
477
|
-
const
|
|
478
|
-
const code = requestParameters?.code;
|
|
479
|
-
const level = requestParameters?.level;
|
|
480
|
-
const orderBy = requestParameters?.orderBy;
|
|
481
|
-
const page = requestParameters?.page;
|
|
482
|
-
const pageSize = requestParameters?.pageSize;
|
|
483
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
484
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
485
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, code, "Code");
|
|
486
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, level, "Level");
|
|
487
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
488
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
489
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
453
|
+
permissionBundlesCreatePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
454
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
490
455
|
let localVarHeaders = this.defaultHeaders;
|
|
491
456
|
// authentication (Bearer) required
|
|
492
457
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -501,6 +466,16 @@ class RegionsApiService extends BaseService {
|
|
|
501
466
|
}
|
|
502
467
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
503
468
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
469
|
+
// to determine the Content-Type header
|
|
470
|
+
const consumes = [
|
|
471
|
+
"application/json",
|
|
472
|
+
"text/json",
|
|
473
|
+
"application/*+json",
|
|
474
|
+
];
|
|
475
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
476
|
+
if (httpContentTypeSelected !== undefined) {
|
|
477
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
478
|
+
}
|
|
504
479
|
let responseType_ = "json";
|
|
505
480
|
if (localVarHttpHeaderAcceptSelected) {
|
|
506
481
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -513,11 +488,11 @@ class RegionsApiService extends BaseService {
|
|
|
513
488
|
responseType_ = "blob";
|
|
514
489
|
}
|
|
515
490
|
}
|
|
516
|
-
let localVarPath = `/api/
|
|
491
|
+
let localVarPath = `/api/permission-bundles`;
|
|
517
492
|
const { basePath, withCredentials } = this.configuration;
|
|
518
|
-
return this.httpClient.request("
|
|
493
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
519
494
|
context: localVarHttpContext,
|
|
520
|
-
|
|
495
|
+
body: savePermissionBundleDto,
|
|
521
496
|
responseType: responseType_,
|
|
522
497
|
...(withCredentials ? { withCredentials } : {}),
|
|
523
498
|
headers: localVarHeaders,
|
|
@@ -526,41 +501,11 @@ class RegionsApiService extends BaseService {
|
|
|
526
501
|
reportProgress: reportProgress,
|
|
527
502
|
});
|
|
528
503
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
args: [{
|
|
535
|
-
providedIn: "root",
|
|
536
|
-
}]
|
|
537
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
538
|
-
type: Optional
|
|
539
|
-
}, {
|
|
540
|
-
type: Inject,
|
|
541
|
-
args: [BASE_PATH]
|
|
542
|
-
}] }, { type: Configuration, decorators: [{
|
|
543
|
-
type: Optional
|
|
544
|
-
}] }] });
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* RenewAire CORES API
|
|
548
|
-
*
|
|
549
|
-
* Contact: renewaire@saritasa.com
|
|
550
|
-
*
|
|
551
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
552
|
-
* https://openapi-generator.tech
|
|
553
|
-
* Do not edit the class manually.
|
|
554
|
-
*/
|
|
555
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
556
|
-
class RepTerritoriesApiService extends BaseService {
|
|
557
|
-
httpClient;
|
|
558
|
-
constructor(httpClient, basePath, configuration) {
|
|
559
|
-
super(basePath, configuration);
|
|
560
|
-
this.httpClient = httpClient;
|
|
561
|
-
}
|
|
562
|
-
repTerritoriesCreateRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
563
|
-
const saveRepTerritoryDto = requestParameters?.saveRepTerritoryDto;
|
|
504
|
+
permissionBundlesGetPermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
505
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
506
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
507
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesGetPermissionBundle.");
|
|
508
|
+
}
|
|
564
509
|
let localVarHeaders = this.defaultHeaders;
|
|
565
510
|
// authentication (Bearer) required
|
|
566
511
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -575,16 +520,6 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
575
520
|
}
|
|
576
521
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
577
522
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
578
|
-
// to determine the Content-Type header
|
|
579
|
-
const consumes = [
|
|
580
|
-
"application/json",
|
|
581
|
-
"text/json",
|
|
582
|
-
"application/*+json",
|
|
583
|
-
];
|
|
584
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
585
|
-
if (httpContentTypeSelected !== undefined) {
|
|
586
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
587
|
-
}
|
|
588
523
|
let responseType_ = "json";
|
|
589
524
|
if (localVarHttpHeaderAcceptSelected) {
|
|
590
525
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -597,11 +532,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
597
532
|
responseType_ = "blob";
|
|
598
533
|
}
|
|
599
534
|
}
|
|
600
|
-
let localVarPath = `/api/
|
|
535
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
601
536
|
const { basePath, withCredentials } = this.configuration;
|
|
602
|
-
return this.httpClient.request("
|
|
537
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
603
538
|
context: localVarHttpContext,
|
|
604
|
-
body: saveRepTerritoryDto,
|
|
605
539
|
responseType: responseType_,
|
|
606
540
|
...(withCredentials ? { withCredentials } : {}),
|
|
607
541
|
headers: localVarHeaders,
|
|
@@ -610,20 +544,15 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
610
544
|
reportProgress: reportProgress,
|
|
611
545
|
});
|
|
612
546
|
}
|
|
613
|
-
|
|
614
|
-
const
|
|
615
|
-
if (
|
|
616
|
-
throw new Error("Required parameter
|
|
547
|
+
permissionBundlesRemovePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
548
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
549
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
550
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesRemovePermissionBundle.");
|
|
617
551
|
}
|
|
618
552
|
let localVarHeaders = this.defaultHeaders;
|
|
619
553
|
// authentication (Bearer) required
|
|
620
554
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
621
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
622
|
-
this.configuration.selectHeaderAccept([
|
|
623
|
-
"text/plain",
|
|
624
|
-
"application/json",
|
|
625
|
-
"text/json",
|
|
626
|
-
]);
|
|
555
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
627
556
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
628
557
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
629
558
|
}
|
|
@@ -641,9 +570,9 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
641
570
|
responseType_ = "blob";
|
|
642
571
|
}
|
|
643
572
|
}
|
|
644
|
-
let localVarPath = `/api/
|
|
573
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
645
574
|
const { basePath, withCredentials } = this.configuration;
|
|
646
|
-
return this.httpClient.request("
|
|
575
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
647
576
|
context: localVarHttpContext,
|
|
648
577
|
responseType: responseType_,
|
|
649
578
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -653,10 +582,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
653
582
|
reportProgress: reportProgress,
|
|
654
583
|
});
|
|
655
584
|
}
|
|
656
|
-
|
|
657
|
-
const
|
|
658
|
-
if (
|
|
659
|
-
throw new Error("Required parameter
|
|
585
|
+
permissionBundlesRestorePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
586
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
587
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
588
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesRestorePermissionBundle.");
|
|
660
589
|
}
|
|
661
590
|
let localVarHeaders = this.defaultHeaders;
|
|
662
591
|
// authentication (Bearer) required
|
|
@@ -679,9 +608,9 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
679
608
|
responseType_ = "blob";
|
|
680
609
|
}
|
|
681
610
|
}
|
|
682
|
-
let localVarPath = `/api/
|
|
611
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/restore`;
|
|
683
612
|
const { basePath, withCredentials } = this.configuration;
|
|
684
|
-
return this.httpClient.request("
|
|
613
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
685
614
|
context: localVarHttpContext,
|
|
686
615
|
responseType: responseType_,
|
|
687
616
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -691,17 +620,13 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
691
620
|
reportProgress: reportProgress,
|
|
692
621
|
});
|
|
693
622
|
}
|
|
694
|
-
|
|
695
|
-
const
|
|
696
|
-
const repCode = requestParameters?.repCode;
|
|
697
|
-
const rsdRegionName = requestParameters?.rsdRegionName;
|
|
623
|
+
permissionBundlesSearchPermissionBundles(requestParameters, observe = "body", reportProgress = false, options) {
|
|
624
|
+
const name = requestParameters?.name;
|
|
698
625
|
const orderBy = requestParameters?.orderBy;
|
|
699
626
|
const page = requestParameters?.page;
|
|
700
627
|
const pageSize = requestParameters?.pageSize;
|
|
701
628
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
702
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
703
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repCode, "RepCode");
|
|
704
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, rsdRegionName, "RsdRegionName");
|
|
629
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
705
630
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
706
631
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
707
632
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
@@ -731,7 +656,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
731
656
|
responseType_ = "blob";
|
|
732
657
|
}
|
|
733
658
|
}
|
|
734
|
-
let localVarPath = `/api/
|
|
659
|
+
let localVarPath = `/api/permission-bundles`;
|
|
735
660
|
const { basePath, withCredentials } = this.configuration;
|
|
736
661
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
737
662
|
context: localVarHttpContext,
|
|
@@ -744,12 +669,12 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
744
669
|
reportProgress: reportProgress,
|
|
745
670
|
});
|
|
746
671
|
}
|
|
747
|
-
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
throw new Error("Required parameter
|
|
672
|
+
permissionBundlesUpdatePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
673
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
674
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
675
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesUpdatePermissionBundle.");
|
|
751
676
|
}
|
|
752
|
-
const
|
|
677
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
753
678
|
let localVarHeaders = this.defaultHeaders;
|
|
754
679
|
// authentication (Bearer) required
|
|
755
680
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -781,11 +706,11 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
781
706
|
responseType_ = "blob";
|
|
782
707
|
}
|
|
783
708
|
}
|
|
784
|
-
let localVarPath = `/api/
|
|
709
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
785
710
|
const { basePath, withCredentials } = this.configuration;
|
|
786
711
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
787
712
|
context: localVarHttpContext,
|
|
788
|
-
body:
|
|
713
|
+
body: savePermissionBundleDto,
|
|
789
714
|
responseType: responseType_,
|
|
790
715
|
...(withCredentials ? { withCredentials } : {}),
|
|
791
716
|
headers: localVarHeaders,
|
|
@@ -794,10 +719,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
794
719
|
reportProgress: reportProgress,
|
|
795
720
|
});
|
|
796
721
|
}
|
|
797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
798
|
-
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" });
|
|
799
724
|
}
|
|
800
|
-
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: [{
|
|
801
726
|
type: Injectable,
|
|
802
727
|
args: [{
|
|
803
728
|
providedIn: "root",
|
|
@@ -821,14 +746,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
821
746
|
* Do not edit the class manually.
|
|
822
747
|
*/
|
|
823
748
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
824
|
-
class
|
|
749
|
+
class PermissionsApiService extends BaseService {
|
|
825
750
|
httpClient;
|
|
826
751
|
constructor(httpClient, basePath, configuration) {
|
|
827
752
|
super(basePath, configuration);
|
|
828
753
|
this.httpClient = httpClient;
|
|
829
754
|
}
|
|
830
|
-
|
|
831
|
-
const createRsdRegionDto = requestParameters?.createRsdRegionDto;
|
|
755
|
+
permissionsGetPermissions(observe = "body", reportProgress = false, options) {
|
|
832
756
|
let localVarHeaders = this.defaultHeaders;
|
|
833
757
|
// authentication (Bearer) required
|
|
834
758
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -843,16 +767,6 @@ class RsdRegionsApiService extends BaseService {
|
|
|
843
767
|
}
|
|
844
768
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
845
769
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
846
|
-
// to determine the Content-Type header
|
|
847
|
-
const consumes = [
|
|
848
|
-
"application/json",
|
|
849
|
-
"text/json",
|
|
850
|
-
"application/*+json",
|
|
851
|
-
];
|
|
852
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
853
|
-
if (httpContentTypeSelected !== undefined) {
|
|
854
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
855
|
-
}
|
|
856
770
|
let responseType_ = "json";
|
|
857
771
|
if (localVarHttpHeaderAcceptSelected) {
|
|
858
772
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -865,11 +779,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
865
779
|
responseType_ = "blob";
|
|
866
780
|
}
|
|
867
781
|
}
|
|
868
|
-
let localVarPath = `/api/
|
|
782
|
+
let localVarPath = `/api/permissions`;
|
|
869
783
|
const { basePath, withCredentials } = this.configuration;
|
|
870
|
-
return this.httpClient.request("
|
|
784
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
871
785
|
context: localVarHttpContext,
|
|
872
|
-
body: createRsdRegionDto,
|
|
873
786
|
responseType: responseType_,
|
|
874
787
|
...(withCredentials ? { withCredentials } : {}),
|
|
875
788
|
headers: localVarHeaders,
|
|
@@ -878,11 +791,53 @@ class RsdRegionsApiService extends BaseService {
|
|
|
878
791
|
reportProgress: reportProgress,
|
|
879
792
|
});
|
|
880
793
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
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" });
|
|
796
|
+
}
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
798
|
+
type: Injectable,
|
|
799
|
+
args: [{
|
|
800
|
+
providedIn: "root",
|
|
801
|
+
}]
|
|
802
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
803
|
+
type: Optional
|
|
804
|
+
}, {
|
|
805
|
+
type: Inject,
|
|
806
|
+
args: [BASE_PATH]
|
|
807
|
+
}] }, { type: Configuration, decorators: [{
|
|
808
|
+
type: Optional
|
|
809
|
+
}] }] });
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* RenewAire CORES API
|
|
813
|
+
*
|
|
814
|
+
* Contact: renewaire@saritasa.com
|
|
815
|
+
*
|
|
816
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
817
|
+
* https://openapi-generator.tech
|
|
818
|
+
* Do not edit the class manually.
|
|
819
|
+
*/
|
|
820
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
821
|
+
class RegionsApiService extends BaseService {
|
|
822
|
+
httpClient;
|
|
823
|
+
constructor(httpClient, basePath, configuration) {
|
|
824
|
+
super(basePath, configuration);
|
|
825
|
+
this.httpClient = httpClient;
|
|
826
|
+
}
|
|
827
|
+
regionsSearchRegions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
828
|
+
const name = requestParameters?.name;
|
|
829
|
+
const code = requestParameters?.code;
|
|
830
|
+
const level = requestParameters?.level;
|
|
831
|
+
const orderBy = requestParameters?.orderBy;
|
|
832
|
+
const page = requestParameters?.page;
|
|
833
|
+
const pageSize = requestParameters?.pageSize;
|
|
834
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
835
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
836
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, code, "Code");
|
|
837
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, level, "Level");
|
|
838
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
839
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
840
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
886
841
|
let localVarHeaders = this.defaultHeaders;
|
|
887
842
|
// authentication (Bearer) required
|
|
888
843
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -909,10 +864,11 @@ class RsdRegionsApiService extends BaseService {
|
|
|
909
864
|
responseType_ = "blob";
|
|
910
865
|
}
|
|
911
866
|
}
|
|
912
|
-
let localVarPath = `/api/
|
|
867
|
+
let localVarPath = `/api/regions`;
|
|
913
868
|
const { basePath, withCredentials } = this.configuration;
|
|
914
869
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
915
870
|
context: localVarHttpContext,
|
|
871
|
+
params: localVarQueryParameters,
|
|
916
872
|
responseType: responseType_,
|
|
917
873
|
...(withCredentials ? { withCredentials } : {}),
|
|
918
874
|
headers: localVarHeaders,
|
|
@@ -921,15 +877,54 @@ class RsdRegionsApiService extends BaseService {
|
|
|
921
877
|
reportProgress: reportProgress,
|
|
922
878
|
});
|
|
923
879
|
}
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
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" });
|
|
882
|
+
}
|
|
883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, decorators: [{
|
|
884
|
+
type: Injectable,
|
|
885
|
+
args: [{
|
|
886
|
+
providedIn: "root",
|
|
887
|
+
}]
|
|
888
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
889
|
+
type: Optional
|
|
890
|
+
}, {
|
|
891
|
+
type: Inject,
|
|
892
|
+
args: [BASE_PATH]
|
|
893
|
+
}] }, { type: Configuration, decorators: [{
|
|
894
|
+
type: Optional
|
|
895
|
+
}] }] });
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* RenewAire CORES API
|
|
899
|
+
*
|
|
900
|
+
* Contact: renewaire@saritasa.com
|
|
901
|
+
*
|
|
902
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
903
|
+
* https://openapi-generator.tech
|
|
904
|
+
* Do not edit the class manually.
|
|
905
|
+
*/
|
|
906
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
907
|
+
class RepContactsApiService extends BaseService {
|
|
908
|
+
httpClient;
|
|
909
|
+
constructor(httpClient, basePath, configuration) {
|
|
910
|
+
super(basePath, configuration);
|
|
911
|
+
this.httpClient = httpClient;
|
|
912
|
+
}
|
|
913
|
+
repContactsGetRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
914
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
915
|
+
if (repTerritoryRepContactId === null ||
|
|
916
|
+
repTerritoryRepContactId === undefined) {
|
|
917
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsGetRepTerritoryRepContact.");
|
|
918
|
+
}
|
|
919
|
+
let localVarHeaders = this.defaultHeaders;
|
|
920
|
+
// authentication (Bearer) required
|
|
931
921
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
932
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
922
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
923
|
+
this.configuration.selectHeaderAccept([
|
|
924
|
+
"text/plain",
|
|
925
|
+
"application/json",
|
|
926
|
+
"text/json",
|
|
927
|
+
]);
|
|
933
928
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
934
929
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
935
930
|
}
|
|
@@ -947,9 +942,9 @@ class RsdRegionsApiService extends BaseService {
|
|
|
947
942
|
responseType_ = "blob";
|
|
948
943
|
}
|
|
949
944
|
}
|
|
950
|
-
let localVarPath = `/api/
|
|
945
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
951
946
|
const { basePath, withCredentials } = this.configuration;
|
|
952
|
-
return this.httpClient.request("
|
|
947
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
953
948
|
context: localVarHttpContext,
|
|
954
949
|
responseType: responseType_,
|
|
955
950
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -959,39 +954,16 @@ class RsdRegionsApiService extends BaseService {
|
|
|
959
954
|
reportProgress: reportProgress,
|
|
960
955
|
});
|
|
961
956
|
}
|
|
962
|
-
|
|
963
|
-
const
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
const orderBy = requestParameters?.orderBy;
|
|
968
|
-
const page = requestParameters?.page;
|
|
969
|
-
const pageSize = requestParameters?.pageSize;
|
|
970
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
971
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
972
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
|
|
973
|
-
if (rsdUserIds) {
|
|
974
|
-
rsdUserIds.forEach((element) => {
|
|
975
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "RsdUserIds");
|
|
976
|
-
});
|
|
977
|
-
}
|
|
978
|
-
if (repTerritoryIds) {
|
|
979
|
-
repTerritoryIds.forEach((element) => {
|
|
980
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "RepTerritoryIds");
|
|
981
|
-
});
|
|
957
|
+
repContactsRemoveRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
958
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
959
|
+
if (repTerritoryRepContactId === null ||
|
|
960
|
+
repTerritoryRepContactId === undefined) {
|
|
961
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsRemoveRepTerritoryRepContact.");
|
|
982
962
|
}
|
|
983
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
984
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
985
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
986
963
|
let localVarHeaders = this.defaultHeaders;
|
|
987
964
|
// authentication (Bearer) required
|
|
988
965
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
989
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
990
|
-
this.configuration.selectHeaderAccept([
|
|
991
|
-
"text/plain",
|
|
992
|
-
"application/json",
|
|
993
|
-
"text/json",
|
|
994
|
-
]);
|
|
966
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
995
967
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
996
968
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
997
969
|
}
|
|
@@ -1009,11 +981,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1009
981
|
responseType_ = "blob";
|
|
1010
982
|
}
|
|
1011
983
|
}
|
|
1012
|
-
let localVarPath = `/api/
|
|
984
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1013
985
|
const { basePath, withCredentials } = this.configuration;
|
|
1014
|
-
return this.httpClient.request("
|
|
986
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1015
987
|
context: localVarHttpContext,
|
|
1016
|
-
params: localVarQueryParameters,
|
|
1017
988
|
responseType: responseType_,
|
|
1018
989
|
...(withCredentials ? { withCredentials } : {}),
|
|
1019
990
|
headers: localVarHeaders,
|
|
@@ -1022,8 +993,13 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1022
993
|
reportProgress: reportProgress,
|
|
1023
994
|
});
|
|
1024
995
|
}
|
|
1025
|
-
|
|
1026
|
-
const
|
|
996
|
+
repContactsUpdateRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
997
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
998
|
+
if (repTerritoryRepContactId === null ||
|
|
999
|
+
repTerritoryRepContactId === undefined) {
|
|
1000
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsUpdateRepTerritoryRepContact.");
|
|
1001
|
+
}
|
|
1002
|
+
const saveRepTerritoryRepContactDto = requestParameters?.saveRepTerritoryRepContactDto;
|
|
1027
1003
|
let localVarHeaders = this.defaultHeaders;
|
|
1028
1004
|
// authentication (Bearer) required
|
|
1029
1005
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1055,11 +1031,11 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1055
1031
|
responseType_ = "blob";
|
|
1056
1032
|
}
|
|
1057
1033
|
}
|
|
1058
|
-
let localVarPath = `/api/
|
|
1034
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1059
1035
|
const { basePath, withCredentials } = this.configuration;
|
|
1060
1036
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1061
1037
|
context: localVarHttpContext,
|
|
1062
|
-
body:
|
|
1038
|
+
body: saveRepTerritoryRepContactDto,
|
|
1063
1039
|
responseType: responseType_,
|
|
1064
1040
|
...(withCredentials ? { withCredentials } : {}),
|
|
1065
1041
|
headers: localVarHeaders,
|
|
@@ -1068,10 +1044,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1068
1044
|
reportProgress: reportProgress,
|
|
1069
1045
|
});
|
|
1070
1046
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1072
|
-
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" });
|
|
1073
1049
|
}
|
|
1074
|
-
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: [{
|
|
1075
1051
|
type: Injectable,
|
|
1076
1052
|
args: [{
|
|
1077
1053
|
providedIn: "root",
|
|
@@ -1095,16 +1071,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1095
1071
|
* Do not edit the class manually.
|
|
1096
1072
|
*/
|
|
1097
1073
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
1098
|
-
class
|
|
1074
|
+
class RepTerritoriesApiService extends BaseService {
|
|
1099
1075
|
httpClient;
|
|
1100
1076
|
constructor(httpClient, basePath, configuration) {
|
|
1101
1077
|
super(basePath, configuration);
|
|
1102
1078
|
this.httpClient = httpClient;
|
|
1103
1079
|
}
|
|
1104
|
-
|
|
1105
|
-
const
|
|
1080
|
+
repTerritoriesCreateRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1081
|
+
const saveRepTerritoryDto = requestParameters?.saveRepTerritoryDto;
|
|
1106
1082
|
let localVarHeaders = this.defaultHeaders;
|
|
1107
|
-
|
|
1083
|
+
// authentication (Bearer) required
|
|
1084
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1085
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1086
|
+
this.configuration.selectHeaderAccept([
|
|
1087
|
+
"text/plain",
|
|
1088
|
+
"application/json",
|
|
1089
|
+
"text/json",
|
|
1090
|
+
]);
|
|
1108
1091
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1109
1092
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1110
1093
|
}
|
|
@@ -1132,11 +1115,121 @@ class UsersApiService extends BaseService {
|
|
|
1132
1115
|
responseType_ = "blob";
|
|
1133
1116
|
}
|
|
1134
1117
|
}
|
|
1135
|
-
let localVarPath = `/api/
|
|
1118
|
+
let localVarPath = `/api/rep-territories`;
|
|
1136
1119
|
const { basePath, withCredentials } = this.configuration;
|
|
1137
1120
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1138
1121
|
context: localVarHttpContext,
|
|
1139
|
-
body:
|
|
1122
|
+
body: saveRepTerritoryDto,
|
|
1123
|
+
responseType: responseType_,
|
|
1124
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1125
|
+
headers: localVarHeaders,
|
|
1126
|
+
observe: observe,
|
|
1127
|
+
transferCache: localVarTransferCache,
|
|
1128
|
+
reportProgress: reportProgress,
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
repTerritoriesCreateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1132
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1133
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1134
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesCreateRepTerritoryLocation.");
|
|
1135
|
+
}
|
|
1136
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1137
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1138
|
+
// authentication (Bearer) required
|
|
1139
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1140
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1141
|
+
this.configuration.selectHeaderAccept([
|
|
1142
|
+
"text/plain",
|
|
1143
|
+
"application/json",
|
|
1144
|
+
"text/json",
|
|
1145
|
+
]);
|
|
1146
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1147
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1148
|
+
}
|
|
1149
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1150
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1151
|
+
// to determine the Content-Type header
|
|
1152
|
+
const consumes = [
|
|
1153
|
+
"application/json",
|
|
1154
|
+
"text/json",
|
|
1155
|
+
"application/*+json",
|
|
1156
|
+
];
|
|
1157
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1158
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1159
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1160
|
+
}
|
|
1161
|
+
let responseType_ = "json";
|
|
1162
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1163
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1164
|
+
responseType_ = "text";
|
|
1165
|
+
}
|
|
1166
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1167
|
+
responseType_ = "json";
|
|
1168
|
+
}
|
|
1169
|
+
else {
|
|
1170
|
+
responseType_ = "blob";
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/locations`;
|
|
1174
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1175
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1176
|
+
context: localVarHttpContext,
|
|
1177
|
+
body: saveRepTerritoryLocationDto,
|
|
1178
|
+
responseType: responseType_,
|
|
1179
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1180
|
+
headers: localVarHeaders,
|
|
1181
|
+
observe: observe,
|
|
1182
|
+
transferCache: localVarTransferCache,
|
|
1183
|
+
reportProgress: reportProgress,
|
|
1184
|
+
});
|
|
1185
|
+
}
|
|
1186
|
+
repTerritoriesCreateRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1187
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1188
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1189
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesCreateRepTerritoryRepContact.");
|
|
1190
|
+
}
|
|
1191
|
+
const saveRepTerritoryRepContactDto = requestParameters?.saveRepTerritoryRepContactDto;
|
|
1192
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1193
|
+
// authentication (Bearer) required
|
|
1194
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1195
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1196
|
+
this.configuration.selectHeaderAccept([
|
|
1197
|
+
"text/plain",
|
|
1198
|
+
"application/json",
|
|
1199
|
+
"text/json",
|
|
1200
|
+
]);
|
|
1201
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1202
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1203
|
+
}
|
|
1204
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1205
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1206
|
+
// to determine the Content-Type header
|
|
1207
|
+
const consumes = [
|
|
1208
|
+
"application/json",
|
|
1209
|
+
"text/json",
|
|
1210
|
+
"application/*+json",
|
|
1211
|
+
];
|
|
1212
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1213
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1214
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1215
|
+
}
|
|
1216
|
+
let responseType_ = "json";
|
|
1217
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1218
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1219
|
+
responseType_ = "text";
|
|
1220
|
+
}
|
|
1221
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1222
|
+
responseType_ = "json";
|
|
1223
|
+
}
|
|
1224
|
+
else {
|
|
1225
|
+
responseType_ = "blob";
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/rep-contacts`;
|
|
1229
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1230
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1231
|
+
context: localVarHttpContext,
|
|
1232
|
+
body: saveRepTerritoryRepContactDto,
|
|
1140
1233
|
responseType: responseType_,
|
|
1141
1234
|
...(withCredentials ? { withCredentials } : {}),
|
|
1142
1235
|
headers: localVarHeaders,
|
|
@@ -1145,7 +1238,11 @@ class UsersApiService extends BaseService {
|
|
|
1145
1238
|
reportProgress: reportProgress,
|
|
1146
1239
|
});
|
|
1147
1240
|
}
|
|
1148
|
-
|
|
1241
|
+
repTerritoriesGetRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1242
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1243
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1244
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesGetRepTerritory.");
|
|
1245
|
+
}
|
|
1149
1246
|
let localVarHeaders = this.defaultHeaders;
|
|
1150
1247
|
// authentication (Bearer) required
|
|
1151
1248
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1172,10 +1269,1514 @@ class UsersApiService extends BaseService {
|
|
|
1172
1269
|
responseType_ = "blob";
|
|
1173
1270
|
}
|
|
1174
1271
|
}
|
|
1175
|
-
let localVarPath = `/api/
|
|
1272
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1273
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1274
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1275
|
+
context: localVarHttpContext,
|
|
1276
|
+
responseType: responseType_,
|
|
1277
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1278
|
+
headers: localVarHeaders,
|
|
1279
|
+
observe: observe,
|
|
1280
|
+
transferCache: localVarTransferCache,
|
|
1281
|
+
reportProgress: reportProgress,
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
repTerritoriesRemoveRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1285
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1286
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1287
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesRemoveRepTerritory.");
|
|
1288
|
+
}
|
|
1289
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1290
|
+
// authentication (Bearer) required
|
|
1291
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1292
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1293
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1294
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1295
|
+
}
|
|
1296
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1297
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1298
|
+
let responseType_ = "json";
|
|
1299
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1300
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1301
|
+
responseType_ = "text";
|
|
1302
|
+
}
|
|
1303
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1304
|
+
responseType_ = "json";
|
|
1305
|
+
}
|
|
1306
|
+
else {
|
|
1307
|
+
responseType_ = "blob";
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1311
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1312
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1313
|
+
context: localVarHttpContext,
|
|
1314
|
+
responseType: responseType_,
|
|
1315
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1316
|
+
headers: localVarHeaders,
|
|
1317
|
+
observe: observe,
|
|
1318
|
+
transferCache: localVarTransferCache,
|
|
1319
|
+
reportProgress: reportProgress,
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
repTerritoriesSearchRepTerritories(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1323
|
+
const repName = requestParameters?.repName;
|
|
1324
|
+
const repCode = requestParameters?.repCode;
|
|
1325
|
+
const rsdRegionName = requestParameters?.rsdRegionName;
|
|
1326
|
+
const orderBy = requestParameters?.orderBy;
|
|
1327
|
+
const page = requestParameters?.page;
|
|
1328
|
+
const pageSize = requestParameters?.pageSize;
|
|
1329
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1330
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repName, "RepName");
|
|
1331
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repCode, "RepCode");
|
|
1332
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, rsdRegionName, "RsdRegionName");
|
|
1333
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1334
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1335
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1336
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1337
|
+
// authentication (Bearer) required
|
|
1338
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1339
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1340
|
+
this.configuration.selectHeaderAccept([
|
|
1341
|
+
"text/plain",
|
|
1342
|
+
"application/json",
|
|
1343
|
+
"text/json",
|
|
1344
|
+
]);
|
|
1345
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1346
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1347
|
+
}
|
|
1348
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1349
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1350
|
+
let responseType_ = "json";
|
|
1351
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1352
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1353
|
+
responseType_ = "text";
|
|
1354
|
+
}
|
|
1355
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1356
|
+
responseType_ = "json";
|
|
1357
|
+
}
|
|
1358
|
+
else {
|
|
1359
|
+
responseType_ = "blob";
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
let localVarPath = `/api/rep-territories`;
|
|
1363
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1364
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1365
|
+
context: localVarHttpContext,
|
|
1366
|
+
params: localVarQueryParameters,
|
|
1367
|
+
responseType: responseType_,
|
|
1368
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1369
|
+
headers: localVarHeaders,
|
|
1370
|
+
observe: observe,
|
|
1371
|
+
transferCache: localVarTransferCache,
|
|
1372
|
+
reportProgress: reportProgress,
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1375
|
+
repTerritoriesUpdateRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1376
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1377
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1378
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesUpdateRepTerritory.");
|
|
1379
|
+
}
|
|
1380
|
+
const saveRepTerritoryDto = requestParameters?.saveRepTerritoryDto;
|
|
1381
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1382
|
+
// authentication (Bearer) required
|
|
1383
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1384
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1385
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1386
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1387
|
+
}
|
|
1388
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1389
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1390
|
+
// to determine the Content-Type header
|
|
1391
|
+
const consumes = [
|
|
1392
|
+
"application/json",
|
|
1393
|
+
"text/json",
|
|
1394
|
+
"application/*+json",
|
|
1395
|
+
];
|
|
1396
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1397
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1398
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1399
|
+
}
|
|
1400
|
+
let responseType_ = "json";
|
|
1401
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1402
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1403
|
+
responseType_ = "text";
|
|
1404
|
+
}
|
|
1405
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1406
|
+
responseType_ = "json";
|
|
1407
|
+
}
|
|
1408
|
+
else {
|
|
1409
|
+
responseType_ = "blob";
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1413
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1414
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1415
|
+
context: localVarHttpContext,
|
|
1416
|
+
body: saveRepTerritoryDto,
|
|
1417
|
+
responseType: responseType_,
|
|
1418
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1419
|
+
headers: localVarHeaders,
|
|
1420
|
+
observe: observe,
|
|
1421
|
+
transferCache: localVarTransferCache,
|
|
1422
|
+
reportProgress: reportProgress,
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
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" });
|
|
1427
|
+
}
|
|
1428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
|
|
1429
|
+
type: Injectable,
|
|
1430
|
+
args: [{
|
|
1431
|
+
providedIn: "root",
|
|
1432
|
+
}]
|
|
1433
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1434
|
+
type: Optional
|
|
1435
|
+
}, {
|
|
1436
|
+
type: Inject,
|
|
1437
|
+
args: [BASE_PATH]
|
|
1438
|
+
}] }, { type: Configuration, decorators: [{
|
|
1439
|
+
type: Optional
|
|
1440
|
+
}] }] });
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* RenewAire CORES API
|
|
1444
|
+
*
|
|
1445
|
+
* Contact: renewaire@saritasa.com
|
|
1446
|
+
*
|
|
1447
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1448
|
+
* https://openapi-generator.tech
|
|
1449
|
+
* Do not edit the class manually.
|
|
1450
|
+
*/
|
|
1451
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1452
|
+
class RepTerritoryLocationsApiService extends BaseService {
|
|
1453
|
+
httpClient;
|
|
1454
|
+
constructor(httpClient, basePath, configuration) {
|
|
1455
|
+
super(basePath, configuration);
|
|
1456
|
+
this.httpClient = httpClient;
|
|
1457
|
+
}
|
|
1458
|
+
repTerritoryLocationsGetRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1459
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1460
|
+
if (repTerritoryLocationId === null ||
|
|
1461
|
+
repTerritoryLocationId === undefined) {
|
|
1462
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsGetRepTerritoryLocation.");
|
|
1463
|
+
}
|
|
1464
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1465
|
+
// authentication (Bearer) required
|
|
1466
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1467
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1468
|
+
this.configuration.selectHeaderAccept([
|
|
1469
|
+
"text/plain",
|
|
1470
|
+
"application/json",
|
|
1471
|
+
"text/json",
|
|
1472
|
+
]);
|
|
1473
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1474
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1475
|
+
}
|
|
1476
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1477
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1478
|
+
let responseType_ = "json";
|
|
1479
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1480
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1481
|
+
responseType_ = "text";
|
|
1482
|
+
}
|
|
1483
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1484
|
+
responseType_ = "json";
|
|
1485
|
+
}
|
|
1486
|
+
else {
|
|
1487
|
+
responseType_ = "blob";
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1491
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1492
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1493
|
+
context: localVarHttpContext,
|
|
1494
|
+
responseType: responseType_,
|
|
1495
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1496
|
+
headers: localVarHeaders,
|
|
1497
|
+
observe: observe,
|
|
1498
|
+
transferCache: localVarTransferCache,
|
|
1499
|
+
reportProgress: reportProgress,
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1503
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1504
|
+
if (repTerritoryLocationId === null ||
|
|
1505
|
+
repTerritoryLocationId === undefined) {
|
|
1506
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsRemoveRepTerritoryLocation.");
|
|
1507
|
+
}
|
|
1508
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1509
|
+
// authentication (Bearer) required
|
|
1510
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1511
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1512
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1513
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1514
|
+
}
|
|
1515
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1516
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1517
|
+
let responseType_ = "json";
|
|
1518
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1519
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1520
|
+
responseType_ = "text";
|
|
1521
|
+
}
|
|
1522
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1523
|
+
responseType_ = "json";
|
|
1524
|
+
}
|
|
1525
|
+
else {
|
|
1526
|
+
responseType_ = "blob";
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1530
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1531
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1532
|
+
context: localVarHttpContext,
|
|
1533
|
+
responseType: responseType_,
|
|
1534
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1535
|
+
headers: localVarHeaders,
|
|
1536
|
+
observe: observe,
|
|
1537
|
+
transferCache: localVarTransferCache,
|
|
1538
|
+
reportProgress: reportProgress,
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
repTerritoryLocationsSearchRepTerritoryLocations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1542
|
+
const name = requestParameters?.name;
|
|
1543
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1544
|
+
const repName = requestParameters?.repName;
|
|
1545
|
+
const allCounties = requestParameters?.allCounties;
|
|
1546
|
+
const orderBy = requestParameters?.orderBy;
|
|
1547
|
+
const page = requestParameters?.page;
|
|
1548
|
+
const pageSize = requestParameters?.pageSize;
|
|
1549
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1550
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
1551
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryId, "RepTerritoryId");
|
|
1552
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repName, "RepName");
|
|
1553
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, allCounties, "AllCounties");
|
|
1554
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1555
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1556
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1557
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1558
|
+
// authentication (Bearer) required
|
|
1559
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1560
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1561
|
+
this.configuration.selectHeaderAccept([
|
|
1562
|
+
"text/plain",
|
|
1563
|
+
"application/json",
|
|
1564
|
+
"text/json",
|
|
1565
|
+
]);
|
|
1566
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1567
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1568
|
+
}
|
|
1569
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1570
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1571
|
+
let responseType_ = "json";
|
|
1572
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1573
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1574
|
+
responseType_ = "text";
|
|
1575
|
+
}
|
|
1576
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1577
|
+
responseType_ = "json";
|
|
1578
|
+
}
|
|
1579
|
+
else {
|
|
1580
|
+
responseType_ = "blob";
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
let localVarPath = `/api/rep-territory-locations`;
|
|
1584
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1585
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1586
|
+
context: localVarHttpContext,
|
|
1587
|
+
params: localVarQueryParameters,
|
|
1588
|
+
responseType: responseType_,
|
|
1589
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1590
|
+
headers: localVarHeaders,
|
|
1591
|
+
observe: observe,
|
|
1592
|
+
transferCache: localVarTransferCache,
|
|
1593
|
+
reportProgress: reportProgress,
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1597
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1598
|
+
if (repTerritoryLocationId === null ||
|
|
1599
|
+
repTerritoryLocationId === undefined) {
|
|
1600
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsUpdateRepTerritoryLocation.");
|
|
1601
|
+
}
|
|
1602
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1603
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1604
|
+
// authentication (Bearer) required
|
|
1605
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1606
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1607
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1608
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1609
|
+
}
|
|
1610
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1611
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1612
|
+
// to determine the Content-Type header
|
|
1613
|
+
const consumes = [
|
|
1614
|
+
"application/json",
|
|
1615
|
+
"text/json",
|
|
1616
|
+
"application/*+json",
|
|
1617
|
+
];
|
|
1618
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1619
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1620
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1621
|
+
}
|
|
1622
|
+
let responseType_ = "json";
|
|
1623
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1624
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1625
|
+
responseType_ = "text";
|
|
1626
|
+
}
|
|
1627
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1628
|
+
responseType_ = "json";
|
|
1629
|
+
}
|
|
1630
|
+
else {
|
|
1631
|
+
responseType_ = "blob";
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1635
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1636
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1637
|
+
context: localVarHttpContext,
|
|
1638
|
+
body: saveRepTerritoryLocationDto,
|
|
1639
|
+
responseType: responseType_,
|
|
1640
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1641
|
+
headers: localVarHeaders,
|
|
1642
|
+
observe: observe,
|
|
1643
|
+
transferCache: localVarTransferCache,
|
|
1644
|
+
reportProgress: reportProgress,
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
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" });
|
|
1649
|
+
}
|
|
1650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
|
|
1651
|
+
type: Injectable,
|
|
1652
|
+
args: [{
|
|
1653
|
+
providedIn: "root",
|
|
1654
|
+
}]
|
|
1655
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1656
|
+
type: Optional
|
|
1657
|
+
}, {
|
|
1658
|
+
type: Inject,
|
|
1659
|
+
args: [BASE_PATH]
|
|
1660
|
+
}] }, { type: Configuration, decorators: [{
|
|
1661
|
+
type: Optional
|
|
1662
|
+
}] }] });
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* RenewAire CORES API
|
|
1666
|
+
*
|
|
1667
|
+
* Contact: renewaire@saritasa.com
|
|
1668
|
+
*
|
|
1669
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1670
|
+
* https://openapi-generator.tech
|
|
1671
|
+
* Do not edit the class manually.
|
|
1672
|
+
*/
|
|
1673
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1674
|
+
class RsdRegionsApiService extends BaseService {
|
|
1675
|
+
httpClient;
|
|
1676
|
+
constructor(httpClient, basePath, configuration) {
|
|
1677
|
+
super(basePath, configuration);
|
|
1678
|
+
this.httpClient = httpClient;
|
|
1679
|
+
}
|
|
1680
|
+
rsdRegionsCreateDocumentDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1681
|
+
const rsdRegionId = requestParameters?.rsdRegionId;
|
|
1682
|
+
if (rsdRegionId === null || rsdRegionId === undefined) {
|
|
1683
|
+
throw new Error("Required parameter rsdRegionId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1684
|
+
}
|
|
1685
|
+
const documentId = requestParameters?.documentId;
|
|
1686
|
+
if (documentId === null || documentId === undefined) {
|
|
1687
|
+
throw new Error("Required parameter documentId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1688
|
+
}
|
|
1689
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1690
|
+
// authentication (Bearer) required
|
|
1691
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1692
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1693
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1694
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1695
|
+
}
|
|
1696
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1697
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1698
|
+
let responseType_ = "json";
|
|
1699
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1700
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1701
|
+
responseType_ = "text";
|
|
1702
|
+
}
|
|
1703
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1704
|
+
responseType_ = "json";
|
|
1705
|
+
}
|
|
1706
|
+
else {
|
|
1707
|
+
responseType_ = "blob";
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents/${this.configuration.encodeParam({ name: "documentId", value: documentId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/download-url`;
|
|
1711
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1712
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1713
|
+
context: localVarHttpContext,
|
|
1714
|
+
responseType: responseType_,
|
|
1715
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1716
|
+
headers: localVarHeaders,
|
|
1717
|
+
observe: observe,
|
|
1718
|
+
transferCache: localVarTransferCache,
|
|
1719
|
+
reportProgress: reportProgress,
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1723
|
+
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
1724
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1725
|
+
// authentication (Bearer) required
|
|
1726
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1727
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1728
|
+
this.configuration.selectHeaderAccept([
|
|
1729
|
+
"text/plain",
|
|
1730
|
+
"application/json",
|
|
1731
|
+
"text/json",
|
|
1732
|
+
]);
|
|
1733
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1734
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1735
|
+
}
|
|
1736
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1737
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1738
|
+
// to determine the Content-Type header
|
|
1739
|
+
const consumes = [
|
|
1740
|
+
"application/json",
|
|
1741
|
+
"text/json",
|
|
1742
|
+
"application/*+json",
|
|
1743
|
+
];
|
|
1744
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1745
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1746
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1747
|
+
}
|
|
1748
|
+
let responseType_ = "json";
|
|
1749
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1750
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1751
|
+
responseType_ = "text";
|
|
1752
|
+
}
|
|
1753
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1754
|
+
responseType_ = "json";
|
|
1755
|
+
}
|
|
1756
|
+
else {
|
|
1757
|
+
responseType_ = "blob";
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
let localVarPath = `/api/rsd-regions/documents/upload-url`;
|
|
1761
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1762
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1763
|
+
context: localVarHttpContext,
|
|
1764
|
+
body: createUploadUrlCommand,
|
|
1765
|
+
responseType: responseType_,
|
|
1766
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1767
|
+
headers: localVarHeaders,
|
|
1768
|
+
observe: observe,
|
|
1769
|
+
transferCache: localVarTransferCache,
|
|
1770
|
+
reportProgress: reportProgress,
|
|
1771
|
+
});
|
|
1772
|
+
}
|
|
1773
|
+
rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1774
|
+
const createRsdRegionDto = requestParameters?.createRsdRegionDto;
|
|
1775
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1776
|
+
// authentication (Bearer) required
|
|
1777
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1778
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1779
|
+
this.configuration.selectHeaderAccept([
|
|
1780
|
+
"text/plain",
|
|
1781
|
+
"application/json",
|
|
1782
|
+
"text/json",
|
|
1783
|
+
]);
|
|
1784
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1785
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1786
|
+
}
|
|
1787
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1788
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1789
|
+
// to determine the Content-Type header
|
|
1790
|
+
const consumes = [
|
|
1791
|
+
"application/json",
|
|
1792
|
+
"text/json",
|
|
1793
|
+
"application/*+json",
|
|
1794
|
+
];
|
|
1795
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1796
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1797
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1798
|
+
}
|
|
1799
|
+
let responseType_ = "json";
|
|
1800
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1801
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1802
|
+
responseType_ = "text";
|
|
1803
|
+
}
|
|
1804
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1805
|
+
responseType_ = "json";
|
|
1806
|
+
}
|
|
1807
|
+
else {
|
|
1808
|
+
responseType_ = "blob";
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
let localVarPath = `/api/rsd-regions`;
|
|
1812
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1813
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1814
|
+
context: localVarHttpContext,
|
|
1815
|
+
body: createRsdRegionDto,
|
|
1816
|
+
responseType: responseType_,
|
|
1817
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1818
|
+
headers: localVarHeaders,
|
|
1819
|
+
observe: observe,
|
|
1820
|
+
transferCache: localVarTransferCache,
|
|
1821
|
+
reportProgress: reportProgress,
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
rsdRegionsCreateRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1825
|
+
const id = requestParameters?.id;
|
|
1826
|
+
if (id === null || id === undefined) {
|
|
1827
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsCreateRsdRegionDocuments.");
|
|
1828
|
+
}
|
|
1829
|
+
const createDocumentsDto = requestParameters?.createDocumentsDto;
|
|
1830
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1831
|
+
// authentication (Bearer) required
|
|
1832
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1833
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1834
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1835
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1836
|
+
}
|
|
1837
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1838
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1839
|
+
// to determine the Content-Type header
|
|
1840
|
+
const consumes = [
|
|
1841
|
+
"application/json",
|
|
1842
|
+
"text/json",
|
|
1843
|
+
"application/*+json",
|
|
1844
|
+
];
|
|
1845
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1846
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1847
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1848
|
+
}
|
|
1849
|
+
let responseType_ = "json";
|
|
1850
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1851
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1852
|
+
responseType_ = "text";
|
|
1853
|
+
}
|
|
1854
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1855
|
+
responseType_ = "json";
|
|
1856
|
+
}
|
|
1857
|
+
else {
|
|
1858
|
+
responseType_ = "blob";
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents`;
|
|
1862
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1863
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1864
|
+
context: localVarHttpContext,
|
|
1865
|
+
body: createDocumentsDto,
|
|
1866
|
+
responseType: responseType_,
|
|
1867
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1868
|
+
headers: localVarHeaders,
|
|
1869
|
+
observe: observe,
|
|
1870
|
+
transferCache: localVarTransferCache,
|
|
1871
|
+
reportProgress: reportProgress,
|
|
1872
|
+
});
|
|
1873
|
+
}
|
|
1874
|
+
rsdRegionsGetRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1875
|
+
const id = requestParameters?.id;
|
|
1876
|
+
if (id === null || id === undefined) {
|
|
1877
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsGetRsdRegion.");
|
|
1878
|
+
}
|
|
1879
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1880
|
+
// authentication (Bearer) required
|
|
1881
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1882
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1883
|
+
this.configuration.selectHeaderAccept([
|
|
1884
|
+
"text/plain",
|
|
1885
|
+
"application/json",
|
|
1886
|
+
"text/json",
|
|
1887
|
+
]);
|
|
1888
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1889
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1890
|
+
}
|
|
1891
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1892
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1893
|
+
let responseType_ = "json";
|
|
1894
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1895
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1896
|
+
responseType_ = "text";
|
|
1897
|
+
}
|
|
1898
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1899
|
+
responseType_ = "json";
|
|
1900
|
+
}
|
|
1901
|
+
else {
|
|
1902
|
+
responseType_ = "blob";
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1906
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1907
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1908
|
+
context: localVarHttpContext,
|
|
1909
|
+
responseType: responseType_,
|
|
1910
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1911
|
+
headers: localVarHeaders,
|
|
1912
|
+
observe: observe,
|
|
1913
|
+
transferCache: localVarTransferCache,
|
|
1914
|
+
reportProgress: reportProgress,
|
|
1915
|
+
});
|
|
1916
|
+
}
|
|
1917
|
+
rsdRegionsRemoveRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1918
|
+
const id = requestParameters?.id;
|
|
1919
|
+
if (id === null || id === undefined) {
|
|
1920
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsRemoveRsdRegion.");
|
|
1921
|
+
}
|
|
1922
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1923
|
+
// authentication (Bearer) required
|
|
1924
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1925
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1926
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1927
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1928
|
+
}
|
|
1929
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1930
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1931
|
+
let responseType_ = "json";
|
|
1932
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1933
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1934
|
+
responseType_ = "text";
|
|
1935
|
+
}
|
|
1936
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1937
|
+
responseType_ = "json";
|
|
1938
|
+
}
|
|
1939
|
+
else {
|
|
1940
|
+
responseType_ = "blob";
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1944
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1945
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1946
|
+
context: localVarHttpContext,
|
|
1947
|
+
responseType: responseType_,
|
|
1948
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1949
|
+
headers: localVarHeaders,
|
|
1950
|
+
observe: observe,
|
|
1951
|
+
transferCache: localVarTransferCache,
|
|
1952
|
+
reportProgress: reportProgress,
|
|
1953
|
+
});
|
|
1954
|
+
}
|
|
1955
|
+
rsdRegionsRemoveRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1956
|
+
const removeDocumentsCommand = requestParameters?.removeDocumentsCommand;
|
|
1957
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1958
|
+
// authentication (Bearer) required
|
|
1959
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1960
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1961
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1962
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1963
|
+
}
|
|
1964
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1965
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1966
|
+
// to determine the Content-Type header
|
|
1967
|
+
const consumes = [
|
|
1968
|
+
"application/json",
|
|
1969
|
+
"text/json",
|
|
1970
|
+
"application/*+json",
|
|
1971
|
+
];
|
|
1972
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1973
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1974
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1975
|
+
}
|
|
1976
|
+
let responseType_ = "json";
|
|
1977
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1978
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1979
|
+
responseType_ = "text";
|
|
1980
|
+
}
|
|
1981
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1982
|
+
responseType_ = "json";
|
|
1983
|
+
}
|
|
1984
|
+
else {
|
|
1985
|
+
responseType_ = "blob";
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
let localVarPath = `/api/rsd-regions/documents`;
|
|
1989
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1990
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1991
|
+
context: localVarHttpContext,
|
|
1992
|
+
body: removeDocumentsCommand,
|
|
1993
|
+
responseType: responseType_,
|
|
1994
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1995
|
+
headers: localVarHeaders,
|
|
1996
|
+
observe: observe,
|
|
1997
|
+
transferCache: localVarTransferCache,
|
|
1998
|
+
reportProgress: reportProgress,
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
rsdRegionsSearchRsdRegions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2002
|
+
const name = requestParameters?.name;
|
|
2003
|
+
const isActive = requestParameters?.isActive;
|
|
2004
|
+
const rsdUserIds = requestParameters?.rsdUserIds;
|
|
2005
|
+
const repTerritoryIds = requestParameters?.repTerritoryIds;
|
|
2006
|
+
const orderBy = requestParameters?.orderBy;
|
|
2007
|
+
const page = requestParameters?.page;
|
|
2008
|
+
const pageSize = requestParameters?.pageSize;
|
|
2009
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2010
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
2011
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
|
|
2012
|
+
if (rsdUserIds) {
|
|
2013
|
+
rsdUserIds.forEach((element) => {
|
|
2014
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "RsdUserIds");
|
|
2015
|
+
});
|
|
2016
|
+
}
|
|
2017
|
+
if (repTerritoryIds) {
|
|
2018
|
+
repTerritoryIds.forEach((element) => {
|
|
2019
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "RepTerritoryIds");
|
|
2020
|
+
});
|
|
2021
|
+
}
|
|
2022
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
2023
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
2024
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
2025
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2026
|
+
// authentication (Bearer) required
|
|
2027
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2028
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2029
|
+
this.configuration.selectHeaderAccept([
|
|
2030
|
+
"text/plain",
|
|
2031
|
+
"application/json",
|
|
2032
|
+
"text/json",
|
|
2033
|
+
]);
|
|
2034
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2035
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2036
|
+
}
|
|
2037
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2038
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2039
|
+
let responseType_ = "json";
|
|
2040
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2041
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2042
|
+
responseType_ = "text";
|
|
2043
|
+
}
|
|
2044
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2045
|
+
responseType_ = "json";
|
|
2046
|
+
}
|
|
2047
|
+
else {
|
|
2048
|
+
responseType_ = "blob";
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
let localVarPath = `/api/rsd-regions`;
|
|
2052
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2053
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2054
|
+
context: localVarHttpContext,
|
|
2055
|
+
params: localVarQueryParameters,
|
|
2056
|
+
responseType: responseType_,
|
|
2057
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2058
|
+
headers: localVarHeaders,
|
|
2059
|
+
observe: observe,
|
|
2060
|
+
transferCache: localVarTransferCache,
|
|
2061
|
+
reportProgress: reportProgress,
|
|
2062
|
+
});
|
|
2063
|
+
}
|
|
2064
|
+
rsdRegionsUpdateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2065
|
+
const updateRsdRegionDto = requestParameters?.updateRsdRegionDto;
|
|
2066
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2067
|
+
// authentication (Bearer) required
|
|
2068
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2069
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2070
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2071
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2072
|
+
}
|
|
2073
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2074
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2075
|
+
// to determine the Content-Type header
|
|
2076
|
+
const consumes = [
|
|
2077
|
+
"application/json",
|
|
2078
|
+
"text/json",
|
|
2079
|
+
"application/*+json",
|
|
2080
|
+
];
|
|
2081
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2082
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2083
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2084
|
+
}
|
|
2085
|
+
let responseType_ = "json";
|
|
2086
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2087
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2088
|
+
responseType_ = "text";
|
|
2089
|
+
}
|
|
2090
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2091
|
+
responseType_ = "json";
|
|
2092
|
+
}
|
|
2093
|
+
else {
|
|
2094
|
+
responseType_ = "blob";
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
let localVarPath = `/api/rsd-regions`;
|
|
2098
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2099
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2100
|
+
context: localVarHttpContext,
|
|
2101
|
+
body: updateRsdRegionDto,
|
|
2102
|
+
responseType: responseType_,
|
|
2103
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2104
|
+
headers: localVarHeaders,
|
|
2105
|
+
observe: observe,
|
|
2106
|
+
transferCache: localVarTransferCache,
|
|
2107
|
+
reportProgress: reportProgress,
|
|
2108
|
+
});
|
|
2109
|
+
}
|
|
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" });
|
|
2112
|
+
}
|
|
2113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, decorators: [{
|
|
2114
|
+
type: Injectable,
|
|
2115
|
+
args: [{
|
|
2116
|
+
providedIn: "root",
|
|
2117
|
+
}]
|
|
2118
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2119
|
+
type: Optional
|
|
2120
|
+
}, {
|
|
2121
|
+
type: Inject,
|
|
2122
|
+
args: [BASE_PATH]
|
|
2123
|
+
}] }, { type: Configuration, decorators: [{
|
|
2124
|
+
type: Optional
|
|
2125
|
+
}] }] });
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* RenewAire CORES API
|
|
2129
|
+
*
|
|
2130
|
+
* Contact: renewaire@saritasa.com
|
|
2131
|
+
*
|
|
2132
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2133
|
+
* https://openapi-generator.tech
|
|
2134
|
+
* Do not edit the class manually.
|
|
2135
|
+
*/
|
|
2136
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2137
|
+
class UserDesignConditionsApiService extends BaseService {
|
|
2138
|
+
httpClient;
|
|
2139
|
+
constructor(httpClient, basePath, configuration) {
|
|
2140
|
+
super(basePath, configuration);
|
|
2141
|
+
this.httpClient = httpClient;
|
|
2142
|
+
}
|
|
2143
|
+
userDesignConditionsGetProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2144
|
+
const userId = requestParameters?.userId;
|
|
2145
|
+
if (userId === null || userId === undefined) {
|
|
2146
|
+
throw new Error("Required parameter userId was null or undefined when calling userDesignConditionsGetProjectDesignConditions.");
|
|
2147
|
+
}
|
|
2148
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2149
|
+
// authentication (Bearer) required
|
|
2150
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2151
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2152
|
+
this.configuration.selectHeaderAccept([
|
|
2153
|
+
"text/plain",
|
|
2154
|
+
"application/json",
|
|
2155
|
+
"text/json",
|
|
2156
|
+
]);
|
|
2157
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2158
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2159
|
+
}
|
|
2160
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2161
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2162
|
+
let responseType_ = "json";
|
|
2163
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2164
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2165
|
+
responseType_ = "text";
|
|
2166
|
+
}
|
|
2167
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2168
|
+
responseType_ = "json";
|
|
2169
|
+
}
|
|
2170
|
+
else {
|
|
2171
|
+
responseType_ = "blob";
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
let localVarPath = `/api/users/design-conditions/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
2175
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2176
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2177
|
+
context: localVarHttpContext,
|
|
2178
|
+
responseType: responseType_,
|
|
2179
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2180
|
+
headers: localVarHeaders,
|
|
2181
|
+
observe: observe,
|
|
2182
|
+
transferCache: localVarTransferCache,
|
|
2183
|
+
reportProgress: reportProgress,
|
|
2184
|
+
});
|
|
2185
|
+
}
|
|
2186
|
+
userDesignConditionsSaveProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2187
|
+
const saveUserDesignConditionsDto = requestParameters?.saveUserDesignConditionsDto;
|
|
2188
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2189
|
+
// authentication (Bearer) required
|
|
2190
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2191
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2192
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2193
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2194
|
+
}
|
|
2195
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2196
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2197
|
+
// to determine the Content-Type header
|
|
2198
|
+
const consumes = [
|
|
2199
|
+
"application/json",
|
|
2200
|
+
"text/json",
|
|
2201
|
+
"application/*+json",
|
|
2202
|
+
];
|
|
2203
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2204
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2205
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2206
|
+
}
|
|
2207
|
+
let responseType_ = "json";
|
|
2208
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2209
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2210
|
+
responseType_ = "text";
|
|
2211
|
+
}
|
|
2212
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2213
|
+
responseType_ = "json";
|
|
2214
|
+
}
|
|
2215
|
+
else {
|
|
2216
|
+
responseType_ = "blob";
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
let localVarPath = `/api/users/design-conditions`;
|
|
2220
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2221
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2222
|
+
context: localVarHttpContext,
|
|
2223
|
+
body: saveUserDesignConditionsDto,
|
|
2224
|
+
responseType: responseType_,
|
|
2225
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2226
|
+
headers: localVarHeaders,
|
|
2227
|
+
observe: observe,
|
|
2228
|
+
transferCache: localVarTransferCache,
|
|
2229
|
+
reportProgress: reportProgress,
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
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" });
|
|
2234
|
+
}
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
2236
|
+
type: Injectable,
|
|
2237
|
+
args: [{
|
|
2238
|
+
providedIn: "root",
|
|
2239
|
+
}]
|
|
2240
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2241
|
+
type: Optional
|
|
2242
|
+
}, {
|
|
2243
|
+
type: Inject,
|
|
2244
|
+
args: [BASE_PATH]
|
|
2245
|
+
}] }, { type: Configuration, decorators: [{
|
|
2246
|
+
type: Optional
|
|
2247
|
+
}] }] });
|
|
2248
|
+
|
|
2249
|
+
/**
|
|
2250
|
+
* RenewAire CORES API
|
|
2251
|
+
*
|
|
2252
|
+
* Contact: renewaire@saritasa.com
|
|
2253
|
+
*
|
|
2254
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2255
|
+
* https://openapi-generator.tech
|
|
2256
|
+
* Do not edit the class manually.
|
|
2257
|
+
*/
|
|
2258
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2259
|
+
class UsersApiService extends BaseService {
|
|
2260
|
+
httpClient;
|
|
2261
|
+
constructor(httpClient, basePath, configuration) {
|
|
2262
|
+
super(basePath, configuration);
|
|
2263
|
+
this.httpClient = httpClient;
|
|
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
|
+
}
|
|
2399
|
+
usersConfirmEmail(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2400
|
+
const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
|
|
2401
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2402
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2403
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2404
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2405
|
+
}
|
|
2406
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2407
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2408
|
+
// to determine the Content-Type header
|
|
2409
|
+
const consumes = [
|
|
2410
|
+
"application/json",
|
|
2411
|
+
"text/json",
|
|
2412
|
+
"application/*+json",
|
|
2413
|
+
];
|
|
2414
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2415
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2416
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2417
|
+
}
|
|
2418
|
+
let responseType_ = "json";
|
|
2419
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2420
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2421
|
+
responseType_ = "text";
|
|
2422
|
+
}
|
|
2423
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2424
|
+
responseType_ = "json";
|
|
2425
|
+
}
|
|
2426
|
+
else {
|
|
2427
|
+
responseType_ = "blob";
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
let localVarPath = `/api/users/confirm-email`;
|
|
2431
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2432
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2433
|
+
context: localVarHttpContext,
|
|
2434
|
+
body: emailConfirmationTokenDto,
|
|
2435
|
+
responseType: responseType_,
|
|
2436
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2437
|
+
headers: localVarHeaders,
|
|
2438
|
+
observe: observe,
|
|
2439
|
+
transferCache: localVarTransferCache,
|
|
2440
|
+
reportProgress: reportProgress,
|
|
2441
|
+
});
|
|
2442
|
+
}
|
|
2443
|
+
usersForgotPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2444
|
+
const forgotPasswordCommand = requestParameters?.forgotPasswordCommand;
|
|
2445
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2446
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2447
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2448
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2449
|
+
}
|
|
2450
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2451
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2452
|
+
// to determine the Content-Type header
|
|
2453
|
+
const consumes = [
|
|
2454
|
+
"application/json",
|
|
2455
|
+
"text/json",
|
|
2456
|
+
"application/*+json",
|
|
2457
|
+
];
|
|
2458
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2459
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2460
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2461
|
+
}
|
|
2462
|
+
let responseType_ = "json";
|
|
2463
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2464
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2465
|
+
responseType_ = "text";
|
|
2466
|
+
}
|
|
2467
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2468
|
+
responseType_ = "json";
|
|
2469
|
+
}
|
|
2470
|
+
else {
|
|
2471
|
+
responseType_ = "blob";
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
let localVarPath = `/api/users/forgot-password`;
|
|
2475
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2476
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2477
|
+
context: localVarHttpContext,
|
|
2478
|
+
body: forgotPasswordCommand,
|
|
2479
|
+
responseType: responseType_,
|
|
2480
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2481
|
+
headers: localVarHeaders,
|
|
2482
|
+
observe: observe,
|
|
2483
|
+
transferCache: localVarTransferCache,
|
|
2484
|
+
reportProgress: reportProgress,
|
|
2485
|
+
});
|
|
2486
|
+
}
|
|
2487
|
+
usersGetCurrentRepContacts(observe = "body", reportProgress = false, options) {
|
|
2488
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2489
|
+
// authentication (Bearer) required
|
|
2490
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2491
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2492
|
+
this.configuration.selectHeaderAccept([
|
|
2493
|
+
"text/plain",
|
|
2494
|
+
"application/json",
|
|
2495
|
+
"text/json",
|
|
2496
|
+
]);
|
|
2497
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2498
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2499
|
+
}
|
|
2500
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2501
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2502
|
+
let responseType_ = "json";
|
|
2503
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2504
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2505
|
+
responseType_ = "text";
|
|
2506
|
+
}
|
|
2507
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2508
|
+
responseType_ = "json";
|
|
2509
|
+
}
|
|
2510
|
+
else {
|
|
2511
|
+
responseType_ = "blob";
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
let localVarPath = `/api/users/me/rep-contacts`;
|
|
2515
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2516
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2517
|
+
context: localVarHttpContext,
|
|
2518
|
+
responseType: responseType_,
|
|
2519
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2520
|
+
headers: localVarHeaders,
|
|
2521
|
+
observe: observe,
|
|
2522
|
+
transferCache: localVarTransferCache,
|
|
2523
|
+
reportProgress: reportProgress,
|
|
2524
|
+
});
|
|
2525
|
+
}
|
|
2526
|
+
usersGetCurrentUser(observe = "body", reportProgress = false, options) {
|
|
2527
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2528
|
+
// authentication (Bearer) required
|
|
2529
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2530
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2531
|
+
this.configuration.selectHeaderAccept([
|
|
2532
|
+
"text/plain",
|
|
2533
|
+
"application/json",
|
|
2534
|
+
"text/json",
|
|
2535
|
+
]);
|
|
2536
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2537
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2538
|
+
}
|
|
2539
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2540
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2541
|
+
let responseType_ = "json";
|
|
2542
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2543
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2544
|
+
responseType_ = "text";
|
|
2545
|
+
}
|
|
2546
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2547
|
+
responseType_ = "json";
|
|
2548
|
+
}
|
|
2549
|
+
else {
|
|
2550
|
+
responseType_ = "blob";
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
let localVarPath = `/api/users/me`;
|
|
2554
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2555
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2556
|
+
context: localVarHttpContext,
|
|
2557
|
+
responseType: responseType_,
|
|
2558
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2559
|
+
headers: localVarHeaders,
|
|
2560
|
+
observe: observe,
|
|
2561
|
+
transferCache: localVarTransferCache,
|
|
2562
|
+
reportProgress: reportProgress,
|
|
2563
|
+
});
|
|
2564
|
+
}
|
|
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
|
+
}
|
|
2570
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2571
|
+
// authentication (Bearer) required
|
|
2572
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2573
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2574
|
+
this.configuration.selectHeaderAccept([
|
|
2575
|
+
"text/plain",
|
|
2576
|
+
"application/json",
|
|
2577
|
+
"text/json",
|
|
2578
|
+
]);
|
|
2579
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2580
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2581
|
+
}
|
|
2582
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
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;
|
|
2619
|
+
// to determine the Content-Type header
|
|
2620
|
+
const consumes = [
|
|
2621
|
+
"application/json",
|
|
2622
|
+
"text/json",
|
|
2623
|
+
"application/*+json",
|
|
2624
|
+
];
|
|
2625
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2626
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2627
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2628
|
+
}
|
|
2629
|
+
let responseType_ = "json";
|
|
2630
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2631
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2632
|
+
responseType_ = "text";
|
|
2633
|
+
}
|
|
2634
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2635
|
+
responseType_ = "json";
|
|
2636
|
+
}
|
|
2637
|
+
else {
|
|
2638
|
+
responseType_ = "blob";
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
let localVarPath = `/api/users/me/request-change-email`;
|
|
2642
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2643
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2644
|
+
context: localVarHttpContext,
|
|
2645
|
+
body: requestChangeEmailCommand,
|
|
2646
|
+
responseType: responseType_,
|
|
2647
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2648
|
+
headers: localVarHeaders,
|
|
2649
|
+
observe: observe,
|
|
2650
|
+
transferCache: localVarTransferCache,
|
|
2651
|
+
reportProgress: reportProgress,
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
usersRequestConfirmEmail(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2655
|
+
const userEmailDto = requestParameters?.userEmailDto;
|
|
2656
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2657
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2658
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2659
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2660
|
+
}
|
|
2661
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2662
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2663
|
+
// to determine the Content-Type header
|
|
2664
|
+
const consumes = [
|
|
2665
|
+
"application/json",
|
|
2666
|
+
"text/json",
|
|
2667
|
+
"application/*+json",
|
|
2668
|
+
];
|
|
2669
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2670
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2671
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2672
|
+
}
|
|
2673
|
+
let responseType_ = "json";
|
|
2674
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2675
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2676
|
+
responseType_ = "text";
|
|
2677
|
+
}
|
|
2678
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2679
|
+
responseType_ = "json";
|
|
2680
|
+
}
|
|
2681
|
+
else {
|
|
2682
|
+
responseType_ = "blob";
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
let localVarPath = `/api/users/request-email`;
|
|
2686
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2687
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2688
|
+
context: localVarHttpContext,
|
|
2689
|
+
body: userEmailDto,
|
|
2690
|
+
responseType: responseType_,
|
|
2691
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2692
|
+
headers: localVarHeaders,
|
|
2693
|
+
observe: observe,
|
|
2694
|
+
transferCache: localVarTransferCache,
|
|
2695
|
+
reportProgress: reportProgress,
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
usersResetPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2699
|
+
const resetPasswordCommand = requestParameters?.resetPasswordCommand;
|
|
2700
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2701
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2702
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2703
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2704
|
+
}
|
|
2705
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2706
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2707
|
+
// to determine the Content-Type header
|
|
2708
|
+
const consumes = [
|
|
2709
|
+
"application/json",
|
|
2710
|
+
"text/json",
|
|
2711
|
+
"application/*+json",
|
|
2712
|
+
];
|
|
2713
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2714
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2715
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2716
|
+
}
|
|
2717
|
+
let responseType_ = "json";
|
|
2718
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2719
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2720
|
+
responseType_ = "text";
|
|
2721
|
+
}
|
|
2722
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2723
|
+
responseType_ = "json";
|
|
2724
|
+
}
|
|
2725
|
+
else {
|
|
2726
|
+
responseType_ = "blob";
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
let localVarPath = `/api/users/reset-password`;
|
|
2730
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2731
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2732
|
+
context: localVarHttpContext,
|
|
2733
|
+
body: resetPasswordCommand,
|
|
2734
|
+
responseType: responseType_,
|
|
2735
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2736
|
+
headers: localVarHeaders,
|
|
2737
|
+
observe: observe,
|
|
2738
|
+
transferCache: localVarTransferCache,
|
|
2739
|
+
reportProgress: reportProgress,
|
|
2740
|
+
});
|
|
2741
|
+
}
|
|
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`;
|
|
1176
2776
|
const { basePath, withCredentials } = this.configuration;
|
|
1177
|
-
return this.httpClient.request("
|
|
2777
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1178
2778
|
context: localVarHttpContext,
|
|
2779
|
+
body: setAddressDto,
|
|
1179
2780
|
responseType: responseType_,
|
|
1180
2781
|
...(withCredentials ? { withCredentials } : {}),
|
|
1181
2782
|
headers: localVarHeaders,
|
|
@@ -1184,25 +2785,27 @@ class UsersApiService extends BaseService {
|
|
|
1184
2785
|
reportProgress: reportProgress,
|
|
1185
2786
|
});
|
|
1186
2787
|
}
|
|
1187
|
-
|
|
1188
|
-
const
|
|
1189
|
-
if (userId === null || userId === undefined) {
|
|
1190
|
-
throw new Error("Required parameter userId was null or undefined when calling usersGetRepContacts_1.");
|
|
1191
|
-
}
|
|
2788
|
+
usersSetUserOccupation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2789
|
+
const setUserOccupationCommand = requestParameters?.setUserOccupationCommand;
|
|
1192
2790
|
let localVarHeaders = this.defaultHeaders;
|
|
1193
2791
|
// authentication (Bearer) required
|
|
1194
2792
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1195
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1196
|
-
this.configuration.selectHeaderAccept([
|
|
1197
|
-
"text/plain",
|
|
1198
|
-
"application/json",
|
|
1199
|
-
"text/json",
|
|
1200
|
-
]);
|
|
2793
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1201
2794
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1202
2795
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1203
2796
|
}
|
|
1204
2797
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1205
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
|
+
}
|
|
1206
2809
|
let responseType_ = "json";
|
|
1207
2810
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1208
2811
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -1215,10 +2818,11 @@ class UsersApiService extends BaseService {
|
|
|
1215
2818
|
responseType_ = "blob";
|
|
1216
2819
|
}
|
|
1217
2820
|
}
|
|
1218
|
-
let localVarPath = `/api/users
|
|
2821
|
+
let localVarPath = `/api/users/registration/set-occupation`;
|
|
1219
2822
|
const { basePath, withCredentials } = this.configuration;
|
|
1220
|
-
return this.httpClient.request("
|
|
2823
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1221
2824
|
context: localVarHttpContext,
|
|
2825
|
+
body: setUserOccupationCommand,
|
|
1222
2826
|
responseType: responseType_,
|
|
1223
2827
|
...(withCredentials ? { withCredentials } : {}),
|
|
1224
2828
|
headers: localVarHeaders,
|
|
@@ -1227,15 +2831,12 @@ class UsersApiService extends BaseService {
|
|
|
1227
2831
|
reportProgress: reportProgress,
|
|
1228
2832
|
});
|
|
1229
2833
|
}
|
|
1230
|
-
|
|
1231
|
-
const
|
|
2834
|
+
usersSetUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2835
|
+
const setUserPasswordCommand = requestParameters?.setUserPasswordCommand;
|
|
1232
2836
|
let localVarHeaders = this.defaultHeaders;
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
"application/json",
|
|
1237
|
-
"text/json",
|
|
1238
|
-
]);
|
|
2837
|
+
// authentication (Bearer) required
|
|
2838
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2839
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1239
2840
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1240
2841
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1241
2842
|
}
|
|
@@ -1263,11 +2864,11 @@ class UsersApiService extends BaseService {
|
|
|
1263
2864
|
responseType_ = "blob";
|
|
1264
2865
|
}
|
|
1265
2866
|
}
|
|
1266
|
-
let localVarPath = `/api/users`;
|
|
2867
|
+
let localVarPath = `/api/users/registration/set-password`;
|
|
1267
2868
|
const { basePath, withCredentials } = this.configuration;
|
|
1268
2869
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1269
2870
|
context: localVarHttpContext,
|
|
1270
|
-
body:
|
|
2871
|
+
body: setUserPasswordCommand,
|
|
1271
2872
|
responseType: responseType_,
|
|
1272
2873
|
...(withCredentials ? { withCredentials } : {}),
|
|
1273
2874
|
headers: localVarHeaders,
|
|
@@ -1276,9 +2877,11 @@ class UsersApiService extends BaseService {
|
|
|
1276
2877
|
reportProgress: reportProgress,
|
|
1277
2878
|
});
|
|
1278
2879
|
}
|
|
1279
|
-
|
|
1280
|
-
const
|
|
2880
|
+
usersSetUserProfile(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2881
|
+
const userProfileDto = requestParameters?.userProfileDto;
|
|
1281
2882
|
let localVarHeaders = this.defaultHeaders;
|
|
2883
|
+
// authentication (Bearer) required
|
|
2884
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1282
2885
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1283
2886
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1284
2887
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
@@ -1307,11 +2910,11 @@ class UsersApiService extends BaseService {
|
|
|
1307
2910
|
responseType_ = "blob";
|
|
1308
2911
|
}
|
|
1309
2912
|
}
|
|
1310
|
-
let localVarPath = `/api/users/
|
|
2913
|
+
let localVarPath = `/api/users/registration/set-profile`;
|
|
1311
2914
|
const { basePath, withCredentials } = this.configuration;
|
|
1312
|
-
return this.httpClient.request("
|
|
2915
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1313
2916
|
context: localVarHttpContext,
|
|
1314
|
-
body:
|
|
2917
|
+
body: userProfileDto,
|
|
1315
2918
|
responseType: responseType_,
|
|
1316
2919
|
...(withCredentials ? { withCredentials } : {}),
|
|
1317
2920
|
headers: localVarHeaders,
|
|
@@ -1320,10 +2923,10 @@ class UsersApiService extends BaseService {
|
|
|
1320
2923
|
reportProgress: reportProgress,
|
|
1321
2924
|
});
|
|
1322
2925
|
}
|
|
1323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1324
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
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" });
|
|
1325
2928
|
}
|
|
1326
|
-
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: [{
|
|
1327
2930
|
type: Injectable,
|
|
1328
2931
|
args: [{
|
|
1329
2932
|
providedIn: "root",
|
|
@@ -1339,10 +2942,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1339
2942
|
|
|
1340
2943
|
const APIS = [
|
|
1341
2944
|
AuthApiService,
|
|
2945
|
+
PermissionBundlesApiService,
|
|
1342
2946
|
PermissionsApiService,
|
|
1343
2947
|
RegionsApiService,
|
|
2948
|
+
RepContactsApiService,
|
|
1344
2949
|
RepTerritoriesApiService,
|
|
2950
|
+
RepTerritoryLocationsApiService,
|
|
1345
2951
|
RsdRegionsApiService,
|
|
2952
|
+
UserDesignConditionsApiService,
|
|
1346
2953
|
UsersApiService,
|
|
1347
2954
|
];
|
|
1348
2955
|
|
|
@@ -1383,6 +2990,131 @@ var AddressDtoCountryEnum;
|
|
|
1383
2990
|
AddressDtoCountryEnum["Mexico"] = "Mexico";
|
|
1384
2991
|
})(AddressDtoCountryEnum || (AddressDtoCountryEnum = {}));
|
|
1385
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
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* RenewAire CORES API
|
|
3015
|
+
*
|
|
3016
|
+
* Contact: renewaire@saritasa.com
|
|
3017
|
+
*
|
|
3018
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3019
|
+
* https://openapi-generator.tech
|
|
3020
|
+
* Do not edit the class manually.
|
|
3021
|
+
*/
|
|
3022
|
+
/**
|
|
3023
|
+
* CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
|
|
3024
|
+
*/
|
|
3025
|
+
var CoolingDesignBasis;
|
|
3026
|
+
(function (CoolingDesignBasis) {
|
|
3027
|
+
CoolingDesignBasis["Cooling"] = "Cooling";
|
|
3028
|
+
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
3029
|
+
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
3030
|
+
|
|
3031
|
+
/**
|
|
3032
|
+
* RenewAire CORES API
|
|
3033
|
+
*
|
|
3034
|
+
* Contact: renewaire@saritasa.com
|
|
3035
|
+
*
|
|
3036
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3037
|
+
* https://openapi-generator.tech
|
|
3038
|
+
* Do not edit the class manually.
|
|
3039
|
+
*/
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* RenewAire CORES API
|
|
3043
|
+
*
|
|
3044
|
+
* Contact: renewaire@saritasa.com
|
|
3045
|
+
*
|
|
3046
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3047
|
+
* https://openapi-generator.tech
|
|
3048
|
+
* Do not edit the class manually.
|
|
3049
|
+
*/
|
|
3050
|
+
|
|
3051
|
+
/**
|
|
3052
|
+
* RenewAire CORES API
|
|
3053
|
+
*
|
|
3054
|
+
* Contact: renewaire@saritasa.com
|
|
3055
|
+
*
|
|
3056
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3057
|
+
* https://openapi-generator.tech
|
|
3058
|
+
* Do not edit the class manually.
|
|
3059
|
+
*/
|
|
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 = {}));
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* RenewAire CORES API
|
|
3072
|
+
*
|
|
3073
|
+
* Contact: renewaire@saritasa.com
|
|
3074
|
+
*
|
|
3075
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3076
|
+
* https://openapi-generator.tech
|
|
3077
|
+
* Do not edit the class manually.
|
|
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 = {}));
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* RenewAire CORES API
|
|
3090
|
+
*
|
|
3091
|
+
* Contact: renewaire@saritasa.com
|
|
3092
|
+
*
|
|
3093
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3094
|
+
* https://openapi-generator.tech
|
|
3095
|
+
* Do not edit the class manually.
|
|
3096
|
+
*/
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* RenewAire CORES API
|
|
3100
|
+
*
|
|
3101
|
+
* Contact: renewaire@saritasa.com
|
|
3102
|
+
*
|
|
3103
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3104
|
+
* https://openapi-generator.tech
|
|
3105
|
+
* Do not edit the class manually.
|
|
3106
|
+
*/
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* RenewAire CORES API
|
|
3110
|
+
*
|
|
3111
|
+
* Contact: renewaire@saritasa.com
|
|
3112
|
+
*
|
|
3113
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3114
|
+
* https://openapi-generator.tech
|
|
3115
|
+
* Do not edit the class manually.
|
|
3116
|
+
*/
|
|
3117
|
+
|
|
1386
3118
|
/**
|
|
1387
3119
|
* RenewAire CORES API
|
|
1388
3120
|
*
|
|
@@ -1432,6 +3164,14 @@ var AddressDtoCountryEnum;
|
|
|
1432
3164
|
* https://openapi-generator.tech
|
|
1433
3165
|
* Do not edit the class manually.
|
|
1434
3166
|
*/
|
|
3167
|
+
/**
|
|
3168
|
+
* Permission<br />0 = SystemAdmin<br />1 = UserAdministration
|
|
3169
|
+
*/
|
|
3170
|
+
var Permission;
|
|
3171
|
+
(function (Permission) {
|
|
3172
|
+
Permission["SystemAdmin"] = "SystemAdmin";
|
|
3173
|
+
Permission["UserAdministration"] = "UserAdministration";
|
|
3174
|
+
})(Permission || (Permission = {}));
|
|
1435
3175
|
|
|
1436
3176
|
/**
|
|
1437
3177
|
* RenewAire CORES API
|
|
@@ -1472,6 +3212,12 @@ var AddressDtoCountryEnum;
|
|
|
1472
3212
|
* https://openapi-generator.tech
|
|
1473
3213
|
* Do not edit the class manually.
|
|
1474
3214
|
*/
|
|
3215
|
+
var RegionDtoLevelEnum;
|
|
3216
|
+
(function (RegionDtoLevelEnum) {
|
|
3217
|
+
RegionDtoLevelEnum["Country"] = "Country";
|
|
3218
|
+
RegionDtoLevelEnum["State"] = "State";
|
|
3219
|
+
RegionDtoLevelEnum["County"] = "County";
|
|
3220
|
+
})(RegionDtoLevelEnum || (RegionDtoLevelEnum = {}));
|
|
1475
3221
|
|
|
1476
3222
|
/**
|
|
1477
3223
|
* RenewAire CORES API
|
|
@@ -1492,6 +3238,68 @@ var RegionLevel;
|
|
|
1492
3238
|
RegionLevel["County"] = "County";
|
|
1493
3239
|
})(RegionLevel || (RegionLevel = {}));
|
|
1494
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
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* RenewAire CORES API
|
|
3275
|
+
*
|
|
3276
|
+
* Contact: renewaire@saritasa.com
|
|
3277
|
+
*
|
|
3278
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3279
|
+
* https://openapi-generator.tech
|
|
3280
|
+
* Do not edit the class manually.
|
|
3281
|
+
*/
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* RenewAire CORES API
|
|
3285
|
+
*
|
|
3286
|
+
* Contact: renewaire@saritasa.com
|
|
3287
|
+
*
|
|
3288
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3289
|
+
* https://openapi-generator.tech
|
|
3290
|
+
* Do not edit the class manually.
|
|
3291
|
+
*/
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* RenewAire CORES API
|
|
3295
|
+
*
|
|
3296
|
+
* Contact: renewaire@saritasa.com
|
|
3297
|
+
*
|
|
3298
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3299
|
+
* https://openapi-generator.tech
|
|
3300
|
+
* Do not edit the class manually.
|
|
3301
|
+
*/
|
|
3302
|
+
|
|
1495
3303
|
/**
|
|
1496
3304
|
* RenewAire CORES API
|
|
1497
3305
|
*
|
|
@@ -1512,6 +3320,12 @@ var RegionLevel;
|
|
|
1512
3320
|
* Do not edit the class manually.
|
|
1513
3321
|
*/
|
|
1514
3322
|
|
|
3323
|
+
var SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
3324
|
+
(function (SaveUserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
3325
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
3326
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
3327
|
+
})(SaveUserDesignConditionsDtoCoolingDesignBasisEnum || (SaveUserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
3328
|
+
|
|
1515
3329
|
/**
|
|
1516
3330
|
* RenewAire CORES API
|
|
1517
3331
|
*
|
|
@@ -1578,6 +3392,58 @@ var SearchRegionDtoLevelEnum;
|
|
|
1578
3392
|
* Do not edit the class manually.
|
|
1579
3393
|
*/
|
|
1580
3394
|
|
|
3395
|
+
/**
|
|
3396
|
+
* RenewAire CORES API
|
|
3397
|
+
*
|
|
3398
|
+
* Contact: renewaire@saritasa.com
|
|
3399
|
+
*
|
|
3400
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3401
|
+
* https://openapi-generator.tech
|
|
3402
|
+
* Do not edit the class manually.
|
|
3403
|
+
*/
|
|
3404
|
+
|
|
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
|
+
*/
|
|
3414
|
+
|
|
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
|
+
*/
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* RenewAire CORES API
|
|
3427
|
+
*
|
|
3428
|
+
* Contact: renewaire@saritasa.com
|
|
3429
|
+
*
|
|
3430
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3431
|
+
* https://openapi-generator.tech
|
|
3432
|
+
* Do not edit the class manually.
|
|
3433
|
+
*/
|
|
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
|
+
|
|
1581
3447
|
/**
|
|
1582
3448
|
* RenewAire CORES API
|
|
1583
3449
|
*
|
|
@@ -1614,11 +3480,11 @@ class ApiModule {
|
|
|
1614
3480
|
"See also https://github.com/angular/angular/issues/20575");
|
|
1615
3481
|
}
|
|
1616
3482
|
}
|
|
1617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1618
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
1619
|
-
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 });
|
|
1620
3486
|
}
|
|
1621
|
-
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: [{
|
|
1622
3488
|
type: NgModule,
|
|
1623
3489
|
args: [{
|
|
1624
3490
|
imports: [],
|
|
@@ -1650,5 +3516,5 @@ function provideApi(configOrBasePath) {
|
|
|
1650
3516
|
* Generated bundle index. Do not edit.
|
|
1651
3517
|
*/
|
|
1652
3518
|
|
|
1653
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, 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 };
|
|
1654
3520
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|