@energycap/energycapid-sdk-angular 1.2108.45 → 1.2112.48-develop-20211222-1001

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.
Files changed (121) hide show
  1. package/api/api.d.ts +3 -1
  2. package/api/application.service.d.ts +1 -1
  3. package/api/applicationInstance.service.d.ts +69 -3
  4. package/api/auth.service.d.ts +1 -1
  5. package/api/dataSource.service.d.ts +1 -1
  6. package/api/domainJoinType.service.d.ts +57 -0
  7. package/api/environment.service.d.ts +1 -1
  8. package/api/me.service.d.ts +1 -1
  9. package/api/organization.service.d.ts +218 -3
  10. package/api/organizationApplication.service.d.ts +1 -1
  11. package/api/user.service.d.ts +51 -1
  12. package/bundles/energycap-energycapid-sdk-angular.umd.js +1527 -176
  13. package/bundles/energycap-energycapid-sdk-angular.umd.js.map +1 -1
  14. package/bundles/energycap-energycapid-sdk-angular.umd.min.js +1 -1
  15. package/bundles/energycap-energycapid-sdk-angular.umd.min.js.map +1 -1
  16. package/energycap-energycapid-sdk-angular.metadata.json +1 -1
  17. package/esm2015/api/api.js +4 -2
  18. package/esm2015/api/application.service.js +2 -2
  19. package/esm2015/api/applicationInstance.service.js +177 -5
  20. package/esm2015/api/auth.service.js +2 -2
  21. package/esm2015/api/dataSource.service.js +2 -2
  22. package/esm2015/api/domainJoinType.service.js +135 -0
  23. package/esm2015/api/environment.service.js +2 -2
  24. package/esm2015/api/me.service.js +2 -2
  25. package/esm2015/api/organization.service.js +564 -5
  26. package/esm2015/api/organizationApplication.service.js +2 -2
  27. package/esm2015/api/user.service.js +132 -2
  28. package/esm2015/api.module.js +3 -2
  29. package/esm2015/model/aPIFilter.js +14 -0
  30. package/esm2015/model/aPIOrderBy.js +14 -0
  31. package/esm2015/model/allUserPermissionsResponse.js +2 -2
  32. package/esm2015/model/applicationInstanceDetailResponse.js +17 -0
  33. package/esm2015/model/applicationInstanceRedirectResponse.js +2 -2
  34. package/esm2015/model/applicationInstanceResponse.js +2 -2
  35. package/esm2015/model/applicationInstanceUserResponse.js +17 -0
  36. package/esm2015/model/applicationResponse.js +2 -2
  37. package/esm2015/model/changePasswordRequest.js +2 -2
  38. package/esm2015/model/createOrganizationRequest.js +14 -0
  39. package/esm2015/model/dataSourceResponse.js +2 -2
  40. package/esm2015/model/dataSourceUpdateRequest.js +2 -2
  41. package/esm2015/model/domainAccessControlResponse.js +17 -0
  42. package/esm2015/model/domainJoinTypeResponse.js +17 -0
  43. package/esm2015/model/entityPermission.js +2 -2
  44. package/esm2015/model/environmentResponse.js +2 -2
  45. package/esm2015/model/hierarchicalOrganizations.js +14 -0
  46. package/esm2015/model/hierarchicalOrganizations2.js +14 -0
  47. package/esm2015/model/inviteUserRequest.js +2 -2
  48. package/esm2015/model/linkDataSourceRequest.js +2 -2
  49. package/esm2015/model/loginResponse.js +2 -2
  50. package/esm2015/model/loginSourceResponse.js +2 -2
  51. package/esm2015/model/models.js +18 -1
  52. package/esm2015/model/organizationAccessControlResponse.js +17 -0
  53. package/esm2015/model/organizationApplicationResponse.js +2 -2
  54. package/esm2015/model/organizationDetailResponse.js +17 -0
  55. package/esm2015/model/organizationResponse.js +2 -2
  56. package/esm2015/model/organizationUserResponse.js +14 -0
  57. package/esm2015/model/resetPasswordRequest.js +2 -2
  58. package/esm2015/model/roleEnum.js +2 -2
  59. package/esm2015/model/selfCreateUserRequest.js +2 -2
  60. package/esm2015/model/updateMeRequest.js +2 -2
  61. package/esm2015/model/updateOrganizationAccessControlRequest.js +14 -0
  62. package/esm2015/model/updateOrganizationDetailsRequest.js +14 -0
  63. package/esm2015/model/userApplicationInstanceResponse.js +17 -0
  64. package/esm2015/model/userAuthResultEnum.js +2 -2
  65. package/esm2015/model/userChild.js +17 -0
  66. package/esm2015/model/userLoginRequest.js +2 -2
  67. package/esm2015/model/userOrganizationResponse.js +17 -0
  68. package/esm2015/model/userPermissionRequest.js +2 -2
  69. package/esm2015/model/userPermissionResponse.js +2 -2
  70. package/esm2015/model/userResponse.js +2 -2
  71. package/esm2015/model/userStatusEnum.js +2 -2
  72. package/esm2015/model/validatePasswordRequest.js +2 -2
  73. package/esm2015/model/validatePasswordResponse.js +2 -2
  74. package/fesm2015/energycap-energycapid-sdk-angular.js +1548 -293
  75. package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
  76. package/model/aPIFilter.d.ts +13 -0
  77. package/model/aPIOrderBy.d.ts +13 -0
  78. package/model/allUserPermissionsResponse.d.ts +1 -1
  79. package/model/applicationInstanceDetailResponse.d.ts +16 -0
  80. package/model/applicationInstanceRedirectResponse.d.ts +1 -1
  81. package/model/applicationInstanceResponse.d.ts +1 -1
  82. package/model/applicationInstanceUserResponse.d.ts +16 -0
  83. package/model/applicationResponse.d.ts +1 -1
  84. package/model/changePasswordRequest.d.ts +1 -1
  85. package/model/createOrganizationRequest.d.ts +13 -0
  86. package/model/dataSourceResponse.d.ts +1 -1
  87. package/model/dataSourceUpdateRequest.d.ts +1 -1
  88. package/model/domainAccessControlResponse.d.ts +22 -0
  89. package/model/domainJoinTypeResponse.d.ts +28 -0
  90. package/model/entityPermission.d.ts +1 -1
  91. package/model/environmentResponse.d.ts +1 -1
  92. package/model/hierarchicalOrganizations.d.ts +42 -0
  93. package/model/hierarchicalOrganizations2.d.ts +21 -0
  94. package/model/inviteUserRequest.d.ts +1 -1
  95. package/model/linkDataSourceRequest.d.ts +1 -1
  96. package/model/loginResponse.d.ts +1 -1
  97. package/model/loginSourceResponse.d.ts +1 -1
  98. package/model/models.d.ts +17 -0
  99. package/model/organizationAccessControlResponse.d.ts +32 -0
  100. package/model/organizationApplicationResponse.d.ts +1 -1
  101. package/model/organizationDetailResponse.d.ts +28 -0
  102. package/model/organizationResponse.d.ts +1 -1
  103. package/model/organizationUserResponse.d.ts +13 -0
  104. package/model/resetPasswordRequest.d.ts +1 -1
  105. package/model/roleEnum.d.ts +1 -1
  106. package/model/selfCreateUserRequest.d.ts +1 -1
  107. package/model/updateMeRequest.d.ts +1 -1
  108. package/model/updateOrganizationAccessControlRequest.d.ts +13 -0
  109. package/model/updateOrganizationDetailsRequest.d.ts +13 -0
  110. package/model/userApplicationInstanceResponse.d.ts +16 -0
  111. package/model/userAuthResultEnum.d.ts +1 -1
  112. package/model/userChild.d.ts +36 -0
  113. package/model/userLoginRequest.d.ts +1 -1
  114. package/model/userOrganizationResponse.d.ts +16 -0
  115. package/model/userPermissionRequest.d.ts +1 -1
  116. package/model/userPermissionResponse.d.ts +1 -1
  117. package/model/userResponse.d.ts +1 -1
  118. package/model/userStatusEnum.d.ts +1 -1
  119. package/model/validatePasswordRequest.d.ts +1 -1
  120. package/model/validatePasswordResponse.d.ts +1 -1
  121. 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.2108
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.
@@ -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.2108
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,21 @@ export declare class ApplicationInstanceService {
45
60
  }, extraHttpRequestHeaders?: {
46
61
  [header: string]: string | string[];
47
62
  }): Observable<ApplicationInstanceRedirectResponse>;
