@energycap/energycapid-sdk-angular 1.2112.69-develop-20220131-0920 → 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
package/api/user.service.d.ts
CHANGED
|
@@ -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 {
|
|
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
|
-
*
|
|
148
|
+
* Invite multiple users to an organization
|
|
148
149
|
*
|
|
149
|
-
* @param body
|
|
150
|
+
* @param body The invitation containing the list of users to email invitations to, as well as organization and role information
|
|
150
151
|
*/
|
|
151
|
-
|
|
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<
|
|
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
|
-
*
|
|
289
|
+
* Invite multiple users to an organization
|
|
289
290
|
*
|
|
290
|
-
* @param body
|
|
291
|
+
* @param body The invitation containing the list of users to email invitations to, as well as organization and role information
|
|
291
292
|
*/
|
|
292
|
-
|
|
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<
|
|
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
|
-
*
|
|
3741
|
+
* Invite multiple users to an organization
|
|
3742
3742
|
*
|
|
3743
|
-
* @param body
|
|
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.
|
|
3746
|
-
return this.
|
|
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
|
-
*
|
|
4228
|
+
* Invite multiple users to an organization
|
|
4229
4229
|
*
|
|
4230
|
-
* @param body
|
|
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.
|
|
4232
|
+
UserService.prototype.inviteUsersWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
4233
4233
|
var _this = this;
|
|
4234
|
-
var path = this.basePath + '/api/
|
|
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
|
-
*
|
|
4776
|
+
* This model represents a user invitation failure
|
|
4777
4777
|
*/
|
|
4778
|
-
var
|
|
4779
|
-
function
|
|
4778
|
+
var InviteUserFailure = /** @class */ (function () {
|
|
4779
|
+
function InviteUserFailure() {
|
|
4780
4780
|
}
|
|
4781
|
-
return
|
|
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.
|
|
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;
|