@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.
- package/api/organization.service.d.ts +8 -8
- package/bundles/energycap-energycapid-sdk-angular.umd.js +30 -11
- 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/organization.service.js +12 -12
- package/esm2015/model/domainJoinTypeResponse.js +1 -1
- package/esm2015/model/models.js +2 -1
- package/esm2015/model/organizationResponse.js +1 -1
- package/esm2015/model/userOrganizationStateEnum.js +19 -0
- package/fesm2015/energycap-energycapid-sdk-angular.js +31 -12
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/domainJoinTypeResponse.d.ts +0 -4
- package/model/models.d.ts +1 -0
- package/model/organizationResponse.d.ts +6 -0
- package/model/userOrganizationStateEnum.d.ts +17 -0
- package/package.json +1 -1
|
@@ -2378,7 +2378,7 @@ class OrganizationService {
|
|
|
2378
2378
|
}));
|
|
2379
2379
|
}
|
|
2380
2380
|
/**
|
|
2381
|
-
* Returns
|
|
2381
|
+
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
2382
2382
|
*
|
|
2383
2383
|
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
2384
2384
|
* @param pageNumber The current page number
|
|
@@ -2413,12 +2413,12 @@ class OrganizationService {
|
|
|
2413
2413
|
/**
|
|
2414
2414
|
* Gets the organizations to which the logged in user has access
|
|
2415
2415
|
*
|
|
2416
|
-
* @param
|
|
2417
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
2416
|
+
* @param filter
|
|
2417
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
2418
2418
|
* @param pageNumber The current page number
|
|
2419
2419
|
*/
|
|
2420
|
-
getOrganizations(
|
|
2421
|
-
return this.getOrganizationsWithHttpInfo(
|
|
2420
|
+
getOrganizations(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2421
|
+
return this.getOrganizationsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2422
2422
|
.pipe(map((response) => {
|
|
2423
2423
|
if (response.status === 204) {
|
|
2424
2424
|
return undefined;
|
|
@@ -2682,7 +2682,7 @@ class OrganizationService {
|
|
|
2682
2682
|
return this.http.request(RequestMethod$2.Get, path, requestOptions);
|
|
2683
2683
|
}
|
|
2684
2684
|
/**
|
|
2685
|
-
* Returns
|
|
2685
|
+
* Returns your entire organization hierarchy For performance returns a max page size of 100
|
|
2686
2686
|
*
|
|
2687
2687
|
* @param pageSize The number of elements to return in a page (defaults to 100 elements)
|
|
2688
2688
|
* @param pageNumber The current page number
|
|
@@ -2784,11 +2784,11 @@ class OrganizationService {
|
|
|
2784
2784
|
/**
|
|
2785
2785
|
* Gets the organizations to which the logged in user has access
|
|
2786
2786
|
*
|
|
2787
|
-
* @param
|
|
2788
|
-
* @param pageSize The number of elements to return in a page (defaults to
|
|
2787
|
+
* @param filter
|
|
2788
|
+
* @param pageSize The number of elements to return in a page (defaults to 50 elements)
|
|
2789
2789
|
* @param pageNumber The current page number
|
|
2790
2790
|
*/
|
|
2791
|
-
getOrganizationsWithHttpInfo(
|
|
2791
|
+
getOrganizationsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2792
2792
|
const path = this.basePath + '/api/v202108/Organization';
|
|
2793
2793
|
let queryParameters;
|
|
2794
2794
|
if (extraHttpRequestParams) {
|
|
@@ -2811,8 +2811,8 @@ class OrganizationService {
|
|
|
2811
2811
|
headers = headers.set(key, value);
|
|
2812
2812
|
});
|
|
2813
2813
|
}
|
|
2814
|
-
if (
|
|
2815
|
-
queryParameters = queryParameters.set('
|
|
2814
|
+
if (filter !== undefined) {
|
|
2815
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
2816
2816
|
}
|
|
2817
2817
|
if (pageSize !== undefined) {
|
|
2818
2818
|
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
@@ -4682,6 +4682,25 @@ class UserLoginRequest {
|
|
|
4682
4682
|
class UserOrganizationResponse {
|
|
4683
4683
|
}
|
|
4684
4684
|
|
|
4685
|
+
/**
|
|
4686
|
+
* EnergyCAP ID SDK
|
|
4687
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4688
|
+
*
|
|
4689
|
+
* OpenAPI spec version: 1.2112
|
|
4690
|
+
* Contact: support@energycap.com
|
|
4691
|
+
*
|
|
4692
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4693
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4694
|
+
* Do not edit the class manually.
|
|
4695
|
+
*/
|
|
4696
|
+
var UserOrganizationStateEnum;
|
|
4697
|
+
(function (UserOrganizationStateEnum) {
|
|
4698
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["Member"] = 'Member'] = "Member";
|
|
4699
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["JoinRequestPending"] = 'JoinRequestPending'] = "JoinRequestPending";
|
|
4700
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["CanRequestJoin"] = 'CanRequestJoin'] = "CanRequestJoin";
|
|
4701
|
+
UserOrganizationStateEnum[UserOrganizationStateEnum["AutoJoinable"] = 'AutoJoinable'] = "AutoJoinable";
|
|
4702
|
+
})(UserOrganizationStateEnum || (UserOrganizationStateEnum = {}));
|
|
4703
|
+
|
|
4685
4704
|
/**
|
|
4686
4705
|
* EnergyCAP ID SDK
|
|
4687
4706
|
* Document used to generate the EnergyCAP ID SDK
|
|
@@ -4809,5 +4828,5 @@ EnergyCapSdkModule.decorators = [
|
|
|
4809
4828
|
* Generated bundle index. Do not edit.
|
|
4810
4829
|
*/
|
|
4811
4830
|
|
|
4812
|
-
export { APIFilter, APIOrderBy, APIS, AllUserPermissionsResponse, ApplicationInstanceDetailResponse, ApplicationInstanceRedirectResponse, ApplicationInstanceResponse, ApplicationInstanceService, ApplicationInstanceUserResponse, ApplicationResponse, ApplicationService, AuthService, BASE_PATH, COLLECTION_FORMATS, ChangePasswordRequest, Configuration, CreateOrganizationRequest, DataSourceResponse, DataSourceService, DataSourceUpdateRequest, DomainAccessControlResponse, DomainJoinTypeResponse, DomainJoinTypeService, EnergyCapSdkModule, EntityPermission, EnvironmentResponse, EnvironmentService, HierarchicalOrganizations, HierarchicalOrganizations2, InviteUserRequest, LinkDataSourceRequest, LoginResponse, LoginSourceResponse, MeService, NotificationBadgeResponse, NotificationCategory, NotificationResponse, NotificationService, NotificationSettingRequest, NotificationType, NotificationUpdateRequest, OrganizationAccessControlResponse, OrganizationApplicationResponse, OrganizationApplicationService, OrganizationDetailResponse, OrganizationResponse, OrganizationService, OrganizationUserResponse, ResetPasswordRequest, RoleEnum, SelfCreateUserRequest, UpdateMeRequest, UpdateOrganizationAccessControlRequest, UpdateOrganizationDetailsRequest, UpdateResult, UserApplicationInstanceResponse, UserAuthResultEnum, UserChild, UserLoginRequest, UserOrganizationResponse, UserPermissionRequest, UserPermissionResponse, UserResponse, UserService, UserStatusEnum, ValidatePasswordRequest, ValidatePasswordResponse };
|
|
4831
|
+
export { APIFilter, APIOrderBy, APIS, AllUserPermissionsResponse, ApplicationInstanceDetailResponse, ApplicationInstanceRedirectResponse, ApplicationInstanceResponse, ApplicationInstanceService, ApplicationInstanceUserResponse, ApplicationResponse, ApplicationService, AuthService, BASE_PATH, COLLECTION_FORMATS, ChangePasswordRequest, Configuration, CreateOrganizationRequest, DataSourceResponse, DataSourceService, DataSourceUpdateRequest, DomainAccessControlResponse, DomainJoinTypeResponse, DomainJoinTypeService, EnergyCapSdkModule, EntityPermission, EnvironmentResponse, EnvironmentService, HierarchicalOrganizations, HierarchicalOrganizations2, InviteUserRequest, LinkDataSourceRequest, LoginResponse, LoginSourceResponse, MeService, NotificationBadgeResponse, NotificationCategory, NotificationResponse, NotificationService, NotificationSettingRequest, NotificationType, NotificationUpdateRequest, OrganizationAccessControlResponse, OrganizationApplicationResponse, OrganizationApplicationService, OrganizationDetailResponse, OrganizationResponse, OrganizationService, OrganizationUserResponse, ResetPasswordRequest, RoleEnum, SelfCreateUserRequest, UpdateMeRequest, UpdateOrganizationAccessControlRequest, UpdateOrganizationDetailsRequest, UpdateResult, UserApplicationInstanceResponse, UserAuthResultEnum, UserChild, UserLoginRequest, UserOrganizationResponse, UserOrganizationStateEnum, UserPermissionRequest, UserPermissionResponse, UserResponse, UserService, UserStatusEnum, ValidatePasswordRequest, ValidatePasswordResponse };
|
|
4813
4832
|
//# sourceMappingURL=energycap-energycapid-sdk-angular.js.map
|