@energycap/energycapid-sdk-angular 1.2112.64-develop-20220126-1136 → 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/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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/energycapid-sdk-angular",
3
- "version": "1.2112.64-develop-20220126-1136",
3
+ "version": "1.2112.65-develop-20220127-1512",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
6
  "peerDependencies": {