@energycap/energycapid-sdk-angular 1.2112.127 → 1.2112.129-develop-20221004-1626

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.
@@ -12,15 +12,11 @@
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 { AllUserPermissionsResponse } from '../model/allUserPermissionsResponse';
16
- import { EntityPermission } from '../model/entityPermission';
17
15
  import { InviteUsersRequest } from '../model/inviteUsersRequest';
18
16
  import { InviteUsersResponse } from '../model/inviteUsersResponse';
19
17
  import { SelfCreateUserRequest } from '../model/selfCreateUserRequest';
20
18
  import { UserApplicationInstanceResponse } from '../model/userApplicationInstanceResponse';
21
19
  import { UserOrganizationResponse } from '../model/userOrganizationResponse';
22
- import { UserPermissionRequest } from '../model/userPermissionRequest';
23
- import { UserPermissionResponse } from '../model/userPermissionResponse';
24
20
  import { UserResponse } from '../model/userResponse';
25
21
  import { Configuration } from '../configuration';
26
22
  export declare class UserService {
@@ -53,19 +49,6 @@ export declare class UserService {
53
49
  }, extraHttpRequestHeaders?: {
54
50
  [header: string]: string | string[];
55
51
  }): Observable<any>;
56
- /**
57
- * Deletes a specific permission to an entity. This will remove a grant, but will not negate an inherited grant. If there is not an explicit grant to the given user to the given entity, a BadRequest response will be returned
58
- *
59
- * @param userId The user&#39;s identifier.
60
- * @param entityId The entity identifier.
61
- */
62
- deleteUserPermission(userId: string, entityId: string, extraHttpRequestParams?: {
63
- search: string | {
64
- [param: string]: string | string[];
65
- };
66
- }, extraHttpRequestHeaders?: {
67
- [header: string]: string | string[];
68
- }): Observable<any>;
69
52
  /**
70
53
  * Return all application instances a user has access to and you are an admin to
71
54
  *
@@ -110,44 +93,6 @@ export declare class UserService {
110
93
  }, extraHttpRequestHeaders?: {
111
94
  [header: string]: string | string[];
112
95
  }): Observable<Array<UserOrganizationResponse>>;
113
- /**
114
- * 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.
115
- *
116
- * @param userId The user identifier of the user about which information is being requested.
117
- * @param entityId The entity identifier.
118
- */
119
- getUserPermissionForEntity(userId: string, entityId: string, extraHttpRequestParams?: {
120
- search: string | {
121
- [param: string]: string | string[];
122
- };
123
- }, extraHttpRequestHeaders?: {
124
- [header: string]: string | string[];
125
- }): Observable<EntityPermission>;
126
- /**
127
- * Gets all entities to which the specified user has access. Only those that the logged in user is in administrator will be available.
128
- *
129
- * @param userId The user identifier to which to get permissions regarding.
130
- */
131
- getUserPermissions(userId: string, extraHttpRequestParams?: {
132
- search: string | {
133
- [param: string]: string | string[];
134
- };
135
- }, extraHttpRequestHeaders?: {
136
- [header: string]: string | string[];
137
- }): Observable<AllUserPermissionsResponse>;
138
- /**
139
- * Gets the users who have permissions to this entity.
140
- *
141
- * @param entityId The entity identifier.
142
- * @param includeNoAccess if set to {true} [include no access].
143
- */
144
- getUsersWithPermissionToEntity(entityId: string, includeNoAccess?: boolean, extraHttpRequestParams?: {
145
- search: string | {
146
- [param: string]: string | string[];
147
- };
148
- }, extraHttpRequestHeaders?: {
149
- [header: string]: string | string[];
150
- }): Observable<Array<UserPermissionResponse>>;
151
96
  /**
152
97
  * Invite multiple users to an organization
153
98
  *
@@ -172,20 +117,6 @@ export declare class UserService {
172
117
  }, extraHttpRequestHeaders?: {
173
118
  [header: string]: string | string[];
174
119
  }): Observable<any>;
175
- /**
176
- * Sets an explicit permission to the specified entity on the specified user given the specified role. This grant will be inherited downstream unless there is a more specific permission specified. If the user does not currently have permission to the entity it is added otherwise it is updated
177
- *
178
- * @param userId The user identifier to which permissions will be assigned.
179
- * @param entityId The entity identifier to apply the permission to.
180
- * @param body Data representing the permission to set.
181
- */
182
- setUserPermission(userId: string, entityId: string, body?: UserPermissionRequest, extraHttpRequestParams?: {
183
- search: string | {
184
- [param: string]: string | string[];
185
- };
186
- }, extraHttpRequestHeaders?: {
187
- [header: string]: string | string[];
188
- }): Observable<any>;
189
120
  /**
190
121
  * Use this method to create a new user. Generally for Self-Service. No permissions will be added
191
122
  *
@@ -198,19 +129,6 @@ export declare class UserService {
198
129
  }, extraHttpRequestHeaders?: {
199
130
  [header: string]: string | string[];
200
131
  }): Observable<HttpResponse<any>>;
201
- /**
202
- * Deletes a specific permission to an entity. This will remove a grant, but will not negate an inherited grant. If there is not an explicit grant to the given user to the given entity, a BadRequest response will be returned
203
- *
204
- * @param userId The user&#39;s identifier.
205
- * @param entityId The entity identifier.
206
- */
207
- deleteUserPermissionWithHttpInfo(userId: string, entityId: string, extraHttpRequestParams?: {
208
- search: string | {
209
- [param: string]: string | string[];
210
- };
211
- }, extraHttpRequestHeaders?: {
212
- [header: string]: string | string[];
213
- }): Observable<HttpResponse<any>>;
214
132
  /**
215
133
  * Return all application instances a user has access to and you are an admin to
216
134
  *
@@ -255,44 +173,6 @@ export declare class UserService {
255
173
  }, extraHttpRequestHeaders?: {
256
174
  [header: string]: string | string[];
257
175
  }): Observable<HttpResponse<Array<UserOrganizationResponse>>>;
258
- /**
259
- * 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.
260
- *
261
- * @param userId The user identifier of the user about which information is being requested.
262
- * @param entityId The entity identifier.
263
- */
264
- getUserPermissionForEntityWithHttpInfo(userId: string, entityId: string, extraHttpRequestParams?: {
265
- search: string | {
266
- [param: string]: string | string[];
267
- };
268
- }, extraHttpRequestHeaders?: {
269
- [header: string]: string | string[];
270
- }): Observable<HttpResponse<EntityPermission>>;
271
- /**
272
- * Gets all entities to which the specified user has access. Only those that the logged in user is in administrator will be available.
273
- *
274
- * @param userId The user identifier to which to get permissions regarding.
275
- */
276
- getUserPermissionsWithHttpInfo(userId: string, extraHttpRequestParams?: {
277
- search: string | {
278
- [param: string]: string | string[];
279
- };
280
- }, extraHttpRequestHeaders?: {
281
- [header: string]: string | string[];
282
- }): Observable<HttpResponse<AllUserPermissionsResponse>>;
283
- /**
284
- * Gets the users who have permissions to this entity.
285
- *
286
- * @param entityId The entity identifier.
287
- * @param includeNoAccess if set to {true} [include no access].
288
- */
289
- getUsersWithPermissionToEntityWithHttpInfo(entityId: string, includeNoAccess?: boolean, extraHttpRequestParams?: {
290
- search: string | {
291
- [param: string]: string | string[];
292
- };
293
- }, extraHttpRequestHeaders?: {
294
- [header: string]: string | string[];
295
- }): Observable<HttpResponse<Array<UserPermissionResponse>>>;
296
176
  /**
297
177
  * Invite multiple users to an organization
298
178
  *
@@ -317,18 +197,4 @@ export declare class UserService {
317
197
  }, extraHttpRequestHeaders?: {
318
198
  [header: string]: string | string[];
319
199
  }): Observable<HttpResponse<any>>;
320
- /**
321
- * Sets an explicit permission to the specified entity on the specified user given the specified role. This grant will be inherited downstream unless there is a more specific permission specified. If the user does not currently have permission to the entity it is added otherwise it is updated
322
- *
323
- * @param userId The user identifier to which permissions will be assigned.
324
- * @param entityId The entity identifier to apply the permission to.
325
- * @param body Data representing the permission to set.
326
- */
327
- setUserPermissionWithHttpInfo(userId: string, entityId: string, body?: UserPermissionRequest, extraHttpRequestParams?: {
328
- search: string | {
329
- [param: string]: string | string[];
330
- };
331
- }, extraHttpRequestHeaders?: {
332
- [header: string]: string | string[];
333
- }): Observable<HttpResponse<any>>;
334
200
  }