betterstack-alchemy 0.0.0-stage → 0.1.0-beta.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 (1056) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSES/Apache-2.0.txt +201 -0
  3. package/NOTICE +182 -0
  4. package/README.md +165 -2
  5. package/lib/Account/Reference.d.ts +89 -0
  6. package/lib/Account/Reference.d.ts.map +1 -0
  7. package/lib/Account/Reference.js +90 -0
  8. package/lib/Account/Reference.js.map +1 -0
  9. package/lib/Account/Team.d.ts +69 -0
  10. package/lib/Account/Team.d.ts.map +1 -0
  11. package/lib/Account/Team.js +74 -0
  12. package/lib/Account/Team.js.map +1 -0
  13. package/lib/Account/TeamMember.d.ts +78 -0
  14. package/lib/Account/TeamMember.d.ts.map +1 -0
  15. package/lib/Account/TeamMember.js +159 -0
  16. package/lib/Account/TeamMember.js.map +1 -0
  17. package/lib/Account/index.d.ts +25 -0
  18. package/lib/Account/index.d.ts.map +1 -0
  19. package/lib/Account/index.js +25 -0
  20. package/lib/Account/index.js.map +1 -0
  21. package/lib/AuthProvider.d.ts +38 -0
  22. package/lib/AuthProvider.d.ts.map +1 -0
  23. package/lib/AuthProvider.js +134 -0
  24. package/lib/AuthProvider.js.map +1 -0
  25. package/lib/BetterStackBindings.d.ts +227 -0
  26. package/lib/BetterStackBindings.d.ts.map +1 -0
  27. package/lib/BetterStackBindings.js +223 -0
  28. package/lib/BetterStackBindings.js.map +1 -0
  29. package/lib/Cloud/Bootstrap.d.ts +20 -0
  30. package/lib/Cloud/Bootstrap.d.ts.map +1 -0
  31. package/lib/Cloud/Bootstrap.js +85 -0
  32. package/lib/Cloud/Bootstrap.js.map +1 -0
  33. package/lib/Cloud/Certificate.d.ts +97 -0
  34. package/lib/Cloud/Certificate.d.ts.map +1 -0
  35. package/lib/Cloud/Certificate.js +96 -0
  36. package/lib/Cloud/Certificate.js.map +1 -0
  37. package/lib/Cloud/ClickHouse.d.ts +184 -0
  38. package/lib/Cloud/ClickHouse.d.ts.map +1 -0
  39. package/lib/Cloud/ClickHouse.js +179 -0
  40. package/lib/Cloud/ClickHouse.js.map +1 -0
  41. package/lib/Cloud/ClickHouseScheduledSnapshot.d.ts +77 -0
  42. package/lib/Cloud/ClickHouseScheduledSnapshot.d.ts.map +1 -0
  43. package/lib/Cloud/ClickHouseScheduledSnapshot.js +76 -0
  44. package/lib/Cloud/ClickHouseScheduledSnapshot.js.map +1 -0
  45. package/lib/Cloud/ClickHouseSnapshot.d.ts +107 -0
  46. package/lib/Cloud/ClickHouseSnapshot.d.ts.map +1 -0
  47. package/lib/Cloud/ClickHouseSnapshot.js +78 -0
  48. package/lib/Cloud/ClickHouseSnapshot.js.map +1 -0
  49. package/lib/Cloud/Firewall.d.ts +134 -0
  50. package/lib/Cloud/Firewall.d.ts.map +1 -0
  51. package/lib/Cloud/Firewall.js +169 -0
  52. package/lib/Cloud/Firewall.js.map +1 -0
  53. package/lib/Cloud/FirewallRule.d.ts +114 -0
  54. package/lib/Cloud/FirewallRule.d.ts.map +1 -0
  55. package/lib/Cloud/FirewallRule.js +130 -0
  56. package/lib/Cloud/FirewallRule.js.map +1 -0
  57. package/lib/Cloud/InferEnv.d.ts +28 -0
  58. package/lib/Cloud/InferEnv.d.ts.map +1 -0
  59. package/lib/Cloud/InferEnv.js +1 -0
  60. package/lib/Cloud/InferEnv.js.map +1 -0
  61. package/lib/Cloud/Kafka.d.ts +204 -0
  62. package/lib/Cloud/Kafka.d.ts.map +1 -0
  63. package/lib/Cloud/Kafka.js +194 -0
  64. package/lib/Cloud/Kafka.js.map +1 -0
  65. package/lib/Cloud/KafkaTopic.d.ts +90 -0
  66. package/lib/Cloud/KafkaTopic.d.ts.map +1 -0
  67. package/lib/Cloud/KafkaTopic.js +83 -0
  68. package/lib/Cloud/KafkaTopic.js.map +1 -0
  69. package/lib/Cloud/KafkaUser.d.ts +121 -0
  70. package/lib/Cloud/KafkaUser.d.ts.map +1 -0
  71. package/lib/Cloud/KafkaUser.js +103 -0
  72. package/lib/Cloud/KafkaUser.js.map +1 -0
  73. package/lib/Cloud/KubernetesCluster.d.ts +204 -0
  74. package/lib/Cloud/KubernetesCluster.d.ts.map +1 -0
  75. package/lib/Cloud/KubernetesCluster.js +190 -0
  76. package/lib/Cloud/KubernetesCluster.js.map +1 -0
  77. package/lib/Cloud/KubernetesNodePool.d.ts +100 -0
  78. package/lib/Cloud/KubernetesNodePool.d.ts.map +1 -0
  79. package/lib/Cloud/KubernetesNodePool.js +133 -0
  80. package/lib/Cloud/KubernetesNodePool.js.map +1 -0
  81. package/lib/Cloud/KubernetesScheduledSnapshot.d.ts +73 -0
  82. package/lib/Cloud/KubernetesScheduledSnapshot.d.ts.map +1 -0
  83. package/lib/Cloud/KubernetesScheduledSnapshot.js +78 -0
  84. package/lib/Cloud/KubernetesScheduledSnapshot.js.map +1 -0
  85. package/lib/Cloud/LoadBalancer.d.ts +187 -0
  86. package/lib/Cloud/LoadBalancer.d.ts.map +1 -0
  87. package/lib/Cloud/LoadBalancer.js +228 -0
  88. package/lib/Cloud/LoadBalancer.js.map +1 -0
  89. package/lib/Cloud/LoadBalancerService.d.ts +116 -0
  90. package/lib/Cloud/LoadBalancerService.d.ts.map +1 -0
  91. package/lib/Cloud/LoadBalancerService.js +132 -0
  92. package/lib/Cloud/LoadBalancerService.js.map +1 -0
  93. package/lib/Cloud/LoadBalancerTarget.d.ts +110 -0
  94. package/lib/Cloud/LoadBalancerTarget.d.ts.map +1 -0
  95. package/lib/Cloud/LoadBalancerTarget.js +138 -0
  96. package/lib/Cloud/LoadBalancerTarget.js.map +1 -0
  97. package/lib/Cloud/MountVolume.d.ts +109 -0
  98. package/lib/Cloud/MountVolume.d.ts.map +1 -0
  99. package/lib/Cloud/MountVolume.js +59 -0
  100. package/lib/Cloud/MountVolume.js.map +1 -0
  101. package/lib/Cloud/MySQL.d.ts +285 -0
  102. package/lib/Cloud/MySQL.d.ts.map +1 -0
  103. package/lib/Cloud/MySQL.js +225 -0
  104. package/lib/Cloud/MySQL.js.map +1 -0
  105. package/lib/Cloud/MySQLScheduledSnapshot.d.ts +74 -0
  106. package/lib/Cloud/MySQLScheduledSnapshot.d.ts.map +1 -0
  107. package/lib/Cloud/MySQLScheduledSnapshot.js +73 -0
  108. package/lib/Cloud/MySQLScheduledSnapshot.js.map +1 -0
  109. package/lib/Cloud/MySQLSnapshot.d.ts +107 -0
  110. package/lib/Cloud/MySQLSnapshot.d.ts.map +1 -0
  111. package/lib/Cloud/MySQLSnapshot.js +78 -0
  112. package/lib/Cloud/MySQLSnapshot.js.map +1 -0
  113. package/lib/Cloud/Network.d.ts +69 -0
  114. package/lib/Cloud/Network.d.ts.map +1 -0
  115. package/lib/Cloud/Network.js +80 -0
  116. package/lib/Cloud/Network.js.map +1 -0
  117. package/lib/Cloud/ObjectCache.d.ts +226 -0
  118. package/lib/Cloud/ObjectCache.d.ts.map +1 -0
  119. package/lib/Cloud/ObjectCache.js +258 -0
  120. package/lib/Cloud/ObjectCache.js.map +1 -0
  121. package/lib/Cloud/ObjectCacheBucket.d.ts +112 -0
  122. package/lib/Cloud/ObjectCacheBucket.d.ts.map +1 -0
  123. package/lib/Cloud/ObjectCacheBucket.js +123 -0
  124. package/lib/Cloud/ObjectCacheBucket.js.map +1 -0
  125. package/lib/Cloud/Otlp.d.ts +93 -0
  126. package/lib/Cloud/Otlp.d.ts.map +1 -0
  127. package/lib/Cloud/Otlp.js +79 -0
  128. package/lib/Cloud/Otlp.js.map +1 -0
  129. package/lib/Cloud/PlacementGroup.d.ts +85 -0
  130. package/lib/Cloud/PlacementGroup.d.ts.map +1 -0
  131. package/lib/Cloud/PlacementGroup.js +86 -0
  132. package/lib/Cloud/PlacementGroup.js.map +1 -0
  133. package/lib/Cloud/Postgres.d.ts +331 -0
  134. package/lib/Cloud/Postgres.d.ts.map +1 -0
  135. package/lib/Cloud/Postgres.js +255 -0
  136. package/lib/Cloud/Postgres.js.map +1 -0
  137. package/lib/Cloud/PostgresDatabase.d.ts +77 -0
  138. package/lib/Cloud/PostgresDatabase.d.ts.map +1 -0
  139. package/lib/Cloud/PostgresDatabase.js +79 -0
  140. package/lib/Cloud/PostgresDatabase.js.map +1 -0
  141. package/lib/Cloud/PostgresScheduledSnapshot.d.ts +74 -0
  142. package/lib/Cloud/PostgresScheduledSnapshot.d.ts.map +1 -0
  143. package/lib/Cloud/PostgresScheduledSnapshot.js +73 -0
  144. package/lib/Cloud/PostgresScheduledSnapshot.js.map +1 -0
  145. package/lib/Cloud/PostgresSnapshot.d.ts +107 -0
  146. package/lib/Cloud/PostgresSnapshot.d.ts.map +1 -0
  147. package/lib/Cloud/PostgresSnapshot.js +78 -0
  148. package/lib/Cloud/PostgresSnapshot.js.map +1 -0
  149. package/lib/Cloud/PostgresUser.d.ts +118 -0
  150. package/lib/Cloud/PostgresUser.d.ts.map +1 -0
  151. package/lib/Cloud/PostgresUser.js +102 -0
  152. package/lib/Cloud/PostgresUser.js.map +1 -0
  153. package/lib/Cloud/Reference.d.ts +508 -0
  154. package/lib/Cloud/Reference.d.ts.map +1 -0
  155. package/lib/Cloud/Reference.js +542 -0
  156. package/lib/Cloud/Reference.js.map +1 -0
  157. package/lib/Cloud/ReservedIp.d.ts +113 -0
  158. package/lib/Cloud/ReservedIp.d.ts.map +1 -0
  159. package/lib/Cloud/ReservedIp.js +146 -0
  160. package/lib/Cloud/ReservedIp.js.map +1 -0
  161. package/lib/Cloud/ScheduledSnapshot.d.ts +49 -0
  162. package/lib/Cloud/ScheduledSnapshot.d.ts.map +1 -0
  163. package/lib/Cloud/ScheduledSnapshot.js +43 -0
  164. package/lib/Cloud/ScheduledSnapshot.js.map +1 -0
  165. package/lib/Cloud/ScheduledVolumeSnapshot.d.ts +48 -0
  166. package/lib/Cloud/ScheduledVolumeSnapshot.d.ts.map +1 -0
  167. package/lib/Cloud/ScheduledVolumeSnapshot.js +42 -0
  168. package/lib/Cloud/ScheduledVolumeSnapshot.js.map +1 -0
  169. package/lib/Cloud/Server.d.ts +375 -0
  170. package/lib/Cloud/Server.d.ts.map +1 -0
  171. package/lib/Cloud/Server.js +966 -0
  172. package/lib/Cloud/Server.js.map +1 -0
  173. package/lib/Cloud/ServerPool.d.ts +64 -0
  174. package/lib/Cloud/ServerPool.d.ts.map +1 -0
  175. package/lib/Cloud/ServerPool.js +59 -0
  176. package/lib/Cloud/ServerPool.js.map +1 -0
  177. package/lib/Cloud/ServerPrivateIp.d.ts +62 -0
  178. package/lib/Cloud/ServerPrivateIp.d.ts.map +1 -0
  179. package/lib/Cloud/ServerPrivateIp.js +68 -0
  180. package/lib/Cloud/ServerPrivateIp.js.map +1 -0
  181. package/lib/Cloud/Service.d.ts +554 -0
  182. package/lib/Cloud/Service.d.ts.map +1 -0
  183. package/lib/Cloud/Service.js +765 -0
  184. package/lib/Cloud/Service.js.map +1 -0
  185. package/lib/Cloud/ServiceHandler.d.ts +10 -0
  186. package/lib/Cloud/ServiceHandler.d.ts.map +1 -0
  187. package/lib/Cloud/ServiceHandler.js +102 -0
  188. package/lib/Cloud/ServiceHandler.js.map +1 -0
  189. package/lib/Cloud/Snapshot.d.ts +103 -0
  190. package/lib/Cloud/Snapshot.d.ts.map +1 -0
  191. package/lib/Cloud/Snapshot.js +96 -0
  192. package/lib/Cloud/Snapshot.js.map +1 -0
  193. package/lib/Cloud/Ssh.d.ts +241 -0
  194. package/lib/Cloud/Ssh.d.ts.map +1 -0
  195. package/lib/Cloud/Ssh.js +292 -0
  196. package/lib/Cloud/Ssh.js.map +1 -0
  197. package/lib/Cloud/SshKey.d.ts +120 -0
  198. package/lib/Cloud/SshKey.d.ts.map +1 -0
  199. package/lib/Cloud/SshKey.js +161 -0
  200. package/lib/Cloud/SshKey.js.map +1 -0
  201. package/lib/Cloud/Valkey.d.ts +212 -0
  202. package/lib/Cloud/Valkey.d.ts.map +1 -0
  203. package/lib/Cloud/Valkey.js +155 -0
  204. package/lib/Cloud/Valkey.js.map +1 -0
  205. package/lib/Cloud/ValkeyScheduledSnapshot.d.ts +75 -0
  206. package/lib/Cloud/ValkeyScheduledSnapshot.d.ts.map +1 -0
  207. package/lib/Cloud/ValkeyScheduledSnapshot.js +74 -0
  208. package/lib/Cloud/ValkeyScheduledSnapshot.js.map +1 -0
  209. package/lib/Cloud/ValkeySnapshot.d.ts +107 -0
  210. package/lib/Cloud/ValkeySnapshot.d.ts.map +1 -0
  211. package/lib/Cloud/ValkeySnapshot.js +80 -0
  212. package/lib/Cloud/ValkeySnapshot.js.map +1 -0
  213. package/lib/Cloud/Volume.d.ts +133 -0
  214. package/lib/Cloud/Volume.d.ts.map +1 -0
  215. package/lib/Cloud/Volume.js +329 -0
  216. package/lib/Cloud/Volume.js.map +1 -0
  217. package/lib/Cloud/VolumeSnapshot.d.ts +95 -0
  218. package/lib/Cloud/VolumeSnapshot.d.ts.map +1 -0
  219. package/lib/Cloud/VolumeSnapshot.js +88 -0
  220. package/lib/Cloud/VolumeSnapshot.js.map +1 -0
  221. package/lib/Cloud/Webhook.d.ts +93 -0
  222. package/lib/Cloud/Webhook.d.ts.map +1 -0
  223. package/lib/Cloud/Webhook.js +92 -0
  224. package/lib/Cloud/Webhook.js.map +1 -0
  225. package/lib/Cloud/Website/Astro.d.ts +106 -0
  226. package/lib/Cloud/Website/Astro.d.ts.map +1 -0
  227. package/lib/Cloud/Website/Astro.js +76 -0
  228. package/lib/Cloud/Website/Astro.js.map +1 -0
  229. package/lib/Cloud/Website/Foldkit.d.ts +70 -0
  230. package/lib/Cloud/Website/Foldkit.d.ts.map +1 -0
  231. package/lib/Cloud/Website/Foldkit.js +67 -0
  232. package/lib/Cloud/Website/Foldkit.js.map +1 -0
  233. package/lib/Cloud/Website/FrameworkSite.d.ts +277 -0
  234. package/lib/Cloud/Website/FrameworkSite.d.ts.map +1 -0
  235. package/lib/Cloud/Website/FrameworkSite.js +245 -0
  236. package/lib/Cloud/Website/FrameworkSite.js.map +1 -0
  237. package/lib/Cloud/Website/Nextjs.d.ts +70 -0
  238. package/lib/Cloud/Website/Nextjs.d.ts.map +1 -0
  239. package/lib/Cloud/Website/Nextjs.js +66 -0
  240. package/lib/Cloud/Website/Nextjs.js.map +1 -0
  241. package/lib/Cloud/Website/Nuxt.d.ts +71 -0
  242. package/lib/Cloud/Website/Nuxt.d.ts.map +1 -0
  243. package/lib/Cloud/Website/Nuxt.js +60 -0
  244. package/lib/Cloud/Website/Nuxt.js.map +1 -0
  245. package/lib/Cloud/Website/Octane.d.ts +64 -0
  246. package/lib/Cloud/Website/Octane.d.ts.map +1 -0
  247. package/lib/Cloud/Website/Octane.js +58 -0
  248. package/lib/Cloud/Website/Octane.js.map +1 -0
  249. package/lib/Cloud/Website/Providers.d.ts +16 -0
  250. package/lib/Cloud/Website/Providers.d.ts.map +1 -0
  251. package/lib/Cloud/Website/Providers.js +16 -0
  252. package/lib/Cloud/Website/Providers.js.map +1 -0
  253. package/lib/Cloud/Website/ReactRouter.d.ts +96 -0
  254. package/lib/Cloud/Website/ReactRouter.d.ts.map +1 -0
  255. package/lib/Cloud/Website/ReactRouter.js +90 -0
  256. package/lib/Cloud/Website/ReactRouter.js.map +1 -0
  257. package/lib/Cloud/Website/SolidStart.d.ts +108 -0
  258. package/lib/Cloud/Website/SolidStart.d.ts.map +1 -0
  259. package/lib/Cloud/Website/SolidStart.js +90 -0
  260. package/lib/Cloud/Website/SolidStart.js.map +1 -0
  261. package/lib/Cloud/Website/StaticSite.d.ts +170 -0
  262. package/lib/Cloud/Website/StaticSite.d.ts.map +1 -0
  263. package/lib/Cloud/Website/StaticSite.js +193 -0
  264. package/lib/Cloud/Website/StaticSite.js.map +1 -0
  265. package/lib/Cloud/Website/SvelteKit.d.ts +70 -0
  266. package/lib/Cloud/Website/SvelteKit.d.ts.map +1 -0
  267. package/lib/Cloud/Website/SvelteKit.js +59 -0
  268. package/lib/Cloud/Website/SvelteKit.js.map +1 -0
  269. package/lib/Cloud/Website/TanStackStart.d.ts +91 -0
  270. package/lib/Cloud/Website/TanStackStart.d.ts.map +1 -0
  271. package/lib/Cloud/Website/TanStackStart.js +85 -0
  272. package/lib/Cloud/Website/TanStackStart.js.map +1 -0
  273. package/lib/Cloud/Website/Vinext.d.ts +80 -0
  274. package/lib/Cloud/Website/Vinext.d.ts.map +1 -0
  275. package/lib/Cloud/Website/Vinext.js +75 -0
  276. package/lib/Cloud/Website/Vinext.js.map +1 -0
  277. package/lib/Cloud/Website/Vite.d.ts +114 -0
  278. package/lib/Cloud/Website/Vite.d.ts.map +1 -0
  279. package/lib/Cloud/Website/Vite.js +112 -0
  280. package/lib/Cloud/Website/Vite.js.map +1 -0
  281. package/lib/Cloud/Website/Vocs.d.ts +67 -0
  282. package/lib/Cloud/Website/Vocs.d.ts.map +1 -0
  283. package/lib/Cloud/Website/Vocs.js +56 -0
  284. package/lib/Cloud/Website/Vocs.js.map +1 -0
  285. package/lib/Cloud/Website/Waku.d.ts +71 -0
  286. package/lib/Cloud/Website/Waku.d.ts.map +1 -0
  287. package/lib/Cloud/Website/Waku.js +59 -0
  288. package/lib/Cloud/Website/Waku.js.map +1 -0
  289. package/lib/Cloud/Website/index.d.ts +16 -0
  290. package/lib/Cloud/Website/index.d.ts.map +1 -0
  291. package/lib/Cloud/Website/index.js +17 -0
  292. package/lib/Cloud/Website/index.js.map +1 -0
  293. package/lib/Cloud/hosted.d.ts +324 -0
  294. package/lib/Cloud/hosted.d.ts.map +1 -0
  295. package/lib/Cloud/hosted.js +750 -0
  296. package/lib/Cloud/hosted.js.map +1 -0
  297. package/lib/Cloud/index.d.ts +111 -0
  298. package/lib/Cloud/index.d.ts.map +1 -0
  299. package/lib/Cloud/index.js +156 -0
  300. package/lib/Cloud/index.js.map +1 -0
  301. package/lib/Contributions.d.ts +12 -0
  302. package/lib/Contributions.d.ts.map +1 -0
  303. package/lib/Contributions.js +12 -0
  304. package/lib/Contributions.js.map +1 -0
  305. package/lib/Credentials.d.ts +25 -0
  306. package/lib/Credentials.d.ts.map +1 -0
  307. package/lib/Credentials.js +35 -0
  308. package/lib/Credentials.js.map +1 -0
  309. package/lib/Errors/Application.d.ts +136 -0
  310. package/lib/Errors/Application.d.ts.map +1 -0
  311. package/lib/Errors/Application.js +146 -0
  312. package/lib/Errors/Application.js.map +1 -0
  313. package/lib/Errors/ApplicationGroup.d.ts +67 -0
  314. package/lib/Errors/ApplicationGroup.d.ts.map +1 -0
  315. package/lib/Errors/ApplicationGroup.js +72 -0
  316. package/lib/Errors/ApplicationGroup.js.map +1 -0
  317. package/lib/Errors/Dsn.d.ts +87 -0
  318. package/lib/Errors/Dsn.d.ts.map +1 -0
  319. package/lib/Errors/Dsn.js +34 -0
  320. package/lib/Errors/Dsn.js.map +1 -0
  321. package/lib/Errors/JiraIntegration.d.ts +69 -0
  322. package/lib/Errors/JiraIntegration.d.ts.map +1 -0
  323. package/lib/Errors/JiraIntegration.js +64 -0
  324. package/lib/Errors/JiraIntegration.js.map +1 -0
  325. package/lib/Errors/LinearIntegration.d.ts +71 -0
  326. package/lib/Errors/LinearIntegration.d.ts.map +1 -0
  327. package/lib/Errors/LinearIntegration.js +66 -0
  328. package/lib/Errors/LinearIntegration.js.map +1 -0
  329. package/lib/Errors/MicrosoftTeamsIntegration.d.ts +75 -0
  330. package/lib/Errors/MicrosoftTeamsIntegration.d.ts.map +1 -0
  331. package/lib/Errors/MicrosoftTeamsIntegration.js +72 -0
  332. package/lib/Errors/MicrosoftTeamsIntegration.js.map +1 -0
  333. package/lib/Errors/Reference.d.ts +133 -0
  334. package/lib/Errors/Reference.d.ts.map +1 -0
  335. package/lib/Errors/Reference.js +123 -0
  336. package/lib/Errors/Reference.js.map +1 -0
  337. package/lib/Errors/RegisterRelease.d.ts +66 -0
  338. package/lib/Errors/RegisterRelease.d.ts.map +1 -0
  339. package/lib/Errors/RegisterRelease.js +3 -0
  340. package/lib/Errors/RegisterRelease.js.map +1 -0
  341. package/lib/Errors/RegisterReleaseHttp.d.ts +13 -0
  342. package/lib/Errors/RegisterReleaseHttp.d.ts.map +1 -0
  343. package/lib/Errors/RegisterReleaseHttp.js +29 -0
  344. package/lib/Errors/RegisterReleaseHttp.js.map +1 -0
  345. package/lib/Errors/Release.d.ts +97 -0
  346. package/lib/Errors/Release.d.ts.map +1 -0
  347. package/lib/Errors/Release.js +161 -0
  348. package/lib/Errors/Release.js.map +1 -0
  349. package/lib/Errors/SlackIntegration.d.ts +66 -0
  350. package/lib/Errors/SlackIntegration.d.ts.map +1 -0
  351. package/lib/Errors/SlackIntegration.js +61 -0
  352. package/lib/Errors/SlackIntegration.js.map +1 -0
  353. package/lib/Errors/index.d.ts +38 -0
  354. package/lib/Errors/index.d.ts.map +1 -0
  355. package/lib/Errors/index.js +46 -0
  356. package/lib/Errors/index.js.map +1 -0
  357. package/lib/Incidents/AcknowledgeIncident.d.ts +61 -0
  358. package/lib/Incidents/AcknowledgeIncident.d.ts.map +1 -0
  359. package/lib/Incidents/AcknowledgeIncident.js +3 -0
  360. package/lib/Incidents/AcknowledgeIncident.js.map +1 -0
  361. package/lib/Incidents/AcknowledgeIncidentHttp.d.ts +12 -0
  362. package/lib/Incidents/AcknowledgeIncidentHttp.d.ts.map +1 -0
  363. package/lib/Incidents/AcknowledgeIncidentHttp.js +19 -0
  364. package/lib/Incidents/AcknowledgeIncidentHttp.js.map +1 -0
  365. package/lib/Incidents/AmazonSnsIntegration.d.ts +83 -0
  366. package/lib/Incidents/AmazonSnsIntegration.d.ts.map +1 -0
  367. package/lib/Incidents/AmazonSnsIntegration.js +91 -0
  368. package/lib/Incidents/AmazonSnsIntegration.js.map +1 -0
  369. package/lib/Incidents/AwsCloudWatchIntegration.d.ts +64 -0
  370. package/lib/Incidents/AwsCloudWatchIntegration.d.ts.map +1 -0
  371. package/lib/Incidents/AwsCloudWatchIntegration.js +64 -0
  372. package/lib/Incidents/AwsCloudWatchIntegration.js.map +1 -0
  373. package/lib/Incidents/AzureIntegration.d.ts +63 -0
  374. package/lib/Incidents/AzureIntegration.d.ts.map +1 -0
  375. package/lib/Incidents/AzureIntegration.js +63 -0
  376. package/lib/Incidents/AzureIntegration.js.map +1 -0
  377. package/lib/Incidents/BindingHttp.d.ts +28 -0
  378. package/lib/Incidents/BindingHttp.d.ts.map +1 -0
  379. package/lib/Incidents/BindingHttp.js +28 -0
  380. package/lib/Incidents/BindingHttp.js.map +1 -0
  381. package/lib/Incidents/CatalogRecord.d.ts +69 -0
  382. package/lib/Incidents/CatalogRecord.d.ts.map +1 -0
  383. package/lib/Incidents/CatalogRecord.js +69 -0
  384. package/lib/Incidents/CatalogRecord.js.map +1 -0
  385. package/lib/Incidents/CatalogRelation.d.ts +78 -0
  386. package/lib/Incidents/CatalogRelation.d.ts.map +1 -0
  387. package/lib/Incidents/CatalogRelation.js +79 -0
  388. package/lib/Incidents/CatalogRelation.js.map +1 -0
  389. package/lib/Incidents/CreateIncident.d.ts +67 -0
  390. package/lib/Incidents/CreateIncident.d.ts.map +1 -0
  391. package/lib/Incidents/CreateIncident.js +3 -0
  392. package/lib/Incidents/CreateIncident.js.map +1 -0
  393. package/lib/Incidents/CreateIncidentHttp.d.ts +12 -0
  394. package/lib/Incidents/CreateIncidentHttp.d.ts.map +1 -0
  395. package/lib/Incidents/CreateIncidentHttp.js +19 -0
  396. package/lib/Incidents/CreateIncidentHttp.js.map +1 -0
  397. package/lib/Incidents/CreateStatusReport.d.ts +71 -0
  398. package/lib/Incidents/CreateStatusReport.d.ts.map +1 -0
  399. package/lib/Incidents/CreateStatusReport.js +3 -0
  400. package/lib/Incidents/CreateStatusReport.js.map +1 -0
  401. package/lib/Incidents/CreateStatusReportHttp.d.ts +12 -0
  402. package/lib/Incidents/CreateStatusReportHttp.d.ts.map +1 -0
  403. package/lib/Incidents/CreateStatusReportHttp.js +27 -0
  404. package/lib/Incidents/CreateStatusReportHttp.js.map +1 -0
  405. package/lib/Incidents/CreateStatusUpdate.d.ts +67 -0
  406. package/lib/Incidents/CreateStatusUpdate.d.ts.map +1 -0
  407. package/lib/Incidents/CreateStatusUpdate.js +3 -0
  408. package/lib/Incidents/CreateStatusUpdate.js.map +1 -0
  409. package/lib/Incidents/CreateStatusUpdateHttp.d.ts +12 -0
  410. package/lib/Incidents/CreateStatusUpdateHttp.d.ts.map +1 -0
  411. package/lib/Incidents/CreateStatusUpdateHttp.js +27 -0
  412. package/lib/Incidents/CreateStatusUpdateHttp.js.map +1 -0
  413. package/lib/Incidents/DatadogIntegration.d.ts +70 -0
  414. package/lib/Incidents/DatadogIntegration.d.ts.map +1 -0
  415. package/lib/Incidents/DatadogIntegration.js +70 -0
  416. package/lib/Incidents/DatadogIntegration.js.map +1 -0
  417. package/lib/Incidents/ElasticIntegration.d.ts +62 -0
  418. package/lib/Incidents/ElasticIntegration.d.ts.map +1 -0
  419. package/lib/Incidents/ElasticIntegration.js +62 -0
  420. package/lib/Incidents/ElasticIntegration.js.map +1 -0
  421. package/lib/Incidents/EscalationPolicy.d.ts +106 -0
  422. package/lib/Incidents/EscalationPolicy.d.ts.map +1 -0
  423. package/lib/Incidents/EscalationPolicy.js +103 -0
  424. package/lib/Incidents/EscalationPolicy.js.map +1 -0
  425. package/lib/Incidents/EscalationPolicyGroup.d.ts +49 -0
  426. package/lib/Incidents/EscalationPolicyGroup.d.ts.map +1 -0
  427. package/lib/Incidents/EscalationPolicyGroup.js +48 -0
  428. package/lib/Incidents/EscalationPolicyGroup.js.map +1 -0
  429. package/lib/Incidents/FailHeartbeat.d.ts +49 -0
  430. package/lib/Incidents/FailHeartbeat.d.ts.map +1 -0
  431. package/lib/Incidents/FailHeartbeat.js +3 -0
  432. package/lib/Incidents/FailHeartbeat.js.map +1 -0
  433. package/lib/Incidents/FailHeartbeatHttp.d.ts +12 -0
  434. package/lib/Incidents/FailHeartbeatHttp.d.ts.map +1 -0
  435. package/lib/Incidents/FailHeartbeatHttp.js +22 -0
  436. package/lib/Incidents/FailHeartbeatHttp.js.map +1 -0
  437. package/lib/Incidents/GoogleMonitoringIntegration.d.ts +63 -0
  438. package/lib/Incidents/GoogleMonitoringIntegration.d.ts.map +1 -0
  439. package/lib/Incidents/GoogleMonitoringIntegration.js +63 -0
  440. package/lib/Incidents/GoogleMonitoringIntegration.js.map +1 -0
  441. package/lib/Incidents/GrafanaIntegration.d.ts +73 -0
  442. package/lib/Incidents/GrafanaIntegration.d.ts.map +1 -0
  443. package/lib/Incidents/GrafanaIntegration.js +73 -0
  444. package/lib/Incidents/GrafanaIntegration.js.map +1 -0
  445. package/lib/Incidents/Heartbeat.d.ts +99 -0
  446. package/lib/Incidents/Heartbeat.d.ts.map +1 -0
  447. package/lib/Incidents/Heartbeat.js +104 -0
  448. package/lib/Incidents/Heartbeat.js.map +1 -0
  449. package/lib/Incidents/HeartbeatGroup.d.ts +49 -0
  450. package/lib/Incidents/HeartbeatGroup.d.ts.map +1 -0
  451. package/lib/Incidents/HeartbeatGroup.js +48 -0
  452. package/lib/Incidents/HeartbeatGroup.js.map +1 -0
  453. package/lib/Incidents/IncomingEmailIntegration.d.ts +71 -0
  454. package/lib/Incidents/IncomingEmailIntegration.d.ts.map +1 -0
  455. package/lib/Incidents/IncomingEmailIntegration.js +81 -0
  456. package/lib/Incidents/IncomingEmailIntegration.js.map +1 -0
  457. package/lib/Incidents/IncomingWebhookIntegration.d.ts +85 -0
  458. package/lib/Incidents/IncomingWebhookIntegration.d.ts.map +1 -0
  459. package/lib/Incidents/IncomingWebhookIntegration.js +95 -0
  460. package/lib/Incidents/IncomingWebhookIntegration.js.map +1 -0
  461. package/lib/Incidents/JiraIntegration.d.ts +59 -0
  462. package/lib/Incidents/JiraIntegration.d.ts.map +1 -0
  463. package/lib/Incidents/JiraIntegration.js +50 -0
  464. package/lib/Incidents/JiraIntegration.js.map +1 -0
  465. package/lib/Incidents/LinearIntegration.d.ts +62 -0
  466. package/lib/Incidents/LinearIntegration.d.ts.map +1 -0
  467. package/lib/Incidents/LinearIntegration.js +60 -0
  468. package/lib/Incidents/LinearIntegration.js.map +1 -0
  469. package/lib/Incidents/Metadata.d.ts +85 -0
  470. package/lib/Incidents/Metadata.d.ts.map +1 -0
  471. package/lib/Incidents/Metadata.js +91 -0
  472. package/lib/Incidents/Metadata.js.map +1 -0
  473. package/lib/Incidents/Monitor.d.ts +91 -0
  474. package/lib/Incidents/Monitor.d.ts.map +1 -0
  475. package/lib/Incidents/Monitor.js +107 -0
  476. package/lib/Incidents/Monitor.js.map +1 -0
  477. package/lib/Incidents/MonitorGroup.d.ts +57 -0
  478. package/lib/Incidents/MonitorGroup.d.ts.map +1 -0
  479. package/lib/Incidents/MonitorGroup.js +56 -0
  480. package/lib/Incidents/MonitorGroup.js.map +1 -0
  481. package/lib/Incidents/NewRelicIntegration.d.ts +70 -0
  482. package/lib/Incidents/NewRelicIntegration.d.ts.map +1 -0
  483. package/lib/Incidents/NewRelicIntegration.js +70 -0
  484. package/lib/Incidents/NewRelicIntegration.js.map +1 -0
  485. package/lib/Incidents/OnCallRotation.d.ts +96 -0
  486. package/lib/Incidents/OnCallRotation.d.ts.map +1 -0
  487. package/lib/Incidents/OnCallRotation.js +206 -0
  488. package/lib/Incidents/OnCallRotation.js.map +1 -0
  489. package/lib/Incidents/OnCallSchedule.d.ts +80 -0
  490. package/lib/Incidents/OnCallSchedule.d.ts.map +1 -0
  491. package/lib/Incidents/OnCallSchedule.js +73 -0
  492. package/lib/Incidents/OnCallSchedule.js.map +1 -0
  493. package/lib/Incidents/OutgoingEmailIntegration.d.ts +54 -0
  494. package/lib/Incidents/OutgoingEmailIntegration.d.ts.map +1 -0
  495. package/lib/Incidents/OutgoingEmailIntegration.js +53 -0
  496. package/lib/Incidents/OutgoingEmailIntegration.js.map +1 -0
  497. package/lib/Incidents/OutgoingPagerDutyIntegration.d.ts +48 -0
  498. package/lib/Incidents/OutgoingPagerDutyIntegration.d.ts.map +1 -0
  499. package/lib/Incidents/OutgoingPagerDutyIntegration.js +47 -0
  500. package/lib/Incidents/OutgoingPagerDutyIntegration.js.map +1 -0
  501. package/lib/Incidents/OutgoingWebhookIntegration.d.ts +83 -0
  502. package/lib/Incidents/OutgoingWebhookIntegration.d.ts.map +1 -0
  503. package/lib/Incidents/OutgoingWebhookIntegration.js +98 -0
  504. package/lib/Incidents/OutgoingWebhookIntegration.js.map +1 -0
  505. package/lib/Incidents/PrometheusIntegration.d.ts +77 -0
  506. package/lib/Incidents/PrometheusIntegration.d.ts.map +1 -0
  507. package/lib/Incidents/PrometheusIntegration.js +77 -0
  508. package/lib/Incidents/PrometheusIntegration.js.map +1 -0
  509. package/lib/Incidents/Reference.d.ts +140 -0
  510. package/lib/Incidents/Reference.d.ts.map +1 -0
  511. package/lib/Incidents/Reference.js +136 -0
  512. package/lib/Incidents/Reference.js.map +1 -0
  513. package/lib/Incidents/ReportHeartbeat.d.ts +106 -0
  514. package/lib/Incidents/ReportHeartbeat.d.ts.map +1 -0
  515. package/lib/Incidents/ReportHeartbeat.js +63 -0
  516. package/lib/Incidents/ReportHeartbeat.js.map +1 -0
  517. package/lib/Incidents/ReportHeartbeatHttp.d.ts +12 -0
  518. package/lib/Incidents/ReportHeartbeatHttp.d.ts.map +1 -0
  519. package/lib/Incidents/ReportHeartbeatHttp.js +22 -0
  520. package/lib/Incidents/ReportHeartbeatHttp.js.map +1 -0
  521. package/lib/Incidents/ResolveIncident.d.ts +60 -0
  522. package/lib/Incidents/ResolveIncident.d.ts.map +1 -0
  523. package/lib/Incidents/ResolveIncident.js +3 -0
  524. package/lib/Incidents/ResolveIncident.js.map +1 -0
  525. package/lib/Incidents/ResolveIncidentHttp.d.ts +12 -0
  526. package/lib/Incidents/ResolveIncidentHttp.d.ts.map +1 -0
  527. package/lib/Incidents/ResolveIncidentHttp.js +19 -0
  528. package/lib/Incidents/ResolveIncidentHttp.js.map +1 -0
  529. package/lib/Incidents/SendHeartbeat.d.ts +56 -0
  530. package/lib/Incidents/SendHeartbeat.d.ts.map +1 -0
  531. package/lib/Incidents/SendHeartbeat.js +3 -0
  532. package/lib/Incidents/SendHeartbeat.js.map +1 -0
  533. package/lib/Incidents/SendHeartbeatHttp.d.ts +12 -0
  534. package/lib/Incidents/SendHeartbeatHttp.d.ts.map +1 -0
  535. package/lib/Incidents/SendHeartbeatHttp.js +22 -0
  536. package/lib/Incidents/SendHeartbeatHttp.js.map +1 -0
  537. package/lib/Incidents/Severity.d.ts +83 -0
  538. package/lib/Incidents/Severity.d.ts.map +1 -0
  539. package/lib/Incidents/Severity.js +79 -0
  540. package/lib/Incidents/Severity.js.map +1 -0
  541. package/lib/Incidents/SeverityGroup.d.ts +51 -0
  542. package/lib/Incidents/SeverityGroup.d.ts.map +1 -0
  543. package/lib/Incidents/SeverityGroup.js +50 -0
  544. package/lib/Incidents/SeverityGroup.js.map +1 -0
  545. package/lib/Incidents/SplunkOnCallIntegration.d.ts +46 -0
  546. package/lib/Incidents/SplunkOnCallIntegration.d.ts.map +1 -0
  547. package/lib/Incidents/SplunkOnCallIntegration.js +45 -0
  548. package/lib/Incidents/SplunkOnCallIntegration.js.map +1 -0
  549. package/lib/Incidents/StatusPage.d.ts +125 -0
  550. package/lib/Incidents/StatusPage.d.ts.map +1 -0
  551. package/lib/Incidents/StatusPage.js +133 -0
  552. package/lib/Incidents/StatusPage.js.map +1 -0
  553. package/lib/Incidents/StatusPageGroup.d.ts +50 -0
  554. package/lib/Incidents/StatusPageGroup.d.ts.map +1 -0
  555. package/lib/Incidents/StatusPageGroup.js +49 -0
  556. package/lib/Incidents/StatusPageGroup.js.map +1 -0
  557. package/lib/Incidents/StatusPageResource.d.ts +91 -0
  558. package/lib/Incidents/StatusPageResource.d.ts.map +1 -0
  559. package/lib/Incidents/StatusPageResource.js +87 -0
  560. package/lib/Incidents/StatusPageResource.js.map +1 -0
  561. package/lib/Incidents/StatusPageSection.d.ts +65 -0
  562. package/lib/Incidents/StatusPageSection.d.ts.map +1 -0
  563. package/lib/Incidents/StatusPageSection.js +65 -0
  564. package/lib/Incidents/StatusPageSection.js.map +1 -0
  565. package/lib/Incidents/StatusPageSubscriber.d.ts +93 -0
  566. package/lib/Incidents/StatusPageSubscriber.d.ts.map +1 -0
  567. package/lib/Incidents/StatusPageSubscriber.js +100 -0
  568. package/lib/Incidents/StatusPageSubscriber.js.map +1 -0
  569. package/lib/Incidents/index.d.ts +108 -0
  570. package/lib/Incidents/index.d.ts.map +1 -0
  571. package/lib/Incidents/index.js +143 -0
  572. package/lib/Incidents/index.js.map +1 -0
  573. package/lib/Incidents/integrationFields.d.ts +124 -0
  574. package/lib/Incidents/integrationFields.d.ts.map +1 -0
  575. package/lib/Incidents/integrationFields.js +74 -0
  576. package/lib/Incidents/integrationFields.js.map +1 -0
  577. package/lib/Providers.d.ts +36 -0
  578. package/lib/Providers.d.ts.map +1 -0
  579. package/lib/Providers.js +54 -0
  580. package/lib/Providers.js.map +1 -0
  581. package/lib/Telemetry/Alert.d.ts +99 -0
  582. package/lib/Telemetry/Alert.d.ts.map +1 -0
  583. package/lib/Telemetry/Alert.js +91 -0
  584. package/lib/Telemetry/Alert.js.map +1 -0
  585. package/lib/Telemetry/AwsLogGroupSubscription.d.ts +57 -0
  586. package/lib/Telemetry/AwsLogGroupSubscription.d.ts.map +1 -0
  587. package/lib/Telemetry/AwsLogGroupSubscription.js +57 -0
  588. package/lib/Telemetry/AwsLogGroupSubscription.js.map +1 -0
  589. package/lib/Telemetry/BindingHttp.d.ts +23 -0
  590. package/lib/Telemetry/BindingHttp.d.ts.map +1 -0
  591. package/lib/Telemetry/BindingHttp.js +25 -0
  592. package/lib/Telemetry/BindingHttp.js.map +1 -0
  593. package/lib/Telemetry/Chart.d.ts +171 -0
  594. package/lib/Telemetry/Chart.d.ts.map +1 -0
  595. package/lib/Telemetry/Chart.js +92 -0
  596. package/lib/Telemetry/Chart.js.map +1 -0
  597. package/lib/Telemetry/Collector.d.ts +78 -0
  598. package/lib/Telemetry/Collector.d.ts.map +1 -0
  599. package/lib/Telemetry/Collector.js +111 -0
  600. package/lib/Telemetry/Collector.js.map +1 -0
  601. package/lib/Telemetry/CollectorTarget.d.ts +69 -0
  602. package/lib/Telemetry/CollectorTarget.d.ts.map +1 -0
  603. package/lib/Telemetry/CollectorTarget.js +69 -0
  604. package/lib/Telemetry/CollectorTarget.js.map +1 -0
  605. package/lib/Telemetry/Connection.d.ts +79 -0
  606. package/lib/Telemetry/Connection.d.ts.map +1 -0
  607. package/lib/Telemetry/Connection.js +128 -0
  608. package/lib/Telemetry/Connection.js.map +1 -0
  609. package/lib/Telemetry/Dashboard.d.ts +108 -0
  610. package/lib/Telemetry/Dashboard.d.ts.map +1 -0
  611. package/lib/Telemetry/Dashboard.js +112 -0
  612. package/lib/Telemetry/Dashboard.js.map +1 -0
  613. package/lib/Telemetry/DashboardChart.d.ts +104 -0
  614. package/lib/Telemetry/DashboardChart.d.ts.map +1 -0
  615. package/lib/Telemetry/DashboardChart.js +119 -0
  616. package/lib/Telemetry/DashboardChart.js.map +1 -0
  617. package/lib/Telemetry/DashboardGroup.d.ts +53 -0
  618. package/lib/Telemetry/DashboardGroup.d.ts.map +1 -0
  619. package/lib/Telemetry/DashboardGroup.js +47 -0
  620. package/lib/Telemetry/DashboardGroup.js.map +1 -0
  621. package/lib/Telemetry/DashboardSection.d.ts +65 -0
  622. package/lib/Telemetry/DashboardSection.d.ts.map +1 -0
  623. package/lib/Telemetry/DashboardSection.js +65 -0
  624. package/lib/Telemetry/DashboardSection.js.map +1 -0
  625. package/lib/Telemetry/Exploration.d.ts +77 -0
  626. package/lib/Telemetry/Exploration.d.ts.map +1 -0
  627. package/lib/Telemetry/Exploration.js +97 -0
  628. package/lib/Telemetry/Exploration.js.map +1 -0
  629. package/lib/Telemetry/ExplorationGroup.d.ts +58 -0
  630. package/lib/Telemetry/ExplorationGroup.d.ts.map +1 -0
  631. package/lib/Telemetry/ExplorationGroup.js +52 -0
  632. package/lib/Telemetry/ExplorationGroup.js.map +1 -0
  633. package/lib/Telemetry/Export.d.ts +183 -0
  634. package/lib/Telemetry/Export.d.ts.map +1 -0
  635. package/lib/Telemetry/Export.js +152 -0
  636. package/lib/Telemetry/Export.js.map +1 -0
  637. package/lib/Telemetry/ExtractedMetric.d.ts +67 -0
  638. package/lib/Telemetry/ExtractedMetric.d.ts.map +1 -0
  639. package/lib/Telemetry/ExtractedMetric.js +66 -0
  640. package/lib/Telemetry/ExtractedMetric.js.map +1 -0
  641. package/lib/Telemetry/IngestLogs.d.ts +87 -0
  642. package/lib/Telemetry/IngestLogs.d.ts.map +1 -0
  643. package/lib/Telemetry/IngestLogs.js +3 -0
  644. package/lib/Telemetry/IngestLogs.js.map +1 -0
  645. package/lib/Telemetry/IngestLogsHttp.d.ts +12 -0
  646. package/lib/Telemetry/IngestLogsHttp.d.ts.map +1 -0
  647. package/lib/Telemetry/IngestLogsHttp.js +21 -0
  648. package/lib/Telemetry/IngestLogsHttp.js.map +1 -0
  649. package/lib/Telemetry/IngestMetrics.d.ts +68 -0
  650. package/lib/Telemetry/IngestMetrics.d.ts.map +1 -0
  651. package/lib/Telemetry/IngestMetrics.js +3 -0
  652. package/lib/Telemetry/IngestMetrics.js.map +1 -0
  653. package/lib/Telemetry/IngestMetricsHttp.d.ts +12 -0
  654. package/lib/Telemetry/IngestMetricsHttp.d.ts.map +1 -0
  655. package/lib/Telemetry/IngestMetricsHttp.js +21 -0
  656. package/lib/Telemetry/IngestMetricsHttp.js.map +1 -0
  657. package/lib/Telemetry/OtelHeaders.d.ts +36 -0
  658. package/lib/Telemetry/OtelHeaders.d.ts.map +1 -0
  659. package/lib/Telemetry/OtelHeaders.js +34 -0
  660. package/lib/Telemetry/OtelHeaders.js.map +1 -0
  661. package/lib/Telemetry/Query.d.ts +66 -0
  662. package/lib/Telemetry/Query.d.ts.map +1 -0
  663. package/lib/Telemetry/Query.js +3 -0
  664. package/lib/Telemetry/Query.js.map +1 -0
  665. package/lib/Telemetry/QueryHttp.d.ts +12 -0
  666. package/lib/Telemetry/QueryHttp.d.ts.map +1 -0
  667. package/lib/Telemetry/QueryHttp.js +24 -0
  668. package/lib/Telemetry/QueryHttp.js.map +1 -0
  669. package/lib/Telemetry/Reference.d.ts +115 -0
  670. package/lib/Telemetry/Reference.d.ts.map +1 -0
  671. package/lib/Telemetry/Reference.js +110 -0
  672. package/lib/Telemetry/Reference.js.map +1 -0
  673. package/lib/Telemetry/ShipLogs.d.ts +89 -0
  674. package/lib/Telemetry/ShipLogs.d.ts.map +1 -0
  675. package/lib/Telemetry/ShipLogs.js +119 -0
  676. package/lib/Telemetry/ShipLogs.js.map +1 -0
  677. package/lib/Telemetry/Source.d.ts +184 -0
  678. package/lib/Telemetry/Source.d.ts.map +1 -0
  679. package/lib/Telemetry/Source.js +238 -0
  680. package/lib/Telemetry/Source.js.map +1 -0
  681. package/lib/Telemetry/SourceAwsAccount.d.ts +73 -0
  682. package/lib/Telemetry/SourceAwsAccount.d.ts.map +1 -0
  683. package/lib/Telemetry/SourceAwsAccount.js +57 -0
  684. package/lib/Telemetry/SourceAwsAccount.js.map +1 -0
  685. package/lib/Telemetry/SourceGcpProject.d.ts +81 -0
  686. package/lib/Telemetry/SourceGcpProject.d.ts.map +1 -0
  687. package/lib/Telemetry/SourceGcpProject.js +69 -0
  688. package/lib/Telemetry/SourceGcpProject.js.map +1 -0
  689. package/lib/Telemetry/SourceGroup.d.ts +65 -0
  690. package/lib/Telemetry/SourceGroup.d.ts.map +1 -0
  691. package/lib/Telemetry/SourceGroup.js +67 -0
  692. package/lib/Telemetry/SourceGroup.js.map +1 -0
  693. package/lib/Telemetry/customBucket.d.ts +26 -0
  694. package/lib/Telemetry/customBucket.d.ts.map +1 -0
  695. package/lib/Telemetry/customBucket.js +45 -0
  696. package/lib/Telemetry/customBucket.js.map +1 -0
  697. package/lib/Telemetry/index.d.ts +64 -0
  698. package/lib/Telemetry/index.d.ts.map +1 -0
  699. package/lib/Telemetry/index.js +81 -0
  700. package/lib/Telemetry/index.js.map +1 -0
  701. package/lib/index.d.ts +14 -0
  702. package/lib/index.d.ts.map +1 -0
  703. package/lib/index.js +14 -0
  704. package/lib/index.js.map +1 -0
  705. package/lib/internal/DeployRetry.d.ts +19 -0
  706. package/lib/internal/DeployRetry.d.ts.map +1 -0
  707. package/lib/internal/DeployRetry.js +52 -0
  708. package/lib/internal/DeployRetry.js.map +1 -0
  709. package/lib/internal/actionWait.d.ts +12 -0
  710. package/lib/internal/actionWait.d.ts.map +1 -0
  711. package/lib/internal/actionWait.js +21 -0
  712. package/lib/internal/actionWait.js.map +1 -0
  713. package/lib/internal/applicationIds.d.ts +17 -0
  714. package/lib/internal/applicationIds.d.ts.map +1 -0
  715. package/lib/internal/applicationIds.js +12 -0
  716. package/lib/internal/applicationIds.js.map +1 -0
  717. package/lib/internal/attachments.d.ts +23 -0
  718. package/lib/internal/attachments.d.ts.map +1 -0
  719. package/lib/internal/attachments.js +22 -0
  720. package/lib/internal/attachments.js.map +1 -0
  721. package/lib/internal/budget.d.ts +46 -0
  722. package/lib/internal/budget.d.ts.map +1 -0
  723. package/lib/internal/budget.js +44 -0
  724. package/lib/internal/budget.js.map +1 -0
  725. package/lib/internal/connection.d.ts +65 -0
  726. package/lib/internal/connection.d.ts.map +1 -0
  727. package/lib/internal/connection.js +160 -0
  728. package/lib/internal/connection.js.map +1 -0
  729. package/lib/internal/crud.d.ts +195 -0
  730. package/lib/internal/crud.d.ts.map +1 -0
  731. package/lib/internal/crud.js +614 -0
  732. package/lib/internal/crud.js.map +1 -0
  733. package/lib/internal/errors.d.ts +35 -0
  734. package/lib/internal/errors.d.ts.map +1 -0
  735. package/lib/internal/errors.js +19 -0
  736. package/lib/internal/errors.js.map +1 -0
  737. package/lib/internal/fields.d.ts +47 -0
  738. package/lib/internal/fields.d.ts.map +1 -0
  739. package/lib/internal/fields.js +136 -0
  740. package/lib/internal/fields.js.map +1 -0
  741. package/lib/internal/gone.d.ts +13 -0
  742. package/lib/internal/gone.d.ts.map +1 -0
  743. package/lib/internal/gone.js +14 -0
  744. package/lib/internal/gone.js.map +1 -0
  745. package/lib/internal/managedDatabase.d.ts +137 -0
  746. package/lib/internal/managedDatabase.d.ts.map +1 -0
  747. package/lib/internal/managedDatabase.js +186 -0
  748. package/lib/internal/managedDatabase.js.map +1 -0
  749. package/lib/internal/managedService.d.ts +184 -0
  750. package/lib/internal/managedService.d.ts.map +1 -0
  751. package/lib/internal/managedService.js +208 -0
  752. package/lib/internal/managedService.js.map +1 -0
  753. package/lib/internal/migrations.d.ts +138 -0
  754. package/lib/internal/migrations.d.ts.map +1 -0
  755. package/lib/internal/migrations.js +288 -0
  756. package/lib/internal/migrations.js.map +1 -0
  757. package/lib/internal/ops.d.ts +43 -0
  758. package/lib/internal/ops.d.ts.map +1 -0
  759. package/lib/internal/ops.js +46 -0
  760. package/lib/internal/ops.js.map +1 -0
  761. package/lib/internal/ownership.d.ts +55 -0
  762. package/lib/internal/ownership.d.ts.map +1 -0
  763. package/lib/internal/ownership.js +74 -0
  764. package/lib/internal/ownership.js.map +1 -0
  765. package/lib/internal/reference.d.ts +36 -0
  766. package/lib/internal/reference.d.ts.map +1 -0
  767. package/lib/internal/reference.js +49 -0
  768. package/lib/internal/reference.js.map +1 -0
  769. package/lib/internal/scope.d.ts +51 -0
  770. package/lib/internal/scope.d.ts.map +1 -0
  771. package/lib/internal/scope.js +34 -0
  772. package/lib/internal/scope.js.map +1 -0
  773. package/lib/internal/snapshot.d.ts +120 -0
  774. package/lib/internal/snapshot.d.ts.map +1 -0
  775. package/lib/internal/snapshot.js +92 -0
  776. package/lib/internal/snapshot.js.map +1 -0
  777. package/lib/internal/unpaged.d.ts +22 -0
  778. package/lib/internal/unpaged.d.ts.map +1 -0
  779. package/lib/internal/unpaged.js +17 -0
  780. package/lib/internal/unpaged.js.map +1 -0
  781. package/lib/internal/wait.d.ts +55 -0
  782. package/lib/internal/wait.d.ts.map +1 -0
  783. package/lib/internal/wait.js +56 -0
  784. package/lib/internal/wait.js.map +1 -0
  785. package/lib/sdk/credentials.d.ts +97 -0
  786. package/lib/sdk/credentials.d.ts.map +1 -0
  787. package/lib/sdk/credentials.js +135 -0
  788. package/lib/sdk/credentials.js.map +1 -0
  789. package/lib/sdk/errors.d.ts +98 -0
  790. package/lib/sdk/errors.d.ts.map +1 -0
  791. package/lib/sdk/errors.js +86 -0
  792. package/lib/sdk/errors.js.map +1 -0
  793. package/lib/sdk/index.d.ts +49 -0
  794. package/lib/sdk/index.d.ts.map +1 -0
  795. package/lib/sdk/index.js +49 -0
  796. package/lib/sdk/index.js.map +1 -0
  797. package/lib/sdk/pagination.d.ts +35 -0
  798. package/lib/sdk/pagination.d.ts.map +1 -0
  799. package/lib/sdk/pagination.js +80 -0
  800. package/lib/sdk/pagination.js.map +1 -0
  801. package/lib/sdk/protocol.d.ts +109 -0
  802. package/lib/sdk/protocol.d.ts.map +1 -0
  803. package/lib/sdk/protocol.js +451 -0
  804. package/lib/sdk/protocol.js.map +1 -0
  805. package/lib/sdk/retry.d.ts +32 -0
  806. package/lib/sdk/retry.d.ts.map +1 -0
  807. package/lib/sdk/retry.js +33 -0
  808. package/lib/sdk/retry.js.map +1 -0
  809. package/lib/sdk/services/account.d.ts +372 -0
  810. package/lib/sdk/services/account.d.ts.map +1 -0
  811. package/lib/sdk/services/account.js +553 -0
  812. package/lib/sdk/services/account.js.map +1 -0
  813. package/lib/sdk/services/cloud.d.ts +11910 -0
  814. package/lib/sdk/services/cloud.d.ts.map +1 -0
  815. package/lib/sdk/services/cloud.js +18446 -0
  816. package/lib/sdk/services/cloud.js.map +1 -0
  817. package/lib/sdk/services/errors.d.ts +2203 -0
  818. package/lib/sdk/services/errors.d.ts.map +1 -0
  819. package/lib/sdk/services/errors.js +2676 -0
  820. package/lib/sdk/services/errors.js.map +1 -0
  821. package/lib/sdk/services/heartbeat.d.ts +36 -0
  822. package/lib/sdk/services/heartbeat.d.ts.map +1 -0
  823. package/lib/sdk/services/heartbeat.js +94 -0
  824. package/lib/sdk/services/heartbeat.js.map +1 -0
  825. package/lib/sdk/services/incidents.d.ts +9948 -0
  826. package/lib/sdk/services/incidents.d.ts.map +1 -0
  827. package/lib/sdk/services/incidents.js +9730 -0
  828. package/lib/sdk/services/incidents.js.map +1 -0
  829. package/lib/sdk/services/index.d.ts +8 -0
  830. package/lib/sdk/services/index.d.ts.map +1 -0
  831. package/lib/sdk/services/index.js +9 -0
  832. package/lib/sdk/services/index.js.map +1 -0
  833. package/lib/sdk/services/ingest.d.ts +158 -0
  834. package/lib/sdk/services/ingest.d.ts.map +1 -0
  835. package/lib/sdk/services/ingest.js +200 -0
  836. package/lib/sdk/services/ingest.js.map +1 -0
  837. package/lib/sdk/services/telemetry.d.ts +6789 -0
  838. package/lib/sdk/services/telemetry.d.ts.map +1 -0
  839. package/lib/sdk/services/telemetry.js +5613 -0
  840. package/lib/sdk/services/telemetry.js.map +1 -0
  841. package/lib/sdk/traits.d.ts +26 -0
  842. package/lib/sdk/traits.d.ts.map +1 -0
  843. package/lib/sdk/traits.js +15 -0
  844. package/lib/sdk/traits.js.map +1 -0
  845. package/package.json +190 -4
  846. package/src/Account/Reference.ts +120 -0
  847. package/src/Account/Team.ts +106 -0
  848. package/src/Account/TeamMember.ts +218 -0
  849. package/src/Account/index.ts +27 -0
  850. package/src/AuthProvider.ts +172 -0
  851. package/src/BetterStackBindings.ts +447 -0
  852. package/src/Cloud/Bootstrap.ts +116 -0
  853. package/src/Cloud/Certificate.ts +146 -0
  854. package/src/Cloud/ClickHouse.ts +272 -0
  855. package/src/Cloud/ClickHouseScheduledSnapshot.ts +114 -0
  856. package/src/Cloud/ClickHouseSnapshot.ts +137 -0
  857. package/src/Cloud/Firewall.ts +277 -0
  858. package/src/Cloud/FirewallRule.ts +175 -0
  859. package/src/Cloud/InferEnv.ts +30 -0
  860. package/src/Cloud/Kafka.ts +301 -0
  861. package/src/Cloud/KafkaTopic.ts +129 -0
  862. package/src/Cloud/KafkaUser.ts +175 -0
  863. package/src/Cloud/KubernetesCluster.ts +312 -0
  864. package/src/Cloud/KubernetesNodePool.ts +196 -0
  865. package/src/Cloud/KubernetesScheduledSnapshot.ts +116 -0
  866. package/src/Cloud/LoadBalancer.ts +336 -0
  867. package/src/Cloud/LoadBalancerService.ts +181 -0
  868. package/src/Cloud/LoadBalancerTarget.ts +203 -0
  869. package/src/Cloud/MountVolume.ts +167 -0
  870. package/src/Cloud/MySQL.ts +363 -0
  871. package/src/Cloud/MySQLScheduledSnapshot.ts +111 -0
  872. package/src/Cloud/MySQLSnapshot.ts +133 -0
  873. package/src/Cloud/Network.ts +116 -0
  874. package/src/Cloud/ObjectCache.ts +420 -0
  875. package/src/Cloud/ObjectCacheBucket.ts +197 -0
  876. package/src/Cloud/Otlp.ts +131 -0
  877. package/src/Cloud/PlacementGroup.ts +132 -0
  878. package/src/Cloud/Postgres.ts +410 -0
  879. package/src/Cloud/PostgresDatabase.ts +118 -0
  880. package/src/Cloud/PostgresScheduledSnapshot.ts +111 -0
  881. package/src/Cloud/PostgresSnapshot.ts +133 -0
  882. package/src/Cloud/PostgresUser.ts +175 -0
  883. package/src/Cloud/Reference.ts +743 -0
  884. package/src/Cloud/ReservedIp.ts +214 -0
  885. package/src/Cloud/ScheduledSnapshot.ts +75 -0
  886. package/src/Cloud/ScheduledVolumeSnapshot.ts +76 -0
  887. package/src/Cloud/Server.ts +1469 -0
  888. package/src/Cloud/ServerPool.ts +100 -0
  889. package/src/Cloud/ServerPrivateIp.ts +109 -0
  890. package/src/Cloud/Service.ts +1101 -0
  891. package/src/Cloud/ServiceHandler.ts +113 -0
  892. package/src/Cloud/Snapshot.ts +161 -0
  893. package/src/Cloud/Ssh.ts +528 -0
  894. package/src/Cloud/SshKey.ts +241 -0
  895. package/src/Cloud/Valkey.ts +284 -0
  896. package/src/Cloud/ValkeyScheduledSnapshot.ts +112 -0
  897. package/src/Cloud/ValkeySnapshot.ts +135 -0
  898. package/src/Cloud/Volume.ts +522 -0
  899. package/src/Cloud/VolumeSnapshot.ts +153 -0
  900. package/src/Cloud/Webhook.ts +145 -0
  901. package/src/Cloud/Website/Astro.ts +118 -0
  902. package/src/Cloud/Website/Foldkit.ts +78 -0
  903. package/src/Cloud/Website/FrameworkSite.ts +499 -0
  904. package/src/Cloud/Website/Nextjs.ts +70 -0
  905. package/src/Cloud/Website/Nuxt.ts +72 -0
  906. package/src/Cloud/Website/Octane.ts +63 -0
  907. package/src/Cloud/Website/Providers.ts +20 -0
  908. package/src/Cloud/Website/ReactRouter.ts +96 -0
  909. package/src/Cloud/Website/SolidStart.ts +109 -0
  910. package/src/Cloud/Website/StaticSite.ts +273 -0
  911. package/src/Cloud/Website/SvelteKit.ts +71 -0
  912. package/src/Cloud/Website/TanStackStart.ts +91 -0
  913. package/src/Cloud/Website/Vinext.ts +79 -0
  914. package/src/Cloud/Website/Vite.ts +131 -0
  915. package/src/Cloud/Website/Vocs.ts +69 -0
  916. package/src/Cloud/Website/Waku.ts +76 -0
  917. package/src/Cloud/Website/index.ts +16 -0
  918. package/src/Cloud/hosted.ts +1022 -0
  919. package/src/Cloud/index.ts +223 -0
  920. package/src/Contributions.ts +15 -0
  921. package/src/Credentials.ts +70 -0
  922. package/src/Errors/Application.ts +208 -0
  923. package/src/Errors/ApplicationGroup.ts +119 -0
  924. package/src/Errors/Dsn.ts +119 -0
  925. package/src/Errors/JiraIntegration.ts +108 -0
  926. package/src/Errors/LinearIntegration.ts +112 -0
  927. package/src/Errors/MicrosoftTeamsIntegration.ts +121 -0
  928. package/src/Errors/Reference.ts +189 -0
  929. package/src/Errors/RegisterRelease.ts +77 -0
  930. package/src/Errors/RegisterReleaseHttp.ts +47 -0
  931. package/src/Errors/Release.ts +241 -0
  932. package/src/Errors/SlackIntegration.ts +105 -0
  933. package/src/Errors/index.ts +60 -0
  934. package/src/Incidents/AcknowledgeIncident.ts +78 -0
  935. package/src/Incidents/AcknowledgeIncidentHttp.ts +28 -0
  936. package/src/Incidents/AmazonSnsIntegration.ts +134 -0
  937. package/src/Incidents/AwsCloudWatchIntegration.ts +99 -0
  938. package/src/Incidents/AzureIntegration.ts +95 -0
  939. package/src/Incidents/BindingHttp.ts +62 -0
  940. package/src/Incidents/CatalogRecord.ts +106 -0
  941. package/src/Incidents/CatalogRelation.ts +111 -0
  942. package/src/Incidents/CreateIncident.ts +81 -0
  943. package/src/Incidents/CreateIncidentHttp.ts +28 -0
  944. package/src/Incidents/CreateStatusReport.ts +88 -0
  945. package/src/Incidents/CreateStatusReportHttp.ts +35 -0
  946. package/src/Incidents/CreateStatusUpdate.ts +84 -0
  947. package/src/Incidents/CreateStatusUpdateHttp.ts +35 -0
  948. package/src/Incidents/DatadogIntegration.ts +102 -0
  949. package/src/Incidents/ElasticIntegration.ts +94 -0
  950. package/src/Incidents/EscalationPolicy.ts +144 -0
  951. package/src/Incidents/EscalationPolicyGroup.ts +82 -0
  952. package/src/Incidents/FailHeartbeat.ts +55 -0
  953. package/src/Incidents/FailHeartbeatHttp.ts +28 -0
  954. package/src/Incidents/GoogleMonitoringIntegration.ts +98 -0
  955. package/src/Incidents/GrafanaIntegration.ts +105 -0
  956. package/src/Incidents/Heartbeat.ts +143 -0
  957. package/src/Incidents/HeartbeatGroup.ts +83 -0
  958. package/src/Incidents/IncomingEmailIntegration.ts +120 -0
  959. package/src/Incidents/IncomingWebhookIntegration.ts +141 -0
  960. package/src/Incidents/JiraIntegration.ts +83 -0
  961. package/src/Incidents/LinearIntegration.ts +94 -0
  962. package/src/Incidents/Metadata.ts +133 -0
  963. package/src/Incidents/Monitor.ts +150 -0
  964. package/src/Incidents/MonitorGroup.ts +91 -0
  965. package/src/Incidents/NewRelicIntegration.ts +102 -0
  966. package/src/Incidents/OnCallRotation.ts +295 -0
  967. package/src/Incidents/OnCallSchedule.ts +115 -0
  968. package/src/Incidents/OutgoingEmailIntegration.ts +84 -0
  969. package/src/Incidents/OutgoingPagerDutyIntegration.ts +78 -0
  970. package/src/Incidents/OutgoingWebhookIntegration.ts +147 -0
  971. package/src/Incidents/PrometheusIntegration.ts +109 -0
  972. package/src/Incidents/Reference.ts +210 -0
  973. package/src/Incidents/ReportHeartbeat.ts +149 -0
  974. package/src/Incidents/ReportHeartbeatHttp.ts +30 -0
  975. package/src/Incidents/ResolveIncident.ts +74 -0
  976. package/src/Incidents/ResolveIncidentHttp.ts +28 -0
  977. package/src/Incidents/SendHeartbeat.ts +62 -0
  978. package/src/Incidents/SendHeartbeatHttp.ts +28 -0
  979. package/src/Incidents/Severity.ts +123 -0
  980. package/src/Incidents/SeverityGroup.ts +82 -0
  981. package/src/Incidents/SplunkOnCallIntegration.ts +76 -0
  982. package/src/Incidents/StatusPage.ts +178 -0
  983. package/src/Incidents/StatusPageGroup.ts +81 -0
  984. package/src/Incidents/StatusPageResource.ts +128 -0
  985. package/src/Incidents/StatusPageSection.ts +105 -0
  986. package/src/Incidents/StatusPageSubscriber.ts +163 -0
  987. package/src/Incidents/index.ts +213 -0
  988. package/src/Incidents/integrationFields.ts +174 -0
  989. package/src/Providers.ts +78 -0
  990. package/src/Telemetry/Alert.ts +135 -0
  991. package/src/Telemetry/AwsLogGroupSubscription.ts +97 -0
  992. package/src/Telemetry/BindingHttp.ts +40 -0
  993. package/src/Telemetry/Chart.ts +251 -0
  994. package/src/Telemetry/Collector.ts +157 -0
  995. package/src/Telemetry/CollectorTarget.ts +108 -0
  996. package/src/Telemetry/Connection.ts +182 -0
  997. package/src/Telemetry/Dashboard.ts +152 -0
  998. package/src/Telemetry/DashboardChart.ts +177 -0
  999. package/src/Telemetry/DashboardGroup.ts +86 -0
  1000. package/src/Telemetry/DashboardSection.ts +115 -0
  1001. package/src/Telemetry/Exploration.ts +139 -0
  1002. package/src/Telemetry/ExplorationGroup.ts +93 -0
  1003. package/src/Telemetry/Export.ts +263 -0
  1004. package/src/Telemetry/ExtractedMetric.ts +112 -0
  1005. package/src/Telemetry/IngestLogs.ts +95 -0
  1006. package/src/Telemetry/IngestLogsHttp.ts +28 -0
  1007. package/src/Telemetry/IngestMetrics.ts +76 -0
  1008. package/src/Telemetry/IngestMetricsHttp.ts +28 -0
  1009. package/src/Telemetry/OtelHeaders.ts +52 -0
  1010. package/src/Telemetry/Query.ts +75 -0
  1011. package/src/Telemetry/QueryHttp.ts +40 -0
  1012. package/src/Telemetry/Reference.ts +164 -0
  1013. package/src/Telemetry/ShipLogs.ts +162 -0
  1014. package/src/Telemetry/Source.ts +328 -0
  1015. package/src/Telemetry/SourceAwsAccount.ts +110 -0
  1016. package/src/Telemetry/SourceGcpProject.ts +125 -0
  1017. package/src/Telemetry/SourceGroup.ts +111 -0
  1018. package/src/Telemetry/customBucket.ts +62 -0
  1019. package/src/Telemetry/index.ts +104 -0
  1020. package/src/globals.d.ts +4 -0
  1021. package/src/index.ts +13 -0
  1022. package/src/internal/DeployRetry.ts +64 -0
  1023. package/src/internal/actionWait.ts +23 -0
  1024. package/src/internal/applicationIds.ts +21 -0
  1025. package/src/internal/attachments.ts +40 -0
  1026. package/src/internal/budget.ts +69 -0
  1027. package/src/internal/connection.ts +233 -0
  1028. package/src/internal/crud.ts +1053 -0
  1029. package/src/internal/errors.ts +32 -0
  1030. package/src/internal/fields.ts +162 -0
  1031. package/src/internal/gone.ts +19 -0
  1032. package/src/internal/managedDatabase.ts +331 -0
  1033. package/src/internal/managedService.ts +419 -0
  1034. package/src/internal/migrations.ts +484 -0
  1035. package/src/internal/ops.ts +86 -0
  1036. package/src/internal/ownership.ts +84 -0
  1037. package/src/internal/reference.ts +100 -0
  1038. package/src/internal/scope.ts +84 -0
  1039. package/src/internal/snapshot.ts +170 -0
  1040. package/src/internal/unpaged.ts +29 -0
  1041. package/src/internal/wait.ts +88 -0
  1042. package/src/sdk/credentials.ts +222 -0
  1043. package/src/sdk/errors.ts +125 -0
  1044. package/src/sdk/index.ts +69 -0
  1045. package/src/sdk/pagination.ts +100 -0
  1046. package/src/sdk/protocol.ts +565 -0
  1047. package/src/sdk/retry.ts +50 -0
  1048. package/src/sdk/services/account.ts +1079 -0
  1049. package/src/sdk/services/cloud.ts +38638 -0
  1050. package/src/sdk/services/errors.ts +6182 -0
  1051. package/src/sdk/services/heartbeat.ts +144 -0
  1052. package/src/sdk/services/incidents.ts +25835 -0
  1053. package/src/sdk/services/index.ts +8 -0
  1054. package/src/sdk/services/ingest.ts +383 -0
  1055. package/src/sdk/services/telemetry.ts +14868 -0
  1056. package/src/sdk/traits.ts +77 -0
