@saritasa/renewaire-frontend-sdk 0.11.1 → 0.13.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
CHANGED
|
@@ -434,6 +434,406 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
434
434
|
type: Optional
|
|
435
435
|
}] }] });
|
|
436
436
|
|
|
437
|
+
/**
|
|
438
|
+
* RenewAire CORES API
|
|
439
|
+
*
|
|
440
|
+
* Contact: renewaire@saritasa.com
|
|
441
|
+
*
|
|
442
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
443
|
+
* https://openapi-generator.tech
|
|
444
|
+
* Do not edit the class manually.
|
|
445
|
+
*/
|
|
446
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
447
|
+
class FeedbacksApiService extends BaseService {
|
|
448
|
+
httpClient;
|
|
449
|
+
constructor(httpClient, basePath, configuration) {
|
|
450
|
+
super(basePath, configuration);
|
|
451
|
+
this.httpClient = httpClient;
|
|
452
|
+
}
|
|
453
|
+
feedbacksCreateFeedback(requestParameters, observe = "body", reportProgress = false, options) {
|
|
454
|
+
const feedbackType = requestParameters?.feedbackType;
|
|
455
|
+
if (feedbackType === null || feedbackType === undefined) {
|
|
456
|
+
throw new Error("Required parameter feedbackType was null or undefined when calling feedbacksCreateFeedback.");
|
|
457
|
+
}
|
|
458
|
+
const message = requestParameters?.message;
|
|
459
|
+
if (message === null || message === undefined) {
|
|
460
|
+
throw new Error("Required parameter message was null or undefined when calling feedbacksCreateFeedback.");
|
|
461
|
+
}
|
|
462
|
+
const frontendUrl = requestParameters?.frontendUrl;
|
|
463
|
+
if (frontendUrl === null || frontendUrl === undefined) {
|
|
464
|
+
throw new Error("Required parameter frontendUrl was null or undefined when calling feedbacksCreateFeedback.");
|
|
465
|
+
}
|
|
466
|
+
const attachments = requestParameters?.attachments;
|
|
467
|
+
if (attachments === null || attachments === undefined) {
|
|
468
|
+
throw new Error("Required parameter attachments was null or undefined when calling feedbacksCreateFeedback.");
|
|
469
|
+
}
|
|
470
|
+
let localVarHeaders = this.defaultHeaders;
|
|
471
|
+
// authentication (Bearer) required
|
|
472
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
473
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
474
|
+
this.configuration.selectHeaderAccept([
|
|
475
|
+
"text/plain",
|
|
476
|
+
"application/json",
|
|
477
|
+
"text/json",
|
|
478
|
+
]);
|
|
479
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
480
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
481
|
+
}
|
|
482
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
483
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
484
|
+
// to determine the Content-Type header
|
|
485
|
+
const consumes = ["multipart/form-data"];
|
|
486
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
487
|
+
let localVarFormParams;
|
|
488
|
+
let localVarUseForm = false;
|
|
489
|
+
let localVarConvertFormParamsToString = false;
|
|
490
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
491
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
492
|
+
localVarUseForm = canConsumeForm;
|
|
493
|
+
if (localVarUseForm) {
|
|
494
|
+
localVarFormParams = new FormData();
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
498
|
+
}
|
|
499
|
+
if (feedbackType !== undefined) {
|
|
500
|
+
localVarFormParams =
|
|
501
|
+
localVarFormParams.append("FeedbackType", feedbackType) ||
|
|
502
|
+
localVarFormParams;
|
|
503
|
+
}
|
|
504
|
+
if (message !== undefined) {
|
|
505
|
+
localVarFormParams =
|
|
506
|
+
localVarFormParams.append("Message", message) ||
|
|
507
|
+
localVarFormParams;
|
|
508
|
+
}
|
|
509
|
+
if (frontendUrl !== undefined) {
|
|
510
|
+
localVarFormParams =
|
|
511
|
+
localVarFormParams.append("FrontendUrl", frontendUrl) ||
|
|
512
|
+
localVarFormParams;
|
|
513
|
+
}
|
|
514
|
+
if (attachments) {
|
|
515
|
+
attachments.forEach((element) => {
|
|
516
|
+
localVarFormParams =
|
|
517
|
+
localVarFormParams.append("Attachments", element) ||
|
|
518
|
+
localVarFormParams;
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
let responseType_ = "json";
|
|
522
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
523
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
524
|
+
responseType_ = "text";
|
|
525
|
+
}
|
|
526
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
527
|
+
responseType_ = "json";
|
|
528
|
+
}
|
|
529
|
+
else {
|
|
530
|
+
responseType_ = "blob";
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
let localVarPath = `/api/feedbacks`;
|
|
534
|
+
const { basePath, withCredentials } = this.configuration;
|
|
535
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
536
|
+
context: localVarHttpContext,
|
|
537
|
+
body: localVarConvertFormParamsToString
|
|
538
|
+
? localVarFormParams.toString()
|
|
539
|
+
: localVarFormParams,
|
|
540
|
+
responseType: responseType_,
|
|
541
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
542
|
+
headers: localVarHeaders,
|
|
543
|
+
observe: observe,
|
|
544
|
+
transferCache: localVarTransferCache,
|
|
545
|
+
reportProgress: reportProgress,
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
549
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
|
|
550
|
+
}
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: FeedbacksApiService, decorators: [{
|
|
552
|
+
type: Injectable,
|
|
553
|
+
args: [{
|
|
554
|
+
providedIn: "root",
|
|
555
|
+
}]
|
|
556
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
557
|
+
type: Optional
|
|
558
|
+
}, {
|
|
559
|
+
type: Inject,
|
|
560
|
+
args: [BASE_PATH]
|
|
561
|
+
}] }, { type: Configuration, decorators: [{
|
|
562
|
+
type: Optional
|
|
563
|
+
}] }] });
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* RenewAire CORES API
|
|
567
|
+
*
|
|
568
|
+
* Contact: renewaire@saritasa.com
|
|
569
|
+
*
|
|
570
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
571
|
+
* https://openapi-generator.tech
|
|
572
|
+
* Do not edit the class manually.
|
|
573
|
+
*/
|
|
574
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
575
|
+
class GroupsApiService extends BaseService {
|
|
576
|
+
httpClient;
|
|
577
|
+
constructor(httpClient, basePath, configuration) {
|
|
578
|
+
super(basePath, configuration);
|
|
579
|
+
this.httpClient = httpClient;
|
|
580
|
+
}
|
|
581
|
+
groupsCreateGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
582
|
+
const saveGroupDto = requestParameters?.saveGroupDto;
|
|
583
|
+
let localVarHeaders = this.defaultHeaders;
|
|
584
|
+
// authentication (Bearer) required
|
|
585
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
586
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
587
|
+
this.configuration.selectHeaderAccept([
|
|
588
|
+
"text/plain",
|
|
589
|
+
"application/json",
|
|
590
|
+
"text/json",
|
|
591
|
+
]);
|
|
592
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
593
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
594
|
+
}
|
|
595
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
596
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
597
|
+
// to determine the Content-Type header
|
|
598
|
+
const consumes = [
|
|
599
|
+
"application/json",
|
|
600
|
+
"text/json",
|
|
601
|
+
"application/*+json",
|
|
602
|
+
];
|
|
603
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
604
|
+
if (httpContentTypeSelected !== undefined) {
|
|
605
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
606
|
+
}
|
|
607
|
+
let responseType_ = "json";
|
|
608
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
609
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
610
|
+
responseType_ = "text";
|
|
611
|
+
}
|
|
612
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
613
|
+
responseType_ = "json";
|
|
614
|
+
}
|
|
615
|
+
else {
|
|
616
|
+
responseType_ = "blob";
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
let localVarPath = `/api/groups`;
|
|
620
|
+
const { basePath, withCredentials } = this.configuration;
|
|
621
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
622
|
+
context: localVarHttpContext,
|
|
623
|
+
body: saveGroupDto,
|
|
624
|
+
responseType: responseType_,
|
|
625
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
626
|
+
headers: localVarHeaders,
|
|
627
|
+
observe: observe,
|
|
628
|
+
transferCache: localVarTransferCache,
|
|
629
|
+
reportProgress: reportProgress,
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
groupsGetGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
633
|
+
const id = requestParameters?.id;
|
|
634
|
+
if (id === null || id === undefined) {
|
|
635
|
+
throw new Error("Required parameter id was null or undefined when calling groupsGetGroup.");
|
|
636
|
+
}
|
|
637
|
+
let localVarHeaders = this.defaultHeaders;
|
|
638
|
+
// authentication (Bearer) required
|
|
639
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
640
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
641
|
+
this.configuration.selectHeaderAccept([
|
|
642
|
+
"text/plain",
|
|
643
|
+
"application/json",
|
|
644
|
+
"text/json",
|
|
645
|
+
]);
|
|
646
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
647
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
648
|
+
}
|
|
649
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
650
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
651
|
+
let responseType_ = "json";
|
|
652
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
653
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
654
|
+
responseType_ = "text";
|
|
655
|
+
}
|
|
656
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
657
|
+
responseType_ = "json";
|
|
658
|
+
}
|
|
659
|
+
else {
|
|
660
|
+
responseType_ = "blob";
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
664
|
+
const { basePath, withCredentials } = this.configuration;
|
|
665
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
666
|
+
context: localVarHttpContext,
|
|
667
|
+
responseType: responseType_,
|
|
668
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
669
|
+
headers: localVarHeaders,
|
|
670
|
+
observe: observe,
|
|
671
|
+
transferCache: localVarTransferCache,
|
|
672
|
+
reportProgress: reportProgress,
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
groupsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
676
|
+
const id = requestParameters?.id;
|
|
677
|
+
if (id === null || id === undefined) {
|
|
678
|
+
throw new Error("Required parameter id was null or undefined when calling groupsRemoveGroup.");
|
|
679
|
+
}
|
|
680
|
+
let localVarHeaders = this.defaultHeaders;
|
|
681
|
+
// authentication (Bearer) required
|
|
682
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
683
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
684
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
685
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
686
|
+
}
|
|
687
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
688
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
689
|
+
let responseType_ = "json";
|
|
690
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
691
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
692
|
+
responseType_ = "text";
|
|
693
|
+
}
|
|
694
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
695
|
+
responseType_ = "json";
|
|
696
|
+
}
|
|
697
|
+
else {
|
|
698
|
+
responseType_ = "blob";
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
702
|
+
const { basePath, withCredentials } = this.configuration;
|
|
703
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
704
|
+
context: localVarHttpContext,
|
|
705
|
+
responseType: responseType_,
|
|
706
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
707
|
+
headers: localVarHeaders,
|
|
708
|
+
observe: observe,
|
|
709
|
+
transferCache: localVarTransferCache,
|
|
710
|
+
reportProgress: reportProgress,
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
groupsSearchGroups(requestParameters, observe = "body", reportProgress = false, options) {
|
|
714
|
+
const name = requestParameters?.name;
|
|
715
|
+
const type = requestParameters?.type;
|
|
716
|
+
const isActive = requestParameters?.isActive;
|
|
717
|
+
const erpCustomerName = requestParameters?.erpCustomerName;
|
|
718
|
+
const customerType = requestParameters?.customerType;
|
|
719
|
+
const orderBy = requestParameters?.orderBy;
|
|
720
|
+
const page = requestParameters?.page;
|
|
721
|
+
const pageSize = requestParameters?.pageSize;
|
|
722
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
723
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
724
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, type, "Type");
|
|
725
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
|
|
726
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerName, "ErpCustomerName");
|
|
727
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, customerType, "CustomerType");
|
|
728
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
729
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
730
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
731
|
+
let localVarHeaders = this.defaultHeaders;
|
|
732
|
+
// authentication (Bearer) required
|
|
733
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
734
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
735
|
+
this.configuration.selectHeaderAccept([
|
|
736
|
+
"text/plain",
|
|
737
|
+
"application/json",
|
|
738
|
+
"text/json",
|
|
739
|
+
]);
|
|
740
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
741
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
742
|
+
}
|
|
743
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
744
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
745
|
+
let responseType_ = "json";
|
|
746
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
747
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
748
|
+
responseType_ = "text";
|
|
749
|
+
}
|
|
750
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
751
|
+
responseType_ = "json";
|
|
752
|
+
}
|
|
753
|
+
else {
|
|
754
|
+
responseType_ = "blob";
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
let localVarPath = `/api/groups`;
|
|
758
|
+
const { basePath, withCredentials } = this.configuration;
|
|
759
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
760
|
+
context: localVarHttpContext,
|
|
761
|
+
params: localVarQueryParameters,
|
|
762
|
+
responseType: responseType_,
|
|
763
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
764
|
+
headers: localVarHeaders,
|
|
765
|
+
observe: observe,
|
|
766
|
+
transferCache: localVarTransferCache,
|
|
767
|
+
reportProgress: reportProgress,
|
|
768
|
+
});
|
|
769
|
+
}
|
|
770
|
+
groupsUpdateGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
771
|
+
const id = requestParameters?.id;
|
|
772
|
+
if (id === null || id === undefined) {
|
|
773
|
+
throw new Error("Required parameter id was null or undefined when calling groupsUpdateGroup.");
|
|
774
|
+
}
|
|
775
|
+
const saveGroupDto = requestParameters?.saveGroupDto;
|
|
776
|
+
let localVarHeaders = this.defaultHeaders;
|
|
777
|
+
// authentication (Bearer) required
|
|
778
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
779
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
780
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
781
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
782
|
+
}
|
|
783
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
784
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
785
|
+
// to determine the Content-Type header
|
|
786
|
+
const consumes = [
|
|
787
|
+
"application/json",
|
|
788
|
+
"text/json",
|
|
789
|
+
"application/*+json",
|
|
790
|
+
];
|
|
791
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
792
|
+
if (httpContentTypeSelected !== undefined) {
|
|
793
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
794
|
+
}
|
|
795
|
+
let responseType_ = "json";
|
|
796
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
797
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
798
|
+
responseType_ = "text";
|
|
799
|
+
}
|
|
800
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
801
|
+
responseType_ = "json";
|
|
802
|
+
}
|
|
803
|
+
else {
|
|
804
|
+
responseType_ = "blob";
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
808
|
+
const { basePath, withCredentials } = this.configuration;
|
|
809
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
810
|
+
context: localVarHttpContext,
|
|
811
|
+
body: saveGroupDto,
|
|
812
|
+
responseType: responseType_,
|
|
813
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
814
|
+
headers: localVarHeaders,
|
|
815
|
+
observe: observe,
|
|
816
|
+
transferCache: localVarTransferCache,
|
|
817
|
+
reportProgress: reportProgress,
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
821
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: GroupsApiService, providedIn: "root" });
|
|
822
|
+
}
|
|
823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: GroupsApiService, decorators: [{
|
|
824
|
+
type: Injectable,
|
|
825
|
+
args: [{
|
|
826
|
+
providedIn: "root",
|
|
827
|
+
}]
|
|
828
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
829
|
+
type: Optional
|
|
830
|
+
}, {
|
|
831
|
+
type: Inject,
|
|
832
|
+
args: [BASE_PATH]
|
|
833
|
+
}] }, { type: Configuration, decorators: [{
|
|
834
|
+
type: Optional
|
|
835
|
+
}] }] });
|
|
836
|
+
|
|
437
837
|
/**
|
|
438
838
|
* RenewAire CORES API
|
|
439
839
|
*
|
|
@@ -3636,6 +4036,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
3636
4036
|
|
|
3637
4037
|
const APIS = [
|
|
3638
4038
|
AuthApiService,
|
|
4039
|
+
FeedbacksApiService,
|
|
4040
|
+
GroupsApiService,
|
|
3639
4041
|
KnownContactsApiService,
|
|
3640
4042
|
PermissionBundlesApiService,
|
|
3641
4043
|
PermissionsApiService,
|
|
@@ -3705,6 +4107,16 @@ var AddressDtoCountryEnum;
|
|
|
3705
4107
|
* Do not edit the class manually.
|
|
3706
4108
|
*/
|
|
3707
4109
|
|
|
4110
|
+
/**
|
|
4111
|
+
* RenewAire CORES API
|
|
4112
|
+
*
|
|
4113
|
+
* Contact: renewaire@saritasa.com
|
|
4114
|
+
*
|
|
4115
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4116
|
+
* https://openapi-generator.tech
|
|
4117
|
+
* Do not edit the class manually.
|
|
4118
|
+
*/
|
|
4119
|
+
|
|
3708
4120
|
/**
|
|
3709
4121
|
* RenewAire CORES API
|
|
3710
4122
|
*
|
|
@@ -3790,6 +4202,39 @@ var DesignWeatherMode;
|
|
|
3790
4202
|
* Do not edit the class manually.
|
|
3791
4203
|
*/
|
|
3792
4204
|
|
|
4205
|
+
/**
|
|
4206
|
+
* RenewAire CORES API
|
|
4207
|
+
*
|
|
4208
|
+
* Contact: renewaire@saritasa.com
|
|
4209
|
+
*
|
|
4210
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4211
|
+
* https://openapi-generator.tech
|
|
4212
|
+
* Do not edit the class manually.
|
|
4213
|
+
*/
|
|
4214
|
+
|
|
4215
|
+
/**
|
|
4216
|
+
* RenewAire CORES API
|
|
4217
|
+
*
|
|
4218
|
+
* Contact: renewaire@saritasa.com
|
|
4219
|
+
*
|
|
4220
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4221
|
+
* https://openapi-generator.tech
|
|
4222
|
+
* Do not edit the class manually.
|
|
4223
|
+
*/
|
|
4224
|
+
/**
|
|
4225
|
+
* FeedbackType<br />0 = Request<br />1 = Enhancement<br />2 = Problem<br />3 = Comment<br />4 = Question<br />5 = Praise<br />6 = Other
|
|
4226
|
+
*/
|
|
4227
|
+
var FeedbackType;
|
|
4228
|
+
(function (FeedbackType) {
|
|
4229
|
+
FeedbackType["Request"] = "Request";
|
|
4230
|
+
FeedbackType["Enhancement"] = "Enhancement";
|
|
4231
|
+
FeedbackType["Problem"] = "Problem";
|
|
4232
|
+
FeedbackType["Comment"] = "Comment";
|
|
4233
|
+
FeedbackType["Question"] = "Question";
|
|
4234
|
+
FeedbackType["Praise"] = "Praise";
|
|
4235
|
+
FeedbackType["Other"] = "Other";
|
|
4236
|
+
})(FeedbackType || (FeedbackType = {}));
|
|
4237
|
+
|
|
3793
4238
|
/**
|
|
3794
4239
|
* RenewAire CORES API
|
|
3795
4240
|
*
|
|
@@ -3819,6 +4264,49 @@ var DesignWeatherMode;
|
|
|
3819
4264
|
* https://openapi-generator.tech
|
|
3820
4265
|
* Do not edit the class manually.
|
|
3821
4266
|
*/
|
|
4267
|
+
/**
|
|
4268
|
+
* GroupCustomerType<br />0 = Ess<br />1 = Distributor<br />2 = Oem<br />3 = Other
|
|
4269
|
+
*/
|
|
4270
|
+
var GroupCustomerType;
|
|
4271
|
+
(function (GroupCustomerType) {
|
|
4272
|
+
GroupCustomerType["Ess"] = "Ess";
|
|
4273
|
+
GroupCustomerType["Distributor"] = "Distributor";
|
|
4274
|
+
GroupCustomerType["Oem"] = "Oem";
|
|
4275
|
+
GroupCustomerType["Other"] = "Other";
|
|
4276
|
+
})(GroupCustomerType || (GroupCustomerType = {}));
|
|
4277
|
+
|
|
4278
|
+
var GroupDtoTypeEnum;
|
|
4279
|
+
(function (GroupDtoTypeEnum) {
|
|
4280
|
+
GroupDtoTypeEnum["None"] = "None";
|
|
4281
|
+
GroupDtoTypeEnum["Customer"] = "Customer";
|
|
4282
|
+
GroupDtoTypeEnum["System"] = "System";
|
|
4283
|
+
})(GroupDtoTypeEnum || (GroupDtoTypeEnum = {}));
|
|
4284
|
+
var GroupDtoCustomerTypeEnum;
|
|
4285
|
+
(function (GroupDtoCustomerTypeEnum) {
|
|
4286
|
+
GroupDtoCustomerTypeEnum["Ess"] = "Ess";
|
|
4287
|
+
GroupDtoCustomerTypeEnum["Distributor"] = "Distributor";
|
|
4288
|
+
GroupDtoCustomerTypeEnum["Oem"] = "Oem";
|
|
4289
|
+
GroupDtoCustomerTypeEnum["Other"] = "Other";
|
|
4290
|
+
})(GroupDtoCustomerTypeEnum || (GroupDtoCustomerTypeEnum = {}));
|
|
4291
|
+
|
|
4292
|
+
/**
|
|
4293
|
+
* RenewAire CORES API
|
|
4294
|
+
*
|
|
4295
|
+
* Contact: renewaire@saritasa.com
|
|
4296
|
+
*
|
|
4297
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4298
|
+
* https://openapi-generator.tech
|
|
4299
|
+
* Do not edit the class manually.
|
|
4300
|
+
*/
|
|
4301
|
+
/**
|
|
4302
|
+
* GroupType<br />0 = None<br />1 = Customer<br />2 = System
|
|
4303
|
+
*/
|
|
4304
|
+
var GroupType;
|
|
4305
|
+
(function (GroupType) {
|
|
4306
|
+
GroupType["None"] = "None";
|
|
4307
|
+
GroupType["Customer"] = "Customer";
|
|
4308
|
+
GroupType["System"] = "System";
|
|
4309
|
+
})(GroupType || (GroupType = {}));
|
|
3822
4310
|
|
|
3823
4311
|
/**
|
|
3824
4312
|
* RenewAire CORES API
|
|
@@ -4034,6 +4522,22 @@ var RegistrationStatus;
|
|
|
4034
4522
|
* Do not edit the class manually.
|
|
4035
4523
|
*/
|
|
4036
4524
|
|
|
4525
|
+
/**
|
|
4526
|
+
* RenewAire CORES API
|
|
4527
|
+
*
|
|
4528
|
+
* Contact: renewaire@saritasa.com
|
|
4529
|
+
*
|
|
4530
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4531
|
+
* https://openapi-generator.tech
|
|
4532
|
+
* Do not edit the class manually.
|
|
4533
|
+
*/
|
|
4534
|
+
var SaveGroupDtoTypeEnum;
|
|
4535
|
+
(function (SaveGroupDtoTypeEnum) {
|
|
4536
|
+
SaveGroupDtoTypeEnum["None"] = "None";
|
|
4537
|
+
SaveGroupDtoTypeEnum["Customer"] = "Customer";
|
|
4538
|
+
SaveGroupDtoTypeEnum["System"] = "System";
|
|
4539
|
+
})(SaveGroupDtoTypeEnum || (SaveGroupDtoTypeEnum = {}));
|
|
4540
|
+
|
|
4037
4541
|
/**
|
|
4038
4542
|
* RenewAire CORES API
|
|
4039
4543
|
*
|
|
@@ -4081,6 +4585,16 @@ var SaveUserPreferencesDtoUnitSystemEnum;
|
|
|
4081
4585
|
* Do not edit the class manually.
|
|
4082
4586
|
*/
|
|
4083
4587
|
|
|
4588
|
+
/**
|
|
4589
|
+
* RenewAire CORES API
|
|
4590
|
+
*
|
|
4591
|
+
* Contact: renewaire@saritasa.com
|
|
4592
|
+
*
|
|
4593
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4594
|
+
* https://openapi-generator.tech
|
|
4595
|
+
* Do not edit the class manually.
|
|
4596
|
+
*/
|
|
4597
|
+
|
|
4084
4598
|
/**
|
|
4085
4599
|
* RenewAire CORES API
|
|
4086
4600
|
*
|
|
@@ -4379,5 +4893,5 @@ function provideApi(configOrBasePath) {
|
|
|
4379
4893
|
* Generated bundle index. Do not edit.
|
|
4380
4894
|
*/
|
|
4381
4895
|
|
|
4382
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SaveUserPreferencesDtoLanguageEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserAddressDtoCountryEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLanguageEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UsersApiService, provideApi };
|
|
4896
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SaveUserPreferencesDtoLanguageEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserAddressDtoCountryEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLanguageEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UsersApiService, provideApi };
|
|
4383
4897
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|