@energycap/energycapid-sdk-angular 1.2112.50-develop-20220103-1011 → 1.2112.51-develop-20220103-1710

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.
Files changed (33) hide show
  1. package/api/api.d.ts +3 -1
  2. package/api/me.service.d.ts +25 -0
  3. package/api/notification.service.d.ts +134 -0
  4. package/bundles/energycap-energycapid-sdk-angular.umd.js +557 -29
  5. package/bundles/energycap-energycapid-sdk-angular.umd.js.map +1 -1
  6. package/bundles/energycap-energycapid-sdk-angular.umd.min.js +2 -2
  7. package/bundles/energycap-energycapid-sdk-angular.umd.min.js.map +1 -1
  8. package/energycap-energycapid-sdk-angular.metadata.json +1 -1
  9. package/esm2015/api/api.js +4 -2
  10. package/esm2015/api/me.service.js +65 -1
  11. package/esm2015/api/notification.service.js +332 -0
  12. package/esm2015/api.module.js +3 -2
  13. package/esm2015/model/models.js +8 -1
  14. package/esm2015/model/notificationBadgeResponse.js +14 -0
  15. package/esm2015/model/notificationCategory.js +14 -0
  16. package/esm2015/model/notificationResponse.js +14 -0
  17. package/esm2015/model/notificationSettingRequest.js +14 -0
  18. package/esm2015/model/notificationType.js +14 -0
  19. package/esm2015/model/notificationUpdateRequest.js +14 -0
  20. package/esm2015/model/updateResult.js +14 -0
  21. package/esm2015/model/userResponse.js +1 -1
  22. package/fesm2015/energycap-energycapid-sdk-angular.js +518 -30
  23. package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
  24. package/model/models.d.ts +7 -0
  25. package/model/notificationBadgeResponse.d.ts +25 -0
  26. package/model/notificationCategory.d.ts +25 -0
  27. package/model/notificationResponse.d.ts +35 -0
  28. package/model/notificationSettingRequest.d.ts +17 -0
  29. package/model/notificationType.d.ts +27 -0
  30. package/model/notificationUpdateRequest.d.ts +21 -0
  31. package/model/updateResult.d.ts +15 -0
  32. package/model/userResponse.d.ts +4 -0
  33. package/package.json +1 -1
package/model/models.d.ts CHANGED
@@ -20,6 +20,12 @@ export * from './inviteUserRequest';
20
20
  export * from './linkDataSourceRequest';
21
21
  export * from './loginResponse';
22
22
  export * from './loginSourceResponse';
23
+ export * from './notificationBadgeResponse';
24
+ export * from './notificationCategory';
25
+ export * from './notificationResponse';
26
+ export * from './notificationSettingRequest';
27
+ export * from './notificationType';
28
+ export * from './notificationUpdateRequest';
23
29
  export * from './organizationAccessControlResponse';
24
30
  export * from './organizationApplicationResponse';
25
31
  export * from './organizationDetailResponse';
@@ -31,6 +37,7 @@ export * from './selfCreateUserRequest';
31
37
  export * from './updateMeRequest';
32
38
  export * from './updateOrganizationAccessControlRequest';
33
39
  export * from './updateOrganizationDetailsRequest';
40
+ export * from './updateResult';
34
41
  export * from './userApplicationInstanceResponse';
35
42
  export * from './userAuthResultEnum';
36
43
  export * from './userChild';
@@ -0,0 +1,25 @@
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 class NotificationBadgeResponse {
13
+ /**
14
+ * Total of unread and unarchived notifications
15
+ */
16
+ totalNotifications: number | null | undefined;
17
+ /**
18
+ * Total of unread and unarchived notifications since the last checked date time
19
+ */
20
+ newNotifications: number | null | undefined;
21
+ /**
22
+ * The date and time in UTC the query to get the badge data was run
23
+ */
24
+ lastCheckDateTimeUtc: Date | null | undefined;
25
+ }
@@ -0,0 +1,25 @@
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 class NotificationCategory {
13
+ /**
14
+ * The id of the notification category
15
+ */
16
+ id: string | null | undefined;
17
+ /**
18
+ * The notification category name
19
+ */
20
+ notificationCategoryInfo: string | null | undefined;
21
+ /**
22
+ * A description of the notification category
23
+ */
24
+ notificationCategoryDescription: string | null | undefined;
25
+ }
@@ -0,0 +1,35 @@
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
+ import { NotificationType } from './notificationType';
13
+ export declare class NotificationResponse {
14
+ /**
15
+ * The id of the notification
16
+ */
17
+ id: string | null | undefined;
18
+ /**
19
+ * True if the notification has been read
20
+ */
21
+ read: boolean | null | undefined;
22
+ /**
23
+ * True if the notification has been archived
24
+ */
25
+ archived: boolean | null | undefined;
26
+ /**
27
+ * Subject of the notification
28
+ */
29
+ subject: string | null | undefined;
30
+ /**
31
+ * The date and time the notification was generated
32
+ */
33
+ createdDate: Date | null | undefined;
34
+ notificationType: NotificationType | null | undefined;
35
+ }
@@ -0,0 +1,17 @@
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 class NotificationSettingRequest {
13
+ /**
14
+ * Should notifications be emailed
15
+ */
16
+ emailNotifications: boolean | null;
17
+ }
@@ -0,0 +1,27 @@
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
+ import { NotificationCategory } from './notificationCategory';
13
+ export declare class NotificationType {
14
+ /**
15
+ * The id of the notification type
16
+ */
17
+ id: string | null | undefined;
18
+ /**
19
+ * The notification type name
20
+ */
21
+ notificationTypeInfo: string | null | undefined;
22
+ /**
23
+ * A description of the notification type
24
+ */
25
+ notificationTypeDescription: string | null | undefined;
26
+ notificationCategory: NotificationCategory | null | undefined;
27
+ }
@@ -0,0 +1,21 @@
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 class NotificationUpdateRequest {
13
+ /**
14
+ * List of notification ids to perform the action on
15
+ */
16
+ notificationIds: Array<string> | null | undefined;
17
+ /**
18
+ * Action to perform Unread marks all notifications in the list as unread Read marks all notifications in the list as read Archived marks all notifications in the list as archived Unarchived marks all notifications in the list as unarchived
19
+ */
20
+ action: string | null;
21
+ }
@@ -0,0 +1,15 @@
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 class UpdateResult {
13
+ selected: number | null | undefined;
14
+ updated: number | null | undefined;
15
+ }
@@ -67,4 +67,8 @@ export declare class UserResponse {
67
67
  * Gets or sets the date the user last logged in
68
68
  */
69
69
  lastLogin: Date | null | undefined;
70
+ /**
71
+ * The user email notification setting.
72
+ */
73
+ emailNotifications: boolean | null | undefined;
70
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/energycapid-sdk-angular",
3
- "version": "1.2112.50-develop-20220103-1011",
3
+ "version": "1.2112.51-develop-20220103-1710",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
6
  "peerDependencies": {