@energycap/energycapid-sdk-angular 1.2108.37 → 1.2112.41-develop-20211220-1233
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/api.d.ts +3 -1
- package/api/application.service.d.ts +1 -1
- package/api/applicationInstance.service.d.ts +61 -3
- package/api/auth.service.d.ts +1 -1
- package/api/dataSource.service.d.ts +1 -1
- package/api/domainJoinType.service.d.ts +57 -0
- package/api/environment.service.d.ts +1 -1
- package/api/me.service.d.ts +1 -1
- package/api/organization.service.d.ts +204 -1
- package/api/organizationApplication.service.d.ts +1 -1
- package/api/user.service.d.ts +51 -1
- package/bundles/energycap-energycapid-sdk-angular.umd.js +1481 -180
- 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/api.js +4 -2
- package/esm2015/api/application.service.js +2 -2
- package/esm2015/api/applicationInstance.service.js +157 -5
- package/esm2015/api/auth.service.js +2 -2
- package/esm2015/api/dataSource.service.js +2 -2
- package/esm2015/api/domainJoinType.service.js +135 -0
- package/esm2015/api/environment.service.js +2 -2
- package/esm2015/api/me.service.js +2 -2
- package/esm2015/api/organization.service.js +531 -2
- package/esm2015/api/organizationApplication.service.js +2 -2
- package/esm2015/api/user.service.js +132 -2
- package/esm2015/api.module.js +3 -2
- package/esm2015/model/aPIFilter.js +14 -0
- package/esm2015/model/aPIOrderBy.js +14 -0
- package/esm2015/model/allUserPermissionsResponse.js +2 -2
- package/esm2015/model/applicationInstanceDetailResponse.js +17 -0
- package/esm2015/model/applicationInstanceRedirectResponse.js +2 -2
- package/esm2015/model/applicationInstanceResponse.js +2 -2
- package/esm2015/model/applicationInstanceUserResponse.js +17 -0
- package/esm2015/model/applicationResponse.js +2 -2
- package/esm2015/model/changePasswordRequest.js +2 -2
- package/esm2015/model/createOrganizationRequest.js +14 -0
- package/esm2015/model/dataSourceResponse.js +2 -2
- package/esm2015/model/dataSourceUpdateRequest.js +2 -2
- package/esm2015/model/domainAccessControlResponse.js +17 -0
- package/esm2015/model/domainJoinTypeResponse.js +17 -0
- package/esm2015/model/entityPermission.js +2 -2
- package/esm2015/model/environmentResponse.js +2 -2
- package/esm2015/model/hierarchicalOrganizations.js +14 -0
- package/esm2015/model/hierarchicalOrganizations2.js +14 -0
- package/esm2015/model/inviteUserRequest.js +2 -2
- package/esm2015/model/linkDataSourceRequest.js +2 -2
- package/esm2015/model/loginResponse.js +2 -2
- package/esm2015/model/loginSourceResponse.js +2 -2
- package/esm2015/model/models.js +18 -1
- package/esm2015/model/organizationAccessControlResponse.js +17 -0
- package/esm2015/model/organizationApplicationResponse.js +2 -2
- package/esm2015/model/organizationDetailResponse.js +17 -0
- package/esm2015/model/organizationResponse.js +2 -2
- package/esm2015/model/organizationUserResponse.js +14 -0
- package/esm2015/model/resetPasswordRequest.js +2 -2
- package/esm2015/model/roleEnum.js +2 -2
- package/esm2015/model/selfCreateUserRequest.js +2 -2
- package/esm2015/model/updateMeRequest.js +2 -2
- package/esm2015/model/updateOrganizationAccessControlRequest.js +14 -0
- package/esm2015/model/updateOrganizationDetailsRequest.js +14 -0
- package/esm2015/model/userApplicationInstanceResponse.js +17 -0
- package/esm2015/model/userAuthResultEnum.js +2 -2
- package/esm2015/model/userChild.js +17 -0
- package/esm2015/model/userLoginRequest.js +2 -2
- package/esm2015/model/userOrganizationResponse.js +17 -0
- package/esm2015/model/userPermissionRequest.js +2 -2
- package/esm2015/model/userPermissionResponse.js +2 -2
- package/esm2015/model/userResponse.js +2 -2
- package/esm2015/model/userStatusEnum.js +2 -2
- package/esm2015/model/validatePasswordRequest.js +2 -2
- package/esm2015/model/validatePasswordResponse.js +2 -2
- package/fesm2015/energycap-energycapid-sdk-angular.js +1501 -296
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/aPIFilter.d.ts +13 -0
- package/model/aPIOrderBy.d.ts +13 -0
- package/model/allUserPermissionsResponse.d.ts +1 -1
- package/model/applicationInstanceDetailResponse.d.ts +16 -0
- package/model/applicationInstanceRedirectResponse.d.ts +1 -1
- package/model/applicationInstanceResponse.d.ts +1 -1
- package/model/applicationInstanceUserResponse.d.ts +16 -0
- package/model/applicationResponse.d.ts +1 -1
- package/model/changePasswordRequest.d.ts +1 -1
- package/model/createOrganizationRequest.d.ts +13 -0
- package/model/dataSourceResponse.d.ts +1 -1
- package/model/dataSourceUpdateRequest.d.ts +1 -1
- package/model/domainAccessControlResponse.d.ts +22 -0
- package/model/domainJoinTypeResponse.d.ts +28 -0
- package/model/entityPermission.d.ts +1 -1
- package/model/environmentResponse.d.ts +1 -1
- package/model/hierarchicalOrganizations.d.ts +42 -0
- package/model/hierarchicalOrganizations2.d.ts +21 -0
- package/model/inviteUserRequest.d.ts +1 -1
- package/model/linkDataSourceRequest.d.ts +1 -1
- package/model/loginResponse.d.ts +1 -1
- package/model/loginSourceResponse.d.ts +1 -1
- package/model/models.d.ts +17 -0
- package/model/organizationAccessControlResponse.d.ts +32 -0
- package/model/organizationApplicationResponse.d.ts +1 -1
- package/model/organizationDetailResponse.d.ts +28 -0
- package/model/organizationResponse.d.ts +1 -1
- package/model/organizationUserResponse.d.ts +13 -0
- package/model/resetPasswordRequest.d.ts +1 -1
- package/model/roleEnum.d.ts +1 -1
- package/model/selfCreateUserRequest.d.ts +1 -1
- package/model/updateMeRequest.d.ts +1 -1
- package/model/updateOrganizationAccessControlRequest.d.ts +13 -0
- package/model/updateOrganizationDetailsRequest.d.ts +13 -0
- package/model/userApplicationInstanceResponse.d.ts +16 -0
- package/model/userAuthResultEnum.d.ts +1 -1
- package/model/userChild.d.ts +36 -0
- package/model/userLoginRequest.d.ts +1 -1
- package/model/userOrganizationResponse.d.ts +16 -0
- package/model/userPermissionRequest.d.ts +1 -1
- package/model/userPermissionResponse.d.ts +1 -1
- package/model/userResponse.d.ts +1 -1
- package/model/userStatusEnum.d.ts +1 -1
- package/model/validatePasswordRequest.d.ts +1 -1
- package/model/validatePasswordResponse.d.ts +1 -1
- package/package.json +1 -1
package/api/api.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './auth.service';
|
|
|
6
6
|
import { AuthService } from './auth.service';
|
|
7
7
|
export * from './dataSource.service';
|
|
8
8
|
import { DataSourceService } from './dataSource.service';
|
|
9
|
+
export * from './domainJoinType.service';
|
|
10
|
+
import { DomainJoinTypeService } from './domainJoinType.service';
|
|
9
11
|
export * from './environment.service';
|
|
10
12
|
import { EnvironmentService } from './environment.service';
|
|
11
13
|
export * from './me.service';
|
|
@@ -16,4 +18,4 @@ export * from './organizationApplication.service';
|
|
|
16
18
|
import { OrganizationApplicationService } from './organizationApplication.service';
|
|
17
19
|
export * from './user.service';
|
|
18
20
|
import { UserService } from './user.service';
|
|
19
|
-
export declare const APIS: (typeof ApplicationService | typeof ApplicationInstanceService | typeof AuthService | typeof DataSourceService | typeof EnvironmentService | typeof MeService | typeof OrganizationService | typeof OrganizationApplicationService | typeof UserService)[];
|
|
21
|
+
export declare const APIS: (typeof ApplicationService | typeof ApplicationInstanceService | typeof AuthService | typeof DataSourceService | typeof DomainJoinTypeService | typeof EnvironmentService | typeof MeService | typeof OrganizationService | typeof OrganizationApplicationService | typeof UserService)[];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* EnergyCAP ID SDK
|
|
3
3
|
* Document used to generate the EnergyCAP ID SDK
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.2112
|
|
6
6
|
* Contact: support@energycap.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
13
13
|
import { HttpResponse } from '@angular/common/http';
|
|
14
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { ApplicationInstanceDetailResponse } from '../model/applicationInstanceDetailResponse';
|
|
15
16
|
import { ApplicationInstanceRedirectResponse } from '../model/applicationInstanceRedirectResponse';
|
|
16
17
|
import { ApplicationInstanceResponse } from '../model/applicationInstanceResponse';
|
|
18
|
+
import { ApplicationInstanceUserResponse } from '../model/applicationInstanceUserResponse';
|
|
17
19
|
import { Configuration } from '../configuration';
|
|
18
20
|
export declare class ApplicationInstanceService {
|
|
19
21
|
protected http: HttpClient;
|
|
@@ -33,6 +35,19 @@ export declare class ApplicationInstanceService {
|
|
|
33
35
|
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
34
36
|
*/
|
|
35
37
|
private canConsumeForm;
|
|
38
|
+
/**
|
|
39
|
+
* Provides details to an application instance
|
|
40
|
+
*
|
|
41
|
+
* @param applicationInstanceId
|
|
42
|
+
* @param body Id of the application instance to return
|
|
43
|
+
*/
|
|
44
|
+
getApplicationInstanceDetails(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
|
|
45
|
+
search: string | {
|
|
46
|
+
[param: string]: string | string[];
|
|
47
|
+
};
|
|
48
|
+
}, extraHttpRequestHeaders?: {
|
|
49
|
+
[header: string]: string | string[];
|
|
50
|
+
}): Observable<Array<ApplicationInstanceDetailResponse>>;
|
|
36
51
|
/**
|
|
37
52
|
* Provides the data needed to redirect the user to the specified application instance
|
|
38
53
|
* If the Application Instance is configured with an Alias, the exchange URL from the Alias will be returned instead of that from the associated Application Environment.
|
|
@@ -45,6 +60,19 @@ export declare class ApplicationInstanceService {
|
|
|
45
60
|
}, extraHttpRequestHeaders?: {
|
|
46
61
|
[header: string]: string | string[];
|
|
47
62
|
}): Observable<ApplicationInstanceRedirectResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Provides a list of user's who have access to an application instance
|
|
65
|
+
*
|
|
66
|
+
* @param applicationInstanceId
|
|
67
|
+
* @param body Id of the application instance to return
|
|
68
|
+
*/
|
|
69
|
+
getApplicationInstanceUsers(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
|
|
70
|
+
search: string | {
|
|
71
|
+
[param: string]: string | string[];
|
|
72
|
+
};
|
|
73
|
+
}, extraHttpRequestHeaders?: {
|
|
74
|
+
[header: string]: string | string[];
|
|
75
|
+
}): Observable<Array<ApplicationInstanceUserResponse>>;
|
|
48
76
|
/**
|
|
49
77
|
* Provides a list of all available application instances to which the logged in user has access
|
|
50
78
|
*
|
|
@@ -52,14 +80,29 @@ export declare class ApplicationInstanceService {
|
|
|
52
80
|
* @param dataSourceName Filter by an exact name of a data source
|
|
53
81
|
* @param targetHost Filter by a host name containing an alias
|
|
54
82
|
* @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
|
|
83
|
+
* @param orderBy
|
|
84
|
+
* @param filter
|
|
55
85
|
*/
|
|
56
|
-
getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, extraHttpRequestParams?: {
|
|
86
|
+
getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, extraHttpRequestParams?: {
|
|
57
87
|
search: string | {
|
|
58
88
|
[param: string]: string | string[];
|
|
59
89
|
};
|
|
60
90
|
}, extraHttpRequestHeaders?: {
|
|
61
91
|
[header: string]: string | string[];
|
|
62
92
|
}): Observable<Array<ApplicationInstanceResponse>>;
|
|
93
|
+
/**
|
|
94
|
+
* Provides details to an application instance
|
|
95
|
+
*
|
|
96
|
+
* @param applicationInstanceId
|
|
97
|
+
* @param body Id of the application instance to return
|
|
98
|
+
*/
|
|
99
|
+
getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
|
|
100
|
+
search: string | {
|
|
101
|
+
[param: string]: string | string[];
|
|
102
|
+
};
|
|
103
|
+
}, extraHttpRequestHeaders?: {
|
|
104
|
+
[header: string]: string | string[];
|
|
105
|
+
}): Observable<HttpResponse<Array<ApplicationInstanceDetailResponse>>>;
|
|
63
106
|
/**
|
|
64
107
|
* Provides the data needed to redirect the user to the specified application instance
|
|
65
108
|
* If the Application Instance is configured with an Alias, the exchange URL from the Alias will be returned instead of that from the associated Application Environment.
|
|
@@ -72,6 +115,19 @@ export declare class ApplicationInstanceService {
|
|
|
72
115
|
}, extraHttpRequestHeaders?: {
|
|
73
116
|
[header: string]: string | string[];
|
|
74
117
|
}): Observable<HttpResponse<ApplicationInstanceRedirectResponse>>;
|
|
118
|
+
/**
|
|
119
|
+
* Provides a list of user's who have access to an application instance
|
|
120
|
+
*
|
|
121
|
+
* @param applicationInstanceId
|
|
122
|
+
* @param body Id of the application instance to return
|
|
123
|
+
*/
|
|
124
|
+
getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
|
|
125
|
+
search: string | {
|
|
126
|
+
[param: string]: string | string[];
|
|
127
|
+
};
|
|
128
|
+
}, extraHttpRequestHeaders?: {
|
|
129
|
+
[header: string]: string | string[];
|
|
130
|
+
}): Observable<HttpResponse<Array<ApplicationInstanceUserResponse>>>;
|
|
75
131
|
/**
|
|
76
132
|
* Provides a list of all available application instances to which the logged in user has access
|
|
77
133
|
*
|
|
@@ -79,8 +135,10 @@ export declare class ApplicationInstanceService {
|
|
|
79
135
|
* @param dataSourceName Filter by an exact name of a data source
|
|
80
136
|
* @param targetHost Filter by a host name containing an alias
|
|
81
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
|
|
138
|
+
* @param orderBy
|
|
139
|
+
* @param filter
|
|
82
140
|
*/
|
|
83
|
-
getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, extraHttpRequestParams?: {
|
|
141
|
+
getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, extraHttpRequestParams?: {
|
|
84
142
|
search: string | {
|
|
85
143
|
[param: string]: string | string[];
|
|
86
144
|
};
|
package/api/auth.service.d.ts
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EnergyCAP ID SDK
|
|
3
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.2112
|
|
6
|
+
* Contact: support@energycap.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
13
|
+
import { HttpResponse } from '@angular/common/http';
|
|
14
|
+
import { Observable } from 'rxjs';
|
|
15
|
+
import { DomainJoinTypeResponse } from '../model/domainJoinTypeResponse';
|
|
16
|
+
import { Configuration } from '../configuration';
|
|
17
|
+
export declare class DomainJoinTypeService {
|
|
18
|
+
protected http: HttpClient;
|
|
19
|
+
protected basePath: string;
|
|
20
|
+
defaultHeaders: HttpHeaders;
|
|
21
|
+
configuration: Configuration;
|
|
22
|
+
constructor(http: HttpClient, basePath: string, configuration: Configuration);
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* Extends object by coping non-existing properties.
|
|
26
|
+
* @param objA object to be extended
|
|
27
|
+
* @param objB source object
|
|
28
|
+
*/
|
|
29
|
+
private extendObj;
|
|
30
|
+
/**
|
|
31
|
+
* @param consumes string[] mime-types
|
|
32
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
33
|
+
*/
|
|
34
|
+
private canConsumeForm;
|
|
35
|
+
/**
|
|
36
|
+
* Gets a list of all Domain Join Types
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
getDomainJoinTypes(extraHttpRequestParams?: {
|
|
40
|
+
search: string | {
|
|
41
|
+
[param: string]: string | string[];
|
|
42
|
+
};
|
|
43
|
+
}, extraHttpRequestHeaders?: {
|
|
44
|
+
[header: string]: string | string[];
|
|
45
|
+
}): Observable<Array<DomainJoinTypeResponse>>;
|
|
46
|
+
/**
|
|
47
|
+
* Gets a list of all Domain Join Types
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
getDomainJoinTypesWithHttpInfo(extraHttpRequestParams?: {
|
|
51
|
+
search: string | {
|
|
52
|
+
[param: string]: string | string[];
|
|
53
|
+
};
|
|
54
|
+
}, extraHttpRequestHeaders?: {
|
|
55
|
+
[header: string]: string | string[];
|
|
56
|
+
}): Observable<HttpResponse<Array<DomainJoinTypeResponse>>>;
|
|
57
|
+
}
|
package/api/me.service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* EnergyCAP ID SDK
|
|
3
3
|
* Document used to generate the EnergyCAP ID SDK
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.2112
|
|
6
6
|
* Contact: support@energycap.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -12,7 +12,14 @@
|
|
|
12
12
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
13
13
|
import { HttpResponse } from '@angular/common/http';
|
|
14
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { CreateOrganizationRequest } from '../model/createOrganizationRequest';
|
|
16
|
+
import { HierarchicalOrganizations } from '../model/hierarchicalOrganizations';
|
|
17
|
+
import { OrganizationAccessControlResponse } from '../model/organizationAccessControlResponse';
|
|
18
|
+
import { OrganizationDetailResponse } from '../model/organizationDetailResponse';
|
|
15
19
|
import { OrganizationResponse } from '../model/organizationResponse';
|
|
20
|
+
import { OrganizationUserResponse } from '../model/organizationUserResponse';
|
|
21
|
+
import { UpdateOrganizationAccessControlRequest } from '../model/updateOrganizationAccessControlRequest';
|
|
22
|
+
import { UpdateOrganizationDetailsRequest } from '../model/updateOrganizationDetailsRequest';
|
|
16
23
|
import { Configuration } from '../configuration';
|
|
17
24
|
export declare class OrganizationService {
|
|
18
25
|
protected http: HttpClient;
|
|
@@ -32,6 +39,31 @@ export declare class OrganizationService {
|
|
|
32
39
|
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
33
40
|
*/
|
|
34
41
|
private canConsumeForm;
|
|
42
|
+
/**
|
|
43
|
+
* Create a new organization
|
|
44
|
+
*
|
|
45
|
+
* @param organizationId
|
|
46
|
+
* @param body
|
|
47
|
+
*/
|
|
48
|
+
createOrganization(organizationId: string, body?: CreateOrganizationRequest, extraHttpRequestParams?: {
|
|
49
|
+
search: string | {
|
|
50
|
+
[param: string]: string | string[];
|
|
51
|
+
};
|
|
52
|
+
}, extraHttpRequestHeaders?: {
|
|
53
|
+
[header: string]: string | string[];
|
|
54
|
+
}): Observable<OrganizationResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Gets organization access control data You must be an admin to the organizaion to get this information
|
|
57
|
+
*
|
|
58
|
+
* @param organizationId The organization identifier
|
|
59
|
+
*/
|
|
60
|
+
getOrganizationAccessControl(organizationId: string, extraHttpRequestParams?: {
|
|
61
|
+
search: string | {
|
|
62
|
+
[param: string]: string | string[];
|
|
63
|
+
};
|
|
64
|
+
}, extraHttpRequestHeaders?: {
|
|
65
|
+
[header: string]: string | string[];
|
|
66
|
+
}): Observable<OrganizationAccessControlResponse>;
|
|
35
67
|
/**
|
|
36
68
|
* Gets information about an Organization
|
|
37
69
|
*
|
|
@@ -44,6 +76,41 @@ export declare class OrganizationService {
|
|
|
44
76
|
}, extraHttpRequestHeaders?: {
|
|
45
77
|
[header: string]: string | string[];
|
|
46
78
|
}): Observable<OrganizationResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
|
|
81
|
+
*
|
|
82
|
+
* @param organizationId The organization identifier
|
|
83
|
+
*/
|
|
84
|
+
getOrganizationDetails(organizationId: string, extraHttpRequestParams?: {
|
|
85
|
+
search: string | {
|
|
86
|
+
[param: string]: string | string[];
|
|
87
|
+
};
|
|
88
|
+
}, extraHttpRequestHeaders?: {
|
|
89
|
+
[header: string]: string | string[];
|
|
90
|
+
}): Observable<OrganizationDetailResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
getOrganizationHierarchy(extraHttpRequestParams?: {
|
|
96
|
+
search: string | {
|
|
97
|
+
[param: string]: string | string[];
|
|
98
|
+
};
|
|
99
|
+
}, extraHttpRequestHeaders?: {
|
|
100
|
+
[header: string]: string | string[];
|
|
101
|
+
}): Observable<Array<HierarchicalOrganizations>>;
|
|
102
|
+
/**
|
|
103
|
+
* Gets users linked to an organization
|
|
104
|
+
*
|
|
105
|
+
* @param organizationId The organization identifier
|
|
106
|
+
*/
|
|
107
|
+
getOrganizationUsers(organizationId: string, extraHttpRequestParams?: {
|
|
108
|
+
search: string | {
|
|
109
|
+
[param: string]: string | string[];
|
|
110
|
+
};
|
|
111
|
+
}, extraHttpRequestHeaders?: {
|
|
112
|
+
[header: string]: string | string[];
|
|
113
|
+
}): Observable<Array<OrganizationUserResponse>>;
|
|
47
114
|
/**
|
|
48
115
|
* Gets the organizations to which the logged in user has access
|
|
49
116
|
*
|
|
@@ -56,6 +123,69 @@ export declare class OrganizationService {
|
|
|
56
123
|
}, extraHttpRequestHeaders?: {
|
|
57
124
|
[header: string]: string | string[];
|
|
58
125
|
}): Observable<Array<OrganizationResponse>>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @param query
|
|
130
|
+
*/
|
|
131
|
+
searchOrganizations(query?: string, extraHttpRequestParams?: {
|
|
132
|
+
search: string | {
|
|
133
|
+
[param: string]: string | string[];
|
|
134
|
+
};
|
|
135
|
+
}, extraHttpRequestHeaders?: {
|
|
136
|
+
[header: string]: string | string[];
|
|
137
|
+
}): Observable<Array<OrganizationResponse>>;
|
|
138
|
+
/**
|
|
139
|
+
* Update organization access control data You must be an admin to the organizaion to get this information
|
|
140
|
+
*
|
|
141
|
+
* @param organizationId The organization identifier
|
|
142
|
+
* @param body
|
|
143
|
+
*/
|
|
144
|
+
updateOrganizationAccessControl(organizationId: string, body?: UpdateOrganizationAccessControlRequest, extraHttpRequestParams?: {
|
|
145
|
+
search: string | {
|
|
146
|
+
[param: string]: string | string[];
|
|
147
|
+
};
|
|
148
|
+
}, extraHttpRequestHeaders?: {
|
|
149
|
+
[header: string]: string | string[];
|
|
150
|
+
}): Observable<OrganizationAccessControlResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Update organization details You must be an admin to the organizaion to get this information
|
|
153
|
+
*
|
|
154
|
+
* @param organizationId The organization identifier
|
|
155
|
+
* @param body
|
|
156
|
+
*/
|
|
157
|
+
updateOrganizationDetails(organizationId: string, body?: UpdateOrganizationDetailsRequest, extraHttpRequestParams?: {
|
|
158
|
+
search: string | {
|
|
159
|
+
[param: string]: string | string[];
|
|
160
|
+
};
|
|
161
|
+
}, extraHttpRequestHeaders?: {
|
|
162
|
+
[header: string]: string | string[];
|
|
163
|
+
}): Observable<OrganizationDetailResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* Create a new organization
|
|
166
|
+
*
|
|
167
|
+
* @param organizationId
|
|
168
|
+
* @param body
|
|
169
|
+
*/
|
|
170
|
+
createOrganizationWithHttpInfo(organizationId: string, body?: CreateOrganizationRequest, extraHttpRequestParams?: {
|
|
171
|
+
search: string | {
|
|
172
|
+
[param: string]: string | string[];
|
|
173
|
+
};
|
|
174
|
+
}, extraHttpRequestHeaders?: {
|
|
175
|
+
[header: string]: string | string[];
|
|
176
|
+
}): Observable<HttpResponse<OrganizationResponse>>;
|
|
177
|
+
/**
|
|
178
|
+
* Gets organization access control data You must be an admin to the organizaion to get this information
|
|
179
|
+
*
|
|
180
|
+
* @param organizationId The organization identifier
|
|
181
|
+
*/
|
|
182
|
+
getOrganizationAccessControlWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
|
|
183
|
+
search: string | {
|
|
184
|
+
[param: string]: string | string[];
|
|
185
|
+
};
|
|
186
|
+
}, extraHttpRequestHeaders?: {
|
|
187
|
+
[header: string]: string | string[];
|
|
188
|
+
}): Observable<HttpResponse<OrganizationAccessControlResponse>>;
|
|
59
189
|
/**
|
|
60
190
|
* Gets information about an Organization
|
|
61
191
|
*
|
|
@@ -68,6 +198,41 @@ export declare class OrganizationService {
|
|
|
68
198
|
}, extraHttpRequestHeaders?: {
|
|
69
199
|
[header: string]: string | string[];
|
|
70
200
|
}): Observable<HttpResponse<OrganizationResponse>>;
|
|
201
|
+
/**
|
|
202
|
+
* Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
|
|
203
|
+
*
|
|
204
|
+
* @param organizationId The organization identifier
|
|
205
|
+
*/
|
|
206
|
+
getOrganizationDetailsWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
|
|
207
|
+
search: string | {
|
|
208
|
+
[param: string]: string | string[];
|
|
209
|
+
};
|
|
210
|
+
}, extraHttpRequestHeaders?: {
|
|
211
|
+
[header: string]: string | string[];
|
|
212
|
+
}): Observable<HttpResponse<OrganizationDetailResponse>>;
|
|
213
|
+
/**
|
|
214
|
+
* Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
|
|
215
|
+
*
|
|
216
|
+
*/
|
|
217
|
+
getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams?: {
|
|
218
|
+
search: string | {
|
|
219
|
+
[param: string]: string | string[];
|
|
220
|
+
};
|
|
221
|
+
}, extraHttpRequestHeaders?: {
|
|
222
|
+
[header: string]: string | string[];
|
|
223
|
+
}): Observable<HttpResponse<Array<HierarchicalOrganizations>>>;
|
|
224
|
+
/**
|
|
225
|
+
* Gets users linked to an organization
|
|
226
|
+
*
|
|
227
|
+
* @param organizationId The organization identifier
|
|
228
|
+
*/
|
|
229
|
+
getOrganizationUsersWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
|
|
230
|
+
search: string | {
|
|
231
|
+
[param: string]: string | string[];
|
|
232
|
+
};
|
|
233
|
+
}, extraHttpRequestHeaders?: {
|
|
234
|
+
[header: string]: string | string[];
|
|
235
|
+
}): Observable<HttpResponse<Array<OrganizationUserResponse>>>;
|
|
71
236
|
/**
|
|
72
237
|
* Gets the organizations to which the logged in user has access
|
|
73
238
|
*
|
|
@@ -80,4 +245,42 @@ export declare class OrganizationService {
|
|
|
80
245
|
}, extraHttpRequestHeaders?: {
|
|
81
246
|
[header: string]: string | string[];
|
|
82
247
|
}): Observable<HttpResponse<Array<OrganizationResponse>>>;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
*
|
|
251
|
+
* @param query
|
|
252
|
+
*/
|
|
253
|
+
searchOrganizationsWithHttpInfo(query?: string, extraHttpRequestParams?: {
|
|
254
|
+
search: string | {
|
|
255
|
+
[param: string]: string | string[];
|
|
256
|
+
};
|
|
257
|
+
}, extraHttpRequestHeaders?: {
|
|
258
|
+
[header: string]: string | string[];
|
|
259
|
+
}): Observable<HttpResponse<Array<OrganizationResponse>>>;
|
|
260
|
+
/**
|
|
261
|
+
* Update organization access control data You must be an admin to the organizaion to get this information
|
|
262
|
+
*
|
|
263
|
+
* @param organizationId The organization identifier
|
|
264
|
+
* @param body
|
|
265
|
+
*/
|
|
266
|
+
updateOrganizationAccessControlWithHttpInfo(organizationId: string, body?: UpdateOrganizationAccessControlRequest, extraHttpRequestParams?: {
|
|
267
|
+
search: string | {
|
|
268
|
+
[param: string]: string | string[];
|
|
269
|
+
};
|
|
270
|
+
}, extraHttpRequestHeaders?: {
|
|
271
|
+
[header: string]: string | string[];
|
|
272
|
+
}): Observable<HttpResponse<OrganizationAccessControlResponse>>;
|
|
273
|
+
/**
|
|
274
|
+
* Update organization details You must be an admin to the organizaion to get this information
|
|
275
|
+
*
|
|
276
|
+
* @param organizationId The organization identifier
|
|
277
|
+
* @param body
|
|
278
|
+
*/
|
|
279
|
+
updateOrganizationDetailsWithHttpInfo(organizationId: string, body?: UpdateOrganizationDetailsRequest, extraHttpRequestParams?: {
|
|
280
|
+
search: string | {
|
|
281
|
+
[param: string]: string | string[];
|
|
282
|
+
};
|
|
283
|
+
}, extraHttpRequestHeaders?: {
|
|
284
|
+
[header: string]: string | string[];
|
|
285
|
+
}): Observable<HttpResponse<OrganizationDetailResponse>>;
|
|
83
286
|
}
|
package/api/user.service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* EnergyCAP ID SDK
|
|
3
3
|
* Document used to generate the EnergyCAP ID SDK
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.2112
|
|
6
6
|
* Contact: support@energycap.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -16,6 +16,8 @@ import { AllUserPermissionsResponse } from '../model/allUserPermissionsResponse'
|
|
|
16
16
|
import { EntityPermission } from '../model/entityPermission';
|
|
17
17
|
import { InviteUserRequest } from '../model/inviteUserRequest';
|
|
18
18
|
import { SelfCreateUserRequest } from '../model/selfCreateUserRequest';
|
|
19
|
+
import { UserApplicationInstanceResponse } from '../model/userApplicationInstanceResponse';
|
|
20
|
+
import { UserOrganizationResponse } from '../model/userOrganizationResponse';
|
|
19
21
|
import { UserPermissionRequest } from '../model/userPermissionRequest';
|
|
20
22
|
import { UserPermissionResponse } from '../model/userPermissionResponse';
|
|
21
23
|
import { UserResponse } from '../model/userResponse';
|
|
@@ -63,6 +65,18 @@ export declare class UserService {
|
|
|
63
65
|
}, extraHttpRequestHeaders?: {
|
|
64
66
|
[header: string]: string | string[];
|
|
65
67
|
}): Observable<any>;
|
|
68
|
+
/**
|
|
69
|
+
* Return all application instances a user has access to and you are an admin to
|
|
70
|
+
*
|
|
71
|
+
* @param userId The user to get application instances for
|
|
72
|
+
*/
|
|
73
|
+
getUserApplicationInstances(userId: string, extraHttpRequestParams?: {
|
|
74
|
+
search: string | {
|
|
75
|
+
[param: string]: string | string[];
|
|
76
|
+
};
|
|
77
|
+
}, extraHttpRequestHeaders?: {
|
|
78
|
+
[header: string]: string | string[];
|
|
79
|
+
}): Observable<UserApplicationInstanceResponse>;
|
|
66
80
|
/**
|
|
67
81
|
* Use this method to get information about a user
|
|
68
82
|
*
|
|
@@ -75,6 +89,18 @@ export declare class UserService {
|
|
|
75
89
|
}, extraHttpRequestHeaders?: {
|
|
76
90
|
[header: string]: string | string[];
|
|
77
91
|
}): Observable<UserResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Return all organization a user has access to and you are an admin to
|
|
94
|
+
*
|
|
95
|
+
* @param userId The user to get application instances for
|
|
96
|
+
*/
|
|
97
|
+
getUserOrganizations(userId: string, extraHttpRequestParams?: {
|
|
98
|
+
search: string | {
|
|
99
|
+
[param: string]: string | string[];
|
|
100
|
+
};
|
|
101
|
+
}, extraHttpRequestHeaders?: {
|
|
102
|
+
[header: string]: string | string[];
|
|
103
|
+
}): Observable<UserOrganizationResponse>;
|
|
78
104
|
/**
|
|
79
105
|
* Gets information regarding the specified entity to which the specified user has access. Only if the logged in user is in administrator will information be available. If the user does not have access, no entry will be returned.
|
|
80
106
|
*
|
|
@@ -176,6 +202,18 @@ export declare class UserService {
|
|
|
176
202
|
}, extraHttpRequestHeaders?: {
|
|
177
203
|
[header: string]: string | string[];
|
|
178
204
|
}): Observable<HttpResponse<any>>;
|
|
205
|
+
/**
|
|
206
|
+
* Return all application instances a user has access to and you are an admin to
|
|
207
|
+
*
|
|
208
|
+
* @param userId The user to get application instances for
|
|
209
|
+
*/
|
|
210
|
+
getUserApplicationInstancesWithHttpInfo(userId: string, extraHttpRequestParams?: {
|
|
211
|
+
search: string | {
|
|
212
|
+
[param: string]: string | string[];
|
|
213
|
+
};
|
|
214
|
+
}, extraHttpRequestHeaders?: {
|
|
215
|
+
[header: string]: string | string[];
|
|
216
|
+
}): Observable<HttpResponse<UserApplicationInstanceResponse>>;
|
|
179
217
|
/**
|
|
180
218
|
* Use this method to get information about a user
|
|
181
219
|
*
|
|
@@ -188,6 +226,18 @@ export declare class UserService {
|
|
|
188
226
|
}, extraHttpRequestHeaders?: {
|
|
189
227
|
[header: string]: string | string[];
|
|
190
228
|
}): Observable<HttpResponse<UserResponse>>;
|
|
229
|
+
/**
|
|
230
|
+
* Return all organization a user has access to and you are an admin to
|
|
231
|
+
*
|
|
232
|
+
* @param userId The user to get application instances for
|
|
233
|
+
*/
|
|
234
|
+
getUserOrganizationsWithHttpInfo(userId: string, extraHttpRequestParams?: {
|
|
235
|
+
search: string | {
|
|
236
|
+
[param: string]: string | string[];
|
|
237
|
+
};
|
|
238
|
+
}, extraHttpRequestHeaders?: {
|
|
239
|
+
[header: string]: string | string[];
|
|
240
|
+
}): Observable<HttpResponse<UserOrganizationResponse>>;
|
|
191
241
|
/**
|
|
192
242
|
* Gets information regarding the specified entity to which the specified user has access. Only if the logged in user is in administrator will information be available. If the user does not have access, no entry will be returned.
|
|
193
243
|
*
|