@rnsk/toolkits 0.0.10 → 0.0.12

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 (730) hide show
  1. package/README.md +23 -3
  2. package/dist/index.d.ts +21 -1
  3. package/dist/index.js +41 -1
  4. package/dist/toolkits/accuweather/icon.d.ts +5 -0
  5. package/dist/toolkits/accuweather/icon.js +6 -0
  6. package/dist/toolkits/accuweather/manifest.d.ts +3 -0
  7. package/dist/toolkits/accuweather/manifest.js +35 -0
  8. package/dist/toolkits/accuweather/tools/alerts-alarms.d.ts +13 -0
  9. package/dist/toolkits/accuweather/tools/alerts-alarms.js +25 -0
  10. package/dist/toolkits/accuweather/tools/client.d.ts +17 -0
  11. package/dist/toolkits/accuweather/tools/client.js +50 -0
  12. package/dist/toolkits/accuweather/tools/current-conditions.d.ts +21 -0
  13. package/dist/toolkits/accuweather/tools/current-conditions.js +46 -0
  14. package/dist/toolkits/accuweather/tools/forecasts.d.ts +17 -0
  15. package/dist/toolkits/accuweather/tools/forecasts.js +41 -0
  16. package/dist/toolkits/accuweather/tools/imagery.d.ts +7 -0
  17. package/dist/toolkits/accuweather/tools/imagery.js +21 -0
  18. package/dist/toolkits/accuweather/tools/index.d.ts +21 -0
  19. package/dist/toolkits/accuweather/tools/index.js +60 -0
  20. package/dist/toolkits/accuweather/tools/indices.d.ts +29 -0
  21. package/dist/toolkits/accuweather/tools/indices.js +66 -0
  22. package/dist/toolkits/accuweather/tools/lightning.d.ts +11 -0
  23. package/dist/toolkits/accuweather/tools/lightning.js +35 -0
  24. package/dist/toolkits/accuweather/tools/locations.d.ts +101 -0
  25. package/dist/toolkits/accuweather/tools/locations.js +280 -0
  26. package/dist/toolkits/accuweather/tools/minutecast.d.ts +11 -0
  27. package/dist/toolkits/accuweather/tools/minutecast.js +28 -0
  28. package/dist/toolkits/accuweather/tools/translations.d.ts +20 -0
  29. package/dist/toolkits/accuweather/tools/translations.js +49 -0
  30. package/dist/toolkits/accuweather/tools/tropical.d.ts +49 -0
  31. package/dist/toolkits/accuweather/tools/tropical.js +108 -0
  32. package/dist/toolkits/aws/tools/cloudwatch/filter-log-events.d.ts +2 -2
  33. package/dist/toolkits/aws/tools/cloudwatch/get-metric-data.d.ts +2 -2
  34. package/dist/toolkits/aws/tools/index.d.ts +4 -4
  35. package/dist/toolkits/bitbucket/tools/commits.d.ts +3 -3
  36. package/dist/toolkits/bitbucket/tools/index.d.ts +9 -9
  37. package/dist/toolkits/bitbucket/tools/pull-requests.d.ts +1 -1
  38. package/dist/toolkits/bitbucket/tools/reports.d.ts +5 -5
  39. package/dist/toolkits/bitbucket/tools/repositories.d.ts +1 -1
  40. package/dist/toolkits/cloudflare/tools/create-dns-record.d.ts +2 -2
  41. package/dist/toolkits/cloudflare/tools/create-list.d.ts +1 -1
  42. package/dist/toolkits/cloudflare/tools/create-zone.d.ts +2 -2
  43. package/dist/toolkits/cloudflare/tools/index.d.ts +13 -13
  44. package/dist/toolkits/cloudflare/tools/list-accounts.d.ts +1 -1
  45. package/dist/toolkits/cloudflare/tools/list-dns-records.d.ts +1 -1
  46. package/dist/toolkits/cloudflare/tools/list-pools.d.ts +1 -1
  47. package/dist/toolkits/cloudflare/tools/list-tunnels.d.ts +1 -1
  48. package/dist/toolkits/cloudflare/tools/list-zones.d.ts +2 -2
  49. package/dist/toolkits/cloudflare/tools/update-dns-record.d.ts +1 -1
  50. package/dist/toolkits/cloudflare/tools/update-zone.d.ts +1 -1
  51. package/dist/toolkits/convex/icon.d.ts +5 -0
  52. package/dist/toolkits/convex/icon.js +10 -0
  53. package/dist/toolkits/convex/manifest.d.ts +3 -0
  54. package/dist/toolkits/convex/manifest.js +33 -0
  55. package/dist/toolkits/convex/tools/client.d.ts +28 -0
  56. package/dist/toolkits/convex/tools/client.js +85 -0
  57. package/dist/toolkits/convex/tools/deploy-keys.d.ts +10 -0
  58. package/dist/toolkits/convex/tools/deploy-keys.js +46 -0
  59. package/dist/toolkits/convex/tools/deployments.d.ts +35 -0
  60. package/dist/toolkits/convex/tools/deployments.js +126 -0
  61. package/dist/toolkits/convex/tools/domains.d.ts +7 -0
  62. package/dist/toolkits/convex/tools/domains.js +29 -0
  63. package/dist/toolkits/convex/tools/functions.d.ts +14 -0
  64. package/dist/toolkits/convex/tools/functions.js +49 -0
  65. package/dist/toolkits/convex/tools/index.d.ts +176 -0
  66. package/dist/toolkits/convex/tools/index.js +145 -0
  67. package/dist/toolkits/convex/tools/logging.d.ts +5 -0
  68. package/dist/toolkits/convex/tools/logging.js +25 -0
  69. package/dist/toolkits/convex/tools/projects.d.ts +31 -0
  70. package/dist/toolkits/convex/tools/projects.js +111 -0
  71. package/dist/toolkits/convex/tools/teams.d.ts +12 -0
  72. package/dist/toolkits/convex/tools/teams.js +62 -0
  73. package/dist/toolkits/datadog/icon.d.ts +5 -0
  74. package/dist/toolkits/datadog/icon.js +6 -0
  75. package/dist/toolkits/datadog/manifest.d.ts +3 -0
  76. package/dist/toolkits/datadog/manifest.js +44 -0
  77. package/dist/toolkits/datadog/tools/api-keys.d.ts +21 -0
  78. package/dist/toolkits/datadog/tools/api-keys.js +42 -0
  79. package/dist/toolkits/datadog/tools/apm.d.ts +51 -0
  80. package/dist/toolkits/datadog/tools/apm.js +106 -0
  81. package/dist/toolkits/datadog/tools/client.d.ts +19 -0
  82. package/dist/toolkits/datadog/tools/client.js +81 -0
  83. package/dist/toolkits/datadog/tools/dashboards.d.ts +93 -0
  84. package/dist/toolkits/datadog/tools/dashboards.js +127 -0
  85. package/dist/toolkits/datadog/tools/events.d.ts +35 -0
  86. package/dist/toolkits/datadog/tools/events.js +56 -0
  87. package/dist/toolkits/datadog/tools/hosts.d.ts +49 -0
  88. package/dist/toolkits/datadog/tools/hosts.js +87 -0
  89. package/dist/toolkits/datadog/tools/incidents.d.ts +18 -0
  90. package/dist/toolkits/datadog/tools/incidents.js +34 -0
  91. package/dist/toolkits/datadog/tools/index.d.ts +999 -0
  92. package/dist/toolkits/datadog/tools/index.js +450 -0
  93. package/dist/toolkits/datadog/tools/integrations.d.ts +32 -0
  94. package/dist/toolkits/datadog/tools/integrations.js +47 -0
  95. package/dist/toolkits/datadog/tools/logs.d.ts +39 -0
  96. package/dist/toolkits/datadog/tools/logs.js +121 -0
  97. package/dist/toolkits/datadog/tools/metrics.d.ts +27 -0
  98. package/dist/toolkits/datadog/tools/metrics.js +83 -0
  99. package/dist/toolkits/datadog/tools/monitors.d.ts +95 -0
  100. package/dist/toolkits/datadog/tools/monitors.js +190 -0
  101. package/dist/toolkits/datadog/tools/oncall-notifications.d.ts +61 -0
  102. package/dist/toolkits/datadog/tools/oncall-notifications.js +155 -0
  103. package/dist/toolkits/datadog/tools/oncall-policies.d.ts +28 -0
  104. package/dist/toolkits/datadog/tools/oncall-policies.js +72 -0
  105. package/dist/toolkits/datadog/tools/oncall-schedules.d.ts +31 -0
  106. package/dist/toolkits/datadog/tools/oncall-schedules.js +87 -0
  107. package/dist/toolkits/datadog/tools/oncall-teams.d.ts +14 -0
  108. package/dist/toolkits/datadog/tools/oncall-teams.js +54 -0
  109. package/dist/toolkits/datadog/tools/slos.d.ts +43 -0
  110. package/dist/toolkits/datadog/tools/slos.js +62 -0
  111. package/dist/toolkits/datadog/tools/synthetics.d.ts +58 -0
  112. package/dist/toolkits/datadog/tools/synthetics.js +90 -0
  113. package/dist/toolkits/datadog/tools/usage.d.ts +7 -0
  114. package/dist/toolkits/datadog/tools/usage.js +25 -0
  115. package/dist/toolkits/datadog/tools/users.d.ts +35 -0
  116. package/dist/toolkits/datadog/tools/users.js +66 -0
  117. package/dist/toolkits/dev-to/icon.d.ts +5 -0
  118. package/dist/toolkits/dev-to/icon.js +10 -0
  119. package/dist/toolkits/dev-to/manifest.d.ts +3 -0
  120. package/dist/toolkits/dev-to/manifest.js +34 -0
  121. package/dist/toolkits/dev-to/tools/articles.d.ts +78 -0
  122. package/dist/toolkits/dev-to/tools/articles.js +262 -0
  123. package/dist/toolkits/dev-to/tools/client.d.ts +25 -0
  124. package/dist/toolkits/dev-to/tools/client.js +65 -0
  125. package/dist/toolkits/dev-to/tools/community.d.ts +61 -0
  126. package/dist/toolkits/dev-to/tools/community.js +244 -0
  127. package/dist/toolkits/dev-to/tools/index.d.ts +202 -0
  128. package/dist/toolkits/dev-to/tools/index.js +37 -0
  129. package/dist/toolkits/dev-to/tools/listings.d.ts +26 -0
  130. package/dist/toolkits/dev-to/tools/listings.js +92 -0
  131. package/dist/toolkits/discord/tools/applications.d.ts +6 -6
  132. package/dist/toolkits/discord/tools/index.d.ts +6 -6
  133. package/dist/toolkits/figma/tools/create-dev-resources.d.ts +1 -1
  134. package/dist/toolkits/figma/tools/create-modify-delete-variables.d.ts +1 -1
  135. package/dist/toolkits/figma/tools/get-activity-logs.d.ts +2 -2
  136. package/dist/toolkits/figma/tools/get-file-json.d.ts +1 -1
  137. package/dist/toolkits/figma/tools/get-file-nodes.d.ts +1 -1
  138. package/dist/toolkits/figma/tools/get-team-component-sets.d.ts +1 -1
  139. package/dist/toolkits/figma/tools/get-team-components.d.ts +1 -1
  140. package/dist/toolkits/figma/tools/get-team-styles.d.ts +1 -1
  141. package/dist/toolkits/figma/tools/get-versions-of-a-file.d.ts +1 -1
  142. package/dist/toolkits/figma/tools/index.d.ts +10 -10
  143. package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
  144. package/dist/toolkits/figma/tools/update-dev-resources.d.ts +1 -1
  145. package/dist/toolkits/github/tools/Checks/create-check-run.d.ts +1 -1
  146. package/dist/toolkits/github/tools/Collaborators/add-collaborator.d.ts +1 -1
  147. package/dist/toolkits/github/tools/Collaborators/check-collaborator.d.ts +1 -1
  148. package/dist/toolkits/github/tools/Collaborators/remove-collaborator.d.ts +1 -1
  149. package/dist/toolkits/github/tools/Dependabot/list-alerts.d.ts +2 -2
  150. package/dist/toolkits/github/tools/Organizations/list-org-repositories.d.ts +1 -1
  151. package/dist/toolkits/github/tools/Organizations/update-organization.d.ts +1 -1
  152. package/dist/toolkits/github/tools/Projects/update-project.d.ts +1 -1
  153. package/dist/toolkits/github/tools/Releases/create-release.d.ts +1 -1
  154. package/dist/toolkits/github/tools/Releases/update-release.d.ts +1 -1
  155. package/dist/toolkits/github/tools/SecurityAdvisories/create-repository-advisory.d.ts +2 -2
  156. package/dist/toolkits/github/tools/SecurityAdvisories/get-repository-advisory.d.ts +1 -1
  157. package/dist/toolkits/github/tools/SecurityAdvisories/list-global-advisories.d.ts +1 -1
  158. package/dist/toolkits/github/tools/SecurityAdvisories/list-repository-advisories.d.ts +1 -1
  159. package/dist/toolkits/github/tools/Teams/update-team.d.ts +1 -1
  160. package/dist/toolkits/github/tools/Users/follow-user.d.ts +1 -1
  161. package/dist/toolkits/github/tools/Users/update-authenticated-user.d.ts +1 -1
  162. package/dist/toolkits/github/tools/Webhooks/create-repo-webhook.d.ts +1 -1
  163. package/dist/toolkits/github/tools/Workflows/list-workflows.d.ts +1 -1
  164. package/dist/toolkits/github/tools/index.d.ts +21 -21
  165. package/dist/toolkits/gitlab/tools/index.d.ts +2 -2
  166. package/dist/toolkits/gitlab/tools/pipelines.d.ts +1 -1
  167. package/dist/toolkits/gitlab/tools/projects.d.ts +1 -1
  168. package/dist/toolkits/gmail/manifest.js +204 -1
  169. package/dist/toolkits/gmail/tools/create-label.d.ts +2 -2
  170. package/dist/toolkits/gmail/tools/index.d.ts +5 -0
  171. package/dist/toolkits/gmail/tools/index.js +5 -0
  172. package/dist/toolkits/gmail/tools/labels-threads.d.ts +47 -0
  173. package/dist/toolkits/gmail/tools/labels-threads.js +110 -0
  174. package/dist/toolkits/gmail/tools/list-drafts.d.ts +1 -1
  175. package/dist/toolkits/gmail/tools/list-threads.d.ts +1 -1
  176. package/dist/toolkits/gmail/tools/mailbox.d.ts +46 -0
  177. package/dist/toolkits/gmail/tools/mailbox.js +142 -0
  178. package/dist/toolkits/gmail/tools/messages-extra.d.ts +34 -0
  179. package/dist/toolkits/gmail/tools/messages-extra.js +176 -0
  180. package/dist/toolkits/gmail/tools/people-extra.d.ts +18 -0
  181. package/dist/toolkits/gmail/tools/people-extra.js +67 -0
  182. package/dist/toolkits/gmail/tools/settings.d.ts +100 -0
  183. package/dist/toolkits/gmail/tools/settings.js +210 -0
  184. package/dist/toolkits/google-analytics/tools/admin.d.ts +3 -3
  185. package/dist/toolkits/google-analytics/tools/custom-definitions.d.ts +2 -2
  186. package/dist/toolkits/google-analytics/tools/reports.d.ts +9 -9
  187. package/dist/toolkits/google-classroom/tools/announcement-addons.d.ts +4 -4
  188. package/dist/toolkits/google-classroom/tools/coursework-addons.d.ts +2 -2
  189. package/dist/toolkits/google-classroom/tools/coursework.d.ts +1 -1
  190. package/dist/toolkits/google-classroom/tools/index.d.ts +14 -14
  191. package/dist/toolkits/google-classroom/tools/invitations.d.ts +2 -2
  192. package/dist/toolkits/google-classroom/tools/materials-addons.d.ts +2 -2
  193. package/dist/toolkits/google-classroom/tools/misc.d.ts +1 -1
  194. package/dist/toolkits/google-classroom/tools/posts-addons.d.ts +1 -1
  195. package/dist/toolkits/google-classroom/tools/roster.d.ts +5 -5
  196. package/dist/toolkits/google-contacts/tools/contacts.d.ts +5 -5
  197. package/dist/toolkits/google-contacts/tools/directory.d.ts +3 -3
  198. package/dist/toolkits/google-contacts/tools/groups.d.ts +1 -1
  199. package/dist/toolkits/google-contacts/tools/index.d.ts +9 -9
  200. package/dist/toolkits/google-drive/tools/index.d.ts +3 -3
  201. package/dist/toolkits/google-drive/tools/search-files.d.ts +1 -1
  202. package/dist/toolkits/google-drive/tools/upload-file.d.ts +2 -2
  203. package/dist/toolkits/google-maps/tools/index.d.ts +4 -4
  204. package/dist/toolkits/google-maps/tools/places.d.ts +4 -4
  205. package/dist/toolkits/google-search-console/tools/index.d.ts +2 -2
  206. package/dist/toolkits/google-search-console/tools/search-analytics-query.d.ts +2 -2
  207. package/dist/toolkits/google-sheets/tools/index.d.ts +1 -1
  208. package/dist/toolkits/google-sheets/tools/list-spreadsheets.d.ts +1 -1
  209. package/dist/toolkits/google-tasks/tools/batch-execute.d.ts +1 -1
  210. package/dist/toolkits/google-tasks/tools/index.d.ts +2 -2
  211. package/dist/toolkits/google-tasks/tools/update-task-full.d.ts +1 -1
  212. package/dist/toolkits/groww/tools/index.d.ts +8 -8
  213. package/dist/toolkits/groww/tools/margin.d.ts +1 -1
  214. package/dist/toolkits/groww/tools/orders.d.ts +2 -2
  215. package/dist/toolkits/groww/tools/smart-orders.d.ts +5 -5
  216. package/dist/toolkits/gumroad/icon.d.ts +5 -0
  217. package/dist/toolkits/gumroad/icon.js +6 -0
  218. package/dist/toolkits/gumroad/manifest.d.ts +3 -0
  219. package/dist/toolkits/gumroad/manifest.js +41 -0
  220. package/dist/toolkits/gumroad/tools/client.d.ts +16 -0
  221. package/dist/toolkits/gumroad/tools/client.js +53 -0
  222. package/dist/toolkits/gumroad/tools/index.d.ts +12 -0
  223. package/dist/toolkits/gumroad/tools/index.js +17 -0
  224. package/dist/toolkits/gumroad/tools/sales.d.ts +34 -0
  225. package/dist/toolkits/gumroad/tools/sales.js +68 -0
  226. package/dist/toolkits/hostinger/tools/hosting.d.ts +2 -2
  227. package/dist/toolkits/hostinger/tools/index.d.ts +4 -4
  228. package/dist/toolkits/hostinger/tools/whois.d.ts +2 -2
  229. package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +1 -1
  230. package/dist/toolkits/hugging-face/tools/datasets.d.ts +2 -2
  231. package/dist/toolkits/hugging-face/tools/index.d.ts +3 -3
  232. package/dist/toolkits/hugging-face/tools/models.d.ts +1 -1
  233. package/dist/toolkits/hugging-face/tools/papers.d.ts +1 -1
  234. package/dist/toolkits/hugging-face/tools/repos.d.ts +1 -1
  235. package/dist/toolkits/hugging-face/tools/spaces.d.ts +1 -1
  236. package/dist/toolkits/jira/tools/boards.d.ts +1 -1
  237. package/dist/toolkits/jira/tools/index.d.ts +8 -8
  238. package/dist/toolkits/jira/tools/meta.d.ts +3 -3
  239. package/dist/toolkits/jira/tools/projects.d.ts +1 -1
  240. package/dist/toolkits/jira/tools/users.d.ts +4 -4
  241. package/dist/toolkits/kaggle/icon.d.ts +5 -0
  242. package/dist/toolkits/kaggle/icon.js +6 -0
  243. package/dist/toolkits/kaggle/manifest.d.ts +3 -0
  244. package/dist/toolkits/kaggle/manifest.js +32 -0
  245. package/dist/toolkits/kaggle/tools/client.d.ts +10 -0
  246. package/dist/toolkits/kaggle/tools/client.js +94 -0
  247. package/dist/toolkits/kaggle/tools/competitions.d.ts +48 -0
  248. package/dist/toolkits/kaggle/tools/competitions.js +109 -0
  249. package/dist/toolkits/kaggle/tools/config.d.ts +110 -0
  250. package/dist/toolkits/kaggle/tools/config.js +256 -0
  251. package/dist/toolkits/kaggle/tools/datasets.d.ts +88 -0
  252. package/dist/toolkits/kaggle/tools/datasets.js +161 -0
  253. package/dist/toolkits/kaggle/tools/index.d.ts +482 -0
  254. package/dist/toolkits/kaggle/tools/index.js +53 -0
  255. package/dist/toolkits/kaggle/tools/kernels.d.ts +62 -0
  256. package/dist/toolkits/kaggle/tools/kernels.js +121 -0
  257. package/dist/toolkits/kaggle/tools/model_instance_files.d.ts +11 -0
  258. package/dist/toolkits/kaggle/tools/model_instance_files.js +23 -0
  259. package/dist/toolkits/kaggle/tools/model_instances.d.ts +8 -0
  260. package/dist/toolkits/kaggle/tools/model_instances.js +20 -0
  261. package/dist/toolkits/kaggle/tools/models.d.ts +14 -0
  262. package/dist/toolkits/kaggle/tools/models.js +33 -0
  263. package/dist/toolkits/nasa/icon.d.ts +5 -0
  264. package/dist/toolkits/nasa/icon.js +56 -0
  265. package/dist/toolkits/nasa/manifest.d.ts +3 -0
  266. package/dist/toolkits/nasa/manifest.js +49 -0
  267. package/dist/toolkits/nasa/tools/agage.d.ts +60 -0
  268. package/dist/toolkits/nasa/tools/agage.js +176 -0
  269. package/dist/toolkits/nasa/tools/client.d.ts +95 -0
  270. package/dist/toolkits/nasa/tools/client.js +337 -0
  271. package/dist/toolkits/nasa/tools/cmr.d.ts +268 -0
  272. package/dist/toolkits/nasa/tools/cmr.js +984 -0
  273. package/dist/toolkits/nasa/tools/donki.d.ts +63 -0
  274. package/dist/toolkits/nasa/tools/donki.js +301 -0
  275. package/dist/toolkits/nasa/tools/eonet.d.ts +74 -0
  276. package/dist/toolkits/nasa/tools/eonet.js +279 -0
  277. package/dist/toolkits/nasa/tools/icesat2.d.ts +25 -0
  278. package/dist/toolkits/nasa/tools/icesat2.js +97 -0
  279. package/dist/toolkits/nasa/tools/imagery.d.ts +36 -0
  280. package/dist/toolkits/nasa/tools/imagery.js +138 -0
  281. package/dist/toolkits/nasa/tools/index.d.ts +1063 -0
  282. package/dist/toolkits/nasa/tools/index.js +865 -0
  283. package/dist/toolkits/nasa/tools/neo.d.ts +15 -0
  284. package/dist/toolkits/nasa/tools/neo.js +75 -0
  285. package/dist/toolkits/nasa/tools/ntrs.d.ts +152 -0
  286. package/dist/toolkits/nasa/tools/ntrs.js +292 -0
  287. package/dist/toolkits/nasa/tools/osdr.d.ts +72 -0
  288. package/dist/toolkits/nasa/tools/osdr.js +290 -0
  289. package/dist/toolkits/nasa/tools/planetary.d.ts +58 -0
  290. package/dist/toolkits/nasa/tools/planetary.js +312 -0
  291. package/dist/toolkits/nasa/tools/power.d.ts +52 -0
  292. package/dist/toolkits/nasa/tools/power.js +213 -0
  293. package/dist/toolkits/nasa/tools/ssc.d.ts +44 -0
  294. package/dist/toolkits/nasa/tools/ssc.js +92 -0
  295. package/dist/toolkits/nasa/tools/tolnet.d.ts +84 -0
  296. package/dist/toolkits/nasa/tools/tolnet.js +254 -0
  297. package/dist/toolkits/neo4j/tools/analytics.d.ts +1 -1
  298. package/dist/toolkits/neo4j/tools/index.d.ts +3 -3
  299. package/dist/toolkits/neo4j/tools/instances.d.ts +2 -2
  300. package/dist/toolkits/neon/tools/auth.d.ts +5 -5
  301. package/dist/toolkits/neon/tools/dataapi.d.ts +1 -1
  302. package/dist/toolkits/neon/tools/index.d.ts +8 -8
  303. package/dist/toolkits/neon/tools/projects.d.ts +2 -2
  304. package/dist/toolkits/new-relic/icon.d.ts +5 -0
  305. package/dist/toolkits/new-relic/icon.js +6 -0
  306. package/dist/toolkits/new-relic/manifest.d.ts +3 -0
  307. package/dist/toolkits/new-relic/manifest.js +41 -0
  308. package/dist/toolkits/new-relic/tools/admin.d.ts +310 -0
  309. package/dist/toolkits/new-relic/tools/admin.js +282 -0
  310. package/dist/toolkits/new-relic/tools/alert-policies.d.ts +74 -0
  311. package/dist/toolkits/new-relic/tools/alert-policies.js +136 -0
  312. package/dist/toolkits/new-relic/tools/apm.d.ts +129 -0
  313. package/dist/toolkits/new-relic/tools/apm.js +228 -0
  314. package/dist/toolkits/new-relic/tools/client.d.ts +62 -0
  315. package/dist/toolkits/new-relic/tools/client.js +167 -0
  316. package/dist/toolkits/new-relic/tools/conditions.d.ts +190 -0
  317. package/dist/toolkits/new-relic/tools/conditions.js +265 -0
  318. package/dist/toolkits/new-relic/tools/config.d.ts +73 -0
  319. package/dist/toolkits/new-relic/tools/config.js +131 -0
  320. package/dist/toolkits/new-relic/tools/dashboards.d.ts +204 -0
  321. package/dist/toolkits/new-relic/tools/dashboards.js +159 -0
  322. package/dist/toolkits/new-relic/tools/entities.d.ts +160 -0
  323. package/dist/toolkits/new-relic/tools/entities.js +218 -0
  324. package/dist/toolkits/new-relic/tools/index.d.ts +23 -0
  325. package/dist/toolkits/new-relic/tools/index.js +179 -0
  326. package/dist/toolkits/new-relic/tools/ingest.d.ts +31 -0
  327. package/dist/toolkits/new-relic/tools/ingest.js +80 -0
  328. package/dist/toolkits/new-relic/tools/notifications.d.ts +186 -0
  329. package/dist/toolkits/new-relic/tools/notifications.js +232 -0
  330. package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +105 -0
  331. package/dist/toolkits/new-relic/tools/nrql-conditions.js +136 -0
  332. package/dist/toolkits/new-relic/tools/nrql.d.ts +38 -0
  333. package/dist/toolkits/new-relic/tools/nrql.js +99 -0
  334. package/dist/toolkits/new-relic/tools/synthetics.d.ts +176 -0
  335. package/dist/toolkits/new-relic/tools/synthetics.js +246 -0
  336. package/dist/toolkits/notebook-lm/icon.d.ts +5 -0
  337. package/dist/toolkits/notebook-lm/icon.js +6 -0
  338. package/dist/toolkits/notebook-lm/manifest.d.ts +3 -0
  339. package/dist/toolkits/notebook-lm/manifest.js +44 -0
  340. package/dist/toolkits/notebook-lm/tools/add-text-sources.d.ts +36 -0
  341. package/dist/toolkits/notebook-lm/tools/add-text-sources.js +51 -0
  342. package/dist/toolkits/notebook-lm/tools/create-audio-overview.d.ts +47 -0
  343. package/dist/toolkits/notebook-lm/tools/create-audio-overview.js +55 -0
  344. package/dist/toolkits/notebook-lm/tools/create-notebook.d.ts +52 -0
  345. package/dist/toolkits/notebook-lm/tools/create-notebook.js +49 -0
  346. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.d.ts +33 -0
  347. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.js +46 -0
  348. package/dist/toolkits/notebook-lm/tools/delete-notebooks.d.ts +32 -0
  349. package/dist/toolkits/notebook-lm/tools/delete-notebooks.js +46 -0
  350. package/dist/toolkits/notebook-lm/tools/delete-sources.d.ts +33 -0
  351. package/dist/toolkits/notebook-lm/tools/delete-sources.js +47 -0
  352. package/dist/toolkits/notebook-lm/tools/get-notebook.d.ts +52 -0
  353. package/dist/toolkits/notebook-lm/tools/get-notebook.js +45 -0
  354. package/dist/toolkits/notebook-lm/tools/get-source.d.ts +53 -0
  355. package/dist/toolkits/notebook-lm/tools/get-source.js +47 -0
  356. package/dist/toolkits/notebook-lm/tools/index.d.ts +516 -0
  357. package/dist/toolkits/notebook-lm/tools/index.js +93 -0
  358. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +32 -0
  359. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.js +41 -0
  360. package/dist/toolkits/notebook-lm/tools/share-notebook.d.ts +48 -0
  361. package/dist/toolkits/notebook-lm/tools/share-notebook.js +57 -0
  362. package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +40 -0
  363. package/dist/toolkits/notebook-lm/tools/upload-source-file.js +62 -0
  364. package/dist/toolkits/notebook-lm/tools/utils.d.ts +15 -0
  365. package/dist/toolkits/notebook-lm/tools/utils.js +46 -0
  366. package/dist/toolkits/npm/icon.d.ts +5 -0
  367. package/dist/toolkits/npm/icon.js +11 -0
  368. package/dist/toolkits/npm/manifest.d.ts +3 -0
  369. package/dist/toolkits/npm/manifest.js +35 -0
  370. package/dist/toolkits/npm/tools/client.d.ts +19 -0
  371. package/dist/toolkits/npm/tools/client.js +64 -0
  372. package/dist/toolkits/npm/tools/downloads.d.ts +19 -0
  373. package/dist/toolkits/npm/tools/downloads.js +39 -0
  374. package/dist/toolkits/npm/tools/index.d.ts +14 -0
  375. package/dist/toolkits/npm/tools/index.js +24 -0
  376. package/dist/toolkits/npm/tools/registry.d.ts +24 -0
  377. package/dist/toolkits/npm/tools/registry.js +58 -0
  378. package/dist/toolkits/npm/tools/security.d.ts +9 -0
  379. package/dist/toolkits/npm/tools/security.js +29 -0
  380. package/dist/toolkits/postman/icon.d.ts +5 -0
  381. package/dist/toolkits/postman/icon.js +14 -0
  382. package/dist/toolkits/postman/manifest.d.ts +3 -0
  383. package/dist/toolkits/postman/manifest.js +35 -0
  384. package/dist/toolkits/postman/tools/client.d.ts +23 -0
  385. package/dist/toolkits/postman/tools/client.js +59 -0
  386. package/dist/toolkits/postman/tools/collections.d.ts +93 -0
  387. package/dist/toolkits/postman/tools/collections.js +358 -0
  388. package/dist/toolkits/postman/tools/comments.d.ts +113 -0
  389. package/dist/toolkits/postman/tools/comments.js +387 -0
  390. package/dist/toolkits/postman/tools/designs_and_apis.d.ts +106 -0
  391. package/dist/toolkits/postman/tools/designs_and_apis.js +385 -0
  392. package/dist/toolkits/postman/tools/environments.d.ts +63 -0
  393. package/dist/toolkits/postman/tools/environments.js +208 -0
  394. package/dist/toolkits/postman/tools/index.d.ts +1204 -0
  395. package/dist/toolkits/postman/tools/index.js +143 -0
  396. package/dist/toolkits/postman/tools/items.d.ts +90 -0
  397. package/dist/toolkits/postman/tools/items.js +286 -0
  398. package/dist/toolkits/postman/tools/mocks_and_tests.d.ts +100 -0
  399. package/dist/toolkits/postman/tools/mocks_and_tests.js +363 -0
  400. package/dist/toolkits/postman/tools/pull_requests.d.ts +26 -0
  401. package/dist/toolkits/postman/tools/pull_requests.js +108 -0
  402. package/dist/toolkits/postman/tools/scim_users_teams.d.ts +31 -0
  403. package/dist/toolkits/postman/tools/scim_users_teams.js +156 -0
  404. package/dist/toolkits/postman/tools/specs.d.ts +100 -0
  405. package/dist/toolkits/postman/tools/specs.js +380 -0
  406. package/dist/toolkits/postman/tools/webhooks.d.ts +8 -0
  407. package/dist/toolkits/postman/tools/webhooks.js +40 -0
  408. package/dist/toolkits/postman/tools/workspaces.d.ts +50 -0
  409. package/dist/toolkits/postman/tools/workspaces.js +198 -0
  410. package/dist/toolkits/prometheus/icon.d.ts +5 -0
  411. package/dist/toolkits/prometheus/icon.js +52 -0
  412. package/dist/toolkits/prometheus/manifest.d.ts +3 -0
  413. package/dist/toolkits/prometheus/manifest.js +32 -0
  414. package/dist/toolkits/prometheus/tools/admin.d.ts +19 -0
  415. package/dist/toolkits/prometheus/tools/admin.js +90 -0
  416. package/dist/toolkits/prometheus/tools/client.d.ts +22 -0
  417. package/dist/toolkits/prometheus/tools/client.js +91 -0
  418. package/dist/toolkits/prometheus/tools/discovery.d.ts +82 -0
  419. package/dist/toolkits/prometheus/tools/discovery.js +182 -0
  420. package/dist/toolkits/prometheus/tools/index.d.ts +16 -0
  421. package/dist/toolkits/prometheus/tools/index.js +51 -0
  422. package/dist/toolkits/prometheus/tools/query.d.ts +33 -0
  423. package/dist/toolkits/prometheus/tools/query.js +101 -0
  424. package/dist/toolkits/prometheus/tools/status.d.ts +66 -0
  425. package/dist/toolkits/prometheus/tools/status.js +248 -0
  426. package/dist/toolkits/prometheus/tools/targets.d.ts +31 -0
  427. package/dist/toolkits/prometheus/tools/targets.js +117 -0
  428. package/dist/toolkits/razorpay/icon.d.ts +5 -0
  429. package/dist/toolkits/razorpay/icon.js +33 -0
  430. package/dist/toolkits/razorpay/manifest.d.ts +3 -0
  431. package/dist/toolkits/razorpay/manifest.js +32 -0
  432. package/dist/toolkits/razorpay/tools/client.d.ts +24 -0
  433. package/dist/toolkits/razorpay/tools/client.js +73 -0
  434. package/dist/toolkits/razorpay/tools/customers.d.ts +29 -0
  435. package/dist/toolkits/razorpay/tools/customers.js +53 -0
  436. package/dist/toolkits/razorpay/tools/index.d.ts +16 -0
  437. package/dist/toolkits/razorpay/tools/index.js +56 -0
  438. package/dist/toolkits/razorpay/tools/invoices.d.ts +169 -0
  439. package/dist/toolkits/razorpay/tools/invoices.js +143 -0
  440. package/dist/toolkits/razorpay/tools/items-links.d.ts +98 -0
  441. package/dist/toolkits/razorpay/tools/items-links.js +131 -0
  442. package/dist/toolkits/razorpay/tools/orders.d.ts +63 -0
  443. package/dist/toolkits/razorpay/tools/orders.js +99 -0
  444. package/dist/toolkits/razorpay/tools/payouts.d.ts +58 -0
  445. package/dist/toolkits/razorpay/tools/payouts.js +91 -0
  446. package/dist/toolkits/servicenow/icon.d.ts +5 -0
  447. package/dist/toolkits/servicenow/icon.js +6 -0
  448. package/dist/toolkits/servicenow/manifest.d.ts +3 -0
  449. package/dist/toolkits/servicenow/manifest.js +33 -0
  450. package/dist/toolkits/servicenow/tools/attachments.d.ts +35 -0
  451. package/dist/toolkits/servicenow/tools/attachments.js +120 -0
  452. package/dist/toolkits/servicenow/tools/catalog.d.ts +122 -0
  453. package/dist/toolkits/servicenow/tools/catalog.js +333 -0
  454. package/dist/toolkits/servicenow/tools/changes.d.ts +374 -0
  455. package/dist/toolkits/servicenow/tools/changes.js +609 -0
  456. package/dist/toolkits/servicenow/tools/cicd.d.ts +109 -0
  457. package/dist/toolkits/servicenow/tools/cicd.js +316 -0
  458. package/dist/toolkits/servicenow/tools/client.d.ts +42 -0
  459. package/dist/toolkits/servicenow/tools/client.js +168 -0
  460. package/dist/toolkits/servicenow/tools/cmdb.d.ts +224 -0
  461. package/dist/toolkits/servicenow/tools/cmdb.js +460 -0
  462. package/dist/toolkits/servicenow/tools/imports.d.ts +13 -0
  463. package/dist/toolkits/servicenow/tools/imports.js +36 -0
  464. package/dist/toolkits/servicenow/tools/incidents.d.ts +94 -0
  465. package/dist/toolkits/servicenow/tools/incidents.js +226 -0
  466. package/dist/toolkits/servicenow/tools/index.d.ts +1566 -0
  467. package/dist/toolkits/servicenow/tools/index.js +169 -0
  468. package/dist/toolkits/servicenow/tools/platform.d.ts +124 -0
  469. package/dist/toolkits/servicenow/tools/platform.js +298 -0
  470. package/dist/toolkits/servicenow/tools/records.d.ts +73 -0
  471. package/dist/toolkits/servicenow/tools/records.js +185 -0
  472. package/dist/toolkits/servicenow/tools/sdon.d.ts +48 -0
  473. package/dist/toolkits/servicenow/tools/sdon.js +81 -0
  474. package/dist/toolkits/slack/tools/admin-conversations.d.ts +2 -2
  475. package/dist/toolkits/slack/tools/admin-users.d.ts +1 -1
  476. package/dist/toolkits/slack/tools/emoji.d.ts +1 -1
  477. package/dist/toolkits/slack/tools/messages.d.ts +2 -2
  478. package/dist/toolkits/slack/tools/reactions-stars-pins.d.ts +2 -2
  479. package/dist/toolkits/slack/tools/search.d.ts +3 -3
  480. package/dist/toolkits/slack/tools/slack-lists.d.ts +3 -3
  481. package/dist/toolkits/slack/tools/users.d.ts +1 -1
  482. package/dist/toolkits/snowflake/icon.d.ts +5 -0
  483. package/dist/toolkits/snowflake/icon.js +6 -0
  484. package/dist/toolkits/snowflake/manifest.d.ts +3 -0
  485. package/dist/toolkits/snowflake/manifest.js +32 -0
  486. package/dist/toolkits/snowflake/tools/catalog.d.ts +56 -0
  487. package/dist/toolkits/snowflake/tools/catalog.js +123 -0
  488. package/dist/toolkits/snowflake/tools/client.d.ts +53 -0
  489. package/dist/toolkits/snowflake/tools/client.js +145 -0
  490. package/dist/toolkits/snowflake/tools/index.d.ts +14 -0
  491. package/dist/toolkits/snowflake/tools/index.js +28 -0
  492. package/dist/toolkits/snowflake/tools/statements.d.ts +27 -0
  493. package/dist/toolkits/snowflake/tools/statements.js +84 -0
  494. package/dist/toolkits/snowflake/tools/status.d.ts +22 -0
  495. package/dist/toolkits/snowflake/tools/status.js +54 -0
  496. package/dist/toolkits/telegram/icon.d.ts +5 -0
  497. package/dist/toolkits/telegram/icon.js +6 -0
  498. package/dist/toolkits/telegram/manifest.d.ts +3 -0
  499. package/dist/toolkits/telegram/manifest.js +34 -0
  500. package/dist/toolkits/telegram/tools/bot.d.ts +13 -0
  501. package/dist/toolkits/telegram/tools/bot.js +23 -0
  502. package/dist/toolkits/telegram/tools/chats.d.ts +22 -0
  503. package/dist/toolkits/telegram/tools/chats.js +46 -0
  504. package/dist/toolkits/telegram/tools/client.d.ts +12 -0
  505. package/dist/toolkits/telegram/tools/client.js +46 -0
  506. package/dist/toolkits/telegram/tools/index.d.ts +15 -0
  507. package/dist/toolkits/telegram/tools/index.js +31 -0
  508. package/dist/toolkits/telegram/tools/messages.d.ts +86 -0
  509. package/dist/toolkits/telegram/tools/messages.js +134 -0
  510. package/dist/toolkits/telegram/tools/updates.d.ts +23 -0
  511. package/dist/toolkits/telegram/tools/updates.js +54 -0
  512. package/dist/toolkits/vercel/icon.d.ts +5 -0
  513. package/dist/toolkits/vercel/icon.js +6 -0
  514. package/dist/toolkits/vercel/manifest.d.ts +3 -0
  515. package/dist/toolkits/vercel/manifest.js +35 -0
  516. package/dist/toolkits/vercel/tools/aliases.d.ts +47 -0
  517. package/dist/toolkits/vercel/tools/aliases.js +141 -0
  518. package/dist/toolkits/vercel/tools/auth.d.ts +23 -0
  519. package/dist/toolkits/vercel/tools/auth.js +117 -0
  520. package/dist/toolkits/vercel/tools/cache-artifacts.d.ts +57 -0
  521. package/dist/toolkits/vercel/tools/cache-artifacts.js +205 -0
  522. package/dist/toolkits/vercel/tools/certs.d.ts +9 -0
  523. package/dist/toolkits/vercel/tools/certs.js +31 -0
  524. package/dist/toolkits/vercel/tools/client.d.ts +17 -0
  525. package/dist/toolkits/vercel/tools/client.js +53 -0
  526. package/dist/toolkits/vercel/tools/deployments.d.ts +169 -0
  527. package/dist/toolkits/vercel/tools/deployments.js +443 -0
  528. package/dist/toolkits/vercel/tools/domains.d.ts +229 -0
  529. package/dist/toolkits/vercel/tools/domains.js +719 -0
  530. package/dist/toolkits/vercel/tools/edge-config.d.ts +110 -0
  531. package/dist/toolkits/vercel/tools/edge-config.js +402 -0
  532. package/dist/toolkits/vercel/tools/environment-variables.d.ts +137 -0
  533. package/dist/toolkits/vercel/tools/environment-variables.js +411 -0
  534. package/dist/toolkits/vercel/tools/firewall.d.ts +57 -0
  535. package/dist/toolkits/vercel/tools/firewall.js +187 -0
  536. package/dist/toolkits/vercel/tools/index.d.ts +1944 -0
  537. package/dist/toolkits/vercel/tools/index.js +312 -0
  538. package/dist/toolkits/vercel/tools/logs.d.ts +35 -0
  539. package/dist/toolkits/vercel/tools/logs.js +129 -0
  540. package/dist/toolkits/vercel/tools/misc.d.ts +140 -0
  541. package/dist/toolkits/vercel/tools/misc.js +486 -0
  542. package/dist/toolkits/vercel/tools/projects.d.ts +194 -0
  543. package/dist/toolkits/vercel/tools/projects.js +468 -0
  544. package/dist/toolkits/vercel/tools/teams.d.ts +50 -0
  545. package/dist/toolkits/vercel/tools/teams.js +144 -0
  546. package/dist/toolkits/vercel/tools/webhooks.d.ts +27 -0
  547. package/dist/toolkits/vercel/tools/webhooks.js +103 -0
  548. package/dist/toolkits/wise/icon.d.ts +5 -0
  549. package/dist/toolkits/wise/icon.js +15 -0
  550. package/dist/toolkits/wise/manifest.d.ts +3 -0
  551. package/dist/toolkits/wise/manifest.js +30 -0
  552. package/dist/toolkits/wise/tools/create-quote.d.ts +86 -0
  553. package/dist/toolkits/wise/tools/create-quote.js +64 -0
  554. package/dist/toolkits/wise/tools/get-exchange-rate.d.ts +42 -0
  555. package/dist/toolkits/wise/tools/get-exchange-rate.js +44 -0
  556. package/dist/toolkits/wise/tools/get-quote.d.ts +82 -0
  557. package/dist/toolkits/wise/tools/get-quote.js +46 -0
  558. package/dist/toolkits/wise/tools/index.d.ts +475 -0
  559. package/dist/toolkits/wise/tools/index.js +77 -0
  560. package/dist/toolkits/wise/tools/list-activities.d.ts +43 -0
  561. package/dist/toolkits/wise/tools/list-activities.js +49 -0
  562. package/dist/toolkits/wise/tools/list-balances.d.ts +30 -0
  563. package/dist/toolkits/wise/tools/list-balances.js +34 -0
  564. package/dist/toolkits/wise/tools/list-currencies.d.ts +29 -0
  565. package/dist/toolkits/wise/tools/list-currencies.js +31 -0
  566. package/dist/toolkits/wise/tools/list-profiles.d.ts +28 -0
  567. package/dist/toolkits/wise/tools/list-profiles.js +29 -0
  568. package/dist/toolkits/wise/tools/list-recipients.d.ts +43 -0
  569. package/dist/toolkits/wise/tools/list-recipients.js +54 -0
  570. package/dist/toolkits/wise/tools/list-transfers.d.ts +44 -0
  571. package/dist/toolkits/wise/tools/list-transfers.js +52 -0
  572. package/dist/toolkits/wise/tools/utils.d.ts +18 -0
  573. package/dist/toolkits/wise/tools/utils.js +39 -0
  574. package/dist/toolkits/wordpress/icon.d.ts +5 -0
  575. package/dist/toolkits/wordpress/icon.js +6 -0
  576. package/dist/toolkits/wordpress/manifest.d.ts +3 -0
  577. package/dist/toolkits/wordpress/manifest.js +36 -0
  578. package/dist/toolkits/wordpress/tools/create-draft-post.d.ts +47 -0
  579. package/dist/toolkits/wordpress/tools/create-draft-post.js +68 -0
  580. package/dist/toolkits/wordpress/tools/delete-draft-post.d.ts +38 -0
  581. package/dist/toolkits/wordpress/tools/delete-draft-post.js +51 -0
  582. package/dist/toolkits/wordpress/tools/get-post.d.ts +41 -0
  583. package/dist/toolkits/wordpress/tools/get-post.js +48 -0
  584. package/dist/toolkits/wordpress/tools/get-site-overview.d.ts +67 -0
  585. package/dist/toolkits/wordpress/tools/get-site-overview.js +91 -0
  586. package/dist/toolkits/wordpress/tools/index.d.ts +489 -0
  587. package/dist/toolkits/wordpress/tools/index.js +85 -0
  588. package/dist/toolkits/wordpress/tools/list-blogging-prompts.d.ts +48 -0
  589. package/dist/toolkits/wordpress/tools/list-blogging-prompts.js +55 -0
  590. package/dist/toolkits/wordpress/tools/list-cms-resources.d.ts +45 -0
  591. package/dist/toolkits/wordpress/tools/list-cms-resources.js +77 -0
  592. package/dist/toolkits/wordpress/tools/list-content.d.ts +49 -0
  593. package/dist/toolkits/wordpress/tools/list-content.js +71 -0
  594. package/dist/toolkits/wordpress/tools/list-reader-subscriptions.d.ts +24 -0
  595. package/dist/toolkits/wordpress/tools/list-reader-subscriptions.js +39 -0
  596. package/dist/toolkits/wordpress/tools/list-sites.d.ts +26 -0
  597. package/dist/toolkits/wordpress/tools/list-sites.js +69 -0
  598. package/dist/toolkits/wordpress/tools/update-draft-post.d.ts +51 -0
  599. package/dist/toolkits/wordpress/tools/update-draft-post.js +93 -0
  600. package/dist/toolkits/wordpress/tools/utils.d.ts +18 -0
  601. package/dist/toolkits/wordpress/tools/utils.js +33 -0
  602. package/dist/toolkits/youtube/tools/get-channel-activities.d.ts +1 -1
  603. package/dist/toolkits/youtube/tools/index.d.ts +5 -5
  604. package/dist/toolkits/youtube/tools/list-channel-sections.d.ts +1 -1
  605. package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
  606. package/dist/toolkits/youtube/tools/subscribe-channel.d.ts +1 -1
  607. package/dist/toolkits/youtube/tools/unsubscribe-channel.d.ts +1 -1
  608. package/dist/toolkits/zoho/icon.d.ts +5 -0
  609. package/dist/toolkits/zoho/icon.js +125 -0
  610. package/dist/toolkits/zoho/manifest.d.ts +3 -0
  611. package/dist/toolkits/zoho/manifest.js +54 -0
  612. package/dist/toolkits/zoho/tools/convert-zoho-lead.d.ts +11 -0
  613. package/dist/toolkits/zoho/tools/convert-zoho-lead.js +47 -0
  614. package/dist/toolkits/zoho/tools/create-contact.d.ts +36 -0
  615. package/dist/toolkits/zoho/tools/create-contact.js +58 -0
  616. package/dist/toolkits/zoho/tools/create-deal.d.ts +17 -0
  617. package/dist/toolkits/zoho/tools/create-deal.js +39 -0
  618. package/dist/toolkits/zoho/tools/create-email-draft.d.ts +7 -0
  619. package/dist/toolkits/zoho/tools/create-email-draft.js +30 -0
  620. package/dist/toolkits/zoho/tools/create-event.d.ts +18 -0
  621. package/dist/toolkits/zoho/tools/create-event.js +40 -0
  622. package/dist/toolkits/zoho/tools/create-lead.d.ts +31 -0
  623. package/dist/toolkits/zoho/tools/create-lead.js +53 -0
  624. package/dist/toolkits/zoho/tools/create-note.d.ts +8 -0
  625. package/dist/toolkits/zoho/tools/create-note.js +31 -0
  626. package/dist/toolkits/zoho/tools/create-zoho-record.d.ts +8 -0
  627. package/dist/toolkits/zoho/tools/create-zoho-record.js +35 -0
  628. package/dist/toolkits/zoho/tools/create-zoho-tag.d.ts +7 -0
  629. package/dist/toolkits/zoho/tools/create-zoho-tag.js +30 -0
  630. package/dist/toolkits/zoho/tools/delete-account.d.ts +6 -0
  631. package/dist/toolkits/zoho/tools/delete-account.js +29 -0
  632. package/dist/toolkits/zoho/tools/delete-contact.d.ts +6 -0
  633. package/dist/toolkits/zoho/tools/delete-contact.js +29 -0
  634. package/dist/toolkits/zoho/tools/delete-deal.d.ts +6 -0
  635. package/dist/toolkits/zoho/tools/delete-deal.js +29 -0
  636. package/dist/toolkits/zoho/tools/get-account.d.ts +6 -0
  637. package/dist/toolkits/zoho/tools/get-account.js +34 -0
  638. package/dist/toolkits/zoho/tools/get-call.d.ts +6 -0
  639. package/dist/toolkits/zoho/tools/get-call.js +34 -0
  640. package/dist/toolkits/zoho/tools/get-contact.d.ts +5 -0
  641. package/dist/toolkits/zoho/tools/get-contact.js +33 -0
  642. package/dist/toolkits/zoho/tools/get-email-drafts.d.ts +6 -0
  643. package/dist/toolkits/zoho/tools/get-email-drafts.js +34 -0
  644. package/dist/toolkits/zoho/tools/get-event.d.ts +5 -0
  645. package/dist/toolkits/zoho/tools/get-event.js +33 -0
  646. package/dist/toolkits/zoho/tools/get-from-addresses.d.ts +4 -0
  647. package/dist/toolkits/zoho/tools/get-from-addresses.js +32 -0
  648. package/dist/toolkits/zoho/tools/get-module-fields.d.ts +8 -0
  649. package/dist/toolkits/zoho/tools/get-module-fields.js +36 -0
  650. package/dist/toolkits/zoho/tools/get-note.d.ts +6 -0
  651. package/dist/toolkits/zoho/tools/get-note.js +34 -0
  652. package/dist/toolkits/zoho/tools/get-record-emails.d.ts +9 -0
  653. package/dist/toolkits/zoho/tools/get-record-emails.js +37 -0
  654. package/dist/toolkits/zoho/tools/get-related-lists.d.ts +6 -0
  655. package/dist/toolkits/zoho/tools/get-related-lists.js +29 -0
  656. package/dist/toolkits/zoho/tools/get-related-records.d.ts +15 -0
  657. package/dist/toolkits/zoho/tools/get-related-records.js +38 -0
  658. package/dist/toolkits/zoho/tools/get-task.d.ts +6 -0
  659. package/dist/toolkits/zoho/tools/get-task.js +34 -0
  660. package/dist/toolkits/zoho/tools/get-user.d.ts +5 -0
  661. package/dist/toolkits/zoho/tools/get-user.js +33 -0
  662. package/dist/toolkits/zoho/tools/get-zoho-records.d.ts +13 -0
  663. package/dist/toolkits/zoho/tools/get-zoho-records.js +59 -0
  664. package/dist/toolkits/zoho/tools/get-zoho-users.d.ts +9 -0
  665. package/dist/toolkits/zoho/tools/get-zoho-users.js +32 -0
  666. package/dist/toolkits/zoho/tools/index.d.ts +789 -0
  667. package/dist/toolkits/zoho/tools/index.js +175 -0
  668. package/dist/toolkits/zoho/tools/list-accounts.d.ts +14 -0
  669. package/dist/toolkits/zoho/tools/list-accounts.js +60 -0
  670. package/dist/toolkits/zoho/tools/list-calls.d.ts +12 -0
  671. package/dist/toolkits/zoho/tools/list-calls.js +58 -0
  672. package/dist/toolkits/zoho/tools/list-contacts.d.ts +12 -0
  673. package/dist/toolkits/zoho/tools/list-contacts.js +58 -0
  674. package/dist/toolkits/zoho/tools/list-deals.d.ts +15 -0
  675. package/dist/toolkits/zoho/tools/list-deals.js +61 -0
  676. package/dist/toolkits/zoho/tools/list-events.d.ts +12 -0
  677. package/dist/toolkits/zoho/tools/list-events.js +58 -0
  678. package/dist/toolkits/zoho/tools/list-leads.d.ts +13 -0
  679. package/dist/toolkits/zoho/tools/list-leads.js +59 -0
  680. package/dist/toolkits/zoho/tools/list-modules.d.ts +4 -0
  681. package/dist/toolkits/zoho/tools/list-modules.js +50 -0
  682. package/dist/toolkits/zoho/tools/list-notes.d.ts +7 -0
  683. package/dist/toolkits/zoho/tools/list-notes.js +53 -0
  684. package/dist/toolkits/zoho/tools/list-record-attachments.d.ts +9 -0
  685. package/dist/toolkits/zoho/tools/list-record-attachments.js +55 -0
  686. package/dist/toolkits/zoho/tools/list-tasks.d.ts +12 -0
  687. package/dist/toolkits/zoho/tools/list-tasks.js +58 -0
  688. package/dist/toolkits/zoho/tools/search-accounts.d.ts +11 -0
  689. package/dist/toolkits/zoho/tools/search-accounts.js +49 -0
  690. package/dist/toolkits/zoho/tools/search-calls.d.ts +11 -0
  691. package/dist/toolkits/zoho/tools/search-calls.js +49 -0
  692. package/dist/toolkits/zoho/tools/search-contacts.d.ts +11 -0
  693. package/dist/toolkits/zoho/tools/search-contacts.js +49 -0
  694. package/dist/toolkits/zoho/tools/search-deals.d.ts +11 -0
  695. package/dist/toolkits/zoho/tools/search-deals.js +49 -0
  696. package/dist/toolkits/zoho/tools/search-events.d.ts +11 -0
  697. package/dist/toolkits/zoho/tools/search-events.js +49 -0
  698. package/dist/toolkits/zoho/tools/search-leads.d.ts +13 -0
  699. package/dist/toolkits/zoho/tools/search-leads.js +51 -0
  700. package/dist/toolkits/zoho/tools/search-notes.d.ts +11 -0
  701. package/dist/toolkits/zoho/tools/search-notes.js +49 -0
  702. package/dist/toolkits/zoho/tools/search-tasks.d.ts +11 -0
  703. package/dist/toolkits/zoho/tools/search-tasks.js +49 -0
  704. package/dist/toolkits/zoho/tools/search-zoho-records.d.ts +12 -0
  705. package/dist/toolkits/zoho/tools/search-zoho-records.js +50 -0
  706. package/dist/toolkits/zoho/tools/update-account.d.ts +32 -0
  707. package/dist/toolkits/zoho/tools/update-account.js +55 -0
  708. package/dist/toolkits/zoho/tools/update-call.d.ts +8 -0
  709. package/dist/toolkits/zoho/tools/update-call.js +33 -0
  710. package/dist/toolkits/zoho/tools/update-deal.d.ts +9 -0
  711. package/dist/toolkits/zoho/tools/update-deal.js +34 -0
  712. package/dist/toolkits/zoho/tools/update-email-draft.d.ts +17 -0
  713. package/dist/toolkits/zoho/tools/update-email-draft.js +42 -0
  714. package/dist/toolkits/zoho/tools/update-event.d.ts +6 -0
  715. package/dist/toolkits/zoho/tools/update-event.js +31 -0
  716. package/dist/toolkits/zoho/tools/update-lead.d.ts +9 -0
  717. package/dist/toolkits/zoho/tools/update-lead.js +34 -0
  718. package/dist/toolkits/zoho/tools/update-note.d.ts +8 -0
  719. package/dist/toolkits/zoho/tools/update-note.js +33 -0
  720. package/dist/toolkits/zoho/tools/update-related-records.d.ts +8 -0
  721. package/dist/toolkits/zoho/tools/update-related-records.js +33 -0
  722. package/dist/toolkits/zoho/tools/update-zoho-record.d.ts +10 -0
  723. package/dist/toolkits/zoho/tools/update-zoho-record.js +35 -0
  724. package/dist/toolkits/zoho/tools/upload-attachment.d.ts +9 -0
  725. package/dist/toolkits/zoho/tools/upload-attachment.js +34 -0
  726. package/dist/toolkits/zoho/tools/utils.d.ts +24 -0
  727. package/dist/toolkits/zoho/tools/utils.js +49 -0
  728. package/dist/toolkits/zoho/tools/validate-credential.d.ts +4 -0
  729. package/dist/toolkits/zoho/tools/validate-credential.js +27 -0
  730. package/package.json +2 -3
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ export declare const sendEvents: import("ai").Tool<{
3
+ events: Record<string, any>[];
4
+ accountId: string;
5
+ insertKey: string;
6
+ }, any>;
7
+ export declare const sendTraces: import("ai").Tool<{
8
+ ingestKey: string;
9
+ traces: {
10
+ spans: {
11
+ id: string;
12
+ attributes: {
13
+ 'duration.ms': number;
14
+ name?: string | undefined;
15
+ 'parent.id'?: string | null | undefined;
16
+ 'service.name'?: string | undefined;
17
+ } & {
18
+ [k: string]: any;
19
+ };
20
+ 'trace.id': string;
21
+ timestamp?: number | undefined;
22
+ }[];
23
+ common?: z.objectOutputType<{
24
+ 'service.name': z.ZodOptional<z.ZodString>;
25
+ host: z.ZodOptional<z.ZodString>;
26
+ }, z.ZodAny, "strip"> | undefined;
27
+ }[];
28
+ dataFormat?: "newrelic" | undefined;
29
+ dataFormatVersion?: string | undefined;
30
+ }, any>;
31
+ //# sourceMappingURL=ingest.d.ts.map
@@ -0,0 +1,80 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { EVENTS_API_BASE, TRACE_API_BASE } from './client.js';
5
+ export const sendEvents = tool({
6
+ description: 'Sends custom events (business metrics, app events) for NRQL querying/charting. Each event needs eventType. Uses an Insights insert key (not the user key).',
7
+ inputSchema: z.object({
8
+ accountId: z.string().describe('Account ID receiving the events'),
9
+ insertKey: z.string().describe('Insights insert API key (X-Insert-Key) — differs from the user API key'),
10
+ events: z.array(z.record(z.any())).min(1).describe("Events with eventType + attributes, e.g. [{eventType:'Purchase',amount:99.99,userId:'user123'}]"),
11
+ }),
12
+ execute: async ({ accountId, insertKey, events }) => {
13
+ try {
14
+ if (!insertKey)
15
+ return { error: 'New Relic insert key is required. Provide insertKey.' };
16
+ const response = await fetch(`${EVENTS_API_BASE}/accounts/${accountId}/events`, {
17
+ method: 'POST',
18
+ headers: { 'Content-Type': 'application/json', 'X-Insert-Key': insertKey },
19
+ body: JSON.stringify(events),
20
+ });
21
+ const data = await response.json().catch(() => ({}));
22
+ if (!response.ok)
23
+ return { error: 'Failed to send events', details: data };
24
+ return data;
25
+ }
26
+ catch (error) {
27
+ return { error: 'Error sending events', message: error instanceof Error ? error.message : 'Unknown error' };
28
+ }
29
+ },
30
+ });
31
+ const spanSchema = z.object({
32
+ id: z.string().describe('Unique span ID'),
33
+ 'trace.id': z.string().describe('Trace ID shared by all spans in the trace'),
34
+ timestamp: z.number().int().optional().describe('Start epoch millis (default receipt time)'),
35
+ attributes: z.object({
36
+ 'duration.ms': z.number().describe('Span duration millis (required)'),
37
+ name: z.string().optional().describe("Span name, e.g. '/api/users'"),
38
+ 'parent.id': z.string().nullable().optional().describe('Caller span ID (null for root — traces need a root)'),
39
+ 'service.name': z.string().optional().describe('Owning entity, e.g. order-service'),
40
+ }).catchall(z.any()).describe('Span details (duration.ms required)'),
41
+ });
42
+ export const sendTraces = tool({
43
+ description: 'Sends distributed-trace spans (New Relic format, max 1MB post-compression) for latency debugging. Uses a license/ingest key (not the user key).',
44
+ inputSchema: z.object({
45
+ ingestKey: z.string().describe('License (ingest) key for the Trace API — differs from the user API key'),
46
+ traces: z.array(z.object({
47
+ spans: z.array(spanSchema).min(1).describe('Units of work (at least one span)'),
48
+ common: z.object({
49
+ 'service.name': z.string().optional().describe('Default service for all spans'),
50
+ host: z.string().optional().describe('Default host for all spans'),
51
+ }).catchall(z.any()).optional().describe('Shared attributes (span values override)'),
52
+ })).min(1).describe('Traces to report'),
53
+ dataFormat: z.enum(['newrelic']).optional().describe("Format (default 'newrelic')"),
54
+ dataFormatVersion: z.string().optional().describe("Version (default '1')"),
55
+ }),
56
+ execute: async ({ ingestKey, traces, dataFormat, dataFormatVersion }) => {
57
+ try {
58
+ if (!ingestKey)
59
+ return { error: 'New Relic ingest key is required. Provide ingestKey.' };
60
+ const response = await fetch(TRACE_API_BASE, {
61
+ method: 'POST',
62
+ headers: {
63
+ 'Content-Type': 'application/json',
64
+ 'Api-Key': ingestKey,
65
+ 'Data-Format': dataFormat ?? 'newrelic',
66
+ 'Data-Format-Version': dataFormatVersion ?? '1',
67
+ },
68
+ body: JSON.stringify(traces),
69
+ });
70
+ const data = await response.json().catch(() => ({}));
71
+ if (!response.ok)
72
+ return { error: 'Failed to send traces', details: data };
73
+ return data;
74
+ }
75
+ catch (error) {
76
+ return { error: 'Error sending traces', message: error instanceof Error ? error.message : 'Unknown error' };
77
+ }
78
+ },
79
+ });
80
+ //# sourceMappingURL=ingest.js.map
@@ -0,0 +1,186 @@
1
+ export declare const createAiNotificationsChannel: import("ai").Tool<{
2
+ type: "WEBHOOK" | "EMAIL" | "SLACK" | "PAGERDUTY_ACCOUNT_INTEGRATION" | "PAGERDUTY_SERVICE_INTEGRATION" | "SERVICENOW_INCIDENTS" | "JIRA_CLASSIC" | "JIRA_NEXTGEN" | "MOBILE_PUSH";
3
+ product: "IINT" | "ERROR_TRACKING" | "DISCUSSIONS";
4
+ name: string;
5
+ properties: {
6
+ value: string;
7
+ key: string;
8
+ }[];
9
+ accountId: string;
10
+ destinationId: string;
11
+ newRelicApiKey?: string | undefined;
12
+ }, any>;
13
+ export declare const updateAiNotificationsChannel: import("ai").Tool<{
14
+ channel: {
15
+ name?: string | undefined;
16
+ active?: boolean | undefined;
17
+ };
18
+ accountId: string;
19
+ channelId: string;
20
+ newRelicApiKey?: string | undefined;
21
+ }, any>;
22
+ export declare const deleteAiNotificationsChannel: import("ai").Tool<{
23
+ accountId: string;
24
+ channelId: string;
25
+ newRelicApiKey?: string | undefined;
26
+ }, any>;
27
+ export declare const testAiNotificationsChannel: import("ai").Tool<{
28
+ channel: {
29
+ type: "WEBHOOK" | "EMAIL" | "SLACK" | "PAGERDUTY_ACCOUNT_INTEGRATION" | "PAGERDUTY_SERVICE_INTEGRATION" | "SERVICENOW_INCIDENTS" | "JIRA_CLASSIC" | "SLACK_COLLABORATION";
30
+ product: "IINT" | "ERROR_TRACKING" | "DISCUSSIONS";
31
+ name: string;
32
+ properties: {
33
+ value: string;
34
+ key: string;
35
+ }[];
36
+ destinationId: string;
37
+ };
38
+ accountId: number;
39
+ newRelicApiKey?: string | undefined;
40
+ }, any>;
41
+ export declare const testNotificationChannel: import("ai").Tool<{
42
+ accountId: number;
43
+ channelId: string;
44
+ newRelicApiKey?: string | undefined;
45
+ }, any>;
46
+ export declare const createAiNotificationsDestination: import("ai").Tool<{
47
+ destination: {
48
+ type: "WEBHOOK" | "EMAIL" | "SLACK" | "JIRA" | "SERVICENOW" | "PAGERDUTY";
49
+ name: string;
50
+ properties: {
51
+ value: string;
52
+ key: string;
53
+ }[];
54
+ auth?: {
55
+ type: "BASIC" | "TOKEN" | "OAUTH2";
56
+ basic?: {
57
+ password: string;
58
+ user: string;
59
+ } | undefined;
60
+ } | undefined;
61
+ };
62
+ accountId: number;
63
+ newRelicApiKey?: string | undefined;
64
+ }, any>;
65
+ export declare const updateAiNotificationsDestination: import("ai").Tool<{
66
+ destination: {
67
+ name: string;
68
+ };
69
+ accountId: number;
70
+ destinationId: string;
71
+ newRelicApiKey?: string | undefined;
72
+ }, any>;
73
+ export declare const deleteAiNotificationsDestination: import("ai").Tool<{
74
+ accountId: number;
75
+ destinationId: string;
76
+ newRelicApiKey?: string | undefined;
77
+ }, any>;
78
+ export declare const testAiNotificationsDestination: import("ai").Tool<{
79
+ destination: {
80
+ type: string;
81
+ name: string;
82
+ properties: {
83
+ value: string;
84
+ key: string;
85
+ }[];
86
+ };
87
+ accountId: number;
88
+ newRelicApiKey?: string | undefined;
89
+ }, any>;
90
+ export declare const testAiNotificationDestinationById: import("ai").Tool<{
91
+ accountId: number;
92
+ destinationId: string;
93
+ newRelicApiKey?: string | undefined;
94
+ }, any>;
95
+ export declare const createAiWorkflow: import("ai").Tool<{
96
+ name: string;
97
+ accountId: number;
98
+ issuesFilter: {
99
+ name: string;
100
+ predicates: {
101
+ values: string[];
102
+ operator: string;
103
+ attribute: string;
104
+ }[];
105
+ type?: string | undefined;
106
+ };
107
+ destinationConfigurations: {
108
+ channelId: string;
109
+ notificationTriggers: string[];
110
+ }[];
111
+ newRelicApiKey?: string | undefined;
112
+ enrichments?: {
113
+ nrql?: {
114
+ name: string;
115
+ nrql: string;
116
+ }[] | undefined;
117
+ } | undefined;
118
+ workflowEnabled?: boolean | undefined;
119
+ enrichmentsEnabled?: boolean | undefined;
120
+ destinationsEnabled?: boolean | undefined;
121
+ mutingRulesHandling?: "DONT_NOTIFY_FULLY_MUTED_ISSUES" | "NOTIFY_ALL_ISSUES" | "DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES" | undefined;
122
+ }, any>;
123
+ export declare const updateWorkflow: import("ai").Tool<{
124
+ accountId: number;
125
+ updateWorkflowData: {
126
+ id: string;
127
+ name?: string | undefined;
128
+ issuesFilter?: Record<string, any> | undefined;
129
+ destinationConfigurations?: {
130
+ channelId: string;
131
+ notificationTriggers?: string[] | undefined;
132
+ }[] | undefined;
133
+ enrichments?: Record<string, any>[] | undefined;
134
+ workflowEnabled?: boolean | undefined;
135
+ enrichmentsEnabled?: boolean | undefined;
136
+ destinationsEnabled?: boolean | undefined;
137
+ mutingRulesHandling?: string | undefined;
138
+ };
139
+ newRelicApiKey?: string | undefined;
140
+ }, any>;
141
+ export declare const createAlertChannel: import("ai").Tool<{
142
+ type: "email" | "slack" | "webhook" | "pagerduty" | "opsgenie" | "victorops";
143
+ name: string;
144
+ configuration: {
145
+ recipients?: string | undefined;
146
+ apiKey?: string | undefined;
147
+ url?: string | undefined;
148
+ key?: string | undefined;
149
+ teams?: string | undefined;
150
+ channel?: string | undefined;
151
+ tags?: string | undefined;
152
+ serviceKey?: string | undefined;
153
+ routeKey?: string | undefined;
154
+ authUsername?: string | undefined;
155
+ authPassword?: string | undefined;
156
+ };
157
+ newRelicApiKey?: string | undefined;
158
+ }, any>;
159
+ export declare const getAlertChannels: import("ai").Tool<{
160
+ page?: number | undefined;
161
+ newRelicApiKey?: string | undefined;
162
+ }, any>;
163
+ export declare const updateAlertChannel: import("ai").Tool<{
164
+ alertChannelId: number;
165
+ type?: "email" | "slack" | "webhook" | "pagerduty" | "opsgenie" | "victorops" | undefined;
166
+ name?: string | undefined;
167
+ newRelicApiKey?: string | undefined;
168
+ configuration?: {
169
+ recipients?: string | undefined;
170
+ apiKey?: string | undefined;
171
+ url?: string | undefined;
172
+ key?: string | undefined;
173
+ teams?: string | undefined;
174
+ channel?: string | undefined;
175
+ tags?: string | undefined;
176
+ serviceKey?: string | undefined;
177
+ routeKey?: string | undefined;
178
+ authUsername?: string | undefined;
179
+ authPassword?: string | undefined;
180
+ } | undefined;
181
+ }, any>;
182
+ export declare const deleteAlertChannel: import("ai").Tool<{
183
+ channelId: number;
184
+ newRelicApiKey?: string | undefined;
185
+ }, any>;
186
+ //# sourceMappingURL=notifications.d.ts.map
@@ -0,0 +1,232 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { accountIdField, nerdgraph, newRelicApiKeyField, restV2 } from './client.js';
5
+ const channelProperty = z.object({
6
+ key: z.string().describe("Property key, e.g. 'channelId', 'payload', 'subject'"),
7
+ value: z.string().describe('Property value (JSON payloads as escaped strings)'),
8
+ });
9
+ const CHANNEL_SELECT = 'channel { id name type }';
10
+ // ---- AI notification channels ----
11
+ export const createAiNotificationsChannel = tool({
12
+ description: 'Creates an AI Notifications channel for Applied Intelligence alerts. Needs a pre-existing destination (create one first).',
13
+ inputSchema: z.object({
14
+ newRelicApiKey: newRelicApiKeyField,
15
+ accountId: z.string().describe('Account ID for the channel'),
16
+ type: z.enum(['WEBHOOK', 'EMAIL', 'SLACK', 'PAGERDUTY_ACCOUNT_INTEGRATION', 'PAGERDUTY_SERVICE_INTEGRATION', 'SERVICENOW_INCIDENTS', 'JIRA_CLASSIC', 'JIRA_NEXTGEN', 'MOBILE_PUSH']),
17
+ name: z.string().describe("Channel name, e.g. 'Production Slack Alerts'"),
18
+ destinationId: z.string().describe('Destination UUID (create destination first)'),
19
+ product: z.enum(['IINT', 'ERROR_TRACKING', 'DISCUSSIONS']).describe('IINT = Applied Intelligence alerts'),
20
+ properties: z.array(channelProperty).min(1).describe("Type-specific props: SLACK needs channelId; WEBHOOK needs payload"),
21
+ }),
22
+ execute: async ({ newRelicApiKey, accountId, ...channel }) => nerdgraph(newRelicApiKey, `mutation($accountId: Int!, $channel: AiNotificationsChannelInput!) { aiNotificationsCreateChannel(accountId: $accountId, channel: $channel) { ${CHANNEL_SELECT} } }`, { accountId: Number(accountId), channel }, 'create AI notifications channel'),
23
+ });
24
+ export const updateAiNotificationsChannel = tool({
25
+ description: 'Updates an AI channel name or active status. Only provided fields change.',
26
+ inputSchema: z.object({
27
+ newRelicApiKey: newRelicApiKeyField,
28
+ accountId: z.string().describe('Account ID owning the channel'),
29
+ channelId: z.string().describe('Channel UUID to update'),
30
+ channel: z.object({
31
+ name: z.string().optional().describe('New channel name'),
32
+ active: z.boolean().optional().describe('Activate/deactivate'),
33
+ }).describe('Fields to update'),
34
+ }),
35
+ execute: async ({ newRelicApiKey, accountId, channelId, channel }) => nerdgraph(newRelicApiKey, `mutation($accountId: Int!, $channelId: ID!, $channel: AiNotificationsChannelUpdateInput!) { aiNotificationsUpdateChannel(accountId: $accountId, channelId: $channelId, channel: $channel) { ${CHANNEL_SELECT} } }`, { accountId: Number(accountId), channelId, channel }, 'update AI notifications channel'),
36
+ });
37
+ export const deleteAiNotificationsChannel = tool({
38
+ description: 'Deletes an AI notifications channel by ID after confirming ownership.',
39
+ inputSchema: z.object({
40
+ newRelicApiKey: newRelicApiKeyField,
41
+ accountId: z.string().describe('Account ID owning the channel'),
42
+ channelId: z.string().describe('Channel UUID to delete'),
43
+ }),
44
+ execute: async ({ newRelicApiKey, accountId, channelId }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $channelId: ID!) { aiNotificationsDeleteChannel(accountId: $accountId, channelId: $channelId) { ids } }', { accountId: Number(accountId), channelId }, 'delete AI notifications channel'),
45
+ });
46
+ export const testAiNotificationsChannel = tool({
47
+ description: 'Tests an AI channel configuration before saving by sending a trial notification. Reports SUCCESS/FAIL.',
48
+ inputSchema: z.object({
49
+ newRelicApiKey: newRelicApiKeyField,
50
+ accountId: accountIdField('Account ID for the test'),
51
+ channel: z.object({
52
+ type: z.enum(['EMAIL', 'WEBHOOK', 'PAGERDUTY_ACCOUNT_INTEGRATION', 'PAGERDUTY_SERVICE_INTEGRATION', 'SLACK', 'SLACK_COLLABORATION', 'SERVICENOW_INCIDENTS', 'JIRA_CLASSIC']),
53
+ name: z.string().describe('Display name for the test channel'),
54
+ destinationId: z.string().describe('Destination endpoint UUID'),
55
+ product: z.enum(['DISCUSSIONS', 'ERROR_TRACKING', 'IINT']),
56
+ properties: z.array(channelProperty).min(1),
57
+ }).describe('Channel configuration to test'),
58
+ }),
59
+ execute: async ({ newRelicApiKey, accountId, channel }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $channel: AiNotificationsChannelInput!) { aiNotificationsTestChannel(accountId: $accountId, channel: $channel) { result details error { details } } }', { accountId, channel }, 'test AI notifications channel'),
60
+ });
61
+ export const testNotificationChannel = tool({
62
+ description: 'Sends a test notification through an existing AI channel to verify it delivers correctly.',
63
+ inputSchema: z.object({
64
+ newRelicApiKey: newRelicApiKeyField,
65
+ accountId: accountIdField('Account ID owning the channel'),
66
+ channelId: z.string().describe('Channel UUID to test'),
67
+ }),
68
+ execute: async ({ newRelicApiKey, accountId, channelId }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $channelId: ID!) { aiNotificationsTestChannelById(accountId: $accountId, channelId: $channelId) { result details error { details } } }', { accountId, channelId }, 'test notification channel'),
69
+ });
70
+ // ---- AI notification destinations ----
71
+ const destinationProperty = z.object({
72
+ key: z.string().describe("Property key, e.g. 'url' for Jira/webhook, 'email' for EMAIL"),
73
+ value: z.string().describe('Property value'),
74
+ });
75
+ export const createAiNotificationsDestination = tool({
76
+ description: 'Creates an AI notifications destination (Jira, ServiceNow, webhook, Slack, PagerDuty). Channels attach to destinations.',
77
+ inputSchema: z.object({
78
+ newRelicApiKey: newRelicApiKeyField,
79
+ accountId: accountIdField('Account ID for the destination'),
80
+ destination: z.object({
81
+ type: z.enum(['JIRA', 'SERVICENOW', 'WEBHOOK', 'EMAIL', 'SLACK', 'PAGERDUTY']),
82
+ name: z.string().describe('Destination name'),
83
+ properties: z.array(destinationProperty).min(1).describe("Config props: Jira needs 'url'"),
84
+ auth: z.object({
85
+ type: z.enum(['BASIC', 'TOKEN', 'OAUTH2']),
86
+ basic: z.object({ user: z.string(), password: z.string() }).optional().describe('BASIC credentials'),
87
+ }).optional(),
88
+ }).describe('Destination configuration'),
89
+ }),
90
+ execute: async ({ newRelicApiKey, accountId, destination }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $destination: AiNotificationsDestinationInput!) { aiNotificationsCreateDestination(accountId: $accountId, destination: $destination) { destination { id name } error { type description } } }', { accountId, destination }, 'create AI notifications destination'),
91
+ });
92
+ export const updateAiNotificationsDestination = tool({
93
+ description: 'Renames an AI destination. Partial update — only provided fields change.',
94
+ inputSchema: z.object({
95
+ newRelicApiKey: newRelicApiKeyField,
96
+ accountId: accountIdField('Account ID owning the destination'),
97
+ destinationId: z.string().describe('Destination UUID to update'),
98
+ destination: z.object({ name: z.string().describe('New destination name') }).describe('Fields to update'),
99
+ }),
100
+ execute: async ({ newRelicApiKey, accountId, destinationId, destination }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $destinationId: ID!, $destination: AiNotificationsDestinationUpdateInput!) { aiNotificationsUpdateDestination(accountId: $accountId, destinationId: $destinationId, destination: $destination) { destination { id name type } error { type description } } }', { accountId, destinationId, destination }, 'update AI notifications destination'),
101
+ });
102
+ export const deleteAiNotificationsDestination = tool({
103
+ description: 'Deletes an AI notifications destination by ID after confirming ownership.',
104
+ inputSchema: z.object({
105
+ newRelicApiKey: newRelicApiKeyField,
106
+ accountId: accountIdField('Account ID owning the destination'),
107
+ destinationId: z.string().describe('Destination UUID to delete'),
108
+ }),
109
+ execute: async ({ newRelicApiKey, accountId, destinationId }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $destinationId: ID!) { aiNotificationsDeleteDestination(accountId: $accountId, destinationId: $destinationId) { ids } }', { accountId, destinationId }, 'delete AI notifications destination'),
110
+ });
111
+ export const testAiNotificationsDestination = tool({
112
+ description: 'Validates a destination configuration (EMAIL/WEBHOOK/etc.) before or after creating it.',
113
+ inputSchema: z.object({
114
+ newRelicApiKey: newRelicApiKeyField,
115
+ accountId: accountIdField('Account ID for the test'),
116
+ destination: z.object({
117
+ type: z.string().describe("Destination type, e.g. 'EMAIL', 'WEBHOOK', 'SLACK_COLLABORATION'"),
118
+ name: z.string().describe('Test destination name'),
119
+ properties: z.array(destinationProperty).min(1).describe("EMAIL needs 'email'; WEBHOOK needs 'url'"),
120
+ }).describe('Destination configuration to test'),
121
+ }),
122
+ execute: async ({ newRelicApiKey, accountId, destination }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $destination: AiNotificationsDestinationInput!) { aiNotificationsTestDestination(accountId: $accountId, destination: $destination) { result details error { details } } }', { accountId, destination }, 'test AI notifications destination'),
123
+ });
124
+ export const testAiNotificationDestinationById = tool({
125
+ description: 'Tests an existing destination by UUID to verify it can receive messages.',
126
+ inputSchema: z.object({
127
+ newRelicApiKey: newRelicApiKeyField,
128
+ accountId: accountIdField('Account ID owning the destination'),
129
+ destinationId: z.string().describe('Destination UUID to test'),
130
+ }),
131
+ execute: async ({ newRelicApiKey, accountId, destinationId }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $destinationId: ID!) { aiNotificationsTestDestinationById(accountId: $accountId, destinationId: $destinationId) { result details error { details } } }', { accountId, destinationId }, 'test AI notification destination by ID'),
132
+ });
133
+ // ---- AI workflows ----
134
+ const workflowPredicate = z.object({
135
+ attribute: z.string().describe("Filter attribute, e.g. 'priority', 'labels.policyIds'"),
136
+ operator: z.string().describe("Operator, e.g. 'EQUAL', 'EXACTLY_MATCHES', 'CONTAINS'"),
137
+ values: z.array(z.string()).min(1),
138
+ });
139
+ export const createAiWorkflow = tool({
140
+ description: 'Creates an AI workflow routing filtered issues to channels with optional NRQL enrichments. Needs channel UUIDs from AI channels first.',
141
+ inputSchema: z.object({
142
+ newRelicApiKey: newRelicApiKeyField,
143
+ accountId: accountIdField('Account ID for the workflow'),
144
+ name: z.string().describe("Workflow name, e.g. 'Production Alert Workflow'"),
145
+ issuesFilter: z.object({
146
+ name: z.string().describe('Filter name'),
147
+ type: z.string().optional().describe("Must be 'FILTER' if provided"),
148
+ predicates: z.array(workflowPredicate).min(1),
149
+ }).describe('Which issues trigger the workflow (at least one predicate)'),
150
+ destinationConfigurations: z.array(z.object({
151
+ channelId: z.string().describe('Notification channel UUID'),
152
+ notificationTriggers: z.array(z.string()).min(1).describe("e.g. ['ACTIVATED','CLOSED']"),
153
+ })).min(1).describe('Channels to notify (at least one)'),
154
+ enrichments: z.object({ nrql: z.array(z.object({ name: z.string(), nrql: z.string() })).optional() }).optional().describe('NRQL enrichments adding context'),
155
+ workflowEnabled: z.boolean().optional().describe('Active on creation (default true)'),
156
+ enrichmentsEnabled: z.boolean().optional(),
157
+ destinationsEnabled: z.boolean().optional(),
158
+ mutingRulesHandling: z.enum(['DONT_NOTIFY_FULLY_MUTED_ISSUES', 'NOTIFY_ALL_ISSUES', 'DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES']).optional(),
159
+ }),
160
+ execute: async ({ newRelicApiKey, accountId, ...workflow }) => nerdgraph(newRelicApiKey, `mutation($accountId: Int!, $workflow: AiWorkflowsCreateWorkflowInput!) { aiWorkflowsCreateWorkflow(accountId: $accountId, workflow: $workflow) { workflow { id name workflowEnabled destinationsEnabled } errors { type description } } }`, { accountId, workflow: { workflowEnabled: true, destinationsEnabled: true, ...workflow } }, 'create AI workflow'),
161
+ });
162
+ export const updateWorkflow = tool({
163
+ description: 'Updates an AI workflow (name, toggles, destinations, enrichments, filters). Only the ID is required; other fields change if provided.',
164
+ inputSchema: z.object({
165
+ newRelicApiKey: newRelicApiKeyField,
166
+ accountId: accountIdField('Account ID owning the workflow'),
167
+ updateWorkflowData: z.object({
168
+ id: z.string().describe('Workflow UUID to update'),
169
+ name: z.string().optional(),
170
+ workflowEnabled: z.boolean().optional(),
171
+ enrichmentsEnabled: z.boolean().optional(),
172
+ destinationsEnabled: z.boolean().optional(),
173
+ mutingRulesHandling: z.string().optional(),
174
+ enrichments: z.array(z.record(z.any())).optional(),
175
+ issuesFilter: z.record(z.any()).optional().describe("Filter update wrapped as {filterInput: {name, type, predicates}}"),
176
+ destinationConfigurations: z.array(z.object({ channelId: z.string(), notificationTriggers: z.array(z.string()).optional() })).optional(),
177
+ }).describe('Workflow update (id required)'),
178
+ }),
179
+ execute: async ({ newRelicApiKey, accountId, updateWorkflowData }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $updateWorkflowData: AiWorkflowsUpdateWorkflowInput!) { aiWorkflowsUpdateWorkflow(accountId: $accountId, updateWorkflowData: $updateWorkflowData) { workflow { id name workflowEnabled } errors { type description } } }', { accountId, updateWorkflowData }, 'update AI workflow'),
180
+ });
181
+ // ---- Legacy REST notification channels ----
182
+ const channelConfig = z.object({
183
+ recipients: z.string().optional().describe("Email: comma-separated addresses (required for 'email')"),
184
+ url: z.string().optional().describe("Webhook/Slack URL (required for 'webhook'/'slack')"),
185
+ channel: z.string().optional().describe("Slack channel name without '#'"),
186
+ serviceKey: z.string().optional().describe("PagerDuty service key (required for 'pagerduty')"),
187
+ apiKey: z.string().optional().describe("OpsGenie API key (required for 'opsgenie')"),
188
+ tags: z.string().optional().describe('OpsGenie tags'),
189
+ teams: z.string().optional().describe('OpsGenie teams'),
190
+ routeKey: z.string().optional().describe("VictorOps routing key (required for 'victorops')"),
191
+ key: z.string().optional().describe("VictorOps API key (required for 'victorops')"),
192
+ authUsername: z.string().optional().describe('Webhook basic-auth username'),
193
+ authPassword: z.string().optional().describe('Webhook basic-auth password'),
194
+ }).describe('Type-specific channel configuration');
195
+ export const createAlertChannel = tool({
196
+ description: 'Registers a legacy alert channel endpoint (email, Slack, webhook, PagerDuty, OpsGenie, VictorOps). Link it to policies afterwards.',
197
+ inputSchema: z.object({
198
+ newRelicApiKey: newRelicApiKeyField,
199
+ type: z.enum(['email', 'slack', 'webhook', 'pagerduty', 'opsgenie', 'victorops']),
200
+ name: z.string().describe('Human-readable channel name'),
201
+ configuration: channelConfig,
202
+ }),
203
+ execute: async ({ newRelicApiKey, ...channel }) => restV2(newRelicApiKey, 'POST', '/alerts_channels.json', { body: { channel } }, 'create alert channel'),
204
+ });
205
+ export const getAlertChannels = tool({
206
+ description: 'Lists legacy alert channels (IDs, names, types, policy links) to discover linkable channels. Paginated.',
207
+ inputSchema: z.object({
208
+ newRelicApiKey: newRelicApiKeyField,
209
+ page: z.number().int().min(1).optional().describe('Page number (1-indexed)'),
210
+ }),
211
+ execute: async ({ newRelicApiKey, page }) => restV2(newRelicApiKey, 'GET', '/alerts_channels.json', { query: { page } }, 'list alert channels'),
212
+ });
213
+ export const updateAlertChannel = tool({
214
+ description: 'Updates a legacy alert channel (name, type, configuration) after verifying its ID.',
215
+ inputSchema: z.object({
216
+ newRelicApiKey: newRelicApiKeyField,
217
+ alertChannelId: z.number().int().min(1).describe('Channel ID to update'),
218
+ name: z.string().optional().describe('New channel name'),
219
+ type: z.enum(['email', 'slack', 'webhook', 'pagerduty', 'opsgenie', 'victorops']).optional().describe('Provide only to change type'),
220
+ configuration: channelConfig.optional(),
221
+ }),
222
+ execute: async ({ newRelicApiKey, alertChannelId, ...channel }) => restV2(newRelicApiKey, 'PUT', `/alerts_channels/${alertChannelId}.json`, { body: { channel } }, 'update alert channel'),
223
+ });
224
+ export const deleteAlertChannel = tool({
225
+ description: 'Deletes a legacy alert channel by ID after confirming ownership.',
226
+ inputSchema: z.object({
227
+ newRelicApiKey: newRelicApiKeyField,
228
+ channelId: z.number().int().describe('Channel ID to delete'),
229
+ }),
230
+ execute: async ({ newRelicApiKey, channelId }) => restV2(newRelicApiKey, 'DELETE', `/alerts_channels/${channelId}.json`, undefined, 'delete alert channel'),
231
+ });
232
+ //# sourceMappingURL=notifications.js.map
@@ -0,0 +1,105 @@
1
+ export declare const createStaticNrqlCondition: import("ai").Tool<{
2
+ name: string;
3
+ accountId: number;
4
+ policyId: string;
5
+ nrql: {
6
+ query: string;
7
+ };
8
+ signal: {
9
+ aggregationWindow: number;
10
+ aggregationMethod: "EVENT_FLOW" | "EVENT_TIMER" | "CADENCE";
11
+ aggregationDelay?: number | undefined;
12
+ };
13
+ terms: {
14
+ priority: "CRITICAL" | "WARNING";
15
+ threshold: number;
16
+ thresholdDuration: number;
17
+ thresholdOccurrences: "ALL" | "AT_LEAST_ONCE";
18
+ operator: "ABOVE" | "ABOVE_OR_EQUALS" | "BELOW" | "BELOW_OR_EQUALS" | "EQUALS" | "NOT_EQUALS";
19
+ };
20
+ valueFunction: "SINGLE_VALUE" | "SUM";
21
+ violationTimeLimitSeconds: number;
22
+ description?: string | undefined;
23
+ enabled?: boolean | undefined;
24
+ newRelicApiKey?: string | undefined;
25
+ expiration?: {
26
+ expirationDuration?: number | undefined;
27
+ openViolationOnExpiration?: boolean | undefined;
28
+ closeViolationsOnExpiration?: boolean | undefined;
29
+ } | undefined;
30
+ }, any>;
31
+ export declare const updateStaticNrqlCondition: import("ai").Tool<{
32
+ id: string;
33
+ accountId: number;
34
+ condition: Record<string, any>;
35
+ newRelicApiKey?: string | undefined;
36
+ }, any>;
37
+ export declare const createNrqlBaselineCondition: import("ai").Tool<{
38
+ accountId: number;
39
+ policyId: number;
40
+ condition: {
41
+ enabled: boolean;
42
+ name: string;
43
+ nrql: {
44
+ query: string;
45
+ };
46
+ signal: {
47
+ aggregationWindow: number;
48
+ aggregationMethod: "EVENT_FLOW" | "EVENT_TIMER" | "CADENCE";
49
+ aggregationDelay?: number | undefined;
50
+ };
51
+ terms: {
52
+ priority: "CRITICAL" | "WARNING";
53
+ threshold: number;
54
+ thresholdDuration: number;
55
+ thresholdOccurrences: "ALL" | "AT_LEAST_ONCE";
56
+ operator: "ABOVE" | "BELOW" | "EQUALS";
57
+ }[];
58
+ baselineDirection: "LOWER_ONLY" | "UPPER_ONLY" | "UPPER_AND_LOWER";
59
+ description?: string | undefined;
60
+ runbookUrl?: string | undefined;
61
+ };
62
+ newRelicApiKey?: string | undefined;
63
+ }, any>;
64
+ export declare const updateNrqlBaselineCondition: import("ai").Tool<{
65
+ id: string;
66
+ accountId: number;
67
+ condition: Record<string, any>;
68
+ newRelicApiKey?: string | undefined;
69
+ }, any>;
70
+ export declare const createNrqlCondition: import("ai").Tool<{
71
+ policyId: number;
72
+ nrqlCondition: {
73
+ enabled: boolean;
74
+ name: string;
75
+ nrql: {
76
+ query: string;
77
+ };
78
+ terms: {
79
+ priority: "warning" | "critical";
80
+ duration: string;
81
+ threshold: string;
82
+ operator: "above" | "below" | "equal";
83
+ timeFunction: "all" | "any";
84
+ }[];
85
+ type?: "static" | undefined;
86
+ valueFunction?: string | undefined;
87
+ runbookUrl?: string | undefined;
88
+ };
89
+ newRelicApiKey?: string | undefined;
90
+ }, any>;
91
+ export declare const updateNrqlCondition: import("ai").Tool<{
92
+ nrqlCondition: Record<string, any>;
93
+ conditionId: number;
94
+ newRelicApiKey?: string | undefined;
95
+ }, any>;
96
+ export declare const deleteNrqlCondition: import("ai").Tool<{
97
+ conditionId: number;
98
+ newRelicApiKey?: string | undefined;
99
+ }, any>;
100
+ export declare const listNrqlConditions: import("ai").Tool<{
101
+ policyId: number;
102
+ page?: number | undefined;
103
+ newRelicApiKey?: string | undefined;
104
+ }, any>;
105
+ //# sourceMappingURL=nrql-conditions.d.ts.map