@energycap/energycapid-sdk-angular 1.2112.63-develop-20220125-1353 → 1.2112.67-develop-20220128-0915
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/organizationDetailResponse.js +1 -1
- package/esm2015/model/organizationResponse.js +1 -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/organizationDetailResponse.d.ts +16 -0
- package/model/organizationResponse.d.ts +0 -24
- 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';
|
|
@@ -15,6 +15,14 @@ import { OrganizationGatherCustomField } from './organizationGatherCustomField';
|
|
|
15
15
|
* Provides more detailed data about an organization
|
|
16
16
|
*/
|
|
17
17
|
export declare class OrganizationDetailResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the product.
|
|
20
|
+
*/
|
|
21
|
+
product: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the type of the organization.
|
|
24
|
+
*/
|
|
25
|
+
organizationType: string | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Gets or sets the user number.
|
|
20
28
|
*/
|
|
@@ -23,6 +31,14 @@ export declare class OrganizationDetailResponse {
|
|
|
23
31
|
* Gets or sets the validation code.
|
|
24
32
|
*/
|
|
25
33
|
validationCode: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the maintenance renewal date.
|
|
36
|
+
*/
|
|
37
|
+
maintenanceRenewalDate: string | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the metadata.
|
|
40
|
+
*/
|
|
41
|
+
metadata: string | null | undefined;
|
|
26
42
|
/**
|
|
27
43
|
* Gets or sets the federation source name.
|
|
28
44
|
*/
|
|
@@ -23,30 +23,6 @@ export declare class OrganizationResponse {
|
|
|
23
23
|
* Gets or sets the label.
|
|
24
24
|
*/
|
|
25
25
|
label: string | null | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Gets or sets the product.
|
|
28
|
-
*/
|
|
29
|
-
product: string | null | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Gets or sets the type of the organization.
|
|
32
|
-
*/
|
|
33
|
-
organizationType: string | null | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Gets or sets the user number.
|
|
36
|
-
*/
|
|
37
|
-
userNumber: string | null | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Gets or sets the validation code.
|
|
40
|
-
*/
|
|
41
|
-
validationCode: string | null | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Gets or sets the maintenance renewal date.
|
|
44
|
-
*/
|
|
45
|
-
maintenanceRenewalDate: string | null | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Gets or sets the metadata.
|
|
48
|
-
*/
|
|
49
|
-
metadata: string | null | undefined;
|
|
50
26
|
/**
|
|
51
27
|
* Gets or sets the parent organization identifier. Null if the organization does not have a parent.
|
|
52
28
|
*/
|
|
@@ -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
|
}
|