@saritasa/renewaire-frontend-sdk 0.1.11 → 0.2.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 +1618 -226
- package/fesm2022/saritasa-renewaire-frontend-sdk.mjs.map +1 -1
- package/index.d.ts +1511 -104
- package/package.json +2 -2
|
@@ -368,10 +368,10 @@ class AuthApiService extends BaseService {
|
|
|
368
368
|
reportProgress: reportProgress,
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
372
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
372
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, providedIn: "root" });
|
|
373
373
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, decorators: [{
|
|
375
375
|
type: Injectable,
|
|
376
376
|
args: [{
|
|
377
377
|
providedIn: "root",
|
|
@@ -395,13 +395,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
395
395
|
* Do not edit the class manually.
|
|
396
396
|
*/
|
|
397
397
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
398
|
-
class
|
|
398
|
+
class PermissionBundlesApiService extends BaseService {
|
|
399
399
|
httpClient;
|
|
400
400
|
constructor(httpClient, basePath, configuration) {
|
|
401
401
|
super(basePath, configuration);
|
|
402
402
|
this.httpClient = httpClient;
|
|
403
403
|
}
|
|
404
|
-
|
|
404
|
+
permissionBundlesCreatePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
405
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
405
406
|
let localVarHeaders = this.defaultHeaders;
|
|
406
407
|
// authentication (Bearer) required
|
|
407
408
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -416,91 +417,16 @@ class PermissionsApiService extends BaseService {
|
|
|
416
417
|
}
|
|
417
418
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
418
419
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
responseType_ = "blob";
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
let localVarPath = `/api/permissions`;
|
|
432
|
-
const { basePath, withCredentials } = this.configuration;
|
|
433
|
-
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
434
|
-
context: localVarHttpContext,
|
|
435
|
-
responseType: responseType_,
|
|
436
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
437
|
-
headers: localVarHeaders,
|
|
438
|
-
observe: observe,
|
|
439
|
-
transferCache: localVarTransferCache,
|
|
440
|
-
reportProgress: reportProgress,
|
|
441
|
-
});
|
|
442
|
-
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
444
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
445
|
-
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
447
|
-
type: Injectable,
|
|
448
|
-
args: [{
|
|
449
|
-
providedIn: "root",
|
|
450
|
-
}]
|
|
451
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
452
|
-
type: Optional
|
|
453
|
-
}, {
|
|
454
|
-
type: Inject,
|
|
455
|
-
args: [BASE_PATH]
|
|
456
|
-
}] }, { type: Configuration, decorators: [{
|
|
457
|
-
type: Optional
|
|
458
|
-
}] }] });
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* RenewAire CORES API
|
|
462
|
-
*
|
|
463
|
-
* Contact: renewaire@saritasa.com
|
|
464
|
-
*
|
|
465
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
466
|
-
* https://openapi-generator.tech
|
|
467
|
-
* Do not edit the class manually.
|
|
468
|
-
*/
|
|
469
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
470
|
-
class RegionsApiService extends BaseService {
|
|
471
|
-
httpClient;
|
|
472
|
-
constructor(httpClient, basePath, configuration) {
|
|
473
|
-
super(basePath, configuration);
|
|
474
|
-
this.httpClient = httpClient;
|
|
475
|
-
}
|
|
476
|
-
regionsSearchRegions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
477
|
-
const name = requestParameters?.name;
|
|
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");
|
|
490
|
-
let localVarHeaders = this.defaultHeaders;
|
|
491
|
-
// authentication (Bearer) required
|
|
492
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
493
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
494
|
-
this.configuration.selectHeaderAccept([
|
|
495
|
-
"text/plain",
|
|
496
|
-
"application/json",
|
|
497
|
-
"text/json",
|
|
498
|
-
]);
|
|
499
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
500
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
420
|
+
// to determine the Content-Type header
|
|
421
|
+
const consumes = [
|
|
422
|
+
"application/json",
|
|
423
|
+
"text/json",
|
|
424
|
+
"application/*+json",
|
|
425
|
+
];
|
|
426
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
427
|
+
if (httpContentTypeSelected !== undefined) {
|
|
428
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
501
429
|
}
|
|
502
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
503
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
504
430
|
let responseType_ = "json";
|
|
505
431
|
if (localVarHttpHeaderAcceptSelected) {
|
|
506
432
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -513,11 +439,11 @@ class RegionsApiService extends BaseService {
|
|
|
513
439
|
responseType_ = "blob";
|
|
514
440
|
}
|
|
515
441
|
}
|
|
516
|
-
let localVarPath = `/api/
|
|
442
|
+
let localVarPath = `/api/permission-bundles`;
|
|
517
443
|
const { basePath, withCredentials } = this.configuration;
|
|
518
|
-
return this.httpClient.request("
|
|
444
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
519
445
|
context: localVarHttpContext,
|
|
520
|
-
|
|
446
|
+
body: savePermissionBundleDto,
|
|
521
447
|
responseType: responseType_,
|
|
522
448
|
...(withCredentials ? { withCredentials } : {}),
|
|
523
449
|
headers: localVarHeaders,
|
|
@@ -526,41 +452,11 @@ class RegionsApiService extends BaseService {
|
|
|
526
452
|
reportProgress: reportProgress,
|
|
527
453
|
});
|
|
528
454
|
}
|
|
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;
|
|
455
|
+
permissionBundlesGetPermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
456
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
457
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
458
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesGetPermissionBundle.");
|
|
459
|
+
}
|
|
564
460
|
let localVarHeaders = this.defaultHeaders;
|
|
565
461
|
// authentication (Bearer) required
|
|
566
462
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -575,16 +471,6 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
575
471
|
}
|
|
576
472
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
577
473
|
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
474
|
let responseType_ = "json";
|
|
589
475
|
if (localVarHttpHeaderAcceptSelected) {
|
|
590
476
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -597,11 +483,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
597
483
|
responseType_ = "blob";
|
|
598
484
|
}
|
|
599
485
|
}
|
|
600
|
-
let localVarPath = `/api/
|
|
486
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
601
487
|
const { basePath, withCredentials } = this.configuration;
|
|
602
|
-
return this.httpClient.request("
|
|
488
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
603
489
|
context: localVarHttpContext,
|
|
604
|
-
body: saveRepTerritoryDto,
|
|
605
490
|
responseType: responseType_,
|
|
606
491
|
...(withCredentials ? { withCredentials } : {}),
|
|
607
492
|
headers: localVarHeaders,
|
|
@@ -610,20 +495,15 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
610
495
|
reportProgress: reportProgress,
|
|
611
496
|
});
|
|
612
497
|
}
|
|
613
|
-
|
|
614
|
-
const
|
|
615
|
-
if (
|
|
616
|
-
throw new Error("Required parameter
|
|
498
|
+
permissionBundlesRemovePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
499
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
500
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
501
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesRemovePermissionBundle.");
|
|
617
502
|
}
|
|
618
503
|
let localVarHeaders = this.defaultHeaders;
|
|
619
504
|
// authentication (Bearer) required
|
|
620
505
|
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
|
-
]);
|
|
506
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
627
507
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
628
508
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
629
509
|
}
|
|
@@ -641,9 +521,9 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
641
521
|
responseType_ = "blob";
|
|
642
522
|
}
|
|
643
523
|
}
|
|
644
|
-
let localVarPath = `/api/
|
|
524
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
645
525
|
const { basePath, withCredentials } = this.configuration;
|
|
646
|
-
return this.httpClient.request("
|
|
526
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
647
527
|
context: localVarHttpContext,
|
|
648
528
|
responseType: responseType_,
|
|
649
529
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -653,10 +533,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
653
533
|
reportProgress: reportProgress,
|
|
654
534
|
});
|
|
655
535
|
}
|
|
656
|
-
|
|
657
|
-
const
|
|
658
|
-
if (
|
|
659
|
-
throw new Error("Required parameter
|
|
536
|
+
permissionBundlesRestorePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
537
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
538
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
539
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesRestorePermissionBundle.");
|
|
660
540
|
}
|
|
661
541
|
let localVarHeaders = this.defaultHeaders;
|
|
662
542
|
// authentication (Bearer) required
|
|
@@ -679,9 +559,9 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
679
559
|
responseType_ = "blob";
|
|
680
560
|
}
|
|
681
561
|
}
|
|
682
|
-
let localVarPath = `/api/
|
|
562
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/restore`;
|
|
683
563
|
const { basePath, withCredentials } = this.configuration;
|
|
684
|
-
return this.httpClient.request("
|
|
564
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
685
565
|
context: localVarHttpContext,
|
|
686
566
|
responseType: responseType_,
|
|
687
567
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -691,17 +571,13 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
691
571
|
reportProgress: reportProgress,
|
|
692
572
|
});
|
|
693
573
|
}
|
|
694
|
-
|
|
695
|
-
const
|
|
696
|
-
const repCode = requestParameters?.repCode;
|
|
697
|
-
const rsdRegionName = requestParameters?.rsdRegionName;
|
|
574
|
+
permissionBundlesSearchPermissionBundles(requestParameters, observe = "body", reportProgress = false, options) {
|
|
575
|
+
const name = requestParameters?.name;
|
|
698
576
|
const orderBy = requestParameters?.orderBy;
|
|
699
577
|
const page = requestParameters?.page;
|
|
700
578
|
const pageSize = requestParameters?.pageSize;
|
|
701
579
|
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");
|
|
580
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
705
581
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
706
582
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
707
583
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
@@ -731,7 +607,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
731
607
|
responseType_ = "blob";
|
|
732
608
|
}
|
|
733
609
|
}
|
|
734
|
-
let localVarPath = `/api/
|
|
610
|
+
let localVarPath = `/api/permission-bundles`;
|
|
735
611
|
const { basePath, withCredentials } = this.configuration;
|
|
736
612
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
737
613
|
context: localVarHttpContext,
|
|
@@ -744,12 +620,12 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
744
620
|
reportProgress: reportProgress,
|
|
745
621
|
});
|
|
746
622
|
}
|
|
747
|
-
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
throw new Error("Required parameter
|
|
623
|
+
permissionBundlesUpdatePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
624
|
+
const permissionBundleId = requestParameters?.permissionBundleId;
|
|
625
|
+
if (permissionBundleId === null || permissionBundleId === undefined) {
|
|
626
|
+
throw new Error("Required parameter permissionBundleId was null or undefined when calling permissionBundlesUpdatePermissionBundle.");
|
|
751
627
|
}
|
|
752
|
-
const
|
|
628
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
753
629
|
let localVarHeaders = this.defaultHeaders;
|
|
754
630
|
// authentication (Bearer) required
|
|
755
631
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -781,11 +657,11 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
781
657
|
responseType_ = "blob";
|
|
782
658
|
}
|
|
783
659
|
}
|
|
784
|
-
let localVarPath = `/api/
|
|
660
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
785
661
|
const { basePath, withCredentials } = this.configuration;
|
|
786
662
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
787
663
|
context: localVarHttpContext,
|
|
788
|
-
body:
|
|
664
|
+
body: savePermissionBundleDto,
|
|
789
665
|
responseType: responseType_,
|
|
790
666
|
...(withCredentials ? { withCredentials } : {}),
|
|
791
667
|
headers: localVarHeaders,
|
|
@@ -794,10 +670,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
794
670
|
reportProgress: reportProgress,
|
|
795
671
|
});
|
|
796
672
|
}
|
|
797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
798
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
673
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
674
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
|
|
799
675
|
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
|
|
801
677
|
type: Injectable,
|
|
802
678
|
args: [{
|
|
803
679
|
providedIn: "root",
|
|
@@ -821,14 +697,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
821
697
|
* Do not edit the class manually.
|
|
822
698
|
*/
|
|
823
699
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
824
|
-
class
|
|
700
|
+
class PermissionsApiService extends BaseService {
|
|
825
701
|
httpClient;
|
|
826
702
|
constructor(httpClient, basePath, configuration) {
|
|
827
703
|
super(basePath, configuration);
|
|
828
704
|
this.httpClient = httpClient;
|
|
829
705
|
}
|
|
830
|
-
|
|
831
|
-
const createRsdRegionDto = requestParameters?.createRsdRegionDto;
|
|
706
|
+
permissionsGetPermissions(observe = "body", reportProgress = false, options) {
|
|
832
707
|
let localVarHeaders = this.defaultHeaders;
|
|
833
708
|
// authentication (Bearer) required
|
|
834
709
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -843,16 +718,6 @@ class RsdRegionsApiService extends BaseService {
|
|
|
843
718
|
}
|
|
844
719
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
845
720
|
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
721
|
let responseType_ = "json";
|
|
857
722
|
if (localVarHttpHeaderAcceptSelected) {
|
|
858
723
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -865,11 +730,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
865
730
|
responseType_ = "blob";
|
|
866
731
|
}
|
|
867
732
|
}
|
|
868
|
-
let localVarPath = `/api/
|
|
733
|
+
let localVarPath = `/api/permissions`;
|
|
869
734
|
const { basePath, withCredentials } = this.configuration;
|
|
870
|
-
return this.httpClient.request("
|
|
735
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
871
736
|
context: localVarHttpContext,
|
|
872
|
-
body: createRsdRegionDto,
|
|
873
737
|
responseType: responseType_,
|
|
874
738
|
...(withCredentials ? { withCredentials } : {}),
|
|
875
739
|
headers: localVarHeaders,
|
|
@@ -878,11 +742,53 @@ class RsdRegionsApiService extends BaseService {
|
|
|
878
742
|
reportProgress: reportProgress,
|
|
879
743
|
});
|
|
880
744
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
745
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
746
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
747
|
+
}
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
749
|
+
type: Injectable,
|
|
750
|
+
args: [{
|
|
751
|
+
providedIn: "root",
|
|
752
|
+
}]
|
|
753
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
754
|
+
type: Optional
|
|
755
|
+
}, {
|
|
756
|
+
type: Inject,
|
|
757
|
+
args: [BASE_PATH]
|
|
758
|
+
}] }, { type: Configuration, decorators: [{
|
|
759
|
+
type: Optional
|
|
760
|
+
}] }] });
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* RenewAire CORES API
|
|
764
|
+
*
|
|
765
|
+
* Contact: renewaire@saritasa.com
|
|
766
|
+
*
|
|
767
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
768
|
+
* https://openapi-generator.tech
|
|
769
|
+
* Do not edit the class manually.
|
|
770
|
+
*/
|
|
771
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
772
|
+
class RegionsApiService extends BaseService {
|
|
773
|
+
httpClient;
|
|
774
|
+
constructor(httpClient, basePath, configuration) {
|
|
775
|
+
super(basePath, configuration);
|
|
776
|
+
this.httpClient = httpClient;
|
|
777
|
+
}
|
|
778
|
+
regionsSearchRegions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
779
|
+
const name = requestParameters?.name;
|
|
780
|
+
const code = requestParameters?.code;
|
|
781
|
+
const level = requestParameters?.level;
|
|
782
|
+
const orderBy = requestParameters?.orderBy;
|
|
783
|
+
const page = requestParameters?.page;
|
|
784
|
+
const pageSize = requestParameters?.pageSize;
|
|
785
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
786
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
787
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, code, "Code");
|
|
788
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, level, "Level");
|
|
789
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
790
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
791
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
886
792
|
let localVarHeaders = this.defaultHeaders;
|
|
887
793
|
// authentication (Bearer) required
|
|
888
794
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -909,10 +815,11 @@ class RsdRegionsApiService extends BaseService {
|
|
|
909
815
|
responseType_ = "blob";
|
|
910
816
|
}
|
|
911
817
|
}
|
|
912
|
-
let localVarPath = `/api/
|
|
818
|
+
let localVarPath = `/api/regions`;
|
|
913
819
|
const { basePath, withCredentials } = this.configuration;
|
|
914
820
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
915
821
|
context: localVarHttpContext,
|
|
822
|
+
params: localVarQueryParameters,
|
|
916
823
|
responseType: responseType_,
|
|
917
824
|
...(withCredentials ? { withCredentials } : {}),
|
|
918
825
|
headers: localVarHeaders,
|
|
@@ -921,10 +828,1047 @@ class RsdRegionsApiService extends BaseService {
|
|
|
921
828
|
reportProgress: reportProgress,
|
|
922
829
|
});
|
|
923
830
|
}
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
832
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, providedIn: "root" });
|
|
833
|
+
}
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, decorators: [{
|
|
835
|
+
type: Injectable,
|
|
836
|
+
args: [{
|
|
837
|
+
providedIn: "root",
|
|
838
|
+
}]
|
|
839
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
840
|
+
type: Optional
|
|
841
|
+
}, {
|
|
842
|
+
type: Inject,
|
|
843
|
+
args: [BASE_PATH]
|
|
844
|
+
}] }, { type: Configuration, decorators: [{
|
|
845
|
+
type: Optional
|
|
846
|
+
}] }] });
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* RenewAire CORES API
|
|
850
|
+
*
|
|
851
|
+
* Contact: renewaire@saritasa.com
|
|
852
|
+
*
|
|
853
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
854
|
+
* https://openapi-generator.tech
|
|
855
|
+
* Do not edit the class manually.
|
|
856
|
+
*/
|
|
857
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
858
|
+
class RepContactsApiService extends BaseService {
|
|
859
|
+
httpClient;
|
|
860
|
+
constructor(httpClient, basePath, configuration) {
|
|
861
|
+
super(basePath, configuration);
|
|
862
|
+
this.httpClient = httpClient;
|
|
863
|
+
}
|
|
864
|
+
repContactsGetRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
865
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
866
|
+
if (repTerritoryRepContactId === null ||
|
|
867
|
+
repTerritoryRepContactId === undefined) {
|
|
868
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsGetRepTerritoryRepContact.");
|
|
869
|
+
}
|
|
870
|
+
let localVarHeaders = this.defaultHeaders;
|
|
871
|
+
// authentication (Bearer) required
|
|
872
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
873
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
874
|
+
this.configuration.selectHeaderAccept([
|
|
875
|
+
"text/plain",
|
|
876
|
+
"application/json",
|
|
877
|
+
"text/json",
|
|
878
|
+
]);
|
|
879
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
880
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
881
|
+
}
|
|
882
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
883
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
884
|
+
let responseType_ = "json";
|
|
885
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
886
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
887
|
+
responseType_ = "text";
|
|
888
|
+
}
|
|
889
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
890
|
+
responseType_ = "json";
|
|
891
|
+
}
|
|
892
|
+
else {
|
|
893
|
+
responseType_ = "blob";
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
897
|
+
const { basePath, withCredentials } = this.configuration;
|
|
898
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
899
|
+
context: localVarHttpContext,
|
|
900
|
+
responseType: responseType_,
|
|
901
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
902
|
+
headers: localVarHeaders,
|
|
903
|
+
observe: observe,
|
|
904
|
+
transferCache: localVarTransferCache,
|
|
905
|
+
reportProgress: reportProgress,
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
repContactsRemoveRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
909
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
910
|
+
if (repTerritoryRepContactId === null ||
|
|
911
|
+
repTerritoryRepContactId === undefined) {
|
|
912
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsRemoveRepTerritoryRepContact.");
|
|
913
|
+
}
|
|
914
|
+
let localVarHeaders = this.defaultHeaders;
|
|
915
|
+
// authentication (Bearer) required
|
|
916
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
917
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
918
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
919
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
920
|
+
}
|
|
921
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
922
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
923
|
+
let responseType_ = "json";
|
|
924
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
925
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
926
|
+
responseType_ = "text";
|
|
927
|
+
}
|
|
928
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
929
|
+
responseType_ = "json";
|
|
930
|
+
}
|
|
931
|
+
else {
|
|
932
|
+
responseType_ = "blob";
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
936
|
+
const { basePath, withCredentials } = this.configuration;
|
|
937
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
938
|
+
context: localVarHttpContext,
|
|
939
|
+
responseType: responseType_,
|
|
940
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
941
|
+
headers: localVarHeaders,
|
|
942
|
+
observe: observe,
|
|
943
|
+
transferCache: localVarTransferCache,
|
|
944
|
+
reportProgress: reportProgress,
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
repContactsUpdateRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
948
|
+
const repTerritoryRepContactId = requestParameters?.repTerritoryRepContactId;
|
|
949
|
+
if (repTerritoryRepContactId === null ||
|
|
950
|
+
repTerritoryRepContactId === undefined) {
|
|
951
|
+
throw new Error("Required parameter repTerritoryRepContactId was null or undefined when calling repContactsUpdateRepTerritoryRepContact.");
|
|
952
|
+
}
|
|
953
|
+
const saveRepTerritoryRepContactDto = requestParameters?.saveRepTerritoryRepContactDto;
|
|
954
|
+
let localVarHeaders = this.defaultHeaders;
|
|
955
|
+
// authentication (Bearer) required
|
|
956
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
957
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
958
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
959
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
960
|
+
}
|
|
961
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
962
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
963
|
+
// to determine the Content-Type header
|
|
964
|
+
const consumes = [
|
|
965
|
+
"application/json",
|
|
966
|
+
"text/json",
|
|
967
|
+
"application/*+json",
|
|
968
|
+
];
|
|
969
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
970
|
+
if (httpContentTypeSelected !== undefined) {
|
|
971
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
972
|
+
}
|
|
973
|
+
let responseType_ = "json";
|
|
974
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
975
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
976
|
+
responseType_ = "text";
|
|
977
|
+
}
|
|
978
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
979
|
+
responseType_ = "json";
|
|
980
|
+
}
|
|
981
|
+
else {
|
|
982
|
+
responseType_ = "blob";
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
let localVarPath = `/api/rep-contacts/${this.configuration.encodeParam({ name: "repTerritoryRepContactId", value: repTerritoryRepContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
986
|
+
const { basePath, withCredentials } = this.configuration;
|
|
987
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
988
|
+
context: localVarHttpContext,
|
|
989
|
+
body: saveRepTerritoryRepContactDto,
|
|
990
|
+
responseType: responseType_,
|
|
991
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
992
|
+
headers: localVarHeaders,
|
|
993
|
+
observe: observe,
|
|
994
|
+
transferCache: localVarTransferCache,
|
|
995
|
+
reportProgress: reportProgress,
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
999
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
|
|
1000
|
+
}
|
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, decorators: [{
|
|
1002
|
+
type: Injectable,
|
|
1003
|
+
args: [{
|
|
1004
|
+
providedIn: "root",
|
|
1005
|
+
}]
|
|
1006
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1007
|
+
type: Optional
|
|
1008
|
+
}, {
|
|
1009
|
+
type: Inject,
|
|
1010
|
+
args: [BASE_PATH]
|
|
1011
|
+
}] }, { type: Configuration, decorators: [{
|
|
1012
|
+
type: Optional
|
|
1013
|
+
}] }] });
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* RenewAire CORES API
|
|
1017
|
+
*
|
|
1018
|
+
* Contact: renewaire@saritasa.com
|
|
1019
|
+
*
|
|
1020
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1021
|
+
* https://openapi-generator.tech
|
|
1022
|
+
* Do not edit the class manually.
|
|
1023
|
+
*/
|
|
1024
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1025
|
+
class RepTerritoriesApiService extends BaseService {
|
|
1026
|
+
httpClient;
|
|
1027
|
+
constructor(httpClient, basePath, configuration) {
|
|
1028
|
+
super(basePath, configuration);
|
|
1029
|
+
this.httpClient = httpClient;
|
|
1030
|
+
}
|
|
1031
|
+
repTerritoriesCreateRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1032
|
+
const saveRepTerritoryDto = requestParameters?.saveRepTerritoryDto;
|
|
1033
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1034
|
+
// authentication (Bearer) required
|
|
1035
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1036
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1037
|
+
this.configuration.selectHeaderAccept([
|
|
1038
|
+
"text/plain",
|
|
1039
|
+
"application/json",
|
|
1040
|
+
"text/json",
|
|
1041
|
+
]);
|
|
1042
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1043
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1044
|
+
}
|
|
1045
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1046
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1047
|
+
// to determine the Content-Type header
|
|
1048
|
+
const consumes = [
|
|
1049
|
+
"application/json",
|
|
1050
|
+
"text/json",
|
|
1051
|
+
"application/*+json",
|
|
1052
|
+
];
|
|
1053
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1054
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1055
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1056
|
+
}
|
|
1057
|
+
let responseType_ = "json";
|
|
1058
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1059
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1060
|
+
responseType_ = "text";
|
|
1061
|
+
}
|
|
1062
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1063
|
+
responseType_ = "json";
|
|
1064
|
+
}
|
|
1065
|
+
else {
|
|
1066
|
+
responseType_ = "blob";
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
let localVarPath = `/api/rep-territories`;
|
|
1070
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1071
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1072
|
+
context: localVarHttpContext,
|
|
1073
|
+
body: saveRepTerritoryDto,
|
|
1074
|
+
responseType: responseType_,
|
|
1075
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1076
|
+
headers: localVarHeaders,
|
|
1077
|
+
observe: observe,
|
|
1078
|
+
transferCache: localVarTransferCache,
|
|
1079
|
+
reportProgress: reportProgress,
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
repTerritoriesCreateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1083
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1084
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1085
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesCreateRepTerritoryLocation.");
|
|
1086
|
+
}
|
|
1087
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1088
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1089
|
+
// authentication (Bearer) required
|
|
1090
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1091
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1092
|
+
this.configuration.selectHeaderAccept([
|
|
1093
|
+
"text/plain",
|
|
1094
|
+
"application/json",
|
|
1095
|
+
"text/json",
|
|
1096
|
+
]);
|
|
1097
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1098
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1099
|
+
}
|
|
1100
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1101
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1102
|
+
// to determine the Content-Type header
|
|
1103
|
+
const consumes = [
|
|
1104
|
+
"application/json",
|
|
1105
|
+
"text/json",
|
|
1106
|
+
"application/*+json",
|
|
1107
|
+
];
|
|
1108
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1109
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1110
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1111
|
+
}
|
|
1112
|
+
let responseType_ = "json";
|
|
1113
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1114
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1115
|
+
responseType_ = "text";
|
|
1116
|
+
}
|
|
1117
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1118
|
+
responseType_ = "json";
|
|
1119
|
+
}
|
|
1120
|
+
else {
|
|
1121
|
+
responseType_ = "blob";
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/locations`;
|
|
1125
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1126
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1127
|
+
context: localVarHttpContext,
|
|
1128
|
+
body: saveRepTerritoryLocationDto,
|
|
1129
|
+
responseType: responseType_,
|
|
1130
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1131
|
+
headers: localVarHeaders,
|
|
1132
|
+
observe: observe,
|
|
1133
|
+
transferCache: localVarTransferCache,
|
|
1134
|
+
reportProgress: reportProgress,
|
|
1135
|
+
});
|
|
1136
|
+
}
|
|
1137
|
+
repTerritoriesCreateRepTerritoryRepContact(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1138
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1139
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1140
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesCreateRepTerritoryRepContact.");
|
|
1141
|
+
}
|
|
1142
|
+
const saveRepTerritoryRepContactDto = requestParameters?.saveRepTerritoryRepContactDto;
|
|
1143
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1144
|
+
// authentication (Bearer) required
|
|
1145
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1146
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1147
|
+
this.configuration.selectHeaderAccept([
|
|
1148
|
+
"text/plain",
|
|
1149
|
+
"application/json",
|
|
1150
|
+
"text/json",
|
|
1151
|
+
]);
|
|
1152
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1153
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1154
|
+
}
|
|
1155
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1156
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1157
|
+
// to determine the Content-Type header
|
|
1158
|
+
const consumes = [
|
|
1159
|
+
"application/json",
|
|
1160
|
+
"text/json",
|
|
1161
|
+
"application/*+json",
|
|
1162
|
+
];
|
|
1163
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1164
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1165
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1166
|
+
}
|
|
1167
|
+
let responseType_ = "json";
|
|
1168
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1169
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1170
|
+
responseType_ = "text";
|
|
1171
|
+
}
|
|
1172
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1173
|
+
responseType_ = "json";
|
|
1174
|
+
}
|
|
1175
|
+
else {
|
|
1176
|
+
responseType_ = "blob";
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/rep-contacts`;
|
|
1180
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1181
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1182
|
+
context: localVarHttpContext,
|
|
1183
|
+
body: saveRepTerritoryRepContactDto,
|
|
1184
|
+
responseType: responseType_,
|
|
1185
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1186
|
+
headers: localVarHeaders,
|
|
1187
|
+
observe: observe,
|
|
1188
|
+
transferCache: localVarTransferCache,
|
|
1189
|
+
reportProgress: reportProgress,
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
repTerritoriesGetRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1193
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1194
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1195
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesGetRepTerritory.");
|
|
1196
|
+
}
|
|
1197
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1198
|
+
// authentication (Bearer) required
|
|
1199
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1200
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1201
|
+
this.configuration.selectHeaderAccept([
|
|
1202
|
+
"text/plain",
|
|
1203
|
+
"application/json",
|
|
1204
|
+
"text/json",
|
|
1205
|
+
]);
|
|
1206
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1207
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1208
|
+
}
|
|
1209
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1210
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1211
|
+
let responseType_ = "json";
|
|
1212
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1213
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1214
|
+
responseType_ = "text";
|
|
1215
|
+
}
|
|
1216
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1217
|
+
responseType_ = "json";
|
|
1218
|
+
}
|
|
1219
|
+
else {
|
|
1220
|
+
responseType_ = "blob";
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1224
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1225
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1226
|
+
context: localVarHttpContext,
|
|
1227
|
+
responseType: responseType_,
|
|
1228
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1229
|
+
headers: localVarHeaders,
|
|
1230
|
+
observe: observe,
|
|
1231
|
+
transferCache: localVarTransferCache,
|
|
1232
|
+
reportProgress: reportProgress,
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
repTerritoriesRemoveRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1236
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1237
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1238
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesRemoveRepTerritory.");
|
|
1239
|
+
}
|
|
1240
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1241
|
+
// authentication (Bearer) required
|
|
1242
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1243
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1244
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1245
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1246
|
+
}
|
|
1247
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1248
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1249
|
+
let responseType_ = "json";
|
|
1250
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1251
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1252
|
+
responseType_ = "text";
|
|
1253
|
+
}
|
|
1254
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1255
|
+
responseType_ = "json";
|
|
1256
|
+
}
|
|
1257
|
+
else {
|
|
1258
|
+
responseType_ = "blob";
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1262
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1263
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1264
|
+
context: localVarHttpContext,
|
|
1265
|
+
responseType: responseType_,
|
|
1266
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1267
|
+
headers: localVarHeaders,
|
|
1268
|
+
observe: observe,
|
|
1269
|
+
transferCache: localVarTransferCache,
|
|
1270
|
+
reportProgress: reportProgress,
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
repTerritoriesSearchRepTerritories(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1274
|
+
const repName = requestParameters?.repName;
|
|
1275
|
+
const repCode = requestParameters?.repCode;
|
|
1276
|
+
const rsdRegionName = requestParameters?.rsdRegionName;
|
|
1277
|
+
const orderBy = requestParameters?.orderBy;
|
|
1278
|
+
const page = requestParameters?.page;
|
|
1279
|
+
const pageSize = requestParameters?.pageSize;
|
|
1280
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1281
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repName, "RepName");
|
|
1282
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repCode, "RepCode");
|
|
1283
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, rsdRegionName, "RsdRegionName");
|
|
1284
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1285
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1286
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1287
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1288
|
+
// authentication (Bearer) required
|
|
1289
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1290
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1291
|
+
this.configuration.selectHeaderAccept([
|
|
1292
|
+
"text/plain",
|
|
1293
|
+
"application/json",
|
|
1294
|
+
"text/json",
|
|
1295
|
+
]);
|
|
1296
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1297
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1298
|
+
}
|
|
1299
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1300
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1301
|
+
let responseType_ = "json";
|
|
1302
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1303
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1304
|
+
responseType_ = "text";
|
|
1305
|
+
}
|
|
1306
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1307
|
+
responseType_ = "json";
|
|
1308
|
+
}
|
|
1309
|
+
else {
|
|
1310
|
+
responseType_ = "blob";
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
let localVarPath = `/api/rep-territories`;
|
|
1314
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1315
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1316
|
+
context: localVarHttpContext,
|
|
1317
|
+
params: localVarQueryParameters,
|
|
1318
|
+
responseType: responseType_,
|
|
1319
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1320
|
+
headers: localVarHeaders,
|
|
1321
|
+
observe: observe,
|
|
1322
|
+
transferCache: localVarTransferCache,
|
|
1323
|
+
reportProgress: reportProgress,
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
repTerritoriesUpdateRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1327
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1328
|
+
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
1329
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesUpdateRepTerritory.");
|
|
1330
|
+
}
|
|
1331
|
+
const saveRepTerritoryDto = requestParameters?.saveRepTerritoryDto;
|
|
1332
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1333
|
+
// authentication (Bearer) required
|
|
1334
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1335
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1336
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1337
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1338
|
+
}
|
|
1339
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1340
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1341
|
+
// to determine the Content-Type header
|
|
1342
|
+
const consumes = [
|
|
1343
|
+
"application/json",
|
|
1344
|
+
"text/json",
|
|
1345
|
+
"application/*+json",
|
|
1346
|
+
];
|
|
1347
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1348
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1349
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1350
|
+
}
|
|
1351
|
+
let responseType_ = "json";
|
|
1352
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1353
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1354
|
+
responseType_ = "text";
|
|
1355
|
+
}
|
|
1356
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1357
|
+
responseType_ = "json";
|
|
1358
|
+
}
|
|
1359
|
+
else {
|
|
1360
|
+
responseType_ = "blob";
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1364
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1365
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1366
|
+
context: localVarHttpContext,
|
|
1367
|
+
body: saveRepTerritoryDto,
|
|
1368
|
+
responseType: responseType_,
|
|
1369
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1370
|
+
headers: localVarHeaders,
|
|
1371
|
+
observe: observe,
|
|
1372
|
+
transferCache: localVarTransferCache,
|
|
1373
|
+
reportProgress: reportProgress,
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1377
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
|
|
1378
|
+
}
|
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
|
|
1380
|
+
type: Injectable,
|
|
1381
|
+
args: [{
|
|
1382
|
+
providedIn: "root",
|
|
1383
|
+
}]
|
|
1384
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1385
|
+
type: Optional
|
|
1386
|
+
}, {
|
|
1387
|
+
type: Inject,
|
|
1388
|
+
args: [BASE_PATH]
|
|
1389
|
+
}] }, { type: Configuration, decorators: [{
|
|
1390
|
+
type: Optional
|
|
1391
|
+
}] }] });
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* RenewAire CORES API
|
|
1395
|
+
*
|
|
1396
|
+
* Contact: renewaire@saritasa.com
|
|
1397
|
+
*
|
|
1398
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1399
|
+
* https://openapi-generator.tech
|
|
1400
|
+
* Do not edit the class manually.
|
|
1401
|
+
*/
|
|
1402
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1403
|
+
class RepTerritoryLocationsApiService extends BaseService {
|
|
1404
|
+
httpClient;
|
|
1405
|
+
constructor(httpClient, basePath, configuration) {
|
|
1406
|
+
super(basePath, configuration);
|
|
1407
|
+
this.httpClient = httpClient;
|
|
1408
|
+
}
|
|
1409
|
+
repTerritoryLocationsGetRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1410
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1411
|
+
if (repTerritoryLocationId === null ||
|
|
1412
|
+
repTerritoryLocationId === undefined) {
|
|
1413
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsGetRepTerritoryLocation.");
|
|
1414
|
+
}
|
|
1415
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1416
|
+
// authentication (Bearer) required
|
|
1417
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1418
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1419
|
+
this.configuration.selectHeaderAccept([
|
|
1420
|
+
"text/plain",
|
|
1421
|
+
"application/json",
|
|
1422
|
+
"text/json",
|
|
1423
|
+
]);
|
|
1424
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1425
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1426
|
+
}
|
|
1427
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1428
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1429
|
+
let responseType_ = "json";
|
|
1430
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1431
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1432
|
+
responseType_ = "text";
|
|
1433
|
+
}
|
|
1434
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1435
|
+
responseType_ = "json";
|
|
1436
|
+
}
|
|
1437
|
+
else {
|
|
1438
|
+
responseType_ = "blob";
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1442
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1443
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1444
|
+
context: localVarHttpContext,
|
|
1445
|
+
responseType: responseType_,
|
|
1446
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1447
|
+
headers: localVarHeaders,
|
|
1448
|
+
observe: observe,
|
|
1449
|
+
transferCache: localVarTransferCache,
|
|
1450
|
+
reportProgress: reportProgress,
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1454
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1455
|
+
if (repTerritoryLocationId === null ||
|
|
1456
|
+
repTerritoryLocationId === undefined) {
|
|
1457
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsRemoveRepTerritoryLocation.");
|
|
1458
|
+
}
|
|
1459
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1460
|
+
// authentication (Bearer) required
|
|
1461
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1462
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1463
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1464
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1465
|
+
}
|
|
1466
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1467
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1468
|
+
let responseType_ = "json";
|
|
1469
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1470
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1471
|
+
responseType_ = "text";
|
|
1472
|
+
}
|
|
1473
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1474
|
+
responseType_ = "json";
|
|
1475
|
+
}
|
|
1476
|
+
else {
|
|
1477
|
+
responseType_ = "blob";
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1481
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1482
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1483
|
+
context: localVarHttpContext,
|
|
1484
|
+
responseType: responseType_,
|
|
1485
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1486
|
+
headers: localVarHeaders,
|
|
1487
|
+
observe: observe,
|
|
1488
|
+
transferCache: localVarTransferCache,
|
|
1489
|
+
reportProgress: reportProgress,
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
repTerritoryLocationsSearchRepTerritoryLocations(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1493
|
+
const name = requestParameters?.name;
|
|
1494
|
+
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
1495
|
+
const repName = requestParameters?.repName;
|
|
1496
|
+
const allCounties = requestParameters?.allCounties;
|
|
1497
|
+
const orderBy = requestParameters?.orderBy;
|
|
1498
|
+
const page = requestParameters?.page;
|
|
1499
|
+
const pageSize = requestParameters?.pageSize;
|
|
1500
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1501
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
1502
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryId, "RepTerritoryId");
|
|
1503
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repName, "RepName");
|
|
1504
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, allCounties, "AllCounties");
|
|
1505
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1506
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1507
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1508
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1509
|
+
// authentication (Bearer) required
|
|
1510
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1511
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1512
|
+
this.configuration.selectHeaderAccept([
|
|
1513
|
+
"text/plain",
|
|
1514
|
+
"application/json",
|
|
1515
|
+
"text/json",
|
|
1516
|
+
]);
|
|
1517
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1518
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1519
|
+
}
|
|
1520
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1521
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1522
|
+
let responseType_ = "json";
|
|
1523
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1524
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1525
|
+
responseType_ = "text";
|
|
1526
|
+
}
|
|
1527
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1528
|
+
responseType_ = "json";
|
|
1529
|
+
}
|
|
1530
|
+
else {
|
|
1531
|
+
responseType_ = "blob";
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
let localVarPath = `/api/rep-territory-locations`;
|
|
1535
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1536
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1537
|
+
context: localVarHttpContext,
|
|
1538
|
+
params: localVarQueryParameters,
|
|
1539
|
+
responseType: responseType_,
|
|
1540
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1541
|
+
headers: localVarHeaders,
|
|
1542
|
+
observe: observe,
|
|
1543
|
+
transferCache: localVarTransferCache,
|
|
1544
|
+
reportProgress: reportProgress,
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1548
|
+
const repTerritoryLocationId = requestParameters?.repTerritoryLocationId;
|
|
1549
|
+
if (repTerritoryLocationId === null ||
|
|
1550
|
+
repTerritoryLocationId === undefined) {
|
|
1551
|
+
throw new Error("Required parameter repTerritoryLocationId was null or undefined when calling repTerritoryLocationsUpdateRepTerritoryLocation.");
|
|
1552
|
+
}
|
|
1553
|
+
const saveRepTerritoryLocationDto = requestParameters?.saveRepTerritoryLocationDto;
|
|
1554
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1555
|
+
// authentication (Bearer) required
|
|
1556
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1557
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1558
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1559
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1560
|
+
}
|
|
1561
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1562
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1563
|
+
// to determine the Content-Type header
|
|
1564
|
+
const consumes = [
|
|
1565
|
+
"application/json",
|
|
1566
|
+
"text/json",
|
|
1567
|
+
"application/*+json",
|
|
1568
|
+
];
|
|
1569
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1570
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1571
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1572
|
+
}
|
|
1573
|
+
let responseType_ = "json";
|
|
1574
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1575
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1576
|
+
responseType_ = "text";
|
|
1577
|
+
}
|
|
1578
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1579
|
+
responseType_ = "json";
|
|
1580
|
+
}
|
|
1581
|
+
else {
|
|
1582
|
+
responseType_ = "blob";
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
let localVarPath = `/api/rep-territory-locations/${this.configuration.encodeParam({ name: "repTerritoryLocationId", value: repTerritoryLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1586
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1587
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1588
|
+
context: localVarHttpContext,
|
|
1589
|
+
body: saveRepTerritoryLocationDto,
|
|
1590
|
+
responseType: responseType_,
|
|
1591
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1592
|
+
headers: localVarHeaders,
|
|
1593
|
+
observe: observe,
|
|
1594
|
+
transferCache: localVarTransferCache,
|
|
1595
|
+
reportProgress: reportProgress,
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1599
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
|
|
1600
|
+
}
|
|
1601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
|
|
1602
|
+
type: Injectable,
|
|
1603
|
+
args: [{
|
|
1604
|
+
providedIn: "root",
|
|
1605
|
+
}]
|
|
1606
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1607
|
+
type: Optional
|
|
1608
|
+
}, {
|
|
1609
|
+
type: Inject,
|
|
1610
|
+
args: [BASE_PATH]
|
|
1611
|
+
}] }, { type: Configuration, decorators: [{
|
|
1612
|
+
type: Optional
|
|
1613
|
+
}] }] });
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* RenewAire CORES API
|
|
1617
|
+
*
|
|
1618
|
+
* Contact: renewaire@saritasa.com
|
|
1619
|
+
*
|
|
1620
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1621
|
+
* https://openapi-generator.tech
|
|
1622
|
+
* Do not edit the class manually.
|
|
1623
|
+
*/
|
|
1624
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1625
|
+
class RsdRegionsApiService extends BaseService {
|
|
1626
|
+
httpClient;
|
|
1627
|
+
constructor(httpClient, basePath, configuration) {
|
|
1628
|
+
super(basePath, configuration);
|
|
1629
|
+
this.httpClient = httpClient;
|
|
1630
|
+
}
|
|
1631
|
+
rsdRegionsCreateDocumentDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1632
|
+
const rsdRegionId = requestParameters?.rsdRegionId;
|
|
1633
|
+
if (rsdRegionId === null || rsdRegionId === undefined) {
|
|
1634
|
+
throw new Error("Required parameter rsdRegionId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1635
|
+
}
|
|
1636
|
+
const documentId = requestParameters?.documentId;
|
|
1637
|
+
if (documentId === null || documentId === undefined) {
|
|
1638
|
+
throw new Error("Required parameter documentId was null or undefined when calling rsdRegionsCreateDocumentDownloadUrl.");
|
|
1639
|
+
}
|
|
1640
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1641
|
+
// authentication (Bearer) required
|
|
1642
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1643
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1644
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1645
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1646
|
+
}
|
|
1647
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1648
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1649
|
+
let responseType_ = "json";
|
|
1650
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1651
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1652
|
+
responseType_ = "text";
|
|
1653
|
+
}
|
|
1654
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1655
|
+
responseType_ = "json";
|
|
1656
|
+
}
|
|
1657
|
+
else {
|
|
1658
|
+
responseType_ = "blob";
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
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`;
|
|
1662
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1663
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1664
|
+
context: localVarHttpContext,
|
|
1665
|
+
responseType: responseType_,
|
|
1666
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1667
|
+
headers: localVarHeaders,
|
|
1668
|
+
observe: observe,
|
|
1669
|
+
transferCache: localVarTransferCache,
|
|
1670
|
+
reportProgress: reportProgress,
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1674
|
+
const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
|
|
1675
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1676
|
+
// authentication (Bearer) required
|
|
1677
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1678
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1679
|
+
this.configuration.selectHeaderAccept([
|
|
1680
|
+
"text/plain",
|
|
1681
|
+
"application/json",
|
|
1682
|
+
"text/json",
|
|
1683
|
+
]);
|
|
1684
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1685
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1686
|
+
}
|
|
1687
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1688
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1689
|
+
// to determine the Content-Type header
|
|
1690
|
+
const consumes = [
|
|
1691
|
+
"application/json",
|
|
1692
|
+
"text/json",
|
|
1693
|
+
"application/*+json",
|
|
1694
|
+
];
|
|
1695
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1696
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1697
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1698
|
+
}
|
|
1699
|
+
let responseType_ = "json";
|
|
1700
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1701
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1702
|
+
responseType_ = "text";
|
|
1703
|
+
}
|
|
1704
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1705
|
+
responseType_ = "json";
|
|
1706
|
+
}
|
|
1707
|
+
else {
|
|
1708
|
+
responseType_ = "blob";
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
let localVarPath = `/api/rsd-regions/documents/upload-url`;
|
|
1712
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1713
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1714
|
+
context: localVarHttpContext,
|
|
1715
|
+
body: createUploadUrlCommand,
|
|
1716
|
+
responseType: responseType_,
|
|
1717
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1718
|
+
headers: localVarHeaders,
|
|
1719
|
+
observe: observe,
|
|
1720
|
+
transferCache: localVarTransferCache,
|
|
1721
|
+
reportProgress: reportProgress,
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1725
|
+
const createRsdRegionDto = requestParameters?.createRsdRegionDto;
|
|
1726
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1727
|
+
// authentication (Bearer) required
|
|
1728
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1729
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1730
|
+
this.configuration.selectHeaderAccept([
|
|
1731
|
+
"text/plain",
|
|
1732
|
+
"application/json",
|
|
1733
|
+
"text/json",
|
|
1734
|
+
]);
|
|
1735
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1736
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1737
|
+
}
|
|
1738
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1739
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1740
|
+
// to determine the Content-Type header
|
|
1741
|
+
const consumes = [
|
|
1742
|
+
"application/json",
|
|
1743
|
+
"text/json",
|
|
1744
|
+
"application/*+json",
|
|
1745
|
+
];
|
|
1746
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1747
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1748
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1749
|
+
}
|
|
1750
|
+
let responseType_ = "json";
|
|
1751
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1752
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1753
|
+
responseType_ = "text";
|
|
1754
|
+
}
|
|
1755
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1756
|
+
responseType_ = "json";
|
|
1757
|
+
}
|
|
1758
|
+
else {
|
|
1759
|
+
responseType_ = "blob";
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
let localVarPath = `/api/rsd-regions`;
|
|
1763
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1764
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1765
|
+
context: localVarHttpContext,
|
|
1766
|
+
body: createRsdRegionDto,
|
|
1767
|
+
responseType: responseType_,
|
|
1768
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1769
|
+
headers: localVarHeaders,
|
|
1770
|
+
observe: observe,
|
|
1771
|
+
transferCache: localVarTransferCache,
|
|
1772
|
+
reportProgress: reportProgress,
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
rsdRegionsCreateRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1776
|
+
const id = requestParameters?.id;
|
|
1777
|
+
if (id === null || id === undefined) {
|
|
1778
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsCreateRsdRegionDocuments.");
|
|
1779
|
+
}
|
|
1780
|
+
const createDocumentsDto = requestParameters?.createDocumentsDto;
|
|
1781
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1782
|
+
// authentication (Bearer) required
|
|
1783
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1784
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1785
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1786
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1787
|
+
}
|
|
1788
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1789
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1790
|
+
// to determine the Content-Type header
|
|
1791
|
+
const consumes = [
|
|
1792
|
+
"application/json",
|
|
1793
|
+
"text/json",
|
|
1794
|
+
"application/*+json",
|
|
1795
|
+
];
|
|
1796
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1797
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1798
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1799
|
+
}
|
|
1800
|
+
let responseType_ = "json";
|
|
1801
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1802
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1803
|
+
responseType_ = "text";
|
|
1804
|
+
}
|
|
1805
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1806
|
+
responseType_ = "json";
|
|
1807
|
+
}
|
|
1808
|
+
else {
|
|
1809
|
+
responseType_ = "blob";
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents`;
|
|
1813
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1814
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1815
|
+
context: localVarHttpContext,
|
|
1816
|
+
body: createDocumentsDto,
|
|
1817
|
+
responseType: responseType_,
|
|
1818
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1819
|
+
headers: localVarHeaders,
|
|
1820
|
+
observe: observe,
|
|
1821
|
+
transferCache: localVarTransferCache,
|
|
1822
|
+
reportProgress: reportProgress,
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
rsdRegionsGetRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1826
|
+
const id = requestParameters?.id;
|
|
1827
|
+
if (id === null || id === undefined) {
|
|
1828
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsGetRsdRegion.");
|
|
1829
|
+
}
|
|
1830
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1831
|
+
// authentication (Bearer) required
|
|
1832
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1833
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1834
|
+
this.configuration.selectHeaderAccept([
|
|
1835
|
+
"text/plain",
|
|
1836
|
+
"application/json",
|
|
1837
|
+
"text/json",
|
|
1838
|
+
]);
|
|
1839
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1840
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1841
|
+
}
|
|
1842
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1843
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1844
|
+
let responseType_ = "json";
|
|
1845
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1846
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1847
|
+
responseType_ = "text";
|
|
1848
|
+
}
|
|
1849
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1850
|
+
responseType_ = "json";
|
|
1851
|
+
}
|
|
1852
|
+
else {
|
|
1853
|
+
responseType_ = "blob";
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1857
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1858
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1859
|
+
context: localVarHttpContext,
|
|
1860
|
+
responseType: responseType_,
|
|
1861
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1862
|
+
headers: localVarHeaders,
|
|
1863
|
+
observe: observe,
|
|
1864
|
+
transferCache: localVarTransferCache,
|
|
1865
|
+
reportProgress: reportProgress,
|
|
1866
|
+
});
|
|
1867
|
+
}
|
|
1868
|
+
rsdRegionsRemoveRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1869
|
+
const id = requestParameters?.id;
|
|
1870
|
+
if (id === null || id === undefined) {
|
|
1871
|
+
throw new Error("Required parameter id was null or undefined when calling rsdRegionsRemoveRsdRegion.");
|
|
928
1872
|
}
|
|
929
1873
|
let localVarHeaders = this.defaultHeaders;
|
|
930
1874
|
// authentication (Bearer) required
|
|
@@ -959,6 +1903,52 @@ class RsdRegionsApiService extends BaseService {
|
|
|
959
1903
|
reportProgress: reportProgress,
|
|
960
1904
|
});
|
|
961
1905
|
}
|
|
1906
|
+
rsdRegionsRemoveRsdRegionDocuments(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1907
|
+
const removeDocumentsCommand = requestParameters?.removeDocumentsCommand;
|
|
1908
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1909
|
+
// authentication (Bearer) required
|
|
1910
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1911
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1912
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1913
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1914
|
+
}
|
|
1915
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1916
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1917
|
+
// to determine the Content-Type header
|
|
1918
|
+
const consumes = [
|
|
1919
|
+
"application/json",
|
|
1920
|
+
"text/json",
|
|
1921
|
+
"application/*+json",
|
|
1922
|
+
];
|
|
1923
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1924
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1925
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1926
|
+
}
|
|
1927
|
+
let responseType_ = "json";
|
|
1928
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1929
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1930
|
+
responseType_ = "text";
|
|
1931
|
+
}
|
|
1932
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1933
|
+
responseType_ = "json";
|
|
1934
|
+
}
|
|
1935
|
+
else {
|
|
1936
|
+
responseType_ = "blob";
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
let localVarPath = `/api/rsd-regions/documents`;
|
|
1940
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1941
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
1942
|
+
context: localVarHttpContext,
|
|
1943
|
+
body: removeDocumentsCommand,
|
|
1944
|
+
responseType: responseType_,
|
|
1945
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1946
|
+
headers: localVarHeaders,
|
|
1947
|
+
observe: observe,
|
|
1948
|
+
transferCache: localVarTransferCache,
|
|
1949
|
+
reportProgress: reportProgress,
|
|
1950
|
+
});
|
|
1951
|
+
}
|
|
962
1952
|
rsdRegionsSearchRsdRegions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
963
1953
|
const name = requestParameters?.name;
|
|
964
1954
|
const isActive = requestParameters?.isActive;
|
|
@@ -980,9 +1970,132 @@ class RsdRegionsApiService extends BaseService {
|
|
|
980
1970
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "RepTerritoryIds");
|
|
981
1971
|
});
|
|
982
1972
|
}
|
|
983
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
984
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
985
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1973
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
1974
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
1975
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
1976
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1977
|
+
// authentication (Bearer) required
|
|
1978
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1979
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1980
|
+
this.configuration.selectHeaderAccept([
|
|
1981
|
+
"text/plain",
|
|
1982
|
+
"application/json",
|
|
1983
|
+
"text/json",
|
|
1984
|
+
]);
|
|
1985
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1986
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1987
|
+
}
|
|
1988
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1989
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1990
|
+
let responseType_ = "json";
|
|
1991
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1992
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1993
|
+
responseType_ = "text";
|
|
1994
|
+
}
|
|
1995
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1996
|
+
responseType_ = "json";
|
|
1997
|
+
}
|
|
1998
|
+
else {
|
|
1999
|
+
responseType_ = "blob";
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
let localVarPath = `/api/rsd-regions`;
|
|
2003
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2004
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2005
|
+
context: localVarHttpContext,
|
|
2006
|
+
params: localVarQueryParameters,
|
|
2007
|
+
responseType: responseType_,
|
|
2008
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2009
|
+
headers: localVarHeaders,
|
|
2010
|
+
observe: observe,
|
|
2011
|
+
transferCache: localVarTransferCache,
|
|
2012
|
+
reportProgress: reportProgress,
|
|
2013
|
+
});
|
|
2014
|
+
}
|
|
2015
|
+
rsdRegionsUpdateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2016
|
+
const updateRsdRegionDto = requestParameters?.updateRsdRegionDto;
|
|
2017
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2018
|
+
// authentication (Bearer) required
|
|
2019
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2020
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2021
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2022
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2023
|
+
}
|
|
2024
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2025
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2026
|
+
// to determine the Content-Type header
|
|
2027
|
+
const consumes = [
|
|
2028
|
+
"application/json",
|
|
2029
|
+
"text/json",
|
|
2030
|
+
"application/*+json",
|
|
2031
|
+
];
|
|
2032
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2033
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2034
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2035
|
+
}
|
|
2036
|
+
let responseType_ = "json";
|
|
2037
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2038
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2039
|
+
responseType_ = "text";
|
|
2040
|
+
}
|
|
2041
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2042
|
+
responseType_ = "json";
|
|
2043
|
+
}
|
|
2044
|
+
else {
|
|
2045
|
+
responseType_ = "blob";
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
let localVarPath = `/api/rsd-regions`;
|
|
2049
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2050
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2051
|
+
context: localVarHttpContext,
|
|
2052
|
+
body: updateRsdRegionDto,
|
|
2053
|
+
responseType: responseType_,
|
|
2054
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2055
|
+
headers: localVarHeaders,
|
|
2056
|
+
observe: observe,
|
|
2057
|
+
transferCache: localVarTransferCache,
|
|
2058
|
+
reportProgress: reportProgress,
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2062
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
|
|
2063
|
+
}
|
|
2064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, decorators: [{
|
|
2065
|
+
type: Injectable,
|
|
2066
|
+
args: [{
|
|
2067
|
+
providedIn: "root",
|
|
2068
|
+
}]
|
|
2069
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2070
|
+
type: Optional
|
|
2071
|
+
}, {
|
|
2072
|
+
type: Inject,
|
|
2073
|
+
args: [BASE_PATH]
|
|
2074
|
+
}] }, { type: Configuration, decorators: [{
|
|
2075
|
+
type: Optional
|
|
2076
|
+
}] }] });
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* RenewAire CORES API
|
|
2080
|
+
*
|
|
2081
|
+
* Contact: renewaire@saritasa.com
|
|
2082
|
+
*
|
|
2083
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2084
|
+
* https://openapi-generator.tech
|
|
2085
|
+
* Do not edit the class manually.
|
|
2086
|
+
*/
|
|
2087
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2088
|
+
class UserDesignConditionsApiService extends BaseService {
|
|
2089
|
+
httpClient;
|
|
2090
|
+
constructor(httpClient, basePath, configuration) {
|
|
2091
|
+
super(basePath, configuration);
|
|
2092
|
+
this.httpClient = httpClient;
|
|
2093
|
+
}
|
|
2094
|
+
userDesignConditionsGetProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2095
|
+
const userId = requestParameters?.userId;
|
|
2096
|
+
if (userId === null || userId === undefined) {
|
|
2097
|
+
throw new Error("Required parameter userId was null or undefined when calling userDesignConditionsGetProjectDesignConditions.");
|
|
2098
|
+
}
|
|
986
2099
|
let localVarHeaders = this.defaultHeaders;
|
|
987
2100
|
// authentication (Bearer) required
|
|
988
2101
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1009,11 +2122,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1009
2122
|
responseType_ = "blob";
|
|
1010
2123
|
}
|
|
1011
2124
|
}
|
|
1012
|
-
let localVarPath = `/api/
|
|
2125
|
+
let localVarPath = `/api/users/design-conditions/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
1013
2126
|
const { basePath, withCredentials } = this.configuration;
|
|
1014
2127
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1015
2128
|
context: localVarHttpContext,
|
|
1016
|
-
params: localVarQueryParameters,
|
|
1017
2129
|
responseType: responseType_,
|
|
1018
2130
|
...(withCredentials ? { withCredentials } : {}),
|
|
1019
2131
|
headers: localVarHeaders,
|
|
@@ -1022,8 +2134,8 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1022
2134
|
reportProgress: reportProgress,
|
|
1023
2135
|
});
|
|
1024
2136
|
}
|
|
1025
|
-
|
|
1026
|
-
const
|
|
2137
|
+
userDesignConditionsSaveProjectDesignConditions(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2138
|
+
const saveUserDesignConditionsDto = requestParameters?.saveUserDesignConditionsDto;
|
|
1027
2139
|
let localVarHeaders = this.defaultHeaders;
|
|
1028
2140
|
// authentication (Bearer) required
|
|
1029
2141
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1055,11 +2167,11 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1055
2167
|
responseType_ = "blob";
|
|
1056
2168
|
}
|
|
1057
2169
|
}
|
|
1058
|
-
let localVarPath = `/api/
|
|
2170
|
+
let localVarPath = `/api/users/design-conditions`;
|
|
1059
2171
|
const { basePath, withCredentials } = this.configuration;
|
|
1060
|
-
return this.httpClient.request("
|
|
2172
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1061
2173
|
context: localVarHttpContext,
|
|
1062
|
-
body:
|
|
2174
|
+
body: saveUserDesignConditionsDto,
|
|
1063
2175
|
responseType: responseType_,
|
|
1064
2176
|
...(withCredentials ? { withCredentials } : {}),
|
|
1065
2177
|
headers: localVarHeaders,
|
|
@@ -1068,10 +2180,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1068
2180
|
reportProgress: reportProgress,
|
|
1069
2181
|
});
|
|
1070
2182
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1072
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2184
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
|
|
1073
2185
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
1075
2187
|
type: Injectable,
|
|
1076
2188
|
args: [{
|
|
1077
2189
|
providedIn: "root",
|
|
@@ -1145,7 +2257,51 @@ class UsersApiService extends BaseService {
|
|
|
1145
2257
|
reportProgress: reportProgress,
|
|
1146
2258
|
});
|
|
1147
2259
|
}
|
|
1148
|
-
|
|
2260
|
+
usersForgotPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2261
|
+
const forgotPasswordCommand = requestParameters?.forgotPasswordCommand;
|
|
2262
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2263
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2264
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2265
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2266
|
+
}
|
|
2267
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2268
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2269
|
+
// to determine the Content-Type header
|
|
2270
|
+
const consumes = [
|
|
2271
|
+
"application/json",
|
|
2272
|
+
"text/json",
|
|
2273
|
+
"application/*+json",
|
|
2274
|
+
];
|
|
2275
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2276
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2277
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2278
|
+
}
|
|
2279
|
+
let responseType_ = "json";
|
|
2280
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2281
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2282
|
+
responseType_ = "text";
|
|
2283
|
+
}
|
|
2284
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2285
|
+
responseType_ = "json";
|
|
2286
|
+
}
|
|
2287
|
+
else {
|
|
2288
|
+
responseType_ = "blob";
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
let localVarPath = `/api/users/forgot-password`;
|
|
2292
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2293
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2294
|
+
context: localVarHttpContext,
|
|
2295
|
+
body: forgotPasswordCommand,
|
|
2296
|
+
responseType: responseType_,
|
|
2297
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2298
|
+
headers: localVarHeaders,
|
|
2299
|
+
observe: observe,
|
|
2300
|
+
transferCache: localVarTransferCache,
|
|
2301
|
+
reportProgress: reportProgress,
|
|
2302
|
+
});
|
|
2303
|
+
}
|
|
2304
|
+
usersGetCurrentRepContacts(observe = "body", reportProgress = false, options) {
|
|
1149
2305
|
let localVarHeaders = this.defaultHeaders;
|
|
1150
2306
|
// authentication (Bearer) required
|
|
1151
2307
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -1184,10 +2340,10 @@ class UsersApiService extends BaseService {
|
|
|
1184
2340
|
reportProgress: reportProgress,
|
|
1185
2341
|
});
|
|
1186
2342
|
}
|
|
1187
|
-
|
|
2343
|
+
usersGetRepContacts(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1188
2344
|
const userId = requestParameters?.userId;
|
|
1189
2345
|
if (userId === null || userId === undefined) {
|
|
1190
|
-
throw new Error("Required parameter userId was null or undefined when calling
|
|
2346
|
+
throw new Error("Required parameter userId was null or undefined when calling usersGetRepContacts.");
|
|
1191
2347
|
}
|
|
1192
2348
|
let localVarHeaders = this.defaultHeaders;
|
|
1193
2349
|
// authentication (Bearer) required
|
|
@@ -1320,10 +2476,54 @@ class UsersApiService extends BaseService {
|
|
|
1320
2476
|
reportProgress: reportProgress,
|
|
1321
2477
|
});
|
|
1322
2478
|
}
|
|
1323
|
-
|
|
1324
|
-
|
|
2479
|
+
usersResetPassword(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2480
|
+
const resetPasswordCommand = requestParameters?.resetPasswordCommand;
|
|
2481
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2482
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2483
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2484
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2485
|
+
}
|
|
2486
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2487
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2488
|
+
// to determine the Content-Type header
|
|
2489
|
+
const consumes = [
|
|
2490
|
+
"application/json",
|
|
2491
|
+
"text/json",
|
|
2492
|
+
"application/*+json",
|
|
2493
|
+
];
|
|
2494
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2495
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2496
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2497
|
+
}
|
|
2498
|
+
let responseType_ = "json";
|
|
2499
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2500
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2501
|
+
responseType_ = "text";
|
|
2502
|
+
}
|
|
2503
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2504
|
+
responseType_ = "json";
|
|
2505
|
+
}
|
|
2506
|
+
else {
|
|
2507
|
+
responseType_ = "blob";
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
let localVarPath = `/api/users/reset-password`;
|
|
2511
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2512
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2513
|
+
context: localVarHttpContext,
|
|
2514
|
+
body: resetPasswordCommand,
|
|
2515
|
+
responseType: responseType_,
|
|
2516
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2517
|
+
headers: localVarHeaders,
|
|
2518
|
+
observe: observe,
|
|
2519
|
+
transferCache: localVarTransferCache,
|
|
2520
|
+
reportProgress: reportProgress,
|
|
2521
|
+
});
|
|
2522
|
+
}
|
|
2523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2524
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, providedIn: "root" });
|
|
1325
2525
|
}
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, decorators: [{
|
|
1327
2527
|
type: Injectable,
|
|
1328
2528
|
args: [{
|
|
1329
2529
|
providedIn: "root",
|
|
@@ -1339,10 +2539,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1339
2539
|
|
|
1340
2540
|
const APIS = [
|
|
1341
2541
|
AuthApiService,
|
|
2542
|
+
PermissionBundlesApiService,
|
|
1342
2543
|
PermissionsApiService,
|
|
1343
2544
|
RegionsApiService,
|
|
2545
|
+
RepContactsApiService,
|
|
1344
2546
|
RepTerritoriesApiService,
|
|
2547
|
+
RepTerritoryLocationsApiService,
|
|
1345
2548
|
RsdRegionsApiService,
|
|
2549
|
+
UserDesignConditionsApiService,
|
|
1346
2550
|
UsersApiService,
|
|
1347
2551
|
];
|
|
1348
2552
|
|
|
@@ -1383,6 +2587,112 @@ var AddressDtoCountryEnum;
|
|
|
1383
2587
|
AddressDtoCountryEnum["Mexico"] = "Mexico";
|
|
1384
2588
|
})(AddressDtoCountryEnum || (AddressDtoCountryEnum = {}));
|
|
1385
2589
|
|
|
2590
|
+
/**
|
|
2591
|
+
* RenewAire CORES API
|
|
2592
|
+
*
|
|
2593
|
+
* Contact: renewaire@saritasa.com
|
|
2594
|
+
*
|
|
2595
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2596
|
+
* https://openapi-generator.tech
|
|
2597
|
+
* Do not edit the class manually.
|
|
2598
|
+
*/
|
|
2599
|
+
/**
|
|
2600
|
+
* CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
|
|
2601
|
+
*/
|
|
2602
|
+
var CoolingDesignBasis;
|
|
2603
|
+
(function (CoolingDesignBasis) {
|
|
2604
|
+
CoolingDesignBasis["Cooling"] = "Cooling";
|
|
2605
|
+
CoolingDesignBasis["Dehumidification"] = "Dehumidification";
|
|
2606
|
+
})(CoolingDesignBasis || (CoolingDesignBasis = {}));
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* RenewAire CORES API
|
|
2610
|
+
*
|
|
2611
|
+
* Contact: renewaire@saritasa.com
|
|
2612
|
+
*
|
|
2613
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2614
|
+
* https://openapi-generator.tech
|
|
2615
|
+
* Do not edit the class manually.
|
|
2616
|
+
*/
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* RenewAire CORES API
|
|
2620
|
+
*
|
|
2621
|
+
* Contact: renewaire@saritasa.com
|
|
2622
|
+
*
|
|
2623
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2624
|
+
* https://openapi-generator.tech
|
|
2625
|
+
* Do not edit the class manually.
|
|
2626
|
+
*/
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* RenewAire CORES API
|
|
2630
|
+
*
|
|
2631
|
+
* Contact: renewaire@saritasa.com
|
|
2632
|
+
*
|
|
2633
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2634
|
+
* https://openapi-generator.tech
|
|
2635
|
+
* Do not edit the class manually.
|
|
2636
|
+
*/
|
|
2637
|
+
/**
|
|
2638
|
+
* DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
|
|
2639
|
+
*/
|
|
2640
|
+
var DesignWeatherMode;
|
|
2641
|
+
(function (DesignWeatherMode) {
|
|
2642
|
+
DesignWeatherMode["RelativeHumidity"] = "RelativeHumidity";
|
|
2643
|
+
DesignWeatherMode["WetBulb"] = "WetBulb";
|
|
2644
|
+
})(DesignWeatherMode || (DesignWeatherMode = {}));
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* RenewAire CORES API
|
|
2648
|
+
*
|
|
2649
|
+
* Contact: renewaire@saritasa.com
|
|
2650
|
+
*
|
|
2651
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2652
|
+
* https://openapi-generator.tech
|
|
2653
|
+
* Do not edit the class manually.
|
|
2654
|
+
*/
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* RenewAire CORES API
|
|
2658
|
+
*
|
|
2659
|
+
* Contact: renewaire@saritasa.com
|
|
2660
|
+
*
|
|
2661
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2662
|
+
* https://openapi-generator.tech
|
|
2663
|
+
* Do not edit the class manually.
|
|
2664
|
+
*/
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* RenewAire CORES API
|
|
2668
|
+
*
|
|
2669
|
+
* Contact: renewaire@saritasa.com
|
|
2670
|
+
*
|
|
2671
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2672
|
+
* https://openapi-generator.tech
|
|
2673
|
+
* Do not edit the class manually.
|
|
2674
|
+
*/
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* RenewAire CORES API
|
|
2678
|
+
*
|
|
2679
|
+
* Contact: renewaire@saritasa.com
|
|
2680
|
+
*
|
|
2681
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2682
|
+
* https://openapi-generator.tech
|
|
2683
|
+
* Do not edit the class manually.
|
|
2684
|
+
*/
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* RenewAire CORES API
|
|
2688
|
+
*
|
|
2689
|
+
* Contact: renewaire@saritasa.com
|
|
2690
|
+
*
|
|
2691
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2692
|
+
* https://openapi-generator.tech
|
|
2693
|
+
* Do not edit the class manually.
|
|
2694
|
+
*/
|
|
2695
|
+
|
|
1386
2696
|
/**
|
|
1387
2697
|
* RenewAire CORES API
|
|
1388
2698
|
*
|
|
@@ -1422,6 +2732,14 @@ var AddressDtoCountryEnum;
|
|
|
1422
2732
|
* https://openapi-generator.tech
|
|
1423
2733
|
* Do not edit the class manually.
|
|
1424
2734
|
*/
|
|
2735
|
+
/**
|
|
2736
|
+
* Permission<br />0 = SystemAdmin<br />1 = UserAdministration
|
|
2737
|
+
*/
|
|
2738
|
+
var Permission;
|
|
2739
|
+
(function (Permission) {
|
|
2740
|
+
Permission["SystemAdmin"] = "SystemAdmin";
|
|
2741
|
+
Permission["UserAdministration"] = "UserAdministration";
|
|
2742
|
+
})(Permission || (Permission = {}));
|
|
1425
2743
|
|
|
1426
2744
|
/**
|
|
1427
2745
|
* RenewAire CORES API
|
|
@@ -1472,6 +2790,12 @@ var AddressDtoCountryEnum;
|
|
|
1472
2790
|
* https://openapi-generator.tech
|
|
1473
2791
|
* Do not edit the class manually.
|
|
1474
2792
|
*/
|
|
2793
|
+
var RegionDtoLevelEnum;
|
|
2794
|
+
(function (RegionDtoLevelEnum) {
|
|
2795
|
+
RegionDtoLevelEnum["Country"] = "Country";
|
|
2796
|
+
RegionDtoLevelEnum["State"] = "State";
|
|
2797
|
+
RegionDtoLevelEnum["County"] = "County";
|
|
2798
|
+
})(RegionDtoLevelEnum || (RegionDtoLevelEnum = {}));
|
|
1475
2799
|
|
|
1476
2800
|
/**
|
|
1477
2801
|
* RenewAire CORES API
|
|
@@ -1512,6 +2836,42 @@ var RegionLevel;
|
|
|
1512
2836
|
* Do not edit the class manually.
|
|
1513
2837
|
*/
|
|
1514
2838
|
|
|
2839
|
+
/**
|
|
2840
|
+
* RenewAire CORES API
|
|
2841
|
+
*
|
|
2842
|
+
* Contact: renewaire@saritasa.com
|
|
2843
|
+
*
|
|
2844
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2845
|
+
* https://openapi-generator.tech
|
|
2846
|
+
* Do not edit the class manually.
|
|
2847
|
+
*/
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* RenewAire CORES API
|
|
2851
|
+
*
|
|
2852
|
+
* Contact: renewaire@saritasa.com
|
|
2853
|
+
*
|
|
2854
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2855
|
+
* https://openapi-generator.tech
|
|
2856
|
+
* Do not edit the class manually.
|
|
2857
|
+
*/
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* RenewAire CORES API
|
|
2861
|
+
*
|
|
2862
|
+
* Contact: renewaire@saritasa.com
|
|
2863
|
+
*
|
|
2864
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2865
|
+
* https://openapi-generator.tech
|
|
2866
|
+
* Do not edit the class manually.
|
|
2867
|
+
*/
|
|
2868
|
+
|
|
2869
|
+
var SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
2870
|
+
(function (SaveUserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
2871
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
2872
|
+
SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
2873
|
+
})(SaveUserDesignConditionsDtoCoolingDesignBasisEnum || (SaveUserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
2874
|
+
|
|
1515
2875
|
/**
|
|
1516
2876
|
* RenewAire CORES API
|
|
1517
2877
|
*
|
|
@@ -1568,6 +2928,38 @@ var SearchRegionDtoLevelEnum;
|
|
|
1568
2928
|
* Do not edit the class manually.
|
|
1569
2929
|
*/
|
|
1570
2930
|
|
|
2931
|
+
/**
|
|
2932
|
+
* RenewAire CORES API
|
|
2933
|
+
*
|
|
2934
|
+
* Contact: renewaire@saritasa.com
|
|
2935
|
+
*
|
|
2936
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2937
|
+
* https://openapi-generator.tech
|
|
2938
|
+
* Do not edit the class manually.
|
|
2939
|
+
*/
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* RenewAire CORES API
|
|
2943
|
+
*
|
|
2944
|
+
* Contact: renewaire@saritasa.com
|
|
2945
|
+
*
|
|
2946
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2947
|
+
* https://openapi-generator.tech
|
|
2948
|
+
* Do not edit the class manually.
|
|
2949
|
+
*/
|
|
2950
|
+
|
|
2951
|
+
var UserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
2952
|
+
(function (UserDesignConditionsDtoCoolingDesignBasisEnum) {
|
|
2953
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
|
|
2954
|
+
UserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
|
|
2955
|
+
})(UserDesignConditionsDtoCoolingDesignBasisEnum || (UserDesignConditionsDtoCoolingDesignBasisEnum = {}));
|
|
2956
|
+
|
|
2957
|
+
var UserDesignWeatherConditionDtoDesignWeatherModeEnum;
|
|
2958
|
+
(function (UserDesignWeatherConditionDtoDesignWeatherModeEnum) {
|
|
2959
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["RelativeHumidity"] = "RelativeHumidity";
|
|
2960
|
+
UserDesignWeatherConditionDtoDesignWeatherModeEnum["WetBulb"] = "WetBulb";
|
|
2961
|
+
})(UserDesignWeatherConditionDtoDesignWeatherModeEnum || (UserDesignWeatherConditionDtoDesignWeatherModeEnum = {}));
|
|
2962
|
+
|
|
1571
2963
|
/**
|
|
1572
2964
|
* RenewAire CORES API
|
|
1573
2965
|
*
|
|
@@ -1614,11 +3006,11 @@ class ApiModule {
|
|
|
1614
3006
|
"See also https://github.com/angular/angular/issues/20575");
|
|
1615
3007
|
}
|
|
1616
3008
|
}
|
|
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.
|
|
3009
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3010
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: ApiModule });
|
|
3011
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule });
|
|
1620
3012
|
}
|
|
1621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
3013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule, decorators: [{
|
|
1622
3014
|
type: NgModule,
|
|
1623
3015
|
args: [{
|
|
1624
3016
|
imports: [],
|
|
@@ -1650,5 +3042,5 @@ function provideApi(configOrBasePath) {
|
|
|
1650
3042
|
* Generated bundle index. Do not edit.
|
|
1651
3043
|
*/
|
|
1652
3044
|
|
|
1653
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
3045
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
|
|
1654
3046
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|