@energycap/energycapid-sdk-angular 1.2112.66-develop-20220127-1624 → 1.2112.70-develop-20220131-1557
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/user.service.d.ts +10 -9
- package/bundles/energycap-energycapid-sdk-angular.umd.js +55 -13
- 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/user.service.js +9 -9
- package/esm2015/model/inviteUserFailure.js +17 -0
- package/esm2015/model/inviteUsersRequest.js +17 -0
- package/esm2015/model/inviteUsersResponse.js +17 -0
- package/esm2015/model/models.js +4 -2
- package/fesm2015/energycap-energycapid-sdk-angular.js +45 -11
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/inviteUserFailure.d.ts +24 -0
- package/model/inviteUsersRequest.d.ts +30 -0
- package/model/inviteUsersResponse.d.ts +25 -0
- package/model/models.d.ts +3 -1
- package/package.json +1 -1
- package/esm2015/model/inviteUserRequest.js +0 -17
- package/model/inviteUserRequest.d.ts +0 -42
|
@@ -3335,12 +3335,12 @@ class UserService {
|
|
|
3335
3335
|
}));
|
|
3336
3336
|
}
|
|
3337
3337
|
/**
|
|
3338
|
-
*
|
|
3338
|
+
* Invite multiple users to an organization
|
|
3339
3339
|
*
|
|
3340
|
-
* @param body
|
|
3340
|
+
* @param body The invitation containing the list of users to email invitations to, as well as organization and role information
|
|
3341
3341
|
*/
|
|
3342
|
-
|
|
3343
|
-
return this.
|
|
3342
|
+
inviteUsers(body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3343
|
+
return this.inviteUsersWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
3344
3344
|
.pipe(map((response) => {
|
|
3345
3345
|
if (response.status === 204) {
|
|
3346
3346
|
return undefined;
|
|
@@ -3806,12 +3806,12 @@ class UserService {
|
|
|
3806
3806
|
return this.http.request(RequestMethod.Get, path, requestOptions);
|
|
3807
3807
|
}
|
|
3808
3808
|
/**
|
|
3809
|
-
*
|
|
3809
|
+
* Invite multiple users to an organization
|
|
3810
3810
|
*
|
|
3811
|
-
* @param body
|
|
3811
|
+
* @param body The invitation containing the list of users to email invitations to, as well as organization and role information
|
|
3812
3812
|
*/
|
|
3813
|
-
|
|
3814
|
-
const path = this.basePath + '/api/
|
|
3813
|
+
inviteUsersWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
3814
|
+
const path = this.basePath + '/api/v202112/User/inviteUsers';
|
|
3815
3815
|
let queryParameters;
|
|
3816
3816
|
if (extraHttpRequestParams) {
|
|
3817
3817
|
if (typeof extraHttpRequestParams.search === 'string') {
|
|
@@ -4290,9 +4290,43 @@ class HierarchicalOrganizations2 {
|
|
|
4290
4290
|
* Do not edit the class manually.
|
|
4291
4291
|
*/
|
|
4292
4292
|
/**
|
|
4293
|
-
*
|
|
4293
|
+
* This model represents a user invitation failure
|
|
4294
4294
|
*/
|
|
4295
|
-
class
|
|
4295
|
+
class InviteUserFailure {
|
|
4296
|
+
}
|
|
4297
|
+
|
|
4298
|
+
/**
|
|
4299
|
+
* EnergyCAP ID SDK
|
|
4300
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4301
|
+
*
|
|
4302
|
+
* OpenAPI spec version: 1.2112
|
|
4303
|
+
* Contact: support@energycap.com
|
|
4304
|
+
*
|
|
4305
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4306
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4307
|
+
* Do not edit the class manually.
|
|
4308
|
+
*/
|
|
4309
|
+
/**
|
|
4310
|
+
* Use this model to invite multiple users to an entity
|
|
4311
|
+
*/
|
|
4312
|
+
class InviteUsersRequest {
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* EnergyCAP ID SDK
|
|
4317
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4318
|
+
*
|
|
4319
|
+
* OpenAPI spec version: 1.2112
|
|
4320
|
+
* Contact: support@energycap.com
|
|
4321
|
+
*
|
|
4322
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4323
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4324
|
+
* Do not edit the class manually.
|
|
4325
|
+
*/
|
|
4326
|
+
/**
|
|
4327
|
+
* This model represents the result of the InviteUsers request
|
|
4328
|
+
*/
|
|
4329
|
+
class InviteUsersResponse {
|
|
4296
4330
|
}
|
|
4297
4331
|
|
|
4298
4332
|
/**
|
|
@@ -4912,5 +4946,5 @@ EnergyCapSdkModule.decorators = [
|
|
|
4912
4946
|
* Generated bundle index. Do not edit.
|
|
4913
4947
|
*/
|
|
4914
4948
|
|
|
4915
|
-
export { APIFilter, APIOrderBy, APIS, AllUserPermissionsResponse, ApplicationInstanceDetailResponse, ApplicationInstanceRedirectResponse, ApplicationInstanceResponse, ApplicationInstanceService, ApplicationInstanceUserResponse, ApplicationResponse, ApplicationService, AuthService, BASE_PATH, COLLECTION_FORMATS, ChangePasswordRequest, Configuration, CreateOrganizationRequest, DataSourceResponse, DataSourceService, DataSourceUpdateRequest, DataType, DomainAccessControlResponse, DomainJoinTypeResponse, DomainJoinTypeService, EnergyCapSdkModule, EntityPermission, EnvironmentResponse, EnvironmentService, HierarchicalOrganizations, HierarchicalOrganizations2,
|
|
4949
|
+
export { APIFilter, APIOrderBy, APIS, AllUserPermissionsResponse, ApplicationInstanceDetailResponse, ApplicationInstanceRedirectResponse, ApplicationInstanceResponse, ApplicationInstanceService, ApplicationInstanceUserResponse, ApplicationResponse, ApplicationService, AuthService, BASE_PATH, COLLECTION_FORMATS, ChangePasswordRequest, Configuration, CreateOrganizationRequest, DataSourceResponse, DataSourceService, DataSourceUpdateRequest, DataType, DomainAccessControlResponse, DomainJoinTypeResponse, DomainJoinTypeService, EnergyCapSdkModule, EntityPermission, EnvironmentResponse, EnvironmentService, HierarchicalOrganizations, HierarchicalOrganizations2, InviteUserFailure, InviteUsersRequest, InviteUsersResponse, LinkDataSourceRequest, LoginResponse, LoginSourceResponse, MeService, NotificationBadgeResponse, NotificationCategory, NotificationResponse, NotificationService, NotificationSettingRequest, NotificationType, NotificationUpdateRequest, OrganizationAccessControlResponse, OrganizationApplicationResponse, OrganizationApplicationService, OrganizationAssignedCustomField, OrganizationDetailResponse, OrganizationGatherCustomField, OrganizationResponse, OrganizationService, OrganizationUserResponse, OrganizationUserStatusEnum, ResetPasswordRequest, RoleEnum, SelfCreateUserRequest, UpdateMeRequest, UpdateOrganizationAccessControlRequest, UpdateOrganizationDetailsRequest, UpdateResult, UserApplicationInstanceResponse, UserAuthResultEnum, UserChild, UserLoginRequest, UserOrganizationResponse, UserOrganizationStateEnum, UserPermissionRequest, UserPermissionResponse, UserResponse, UserService, UserStatusEnum, ValidatePasswordRequest, ValidatePasswordResponse };
|
|
4916
4950
|
//# sourceMappingURL=energycap-energycapid-sdk-angular.js.map
|