@saritasa/renewaire-frontend-sdk 0.12.0 → 0.14.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
|
@@ -562,6 +562,278 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
562
562
|
type: Optional
|
|
563
563
|
}] }] });
|
|
564
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
|
+
|
|
565
837
|
/**
|
|
566
838
|
* RenewAire CORES API
|
|
567
839
|
*
|
|
@@ -2646,6 +2918,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
2646
2918
|
type: Optional
|
|
2647
2919
|
}] }] });
|
|
2648
2920
|
|
|
2921
|
+
/**
|
|
2922
|
+
* RenewAire CORES API
|
|
2923
|
+
*
|
|
2924
|
+
* Contact: renewaire@saritasa.com
|
|
2925
|
+
*
|
|
2926
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2927
|
+
* https://openapi-generator.tech
|
|
2928
|
+
* Do not edit the class manually.
|
|
2929
|
+
*/
|
|
2930
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2931
|
+
class UserTablesApiService extends BaseService {
|
|
2932
|
+
httpClient;
|
|
2933
|
+
constructor(httpClient, basePath, configuration) {
|
|
2934
|
+
super(basePath, configuration);
|
|
2935
|
+
this.httpClient = httpClient;
|
|
2936
|
+
}
|
|
2937
|
+
tableSettingsGetTableSetting(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2938
|
+
const tableId = requestParameters?.tableId;
|
|
2939
|
+
if (tableId === null || tableId === undefined) {
|
|
2940
|
+
throw new Error("Required parameter tableId was null or undefined when calling tableSettingsGetTableSetting.");
|
|
2941
|
+
}
|
|
2942
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2943
|
+
// authentication (Bearer) required
|
|
2944
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2945
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2946
|
+
this.configuration.selectHeaderAccept([
|
|
2947
|
+
"text/plain",
|
|
2948
|
+
"application/json",
|
|
2949
|
+
"text/json",
|
|
2950
|
+
]);
|
|
2951
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2952
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2953
|
+
}
|
|
2954
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2955
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2956
|
+
let responseType_ = "json";
|
|
2957
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2958
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2959
|
+
responseType_ = "text";
|
|
2960
|
+
}
|
|
2961
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2962
|
+
responseType_ = "json";
|
|
2963
|
+
}
|
|
2964
|
+
else {
|
|
2965
|
+
responseType_ = "blob";
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
let localVarPath = `/api/users/me/tables/${this.configuration.encodeParam({ name: "tableId", value: tableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2969
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2970
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2971
|
+
context: localVarHttpContext,
|
|
2972
|
+
responseType: responseType_,
|
|
2973
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2974
|
+
headers: localVarHeaders,
|
|
2975
|
+
observe: observe,
|
|
2976
|
+
transferCache: localVarTransferCache,
|
|
2977
|
+
reportProgress: reportProgress,
|
|
2978
|
+
});
|
|
2979
|
+
}
|
|
2980
|
+
tableSettingsSaveTableSetting(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2981
|
+
const tableId = requestParameters?.tableId;
|
|
2982
|
+
if (tableId === null || tableId === undefined) {
|
|
2983
|
+
throw new Error("Required parameter tableId was null or undefined when calling tableSettingsSaveTableSetting.");
|
|
2984
|
+
}
|
|
2985
|
+
const requestBody = requestParameters?.requestBody;
|
|
2986
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2987
|
+
// authentication (Bearer) required
|
|
2988
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2989
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2990
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2991
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2992
|
+
}
|
|
2993
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2994
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2995
|
+
// to determine the Content-Type header
|
|
2996
|
+
const consumes = [
|
|
2997
|
+
"application/json",
|
|
2998
|
+
"text/json",
|
|
2999
|
+
"application/*+json",
|
|
3000
|
+
];
|
|
3001
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3002
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3003
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3004
|
+
}
|
|
3005
|
+
let responseType_ = "json";
|
|
3006
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3007
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3008
|
+
responseType_ = "text";
|
|
3009
|
+
}
|
|
3010
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3011
|
+
responseType_ = "json";
|
|
3012
|
+
}
|
|
3013
|
+
else {
|
|
3014
|
+
responseType_ = "blob";
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
let localVarPath = `/api/users/me/tables/${this.configuration.encodeParam({ name: "tableId", value: tableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
3018
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3019
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
3020
|
+
context: localVarHttpContext,
|
|
3021
|
+
body: requestBody,
|
|
3022
|
+
responseType: responseType_,
|
|
3023
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3024
|
+
headers: localVarHeaders,
|
|
3025
|
+
observe: observe,
|
|
3026
|
+
transferCache: localVarTransferCache,
|
|
3027
|
+
reportProgress: reportProgress,
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
3030
|
+
tableSettingsSearchTableSettings(observe = "body", reportProgress = false, options) {
|
|
3031
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3032
|
+
// authentication (Bearer) required
|
|
3033
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3034
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3035
|
+
this.configuration.selectHeaderAccept([
|
|
3036
|
+
"text/plain",
|
|
3037
|
+
"application/json",
|
|
3038
|
+
"text/json",
|
|
3039
|
+
]);
|
|
3040
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3041
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3042
|
+
}
|
|
3043
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3044
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3045
|
+
let responseType_ = "json";
|
|
3046
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3047
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3048
|
+
responseType_ = "text";
|
|
3049
|
+
}
|
|
3050
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3051
|
+
responseType_ = "json";
|
|
3052
|
+
}
|
|
3053
|
+
else {
|
|
3054
|
+
responseType_ = "blob";
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
let localVarPath = `/api/users/me/tables`;
|
|
3058
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3059
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3060
|
+
context: localVarHttpContext,
|
|
3061
|
+
responseType: responseType_,
|
|
3062
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3063
|
+
headers: localVarHeaders,
|
|
3064
|
+
observe: observe,
|
|
3065
|
+
transferCache: localVarTransferCache,
|
|
3066
|
+
reportProgress: reportProgress,
|
|
3067
|
+
});
|
|
3068
|
+
}
|
|
3069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3070
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
|
|
3071
|
+
}
|
|
3072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, decorators: [{
|
|
3073
|
+
type: Injectable,
|
|
3074
|
+
args: [{
|
|
3075
|
+
providedIn: "root",
|
|
3076
|
+
}]
|
|
3077
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3078
|
+
type: Optional
|
|
3079
|
+
}, {
|
|
3080
|
+
type: Inject,
|
|
3081
|
+
args: [BASE_PATH]
|
|
3082
|
+
}] }, { type: Configuration, decorators: [{
|
|
3083
|
+
type: Optional
|
|
3084
|
+
}] }] });
|
|
3085
|
+
|
|
2649
3086
|
/**
|
|
2650
3087
|
* RenewAire CORES API
|
|
2651
3088
|
*
|
|
@@ -3765,6 +4202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
3765
4202
|
const APIS = [
|
|
3766
4203
|
AuthApiService,
|
|
3767
4204
|
FeedbacksApiService,
|
|
4205
|
+
GroupsApiService,
|
|
3768
4206
|
KnownContactsApiService,
|
|
3769
4207
|
PermissionBundlesApiService,
|
|
3770
4208
|
PermissionsApiService,
|
|
@@ -3774,6 +4212,7 @@ const APIS = [
|
|
|
3774
4212
|
RepTerritoryLocationsApiService,
|
|
3775
4213
|
RsdRegionsApiService,
|
|
3776
4214
|
UserDesignConditionsApiService,
|
|
4215
|
+
UserTablesApiService,
|
|
3777
4216
|
UsersApiService,
|
|
3778
4217
|
];
|
|
3779
4218
|
|
|
@@ -3834,6 +4273,16 @@ var AddressDtoCountryEnum;
|
|
|
3834
4273
|
* Do not edit the class manually.
|
|
3835
4274
|
*/
|
|
3836
4275
|
|
|
4276
|
+
/**
|
|
4277
|
+
* RenewAire CORES API
|
|
4278
|
+
*
|
|
4279
|
+
* Contact: renewaire@saritasa.com
|
|
4280
|
+
*
|
|
4281
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4282
|
+
* https://openapi-generator.tech
|
|
4283
|
+
* Do not edit the class manually.
|
|
4284
|
+
*/
|
|
4285
|
+
|
|
3837
4286
|
/**
|
|
3838
4287
|
* RenewAire CORES API
|
|
3839
4288
|
*
|
|
@@ -3972,6 +4421,59 @@ var FeedbackType;
|
|
|
3972
4421
|
* Do not edit the class manually.
|
|
3973
4422
|
*/
|
|
3974
4423
|
|
|
4424
|
+
/**
|
|
4425
|
+
* RenewAire CORES API
|
|
4426
|
+
*
|
|
4427
|
+
* Contact: renewaire@saritasa.com
|
|
4428
|
+
*
|
|
4429
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4430
|
+
* https://openapi-generator.tech
|
|
4431
|
+
* Do not edit the class manually.
|
|
4432
|
+
*/
|
|
4433
|
+
/**
|
|
4434
|
+
* GroupCustomerType<br />0 = Ess<br />1 = Distributor<br />2 = Oem<br />3 = Other
|
|
4435
|
+
*/
|
|
4436
|
+
var GroupCustomerType;
|
|
4437
|
+
(function (GroupCustomerType) {
|
|
4438
|
+
GroupCustomerType["Ess"] = "Ess";
|
|
4439
|
+
GroupCustomerType["Distributor"] = "Distributor";
|
|
4440
|
+
GroupCustomerType["Oem"] = "Oem";
|
|
4441
|
+
GroupCustomerType["Other"] = "Other";
|
|
4442
|
+
})(GroupCustomerType || (GroupCustomerType = {}));
|
|
4443
|
+
|
|
4444
|
+
var GroupDtoTypeEnum;
|
|
4445
|
+
(function (GroupDtoTypeEnum) {
|
|
4446
|
+
GroupDtoTypeEnum["None"] = "None";
|
|
4447
|
+
GroupDtoTypeEnum["Customer"] = "Customer";
|
|
4448
|
+
GroupDtoTypeEnum["System"] = "System";
|
|
4449
|
+
})(GroupDtoTypeEnum || (GroupDtoTypeEnum = {}));
|
|
4450
|
+
var GroupDtoCustomerTypeEnum;
|
|
4451
|
+
(function (GroupDtoCustomerTypeEnum) {
|
|
4452
|
+
GroupDtoCustomerTypeEnum["Ess"] = "Ess";
|
|
4453
|
+
GroupDtoCustomerTypeEnum["Distributor"] = "Distributor";
|
|
4454
|
+
GroupDtoCustomerTypeEnum["Oem"] = "Oem";
|
|
4455
|
+
GroupDtoCustomerTypeEnum["Other"] = "Other";
|
|
4456
|
+
})(GroupDtoCustomerTypeEnum || (GroupDtoCustomerTypeEnum = {}));
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* RenewAire CORES API
|
|
4460
|
+
*
|
|
4461
|
+
* Contact: renewaire@saritasa.com
|
|
4462
|
+
*
|
|
4463
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4464
|
+
* https://openapi-generator.tech
|
|
4465
|
+
* Do not edit the class manually.
|
|
4466
|
+
*/
|
|
4467
|
+
/**
|
|
4468
|
+
* GroupType<br />0 = None<br />1 = Customer<br />2 = System
|
|
4469
|
+
*/
|
|
4470
|
+
var GroupType;
|
|
4471
|
+
(function (GroupType) {
|
|
4472
|
+
GroupType["None"] = "None";
|
|
4473
|
+
GroupType["Customer"] = "Customer";
|
|
4474
|
+
GroupType["System"] = "System";
|
|
4475
|
+
})(GroupType || (GroupType = {}));
|
|
4476
|
+
|
|
3975
4477
|
/**
|
|
3976
4478
|
* RenewAire CORES API
|
|
3977
4479
|
*
|
|
@@ -4186,6 +4688,22 @@ var RegistrationStatus;
|
|
|
4186
4688
|
* Do not edit the class manually.
|
|
4187
4689
|
*/
|
|
4188
4690
|
|
|
4691
|
+
/**
|
|
4692
|
+
* RenewAire CORES API
|
|
4693
|
+
*
|
|
4694
|
+
* Contact: renewaire@saritasa.com
|
|
4695
|
+
*
|
|
4696
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4697
|
+
* https://openapi-generator.tech
|
|
4698
|
+
* Do not edit the class manually.
|
|
4699
|
+
*/
|
|
4700
|
+
var SaveGroupDtoTypeEnum;
|
|
4701
|
+
(function (SaveGroupDtoTypeEnum) {
|
|
4702
|
+
SaveGroupDtoTypeEnum["None"] = "None";
|
|
4703
|
+
SaveGroupDtoTypeEnum["Customer"] = "Customer";
|
|
4704
|
+
SaveGroupDtoTypeEnum["System"] = "System";
|
|
4705
|
+
})(SaveGroupDtoTypeEnum || (SaveGroupDtoTypeEnum = {}));
|
|
4706
|
+
|
|
4189
4707
|
/**
|
|
4190
4708
|
* RenewAire CORES API
|
|
4191
4709
|
*
|
|
@@ -4233,6 +4751,16 @@ var SaveUserPreferencesDtoUnitSystemEnum;
|
|
|
4233
4751
|
* Do not edit the class manually.
|
|
4234
4752
|
*/
|
|
4235
4753
|
|
|
4754
|
+
/**
|
|
4755
|
+
* RenewAire CORES API
|
|
4756
|
+
*
|
|
4757
|
+
* Contact: renewaire@saritasa.com
|
|
4758
|
+
*
|
|
4759
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4760
|
+
* https://openapi-generator.tech
|
|
4761
|
+
* Do not edit the class manually.
|
|
4762
|
+
*/
|
|
4763
|
+
|
|
4236
4764
|
/**
|
|
4237
4765
|
* RenewAire CORES API
|
|
4238
4766
|
*
|
|
@@ -4335,6 +4863,16 @@ var SetPreferredLanguageCommandPreferredLanguageEnum;
|
|
|
4335
4863
|
* Do not edit the class manually.
|
|
4336
4864
|
*/
|
|
4337
4865
|
|
|
4866
|
+
/**
|
|
4867
|
+
* RenewAire CORES API
|
|
4868
|
+
*
|
|
4869
|
+
* Contact: renewaire@saritasa.com
|
|
4870
|
+
*
|
|
4871
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4872
|
+
* https://openapi-generator.tech
|
|
4873
|
+
* Do not edit the class manually.
|
|
4874
|
+
*/
|
|
4875
|
+
|
|
4338
4876
|
/**
|
|
4339
4877
|
* RenewAire CORES API
|
|
4340
4878
|
*
|
|
@@ -4531,5 +5069,5 @@ function provideApi(configOrBasePath) {
|
|
|
4531
5069
|
* Generated bundle index. Do not edit.
|
|
4532
5070
|
*/
|
|
4533
5071
|
|
|
4534
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, 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 };
|
|
5072
|
+
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, UserTablesApiService, UsersApiService, provideApi };
|
|
4535
5073
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|