@energycap/energycapid-sdk-angular 1.2112.54-develop-20220117-1758 → 1.2112.58-develop-20220120-0923
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 +10 -14
- package/bundles/energycap-energycapid-sdk-angular.umd.js +36 -42
- 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/energycap-energycapid-sdk-angular.metadata.json +1 -1
- package/esm2015/api/applicationInstance.service.js +4 -19
- package/esm2015/api/organization.service.js +15 -25
- package/esm2015/model/domainJoinTypeResponse.js +1 -1
- package/esm2015/model/models.js +2 -1
- package/esm2015/model/organizationResponse.js +1 -1
- package/esm2015/model/userOrganizationStateEnum.js +19 -0
- package/fesm2015/energycap-energycapid-sdk-angular.js +37 -43
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/domainJoinTypeResponse.d.ts +0 -4
- package/model/models.d.ts +1 -0
- package/model/organizationResponse.d.ts +7 -1
- package/model/userOrganizationStateEnum.d.ts +17 -0
- 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
|
};
|
|
@@ -89,12 +89,10 @@ export declare class OrganizationService {
|
|
|
89
89
|
[header: string]: string | string[];
|
|
90
90
|
}): Observable<OrganizationDetailResponse>;
|
|
91
91
|
/**
|
|
92
|
-
* Returns
|
|
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
|
};
|
|
@@ -116,11 +114,11 @@ export declare class OrganizationService {
|
|
|
116
114
|
/**
|
|
117
115
|
* Gets the organizations to which the logged in user has access
|
|
118
116
|
*
|
|
119
|
-
* @param
|
|
120
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
117
|
+
* @param filter
|
|
118
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
121
119
|
* @param pageNumber The current page number
|
|
122
120
|
*/
|
|
123
|
-
getOrganizations(
|
|
121
|
+
getOrganizations(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
124
122
|
search: string | {
|
|
125
123
|
[param: string]: string | string[];
|
|
126
124
|
};
|
|
@@ -217,12 +215,10 @@ export declare class OrganizationService {
|
|
|
217
215
|
[header: string]: string | string[];
|
|
218
216
|
}): Observable<HttpResponse<OrganizationDetailResponse>>;
|
|
219
217
|
/**
|
|
220
|
-
* Returns
|
|
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
|
};
|
|
@@ -244,11 +240,11 @@ export declare class OrganizationService {
|
|
|
244
240
|
/**
|
|
245
241
|
* Gets the organizations to which the logged in user has access
|
|
246
242
|
*
|
|
247
|
-
* @param
|
|
248
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
243
|
+
* @param filter
|
|
244
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
249
245
|
* @param pageNumber The current page number
|
|
250
246
|
*/
|
|
251
|
-
getOrganizationsWithHttpInfo(
|
|
247
|
+
getOrganizationsWithHttpInfo(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
252
248
|
search: string | {
|
|
253
249
|
[param: string]: string | string[];
|
|
254
250
|
};
|
|
@@ -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
|
}
|
|
@@ -2757,13 +2742,11 @@
|
|
|
2757
2742
|
}));
|
|
2758
2743
|
};
|
|
2759
2744
|
/**
|
|
2760
|
-
* Returns
|
|
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;
|
|
@@ -2792,12 +2775,12 @@
|
|
|
2792
2775
|
/**
|
|
2793
2776
|
* Gets the organizations to which the logged in user has access
|
|
2794
2777
|
*
|
|
2795
|
-
* @param
|
|
2796
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
2778
|
+
* @param filter
|
|
2779
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
2797
2780
|
* @param pageNumber The current page number
|
|
2798
2781
|
*/
|
|
2799
|
-
OrganizationService.prototype.getOrganizations = function (
|
|
2800
|
-
return this.getOrganizationsWithHttpInfo(
|
|
2782
|
+
OrganizationService.prototype.getOrganizations = function (filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2783
|
+
return this.getOrganizationsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2801
2784
|
.pipe(operators.map(function (response) {
|
|
2802
2785
|
if (response.status === 204) {
|
|
2803
2786
|
return undefined;
|
|
@@ -3069,12 +3052,10 @@
|
|
|
3069
3052
|
return this.http.request(RequestMethod$2.Get, path, requestOptions);
|
|
3070
3053
|
};
|
|
3071
3054
|
/**
|
|
3072
|
-
* Returns
|
|
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'
|
|
@@ -3175,11 +3150,11 @@
|
|
|
3175
3150
|
/**
|
|
3176
3151
|
* Gets the organizations to which the logged in user has access
|
|
3177
3152
|
*
|
|
3178
|
-
* @param
|
|
3179
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
3153
|
+
* @param filter
|
|
3154
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
3180
3155
|
* @param pageNumber The current page number
|
|
3181
3156
|
*/
|
|
3182
|
-
OrganizationService.prototype.getOrganizationsWithHttpInfo = function (
|
|
3157
|
+
OrganizationService.prototype.getOrganizationsWithHttpInfo = function (filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3183
3158
|
var _this = this;
|
|
3184
3159
|
var path = this.basePath + '/api/v202108/Organization';
|
|
3185
3160
|
var queryParameters;
|
|
@@ -3204,8 +3179,8 @@
|
|
|
3204
3179
|
headers = headers.set(key, value);
|
|
3205
3180
|
});
|
|
3206
3181
|
}
|
|
3207
|
-
if (
|
|
3208
|
-
queryParameters = queryParameters.set('
|
|
3182
|
+
if (filter !== undefined) {
|
|
3183
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
3209
3184
|
}
|
|
3210
3185
|
if (pageSize !== undefined) {
|
|
3211
3186
|
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
@@ -5237,6 +5212,25 @@
|
|
|
5237
5212
|
return UserOrganizationResponse;
|
|
5238
5213
|
}());
|
|
5239
5214
|
|
|
5215
|
+
/**
|
|
5216
|
+
* EnergyCAP ID SDK
|
|
5217
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
5218
|
+
*
|
|
5219
|
+
* OpenAPI spec version: 1.2112
|
|
5220
|
+
* Contact: support@energycap.com
|
|
5221
|
+
*
|
|
5222
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
5223
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
5224
|
+
* Do not edit the class manually.
|
|
5225
|
+
*/
|
|
5226
|
+
exports.UserOrganizationStateEnum = void 0;
|
|
5227
|
+
(function (UserOrganizationStateEnum) {
|
|
5228
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["Member"] = 'Member'] = "Member";
|
|
5229
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["JoinRequestPending"] = 'JoinRequestPending'] = "JoinRequestPending";
|
|
5230
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["CanRequestJoin"] = 'CanRequestJoin'] = "CanRequestJoin";
|
|
5231
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["AutoJoinable"] = 'AutoJoinable'] = "AutoJoinable";
|
|
5232
|
+
})(exports.UserOrganizationStateEnum || (exports.UserOrganizationStateEnum = {}));
|
|
5233
|
+
|
|
5240
5234
|
/**
|
|
5241
5235
|
* EnergyCAP ID SDK
|
|
5242
5236
|
* Document used to generate the EnergyCAP ID SDK
|