@energycap/energycapid-sdk-angular 1.2112.71-develop-20220201-1111 → 1.2112.75-develop-20220203-0844
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 +12 -12
- package/api/organization.service.d.ts +29 -0
- package/api/user.service.d.ts +12 -4
- package/bundles/energycap-energycapid-sdk-angular.umd.js +144 -27
- 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 +23 -25
- package/esm2015/api/organization.service.js +77 -1
- package/esm2015/api/user.service.js +24 -4
- package/esm2015/model/applicationInstanceUserResponse.js +1 -1
- package/esm2015/model/models.js +2 -1
- package/esm2015/model/updateOrganizationUserPermissionRequest.js +17 -0
- package/esm2015/model/userApplicationInstanceResponse.js +1 -1
- package/fesm2015/energycap-energycapid-sdk-angular.js +139 -28
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/applicationInstanceUserResponse.d.ts +24 -0
- package/model/models.d.ts +1 -0
- package/model/updateOrganizationUserPermissionRequest.d.ts +18 -0
- package/model/userApplicationInstanceResponse.d.ts +50 -0
- package/package.json +1 -1
|
@@ -38,10 +38,9 @@ export declare class ApplicationInstanceService {
|
|
|
38
38
|
/**
|
|
39
39
|
* Provides details to an application instance
|
|
40
40
|
*
|
|
41
|
-
* @param applicationInstanceId
|
|
42
|
-
* @param body Id of the application instance to return
|
|
41
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
43
42
|
*/
|
|
44
|
-
getApplicationInstanceDetails(applicationInstanceId: string,
|
|
43
|
+
getApplicationInstanceDetails(applicationInstanceId: string, extraHttpRequestParams?: {
|
|
45
44
|
search: string | {
|
|
46
45
|
[param: string]: string | string[];
|
|
47
46
|
};
|
|
@@ -63,12 +62,13 @@ export declare class ApplicationInstanceService {
|
|
|
63
62
|
/**
|
|
64
63
|
* Provides a list of user's who have access to an application instance
|
|
65
64
|
*
|
|
66
|
-
* @param applicationInstanceId
|
|
65
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
66
|
+
* @param orderBy
|
|
67
|
+
* @param filter
|
|
67
68
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
68
69
|
* @param pageNumber The current page number
|
|
69
|
-
* @param body Id of the application instance to return
|
|
70
70
|
*/
|
|
71
|
-
getApplicationInstanceUsers(applicationInstanceId: string,
|
|
71
|
+
getApplicationInstanceUsers(applicationInstanceId: string, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
72
72
|
search: string | {
|
|
73
73
|
[param: string]: string | string[];
|
|
74
74
|
};
|
|
@@ -94,10 +94,9 @@ export declare class ApplicationInstanceService {
|
|
|
94
94
|
/**
|
|
95
95
|
* Provides details to an application instance
|
|
96
96
|
*
|
|
97
|
-
* @param applicationInstanceId
|
|
98
|
-
* @param body Id of the application instance to return
|
|
97
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
99
98
|
*/
|
|
100
|
-
getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId: string,
|
|
99
|
+
getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId: string, extraHttpRequestParams?: {
|
|
101
100
|
search: string | {
|
|
102
101
|
[param: string]: string | string[];
|
|
103
102
|
};
|
|
@@ -119,12 +118,13 @@ export declare class ApplicationInstanceService {
|
|
|
119
118
|
/**
|
|
120
119
|
* Provides a list of user's who have access to an application instance
|
|
121
120
|
*
|
|
122
|
-
* @param applicationInstanceId
|
|
121
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
122
|
+
* @param orderBy
|
|
123
|
+
* @param filter
|
|
123
124
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
124
125
|
* @param pageNumber The current page number
|
|
125
|
-
* @param body Id of the application instance to return
|
|
126
126
|
*/
|
|
127
|
-
getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string,
|
|
127
|
+
getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
128
128
|
search: string | {
|
|
129
129
|
[param: string]: string | string[];
|
|
130
130
|
};
|
|
@@ -20,6 +20,7 @@ import { OrganizationResponse } from '../model/organizationResponse';
|
|
|
20
20
|
import { OrganizationUserResponse } from '../model/organizationUserResponse';
|
|
21
21
|
import { UpdateOrganizationAccessControlRequest } from '../model/updateOrganizationAccessControlRequest';
|
|
22
22
|
import { UpdateOrganizationDetailsRequest } from '../model/updateOrganizationDetailsRequest';
|
|
23
|
+
import { UpdateOrganizationUserPermissionRequest } from '../model/updateOrganizationUserPermissionRequest';
|
|
23
24
|
import { Configuration } from '../configuration';
|
|
24
25
|
export declare class OrganizationService {
|
|
25
26
|
protected http: HttpClient;
|
|
@@ -169,6 +170,20 @@ export declare class OrganizationService {
|
|
|
169
170
|
}, extraHttpRequestHeaders?: {
|
|
170
171
|
[header: string]: string | string[];
|
|
171
172
|
}): Observable<OrganizationDetailResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* Update organization user permission data You must be an admin to the organization to update this information
|
|
175
|
+
*
|
|
176
|
+
* @param organizationId The organization identifier
|
|
177
|
+
* @param userId The user identifier
|
|
178
|
+
* @param body
|
|
179
|
+
*/
|
|
180
|
+
updateOrganizationUserPermission(organizationId: string, userId: string, body?: UpdateOrganizationUserPermissionRequest, extraHttpRequestParams?: {
|
|
181
|
+
search: string | {
|
|
182
|
+
[param: string]: string | string[];
|
|
183
|
+
};
|
|
184
|
+
}, extraHttpRequestHeaders?: {
|
|
185
|
+
[header: string]: string | string[];
|
|
186
|
+
}): Observable<any>;
|
|
172
187
|
/**
|
|
173
188
|
* Create a new organization
|
|
174
189
|
*
|
|
@@ -299,4 +314,18 @@ export declare class OrganizationService {
|
|
|
299
314
|
}, extraHttpRequestHeaders?: {
|
|
300
315
|
[header: string]: string | string[];
|
|
301
316
|
}): Observable<HttpResponse<OrganizationDetailResponse>>;
|
|
317
|
+
/**
|
|
318
|
+
* Update organization user permission data You must be an admin to the organization to update this information
|
|
319
|
+
*
|
|
320
|
+
* @param organizationId The organization identifier
|
|
321
|
+
* @param userId The user identifier
|
|
322
|
+
* @param body
|
|
323
|
+
*/
|
|
324
|
+
updateOrganizationUserPermissionWithHttpInfo(organizationId: string, userId: string, body?: UpdateOrganizationUserPermissionRequest, extraHttpRequestParams?: {
|
|
325
|
+
search: string | {
|
|
326
|
+
[param: string]: string | string[];
|
|
327
|
+
};
|
|
328
|
+
}, extraHttpRequestHeaders?: {
|
|
329
|
+
[header: string]: string | string[];
|
|
330
|
+
}): Observable<HttpResponse<any>>;
|
|
302
331
|
}
|
package/api/user.service.d.ts
CHANGED
|
@@ -70,14 +70,18 @@ export declare class UserService {
|
|
|
70
70
|
* Return all application instances a user has access to and you are an admin to
|
|
71
71
|
*
|
|
72
72
|
* @param userId The user to get application instances for
|
|
73
|
+
* @param filter
|
|
74
|
+
* @param orderBy
|
|
75
|
+
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
76
|
+
* @param pageNumber The current page number
|
|
73
77
|
*/
|
|
74
|
-
getUserApplicationInstances(userId: string, extraHttpRequestParams?: {
|
|
78
|
+
getUserApplicationInstances(userId: string, filter?: string, orderBy?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
75
79
|
search: string | {
|
|
76
80
|
[param: string]: string | string[];
|
|
77
81
|
};
|
|
78
82
|
}, extraHttpRequestHeaders?: {
|
|
79
83
|
[header: string]: string | string[];
|
|
80
|
-
}): Observable<UserApplicationInstanceResponse
|
|
84
|
+
}): Observable<Array<UserApplicationInstanceResponse>>;
|
|
81
85
|
/**
|
|
82
86
|
* Use this method to get information about a user
|
|
83
87
|
*
|
|
@@ -211,14 +215,18 @@ export declare class UserService {
|
|
|
211
215
|
* Return all application instances a user has access to and you are an admin to
|
|
212
216
|
*
|
|
213
217
|
* @param userId The user to get application instances for
|
|
218
|
+
* @param filter
|
|
219
|
+
* @param orderBy
|
|
220
|
+
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
221
|
+
* @param pageNumber The current page number
|
|
214
222
|
*/
|
|
215
|
-
getUserApplicationInstancesWithHttpInfo(userId: string, extraHttpRequestParams?: {
|
|
223
|
+
getUserApplicationInstancesWithHttpInfo(userId: string, filter?: string, orderBy?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
|
|
216
224
|
search: string | {
|
|
217
225
|
[param: string]: string | string[];
|
|
218
226
|
};
|
|
219
227
|
}, extraHttpRequestHeaders?: {
|
|
220
228
|
[header: string]: string | string[];
|
|
221
|
-
}): Observable<HttpResponse<UserApplicationInstanceResponse
|
|
229
|
+
}): Observable<HttpResponse<Array<UserApplicationInstanceResponse>>>;
|
|
222
230
|
/**
|
|
223
231
|
* Use this method to get information about a user
|
|
224
232
|
*
|
|
@@ -551,11 +551,10 @@
|
|
|
551
551
|
/**
|
|
552
552
|
* Provides details to an application instance
|
|
553
553
|
*
|
|
554
|
-
* @param applicationInstanceId
|
|
555
|
-
* @param body Id of the application instance to return
|
|
554
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
556
555
|
*/
|
|
557
|
-
ApplicationInstanceService.prototype.getApplicationInstanceDetails = function (applicationInstanceId,
|
|
558
|
-
return this.getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId,
|
|
556
|
+
ApplicationInstanceService.prototype.getApplicationInstanceDetails = function (applicationInstanceId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
557
|
+
return this.getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
559
558
|
.pipe(operators.map(function (response) {
|
|
560
559
|
if (response.status === 204) {
|
|
561
560
|
return undefined;
|
|
@@ -584,13 +583,14 @@
|
|
|
584
583
|
/**
|
|
585
584
|
* Provides a list of user's who have access to an application instance
|
|
586
585
|
*
|
|
587
|
-
* @param applicationInstanceId
|
|
586
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
587
|
+
* @param orderBy
|
|
588
|
+
* @param filter
|
|
588
589
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
589
590
|
* @param pageNumber The current page number
|
|
590
|
-
* @param body Id of the application instance to return
|
|
591
591
|
*/
|
|
592
|
-
ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, pageSize, pageNumber,
|
|
593
|
-
return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, pageSize, pageNumber,
|
|
592
|
+
ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
593
|
+
return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
594
594
|
.pipe(operators.map(function (response) {
|
|
595
595
|
if (response.status === 204) {
|
|
596
596
|
return undefined;
|
|
@@ -623,10 +623,9 @@
|
|
|
623
623
|
/**
|
|
624
624
|
* Provides details to an application instance
|
|
625
625
|
*
|
|
626
|
-
* @param applicationInstanceId
|
|
627
|
-
* @param body Id of the application instance to return
|
|
626
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
628
627
|
*/
|
|
629
|
-
ApplicationInstanceService.prototype.getApplicationInstanceDetailsWithHttpInfo = function (applicationInstanceId,
|
|
628
|
+
ApplicationInstanceService.prototype.getApplicationInstanceDetailsWithHttpInfo = function (applicationInstanceId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
630
629
|
var _this = this;
|
|
631
630
|
var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/detail'
|
|
632
631
|
.replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
|
|
@@ -663,13 +662,9 @@
|
|
|
663
662
|
if (this.configuration.apiKeys["Authorization"]) {
|
|
664
663
|
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
665
664
|
}
|
|
666
|
-
var consumes = [
|
|
667
|
-
'application/json'
|
|
668
|
-
];
|
|
669
|
-
headers = headers.set('Content-Type', consumes[0]);
|
|
665
|
+
var consumes = [];
|
|
670
666
|
var requestOptions = {
|
|
671
667
|
headers: headers,
|
|
672
|
-
body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
|
|
673
668
|
params: queryParameters,
|
|
674
669
|
withCredentials: this.configuration.withCredentials,
|
|
675
670
|
observe: 'response'
|
|
@@ -730,12 +725,13 @@
|
|
|
730
725
|
/**
|
|
731
726
|
* Provides a list of user's who have access to an application instance
|
|
732
727
|
*
|
|
733
|
-
* @param applicationInstanceId
|
|
728
|
+
* @param applicationInstanceId Id of the application instance to return
|
|
729
|
+
* @param orderBy
|
|
730
|
+
* @param filter
|
|
734
731
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
735
732
|
* @param pageNumber The current page number
|
|
736
|
-
* @param body Id of the application instance to return
|
|
737
733
|
*/
|
|
738
|
-
ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, pageSize, pageNumber,
|
|
734
|
+
ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
739
735
|
var _this = this;
|
|
740
736
|
var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/user'
|
|
741
737
|
.replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
|
|
@@ -765,6 +761,12 @@
|
|
|
765
761
|
if (applicationInstanceId === null || applicationInstanceId === undefined) {
|
|
766
762
|
throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceUsers.');
|
|
767
763
|
}
|
|
764
|
+
if (orderBy !== undefined) {
|
|
765
|
+
queryParameters = queryParameters.set('orderBy', orderBy);
|
|
766
|
+
}
|
|
767
|
+
if (filter !== undefined) {
|
|
768
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
769
|
+
}
|
|
768
770
|
if (pageSize !== undefined) {
|
|
769
771
|
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
770
772
|
}
|
|
@@ -778,13 +780,9 @@
|
|
|
778
780
|
if (this.configuration.apiKeys["Authorization"]) {
|
|
779
781
|
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
780
782
|
}
|
|
781
|
-
var consumes = [
|
|
782
|
-
'application/json'
|
|
783
|
-
];
|
|
784
|
-
headers = headers.set('Content-Type', consumes[0]);
|
|
783
|
+
var consumes = [];
|
|
785
784
|
var requestOptions = {
|
|
786
785
|
headers: headers,
|
|
787
|
-
body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
|
|
788
786
|
params: queryParameters,
|
|
789
787
|
withCredentials: this.configuration.withCredentials,
|
|
790
788
|
observe: 'response'
|
|
@@ -2846,6 +2844,24 @@
|
|
|
2846
2844
|
}
|
|
2847
2845
|
}));
|
|
2848
2846
|
};
|
|
2847
|
+
/**
|
|
2848
|
+
* Update organization user permission data You must be an admin to the organization to update this information
|
|
2849
|
+
*
|
|
2850
|
+
* @param organizationId The organization identifier
|
|
2851
|
+
* @param userId The user identifier
|
|
2852
|
+
* @param body
|
|
2853
|
+
*/
|
|
2854
|
+
OrganizationService.prototype.updateOrganizationUserPermission = function (organizationId, userId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2855
|
+
return this.updateOrganizationUserPermissionWithHttpInfo(organizationId, userId, body, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2856
|
+
.pipe(operators.map(function (response) {
|
|
2857
|
+
if (response.status === 204) {
|
|
2858
|
+
return undefined;
|
|
2859
|
+
}
|
|
2860
|
+
else {
|
|
2861
|
+
return response.body;
|
|
2862
|
+
}
|
|
2863
|
+
}));
|
|
2864
|
+
};
|
|
2849
2865
|
/**
|
|
2850
2866
|
* Create a new organization
|
|
2851
2867
|
*
|
|
@@ -3393,6 +3409,66 @@
|
|
|
3393
3409
|
};
|
|
3394
3410
|
return this.http.request(RequestMethod$2.Put, path, requestOptions);
|
|
3395
3411
|
};
|
|
3412
|
+
/**
|
|
3413
|
+
* Update organization user permission data You must be an admin to the organization to update this information
|
|
3414
|
+
*
|
|
3415
|
+
* @param organizationId The organization identifier
|
|
3416
|
+
* @param userId The user identifier
|
|
3417
|
+
* @param body
|
|
3418
|
+
*/
|
|
3419
|
+
OrganizationService.prototype.updateOrganizationUserPermissionWithHttpInfo = function (organizationId, userId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3420
|
+
var _this = this;
|
|
3421
|
+
var path = this.basePath + '/api/v202112/Organization/${organizationId}/user/${userId}'
|
|
3422
|
+
.replace('${' + 'organizationId' + '}', String(organizationId))
|
|
3423
|
+
.replace('${' + 'userId' + '}', String(userId));
|
|
3424
|
+
var queryParameters;
|
|
3425
|
+
if (extraHttpRequestParams) {
|
|
3426
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
3427
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
3428
|
+
}
|
|
3429
|
+
else {
|
|
3430
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
else {
|
|
3434
|
+
queryParameters = new http.HttpParams();
|
|
3435
|
+
}
|
|
3436
|
+
var headers = new http.HttpHeaders();
|
|
3437
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
3438
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
3439
|
+
});
|
|
3440
|
+
if (extraHttpRequestHeaders) {
|
|
3441
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
3442
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
3443
|
+
headers = headers.set(key, value);
|
|
3444
|
+
});
|
|
3445
|
+
}
|
|
3446
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3447
|
+
if (organizationId === null || organizationId === undefined) {
|
|
3448
|
+
throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationUserPermission.');
|
|
3449
|
+
}
|
|
3450
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3451
|
+
if (userId === null || userId === undefined) {
|
|
3452
|
+
throw new Error('Required parameter userId was null or undefined when calling updateOrganizationUserPermission.');
|
|
3453
|
+
}
|
|
3454
|
+
// to determine the Accept header
|
|
3455
|
+
var produces = [];
|
|
3456
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
3457
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
3458
|
+
}
|
|
3459
|
+
var consumes = [
|
|
3460
|
+
'application/json'
|
|
3461
|
+
];
|
|
3462
|
+
headers = headers.set('Content-Type', consumes[0]);
|
|
3463
|
+
var requestOptions = {
|
|
3464
|
+
headers: headers,
|
|
3465
|
+
body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
|
|
3466
|
+
params: queryParameters,
|
|
3467
|
+
withCredentials: this.configuration.withCredentials,
|
|
3468
|
+
observe: 'response'
|
|
3469
|
+
};
|
|
3470
|
+
return this.http.request(RequestMethod$2.Put, path, requestOptions);
|
|
3471
|
+
};
|
|
3396
3472
|
return OrganizationService;
|
|
3397
3473
|
}());
|
|
3398
3474
|
OrganizationService.decorators = [
|
|
@@ -3639,9 +3715,13 @@
|
|
|
3639
3715
|
* Return all application instances a user has access to and you are an admin to
|
|
3640
3716
|
*
|
|
3641
3717
|
* @param userId The user to get application instances for
|
|
3718
|
+
* @param filter
|
|
3719
|
+
* @param orderBy
|
|
3720
|
+
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
3721
|
+
* @param pageNumber The current page number
|
|
3642
3722
|
*/
|
|
3643
|
-
UserService.prototype.getUserApplicationInstances = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3644
|
-
return this.getUserApplicationInstancesWithHttpInfo(userId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
3723
|
+
UserService.prototype.getUserApplicationInstances = function (userId, filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3724
|
+
return this.getUserApplicationInstancesWithHttpInfo(userId, filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
3645
3725
|
.pipe(operators.map(function (response) {
|
|
3646
3726
|
if (response.status === 204) {
|
|
3647
3727
|
return undefined;
|
|
@@ -3896,8 +3976,12 @@
|
|
|
3896
3976
|
* Return all application instances a user has access to and you are an admin to
|
|
3897
3977
|
*
|
|
3898
3978
|
* @param userId The user to get application instances for
|
|
3979
|
+
* @param filter
|
|
3980
|
+
* @param orderBy
|
|
3981
|
+
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
3982
|
+
* @param pageNumber The current page number
|
|
3899
3983
|
*/
|
|
3900
|
-
UserService.prototype.getUserApplicationInstancesWithHttpInfo = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3984
|
+
UserService.prototype.getUserApplicationInstancesWithHttpInfo = function (userId, filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3901
3985
|
var _this = this;
|
|
3902
3986
|
var path = this.basePath + '/api/v202112/User/${userId}/applicationInstance'
|
|
3903
3987
|
.replace('${' + 'userId' + '}', String(userId));
|
|
@@ -3927,6 +4011,18 @@
|
|
|
3927
4011
|
if (userId === null || userId === undefined) {
|
|
3928
4012
|
throw new Error('Required parameter userId was null or undefined when calling getUserApplicationInstances.');
|
|
3929
4013
|
}
|
|
4014
|
+
if (filter !== undefined) {
|
|
4015
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
4016
|
+
}
|
|
4017
|
+
if (orderBy !== undefined) {
|
|
4018
|
+
queryParameters = queryParameters.set('orderBy', orderBy);
|
|
4019
|
+
}
|
|
4020
|
+
if (pageSize !== undefined) {
|
|
4021
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
4022
|
+
}
|
|
4023
|
+
if (pageNumber !== undefined) {
|
|
4024
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
4025
|
+
}
|
|
3930
4026
|
// to determine the Accept header
|
|
3931
4027
|
var produces = [
|
|
3932
4028
|
'application/json'
|
|
@@ -5250,6 +5346,26 @@
|
|
|
5250
5346
|
return UpdateOrganizationDetailsRequest;
|
|
5251
5347
|
}());
|
|
5252
5348
|
|
|
5349
|
+
/**
|
|
5350
|
+
* EnergyCAP ID SDK
|
|
5351
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
5352
|
+
*
|
|
5353
|
+
* OpenAPI spec version: 1.2112
|
|
5354
|
+
* Contact: support@energycap.com
|
|
5355
|
+
*
|
|
5356
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
5357
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
5358
|
+
* Do not edit the class manually.
|
|
5359
|
+
*/
|
|
5360
|
+
/**
|
|
5361
|
+
* Request for updating organization user permission data
|
|
5362
|
+
*/
|
|
5363
|
+
var UpdateOrganizationUserPermissionRequest = /** @class */ (function () {
|
|
5364
|
+
function UpdateOrganizationUserPermissionRequest() {
|
|
5365
|
+
}
|
|
5366
|
+
return UpdateOrganizationUserPermissionRequest;
|
|
5367
|
+
}());
|
|
5368
|
+
|
|
5253
5369
|
/**
|
|
5254
5370
|
* EnergyCAP ID SDK
|
|
5255
5371
|
* Document used to generate the EnergyCAP ID SDK
|
|
@@ -5592,6 +5708,7 @@
|
|
|
5592
5708
|
exports.UpdateMeRequest = UpdateMeRequest;
|
|
5593
5709
|
exports.UpdateOrganizationAccessControlRequest = UpdateOrganizationAccessControlRequest;
|
|
5594
5710
|
exports.UpdateOrganizationDetailsRequest = UpdateOrganizationDetailsRequest;
|
|
5711
|
+
exports.UpdateOrganizationUserPermissionRequest = UpdateOrganizationUserPermissionRequest;
|
|
5595
5712
|
exports.UpdateResult = UpdateResult;
|
|
5596
5713
|
exports.UserApplicationInstanceResponse = UserApplicationInstanceResponse;
|
|
5597
5714
|
exports.UserChild = UserChild;
|