@daocloud-proto/insight 0.40.0-rc3 → 0.40.0-rc4

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.
@@ -27,6 +27,15 @@ export enum ValidateGroupCode {
27
27
  ERR_RULE_DESCRIPTION = "ERR_RULE_DESCRIPTION",
28
28
  }
29
29
 
30
+ export enum NotifyStatusStatus {
31
+ unknown = "unknown",
32
+ success = "success",
33
+ partial_success = "partial_success",
34
+ fail = "fail",
35
+ silenced = "silenced",
36
+ not_configured = "not_configured",
37
+ }
38
+
30
39
  export type ID = {
31
40
  id?: string
32
41
  }
@@ -265,6 +274,12 @@ export type AlertSummary = {
265
274
  lastSent?: string
266
275
  builtin?: boolean
267
276
  status?: InsightIoApiAlertV1alpha1Type.AlertStatus
277
+ notifyStatus?: NotifyStatus
278
+ }
279
+
280
+ export type NotifyStatus = {
281
+ status?: NotifyStatusStatus
282
+ messages?: {[key: string]: string}
268
283
  }
269
284
 
270
285
  export type GetAlertRequest = {
@@ -292,6 +307,7 @@ export type Alert = {
292
307
  startAt?: string
293
308
  updateAt?: string
294
309
  lastSent?: string
310
+ notifyStatus?: NotifyStatus
295
311
  }
296
312
 
297
313
  export type CountAlertRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.40.0-rc3",
3
+ "version":"0.40.0-rc4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {