@tallwatch/contracts 0.1.2 → 0.2.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.
Files changed (313) hide show
  1. package/README.md +2 -11
  2. package/dist/alerting/alert-channels.d.ts +11 -11
  3. package/dist/alerting/alert-channels.d.ts.map +1 -1
  4. package/dist/alerting/alert-channels.js +2 -6
  5. package/dist/alerting/alert-channels.js.map +1 -1
  6. package/dist/alerting/alert-dispatches.d.ts +70 -36
  7. package/dist/alerting/alert-dispatches.d.ts.map +1 -1
  8. package/dist/alerting/alert-dispatches.js +12 -14
  9. package/dist/alerting/alert-dispatches.js.map +1 -1
  10. package/dist/alerting/channel-connect.d.ts +1 -1
  11. package/dist/alerting/channel-connect.d.ts.map +1 -1
  12. package/dist/alerting/channel-connect.js +6 -1
  13. package/dist/alerting/channel-connect.js.map +1 -1
  14. package/dist/alerting/escalation-levels.d.ts +8 -0
  15. package/dist/alerting/escalation-levels.d.ts.map +1 -1
  16. package/dist/alerting/escalation-levels.js +10 -1
  17. package/dist/alerting/escalation-levels.js.map +1 -1
  18. package/dist/alerting/escalation-policies.d.ts +24 -0
  19. package/dist/alerting/escalation-policies.d.ts.map +1 -1
  20. package/dist/alerting/escalation-policies.js +11 -1
  21. package/dist/alerting/escalation-policies.js.map +1 -1
  22. package/dist/alerting/index.d.ts +4 -4
  23. package/dist/alerting/index.d.ts.map +1 -1
  24. package/dist/alerting/index.js +4 -4
  25. package/dist/alerting/index.js.map +1 -1
  26. package/dist/alerting/on-call-rotations.d.ts +2 -2
  27. package/dist/alerting/on-call-rotations.js +1 -1
  28. package/dist/alerting/on-call-rotations.js.map +1 -1
  29. package/dist/alerting/on-call.d.ts +5 -4
  30. package/dist/alerting/on-call.d.ts.map +1 -1
  31. package/dist/alerting/on-call.js +5 -3
  32. package/dist/alerting/on-call.js.map +1 -1
  33. package/dist/alerting/webhook-template.d.ts +3 -0
  34. package/dist/alerting/webhook-template.d.ts.map +1 -1
  35. package/dist/alerting/webhook-template.js +120 -18
  36. package/dist/alerting/webhook-template.js.map +1 -1
  37. package/dist/alerting/webhooks.d.ts +10 -12
  38. package/dist/alerting/webhooks.d.ts.map +1 -1
  39. package/dist/alerting/webhooks.js +1 -1
  40. package/dist/alerting/webhooks.js.map +1 -1
  41. package/dist/analytics-overview.d.ts +69 -0
  42. package/dist/analytics-overview.d.ts.map +1 -0
  43. package/dist/analytics-overview.js +50 -0
  44. package/dist/analytics-overview.js.map +1 -0
  45. package/dist/api-keys.d.ts +9 -0
  46. package/dist/api-keys.d.ts.map +1 -1
  47. package/dist/api-keys.js +13 -1
  48. package/dist/api-keys.js.map +1 -1
  49. package/dist/audit-actor-label.d.ts +12 -0
  50. package/dist/audit-actor-label.d.ts.map +1 -0
  51. package/dist/audit-actor-label.js +21 -0
  52. package/dist/audit-actor-label.js.map +1 -0
  53. package/dist/audit.d.ts +92 -63
  54. package/dist/audit.d.ts.map +1 -1
  55. package/dist/audit.js +24 -21
  56. package/dist/audit.js.map +1 -1
  57. package/dist/billing/billing-catalog.d.ts +2 -2
  58. package/dist/billing/billing-catalog.d.ts.map +1 -1
  59. package/dist/billing/billing-catalog.js +2 -3
  60. package/dist/billing/billing-catalog.js.map +1 -1
  61. package/dist/billing/billing-statuses.d.ts +12 -0
  62. package/dist/billing/billing-statuses.d.ts.map +1 -0
  63. package/dist/billing/billing-statuses.js +31 -0
  64. package/dist/billing/billing-statuses.js.map +1 -0
  65. package/dist/billing/billing.d.ts +10 -9
  66. package/dist/billing/billing.d.ts.map +1 -1
  67. package/dist/billing/billing.js +3 -1
  68. package/dist/billing/billing.js.map +1 -1
  69. package/dist/billing/entitlements.d.ts +15 -15
  70. package/dist/billing/entitlements.d.ts.map +1 -1
  71. package/dist/billing/entitlements.js +2 -3
  72. package/dist/billing/entitlements.js.map +1 -1
  73. package/dist/billing/index.d.ts +1 -0
  74. package/dist/billing/index.d.ts.map +1 -1
  75. package/dist/billing/index.js +1 -0
  76. package/dist/billing/index.js.map +1 -1
  77. package/dist/billing/plan-limit-parse.d.ts.map +1 -1
  78. package/dist/billing/plan-limit-parse.js +1 -1
  79. package/dist/billing/plan-limit-parse.js.map +1 -1
  80. package/dist/billing/retention.d.ts +7 -0
  81. package/dist/billing/retention.d.ts.map +1 -1
  82. package/dist/billing/retention.js +7 -0
  83. package/dist/billing/retention.js.map +1 -1
  84. package/dist/brand.d.ts +2 -2
  85. package/dist/brand.d.ts.map +1 -1
  86. package/dist/brand.js +3 -3
  87. package/dist/brand.js.map +1 -1
  88. package/dist/cli-device.d.ts.map +1 -1
  89. package/dist/cli-device.js +4 -1
  90. package/dist/cli-device.js.map +1 -1
  91. package/dist/common.d.ts +23 -20
  92. package/dist/common.d.ts.map +1 -1
  93. package/dist/common.js +57 -16
  94. package/dist/common.js.map +1 -1
  95. package/dist/env.d.ts +4 -0
  96. package/dist/env.d.ts.map +1 -0
  97. package/dist/env.js +12 -0
  98. package/dist/env.js.map +1 -0
  99. package/dist/http-url.d.ts.map +1 -1
  100. package/dist/http-url.js.map +1 -1
  101. package/dist/incidents/ai-draft.d.ts +30 -0
  102. package/dist/incidents/ai-draft.d.ts.map +1 -0
  103. package/dist/incidents/ai-draft.js +24 -0
  104. package/dist/incidents/ai-draft.js.map +1 -0
  105. package/dist/incidents/evidence-pack-payloads.d.ts +35 -0
  106. package/dist/incidents/evidence-pack-payloads.d.ts.map +1 -0
  107. package/dist/incidents/evidence-pack-payloads.js +47 -0
  108. package/dist/incidents/evidence-pack-payloads.js.map +1 -0
  109. package/dist/incidents/evidence-pack.d.ts +44 -0
  110. package/dist/incidents/evidence-pack.d.ts.map +1 -0
  111. package/dist/incidents/evidence-pack.js +45 -0
  112. package/dist/incidents/evidence-pack.js.map +1 -0
  113. package/dist/incidents/incident-assign.d.ts +14 -0
  114. package/dist/incidents/incident-assign.d.ts.map +1 -0
  115. package/dist/incidents/incident-assign.js +13 -0
  116. package/dist/incidents/incident-assign.js.map +1 -0
  117. package/dist/incidents/incident-evidence.d.ts +102 -84
  118. package/dist/incidents/incident-evidence.d.ts.map +1 -1
  119. package/dist/incidents/incident-evidence.js +2 -0
  120. package/dist/incidents/incident-evidence.js.map +1 -1
  121. package/dist/incidents/incident-related.d.ts +77 -0
  122. package/dist/incidents/incident-related.d.ts.map +1 -0
  123. package/dist/incidents/incident-related.js +31 -0
  124. package/dist/incidents/incident-related.js.map +1 -0
  125. package/dist/incidents/incident-status-posts.d.ts +3 -1
  126. package/dist/incidents/incident-status-posts.d.ts.map +1 -1
  127. package/dist/incidents/incident-status-posts.js +3 -1
  128. package/dist/incidents/incident-status-posts.js.map +1 -1
  129. package/dist/incidents/incident-timeline.d.ts +15 -16
  130. package/dist/incidents/incident-timeline.d.ts.map +1 -1
  131. package/dist/incidents/incident-timeline.js +0 -1
  132. package/dist/incidents/incident-timeline.js.map +1 -1
  133. package/dist/incidents/incidents.d.ts +213 -206
  134. package/dist/incidents/incidents.d.ts.map +1 -1
  135. package/dist/incidents/incidents.js +11 -6
  136. package/dist/incidents/incidents.js.map +1 -1
  137. package/dist/incidents/index.d.ts +7 -3
  138. package/dist/incidents/index.d.ts.map +1 -1
  139. package/dist/incidents/index.js +7 -3
  140. package/dist/incidents/index.js.map +1 -1
  141. package/dist/index.d.ts +16 -10
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.js +16 -10
  144. package/dist/index.js.map +1 -1
  145. package/dist/maintenance.d.ts +5 -0
  146. package/dist/maintenance.d.ts.map +1 -1
  147. package/dist/maintenance.js +10 -0
  148. package/dist/maintenance.js.map +1 -1
  149. package/dist/marketing.d.ts +29 -0
  150. package/dist/marketing.d.ts.map +1 -1
  151. package/dist/marketing.js +23 -0
  152. package/dist/marketing.js.map +1 -1
  153. package/dist/monitors/apply-diff.d.ts +17 -0
  154. package/dist/monitors/apply-diff.d.ts.map +1 -0
  155. package/dist/monitors/apply-diff.js +118 -0
  156. package/dist/monitors/apply-diff.js.map +1 -0
  157. package/dist/monitors/apply-monitors.d.ts +14 -0
  158. package/dist/monitors/apply-monitors.d.ts.map +1 -0
  159. package/dist/monitors/apply-monitors.js +133 -0
  160. package/dist/monitors/apply-monitors.js.map +1 -0
  161. package/dist/monitors/apply-shared.d.ts +54 -0
  162. package/dist/monitors/apply-shared.d.ts.map +1 -0
  163. package/dist/monitors/apply-shared.js +3 -0
  164. package/dist/monitors/apply-shared.js.map +1 -0
  165. package/dist/monitors/check-logs.d.ts +120 -98
  166. package/dist/monitors/check-logs.d.ts.map +1 -1
  167. package/dist/monitors/check-logs.js +3 -3
  168. package/dist/monitors/check-logs.js.map +1 -1
  169. package/dist/monitors/check-observation.d.ts +15 -17
  170. package/dist/monitors/check-observation.d.ts.map +1 -1
  171. package/dist/monitors/check-observation.js +1 -1
  172. package/dist/monitors/check-observation.js.map +1 -1
  173. package/dist/monitors/http-journey.d.ts +77 -0
  174. package/dist/monitors/http-journey.d.ts.map +1 -0
  175. package/dist/monitors/http-journey.js +40 -0
  176. package/dist/monitors/http-journey.js.map +1 -0
  177. package/dist/monitors/http-primitives.d.ts +41 -0
  178. package/dist/monitors/http-primitives.d.ts.map +1 -0
  179. package/dist/monitors/http-primitives.js +61 -0
  180. package/dist/monitors/http-primitives.js.map +1 -0
  181. package/dist/monitors/import-csv-fields.d.ts +22 -0
  182. package/dist/monitors/import-csv-fields.d.ts.map +1 -0
  183. package/dist/monitors/import-csv-fields.js +133 -0
  184. package/dist/monitors/import-csv-fields.js.map +1 -0
  185. package/dist/monitors/import-csv.d.ts +7 -0
  186. package/dist/monitors/import-csv.d.ts.map +1 -0
  187. package/dist/monitors/import-csv.js +94 -0
  188. package/dist/monitors/import-csv.js.map +1 -0
  189. package/dist/monitors/import-opsgenie-escalations.d.ts +30 -0
  190. package/dist/monitors/import-opsgenie-escalations.d.ts.map +1 -0
  191. package/dist/monitors/import-opsgenie-escalations.js +92 -0
  192. package/dist/monitors/import-opsgenie-escalations.js.map +1 -0
  193. package/dist/monitors/import-opsgenie-fields.d.ts +175 -0
  194. package/dist/monitors/import-opsgenie-fields.d.ts.map +1 -0
  195. package/dist/monitors/import-opsgenie-fields.js +79 -0
  196. package/dist/monitors/import-opsgenie-fields.js.map +1 -0
  197. package/dist/monitors/import-opsgenie-schedules.d.ts +13 -0
  198. package/dist/monitors/import-opsgenie-schedules.d.ts.map +1 -0
  199. package/dist/monitors/import-opsgenie-schedules.js +76 -0
  200. package/dist/monitors/import-opsgenie-schedules.js.map +1 -0
  201. package/dist/monitors/import-opsgenie.d.ts +43 -0
  202. package/dist/monitors/import-opsgenie.d.ts.map +1 -0
  203. package/dist/monitors/import-opsgenie.js +85 -0
  204. package/dist/monitors/import-opsgenie.js.map +1 -0
  205. package/dist/monitors/import-shared.d.ts +16 -0
  206. package/dist/monitors/import-shared.d.ts.map +1 -0
  207. package/dist/monitors/import-shared.js +2 -0
  208. package/dist/monitors/import-shared.js.map +1 -0
  209. package/dist/monitors/import-uptimerobot-fields.d.ts.map +1 -1
  210. package/dist/monitors/import-uptimerobot-fields.js +6 -2
  211. package/dist/monitors/import-uptimerobot-fields.js.map +1 -1
  212. package/dist/monitors/import-uptimerobot.d.ts +1 -1
  213. package/dist/monitors/import-uptimerobot.d.ts.map +1 -1
  214. package/dist/monitors/import-uptimerobot.js +1 -1
  215. package/dist/monitors/import-uptimerobot.js.map +1 -1
  216. package/dist/monitors/index.d.ts +10 -6
  217. package/dist/monitors/index.d.ts.map +1 -1
  218. package/dist/monitors/index.js +10 -6
  219. package/dist/monitors/index.js.map +1 -1
  220. package/dist/monitors/monitor-configs.d.ts +19 -41
  221. package/dist/monitors/monitor-configs.d.ts.map +1 -1
  222. package/dist/monitors/monitor-configs.js +26 -21
  223. package/dist/monitors/monitor-configs.js.map +1 -1
  224. package/dist/monitors/monitor-list-item.d.ts +14 -7
  225. package/dist/monitors/monitor-list-item.d.ts.map +1 -1
  226. package/dist/monitors/monitor-list-item.js +4 -2
  227. package/dist/monitors/monitor-list-item.js.map +1 -1
  228. package/dist/monitors/monitor-target.d.ts.map +1 -1
  229. package/dist/monitors/monitor-target.js +0 -2
  230. package/dist/monitors/monitor-target.js.map +1 -1
  231. package/dist/monitors/monitor-view.d.ts +9 -11
  232. package/dist/monitors/monitor-view.d.ts.map +1 -1
  233. package/dist/monitors/monitor-view.js +1 -1
  234. package/dist/monitors/monitor-view.js.map +1 -1
  235. package/dist/monitors/monitors-crud.d.ts +32 -51
  236. package/dist/monitors/monitors-crud.d.ts.map +1 -1
  237. package/dist/monitors/monitors-crud.js +42 -8
  238. package/dist/monitors/monitors-crud.js.map +1 -1
  239. package/dist/monitors/monitors.d.ts +24 -26
  240. package/dist/monitors/monitors.d.ts.map +1 -1
  241. package/dist/monitors/monitors.js +19 -6
  242. package/dist/monitors/monitors.js.map +1 -1
  243. package/dist/monitors/probes.d.ts +111 -55
  244. package/dist/monitors/probes.d.ts.map +1 -1
  245. package/dist/monitors/probes.js +29 -2
  246. package/dist/monitors/probes.js.map +1 -1
  247. package/dist/monitors/rollups.d.ts +12 -12
  248. package/dist/monitors/rollups.d.ts.map +1 -1
  249. package/dist/monitors/test-check.d.ts +33 -15
  250. package/dist/monitors/test-check.d.ts.map +1 -1
  251. package/dist/monitors/verify.d.ts +139 -0
  252. package/dist/monitors/verify.d.ts.map +1 -0
  253. package/dist/monitors/verify.js +34 -0
  254. package/dist/monitors/verify.js.map +1 -0
  255. package/dist/notifications.d.ts +16 -0
  256. package/dist/notifications.d.ts.map +1 -0
  257. package/dist/notifications.js +14 -0
  258. package/dist/notifications.js.map +1 -0
  259. package/dist/org-members.d.ts +18 -0
  260. package/dist/org-members.d.ts.map +1 -0
  261. package/dist/org-members.js +13 -0
  262. package/dist/org-members.js.map +1 -0
  263. package/dist/orgs-overview.d.ts +59 -0
  264. package/dist/orgs-overview.d.ts.map +1 -0
  265. package/dist/orgs-overview.js +29 -0
  266. package/dist/orgs-overview.js.map +1 -0
  267. package/dist/pagination.d.ts +4 -0
  268. package/dist/pagination.d.ts.map +1 -1
  269. package/dist/pagination.js +2 -0
  270. package/dist/pagination.js.map +1 -1
  271. package/dist/projects.d.ts +6 -6
  272. package/dist/push-tokens.d.ts +16 -0
  273. package/dist/push-tokens.d.ts.map +1 -0
  274. package/dist/push-tokens.js +8 -0
  275. package/dist/push-tokens.js.map +1 -0
  276. package/dist/regions.d.ts +9 -0
  277. package/dist/regions.d.ts.map +1 -0
  278. package/dist/regions.js +28 -0
  279. package/dist/regions.js.map +1 -0
  280. package/dist/status-pages/index.d.ts +3 -2
  281. package/dist/status-pages/index.d.ts.map +1 -1
  282. package/dist/status-pages/index.js +3 -2
  283. package/dist/status-pages/index.js.map +1 -1
  284. package/dist/status-pages/public-status-page.d.ts +52 -59
  285. package/dist/status-pages/public-status-page.d.ts.map +1 -1
  286. package/dist/status-pages/public-status-page.js +0 -1
  287. package/dist/status-pages/public-status-page.js.map +1 -1
  288. package/dist/status-pages/slug-host.d.ts +9 -0
  289. package/dist/status-pages/slug-host.d.ts.map +1 -1
  290. package/dist/status-pages/slug-host.js +24 -1
  291. package/dist/status-pages/slug-host.js.map +1 -1
  292. package/dist/status-pages/status-overall.d.ts +2 -2
  293. package/dist/status-pages/status-overall.d.ts.map +1 -1
  294. package/dist/status-pages/status-overall.js.map +1 -1
  295. package/dist/status-pages/status-page-comms.d.ts +19 -0
  296. package/dist/status-pages/status-page-comms.d.ts.map +1 -0
  297. package/dist/status-pages/status-page-comms.js +109 -0
  298. package/dist/status-pages/status-page-comms.js.map +1 -0
  299. package/dist/status-pages/status-page-config.d.ts +61 -22
  300. package/dist/status-pages/status-page-config.d.ts.map +1 -1
  301. package/dist/status-pages/status-page-config.js +16 -5
  302. package/dist/status-pages/status-page-config.js.map +1 -1
  303. package/dist/status-pages/status-page-incidents.d.ts +66 -39
  304. package/dist/status-pages/status-page-incidents.d.ts.map +1 -1
  305. package/dist/status-pages/status-page-incidents.js +28 -9
  306. package/dist/status-pages/status-page-incidents.js.map +1 -1
  307. package/dist/status-pages/status-page-subscribers.d.ts +3 -3
  308. package/dist/whoami.d.ts +2 -2
  309. package/package.json +14 -10
  310. package/dist/monitors/availability.d.ts +0 -50
  311. package/dist/monitors/availability.d.ts.map +0 -1
  312. package/dist/monitors/availability.js +0 -26
  313. package/dist/monitors/availability.js.map +0 -1
@@ -1,54 +1,55 @@
1
1
  import { z } from "zod";
2
2
  export declare const INCIDENT_EVENT_TYPES: readonly ["opened", "acknowledged", "resolved", "reopened", "note_added", "channel_notified", "escalated", "postmortem_published", "flapping_detected", "status_page_updated"];
3
3
  export declare const IncidentEventTypeSchema: z.ZodEnum<{
4
- resolved: "resolved";
5
- opened: "opened";
6
4
  acknowledged: "acknowledged";
7
- reopened: "reopened";
8
- note_added: "note_added";
9
5
  channel_notified: "channel_notified";
10
6
  escalated: "escalated";
11
- postmortem_published: "postmortem_published";
12
7
  flapping_detected: "flapping_detected";
8
+ note_added: "note_added";
9
+ opened: "opened";
10
+ postmortem_published: "postmortem_published";
11
+ reopened: "reopened";
12
+ resolved: "resolved";
13
13
  status_page_updated: "status_page_updated";
14
14
  }>;
15
15
  export type IncidentEventType = z.infer<typeof IncidentEventTypeSchema>;
16
16
  export declare const IncidentStatusSchema: z.ZodEnum<{
17
- resolved: "resolved";
18
17
  acknowledged: "acknowledged";
19
18
  open: "open";
19
+ resolved: "resolved";
20
20
  }>;
