@saritasa/renewaire-frontend-sdk 0.1.0-dev.275 → 0.1.0-dev.318

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
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.1.0-dev.275
1
+ # @@saritasa/renewaire-frontend-sdk@0.1.0-dev.318
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.1.0-dev.275 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.1.0-dev.318 --save
5
5
  ```
@@ -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.3", 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.3", ngImport: i0, type: AuthApiService, providedIn: "root" });
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.3", ngImport: i0, type: AuthApiService, decorators: [{
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.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" });
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.3", ngImport: i0, type: PermissionsApiService, decorators: [{
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.3", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
530
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: RegionsApiService, providedIn: "root" });
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.3", ngImport: i0, type: RegionsApiService, decorators: [{
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
- repTerritoriesSearchRsdTerritories(requestParameters, observe = "body", reportProgress = false, options) {
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.3", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
798
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
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.3", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
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.3", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1072
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
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.3", ngImport: i0, type: RsdRegionsApiService, decorators: [{
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",
@@ -1145,6 +1447,50 @@ class UsersApiService extends BaseService {
1145
1447
  reportProgress: reportProgress,
1146
1448
  });
1147
1449
  }
1450
+ usersForgotPassword(requestParameters, observe = "body", reportProgress = false, options) {
1451
+ const forgotPasswordCommand = requestParameters?.forgotPasswordCommand;
1452
+ let localVarHeaders = this.defaultHeaders;
1453
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1454
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1455
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1456
+ }
1457
+ const localVarHttpContext = options?.context ?? new HttpContext();
1458
+ const localVarTransferCache = options?.transferCache ?? true;
1459
+ // to determine the Content-Type header
1460
+ const consumes = [
1461
+ "application/json",
1462
+ "text/json",
1463
+ "application/*+json",
1464
+ ];
1465
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1466
+ if (httpContentTypeSelected !== undefined) {
1467
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1468
+ }
1469
+ let responseType_ = "json";
1470
+ if (localVarHttpHeaderAcceptSelected) {
1471
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1472
+ responseType_ = "text";
1473
+ }
1474
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1475
+ responseType_ = "json";
1476
+ }
1477
+ else {
1478
+ responseType_ = "blob";
1479
+ }
1480
+ }
1481
+ let localVarPath = `/api/users/forgot-password`;
1482
+ const { basePath, withCredentials } = this.configuration;
1483
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1484
+ context: localVarHttpContext,
1485
+ body: forgotPasswordCommand,
1486
+ responseType: responseType_,
1487
+ ...(withCredentials ? { withCredentials } : {}),
1488
+ headers: localVarHeaders,
1489
+ observe: observe,
1490
+ transferCache: localVarTransferCache,
1491
+ reportProgress: reportProgress,
1492
+ });
1493
+ }
1148
1494
  usersGetRepContacts(observe = "body", reportProgress = false, options) {
1149
1495
  let localVarHeaders = this.defaultHeaders;
1150
1496
  // authentication (Bearer) required
@@ -1320,10 +1666,54 @@ class UsersApiService extends BaseService {
1320
1666
  reportProgress: reportProgress,
1321
1667
  });
1322
1668
  }
1323
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1324
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsersApiService, providedIn: "root" });
1669
+ usersResetPassword(requestParameters, observe = "body", reportProgress = false, options) {
1670
+ const resetPasswordCommand = requestParameters?.resetPasswordCommand;
1671
+ let localVarHeaders = this.defaultHeaders;
1672
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1673
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1674
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1675
+ }
1676
+ const localVarHttpContext = options?.context ?? new HttpContext();
1677
+ const localVarTransferCache = options?.transferCache ?? true;
1678
+ // to determine the Content-Type header
1679
+ const consumes = [
1680
+ "application/json",
1681
+ "text/json",
1682
+ "application/*+json",
1683
+ ];
1684
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1685
+ if (httpContentTypeSelected !== undefined) {
1686
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1687
+ }
1688
+ let responseType_ = "json";
1689
+ if (localVarHttpHeaderAcceptSelected) {
1690
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1691
+ responseType_ = "text";
1692
+ }
1693
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1694
+ responseType_ = "json";
1695
+ }
1696
+ else {
1697
+ responseType_ = "blob";
1698
+ }
1699
+ }
1700
+ let localVarPath = `/api/users/reset-password`;
1701
+ const { basePath, withCredentials } = this.configuration;
1702
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1703
+ context: localVarHttpContext,
1704
+ body: resetPasswordCommand,
1705
+ responseType: responseType_,
1706
+ ...(withCredentials ? { withCredentials } : {}),
1707
+ headers: localVarHeaders,
1708
+ observe: observe,
1709
+ transferCache: localVarTransferCache,
1710
+ reportProgress: reportProgress,
1711
+ });
1712
+ }
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" });
1325
1715
  }
1326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsersApiService, decorators: [{
1716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UsersApiService, decorators: [{
1327
1717
  type: Injectable,
1328
1718
  args: [{
1329
1719
  providedIn: "root",
@@ -1339,6 +1729,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
1339
1729
 
1340
1730
  const APIS = [
1341
1731
  AuthApiService,
1732
+ PermissionBundlesApiService,
1342
1733
  PermissionsApiService,
1343
1734
  RegionsApiService,
1344
1735
  RepTerritoriesApiService,
@@ -1443,6 +1834,34 @@ var AddressDtoCountryEnum;
1443
1834
  * Do not edit the class manually.
1444
1835
  */
1445
1836
 
1837
+ /**
1838
+ * RenewAire CORES API
1839
+ *
1840
+ * Contact: renewaire@saritasa.com
1841
+ *
1842
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1843
+ * https://openapi-generator.tech
1844
+ * Do not edit the class manually.
1845
+ */
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
+
1446
1865
  /**
1447
1866
  * RenewAire CORES API
1448
1867
  *
@@ -1522,6 +1941,26 @@ var RegionLevel;
1522
1941
  * Do not edit the class manually.
1523
1942
  */
1524
1943
 
1944
+ /**
1945
+ * RenewAire CORES API
1946
+ *
1947
+ * Contact: renewaire@saritasa.com
1948
+ *
1949
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1950
+ * https://openapi-generator.tech
1951
+ * Do not edit the class manually.
1952
+ */
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
+
1525
1964
  /**
1526
1965
  * RenewAire CORES API
1527
1966
  *
@@ -1614,11 +2053,11 @@ class ApiModule {
1614
2053
  "See also https://github.com/angular/angular/issues/20575");
1615
2054
  }
1616
2055
  }
1617
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
1618
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: ApiModule });
1619
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ApiModule });
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 });
1620
2059
  }
1621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ApiModule, decorators: [{
2060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ApiModule, decorators: [{
1622
2061
  type: NgModule,
1623
2062
  args: [{
1624
2063
  imports: [],
@@ -1650,5 +2089,5 @@ function provideApi(configOrBasePath) {
1650
2089
  * Generated bundle index. Do not edit.
1651
2090
  */
1652
2091
 
1653
- 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 };
1654
2093
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map