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,2676 @@
1
+ // AUTO-GENERATED by scripts/sdk/generate.ts (distilled codegen) from spec/openapi/errors.json. Do not edit.
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import * as C from "@distilled.cloud/core/category";
4
+ import * as S from "@distilled.cloud/core/schema-lite";
5
+ import * as __L from "@distilled.cloud/core/schema-lite";
6
+ import { BetterStackServiceErrors } from "../errors.js";
7
+ import { paginateNextPage } from "../pagination.js";
8
+ import { ErrorsProtocol } from "../protocol.js";
9
+ import * as Retry from "../retry.js";
10
+ import * as T from "../traits.js";
11
+ // Schema table, filled on first reach (see __S at the end).
12
+ const __s = [];
13
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
14
+ const TELEMETRY = {
15
+ system: "betterstack-alchemy-api",
16
+ responseHeaders: [
17
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
18
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
19
+ ],
20
+ prefix: "BetterstackAlchemy",
21
+ service: "Errors",
22
+ labels: "betterstack_alchemy",
23
+ propagate: "w3c",
24
+ };
25
+ export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
26
+ /*@__PURE__*/ S.TaggedError()("Conflict", {
27
+ code: S.Number,
28
+ message: S.String,
29
+ body: /*@__PURE__*/ S.optional(
30
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String])),
31
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
32
+ }).pipe(C.withConflictError), [{ status: 409 }]) {
33
+ }
34
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
35
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
36
+ code: S.Number,
37
+ message: S.String,
38
+ body: /*@__PURE__*/ S.optional(
39
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String])),
40
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
41
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
42
+ }
43
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
44
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
45
+ code: S.Number,
46
+ message: S.String,
47
+ body: /*@__PURE__*/ S.optional(
48
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String])),
49
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
50
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
51
+ }
52
+ export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
53
+ /*@__PURE__*/ S.TaggedError()("UnprocessableEntity", {
54
+ code: S.Number,
55
+ message: S.String,
56
+ body: /*@__PURE__*/ S.optional(
57
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String])),
58
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
59
+ }).pipe(C.withBadRequestError), [{ status: 422 }]) {
60
+ }
61
+ /** List the error-tracking applications in this group, ordered by ID. */
62
+ export const applicationsApplicationGroup = /*@__PURE__*/ API.makePaginated(() => ({
63
+ input: __S(368, __c46, 0),
64
+ output: __S(371, __c46, 3),
65
+ errors: [Forbidden, NotFound, UnprocessableEntity],
66
+ serviceErrors: BetterStackServiceErrors,
67
+ protocol: ErrorsProtocol,
68
+ retry: Retry.Retry,
69
+ telemetry: TELEMETRY,
70
+ span: "ApplicationsApplicationGroup",
71
+ pagination: {
72
+ inputToken: "page",
73
+ outputToken: "pagination.next",
74
+ items: "data",
75
+ pageSize: "perPage",
76
+ },
77
+ }), paginateNextPage);
78
+ /** Create an error-tracking application. The response holds the DSN to configure your SDK with. */
79
+ export const createApplication = /*@__PURE__*/ API.make(() => ({
80
+ input: __S(473, __c59, 1),
81
+ output: __S(500, __c62, 4),
82
+ errors: [Forbidden, NotFound, UnprocessableEntity],
83
+ serviceErrors: BetterStackServiceErrors,
84
+ protocol: ErrorsProtocol,
85
+ retry: Retry.Retry,
86
+ telemetry: TELEMETRY,
87
+ span: "CreateApplication",
88
+ }));
89
+ /** Create an application group for organizing error-tracking applications. */
90
+ export const createApplicationGroup = /*@__PURE__*/ API.make(() => ({
91
+ input: __S(600, __c75, 0),
92
+ output: __S(608, __c76, 0),
93
+ errors: [Forbidden, NotFound, UnprocessableEntity],
94
+ serviceErrors: BetterStackServiceErrors,
95
+ protocol: ErrorsProtocol,
96
+ retry: Retry.Retry,
97
+ telemetry: TELEMETRY,
98
+ span: "CreateApplicationGroup",
99
+ }));
100
+ /** 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. */
101
+ export const createErrorComment = /*@__PURE__*/ API.make(() => ({
102
+ input: __S(616, __c77, 0),
103
+ output: __S(624, __c78, 0),
104
+ errors: [Forbidden, NotFound, UnprocessableEntity],
105
+ serviceErrors: BetterStackServiceErrors,
106
+ protocol: ErrorsProtocol,
107
+ retry: Retry.Retry,
108
+ telemetry: TELEMETRY,
109
+ span: "CreateErrorComment",
110
+ }));
111
+ /** 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. */
112
+ export const createErrorIssue = /*@__PURE__*/ API.make(() => ({
113
+ input: __S(632, __c79, 0),
114
+ output: __S(640, __c80, 0),
115
+ errors: [Forbidden, NotFound, UnprocessableEntity],
116
+ serviceErrors: BetterStackServiceErrors,
117
+ protocol: ErrorsProtocol,
118
+ retry: Retry.Retry,
119
+ telemetry: TELEMETRY,
120
+ span: "CreateErrorIssue",
121
+ }));
122
+ /** Create a GitHub integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
123
+ export const createErrorsGithubIntegration = /*@__PURE__*/ API.make(() => ({
124
+ input: __S(648, __c81, 0),
125
+ output: __S(656, __c82, 0),
126
+ errors: [Forbidden, NotFound, UnprocessableEntity],
127
+ serviceErrors: BetterStackServiceErrors,
128
+ protocol: ErrorsProtocol,
129
+ retry: Retry.Retry,
130
+ telemetry: TELEMETRY,
131
+ span: "CreateErrorsGithubIntegration",
132
+ }));
133
+ /** Create a Jira integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
134
+ export const createErrorsJiraIntegration = /*@__PURE__*/ API.make(() => ({
135
+ input: __S(8, __c1, 0),
136
+ output: __S(656, __c82, 0),
137
+ errors: [Forbidden, NotFound, UnprocessableEntity],
138
+ serviceErrors: BetterStackServiceErrors,
139
+ protocol: ErrorsProtocol,
140
+ retry: Retry.Retry,
141
+ telemetry: TELEMETRY,
142
+ span: "CreateErrorsJiraIntegration",
143
+ }));
144
+ /** Create a Linear integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
145
+ export const createErrorsLinearIntegration = /*@__PURE__*/ API.make(() => ({
146
+ input: __S(16, __c2, 0),
147
+ output: __S(656, __c82, 0),
148
+ errors: [Forbidden, NotFound, UnprocessableEntity],
149
+ serviceErrors: BetterStackServiceErrors,
150
+ protocol: ErrorsProtocol,
151
+ retry: Retry.Retry,
152
+ telemetry: TELEMETRY,
153
+ span: "CreateErrorsLinearIntegration",
154
+ }));
155
+ /** Create a Slack integration for Error tracking. You'll get a link back to open in your browser and finish setting up the integration. */
156
+ export const createErrorsSlackIntegration = /*@__PURE__*/ API.make(() => ({
157
+ input: __S(24, __c3, 0),
158
+ output: __S(656, __c82, 0),
159
+ errors: [Forbidden, NotFound, UnprocessableEntity],
160
+ serviceErrors: BetterStackServiceErrors,
161
+ protocol: ErrorsProtocol,
162
+ retry: Retry.Retry,
163
+ telemetry: TELEMETRY,
164
+ span: "CreateErrorsSlackIntegration",
165
+ }));
166
+ /** Register a release for one or more error-tracking applications. Without `applications`, the release is registered for every application that already reports that version. */
167
+ export const createRelease = /*@__PURE__*/ API.make(() => ({
168
+ input: __S(33, __c4, 1),
169
+ output: __S(36, __c4, 4),
170
+ errors: [Forbidden, NotFound, UnprocessableEntity],
171
+ serviceErrors: BetterStackServiceErrors,
172
+ protocol: ErrorsProtocol,
173
+ retry: Retry.Retry,
174
+ telemetry: TELEMETRY,
175
+ span: "CreateRelease",
176
+ }));
177
+ /** 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. */
178
+ export const deleteApplication = /*@__PURE__*/ API.make(() => ({
179
+ input: __S(40, __c5, 0),
180
+ output: __S(48, __c6, 0),
181
+ errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
182
+ serviceErrors: BetterStackServiceErrors,
183
+ protocol: ErrorsProtocol,
184
+ retry: Retry.Retry,
185
+ telemetry: TELEMETRY,
186
+ span: "DeleteApplication",
187
+ }));
188
+ /** Delete an application group permanently. The applications in it are kept, without a group. */
189
+ export const deleteApplicationGroup = /*@__PURE__*/ API.make(() => ({
190
+ input: __S(56, __c7, 0),
191
+ output: __S(48, __c6, 0),
192
+ errors: [Forbidden, NotFound, UnprocessableEntity],
193
+ serviceErrors: BetterStackServiceErrors,
194
+ protocol: ErrorsProtocol,
195
+ retry: Retry.Retry,
196
+ telemetry: TELEMETRY,
197
+ span: "DeleteApplicationGroup",
198
+ }));
199
+ /** Unlink an issue from an error. The issue itself stays in Linear or Jira, unchanged. */
200
+ export const deleteErrorIssue = /*@__PURE__*/ API.make(() => ({
201
+ input: __S(64, __c8, 0),
202
+ output: __S(48, __c6, 0),
203
+ errors: [Forbidden, NotFound, UnprocessableEntity],
204
+ serviceErrors: BetterStackServiceErrors,
205
+ protocol: ErrorsProtocol,
206
+ retry: Retry.Retry,
207
+ telemetry: TELEMETRY,
208
+ span: "DeleteErrorIssue",
209
+ }));
210
+ /** Stop ignoring an error. New occurrences of the error are ingested again, and the error goes back to unresolved. */
211
+ export const deleteIgnoredError = /*@__PURE__*/ API.make(() => ({
212
+ input: __S(72, __c9, 0),
213
+ output: __S(48, __c6, 0),
214
+ errors: [Forbidden, NotFound, UnprocessableEntity],
215
+ serviceErrors: BetterStackServiceErrors,
216
+ protocol: ErrorsProtocol,
217
+ retry: Retry.Retry,
218
+ telemetry: TELEMETRY,
219
+ span: "DeleteIgnoredError",
220
+ }));
221
+ /** Delete a release. The release's errors are kept. A release that still receives events is detected again by the next periodic scan. */
222
+ export const deleteRelease = /*@__PURE__*/ API.make(() => ({
223
+ input: __S(80, __c10, 0),
224
+ output: __S(48, __c6, 0),
225
+ errors: [Forbidden, NotFound, UnprocessableEntity],
226
+ serviceErrors: BetterStackServiceErrors,
227
+ protocol: ErrorsProtocol,
228
+ retry: Retry.Retry,
229
+ telemetry: TELEMETRY,
230
+ span: "DeleteRelease",
231
+ }));
232
+ /** Get an application's full configuration. */
233
+ export const getApplication = /*@__PURE__*/ API.make(() => ({
234
+ input: __S(88, __c11, 0),
235
+ output: __S(500, __c62, 4),
236
+ errors: [Forbidden, NotFound, UnprocessableEntity],
237
+ serviceErrors: BetterStackServiceErrors,
238
+ protocol: ErrorsProtocol,
239
+ retry: Retry.Retry,
240
+ telemetry: TELEMETRY,
241
+ span: "GetApplication",
242
+ }));
243
+ /** Get an application group and the applications in it. */
244
+ export const getApplicationGroup = /*@__PURE__*/ API.make(() => ({
245
+ input: __S(96, __c12, 0),
246
+ output: __S(608, __c76, 0),
247
+ errors: [Forbidden, NotFound, UnprocessableEntity],
248
+ serviceErrors: BetterStackServiceErrors,
249
+ protocol: ErrorsProtocol,
250
+ retry: Retry.Retry,
251
+ telemetry: TELEMETRY,
252
+ span: "GetApplicationGroup",
253
+ }));
254
+ /** Get one metric of an application. */
255
+ export const getApplicationMetric = /*@__PURE__*/ API.make(() => ({
256
+ input: __S(104, __c13, 0),
257
+ output: __S(112, __c14, 0),
258
+ errors: [Forbidden, NotFound, UnprocessableEntity],
259
+ serviceErrors: BetterStackServiceErrors,
260
+ protocol: ErrorsProtocol,
261
+ retry: Retry.Retry,
262
+ telemetry: TELEMETRY,
263
+ span: "GetApplicationMetric",
264
+ }));
265
+ /** Get one error pattern's details and triage state. */
266
+ export const getError = /*@__PURE__*/ API.make(() => ({
267
+ input: __S(120, __c15, 0),
268
+ output: __S(130, __c16, 2),
269
+ errors: [Forbidden, NotFound, UnprocessableEntity],
270
+ serviceErrors: BetterStackServiceErrors,
271
+ protocol: ErrorsProtocol,
272
+ retry: Retry.Retry,
273
+ telemetry: TELEMETRY,
274
+ span: "GetError",
275
+ }));
276
+ /** Get a GitHub account connected to your Error tracking, with the repositories you use. */
277
+ export const getErrorsGithubIntegration = /*@__PURE__*/ API.make(() => ({
278
+ input: __S(136, __c17, 0),
279
+ output: __S(146, __c18, 2),
280
+ errors: [Forbidden, NotFound, UnprocessableEntity],
281
+ serviceErrors: BetterStackServiceErrors,
282
+ protocol: ErrorsProtocol,
283
+ retry: Retry.Retry,
284
+ telemetry: TELEMETRY,
285
+ span: "GetErrorsGithubIntegration",
286
+ }));
287
+ /** 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. */
288
+ export const getErrorsIntegrationAuthorization = /*@__PURE__*/ API.make(() => ({
289
+ input: __S(152, __c19, 0),
290
+ output: __S(656, __c82, 0),
291
+ errors: [Forbidden, NotFound, UnprocessableEntity],
292
+ serviceErrors: BetterStackServiceErrors,
293
+ protocol: ErrorsProtocol,
294
+ retry: Retry.Retry,
295
+ telemetry: TELEMETRY,
296
+ span: "GetErrorsIntegrationAuthorization",
297
+ }));
298
+ /** Get an Errors Jira integration's settings. An integration's ID is in the URL of its Configure page. */
299
+ export const getErrorsJiraIntegration = /*@__PURE__*/ API.make(() => ({
300
+ input: __S(160, __c20, 0),
301
+ output: __S(185, __c23, 1),
302
+ errors: [Forbidden, NotFound, UnprocessableEntity],
303
+ serviceErrors: BetterStackServiceErrors,
304
+ protocol: ErrorsProtocol,
305
+ retry: Retry.Retry,
306
+ telemetry: TELEMETRY,
307
+ span: "GetErrorsJiraIntegration",
308
+ }));
309
+ /** Get an Errors Linear integration's settings. An integration's ID is in the URL of its Configure page. */
310
+ export const getErrorsLinearIntegration = /*@__PURE__*/ API.make(() => ({
311
+ input: __S(192, __c24, 0),
312
+ output: __S(200, __c25, 0),
313
+ errors: [Forbidden, NotFound, UnprocessableEntity],
314
+ serviceErrors: BetterStackServiceErrors,
315
+ protocol: ErrorsProtocol,
316
+ retry: Retry.Retry,
317
+ telemetry: TELEMETRY,
318
+ span: "GetErrorsLinearIntegration",
319
+ }));
320
+ /** Get an Errors Microsoft Teams integration's settings. An integration's ID is in the URL of its Configure page. */
321
+ export const getErrorsMicrosoftTeamsIntegration = /*@__PURE__*/ API.make(() => ({
322
+ input: __S(208, __c26, 0),
323
+ output: __S(228, __c28, 4),
324
+ errors: [Forbidden, NotFound, UnprocessableEntity],
325
+ serviceErrors: BetterStackServiceErrors,
326
+ protocol: ErrorsProtocol,
327
+ retry: Retry.Retry,
328
+ telemetry: TELEMETRY,
329
+ span: "GetErrorsMicrosoftTeamsIntegration",
330
+ }));
331
+ /** Get an Errors Slack integration's settings. An integration's ID is in the URL of its Configure page. */
332
+ export const getErrorsSlackIntegration = /*@__PURE__*/ API.make(() => ({
333
+ input: __S(232, __c29, 0),
334
+ output: __S(240, __c30, 0),
335
+ errors: [Forbidden, NotFound, UnprocessableEntity],
336
+ serviceErrors: BetterStackServiceErrors,
337
+ protocol: ErrorsProtocol,
338
+ retry: Retry.Retry,
339
+ telemetry: TELEMETRY,
340
+ span: "GetErrorsSlackIntegration",
341
+ }));
342
+ /** Get a release, a version of your application that errors are reported for. */
343
+ export const getRelease = /*@__PURE__*/ API.make(() => ({
344
+ input: __S(248, __c31, 0),
345
+ output: __S(256, __c32, 0),
346
+ errors: [Forbidden, NotFound, UnprocessableEntity],
347
+ serviceErrors: BetterStackServiceErrors,
348
+ protocol: ErrorsProtocol,
349
+ retry: Retry.Retry,
350
+ telemetry: TELEMETRY,
351
+ span: "GetRelease",
352
+ }));
353
+ /** Get one of a RUM application's user groups, with its activity in a time range. */
354
+ export const getRumGroup = /*@__PURE__*/ API.make(() => ({
355
+ input: __S(264, __c33, 0),
356
+ output: __S(272, __c34, 0),
357
+ errors: [Forbidden, NotFound, UnprocessableEntity],
358
+ serviceErrors: BetterStackServiceErrors,
359
+ protocol: ErrorsProtocol,
360
+ retry: Retry.Retry,
361
+ telemetry: TELEMETRY,
362
+ span: "GetRumGroup",
363
+ }));
364
+ /** Get one RUM session with its session replays and a timeline of its page views, clicks, errors and traces. */
365
+ export const getRumSession = /*@__PURE__*/ API.make(() => ({
366
+ input: __S(280, __c35, 0),
367
+ output: __S(292, __c36, 4),
368
+ errors: [Forbidden, NotFound, UnprocessableEntity],
369
+ serviceErrors: BetterStackServiceErrors,
370
+ protocol: ErrorsProtocol,
371
+ retry: Retry.Retry,
372
+ telemetry: TELEMETRY,
373
+ span: "GetRumSession",
374
+ }));
375
+ /** Get one signed-in user of a RUM application, with their activity in a time range. */
376
+ export const getRumUser = /*@__PURE__*/ API.make(() => ({
377
+ input: __S(296, __c37, 0),
378
+ output: __S(304, __c38, 0),
379
+ errors: [Forbidden, NotFound, UnprocessableEntity],
380
+ serviceErrors: BetterStackServiceErrors,
381
+ protocol: ErrorsProtocol,
382
+ retry: Retry.Retry,
383
+ telemetry: TELEMETRY,
384
+ span: "GetRumUser",
385
+ }));
386
+ /** Link an error to an existing Linear or Jira issue. */
387
+ export const linkErrorIssue = /*@__PURE__*/ API.make(() => ({
388
+ input: __S(312, __c39, 0),
389
+ output: __S(640, __c80, 0),
390
+ errors: [Forbidden, NotFound, UnprocessableEntity],
391
+ serviceErrors: BetterStackServiceErrors,
392
+ protocol: ErrorsProtocol,
393
+ retry: Retry.Retry,
394
+ telemetry: TELEMETRY,
395
+ span: "LinkErrorIssue",
396
+ }));
397
+ /** List your error-tracking applications. */
398
+ export const listApplication = /*@__PURE__*/ API.makePaginated(() => ({
399
+ input: __S(320, __c40, 0),
400
+ output: __S(322, __c40, 2),
401
+ errors: [Forbidden, NotFound, UnprocessableEntity],
402
+ serviceErrors: BetterStackServiceErrors,
403
+ protocol: ErrorsProtocol,
404
+ retry: Retry.Retry,
405
+ telemetry: TELEMETRY,
406
+ span: "ListApplication",
407
+ pagination: {
408
+ inputToken: "page",
409
+ outputToken: "pagination.next",
410
+ items: "data",
411
+ pageSize: "perPage",
412
+ },
413
+ }), paginateNextPage);
414
+ /** 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. */
415
+ export const listApplicationField = /*@__PURE__*/ API.make(() => ({
416
+ input: __S(328, __c41, 0),
417
+ output: __S(331, __c41, 3),
418
+ errors: [Forbidden, NotFound, UnprocessableEntity],
419
+ serviceErrors: BetterStackServiceErrors,
420
+ protocol: ErrorsProtocol,
421
+ retry: Retry.Retry,
422
+ telemetry: TELEMETRY,
423
+ span: "ListApplicationField",
424
+ }));
425
+ /** List the application groups, ordered by display position. */
426
+ export const listApplicationGroup = /*@__PURE__*/ API.makePaginated(() => ({
427
+ input: __S(336, __c42, 0),
428
+ output: __S(338, __c42, 2),
429
+ errors: [Forbidden, NotFound, UnprocessableEntity],
430
+ serviceErrors: BetterStackServiceErrors,
431
+ protocol: ErrorsProtocol,
432
+ retry: Retry.Retry,
433
+ telemetry: TELEMETRY,
434
+ span: "ListApplicationGroup",
435
+ pagination: {
436
+ inputToken: "page",
437
+ outputToken: "pagination.next",
438
+ items: "data",
439
+ pageSize: "perPage",
440
+ },
441
+ }), paginateNextPage);
442
+ /** List an application's ingested and user-defined metrics. */
443
+ export const listApplicationMetric = /*@__PURE__*/ API.makePaginated(() => ({
444
+ input: __S(344, __c43, 0),
445
+ output: __S(346, __c43, 2),
446
+ errors: [Forbidden, NotFound, UnprocessableEntity],
447
+ serviceErrors: BetterStackServiceErrors,
448
+ protocol: ErrorsProtocol,
449
+ retry: Retry.Retry,
450
+ telemetry: TELEMETRY,
451
+ span: "ListApplicationMetric",
452
+ pagination: {
453
+ inputToken: "page",
454
+ outputToken: "pagination.next",
455
+ items: "data",
456
+ pageSize: "perPage",
457
+ },
458
+ }), paginateNextPage);
459
+ /** List the data regions and dedicated clusters available for a new application. Pass an `id` as an application's `data_region` when creating it. */
460
+ export const listDataRegion = /*@__PURE__*/ API.make(() => ({
461
+ input: __S(352, __c44, 0),
462
+ output: __S(355, __c44, 3),
463
+ errors: [Forbidden, NotFound, UnprocessableEntity],
464
+ serviceErrors: BetterStackServiceErrors,
465
+ protocol: ErrorsProtocol,
466
+ retry: Retry.Retry,
467
+ telemetry: TELEMETRY,
468
+ span: "ListDataRegion",
469
+ }));
470
+ /** List an application's error patterns, most recently seen first. By default it lists unresolved patterns from the last three days. */
471
+ export const listError = /*@__PURE__*/ API.makePaginated(() => ({
472
+ input: __S(360, __c45, 0),
473
+ output: __S(362, __c45, 2),
474
+ errors: [Forbidden, NotFound, UnprocessableEntity],
475
+ serviceErrors: BetterStackServiceErrors,
476
+ protocol: ErrorsProtocol,
477
+ retry: Retry.Retry,
478
+ telemetry: TELEMETRY,
479
+ span: "ListError",
480
+ pagination: {
481
+ inputToken: "page",
482
+ outputToken: "pagination.next",
483
+ items: "data",
484
+ pageSize: "perPage",
485
+ },
486
+ }), paginateNextPage);
487
+ /** List the comments on an error and on its occurrences, newest first. */
488
+ export const listErrorComment = /*@__PURE__*/ API.makePaginated(() => ({
489
+ input: __S(392, __c49, 0),
490
+ output: __S(394, __c49, 2),
491
+ errors: [Forbidden, NotFound, UnprocessableEntity],
492
+ serviceErrors: BetterStackServiceErrors,
493
+ protocol: ErrorsProtocol,
494
+ retry: Retry.Retry,
495
+ telemetry: TELEMETRY,
496
+ span: "ListErrorComment",
497
+ pagination: {
498
+ inputToken: "page",
499
+ outputToken: "pagination.next",
500
+ items: "data",
501
+ pageSize: "perPage",
502
+ },
503
+ }), paginateNextPage);
504
+ /** List the GitHub accounts connected to your Error tracking, each with the repositories you use. */
505
+ export const listErrorsGithubIntegration = /*@__PURE__*/ API.makePaginated(() => ({
506
+ input: __S(400, __c50, 0),
507
+ output: __S(402, __c50, 2),
508
+ errors: [Forbidden, NotFound, UnprocessableEntity],
509
+ serviceErrors: BetterStackServiceErrors,
510
+ protocol: ErrorsProtocol,
511
+ retry: Retry.Retry,
512
+ telemetry: TELEMETRY,
513
+ span: "ListErrorsGithubIntegration",
514
+ pagination: {
515
+ inputToken: "page",
516
+ outputToken: "pagination.next",
517
+ items: "data",
518
+ pageSize: "perPage",
519
+ },
520
+ }), paginateNextPage);
521
+ /** List your Error tracking Jira integrations. */
522
+ export const listErrorsJiraIntegration = /*@__PURE__*/ API.makePaginated(() => ({
523
+ input: __S(408, __c51, 0),
524
+ output: __S(410, __c51, 2),
525
+ errors: [Forbidden, NotFound, UnprocessableEntity],
526
+ serviceErrors: BetterStackServiceErrors,
527
+ protocol: ErrorsProtocol,
528
+ retry: Retry.Retry,
529
+ telemetry: TELEMETRY,
530
+ span: "ListErrorsJiraIntegration",
531
+ pagination: {
532
+ inputToken: "page",
533
+ outputToken: "pagination.next",
534
+ items: "data",
535
+ pageSize: "perPage",
536
+ },
537
+ }), paginateNextPage);
538
+ /** List your Error tracking Linear integrations. */
539
+ export const listErrorsLinearIntegration = /*@__PURE__*/ API.makePaginated(() => ({
540
+ input: __S(416, __c52, 0),
541
+ output: __S(418, __c52, 2),
542
+ errors: [Forbidden, NotFound, UnprocessableEntity],
543
+ serviceErrors: BetterStackServiceErrors,
544
+ protocol: ErrorsProtocol,
545
+ retry: Retry.Retry,
546
+ telemetry: TELEMETRY,
547
+ span: "ListErrorsLinearIntegration",
548
+ pagination: {
549
+ inputToken: "page",
550
+ outputToken: "pagination.next",
551
+ items: "data",
552
+ pageSize: "perPage",
553
+ },
554
+ }), paginateNextPage);
555
+ /** List your Error tracking Microsoft Teams integrations. */
556
+ export const listErrorsMicrosoftTeamsIntegration = /*@__PURE__*/ API.makePaginated(() => ({
557
+ input: __S(424, __c53, 0),
558
+ output: __S(426, __c53, 2),
559
+ errors: [Forbidden, NotFound, UnprocessableEntity],
560
+ serviceErrors: BetterStackServiceErrors,
561
+ protocol: ErrorsProtocol,
562
+ retry: Retry.Retry,
563
+ telemetry: TELEMETRY,
564
+ span: "ListErrorsMicrosoftTeamsIntegration",
565
+ pagination: {
566
+ inputToken: "page",
567
+ outputToken: "pagination.next",
568
+ items: "data",
569
+ pageSize: "perPage",
570
+ },
571
+ }), paginateNextPage);
572
+ /** List your Error tracking Slack integrations. */
573
+ export const listErrorsSlackIntegration = /*@__PURE__*/ API.makePaginated(() => ({
574
+ input: __S(432, __c54, 0),
575
+ output: __S(434, __c54, 2),
576
+ errors: [Forbidden, NotFound, UnprocessableEntity],
577
+ serviceErrors: BetterStackServiceErrors,
578
+ protocol: ErrorsProtocol,
579
+ retry: Retry.Retry,
580
+ telemetry: TELEMETRY,
581
+ span: "ListErrorsSlackIntegration",
582
+ pagination: {
583
+ inputToken: "page",
584
+ outputToken: "pagination.next",
585
+ items: "data",
586
+ pageSize: "perPage",
587
+ },
588
+ }), paginateNextPage);
589
+ /** List the errors an application ignores permanently, in the order they were added. */
590
+ export const listIgnoredError = /*@__PURE__*/ API.makePaginated(() => ({
591
+ input: __S(440, __c55, 0),
592
+ output: __S(443, __c55, 3),
593
+ errors: [Forbidden, NotFound, UnprocessableEntity],
594
+ serviceErrors: BetterStackServiceErrors,
595
+ protocol: ErrorsProtocol,
596
+ retry: Retry.Retry,
597
+ telemetry: TELEMETRY,
598
+ span: "ListIgnoredError",
599
+ pagination: {
600
+ inputToken: "page",
601
+ outputToken: "pagination.next",
602
+ items: "data",
603
+ pageSize: "perPage",
604
+ },
605
+ }), paginateNextPage);
606
+ /** List your releases, newest first by `first_seen_at`. */
607
+ export const listRelease = /*@__PURE__*/ API.makePaginated(() => ({
608
+ input: __S(448, __c56, 0),
609
+ output: __S(450, __c56, 2),
610
+ errors: [Forbidden, NotFound, UnprocessableEntity],
611
+ serviceErrors: BetterStackServiceErrors,
612
+ protocol: ErrorsProtocol,
613
+ retry: Retry.Retry,
614
+ telemetry: TELEMETRY,
615
+ span: "ListRelease",
616
+ pagination: {
617
+ inputToken: "page",
618
+ outputToken: "pagination.next",
619
+ items: "data",
620
+ pageSize: "perPage",
621
+ },
622
+ }), paginateNextPage);
623
+ /** List a RUM application's user groups seen in a time range, most recently seen first. */
624
+ export const listRumGroup = /*@__PURE__*/ API.makePaginated(() => ({
625
+ input: __S(456, __c57, 0),
626
+ output: __S(458, __c57, 2),
627
+ errors: [Forbidden, NotFound, UnprocessableEntity],
628
+ serviceErrors: BetterStackServiceErrors,
629
+ protocol: ErrorsProtocol,
630
+ retry: Retry.Retry,
631
+ telemetry: TELEMETRY,
632
+ span: "ListRumGroup",
633
+ pagination: {
634
+ inputToken: "page",
635
+ outputToken: "pagination.next",
636
+ items: "data",
637
+ pageSize: "perPage",
638
+ },
639
+ }), paginateNextPage);
640
+ /** List a RUM application's sessions that have a session replay in a time range, most recently active first. */
641
+ export const listRumSession = /*@__PURE__*/ API.makePaginated(() => ({
642
+ input: __S(464, __c58, 0),
643
+ output: __S(466, __c58, 2),
644
+ errors: [Forbidden, NotFound, UnprocessableEntity],
645
+ serviceErrors: BetterStackServiceErrors,
646
+ protocol: ErrorsProtocol,
647
+ retry: Retry.Retry,
648
+ telemetry: TELEMETRY,
649
+ span: "ListRumSession",
650
+ pagination: {
651
+ inputToken: "page",
652
+ outputToken: "pagination.next",
653
+ items: "data",
654
+ pageSize: "perPage",
655
+ },
656
+ }), paginateNextPage);
657
+ /** List the recorded segments of a RUM session's session replays in recording order, with their rrweb events, to export the recording. */
658
+ export const listRumSessionSegment = /*@__PURE__*/ API.makePaginated(() => ({
659
+ input: __S(504, __c63, 0),
660
+ output: __S(508, __c63, 4),
661
+ errors: [Forbidden, NotFound, UnprocessableEntity],
662
+ serviceErrors: BetterStackServiceErrors,
663
+ protocol: ErrorsProtocol,
664
+ retry: Retry.Retry,
665
+ telemetry: TELEMETRY,
666
+ span: "ListRumSessionSegment",
667
+ pagination: {
668
+ inputToken: "page",
669
+ outputToken: "pagination.next",
670
+ items: "data",
671
+ pageSize: "perPage",
672
+ },
673
+ }), paginateNextPage);
674
+ /** List a RUM application's signed-in users seen in a time range, most recently seen first. */
675
+ export const listRumUser = /*@__PURE__*/ API.makePaginated(() => ({
676
+ input: __S(512, __c64, 0),
677
+ output: __S(514, __c64, 2),
678
+ errors: [Forbidden, NotFound, UnprocessableEntity],
679
+ serviceErrors: BetterStackServiceErrors,
680
+ protocol: ErrorsProtocol,
681
+ retry: Retry.Retry,
682
+ telemetry: TELEMETRY,
683
+ span: "ListRumUser",
684
+ pagination: {
685
+ inputToken: "page",
686
+ outputToken: "pagination.next",
687
+ items: "data",
688
+ pageSize: "perPage",
689
+ },
690
+ }), paginateNextPage);
691
+ /** Update an application's settings. Only send the fields you want to change. */
692
+ export const updateApplication = /*@__PURE__*/ API.make(() => ({
693
+ input: __S(521, __c65, 1),
694
+ output: __S(500, __c62, 4),
695
+ errors: [Forbidden, NotFound, UnprocessableEntity],
696
+ serviceErrors: BetterStackServiceErrors,
697
+ protocol: ErrorsProtocol,
698
+ retry: Retry.Retry,
699
+ telemetry: TELEMETRY,
700
+ span: "UpdateApplication",
701
+ }));
702
+ /** Rename or reposition an application group. */
703
+ export const updateApplicationGroup = /*@__PURE__*/ API.make(() => ({
704
+ input: __S(528, __c66, 0),
705
+ output: __S(608, __c76, 0),
706
+ errors: [Forbidden, NotFound, UnprocessableEntity],
707
+ serviceErrors: BetterStackServiceErrors,
708
+ protocol: ErrorsProtocol,
709
+ retry: Retry.Retry,
710
+ telemetry: TELEMETRY,
711
+ span: "UpdateApplicationGroup",
712
+ }));
713
+ /** Change an error's triage state. Resolve it, ignore it forever or for its next occurrences, or reopen it as unresolved. */
714
+ export const updateError = /*@__PURE__*/ API.make(() => ({
715
+ input: __S(536, __c67, 0),
716
+ output: __S(130, __c16, 2),
717
+ errors: [Forbidden, NotFound, UnprocessableEntity],
718
+ serviceErrors: BetterStackServiceErrors,
719
+ protocol: ErrorsProtocol,
720
+ retry: Retry.Retry,
721
+ telemetry: TELEMETRY,
722
+ span: "UpdateError",
723
+ }));
724
+ /** 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. */
725
+ export const updateErrorsGithubIntegration = /*@__PURE__*/ API.make(() => ({
726
+ input: __S(544, __c68, 0),
727
+ output: __S(146, __c18, 2),
728
+ errors: [Forbidden, NotFound, UnprocessableEntity],
729
+ serviceErrors: BetterStackServiceErrors,
730
+ protocol: ErrorsProtocol,
731
+ retry: Retry.Retry,
732
+ telemetry: TELEMETRY,
733
+ span: "UpdateErrorsGithubIntegration",
734
+ }));
735
+ /** Change the settings of an Error tracking Jira integration, the same ones as on its **Configure** page. Only the settings you send change. */
736
+ export const updateErrorsJiraIntegration = /*@__PURE__*/ API.make(() => ({
737
+ input: __S(560, __c70, 0),
738
+ output: __S(185, __c23, 1),
739
+ errors: [Forbidden, NotFound, UnprocessableEntity],
740
+ serviceErrors: BetterStackServiceErrors,
741
+ protocol: ErrorsProtocol,
742
+ retry: Retry.Retry,
743
+ telemetry: TELEMETRY,
744
+ span: "UpdateErrorsJiraIntegration",
745
+ }));
746
+ /** Change the settings of an Error tracking Linear integration, the same ones as on its **Configure** page. Only the settings you send change. */
747
+ export const updateErrorsLinearIntegration = /*@__PURE__*/ API.make(() => ({
748
+ input: __S(576, __c72, 0),
749
+ output: __S(200, __c25, 0),
750
+ errors: [Forbidden, NotFound, UnprocessableEntity],
751
+ serviceErrors: BetterStackServiceErrors,
752
+ protocol: ErrorsProtocol,
753
+ retry: Retry.Retry,
754
+ telemetry: TELEMETRY,
755
+ span: "UpdateErrorsLinearIntegration",
756
+ }));
757
+ /** Change the settings of an Error tracking Microsoft Teams integration, the same ones as on its **Configure** page. Only the settings you send change. */
758
+ export const updateErrorsMicrosoftTeamsIntegration = /*@__PURE__*/ API.make(() => ({
759
+ input: __S(586, __c73, 2),
760
+ output: __S(228, __c28, 4),
761
+ errors: [Forbidden, NotFound, UnprocessableEntity],
762
+ serviceErrors: BetterStackServiceErrors,
763
+ protocol: ErrorsProtocol,
764
+ retry: Retry.Retry,
765
+ telemetry: TELEMETRY,
766
+ span: "UpdateErrorsMicrosoftTeamsIntegration",
767
+ }));
768
+ /** Change the settings of an Error tracking Slack integration, the same ones as on its **Configure** page. Only the settings you send change. */
769
+ export const updateErrorsSlackIntegration = /*@__PURE__*/ API.make(() => ({
770
+ input: __S(592, __c74, 0),
771
+ output: __S(240, __c30, 0),
772
+ errors: [Forbidden, NotFound, UnprocessableEntity],
773
+ serviceErrors: BetterStackServiceErrors,
774
+ protocol: ErrorsProtocol,
775
+ retry: Retry.Retry,
776
+ telemetry: TELEMETRY,
777
+ span: "UpdateErrorsSlackIntegration",
778
+ }));
779
+ // Schema builders: each runs one schema initializer, on that schema's first use.
780
+ function __c0(j) {
781
+ switch (j) {
782
+ case 0:
783
+ return S.suspend(() => S.Struct({
784
+ errors: S.optional(S.Unknown),
785
+ requiredAttributes: S.optional(S.Unknown.pipe(T.Body("required_attributes"))),
786
+ invalidAttributes: S.optional(S.Unknown.pipe(T.Body("invalid_attributes"))),
787
+ invalidValues: S.optional(S.Unknown.pipe(T.Body("invalid_values"))),
788
+ })).annotate({ identifier: "TelemetryError" });
789
+ }
790
+ }
791
+ function __c1(j) {
792
+ switch (j) {
793
+ case 0:
794
+ return S.suspend(() => S.Struct({
795
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
796
+ })
797
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/jira-integrations", code: 200 }))
798
+ .pipe(T.ResponseEnvelope({
799
+ kind: "item",
800
+ path: ["data"],
801
+ attributes: ["attributes"],
802
+ id: ["id"],
803
+ }))).annotate({ identifier: "CreateErrorsJiraIntegrationRequest" });
804
+ }
805
+ }
806
+ function __c2(j) {
807
+ switch (j) {
808
+ case 0:
809
+ return S.suspend(() => S.Struct({
810
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
811
+ })
812
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/linear-integrations", code: 200 }))
813
+ .pipe(T.ResponseEnvelope({
814
+ kind: "item",
815
+ path: ["data"],
816
+ attributes: ["attributes"],
817
+ id: ["id"],
818
+ }))).annotate({ identifier: "CreateErrorsLinearIntegrationRequest" });
819
+ }
820
+ }
821
+ function __c3(j) {
822
+ switch (j) {
823
+ case 0:
824
+ return S.suspend(() => S.Struct({
825
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
826
+ })
827
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/slack-integrations", code: 200 }))
828
+ .pipe(T.ResponseEnvelope({
829
+ kind: "item",
830
+ path: ["data"],
831
+ attributes: ["attributes"],
832
+ id: ["id"],
833
+ }))).annotate({ identifier: "CreateErrorsSlackIntegrationRequest" });
834
+ }
835
+ }
836
+ function __c4(j) {
837
+ switch (j) {
838
+ case 0:
839
+ return S.Array(S.Number);
840
+ case 1:
841
+ return S.suspend(() => S.Struct({
842
+ version: S.String,
843
+ applications: S.optional(__S(32, __c4, 0)),
844
+ environment: S.optional(__S(480, __c60, 0)),
845
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
846
+ applicationId: S.optional(S.Number.pipe(T.Body("application_id"))),
847
+ })
848
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/releases", code: 200 }))
849
+ .pipe(T.ResponseEnvelope({ kind: "list", path: ["releases"], attributes: [], id: ["id"] }))).annotate({ identifier: "CreateReleaseRequest" });
850
+ case 2:
851
+ return S.suspend(() => S.Struct({
852
+ id: S.optional(S.Number),
853
+ applicationId: S.optional(S.Number.pipe(T.Body("application_id"))),
854
+ })).annotate({ identifier: "CreateReleaseResponseReleasesItem" });
855
+ case 3:
856
+ return S.Array(__S(34, __c4, 2));
857
+ case 4:
858
+ return S.suspend(() => S.Struct({
859
+ releases: __S(35, __c4, 3),
860
+ version: S.optional(S.String),
861
+ applications: S.optional(__S(32, __c4, 0)),
862
+ environment: S.optional(S.NullOr(S.Unknown)),
863
+ })).annotate({ identifier: "CreateReleaseResponse" });
864
+ }
865
+ }
866
+ function __c5(j) {
867
+ switch (j) {
868
+ case 0:
869
+ return S.suspend(() => S.Struct({
870
+ id: S.String.pipe(T.Label()),
871
+ force: S.optional(S.Boolean.pipe(T.Query())),
872
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
873
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v4/applications/{id}", code: 200 }))).annotate({ identifier: "DeleteApplicationRequest" });
874
+ }
875
+ }
876
+ function __c6(j) {
877
+ switch (j) {
878
+ case 0:
879
+ return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteApplicationResponse" });
880
+ }
881
+ }
882
+ function __c7(j) {
883
+ switch (j) {
884
+ case 0:
885
+ return S.suspend(() => S.Struct({
886
+ id: S.String.pipe(T.Label()),
887
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
888
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v1/application-groups/{id}", code: 200 }))).annotate({ identifier: "DeleteApplicationGroupRequest" });
889
+ }
890
+ }
891
+ function __c8(j) {
892
+ switch (j) {
893
+ case 0:
894
+ return S.suspend(() => S.Struct({
895
+ applicationId: S.String.pipe(T.Label("application_id")),
896
+ errorId: S.String.pipe(T.Label("error_id")),
897
+ id: S.String.pipe(T.Label()),
898
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
899
+ }).pipe(T.Http({
900
+ method: "DELETE",
901
+ uri: "/api/v4/applications/{application_id}/errors/{error_id}/issues/{id}",
902
+ code: 200,
903
+ }))).annotate({ identifier: "DeleteErrorIssueRequest" });
904
+ }
905
+ }
906
+ function __c9(j) {
907
+ switch (j) {
908
+ case 0:
909
+ return S.suspend(() => S.Struct({
910
+ applicationId: S.String.pipe(T.Label("application_id")),
911
+ id: S.String.pipe(T.Label()),
912
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
913
+ }).pipe(T.Http({
914
+ method: "DELETE",
915
+ uri: "/api/v2/applications/{application_id}/ignored-errors/{id}",
916
+ code: 200,
917
+ }))).annotate({ identifier: "DeleteIgnoredErrorRequest" });
918
+ }
919
+ }
920
+ function __c10(j) {
921
+ switch (j) {
922
+ case 0:
923
+ return S.suspend(() => S.Struct({
924
+ id: S.String.pipe(T.Label()),
925
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v1/releases/{id}", code: 200 }))).annotate({ identifier: "DeleteReleaseRequest" });
926
+ }
927
+ }
928
+ function __c11(j) {
929
+ switch (j) {
930
+ case 0:
931
+ return S.suspend(() => S.Struct({
932
+ id: S.String.pipe(T.Label()),
933
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
934
+ })
935
+ .pipe(T.Http({ method: "GET", uri: "/api/v4/applications/{id}", code: 200 }))
936
+ .pipe(T.ResponseEnvelope({
937
+ kind: "item",
938
+ path: ["data"],
939
+ attributes: ["attributes"],
940
+ id: ["id"],
941
+ }))).annotate({ identifier: "GetApplicationRequest" });
942
+ }
943
+ }
944
+ function __c12(j) {
945
+ switch (j) {
946
+ case 0:
947
+ return S.suspend(() => S.Struct({
948
+ id: S.String.pipe(T.Label()),
949
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
950
+ })
951
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/application-groups/{id}", code: 200 }))
952
+ .pipe(T.ResponseEnvelope({
953
+ kind: "item",
954
+ path: ["data"],
955
+ attributes: ["attributes"],
956
+ id: ["id"],
957
+ }))).annotate({ identifier: "GetApplicationGroupRequest" });
958
+ }
959
+ }
960
+ function __c13(j) {
961
+ switch (j) {
962
+ case 0:
963
+ return S.suspend(() => S.Struct({
964
+ applicationId: S.String.pipe(T.Label("application_id")),
965
+ id: S.String.pipe(T.Label()),
966
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
967
+ })
968
+ .pipe(T.Http({
969
+ method: "GET",
970
+ uri: "/api/v4/applications/{application_id}/metrics/{id}",
971
+ code: 200,
972
+ }))
973
+ .pipe(T.ResponseEnvelope({
974
+ kind: "item",
975
+ path: ["data"],
976
+ attributes: ["attributes"],
977
+ id: ["id"],
978
+ }))).annotate({ identifier: "GetApplicationMetricRequest" });
979
+ }
980
+ }
981
+ function __c14(j) {
982
+ switch (j) {
983
+ case 0:
984
+ return S.suspend(() => S.Struct({
985
+ id: S.String,
986
+ name: S.optional(S.String),
987
+ type: S.optional(S.String),
988
+ origin: S.optional(S.String),
989
+ layout: S.optional(S.String),
990
+ aggregations: S.optional(__S(480, __c60, 0)),
991
+ dataPoints: S.optional(S.Number.pipe(T.Body("data_points"))),
992
+ activeSeries: S.optional(S.Number.pipe(T.Body("active_series"))),
993
+ sqlExpression: S.optional(S.NullOr(S.String).pipe(T.Body("sql_expression"))),
994
+ jsonDotNotation: S.optional(S.NullOr(S.String).pipe(T.Body("json_dot_notation"))),
995
+ queryExamples: S.optional(__S(480, __c60, 0).pipe(T.Body("query_examples"))),
996
+ labels: S.optional(S.NullOr(__S(480, __c60, 0))),
997
+ })).annotate({ identifier: "ApplicationMetric" });
998
+ }
999
+ }
1000
+ function __c15(j) {
1001
+ switch (j) {
1002
+ case 0:
1003
+ return S.suspend(() => S.Struct({
1004
+ applicationId: S.String.pipe(T.Label("application_id")),
1005
+ id: S.String.pipe(T.Label()),
1006
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1007
+ })
1008
+ .pipe(T.Http({
1009
+ method: "GET",
1010
+ uri: "/api/v4/applications/{application_id}/errors/{id}",
1011
+ code: 200,
1012
+ }))
1013
+ .pipe(T.ResponseEnvelope({
1014
+ kind: "item",
1015
+ path: ["data"],
1016
+ attributes: ["attributes"],
1017
+ id: ["id"],
1018
+ }))).annotate({ identifier: "GetErrorRequest" });
1019
+ }
1020
+ }
1021
+ function __c16(j) {
1022
+ switch (j) {
1023
+ case 0:
1024
+ return S.suspend(() => S.Struct({
1025
+ id: S.optional(S.String),
1026
+ integrationId: S.optional(S.String.pipe(T.Body("integration_id"))),
1027
+ integrationType: S.optional(S.String.pipe(T.Body("integration_type"))),
1028
+ externalId: S.optional(S.String.pipe(T.Body("external_id"))),
1029
+ label: S.optional(S.String),
1030
+ url: S.optional(S.String),
1031
+ operation: S.optional(S.String),
1032
+ })).annotate({ identifier: "ErrorLinkedIssuesItem" });
1033
+ case 1:
1034
+ return S.Array(__S(128, __c16, 0));
1035
+ case 2:
1036
+ return S.suspend(() => S.Struct({
1037
+ id: S.String,
1038
+ applicationId: S.optional(S.String.pipe(T.Body("application_id"))),
1039
+ type: S.optional(S.String),
1040
+ message: S.optional(S.String),
1041
+ callSiteFunction: S.optional(S.NullOr(S.String).pipe(T.Body("call_site_function"))),
1042
+ callSiteFile: S.optional(S.NullOr(S.String).pipe(T.Body("call_site_file"))),
1043
+ environments: S.optional(__S(480, __c60, 0)),
1044
+ state: S.optional(S.String),
1045
+ firstSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("first_seen_at"))),
1046
+ lastSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("last_seen_at"))),
1047
+ occurrences: S.optional(S.NullOr(S.Number)),
1048
+ affectedUsers: S.optional(S.NullOr(S.Number).pipe(T.Body("affected_users"))),
1049
+ resolvedInReleaseId: S.optional(S.NullOr(S.String).pipe(T.Body("resolved_in_release_id"))),
1050
+ ignoredUntilCount: S.optional(S.NullOr(S.Number).pipe(T.Body("ignored_until_count"))),
1051
+ linkedIssues: S.optional(__S(129, __c16, 1).pipe(T.Body("linked_issues"))),
1052
+ url: S.optional(S.String),
1053
+ })).annotate({ identifier: "Error" });
1054
+ }
1055
+ }
1056
+ function __c17(j) {
1057
+ switch (j) {
1058
+ case 0:
1059
+ return S.suspend(() => S.Struct({
1060
+ id: S.String.pipe(T.Label()),
1061
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1062
+ })
1063
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/github-integrations/{id}", code: 200 }))
1064
+ .pipe(T.ResponseEnvelope({
1065
+ kind: "item",
1066
+ path: ["data"],
1067
+ attributes: ["attributes"],
1068
+ id: ["id"],
1069
+ }))).annotate({ identifier: "GetErrorsGithubIntegrationRequest" });
1070
+ }
1071
+ }
1072
+ function __c18(j) {
1073
+ switch (j) {
1074
+ case 0:
1075
+ return S.suspend(() => S.Struct({
1076
+ id: S.optional(S.Number),
1077
+ fullName: S.optional(S.String.pipe(T.Body("full_name"))),
1078
+ defaultBranch: S.optional(S.String.pipe(T.Body("default_branch"))),
1079
+ })).annotate({ identifier: "ErrorsGitHubIntegrationRepositoriesItem" });
1080
+ case 1:
1081
+ return S.Array(__S(144, __c18, 0));
1082
+ case 2:
1083
+ return S.suspend(() => S.Struct({
1084
+ id: S.String,
1085
+ accountLogin: S.optional(S.String.pipe(T.Body("account_login"))),
1086
+ accountType: S.optional(S.String.pipe(T.Body("account_type"))),
1087
+ status: S.optional(S.String),
1088
+ canCreatePullRequests: S.optional(S.Boolean.pipe(T.Body("can_create_pull_requests"))),
1089
+ settingsUrl: S.optional(S.String.pipe(T.Body("settings_url"))),
1090
+ repositories: S.optional(__S(145, __c18, 1)),
1091
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1092
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1093
+ })).annotate({ identifier: "ErrorsGitHubIntegration" });
1094
+ }
1095
+ }
1096
+ function __c19(j) {
1097
+ switch (j) {
1098
+ case 0:
1099
+ return S.suspend(() => S.Struct({
1100
+ id: S.String.pipe(T.Label()),
1101
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1102
+ })
1103
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/integration-authorizations/{id}", code: 200 }))
1104
+ .pipe(T.ResponseEnvelope({
1105
+ kind: "item",
1106
+ path: ["data"],
1107
+ attributes: ["attributes"],
1108
+ id: ["id"],
1109
+ }))).annotate({ identifier: "GetErrorsIntegrationAuthorizationRequest" });
1110
+ }
1111
+ }
1112
+ function __c20(j) {
1113
+ switch (j) {
1114
+ case 0:
1115
+ return S.suspend(() => S.Struct({
1116
+ id: S.String.pipe(T.Label()),
1117
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1118
+ })
1119
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/jira-integrations/{id}", code: 200 }))
1120
+ .pipe(T.ResponseEnvelope({
1121
+ kind: "item",
1122
+ path: ["data"],
1123
+ attributes: ["attributes"],
1124
+ id: ["id"],
1125
+ }))).annotate({ identifier: "GetErrorsJiraIntegrationRequest" });
1126
+ }
1127
+ }
1128
+ function __c21(j) {
1129
+ switch (j) {
1130
+ case 0:
1131
+ return S.suspend(() => S.Struct({
1132
+ applicationId: S.optional(S.Number.pipe(T.Body("application_id"))),
1133
+ environments: S.optional(__S(480, __c60, 0)),
1134
+ })).annotate({ identifier: "ErrorsJiraIntegrationApplicationsItem" });
1135
+ case 1:
1136
+ return S.Array(__S(168, __c21, 0));
1137
+ case 2:
1138
+ return S.suspend(() => S.Struct({
1139
+ tag: S.optional(S.String),
1140
+ values: S.optional(__S(480, __c60, 0)),
1141
+ })).annotate({ identifier: "ErrorsJiraIntegrationTagFilterItem" });
1142
+ case 3:
1143
+ return S.Array(__S(170, __c21, 2));
1144
+ }
1145
+ }
1146
+ function __c22(j) {
1147
+ switch (j) {
1148
+ case 0:
1149
+ return S.suspend(() => S.Struct({
1150
+ spikes: S.optional(S.Boolean),
1151
+ newErrors: S.optional(S.Boolean.pipe(T.Body("new_errors"))),
1152
+ automaticallyReopened: S.optional(S.Boolean.pipe(T.Body("automatically_reopened"))),
1153
+ occurrenceMilestones: S.optional(S.Boolean.pipe(T.Body("occurrence_milestones"))),
1154
+ occurrenceThreshold: S.optional(S.Boolean.pipe(T.Body("occurrence_threshold"))),
1155
+ affectedUsersThreshold: S.optional(S.Boolean.pipe(T.Body("affected_users_threshold"))),
1156
+ })).annotate({ identifier: "ErrorsJiraIntegrationNotifications" });
1157
+ }
1158
+ }
1159
+ function __c23(j) {
1160
+ switch (j) {
1161
+ case 0:
1162
+ return S.Record(S.String, S.Unknown);
1163
+ case 1:
1164
+ return S.suspend(() => S.Struct({
1165
+ id: S.String,
1166
+ applications: S.optional(__S(169, __c21, 1)),
1167
+ notifications: S.optional(__S(176, __c22, 0)),
1168
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
1169
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
1170
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
1171
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
1172
+ name: S.optional(S.String),
1173
+ jiraSiteUrl: S.optional(S.NullOr(S.String).pipe(T.Body("jira_site_url"))),
1174
+ jiraProjectKey: S.optional(S.String.pipe(T.Body("jira_project_key"))),
1175
+ jiraIssueTypeId: S.optional(S.String.pipe(T.Body("jira_issue_type_id"))),
1176
+ jiraFields: S.optional(__S(184, __c23, 0).pipe(T.Body("jira_fields"))),
1177
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1178
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1179
+ })).annotate({ identifier: "ErrorsJiraIntegration" });
1180
+ }
1181
+ }
1182
+ function __c24(j) {
1183
+ switch (j) {
1184
+ case 0:
1185
+ return S.suspend(() => S.Struct({
1186
+ id: S.String.pipe(T.Label()),
1187
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1188
+ })
1189
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/linear-integrations/{id}", code: 200 }))
1190
+ .pipe(T.ResponseEnvelope({
1191
+ kind: "item",
1192
+ path: ["data"],
1193
+ attributes: ["attributes"],
1194
+ id: ["id"],
1195
+ }))).annotate({ identifier: "GetErrorsLinearIntegrationRequest" });
1196
+ }
1197
+ }
1198
+ function __c25(j) {
1199
+ switch (j) {
1200
+ case 0:
1201
+ return S.suspend(() => S.Struct({
1202
+ id: S.String,
1203
+ applications: S.optional(__S(169, __c21, 1)),
1204
+ notifications: S.optional(__S(176, __c22, 0)),
1205
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
1206
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
1207
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
1208
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
1209
+ name: S.optional(S.String),
1210
+ linearTeamId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_team_id"))),
1211
+ linearAssigneeId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_assignee_id"))),
1212
+ linearLabelIds: S.optional(__S(480, __c60, 0).pipe(T.Body("linear_label_ids"))),
1213
+ linearPriority: S.optional(S.String.pipe(T.Body("linear_priority"))),
1214
+ linearStatusId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_status_id"))),
1215
+ linearProjectId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_project_id"))),
1216
+ autoResolve: S.optional(S.Boolean.pipe(T.Body("auto_resolve"))),
1217
+ linearResolvedStatusId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_resolved_status_id"))),
1218
+ autoReopen: S.optional(S.Boolean.pipe(T.Body("auto_reopen"))),
1219
+ syncComments: S.optional(S.Boolean.pipe(T.Body("sync_comments"))),
1220
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1221
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1222
+ })).annotate({ identifier: "ErrorsLinearIntegration" });
1223
+ }
1224
+ }
1225
+ function __c26(j) {
1226
+ switch (j) {
1227
+ case 0:
1228
+ return S.suspend(() => S.Struct({
1229
+ id: S.String.pipe(T.Label()),
1230
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1231
+ })
1232
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/microsoft-teams-integrations/{id}", code: 200 }))
1233
+ .pipe(T.ResponseEnvelope({
1234
+ kind: "item",
1235
+ path: ["data"],
1236
+ attributes: ["attributes"],
1237
+ id: ["id"],
1238
+ }))).annotate({ identifier: "GetErrorsMicrosoftTeamsIntegrationRequest" });
1239
+ }
1240
+ }
1241
+ function __c27(j) {
1242
+ switch (j) {
1243
+ case 0:
1244
+ return S.suspend(() => S.Struct({
1245
+ spikes: S.optional(S.Boolean),
1246
+ spikeProtection: S.optional(S.Boolean.pipe(T.Body("spike_protection"))),
1247
+ newReleases: S.optional(S.Boolean.pipe(T.Body("new_releases"))),
1248
+ newErrors: S.optional(S.Boolean.pipe(T.Body("new_errors"))),
1249
+ occurrenceMilestones: S.optional(S.Boolean.pipe(T.Body("occurrence_milestones"))),
1250
+ occurrenceThreshold: S.optional(S.Boolean.pipe(T.Body("occurrence_threshold"))),
1251
+ automaticallyReopened: S.optional(S.Boolean.pipe(T.Body("automatically_reopened"))),
1252
+ affectedUsersThreshold: S.optional(S.Boolean.pipe(T.Body("affected_users_threshold"))),
1253
+ })).annotate({ identifier: "ErrorsMicrosoftTeamsIntegrationNotifications" });
1254
+ }
1255
+ }
1256
+ function __c28(j) {
1257
+ switch (j) {
1258
+ case 0:
1259
+ return S.suspend(() => S.Struct({
1260
+ id: S.optional(S.String),
1261
+ name: S.optional(S.String),
1262
+ })).annotate({ identifier: "ErrorsMicrosoftTeamsIntegrationRoutesItemChannelsItem" });
1263
+ case 1:
1264
+ return S.Array(__S(224, __c28, 0));
1265
+ case 2:
1266
+ return S.suspend(() => S.Struct({
1267
+ applications: S.optional(__S(169, __c21, 1)),
1268
+ channels: S.optional(__S(225, __c28, 1)),
1269
+ })).annotate({ identifier: "ErrorsMicrosoftTeamsIntegrationRoutesItem" });
1270
+ case 3:
1271
+ return S.Array(__S(226, __c28, 2));
1272
+ case 4:
1273
+ return S.suspend(() => S.Struct({
1274
+ id: S.String,
1275
+ notifications: S.optional(__S(216, __c27, 0)),
1276
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
1277
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
1278
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
1279
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
1280
+ microsoftTeamsTeamName: S.optional(S.NullOr(S.String).pipe(T.Body("microsoft_teams_team_name"))),
1281
+ microsoftTeamsChannelName: S.optional(S.NullOr(S.String).pipe(T.Body("microsoft_teams_channel_name"))),
1282
+ routes: S.optional(__S(227, __c28, 3)),
1283
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1284
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1285
+ })).annotate({ identifier: "ErrorsMicrosoftTeamsIntegration" });
1286
+ }
1287
+ }
1288
+ function __c29(j) {
1289
+ switch (j) {
1290
+ case 0:
1291
+ return S.suspend(() => S.Struct({
1292
+ id: S.String.pipe(T.Label()),
1293
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1294
+ })
1295
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/slack-integrations/{id}", code: 200 }))
1296
+ .pipe(T.ResponseEnvelope({
1297
+ kind: "item",
1298
+ path: ["data"],
1299
+ attributes: ["attributes"],
1300
+ id: ["id"],
1301
+ }))).annotate({ identifier: "GetErrorsSlackIntegrationRequest" });
1302
+ }
1303
+ }
1304
+ function __c30(j) {
1305
+ switch (j) {
1306
+ case 0:
1307
+ return S.suspend(() => S.Struct({
1308
+ id: S.String,
1309
+ applications: S.optional(__S(169, __c21, 1)),
1310
+ notifications: S.optional(__S(216, __c27, 0)),
1311
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
1312
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
1313
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
1314
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
1315
+ slackTeamName: S.optional(S.String.pipe(T.Body("slack_team_name"))),
1316
+ slackChannelName: S.optional(S.String.pipe(T.Body("slack_channel_name"))),
1317
+ postUpdates: S.optional(S.String.pipe(T.Body("post_updates"))),
1318
+ broadcastUpdates: S.optional(S.Boolean.pipe(T.Body("broadcast_updates"))),
1319
+ aiSreOnMention: S.optional(S.Boolean.pipe(T.Body("ai_sre_on_mention"))),
1320
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1321
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1322
+ })).annotate({ identifier: "ErrorsSlackIntegration" });
1323
+ }
1324
+ }
1325
+ function __c31(j) {
1326
+ switch (j) {
1327
+ case 0:
1328
+ return S.suspend(() => S.Struct({
1329
+ id: S.String.pipe(T.Label()),
1330
+ })
1331
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/releases/{id}", code: 200 }))
1332
+ .pipe(T.ResponseEnvelope({
1333
+ kind: "item",
1334
+ path: ["data"],
1335
+ attributes: ["attributes"],
1336
+ id: ["id"],
1337
+ }))).annotate({ identifier: "GetReleaseRequest" });
1338
+ }
1339
+ }
1340
+ function __c32(j) {
1341
+ switch (j) {
1342
+ case 0:
1343
+ return S.suspend(() => S.Struct({
1344
+ id: S.String,
1345
+ version: S.optional(S.String),
1346
+ applicationId: S.optional(S.Number.pipe(T.Body("application_id"))),
1347
+ environments: S.optional(__S(480, __c60, 0)),
1348
+ origin: S.optional(S.String),
1349
+ firstSeenAt: S.optional(S.String.pipe(T.Body("first_seen_at"))),
1350
+ lastSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("last_seen_at"))),
1351
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
1352
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
1353
+ })).annotate({ identifier: "Release" });
1354
+ }
1355
+ }
1356
+ function __c33(j) {
1357
+ switch (j) {
1358
+ case 0:
1359
+ return S.suspend(() => S.Struct({
1360
+ applicationId: S.String.pipe(T.Label("application_id")),
1361
+ id: S.String.pipe(T.Label()),
1362
+ from: S.optional(S.String.pipe(T.Query())),
1363
+ to: S.optional(S.String.pipe(T.Query())),
1364
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1365
+ })
1366
+ .pipe(T.Http({
1367
+ method: "GET",
1368
+ uri: "/api/v4/applications/{application_id}/groups/{id}",
1369
+ code: 200,
1370
+ }))
1371
+ .pipe(T.ResponseEnvelope({
1372
+ kind: "item",
1373
+ path: ["data"],
1374
+ attributes: ["attributes"],
1375
+ id: ["id"],
1376
+ }))).annotate({ identifier: "GetRumGroupRequest" });
1377
+ }
1378
+ }
1379
+ function __c34(j) {
1380
+ switch (j) {
1381
+ case 0:
1382
+ return S.suspend(() => S.Struct({
1383
+ id: S.String,
1384
+ applicationId: S.optional(S.String.pipe(T.Body("application_id"))),
1385
+ groupId: S.optional(S.NullOr(S.String).pipe(T.Body("group_id"))),
1386
+ name: S.optional(S.NullOr(S.String)),
1387
+ firstSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("first_seen_at"))),
1388
+ lastSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("last_seen_at"))),
1389
+ userCount: S.optional(S.Number.pipe(T.Body("user_count"))),
1390
+ sessionCount: S.optional(S.Number.pipe(T.Body("session_count"))),
1391
+ errorCount: S.optional(S.Number.pipe(T.Body("error_count"))),
1392
+ replayCount: S.optional(S.Number.pipe(T.Body("replay_count"))),
1393
+ usersUrl: S.optional(S.String.pipe(T.Body("users_url"))),
1394
+ sessionsUrl: S.optional(S.String.pipe(T.Body("sessions_url"))),
1395
+ })).annotate({ identifier: "RumGroup" });
1396
+ }
1397
+ }
1398
+ function __c35(j) {
1399
+ switch (j) {
1400
+ case 0:
1401
+ return S.suspend(() => S.Struct({
1402
+ applicationId: S.String.pipe(T.Label("application_id")),
1403
+ id: S.String.pipe(T.Label()),
1404
+ from: S.optional(S.String.pipe(T.Query())),
1405
+ to: S.optional(S.String.pipe(T.Query())),
1406
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1407
+ })
1408
+ .pipe(T.Http({
1409
+ method: "GET",
1410
+ uri: "/api/v4/applications/{application_id}/sessions/{id}",
1411
+ code: 200,
1412
+ }))
1413
+ .pipe(T.ResponseEnvelope({
1414
+ kind: "item",
1415
+ path: ["data"],
1416
+ attributes: ["attributes"],
1417
+ id: ["id"],
1418
+ }))).annotate({ identifier: "GetRumSessionRequest" });
1419
+ }
1420
+ }
1421
+ function __c36(j) {
1422
+ switch (j) {
1423
+ case 0:
1424
+ return S.suspend(() => S.Struct({
1425
+ id: S.optional(S.String),
1426
+ firstSeenAt: S.optional(S.String.pipe(T.Body("first_seen_at"))),
1427
+ lastSeenAt: S.optional(S.String.pipe(T.Body("last_seen_at"))),
1428
+ })).annotate({ identifier: "RumSessionReplaysItem" });
1429
+ case 1:
1430
+ return S.Array(__S(288, __c36, 0));
1431
+ case 2:
1432
+ return S.suspend(() => S.Struct({
1433
+ at: S.optional(S.String),
1434
+ type: S.optional(S.String),
1435
+ name: S.optional(S.String),
1436
+ url: S.optional(S.String),
1437
+ target: S.optional(S.String),
1438
+ errorId: S.optional(S.String.pipe(T.Body("error_id"))),
1439
+ message: S.optional(S.String),
1440
+ traceId: S.optional(S.String.pipe(T.Body("trace_id"))),
1441
+ spanCount: S.optional(S.Number.pipe(T.Body("span_count"))),
1442
+ durationMs: S.optional(S.Number.pipe(T.Body("duration_ms"))),
1443
+ })).annotate({ identifier: "RumSessionTimelineItem" });
1444
+ case 3:
1445
+ return S.Array(__S(290, __c36, 2));
1446
+ case 4:
1447
+ return S.suspend(() => S.Struct({
1448
+ id: S.String,
1449
+ applicationId: S.optional(S.String.pipe(T.Body("application_id"))),
1450
+ userIdentifier: S.optional(S.NullOr(S.String).pipe(T.Body("user_identifier"))),
1451
+ userName: S.optional(S.NullOr(S.String).pipe(T.Body("user_name"))),
1452
+ groupId: S.optional(S.NullOr(S.String).pipe(T.Body("group_id"))),
1453
+ groupName: S.optional(S.NullOr(S.String).pipe(T.Body("group_name"))),
1454
+ country: S.optional(S.NullOr(S.String)),
1455
+ city: S.optional(S.NullOr(S.String)),
1456
+ browser: S.optional(S.NullOr(S.String)),
1457
+ os: S.optional(S.NullOr(S.String)),
1458
+ userAgent: S.optional(S.NullOr(S.String).pipe(T.Body("user_agent"))),
1459
+ firstUrl: S.optional(S.NullOr(S.String).pipe(T.Body("first_url"))),
1460
+ lastUrl: S.optional(S.NullOr(S.String).pipe(T.Body("last_url"))),
1461
+ pageCount: S.optional(S.Number.pipe(T.Body("page_count"))),
1462
+ clickCount: S.optional(S.Number.pipe(T.Body("click_count"))),
1463
+ errorCount: S.optional(S.Number.pipe(T.Body("error_count"))),
1464
+ replayCount: S.optional(S.Number.pipe(T.Body("replay_count"))),
1465
+ firstSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("first_seen_at"))),
1466
+ lastSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("last_seen_at"))),
1467
+ durationSeconds: S.optional(S.NullOr(S.Number).pipe(T.Body("duration_seconds"))),
1468
+ state: S.optional(S.String),
1469
+ url: S.optional(S.String),
1470
+ replays: S.optional(__S(289, __c36, 1)),
1471
+ timeline: S.optional(__S(291, __c36, 3)),
1472
+ timelineTruncated: S.optional(S.Boolean.pipe(T.Body("timeline_truncated"))),
1473
+ })).annotate({ identifier: "RumSession" });
1474
+ }
1475
+ }
1476
+ function __c37(j) {
1477
+ switch (j) {
1478
+ case 0:
1479
+ return S.suspend(() => S.Struct({
1480
+ applicationId: S.String.pipe(T.Label("application_id")),
1481
+ id: S.String.pipe(T.Label()),
1482
+ from: S.optional(S.String.pipe(T.Query())),
1483
+ to: S.optional(S.String.pipe(T.Query())),
1484
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1485
+ })
1486
+ .pipe(T.Http({
1487
+ method: "GET",
1488
+ uri: "/api/v4/applications/{application_id}/users/{id}",
1489
+ code: 200,
1490
+ }))
1491
+ .pipe(T.ResponseEnvelope({
1492
+ kind: "item",
1493
+ path: ["data"],
1494
+ attributes: ["attributes"],
1495
+ id: ["id"],
1496
+ }))).annotate({ identifier: "GetRumUserRequest" });
1497
+ }
1498
+ }
1499
+ function __c38(j) {
1500
+ switch (j) {
1501
+ case 0:
1502
+ return S.suspend(() => S.Struct({
1503
+ id: S.String,
1504
+ applicationId: S.optional(S.String.pipe(T.Body("application_id"))),
1505
+ name: S.optional(S.NullOr(S.String)),
1506
+ groupId: S.optional(S.NullOr(S.String).pipe(T.Body("group_id"))),
1507
+ groupName: S.optional(S.NullOr(S.String).pipe(T.Body("group_name"))),
1508
+ country: S.optional(S.NullOr(S.String)),
1509
+ city: S.optional(S.NullOr(S.String)),
1510
+ referrer: S.optional(S.NullOr(S.String)),
1511
+ utm: S.optional(__S(488, __c61, 0)),
1512
+ firstSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("first_seen_at"))),
1513
+ lastSeenAt: S.optional(S.NullOr(S.String).pipe(T.Body("last_seen_at"))),
1514
+ errorCount: S.optional(S.Number.pipe(T.Body("error_count"))),
1515
+ sessionCount: S.optional(S.Number.pipe(T.Body("session_count"))),
1516
+ sessionsUrl: S.optional(S.String.pipe(T.Body("sessions_url"))),
1517
+ })).annotate({ identifier: "RumUser" });
1518
+ }
1519
+ }
1520
+ function __c39(j) {
1521
+ switch (j) {
1522
+ case 0:
1523
+ return S.suspend(() => S.Struct({
1524
+ applicationId: S.String.pipe(T.Label("application_id")),
1525
+ errorId: S.String.pipe(T.Label("error_id")),
1526
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1527
+ issue: S.String,
1528
+ integrationId: S.optional(S.String.pipe(T.Body("integration_id"))),
1529
+ })
1530
+ .pipe(T.Http({
1531
+ method: "POST",
1532
+ uri: "/api/v4/applications/{application_id}/errors/{error_id}/issues/link",
1533
+ code: 200,
1534
+ }))
1535
+ .pipe(T.ResponseEnvelope({
1536
+ kind: "item",
1537
+ path: ["data"],
1538
+ attributes: ["attributes"],
1539
+ id: ["id"],
1540
+ }))).annotate({ identifier: "LinkErrorIssueRequest" });
1541
+ }
1542
+ }
1543
+ function __c40(j) {
1544
+ switch (j) {
1545
+ case 0:
1546
+ return S.suspend(() => S.Struct({
1547
+ sort: S.optional(S.String.pipe(T.Query())),
1548
+ name: S.optional(S.String.pipe(T.Query())),
1549
+ page: S.optional(S.Number.pipe(T.Query())),
1550
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1551
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1552
+ })
1553
+ .pipe(T.Http({ method: "GET", uri: "/api/v4/applications", code: 200 }))
1554
+ .pipe(T.ResponseEnvelope({
1555
+ kind: "list",
1556
+ path: ["data"],
1557
+ attributes: ["attributes"],
1558
+ id: ["id"],
1559
+ }))).annotate({ identifier: "ListApplicationRequest" });
1560
+ case 1:
1561
+ return S.Array(__S(500, __c62, 4));
1562
+ case 2:
1563
+ return S.suspend(() => S.Struct({
1564
+ data: __S(321, __c40, 1),
1565
+ pagination: S.optional(__S(376, __c47, 0)),
1566
+ })).annotate({ identifier: "ApplicationList" });
1567
+ }
1568
+ }
1569
+ function __c41(j) {
1570
+ switch (j) {
1571
+ case 0:
1572
+ return S.suspend(() => S.Struct({
1573
+ applicationId: S.String.pipe(T.Label("application_id")),
1574
+ sourceType: S.optional(S.String.pipe(T.Query("source_type"))),
1575
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1576
+ })
1577
+ .pipe(T.Http({
1578
+ method: "GET",
1579
+ uri: "/api/v4/applications/{application_id}/fields",
1580
+ code: 200,
1581
+ }))
1582
+ .pipe(T.ResponseEnvelope({
1583
+ kind: "list",
1584
+ path: ["data"],
1585
+ attributes: ["attributes"],
1586
+ id: ["id"],
1587
+ }))).annotate({ identifier: "ListApplicationFieldRequest" });
1588
+ case 1:
1589
+ return S.suspend(() => S.Struct({
1590
+ id: S.String,
1591
+ path: S.optional(S.String),
1592
+ pathParts: S.optional(__S(480, __c60, 0).pipe(T.Body("path_parts"))),
1593
+ type: S.optional(S.String),
1594
+ })).annotate({ identifier: "ApplicationField" });
1595
+ case 2:
1596
+ return S.Array(__S(329, __c41, 1));
1597
+ case 3:
1598
+ return S.suspend(() => S.Struct({
1599
+ data: S.optional(__S(330, __c41, 2)),
1600
+ })).annotate({ identifier: "ApplicationFieldList" });
1601
+ }
1602
+ }
1603
+ function __c42(j) {
1604
+ switch (j) {
1605
+ case 0:
1606
+ return S.suspend(() => S.Struct({
1607
+ page: S.optional(S.Number.pipe(T.Query())),
1608
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1609
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1610
+ })
1611
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/application-groups", code: 200 }))
1612
+ .pipe(T.ResponseEnvelope({
1613
+ kind: "list",
1614
+ path: ["data"],
1615
+ attributes: ["attributes"],
1616
+ id: ["id"],
1617
+ }))).annotate({ identifier: "ListApplicationGroupRequest" });
1618
+ case 1:
1619
+ return S.Array(__S(608, __c76, 0));
1620
+ case 2:
1621
+ return S.suspend(() => S.Struct({
1622
+ data: __S(337, __c42, 1),
1623
+ pagination: S.optional(__S(376, __c47, 0)),
1624
+ })).annotate({ identifier: "ApplicationGroupList" });
1625
+ }
1626
+ }
1627
+ function __c43(j) {
1628
+ switch (j) {
1629
+ case 0:
1630
+ return S.suspend(() => S.Struct({
1631
+ applicationId: S.String.pipe(T.Label("application_id")),
1632
+ order: S.optional(S.String.pipe(T.Query())),
1633
+ nameFilter: S.optional(S.String.pipe(T.Query("name_filter"))),
1634
+ page: S.optional(S.Number.pipe(T.Query())),
1635
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1636
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1637
+ })
1638
+ .pipe(T.Http({
1639
+ method: "GET",
1640
+ uri: "/api/v4/applications/{application_id}/metrics",
1641
+ code: 200,
1642
+ }))
1643
+ .pipe(T.ResponseEnvelope({
1644
+ kind: "list",
1645
+ path: ["data"],
1646
+ attributes: ["attributes"],
1647
+ id: ["id"],
1648
+ }))).annotate({ identifier: "ListApplicationMetricRequest" });
1649
+ case 1:
1650
+ return S.Array(__S(112, __c14, 0));
1651
+ case 2:
1652
+ return S.suspend(() => S.Struct({
1653
+ data: __S(345, __c43, 1),
1654
+ pagination: S.optional(__S(376, __c47, 0)),
1655
+ usageAvailable: S.optional(S.Boolean.pipe(T.Body("usage_available"))),
1656
+ })).annotate({ identifier: "ListApplicationMetricResponse" });
1657
+ }
1658
+ }
1659
+ function __c44(j) {
1660
+ switch (j) {
1661
+ case 0:
1662
+ return S.suspend(() => S.Struct({
1663
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1664
+ })
1665
+ .pipe(T.Http({ method: "GET", uri: "/api/v4/data-regions", code: 200 }))
1666
+ .pipe(T.ResponseEnvelope({
1667
+ kind: "list",
1668
+ path: ["data"],
1669
+ attributes: ["attributes"],
1670
+ id: ["id"],
1671
+ }))).annotate({ identifier: "ListDataRegionRequest" });
1672
+ case 1:
1673
+ return S.suspend(() => S.Struct({
1674
+ id: S.String,
1675
+ name: S.optional(S.String),
1676
+ kind: S.optional(S.String),
1677
+ })).annotate({ identifier: "DataRegion" });
1678
+ case 2:
1679
+ return S.Array(__S(353, __c44, 1));
1680
+ case 3:
1681
+ return S.suspend(() => S.Struct({
1682
+ data: S.optional(__S(354, __c44, 2)),
1683
+ })).annotate({ identifier: "DataRegionList" });
1684
+ }
1685
+ }
1686
+ function __c45(j) {
1687
+ switch (j) {
1688
+ case 0:
1689
+ return S.suspend(() => S.Struct({
1690
+ applicationId: S.String.pipe(T.Label("application_id")),
1691
+ state: S.optional(S.String.pipe(T.Query())),
1692
+ from: S.optional(S.String.pipe(T.Query())),
1693
+ to: S.optional(S.String.pipe(T.Query())),
1694
+ environment: S.optional(S.String.pipe(T.Query())),
1695
+ release: S.optional(S.String.pipe(T.Query())),
1696
+ query: S.optional(S.String.pipe(T.Query())),
1697
+ orderBy: S.optional(S.String.pipe(T.Query("order_by"))),
1698
+ page: S.optional(S.Number.pipe(T.Query())),
1699
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1700
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1701
+ })
1702
+ .pipe(T.Http({
1703
+ method: "GET",
1704
+ uri: "/api/v4/applications/{application_id}/errors",
1705
+ code: 200,
1706
+ }))
1707
+ .pipe(T.ResponseEnvelope({
1708
+ kind: "list",
1709
+ path: ["data"],
1710
+ attributes: ["attributes"],
1711
+ id: ["id"],
1712
+ }))).annotate({ identifier: "ListErrorRequest" });
1713
+ case 1:
1714
+ return S.Array(__S(130, __c16, 2));
1715
+ case 2:
1716
+ return S.suspend(() => S.Struct({
1717
+ data: __S(361, __c45, 1),
1718
+ pagination: S.optional(__S(376, __c47, 0)),
1719
+ })).annotate({ identifier: "ErrorList" });
1720
+ }
1721
+ }
1722
+ function __c46(j) {
1723
+ switch (j) {
1724
+ case 0:
1725
+ return S.suspend(() => S.Struct({
1726
+ id: S.String.pipe(T.Label()),
1727
+ page: S.optional(S.Number.pipe(T.Query())),
1728
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1729
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1730
+ })
1731
+ .pipe(T.Http({
1732
+ method: "GET",
1733
+ uri: "/api/v1/application-groups/{id}/applications",
1734
+ code: 200,
1735
+ }))
1736
+ .pipe(T.ResponseEnvelope({
1737
+ kind: "list",
1738
+ path: ["data"],
1739
+ attributes: ["attributes"],
1740
+ id: ["id"],
1741
+ }))).annotate({ identifier: "ApplicationsApplicationGroupRequest" });
1742
+ case 1:
1743
+ return S.suspend(() => S.Struct({
1744
+ id: S.String,
1745
+ name: S.optional(S.String),
1746
+ platform: S.optional(S.String),
1747
+ applicationGroupId: S.optional(S.NullOr(S.Number).pipe(T.Body("application_group_id"))),
1748
+ ingestingPaused: S.optional(S.Boolean.pipe(T.Body("ingesting_paused"))),
1749
+ errorsRetention: S.optional(S.Number.pipe(T.Body("errors_retention"))),
1750
+ dataRegion: S.optional(S.String.pipe(T.Body("data_region"))),
1751
+ correlateWithSourceId: S.optional(S.NullOr(S.String).pipe(T.Body("correlate_with_source_id"))),
1752
+ githubRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("github_repository_name"))),
1753
+ gitlabRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("gitlab_repository_name"))),
1754
+ codeMappingStackRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_stack_root"))),
1755
+ codeMappingSourceRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_source_root"))),
1756
+ customBucket: S.optional(S.NullOr(__S(384, __c48, 0)).pipe(T.Body("custom_bucket"))),
1757
+ token: S.optional(S.String.pipe(T.SensitiveValue({}))),
1758
+ jsTagToken: S.optional(S.NullOr(S.String).pipe(T.Body("js_tag_token"), T.SensitiveValue({}))),
1759
+ tableName: S.optional(S.String.pipe(T.Body("table_name"))),
1760
+ ingestingHost: S.optional(S.String.pipe(T.Body("ingesting_host"))),
1761
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
1762
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
1763
+ teamId: S.optional(S.Number.pipe(T.Body("team_id"))),
1764
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
1765
+ })).annotate({ identifier: "ApplicationsApplicationGroupResponseDataItem" });
1766
+ case 2:
1767
+ return S.Array(__S(369, __c46, 1));
1768
+ case 3:
1769
+ return S.suspend(() => S.Struct({
1770
+ data: __S(370, __c46, 2),
1771
+ pagination: S.optional(__S(376, __c47, 0)),
1772
+ })).annotate({ identifier: "ApplicationsApplicationGroupResponse" });
1773
+ }
1774
+ }
1775
+ function __c47(j) {
1776
+ switch (j) {
1777
+ case 0:
1778
+ return S.suspend(() => S.Struct({
1779
+ first: S.optional(S.String),
1780
+ last: S.optional(S.String),
1781
+ prev: S.optional(S.NullOr(S.String)),
1782
+ next: S.optional(S.NullOr(S.String)),
1783
+ totalCount: S.optional(S.Number.pipe(T.Body("total_count"))),
1784
+ })).annotate({ identifier: "PaginationPageNumber" });
1785
+ }
1786
+ }
1787
+ function __c48(j) {
1788
+ switch (j) {
1789
+ case 0:
1790
+ return S.suspend(() => S.Struct({
1791
+ name: S.optional(S.String),
1792
+ endpoint: S.optional(S.String),
1793
+ accessKeyId: S.optional(S.String.pipe(T.Body("access_key_id"), T.SensitiveValue({}))),
1794
+ secretAccessKey: S.optional(S.String.pipe(T.Body("secret_access_key"), T.SensitiveValue({}))),
1795
+ keepDataAfterRetention: S.optional(S.Boolean.pipe(T.Body("keep_data_after_retention"))),
1796
+ })).annotate({ identifier: "ApplicationsApplicationGroupResponseDataItemCustomBucket" });
1797
+ }
1798
+ }
1799
+ function __c49(j) {
1800
+ switch (j) {
1801
+ case 0:
1802
+ return S.suspend(() => S.Struct({
1803
+ applicationId: S.String.pipe(T.Label("application_id")),
1804
+ errorId: S.String.pipe(T.Label("error_id")),
1805
+ page: S.optional(S.Number.pipe(T.Query())),
1806
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1807
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1808
+ })
1809
+ .pipe(T.Http({
1810
+ method: "GET",
1811
+ uri: "/api/v4/applications/{application_id}/errors/{error_id}/comments",
1812
+ code: 200,
1813
+ }))
1814
+ .pipe(T.ResponseEnvelope({
1815
+ kind: "list",
1816
+ path: ["data"],
1817
+ attributes: ["attributes"],
1818
+ id: ["id"],
1819
+ }))).annotate({ identifier: "ListErrorCommentRequest" });
1820
+ case 1:
1821
+ return S.Array(__S(624, __c78, 0));
1822
+ case 2:
1823
+ return S.suspend(() => S.Struct({
1824
+ data: __S(393, __c49, 1),
1825
+ pagination: S.optional(__S(376, __c47, 0)),
1826
+ })).annotate({ identifier: "ErrorCommentList" });
1827
+ }
1828
+ }
1829
+ function __c50(j) {
1830
+ switch (j) {
1831
+ case 0:
1832
+ return S.suspend(() => S.Struct({
1833
+ page: S.optional(S.Number.pipe(T.Query())),
1834
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1835
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1836
+ })
1837
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/github-integrations", code: 200 }))
1838
+ .pipe(T.ResponseEnvelope({
1839
+ kind: "list",
1840
+ path: ["data"],
1841
+ attributes: ["attributes"],
1842
+ id: ["id"],
1843
+ }))).annotate({ identifier: "ListErrorsGithubIntegrationRequest" });
1844
+ case 1:
1845
+ return S.Array(__S(146, __c18, 2));
1846
+ case 2:
1847
+ return S.suspend(() => S.Struct({
1848
+ data: __S(401, __c50, 1),
1849
+ pagination: S.optional(__S(376, __c47, 0)),
1850
+ })).annotate({ identifier: "ErrorsGitHubIntegrationList" });
1851
+ }
1852
+ }
1853
+ function __c51(j) {
1854
+ switch (j) {
1855
+ case 0:
1856
+ return S.suspend(() => S.Struct({
1857
+ page: S.optional(S.Number.pipe(T.Query())),
1858
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1859
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1860
+ })
1861
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/jira-integrations", code: 200 }))
1862
+ .pipe(T.ResponseEnvelope({
1863
+ kind: "list",
1864
+ path: ["data"],
1865
+ attributes: ["attributes"],
1866
+ id: ["id"],
1867
+ }))).annotate({ identifier: "ListErrorsJiraIntegrationRequest" });
1868
+ case 1:
1869
+ return S.Array(__S(185, __c23, 1));
1870
+ case 2:
1871
+ return S.suspend(() => S.Struct({
1872
+ data: __S(409, __c51, 1),
1873
+ pagination: S.optional(__S(376, __c47, 0)),
1874
+ })).annotate({ identifier: "ErrorsJiraIntegrationList" });
1875
+ }
1876
+ }
1877
+ function __c52(j) {
1878
+ switch (j) {
1879
+ case 0:
1880
+ return S.suspend(() => S.Struct({
1881
+ page: S.optional(S.Number.pipe(T.Query())),
1882
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1883
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1884
+ })
1885
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/linear-integrations", code: 200 }))
1886
+ .pipe(T.ResponseEnvelope({
1887
+ kind: "list",
1888
+ path: ["data"],
1889
+ attributes: ["attributes"],
1890
+ id: ["id"],
1891
+ }))).annotate({ identifier: "ListErrorsLinearIntegrationRequest" });
1892
+ case 1:
1893
+ return S.Array(__S(200, __c25, 0));
1894
+ case 2:
1895
+ return S.suspend(() => S.Struct({
1896
+ data: __S(417, __c52, 1),
1897
+ pagination: S.optional(__S(376, __c47, 0)),
1898
+ })).annotate({ identifier: "ErrorsLinearIntegrationList" });
1899
+ }
1900
+ }
1901
+ function __c53(j) {
1902
+ switch (j) {
1903
+ case 0:
1904
+ return S.suspend(() => S.Struct({
1905
+ page: S.optional(S.Number.pipe(T.Query())),
1906
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1907
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1908
+ })
1909
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/microsoft-teams-integrations", code: 200 }))
1910
+ .pipe(T.ResponseEnvelope({
1911
+ kind: "list",
1912
+ path: ["data"],
1913
+ attributes: ["attributes"],
1914
+ id: ["id"],
1915
+ }))).annotate({ identifier: "ListErrorsMicrosoftTeamsIntegrationRequest" });
1916
+ case 1:
1917
+ return S.Array(__S(228, __c28, 4));
1918
+ case 2:
1919
+ return S.suspend(() => S.Struct({
1920
+ data: __S(425, __c53, 1),
1921
+ pagination: S.optional(__S(376, __c47, 0)),
1922
+ })).annotate({ identifier: "ErrorsMicrosoftTeamsIntegrationList" });
1923
+ }
1924
+ }
1925
+ function __c54(j) {
1926
+ switch (j) {
1927
+ case 0:
1928
+ return S.suspend(() => S.Struct({
1929
+ page: S.optional(S.Number.pipe(T.Query())),
1930
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1931
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1932
+ })
1933
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/slack-integrations", code: 200 }))
1934
+ .pipe(T.ResponseEnvelope({
1935
+ kind: "list",
1936
+ path: ["data"],
1937
+ attributes: ["attributes"],
1938
+ id: ["id"],
1939
+ }))).annotate({ identifier: "ListErrorsSlackIntegrationRequest" });
1940
+ case 1:
1941
+ return S.Array(__S(240, __c30, 0));
1942
+ case 2:
1943
+ return S.suspend(() => S.Struct({
1944
+ data: __S(433, __c54, 1),
1945
+ pagination: S.optional(__S(376, __c47, 0)),
1946
+ })).annotate({ identifier: "ErrorsSlackIntegrationList" });
1947
+ }
1948
+ }
1949
+ function __c55(j) {
1950
+ switch (j) {
1951
+ case 0:
1952
+ return S.suspend(() => S.Struct({
1953
+ applicationId: S.String.pipe(T.Label("application_id")),
1954
+ page: S.optional(S.Number.pipe(T.Query())),
1955
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1956
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1957
+ })
1958
+ .pipe(T.Http({
1959
+ method: "GET",
1960
+ uri: "/api/v2/applications/{application_id}/ignored-errors",
1961
+ code: 200,
1962
+ }))
1963
+ .pipe(T.ResponseEnvelope({
1964
+ kind: "list",
1965
+ path: ["data"],
1966
+ attributes: ["attributes"],
1967
+ id: ["id"],
1968
+ }))).annotate({ identifier: "ListIgnoredErrorRequest" });
1969
+ case 1:
1970
+ return S.suspend(() => S.Struct({
1971
+ id: S.String,
1972
+ pattern: S.optional(S.String),
1973
+ comment: S.optional(S.NullOr(S.String)),
1974
+ })).annotate({ identifier: "IgnoredError" });
1975
+ case 2:
1976
+ return S.Array(__S(441, __c55, 1));
1977
+ case 3:
1978
+ return S.suspend(() => S.Struct({
1979
+ data: __S(442, __c55, 2),
1980
+ pagination: S.optional(__S(376, __c47, 0)),
1981
+ })).annotate({ identifier: "IgnoredErrorList" });
1982
+ }
1983
+ }
1984
+ function __c56(j) {
1985
+ switch (j) {
1986
+ case 0:
1987
+ return S.suspend(() => S.Struct({
1988
+ applicationId: S.optional(S.String.pipe(T.Query("application_id"))),
1989
+ version: S.optional(S.String.pipe(T.Query())),
1990
+ environment: S.optional(S.String.pipe(T.Query())),
1991
+ from: S.optional(S.String.pipe(T.Query())),
1992
+ to: S.optional(S.String.pipe(T.Query())),
1993
+ page: S.optional(S.Number.pipe(T.Query())),
1994
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
1995
+ })
1996
+ .pipe(T.Http({ method: "GET", uri: "/api/v1/releases", code: 200 }))
1997
+ .pipe(T.ResponseEnvelope({
1998
+ kind: "list",
1999
+ path: ["data"],
2000
+ attributes: ["attributes"],
2001
+ id: ["id"],
2002
+ }))).annotate({ identifier: "ListReleaseRequest" });
2003
+ case 1:
2004
+ return S.Array(__S(256, __c32, 0));
2005
+ case 2:
2006
+ return S.suspend(() => S.Struct({
2007
+ data: __S(449, __c56, 1),
2008
+ pagination: S.optional(__S(376, __c47, 0)),
2009
+ })).annotate({ identifier: "ReleaseList" });
2010
+ }
2011
+ }
2012
+ function __c57(j) {
2013
+ switch (j) {
2014
+ case 0:
2015
+ return S.suspend(() => S.Struct({
2016
+ applicationId: S.String.pipe(T.Label("application_id")),
2017
+ from: S.optional(S.String.pipe(T.Query())),
2018
+ to: S.optional(S.String.pipe(T.Query())),
2019
+ query: S.optional(S.String.pipe(T.Query())),
2020
+ orderBy: S.optional(S.String.pipe(T.Query("order_by"))),
2021
+ page: S.optional(S.Number.pipe(T.Query())),
2022
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
2023
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2024
+ })
2025
+ .pipe(T.Http({
2026
+ method: "GET",
2027
+ uri: "/api/v4/applications/{application_id}/groups",
2028
+ code: 200,
2029
+ }))
2030
+ .pipe(T.ResponseEnvelope({
2031
+ kind: "list",
2032
+ path: ["data"],
2033
+ attributes: ["attributes"],
2034
+ id: ["id"],
2035
+ }))).annotate({ identifier: "ListRumGroupRequest" });
2036
+ case 1:
2037
+ return S.Array(__S(272, __c34, 0));
2038
+ case 2:
2039
+ return S.suspend(() => S.Struct({
2040
+ data: __S(457, __c57, 1),
2041
+ pagination: S.optional(__S(376, __c47, 0)),
2042
+ })).annotate({ identifier: "RumGroupList" });
2043
+ }
2044
+ }
2045
+ function __c58(j) {
2046
+ switch (j) {
2047
+ case 0:
2048
+ return S.suspend(() => S.Struct({
2049
+ applicationId: S.String.pipe(T.Label("application_id")),
2050
+ from: S.optional(S.String.pipe(T.Query())),
2051
+ to: S.optional(S.String.pipe(T.Query())),
2052
+ userId: S.optional(S.String.pipe(T.Query("user_id"))),
2053
+ groupId: S.optional(S.String.pipe(T.Query("group_id"))),
2054
+ state: S.optional(S.String.pipe(T.Query())),
2055
+ hasErrors: S.optional(S.Boolean.pipe(T.Query("has_errors"))),
2056
+ orderBy: S.optional(S.String.pipe(T.Query("order_by"))),
2057
+ page: S.optional(S.Number.pipe(T.Query())),
2058
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
2059
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2060
+ })
2061
+ .pipe(T.Http({
2062
+ method: "GET",
2063
+ uri: "/api/v4/applications/{application_id}/sessions",
2064
+ code: 200,
2065
+ }))
2066
+ .pipe(T.ResponseEnvelope({
2067
+ kind: "list",
2068
+ path: ["data"],
2069
+ attributes: ["attributes"],
2070
+ id: ["id"],
2071
+ }))).annotate({ identifier: "ListRumSessionRequest" });
2072
+ case 1:
2073
+ return S.Array(__S(292, __c36, 4));
2074
+ case 2:
2075
+ return S.suspend(() => S.Struct({
2076
+ data: __S(465, __c58, 1),
2077
+ pagination: S.optional(__S(376, __c47, 0)),
2078
+ })).annotate({ identifier: "RumSessionList" });
2079
+ }
2080
+ }
2081
+ function __c59(j) {
2082
+ switch (j) {
2083
+ case 0:
2084
+ return S.suspend(() => S.Struct({
2085
+ endpoint: S.optional(S.String),
2086
+ accessKeyId: S.optional(S.String.pipe(T.Body("access_key_id"), T.SensitiveValue({}))),
2087
+ secretAccessKey: S.optional(S.String.pipe(T.Body("secret_access_key"), T.SensitiveValue({}))),
2088
+ keepDataAfterRetention: S.optional(S.Boolean.pipe(T.Body("keep_data_after_retention"))),
2089
+ })).annotate({ identifier: "CreateApplicationRequestCustomBucket" });
2090
+ case 1:
2091
+ return S.suspend(() => S.Struct({
2092
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2093
+ name: S.String,
2094
+ platform: S.String,
2095
+ applicationGroupId: S.optional(S.NullOr(S.String).pipe(T.Body("application_group_id"))),
2096
+ ingestingPaused: S.optional(S.Boolean.pipe(T.Body("ingesting_paused"))),
2097
+ errorsRetention: S.optional(S.Number.pipe(T.Body("errors_retention"))),
2098
+ webEventsRetention: S.optional(S.Number.pipe(T.Body("web_events_retention"))),
2099
+ replaysRetention: S.optional(S.NullOr(S.Number).pipe(T.Body("replays_retention"))),
2100
+ dataRegion: S.optional(S.String.pipe(T.Body("data_region"))),
2101
+ correlateWithSourceId: S.optional(S.NullOr(S.String).pipe(T.Body("correlate_with_source_id"))),
2102
+ githubRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("github_repository_name"))),
2103
+ gitlabRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("gitlab_repository_name"))),
2104
+ codeMappingStackRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_stack_root"))),
2105
+ codeMappingSourceRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_source_root"))),
2106
+ customBucket: S.optional(S.NullOr(__S(472, __c59, 0)).pipe(T.Body("custom_bucket"))),
2107
+ vrlTransformationExceptions: S.optional(S.String.pipe(T.Body("vrl_transformation_exceptions"))),
2108
+ vrlTransformationReplays: S.optional(S.String.pipe(T.Body("vrl_transformation_replays"))),
2109
+ vrlTransformationWebEvents: S.optional(S.String.pipe(T.Body("vrl_transformation_web_events"))),
2110
+ vrlTransformationLogs: S.optional(S.String.pipe(T.Body("vrl_transformation_logs"))),
2111
+ vrlTransformationSpans: S.optional(S.String.pipe(T.Body("vrl_transformation_spans"))),
2112
+ spikeProtectionBaselineMultiplier: S.optional(S.NullOr(S.Number).pipe(T.Body("spike_protection_baseline_multiplier"))),
2113
+ aiPromptTemplate: S.optional(S.NullOr(S.String).pipe(T.Body("ai_prompt_template"))),
2114
+ jsTagConfiguration: S.optional(S.NullOr(__S(498, __c62, 2)).pipe(T.Body("js_tag_configuration"))),
2115
+ })
2116
+ .pipe(T.Http({ method: "POST", uri: "/api/v4/applications", code: 200 }))
2117
+ .pipe(T.ResponseEnvelope({
2118
+ kind: "item",
2119
+ path: ["data"],
2120
+ attributes: ["attributes"],
2121
+ id: ["id"],
2122
+ }))).annotate({ identifier: "CreateApplicationRequest" });
2123
+ }
2124
+ }
2125
+ function __c60(j) {
2126
+ switch (j) {
2127
+ case 0:
2128
+ return S.Array(S.String);
2129
+ }
2130
+ }
2131
+ function __c61(j) {
2132
+ switch (j) {
2133
+ case 0:
2134
+ return S.Record(S.String, S.String);
2135
+ }
2136
+ }
2137
+ function __c62(j) {
2138
+ switch (j) {
2139
+ case 0:
2140
+ return S.suspend(() => S.Struct({
2141
+ errors: S.optional(S.Boolean),
2142
+ webVitals: S.optional(S.Boolean.pipe(T.Body("web_vitals"))),
2143
+ console: S.optional(S.Boolean),
2144
+ memory: S.optional(S.Boolean),
2145
+ analytics: S.optional(S.Boolean),
2146
+ anonymousEvents: S.optional(S.Boolean.pipe(T.Body("anonymous_events"))),
2147
+ replays: S.optional(S.Boolean),
2148
+ identifiedEvents: S.optional(S.Boolean.pipe(T.Body("identified_events"))),
2149
+ fingerprint: S.optional(S.Boolean),
2150
+ })).annotate({ identifier: "CreateApplicationRequestJsTagConfigurationCollect" });
2151
+ case 1:
2152
+ return S.suspend(() => S.Struct({
2153
+ errors: S.optional(S.Number),
2154
+ replays: S.optional(S.Number),
2155
+ webEvents: S.optional(S.Number.pipe(T.Body("web_events"))),
2156
+ })).annotate({ identifier: "CreateApplicationRequestJsTagConfigurationSampling" });
2157
+ case 2:
2158
+ return S.suspend(() => S.Struct({
2159
+ collect: S.optional(__S(496, __c62, 0)),
2160
+ sampling: S.optional(__S(497, __c62, 1)),
2161
+ excludeSelectors: S.optional(__S(480, __c60, 0).pipe(T.Body("exclude_selectors"))),
2162
+ maskSelectors: S.optional(__S(480, __c60, 0).pipe(T.Body("mask_selectors"))),
2163
+ sharedSessionDomains: S.optional(__S(480, __c60, 0).pipe(T.Body("shared_session_domains"))),
2164
+ acceptIncomingSessions: S.optional(S.Boolean.pipe(T.Body("accept_incoming_sessions"))),
2165
+ decorateForms: S.optional(S.Boolean.pipe(T.Body("decorate_forms"))),
2166
+ customConfig: S.optional(S.NullOr(S.String).pipe(T.Body("custom_config"))),
2167
+ sessionTimeoutMinutes: S.optional(S.Number.pipe(T.Body("session_timeout_minutes"))),
2168
+ eventsBatchIntervalSeconds: S.optional(S.Number.pipe(T.Body("events_batch_interval_seconds"))),
2169
+ ownDomain: S.optional(S.NullOr(S.String).pipe(T.Body("own_domain"))),
2170
+ })).annotate({ identifier: "CreateApplicationRequestJsTagConfiguration" });
2171
+ case 3:
2172
+ return S.suspend(() => S.Struct({
2173
+ database: S.optional(S.String),
2174
+ table: S.optional(S.String),
2175
+ recent: S.optional(__S(488, __c61, 0)),
2176
+ s3: S.optional(S.String),
2177
+ appFilter: S.optional(S.NullOr(S.String).pipe(T.Body("app_filter"))),
2178
+ metricsAppFilter: S.optional(S.NullOr(S.String).pipe(T.Body("metrics_app_filter"))),
2179
+ })).annotate({ identifier: "ApplicationQueryCollections" });
2180
+ case 4:
2181
+ return S.suspend(() => S.Struct({
2182
+ id: S.String,
2183
+ name: S.optional(S.String),
2184
+ platform: S.optional(S.String),
2185
+ applicationGroupId: S.optional(S.NullOr(S.String).pipe(T.Body("application_group_id"))),
2186
+ ingestingPaused: S.optional(S.Boolean.pipe(T.Body("ingesting_paused"))),
2187
+ errorsRetention: S.optional(S.Number.pipe(T.Body("errors_retention"))),
2188
+ webEventsRetention: S.optional(S.Number.pipe(T.Body("web_events_retention"))),
2189
+ replaysRetention: S.optional(S.NullOr(S.Number).pipe(T.Body("replays_retention"))),
2190
+ dataRegion: S.optional(S.String.pipe(T.Body("data_region"))),
2191
+ correlateWithSourceId: S.optional(S.NullOr(S.String).pipe(T.Body("correlate_with_source_id"))),
2192
+ githubRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("github_repository_name"))),
2193
+ gitlabRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("gitlab_repository_name"))),
2194
+ codeMappingStackRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_stack_root"))),
2195
+ codeMappingSourceRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_source_root"))),
2196
+ customBucket: S.optional(S.NullOr(__S(384, __c48, 0)).pipe(T.Body("custom_bucket"))),
2197
+ vrlTransformationExceptions: S.optional(S.String.pipe(T.Body("vrl_transformation_exceptions"))),
2198
+ vrlTransformationReplays: S.optional(S.String.pipe(T.Body("vrl_transformation_replays"))),
2199
+ vrlTransformationWebEvents: S.optional(S.String.pipe(T.Body("vrl_transformation_web_events"))),
2200
+ vrlTransformationLogs: S.optional(S.String.pipe(T.Body("vrl_transformation_logs"))),
2201
+ vrlTransformationSpans: S.optional(S.String.pipe(T.Body("vrl_transformation_spans"))),
2202
+ spikeProtectionBaselineMultiplier: S.optional(S.NullOr(S.Number).pipe(T.Body("spike_protection_baseline_multiplier"))),
2203
+ aiPromptTemplate: S.optional(S.NullOr(S.String).pipe(T.Body("ai_prompt_template"))),
2204
+ jsTagConfiguration: S.optional(S.NullOr(__S(498, __c62, 2)).pipe(T.Body("js_tag_configuration"))),
2205
+ jsTagOwnDomainStatus: S.optional(S.NullOr(S.String).pipe(T.Body("js_tag_own_domain_status"))),
2206
+ sourceTypes: S.optional(__S(480, __c60, 0).pipe(T.Body("source_types"))),
2207
+ parentSourceId: S.optional(S.NullOr(S.String).pipe(T.Body("parent_source_id"))),
2208
+ queryCollections: S.optional(__S(499, __c62, 3).pipe(T.Body("query_collections"))),
2209
+ token: S.optional(S.String.pipe(T.SensitiveValue({}))),
2210
+ jsTagToken: S.optional(S.NullOr(S.String).pipe(T.Body("js_tag_token"), T.SensitiveValue({}))),
2211
+ tableName: S.optional(S.String.pipe(T.Body("table_name"))),
2212
+ ingestingHost: S.optional(S.String.pipe(T.Body("ingesting_host"))),
2213
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
2214
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
2215
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
2216
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
2217
+ })).annotate({ identifier: "Application" });
2218
+ }
2219
+ }
2220
+ function __c63(j) {
2221
+ switch (j) {
2222
+ case 0:
2223
+ return S.suspend(() => S.Struct({
2224
+ applicationId: S.String.pipe(T.Label("application_id")),
2225
+ sessionId: S.String.pipe(T.Label("session_id")),
2226
+ from: S.optional(S.String.pipe(T.Query())),
2227
+ to: S.optional(S.String.pipe(T.Query())),
2228
+ page: S.optional(S.Number.pipe(T.Query())),
2229
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
2230
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2231
+ })
2232
+ .pipe(T.Http({
2233
+ method: "GET",
2234
+ uri: "/api/v4/applications/{application_id}/sessions/{session_id}/segments",
2235
+ code: 200,
2236
+ }))
2237
+ .pipe(T.ResponseEnvelope({
2238
+ kind: "list",
2239
+ path: ["data"],
2240
+ attributes: ["attributes"],
2241
+ id: ["id"],
2242
+ }))).annotate({ identifier: "ListRumSessionSegmentRequest" });
2243
+ case 1:
2244
+ return S.Array(S.Unknown);
2245
+ case 2:
2246
+ return S.suspend(() => S.Struct({
2247
+ id: S.String,
2248
+ replayId: S.optional(S.String.pipe(T.Body("replay_id"))),
2249
+ segmentId: S.optional(S.Number.pipe(T.Body("segment_id"))),
2250
+ at: S.optional(S.NullOr(S.String)),
2251
+ events: S.optional(__S(505, __c63, 1)),
2252
+ })).annotate({ identifier: "RumSessionSegment" });
2253
+ case 3:
2254
+ return S.Array(__S(506, __c63, 2));
2255
+ case 4:
2256
+ return S.suspend(() => S.Struct({
2257
+ data: __S(507, __c63, 3),
2258
+ pagination: S.optional(__S(376, __c47, 0)),
2259
+ })).annotate({ identifier: "RumSessionSegmentList" });
2260
+ }
2261
+ }
2262
+ function __c64(j) {
2263
+ switch (j) {
2264
+ case 0:
2265
+ return S.suspend(() => S.Struct({
2266
+ applicationId: S.String.pipe(T.Label("application_id")),
2267
+ from: S.optional(S.String.pipe(T.Query())),
2268
+ to: S.optional(S.String.pipe(T.Query())),
2269
+ query: S.optional(S.String.pipe(T.Query())),
2270
+ groupId: S.optional(S.String.pipe(T.Query("group_id"))),
2271
+ orderBy: S.optional(S.String.pipe(T.Query("order_by"))),
2272
+ page: S.optional(S.Number.pipe(T.Query())),
2273
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
2274
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2275
+ })
2276
+ .pipe(T.Http({
2277
+ method: "GET",
2278
+ uri: "/api/v4/applications/{application_id}/users",
2279
+ code: 200,
2280
+ }))
2281
+ .pipe(T.ResponseEnvelope({
2282
+ kind: "list",
2283
+ path: ["data"],
2284
+ attributes: ["attributes"],
2285
+ id: ["id"],
2286
+ }))).annotate({ identifier: "ListRumUserRequest" });
2287
+ case 1:
2288
+ return S.Array(__S(304, __c38, 0));
2289
+ case 2:
2290
+ return S.suspend(() => S.Struct({
2291
+ data: __S(513, __c64, 1),
2292
+ pagination: S.optional(__S(376, __c47, 0)),
2293
+ })).annotate({ identifier: "RumUserList" });
2294
+ }
2295
+ }
2296
+ function __c65(j) {
2297
+ switch (j) {
2298
+ case 0:
2299
+ return S.suspend(() => S.Struct({
2300
+ accessKeyId: S.optional(S.String.pipe(T.Body("access_key_id"), T.SensitiveValue({}))),
2301
+ secretAccessKey: S.optional(S.String.pipe(T.Body("secret_access_key"), T.SensitiveValue({}))),
2302
+ })).annotate({ identifier: "UpdateApplicationRequestCustomBucket" });
2303
+ case 1:
2304
+ return S.suspend(() => S.Struct({
2305
+ id: S.String.pipe(T.Label()),
2306
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2307
+ name: S.optional(S.String),
2308
+ applicationGroupId: S.optional(S.NullOr(S.String).pipe(T.Body("application_group_id"))),
2309
+ ingestingPaused: S.optional(S.Boolean.pipe(T.Body("ingesting_paused"))),
2310
+ errorsRetention: S.optional(S.Number.pipe(T.Body("errors_retention"))),
2311
+ webEventsRetention: S.optional(S.Number.pipe(T.Body("web_events_retention"))),
2312
+ replaysRetention: S.optional(S.NullOr(S.Number).pipe(T.Body("replays_retention"))),
2313
+ githubRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("github_repository_name"))),
2314
+ gitlabRepositoryName: S.optional(S.NullOr(S.String).pipe(T.Body("gitlab_repository_name"))),
2315
+ codeMappingStackRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_stack_root"))),
2316
+ codeMappingSourceRoot: S.optional(S.NullOr(S.String).pipe(T.Body("code_mapping_source_root"))),
2317
+ customBucket: S.optional(S.NullOr(__S(520, __c65, 0)).pipe(T.Body("custom_bucket"))),
2318
+ vrlTransformationExceptions: S.optional(S.String.pipe(T.Body("vrl_transformation_exceptions"))),
2319
+ vrlTransformationReplays: S.optional(S.String.pipe(T.Body("vrl_transformation_replays"))),
2320
+ vrlTransformationWebEvents: S.optional(S.String.pipe(T.Body("vrl_transformation_web_events"))),
2321
+ vrlTransformationLogs: S.optional(S.String.pipe(T.Body("vrl_transformation_logs"))),
2322
+ vrlTransformationSpans: S.optional(S.String.pipe(T.Body("vrl_transformation_spans"))),
2323
+ spikeProtectionBaselineMultiplier: S.optional(S.NullOr(S.Number).pipe(T.Body("spike_protection_baseline_multiplier"))),
2324
+ aiPromptTemplate: S.optional(S.NullOr(S.String).pipe(T.Body("ai_prompt_template"))),
2325
+ jsTagConfiguration: S.optional(S.NullOr(__S(498, __c62, 2)).pipe(T.Body("js_tag_configuration"))),
2326
+ })
2327
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v4/applications/{id}", code: 200 }))
2328
+ .pipe(T.ResponseEnvelope({
2329
+ kind: "item",
2330
+ path: ["data"],
2331
+ attributes: ["attributes"],
2332
+ id: ["id"],
2333
+ }))).annotate({ identifier: "UpdateApplicationRequest" });
2334
+ }
2335
+ }
2336
+ function __c66(j) {
2337
+ switch (j) {
2338
+ case 0:
2339
+ return S.suspend(() => S.Struct({
2340
+ id: S.String.pipe(T.Label()),
2341
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2342
+ name: S.String,
2343
+ sortIndex: S.optional(S.NullOr(S.Number).pipe(T.Body("sort_index"))),
2344
+ })
2345
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v1/application-groups/{id}", code: 200 }))
2346
+ .pipe(T.ResponseEnvelope({
2347
+ kind: "item",
2348
+ path: ["data"],
2349
+ attributes: ["attributes"],
2350
+ id: ["id"],
2351
+ }))).annotate({ identifier: "UpdateApplicationGroupRequest" });
2352
+ }
2353
+ }
2354
+ function __c67(j) {
2355
+ switch (j) {
2356
+ case 0:
2357
+ return S.suspend(() => S.Struct({
2358
+ applicationId: S.String.pipe(T.Label("application_id")),
2359
+ id: S.String.pipe(T.Label()),
2360
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2361
+ state: S.String,
2362
+ ignoreNextCount: S.optional(S.Number.pipe(T.Body("ignore_next_count"))),
2363
+ notifyEveryException: S.optional(S.Boolean.pipe(T.Body("notify_every_exception"))),
2364
+ resolveInRelease: S.optional(S.String.pipe(T.Body("resolve_in_release"))),
2365
+ })
2366
+ .pipe(T.Http({
2367
+ method: "PATCH",
2368
+ uri: "/api/v4/applications/{application_id}/errors/{id}",
2369
+ code: 200,
2370
+ }))
2371
+ .pipe(T.ResponseEnvelope({
2372
+ kind: "item",
2373
+ path: ["data"],
2374
+ attributes: ["attributes"],
2375
+ id: ["id"],
2376
+ }))).annotate({ identifier: "UpdateErrorRequest" });
2377
+ }
2378
+ }
2379
+ function __c68(j) {
2380
+ switch (j) {
2381
+ case 0:
2382
+ return S.suspend(() => S.Struct({
2383
+ id: S.String.pipe(T.Label()),
2384
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2385
+ repositories: S.optional(__S(553, __c69, 1)),
2386
+ })
2387
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v1/github-integrations/{id}", code: 200 }))
2388
+ .pipe(T.ResponseEnvelope({
2389
+ kind: "item",
2390
+ path: ["data"],
2391
+ attributes: ["attributes"],
2392
+ id: ["id"],
2393
+ }))).annotate({ identifier: "UpdateErrorsGithubIntegrationRequest" });
2394
+ }
2395
+ }
2396
+ function __c69(j) {
2397
+ switch (j) {
2398
+ case 0:
2399
+ return S.suspend(() => S.Struct({
2400
+ id: S.optional(S.String),
2401
+ })).annotate({ identifier: "UpdateErrorsGithubIntegrationRequestRepositoriesItem" });
2402
+ case 1:
2403
+ return S.Array(__S(552, __c69, 0));
2404
+ }
2405
+ }
2406
+ function __c70(j) {
2407
+ switch (j) {
2408
+ case 0:
2409
+ return S.suspend(() => S.Struct({
2410
+ id: S.String.pipe(T.Label()),
2411
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2412
+ applications: S.optional(__S(569, __c71, 1)),
2413
+ notifications: S.optional(__S(176, __c22, 0)),
2414
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
2415
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
2416
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
2417
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
2418
+ name: S.optional(S.String),
2419
+ jiraProjectKey: S.optional(S.String.pipe(T.Body("jira_project_key"))),
2420
+ jiraIssueTypeId: S.optional(S.String.pipe(T.Body("jira_issue_type_id"))),
2421
+ jiraFields: S.optional(__S(184, __c23, 0).pipe(T.Body("jira_fields"))),
2422
+ })
2423
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v1/jira-integrations/{id}", code: 200 }))
2424
+ .pipe(T.ResponseEnvelope({
2425
+ kind: "item",
2426
+ path: ["data"],
2427
+ attributes: ["attributes"],
2428
+ id: ["id"],
2429
+ }))).annotate({ identifier: "UpdateErrorsJiraIntegrationRequest" });
2430
+ }
2431
+ }
2432
+ function __c71(j) {
2433
+ switch (j) {
2434
+ case 0:
2435
+ return S.suspend(() => S.Struct({
2436
+ applicationId: S.optional(S.String.pipe(T.Body("application_id"))),
2437
+ environments: S.optional(__S(480, __c60, 0)),
2438
+ })).annotate({ identifier: "UpdateErrorsJiraIntegrationRequestApplicationsItem" });
2439
+ case 1:
2440
+ return S.Array(__S(568, __c71, 0));
2441
+ }
2442
+ }
2443
+ function __c72(j) {
2444
+ switch (j) {
2445
+ case 0:
2446
+ return S.suspend(() => S.Struct({
2447
+ id: S.String.pipe(T.Label()),
2448
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2449
+ applications: S.optional(__S(569, __c71, 1)),
2450
+ notifications: S.optional(__S(176, __c22, 0)),
2451
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
2452
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
2453
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
2454
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
2455
+ name: S.optional(S.String),
2456
+ linearTeamId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_team_id"))),
2457
+ linearAssigneeId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_assignee_id"))),
2458
+ linearLabelIds: S.optional(__S(480, __c60, 0).pipe(T.Body("linear_label_ids"))),
2459
+ linearPriority: S.optional(S.String.pipe(T.Body("linear_priority"))),
2460
+ linearStatusId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_status_id"))),
2461
+ linearProjectId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_project_id"))),
2462
+ autoResolve: S.optional(S.Boolean.pipe(T.Body("auto_resolve"))),
2463
+ linearResolvedStatusId: S.optional(S.NullOr(S.String).pipe(T.Body("linear_resolved_status_id"))),
2464
+ autoReopen: S.optional(S.Boolean.pipe(T.Body("auto_reopen"))),
2465
+ syncComments: S.optional(S.Boolean.pipe(T.Body("sync_comments"))),
2466
+ })
2467
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v1/linear-integrations/{id}", code: 200 }))
2468
+ .pipe(T.ResponseEnvelope({
2469
+ kind: "item",
2470
+ path: ["data"],
2471
+ attributes: ["attributes"],
2472
+ id: ["id"],
2473
+ }))).annotate({ identifier: "UpdateErrorsLinearIntegrationRequest" });
2474
+ }
2475
+ }
2476
+ function __c73(j) {
2477
+ switch (j) {
2478
+ case 0:
2479
+ return S.suspend(() => S.Struct({
2480
+ applications: S.optional(__S(569, __c71, 1)),
2481
+ channels: S.optional(__S(553, __c69, 1)),
2482
+ })).annotate({ identifier: "UpdateErrorsMicrosoftTeamsIntegrationRequestRoutesItem" });
2483
+ case 1:
2484
+ return S.Array(__S(584, __c73, 0));
2485
+ case 2:
2486
+ return S.suspend(() => S.Struct({
2487
+ id: S.String.pipe(T.Label()),
2488
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2489
+ notifications: S.optional(__S(216, __c27, 0)),
2490
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
2491
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
2492
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
2493
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
2494
+ routes: S.optional(__S(585, __c73, 1)),
2495
+ })
2496
+ .pipe(T.Http({
2497
+ method: "PATCH",
2498
+ uri: "/api/v1/microsoft-teams-integrations/{id}",
2499
+ code: 200,
2500
+ }))
2501
+ .pipe(T.ResponseEnvelope({
2502
+ kind: "item",
2503
+ path: ["data"],
2504
+ attributes: ["attributes"],
2505
+ id: ["id"],
2506
+ }))).annotate({ identifier: "UpdateErrorsMicrosoftTeamsIntegrationRequest" });
2507
+ }
2508
+ }
2509
+ function __c74(j) {
2510
+ switch (j) {
2511
+ case 0:
2512
+ return S.suspend(() => S.Struct({
2513
+ id: S.String.pipe(T.Label()),
2514
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2515
+ applications: S.optional(__S(569, __c71, 1)),
2516
+ notifications: S.optional(__S(216, __c27, 0)),
2517
+ occurrenceThresholdCount: S.optional(S.Number.pipe(T.Body("occurrence_threshold_count"))),
2518
+ occurrenceThresholdInterval: S.optional(S.String.pipe(T.Body("occurrence_threshold_interval"))),
2519
+ affectedUsersThresholdCount: S.optional(S.Number.pipe(T.Body("affected_users_threshold_count"))),
2520
+ tagFilter: S.optional(__S(171, __c21, 3).pipe(T.Body("tag_filter"))),
2521
+ postUpdates: S.optional(S.String.pipe(T.Body("post_updates"))),
2522
+ broadcastUpdates: S.optional(S.Boolean.pipe(T.Body("broadcast_updates"))),
2523
+ aiSreOnMention: S.optional(S.Boolean.pipe(T.Body("ai_sre_on_mention"))),
2524
+ })
2525
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v1/slack-integrations/{id}", code: 200 }))
2526
+ .pipe(T.ResponseEnvelope({
2527
+ kind: "item",
2528
+ path: ["data"],
2529
+ attributes: ["attributes"],
2530
+ id: ["id"],
2531
+ }))).annotate({ identifier: "UpdateErrorsSlackIntegrationRequest" });
2532
+ }
2533
+ }
2534
+ function __c75(j) {
2535
+ switch (j) {
2536
+ case 0:
2537
+ return S.suspend(() => S.Struct({
2538
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2539
+ name: S.String,
2540
+ sortIndex: S.optional(S.NullOr(S.Number).pipe(T.Body("sort_index"))),
2541
+ })
2542
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/application-groups", code: 200 }))
2543
+ .pipe(T.ResponseEnvelope({
2544
+ kind: "item",
2545
+ path: ["data"],
2546
+ attributes: ["attributes"],
2547
+ id: ["id"],
2548
+ }))).annotate({ identifier: "CreateApplicationGroupRequest" });
2549
+ }
2550
+ }
2551
+ function __c76(j) {
2552
+ switch (j) {
2553
+ case 0:
2554
+ return S.suspend(() => S.Struct({
2555
+ id: S.String,
2556
+ name: S.optional(S.String),
2557
+ sortIndex: S.optional(S.NullOr(S.Number).pipe(T.Body("sort_index"))),
2558
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
2559
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
2560
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
2561
+ teamName: S.optional(S.String.pipe(T.Body("team_name"))),
2562
+ })).annotate({ identifier: "ApplicationGroup" });
2563
+ }
2564
+ }
2565
+ function __c77(j) {
2566
+ switch (j) {
2567
+ case 0:
2568
+ return S.suspend(() => S.Struct({
2569
+ applicationId: S.String.pipe(T.Label("application_id")),
2570
+ errorId: S.String.pipe(T.Label("error_id")),
2571
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2572
+ content: S.String,
2573
+ })
2574
+ .pipe(T.Http({
2575
+ method: "POST",
2576
+ uri: "/api/v4/applications/{application_id}/errors/{error_id}/comments",
2577
+ code: 200,
2578
+ }))
2579
+ .pipe(T.ResponseEnvelope({
2580
+ kind: "item",
2581
+ path: ["data"],
2582
+ attributes: ["attributes"],
2583
+ id: ["id"],
2584
+ }))).annotate({ identifier: "CreateErrorCommentRequest" });
2585
+ }
2586
+ }
2587
+ function __c78(j) {
2588
+ switch (j) {
2589
+ case 0:
2590
+ return S.suspend(() => S.Struct({
2591
+ id: S.String,
2592
+ content: S.optional(S.String),
2593
+ plaintextContent: S.optional(S.String.pipe(T.Body("plaintext_content"))),
2594
+ authorName: S.optional(S.String.pipe(T.Body("author_name"))),
2595
+ userEmail: S.optional(S.NullOr(S.String).pipe(T.Body("user_email"))),
2596
+ postedVia: S.optional(S.NullOr(S.String).pipe(T.Body("posted_via"))),
2597
+ linearIssue: S.optional(S.NullOr(S.String).pipe(T.Body("linear_issue"))),
2598
+ event: S.optional(S.NullOr(S.String)),
2599
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
2600
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
2601
+ })).annotate({ identifier: "ErrorComment" });
2602
+ }
2603
+ }
2604
+ function __c79(j) {
2605
+ switch (j) {
2606
+ case 0:
2607
+ return S.suspend(() => S.Struct({
2608
+ applicationId: S.String.pipe(T.Label("application_id")),
2609
+ errorId: S.String.pipe(T.Label("error_id")),
2610
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2611
+ integrationId: S.optional(S.String.pipe(T.Body("integration_id"))),
2612
+ title: S.optional(S.String),
2613
+ notes: S.optional(S.String),
2614
+ })
2615
+ .pipe(T.Http({
2616
+ method: "POST",
2617
+ uri: "/api/v4/applications/{application_id}/errors/{error_id}/issues",
2618
+ code: 200,
2619
+ }))
2620
+ .pipe(T.ResponseEnvelope({
2621
+ kind: "item",
2622
+ path: ["data"],
2623
+ attributes: ["attributes"],
2624
+ id: ["id"],
2625
+ }))).annotate({ identifier: "CreateErrorIssueRequest" });
2626
+ }
2627
+ }
2628
+ function __c80(j) {
2629
+ switch (j) {
2630
+ case 0:
2631
+ return S.suspend(() => S.Struct({
2632
+ id: S.String,
2633
+ integrationId: S.optional(S.String.pipe(T.Body("integration_id"))),
2634
+ integrationType: S.optional(S.String.pipe(T.Body("integration_type"))),
2635
+ externalId: S.optional(S.String.pipe(T.Body("external_id"))),
2636
+ label: S.optional(S.String),
2637
+ url: S.optional(S.String),
2638
+ operation: S.optional(S.String),
2639
+ })).annotate({ identifier: "ErrorIssue" });
2640
+ }
2641
+ }
2642
+ function __c81(j) {
2643
+ switch (j) {
2644
+ case 0:
2645
+ return S.suspend(() => S.Struct({
2646
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
2647
+ })
2648
+ .pipe(T.Http({ method: "POST", uri: "/api/v1/github-integrations", code: 200 }))
2649
+ .pipe(T.ResponseEnvelope({
2650
+ kind: "item",
2651
+ path: ["data"],
2652
+ attributes: ["attributes"],
2653
+ id: ["id"],
2654
+ }))).annotate({ identifier: "CreateErrorsGithubIntegrationRequest" });
2655
+ }
2656
+ }
2657
+ function __c82(j) {
2658
+ switch (j) {
2659
+ case 0:
2660
+ return S.suspend(() => S.Struct({
2661
+ id: S.String,
2662
+ integrationType: S.optional(S.String.pipe(T.Body("integration_type"))),
2663
+ status: S.optional(S.String),
2664
+ statusReason: S.optional(S.NullOr(S.String).pipe(T.Body("status_reason"))),
2665
+ authorizationUrl: S.optional(S.NullOr(S.String).pipe(T.Body("authorization_url"))),
2666
+ expiresAt: S.optional(S.String.pipe(T.Body("expires_at"))),
2667
+ integrationId: S.optional(S.NullOr(S.String).pipe(T.Body("integration_id"))),
2668
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
2669
+ })).annotate({ identifier: "ErrorsIntegrationAuthorization" });
2670
+ }
2671
+ }
2672
+ // Schema table: entry i is schema j of builder f, made on first reach.
2673
+ function __S(i, f, j) {
2674
+ return (__s[i] ??= __L.at(f, j));
2675
+ }
2676
+ //# sourceMappingURL=errors.js.map