21
21
  export type IncidentStatus = z.infer<typeof IncidentStatusSchema>;
22
22
  export declare const OpenCauseKindSchema: z.ZodEnum<{
23
- unanimous: "unanimous";
24
23
  majority: "majority";
25
24
  mixed: "mixed";
25
+ unanimous: "unanimous";
26
26
  }>;
27
27
  export type OpenCauseKind = z.infer<typeof OpenCauseKindSchema>;
28
28
  export declare const OpenCauseProbeSchema: z.ZodObject<{
29
29
  region: z.ZodString;
30
30
  error_class: z.ZodNullable<z.ZodEnum<{
31
- dns_resolve: "dns_resolve";
31
+ dns_mismatch: "dns_mismatch";
32
32
  dns_nxdomain: "dns_nxdomain";
33
+ dns_resolve: "dns_resolve";
33
34
  dns_servfail: "dns_servfail";
34
- dns_mismatch: "dns_mismatch";
35
- tcp_connect: "tcp_connect";
36
- tls_handshake: "tls_handshake";
37
- tls_cert_invalid: "tls_cert_invalid";
38
- tls_cert_expired: "tls_cert_expired";
39
- tls_cert_expiring: "tls_cert_expiring";
40
- http_status: "http_status";
35
+ edge_only: "edge_only";
36
+ heartbeat_missed: "heartbeat_missed";
41
37
  http_body: "http_body";
38
+ http_status: "http_status";
42
39
  keyword_missing: "keyword_missing";
43
40
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
44
- timeout: "timeout";
45
41
  packet_loss: "packet_loss";
46
- ssrf_blocked: "ssrf_blocked";
47
- heartbeat_missed: "heartbeat_missed";
48
- edge_only: "edge_only";
49
- waf_challenge: "waf_challenge";
50
42
  rate_limited: "rate_limited";
43
+ ssrf_blocked: "ssrf_blocked";
44
+ tcp_connect: "tcp_connect";
45
+ timeout: "timeout";
46
+ tls_cert_distrusted: "tls_cert_distrusted";
47
+ tls_cert_expired: "tls_cert_expired";
48
+ tls_cert_expiring: "tls_cert_expiring";
49
+ tls_cert_invalid: "tls_cert_invalid";
50
+ tls_handshake: "tls_handshake";
51
51
  unknown: "unknown";
52
+ waf_challenge: "waf_challenge";
52
53
  }>>;
53
54
  status_code: z.ZodNullable<z.ZodNumber>;
54
55
  error_message: z.ZodNullable<z.ZodString>;
@@ -57,32 +58,33 @@ export declare const OpenCauseProbeSchema: z.ZodObject<{
57
58
  export type OpenCauseProbe = z.infer<typeof OpenCauseProbeSchema>;
58
59
  export declare const OpenCauseSchema: z.ZodObject<{
59
60
  kind: z.ZodEnum<{
60
- unanimous: "unanimous";
61
61
  majority: "majority";
62
62
  mixed: "mixed";
63
+ unanimous: "unanimous";
63
64
  }>;
64
65
  error_class: z.ZodNullable<z.ZodEnum<{
65
- dns_resolve: "dns_resolve";
66
+ dns_mismatch: "dns_mismatch";
66
67
  dns_nxdomain: "dns_nxdomain";
68
+ dns_resolve: "dns_resolve";
67
69
  dns_servfail: "dns_servfail";
68
- dns_mismatch: "dns_mismatch";
69
- tcp_connect: "tcp_connect";
70
- tls_handshake: "tls_handshake";
71
- tls_cert_invalid: "tls_cert_invalid";
72
- tls_cert_expired: "tls_cert_expired";
73
- tls_cert_expiring: "tls_cert_expiring";
74
- http_status: "http_status";
70
+ edge_only: "edge_only";
71
+ heartbeat_missed: "heartbeat_missed";
75
72
  http_body: "http_body";
73
+ http_status: "http_status";
76
74
  keyword_missing: "keyword_missing";
77
75
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
78
- timeout: "timeout";
79
76
  packet_loss: "packet_loss";
80
- ssrf_blocked: "ssrf_blocked";
81
- heartbeat_missed: "heartbeat_missed";
82
- edge_only: "edge_only";
83
- waf_challenge: "waf_challenge";
84
77
  rate_limited: "rate_limited";
78
+ ssrf_blocked: "ssrf_blocked";
79
+ tcp_connect: "tcp_connect";
80
+ timeout: "timeout";
81
+ tls_cert_distrusted: "tls_cert_distrusted";
82
+ tls_cert_expired: "tls_cert_expired";
83
+ tls_cert_expiring: "tls_cert_expiring";
84
+ tls_cert_invalid: "tls_cert_invalid";
85
+ tls_handshake: "tls_handshake";
85
86
  unknown: "unknown";
87
+ waf_challenge: "waf_challenge";
86
88
  }>>;
87
89
  status_code: z.ZodNullable<z.ZodNumber>;
88
90
  label: z.ZodString;
@@ -90,27 +92,28 @@ export declare const OpenCauseSchema: z.ZodObject<{
90
92
  probes: z.ZodArray<z.ZodObject<{
91
93
  region: z.ZodString;
92
94
  error_class: z.ZodNullable<z.ZodEnum<{
93
- dns_resolve: "dns_resolve";
95
+ dns_mismatch: "dns_mismatch";
94
96
  dns_nxdomain: "dns_nxdomain";
97
+ dns_resolve: "dns_resolve";
95
98
  dns_servfail: "dns_servfail";
96
- dns_mismatch: "dns_mismatch";
97
- tcp_connect: "tcp_connect";
98
- tls_handshake: "tls_handshake";
99
- tls_cert_invalid: "tls_cert_invalid";
100
- tls_cert_expired: "tls_cert_expired";
101
- tls_cert_expiring: "tls_cert_expiring";
102
- http_status: "http_status";
99
+ edge_only: "edge_only";
100
+ heartbeat_missed: "heartbeat_missed";
103
101
  http_body: "http_body";
102
+ http_status: "http_status";
104
103
  keyword_missing: "keyword_missing";
105
104
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
106
- timeout: "timeout";
107
105
  packet_loss: "packet_loss";
108
- ssrf_blocked: "ssrf_blocked";
109
- heartbeat_missed: "heartbeat_missed";
110
- edge_only: "edge_only";
111
- waf_challenge: "waf_challenge";
112
106
  rate_limited: "rate_limited";
107
+ ssrf_blocked: "ssrf_blocked";
108
+ tcp_connect: "tcp_connect";
109
+ timeout: "timeout";
110
+ tls_cert_distrusted: "tls_cert_distrusted";
111
+ tls_cert_expired: "tls_cert_expired";
112
+ tls_cert_expiring: "tls_cert_expiring";
113
+ tls_cert_invalid: "tls_cert_invalid";
114
+ tls_handshake: "tls_handshake";
113
115
  unknown: "unknown";
116
+ waf_challenge: "waf_challenge";
114
117
  }>>;
115
118
  status_code: z.ZodNullable<z.ZodNumber>;
116
119
  error_message: z.ZodNullable<z.ZodString>;
@@ -121,40 +124,41 @@ export type OpenCause = z.infer<typeof OpenCauseSchema>;
121
124
  export declare const IncidentEventPayloadSchema: z.ZodObject<{
122
125
  failing_regions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
123
126
  fra1: "fra1";
124
- iad1: "iad1";
127
+ gru1: "gru1";
125
128
  hil1: "hil1";
129
+ iad1: "iad1";
126
130
  sgp1: "sgp1";
127
131
  syd1: "syd1";
128
- gru1: "gru1";
129
132
  }>>>;
130
133
  cause: z.ZodOptional<z.ZodObject<{
131
134
  kind: z.ZodEnum<{
132
- unanimous: "unanimous";
133
135
  majority: "majority";
134
136
  mixed: "mixed";
137
+ unanimous: "unanimous";
135
138
  }>;
136
139
  error_class: z.ZodNullable<z.ZodEnum<{
137
- dns_resolve: "dns_resolve";
140
+ dns_mismatch: "dns_mismatch";
138
141
  dns_nxdomain: "dns_nxdomain";
142
+ dns_resolve: "dns_resolve";
139
143
  dns_servfail: "dns_servfail";
140
- dns_mismatch: "dns_mismatch";
141
- tcp_connect: "tcp_connect";
142
- tls_handshake: "tls_handshake";
143
- tls_cert_invalid: "tls_cert_invalid";
144
- tls_cert_expired: "tls_cert_expired";
145
- tls_cert_expiring: "tls_cert_expiring";
146
- http_status: "http_status";
144
+ edge_only: "edge_only";
145
+ heartbeat_missed: "heartbeat_missed";
147
146
  http_body: "http_body";
147
+ http_status: "http_status";
148
148
  keyword_missing: "keyword_missing";
149
149
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
150
- timeout: "timeout";
151
150
  packet_loss: "packet_loss";
152
- ssrf_blocked: "ssrf_blocked";
153
- heartbeat_missed: "heartbeat_missed";
154
- edge_only: "edge_only";
155
- waf_challenge: "waf_challenge";
156
151
  rate_limited: "rate_limited";
152
+ ssrf_blocked: "ssrf_blocked";
153
+ tcp_connect: "tcp_connect";
154
+ timeout: "timeout";
155
+ tls_cert_distrusted: "tls_cert_distrusted";
156
+ tls_cert_expired: "tls_cert_expired";
157
+ tls_cert_expiring: "tls_cert_expiring";
158
+ tls_cert_invalid: "tls_cert_invalid";
159
+ tls_handshake: "tls_handshake";
157
160
  unknown: "unknown";
161
+ waf_challenge: "waf_challenge";
158
162
  }>>;
159
163
  status_code: z.ZodNullable<z.ZodNumber>;
160
164
  label: z.ZodString;
@@ -162,27 +166,28 @@ export declare const IncidentEventPayloadSchema: z.ZodObject<{
162
166
  probes: z.ZodArray<z.ZodObject<{
163
167
  region: z.ZodString;
164
168
  error_class: z.ZodNullable<z.ZodEnum<{
165
- dns_resolve: "dns_resolve";
169
+ dns_mismatch: "dns_mismatch";
166
170
  dns_nxdomain: "dns_nxdomain";
171
+ dns_resolve: "dns_resolve";
167
172
  dns_servfail: "dns_servfail";
168
- dns_mismatch: "dns_mismatch";
169
- tcp_connect: "tcp_connect";
170
- tls_handshake: "tls_handshake";
171
- tls_cert_invalid: "tls_cert_invalid";
172
- tls_cert_expired: "tls_cert_expired";
173
- tls_cert_expiring: "tls_cert_expiring";
174
- http_status: "http_status";
173
+ edge_only: "edge_only";
174
+ heartbeat_missed: "heartbeat_missed";
175
175
  http_body: "http_body";
176
+ http_status: "http_status";
176
177
  keyword_missing: "keyword_missing";
177
178
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
178
- timeout: "timeout";
179
179
  packet_loss: "packet_loss";
180
- ssrf_blocked: "ssrf_blocked";
181
- heartbeat_missed: "heartbeat_missed";
182
- edge_only: "edge_only";
183
- waf_challenge: "waf_challenge";
184
180
  rate_limited: "rate_limited";
181
+ ssrf_blocked: "ssrf_blocked";
182
+ tcp_connect: "tcp_connect";
183
+ timeout: "timeout";
184
+ tls_cert_distrusted: "tls_cert_distrusted";
185
+ tls_cert_expired: "tls_cert_expired";
186
+ tls_cert_expiring: "tls_cert_expiring";
187
+ tls_cert_invalid: "tls_cert_invalid";
188
+ tls_handshake: "tls_handshake";
185
189
  unknown: "unknown";
190
+ waf_challenge: "waf_challenge";
186
191
  }>>;
187
192
  status_code: z.ZodNullable<z.ZodNumber>;
188
193
  error_message: z.ZodNullable<z.ZodString>;
@@ -195,8 +200,8 @@ export declare const IncidentEventPayloadSchema: z.ZodObject<{
195
200
  postmortem_md: z.ZodOptional<z.ZodString>;
196
201
  status_page_incident_id: z.ZodOptional<z.ZodString>;
197
202
  status_page_status: z.ZodOptional<z.ZodEnum<{
198
- investigating: "investigating";
199
203
  identified: "identified";
204
+ investigating: "investigating";
200
205
  monitoring: "monitoring";
201
206
  resolved: "resolved";
202
207
  }>>;
@@ -209,15 +214,15 @@ export declare const IncidentEventSchema: z.ZodObject<{
209
214
  monitor_id: z.ZodString;
210
215
  org_id: z.ZodString;
211
216
  type: z.ZodEnum<{
212
- resolved: "resolved";
213
- opened: "opened";
214
217
  acknowledged: "acknowledged";
215
- reopened: "reopened";
216
- note_added: "note_added";
217
218
  channel_notified: "channel_notified";
218
219
  escalated: "escalated";
219
- postmortem_published: "postmortem_published";
220
220
  flapping_detected: "flapping_detected";
221
+ note_added: "note_added";
222
+ opened: "opened";
223
+ postmortem_published: "postmortem_published";
224
+ reopened: "reopened";
225
+ resolved: "resolved";
221
226
  status_page_updated: "status_page_updated";
222
227
  }>;
223
228
  occurred_at: z.ZodString;
@@ -225,40 +230,41 @@ export declare const IncidentEventSchema: z.ZodObject<{
225
230
  payload: z.ZodOptional<z.ZodObject<{
226
231
  failing_regions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
227
232
  fra1: "fra1";
228
- iad1: "iad1";
233
+ gru1: "gru1";
229
234
  hil1: "hil1";
235
+ iad1: "iad1";
230
236
  sgp1: "sgp1";
231
237
  syd1: "syd1";
232
- gru1: "gru1";
233
238
  }>>>;
234
239
  cause: z.ZodOptional<z.ZodObject<{
235
240
  kind: z.ZodEnum<{
236
- unanimous: "unanimous";
237
241
  majority: "majority";
238
242
  mixed: "mixed";
243
+ unanimous: "unanimous";
239
244
  }>;
240
245
  error_class: z.ZodNullable<z.ZodEnum<{
241
- dns_resolve: "dns_resolve";
246
+ dns_mismatch: "dns_mismatch";
242
247
  dns_nxdomain: "dns_nxdomain";
248
+ dns_resolve: "dns_resolve";
243
249
  dns_servfail: "dns_servfail";
244
- dns_mismatch: "dns_mismatch";
245
- tcp_connect: "tcp_connect";
246
- tls_handshake: "tls_handshake";
247
- tls_cert_invalid: "tls_cert_invalid";
248
- tls_cert_expired: "tls_cert_expired";
249
- tls_cert_expiring: "tls_cert_expiring";
250
- http_status: "http_status";
250
+ edge_only: "edge_only";
251
+ heartbeat_missed: "heartbeat_missed";
251
252
  http_body: "http_body";
253
+ http_status: "http_status";
252
254
  keyword_missing: "keyword_missing";
253
255
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
254
- timeout: "timeout";
255
256
  packet_loss: "packet_loss";
256
- ssrf_blocked: "ssrf_blocked";
257
- heartbeat_missed: "heartbeat_missed";
258
- edge_only: "edge_only";
259
- waf_challenge: "waf_challenge";
260
257
  rate_limited: "rate_limited";
258
+ ssrf_blocked: "ssrf_blocked";
259
+ tcp_connect: "tcp_connect";
260
+ timeout: "timeout";
261
+ tls_cert_distrusted: "tls_cert_distrusted";
262
+ tls_cert_expired: "tls_cert_expired";
263
+ tls_cert_expiring: "tls_cert_expiring";
264
+ tls_cert_invalid: "tls_cert_invalid";
265
+ tls_handshake: "tls_handshake";
261
266
  unknown: "unknown";
267
+ waf_challenge: "waf_challenge";
262
268
  }>>;
263
269
  status_code: z.ZodNullable<z.ZodNumber>;
264
270
  label: z.ZodString;
@@ -266,27 +272,28 @@ export declare const IncidentEventSchema: z.ZodObject<{
266
272
  probes: z.ZodArray<z.ZodObject<{
267
273
  region: z.ZodString;
268
274
  error_class: z.ZodNullable<z.ZodEnum<{
269
- dns_resolve: "dns_resolve";
275
+ dns_mismatch: "dns_mismatch";
270
276
  dns_nxdomain: "dns_nxdomain";
277
+ dns_resolve: "dns_resolve";
271
278
  dns_servfail: "dns_servfail";
272
- dns_mismatch: "dns_mismatch";
273
- tcp_connect: "tcp_connect";
274
- tls_handshake: "tls_handshake";
275
- tls_cert_invalid: "tls_cert_invalid";
276
- tls_cert_expired: "tls_cert_expired";
277
- tls_cert_expiring: "tls_cert_expiring";
278
- http_status: "http_status";
279
+ edge_only: "edge_only";
280
+ heartbeat_missed: "heartbeat_missed";
279
281
  http_body: "http_body";
282
+ http_status: "http_status";
280
283
  keyword_missing: "keyword_missing";
281
284
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
282
- timeout: "timeout";
283
285
  packet_loss: "packet_loss";
284
- ssrf_blocked: "ssrf_blocked";
285
- heartbeat_missed: "heartbeat_missed";
286
- edge_only: "edge_only";
287
- waf_challenge: "waf_challenge";
288
286
  rate_limited: "rate_limited";
287
+ ssrf_blocked: "ssrf_blocked";
288
+ tcp_connect: "tcp_connect";
289
+ timeout: "timeout";
290
+ tls_cert_distrusted: "tls_cert_distrusted";
291
+ tls_cert_expired: "tls_cert_expired";
292
+ tls_cert_expiring: "tls_cert_expiring";
293
+ tls_cert_invalid: "tls_cert_invalid";
294
+ tls_handshake: "tls_handshake";
289
295
  unknown: "unknown";
296
+ waf_challenge: "waf_challenge";
290
297
  }>>;
291
298
  status_code: z.ZodNullable<z.ZodNumber>;
292
299
  error_message: z.ZodNullable<z.ZodString>;
@@ -299,8 +306,8 @@ export declare const IncidentEventSchema: z.ZodObject<{
299
306
  postmortem_md: z.ZodOptional<z.ZodString>;
300
307
  status_page_incident_id: z.ZodOptional<z.ZodString>;
301
308
  status_page_status: z.ZodOptional<z.ZodEnum<{
302
- investigating: "investigating";
303
309
  identified: "identified";
310
+ investigating: "investigating";
304
311
  monitoring: "monitoring";
305
312
  resolved: "resolved";
306
313
  }>>;
@@ -313,34 +320,39 @@ export declare const IncidentSchema: z.ZodObject<{
313
320
  org_id: z.ZodString;
314
321
  monitor_id: z.ZodString;
315
322
  status: z.ZodEnum<{
316
- resolved: "resolved";
317
323
  acknowledged: "acknowledged";
318
324
  open: "open";
325
+ resolved: "resolved";
319
326
  }>;
320
327
  opened_at: z.ZodString;
321
328
  acknowledged_at: z.ZodNullable<z.ZodString>;
322
329
  resolved_at: z.ZodNullable<z.ZodString>;
323
330
  opened_with_failing_regions: z.ZodArray<z.ZodEnum<{
324
331
  fra1: "fra1";
325
- iad1: "iad1";
332
+ gru1: "gru1";
326
333
  hil1: "hil1";
334
+ iad1: "iad1";
327
335
  sgp1: "sgp1";
328
336
  syd1: "syd1";
329
- gru1: "gru1";
330
337
  }>>;
331
338
  current_failing_regions: z.ZodArray<z.ZodEnum<{
332
339
  fra1: "fra1";
333
- iad1: "iad1";
340
+ gru1: "gru1";
334
341
  hil1: "hil1";
342
+ iad1: "iad1";
335
343
  sgp1: "sgp1";
336
344
  syd1: "syd1";
337
- gru1: "gru1";
338
345
  }>>;
339
346
  acknowledged_by: z.ZodNullable<z.ZodString>;
340
347
  resolved_by: z.ZodNullable<z.ZodString>;
341
348
  duration_sec: z.ZodNullable<z.ZodNumber>;
342
349
  postmortem_md: z.ZodNullable<z.ZodString>;
343
350
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
352
+ id: z.ZodString;
353
+ name: z.ZodNullable<z.ZodString>;
354
+ email: z.ZodString;
355
+ }, z.core.$strip>>>;
344
356
  }, z.core.$strip>;
345
357
  export type Incident = z.infer<typeof IncidentSchema>;
346
358
  export declare const IncidentListItemSchema: z.ZodObject<{
@@ -348,19 +360,17 @@ export declare const IncidentListItemSchema: z.ZodObject<{
348
360
  monitor_id: z.ZodString;
349
361
  monitor_name: z.ZodString;
350
362
  monitor_type: z.ZodEnum<{
351
- http: "http";
352
- tcp: "tcp";
353
- ping: "ping";
354
363
  dns: "dns";
355
- ssl: "ssl";
356
- keyword: "keyword";
357
364
  heartbeat: "heartbeat";
365
+ http: "http";
366
+ ping: "ping";
367
+ tcp: "tcp";
358
368
  }>;
359
369
  monitor_target: z.ZodString;
360
370
  status: z.ZodEnum<{
361
- resolved: "resolved";
362
371
  acknowledged: "acknowledged";
363
372
  open: "open";
373
+ resolved: "resolved";
364
374
  }>;
365
375
  title: z.ZodNullable<z.ZodString>;
366
376
  opened_at: z.ZodString;
@@ -368,19 +378,19 @@ export declare const IncidentListItemSchema: z.ZodObject<{
368
378
  resolved_at: z.ZodNullable<z.ZodString>;
369
379
  opened_with_failing_regions: z.ZodArray<z.ZodEnum<{
370
380
  fra1: "fra1";
371
- iad1: "iad1";
381
+ gru1: "gru1";
372
382
  hil1: "hil1";
383
+ iad1: "iad1";
373
384
  sgp1: "sgp1";
374
385
  syd1: "syd1";
375
- gru1: "gru1";
376
386
  }>>;
377
387
  current_failing_regions: z.ZodArray<z.ZodEnum<{
378
388
  fra1: "fra1";
379
- iad1: "iad1";
389
+ gru1: "gru1";
380
390
  hil1: "hil1";
391
+ iad1: "iad1";
381
392
  sgp1: "sgp1";
382
393
  syd1: "syd1";
383
- gru1: "gru1";
384
394
  }>>;
385
395
  duration_sec: z.ZodNullable<z.ZodNumber>;
386
396
  }, z.core.$strip>;
@@ -389,17 +399,17 @@ export declare const IncidentDispatchSchema: z.ZodObject<{
389
399
  id: z.ZodString;
390
400
  channel_name: z.ZodString;
391
401
  channel_kind: z.ZodEnum<{
402
+ discord: "discord";
392
403
  email: "email";
393
404
  slack: "slack";
394
- discord: "discord";
395
- telegram: "telegram";
396
405
  teams: "teams";
406
+ telegram: "telegram";
397
407
  webhook: "webhook";
398
408
  }>;
399
409
  status: z.ZodEnum<{
410
+ failed: "failed";
400
411
  pending: "pending";
401
412
  sent: "sent";
402
- failed: "failed";
403
413
  suppressed: "suppressed";
404
414
  }>;
405
415
  occurred_at: z.ZodString;
@@ -410,11 +420,11 @@ export type IncidentDispatch = z.infer<typeof IncidentDispatchSchema>;
410
420
  export declare const RegionObservationSchema: z.ZodObject<{
411
421
  region: z.ZodEnum<{
412
422
  fra1: "fra1";
413
- iad1: "iad1";
423
+ gru1: "gru1";
414
424
  hil1: "hil1";
425
+ iad1: "iad1";
415
426
  sgp1: "sgp1";
416
427
  syd1: "syd1";
417
- gru1: "gru1";
418
428
  }>;
419
429
  kind: z.ZodEnum<{
420
430
  down: "down";
@@ -422,32 +432,33 @@ export declare const RegionObservationSchema: z.ZodObject<{
422
432
  }>;
423
433
  at: z.ZodString;
424
434
  status: z.ZodEnum<{
425
- up: "up";
426
- down: "down";
427
435
  degraded: "degraded";
436
+ down: "down";
437
+ up: "up";
428
438
  }>;
429
439
  error_class: z.ZodNullable<z.ZodEnum<{
430
- dns_resolve: "dns_resolve";
440
+ dns_mismatch: "dns_mismatch";
431
441
  dns_nxdomain: "dns_nxdomain";
442
+ dns_resolve: "dns_resolve";
432
443
  dns_servfail: "dns_servfail";
433
- dns_mismatch: "dns_mismatch";
434
- tcp_connect: "tcp_connect";
435
- tls_handshake: "tls_handshake";
436
- tls_cert_invalid: "tls_cert_invalid";
437
- tls_cert_expired: "tls_cert_expired";
438
- tls_cert_expiring: "tls_cert_expiring";
439
- http_status: "http_status";
444
+ edge_only: "edge_only";
445
+ heartbeat_missed: "heartbeat_missed";
440
446
  http_body: "http_body";
447
+ http_status: "http_status";
441
448
  keyword_missing: "keyword_missing";
442
449
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
443
- timeout: "timeout";
444
450
  packet_loss: "packet_loss";
445
- ssrf_blocked: "ssrf_blocked";
446
- heartbeat_missed: "heartbeat_missed";
447
- edge_only: "edge_only";
448
- waf_challenge: "waf_challenge";
449
451
  rate_limited: "rate_limited";
452
+ ssrf_blocked: "ssrf_blocked";
453
+ tcp_connect: "tcp_connect";
454
+ timeout: "timeout";
455
+ tls_cert_distrusted: "tls_cert_distrusted";
456
+ tls_cert_expired: "tls_cert_expired";
457
+ tls_cert_expiring: "tls_cert_expiring";
458
+ tls_cert_invalid: "tls_cert_invalid";
459
+ tls_handshake: "tls_handshake";
450
460
  unknown: "unknown";
461
+ waf_challenge: "waf_challenge";
451
462
  }>>;
452
463
  status_code: z.ZodNullable<z.ZodNumber>;
453
464
  }, z.core.$strip>;
@@ -463,11 +474,11 @@ export declare const IncidentObservationsSchema: z.ZodObject<{
463
474
  region_trail: z.ZodArray<z.ZodObject<{
464
475
  region: z.ZodEnum<{
465
476
  fra1: "fra1";
466
- iad1: "iad1";
477
+ gru1: "gru1";
467
478
  hil1: "hil1";
479
+ iad1: "iad1";
468
480
  sgp1: "sgp1";
469
481
  syd1: "syd1";
470
- gru1: "gru1";
471
482
  }>;
472
483
  kind: z.ZodEnum<{
473
484
  down: "down";
@@ -475,32 +486,33 @@ export declare const IncidentObservationsSchema: z.ZodObject<{
475
486
  }>;
476
487
  at: z.ZodString;
477
488
  status: z.ZodEnum<{
478
- up: "up";
479
- down: "down";
480
489
  degraded: "degraded";
490
+ down: "down";
491
+ up: "up";
481
492
  }>;
482
493
  error_class: z.ZodNullable<z.ZodEnum<{
483
- dns_resolve: "dns_resolve";
494
+ dns_mismatch: "dns_mismatch";
484
495
  dns_nxdomain: "dns_nxdomain";
496
+ dns_resolve: "dns_resolve";
485
497
  dns_servfail: "dns_servfail";
486
- dns_mismatch: "dns_mismatch";
487
- tcp_connect: "tcp_connect";
488
- tls_handshake: "tls_handshake";
489
- tls_cert_invalid: "tls_cert_invalid";
490
- tls_cert_expired: "tls_cert_expired";
491
- tls_cert_expiring: "tls_cert_expiring";
492
- http_status: "http_status";
498
+ edge_only: "edge_only";
499
+ heartbeat_missed: "heartbeat_missed";
493
500
  http_body: "http_body";
501
+ http_status: "http_status";
494
502
  keyword_missing: "keyword_missing";
495
503
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
496
- timeout: "timeout";
497
504
  packet_loss: "packet_loss";
498
- ssrf_blocked: "ssrf_blocked";
499
- heartbeat_missed: "heartbeat_missed";
500
- edge_only: "edge_only";
501
- waf_challenge: "waf_challenge";
502
505
  rate_limited: "rate_limited";
506
+ ssrf_blocked: "ssrf_blocked";
507
+ tcp_connect: "tcp_connect";
508
+ timeout: "timeout";
509
+ tls_cert_distrusted: "tls_cert_distrusted";
510
+ tls_cert_expired: "tls_cert_expired";
511
+ tls_cert_expiring: "tls_cert_expiring";
512
+ tls_cert_invalid: "tls_cert_invalid";
513
+ tls_handshake: "tls_handshake";
503
514
  unknown: "unknown";
515
+ waf_challenge: "waf_challenge";
504
516
  }>>;
505
517
  status_code: z.ZodNullable<z.ZodNumber>;
506
518
  }, z.core.$strip>>;
@@ -518,11 +530,11 @@ export declare const IncidentDetailObservationsSchema: z.ZodObject<{
518
530
  region_trail: z.ZodArray<z.ZodObject<{
519
531
  region: z.ZodEnum<{
520
532
  fra1: "fra1";
521
- iad1: "iad1";
533
+ gru1: "gru1";
522
534
  hil1: "hil1";
535
+ iad1: "iad1";
523
536
  sgp1: "sgp1";
524
537
  syd1: "syd1";
525
- gru1: "gru1";
526
538
  }>;
527
539
  kind: z.ZodEnum<{
528
540
  down: "down";
@@ -530,32 +542,33 @@ export declare const IncidentDetailObservationsSchema: z.ZodObject<{
530
542
  }>;
531
543
  at: z.ZodString;
532
544
  status: z.ZodEnum<{
533
- up: "up";
534
- down: "down";
535
545
  degraded: "degraded";
546
+ down: "down";
547
+ up: "up";
536
548
  }>;
537
549
  error_class: z.ZodNullable<z.ZodEnum<{
538
- dns_resolve: "dns_resolve";
550
+ dns_mismatch: "dns_mismatch";
539
551
  dns_nxdomain: "dns_nxdomain";
552
+ dns_resolve: "dns_resolve";
540
553
  dns_servfail: "dns_servfail";
541
- dns_mismatch: "dns_mismatch";
542
- tcp_connect: "tcp_connect";
543
- tls_handshake: "tls_handshake";
544
- tls_cert_invalid: "tls_cert_invalid";
545
- tls_cert_expired: "tls_cert_expired";
546
- tls_cert_expiring: "tls_cert_expiring";
547
- http_status: "http_status";
554
+ edge_only: "edge_only";
555
+ heartbeat_missed: "heartbeat_missed";
548
556
  http_body: "http_body";
557
+ http_status: "http_status";
549
558
  keyword_missing: "keyword_missing";
550
559
  keyword_present_unexpectedly: "keyword_present_unexpectedly";
551
- timeout: "timeout";
552
560
  packet_loss: "packet_loss";
553
- ssrf_blocked: "ssrf_blocked";
554
- heartbeat_missed: "heartbeat_missed";
555
- edge_only: "edge_only";
556
- waf_challenge: "waf_challenge";
557
561
  rate_limited: "rate_limited";
562
+ ssrf_blocked: "ssrf_blocked";
563
+ tcp_connect: "tcp_connect";
564
+ timeout: "timeout";
565
+ tls_cert_distrusted: "tls_cert_distrusted";
566
+ tls_cert_expired: "tls_cert_expired";
567
+ tls_cert_expiring: "tls_cert_expiring";
568
+ tls_cert_invalid: "tls_cert_invalid";
569
+ tls_handshake: "tls_handshake";
558
570
  unknown: "unknown";
571
+ waf_challenge: "waf_challenge";
559
572
  }>>;
560
573
  status_code: z.ZodNullable<z.ZodNumber>;
561
574
  }, z.core.$strip>>;
@@ -570,22 +583,19 @@ export declare const ResolveIncidentSchema: z.ZodObject<{
570
583
  note: z.ZodOptional<z.ZodString>;
571
584
  }, z.core.$strip>;
572
585
  export type ResolveIncident = z.infer<typeof ResolveIncidentSchema>;
573
- export declare const ReopenIncidentSchema: z.ZodObject<{
574
- note: z.ZodOptional<z.ZodString>;
575
- }, z.core.$strip>;
576
- export type ReopenIncident = z.infer<typeof ReopenIncidentSchema>;
577
586
  export declare const UpdatePostmortemSchema: z.ZodObject<{
578
587
  postmortem_md: z.ZodNullable<z.ZodString>;
579
588
  }, z.core.$strip>;
580
589
  export type UpdatePostmortem = z.infer<typeof UpdatePostmortemSchema>;
581
590
  export declare const IncidentListQuerySchema: z.ZodObject<{
582
591
  status: z.ZodOptional<z.ZodEnum<{
583
- resolved: "resolved";
584
592
  acknowledged: "acknowledged";
585
593
  open: "open";
594
+ resolved: "resolved";
586
595
  }>>;
587
596
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
588
597
  monitor_id: z.ZodOptional<z.ZodString>;
598
+ search: z.ZodOptional<z.ZodString>;
589
599
  resolved_since: z.ZodOptional<z.ZodString>;
590
600
  cursor: z.ZodOptional<z.ZodString>;
591
601
  }, z.core.$strip>;
@@ -596,19 +606,17 @@ export declare const IncidentListPageSchema: z.ZodObject<{
596
606
  monitor_id: z.ZodString;
597
607
  monitor_name: z.ZodString;
598
608
  monitor_type: z.ZodEnum<{
599
- http: "http";
600
- tcp: "tcp";
601
- ping: "ping";
602
609
  dns: "dns";
603
- ssl: "ssl";
604
- keyword: "keyword";
605
610
  heartbeat: "heartbeat";
611
+ http: "http";
612
+ ping: "ping";
613
+ tcp: "tcp";
606
614
  }>;
607
615
  monitor_target: z.ZodString;
608
616
  status: z.ZodEnum<{
609
- resolved: "resolved";
610
617
  acknowledged: "acknowledged";
611
618
  open: "open";
619
+ resolved: "resolved";
612
620
  }>;
613
621
  title: z.ZodNullable<z.ZodString>;
614
622
  opened_at: z.ZodString;
@@ -616,19 +624,19 @@ export declare const IncidentListPageSchema: z.ZodObject<{
616
624
  resolved_at: z.ZodNullable<z.ZodString>;
617
625
  opened_with_failing_regions: z.ZodArray<z.ZodEnum<{
618
626
  fra1: "fra1";
619
- iad1: "iad1";
627
+ gru1: "gru1";
620
628
  hil1: "hil1";
629
+ iad1: "iad1";
621
630
  sgp1: "sgp1";
622
631
  syd1: "syd1";
623
- gru1: "gru1";
624
632
  }>>;
625
633
  current_failing_regions: z.ZodArray<z.ZodEnum<{
626
634
  fra1: "fra1";
627
- iad1: "iad1";
635
+ gru1: "gru1";
628
636
  hil1: "hil1";
637
+ iad1: "iad1";
629
638
  sgp1: "sgp1";
630
639
  syd1: "syd1";
631
- gru1: "gru1";
632
640
  }>>;
633
641
  duration_sec: z.ZodNullable<z.ZodNumber>;
634
642
  }, z.core.$strip>>;
@@ -637,19 +645,17 @@ export declare const IncidentListPageSchema: z.ZodObject<{
637
645
  monitor_id: z.ZodString;
638
646
  monitor_name: z.ZodString;
639
647
  monitor_type: z.ZodEnum<{
640
- http: "http";
641
- tcp: "tcp";
642
- ping: "ping";
643
648
  dns: "dns";
644
- ssl: "ssl";
645
- keyword: "keyword";
646
649
  heartbeat: "heartbeat";
650
+ http: "http";
651
+ ping: "ping";
652
+ tcp: "tcp";
647
653
  }>;
648
654
  monitor_target: z.ZodString;
649
655
  status: z.ZodEnum<{
650
- resolved: "resolved";
651
656
  acknowledged: "acknowledged";
652
657
  open: "open";
658
+ resolved: "resolved";
653
659
  }>;
654
660
  title: z.ZodNullable<z.ZodString>;
655
661
  opened_at: z.ZodString;
@@ -657,25 +663,26 @@ export declare const IncidentListPageSchema: z.ZodObject<{
657
663
  resolved_at: z.ZodNullable<z.ZodString>;
658
664
  opened_with_failing_regions: z.ZodArray<z.ZodEnum<{
659
665
  fra1: "fra1";
660
- iad1: "iad1";
666
+ gru1: "gru1";
661
667
  hil1: "hil1";
668
+ iad1: "iad1";
662
669
  sgp1: "sgp1";
663
670
  syd1: "syd1";
664
- gru1: "gru1";
665
671
  }>>;
666
672
  current_failing_regions: z.ZodArray<z.ZodEnum<{
667
673
  fra1: "fra1";
668
- iad1: "iad1";
674
+ gru1: "gru1";
669
675
  hil1: "hil1";
676
+ iad1: "iad1";
670
677
  sgp1: "sgp1";
671
678
  syd1: "syd1";
672
- gru1: "gru1";
673
679
  }>>;
674
680
  duration_sec: z.ZodNullable<z.ZodNumber>;
675
681
  }, z.core.$strip>>;
676
682
  next_cursor: z.ZodNullable<z.ZodString>;
677
683
  prev_cursor: z.ZodNullable<z.ZodString>;
678
684
  limit: z.ZodNumber;
685
+ total: z.ZodOptional<z.ZodNumber>;
679
686
  }, z.core.$strip>;
680
687
  export type IncidentListPage = z.infer<typeof IncidentListPageSchema>;
681
688
  //# sourceMappingURL=incidents.d.ts.map