@saritasa/renewaire-frontend-sdk 0.1.0-dev.287 → 0.1.0-dev.323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -368,10 +368,312 @@ 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.4", 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.4", 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.4", ngImport: i0, type: AuthApiService, decorators: [{
|
|
375
|
+
type: Injectable,
|
|
376
|
+
args: [{
|
|
377
|
+
providedIn: "root",
|
|
378
|
+
}]
|
|
379
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
380
|
+
type: Optional
|
|
381
|
+
}, {
|
|
382
|
+
type: Inject,
|
|
383
|
+
args: [BASE_PATH]
|
|
384
|
+
}] }, { type: Configuration, decorators: [{
|
|
385
|
+
type: Optional
|
|
386
|
+
}] }] });
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* RenewAire CORES API
|
|
390
|
+
*
|
|
391
|
+
* Contact: renewaire@saritasa.com
|
|
392
|
+
*
|
|
393
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
394
|
+
* https://openapi-generator.tech
|
|
395
|
+
* Do not edit the class manually.
|
|
396
|
+
*/
|
|
397
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
398
|
+
class PermissionBundlesApiService extends BaseService {
|
|
399
|
+
httpClient;
|
|
400
|
+
constructor(httpClient, basePath, configuration) {
|
|
401
|
+
super(basePath, configuration);
|
|
402
|
+
this.httpClient = httpClient;
|
|
403
|
+
}
|
|
404
|
+
permissionBundlesCreatePermissionBundle(requestParameters, observe = "body", reportProgress = false, options) {
|
|
405
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
406
|
+
let localVarHeaders = this.defaultHeaders;
|
|
407
|
+
// authentication (Bearer) required
|
|
408
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
409
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
410
|
+
this.configuration.selectHeaderAccept([
|
|
411
|
+
"text/plain",
|
|
412
|
+
"application/json",
|
|
413
|
+
"text/json",
|
|
414
|
+
]);
|
|
415
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
416
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
417
|
+
}
|
|
418
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
419
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
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);
|
|
429
|
+
}
|
|
430
|
+
let responseType_ = "json";
|
|
431
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
432
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
433
|
+
responseType_ = "text";
|
|
434
|
+
}
|
|
435
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
436
|
+
responseType_ = "json";
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
responseType_ = "blob";
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
let localVarPath = `/api/permission-bundles`;
|
|
443
|
+
const { basePath, withCredentials } = this.configuration;
|
|
444
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
445
|
+
context: localVarHttpContext,
|
|
446
|
+
body: savePermissionBundleDto,
|
|
447
|
+
responseType: responseType_,
|
|
448
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
449
|
+
headers: localVarHeaders,
|
|
450
|
+
observe: observe,
|
|
451
|
+
transferCache: localVarTransferCache,
|
|
452
|
+
reportProgress: reportProgress,
|
|
453
|
+
});
|
|
454
|
+
}
|
|
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
|
+
}
|
|
460
|
+
let localVarHeaders = this.defaultHeaders;
|
|
461
|
+
// authentication (Bearer) required
|
|
462
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
463
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
464
|
+
this.configuration.selectHeaderAccept([
|
|
465
|
+
"text/plain",
|
|
466
|
+
"application/json",
|
|
467
|
+
"text/json",
|
|
468
|
+
]);
|
|
469
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
470
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
471
|
+
}
|
|
472
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
473
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
474
|
+
let responseType_ = "json";
|
|
475
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
476
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
477
|
+
responseType_ = "text";
|
|
478
|
+
}
|
|
479
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
480
|
+
responseType_ = "json";
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
responseType_ = "blob";
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
487
|
+
const { basePath, withCredentials } = this.configuration;
|
|
488
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
489
|
+
context: localVarHttpContext,
|
|
490
|
+
responseType: responseType_,
|
|
491
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
492
|
+
headers: localVarHeaders,
|
|
493
|
+
observe: observe,
|
|
494
|
+
transferCache: localVarTransferCache,
|
|
495
|
+
reportProgress: reportProgress,
|
|
496
|
+
});
|
|
497
|
+
}
|
|
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.");
|
|
502
|
+
}
|
|
503
|
+
let localVarHeaders = this.defaultHeaders;
|
|
504
|
+
// authentication (Bearer) required
|
|
505
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
506
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
507
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
508
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
509
|
+
}
|
|
510
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
511
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
512
|
+
let responseType_ = "json";
|
|
513
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
514
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
515
|
+
responseType_ = "text";
|
|
516
|
+
}
|
|
517
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
518
|
+
responseType_ = "json";
|
|
519
|
+
}
|
|
520
|
+
else {
|
|
521
|
+
responseType_ = "blob";
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
525
|
+
const { basePath, withCredentials } = this.configuration;
|
|
526
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
527
|
+
context: localVarHttpContext,
|
|
528
|
+
responseType: responseType_,
|
|
529
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
530
|
+
headers: localVarHeaders,
|
|
531
|
+
observe: observe,
|
|
532
|
+
transferCache: localVarTransferCache,
|
|
533
|
+
reportProgress: reportProgress,
|
|
534
|
+
});
|
|
535
|
+
}
|
|
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.");
|
|
540
|
+
}
|
|
541
|
+
let localVarHeaders = this.defaultHeaders;
|
|
542
|
+
// authentication (Bearer) required
|
|
543
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
544
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
545
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
546
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
547
|
+
}
|
|
548
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
549
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
550
|
+
let responseType_ = "json";
|
|
551
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
552
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
553
|
+
responseType_ = "text";
|
|
554
|
+
}
|
|
555
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
556
|
+
responseType_ = "json";
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
responseType_ = "blob";
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/restore`;
|
|
563
|
+
const { basePath, withCredentials } = this.configuration;
|
|
564
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
565
|
+
context: localVarHttpContext,
|
|
566
|
+
responseType: responseType_,
|
|
567
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
568
|
+
headers: localVarHeaders,
|
|
569
|
+
observe: observe,
|
|
570
|
+
transferCache: localVarTransferCache,
|
|
571
|
+
reportProgress: reportProgress,
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
permissionBundlesSearchPermissionBundles(requestParameters, observe = "body", reportProgress = false, options) {
|
|
575
|
+
const name = requestParameters?.name;
|
|
576
|
+
const orderBy = requestParameters?.orderBy;
|
|
577
|
+
const page = requestParameters?.page;
|
|
578
|
+
const pageSize = requestParameters?.pageSize;
|
|
579
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
580
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
581
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
582
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
583
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
584
|
+
let localVarHeaders = this.defaultHeaders;
|
|
585
|
+
// authentication (Bearer) required
|
|
586
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
587
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
588
|
+
this.configuration.selectHeaderAccept([
|
|
589
|
+
"text/plain",
|
|
590
|
+
"application/json",
|
|
591
|
+
"text/json",
|
|
592
|
+
]);
|
|
593
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
594
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
595
|
+
}
|
|
596
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
597
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
598
|
+
let responseType_ = "json";
|
|
599
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
600
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
601
|
+
responseType_ = "text";
|
|
602
|
+
}
|
|
603
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
604
|
+
responseType_ = "json";
|
|
605
|
+
}
|
|
606
|
+
else {
|
|
607
|
+
responseType_ = "blob";
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
let localVarPath = `/api/permission-bundles`;
|
|
611
|
+
const { basePath, withCredentials } = this.configuration;
|
|
612
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
613
|
+
context: localVarHttpContext,
|
|
614
|
+
params: localVarQueryParameters,
|
|
615
|
+
responseType: responseType_,
|
|
616
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
617
|
+
headers: localVarHeaders,
|
|
618
|
+
observe: observe,
|
|
619
|
+
transferCache: localVarTransferCache,
|
|
620
|
+
reportProgress: reportProgress,
|
|
621
|
+
});
|
|
622
|
+
}
|
|
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.");
|
|
627
|
+
}
|
|
628
|
+
const savePermissionBundleDto = requestParameters?.savePermissionBundleDto;
|
|
629
|
+
let localVarHeaders = this.defaultHeaders;
|
|
630
|
+
// authentication (Bearer) required
|
|
631
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
632
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
633
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
634
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
635
|
+
}
|
|
636
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
637
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
638
|
+
// to determine the Content-Type header
|
|
639
|
+
const consumes = [
|
|
640
|
+
"application/json",
|
|
641
|
+
"text/json",
|
|
642
|
+
"application/*+json",
|
|
643
|
+
];
|
|
644
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
645
|
+
if (httpContentTypeSelected !== undefined) {
|
|
646
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
647
|
+
}
|
|
648
|
+
let responseType_ = "json";
|
|
649
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
650
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
651
|
+
responseType_ = "text";
|
|
652
|
+
}
|
|
653
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
654
|
+
responseType_ = "json";
|
|
655
|
+
}
|
|
656
|
+
else {
|
|
657
|
+
responseType_ = "blob";
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
let localVarPath = `/api/permission-bundles/${this.configuration.encodeParam({ name: "permissionBundleId", value: permissionBundleId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
661
|
+
const { basePath, withCredentials } = this.configuration;
|
|
662
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
663
|
+
context: localVarHttpContext,
|
|
664
|
+
body: savePermissionBundleDto,
|
|
665
|
+
responseType: responseType_,
|
|
666
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
667
|
+
headers: localVarHeaders,
|
|
668
|
+
observe: observe,
|
|
669
|
+
transferCache: localVarTransferCache,
|
|
670
|
+
reportProgress: reportProgress,
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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.4", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
|
|
675
|
+
}
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
|
|
375
677
|
type: Injectable,
|
|
376
678
|
args: [{
|
|
377
679
|
providedIn: "root",
|
|
@@ -440,10 +742,10 @@ class PermissionsApiService extends BaseService {
|
|
|
440
742
|
reportProgress: reportProgress,
|
|
441
743
|
});
|
|
442
744
|
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
444
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
745
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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.4", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
445
747
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
447
749
|
type: Injectable,
|
|
448
750
|
args: [{
|
|
449
751
|
providedIn: "root",
|
|
@@ -526,10 +828,10 @@ class RegionsApiService extends BaseService {
|
|
|
526
828
|
reportProgress: reportProgress,
|
|
527
829
|
});
|
|
528
830
|
}
|
|
529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
530
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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.4", ngImport: i0, type: RegionsApiService, providedIn: "root" });
|
|
531
833
|
}
|
|
532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RegionsApiService, decorators: [{
|
|
533
835
|
type: Injectable,
|
|
534
836
|
args: [{
|
|
535
837
|
providedIn: "root",
|
|
@@ -691,7 +993,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
691
993
|
reportProgress: reportProgress,
|
|
692
994
|
});
|
|
693
995
|
}
|
|
694
|
-
|
|
996
|
+
repTerritoriesSearchRepTerritories(requestParameters, observe = "body", reportProgress = false, options) {
|
|
695
997
|
const repName = requestParameters?.repName;
|
|
696
998
|
const repCode = requestParameters?.repCode;
|
|
697
999
|
const rsdRegionName = requestParameters?.rsdRegionName;
|
|
@@ -794,10 +1096,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
794
1096
|
reportProgress: reportProgress,
|
|
795
1097
|
});
|
|
796
1098
|
}
|
|
797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
798
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1099
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1100
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
|
|
799
1101
|
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
|
|
801
1103
|
type: Injectable,
|
|
802
1104
|
args: [{
|
|
803
1105
|
providedIn: "root",
|
|
@@ -1068,10 +1370,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
1068
1370
|
reportProgress: reportProgress,
|
|
1069
1371
|
});
|
|
1070
1372
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1072
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1374
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
|
|
1073
1375
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RsdRegionsApiService, decorators: [{
|
|
1075
1377
|
type: Injectable,
|
|
1076
1378
|
args: [{
|
|
1077
1379
|
providedIn: "root",
|
|
@@ -1408,10 +1710,10 @@ class UsersApiService extends BaseService {
|
|
|
1408
1710
|
reportProgress: reportProgress,
|
|
1409
1711
|
});
|
|
1410
1712
|
}
|
|
1411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1412
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1713
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1714
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UsersApiService, providedIn: "root" });
|
|
1413
1715
|
}
|
|
1414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UsersApiService, decorators: [{
|
|
1415
1717
|
type: Injectable,
|
|
1416
1718
|
args: [{
|
|
1417
1719
|
providedIn: "root",
|
|
@@ -1427,6 +1729,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1427
1729
|
|
|
1428
1730
|
const APIS = [
|
|
1429
1731
|
AuthApiService,
|
|
1732
|
+
PermissionBundlesApiService,
|
|
1430
1733
|
PermissionsApiService,
|
|
1431
1734
|
RegionsApiService,
|
|
1432
1735
|
RepTerritoriesApiService,
|
|
@@ -1541,6 +1844,24 @@ var AddressDtoCountryEnum;
|
|
|
1541
1844
|
* Do not edit the class manually.
|
|
1542
1845
|
*/
|
|
1543
1846
|
|
|
1847
|
+
/**
|
|
1848
|
+
* RenewAire CORES API
|
|
1849
|
+
*
|
|
1850
|
+
* Contact: renewaire@saritasa.com
|
|
1851
|
+
*
|
|
1852
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1853
|
+
* https://openapi-generator.tech
|
|
1854
|
+
* Do not edit the class manually.
|
|
1855
|
+
*/
|
|
1856
|
+
/**
|
|
1857
|
+
* Permission<br />0 = SystemAdmin<br />1 = UserAdministration
|
|
1858
|
+
*/
|
|
1859
|
+
var Permission;
|
|
1860
|
+
(function (Permission) {
|
|
1861
|
+
Permission["SystemAdmin"] = "SystemAdmin";
|
|
1862
|
+
Permission["UserAdministration"] = "UserAdministration";
|
|
1863
|
+
})(Permission || (Permission = {}));
|
|
1864
|
+
|
|
1544
1865
|
/**
|
|
1545
1866
|
* RenewAire CORES API
|
|
1546
1867
|
*
|
|
@@ -1630,6 +1951,16 @@ var RegionLevel;
|
|
|
1630
1951
|
* Do not edit the class manually.
|
|
1631
1952
|
*/
|
|
1632
1953
|
|
|
1954
|
+
/**
|
|
1955
|
+
* RenewAire CORES API
|
|
1956
|
+
*
|
|
1957
|
+
* Contact: renewaire@saritasa.com
|
|
1958
|
+
*
|
|
1959
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1960
|
+
* https://openapi-generator.tech
|
|
1961
|
+
* Do not edit the class manually.
|
|
1962
|
+
*/
|
|
1963
|
+
|
|
1633
1964
|
/**
|
|
1634
1965
|
* RenewAire CORES API
|
|
1635
1966
|
*
|
|
@@ -1722,11 +2053,11 @@ class ApiModule {
|
|
|
1722
2053
|
"See also https://github.com/angular/angular/issues/20575");
|
|
1723
2054
|
}
|
|
1724
2055
|
}
|
|
1725
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1726
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
1727
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
2056
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2057
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ApiModule });
|
|
2058
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ApiModule });
|
|
1728
2059
|
}
|
|
1729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ApiModule, decorators: [{
|
|
1730
2061
|
type: NgModule,
|
|
1731
2062
|
args: [{
|
|
1732
2063
|
imports: [],
|
|
@@ -1758,5 +2089,5 @@ function provideApi(configOrBasePath) {
|
|
|
1758
2089
|
* Generated bundle index. Do not edit.
|
|
1759
2090
|
*/
|
|
1760
2091
|
|
|
1761
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
2092
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, Permission, PermissionBundlesApiService, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
1762
2093
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|