63
+ /**
64
+ * Provides a list of user&#39;s who have access to an application instance
65
+ *
66
+ * @param applicationInstanceId
67
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
68
+ * @param pageNumber The current page number
69
+ * @param body Id of the application instance to return
70
+ */
71
+ getApplicationInstanceUsers(applicationInstanceId: string, pageSize?: number, pageNumber?: number, body?: string, extraHttpRequestParams?: {
72
+ search: string | {
73
+ [param: string]: string | string[];
74
+ };
75
+ }, extraHttpRequestHeaders?: {
76
+ [header: string]: string | string[];
77
+ }): Observable<Array<ApplicationInstanceUserResponse>>;
48
78
  /**
49
79
  * Provides a list of all available application instances to which the logged in user has access
50
80
  *
@@ -52,14 +82,31 @@ export declare class ApplicationInstanceService {
52
82
  * @param dataSourceName Filter by an exact name of a data source
53
83
  * @param targetHost Filter by a host name containing an alias
54
84
  * @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
+ * @param orderBy
86
+ * @param filter
87
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
88
+ * @param pageNumber The current page number
55
89
  */
56
- getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, extraHttpRequestParams?: {
90
+ getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
57
91
  search: string | {
58
92
  [param: string]: string | string[];
59
93
  };
60
94
  }, extraHttpRequestHeaders?: {
61
95
  [header: string]: string | string[];
62
96
  }): Observable<Array<ApplicationInstanceResponse>>;
