@energycap/energycapid-sdk-angular 1.2112.51-develop-20220103-1710 → 1.2112.55-develop-20220117-1840

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.
@@ -89,7 +89,7 @@ export declare class OrganizationService {
89
89
  [header: string]: string | string[];
90
90
  }): Observable<OrganizationDetailResponse>;
91
91
  /**
92
- * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
92
+ * Returns your entire organization hierarchy For performance returns a max page size of 100
93
93
  *
94
94
  * @param pageSize The number of elements to return in a page (defaults to 100 elements)
95
95
  * @param pageNumber The current page number
@@ -116,11 +116,11 @@ export declare class OrganizationService {
116
116
  /**
117
117
  * Gets the organizations to which the logged in user has access
118
118
  *
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)
119
+ * @param filter
120
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
121
121
  * @param pageNumber The current page number
122
122
  */
123
- getOrganizations(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
123
+ getOrganizations(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
124
124
  search: string | {
125
125
  [param: string]: string | string[];
126
126
  };
@@ -217,7 +217,7 @@ export declare class OrganizationService {
217
217
  [header: string]: string | string[];
218
218
  }): Observable<HttpResponse<OrganizationDetailResponse>>;
219
219
  /**
220
- * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
220
+ * Returns your entire organization hierarchy For performance returns a max page size of 100
221
221
  *
222
222
  * @param pageSize The number of elements to return in a page (defaults to 100 elements)
223
223
  * @param pageNumber The current page number
@@ -244,11 +244,11 @@ export declare class OrganizationService {
244
244
  /**
245
245
  * Gets the organizations to which the logged in user has access
246
246
  *
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)
247
+ * @param filter
248
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
249
249
  * @param pageNumber The current page number
250
250
  */
251
- getOrganizationsWithHttpInfo(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
251
+ getOrganizationsWithHttpInfo(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
252
252
  search: string | {
253
253
  [param: string]: string | string[];
254
254
  };
@@ -2757,7 +2757,7 @@
2757
2757
  }));
2758
2758
  };
2759
2759
  /**
2760
- * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2760
+ * Returns your entire organization hierarchy For performance returns a max page size of 100
2761
2761
  *
2762
2762
  * @param pageSize The number of elements to return in a page (defaults to 100 elements)
2763
2763
  * @param pageNumber The current page number
@@ -2792,12 +2792,12 @@
2792
2792
  /**
2793
2793
  * Gets the organizations to which the logged in user has access
2794
2794
  *
2795
- * @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
2796
- * @param pageSize The number of elements to return in a page (defaults to 250 elements)
2795
+ * @param filter
2796
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
2797
2797
  * @param pageNumber The current page number
2798
2798
  */
2799
- OrganizationService.prototype.getOrganizations = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2800
- return this.getOrganizationsWithHttpInfo(onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2799
+ OrganizationService.prototype.getOrganizations = function (filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2800
+ return this.getOrganizationsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2801
2801
  .pipe(operators.map(function (response) {
2802
2802
  if (response.status === 204) {
2803
2803
  return undefined;
@@ -3069,7 +3069,7 @@
3069
3069
  return this.http.request(RequestMethod$2.Get, path, requestOptions);
3070
3070
  };
3071
3071
  /**
3072
- * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
3072
+ * Returns your entire organization hierarchy For performance returns a max page size of 100
3073
3073
  *
3074
3074
  * @param pageSize The number of elements to return in a page (defaults to 100 elements)
3075
3075
  * @param pageNumber The current page number
@@ -3175,11 +3175,11 @@
3175
3175
  /**
3176
3176
  * Gets the organizations to which the logged in user has access
3177
3177
  *
3178
- * @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
3179
- * @param pageSize The number of elements to return in a page (defaults to 250 elements)
3178
+ * @param filter
3179
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
3180
3180
  * @param pageNumber The current page number
3181
3181
  */
3182
- OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
3182
+ OrganizationService.prototype.getOrganizationsWithHttpInfo = function (filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
3183
3183
  var _this = this;
3184
3184
  var path = this.basePath + '/api/v202108/Organization';
3185
3185
  var queryParameters;
@@ -3204,8 +3204,8 @@
3204
3204
  headers = headers.set(key, value);
3205
3205
  });
3206
3206
  }
3207
- if (onlyAdmin !== undefined) {
3208
- queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
3207
+ if (filter !== undefined) {
3208
+ queryParameters = queryParameters.set('filter', filter);
3209
3209
  }
3210
3210
  if (pageSize !== undefined) {
3211
3211
  queryParameters = queryParameters.set('pageSize', pageSize);
@@ -5237,6 +5237,25 @@
5237
5237
  return UserOrganizationResponse;
5238
5238
  }());
5239
5239
 
5240
+ /**
5241
+ * EnergyCAP ID SDK
5242
+ * Document used to generate the EnergyCAP ID SDK
5243
+ *
5244
+ * OpenAPI spec version: 1.2112
5245
+ * Contact: support@energycap.com
5246
+ *
5247
+ * NOTE: This class is auto generated by the swagger code generator program.
5248
+ * https://github.com/swagger-api/swagger-codegen.git
5249
+ * Do not edit the class manually.
5250
+ */
5251
+ exports.UserOrganizationStateEnum = void 0;
5252
+ (function (UserOrganizationStateEnum) {
5253
+ UserOrganizationStateEnum[UserOrganizationStateEnum["Member"] = 'Member'] = "Member";
5254
+ UserOrganizationStateEnum[UserOrganizationStateEnum["JoinRequestPending"] = 'JoinRequestPending'] = "JoinRequestPending";
5255
+ UserOrganizationStateEnum[UserOrganizationStateEnum["CanRequestJoin"] = 'CanRequestJoin'] = "CanRequestJoin";
5256
+ UserOrganizationStateEnum[UserOrganizationStateEnum["AutoJoinable"] = 'AutoJoinable'] = "AutoJoinable";
5257
+ })(exports.UserOrganizationStateEnum || (exports.UserOrganizationStateEnum = {}));
5258
+
5240
5259
  /**
5241
5260
  * EnergyCAP ID SDK
5242
5261
  * Document used to generate the EnergyCAP ID SDK