@harnessio/react-notification-service-client 0.3.0 → 0.5.0
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/dist/notification-service/src/services/index.d.ts +3 -1
- package/dist/notification-service/src/services/schemas/ChannelDto.d.ts +2 -1
- package/dist/notification-service/src/services/schemas/ChannelDto.js +0 -3
- package/dist/notification-service/src/services/schemas/ChannelType.d.ts +1 -2
- package/dist/notification-service/src/services/schemas/NotificationChannelDto.d.ts +7 -3
- package/dist/notification-service/src/services/schemas/NotificationConditionDto.d.ts +5 -0
- package/dist/notification-service/src/services/schemas/NotificationConditionDto.js +1 -0
- package/dist/notification-service/src/services/schemas/NotificationEventConfigDto.d.ts +7 -0
- package/dist/notification-service/src/services/schemas/NotificationRuleDto.d.ts +10 -16
- package/dist/notification-service/src/services/schemas/Status.d.ts +1 -2
- package/dist/notification-service/src/services/schemas/UserGroupDto.d.ts +5 -0
- package/dist/notification-service/src/services/schemas/UserGroupDto.js +4 -0
- package/package.json +1 -1
- package/dist/notification-service/src/services/schemas/UserGroup.d.ts +0 -5
- /package/dist/notification-service/src/services/schemas/{UserGroup.js → NotificationEventConfigDto.js} +0 -0
|
@@ -36,6 +36,8 @@ export type { NotificationRuleResponseResponse } from './responses/NotificationR
|
|
|
36
36
|
export type { ChannelDto } from './schemas/ChannelDto';
|
|
37
37
|
export type { ChannelType } from './schemas/ChannelType';
|
|
38
38
|
export type { NotificationChannelDto } from './schemas/NotificationChannelDto';
|
|
39
|
+
export type { NotificationConditionDto } from './schemas/NotificationConditionDto';
|
|
40
|
+
export type { NotificationEventConfigDto } from './schemas/NotificationEventConfigDto';
|
|
39
41
|
export type { NotificationRuleDto } from './schemas/NotificationRuleDto';
|
|
40
42
|
export type { Status } from './schemas/Status';
|
|
41
|
-
export type {
|
|
43
|
+
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { UserGroupDto } from '../schemas/UserGroupDto';
|
|
1
2
|
export interface ChannelDto {
|
|
2
3
|
email_ids?: string[];
|
|
3
4
|
ms_team_keys?: string[];
|
|
4
5
|
pager_duty_integration_keys?: string[];
|
|
5
6
|
slack_webhook_urls?: string[];
|
|
6
|
-
user_groups?:
|
|
7
|
+
user_groups?: UserGroupDto[];
|
|
7
8
|
webhook_urls?: string[];
|
|
8
9
|
}
|
|
@@ -7,11 +7,15 @@ import type { Status } from '../schemas/Status';
|
|
|
7
7
|
export interface NotificationChannelDto {
|
|
8
8
|
account?: string;
|
|
9
9
|
channel?: ChannelDto;
|
|
10
|
+
/**
|
|
11
|
+
* @format int64
|
|
12
|
+
*/
|
|
10
13
|
created?: number;
|
|
11
|
-
created_by?: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
14
|
identifier?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
*/
|
|
18
|
+
last_modified?: number;
|
|
15
19
|
name?: string;
|
|
16
20
|
notification_channel_type?: ChannelType;
|
|
17
21
|
org?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NotificationConditionDto } from '../schemas/NotificationConditionDto';
|
|
2
2
|
import type { Status } from '../schemas/Status';
|
|
3
3
|
/**
|
|
4
4
|
* Notification Rule DTO
|
|
5
5
|
*/
|
|
6
6
|
export interface NotificationRuleDto {
|
|
7
7
|
account?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
8
11
|
created?: number;
|
|
9
|
-
created_by?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
12
12
|
identifier?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
last_modified?: number;
|
|
13
17
|
name?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
notification_event_configs?: Array<{
|
|
17
|
-
notification_channels?: NotificationChannelDto[];
|
|
18
|
-
notification_entity?: string;
|
|
19
|
-
notification_event?: string;
|
|
20
|
-
notification_event_data?: {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
};
|
|
23
|
-
}>;
|
|
24
|
-
}>;
|
|
25
|
-
notification_entity?: string;
|
|
18
|
+
notification_channel_refs?: string[];
|
|
19
|
+
notification_conditions?: NotificationConditionDto[];
|
|
26
20
|
org?: string;
|
|
27
21
|
project?: string;
|
|
28
22
|
status?: Status;
|
package/package.json
CHANGED
|
File without changes
|