@energycap/energycapid-sdk-angular 1.2112.55-develop-20220117-1840 → 1.2112.59-develop-20220120-1618
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/api/applicationInstance.service.d.ts +2 -8
- package/api/organization.service.d.ts +2 -6
- package/bundles/energycap-energycapid-sdk-angular.umd.js +6 -31
- package/bundles/energycap-energycapid-sdk-angular.umd.js.map +1 -1
- package/bundles/energycap-energycapid-sdk-angular.umd.min.js +1 -1
- package/bundles/energycap-energycapid-sdk-angular.umd.min.js.map +1 -1
- package/esm2015/api/applicationInstance.service.js +4 -19
- package/esm2015/api/organization.service.js +4 -14
- package/esm2015/model/organizationResponse.js +1 -1
- package/fesm2015/energycap-energycapid-sdk-angular.js +6 -31
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/organizationResponse.d.ts +1 -1
- package/package.json +1 -1
|
@@ -78,16 +78,13 @@ export declare class ApplicationInstanceService {
|
|
|
78
78
|
/**
|
|
79
79
|
* Provides a list of all available application instances to which the logged in user has access
|
|
80
80
|
*
|
|
81
|
-
* @param organizationName Filter by an exact name of an organization
|
|
82
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
83
|
-
* @param targetHost Filter by a host name containing an alias
|
|
84
81
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
85
82
|
* @param orderBy
|
|
86
83
|
* @param filter
|
|
87
84
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
88
85
|
* @param pageNumber The current page number
|
|
89
86
|
*/
|
|
90
|
-
getApplicationInstances(
|
|
87
|
+
getApplicationInstances(onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
91
88
|
search: string | {
|
|
92
89
|
[param: string]: string | string[];
|
|
93
90
|
};
|
|
@@ -137,16 +134,13 @@ export declare class ApplicationInstanceService {
|
|
|
137
134
|
/**
|
|
138
135
|
* Provides a list of all available application instances to which the logged in user has access
|
|
139
136
|
*
|
|
140
|
-
* @param organizationName Filter by an exact name of an organization
|
|
141
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
142
|
-
* @param targetHost Filter by a host name containing an alias
|
|
143
137
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
144
138
|
* @param orderBy
|
|
145
139
|
* @param filter
|
|
146
140
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
147
141
|
* @param pageNumber The current page number
|
|
148
142
|
*/
|
|
149
|
-
getApplicationInstancesWithHttpInfo(
|
|
143
|
+
getApplicationInstancesWithHttpInfo(onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
150
144
|
search: string | {
|
|
151
145
|
[param: string]: string | string[];
|
|
152
146
|
};
|
|
@@ -91,10 +91,8 @@ export declare class OrganizationService {
|
|
|
91
91
|
/**
|
|
92
92
|
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
93
93
|
*
|
|
94
|
-
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
95
|
-
* @param pageNumber The current page number
|
|
96
94
|
*/
|
|
97
|
-
getOrganizationHierarchy(
|
|
95
|
+
getOrganizationHierarchy(extraHttpRequestParams?: {
|
|
98
96
|
search: string | {
|
|
99
97
|
[param: string]: string | string[];
|
|
100
98
|
};
|
|
@@ -219,10 +217,8 @@ export declare class OrganizationService {
|
|
|
219
217
|
/**
|
|
220
218
|
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
221
219
|
*
|
|
222
|
-
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
223
|
-
* @param pageNumber The current page number
|
|
224
220
|
*/
|
|
225
|
-
getOrganizationHierarchyWithHttpInfo(
|
|
221
|
+
getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams?: {
|
|
226
222
|
search: string | {
|
|
227
223
|
[param: string]: string | string[];
|
|
228
224
|
};
|
|
@@ -603,17 +603,14 @@
|
|
|
603
603
|
/**
|
|
604
604
|
* Provides a list of all available application instances to which the logged in user has access
|
|
605
605
|
*
|
|
606
|
-
* @param organizationName Filter by an exact name of an organization
|
|
607
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
608
|
-
* @param targetHost Filter by a host name containing an alias
|
|
609
606
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
610
607
|
* @param orderBy
|
|
611
608
|
* @param filter
|
|
612
609
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
613
610
|
* @param pageNumber The current page number
|
|
614
611
|
*/
|
|
615
|
-
ApplicationInstanceService.prototype.getApplicationInstances = function (
|
|
616
|
-
return this.getApplicationInstancesWithHttpInfo(
|
|
612
|
+
ApplicationInstanceService.prototype.getApplicationInstances = function (onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
613
|
+
return this.getApplicationInstancesWithHttpInfo(onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
617
614
|
.pipe(operators.map(function (response) {
|
|
618
615
|
if (response.status === 204) {
|
|
619
616
|
return undefined;
|
|
@@ -797,16 +794,13 @@
|
|
|
797
794
|
/**
|
|
798
795
|
* Provides a list of all available application instances to which the logged in user has access
|
|
799
796
|
*
|
|
800
|
-
* @param organizationName Filter by an exact name of an organization
|
|
801
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
802
|
-
* @param targetHost Filter by a host name containing an alias
|
|
803
797
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
804
798
|
* @param orderBy
|
|
805
799
|
* @param filter
|
|
806
800
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
807
801
|
* @param pageNumber The current page number
|
|
808
802
|
*/
|
|
809
|
-
ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (
|
|
803
|
+
ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
810
804
|
var _this = this;
|
|
811
805
|
var path = this.basePath + '/api/v202108/ApplicationInstance';
|
|
812
806
|
var queryParameters;
|
|
@@ -831,15 +825,6 @@
|
|
|
831
825
|
headers = headers.set(key, value);
|
|
832
826
|
});
|
|
833
827
|
}
|
|
834
|
-
if (organizationName !== undefined) {
|
|
835
|
-
queryParameters = queryParameters.set('organizationName', organizationName);
|
|
836
|
-
}
|
|
837
|
-
if (dataSourceName !== undefined) {
|
|
838
|
-
queryParameters = queryParameters.set('dataSourceName', dataSourceName);
|
|
839
|
-
}
|
|
840
|
-
if (targetHost !== undefined) {
|
|
841
|
-
queryParameters = queryParameters.set('targetHost', targetHost);
|
|
842
|
-
}
|
|
843
828
|
if (onlyAdmin !== undefined) {
|
|
844
829
|
queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
|
|
845
830
|
}
|
|
@@ -2759,11 +2744,9 @@
|
|
|
2759
2744
|
/**
|
|
2760
2745
|
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
2761
2746
|
*
|
|
2762
|
-
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
2763
|
-
* @param pageNumber The current page number
|
|
2764
2747
|
*/
|
|
2765
|
-
OrganizationService.prototype.getOrganizationHierarchy = function (
|
|
2766
|
-
return this.getOrganizationHierarchyWithHttpInfo(
|
|
2748
|
+
OrganizationService.prototype.getOrganizationHierarchy = function (extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2749
|
+
return this.getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2767
2750
|
.pipe(operators.map(function (response) {
|
|
2768
2751
|
if (response.status === 204) {
|
|
2769
2752
|
return undefined;
|
|
@@ -3071,10 +3054,8 @@
|
|
|
3071
3054
|
/**
|
|
3072
3055
|
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
3073
3056
|
*
|
|
3074
|
-
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
3075
|
-
* @param pageNumber The current page number
|
|
3076
3057
|
*/
|
|
3077
|
-
OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (
|
|
3058
|
+
OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3078
3059
|
var _this = this;
|
|
3079
3060
|
var path = this.basePath + '/api/v202112/Organization/hierarchy';
|
|
3080
3061
|
var queryParameters;
|
|
@@ -3099,12 +3080,6 @@
|
|
|
3099
3080
|
headers = headers.set(key, value);
|
|
3100
3081
|
});
|
|
3101
3082
|
}
|
|
3102
|
-
if (pageSize !== undefined) {
|
|
3103
|
-
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
3104
|
-
}
|
|
3105
|
-
if (pageNumber !== undefined) {
|
|
3106
|
-
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
3107
|
-
}
|
|
3108
3083
|
// to determine the Accept header
|
|
3109
3084
|
var produces = [
|
|
3110
3085
|
'application/json'
|