@energycap/energycapid-sdk-angular 1.2112.61-develop-20220124-1241 → 1.2112.65-develop-20220127-1512
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 +12 -4
- package/api/user.service.d.ts +14 -6
- package/bundles/energycap-energycapid-sdk-angular.umd.js +68 -10
- 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 +26 -6
- package/esm2015/api/user.service.js +26 -6
- package/esm2015/model/models.js +2 -1
- package/esm2015/model/organizationUserResponse.js +1 -1
- package/esm2015/model/organizationUserStatusEnum.js +18 -0
- package/esm2015/model/userOrganizationResponse.js +1 -1
- package/fesm2015/energycap-energycapid-sdk-angular.js +69 -11
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/models.d.ts +1 -0
- package/model/organizationUserResponse.d.ts +48 -0
- package/model/organizationUserStatusEnum.d.ts +16 -0
- package/model/userOrganizationResponse.d.ts +18 -0
- package/package.json +1 -1
package/model/models.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './organizationDetailResponse';
|
|
|
34
34
|
export * from './organizationGatherCustomField';
|
|
35
35
|
export * from './organizationResponse';
|
|
36
36
|
export * from './organizationUserResponse';
|
|
37
|
+
export * from './organizationUserStatusEnum';
|
|
37
38
|
export * from './resetPasswordRequest';
|
|
38
39
|
export * from './roleEnum';
|
|
39
40
|
export * from './selfCreateUserRequest';
|
|
@@ -9,5 +9,53 @@
|
|
|
9
9
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { OrganizationUserStatusEnum } from './organizationUserStatusEnum';
|
|
13
|
+
import { RoleEnum } from './roleEnum';
|
|
12
14
|
export declare class OrganizationUserResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Gets or sets the user id
|
|
17
|
+
*/
|
|
18
|
+
userId: string | null | undefined;
|
|
19
|
+
role: RoleEnum | null | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the email.
|
|
22
|
+
*/
|
|
23
|
+
email: string | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the first name.
|
|
26
|
+
*/
|
|
27
|
+
firstName: string | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the last name.
|
|
30
|
+
*/
|
|
31
|
+
lastName: string | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Combines FirstName and LastName to get the FullName
|
|
34
|
+
*/
|
|
35
|
+
fullName: string | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the external user name.
|
|
38
|
+
*/
|
|
39
|
+
externalUserName: string | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the last login.
|
|
42
|
+
*/
|
|
43
|
+
lastLogin: Date | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the time an invitation was sent to the user The date and time an invitation was sent. Null if no invitation has been sent.
|
|
46
|
+
*/
|
|
47
|
+
inviteSentOn: Date | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets the join request date The date and time a join request was sent. Null if no request has been sent.
|
|
50
|
+
*/
|
|
51
|
+
joinRequestDate: Date | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets the time an join request reason
|
|
54
|
+
*/
|
|
55
|
+
joinRequestReason: string | null | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets if the current user is active Those who are not active include users who have a pending join request or pending invite
|
|
58
|
+
*/
|
|
59
|
+
active: boolean | null | undefined;
|
|
60
|
+
organizationUserStatus: OrganizationUserStatusEnum | null | undefined;
|
|
13
61
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EnergyCAP ID SDK
|
|
3
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.2112
|
|
6
|
+
* Contact: support@energycap.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum OrganizationUserStatusEnum {
|
|
13
|
+
Active,
|
|
14
|
+
JoinRequestPending,
|
|
15
|
+
InvitePending
|
|
16
|
+
}
|
|
@@ -9,8 +9,26 @@
|
|
|
9
9
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { RoleEnum } from './roleEnum';
|
|
12
13
|
/**
|
|
13
14
|
* Represents an Organization for a user
|
|
14
15
|
*/
|
|
15
16
|
export declare class UserOrganizationResponse {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the user's organization
|
|
19
|
+
*/
|
|
20
|
+
name: string | null | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The label of the user's organization
|
|
23
|
+
*/
|
|
24
|
+
label: string | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the identifier of the Entity.
|
|
27
|
+
*/
|
|
28
|
+
id: string | null | undefined;
|
|
29
|
+
role: RoleEnum | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets a value indicating whether this instance is inherited.
|
|
32
|
+
*/
|
|
33
|
+
isInherited: boolean | null | undefined;
|
|
16
34
|
}
|