97
+ /**
98
+ * Provides details to an application instance
99
+ *
100
+ * @param applicationInstanceId
101
+ * @param body Id of the application instance to return
102
+ */
103
+ getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
104
+ search: string | {
105
+ [param: string]: string | string[];
106
+ };
107
+ }, extraHttpRequestHeaders?: {
108
+ [header: string]: string | string[];
109
+ }): Observable<HttpResponse<Array<ApplicationInstanceDetailResponse>>>;
63
110
  /**
64
111
  * Provides the data needed to redirect the user to the specified application instance
65
112
  * 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 +119,21 @@ export declare class ApplicationInstanceService {
72
119
  }, extraHttpRequestHeaders?: {
73
120
  [header: string]: string | string[];
74
121
  }): Observable<HttpResponse<ApplicationInstanceRedirectResponse>>;
122
+ /**
123
+ * Provides a list of user&#39;s who have access to an application instance
124
+ *
125
+ * @param applicationInstanceId
126
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
127
+ * @param pageNumber The current page number
128
+ * @param body Id of the application instance to return
129
+ */
130
+ getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string, pageSize?: number, pageNumber?: number, body?: string, extraHttpRequestParams?: {
131
+ search: string | {
132
+ [param: string]: string | string[];
133
+ };
134
+ }, extraHttpRequestHeaders?: {
135
+ [header: string]: string | string[];
136
+ }): Observable<HttpResponse<Array<ApplicationInstanceUserResponse>>>;
75
137
  /**
76
138
  * Provides a list of all available application instances to which the logged in user has access
77
139
  *
@@ -79,8 +141,12 @@ export declare class ApplicationInstanceService {
79
141
  * @param dataSourceName Filter by an exact name of a data source
80
142
  * @param targetHost Filter by a host name containing an alias
81
143
  * @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
+ * @param orderBy
145
+ * @param filter
146
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
147
+ * @param pageNumber The current page number
82
148
  */
