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,1079 @@
1
+ // AUTO-GENERATED by scripts/sdk/generate.ts (distilled codegen) from spec/manual/account.json. Do not edit.
2
+
3
+ import * as API from "@distilled.cloud/core/api";
4
+ import * as C from "@distilled.cloud/core/category";
5
+ import * as S from "@distilled.cloud/core/schema-lite";
6
+ import * as __L from "@distilled.cloud/core/schema-lite";
7
+ import { BetterStackServiceErrors } from "../errors.ts";
8
+ import { paginateNextPage } from "../pagination.ts";
9
+ import {
10
+ AccountProtocol,
11
+ type BetterStackOpError,
12
+ type BetterStackOpContext,
13
+ } from "../protocol.ts";
14
+ import * as Retry from "../retry.ts";
15
+ import * as T from "../traits.ts";
16
+ // Schema table, filled on first reach (see __S at the end).
17
+ const __s: any[] = [];
18
+
19
+ export type { BetterStackOpError, BetterStackOpContext };
20
+
21
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
22
+ const TELEMETRY = {
23
+ system: "betterstack-alchemy-api",
24
+ responseHeaders: [
25
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
26
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
27
+ ],
28
+ prefix: "BetterstackAlchemy",
29
+ service: "Account",
30
+ labels: "betterstack_alchemy",
31
+ propagate: "w3c",
32
+ } as const;
33
+
34
+ export class Conflict
35
+ extends /*@__PURE__*/ T.applyErrorMatchers(
36
+ /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
37
+ code: S.Number,
38
+ message: S.String,
39
+ body: /*@__PURE__*/ S.optional(
40
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
41
+ ),
42
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
43
+ }).pipe(C.withConflictError),
44
+ [{ status: 409 }],
45
+ )
46
+ {
47
+ declare readonly body?: AccountError | string;
48
+ }
49
+
50
+ export class Forbidden
51
+ extends /*@__PURE__*/ T.applyErrorMatchers(
52
+ /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
53
+ code: S.Number,
54
+ message: S.String,
55
+ body: /*@__PURE__*/ S.optional(
56
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
57
+ ),
58
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
59
+ }).pipe(C.withAuthError),
60
+ [{ status: 403 }],
61
+ )
62
+ {
63
+ declare readonly body?: AccountError | string;
64
+ }
65
+
66
+ export class NotFound
67
+ extends /*@__PURE__*/ T.applyErrorMatchers(
68
+ /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
69
+ code: S.Number,
70
+ message: S.String,
71
+ body: /*@__PURE__*/ S.optional(
72
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
73
+ ),
74
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
75
+ }).pipe(C.withBadRequestError),
76
+ [{ status: 404 }],
77
+ )
78
+ {
79
+ declare readonly body?: AccountError | string;
80
+ }
81
+
82
+ export class UnprocessableEntity
83
+ extends /*@__PURE__*/ T.applyErrorMatchers(
84
+ /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
85
+ code: S.Number,
86
+ message: S.String,
87
+ body: /*@__PURE__*/ S.optional(
88
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
89
+ ),
90
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
91
+ }).pipe(C.withBadRequestError),
92
+ [{ status: 422 }],
93
+ )
94
+ {
95
+ declare readonly body?: AccountError | string;
96
+ }
97
+
98
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
99
+ export type CreateTeamRequestIncidentGroupingMetadataScopeList = Array<string>;
100
+ export interface CreateTeamRequest {
101
+ /** The organization to create the team in, such as `123`, when you sign in with OAuth. Required when you can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). Leave it out with a global API token, which creates the team in the token's own organization. */
102
+ organizationId?: string | undefined;
103
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
104
+ incidentGroupingMetadataScope?: CreateTeamRequestIncidentGroupingMetadataScopeList | undefined;
105
+ /** Seconds within which a new incident is grouped with an earlier one that's still open, for example `300` for 5 minutes. `0` never groups incidents. From `0` to `2147483647`, and new teams start at `300`. */
106
+ incidentGroupingPeriod?: number | undefined;
107
+ /** The URL the team's logo was fetched from. Accepts an image URL, and we fetch the logo from it. Remove the argument to remove the logo. */
108
+ logoRemoteUrl?: string | undefined;
109
+ /** The team's name. Must be unique in the organization, ignoring letter case. */
110
+ name: string;
111
+ /** Whether every incident in a group alerts, rather than only the first. New teams start at `true`. */
112
+ notifyAboutAllIncidentsInAGroup?: boolean | undefined;
113
+ /** Send on-call reminders by e-mail. New teams start at `true`. */
114
+ onCallReminderEmail?: boolean | undefined;
115
+ /** Seconds before an on-call shift starts to remind the person, or `0` for no reminder. The other values are `3600`, `21600`, `43200`, `86400`, `172800` and `604800`. New teams start at `86400`. */
116
+ onCallReminderLeadTime?: number | undefined;
117
+ /** Send on-call reminders as push notifications. New teams start at `true`. */
118
+ onCallReminderPush?: boolean | undefined;
119
+ /** Send on-call reminders by SMS. New teams start at `false`. */
120
+ onCallReminderSms?: boolean | undefined;
121
+ /** Whether the incident timeline records when a team member opens the e-mail about a new incident. New teams start at `true`. */
122
+ openedEmailsTrackingEnabled?: boolean | undefined;
123
+ /** Whether reporting is on, which unlocks the reports in Incidents. New teams start at `false`. */
124
+ reportingEnabled?: boolean | undefined;
125
+ /** The team's logo. Send the URL of a jpg, png, webp or gif image under 20 MB, and we fetch the logo from it. Responses return the URL of the stored logo. Send `null` to remove the logo. */
126
+ logoUrl?: string | null | undefined;
127
+ }
128
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
129
+ export type TeamIncidentGroupingMetadataScopeList = Array<string>;
130
+ export interface Team {
131
+ /** The team's id. */
132
+ id: string;
133
+ /** When the team was created. */
134
+ createdAt?: string | undefined;
135
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
136
+ incidentGroupingMetadataScope?: TeamIncidentGroupingMetadataScopeList | null | undefined;
137
+ /** Seconds within which a new incident is grouped with an earlier one that's still open, for example `300` for 5 minutes. `0` never groups incidents. From `0` to `2147483647`, and new teams start at `300`. */
138
+ incidentGroupingPeriod?: number | undefined;
139
+ /** The URL the team's logo was fetched from. Accepts an image URL, and we fetch the logo from it. Remove the argument to remove the logo. */
140
+ logoRemoteUrl?: string | null | undefined;
141
+ /** The team's name. Must be unique in the organization, ignoring letter case. */
142
+ name?: string | undefined;
143
+ /** Whether every incident in a group alerts, rather than only the first. New teams start at `true`. */
144
+ notifyAboutAllIncidentsInAGroup?: boolean | undefined;
145
+ /** Send on-call reminders by e-mail. New teams start at `true`. */
146
+ onCallReminderEmail?: boolean | undefined;
147
+ /** Seconds before an on-call shift starts to remind the person, or `0` for no reminder. The other values are `3600`, `21600`, `43200`, `86400`, `172800` and `604800`. New teams start at `86400`. */
148
+ onCallReminderLeadTime?: number | undefined;
149
+ /** Send on-call reminders as push notifications. New teams start at `true`. */
150
+ onCallReminderPush?: boolean | undefined;
151
+ /** Send on-call reminders by SMS. New teams start at `false`. */
152
+ onCallReminderSms?: boolean | undefined;
153
+ /** Whether the incident timeline records when a team member opens the e-mail about a new incident. New teams start at `true`. */
154
+ openedEmailsTrackingEnabled?: boolean | undefined;
155
+ /** ID of the organization the team belongs to. */
156
+ organizationId?: number | undefined;
157
+ /** Whether reporting is on, which unlocks the reports in Incidents. New teams start at `false`. */
158
+ reportingEnabled?: boolean | undefined;
159
+ /** When the team was last updated. */
160
+ updatedAt?: string | undefined;
161
+ /** URL of the team's logo, or `null` when it has none. */
162
+ logoUrl?: string | null | undefined;
163
+ }
164
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
165
+ export type CreateTeamMemberRequestRole =
166
+ | "admin"
167
+ | "billing_admin"
168
+ | "team_lead"
169
+ | "responder"
170
+ | "member"
171
+ | "custom";
172
+ export interface CreateTeamMemberRequest {
173
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
174
+ teamId?: string | undefined;
175
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
176
+ organizationId?: string | undefined;
177
+ /** E-mail address. Required to invite, and can't be changed afterward. */
178
+ email: string;
179
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
180
+ role?: CreateTeamMemberRequestRole | (string & {}) | undefined;
181
+ /** ID of the member's role, or of the role an invitation gives, custom roles included. Get the IDs via [List roles](https://betterstack.com/docs/uptime/api/roles/list/). When `role` is also given, both must name the same role. */
182
+ roleId?: string | undefined;
183
+ }
184
+ /** The platforms the member's mobile apps receive push notifications on, `ios` and `android`, or empty when none. Absent on a pending invitation. */
185
+ export type TeamMemberMobileAppPlatformsList = Array<string>;
186
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
187
+ export type TeamMemberRole =
188
+ | "admin"
189
+ | "billing_admin"
190
+ | "team_lead"
191
+ | "responder"
192
+ | "member"
193
+ | "custom";
194
+ /** The member's phone numbers. Always empty on the accounts observed, so the item shape is unverified. */
195
+ export type TeamMemberPhoneNumbersList = Array<unknown>;
196
+ export interface TeamMember {
197
+ /** The team_member's id. */
198
+ id: string;
199
+ /** When the user account was created. Absent on a pending invitation. */
200
+ createdAt?: string | null | undefined;
201
+ /** E-mail address. Required to invite, and can't be changed afterward. */
202
+ email?: string | undefined;
203
+ /** The member's first name, or `null` when they haven't set one. Absent on a pending invitation. */
204
+ firstName?: string | null | undefined;
205
+ /** When the invitation was created. Present only on a pending invitation. */
206
+ invitedAt?: string | null | undefined;
207
+ /** The member's last name, or `null` when they haven't set one. Absent on a pending invitation. */
208
+ lastName?: string | null | undefined;
209
+ /** The platforms the member's mobile apps receive push notifications on, `ios` and `android`, or empty when none. Absent on a pending invitation. */
210
+ mobileAppPlatforms?: TeamMemberMobileAppPlatformsList | undefined;
211
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
212
+ role?: TeamMemberRole | null | undefined;
213
+ /** ID of the member's role, or of the role an invitation gives, custom roles included. Get the IDs via [List roles](https://betterstack.com/docs/uptime/api/roles/list/). When `role` is also given, both must name the same role. */
214
+ roleId?: string | null | undefined;
215
+ /** Team the membership is in, such as `t123`. Defaults to the provider's `team_id`. Set it to create this object in another team. Changing it replaces the resource, because an object can't move to another team. */
216
+ teamId?: string | undefined;
217
+ /** The member's phone numbers. Always empty on the accounts observed, so the item shape is unverified. */
218
+ phoneNumbers?: TeamMemberPhoneNumbersList | undefined;
219
+ /** What happened, in a sentence, either `Invitation sent`, or `User is already a member of the team` when the address already belongs to a member. */
220
+ message?: string | undefined;
221
+ }
222
+ export interface DeleteTeamRequest {
223
+ /** The team's ID. */
224
+ id: string;
225
+ }
226
+ export interface DeleteTeamResponse {}
227
+ export interface DeleteTeamMemberRequest {
228
+ /** The team member's `email`, which identifies it. E-mail address. Required to invite, and can't be changed afterward. */
229
+ email: string;
230
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
231
+ teamId?: string | undefined;
232
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
233
+ organizationId?: string | undefined;
234
+ }
235
+ export interface DeleteTeamMemberResponse {}
236
+ export interface DeleteTeamMemberByIdRequest {
237
+ /** The member as `u123` or their e-mail address. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). Letter case doesn't matter in an e-mail address. */
238
+ id: string;
239
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
240
+ organizationId?: string | undefined;
241
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
242
+ teamId?: string | undefined;
243
+ }
244
+ export interface DeleteTeamMemberByIdResponse {}
245
+ export interface GetTeamRequest {
246
+ /** The team's ID. */
247
+ id: string;
248
+ }
249
+ export interface GetTeamMemberRequest {
250
+ /** The member as `u123` or their e-mail address. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). Letter case doesn't matter in an e-mail address. */
251
+ id: string;
252
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
253
+ organizationId?: string | undefined;
254
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
255
+ teamId?: string | undefined;
256
+ }
257
+ export interface ListRoleRequest {
258
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
259
+ organizationId?: string | undefined;
260
+ /** Sort by `name`, or by `-name` for descending order. Ties are broken by ID. Any other value keeps the default order. */
261
+ sort?: string | undefined;
262
+ }
263
+ export interface Role {
264
+ /** The role's id. */
265
+ id: string;
266
+ /** Role name. */
267
+ name?: string | undefined;
268
+ /** Which built-in role this is. A team member's `role` has the same values. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: A role the organization made itself in the role editor. */
269
+ role?: string | undefined;
270
+ }
271
+ export type RoleListDataList = Array<Role>;
272
+ export interface RoleList {
273
+ data?: RoleListDataList | undefined;
274
+ }
275
+ export interface ListTeamRequest {
276
+ /** Page to return, starting at 1. */
277
+ page?: number | undefined;
278
+ /** Results per page. */
279
+ perPage?: number | undefined;
280
+ /** The organization to list teams from, such as `123`, when you sign in with OAuth. Each team in the list has its organization's ID in `organization_id`. */
281
+ organizationId?: string | undefined;
282
+ /** Only teams whose name contains this text, ignoring letter case. */
283
+ search?: string | undefined;
284
+ }
285
+ export type TeamListDataList = Array<Team>;
286
+ /** Pick a page with the `page` and `per_page` query parameters. The response has a `pagination` object with links to the other pages. */
287
+ export interface PaginationPageNumber {
288
+ first?: string | undefined;
289
+ last?: string | undefined;
290
+ prev?: string | null | undefined;
291
+ next?: string | null | undefined;
292
+ /** How many results the whole list holds, across every page. */
293
+ totalCount?: number | undefined;
294
+ }
295
+ export interface TeamList {
296
+ data: TeamListDataList;
297
+ pagination?: PaginationPageNumber | undefined;
298
+ }
299
+ export interface ListTeamMemberRequest {
300
+ /** Page to return, starting at 1. */
301
+ page?: number | undefined;
302
+ /** Results per page. */
303
+ perPage?: number | undefined;
304
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
305
+ teamId?: string | undefined;
306
+ /** Only the team member with this `email` (how the Terraform provider reads one by its key). */
307
+ email?: string | undefined;
308
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
309
+ organizationId?: string | undefined;
310
+ /** Sort members and invitations together by `email` or `created_at`, or by `-email` or `-created_at` for descending order. Invitations come last with `created_at` and first with `-created_at`. Ties are broken by ID, with a member first. Any other value keeps the default order. */
311
+ sort?: string | undefined;
312
+ }
313
+ export type TeamMemberListDataList = Array<TeamMember>;
314
+ export interface TeamMemberList {
315
+ data: TeamMemberListDataList;
316
+ pagination?: PaginationPageNumber | undefined;
317
+ }
318
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
319
+ export type UpdateTeamRequestIncidentGroupingMetadataScopeList = Array<string>;
320
+ export interface UpdateTeamRequest {
321
+ /** The team's ID. */
322
+ id: string;
323
+ /** Metadata keys whose values must match for incidents to be grouped. New teams start with `["Origin"]`. `null` groups the same way as `["Origin"]`. */
324
+ incidentGroupingMetadataScope?: UpdateTeamRequestIncidentGroupingMetadataScopeList | undefined;
325
+ /** Seconds within which a new incident is grouped with an earlier one that's still open, for example `300` for 5 minutes. `0` never groups incidents. From `0` to `2147483647`, and new teams start at `300`. */
326
+ incidentGroupingPeriod?: number | undefined;
327
+ /** The URL the team's logo was fetched from. Accepts an image URL, and we fetch the logo from it. Remove the argument to remove the logo. */
328
+ logoRemoteUrl?: string | null | undefined;
329
+ /** The team's name. Must be unique in the organization, ignoring letter case. */
330
+ name?: string | undefined;
331
+ /** Whether every incident in a group alerts, rather than only the first. New teams start at `true`. */
332
+ notifyAboutAllIncidentsInAGroup?: boolean | undefined;
333
+ /** Send on-call reminders by e-mail. New teams start at `true`. */
334
+ onCallReminderEmail?: boolean | undefined;
335
+ /** Seconds before an on-call shift starts to remind the person, or `0` for no reminder. The other values are `3600`, `21600`, `43200`, `86400`, `172800` and `604800`. New teams start at `86400`. */
336
+ onCallReminderLeadTime?: number | undefined;
337
+ /** Send on-call reminders as push notifications. New teams start at `true`. */
338
+ onCallReminderPush?: boolean | undefined;
339
+ /** Send on-call reminders by SMS. New teams start at `false`. */
340
+ onCallReminderSms?: boolean | undefined;
341
+ /** Whether the incident timeline records when a team member opens the e-mail about a new incident. New teams start at `true`. */
342
+ openedEmailsTrackingEnabled?: boolean | undefined;
343
+ /** Whether reporting is on, which unlocks the reports in Incidents. New teams start at `false`. */
344
+ reportingEnabled?: boolean | undefined;
345
+ /** The team's logo. Send the URL of a jpg, png, webp or gif image under 20 MB, and we fetch the logo from it. Responses return the URL of the stored logo. Send `null` to remove the logo. */
346
+ logoUrl?: string | null | undefined;
347
+ }
348
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
349
+ export type UpdateTeamMemberRequestRole =
350
+ | "admin"
351
+ | "billing_admin"
352
+ | "team_lead"
353
+ | "responder"
354
+ | "member"
355
+ | "custom";
356
+ export interface UpdateTeamMemberRequest {
357
+ /** The e-mail address, as the API stores it. Import takes it too. */
358
+ email: string;
359
+ /** ID of the member's role, or of the role an invitation gives, custom roles included. Get the IDs via [List roles](https://betterstack.com/docs/uptime/api/roles/list/). When `role` is also given, both must name the same role. */
360
+ roleId: string;
361
+ /** Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team. */
362
+ teamId?: string | undefined;
363
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
364
+ organizationId?: string | undefined;
365
+ /** The member's built-in role in this team. A user can have a different role in each team. `null` on an invitation to a custom role. With neither `role` nor `role_id`, an invitation gets the responder role. - `admin`: Can access every feature in every team, including billing, organization settings and API tokens. The API never assigns it. - `billing_admin`: Can manage subscriptions, invoices and payment settings for the whole organization, without access to operational features. - `team_lead`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, invite team members and change their roles. - `responder`: Can access monitors, incidents, on-call, status pages, telemetry and AI SRE, and invite team members. - `member`: Can access sources, Live tail, dashboards, error tracking, session replays and AI SRE, without monitors, incidents or on-call. - `custom`: The member has a custom role. Assign one with `role_id` instead. */
366
+ role?: UpdateTeamMemberRequestRole | (string & {}) | undefined;
367
+ }
368
+ /** The member's phone numbers in international format, like `+14155550123`, sorted. Absent on a pending invitation. An update replaces the whole list, and `[]` removes every number. */
369
+ export type UpdateTeamMemberByIdRequestPhoneNumbersList = Array<string>;
370
+ export interface UpdateTeamMemberByIdRequest {
371
+ /** The member as `u123` or their e-mail address. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). Letter case doesn't matter in an e-mail address. */
372
+ id: string;
373
+ /** The organization to use, such as `123`. Required when you sign in with OAuth and can access more than one organization. Get the ID from `organization_id` in [List teams](/docs/uptime/api/teams/list/). */
374
+ organizationId?: string | undefined;
375
+ /** The team to return the member's role for, such as `t123`. Get the team ID via [List teams](/docs/uptime/api/teams/list/). Leave it out to show the member's role in their first team. */
376
+ teamId?: string | undefined;
377
+ /** The member's phone numbers in international format, like `+14155550123`, sorted. Absent on a pending invitation. An update replaces the whole list, and `[]` removes every number. */
378
+ phoneNumbers?: UpdateTeamMemberByIdRequestPhoneNumbersList | undefined;
379
+ }
380
+ /** An object whose `errors` key holds the message. */
381
+ export interface AccountError {
382
+ /** Human-readable failure message. */
383
+ errors?: unknown | undefined;
384
+ /** Invalid Attributes. */
385
+ invalidAttributes?: unknown | undefined;
386
+ /** Required Attributes. */
387
+ requiredAttributes?: unknown | undefined;
388
+ }
389
+ export type CreateTeamError =
390
+ | Forbidden
391
+ | NotFound
392
+ | Conflict
393
+ | UnprocessableEntity
394
+ | BetterStackOpError;
395
+ /** Create a team. A team in the organization. Everything you create in any Better Stack product belongs to a team. */
396
+ export const createTeam: API.OperationMethod<
397
+ CreateTeamRequest,
398
+ Team,
399
+ CreateTeamError,
400
+ BetterStackOpContext
401
+ > = /*@__PURE__*/ API.make(() => ({
402
+ input: __S(36, __c9, 0) as any as S.Schema<CreateTeamRequest>,
403
+ output: __S(44, __c11, 0) as any as S.Schema<Team>,
404
+ errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
405
+ serviceErrors: BetterStackServiceErrors,
406
+ protocol: AccountProtocol,
407
+ retry: Retry.Retry,
408
+ telemetry: TELEMETRY,
409
+ span: "CreateTeam",
410
+ }));
411
+
412
+ export type CreateTeamMemberError = Forbidden | UnprocessableEntity | BetterStackOpError;
413
+ /** Create a team member. A member of a team, or a pending invitation to join it, with the member's role or the role the invitation gives. */
414
+ export const createTeamMember: API.OperationMethod<
415
+ CreateTeamMemberRequest,
416
+ TeamMember,
417
+ CreateTeamMemberError,
418
+ BetterStackOpContext
419
+ > = /*@__PURE__*/ API.make(() => ({
420
+ input: __S(48, __c12, 0) as any as S.Schema<CreateTeamMemberRequest>,
421
+ output: __S(53, __c13, 1) as any as S.Schema<TeamMember>,
422
+ errors: [Forbidden, UnprocessableEntity],
423
+ serviceErrors: BetterStackServiceErrors,
424
+ protocol: AccountProtocol,
425
+ retry: Retry.Retry,
426
+ telemetry: TELEMETRY,
427
+ span: "CreateTeamMember",
428
+ }));
429
+
430
+ export type DeleteTeamError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
431
+ /** Delete a team. */
432
+ export const deleteTeam: API.OperationMethod<
433
+ DeleteTeamRequest,
434
+ DeleteTeamResponse,
435
+ DeleteTeamError,
436
+ BetterStackOpContext
437
+ > = /*@__PURE__*/ API.make(() => ({
438
+ input: __S(56, __c14, 0) as any as S.Schema<DeleteTeamRequest>,
439
+ output: __S(60, __c15, 0) as any as S.Schema<DeleteTeamResponse>,
440
+ errors: [Forbidden, NotFound, UnprocessableEntity],
441
+ serviceErrors: BetterStackServiceErrors,
442
+ protocol: AccountProtocol,
443
+ retry: Retry.Retry,
444
+ telemetry: TELEMETRY,
445
+ span: "DeleteTeam",
446
+ }));
447
+
448
+ export type DeleteTeamMemberError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
449
+ /** Delete a team member. */
450
+ export const deleteTeamMember: API.OperationMethod<
451
+ DeleteTeamMemberRequest,
452
+ DeleteTeamMemberResponse,
453
+ DeleteTeamMemberError,
454
+ BetterStackOpContext
455
+ > = /*@__PURE__*/ API.make(() => ({
456
+ input: __S(64, __c16, 0) as any as S.Schema<DeleteTeamMemberRequest>,
457
+ output: __S(60, __c15, 0) as any as S.Schema<DeleteTeamMemberResponse>,
458
+ errors: [Forbidden, NotFound, UnprocessableEntity],
459
+ serviceErrors: BetterStackServiceErrors,
460
+ protocol: AccountProtocol,
461
+ retry: Retry.Retry,
462
+ telemetry: TELEMETRY,
463
+ span: "DeleteTeamMember",
464
+ }));
465
+
466
+ export type DeleteTeamMemberByIdError =
467
+ | Forbidden
468
+ | NotFound
469
+ | UnprocessableEntity
470
+ | BetterStackOpError;
471
+ /** Remove a team member. Remove a member from the team, or cancel the pending invitation to an e-mail address no member has. A removed member keeps organization access when another team still includes them, and is otherwise removed from the organization. */
472
+ export const deleteTeamMemberById: API.OperationMethod<
473
+ DeleteTeamMemberByIdRequest,
474
+ DeleteTeamMemberByIdResponse,
475
+ DeleteTeamMemberByIdError,
476
+ BetterStackOpContext
477
+ > = /*@__PURE__*/ API.make(() => ({
478
+ input: __S(68, __c17, 0) as any as S.Schema<DeleteTeamMemberByIdRequest>,
479
+ output: __S(60, __c15, 0) as any as S.Schema<DeleteTeamMemberByIdResponse>,
480
+ errors: [Forbidden, NotFound, UnprocessableEntity],
481
+ serviceErrors: BetterStackServiceErrors,
482
+ protocol: AccountProtocol,
483
+ retry: Retry.Retry,
484
+ telemetry: TELEMETRY,
485
+ span: "DeleteTeamMemberById",
486
+ }));
487
+
488
+ export type GetTeamError = Forbidden | NotFound | BetterStackOpError;
489
+ /** Get a team. */
490
+ export const getTeam: API.OperationMethod<
491
+ GetTeamRequest,
492
+ Team,
493
+ GetTeamError,
494
+ BetterStackOpContext
495
+ > = /*@__PURE__*/ API.make(() => ({
496
+ input: __S(72, __c18, 0) as any as S.Schema<GetTeamRequest>,
497
+ output: __S(44, __c11, 0) as any as S.Schema<Team>,
498
+ errors: [Forbidden, NotFound],
499
+ serviceErrors: BetterStackServiceErrors,
500
+ protocol: AccountProtocol,
501
+ retry: Retry.Retry,
502
+ telemetry: TELEMETRY,
503
+ span: "GetTeam",
504
+ }));
505
+
506
+ export type GetTeamMemberError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
507
+ /** Get a team member. Get one member of the team, with their role in it, or the pending invitation to an e-mail address no member has. */
508
+ export const getTeamMember: API.OperationMethod<
509
+ GetTeamMemberRequest,
510
+ TeamMember,
511
+ GetTeamMemberError,
512
+ BetterStackOpContext
513
+ > = /*@__PURE__*/ API.make(() => ({
514
+ input: __S(4, __c1, 0) as any as S.Schema<GetTeamMemberRequest>,
515
+ output: __S(53, __c13, 1) as any as S.Schema<TeamMember>,
516
+ errors: [Forbidden, NotFound, UnprocessableEntity],
517
+ serviceErrors: BetterStackServiceErrors,
518
+ protocol: AccountProtocol,
519
+ retry: Retry.Retry,
520
+ telemetry: TELEMETRY,
521
+ span: "GetTeamMember",
522
+ }));
523
+
524
+ export type ListRoleError = Forbidden | UnprocessableEntity | BetterStackOpError;
525
+ /** List roles. */
526
+ export const listRole: API.OperationMethod<
527
+ ListRoleRequest,
528
+ RoleList,
529
+ ListRoleError,
530
+ BetterStackOpContext
531
+ > = /*@__PURE__*/ API.make(() => ({
532
+ input: __S(8, __c2, 0) as any as S.Schema<ListRoleRequest>,
533
+ output: __S(11, __c2, 3) as any as S.Schema<RoleList>,
534
+ errors: [Forbidden, UnprocessableEntity],
535
+ serviceErrors: BetterStackServiceErrors,
536
+ protocol: AccountProtocol,
537
+ retry: Retry.Retry,
538
+ telemetry: TELEMETRY,
539
+ span: "ListRole",
540
+ }));
541
+
542
+ export type ListTeamError = Forbidden | UnprocessableEntity | BetterStackOpError;
543
+ /** List teams. */
544
+ export const listTeam: API.PaginatedOperationMethod<
545
+ ListTeamRequest,
546
+ TeamList,
547
+ ListTeamError,
548
+ BetterStackOpContext,
549
+ Team
550
+ > = /*@__PURE__*/ API.makePaginated(
551
+ () => ({
552
+ input: __S(12, __c3, 0) as any as S.Schema<ListTeamRequest>,
553
+ output: __S(14, __c3, 2) as any as S.Schema<TeamList>,
554
+ errors: [Forbidden, UnprocessableEntity],
555
+ serviceErrors: BetterStackServiceErrors,
556
+ protocol: AccountProtocol,
557
+ retry: Retry.Retry,
558
+ telemetry: TELEMETRY,
559
+ span: "ListTeam",
560
+ pagination: {
561
+ inputToken: "page",
562
+ outputToken: "pagination.next",
563
+ items: "data",
564
+ pageSize: "perPage",
565
+ } as const,
566
+ }),
567
+ paginateNextPage,
568
+ ) as any;
569
+
570
+ export type ListTeamMemberError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
571
+ /** List team members. */
572
+ export const listTeamMember: API.PaginatedOperationMethod<
573
+ ListTeamMemberRequest,
574
+ TeamMemberList,
575
+ ListTeamMemberError,
576
+ BetterStackOpContext,
577
+ TeamMember
578
+ > = /*@__PURE__*/ API.makePaginated(
579
+ () => ({
580
+ input: __S(20, __c5, 0) as any as S.Schema<ListTeamMemberRequest>,
581
+ output: __S(22, __c5, 2) as any as S.Schema<TeamMemberList>,
582
+ errors: [Forbidden, NotFound, UnprocessableEntity],
583
+ serviceErrors: BetterStackServiceErrors,
584
+ protocol: AccountProtocol,
585
+ retry: Retry.Retry,
586
+ telemetry: TELEMETRY,
587
+ span: "ListTeamMember",
588
+ pagination: {
589
+ inputToken: "page",
590
+ outputToken: "pagination.next",
591
+ items: "data",
592
+ pageSize: "perPage",
593
+ } as const,
594
+ }),
595
+ paginateNextPage,
596
+ ) as any;
597
+
598
+ export type UpdateTeamError = Forbidden | NotFound | UnprocessableEntity | BetterStackOpError;
599
+ /** Update a team. */
600
+ export const updateTeam: API.OperationMethod<
601
+ UpdateTeamRequest,
602
+ Team,
603
+ UpdateTeamError,
604
+ BetterStackOpContext
605
+ > = /*@__PURE__*/ API.make(() => ({
606
+ input: __S(24, __c6, 0) as any as S.Schema<UpdateTeamRequest>,
607
+ output: __S(44, __c11, 0) as any as S.Schema<Team>,
608
+ errors: [Forbidden, NotFound, UnprocessableEntity],
609
+ serviceErrors: BetterStackServiceErrors,
610
+ protocol: AccountProtocol,
611
+ retry: Retry.Retry,
612
+ telemetry: TELEMETRY,
613
+ span: "UpdateTeam",
614
+ }));
615
+
616
+ export type UpdateTeamMemberError =
617
+ | Forbidden
618
+ | NotFound
619
+ | Conflict
620
+ | UnprocessableEntity
621
+ | BetterStackOpError;
622
+ /** Update a team member. */
623
+ export const updateTeamMember: API.OperationMethod<
624
+ UpdateTeamMemberRequest,
625
+ TeamMember,
626
+ UpdateTeamMemberError,
627
+ BetterStackOpContext
628
+ > = /*@__PURE__*/ API.make(() => ({
629
+ input: __S(28, __c7, 0) as any as S.Schema<UpdateTeamMemberRequest>,
630
+ output: __S(53, __c13, 1) as any as S.Schema<TeamMember>,
631
+ errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
632
+ serviceErrors: BetterStackServiceErrors,
633
+ protocol: AccountProtocol,
634
+ retry: Retry.Retry,
635
+ telemetry: TELEMETRY,
636
+ span: "UpdateTeamMember",
637
+ }));
638
+
639
+ export type UpdateTeamMemberByIdError =
640
+ | Forbidden
641
+ | NotFound
642
+ | UnprocessableEntity
643
+ | BetterStackOpError;
644
+ /** Update a team member. Change a team member's `phone_numbers`. The member can be in any team of the organization. Without `phone_numbers`, nothing changes and the member is returned. */
645
+ export const updateTeamMemberById: API.OperationMethod<
646
+ UpdateTeamMemberByIdRequest,
647
+ TeamMember,
648
+ UpdateTeamMemberByIdError,
649
+ BetterStackOpContext
650
+ > = /*@__PURE__*/ API.make(() => ({
651
+ input: __S(32, __c8, 0) as any as S.Schema<UpdateTeamMemberByIdRequest>,
652
+ output: __S(53, __c13, 1) as any as S.Schema<TeamMember>,
653
+ errors: [Forbidden, NotFound, UnprocessableEntity],
654
+ serviceErrors: BetterStackServiceErrors,
655
+ protocol: AccountProtocol,
656
+ retry: Retry.Retry,
657
+ telemetry: TELEMETRY,
658
+ span: "UpdateTeamMemberById",
659
+ }));
660
+
661
+ // Schema builders: each runs one schema initializer, on that schema's first use.
662
+ function __c0(j: number): any {
663
+ switch (j) {
664
+ case 0:
665
+ return S.suspend(() =>
666
+ S.Struct({
667
+ errors: S.optional(S.Unknown),
668
+ invalidAttributes: S.optional(S.Unknown.pipe(T.Body("invalid_attributes"))),
669
+ requiredAttributes: S.optional(S.Unknown.pipe(T.Body("required_attributes"))),
670
+ }),
671
+ ).annotate({ identifier: "AccountError" });
672
+ }
673
+ }
674
+ function __c1(j: number): any {
675
+ switch (j) {
676
+ case 0:
677
+ return S.suspend(() =>
678
+ S.Struct({
679
+ id: S.String.pipe(T.Label()),
680
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
681
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
682
+ })
683
+ .pipe(T.Http({ method: "GET", uri: "/api/v3/team-members/{id}", code: 200 }))
684
+ .pipe(
685
+ T.ResponseEnvelope({
686
+ kind: "item",
687
+ path: ["data"],
688
+ attributes: ["attributes"],
689
+ id: ["id"],
690
+ }),
691
+ ),
692
+ ).annotate({ identifier: "GetTeamMemberRequest" });
693
+ }
694
+ }
695
+ function __c2(j: number): any {
696
+ switch (j) {
697
+ case 0:
698
+ return S.suspend(() =>
699
+ S.Struct({
700
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
701
+ sort: S.optional(S.String.pipe(T.Query())),
702
+ })
703
+ .pipe(T.Http({ method: "GET", uri: "/api/v2/roles", code: 200 }))
704
+ .pipe(
705
+ T.ResponseEnvelope({
706
+ kind: "list",
707
+ path: ["data"],
708
+ attributes: ["attributes"],
709
+ id: ["id"],
710
+ }),
711
+ ),
712
+ ).annotate({ identifier: "ListRoleRequest" });
713
+ case 1:
714
+ return S.suspend(() =>
715
+ S.Struct({
716
+ id: S.String,
717
+ name: S.optional(S.String),
718
+ role: S.optional(S.String),
719
+ }),
720
+ ).annotate({ identifier: "Role" });
721
+ case 2:
722
+ return S.Array(__S(9, __c2, 1));
723
+ case 3:
724
+ return S.suspend(() =>
725
+ S.Struct({
726
+ data: S.optional(__S(10, __c2, 2)),
727
+ }),
728
+ ).annotate({ identifier: "RoleList" });
729
+ }
730
+ }
731
+ function __c3(j: number): any {
732
+ switch (j) {
733
+ case 0:
734
+ return S.suspend(() =>
735
+ S.Struct({
736
+ page: S.optional(S.Number.pipe(T.Query())),
737
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
738
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
739
+ search: S.optional(S.String.pipe(T.Query())),
740
+ })
741
+ .pipe(T.Http({ method: "GET", uri: "/api/v3/teams", code: 200 }))
742
+ .pipe(
743
+ T.ResponseEnvelope({
744
+ kind: "list",
745
+ path: ["data"],
746
+ attributes: ["attributes"],
747
+ id: ["id"],
748
+ }),
749
+ ),
750
+ ).annotate({ identifier: "ListTeamRequest" });
751
+ case 1:
752
+ return S.Array(__S(44, __c11, 0));
753
+ case 2:
754
+ return S.suspend(() =>
755
+ S.Struct({
756
+ data: __S(13, __c3, 1),
757
+ pagination: S.optional(__S(16, __c4, 0)),
758
+ }),
759
+ ).annotate({ identifier: "TeamList" });
760
+ }
761
+ }
762
+ function __c4(j: number): any {
763
+ switch (j) {
764
+ case 0:
765
+ return S.suspend(() =>
766
+ S.Struct({
767
+ first: S.optional(S.String),
768
+ last: S.optional(S.String),
769
+ prev: S.optional(S.NullOr(S.String)),
770
+ next: S.optional(S.NullOr(S.String)),
771
+ totalCount: S.optional(S.Number.pipe(T.Body("total_count"))),
772
+ }),
773
+ ).annotate({ identifier: "PaginationPageNumber" });
774
+ }
775
+ }
776
+ function __c5(j: number): any {
777
+ switch (j) {
778
+ case 0:
779
+ return S.suspend(() =>
780
+ S.Struct({
781
+ page: S.optional(S.Number.pipe(T.Query())),
782
+ perPage: S.optional(S.Number.pipe(T.Query("per_page"))),
783
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
784
+ email: S.optional(S.String.pipe(T.Query())),
785
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
786
+ sort: S.optional(S.String.pipe(T.Query())),
787
+ })
788
+ .pipe(T.Http({ method: "GET", uri: "/api/v3/team-members", code: 200 }))
789
+ .pipe(
790
+ T.ResponseEnvelope({
791
+ kind: "list",
792
+ path: ["data"],
793
+ attributes: ["attributes"],
794
+ id: ["id"],
795
+ }),
796
+ ),
797
+ ).annotate({ identifier: "ListTeamMemberRequest" });
798
+ case 1:
799
+ return S.Array(__S(53, __c13, 1));
800
+ case 2:
801
+ return S.suspend(() =>
802
+ S.Struct({
803
+ data: __S(21, __c5, 1),
804
+ pagination: S.optional(__S(16, __c4, 0)),
805
+ }),
806
+ ).annotate({ identifier: "TeamMemberList" });
807
+ }
808
+ }
809
+ function __c6(j: number): any {
810
+ switch (j) {
811
+ case 0:
812
+ return S.suspend(() =>
813
+ S.Struct({
814
+ id: S.String.pipe(T.Label()),
815
+ incidentGroupingMetadataScope: S.optional(
816
+ __S(40, __c10, 0).pipe(T.Body("incident_grouping_metadata_scope")),
817
+ ),
818
+ incidentGroupingPeriod: S.optional(S.Number.pipe(T.Body("incident_grouping_period"))),
819
+ logoRemoteUrl: S.optional(S.NullOr(S.String).pipe(T.Body("logo_remote_url"))),
820
+ name: S.optional(S.String),
821
+ notifyAboutAllIncidentsInAGroup: S.optional(
822
+ S.Boolean.pipe(T.Body("notify_about_all_incidents_in_a_group")),
823
+ ),
824
+ onCallReminderEmail: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_email"))),
825
+ onCallReminderLeadTime: S.optional(S.Number.pipe(T.Body("on_call_reminder_lead_time"))),
826
+ onCallReminderPush: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_push"))),
827
+ onCallReminderSms: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_sms"))),
828
+ openedEmailsTrackingEnabled: S.optional(
829
+ S.Boolean.pipe(T.Body("opened_emails_tracking_enabled")),
830
+ ),
831
+ reportingEnabled: S.optional(S.Boolean.pipe(T.Body("reporting_enabled"))),
832
+ logoUrl: S.optional(S.NullOr(S.String).pipe(T.Body("logo_url"))),
833
+ })
834
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v3/teams/{id}", code: 200 }))
835
+ .pipe(
836
+ T.ResponseEnvelope({
837
+ kind: "item",
838
+ path: ["data"],
839
+ attributes: ["attributes"],
840
+ id: ["id"],
841
+ }),
842
+ ),
843
+ ).annotate({ identifier: "UpdateTeamRequest" });
844
+ }
845
+ }
846
+ function __c7(j: number): any {
847
+ switch (j) {
848
+ case 0:
849
+ return S.suspend(() =>
850
+ S.Struct({
851
+ email: S.String.pipe(T.Label()),
852
+ roleId: S.String.pipe(T.Label("role_id")),
853
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
854
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
855
+ role: S.optional(S.String),
856
+ })
857
+ .pipe(
858
+ T.Http({
859
+ method: "POST",
860
+ uri: "/api/v3/team-members/{email}/change-role/{role_id}",
861
+ code: 200,
862
+ }),
863
+ )
864
+ .pipe(
865
+ T.ResponseEnvelope({
866
+ kind: "item",
867
+ path: ["data"],
868
+ attributes: ["attributes"],
869
+ id: ["id"],
870
+ }),
871
+ ),
872
+ ).annotate({ identifier: "UpdateTeamMemberRequest" });
873
+ }
874
+ }
875
+ function __c8(j: number): any {
876
+ switch (j) {
877
+ case 0:
878
+ return S.suspend(() =>
879
+ S.Struct({
880
+ id: S.String.pipe(T.Label()),
881
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
882
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
883
+ phoneNumbers: S.optional(__S(40, __c10, 0).pipe(T.Body("phone_numbers"))),
884
+ })
885
+ .pipe(T.Http({ method: "PATCH", uri: "/api/v3/team-members/{id}", code: 200 }))
886
+ .pipe(
887
+ T.ResponseEnvelope({
888
+ kind: "item",
889
+ path: ["data"],
890
+ attributes: ["attributes"],
891
+ id: ["id"],
892
+ }),
893
+ ),
894
+ ).annotate({ identifier: "UpdateTeamMemberByIdRequest" });
895
+ }
896
+ }
897
+ function __c9(j: number): any {
898
+ switch (j) {
899
+ case 0:
900
+ return S.suspend(() =>
901
+ S.Struct({
902
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
903
+ incidentGroupingMetadataScope: S.optional(
904
+ __S(40, __c10, 0).pipe(T.Body("incident_grouping_metadata_scope")),
905
+ ),
906
+ incidentGroupingPeriod: S.optional(S.Number.pipe(T.Body("incident_grouping_period"))),
907
+ logoRemoteUrl: S.optional(S.String.pipe(T.Body("logo_remote_url"))),
908
+ name: S.String,
909
+ notifyAboutAllIncidentsInAGroup: S.optional(
910
+ S.Boolean.pipe(T.Body("notify_about_all_incidents_in_a_group")),
911
+ ),
912
+ onCallReminderEmail: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_email"))),
913
+ onCallReminderLeadTime: S.optional(S.Number.pipe(T.Body("on_call_reminder_lead_time"))),
914
+ onCallReminderPush: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_push"))),
915
+ onCallReminderSms: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_sms"))),
916
+ openedEmailsTrackingEnabled: S.optional(
917
+ S.Boolean.pipe(T.Body("opened_emails_tracking_enabled")),
918
+ ),
919
+ reportingEnabled: S.optional(S.Boolean.pipe(T.Body("reporting_enabled"))),
920
+ logoUrl: S.optional(S.NullOr(S.String).pipe(T.Body("logo_url"))),
921
+ })
922
+ .pipe(T.Http({ method: "POST", uri: "/api/v3/teams", code: 200 }))
923
+ .pipe(
924
+ T.ResponseEnvelope({
925
+ kind: "item",
926
+ path: ["data"],
927
+ attributes: ["attributes"],
928
+ id: ["id"],
929
+ }),
930
+ ),
931
+ ).annotate({ identifier: "CreateTeamRequest" });
932
+ }
933
+ }
934
+ function __c10(j: number): any {
935
+ switch (j) {
936
+ case 0:
937
+ return S.Array(S.String);
938
+ }
939
+ }
940
+ function __c11(j: number): any {
941
+ switch (j) {
942
+ case 0:
943
+ return S.suspend(() =>
944
+ S.Struct({
945
+ id: S.String,
946
+ createdAt: S.optional(S.String.pipe(T.Body("created_at"))),
947
+ incidentGroupingMetadataScope: S.optional(
948
+ S.NullOr(__S(40, __c10, 0)).pipe(T.Body("incident_grouping_metadata_scope")),
949
+ ),
950
+ incidentGroupingPeriod: S.optional(S.Number.pipe(T.Body("incident_grouping_period"))),
951
+ logoRemoteUrl: S.optional(S.NullOr(S.String).pipe(T.Body("logo_remote_url"))),
952
+ name: S.optional(S.String),
953
+ notifyAboutAllIncidentsInAGroup: S.optional(
954
+ S.Boolean.pipe(T.Body("notify_about_all_incidents_in_a_group")),
955
+ ),
956
+ onCallReminderEmail: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_email"))),
957
+ onCallReminderLeadTime: S.optional(S.Number.pipe(T.Body("on_call_reminder_lead_time"))),
958
+ onCallReminderPush: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_push"))),
959
+ onCallReminderSms: S.optional(S.Boolean.pipe(T.Body("on_call_reminder_sms"))),
960
+ openedEmailsTrackingEnabled: S.optional(
961
+ S.Boolean.pipe(T.Body("opened_emails_tracking_enabled")),
962
+ ),
963
+ organizationId: S.optional(S.Number.pipe(T.Body("organization_id"))),
964
+ reportingEnabled: S.optional(S.Boolean.pipe(T.Body("reporting_enabled"))),
965
+ updatedAt: S.optional(S.String.pipe(T.Body("updated_at"))),
966
+ logoUrl: S.optional(S.NullOr(S.String).pipe(T.Body("logo_url"))),
967
+ }),
968
+ ).annotate({ identifier: "Team" });
969
+ }
970
+ }
971
+ function __c12(j: number): any {
972
+ switch (j) {
973
+ case 0:
974
+ return S.suspend(() =>
975
+ S.Struct({
976
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
977
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
978
+ email: S.String,
979
+ role: S.optional(S.String),
980
+ roleId: S.optional(S.String.pipe(T.Body("role_id"))),
981
+ })
982
+ .pipe(T.Http({ method: "POST", uri: "/api/v3/team-members", code: 200 }))
983
+ .pipe(
984
+ T.ResponseEnvelope({
985
+ kind: "item",
986
+ path: ["data"],
987
+ attributes: ["attributes"],
988
+ id: ["id"],
989
+ }),
990
+ ),
991
+ ).annotate({ identifier: "CreateTeamMemberRequest" });
992
+ }
993
+ }
994
+ function __c13(j: number): any {
995
+ switch (j) {
996
+ case 0:
997
+ return S.Array(S.Unknown);
998
+ case 1:
999
+ return S.suspend(() =>
1000
+ S.Struct({
1001
+ id: S.String,
1002
+ createdAt: S.optional(S.NullOr(S.String).pipe(T.Body("created_at"))),
1003
+ email: S.optional(S.String),
1004
+ firstName: S.optional(S.NullOr(S.String).pipe(T.Body("first_name"))),
1005
+ invitedAt: S.optional(S.NullOr(S.String).pipe(T.Body("invited_at"))),
1006
+ lastName: S.optional(S.NullOr(S.String).pipe(T.Body("last_name"))),
1007
+ mobileAppPlatforms: S.optional(__S(40, __c10, 0).pipe(T.Body("mobile_app_platforms"))),
1008
+ role: S.optional(S.NullOr(S.String)),
1009
+ roleId: S.optional(S.NullOr(S.String).pipe(T.Body("role_id"))),
1010
+ teamId: S.optional(S.String.pipe(T.Body("team_id"))),
1011
+ phoneNumbers: S.optional(__S(52, __c13, 0).pipe(T.Body("phone_numbers"))),
1012
+ message: S.optional(S.String),
1013
+ }),
1014
+ ).annotate({ identifier: "TeamMember" });
1015
+ }
1016
+ }
1017
+ function __c14(j: number): any {
1018
+ switch (j) {
1019
+ case 0:
1020
+ return S.suspend(() =>
1021
+ S.Struct({
1022
+ id: S.String.pipe(T.Label()),
1023
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v3/teams/{id}", code: 200 })),
1024
+ ).annotate({ identifier: "DeleteTeamRequest" });
1025
+ }
1026
+ }
1027
+ function __c15(j: number): any {
1028
+ switch (j) {
1029
+ case 0:
1030
+ return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteTeamResponse" });
1031
+ }
1032
+ }
1033
+ function __c16(j: number): any {
1034
+ switch (j) {
1035
+ case 0:
1036
+ return S.suspend(() =>
1037
+ S.Struct({
1038
+ email: S.String.pipe(T.Query()),
1039
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1040
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
1041
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v3/team-members", code: 200 })),
1042
+ ).annotate({ identifier: "DeleteTeamMemberRequest" });
1043
+ }
1044
+ }
1045
+ function __c17(j: number): any {
1046
+ switch (j) {
1047
+ case 0:
1048
+ return S.suspend(() =>
1049
+ S.Struct({
1050
+ id: S.String.pipe(T.Label()),
1051
+ organizationId: S.optional(S.String.pipe(T.Query("organization_id"))),
1052
+ teamId: S.optional(S.String.pipe(T.Query("team_id"))),
1053
+ }).pipe(T.Http({ method: "DELETE", uri: "/api/v3/team-members/{id}", code: 200 })),
1054
+ ).annotate({ identifier: "DeleteTeamMemberByIdRequest" });
1055
+ }
1056
+ }
1057
+ function __c18(j: number): any {
1058
+ switch (j) {
1059
+ case 0:
1060
+ return S.suspend(() =>
1061
+ S.Struct({
1062
+ id: S.String.pipe(T.Label()),
1063
+ })
1064
+ .pipe(T.Http({ method: "GET", uri: "/api/v3/teams/{id}", code: 200 }))
1065
+ .pipe(
1066
+ T.ResponseEnvelope({
1067
+ kind: "item",
1068
+ path: ["data"],
1069
+ attributes: ["attributes"],
1070
+ id: ["id"],
1071
+ }),
1072
+ ),
1073
+ ).annotate({ identifier: "GetTeamRequest" });
1074
+ }
1075
+ }
1076
+ // Schema table: entry i is schema j of builder f, made on first reach.
1077
+ function __S(i: number, f: (j: number) => unknown, j: number): any {
1078
+ return (__s[i] ??= __L.at(f, j));
1079
+ }