@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.
@@ -14,7 +14,8 @@ import { HttpResponse } from '@angular/common/http';
14
14
  import { Observable } from 'rxjs';
15
15
  import { AllUserPermissionsResponse } from '../model/allUserPermissionsResponse';
16
16
  import { EntityPermission } from '../model/entityPermission';
17
- import { InviteUserRequest } from '../model/inviteUserRequest';
17
+ import { InviteUsersRequest } from '../model/inviteUsersRequest';
18
+ import { InviteUsersResponse } from '../model/inviteUsersResponse';
18
19
  import { SelfCreateUserRequest } from '../model/selfCreateUserRequest';
19
20
  import { UserApplicationInstanceResponse } from '../model/userApplicationInstanceResponse';
20
21
  import { UserOrganizationResponse } from '../model/userOrganizationResponse';
@@ -144,17 +145,17 @@ export declare class UserService {
144
145
  [header: string]: string | string[];
145
146
  }): Observable<Array<UserPermissionResponse>>;
146
147
  /**
147
- * Use this method to invite a user to the application Creates a user and sends an email
148
+ * Invite multiple users to an organization
148
149
  *
149
- * @param body Data used to create the user and send the invitation
150
+ * @param body The invitation containing the list of users to email invitations to, as well as organization and role information
150
151
  */
151
- inviteUser(body?: InviteUserRequest, extraHttpRequestParams?: {
152
+ inviteUsers(body?: InviteUsersRequest, extraHttpRequestParams?: {
152
153
  search: string | {
153
154
  [param: string]: string | string[];
154
155
  };
155
156
  }, extraHttpRequestHeaders?: {
156
157
  [header: string]: string | string[];
157
- }): Observable<UserResponse>;
158
+ }): Observable<InviteUsersResponse>;
158
159
  /**
159
160
  * Resends an invitation to the specified user
160
161
  *
@@ -285,17 +286,17 @@ export declare class UserService {
285
286
  [header: string]: string | string[];
286
287
  }): Observable<HttpResponse<Array<UserPermissionResponse>>>;
287
288
  /**
288
- * Use this method to invite a user to the application Creates a user and sends an email
289
+ * Invite multiple users to an organization
289
290
  *
290
- * @param body Data used to create the user and send the invitation
291
+ * @param body The invitation containing the list of users to email invitations to, as well as organization and role information
291
292
  */
292
- inviteUserWithHttpInfo(body?: InviteUserRequest, extraHttpRequestParams?: {
293
+ inviteUsersWithHttpInfo(body?: InviteUsersRequest, extraHttpRequestParams?: {
293
294
  search: string | {
294
295
  [param: string]: string | string[];
295
296
  };
296
297
  }, extraHttpRequestHeaders?: {
297
298
  [header: string]: string | string[];
298
- }): Observable<HttpResponse<UserResponse>>;
299
+ }): Observable<HttpResponse<InviteUsersResponse>>;
299
300
  /**
300
301
  * Resends an invitation to the specified user
301
302
  *
@@ -3738,12 +3738,12 @@
3738
3738
  }));
3739
3739
  };
3740
3740
  /**
3741
- * Use this method to invite a user to the application Creates a user and sends an email
3741
+ * Invite multiple users to an organization
3742
3742
  *
3743
- * @param body Data used to create the user and send the invitation
3743
+ * @param body The invitation containing the list of users to email invitations to, as well as organization and role information
3744
3744
  */
3745
- UserService.prototype.inviteUser = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
3746
- return this.inviteUserWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
3745
+ UserService.prototype.inviteUsers = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
3746
+ return this.inviteUsersWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
3747
3747
  .pipe(operators.map(function (response) {
3748
3748
  if (response.status === 204) {
3749
3749
  return undefined;
@@ -4225,13 +4225,13 @@
4225
4225
  return this.http.request(RequestMethod.Get, path, requestOptions);
4226
4226
  };
4227
4227
  /**
4228
- * Use this method to invite a user to the application Creates a user and sends an email
4228
+ * Invite multiple users to an organization
4229
4229
  *
4230
- * @param body Data used to create the user and send the invitation
4230
+ * @param body The invitation containing the list of users to email invitations to, as well as organization and role information
4231
4231
  */
4232
- UserService.prototype.inviteUserWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
4232
+ UserService.prototype.inviteUsersWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
4233
4233
  var _this = this;
4234
- var path = this.basePath + '/api/v202108/User/invite';
4234
+ var path = this.basePath + '/api/v202112/User/inviteUsers';
4235
4235
  var queryParameters;
4236
4236
  if (extraHttpRequestParams) {
4237
4237
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -4773,12 +4773,52 @@
4773
4773
  * Do not edit the class manually.
4774
4774
  */
4775
4775
  /**
4776
- * Use this model to invite a User
4776
+ * This model represents a user invitation failure
4777
4777
  */
4778
- var InviteUserRequest = /** @class */ (function () {
4779
- function InviteUserRequest() {
4778
+ var InviteUserFailure = /** @class */ (function () {
4779
+ function InviteUserFailure() {
4780
4780
  }
4781
- return InviteUserRequest;
4781
+ return InviteUserFailure;
4782
+ }());
4783
+
4784
+ /**
4785
+ * EnergyCAP ID SDK
4786
+ * Document used to generate the EnergyCAP ID SDK
4787
+ *
4788
+ * OpenAPI spec version: 1.2112
4789
+ * Contact: support@energycap.com
4790
+ *
4791
+ * NOTE: This class is auto generated by the swagger code generator program.
4792
+ * https://github.com/swagger-api/swagger-codegen.git
4793
+ * Do not edit the class manually.
4794
+ */
4795
+ /**
4796
+ * Use this model to invite multiple users to an entity
4797
+ */
4798
+ var InviteUsersRequest = /** @class */ (function () {
4799
+ function InviteUsersRequest() {
4800
+ }
4801
+ return InviteUsersRequest;
4802
+ }());
4803
+
4804
+ /**
4805
+ * EnergyCAP ID SDK
4806
+ * Document used to generate the EnergyCAP ID SDK
4807
+ *
4808
+ * OpenAPI spec version: 1.2112
4809
+ * Contact: support@energycap.com
4810
+ *
4811
+ * NOTE: This class is auto generated by the swagger code generator program.
4812
+ * https://github.com/swagger-api/swagger-codegen.git
4813
+ * Do not edit the class manually.
4814
+ */
4815
+ /**
4816
+ * This model represents the result of the InviteUsers request
4817
+ */
4818
+ var InviteUsersResponse = /** @class */ (function () {
4819
+ function InviteUsersResponse() {
4820
+ }
4821
+ return InviteUsersResponse;
4782
4822
  }());
4783
4823
 
4784
4824
  /**
@@ -5524,7 +5564,9 @@
5524
5564
  exports.EnvironmentService = EnvironmentService;
5525
5565
  exports.HierarchicalOrganizations = HierarchicalOrganizations;
5526
5566
  exports.HierarchicalOrganizations2 = HierarchicalOrganizations2;
5527
- exports.InviteUserRequest = InviteUserRequest;
5567
+ exports.InviteUserFailure = InviteUserFailure;
5568
+ exports.InviteUsersRequest = InviteUsersRequest;
5569
+ exports.InviteUsersResponse = InviteUsersResponse;
5528
5570
  exports.LinkDataSourceRequest = LinkDataSourceRequest;
5529
5571
  exports.LoginResponse = LoginResponse;
5530
5572
  exports.LoginSourceResponse = LoginSourceResponse;