83
- getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, extraHttpRequestParams?: {
149
+ getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
84
150
  search: string | {
85
151
  [param: string]: string | string[];
86
152
  };
@@ -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.2108
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.
@@ -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.2108
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.
@@ -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
+ }
@@ -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.2108
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.
@@ -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.2108
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.
@@ -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.2108
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,18 +76,122 @@ 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
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
95
+ * @param pageNumber The current page number
96
+ */
97
+ getOrganizationHierarchy(pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
98
+ search: string | {
99
+ [param: string]: string | string[];
100
+ };
101
+ }, extraHttpRequestHeaders?: {
102
+ [header: string]: string | string[];
103
+ }): Observable<Array<HierarchicalOrganizations>>;
104
+ /**
105
+ * Gets users linked to an organization
106
+ *
107
+ * @param organizationId The organization identifier
108
+ */
109
+ getOrganizationUsers(organizationId: string, extraHttpRequestParams?: {
110
+ search: string | {
111
+ [param: string]: string | string[];
112
+ };
113
+ }, extraHttpRequestHeaders?: {
114
+ [header: string]: string | string[];
115
+ }): Observable<Array<OrganizationUserResponse>>;
47
116
  /**
48
117
  * Gets the organizations to which the logged in user has access
49
118
  *
50
119
  * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
120
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
121
+ * @param pageNumber The current page number
122
+ */
123
+ getOrganizations(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
124
+ search: string | {
125
+ [param: string]: string | string[];
126
+ };
127
+ }, extraHttpRequestHeaders?: {
128
+ [header: string]: string | string[];
129
+ }): Observable<Array<OrganizationResponse>>;
130
+ /**
131
+ *
132
+ *
133
+ * @param query
134
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
135
+ * @param pageNumber The current page number
51
136
  */
52
- getOrganizations(onlyAdmin?: boolean, extraHttpRequestParams?: {
137
+ searchOrganizations(query?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
53
138
  search: string | {
54
139
  [param: string]: string | string[];
55
140
  };
56
141
  }, extraHttpRequestHeaders?: {
57
142
  [header: string]: string | string[];
58
143
  }): Observable<Array<OrganizationResponse>>;
144
+ /**
145
+ * Update organization access control data You must be an admin to the organizaion to get this information
146
+ *
147
+ * @param organizationId The organization identifier
148
+ * @param body
149
+ */
150
+ updateOrganizationAccessControl(organizationId: string, body?: UpdateOrganizationAccessControlRequest, extraHttpRequestParams?: {
151
+ search: string | {
152
+ [param: string]: string | string[];
153
+ };
154
+ }, extraHttpRequestHeaders?: {
155
+ [header: string]: string | string[];
156
+ }): Observable<OrganizationAccessControlResponse>;
157
+ /**
158
+ * Update organization details You must be an admin to the organizaion to get this information
159
+ *
160
+ * @param organizationId The organization identifier
161
+ * @param body
162
+ */
163
+ updateOrganizationDetails(organizationId: string, body?: UpdateOrganizationDetailsRequest, extraHttpRequestParams?: {
164
+ search: string | {
165
+ [param: string]: string | string[];
166
+ };
167
+ }, extraHttpRequestHeaders?: {
168
+ [header: string]: string | string[];
169
+ }): Observable<OrganizationDetailResponse>;
170
+ /**
171
+ * Create a new organization
172
+ *
173
+ * @param organizationId
174
+ * @param body
175
+ */
176
+ createOrganizationWithHttpInfo(organizationId: string, body?: CreateOrganizationRequest, extraHttpRequestParams?: {
177
+ search: string | {
178
+ [param: string]: string | string[];
179
+ };
180
+ }, extraHttpRequestHeaders?: {
181
+ [header: string]: string | string[];
182
+ }): Observable<HttpResponse<OrganizationResponse>>;
183
+ /**
184
+ * Gets organization access control data You must be an admin to the organizaion to get this information
185
+ *
186
+ * @param organizationId The organization identifier
187
+ */
188
+ getOrganizationAccessControlWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
189
+ search: string | {
190
+ [param: string]: string | string[];
191
+ };
192
+ }, extraHttpRequestHeaders?: {
193
+ [header: string]: string | string[];
194
+ }): Observable<HttpResponse<OrganizationAccessControlResponse>>;
59
195
  /**
60
196
  * Gets information about an Organization
61
197
  *
@@ -68,16 +204,95 @@ export declare class OrganizationService {
68
204
  }, extraHttpRequestHeaders?: {
69
205
  [header: string]: string | string[];
70
206
  }): Observable<HttpResponse<OrganizationResponse>>;
207
+ /**
208
+ * Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
209
+ *
210
+ * @param organizationId The organization identifier
211
+ */
212
+ getOrganizationDetailsWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
213
+ search: string | {
214
+ [param: string]: string | string[];
215
+ };
216
+ }, extraHttpRequestHeaders?: {
217
+ [header: string]: string | string[];
218
+ }): Observable<HttpResponse<OrganizationDetailResponse>>;
219
+ /**
220
+ * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
221
+ *
222
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
223
+ * @param pageNumber The current page number
224
+ */
225
+ getOrganizationHierarchyWithHttpInfo(pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
226
+ search: string | {
227
+ [param: string]: string | string[];
228
+ };
229
+ }, extraHttpRequestHeaders?: {
230
+ [header: string]: string | string[];
231
+ }): Observable<HttpResponse<Array<HierarchicalOrganizations>>>;
232
+ /**
233
+ * Gets users linked to an organization
234
+ *
235
+ * @param organizationId The organization identifier
236
+ */
237
+ getOrganizationUsersWithHttpInfo(organizationId: string, extraHttpRequestParams?: {
238
+ search: string | {
239
+ [param: string]: string | string[];
240
+ };
241
+ }, extraHttpRequestHeaders?: {
242
+ [header: string]: string | string[];
243
+ }): Observable<HttpResponse<Array<OrganizationUserResponse>>>;
71
244
  /**
72
245
  * Gets the organizations to which the logged in user has access
73
246
  *
74
247
  * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
248
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
249
+ * @param pageNumber The current page number
250
+ */
251
+ getOrganizationsWithHttpInfo(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
252
+ search: string | {
253
+ [param: string]: string | string[];
254
+ };
255
+ }, extraHttpRequestHeaders?: {
256
+ [header: string]: string | string[];
257
+ }): Observable<HttpResponse<Array<OrganizationResponse>>>;
258
+ /**
259
+ *
260
+ *
261
+ * @param query
262
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
263
+ * @param pageNumber The current page number
75
264
  */