@@ -0,0 +1,2203 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as S from "@distilled.cloud/core/schema-lite";
3
+ import type * as Redacted from "effect/Redacted";
4
+ import { type BetterStackOpError, type BetterStackOpContext } from "../protocol.ts";
5
+ export type { BetterStackOpError, BetterStackOpContext };
6
+ declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
7
+ readonly code: any;
8
+ readonly message: any;
9
+ readonly body: any;
10
+ readonly headers: any;
11
+ }> & (new (...args: any[]) => {
12
+ "@distilled.cloud/error/categories": {
13
+ ConflictError: true;
14
+ };
15
+ });
16
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
17
+ readonly body?: TelemetryError | string;
18
+ }
19
+ declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
20
+ readonly code: any;
21
+ readonly message: any;
22
+ readonly body: any;
23
+ readonly headers: any;
24
+ }> & (new (...args: any[]) => {
25
+ "@distilled.cloud/error/categories": {
26
+ AuthError: true;
27
+ };
28
+ });
29
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
30
+ readonly body?: TelemetryError | string;
31
+ }
32
+ declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
33
+ readonly code: any;
34
+ readonly message: any;
35
+ readonly body: any;
36
+ readonly headers: any;
37
+ }> & (new (...args: any[]) => {
38
+ "@distilled.cloud/error/categories": {
39
+ BadRequestError: true;
40
+ };
41
+ });
42
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
43
+ readonly body?: TelemetryError | string;
44
+ }
45
+ declare const UnprocessableEntity_base: S.TaggedErrorClass<"UnprocessableEntity", {
46
+ readonly code: any;
47
+ readonly message: any;
48
+ readonly body: any;
49
+ readonly headers: any;
50
+ }> & (new (...args: any[]) => {
51
+ "@distilled.cloud/error/categories": {
52
+ BadRequestError: true;
53
+ };
54
+ });
55
+ export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
56
+ readonly body?: TelemetryError | string;
57
+ }
58
+ export interface ApplicationsApplicationGroupRequest {
59
+ id: string;
60
+ /** Page to return, starting at 1. */
61
+ page?: number | undefined;
62
+ /** Results per page. */
63
+ perPage?: number | undefined;
64
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
65
+ teamId?: string | undefined;
66
+ }
67
+ /** The SDK or framework the application reports errors from. */
68
+ export type ApplicationsApplicationGroupResponseDataItemPlatform = "aiohttp_errors" | "android_errors" | "angular_errors" | "asgi_errors" | "asp_dot_net_core_errors" | "asp_dot_net_errors" | "astro_errors" | "aws_lambda_dot_net_errors" | "aws_lambda_node_errors" | "aws_lambda_python_errors" | "azure_functions_node_errors" | "bottle_errors" | "bun_errors" | "celery_errors" | "chalice_errors" | "cli_errors" | "cloudflare_pages_errors" | "connect_errors" | "dart_errors" | "deno_errors" | "django_errors" | "dot_net_errors" | "dot_net_http_errors" | "dot_net_maui_errors" | "echo_errors" | "electron_errors" | "elixir_errors" | "ember_errors" | "express_errors" | "falcon_errors" | "fastapi_errors" | "fasthttp_errors" | "fastify_errors" | "fiber_errors" | "flask_errors" | "flutter_errors" | "gatsby_errors" | "gin_errors" | "go_errors" | "godot_errors" | "google_cloud_function_dot_net_errors" | "google_cloud_function_node_errors" | "google_cloud_function_python_errors" | "hapi_errors" | "ios_errors" | "iris_errors" | "java_errors" | "javascript_errors" | "koa_errors" | "kotlin_errors" | "laravel_errors" | "log4j_errors" | "logback_errors" | "macos_errors" | "minidump_errors" | "native_errors" | "negroni_errors" | "nest_js_errors" | "next_js_errors" | "node_errors" | "nuxt_errors" | "php_errors" | "powershell_errors" | "pyramid_errors" | "python_errors" | "qt_errors" | "quart_errors" | "rack_middleware_errors" | "rails_errors" | "react_errors" | "react_native_errors" | "react_router_framework_errors" | "remix_errors" | "rq_errors" | "ruby_errors" | "rust_errors" | "sanic_errors" | "serverless_python_errors" | "solid_errors" | "solidstart_errors" | "spring_boot_errors" | "spring_errors" | "starlette_errors" | "svelte_errors" | "sveltekit_errors" | "symfony_errors" | "tanstack_start_react_errors" | "tornado_errors" | "tryton_errors" | "unity_errors" | "unreal_engine_errors" | "vue_errors" | "windows_forms_errors" | "wpf_errors" | "wsgi_errors";
69
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
70
+ export interface ApplicationsApplicationGroupResponseDataItemCustomBucket {
71
+ /** The bucket's name, taken from `endpoint`. */
72
+ name?: string | undefined;
73
+ /** The S3-compatible endpoint URL of the bucket. Can't be changed after the bucket is set. */
74
+ endpoint?: string | undefined;
75
+ /** The access key ID to write to the bucket with. */
76
+ accessKeyId?: string | Redacted.Redacted<string> | undefined;
77
+ /** The secret access key for `access_key_id`. Write-only. */
78
+ secretAccessKey?: string | Redacted.Redacted<string> | undefined;
79
+ /** Whether data stays in the bucket after the retention period. Can't be changed after the bucket is set. */
80
+ keepDataAfterRetention?: boolean | undefined;
81
+ }
82
+ export interface ApplicationsApplicationGroupResponseDataItem {
83
+ /** The application's id. */
84
+ id: string;
85
+ /** Application name. */
86
+ name?: string | undefined;
87
+ /** The SDK or framework the application reports errors from. */
88
+ platform?: ApplicationsApplicationGroupResponseDataItemPlatform | undefined;
89
+ /** The ID of the application group to put this application in, from [List application groups](/docs/errors/api/applications-groups/list/). */
90
+ applicationGroupId?: number | null | undefined;
91
+ /** Whether ingestion is paused for this application. */
92
+ ingestingPaused?: boolean | undefined;
93
+ /** Days to keep errors. Accepts one of the retention periods your plan offers, or the value already set. */
94
+ errorsRetention?: number | undefined;
95
+ /** The data region, `europe`, `us`, `singapore` or a dedicated cluster's name from [List data regions](/docs/errors/api/data-regions/). An application created with `correlate_with_source_id` uses that source's region, and a different region here is refused. */
96
+ dataRegion?: string | undefined;
97
+ /** The ID of the telemetry source whose logs and traces are linked to these errors. Get it via [List sources](/docs/logs/api/list-all-existing-sources/). */
98
+ correlateWithSourceId?: string | null | undefined;
99
+ /** The linked GitHub repository for source-code mapping, as `owner/name`, such as `acme/web`. Connect it to your team with the [GitHub integration](/docs/errors/integrations/github/) first. */
100
+ githubRepositoryName?: string | null | undefined;
101
+ /** The linked GitLab repository for source-code mapping, as `group/name`, such as `acme/web`, from your connected repositories. */
102
+ gitlabRepositoryName?: string | null | undefined;
103
+ /** The absolute path to the root of the stack trace on your server, such as `/usr/src/app/`. Stack frames under it are mapped to files in the linked repository. */
104
+ codeMappingStackRoot?: string | null | undefined;
105
+ /** The path from your repository's root to the deployed source code, such as `apps/backend/`. A stack frame's path under `code_mapping_stack_root` is looked up under this path in the linked repository. */
106
+ codeMappingSourceRoot?: string | null | undefined;
107
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
108
+ customBucket?: ApplicationsApplicationGroupResponseDataItemCustomBucket | null | undefined;
109
+ /** Ingestion token, the DSN to configure your SDK with. */
110
+ token?: string | Redacted.Redacted<string> | undefined;
111
+ /** The token of the browser tag, separate from `token`. Pass it as the `?t=` value when you load the `/b.js` browser tag. `null` for a platform without a browser tag. */
112
+ jsTagToken?: string | Redacted.Redacted<string> | null | undefined;
113
+ /** The application's table name, which identifies its data in SQL queries. */
114
+ tableName?: string | undefined;
115
+ /** Host to send data to. */
116
+ ingestingHost?: string | undefined;
117
+ /** When the application was created. */
118
+ createdAt?: string | undefined;
119
+ /** When the application was last updated. */
120
+ updatedAt?: string | undefined;
121
+ /** The team that owns the application, such as `t123`. */
122
+ teamId?: number | undefined;
123
+ /** Name of the team that owns the application. */
124
+ teamName?: string | undefined;
125
+ }
126
+ export type ApplicationsApplicationGroupResponseDataList = Array<ApplicationsApplicationGroupResponseDataItem>;
127
+ /** Pick a page with the `page` and `per_page` query parameters. The response has a `pagination` object with links to the other pages. */
128
+ export interface PaginationPageNumber {
129
+ first?: string | undefined;
130
+ last?: string | undefined;
131
+ prev?: string | null | undefined;
132
+ next?: string | null | undefined;
133
+ /** How many results the whole list holds, across every page. */
134
+ totalCount?: number | undefined;
135
+ }
136
+ export interface ApplicationsApplicationGroupResponse {
137
+ data: ApplicationsApplicationGroupResponseDataList;
138
+ pagination?: PaginationPageNumber | undefined;
139
+ }
140
+ /** The SDK or framework the application reports errors from. Can't be changed after the application is created. */
141
+ export type CreateApplicationRequestPlatform = "aiohttp_errors" | "android_errors" | "angular_errors" | "asgi_errors" | "asp_dot_net_core_errors" | "asp_dot_net_errors" | "astro_errors" | "aws_lambda_dot_net_errors" | "aws_lambda_node_errors" | "aws_lambda_python_errors" | "azure_functions_node_errors" | "bottle_errors" | "bun_errors" | "celery_errors" | "chalice_errors" | "cli_errors" | "cloudflare_pages_errors" | "connect_errors" | "dart_errors" | "deno_errors" | "django_errors" | "dot_net_errors" | "dot_net_http_errors" | "dot_net_maui_errors" | "echo_errors" | "electron_errors" | "elixir_errors" | "ember_errors" | "express_errors" | "falcon_errors" | "fastapi_errors" | "fasthttp_errors" | "fastify_errors" | "fiber_errors" | "flask_errors" | "flutter_errors" | "gatsby_errors" | "gin_errors" | "go_errors" | "godot_errors" | "google_cloud_function_dot_net_errors" | "google_cloud_function_node_errors" | "google_cloud_function_python_errors" | "hapi_errors" | "ios_errors" | "iris_errors" | "java_errors" | "javascript_errors" | "koa_errors" | "kotlin_errors" | "laravel_errors" | "log4j_errors" | "logback_errors" | "macos_errors" | "minidump_errors" | "native_errors" | "negroni_errors" | "nest_js_errors" | "next_js_errors" | "node_errors" | "nuxt_errors" | "php_errors" | "powershell_errors" | "pyramid_errors" | "python_errors" | "qt_errors" | "quart_errors" | "rack_middleware_errors" | "rails_errors" | "react_errors" | "react_native_errors" | "react_router_framework_errors" | "remix_errors" | "rq_errors" | "ruby_errors" | "rust_errors" | "sanic_errors" | "serverless_python_errors" | "solid_errors" | "solidstart_errors" | "spring_boot_errors" | "spring_errors" | "starlette_errors" | "svelte_errors" | "sveltekit_errors" | "symfony_errors" | "tanstack_start_react_errors" | "tornado_errors" | "tryton_errors" | "unity_errors" | "unreal_engine_errors" | "vue_errors" | "windows_forms_errors" | "wpf_errors" | "wsgi_errors";
142
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
143
+ export interface CreateApplicationRequestCustomBucket {
144
+ /** The S3-compatible endpoint URL of the bucket. Can't be changed after the bucket is set. */
145
+ endpoint?: string | undefined;
146
+ /** The access key ID to write to the bucket with. */
147
+ accessKeyId?: string | Redacted.Redacted<string> | undefined;
148
+ /** The secret access key for `access_key_id`. Write-only. */
149
+ secretAccessKey?: string | Redacted.Redacted<string> | undefined;
150
+ /** Whether data stays in the bucket after the retention period. Can't be changed after the bucket is set. */
151
+ keepDataAfterRetention?: boolean | undefined;
152
+ }
153
+ /** The features the JavaScript tag collects, each on or off. */
154
+ export interface CreateApplicationRequestJsTagConfigurationCollect {
155
+ /** Collect frontend errors. */
156
+ errors?: boolean | undefined;
157
+ /** Record web vitals. */
158
+ webVitals?: boolean | undefined;
159
+ /** Collect `console.log` calls. */
160
+ console?: boolean | undefined;
161
+ /** Record JavaScript heap memory, in Chrome only. */
162
+ memory?: boolean | undefined;
163
+ /** Record website analytics. */
164
+ analytics?: boolean | undefined;
165
+ /** Capture anonymous user events. */
166
+ anonymousEvents?: boolean | undefined;
167
+ /** Record session replays. */
168
+ replays?: boolean | undefined;
169
+ /** Capture identified user events. */
170
+ identifiedEvents?: boolean | undefined;
171
+ /** Collect the browser fingerprint. */
172
+ fingerprint?: boolean | undefined;
173
+ }
174
+ /** Sampling rates of the JavaScript tag, as percentages. */
175
+ export interface CreateApplicationRequestJsTagConfigurationSampling {
176
+ /** Percentage of errors sent, from 0 to 100. */
177
+ errors?: number | undefined;
178
+ /** Percentage of sessions recorded as session replays, from 0 to 100. */
179
+ replays?: number | undefined;
180
+ /** Percentage of sessions that send web events, from 0 to 100. */
181
+ webEvents?: number | undefined;
182
+ }
183
+ /** CSS selectors of elements excluded from session replays and autocapture. */
184
+ export type CreateApplicationRequestJsTagConfigurationExcludeSelectorsList = Array<string>;
185
+ /** CSS selectors of elements whose text session replays mask. */
186
+ export type CreateApplicationRequestJsTagConfigurationMaskSelectorsList = Array<string>;
187
+ /** Your other domains to share sessions with. */
188
+ export type CreateApplicationRequestJsTagConfigurationSharedSessionDomainsList = Array<string>;
189
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. An update changes only the keys you send, inside `collect` and `sampling` too. Only `custom_config` and `own_domain` accept `null`. */
190
+ export interface CreateApplicationRequestJsTagConfiguration {
191
+ /** The features the JavaScript tag collects, each on or off. */
192
+ collect?: CreateApplicationRequestJsTagConfigurationCollect | undefined;
193
+ /** Sampling rates of the JavaScript tag, as percentages. */
194
+ sampling?: CreateApplicationRequestJsTagConfigurationSampling | undefined;
195
+ /** CSS selectors of elements excluded from session replays and autocapture. */
196
+ excludeSelectors?: CreateApplicationRequestJsTagConfigurationExcludeSelectorsList | undefined;
197
+ /** CSS selectors of elements whose text session replays mask. */
198
+ maskSelectors?: CreateApplicationRequestJsTagConfigurationMaskSelectorsList | undefined;
199
+ /** Your other domains to share sessions with. */
200
+ sharedSessionDomains?: CreateApplicationRequestJsTagConfigurationSharedSessionDomainsList | undefined;
201
+ /** Continue sessions that arrive from your other domains. */
202
+ acceptIncomingSessions?: boolean | undefined;
203
+ /** Also share sessions through forms that submit to your other domains. */
204
+ decorateForms?: boolean | undefined;
205
+ /** JavaScript code the tag runs when it loads. Send `null` to remove it. */
206
+ customConfig?: string | null | undefined;
207
+ /** Session timeout in minutes, from 1 to 60. */
208
+ sessionTimeoutMinutes?: number | undefined;
209
+ /** Seconds between batches of events, at least 2. */
210
+ eventsBatchIntervalSeconds?: number | undefined;
211
+ /** Your own subdomain to serve the tag from. The subdomain's CNAME record must point to `proxy.betterstack.net`. Send `null` to remove it. */
212
+ ownDomain?: string | null | undefined;
213
+ }
214
+ export interface CreateApplicationRequest {
215
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
216
+ teamId?: string | undefined;
217
+ /** Application name. */
218
+ name: string;
219
+ /** The SDK or framework the application reports errors from. Can't be changed after the application is created. */
220
+ platform: CreateApplicationRequestPlatform | (string & {});
221
+ /** The ID of the application group to put this application in, from [List application groups](/docs/errors/api/applications-groups/list/). */
222
+ applicationGroupId?: string | null | undefined;
223
+ /** Whether ingestion is paused for this application. */
224
+ ingestingPaused?: boolean | undefined;
225
+ /** Days to keep errors. Accepts one of the retention periods your plan offers, or the value already set. Defaults to your plan's default retention, or to a longer one your other applications already use. */
226
+ errorsRetention?: number | undefined;
227
+ /** Days to keep web events. Accepts one of the retention periods your plan offers, or the value already set. A connected application's web events retention is set on its connected source. */
228
+ webEventsRetention?: number | undefined;
229
+ /** Days to keep session replays. Accepts one of the retention periods your plan offers, or the value already set. A change applies to every application connected to the same source. Only an application that records session replays accepts it. `null` can't be sent. */
230
+ replaysRetention?: number | null | undefined;
231
+ /** The data region, `europe`, `us`, `singapore` or a dedicated cluster's name from [List data regions](/docs/errors/api/data-regions/). An application created with `correlate_with_source_id` uses that source's region, and a different region here is refused. Omit it to use the organization's default. Set on create only. Sending it on update is refused. */
232
+ dataRegion?: string | undefined;
233
+ /** The ID of the telemetry source whose logs and traces are linked to these errors. Get it via [List sources](/docs/logs/api/list-all-existing-sources/). Set when the application is created and can't be changed. Sending it on update returns 422, even with the same value. */
234
+ correlateWithSourceId?: string | null | undefined;
235
+ /** The linked GitHub repository for source-code mapping, as `owner/name`, such as `acme/web`. Connect it to your team with the [GitHub integration](/docs/errors/integrations/github/) first. Send an empty string to disconnect it. Can't be set together with `gitlab_repository_name`. */
236
+ githubRepositoryName?: string | null | undefined;
237
+ /** The linked GitLab repository for source-code mapping, as `group/name`, such as `acme/web`, from your connected repositories. Send an empty string to disconnect it. Can't be set together with `github_repository_name`. */
238
+ gitlabRepositoryName?: string | null | undefined;
239
+ /** The absolute path to the root of the stack trace on your server, such as `/usr/src/app/`. Stack frames under it are mapped to files in the linked repository. */
240
+ codeMappingStackRoot?: string | null | undefined;
241
+ /** The path from your repository's root to the deployed source code, such as `apps/backend/`. A stack frame's path under `code_mapping_stack_root` is looked up under this path in the linked repository. */
242
+ codeMappingSourceRoot?: string | null | undefined;
243
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
244
+ customBucket?: CreateApplicationRequestCustomBucket | null | undefined;
245
+ /** The VRL program that groups incoming exceptions into errors. A new application starts with its platform's default grouping, which groups exceptions by error name and call stack on most platforms. Read more about [exception grouping](/docs/errors/using-the-product/exception-grouping/). Send an empty string to remove it. Send `null` to go back to the default grouping. */
246
+ vrlTransformationExceptions?: string | undefined;
247
+ /** The VRL program applied to session replays during ingestion. Send an empty string to remove it. */
248
+ vrlTransformationReplays?: string | undefined;
249
+ /** The VRL program applied to web events, such as page views and web vitals, during ingestion. A new application starts with the default web events program. Send an empty string to remove it. Send `null` to go back to the default web events program. */
250
+ vrlTransformationWebEvents?: string | undefined;
251
+ /** The VRL program applied to logs collected alongside errors, during ingestion. Read more about [VRL transformations](/docs/logs/using-logtail/transforming-ingested-data/logs-vrl/). Send an empty string to remove it. */
252
+ vrlTransformationLogs?: string | undefined;
253
+ /** The VRL program applied to spans collected alongside errors, during ingestion. Send an empty string to remove it. */
254
+ vrlTransformationSpans?: string | undefined;
255
+ /** The baseline multiplier of spike protection, from 0 to 100. Lower values start sampling sooner, and higher values allow bigger bursts before sampling starts. `null` while spike protection is off. Send `null` to turn spike protection off. */
256
+ spikeProtectionBaselineMultiplier?: number | null | undefined;
257
+ /** The AI prompt used to fix this application's errors, or the default prompt when the application has none of its own. Send `null` to go back to the default prompt. A blank prompt is refused. */
258
+ aiPromptTemplate?: string | null | undefined;
259
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. An update changes only the keys you send, inside `collect` and `sampling` too. Only `custom_config` and `own_domain` accept `null`. */
260
+ jsTagConfiguration?: CreateApplicationRequestJsTagConfiguration | null | undefined;
261
+ }
262
+ /** The SDK or framework the application reports errors from. */
263
+ export type ApplicationPlatform = "aiohttp_errors" | "android_errors" | "angular_errors" | "asgi_errors" | "asp_dot_net_core_errors" | "asp_dot_net_errors" | "astro_errors" | "aws_lambda_dot_net_errors" | "aws_lambda_node_errors" | "aws_lambda_python_errors" | "azure_functions_node_errors" | "bottle_errors" | "bun_errors" | "celery_errors" | "chalice_errors" | "cli_errors" | "cloudflare_pages_errors" | "connect_errors" | "dart_errors" | "deno_errors" | "django_errors" | "dot_net_errors" | "dot_net_http_errors" | "dot_net_maui_errors" | "echo_errors" | "electron_errors" | "elixir_errors" | "ember_errors" | "express_errors" | "falcon_errors" | "fastapi_errors" | "fasthttp_errors" | "fastify_errors" | "fiber_errors" | "flask_errors" | "flutter_errors" | "gatsby_errors" | "gin_errors" | "go_errors" | "godot_errors" | "google_cloud_function_dot_net_errors" | "google_cloud_function_node_errors" | "google_cloud_function_python_errors" | "hapi_errors" | "ios_errors" | "iris_errors" | "java_errors" | "javascript_errors" | "koa_errors" | "kotlin_errors" | "laravel_errors" | "log4j_errors" | "logback_errors" | "macos_errors" | "minidump_errors" | "native_errors" | "negroni_errors" | "nest_js_errors" | "next_js_errors" | "node_errors" | "nuxt_errors" | "php_errors" | "powershell_errors" | "pyramid_errors" | "python_errors" | "qt_errors" | "quart_errors" | "rack_middleware_errors" | "rails_errors" | "react_errors" | "react_native_errors" | "react_router_framework_errors" | "remix_errors" | "rq_errors" | "ruby_errors" | "rust_errors" | "sanic_errors" | "serverless_python_errors" | "solid_errors" | "solidstart_errors" | "spring_boot_errors" | "spring_errors" | "starlette_errors" | "svelte_errors" | "sveltekit_errors" | "symfony_errors" | "tanstack_start_react_errors" | "tornado_errors" | "tryton_errors" | "unity_errors" | "unreal_engine_errors" | "vue_errors" | "windows_forms_errors" | "wpf_errors" | "wsgi_errors";
264
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
265
+ export type ApplicationCustomBucket = ApplicationsApplicationGroupResponseDataItemCustomBucket;
266
+ /** The features the JavaScript tag collects, each on or off. */
267
+ export type ApplicationJsTagConfigurationCollect = CreateApplicationRequestJsTagConfigurationCollect;
268
+ /** Sampling rates of the JavaScript tag, as percentages. */
269
+ export type ApplicationJsTagConfigurationSampling = CreateApplicationRequestJsTagConfigurationSampling;
270
+ /** CSS selectors of elements excluded from session replays and autocapture. */
271
+ export type ApplicationJsTagConfigurationExcludeSelectorsList = Array<string>;
272
+ /** CSS selectors of elements whose text session replays mask. */
273
+ export type ApplicationJsTagConfigurationMaskSelectorsList = Array<string>;
274
+ /** Your other domains to share sessions with. */
275
+ export type ApplicationJsTagConfigurationSharedSessionDomainsList = Array<string>;
276
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. */
277
+ export interface ApplicationJsTagConfiguration {
278
+ /** The features the JavaScript tag collects, each on or off. */
279
+ collect?: CreateApplicationRequestJsTagConfigurationCollect | undefined;
280
+ /** Sampling rates of the JavaScript tag, as percentages. */
281
+ sampling?: CreateApplicationRequestJsTagConfigurationSampling | undefined;
282
+ /** CSS selectors of elements excluded from session replays and autocapture. */
283
+ excludeSelectors?: ApplicationJsTagConfigurationExcludeSelectorsList | undefined;
284
+ /** CSS selectors of elements whose text session replays mask. */
285
+ maskSelectors?: ApplicationJsTagConfigurationMaskSelectorsList | undefined;
286
+ /** Your other domains to share sessions with. */
287
+ sharedSessionDomains?: ApplicationJsTagConfigurationSharedSessionDomainsList | undefined;
288
+ /** Continue sessions that arrive from your other domains. */
289
+ acceptIncomingSessions?: boolean | undefined;
290
+ /** Also share sessions through forms that submit to your other domains. */
291
+ decorateForms?: boolean | undefined;
292
+ /** JavaScript code the tag runs when it loads. */
293
+ customConfig?: string | null | undefined;
294
+ /** Session timeout in minutes, from 1 to 60. */
295
+ sessionTimeoutMinutes?: number | undefined;
296
+ /** Seconds between batches of events, at least 2. */
297
+ eventsBatchIntervalSeconds?: number | undefined;
298
+ /** Your own subdomain to serve the tag from. The subdomain's CNAME record must point to `proxy.betterstack.net`. */
299
+ ownDomain?: string | null | undefined;
300
+ }
301
+ /** Whether the CNAME record of your own subdomain points to `proxy.betterstack.net`. `null` when `js_tag_configuration` has no `own_domain`. */
302
+ export type ApplicationJsTagOwnDomainStatus = "checking" | "missing" | "invalid" | "valid";
303
+ /** The kinds of data the application holds, such as `exceptions`, `logs`, `metrics`, `replays`, `spans` or `web_events`, sorted by name. */
304
+ export type ApplicationSourceTypesList = Array<string>;
305
+ /** The collections that hold the last 30 minutes of data, one for each kind of data the application holds, such as `exceptions` or `metrics`. */
306
+ export type ApplicationQueryCollectionsRecentMap = {
307
+ [key: string]: string | undefined;
308
+ };
309
+ /** The ClickHouse database, table and collections to use when you query the application's data. */
310
+ export interface ApplicationQueryCollections {
311
+ /** The ClickHouse database that holds the application's data. */
312
+ database?: string | undefined;
313
+ /** The table that holds the application's data, as `database.table`. */
314
+ table?: string | undefined;
315
+ /** The collections that hold the last 30 minutes of data, one for each kind of data the application holds, such as `exceptions` or `metrics`. */
316
+ recent?: ApplicationQueryCollectionsRecentMap | undefined;
317
+ /** The collection that holds older data of every kind. */
318
+ s3?: string | undefined;
319
+ /** The condition that selects only this application's data in the collections of its connected source. `null` unless the application is connected to a source. */
320
+ appFilter?: string | null | undefined;
321
+ /** The condition that selects only this application's data in the metrics collection of its connected source. `null` unless the application is connected to a source. */
322
+ metricsAppFilter?: string | null | undefined;
323
+ }
324
+ export interface Application {
325
+ /** The application's id. */
326
+ id: string;
327
+ /** Application name. */
328
+ name?: string | undefined;
329
+ /** The SDK or framework the application reports errors from. */
330
+ platform?: ApplicationPlatform | undefined;
331
+ /** The ID of the application group to put this application in, from [List application groups](/docs/errors/api/applications-groups/list/). */
332
+ applicationGroupId?: string | null | undefined;
333
+ /** Whether ingestion is paused for this application. */
334
+ ingestingPaused?: boolean | undefined;
335
+ /** Days to keep errors. Accepts one of the retention periods your plan offers, or the value already set. */
336
+ errorsRetention?: number | undefined;
337
+ /** Days to keep web events. Accepts one of the retention periods your plan offers, or the value already set. A connected application's web events retention is set on its connected source. */
338
+ webEventsRetention?: number | undefined;
339
+ /** Days to keep session replays. Accepts one of the retention periods your plan offers, or the value already set. A change applies to every application connected to the same source. Only an application that records session replays accepts it. */
340
+ replaysRetention?: number | null | undefined;
341
+ /** The data region, `europe`, `us`, `singapore` or a dedicated cluster's name from [List data regions](/docs/errors/api/data-regions/). An application created with `correlate_with_source_id` uses that source's region, and a different region here is refused. */
342
+ dataRegion?: string | undefined;
343
+ /** The ID of the telemetry source whose logs and traces are linked to these errors. Get it via [List sources](/docs/logs/api/list-all-existing-sources/). */
344
+ correlateWithSourceId?: string | null | undefined;
345
+ /** The linked GitHub repository for source-code mapping, as `owner/name`, such as `acme/web`. Connect it to your team with the [GitHub integration](/docs/errors/integrations/github/) first. */
346
+ githubRepositoryName?: string | null | undefined;
347
+ /** The linked GitLab repository for source-code mapping, as `group/name`, such as `acme/web`, from your connected repositories. */
348
+ gitlabRepositoryName?: string | null | undefined;
349
+ /** The absolute path to the root of the stack trace on your server, such as `/usr/src/app/`. Stack frames under it are mapped to files in the linked repository. */
350
+ codeMappingStackRoot?: string | null | undefined;
351
+ /** The path from your repository's root to the deployed source code, such as `apps/backend/`. A stack frame's path under `code_mapping_stack_root` is looked up under this path in the linked repository. */
352
+ codeMappingSourceRoot?: string | null | undefined;
353
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
354
+ customBucket?: ApplicationsApplicationGroupResponseDataItemCustomBucket | null | undefined;
355
+ /** The VRL program that groups incoming exceptions into errors. A new application starts with its platform's default grouping, which groups exceptions by error name and call stack on most platforms. Read more about [exception grouping](/docs/errors/using-the-product/exception-grouping/). */
356
+ vrlTransformationExceptions?: string | undefined;
357
+ /** The VRL program applied to session replays during ingestion. */
358
+ vrlTransformationReplays?: string | undefined;
359
+ /** The VRL program applied to web events, such as page views and web vitals, during ingestion. A new application starts with the default web events program. */
360
+ vrlTransformationWebEvents?: string | undefined;
361
+ /** The VRL program applied to logs collected alongside errors, during ingestion. Read more about [VRL transformations](/docs/logs/using-logtail/transforming-ingested-data/logs-vrl/). */
362
+ vrlTransformationLogs?: string | undefined;
363
+ /** The VRL program applied to spans collected alongside errors, during ingestion. */
364
+ vrlTransformationSpans?: string | undefined;
365
+ /** The baseline multiplier of spike protection, from 0 to 100. Lower values start sampling sooner, and higher values allow bigger bursts before sampling starts. `null` while spike protection is off. */
366
+ spikeProtectionBaselineMultiplier?: number | null | undefined;
367
+ /** The AI prompt used to fix this application's errors, or the default prompt when the application has none of its own. */
368
+ aiPromptTemplate?: string | null | undefined;
369
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. */
370
+ jsTagConfiguration?: ApplicationJsTagConfiguration | null | undefined;
371
+ /** Whether the CNAME record of your own subdomain points to `proxy.betterstack.net`. `null` when `js_tag_configuration` has no `own_domain`. */
372
+ jsTagOwnDomainStatus?: ApplicationJsTagOwnDomainStatus | null | undefined;
373
+ /** The kinds of data the application holds, such as `exceptions`, `logs`, `metrics`, `replays`, `spans` or `web_events`, sorted by name. */
374
+ sourceTypes?: ApplicationSourceTypesList | undefined;
375
+ /** The ID of the telemetry source this application is connected to. `query_collections` names that source's collections. `null` when the application isn't connected to a source. */
376
+ parentSourceId?: string | null | undefined;
377
+ /** The ClickHouse database, table and collections to use when you query the application's data. */
378
+ queryCollections?: ApplicationQueryCollections | undefined;
379
+ /** Ingestion token, the DSN to configure your SDK with. */
380
+ token?: string | Redacted.Redacted<string> | undefined;
381
+ /** The token of the browser tag, separate from `token`. Pass it as the `?t=` value when you load the `/b.js` browser tag. `null` for a platform without a browser tag. */
382
+ jsTagToken?: string | Redacted.Redacted<string> | null | undefined;
383
+ /** The application's table name, which identifies its data in SQL queries. */
384
+ tableName?: string | undefined;
385
+ /** Host to send data to. */
386
+ ingestingHost?: string | undefined;
387
+ /** When the application was created. */
388
+ createdAt?: string | undefined;
389
+ /** When the application was last updated. */
390
+ updatedAt?: string | undefined;
391
+ /** The team that owns the application, such as `t123`. */
392
+ teamId?: string | undefined;
393
+ /** Name of the team that owns the application. */
394
+ teamName?: string | undefined;
395
+ }
396
+ export interface CreateApplicationGroupRequest {
397
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
398
+ teamId?: string | undefined;
399
+ /** Group name. */
400
+ name: string;
401
+ /** Display order among your application groups. Lower values come first. */
402
+ sortIndex?: number | null | undefined;
403
+ }
404
+ export interface ApplicationGroup {
405
+ /** The application_group's id. */
406
+ id: string;
407
+ /** Group name. */
408
+ name?: string | undefined;
409
+ /** Display order among your application groups. Lower values come first. */
410
+ sortIndex?: number | null | undefined;
411
+ /** When the group was created. */
412
+ createdAt?: string | undefined;
413
+ /** When the group was last updated. */
414
+ updatedAt?: string | undefined;
415
+ /** Team that owns the group, such as `t123`. */
416
+ teamId?: string | undefined;
417
+ /** Name of the team that owns the group. */
418
+ teamName?: string | undefined;
419
+ }
420
+ export interface CreateErrorCommentRequest {
421
+ /** The ID of the application, from [List applications](/docs/errors/api/applications/list/). */
422
+ applicationId: string;
423
+ /** The error's `id`, from [List errors](/docs/errors/api/errors/list/). Can contain dots. */
424
+ errorId: string;
425
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
426
+ teamId?: string | undefined;
427
+ /** Comment text, in Markdown. A mention is a `**M_START**{...}**M_END**` block whose `id` is the team member's user ID, such as `**M_START**{"id":"u123"}**M_END**`. To mention someone, send that block with their `u123` ID or e-mail as `id`. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). */
428
+ content: string;
429
+ }
430
+ /** How the comment was posted. `null` when it was written in the web app. */
431
+ export type ErrorCommentPostedVia = "mcp" | "cli" | "ai_sre" | "ai_engineer" | "api" | "slack" | "linear" | "email_reply" | "microsoft_teams" | "policy_step";
432
+ export interface ErrorComment {
433
+ /** The error_comment's id. */
434
+ id: string;
435
+ /** Comment text, in Markdown. A mention is a `**M_START**{...}**M_END**` block whose `id` is the team member's user ID, such as `**M_START**{"id":"u123"}**M_END**`. To mention someone, send that block with their `u123` ID or e-mail as `id`. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). */
436
+ content?: string | undefined;
437
+ /** The comment as plain text, with each mention written as `@name`. */
438
+ plaintextContent?: string | undefined;
439
+ /** Who wrote the comment. A comment created with a team or global API token is signed `Comment added using API`. */
440
+ authorName?: string | undefined;
441
+ /** The author's e-mail, when a Better Stack user wrote the comment. */
442
+ userEmail?: string | null | undefined;
443
+ /** How the comment was posted. `null` when it was written in the web app. */
444
+ postedVia?: ErrorCommentPostedVia | null | undefined;
445
+ /** The Linear issue a synced comment came from, such as `ENG-123`. */
446
+ linearIssue?: string | null | undefined;
447
+ /** The occurrence the comment was left on, as its event ID, or as its timestamp when the occurrence has no ID. `null` for a comment on the error itself. */
448
+ event?: string | null | undefined;
449
+ /** When the comment was created. */
450
+ createdAt?: string | undefined;
451
+ /** When the comment was last updated. */
452
+ updatedAt?: string | undefined;
453
+ }
454
+ export interface CreateErrorIssueRequest {
455
+ /** The ID of the application, from [List applications](/docs/errors/api/applications/list/). */
456
+ applicationId: string;
457
+ /** The error's `id`, from [List errors](/docs/errors/api/errors/list/). Can contain dots. */
458
+ errorId: string;
459
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
460
+ teamId?: string | undefined;
461
+ /** The ID of the Linear or Jira integration to create the issue with. Needed only when your team has several. Leave it out then, and the request is refused with 422 and `integration_ids` lists them. */
462
+ integrationId?: string | undefined;
463
+ /** The issue's title. Defaults to the application's name in brackets, then the error's type and message. */
464
+ title?: string | undefined;
465
+ /** Text added at the top of the issue's description. */
466
+ notes?: string | undefined;
467
+ }
468
+ /** How the link was made. */
469
+ export type ErrorIssueOperation = "created_automatically" | "created_manually" | "linked_manually";
470
+ export interface ErrorIssue {
471
+ /** The error_issue's id. */
472
+ id: string;
473
+ /** The ID of the Linear or Jira integration the issue is linked through. */
474
+ integrationId?: string | undefined;
475
+ /** The tracker, such as `linear` or `jira`. */
476
+ integrationType?: string | undefined;
477
+ /** The issue's ID in the tracker. */
478
+ externalId?: string | undefined;
479
+ /** The issue's identifier in the tracker, such as `ENG-123` or `PROJ-45`. */
480
+ label?: string | undefined;
481
+ /** Link to the issue in the tracker. */
482
+ url?: string | undefined;
483
+ /** How the link was made. */
484
+ operation?: ErrorIssueOperation | undefined;
485
+ }
486
+ export interface CreateErrorsGithubIntegrationRequest {
487
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
488
+ teamId?: string | undefined;
489
+ }
490
+ /** The integration being connected. */
491
+ export type ErrorsIntegrationAuthorizationIntegrationType = "slack" | "linear" | "jira" | "github";
492
+ /** Whether the integration is connected yet. */
493
+ export type ErrorsIntegrationAuthorizationStatus = "pending" | "completed" | "failed" | "expired";
494
+ export interface ErrorsIntegrationAuthorization {
495
+ /** The errors_integration_authorization's id. */
496
+ id: string;
497
+ /** The integration being connected. */
498
+ integrationType?: ErrorsIntegrationAuthorizationIntegrationType | undefined;
499
+ /** Whether the integration is connected yet. */
500
+ status?: ErrorsIntegrationAuthorizationStatus | undefined;
501
+ /** Why connecting failed, as the sign-in page showed it. `null` unless `status` is `failed`. */
502
+ statusReason?: string | null | undefined;
503
+ /** The link that connects the integration. Open it in a browser, sign in to Better Stack, then sign in with the provider. `null` once the link expires or the sign-in ends. A link created with your own sign-in rather than an API token opens only for you. */
504
+ authorizationUrl?: string | null | undefined;
505
+ /** When the link expires, 30 minutes after it was created. A sign-in started before then has 30 more minutes to finish. */
506
+ expiresAt?: string | undefined;
507
+ /** The ID of the connected integration. `null` until `status` is `completed`, and always `null` for GitHub. */
508
+ integrationId?: string | null | undefined;
509
+ /** Team the integration is connected to, such as `t123`. */
510
+ teamId?: string | undefined;
511
+ }
512
+ export interface CreateErrorsJiraIntegrationRequest {
513
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
514
+ teamId?: string | undefined;
515
+ }
516
+ export interface CreateErrorsLinearIntegrationRequest {
517
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
518
+ teamId?: string | undefined;
519
+ }
520
+ export interface CreateErrorsSlackIntegrationRequest {
521
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
522
+ teamId?: string | undefined;
523
+ }
524
+ /** IDs of the applications to register this release on. For a connected application, the release is registered on the application it's connected to. Leave it out to register the release on every application already reporting this version. When no application reports this version, nothing is registered and the response is still 201. */
525
+ export type CreateReleaseRequestApplicationsList = Array<number>;
526
+ /** Environments this release was deployed to. A single string is accepted too. Added to any environments the release already has. */
527
+ export type CreateReleaseRequestEnvironmentList = Array<string>;
528
+ export interface CreateReleaseRequest {
529
+ /** Release version or commit ref. */
530
+ version: string;
531
+ /** IDs of the applications to register this release on. For a connected application, the release is registered on the application it's connected to. Leave it out to register the release on every application already reporting this version. When no application reports this version, nothing is registered and the response is still 201. */
532
+ applications?: CreateReleaseRequestApplicationsList | undefined;
533
+ /** Environments this release was deployed to. A single string is accepted too. Added to any environments the release already has. */
534
+ environment?: CreateReleaseRequestEnvironmentList | undefined;
535
+ /** The team the release is for, as `t123` or as the team ID the Sentry CLI sends as `SENTRY_ORG`. When you send only a version, the release is registered only on this team's applications. An unknown team is refused. */
536
+ teamId?: string | undefined;
537
+ /** The ID of the one Errors application to register the release on, as the Terraform provider sends it (its required `application_id`). Use it or `applications`. */
538
+ applicationId?: number | undefined;
539
+ }
540
+ export interface CreateReleaseResponseReleasesItem {
541
+ /** ID of the registered release. */
542
+ id?: number | undefined;
543
+ /** The application the release was registered on. */
544
+ applicationId?: number | undefined;
545
+ }
546
+ export type CreateReleaseResponseReleasesList = Array<CreateReleaseResponseReleasesItem>;
547
+ /** IDs of the applications the version was registered on. */
548
+ export type CreateReleaseResponseApplicationsList = Array<number>;
549
+ export type CreateReleaseResponseEnvironmentCase1List = Array<string>;
550
+ export type CreateReleaseResponseEnvironment = string | CreateReleaseResponseEnvironmentCase1List;
551
+ export interface CreateReleaseResponse {
552
+ releases: CreateReleaseResponseReleasesList;
553
+ /** The version that was registered. */
554
+ version?: string | undefined;
555
+ /** IDs of the applications the version was registered on. */
556
+ applications?: CreateReleaseResponseApplicationsList | undefined;
557
+ /** The environment as it was sent, a string or a list. `null` when none was sent. */
558
+ environment?: CreateReleaseResponseEnvironment | null | undefined;
559
+ }
560
+ export interface DeleteApplicationRequest {
561
+ id: string;
562
+ /** Set to `true` to delete an application that has received data, together with all of that data. Without it, deleting such an application is refused. */
563
+ force?: boolean | undefined;
564
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
565
+ teamId?: string | undefined;
566
+ }
567
+ export interface DeleteApplicationResponse {
568
+ }
569
+ export interface DeleteApplicationGroupRequest {
570
+ id: string;
571
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
572
+ teamId?: string | undefined;
573
+ }
574
+ export interface DeleteApplicationGroupResponse {
575
+ }
576
+ export interface DeleteErrorIssueRequest {
577
+ /** The ID of the application, from [List applications](/docs/errors/api/applications/list/). */
578
+ applicationId: string;
579
+ /** The error's `id`, from [List errors](/docs/errors/api/errors/list/). Can contain dots. */
580
+ errorId: string;
581
+ /** The linked issue, as its `id` or `label`, such as `ENG-123`, from `linked_issues` in [Get an error](/docs/errors/api/errors/get/). */
582
+ id: string;
583
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
584
+ teamId?: string | undefined;
585
+ }
586
+ export interface DeleteErrorIssueResponse {
587
+ }
588
+ export interface DeleteIgnoredErrorRequest {
589
+ /** The ID of the application the ignored error belongs to, from [List applications](/docs/errors/api/applications/list/). */
590
+ applicationId: string;
591
+ /** The ignored error's `pattern` to remove, from the list of ignored errors. Can contain dots. */
592
+ id: string;
593
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
594
+ teamId?: string | undefined;
595
+ }
596
+ export interface DeleteIgnoredErrorResponse {
597
+ }
598
+ export interface DeleteReleaseRequest {
599
+ id: string;
600
+ }
601
+ export interface DeleteReleaseResponse {
602
+ }
603
+ export interface GetApplicationRequest {
604
+ id: string;
605
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
606
+ teamId?: string | undefined;
607
+ }
608
+ export interface GetApplicationGroupRequest {
609
+ id: string;
610
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
611
+ teamId?: string | undefined;
612
+ }
613
+ export interface GetApplicationMetricRequest {
614
+ /** Application the metric belongs to. */
615
+ applicationId: string;
616
+ /** The metric name. Can contain dots. */
617
+ id: string;
618
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
619
+ teamId?: string | undefined;
620
+ }
621
+ /** Where the metric comes from. */
622
+ export type ApplicationMetricOrigin = "ingested" | "user-defined";
623
+ /** How the metric is stored, which decides how to query it. */
624
+ export type ApplicationMetricLayout = "row-based" | "column-based";
625
+ /** Aggregations stored for the metric, such as `avg`, `max` and `min`. */
626
+ export type ApplicationMetricAggregationsList = Array<string>;
627
+ /** Expressions to select the metric with in a metrics query. Returned by get only. */
628
+ export type ApplicationMetricQueryExamplesList = Array<string>;
629
+ /** Labels seen on an ingested metric in the last 24 hours. `null` for a user-defined metric. Returned by get only. */
630
+ export type ApplicationMetricLabelsList = Array<string>;
631
+ export interface ApplicationMetric {
632
+ /** The application_metric's id. */
633
+ id: string;
634
+ /** Metric name. */
635
+ name?: string | undefined;
636
+ /** The data type the metric is stored as. Ingested metrics are `float64`. A user-defined metric has the type its definition sets. */
637
+ type?: string | undefined;
638
+ /** Where the metric comes from. */
639
+ origin?: ApplicationMetricOrigin | undefined;
640
+ /** How the metric is stored, which decides how to query it. */
641
+ layout?: ApplicationMetricLayout | undefined;
642
+ /** Aggregations stored for the metric, such as `avg`, `max` and `min`. */
643
+ aggregations?: ApplicationMetricAggregationsList | undefined;
644
+ /** Data points received in the last 24 hours. */
645
+ dataPoints?: number | undefined;
646
+ /** Distinct series seen in the last 24 hours. */
647
+ activeSeries?: number | undefined;
648
+ /** The SQL expression a user-defined metric is defined by. `null` for an ingested metric or one defined by `json_dot_notation`. Returned by get only. */
649
+ sqlExpression?: string | null | undefined;
650
+ /** The JSON field a user-defined metric is read from, when it's defined that way. Returned by get only. */
651
+ jsonDotNotation?: string | null | undefined;
652
+ /** Expressions to select the metric with in a metrics query. Returned by get only. */
653
+ queryExamples?: ApplicationMetricQueryExamplesList | undefined;
654
+ /** Labels seen on an ingested metric in the last 24 hours. `null` for a user-defined metric. Returned by get only. */
655
+ labels?: ApplicationMetricLabelsList | null | undefined;
656
+ }
657
+ export interface GetErrorRequest {
658
+ /** The application the error belongs to. */
659
+ applicationId: string;
660
+ /** The ID of the error, a hex string like `6f1c2b9a8e4d7f3012ab45cd`. */
661
+ id: string;
662
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
663
+ teamId?: string | undefined;
664
+ }
665
+ /** The environments the error occurred in, like `production`. List returns only those in the queried time range. */
666
+ export type ErrorEnvironmentsList = Array<string>;
667
+ /** Triage state. */
668
+ export type ErrorState = "unhandled" | "unresolved" | "reoccurred" | "ignored" | "resolved";
669
+ export interface ErrorLinkedIssuesItem {
670
+ /** The link's ID. */
671
+ id?: string | undefined;
672
+ /** The ID of the tracker integration the issue lives in. */
673
+ integrationId?: string | undefined;
674
+ /** The tracker, one of `linear`, `jira` or `gitlab`. */
675
+ integrationType?: string | undefined;
676
+ /** The issue's ID in the tracker. */
677
+ externalId?: string | undefined;
678
+ /** The issue's label in the tracker, like `ENG-123`. */
679
+ label?: string | undefined;
680
+ /** Link to the issue in the tracker. */
681
+ url?: string | undefined;
682
+ /** How the issue was linked, one of `created_automatically`, `created_manually` or `linked_manually`. */
683
+ operation?: string | undefined;
684
+ }
685
+ /** The issues linked to the error in a connected tracker, such as Linear or Jira. Returned by get and update only. */
686
+ export type ErrorLinkedIssuesList = Array<ErrorLinkedIssuesItem>;
687
+ export interface Error {
688
+ /** The error's id. */
689
+ id: string;
690
+ /** The application this error belongs to. */
691
+ applicationId?: string | undefined;
692
+ /** The exception's class or type name. The `type` next to the record's `id` is always `error`. */
693
+ type?: string | undefined;
694
+ /** Exception message. */
695
+ message?: string | undefined;
696
+ /** Function the exception was raised in. */
697
+ callSiteFunction?: string | null | undefined;
698
+ /** Source file the exception was raised in. */
699
+ callSiteFile?: string | null | undefined;
700
+ /** The environments the error occurred in, like `production`. List returns only those in the queried time range. */
701
+ environments?: ErrorEnvironmentsList | undefined;
702
+ /** Triage state. */
703
+ state?: ErrorState | undefined;
704
+ /** When the error first occurred. */
705
+ firstSeenAt?: string | null | undefined;
706
+ /** When the error last occurred. */
707
+ lastSeenAt?: string | null | undefined;
708
+ /** Number of occurrences in the queried time range. Returned by list only. */
709
+ occurrences?: number | null | undefined;
710
+ /** Number of distinct affected users in the queried time range. Returned by list only. */
711
+ affectedUsers?: number | null | undefined;
712
+ /** The ID of the release this error was marked resolved in. */
713
+ resolvedInReleaseId?: string | null | undefined;
714
+ /** The occurrence count at which the ignore ends. `null` when there is no countdown, because the error is ignored forever or isn't ignored. */
715
+ ignoredUntilCount?: number | null | undefined;
716
+ /** The issues linked to the error in a connected tracker, such as Linear or Jira. Returned by get and update only. */
717
+ linkedIssues?: ErrorLinkedIssuesList | undefined;
718
+ /** Link to this error's page in the Better Stack web app. */
719
+ url?: string | undefined;
720
+ }
721
+ export interface GetErrorsGithubIntegrationRequest {
722
+ id: string;
723
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
724
+ teamId?: string | undefined;
725
+ }
726
+ /** Whether the GitHub account is an organization or a user. */
727
+ export type ErrorsGitHubIntegrationAccountType = "Organization" | "User";
728
+ /** The state of the GitHub App on this account. */
729
+ export type ErrorsGitHubIntegrationStatus = "active" | "suspended";
730
+ export interface ErrorsGitHubIntegrationRepositoriesItem {
731
+ /** ID of the repository. */
732
+ id?: number | undefined;
733
+ /** The repository's owner and name, such as `acme/api`. */
734
+ fullName?: string | undefined;
735
+ /** The repository's default branch. */
736
+ defaultBranch?: string | undefined;
737
+ }
738
+ /** The repositories of this GitHub account the team uses. */
739
+ export type ErrorsGitHubIntegrationRepositoriesList = Array<ErrorsGitHubIntegrationRepositoriesItem>;
740
+ export interface ErrorsGitHubIntegration {
741
+ /** The errors_github_integration's id. */
742
+ id: string;
743
+ /** The GitHub user or organization the Better Stack GitHub App is installed on. */
744
+ accountLogin?: string | undefined;
745
+ /** Whether the GitHub account is an organization or a user. */
746
+ accountType?: ErrorsGitHubIntegrationAccountType | undefined;
747
+ /** The state of the GitHub App on this account. */
748
+ status?: ErrorsGitHubIntegrationStatus | undefined;
749
+ /** Whether the GitHub App can push branches and open pull requests. The value is `false` until the account's owner accepts the updated GitHub App permissions on GitHub. */
750
+ canCreatePullRequests?: boolean | undefined;
751
+ /** The GitHub page where the account's owner picks which repositories the GitHub App can access. */
752
+ settingsUrl?: string | undefined;
753
+ /** The repositories of this GitHub account the team uses. */
754
+ repositories?: ErrorsGitHubIntegrationRepositoriesList | undefined;
755
+ /** ID of the team the GitHub account is connected to, such as `t123`. */
756
+ teamId?: string | undefined;
757
+ /** Name of the team the GitHub account is connected to. */
758
+ teamName?: string | undefined;
759
+ }
760
+ export interface GetErrorsIntegrationAuthorizationRequest {
761
+ id: string;
762
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
763
+ teamId?: string | undefined;
764
+ }
765
+ export interface GetErrorsJiraIntegrationRequest {
766
+ /** Get the ID via [List Jira integrations](/docs/errors/api/integrations/jira/list/). */
767
+ id: string;
768
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
769
+ teamId?: string | undefined;
770
+ }
771
+ /** Environments whose errors the integration files work items for. Empty means every environment. */
772
+ export type ErrorsJiraIntegrationApplicationsItemEnvironmentsList = Array<string>;
773
+ export interface ErrorsJiraIntegrationApplicationsItem {
774
+ /** ID of an Error tracking application. */
775
+ applicationId?: number | undefined;
776
+ /** Environments whose errors the integration files work items for. Empty means every environment. */
777
+ environments?: ErrorsJiraIntegrationApplicationsItemEnvironmentsList | undefined;
778
+ }
779
+ /** Applications this integration files work items for, each with its environments. Empty means any application. An update replaces the whole list. */
780
+ export type ErrorsJiraIntegrationApplicationsList = Array<ErrorsJiraIntegrationApplicationsItem>;
781
+ /** Which events file a Jira work item, as under **Automatic work item creation** in the web app. An update changes only the toggles sent. */
782
+ export interface ErrorsJiraIntegrationNotifications {
783
+ /** Application has a spike in errors. */
784
+ spikes?: boolean | undefined;
785
+ /** New error occurs. */
786
+ newErrors?: boolean | undefined;
787
+ /** Error is automatically re-opened. */
788
+ automaticallyReopened?: boolean | undefined;
789
+ /** Error reaches an occurrence milestone of 10, 100, 200, 500 and so on. When this integration already filed a Jira work item for the error, we comment on it instead. */
790
+ occurrenceMilestones?: boolean | undefined;
791
+ /** Error occurs `occurrence_threshold_count` times within `occurrence_threshold_interval`. When this integration already filed a Jira work item for the error, we comment on it instead. */
792
+ occurrenceThreshold?: boolean | undefined;
793
+ /** Error reaches `affected_users_threshold_count` affected users. When this integration already filed a Jira work item for the error, we comment on it instead. */
794
+ affectedUsersThreshold?: boolean | undefined;
795
+ }
796
+ /** Time window for `notifications.occurrence_threshold`. */
797
+ export type ErrorsJiraIntegrationOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
798
+ /** Matches any of these values. */
799
+ export type ErrorsJiraIntegrationTagFilterItemValuesList = Array<string>;
800
+ export interface ErrorsJiraIntegrationTagFilterItem {
801
+ /** Exception tag, such as environment or level. */
802
+ tag?: string | undefined;
803
+ /** Matches any of these values. */
804
+ values?: ErrorsJiraIntegrationTagFilterItemValuesList | undefined;
805
+ }
806
+ /** The tags an error must have to get a work item. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
807
+ export type ErrorsJiraIntegrationTagFilterList = Array<ErrorsJiraIntegrationTagFilterItem>;
808
+ /** More Jira fields set on new work items, keyed by Jira field ID. Each value has the shape of its Jira field type. A list field such as labels accepts a list of `{label, value}` objects, for example `{"labels": [{"label": "outage", "value": "outage"}]}`. A text field accepts a string, for example `{"customfield_10042": "Checkout"}`. A user, team or parent field accepts one `{label, value}` object, and a single-select or priority field the option's ID as a string. A number field accepts a number, and a date picker field an ISO 8601 time such as `2026-12-01T09:00:00Z`. */
809
+ export type ErrorsJiraIntegrationJiraFieldsMap = {
810
+ [key: string]: unknown | undefined;
811
+ };
812
+ export interface ErrorsJiraIntegration {
813
+ /** The errors_jira_integration's id. */
814
+ id: string;
815
+ /** Applications this integration files work items for, each with its environments. Empty means any application. An update replaces the whole list. */
816
+ applications?: ErrorsJiraIntegrationApplicationsList | undefined;
817
+ /** Which events file a Jira work item, as under **Automatic work item creation** in the web app. An update changes only the toggles sent. */
818
+ notifications?: ErrorsJiraIntegrationNotifications | undefined;
819
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
820
+ occurrenceThresholdCount?: number | undefined;
821
+ /** Time window for `notifications.occurrence_threshold`. */
822
+ occurrenceThresholdInterval?: ErrorsJiraIntegrationOccurrenceThresholdInterval | undefined;
823
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
824
+ affectedUsersThresholdCount?: number | undefined;
825
+ /** The tags an error must have to get a work item. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
826
+ tagFilter?: ErrorsJiraIntegrationTagFilterList | undefined;
827
+ /** Integration name. */
828
+ name?: string | undefined;
829
+ /** Jira site the integration is connected to. */
830
+ jiraSiteUrl?: string | null | undefined;
831
+ /** The key of the Jira space work items are created in. */
832
+ jiraProjectKey?: string | undefined;
833
+ /** The ID of the Jira work type new work items get. */
834
+ jiraIssueTypeId?: string | undefined;
835
+ /** More Jira fields set on new work items, keyed by Jira field ID. Each value has the shape of its Jira field type. A list field such as labels accepts a list of `{label, value}` objects, for example `{"labels": [{"label": "outage", "value": "outage"}]}`. A text field accepts a string, for example `{"customfield_10042": "Checkout"}`. A user, team or parent field accepts one `{label, value}` object, and a single-select or priority field the option's ID as a string. A number field accepts a number, and a date picker field an ISO 8601 time such as `2026-12-01T09:00:00Z`. */
836
+ jiraFields?: ErrorsJiraIntegrationJiraFieldsMap | undefined;
837
+ /** ID of the team that owns the integration, such as `t123`. */
838
+ teamId?: string | undefined;
839
+ /** Name of the team that owns the integration. */
840
+ teamName?: string | undefined;
841
+ }
842
+ export interface GetErrorsLinearIntegrationRequest {
843
+ /** Get the ID via [List Linear integrations](/docs/errors/api/integrations/linear/list/). */
844
+ id: string;
845
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
846
+ teamId?: string | undefined;
847
+ }
848
+ /** Environments whose errors the integration files issues for. Empty means every environment. */
849
+ export type ErrorsLinearIntegrationApplicationsItemEnvironmentsList = Array<string>;
850
+ export interface ErrorsLinearIntegrationApplicationsItem {
851
+ /** ID of an Error tracking application. */
852
+ applicationId?: number | undefined;
853
+ /** Environments whose errors the integration files issues for. Empty means every environment. */
854
+ environments?: ErrorsLinearIntegrationApplicationsItemEnvironmentsList | undefined;
855
+ }
856
+ /** Applications this integration files issues for, each with its environments. Empty means any application. An update replaces the whole list. */
857
+ export type ErrorsLinearIntegrationApplicationsList = Array<ErrorsLinearIntegrationApplicationsItem>;
858
+ /** Which events file a Linear issue, as under **Automatic issue creation** in the web app. An update changes only the toggles sent. */
859
+ export interface ErrorsLinearIntegrationNotifications {
860
+ /** Application has a spike in errors. */
861
+ spikes?: boolean | undefined;
862
+ /** New error occurs. */
863
+ newErrors?: boolean | undefined;
864
+ /** Error is automatically re-opened. */
865
+ automaticallyReopened?: boolean | undefined;
866
+ /** Error reaches an occurrence milestone of 10, 100, 200, 500 and so on. When this integration already filed a Linear issue for the error, we comment on it instead. */
867
+ occurrenceMilestones?: boolean | undefined;
868
+ /** Error occurs `occurrence_threshold_count` times within `occurrence_threshold_interval`. When this integration already filed a Linear issue for the error, we comment on it instead. */
869
+ occurrenceThreshold?: boolean | undefined;
870
+ /** Error reaches `affected_users_threshold_count` affected users. When this integration already filed a Linear issue for the error, we comment on it instead. */
871
+ affectedUsersThreshold?: boolean | undefined;
872
+ }
873
+ /** Time window for `notifications.occurrence_threshold`. */
874
+ export type ErrorsLinearIntegrationOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
875
+ /** Matches any of these values. */
876
+ export type ErrorsLinearIntegrationTagFilterItemValuesList = Array<string>;
877
+ export interface ErrorsLinearIntegrationTagFilterItem {
878
+ /** Exception tag, such as environment or level. */
879
+ tag?: string | undefined;
880
+ /** Matches any of these values. */
881
+ values?: ErrorsLinearIntegrationTagFilterItemValuesList | undefined;
882
+ }
883
+ /** The tags an error must have to get an issue. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
884
+ export type ErrorsLinearIntegrationTagFilterList = Array<ErrorsLinearIntegrationTagFilterItem>;
885
+ /** The IDs of the Linear labels added to new issues. An update replaces the whole list. */
886
+ export type ErrorsLinearIntegrationLinearLabelIdsList = Array<string>;
887
+ /** Priority of new issues. */
888
+ export type ErrorsLinearIntegrationLinearPriority = "no_priority" | "urgent" | "high" | "medium" | "low";
889
+ export interface ErrorsLinearIntegration {
890
+ /** The errors_linear_integration's id. */
891
+ id: string;
892
+ /** Applications this integration files issues for, each with its environments. Empty means any application. An update replaces the whole list. */
893
+ applications?: ErrorsLinearIntegrationApplicationsList | undefined;
894
+ /** Which events file a Linear issue, as under **Automatic issue creation** in the web app. An update changes only the toggles sent. */
895
+ notifications?: ErrorsLinearIntegrationNotifications | undefined;
896
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
897
+ occurrenceThresholdCount?: number | undefined;
898
+ /** Time window for `notifications.occurrence_threshold`. */
899
+ occurrenceThresholdInterval?: ErrorsLinearIntegrationOccurrenceThresholdInterval | undefined;
900
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
901
+ affectedUsersThresholdCount?: number | undefined;
902
+ /** The tags an error must have to get an issue. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
903
+ tagFilter?: ErrorsLinearIntegrationTagFilterList | undefined;
904
+ /** Integration name. */
905
+ name?: string | undefined;
906
+ /** The ID of the Linear team issues are created in. To get the Linear IDs, pick them once on the integration's **Configure** page and read them back via [Get a Linear integration](/docs/errors/api/integrations/linear/get/). Changing the team clears `linear_status_id`, `linear_resolved_status_id`, `linear_project_id` and `linear_label_ids` unless the same request sets them. `null` clears it. */
907
+ linearTeamId?: string | null | undefined;
908
+ /** The ID of the Linear user new issues are assigned to. `null` clears it. Reads return an empty string when none is set. */
909
+ linearAssigneeId?: string | null | undefined;
910
+ /** The IDs of the Linear labels added to new issues. An update replaces the whole list. */
911
+ linearLabelIds?: ErrorsLinearIntegrationLinearLabelIdsList | undefined;
912
+ /** Priority of new issues. */
913
+ linearPriority?: ErrorsLinearIntegrationLinearPriority | undefined;
914
+ /** The ID of the Linear status new issues get. Empty means the Linear team's default status. `null` clears it. Reads return an empty string when none is set. */
915
+ linearStatusId?: string | null | undefined;
916
+ /** The ID of the Linear project new issues are added to. `null` clears it. Reads return an empty string when none is set. */
917
+ linearProjectId?: string | null | undefined;
918
+ /** Resolve the error when its Linear issue is done, and move the issue to `linear_resolved_status_id` when the error is resolved. Moving the issue works only when `linear_resolved_status_id` is set. */
919
+ autoResolve?: boolean | undefined;
920
+ /** The ID of the Linear status an issue moves to when its error is resolved. `null` clears it. Reads return an empty string when none is set. */
921
+ linearResolvedStatusId?: string | null | undefined;
922
+ /** Reopen the Linear issue when its error is automatically re-opened, moving the issue back to `linear_status_id`. Works only when `linear_status_id` and `linear_resolved_status_id` are both set. */
923
+ autoReopen?: boolean | undefined;
924
+ /** Share comments between errors and their linked Linear issues. */
925
+ syncComments?: boolean | undefined;
926
+ /** ID of the team that owns the integration, such as `t123`. */
927
+ teamId?: string | undefined;
928
+ /** Name of the team that owns the integration. */
929
+ teamName?: string | undefined;
930
+ }
931
+ export interface GetErrorsMicrosoftTeamsIntegrationRequest {
932
+ /** Get the ID via [List Microsoft Teams integrations](/docs/errors/api/integrations/microsoft-teams/list/). */
933
+ id: string;
934
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
935
+ teamId?: string | undefined;
936
+ }
937
+ /** Which events post to the channels, as under **Notify me when** in the web app. An update changes only the toggles sent. */
938
+ export interface ErrorsMicrosoftTeamsIntegrationNotifications {
939
+ /** Application has a spike in errors. */
940
+ spikes?: boolean | undefined;
941
+ /** Spike protection starts sampling exceptions. */
942
+ spikeProtection?: boolean | undefined;
943
+ /** New release is observed. */
944
+ newReleases?: boolean | undefined;
945
+ /** New error occurs. */
946
+ newErrors?: boolean | undefined;
947
+ /** Error reaches an occurrence milestone of 10, 100, 200, 500 and so on. */
948
+ occurrenceMilestones?: boolean | undefined;
949
+ /** Error occurs `occurrence_threshold_count` times within `occurrence_threshold_interval`. */
950
+ occurrenceThreshold?: boolean | undefined;
951
+ /** Error is automatically re-opened. */
952
+ automaticallyReopened?: boolean | undefined;
953
+ /** Error reaches `affected_users_threshold_count` affected users. */
954
+ affectedUsersThreshold?: boolean | undefined;
955
+ }
956
+ /** Time window for `notifications.occurrence_threshold`. */
957
+ export type ErrorsMicrosoftTeamsIntegrationOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
958
+ /** Matches any of these values. */
959
+ export type ErrorsMicrosoftTeamsIntegrationTagFilterItemValuesList = Array<string>;
960
+ export interface ErrorsMicrosoftTeamsIntegrationTagFilterItem {
961
+ /** Exception tag, such as environment or level. */
962
+ tag?: string | undefined;
963
+ /** Matches any of these values. */
964
+ values?: ErrorsMicrosoftTeamsIntegrationTagFilterItemValuesList | undefined;
965
+ }
966
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
967
+ export type ErrorsMicrosoftTeamsIntegrationTagFilterList = Array<ErrorsMicrosoftTeamsIntegrationTagFilterItem>;
968
+ /** The environments whose errors the route sends, such as `production`. Empty means every environment. */
969
+ export type ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsItemEnvironmentsList = Array<string>;
970
+ export interface ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsItem {
971
+ /** The ID of the application whose errors the route sends. */
972
+ applicationId?: number | undefined;
973
+ /** The environments whose errors the route sends, such as `production`. Empty means every environment. */
974
+ environments?: ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsItemEnvironmentsList | undefined;
975
+ }
976
+ /** Applications whose errors this route sends, each with its environments. Empty means any application. */
977
+ export type ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsList = Array<ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsItem>;
978
+ export interface ErrorsMicrosoftTeamsIntegrationRoutesItemChannelsItem {
979
+ /** Microsoft Teams channel ID of a standard channel in the team the app was added to. */
980
+ id?: string | undefined;
981
+ /** Channel name, as Teams lists it. */
982
+ name?: string | undefined;
983
+ }
984
+ /** Channels the route posts to. At least one. */
985
+ export type ErrorsMicrosoftTeamsIntegrationRoutesItemChannelsList = Array<ErrorsMicrosoftTeamsIntegrationRoutesItemChannelsItem>;
986
+ export interface ErrorsMicrosoftTeamsIntegrationRoutesItem {
987
+ /** Applications whose errors this route sends, each with its environments. Empty means any application. */
988
+ applications?: ErrorsMicrosoftTeamsIntegrationRoutesItemApplicationsList | undefined;
989
+ /** Channels the route posts to. At least one. */
990
+ channels?: ErrorsMicrosoftTeamsIntegrationRoutesItemChannelsList | undefined;
991
+ }
992
+ /** Which applications' errors go to which channels. An application that isn't in any route gets no messages, unless one of the routes has no applications. Empty means everything goes to the channel the app was added to. An update replaces the whole list. */
993
+ export type ErrorsMicrosoftTeamsIntegrationRoutesList = Array<ErrorsMicrosoftTeamsIntegrationRoutesItem>;
994
+ export interface ErrorsMicrosoftTeamsIntegration {
995
+ /** The errors_microsoft_teams_integration's id. */
996
+ id: string;
997
+ /** Which events post to the channels, as under **Notify me when** in the web app. An update changes only the toggles sent. */
998
+ notifications?: ErrorsMicrosoftTeamsIntegrationNotifications | undefined;
999
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
1000
+ occurrenceThresholdCount?: number | undefined;
1001
+ /** Time window for `notifications.occurrence_threshold`. */
1002
+ occurrenceThresholdInterval?: ErrorsMicrosoftTeamsIntegrationOccurrenceThresholdInterval | undefined;
1003
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
1004
+ affectedUsersThresholdCount?: number | undefined;
1005
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1006
+ tagFilter?: ErrorsMicrosoftTeamsIntegrationTagFilterList | undefined;
1007
+ /** Microsoft Teams team the Better Stack app was added to. */
1008
+ microsoftTeamsTeamName?: string | null | undefined;
1009
+ /** Channel the app was added to, which gets every error while `routes` is empty. */
1010
+ microsoftTeamsChannelName?: string | null | undefined;
1011
+ /** Which applications' errors go to which channels. An application that isn't in any route gets no messages, unless one of the routes has no applications. Empty means everything goes to the channel the app was added to. An update replaces the whole list. */
1012
+ routes?: ErrorsMicrosoftTeamsIntegrationRoutesList | undefined;
1013
+ /** ID of the team that owns the integration, such as `t123`. */
1014
+ teamId?: string | undefined;
1015
+ /** Name of the team that owns the integration. */
1016
+ teamName?: string | undefined;
1017
+ }
1018
+ export interface GetErrorsSlackIntegrationRequest {
1019
+ /** Get the ID via [List Slack integrations](/docs/errors/api/integrations/slack/list/). */
1020
+ id: string;
1021
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1022
+ teamId?: string | undefined;
1023
+ }
1024
+ /** Environments whose errors the integration posts. Empty means every environment. */
1025
+ export type ErrorsSlackIntegrationApplicationsItemEnvironmentsList = Array<string>;
1026
+ export interface ErrorsSlackIntegrationApplicationsItem {
1027
+ /** ID of an Error tracking application. */
1028
+ applicationId?: number | undefined;
1029
+ /** Environments whose errors the integration posts. Empty means every environment. */
1030
+ environments?: ErrorsSlackIntegrationApplicationsItemEnvironmentsList | undefined;
1031
+ }
1032
+ /** Applications whose errors this integration posts, each with its environments. Empty means any application. An update replaces the whole list. */
1033
+ export type ErrorsSlackIntegrationApplicationsList = Array<ErrorsSlackIntegrationApplicationsItem>;
1034
+ /** Which events post to the channel, as under **Notify me when** in the web app. An update changes only the toggles sent. */
1035
+ export type ErrorsSlackIntegrationNotifications = ErrorsMicrosoftTeamsIntegrationNotifications;
1036
+ /** Time window for `notifications.occurrence_threshold`. */
1037
+ export type ErrorsSlackIntegrationOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
1038
+ /** Matches any of these values. */
1039
+ export type ErrorsSlackIntegrationTagFilterItemValuesList = Array<string>;
1040
+ export interface ErrorsSlackIntegrationTagFilterItem {
1041
+ /** Exception tag, such as environment or level. */
1042
+ tag?: string | undefined;
1043
+ /** Matches any of these values. */
1044
+ values?: ErrorsSlackIntegrationTagFilterItemValuesList | undefined;
1045
+ }
1046
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1047
+ export type ErrorsSlackIntegrationTagFilterList = Array<ErrorsSlackIntegrationTagFilterItem>;
1048
+ /** How updates are posted to Slack. */
1049
+ export type ErrorsSlackIntegrationPostUpdates = "single_channel" | "thread_based";
1050
+ export interface ErrorsSlackIntegration {
1051
+ /** The errors_slack_integration's id. */
1052
+ id: string;
1053
+ /** Applications whose errors this integration posts, each with its environments. Empty means any application. An update replaces the whole list. */
1054
+ applications?: ErrorsSlackIntegrationApplicationsList | undefined;
1055
+ /** Which events post to the channel, as under **Notify me when** in the web app. An update changes only the toggles sent. */
1056
+ notifications?: ErrorsMicrosoftTeamsIntegrationNotifications | undefined;
1057
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
1058
+ occurrenceThresholdCount?: number | undefined;
1059
+ /** Time window for `notifications.occurrence_threshold`. */
1060
+ occurrenceThresholdInterval?: ErrorsSlackIntegrationOccurrenceThresholdInterval | undefined;
1061
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
1062
+ affectedUsersThresholdCount?: number | undefined;
1063
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1064
+ tagFilter?: ErrorsSlackIntegrationTagFilterList | undefined;
1065
+ /** The Slack workspace the channel is in. */
1066
+ slackTeamName?: string | undefined;
1067
+ /** Slack channel errors are posted to. */
1068
+ slackChannelName?: string | undefined;
1069
+ /** How updates are posted to Slack. */
1070
+ postUpdates?: ErrorsSlackIntegrationPostUpdates | undefined;
1071
+ /** With `thread_based`, also send important updates to the channel. Important updates are resolved and re-opened errors, spikes, and errors reaching an occurrence milestone. */
1072
+ broadcastUpdates?: boolean | undefined;
1073
+ /** Start an AI SRE conversation when Better Stack is tagged in the channel. */
1074
+ aiSreOnMention?: boolean | undefined;
1075
+ /** ID of the team that owns the integration, such as `t123`. */
1076
+ teamId?: string | undefined;
1077
+ /** Name of the team that owns the integration. */
1078
+ teamName?: string | undefined;
1079
+ }
1080
+ export interface GetReleaseRequest {
1081
+ id: string;
1082
+ }
1083
+ /** Environments this release was deployed to. Registering only a version, without `applications`, adds the environment to that version's release on every application that has one. */
1084
+ export type ReleaseEnvironmentsList = Array<string>;
1085
+ /** How the release first became known. */
1086
+ export type ReleaseOrigin = "detected" | "reported";
1087
+ export interface Release {
1088
+ /** The release's id. */
1089
+ id: string;
1090
+ /** Release version or commit ref. */
1091
+ version?: string | undefined;
1092
+ /** The application this release belongs to. */
1093
+ applicationId?: number | undefined;
1094
+ /** Environments this release was deployed to. Registering only a version, without `applications`, adds the environment to that version's release on every application that has one. */
1095
+ environments?: ReleaseEnvironmentsList | undefined;
1096
+ /** How the release first became known. */
1097
+ origin?: ReleaseOrigin | undefined;
1098
+ /** When the release was registered or first seen in an event, whichever came first. Later registrations and events don't change it. */
1099
+ firstSeenAt?: string | undefined;
1100
+ /** When an event last carried the release. A registered release shows its registration time until its first event. `null` for a release with no event since this field was added. */
1101
+ lastSeenAt?: string | null | undefined;
1102
+ /** When the release was created. */
1103
+ createdAt?: string | undefined;
1104
+ /** When the release was last updated. */
1105
+ updatedAt?: string | undefined;
1106
+ }
1107
+ export interface GetRumGroupRequest {
1108
+ /** The RUM application the group was seen in. */
1109
+ applicationId: string;
1110
+ /** The group's `id` from listing RUM groups. For a group sent without an ID, the `id` is its name. */
1111
+ id: string;
1112
+ /** Start of the time range in ISO 8601. Defaults to 14 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1113
+ from?: string | undefined;
1114
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1115
+ to?: string | undefined;
1116
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1117
+ teamId?: string | undefined;
1118
+ }
1119
+ export interface RumGroup {
1120
+ /** The rum_group's id. */
1121
+ id: string;
1122
+ /** The application the group was seen in. */
1123
+ applicationId?: string | undefined;
1124
+ /** The group's ID as the application sent it. `null` for a group sent with a name only. */
1125
+ groupId?: string | null | undefined;
1126
+ /** The group's latest name. `null` when the application sent none. */
1127
+ name?: string | null | undefined;
1128
+ /** When the group was first seen in the time range. */
1129
+ firstSeenAt?: string | null | undefined;
1130
+ /** When the group was last seen in the time range. */
1131
+ lastSeenAt?: string | null | undefined;
1132
+ /** Number of the group's users seen in the time range. */
1133
+ userCount?: number | undefined;
1134
+ /** Number of the group's sessions with a session replay in the time range. */
1135
+ sessionCount?: number | undefined;
1136
+ /** Number of errors the group's users ran into in the time range. */
1137
+ errorCount?: number | undefined;
1138
+ /** Number of session replays recorded for the group in the time range. */
1139
+ replayCount?: number | undefined;
1140
+ /** Link to the Users page in the Better Stack web app, filtered to this group. */
1141
+ usersUrl?: string | undefined;
1142
+ /** Link to the Sessions page in the Better Stack web app, filtered to this group. */
1143
+ sessionsUrl?: string | undefined;
1144
+ }
1145
+ export interface GetRumSessionRequest {
1146
+ /** The RUM application the session was recorded in. */
1147
+ applicationId: string;
1148
+ /** The session's `id` from listing RUM sessions. */
1149
+ id: string;
1150
+ /** Start of the time range to look for the session in, in ISO 8601. Defaults to 90 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1151
+ from?: string | undefined;
1152
+ /** End of the time range to look for the session in, in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1153
+ to?: string | undefined;
1154
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1155
+ teamId?: string | undefined;
1156
+ }
1157
+ /** Whether the session was resolved on the Sessions page. */
1158
+ export type RumSessionState = "unresolved" | "resolved";
1159
+ export interface RumSessionReplaysItem {
1160
+ /** The replay's ID. */
1161
+ id?: string | undefined;
1162
+ /** When the replay's recording started. */
1163
+ firstSeenAt?: string | undefined;
1164
+ /** When the replay last recorded activity. */
1165
+ lastSeenAt?: string | undefined;
1166
+ }
1167
+ /** The session's replays, oldest first. Returned by get only. */
1168
+ export type RumSessionReplaysList = Array<RumSessionReplaysItem>;
1169
+ export interface RumSessionTimelineItem {
1170
+ /** When the entry happened. */
1171
+ at?: string | undefined;
1172
+ /** One of `page_view`, `click`, `event`, `error` or `trace`. An `event` is any other web event, such as `session-start` or a custom event. */
1173
+ type?: string | undefined;
1174
+ /** The web event's name, the error's type, or the name of the trace's first span. */
1175
+ name?: string | undefined;
1176
+ /** The page the entry happened on. */
1177
+ url?: string | undefined;
1178
+ /** For a click, the element clicked, such as `button#buy`. */
1179
+ target?: string | undefined;
1180
+ /** For an error, the error's ID. Get the error's details with [Get an error](/docs/errors/api/errors/get/). */
1181
+ errorId?: string | undefined;
1182
+ /** For an error, its message. */
1183
+ message?: string | undefined;
1184
+ /** For a trace, its ID. */
1185
+ traceId?: string | undefined;
1186
+ /** For a trace, the number of its spans from this session. */
1187
+ spanCount?: number | undefined;
1188
+ /** For a trace, milliseconds from its first span's start to its last span's end. */
1189
+ durationMs?: number | undefined;
1190
+ }
1191
+ /** What happened in the session, oldest first. Holds page views, clicks, other web events, errors and traces, at most 500 entries. Returned by get only. */
1192
+ export type RumSessionTimelineList = Array<RumSessionTimelineItem>;
1193
+ export interface RumSession {
1194
+ /** The rum_session's id. */
1195
+ id: string;
1196
+ /** The application the session was recorded in. */
1197
+ applicationId?: string | undefined;
1198
+ /** The identifier of the session's signed-in user, the same as the user's `id` in RUM users. `null` for an anonymous visitor. */
1199
+ userIdentifier?: string | null | undefined;
1200
+ /** The signed-in user's `email`, or their `username` or IP address when there's no e-mail, as the Sessions page shows it. `null` when the application sent none of them. */
1201
+ userName?: string | null | undefined;
1202
+ /** The ID of the user's group. `null` when the application sent none. */
1203
+ groupId?: string | null | undefined;
1204
+ /** The name of the user's group. `null` when the application sent none. */
1205
+ groupName?: string | null | undefined;
1206
+ /** The country the session came from. `null` when it isn't known. */
1207
+ country?: string | null | undefined;
1208
+ /** The city the session came from. `null` when it isn't known. */
1209
+ city?: string | null | undefined;
1210
+ /** The browser. `null` when it isn't known. */
1211
+ browser?: string | null | undefined;
1212
+ /** The operating system. `null` when it isn't known. */
1213
+ os?: string | null | undefined;
1214
+ /** The browser's user agent, as the replay recorded it. `null` when it isn't known. */
1215
+ userAgent?: string | null | undefined;
1216
+ /** The first page of the session. `null` when no page was recorded. */
1217
+ firstUrl?: string | null | undefined;
1218
+ /** The last page of the session. `null` when no page was recorded. */
1219
+ lastUrl?: string | null | undefined;
1220
+ /** Number of distinct pages visited. */
1221
+ pageCount?: number | undefined;
1222
+ /** Number of clicks the session replay recorded. */
1223
+ clickCount?: number | undefined;
1224
+ /** Number of errors the session ran into. */
1225
+ errorCount?: number | undefined;
1226
+ /** Number of session replays recorded in the session. */
1227
+ replayCount?: number | undefined;
1228
+ /** When the session started. */
1229
+ firstSeenAt?: string | null | undefined;
1230
+ /** When the session was last active. */
1231
+ lastSeenAt?: string | null | undefined;
1232
+ /** Seconds from the session's start to its last activity. */
1233
+ durationSeconds?: number | null | undefined;
1234
+ /** Whether the session was resolved on the Sessions page. */
1235
+ state?: RumSessionState | undefined;
1236
+ /** Link to the session's page in the Better Stack web app, where its replay plays. */
1237
+ url?: string | undefined;
1238
+ /** The session's replays, oldest first. Returned by get only. */
1239
+ replays?: RumSessionReplaysList | undefined;
1240
+ /** What happened in the session, oldest first. Holds page views, clicks, other web events, errors and traces, at most 500 entries. Returned by get only. */
1241
+ timeline?: RumSessionTimelineList | undefined;
1242
+ /** Whether the session holds more than the 500 timeline entries returned. Returned by get only. */
1243
+ timelineTruncated?: boolean | undefined;
1244
+ }
1245
+ export interface GetRumUserRequest {
1246
+ /** The RUM application the user was seen in. */
1247
+ applicationId: string;
1248
+ /** The user's `id` from listing RUM users, the user ID or e-mail the application sent. */
1249
+ id: string;
1250
+ /** Start of the time range in ISO 8601. Defaults to 14 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1251
+ from?: string | undefined;
1252
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1253
+ to?: string | undefined;
1254
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1255
+ teamId?: string | undefined;
1256
+ }
1257
+ /** The `utm_` campaign parameters of the user's latest visit, keyed without the prefix as `source`, `medium`, `campaign`, `term` and `content`. Holds only the ones sent. */
1258
+ export type RumUserUtmMap = {
1259
+ [key: string]: string | undefined;
1260
+ };
1261
+ export interface RumUser {
1262
+ /** The rum_user's id. */
1263
+ id: string;
1264
+ /** The application the user was seen in. */
1265
+ applicationId?: string | undefined;
1266
+ /** The user's latest `email`, or their `username` or IP address when there's no e-mail, as the Users page shows it. `null` when the application sent none of them. */
1267
+ name?: string | null | undefined;
1268
+ /** The ID of the user's latest group, such as their company. `null` when the application sent none. */
1269
+ groupId?: string | null | undefined;
1270
+ /** The name of the user's latest group. `null` when the application sent none. */
1271
+ groupName?: string | null | undefined;
1272
+ /** The country the user was last seen in. `null` when it isn't known. */
1273
+ country?: string | null | undefined;
1274
+ /** The city the user was last seen in. `null` when it isn't known. */
1275
+ city?: string | null | undefined;
1276
+ /** Where the user's latest visit came from. `null` when it isn't known. */
1277
+ referrer?: string | null | undefined;
1278
+ /** The `utm_` campaign parameters of the user's latest visit, keyed without the prefix as `source`, `medium`, `campaign`, `term` and `content`. Holds only the ones sent. */
1279
+ utm?: RumUserUtmMap | undefined;
1280
+ /** When the user was first seen in the time range. */
1281
+ firstSeenAt?: string | null | undefined;
1282
+ /** When the user was last seen in the time range. */
1283
+ lastSeenAt?: string | null | undefined;
1284
+ /** Number of errors the user ran into in the time range. */
1285
+ errorCount?: number | undefined;
1286
+ /** Number of the user's sessions with a session replay in the time range. */
1287
+ sessionCount?: number | undefined;
1288
+ /** Link to the Sessions page in the Better Stack web app, filtered to this user. */
1289
+ sessionsUrl?: string | undefined;
1290
+ }
1291
+ export interface LinkErrorIssueRequest {
1292
+ /** The ID of the application, from [List applications](/docs/errors/api/applications/list/). */
1293
+ applicationId: string;
1294
+ /** The error's `id`, from [List errors](/docs/errors/api/errors/list/). Can contain dots. */
1295
+ errorId: string;
1296
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1297
+ teamId?: string | undefined;
1298
+ /** The issue to link, as a Linear issue identifier such as `ENG-123`, a Jira work item key such as `PROJ-45`, or the issue's URL. */
1299
+ issue: string;
1300
+ /** The ID of the Linear or Jira integration the issue belongs to. Needed only when your team has several. Leave it out then, and the request is refused with 422 and `integration_ids` lists them. */
1301
+ integrationId?: string | undefined;
1302
+ }
1303
+ export interface ListApplicationRequest {
1304
+ /** Sort by `created_at`, `updated_at` or `name`. Put `-` before it to sort in descending order, like `-created_at`. Defaults to creation order. Any other value is ignored, and ties are ordered by ID. */
1305
+ sort?: string | undefined;
1306
+ /** Only applications whose name contains this text, ignoring letter case. */
1307
+ name?: string | undefined;
1308
+ /** Page to return, starting at 1. */
1309
+ page?: number | undefined;
1310
+ /** Results per page. */
1311
+ perPage?: number | undefined;
1312
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1313
+ teamId?: string | undefined;
1314
+ }
1315
+ export type ApplicationListDataList = Array<Application>;
1316
+ export interface ApplicationList {
1317
+ data: ApplicationListDataList;
1318
+ pagination?: PaginationPageNumber | undefined;
1319
+ }
1320
+ export type ListApplicationFieldRequestSourceType = "logs" | "spans" | "exceptions" | "web_events";
1321
+ export interface ListApplicationFieldRequest {
1322
+ /** Application whose fields are listed. */
1323
+ applicationId: string;
1324
+ /** The kind of data whose fields are listed. */
1325
+ sourceType?: ListApplicationFieldRequestSourceType | (string & {}) | undefined;
1326
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1327
+ teamId?: string | undefined;
1328
+ }
1329
+ /** The path split into segments, each single-quoted, ready to pass to `JSONExtract` in a query, such as `'error', 'message'`. */
1330
+ export type ApplicationFieldPathPartsList = Array<string>;
1331
+ export interface ApplicationField {
1332
+ /** The application_field's id. */
1333
+ id: string;
1334
+ /** The field's path in the log or span, such as `error.message`. */
1335
+ path?: string | undefined;
1336
+ /** The path split into segments, each single-quoted, ready to pass to `JSONExtract` in a query, such as `'error', 'message'`. */
1337
+ pathParts?: ApplicationFieldPathPartsList | undefined;
1338
+ /** The field's data type, such as `String` or `Int64`. */
1339
+ type?: string | undefined;
1340
+ }
1341
+ export type ApplicationFieldListDataList = Array<ApplicationField>;
1342
+ export interface ApplicationFieldList {
1343
+ data?: ApplicationFieldListDataList | undefined;
1344
+ }
1345
+ export interface ListApplicationGroupRequest {
1346
+ /** Page to return, starting at 1. */
1347
+ page?: number | undefined;
1348
+ /** Results per page. */
1349
+ perPage?: number | undefined;
1350
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1351
+ teamId?: string | undefined;
1352
+ }
1353
+ export type ApplicationGroupListDataList = Array<ApplicationGroup>;
1354
+ export interface ApplicationGroupList {
1355
+ data: ApplicationGroupListDataList;
1356
+ pagination?: PaginationPageNumber | undefined;
1357
+ }
1358
+ export type ListApplicationMetricRequestOrder = "cardinality" | "catalog";
1359
+ export interface ListApplicationMetricRequest {
1360
+ /** Application whose metrics are listed. */
1361
+ applicationId: string;
1362
+ /** The order the metrics are listed in. */
1363
+ order?: ListApplicationMetricRequestOrder | (string & {}) | undefined;
1364
+ /** Only metrics whose name matches, ignoring letter case. Use `prefix*`, `*contains*`, `*suffix` or an exact name. */
1365
+ nameFilter?: string | undefined;
1366
+ /** Page to return, starting at 1. */
1367
+ page?: number | undefined;
1368
+ /** Results per page. */
1369
+ perPage?: number | undefined;
1370
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1371
+ teamId?: string | undefined;
1372
+ }
1373
+ export type ListApplicationMetricResponseDataList = Array<ApplicationMetric>;
1374
+ export interface ListApplicationMetricResponse {
1375
+ data: ListApplicationMetricResponseDataList;
1376
+ pagination?: PaginationPageNumber | undefined;
1377
+ /** Whether the usage of user-defined metrics was measured. `false` when it couldn't be measured in time, so their `data_points` and `active_series` read 0. */
1378
+ usageAvailable?: boolean | undefined;
1379
+ }
1380
+ export interface ListDataRegionRequest {
1381
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1382
+ teamId?: string | undefined;
1383
+ }
1384
+ /** The kind of place the data is stored in. */
1385
+ export type DataRegionKind = "region" | "dedicated_cluster";
1386
+ export interface DataRegion {
1387
+ /** The data_region's id. */
1388
+ id: string;
1389
+ /** The region's or cluster's name, such as `Europe` or `United States`. */
1390
+ name?: string | undefined;
1391
+ /** The kind of place the data is stored in. */
1392
+ kind?: DataRegionKind | undefined;
1393
+ }
1394
+ export type DataRegionListDataList = Array<DataRegion>;
1395
+ export interface DataRegionList {
1396
+ data?: DataRegionListDataList | undefined;
1397
+ }
1398
+ export type ListErrorRequestOrderBy = "last_seen" | "first_seen" | "exceptions_count" | "users_count";
1399
+ export interface ListErrorRequest {
1400
+ /** The application to list errors for. */
1401
+ applicationId: string;
1402
+ /** One of `all`, `new`, `unresolved`, `ignored`, `resolved`, `reoccurred` and `unhandled`. Defaults to `unresolved`, which includes `unhandled` and `reoccurred`. `new` is unresolved errors with no linked issue, incident or pull request. */
1403
+ state?: string | undefined;
1404
+ /** Start of the time range in ISO 8601. Defaults to 3 days ago. */
1405
+ from?: string | undefined;
1406
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from`. */
1407
+ to?: string | undefined;
1408
+ /** Only errors seen in this environment. */
1409
+ environment?: string | undefined;
1410
+ /** Only errors seen in this release. */
1411
+ release?: string | undefined;
1412
+ /** Only errors whose type or message contains this text, ignoring letter case. */
1413
+ query?: string | undefined;
1414
+ /** Sort order. Defaults to `last_seen`. */
1415
+ orderBy?: ListErrorRequestOrderBy | (string & {}) | undefined;
1416
+ /** Page to return, starting at 1. */
1417
+ page?: number | undefined;
1418
+ /** Results per page. */
1419
+ perPage?: number | undefined;
1420
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1421
+ teamId?: string | undefined;
1422
+ }
1423
+ export type ErrorListDataList = Array<Error>;
1424
+ export interface ErrorList {
1425
+ data: ErrorListDataList;
1426
+ pagination?: PaginationPageNumber | undefined;
1427
+ }
1428
+ export interface ListErrorCommentRequest {
1429
+ /** The ID of the application, from [List applications](/docs/errors/api/applications/list/). */
1430
+ applicationId: string;
1431
+ /** The error's `id`, from [List errors](/docs/errors/api/errors/list/). Can contain dots. */
1432
+ errorId: string;
1433
+ /** Page to return, starting at 1. */
1434
+ page?: number | undefined;
1435
+ /** Results per page. */
1436
+ perPage?: number | undefined;
1437
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1438
+ teamId?: string | undefined;
1439
+ }
1440
+ export type ErrorCommentListDataList = Array<ErrorComment>;
1441
+ export interface ErrorCommentList {
1442
+ data: ErrorCommentListDataList;
1443
+ pagination?: PaginationPageNumber | undefined;
1444
+ }
1445
+ export interface ListErrorsGithubIntegrationRequest {
1446
+ /** Page to return, starting at 1. */
1447
+ page?: number | undefined;
1448
+ /** Results per page. */
1449
+ perPage?: number | undefined;
1450
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1451
+ teamId?: string | undefined;
1452
+ }
1453
+ export type ErrorsGitHubIntegrationListDataList = Array<ErrorsGitHubIntegration>;
1454
+ export interface ErrorsGitHubIntegrationList {
1455
+ data: ErrorsGitHubIntegrationListDataList;
1456
+ pagination?: PaginationPageNumber | undefined;
1457
+ }
1458
+ export interface ListErrorsJiraIntegrationRequest {
1459
+ /** Page to return, starting at 1. */
1460
+ page?: number | undefined;
1461
+ /** Results per page. */
1462
+ perPage?: number | undefined;
1463
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1464
+ teamId?: string | undefined;
1465
+ }
1466
+ export type ErrorsJiraIntegrationListDataList = Array<ErrorsJiraIntegration>;
1467
+ export interface ErrorsJiraIntegrationList {
1468
+ data: ErrorsJiraIntegrationListDataList;
1469
+ pagination?: PaginationPageNumber | undefined;
1470
+ }
1471
+ export interface ListErrorsLinearIntegrationRequest {
1472
+ /** Page to return, starting at 1. */
1473
+ page?: number | undefined;
1474
+ /** Results per page. */
1475
+ perPage?: number | undefined;
1476
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1477
+ teamId?: string | undefined;
1478
+ }
1479
+ export type ErrorsLinearIntegrationListDataList = Array<ErrorsLinearIntegration>;
1480
+ export interface ErrorsLinearIntegrationList {
1481
+ data: ErrorsLinearIntegrationListDataList;
1482
+ pagination?: PaginationPageNumber | undefined;
1483
+ }
1484
+ export interface ListErrorsMicrosoftTeamsIntegrationRequest {
1485
+ /** Page to return, starting at 1. */
1486
+ page?: number | undefined;
1487
+ /** Results per page. */
1488
+ perPage?: number | undefined;
1489
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1490
+ teamId?: string | undefined;
1491
+ }
1492
+ export type ErrorsMicrosoftTeamsIntegrationListDataList = Array<ErrorsMicrosoftTeamsIntegration>;
1493
+ export interface ErrorsMicrosoftTeamsIntegrationList {
1494
+ data: ErrorsMicrosoftTeamsIntegrationListDataList;
1495
+ pagination?: PaginationPageNumber | undefined;
1496
+ }
1497
+ export interface ListErrorsSlackIntegrationRequest {
1498
+ /** Page to return, starting at 1. */
1499
+ page?: number | undefined;
1500
+ /** Results per page. */
1501
+ perPage?: number | undefined;
1502
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1503
+ teamId?: string | undefined;
1504
+ }
1505
+ export type ErrorsSlackIntegrationListDataList = Array<ErrorsSlackIntegration>;
1506
+ export interface ErrorsSlackIntegrationList {
1507
+ data: ErrorsSlackIntegrationListDataList;
1508
+ pagination?: PaginationPageNumber | undefined;
1509
+ }
1510
+ export interface ListIgnoredErrorRequest {
1511
+ /** The ID of the application to list ignored errors for, from [List applications](/docs/errors/api/applications/list/). */
1512
+ applicationId: string;
1513
+ /** Page to return, starting at 1. */
1514
+ page?: number | undefined;
1515
+ /** Results per page. */
1516
+ perPage?: number | undefined;
1517
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1518
+ teamId?: string | undefined;
1519
+ }
1520
+ export interface IgnoredError {
1521
+ /** The ignored_error's id. */
1522
+ id: string;
1523
+ /** The pattern of the ignored error, the same as the error's `id`. */
1524
+ pattern?: string | undefined;
1525
+ /** A note to recognize the error by, usually its type and message when it was ignored. `null` when there's none. */
1526
+ comment?: string | null | undefined;
1527
+ }
1528
+ export type IgnoredErrorListDataList = Array<IgnoredError>;
1529
+ export interface IgnoredErrorList {
1530
+ data: IgnoredErrorListDataList;
1531
+ pagination?: PaginationPageNumber | undefined;
1532
+ }
1533
+ export interface ListReleaseRequest {
1534
+ /** Only releases of this application. */
1535
+ applicationId?: string | undefined;
1536
+ /** Only releases with exactly this version. */
1537
+ version?: string | undefined;
1538
+ /** Only releases deployed to this environment. Repeat the parameter for several environments, as in `?environment[]=staging&environment[]=production`. A release matches if it has any of them. */
1539
+ environment?: string | undefined;
1540
+ /** Only releases first seen at or after this time. */
1541
+ from?: string | undefined;
1542
+ /** Only releases first seen at or before this time. */
1543
+ to?: string | undefined;
1544
+ /** Page to return, starting at 1. */
1545
+ page?: number | undefined;
1546
+ /** Results per page. */
1547
+ perPage?: number | undefined;
1548
+ }
1549
+ export type ReleaseListDataList = Array<Release>;
1550
+ export interface ReleaseList {
1551
+ data: ReleaseListDataList;
1552
+ pagination?: PaginationPageNumber | undefined;
1553
+ }
1554
+ export type ListRumGroupRequestOrderBy = "last_seen" | "first_seen" | "user_count" | "session_count";
1555
+ export interface ListRumGroupRequest {
1556
+ /** The RUM application to list groups of. */
1557
+ applicationId: string;
1558
+ /** Start of the time range in ISO 8601. Defaults to 14 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1559
+ from?: string | undefined;
1560
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1561
+ to?: string | undefined;
1562
+ /** Only groups whose ID or name contains this text, ignoring letter case. */
1563
+ query?: string | undefined;
1564
+ /** Sort order. Defaults to `last_seen`. */
1565
+ orderBy?: ListRumGroupRequestOrderBy | (string & {}) | undefined;
1566
+ /** Page to return, starting at 1. */
1567
+ page?: number | undefined;
1568
+ /** Results per page. */
1569
+ perPage?: number | undefined;
1570
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1571
+ teamId?: string | undefined;
1572
+ }
1573
+ export type RumGroupListDataList = Array<RumGroup>;
1574
+ export interface RumGroupList {
1575
+ data: RumGroupListDataList;
1576
+ pagination?: PaginationPageNumber | undefined;
1577
+ }
1578
+ export type ListRumSessionRequestState = "all" | "unresolved" | "resolved";
1579
+ export type ListRumSessionRequestOrderBy = "last_seen" | "duration" | "page_count" | "click_count" | "error_count";
1580
+ export interface ListRumSessionRequest {
1581
+ /** The RUM application to list sessions of. */
1582
+ applicationId: string;
1583
+ /** Start of the time range in ISO 8601. Defaults to 14 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1584
+ from?: string | undefined;
1585
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1586
+ to?: string | undefined;
1587
+ /** Only sessions of this user, by the user's `id` from listing RUM users. */
1588
+ userId?: string | undefined;
1589
+ /** Only sessions of this group's users, by the group's `id` from listing RUM groups. */
1590
+ groupId?: string | undefined;
1591
+ /** Only sessions in this state. Defaults to `all`. */
1592
+ state?: ListRumSessionRequestState | (string & {}) | undefined;
1593
+ /** `true` lists only sessions that ran into an error, `false` only sessions that didn't. */
1594
+ hasErrors?: boolean | undefined;
1595
+ /** Sort order. Defaults to `last_seen`. */
1596
+ orderBy?: ListRumSessionRequestOrderBy | (string & {}) | undefined;
1597
+ /** Page to return, starting at 1. */
1598
+ page?: number | undefined;
1599
+ /** Results per page. */
1600
+ perPage?: number | undefined;
1601
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1602
+ teamId?: string | undefined;
1603
+ }
1604
+ export type RumSessionListDataList = Array<RumSession>;
1605
+ export interface RumSessionList {
1606
+ data: RumSessionListDataList;
1607
+ pagination?: PaginationPageNumber | undefined;
1608
+ }
1609
+ export interface ListRumSessionSegmentRequest {
1610
+ /** The RUM application the session was recorded in. */
1611
+ applicationId: string;
1612
+ /** The session's `id` from listing RUM sessions. */
1613
+ sessionId: string;
1614
+ /** Start of the time range to look for the session in, in ISO 8601. Defaults to 90 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1615
+ from?: string | undefined;
1616
+ /** End of the time range to look for the session in, in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1617
+ to?: string | undefined;
1618
+ /** Page to return, starting at 1. */
1619
+ page?: number | undefined;
1620
+ /** Results per page. */
1621
+ perPage?: number | undefined;
1622
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1623
+ teamId?: string | undefined;
1624
+ }
1625
+ /** The segment's rrweb events, in the format the rrweb player reads. */
1626
+ export type RumSessionSegmentEventsList = Array<unknown>;
1627
+ export interface RumSessionSegment {
1628
+ /** The rum_session_segment's id. */
1629
+ id: string;
1630
+ /** The replay the segment belongs to. */
1631
+ replayId?: string | undefined;
1632
+ /** The segment's number in its replay, from 0. */
1633
+ segmentId?: number | undefined;
1634
+ /** When the segment was recorded. */
1635
+ at?: string | null | undefined;
1636
+ /** The segment's rrweb events, in the format the rrweb player reads. */
1637
+ events?: RumSessionSegmentEventsList | undefined;
1638
+ }
1639
+ export type RumSessionSegmentListDataList = Array<RumSessionSegment>;
1640
+ /** Paged with `page` and `per_page`. The response has a `pagination` object of page URLs. */
1641
+ export type PaginationInlineRumSessionSegmentList = PaginationPageNumber;
1642
+ export interface RumSessionSegmentList {
1643
+ data: RumSessionSegmentListDataList;
1644
+ pagination?: PaginationPageNumber | undefined;
1645
+ }
1646
+ export type ListRumUserRequestOrderBy = "last_seen" | "first_seen" | "error_count" | "session_count";
1647
+ export interface ListRumUserRequest {
1648
+ /** The RUM application to list users of. */
1649
+ applicationId: string;
1650
+ /** Start of the time range in ISO 8601. Defaults to 14 days before `to`. RUM data is kept for 90 days, so an earlier `from` counts from 90 days ago. */
1651
+ from?: string | undefined;
1652
+ /** End of the time range in ISO 8601. Defaults to now. Must be after `from` and within the last 90 days. */
1653
+ to?: string | undefined;
1654
+ /** Only users whose identifier or name contains this text, ignoring letter case. */
1655
+ query?: string | undefined;
1656
+ /** Only users of this group, by its ID, or by its name for a group sent without an ID. */
1657
+ groupId?: string | undefined;
1658
+ /** Sort order. Defaults to `last_seen`. */
1659
+ orderBy?: ListRumUserRequestOrderBy | (string & {}) | undefined;
1660
+ /** Page to return, starting at 1. */
1661
+ page?: number | undefined;
1662
+ /** Results per page. */
1663
+ perPage?: number | undefined;
1664
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1665
+ teamId?: string | undefined;
1666
+ }
1667
+ export type RumUserListDataList = Array<RumUser>;
1668
+ export interface RumUserList {
1669
+ data: RumUserListDataList;
1670
+ pagination?: PaginationPageNumber | undefined;
1671
+ }
1672
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
1673
+ export interface UpdateApplicationRequestCustomBucket {
1674
+ /** The access key ID to write to the bucket with. */
1675
+ accessKeyId?: string | Redacted.Redacted<string> | undefined;
1676
+ /** The secret access key for `access_key_id`. Write-only. */
1677
+ secretAccessKey?: string | Redacted.Redacted<string> | undefined;
1678
+ }
1679
+ /** The features the JavaScript tag collects, each on or off. */
1680
+ export type UpdateApplicationRequestJsTagConfigurationCollect = CreateApplicationRequestJsTagConfigurationCollect;
1681
+ /** Sampling rates of the JavaScript tag, as percentages. */
1682
+ export type UpdateApplicationRequestJsTagConfigurationSampling = CreateApplicationRequestJsTagConfigurationSampling;
1683
+ /** CSS selectors of elements excluded from session replays and autocapture. */
1684
+ export type UpdateApplicationRequestJsTagConfigurationExcludeSelectorsList = Array<string>;
1685
+ /** CSS selectors of elements whose text session replays mask. */
1686
+ export type UpdateApplicationRequestJsTagConfigurationMaskSelectorsList = Array<string>;
1687
+ /** Your other domains to share sessions with. */
1688
+ export type UpdateApplicationRequestJsTagConfigurationSharedSessionDomainsList = Array<string>;
1689
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. An update changes only the keys you send, inside `collect` and `sampling` too. Only `custom_config` and `own_domain` accept `null`. */
1690
+ export interface UpdateApplicationRequestJsTagConfiguration {
1691
+ /** The features the JavaScript tag collects, each on or off. */
1692
+ collect?: CreateApplicationRequestJsTagConfigurationCollect | undefined;
1693
+ /** Sampling rates of the JavaScript tag, as percentages. */
1694
+ sampling?: CreateApplicationRequestJsTagConfigurationSampling | undefined;
1695
+ /** CSS selectors of elements excluded from session replays and autocapture. */
1696
+ excludeSelectors?: UpdateApplicationRequestJsTagConfigurationExcludeSelectorsList | undefined;
1697
+ /** CSS selectors of elements whose text session replays mask. */
1698
+ maskSelectors?: UpdateApplicationRequestJsTagConfigurationMaskSelectorsList | undefined;
1699
+ /** Your other domains to share sessions with. */
1700
+ sharedSessionDomains?: UpdateApplicationRequestJsTagConfigurationSharedSessionDomainsList | undefined;
1701
+ /** Continue sessions that arrive from your other domains. */
1702
+ acceptIncomingSessions?: boolean | undefined;
1703
+ /** Also share sessions through forms that submit to your other domains. */
1704
+ decorateForms?: boolean | undefined;
1705
+ /** JavaScript code the tag runs when it loads. Send `null` to remove it. */
1706
+ customConfig?: string | null | undefined;
1707
+ /** Session timeout in minutes, from 1 to 60. */
1708
+ sessionTimeoutMinutes?: number | undefined;
1709
+ /** Seconds between batches of events, at least 2. */
1710
+ eventsBatchIntervalSeconds?: number | undefined;
1711
+ /** Your own subdomain to serve the tag from. The subdomain's CNAME record must point to `proxy.betterstack.net`. Send `null` to remove it. */
1712
+ ownDomain?: string | null | undefined;
1713
+ }
1714
+ export interface UpdateApplicationRequest {
1715
+ id: string;
1716
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1717
+ teamId?: string | undefined;
1718
+ /** Application name. */
1719
+ name?: string | undefined;
1720
+ /** The ID of the application group to put this application in, from [List application groups](/docs/errors/api/applications-groups/list/). On update, send `null` to move it out of its group. */
1721
+ applicationGroupId?: string | null | undefined;
1722
+ /** Whether ingestion is paused for this application. */
1723
+ ingestingPaused?: boolean | undefined;
1724
+ /** Days to keep errors. Accepts one of the retention periods your plan offers, or the value already set. Defaults to your plan's default retention, or to a longer one your other applications already use. */
1725
+ errorsRetention?: number | undefined;
1726
+ /** Days to keep web events. Accepts one of the retention periods your plan offers, or the value already set. A connected application's web events retention is set on its connected source. */
1727
+ webEventsRetention?: number | undefined;
1728
+ /** Days to keep session replays. Accepts one of the retention periods your plan offers, or the value already set. A change applies to every application connected to the same source. Only an application that records session replays accepts it. `null` can't be sent. */
1729
+ replaysRetention?: number | null | undefined;
1730
+ /** The linked GitHub repository for source-code mapping, as `owner/name`, such as `acme/web`. Connect it to your team with the [GitHub integration](/docs/errors/integrations/github/) first. Send an empty string to disconnect it. Can't be set together with `gitlab_repository_name`. */
1731
+ githubRepositoryName?: string | null | undefined;
1732
+ /** The linked GitLab repository for source-code mapping, as `group/name`, such as `acme/web`, from your connected repositories. Send an empty string to disconnect it. Can't be set together with `github_repository_name`. */
1733
+ gitlabRepositoryName?: string | null | undefined;
1734
+ /** The absolute path to the root of the stack trace on your server, such as `/usr/src/app/`. Stack frames under it are mapped to files in the linked repository. */
1735
+ codeMappingStackRoot?: string | null | undefined;
1736
+ /** The path from your repository's root to the deployed source code, such as `apps/backend/`. A stack frame's path under `code_mapping_stack_root` is looked up under this path in the linked repository. */
1737
+ codeMappingSourceRoot?: string | null | undefined;
1738
+ /** Your own S3-compatible bucket to archive data in, or `null` when the application uses Better Stack storage. Changing only `access_key_id` and `secret_access_key` rotates the bucket's key pair. */
1739
+ customBucket?: UpdateApplicationRequestCustomBucket | null | undefined;
1740
+ /** The VRL program that groups incoming exceptions into errors. A new application starts with its platform's default grouping, which groups exceptions by error name and call stack on most platforms. Read more about [exception grouping](/docs/errors/using-the-product/exception-grouping/). Send an empty string to remove it. Send `null` to go back to the default grouping. */
1741
+ vrlTransformationExceptions?: string | undefined;
1742
+ /** The VRL program applied to session replays during ingestion. Send an empty string to remove it. */
1743
+ vrlTransformationReplays?: string | undefined;
1744
+ /** The VRL program applied to web events, such as page views and web vitals, during ingestion. A new application starts with the default web events program. Send an empty string to remove it. Send `null` to go back to the default web events program. */
1745
+ vrlTransformationWebEvents?: string | undefined;
1746
+ /** The VRL program applied to logs collected alongside errors, during ingestion. Read more about [VRL transformations](/docs/logs/using-logtail/transforming-ingested-data/logs-vrl/). Send an empty string to remove it. */
1747
+ vrlTransformationLogs?: string | undefined;
1748
+ /** The VRL program applied to spans collected alongside errors, during ingestion. Send an empty string to remove it. */
1749
+ vrlTransformationSpans?: string | undefined;
1750
+ /** The baseline multiplier of spike protection, from 0 to 100. Lower values start sampling sooner, and higher values allow bigger bursts before sampling starts. `null` while spike protection is off. Send `null` to turn spike protection off. */
1751
+ spikeProtectionBaselineMultiplier?: number | null | undefined;
1752
+ /** The AI prompt used to fix this application's errors, or the default prompt when the application has none of its own. Send `null` to go back to the default prompt. A blank prompt is refused. */
1753
+ aiPromptTemplate?: string | null | undefined;
1754
+ /** Settings of the JavaScript tag, as on the application's **Frontend** page. `null` for an application without a JavaScript tag. An update changes only the keys you send, inside `collect` and `sampling` too. Only `custom_config` and `own_domain` accept `null`. */
1755
+ jsTagConfiguration?: UpdateApplicationRequestJsTagConfiguration | null | undefined;
1756
+ }
1757
+ export interface UpdateApplicationGroupRequest {
1758
+ id: string;
1759
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1760
+ teamId?: string | undefined;
1761
+ /** Group name. */
1762
+ name: string;
1763
+ /** Display order among your application groups. Lower values come first. */
1764
+ sortIndex?: number | null | undefined;
1765
+ }
1766
+ /** Triage state. */
1767
+ export type UpdateErrorRequestState = "unhandled" | "unresolved" | "reoccurred" | "ignored" | "resolved";
1768
+ /** Set to `current` to resolve the error in the application's current release, the highest version seen in the last week. Use it with `state` set to `resolved`. The error reopens only if it occurs in a newer release. Needs at least one recorded release. */
1769
+ export type UpdateErrorRequestResolveInRelease = "current";
1770
+ export interface UpdateErrorRequest {
1771
+ /** The application the error belongs to. */
1772
+ applicationId: string;
1773
+ /** The ID of the error, a hex string like `6f1c2b9a8e4d7f3012ab45cd`. */
1774
+ id: string;
1775
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1776
+ teamId?: string | undefined;
1777
+ /** Triage state. */
1778
+ state: UpdateErrorRequestState | (string & {});
1779
+ /** With `state` set to `ignored`, ignore only the next 1, 10, 100 or 1000 occurrences instead of ignoring the error forever. Needs the error's current occurrence count to be available, otherwise the update is refused with 422. */
1780
+ ignoreNextCount?: number | undefined;
1781
+ /** Whether to notify on every occurrence of this error, not only when it first appears or reoccurs. */
1782
+ notifyEveryException?: boolean | undefined;
1783
+ /** Set to `current` to resolve the error in the application's current release, the highest version seen in the last week. Use it with `state` set to `resolved`. The error reopens only if it occurs in a newer release. Needs at least one recorded release. */
1784
+ resolveInRelease?: UpdateErrorRequestResolveInRelease | (string & {}) | undefined;
1785
+ }
1786
+ export interface UpdateErrorsGithubIntegrationRequestRepositoriesItem {
1787
+ /** ID of the repository. */
1788
+ id?: string | undefined;
1789
+ }
1790
+ /** The repositories of this GitHub account the team uses. Send the repositories to keep, each by its `id`. The others are removed from the team. To add one, connect GitHub again. */
1791
+ export type UpdateErrorsGithubIntegrationRequestRepositoriesList = Array<UpdateErrorsGithubIntegrationRequestRepositoriesItem>;
1792
+ export interface UpdateErrorsGithubIntegrationRequest {
1793
+ id: string;
1794
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1795
+ teamId?: string | undefined;
1796
+ /** The repositories of this GitHub account the team uses. Send the repositories to keep, each by its `id`. The others are removed from the team. To add one, connect GitHub again. */
1797
+ repositories?: UpdateErrorsGithubIntegrationRequestRepositoriesList | undefined;
1798
+ }
1799
+ /** Environments whose errors the integration files work items for. Empty means every environment. */
1800
+ export type UpdateErrorsJiraIntegrationRequestApplicationsItemEnvironmentsList = Array<string>;
1801
+ export interface UpdateErrorsJiraIntegrationRequestApplicationsItem {
1802
+ /** ID of an Error tracking application. */
1803
+ applicationId?: string | undefined;
1804
+ /** Environments whose errors the integration files work items for. Empty means every environment. */
1805
+ environments?: UpdateErrorsJiraIntegrationRequestApplicationsItemEnvironmentsList | undefined;
1806
+ }
1807
+ /** Applications this integration files work items for, each with its environments. Empty means any application. An update replaces the whole list. */
1808
+ export type UpdateErrorsJiraIntegrationRequestApplicationsList = Array<UpdateErrorsJiraIntegrationRequestApplicationsItem>;
1809
+ /** Which events file a Jira work item, as under **Automatic work item creation** in the web app. An update changes only the toggles sent. */
1810
+ export type UpdateErrorsJiraIntegrationRequestNotifications = ErrorsJiraIntegrationNotifications;
1811
+ /** Time window for `notifications.occurrence_threshold`. */
1812
+ export type UpdateErrorsJiraIntegrationRequestOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
1813
+ /** Matches any of these values. */
1814
+ export type UpdateErrorsJiraIntegrationRequestTagFilterItemValuesList = Array<string>;
1815
+ export interface UpdateErrorsJiraIntegrationRequestTagFilterItem {
1816
+ /** Exception tag, such as environment or level. */
1817
+ tag?: string | undefined;
1818
+ /** Matches any of these values. */
1819
+ values?: UpdateErrorsJiraIntegrationRequestTagFilterItemValuesList | undefined;
1820
+ }
1821
+ /** The tags an error must have to get a work item. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
1822
+ export type UpdateErrorsJiraIntegrationRequestTagFilterList = Array<UpdateErrorsJiraIntegrationRequestTagFilterItem>;
1823
+ /** More Jira fields set on new work items, keyed by Jira field ID. Each value has the shape of its Jira field type. A list field such as labels accepts a list of `{label, value}` objects, for example `{"labels": [{"label": "outage", "value": "outage"}]}`. A text field accepts a string, for example `{"customfield_10042": "Checkout"}`. A user, team or parent field accepts one `{label, value}` object, and a single-select or priority field the option's ID as a string. A number field accepts a number, and a date picker field an ISO 8601 time such as `2026-12-01T09:00:00Z`. */
1824
+ export type UpdateErrorsJiraIntegrationRequestJiraFieldsMap = {
1825
+ [key: string]: unknown | undefined;
1826
+ };
1827
+ export interface UpdateErrorsJiraIntegrationRequest {
1828
+ id: string;
1829
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1830
+ teamId?: string | undefined;
1831
+ /** Applications this integration files work items for, each with its environments. Empty means any application. An update replaces the whole list. */
1832
+ applications?: UpdateErrorsJiraIntegrationRequestApplicationsList | undefined;
1833
+ /** Which events file a Jira work item, as under **Automatic work item creation** in the web app. An update changes only the toggles sent. */
1834
+ notifications?: ErrorsJiraIntegrationNotifications | undefined;
1835
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
1836
+ occurrenceThresholdCount?: number | undefined;
1837
+ /** Time window for `notifications.occurrence_threshold`. */
1838
+ occurrenceThresholdInterval?: UpdateErrorsJiraIntegrationRequestOccurrenceThresholdInterval | (string & {}) | undefined;
1839
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
1840
+ affectedUsersThresholdCount?: number | undefined;
1841
+ /** The tags an error must have to get a work item. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
1842
+ tagFilter?: UpdateErrorsJiraIntegrationRequestTagFilterList | undefined;
1843
+ /** Integration name. */
1844
+ name?: string | undefined;
1845
+ /** The key of the Jira space work items are created in. When you change it, send `jira_issue_type_id` in the same request. A change also clears `jira_fields` unless you send them too. */
1846
+ jiraProjectKey?: string | undefined;
1847
+ /** The ID of the Jira work type new work items get. */
1848
+ jiraIssueTypeId?: string | undefined;
1849
+ /** More Jira fields set on new work items, keyed by Jira field ID. Each value has the shape of its Jira field type. A list field such as labels accepts a list of `{label, value}` objects, for example `{"labels": [{"label": "outage", "value": "outage"}]}`. A text field accepts a string, for example `{"customfield_10042": "Checkout"}`. A user, team or parent field accepts one `{label, value}` object, and a single-select or priority field the option's ID as a string. A number field accepts a number, and a date picker field an ISO 8601 time such as `2026-12-01T09:00:00Z`. */
1850
+ jiraFields?: UpdateErrorsJiraIntegrationRequestJiraFieldsMap | undefined;
1851
+ }
1852
+ /** Environments whose errors the integration files issues for. Empty means every environment. */
1853
+ export type UpdateErrorsLinearIntegrationRequestApplicationsItemEnvironmentsList = Array<string>;
1854
+ export interface UpdateErrorsLinearIntegrationRequestApplicationsItem {
1855
+ /** ID of an Error tracking application. */
1856
+ applicationId?: string | undefined;
1857
+ /** Environments whose errors the integration files issues for. Empty means every environment. */
1858
+ environments?: UpdateErrorsLinearIntegrationRequestApplicationsItemEnvironmentsList | undefined;
1859
+ }
1860
+ /** Applications this integration files issues for, each with its environments. Empty means any application. An update replaces the whole list. */
1861
+ export type UpdateErrorsLinearIntegrationRequestApplicationsList = Array<UpdateErrorsLinearIntegrationRequestApplicationsItem>;
1862
+ /** Which events file a Linear issue, as under **Automatic issue creation** in the web app. An update changes only the toggles sent. */
1863
+ export type UpdateErrorsLinearIntegrationRequestNotifications = ErrorsLinearIntegrationNotifications;
1864
+ /** Time window for `notifications.occurrence_threshold`. */
1865
+ export type UpdateErrorsLinearIntegrationRequestOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
1866
+ /** Matches any of these values. */
1867
+ export type UpdateErrorsLinearIntegrationRequestTagFilterItemValuesList = Array<string>;
1868
+ export interface UpdateErrorsLinearIntegrationRequestTagFilterItem {
1869
+ /** Exception tag, such as environment or level. */
1870
+ tag?: string | undefined;
1871
+ /** Matches any of these values. */
1872
+ values?: UpdateErrorsLinearIntegrationRequestTagFilterItemValuesList | undefined;
1873
+ }
1874
+ /** The tags an error must have to get an issue. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
1875
+ export type UpdateErrorsLinearIntegrationRequestTagFilterList = Array<UpdateErrorsLinearIntegrationRequestTagFilterItem>;
1876
+ /** The IDs of the Linear labels added to new issues. An update replaces the whole list. */
1877
+ export type UpdateErrorsLinearIntegrationRequestLinearLabelIdsList = Array<string>;
1878
+ /** Priority of new issues. */
1879
+ export type UpdateErrorsLinearIntegrationRequestLinearPriority = "no_priority" | "urgent" | "high" | "medium" | "low";
1880
+ export interface UpdateErrorsLinearIntegrationRequest {
1881
+ /** The ID of the Errors Linear integration to update, in the URL of its Configure page. */
1882
+ id: string;
1883
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1884
+ teamId?: string | undefined;
1885
+ /** Applications this integration files issues for, each with its environments. Empty means any application. An update replaces the whole list. */
1886
+ applications?: UpdateErrorsLinearIntegrationRequestApplicationsList | undefined;
1887
+ /** Which events file a Linear issue, as under **Automatic issue creation** in the web app. An update changes only the toggles sent. */
1888
+ notifications?: ErrorsLinearIntegrationNotifications | undefined;
1889
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
1890
+ occurrenceThresholdCount?: number | undefined;
1891
+ /** Time window for `notifications.occurrence_threshold`. */
1892
+ occurrenceThresholdInterval?: UpdateErrorsLinearIntegrationRequestOccurrenceThresholdInterval | (string & {}) | undefined;
1893
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
1894
+ affectedUsersThresholdCount?: number | undefined;
1895
+ /** The tags an error must have to get an issue. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. */
1896
+ tagFilter?: UpdateErrorsLinearIntegrationRequestTagFilterList | undefined;
1897
+ /** Integration name. */
1898
+ name?: string | undefined;
1899
+ /** The ID of the Linear team issues are created in. To get the Linear IDs, pick them once on the integration's **Configure** page and read them back via [Get a Linear integration](/docs/errors/api/integrations/linear/get/). Changing the team clears `linear_status_id`, `linear_resolved_status_id`, `linear_project_id` and `linear_label_ids` unless the same request sets them. `null` clears it. */
1900
+ linearTeamId?: string | null | undefined;
1901
+ /** The ID of the Linear user new issues are assigned to. `null` clears it. Reads return an empty string when none is set. */
1902
+ linearAssigneeId?: string | null | undefined;
1903
+ /** The IDs of the Linear labels added to new issues. An update replaces the whole list. */
1904
+ linearLabelIds?: UpdateErrorsLinearIntegrationRequestLinearLabelIdsList | undefined;
1905
+ /** Priority of new issues. */
1906
+ linearPriority?: UpdateErrorsLinearIntegrationRequestLinearPriority | (string & {}) | undefined;
1907
+ /** The ID of the Linear status new issues get. Empty means the Linear team's default status. `null` clears it. Reads return an empty string when none is set. */
1908
+ linearStatusId?: string | null | undefined;
1909
+ /** The ID of the Linear project new issues are added to. `null` clears it. Reads return an empty string when none is set. */
1910
+ linearProjectId?: string | null | undefined;
1911
+ /** Resolve the error when its Linear issue is done, and move the issue to `linear_resolved_status_id` when the error is resolved. Moving the issue works only when `linear_resolved_status_id` is set. */
1912
+ autoResolve?: boolean | undefined;
1913
+ /** The ID of the Linear status an issue moves to when its error is resolved. `null` clears it. Reads return an empty string when none is set. */
1914
+ linearResolvedStatusId?: string | null | undefined;
1915
+ /** Reopen the Linear issue when its error is automatically re-opened, moving the issue back to `linear_status_id`. Works only when `linear_status_id` and `linear_resolved_status_id` are both set. */
1916
+ autoReopen?: boolean | undefined;
1917
+ /** Share comments between errors and their linked Linear issues. */
1918
+ syncComments?: boolean | undefined;
1919
+ }
1920
+ /** Which events post to the channels, as under **Notify me when** in the web app. An update changes only the toggles sent. */
1921
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestNotifications = ErrorsMicrosoftTeamsIntegrationNotifications;
1922
+ /** Time window for `notifications.occurrence_threshold`. */
1923
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
1924
+ /** Matches any of these values. */
1925
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterItemValuesList = Array<string>;
1926
+ export interface UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterItem {
1927
+ /** Exception tag, such as environment or level. */
1928
+ tag?: string | undefined;
1929
+ /** Matches any of these values. */
1930
+ values?: UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterItemValuesList | undefined;
1931
+ }
1932
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1933
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterList = Array<UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterItem>;
1934
+ /** The environments whose errors the route sends, such as `production`. Empty means every environment. */
1935
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsItemEnvironmentsList = Array<string>;
1936
+ export interface UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsItem {
1937
+ /** The ID of the application whose errors the route sends. */
1938
+ applicationId?: string | undefined;
1939
+ /** The environments whose errors the route sends, such as `production`. Empty means every environment. */
1940
+ environments?: UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsItemEnvironmentsList | undefined;
1941
+ }
1942
+ /** Applications whose errors this route sends, each with its environments. Empty means any application. */
1943
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsList = Array<UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsItem>;
1944
+ export interface UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemChannelsItem {
1945
+ /** Microsoft Teams channel ID of a standard channel in the team the app was added to. */
1946
+ id?: string | undefined;
1947
+ }
1948
+ /** Channels the route posts to. At least one. */
1949
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemChannelsList = Array<UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemChannelsItem>;
1950
+ export interface UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItem {
1951
+ /** Applications whose errors this route sends, each with its environments. Empty means any application. */
1952
+ applications?: UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemApplicationsList | undefined;
1953
+ /** Channels the route posts to. At least one. */
1954
+ channels?: UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItemChannelsList | undefined;
1955
+ }
1956
+ /** Which applications' errors go to which channels. An application that isn't in any route gets no messages, unless one of the routes has no applications. Empty means everything goes to the channel the app was added to. An update replaces the whole list. */
1957
+ export type UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesList = Array<UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItem>;
1958
+ export interface UpdateErrorsMicrosoftTeamsIntegrationRequest {
1959
+ id: string;
1960
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
1961
+ teamId?: string | undefined;
1962
+ /** Which events post to the channels, as under **Notify me when** in the web app. An update changes only the toggles sent. */
1963
+ notifications?: ErrorsMicrosoftTeamsIntegrationNotifications | undefined;
1964
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
1965
+ occurrenceThresholdCount?: number | undefined;
1966
+ /** Time window for `notifications.occurrence_threshold`. */
1967
+ occurrenceThresholdInterval?: UpdateErrorsMicrosoftTeamsIntegrationRequestOccurrenceThresholdInterval | (string & {}) | undefined;
1968
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
1969
+ affectedUsersThresholdCount?: number | undefined;
1970
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1971
+ tagFilter?: UpdateErrorsMicrosoftTeamsIntegrationRequestTagFilterList | undefined;
1972
+ /** Which applications' errors go to which channels. An application that isn't in any route gets no messages, unless one of the routes has no applications. Empty means everything goes to the channel the app was added to. An update replaces the whole list. */
1973
+ routes?: UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesList | undefined;
1974
+ }
1975
+ /** Environments whose errors the integration posts. Empty means every environment. */
1976
+ export type UpdateErrorsSlackIntegrationRequestApplicationsItemEnvironmentsList = Array<string>;
1977
+ export interface UpdateErrorsSlackIntegrationRequestApplicationsItem {
1978
+ /** ID of an Error tracking application. */
1979
+ applicationId?: string | undefined;
1980
+ /** Environments whose errors the integration posts. Empty means every environment. */
1981
+ environments?: UpdateErrorsSlackIntegrationRequestApplicationsItemEnvironmentsList | undefined;
1982
+ }
1983
+ /** Applications whose errors this integration posts, each with its environments. Empty means any application. An update replaces the whole list. */
1984
+ export type UpdateErrorsSlackIntegrationRequestApplicationsList = Array<UpdateErrorsSlackIntegrationRequestApplicationsItem>;
1985
+ /** Which events post to the channel, as under **Notify me when** in the web app. An update changes only the toggles sent. */
1986
+ export type UpdateErrorsSlackIntegrationRequestNotifications = ErrorsMicrosoftTeamsIntegrationNotifications;
1987
+ /** Time window for `notifications.occurrence_threshold`. */
1988
+ export type UpdateErrorsSlackIntegrationRequestOccurrenceThresholdInterval = "minute" | "hour" | "day" | "week";
1989
+ /** Matches any of these values. */
1990
+ export type UpdateErrorsSlackIntegrationRequestTagFilterItemValuesList = Array<string>;
1991
+ export interface UpdateErrorsSlackIntegrationRequestTagFilterItem {
1992
+ /** Exception tag, such as environment or level. */
1993
+ tag?: string | undefined;
1994
+ /** Matches any of these values. */
1995
+ values?: UpdateErrorsSlackIntegrationRequestTagFilterItemValuesList | undefined;
1996
+ }
1997
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
1998
+ export type UpdateErrorsSlackIntegrationRequestTagFilterList = Array<UpdateErrorsSlackIntegrationRequestTagFilterItem>;
1999
+ /** How updates are posted to Slack. */
2000
+ export type UpdateErrorsSlackIntegrationRequestPostUpdates = "single_channel" | "thread_based";
2001
+ export interface UpdateErrorsSlackIntegrationRequest {
2002
+ id: string;
2003
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
2004
+ teamId?: string | undefined;
2005
+ /** Applications whose errors this integration posts, each with its environments. Empty means any application. An update replaces the whole list. */
2006
+ applications?: UpdateErrorsSlackIntegrationRequestApplicationsList | undefined;
2007
+ /** Which events post to the channel, as under **Notify me when** in the web app. An update changes only the toggles sent. */
2008
+ notifications?: ErrorsMicrosoftTeamsIntegrationNotifications | undefined;
2009
+ /** Number of occurrences for `notifications.occurrence_threshold`. A positive whole number. */
2010
+ occurrenceThresholdCount?: number | undefined;
2011
+ /** Time window for `notifications.occurrence_threshold`. */
2012
+ occurrenceThresholdInterval?: UpdateErrorsSlackIntegrationRequestOccurrenceThresholdInterval | (string & {}) | undefined;
2013
+ /** Total number of affected users for `notifications.affected_users_threshold`. A positive whole number. */
2014
+ affectedUsersThresholdCount?: number | undefined;
2015
+ /** The tags an error must have to be posted. An error matches when one of its exceptions has every tag listed, each set to one of the tag's values. Empty means every error. You can list up to 10 tags, each once, with up to 50 values each. A tag or value can be up to 200 characters. An update replaces the whole list. The `new_releases` and `spike_protection` notifications and state changes are posted whatever the tags. */
2016
+ tagFilter?: UpdateErrorsSlackIntegrationRequestTagFilterList | undefined;
2017
+ /** How updates are posted to Slack. */
2018
+ postUpdates?: UpdateErrorsSlackIntegrationRequestPostUpdates | (string & {}) | undefined;
2019
+ /** With `thread_based`, also send important updates to the channel. Important updates are resolved and re-opened errors, spikes, and errors reaching an occurrence milestone. */
2020
+ broadcastUpdates?: boolean | undefined;
2021
+ /** Start an AI SRE conversation when Better Stack is tagged in the channel. */
2022
+ aiSreOnMention?: boolean | undefined;
2023
+ }
2024
+ /** An object whose `errors` key holds the message. */
2025
+ export interface TelemetryError {
2026
+ /** Human-readable failure message. */
2027
+ errors?: unknown | undefined;
2028
+ /** Required attributes. */
2029
+ requiredAttributes?: unknown | undefined;
2030
+ /** Invalid attributes. */
2031
+ invalidAttributes?: unknown | undefined;
2032
+ /** Invalid values. */
2033
+ invalidValues?: unknown | undefined;
2034
+ }
2035
+ export type ApplicationsApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2036
+ /** List the error-tracking applications in this group, ordered by ID. */
2037
+ export declare const applicationsApplicationGroup: API.PaginatedOperationMethod<ApplicationsApplicationGroupRequest, ApplicationsApplicationGroupResponse, ApplicationsApplicationGroupError, BetterStackOpContext, ApplicationsApplicationGroupResponseDataItem>;
2038
+ export type CreateApplicationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2039
+ /** Create an error-tracking application. The response holds the DSN to configure your SDK with. */
2040
+ export declare const createApplication: API.OperationMethod<CreateApplicationRequest, Application, CreateApplicationError, BetterStackOpContext>;
2041
+ export type CreateApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2042
+ /** Create an application group for organizing error-tracking applications. */
2043
+ export declare const createApplicationGroup: API.OperationMethod<CreateApplicationGroupRequest, ApplicationGroup, CreateApplicationGroupError, BetterStackOpContext>;
2044
+ export type CreateErrorCommentError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2045
+ /** Add a comment to an error's conversation. When the error is linked to an issue in Linear and its integration syncs comments, the comment is posted there too. */
2046
+ export declare const createErrorComment: API.OperationMethod<CreateErrorCommentRequest, ErrorComment, CreateErrorCommentError, BetterStackOpContext>;
2047
+ export type CreateErrorIssueError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2048
+ /** Create a Linear issue or Jira work item for an error, and link it. The issue describes the error with its call site, stack trace and a link to it in Better Stack, and uses the integration's default project and settings. */
2049
+ export declare const createErrorIssue: API.OperationMethod<CreateErrorIssueRequest, ErrorIssue, CreateErrorIssueError, BetterStackOpContext>;
2050
+ export type CreateErrorsGithubIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2051
+ /** Create a GitHub integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
2052
+ export declare const createErrorsGithubIntegration: API.OperationMethod<CreateErrorsGithubIntegrationRequest, ErrorsIntegrationAuthorization, CreateErrorsGithubIntegrationError, BetterStackOpContext>;
2053
+ export type CreateErrorsJiraIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2054
+ /** Create a Jira integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
2055
+ export declare const createErrorsJiraIntegration: API.OperationMethod<CreateErrorsJiraIntegrationRequest, ErrorsIntegrationAuthorization, CreateErrorsJiraIntegrationError, BetterStackOpContext>;
2056
+ export type CreateErrorsLinearIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2057
+ /** Create a Linear integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
2058
+ export declare const createErrorsLinearIntegration: API.OperationMethod<CreateErrorsLinearIntegrationRequest, ErrorsIntegrationAuthorization, CreateErrorsLinearIntegrationError, BetterStackOpContext>;
2059
+ export type CreateErrorsSlackIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2060
+ /** Create a Slack integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
2061
+ export declare const createErrorsSlackIntegration: API.OperationMethod<CreateErrorsSlackIntegrationRequest, ErrorsIntegrationAuthorization, CreateErrorsSlackIntegrationError, BetterStackOpContext>;
2062
+ export type CreateReleaseError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2063
+ /** Register a release for one or more error-tracking applications. Without `applications`, the release is registered for every application that already reports that version. */
2064
+ export declare const createRelease: API.OperationMethod<CreateReleaseRequest, CreateReleaseResponse, CreateReleaseError, BetterStackOpContext>;
2065
+ export type DeleteApplicationError = Forbidden | NotFound | Conflict | UnprocessableEntity | BetterStackOpError;
2066
+ /** Delete an application permanently. Ingestion stops and stored errors are scheduled for removal. The application can still be fetched for a short time while deletion finishes. */
2067
+ export declare const deleteApplication: API.OperationMethod<DeleteApplicationRequest, DeleteApplicationResponse, DeleteApplicationError, BetterStackOpContext>;
2068
+ export type DeleteApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2069
+ /** Delete an application group permanently. The applications in it are kept, without a group. */
2070
+ export declare const deleteApplicationGroup: API.OperationMethod<DeleteApplicationGroupRequest, DeleteApplicationGroupResponse, DeleteApplicationGroupError, BetterStackOpContext>;
2071
+ export type DeleteErrorIssueError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2072
+ /** Unlink an issue from an error. The issue itself stays in Linear or Jira, unchanged. */
2073
+ export declare const deleteErrorIssue: API.OperationMethod<DeleteErrorIssueRequest, DeleteErrorIssueResponse, DeleteErrorIssueError, BetterStackOpContext>;
2074
+ export type DeleteIgnoredErrorError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2075
+ /** Stop ignoring an error. New occurrences of the error are ingested again, and the error goes back to unresolved. */
2076
+ export declare const deleteIgnoredError: API.OperationMethod<DeleteIgnoredErrorRequest, DeleteIgnoredErrorResponse, DeleteIgnoredErrorError, BetterStackOpContext>;
2077
+ export type DeleteReleaseError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2078
+ /** Delete a release. The release's errors are kept. A release that still receives events is detected again by the next periodic scan. */
2079
+ export declare const deleteRelease: API.OperationMethod<DeleteReleaseRequest, DeleteReleaseResponse, DeleteReleaseError, BetterStackOpContext>;
2080
+ export type GetApplicationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2081
+ /** Get an application's full configuration. */
2082
+ export declare const getApplication: API.OperationMethod<GetApplicationRequest, Application, GetApplicationError, BetterStackOpContext>;
2083
+ export type GetApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2084
+ /** Get an application group and the applications in it. */
2085
+ export declare const getApplicationGroup: API.OperationMethod<GetApplicationGroupRequest, ApplicationGroup, GetApplicationGroupError, BetterStackOpContext>;
2086
+ export type GetApplicationMetricError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2087
+ /** Get one metric of an application. */
2088
+ export declare const getApplicationMetric: API.OperationMethod<GetApplicationMetricRequest, ApplicationMetric, GetApplicationMetricError, BetterStackOpContext>;
2089
+ export type GetErrorError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2090
+ /** Get one error pattern's details and triage state. */
2091
+ export declare const getError: API.OperationMethod<GetErrorRequest, Error, GetErrorError, BetterStackOpContext>;
2092
+ export type GetErrorsGithubIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2093
+ /** Get a GitHub account connected to your Error tracking, with the repositories you use. */
2094
+ export declare const getErrorsGithubIntegration: API.OperationMethod<GetErrorsGithubIntegrationRequest, ErrorsGitHubIntegration, GetErrorsGithubIntegrationError, BetterStackOpContext>;
2095
+ export type GetErrorsIntegrationAuthorizationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2096
+ /** Check whether connecting an Error tracking integration finished. Once `status` is `completed`, `integration_id` is the connected integration's ID. The authorization is deleted a day after its link expires. */
2097
+ export declare const getErrorsIntegrationAuthorization: API.OperationMethod<GetErrorsIntegrationAuthorizationRequest, ErrorsIntegrationAuthorization, GetErrorsIntegrationAuthorizationError, BetterStackOpContext>;
2098
+ export type GetErrorsJiraIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2099
+ /** Get an Errors Jira integration's settings. An integration's ID is in the URL of its Configure page. */
2100
+ export declare const getErrorsJiraIntegration: API.OperationMethod<GetErrorsJiraIntegrationRequest, ErrorsJiraIntegration, GetErrorsJiraIntegrationError, BetterStackOpContext>;
2101
+ export type GetErrorsLinearIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2102
+ /** Get an Errors Linear integration's settings. An integration's ID is in the URL of its Configure page. */
2103
+ export declare const getErrorsLinearIntegration: API.OperationMethod<GetErrorsLinearIntegrationRequest, ErrorsLinearIntegration, GetErrorsLinearIntegrationError, BetterStackOpContext>;
2104
+ export type GetErrorsMicrosoftTeamsIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2105
+ /** Get an Errors Microsoft Teams integration's settings. An integration's ID is in the URL of its Configure page. */
2106
+ export declare const getErrorsMicrosoftTeamsIntegration: API.OperationMethod<GetErrorsMicrosoftTeamsIntegrationRequest, ErrorsMicrosoftTeamsIntegration, GetErrorsMicrosoftTeamsIntegrationError, BetterStackOpContext>;
2107
+ export type GetErrorsSlackIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2108
+ /** Get an Errors Slack integration's settings. An integration's ID is in the URL of its Configure page. */
2109
+ export declare const getErrorsSlackIntegration: API.OperationMethod<GetErrorsSlackIntegrationRequest, ErrorsSlackIntegration, GetErrorsSlackIntegrationError, BetterStackOpContext>;
2110
+ export type GetReleaseError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2111
+ /** Get a release, a version of your application that errors are reported for. */
2112
+ export declare const getRelease: API.OperationMethod<GetReleaseRequest, Release, GetReleaseError, BetterStackOpContext>;
2113
+ export type GetRumGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2114
+ /** Get one of a RUM application's user groups, with its activity in a time range. */
2115
+ export declare const getRumGroup: API.OperationMethod<GetRumGroupRequest, RumGroup, GetRumGroupError, BetterStackOpContext>;
2116
+ export type GetRumSessionError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2117
+ /** Get one RUM session with its session replays and a timeline of its page views, clicks, errors and traces. */
2118
+ export declare const getRumSession: API.OperationMethod<GetRumSessionRequest, RumSession, GetRumSessionError, BetterStackOpContext>;
2119
+ export type GetRumUserError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2120
+ /** Get one signed-in user of a RUM application, with their activity in a time range. */
2121
+ export declare const getRumUser: API.OperationMethod<GetRumUserRequest, RumUser, GetRumUserError, BetterStackOpContext>;
2122
+ export type LinkErrorIssueError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2123
+ /** Link an error to an existing Linear or Jira issue. */
2124
+ export declare const linkErrorIssue: API.OperationMethod<LinkErrorIssueRequest, ErrorIssue, LinkErrorIssueError, BetterStackOpContext>;
2125
+ export type ListApplicationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2126
+ /** List your error-tracking applications. */
2127
+ export declare const listApplication: API.PaginatedOperationMethod<ListApplicationRequest, ApplicationList, ListApplicationError, BetterStackOpContext, Application>;
2128
+ export type ListApplicationFieldError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2129
+ /** List the fields an application's data can be queried by, with their types. The list holds the fields seen in the application's logs, spans, exceptions or web events in the last 6 hours. */
2130
+ export declare const listApplicationField: API.OperationMethod<ListApplicationFieldRequest, ApplicationFieldList, ListApplicationFieldError, BetterStackOpContext>;
2131
+ export type ListApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2132
+ /** List the application groups, ordered by display position. */
2133
+ export declare const listApplicationGroup: API.PaginatedOperationMethod<ListApplicationGroupRequest, ApplicationGroupList, ListApplicationGroupError, BetterStackOpContext, ApplicationGroup>;
2134
+ export type ListApplicationMetricError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2135
+ /** List an application's ingested and user-defined metrics. */
2136
+ export declare const listApplicationMetric: API.PaginatedOperationMethod<ListApplicationMetricRequest, ListApplicationMetricResponse, ListApplicationMetricError, BetterStackOpContext, ApplicationMetric>;
2137
+ export type ListDataRegionError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2138
+ /** List the data regions and dedicated clusters available for a new application. Pass an `id` as an application's `data_region` when creating it. */
2139
+ export declare const listDataRegion: API.OperationMethod<ListDataRegionRequest, DataRegionList, ListDataRegionError, BetterStackOpContext>;
2140
+ export type ListErrorError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2141
+ /** List an application's error patterns, most recently seen first. By default it lists unresolved patterns from the last three days. */
2142
+ export declare const listError: API.PaginatedOperationMethod<ListErrorRequest, ErrorList, ListErrorError, BetterStackOpContext, Error>;
2143
+ export type ListErrorCommentError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2144
+ /** List the comments on an error and on its occurrences, newest first. */
2145
+ export declare const listErrorComment: API.PaginatedOperationMethod<ListErrorCommentRequest, ErrorCommentList, ListErrorCommentError, BetterStackOpContext, ErrorComment>;
2146
+ export type ListErrorsGithubIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2147
+ /** List the GitHub accounts connected to your Error tracking, each with the repositories you use. */
2148
+ export declare const listErrorsGithubIntegration: API.PaginatedOperationMethod<ListErrorsGithubIntegrationRequest, ErrorsGitHubIntegrationList, ListErrorsGithubIntegrationError, BetterStackOpContext, ErrorsGitHubIntegration>;
2149
+ export type ListErrorsJiraIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2150
+ /** List your Error tracking Jira integrations. */
2151
+ export declare const listErrorsJiraIntegration: API.PaginatedOperationMethod<ListErrorsJiraIntegrationRequest, ErrorsJiraIntegrationList, ListErrorsJiraIntegrationError, BetterStackOpContext, ErrorsJiraIntegration>;
2152
+ export type ListErrorsLinearIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2153
+ /** List your Error tracking Linear integrations. */
2154
+ export declare const listErrorsLinearIntegration: API.PaginatedOperationMethod<ListErrorsLinearIntegrationRequest, ErrorsLinearIntegrationList, ListErrorsLinearIntegrationError, BetterStackOpContext, ErrorsLinearIntegration>;
2155
+ export type ListErrorsMicrosoftTeamsIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2156
+ /** List your Error tracking Microsoft Teams integrations. */
2157
+ export declare const listErrorsMicrosoftTeamsIntegration: API.PaginatedOperationMethod<ListErrorsMicrosoftTeamsIntegrationRequest, ErrorsMicrosoftTeamsIntegrationList, ListErrorsMicrosoftTeamsIntegrationError, BetterStackOpContext, ErrorsMicrosoftTeamsIntegration>;
2158
+ export type ListErrorsSlackIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2159
+ /** List your Error tracking Slack integrations. */
2160
+ export declare const listErrorsSlackIntegration: API.PaginatedOperationMethod<ListErrorsSlackIntegrationRequest, ErrorsSlackIntegrationList, ListErrorsSlackIntegrationError, BetterStackOpContext, ErrorsSlackIntegration>;
2161
+ export type ListIgnoredErrorError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2162
+ /** List the errors an application ignores permanently, in the order they were added. */
2163
+ export declare const listIgnoredError: API.PaginatedOperationMethod<ListIgnoredErrorRequest, IgnoredErrorList, ListIgnoredErrorError, BetterStackOpContext, IgnoredError>;
2164
+ export type ListReleaseError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2165
+ /** List your releases, newest first by `first_seen_at`. */
2166
+ export declare const listRelease: API.PaginatedOperationMethod<ListReleaseRequest, ReleaseList, ListReleaseError, BetterStackOpContext, Release>;
2167
+ export type ListRumGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2168
+ /** List a RUM application's user groups seen in a time range, most recently seen first. */
2169
+ export declare const listRumGroup: API.PaginatedOperationMethod<ListRumGroupRequest, RumGroupList, ListRumGroupError, BetterStackOpContext, RumGroup>;
2170
+ export type ListRumSessionError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2171
+ /** List a RUM application's sessions that have a session replay in a time range, most recently active first. */
2172
+ export declare const listRumSession: API.PaginatedOperationMethod<ListRumSessionRequest, RumSessionList, ListRumSessionError, BetterStackOpContext, RumSession>;
2173
+ export type ListRumSessionSegmentError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2174
+ /** List the recorded segments of a RUM session's session replays in recording order, with their rrweb events, to export the recording. */
2175
+ export declare const listRumSessionSegment: API.PaginatedOperationMethod<ListRumSessionSegmentRequest, RumSessionSegmentList, ListRumSessionSegmentError, BetterStackOpContext, RumSessionSegment>;
2176
+ export type ListRumUserError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2177
+ /** List a RUM application's signed-in users seen in a time range, most recently seen first. */
2178
+ export declare const listRumUser: API.PaginatedOperationMethod<ListRumUserRequest, RumUserList, ListRumUserError, BetterStackOpContext, RumUser>;
2179
+ export type UpdateApplicationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2180
+ /** Update an application's settings. Only send the fields you want to change. */
2181
+ export declare const updateApplication: API.OperationMethod<UpdateApplicationRequest, Application, UpdateApplicationError, BetterStackOpContext>;
2182
+ export type UpdateApplicationGroupError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2183
+ /** Rename or reposition an application group. */
2184
+ export declare const updateApplicationGroup: API.OperationMethod<UpdateApplicationGroupRequest, ApplicationGroup, UpdateApplicationGroupError, BetterStackOpContext>;
2185
+ export type UpdateErrorError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2186
+ /** Change an error's triage state. Resolve it, ignore it forever or for its next occurrences, or reopen it as unresolved. */
2187
+ export declare const updateError: API.OperationMethod<UpdateErrorRequest, Error, UpdateErrorError, BetterStackOpContext>;
2188
+ export type UpdateErrorsGithubIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2189
+ /** Remove repositories from a GitHub integration. Send the repositories to keep. The others are removed from your team. Error tracking applications that used a removed repository stop opening pull requests for it. AI Engineer routines and settings that used it lose it too. Your other teams keep their repositories. The last repository can't be removed. */
2190
+ export declare const updateErrorsGithubIntegration: API.OperationMethod<UpdateErrorsGithubIntegrationRequest, ErrorsGitHubIntegration, UpdateErrorsGithubIntegrationError, BetterStackOpContext>;
2191
+ export type UpdateErrorsJiraIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2192
+ /** Change the settings of an Error tracking Jira integration, the same ones as on its **Configure** page. Only the settings you send change. */
2193
+ export declare const updateErrorsJiraIntegration: API.OperationMethod<UpdateErrorsJiraIntegrationRequest, ErrorsJiraIntegration, UpdateErrorsJiraIntegrationError, BetterStackOpContext>;
2194
+ export type UpdateErrorsLinearIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2195
+ /** Change the settings of an Error tracking Linear integration, the same ones as on its **Configure** page. Only the settings you send change. */
2196
+ export declare const updateErrorsLinearIntegration: API.OperationMethod<UpdateErrorsLinearIntegrationRequest, ErrorsLinearIntegration, UpdateErrorsLinearIntegrationError, BetterStackOpContext>;
2197
+ export type UpdateErrorsMicrosoftTeamsIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2198
+ /** Change the settings of an Error tracking Microsoft Teams integration, the same ones as on its **Configure** page. Only the settings you send change. */
2199
+ export declare const updateErrorsMicrosoftTeamsIntegration: API.OperationMethod<UpdateErrorsMicrosoftTeamsIntegrationRequest, ErrorsMicrosoftTeamsIntegration, UpdateErrorsMicrosoftTeamsIntegrationError, BetterStackOpContext>;
2200
+ export type UpdateErrorsSlackIntegrationError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
2201
+ /** Change the settings of an Error tracking Slack integration, the same ones as on its **Configure** page. Only the settings you send change. */
2202
+ export declare const updateErrorsSlackIntegration: API.OperationMethod<UpdateErrorsSlackIntegrationRequest, ErrorsSlackIntegration, UpdateErrorsSlackIntegrationError, BetterStackOpContext>;
2203
+ //# sourceMappingURL=errors.d.ts.map