76
- getOrganizationsWithHttpInfo(onlyAdmin?: boolean, extraHttpRequestParams?: {
265
+ searchOrganizationsWithHttpInfo(query?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
77
266
  search: string | {
78
267
  [param: string]: string | string[];
79
268
  };
80
269
  }, extraHttpRequestHeaders?: {
81
270
  [header: string]: string | string[];
82
271
  }): Observable<HttpResponse<Array<OrganizationResponse>>>;
272
+ /**
273
+ * Update organization access control data You must be an admin to the organizaion to get this information
274
+ *
275
+ * @param organizationId The organization identifier
276
+ * @param body
277
+ */
278
+ updateOrganizationAccessControlWithHttpInfo(organizationId: string, body?: UpdateOrganizationAccessControlRequest, extraHttpRequestParams?: {
279
+ search: string | {
280
+ [param: string]: string | string[];
281
+ };
282
+ }, extraHttpRequestHeaders?: {
283
+ [header: string]: string | string[];
284
+ }): Observable<HttpResponse<OrganizationAccessControlResponse>>;
285
+ /**
286
+ * Update organization details You must be an admin to the organizaion to get this information
287
+ *
288
+ * @param organizationId The organization identifier
289
+ * @param body
290
+ */
291
+ updateOrganizationDetailsWithHttpInfo(organizationId: string, body?: UpdateOrganizationDetailsRequest, extraHttpRequestParams?: {
292
+ search: string | {
293
+ [param: string]: string | string[];
294
+ };
295
+ }, extraHttpRequestHeaders?: {
296
+ [header: string]: string | string[];
297
+ }): Observable<HttpResponse<OrganizationDetailResponse>>;
83
298
  }
@@ -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.2108
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.
@@ -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.2108
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
  *