@rnsk/toolkits 0.0.10 → 0.0.11

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 (292) hide show
  1. package/README.md +12 -2
  2. package/dist/index.d.ts +11 -1
  3. package/dist/index.js +21 -1
  4. package/dist/toolkits/bitbucket/tools/index.d.ts +5 -5
  5. package/dist/toolkits/bitbucket/tools/reports.d.ts +5 -5
  6. package/dist/toolkits/cloudflare/tools/create-list.d.ts +1 -1
  7. package/dist/toolkits/cloudflare/tools/create-zone.d.ts +1 -1
  8. package/dist/toolkits/cloudflare/tools/index.d.ts +4 -4
  9. package/dist/toolkits/cloudflare/tools/list-pools.d.ts +1 -1
  10. package/dist/toolkits/cloudflare/tools/list-zones.d.ts +1 -1
  11. package/dist/toolkits/convex/icon.d.ts +5 -0
  12. package/dist/toolkits/convex/icon.js +10 -0
  13. package/dist/toolkits/convex/manifest.d.ts +3 -0
  14. package/dist/toolkits/convex/manifest.js +33 -0
  15. package/dist/toolkits/convex/tools/client.d.ts +28 -0
  16. package/dist/toolkits/convex/tools/client.js +85 -0
  17. package/dist/toolkits/convex/tools/deploy-keys.d.ts +10 -0
  18. package/dist/toolkits/convex/tools/deploy-keys.js +46 -0
  19. package/dist/toolkits/convex/tools/deployments.d.ts +35 -0
  20. package/dist/toolkits/convex/tools/deployments.js +126 -0
  21. package/dist/toolkits/convex/tools/domains.d.ts +7 -0
  22. package/dist/toolkits/convex/tools/domains.js +29 -0
  23. package/dist/toolkits/convex/tools/functions.d.ts +14 -0
  24. package/dist/toolkits/convex/tools/functions.js +49 -0
  25. package/dist/toolkits/convex/tools/index.d.ts +176 -0
  26. package/dist/toolkits/convex/tools/index.js +145 -0
  27. package/dist/toolkits/convex/tools/logging.d.ts +5 -0
  28. package/dist/toolkits/convex/tools/logging.js +25 -0
  29. package/dist/toolkits/convex/tools/projects.d.ts +31 -0
  30. package/dist/toolkits/convex/tools/projects.js +111 -0
  31. package/dist/toolkits/convex/tools/teams.d.ts +12 -0
  32. package/dist/toolkits/convex/tools/teams.js +62 -0
  33. package/dist/toolkits/datadog/icon.d.ts +5 -0
  34. package/dist/toolkits/datadog/icon.js +6 -0
  35. package/dist/toolkits/datadog/manifest.d.ts +3 -0
  36. package/dist/toolkits/datadog/manifest.js +44 -0
  37. package/dist/toolkits/datadog/tools/api-keys.d.ts +21 -0
  38. package/dist/toolkits/datadog/tools/api-keys.js +42 -0
  39. package/dist/toolkits/datadog/tools/apm.d.ts +51 -0
  40. package/dist/toolkits/datadog/tools/apm.js +106 -0
  41. package/dist/toolkits/datadog/tools/client.d.ts +19 -0
  42. package/dist/toolkits/datadog/tools/client.js +81 -0
  43. package/dist/toolkits/datadog/tools/dashboards.d.ts +93 -0
  44. package/dist/toolkits/datadog/tools/dashboards.js +127 -0
  45. package/dist/toolkits/datadog/tools/events.d.ts +35 -0
  46. package/dist/toolkits/datadog/tools/events.js +56 -0
  47. package/dist/toolkits/datadog/tools/hosts.d.ts +49 -0
  48. package/dist/toolkits/datadog/tools/hosts.js +87 -0
  49. package/dist/toolkits/datadog/tools/incidents.d.ts +18 -0
  50. package/dist/toolkits/datadog/tools/incidents.js +34 -0
  51. package/dist/toolkits/datadog/tools/index.d.ts +999 -0
  52. package/dist/toolkits/datadog/tools/index.js +450 -0
  53. package/dist/toolkits/datadog/tools/integrations.d.ts +32 -0
  54. package/dist/toolkits/datadog/tools/integrations.js +47 -0
  55. package/dist/toolkits/datadog/tools/logs.d.ts +39 -0
  56. package/dist/toolkits/datadog/tools/logs.js +121 -0
  57. package/dist/toolkits/datadog/tools/metrics.d.ts +27 -0
  58. package/dist/toolkits/datadog/tools/metrics.js +83 -0
  59. package/dist/toolkits/datadog/tools/monitors.d.ts +95 -0
  60. package/dist/toolkits/datadog/tools/monitors.js +190 -0
  61. package/dist/toolkits/datadog/tools/oncall-notifications.d.ts +61 -0
  62. package/dist/toolkits/datadog/tools/oncall-notifications.js +155 -0
  63. package/dist/toolkits/datadog/tools/oncall-policies.d.ts +28 -0
  64. package/dist/toolkits/datadog/tools/oncall-policies.js +72 -0
  65. package/dist/toolkits/datadog/tools/oncall-schedules.d.ts +31 -0
  66. package/dist/toolkits/datadog/tools/oncall-schedules.js +87 -0
  67. package/dist/toolkits/datadog/tools/oncall-teams.d.ts +14 -0
  68. package/dist/toolkits/datadog/tools/oncall-teams.js +54 -0
  69. package/dist/toolkits/datadog/tools/slos.d.ts +43 -0
  70. package/dist/toolkits/datadog/tools/slos.js +62 -0
  71. package/dist/toolkits/datadog/tools/synthetics.d.ts +58 -0
  72. package/dist/toolkits/datadog/tools/synthetics.js +90 -0
  73. package/dist/toolkits/datadog/tools/usage.d.ts +7 -0
  74. package/dist/toolkits/datadog/tools/usage.js +25 -0
  75. package/dist/toolkits/datadog/tools/users.d.ts +35 -0
  76. package/dist/toolkits/datadog/tools/users.js +66 -0
  77. package/dist/toolkits/dev-to/icon.d.ts +5 -0
  78. package/dist/toolkits/dev-to/icon.js +10 -0
  79. package/dist/toolkits/dev-to/manifest.d.ts +3 -0
  80. package/dist/toolkits/dev-to/manifest.js +34 -0
  81. package/dist/toolkits/dev-to/tools/articles.d.ts +78 -0
  82. package/dist/toolkits/dev-to/tools/articles.js +262 -0
  83. package/dist/toolkits/dev-to/tools/client.d.ts +25 -0
  84. package/dist/toolkits/dev-to/tools/client.js +65 -0
  85. package/dist/toolkits/dev-to/tools/community.d.ts +61 -0
  86. package/dist/toolkits/dev-to/tools/community.js +244 -0
  87. package/dist/toolkits/dev-to/tools/index.d.ts +202 -0
  88. package/dist/toolkits/dev-to/tools/index.js +37 -0
  89. package/dist/toolkits/dev-to/tools/listings.d.ts +26 -0
  90. package/dist/toolkits/dev-to/tools/listings.js +92 -0
  91. package/dist/toolkits/discord/tools/applications.d.ts +5 -5
  92. package/dist/toolkits/discord/tools/index.d.ts +5 -5
  93. package/dist/toolkits/figma/tools/create-modify-delete-variables.d.ts +1 -1
  94. package/dist/toolkits/figma/tools/get-file-nodes.d.ts +1 -1
  95. package/dist/toolkits/figma/tools/index.d.ts +3 -3
  96. package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
  97. package/dist/toolkits/google-analytics/tools/reports.d.ts +9 -9
  98. package/dist/toolkits/google-classroom/tools/index.d.ts +7 -7
  99. package/dist/toolkits/google-classroom/tools/invitations.d.ts +2 -2
  100. package/dist/toolkits/google-classroom/tools/misc.d.ts +1 -1
  101. package/dist/toolkits/google-classroom/tools/roster.d.ts +5 -5
  102. package/dist/toolkits/google-search-console/tools/index.d.ts +2 -2
  103. package/dist/toolkits/google-search-console/tools/search-analytics-query.d.ts +2 -2
  104. package/dist/toolkits/hostinger/tools/index.d.ts +1 -1
  105. package/dist/toolkits/hostinger/tools/whois.d.ts +1 -1
  106. package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +1 -1
  107. package/dist/toolkits/hugging-face/tools/datasets.d.ts +1 -1
  108. package/dist/toolkits/hugging-face/tools/index.d.ts +1 -1
  109. package/dist/toolkits/hugging-face/tools/models.d.ts +1 -1
  110. package/dist/toolkits/hugging-face/tools/repos.d.ts +1 -1
  111. package/dist/toolkits/hugging-face/tools/spaces.d.ts +1 -1
  112. package/dist/toolkits/jira/tools/index.d.ts +4 -4
  113. package/dist/toolkits/jira/tools/meta.d.ts +2 -2
  114. package/dist/toolkits/jira/tools/users.d.ts +3 -3
  115. package/dist/toolkits/kaggle/icon.d.ts +5 -0
  116. package/dist/toolkits/kaggle/icon.js +6 -0
  117. package/dist/toolkits/kaggle/manifest.d.ts +3 -0
  118. package/dist/toolkits/kaggle/manifest.js +32 -0
  119. package/dist/toolkits/kaggle/tools/client.d.ts +10 -0
  120. package/dist/toolkits/kaggle/tools/client.js +94 -0
  121. package/dist/toolkits/kaggle/tools/competitions.d.ts +48 -0
  122. package/dist/toolkits/kaggle/tools/competitions.js +109 -0
  123. package/dist/toolkits/kaggle/tools/config.d.ts +110 -0
  124. package/dist/toolkits/kaggle/tools/config.js +256 -0
  125. package/dist/toolkits/kaggle/tools/datasets.d.ts +88 -0
  126. package/dist/toolkits/kaggle/tools/datasets.js +161 -0
  127. package/dist/toolkits/kaggle/tools/index.d.ts +482 -0
  128. package/dist/toolkits/kaggle/tools/index.js +53 -0
  129. package/dist/toolkits/kaggle/tools/kernels.d.ts +62 -0
  130. package/dist/toolkits/kaggle/tools/kernels.js +121 -0
  131. package/dist/toolkits/kaggle/tools/model_instance_files.d.ts +11 -0
  132. package/dist/toolkits/kaggle/tools/model_instance_files.js +23 -0
  133. package/dist/toolkits/kaggle/tools/model_instances.d.ts +8 -0
  134. package/dist/toolkits/kaggle/tools/model_instances.js +20 -0
  135. package/dist/toolkits/kaggle/tools/models.d.ts +14 -0
  136. package/dist/toolkits/kaggle/tools/models.js +33 -0
  137. package/dist/toolkits/nasa/icon.d.ts +5 -0
  138. package/dist/toolkits/nasa/icon.js +56 -0
  139. package/dist/toolkits/nasa/manifest.d.ts +3 -0
  140. package/dist/toolkits/nasa/manifest.js +49 -0
  141. package/dist/toolkits/nasa/tools/agage.d.ts +60 -0
  142. package/dist/toolkits/nasa/tools/agage.js +176 -0
  143. package/dist/toolkits/nasa/tools/client.d.ts +95 -0
  144. package/dist/toolkits/nasa/tools/client.js +337 -0
  145. package/dist/toolkits/nasa/tools/cmr.d.ts +268 -0
  146. package/dist/toolkits/nasa/tools/cmr.js +984 -0
  147. package/dist/toolkits/nasa/tools/donki.d.ts +63 -0
  148. package/dist/toolkits/nasa/tools/donki.js +301 -0
  149. package/dist/toolkits/nasa/tools/eonet.d.ts +74 -0
  150. package/dist/toolkits/nasa/tools/eonet.js +279 -0
  151. package/dist/toolkits/nasa/tools/icesat2.d.ts +25 -0
  152. package/dist/toolkits/nasa/tools/icesat2.js +97 -0
  153. package/dist/toolkits/nasa/tools/imagery.d.ts +36 -0
  154. package/dist/toolkits/nasa/tools/imagery.js +138 -0
  155. package/dist/toolkits/nasa/tools/index.d.ts +1063 -0
  156. package/dist/toolkits/nasa/tools/index.js +865 -0
  157. package/dist/toolkits/nasa/tools/neo.d.ts +15 -0
  158. package/dist/toolkits/nasa/tools/neo.js +75 -0
  159. package/dist/toolkits/nasa/tools/ntrs.d.ts +152 -0
  160. package/dist/toolkits/nasa/tools/ntrs.js +292 -0
  161. package/dist/toolkits/nasa/tools/osdr.d.ts +72 -0
  162. package/dist/toolkits/nasa/tools/osdr.js +290 -0
  163. package/dist/toolkits/nasa/tools/planetary.d.ts +58 -0
  164. package/dist/toolkits/nasa/tools/planetary.js +312 -0
  165. package/dist/toolkits/nasa/tools/power.d.ts +52 -0
  166. package/dist/toolkits/nasa/tools/power.js +213 -0
  167. package/dist/toolkits/nasa/tools/ssc.d.ts +44 -0
  168. package/dist/toolkits/nasa/tools/ssc.js +92 -0
  169. package/dist/toolkits/nasa/tools/tolnet.d.ts +84 -0
  170. package/dist/toolkits/nasa/tools/tolnet.js +254 -0
  171. package/dist/toolkits/neo4j/tools/analytics.d.ts +1 -1
  172. package/dist/toolkits/neo4j/tools/index.d.ts +3 -3
  173. package/dist/toolkits/neo4j/tools/instances.d.ts +2 -2
  174. package/dist/toolkits/neon/tools/auth.d.ts +4 -4
  175. package/dist/toolkits/neon/tools/dataapi.d.ts +1 -1
  176. package/dist/toolkits/neon/tools/index.d.ts +7 -7
  177. package/dist/toolkits/neon/tools/projects.d.ts +2 -2
  178. package/dist/toolkits/new-relic/icon.d.ts +5 -0
  179. package/dist/toolkits/new-relic/icon.js +6 -0
  180. package/dist/toolkits/new-relic/manifest.d.ts +3 -0
  181. package/dist/toolkits/new-relic/manifest.js +41 -0
  182. package/dist/toolkits/new-relic/tools/admin.d.ts +310 -0
  183. package/dist/toolkits/new-relic/tools/admin.js +282 -0
  184. package/dist/toolkits/new-relic/tools/alert-policies.d.ts +74 -0
  185. package/dist/toolkits/new-relic/tools/alert-policies.js +136 -0
  186. package/dist/toolkits/new-relic/tools/apm.d.ts +129 -0
  187. package/dist/toolkits/new-relic/tools/apm.js +228 -0
  188. package/dist/toolkits/new-relic/tools/client.d.ts +62 -0
  189. package/dist/toolkits/new-relic/tools/client.js +167 -0
  190. package/dist/toolkits/new-relic/tools/conditions.d.ts +190 -0
  191. package/dist/toolkits/new-relic/tools/conditions.js +265 -0
  192. package/dist/toolkits/new-relic/tools/config.d.ts +73 -0
  193. package/dist/toolkits/new-relic/tools/config.js +131 -0
  194. package/dist/toolkits/new-relic/tools/dashboards.d.ts +204 -0
  195. package/dist/toolkits/new-relic/tools/dashboards.js +159 -0
  196. package/dist/toolkits/new-relic/tools/entities.d.ts +160 -0
  197. package/dist/toolkits/new-relic/tools/entities.js +218 -0
  198. package/dist/toolkits/new-relic/tools/index.d.ts +23 -0
  199. package/dist/toolkits/new-relic/tools/index.js +179 -0
  200. package/dist/toolkits/new-relic/tools/ingest.d.ts +31 -0
  201. package/dist/toolkits/new-relic/tools/ingest.js +80 -0
  202. package/dist/toolkits/new-relic/tools/notifications.d.ts +186 -0
  203. package/dist/toolkits/new-relic/tools/notifications.js +232 -0
  204. package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +105 -0
  205. package/dist/toolkits/new-relic/tools/nrql-conditions.js +136 -0
  206. package/dist/toolkits/new-relic/tools/nrql.d.ts +38 -0
  207. package/dist/toolkits/new-relic/tools/nrql.js +99 -0
  208. package/dist/toolkits/new-relic/tools/synthetics.d.ts +176 -0
  209. package/dist/toolkits/new-relic/tools/synthetics.js +246 -0
  210. package/dist/toolkits/notebook-lm/icon.d.ts +5 -0
  211. package/dist/toolkits/notebook-lm/icon.js +6 -0
  212. package/dist/toolkits/notebook-lm/manifest.d.ts +3 -0
  213. package/dist/toolkits/notebook-lm/manifest.js +44 -0
  214. package/dist/toolkits/notebook-lm/tools/add-text-sources.d.ts +36 -0
  215. package/dist/toolkits/notebook-lm/tools/add-text-sources.js +51 -0
  216. package/dist/toolkits/notebook-lm/tools/create-audio-overview.d.ts +47 -0
  217. package/dist/toolkits/notebook-lm/tools/create-audio-overview.js +55 -0
  218. package/dist/toolkits/notebook-lm/tools/create-notebook.d.ts +52 -0
  219. package/dist/toolkits/notebook-lm/tools/create-notebook.js +49 -0
  220. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.d.ts +33 -0
  221. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.js +46 -0
  222. package/dist/toolkits/notebook-lm/tools/delete-notebooks.d.ts +32 -0
  223. package/dist/toolkits/notebook-lm/tools/delete-notebooks.js +46 -0
  224. package/dist/toolkits/notebook-lm/tools/delete-sources.d.ts +33 -0
  225. package/dist/toolkits/notebook-lm/tools/delete-sources.js +47 -0
  226. package/dist/toolkits/notebook-lm/tools/get-notebook.d.ts +52 -0
  227. package/dist/toolkits/notebook-lm/tools/get-notebook.js +45 -0
  228. package/dist/toolkits/notebook-lm/tools/get-source.d.ts +53 -0
  229. package/dist/toolkits/notebook-lm/tools/get-source.js +47 -0
  230. package/dist/toolkits/notebook-lm/tools/index.d.ts +516 -0
  231. package/dist/toolkits/notebook-lm/tools/index.js +93 -0
  232. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +32 -0
  233. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.js +41 -0
  234. package/dist/toolkits/notebook-lm/tools/share-notebook.d.ts +48 -0
  235. package/dist/toolkits/notebook-lm/tools/share-notebook.js +57 -0
  236. package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +40 -0
  237. package/dist/toolkits/notebook-lm/tools/upload-source-file.js +62 -0
  238. package/dist/toolkits/notebook-lm/tools/utils.d.ts +15 -0
  239. package/dist/toolkits/notebook-lm/tools/utils.js +46 -0
  240. package/dist/toolkits/npm/icon.d.ts +5 -0
  241. package/dist/toolkits/npm/icon.js +11 -0
  242. package/dist/toolkits/npm/manifest.d.ts +3 -0
  243. package/dist/toolkits/npm/manifest.js +35 -0
  244. package/dist/toolkits/npm/tools/client.d.ts +19 -0
  245. package/dist/toolkits/npm/tools/client.js +64 -0
  246. package/dist/toolkits/npm/tools/downloads.d.ts +19 -0
  247. package/dist/toolkits/npm/tools/downloads.js +39 -0
  248. package/dist/toolkits/npm/tools/index.d.ts +14 -0
  249. package/dist/toolkits/npm/tools/index.js +24 -0
  250. package/dist/toolkits/npm/tools/registry.d.ts +24 -0
  251. package/dist/toolkits/npm/tools/registry.js +58 -0
  252. package/dist/toolkits/npm/tools/security.d.ts +9 -0
  253. package/dist/toolkits/npm/tools/security.js +29 -0
  254. package/dist/toolkits/slack/tools/admin-users.d.ts +1 -1
  255. package/dist/toolkits/slack/tools/slack-lists.d.ts +3 -3
  256. package/dist/toolkits/snowflake/icon.d.ts +5 -0
  257. package/dist/toolkits/snowflake/icon.js +6 -0
  258. package/dist/toolkits/snowflake/manifest.d.ts +3 -0
  259. package/dist/toolkits/snowflake/manifest.js +32 -0
  260. package/dist/toolkits/snowflake/tools/catalog.d.ts +56 -0
  261. package/dist/toolkits/snowflake/tools/catalog.js +123 -0
  262. package/dist/toolkits/snowflake/tools/client.d.ts +53 -0
  263. package/dist/toolkits/snowflake/tools/client.js +145 -0
  264. package/dist/toolkits/snowflake/tools/index.d.ts +14 -0
  265. package/dist/toolkits/snowflake/tools/index.js +28 -0
  266. package/dist/toolkits/snowflake/tools/statements.d.ts +27 -0
  267. package/dist/toolkits/snowflake/tools/statements.js +84 -0
  268. package/dist/toolkits/snowflake/tools/status.d.ts +22 -0
  269. package/dist/toolkits/snowflake/tools/status.js +54 -0
  270. package/dist/toolkits/telegram/icon.d.ts +5 -0
  271. package/dist/toolkits/telegram/icon.js +6 -0
  272. package/dist/toolkits/telegram/manifest.d.ts +3 -0
  273. package/dist/toolkits/telegram/manifest.js +34 -0
  274. package/dist/toolkits/telegram/tools/bot.d.ts +13 -0
  275. package/dist/toolkits/telegram/tools/bot.js +23 -0
  276. package/dist/toolkits/telegram/tools/chats.d.ts +22 -0
  277. package/dist/toolkits/telegram/tools/chats.js +46 -0
  278. package/dist/toolkits/telegram/tools/client.d.ts +12 -0
  279. package/dist/toolkits/telegram/tools/client.js +46 -0
  280. package/dist/toolkits/telegram/tools/index.d.ts +15 -0
  281. package/dist/toolkits/telegram/tools/index.js +31 -0
  282. package/dist/toolkits/telegram/tools/messages.d.ts +86 -0
  283. package/dist/toolkits/telegram/tools/messages.js +134 -0
  284. package/dist/toolkits/telegram/tools/updates.d.ts +23 -0
  285. package/dist/toolkits/telegram/tools/updates.js +54 -0
  286. package/dist/toolkits/youtube/tools/get-channel-activities.d.ts +1 -1
  287. package/dist/toolkits/youtube/tools/index.d.ts +5 -5
  288. package/dist/toolkits/youtube/tools/list-channel-sections.d.ts +1 -1
  289. package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
  290. package/dist/toolkits/youtube/tools/subscribe-channel.d.ts +1 -1
  291. package/dist/toolkits/youtube/tools/unsubscribe-channel.d.ts +1 -1
  292. package/package.json +2 -3
@@ -0,0 +1,160 @@
1
+ export declare const deleteEntity: import("ai").Tool<{
2
+ guids: string[];
3
+ newRelicApiKey?: string | undefined;
4
+ }, any>;
5
+ export declare const createEntityRelationship: import("ai").Tool<{
6
+ type: "CONTAINS" | "CALLS" | "HOSTS" | "SERVES" | "IS" | "OPERATES_IN" | "CONNECTS_TO" | "BUILT_FROM" | "MEASURES" | "PRODUCES" | "CONSUMES" | "MANAGES" | "OWNS" | "TEST";
7
+ sourceEntityGuid: string;
8
+ targetEntityGuid: string;
9
+ newRelicApiKey?: string | undefined;
10
+ }, any>;
11
+ export declare const deleteEntityRelationshipUserDefined: import("ai").Tool<{
12
+ sourceEntityGuid: string;
13
+ targetEntityGuid: string;
14
+ type?: string | undefined;
15
+ newRelicApiKey?: string | undefined;
16
+ }, any>;
17
+ export declare const addTagsToEntity: import("ai").Tool<{
18
+ tags: {
19
+ values: string[];
20
+ key: string;
21
+ }[];
22
+ guid: string;
23
+ newRelicApiKey?: string | undefined;
24
+ }, any>;
25
+ export declare const deleteTagValuesFromEntity: import("ai").Tool<{
26
+ guid: string;
27
+ tagValues: {
28
+ value: string;
29
+ key: string;
30
+ }[];
31
+ newRelicApiKey?: string | undefined;
32
+ }, any>;
33
+ export declare const replaceTagsOnEntity: import("ai").Tool<{
34
+ tags: {
35
+ values: string[];
36
+ key: string;
37
+ }[];
38
+ guid: string;
39
+ newRelicApiKey?: string | undefined;
40
+ }, any>;
41
+ export declare const overrideEntityGoldenMetrics: import("ai").Tool<{
42
+ context: {
43
+ account?: number | undefined;
44
+ guid?: string | undefined;
45
+ };
46
+ domainType: {
47
+ type: string;
48
+ domain: string;
49
+ };
50
+ metrics: {
51
+ title: string;
52
+ from: string;
53
+ name: string;
54
+ eventId: string;
55
+ select: string;
56
+ where?: string | undefined;
57
+ facet?: string | undefined;
58
+ }[];
59
+ newRelicApiKey?: string | undefined;
60
+ }, any>;
61
+ export declare const resetEntityGoldenMetrics: import("ai").Tool<{
62
+ context: {
63
+ guid: string;
64
+ };
65
+ domainType: {
66
+ type: string;
67
+ domain: string;
68
+ };
69
+ newRelicApiKey?: string | undefined;
70
+ }, any>;
71
+ export declare const overrideEntityGoldenTags: import("ai").Tool<{
72
+ context: {
73
+ account: number;
74
+ };
75
+ tags: {
76
+ key: string;
77
+ }[];
78
+ domainType: {
79
+ type: string;
80
+ domain: string;
81
+ };
82
+ newRelicApiKey?: string | undefined;
83
+ }, any>;
84
+ export declare const resetEntityGoldenTags: import("ai").Tool<{
85
+ context: {
86
+ account?: number | undefined;
87
+ guid?: string | undefined;
88
+ };
89
+ domainType: {
90
+ type: string;
91
+ domain: string;
92
+ };
93
+ newRelicApiKey?: string | undefined;
94
+ }, any>;
95
+ export declare const createDeploymentMarker: import("ai").Tool<{
96
+ version: string;
97
+ entityGuid: string;
98
+ description?: string | undefined;
99
+ user?: string | undefined;
100
+ commit?: string | undefined;
101
+ timestamp?: number | undefined;
102
+ newRelicApiKey?: string | undefined;
103
+ groupId?: string | undefined;
104
+ changelog?: string | undefined;
105
+ deepLink?: string | undefined;
106
+ deploymentType?: "BASIC" | "BLUE_GREEN" | "CANARY" | "ROLLING" | "SHADOW" | "OTHER" | undefined;
107
+ }, any>;
108
+ export declare const createExampleBrowserApplication: import("ai").Tool<{
109
+ name: string;
110
+ accountId: number;
111
+ newRelicApiKey?: string | undefined;
112
+ settings?: {
113
+ loaderType?: "SPA" | "PRO" | "LITE" | undefined;
114
+ cookiesEnabled?: boolean | undefined;
115
+ distributedTracingEnabled?: boolean | undefined;
116
+ } | undefined;
117
+ }, any>;
118
+ export declare const createExampleMobileApplication: import("ai").Tool<{
119
+ name: string;
120
+ accountId: number;
121
+ newRelicApiKey?: string | undefined;
122
+ }, any>;
123
+ export declare const deleteAgentApplication: import("ai").Tool<{
124
+ guid: string;
125
+ newRelicApiKey?: string | undefined;
126
+ }, any>;
127
+ export declare const updateAgentApplicationSettings: import("ai").Tool<{
128
+ guid: string;
129
+ settings: {
130
+ apmConfig: {
131
+ useServerSideConfig: boolean;
132
+ };
133
+ };
134
+ newRelicApiKey?: string | undefined;
135
+ }, any>;
136
+ export declare const updateBrowserSettings: import("ai").Tool<{
137
+ guid: string;
138
+ settings: {
139
+ browserMonitoring: {
140
+ loader?: string | undefined;
141
+ pinnedVersion?: string | undefined;
142
+ };
143
+ };
144
+ newRelicApiKey?: string | undefined;
145
+ }, any>;
146
+ export declare const updateMobileSettingsExample: import("ai").Tool<{
147
+ guid: string;
148
+ settings: {
149
+ mobileSettings: {
150
+ useCrashReports?: boolean | undefined;
151
+ networkSettings?: {
152
+ filterMode?: "DISABLED" | "SHOW" | "HIDE" | undefined;
153
+ hideList?: string[] | undefined;
154
+ showList?: string[] | undefined;
155
+ } | undefined;
156
+ };
157
+ };
158
+ newRelicApiKey?: string | undefined;
159
+ }, any>;
160
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1,218 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { nerdgraph, newRelicApiKeyField, tagInput } from './client.js';
5
+ const guidField = z.string().describe('Entity GUID (base64 identifier from entity search)');
6
+ const TAGGING_ERRORS = 'errors { message }';
7
+ // ---- Entities & relationships ----
8
+ export const deleteEntity = tool({
9
+ description: 'Deletes APM-APPLICATION, EXT-SERVICE, or REF-REPOSITORY entities by GUID. Reports successes and per-GUID failures.',
10
+ inputSchema: z.object({
11
+ newRelicApiKey: newRelicApiKeyField,
12
+ guids: z.array(z.string()).min(1).describe('Entity GUIDs to delete (deletable types only)'),
13
+ }),
14
+ execute: async ({ newRelicApiKey, guids }) => nerdgraph(newRelicApiKey, 'mutation($guids: [EntityGuid!]!) { entityDelete(guids: $guids) { deletedEntities failures { guid message } } }', { guids }, 'delete entities'),
15
+ });
16
+ const relationshipType = z.enum(['CONTAINS', 'CALLS', 'HOSTS', 'SERVES', 'IS', 'OPERATES_IN', 'CONNECTS_TO', 'BUILT_FROM', 'MEASURES', 'PRODUCES', 'CONSUMES', 'MANAGES', 'OWNS', 'TEST']);
17
+ export const createEntityRelationship = tool({
18
+ description: 'Creates or replaces a custom relationship (CALLS, BUILT_FROM, CONTAINS, etc.) between two entities. Existing links are refreshed.',
19
+ inputSchema: z.object({
20
+ newRelicApiKey: newRelicApiKeyField,
21
+ sourceEntityGuid: guidField.describe('Source (origin) entity GUID'),
22
+ targetEntityGuid: guidField.describe('Target entity GUID'),
23
+ type: relationshipType.describe('Relationship semantics'),
24
+ }),
25
+ execute: async ({ newRelicApiKey, sourceEntityGuid, targetEntityGuid, type }) => nerdgraph(newRelicApiKey, `mutation($source: EntityGuid!, $target: EntityGuid!, $type: EntityRelationshipUserDefinedType!) { entityRelationshipUserDefinedCreateOrReplace(sourceEntityGuid: $source, targetEntityGuid: $target, type: $type) { ${TAGGING_ERRORS} } }`, { source: sourceEntityGuid, target: targetEntityGuid, type }, 'create entity relationship'),
26
+ });
27
+ export const deleteEntityRelationshipUserDefined = tool({
28
+ description: 'Removes custom relationships between two entities. Omit type to remove all user-defined links between them.',
29
+ inputSchema: z.object({
30
+ newRelicApiKey: newRelicApiKeyField,
31
+ sourceEntityGuid: guidField.describe('Source entity GUID'),
32
+ targetEntityGuid: guidField.describe('Target entity GUID'),
33
+ type: z.string().optional().describe("Specific type, e.g. 'BUILT_FROM' (omit for all)"),
34
+ }),
35
+ execute: async ({ newRelicApiKey, sourceEntityGuid, targetEntityGuid, type }) => nerdgraph(newRelicApiKey, 'mutation($source: EntityGuid!, $target: EntityGuid!, $type: EntityRelationshipUserDefinedType) { entityRelationshipUserDefinedDelete(sourceEntityGuid: $source, targetEntityGuid: $target, type: $type) { errors { message type } } }', { source: sourceEntityGuid, target: targetEntityGuid, type: type ?? null }, 'delete entity relationship'),
36
+ });
37
+ // ---- Tags ----
38
+ export const addTagsToEntity = tool({
39
+ description: 'Adds tags to an entity for filtering and organization. APM agents may need a restart to pick up new tags.',
40
+ inputSchema: z.object({
41
+ newRelicApiKey: newRelicApiKeyField,
42
+ guid: guidField.describe('Entity GUID to tag (find via searchEntities)'),
43
+ tags: z.array(tagInput).min(1).describe("Tags, e.g. [{key:'environment',values:['production']}]"),
44
+ }),
45
+ execute: async ({ newRelicApiKey, guid, tags }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $tags: [TaggingTagInput!]!) { taggingAddTagsToEntity(guid: $guid, tags: $tags) { ${TAGGING_ERRORS} } }`, { guid, tags }, 'add tags to entity'),
46
+ });
47
+ export const deleteTagValuesFromEntity = tool({
48
+ description: 'Removes specific tag values while keeping other values under the same key.',
49
+ inputSchema: z.object({
50
+ newRelicApiKey: newRelicApiKeyField,
51
+ guid: guidField.describe('Entity GUID to untag (find via entitySearch)'),
52
+ tagValues: z.array(z.object({
53
+ key: z.string().describe("Tag key, e.g. 'environment'"),
54
+ value: z.string().describe("Exact value to remove, e.g. 'production'"),
55
+ })).min(1),
56
+ }),
57
+ execute: async ({ newRelicApiKey, guid, tagValues }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $tagValues: [TaggingTagValueInput!]!) { taggingDeleteTagValuesFromEntity(guid: $guid, tagValues: $tagValues) { ${TAGGING_ERRORS} } }`, { guid, tagValues }, 'delete tag values from entity'),
58
+ });
59
+ export const replaceTagsOnEntity = tool({
60
+ description: "Replaces the entity's entire tag set. All existing tags are removed — send the complete desired set.",
61
+ inputSchema: z.object({
62
+ newRelicApiKey: newRelicApiKeyField,
63
+ guid: guidField.describe('Entity GUID to retag'),
64
+ tags: z.array(tagInput).min(1).describe('Complete replacement tag set'),
65
+ }),
66
+ execute: async ({ newRelicApiKey, guid, tags }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $tags: [TaggingTagInput!]!) { taggingReplaceTagsOnEntity(guid: $guid, tags: $tags) { ${TAGGING_ERRORS} } }`, { guid, tags }, 'replace tags on entity'),
67
+ });
68
+ // ---- Golden metrics & tags ----
69
+ const domainTypeInput = (desc) => z.object({
70
+ domain: z.string().describe("Domain, e.g. 'APM', 'BROWSER', 'MOBILE', 'INFRA', 'SYNTH'"),
71
+ type: z.string().describe("Type, e.g. 'APPLICATION', 'HOST', 'MONITOR'"),
72
+ }).describe(desc);
73
+ const goldenContext = (desc, requireGuid = false) => z.object({
74
+ account: z.number().int().positive().optional().describe('Account ID (provide account XOR guid)'),
75
+ guid: z.string().optional().describe('Workload GUID (provide account XOR guid)'),
76
+ }).describe(desc);
77
+ export const overrideEntityGoldenMetrics = tool({
78
+ description: 'Sets custom primary (golden) metrics for an entity type at account or workload scope. Empty metrics array resets to defaults.',
79
+ inputSchema: z.object({
80
+ newRelicApiKey: newRelicApiKeyField,
81
+ context: goldenContext('Account or workload scope (exactly one)'),
82
+ domainType: domainTypeInput('Entity domain + type to customize'),
83
+ metrics: z.array(z.object({
84
+ name: z.string().describe("Internal name, e.g. 'responseTime'"),
85
+ title: z.string().describe("UI title, e.g. 'Response Time'"),
86
+ select: z.string().describe("SELECT clause, e.g. 'average(duration)'"),
87
+ from: z.string().describe("FROM event, e.g. 'Transaction'"),
88
+ eventId: z.string().describe("Entity filter field, usually 'entity.guid'"),
89
+ where: z.string().optional().describe('Extra WHERE clause (eventId filter is automatic)'),
90
+ facet: z.string().optional().describe("FACET attribute, e.g. 'host'"),
91
+ })).describe('Golden metric definitions (empty resets to defaults)'),
92
+ }),
93
+ execute: async ({ newRelicApiKey, context, domainType, metrics }) => nerdgraph(newRelicApiKey, 'mutation($context: GoldenMetricsContextInput!, $domainType: GoldenMetricsDomainTypeInput!, $metrics: [GoldenMetricsMetricInput!]!) { entityGoldenMetricsOverride(context: $context, domainType: $domainType, metrics: $metrics) { context { account guid } domainType { domain type } metrics { name title } errors { message type } } }', { context, domainType, metrics }, 'override entity golden metrics'),
94
+ });
95
+ export const resetEntityGoldenMetrics = tool({
96
+ description: 'Restores New Relic default golden metrics/tags for an entity type when customizations are no longer relevant.',
97
+ inputSchema: z.object({
98
+ newRelicApiKey: newRelicApiKeyField,
99
+ context: z.object({ guid: z.string().describe('Account or workload GUID to reset') }).describe('Reset scope'),
100
+ domainType: domainTypeInput('Entity domain + type to reset'),
101
+ }),
102
+ execute: async ({ newRelicApiKey, context, domainType }) => nerdgraph(newRelicApiKey, 'mutation($context: GoldenMetricsResetContextInput!, $domainType: GoldenMetricsDomainTypeInput!) { entityGoldenMetricsReset(context: $context, domainType: $domainType) { metrics { context { account guid } domainType { domain type } metrics { name title query } } errors { message type } } }', { context, domainType }, 'reset entity golden metrics'),
103
+ });
104
+ export const overrideEntityGoldenTags = tool({
105
+ description: 'Sets which tags appear prominently (golden tags) for an entity type for filtering and organization.',
106
+ inputSchema: z.object({
107
+ newRelicApiKey: newRelicApiKeyField,
108
+ context: z.object({ account: z.number().int().positive().describe('Account ID for the override') }).describe('Account scope'),
109
+ domainType: domainTypeInput('Entity domain + type for the tags'),
110
+ tags: z.array(z.object({ key: z.string().describe("Tag key, e.g. 'environment'") })).min(1).describe('Golden tag keys'),
111
+ }),
112
+ execute: async ({ newRelicApiKey, context, domainType, tags }) => nerdgraph(newRelicApiKey, 'mutation($context: GoldenTagsContextInput!, $domainType: GoldenTagsDomainTypeInput!, $tags: [GoldenTagsTagInput!]!) { entityGoldenTagsOverride(context: $context, domainType: $domainType, tags: $tags) { tags { context { account } domainType { domain type } tags { key } } errors { message type } } }', { context, domainType, tags }, 'override entity golden tags'),
113
+ });
114
+ export const resetEntityGoldenTags = tool({
115
+ description: 'Restores default golden tags for an entity domain + type. Provide account XOR workload guid.',
116
+ inputSchema: z.object({
117
+ newRelicApiKey: newRelicApiKeyField,
118
+ context: goldenContext('Account or workload scope (exactly one)'),
119
+ domainType: domainTypeInput('Entity domain + type to reset'),
120
+ }),
121
+ execute: async ({ newRelicApiKey, context, domainType }) => nerdgraph(newRelicApiKey, 'mutation($context: GoldenTagsContextInput!, $domainType: GoldenTagsDomainTypeInput!) { entityGoldenTagsReset(context: $context, domainType: $domainType) { tags { context { account guid } domainType { domain type } tags { key } } errors { message type } } }', { context, domainType }, 'reset entity golden tags'),
122
+ });
123
+ // ---- Change tracking / deployments ----
124
+ export const createDeploymentMarker = tool({
125
+ description: 'Records a deployment marker (version, changelog, CI link) on an entity for correlating releases with performance in charts.',
126
+ inputSchema: z.object({
127
+ newRelicApiKey: newRelicApiKeyField,
128
+ entityGuid: guidField.describe('Entity GUID supporting change tracking (APM, Browser, Mobile, Synthetics, etc.)'),
129
+ version: z.string().describe("Version, e.g. '1.0.0', 'build-12345'"),
130
+ user: z.string().optional().describe("Deployer, e.g. 'deploy-bot@example.com'"),
131
+ commit: z.string().optional().describe('Commit SHA'),
132
+ groupId: z.string().optional().describe("Group related deploys, e.g. 'release-2024-q1'"),
133
+ changelog: z.string().optional().describe('Changelog URL or text'),
134
+ description: z.string().optional().describe('Context, e.g. Hotfix for login bug'),
135
+ deepLink: z.string().optional().describe('CI/CD pipeline URL'),
136
+ timestamp: z.number().int().optional().describe('Epoch millis (within ±24h; default now)'),
137
+ deploymentType: z.enum(['BASIC', 'BLUE_GREEN', 'CANARY', 'ROLLING', 'SHADOW', 'OTHER']).optional(),
138
+ }),
139
+ execute: async ({ newRelicApiKey, entityGuid, ...deployment }) => nerdgraph(newRelicApiKey, 'mutation($entityGuid: EntityGuid!, $deployment: ChangeTrackingDeploymentInput!) { changeTrackingCreateDeployment(entityGuid: $entityGuid, deployment: $deployment) { deploymentId version description timestamp entityGuid deploymentType user commit groupId changelog deepLink } }', { entityGuid, deployment }, 'create deployment marker'),
140
+ });
141
+ // ---- Agent applications ----
142
+ export const createExampleBrowserApplication = tool({
143
+ description: 'Creates a browser application for web monitoring. Returns the GUID plus loader settings for installation.',
144
+ inputSchema: z.object({
145
+ newRelicApiKey: newRelicApiKeyField,
146
+ accountId: z.number().int().positive().describe('Account ID for the browser app'),
147
+ name: z.string().describe('Browser application name'),
148
+ settings: z.object({
149
+ loaderType: z.enum(['SPA', 'PRO', 'LITE']).optional().describe('Agent loader type'),
150
+ cookiesEnabled: z.boolean().optional().describe('Session tracking + user identification'),
151
+ distributedTracingEnabled: z.boolean().optional().describe('Cross-service request tracking'),
152
+ }).optional(),
153
+ }),
154
+ execute: async ({ newRelicApiKey, accountId, name, settings }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $application: AgentApplicationCreateBrowserInput!) { agentApplicationCreateBrowser(accountId: $accountId, application: $application) { guid name settings { loaderType cookiesEnabled distributedTracingEnabled } } }', { accountId, application: { name, settings } }, 'create browser application'),
155
+ });
156
+ export const createExampleMobileApplication = tool({
157
+ description: 'Creates a mobile application for iOS/Android monitoring. Returns the application token for SDK setup.',
158
+ inputSchema: z.object({
159
+ newRelicApiKey: newRelicApiKeyField,
160
+ accountId: z.number().int().describe('Account ID for the mobile app'),
161
+ name: z.string().describe('Mobile application name'),
162
+ }),
163
+ execute: async ({ newRelicApiKey, accountId, name }) => nerdgraph(newRelicApiKey, 'mutation($accountId: Int!, $application: AgentApplicationCreateMobileInput!) { agentApplicationCreateMobile(accountId: $accountId, application: $application) { guid name accountId applicationToken } }', { accountId, application: { name } }, 'create mobile application'),
164
+ });
165
+ export const deleteAgentApplication = tool({
166
+ description: 'Deletes an APM application. The agent must have been silent for 12+ hours or deletion is rejected.',
167
+ inputSchema: z.object({
168
+ newRelicApiKey: newRelicApiKeyField,
169
+ guid: guidField.describe('APM application GUID to delete'),
170
+ }),
171
+ execute: async ({ newRelicApiKey, guid }) => nerdgraph(newRelicApiKey, 'mutation($guid: EntityGuid!) { agentApplicationDelete(guid: $guid) { success } }', { guid }, 'delete agent application'),
172
+ });
173
+ export const updateAgentApplicationSettings = tool({
174
+ description: 'Toggles server-side config for an APM app (UI-managed vs local config file).',
175
+ inputSchema: z.object({
176
+ newRelicApiKey: newRelicApiKeyField,
177
+ guid: guidField.describe('APM application GUID'),
178
+ settings: z.object({
179
+ apmConfig: z.object({
180
+ useServerSideConfig: z.boolean().describe('true: manage from UI; false: local agent config file'),
181
+ }),
182
+ }).describe('APM configuration'),
183
+ }),
184
+ execute: async ({ newRelicApiKey, guid, settings }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { apmSettings { apmConfig { useServerSideConfig } } ${TAGGING_ERRORS} } }`, { guid, settings }, 'update agent application settings'),
185
+ });
186
+ export const updateBrowserSettings = tool({
187
+ description: 'Updates browser agent settings (loader type SPA/PRO/LITE, pinned agent version).',
188
+ inputSchema: z.object({
189
+ newRelicApiKey: newRelicApiKeyField,
190
+ guid: guidField.describe('Browser application entity GUID'),
191
+ settings: z.object({
192
+ browserMonitoring: z.object({
193
+ loader: z.string().optional().describe("Loader type, e.g. 'SPA'"),
194
+ pinnedVersion: z.string().optional().describe("Pinned version, e.g. '1.229.0' ('x' ranges allowed; null = latest)"),
195
+ }),
196
+ }).describe('Browser monitoring settings'),
197
+ }),
198
+ execute: async ({ newRelicApiKey, guid, settings }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { browserSettings { browserConfig { browserMonitoring { loader pinnedVersion } } } ${TAGGING_ERRORS} } }`, { guid, settings }, 'update browser settings'),
199
+ });
200
+ export const updateMobileSettingsExample = tool({
201
+ description: 'Updates mobile settings (crash reporting, network URL hide/show filters with wildcard patterns).',
202
+ inputSchema: z.object({
203
+ newRelicApiKey: newRelicApiKeyField,
204
+ guid: guidField.describe('Mobile application entity GUID'),
205
+ settings: z.object({
206
+ mobileSettings: z.object({
207
+ useCrashReports: z.boolean().optional().describe('Collect crash data'),
208
+ networkSettings: z.object({
209
+ filterMode: z.enum(['DISABLED', 'SHOW', 'HIDE']).optional(),
210
+ hideList: z.array(z.string()).optional().describe("Hidden URL patterns, e.g. ['*.internal.company.com']"),
211
+ showList: z.array(z.string()).optional().describe('Shown URL patterns for SHOW mode'),
212
+ }).optional(),
213
+ }),
214
+ }).describe('Mobile configuration'),
215
+ }),
216
+ execute: async ({ newRelicApiKey, guid, settings }) => nerdgraph(newRelicApiKey, `mutation($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) { agentApplicationSettingsUpdate(guid: $guid, settings: $settings) { mobileSettings { useCrashReports networkSettings { filterMode hideList showList } } ${TAGGING_ERRORS} } }`, { guid, settings }, 'update mobile settings'),
217
+ });
218
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1,23 @@
1
+ import { configureCloudIntegration, createApiAccessKeys, createServiceLevel, createUser, deleteApiAccessKeys, deleteUserManagementUser, deleteWorkload, disableCloudIntegration, duplicateWorkload, linkCloudAccount, renameCloudAccount, revokeAuthorizationAccess, updateAccount, updateApiAccessKeys, updateServiceLevel, updateUser, updateWorkload } from './admin.js';
2
+ import { getAppMetricData, getAppMetricsNames, getApplications, getBrowserApplications, getLookupTable, getMobileApplication, getMobileApplicationMetrics, getMobileMetricData, getSecureCredential, listDeployments, listKeyTransactions, listLookupTables, listMobileApplications, listSecureCredentials, createLookupTable, createSecureCredential, deleteLookupTable, deleteSecureCredential, updateLookupTable, updateSecureCredential } from './apm.js';
3
+ import { addNotificationChannelsToPolicy, createAlertPolicy, createAlertPolicyGraphql, deleteAlertPolicy, deleteAlertPolicyGraphql, deleteAlertsCondition, deletePolicyChannel, getAlertPolicies, removeNotificationChannelsFromPolicy, updateAlertPolicy, updateAlertPolicyRest, updateCrossAccountElections, updatePolicyChannels } from './alert-policies.js';
4
+ import { createDeploymentMarker, createEntityRelationship, createExampleBrowserApplication, createExampleMobileApplication, deleteAgentApplication, deleteEntity, deleteEntityRelationshipUserDefined, addTagsToEntity, deleteTagValuesFromEntity, overrideEntityGoldenMetrics, overrideEntityGoldenTags, replaceTagsOnEntity, resetEntityGoldenMetrics, resetEntityGoldenTags, updateAgentApplicationSettings, updateBrowserSettings, updateMobileSettingsExample } from './entities.js';
5
+ import { createBrokenLinksMonitor, createMonitor, createScriptedMonitor, createSyntheticsPrivateLocation, createSyntheticsSecureCredential, createSyntheticsSimpleMonitor, deleteMonitor, deleteSyntheticsMonitorGraphql, deleteSyntheticsPrivateLocation, deleteSyntheticsSecureCredential, getSynthMonitor, listLocations, listMonitors, patchMonitor, updateMonitorScript, updateScriptedMonitor, updateSynthMonitor, updateSyntheticsSimpleMonitor } from './synthetics.js';
6
+ import { createAiNotificationsChannel, createAiNotificationsDestination, createAiWorkflow, createAlertChannel, deleteAiNotificationsChannel, deleteAiNotificationsDestination, deleteAlertChannel, getAlertChannels, testAiNotificationDestinationById, testAiNotificationsChannel, testAiNotificationsDestination, testNotificationChannel, updateAiNotificationsChannel, updateAiNotificationsDestination, updateAlertChannel, updateWorkflow } from './notifications.js';
7
+ import { createExternalServiceCondition, createInfraCondition, createLocationFailureCondition, createSyntheticsAlertCondition, deleteExternalServiceCondition, deleteInfraCondition, deleteLocationFailureCondition, deleteSyntheticsCondition, getAlertConditions, getAlertsViolations, getInfraCondition, listExternalServiceConditions, listInfraConditions, listLocationFailureConditions, listSyntheticsConditions, removeEntityCondition, updateExternalServiceCondition, updateInfraCondition, updateLocationFailureCondition, updateSyntheticsAlertCondition } from './conditions.js';
8
+ import { createDashboard, addWidgetsToDashboardPage, createDashboardSnapshotUrl, deleteDashboard, getDashboardEntity, undeleteDashboard, updateDashboard, updateDashboardLiveUrlCreationPolicies, updateDashboardPage, updateDashboardWidgetsInPage } from './dashboards.js';
9
+ import { createLogDataPartitionRule, createMetricNormalizationRule, deleteDataPartitionRule, disableMetricNormalizationRule, editMetricNormalizationRule, enableMetricNormalizationRule, fetchBrowserConfiguration, fetchBrowserJavaScriptSnippet, fetchMobileApplicationToken, updateDataPartitionRule } from './config.js';
10
+ import { createNrqlBaselineCondition, createNrqlCondition, createStaticNrqlCondition, deleteNrqlCondition, listNrqlConditions, updateNrqlBaselineCondition, updateNrqlCondition, updateStaticNrqlCondition } from './nrql-conditions.js';
11
+ import { executeNrqlQuery, fetchRulesCollection, fetchYourOrgId, queryCloudProviders, queryError, queryExampleReadQuery, searchEntities } from './nrql.js';
12
+ import { sendEvents, sendTraces } from './ingest.js';
13
+ export { executeNrqlQuery, queryError, queryExampleReadQuery, searchEntities, fetchRulesCollection, fetchYourOrgId, queryCloudProviders, createAlertPolicy, getAlertPolicies, updateAlertPolicyRest, deleteAlertPolicy, createAlertPolicyGraphql, updateAlertPolicy, deleteAlertPolicyGraphql, deleteAlertsCondition, updateCrossAccountElections, addNotificationChannelsToPolicy, removeNotificationChannelsFromPolicy, updatePolicyChannels, deletePolicyChannel, createStaticNrqlCondition, updateStaticNrqlCondition, createNrqlBaselineCondition, updateNrqlBaselineCondition, createNrqlCondition, updateNrqlCondition, deleteNrqlCondition, listNrqlConditions, createExternalServiceCondition, updateExternalServiceCondition, deleteExternalServiceCondition, listExternalServiceConditions, createSyntheticsAlertCondition, updateSyntheticsAlertCondition, deleteSyntheticsCondition, listSyntheticsConditions, createLocationFailureCondition, updateLocationFailureCondition, deleteLocationFailureCondition, listLocationFailureConditions, createInfraCondition, getInfraCondition, listInfraConditions, updateInfraCondition, deleteInfraCondition, getAlertConditions, removeEntityCondition, getAlertsViolations, createAiNotificationsChannel, updateAiNotificationsChannel, deleteAiNotificationsChannel, testAiNotificationsChannel, testNotificationChannel, createAiNotificationsDestination, updateAiNotificationsDestination, deleteAiNotificationsDestination, testAiNotificationsDestination, testAiNotificationDestinationById, createAiWorkflow, updateWorkflow, createAlertChannel, getAlertChannels, updateAlertChannel, deleteAlertChannel, createDashboard, updateDashboard, deleteDashboard, undeleteDashboard, createDashboardSnapshotUrl, getDashboardEntity, addWidgetsToDashboardPage, updateDashboardPage, updateDashboardWidgetsInPage, updateDashboardLiveUrlCreationPolicies, createMonitor, getSynthMonitor, listMonitors, patchMonitor, updateSynthMonitor, deleteMonitor, updateMonitorScript, listLocations, createSyntheticsSimpleMonitor, updateSyntheticsSimpleMonitor, createScriptedMonitor, updateScriptedMonitor, createBrokenLinksMonitor, createSyntheticsPrivateLocation, deleteSyntheticsPrivateLocation, deleteSyntheticsMonitorGraphql, createSyntheticsSecureCredential, deleteSyntheticsSecureCredential, getApplications, getAppMetricsNames, getAppMetricData, listDeployments, listKeyTransactions, getBrowserApplications, listMobileApplications, getMobileApplication, getMobileApplicationMetrics, getMobileMetricData, createSecureCredential, getSecureCredential, listSecureCredentials, updateSecureCredential, deleteSecureCredential, createLookupTable, getLookupTable, listLookupTables, updateLookupTable, deleteLookupTable, createUser, updateUser, deleteUserManagementUser, updateAccount, revokeAuthorizationAccess, createApiAccessKeys, updateApiAccessKeys, deleteApiAccessKeys, linkCloudAccount, renameCloudAccount, configureCloudIntegration, disableCloudIntegration, createServiceLevel, updateServiceLevel, updateWorkload, duplicateWorkload, deleteWorkload, deleteEntity, createEntityRelationship, deleteEntityRelationshipUserDefined, addTagsToEntity, deleteTagValuesFromEntity, replaceTagsOnEntity, overrideEntityGoldenMetrics, resetEntityGoldenMetrics, overrideEntityGoldenTags, resetEntityGoldenTags, createDeploymentMarker, createExampleBrowserApplication, createExampleMobileApplication, deleteAgentApplication, updateAgentApplicationSettings, updateBrowserSettings, updateMobileSettingsExample, createMetricNormalizationRule, editMetricNormalizationRule, enableMetricNormalizationRule, disableMetricNormalizationRule, createLogDataPartitionRule, updateDataPartitionRule, deleteDataPartitionRule, fetchBrowserConfiguration, fetchBrowserJavaScriptSnippet, fetchMobileApplicationToken, sendEvents, sendTraces, };
14
+ declare const auth: "newRelicApiKey";
15
+ type Scope = 'read' | 'write' | 'delete';
16
+ export declare const newRelicTools: {
17
+ name: string;
18
+ description: string;
19
+ tool: any;
20
+ requiredAuth?: typeof auth;
21
+ scope: Scope;
22
+ }[];
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,179 @@
1
+ // @ts-nocheck
2
+ import { configureCloudIntegration, createApiAccessKeys, createServiceLevel, createUser, deleteApiAccessKeys, deleteUserManagementUser, deleteWorkload, disableCloudIntegration, duplicateWorkload, linkCloudAccount, renameCloudAccount, revokeAuthorizationAccess, updateAccount, updateApiAccessKeys, updateServiceLevel, updateUser, updateWorkload, } from './admin.js';
3
+ import { getAppMetricData, getAppMetricsNames, getApplications, getBrowserApplications, getLookupTable, getMobileApplication, getMobileApplicationMetrics, getMobileMetricData, getSecureCredential, listDeployments, listKeyTransactions, listLookupTables, listMobileApplications, listSecureCredentials, createLookupTable, createSecureCredential, deleteLookupTable, deleteSecureCredential, updateLookupTable, updateSecureCredential, } from './apm.js';
4
+ import { addNotificationChannelsToPolicy, createAlertPolicy, createAlertPolicyGraphql, deleteAlertPolicy, deleteAlertPolicyGraphql, deleteAlertsCondition, deletePolicyChannel, getAlertPolicies, removeNotificationChannelsFromPolicy, updateAlertPolicy, updateAlertPolicyRest, updateCrossAccountElections, updatePolicyChannels, } from './alert-policies.js';
5
+ import { createDeploymentMarker, createEntityRelationship, createExampleBrowserApplication, createExampleMobileApplication, deleteAgentApplication, deleteEntity, deleteEntityRelationshipUserDefined, addTagsToEntity, deleteTagValuesFromEntity, overrideEntityGoldenMetrics, overrideEntityGoldenTags, replaceTagsOnEntity, resetEntityGoldenMetrics, resetEntityGoldenTags, updateAgentApplicationSettings, updateBrowserSettings, updateMobileSettingsExample, } from './entities.js';
6
+ import { createBrokenLinksMonitor, createMonitor, createScriptedMonitor, createSyntheticsPrivateLocation, createSyntheticsSecureCredential, createSyntheticsSimpleMonitor, deleteMonitor, deleteSyntheticsMonitorGraphql, deleteSyntheticsPrivateLocation, deleteSyntheticsSecureCredential, getSynthMonitor, listLocations, listMonitors, patchMonitor, updateMonitorScript, updateScriptedMonitor, updateSynthMonitor, updateSyntheticsSimpleMonitor, } from './synthetics.js';
7
+ import { createAiNotificationsChannel, createAiNotificationsDestination, createAiWorkflow, createAlertChannel, deleteAiNotificationsChannel, deleteAiNotificationsDestination, deleteAlertChannel, getAlertChannels, testAiNotificationDestinationById, testAiNotificationsChannel, testAiNotificationsDestination, testNotificationChannel, updateAiNotificationsChannel, updateAiNotificationsDestination, updateAlertChannel, updateWorkflow, } from './notifications.js';
8
+ import { createExternalServiceCondition, createInfraCondition, createLocationFailureCondition, createSyntheticsAlertCondition, deleteExternalServiceCondition, deleteInfraCondition, deleteLocationFailureCondition, deleteSyntheticsCondition, getAlertConditions, getAlertsViolations, getInfraCondition, listExternalServiceConditions, listInfraConditions, listLocationFailureConditions, listSyntheticsConditions, removeEntityCondition, updateExternalServiceCondition, updateInfraCondition, updateLocationFailureCondition, updateSyntheticsAlertCondition, } from './conditions.js';
9
+ import { createDashboard, addWidgetsToDashboardPage, createDashboardSnapshotUrl, deleteDashboard, getDashboardEntity, undeleteDashboard, updateDashboard, updateDashboardLiveUrlCreationPolicies, updateDashboardPage, updateDashboardWidgetsInPage, } from './dashboards.js';
10
+ import { createLogDataPartitionRule, createMetricNormalizationRule, deleteDataPartitionRule, disableMetricNormalizationRule, editMetricNormalizationRule, enableMetricNormalizationRule, fetchBrowserConfiguration, fetchBrowserJavaScriptSnippet, fetchMobileApplicationToken, updateDataPartitionRule, } from './config.js';
11
+ import { createNrqlBaselineCondition, createNrqlCondition, createStaticNrqlCondition, deleteNrqlCondition, listNrqlConditions, updateNrqlBaselineCondition, updateNrqlCondition, updateStaticNrqlCondition, } from './nrql-conditions.js';
12
+ import { executeNrqlQuery, fetchRulesCollection, fetchYourOrgId, queryCloudProviders, queryError, queryExampleReadQuery, searchEntities, } from './nrql.js';
13
+ import { sendEvents, sendTraces } from './ingest.js';
14
+ export { executeNrqlQuery, queryError, queryExampleReadQuery, searchEntities, fetchRulesCollection, fetchYourOrgId, queryCloudProviders, createAlertPolicy, getAlertPolicies, updateAlertPolicyRest, deleteAlertPolicy, createAlertPolicyGraphql, updateAlertPolicy, deleteAlertPolicyGraphql, deleteAlertsCondition, updateCrossAccountElections, addNotificationChannelsToPolicy, removeNotificationChannelsFromPolicy, updatePolicyChannels, deletePolicyChannel, createStaticNrqlCondition, updateStaticNrqlCondition, createNrqlBaselineCondition, updateNrqlBaselineCondition, createNrqlCondition, updateNrqlCondition, deleteNrqlCondition, listNrqlConditions, createExternalServiceCondition, updateExternalServiceCondition, deleteExternalServiceCondition, listExternalServiceConditions, createSyntheticsAlertCondition, updateSyntheticsAlertCondition, deleteSyntheticsCondition, listSyntheticsConditions, createLocationFailureCondition, updateLocationFailureCondition, deleteLocationFailureCondition, listLocationFailureConditions, createInfraCondition, getInfraCondition, listInfraConditions, updateInfraCondition, deleteInfraCondition, getAlertConditions, removeEntityCondition, getAlertsViolations, createAiNotificationsChannel, updateAiNotificationsChannel, deleteAiNotificationsChannel, testAiNotificationsChannel, testNotificationChannel, createAiNotificationsDestination, updateAiNotificationsDestination, deleteAiNotificationsDestination, testAiNotificationsDestination, testAiNotificationDestinationById, createAiWorkflow, updateWorkflow, createAlertChannel, getAlertChannels, updateAlertChannel, deleteAlertChannel, createDashboard, updateDashboard, deleteDashboard, undeleteDashboard, createDashboardSnapshotUrl, getDashboardEntity, addWidgetsToDashboardPage, updateDashboardPage, updateDashboardWidgetsInPage, updateDashboardLiveUrlCreationPolicies, createMonitor, getSynthMonitor, listMonitors, patchMonitor, updateSynthMonitor, deleteMonitor, updateMonitorScript, listLocations, createSyntheticsSimpleMonitor, updateSyntheticsSimpleMonitor, createScriptedMonitor, updateScriptedMonitor, createBrokenLinksMonitor, createSyntheticsPrivateLocation, deleteSyntheticsPrivateLocation, deleteSyntheticsMonitorGraphql, createSyntheticsSecureCredential, deleteSyntheticsSecureCredential, getApplications, getAppMetricsNames, getAppMetricData, listDeployments, listKeyTransactions, getBrowserApplications, listMobileApplications, getMobileApplication, getMobileApplicationMetrics, getMobileMetricData, createSecureCredential, getSecureCredential, listSecureCredentials, updateSecureCredential, deleteSecureCredential, createLookupTable, getLookupTable, listLookupTables, updateLookupTable, deleteLookupTable, createUser, updateUser, deleteUserManagementUser, updateAccount, revokeAuthorizationAccess, createApiAccessKeys, updateApiAccessKeys, deleteApiAccessKeys, linkCloudAccount, renameCloudAccount, configureCloudIntegration, disableCloudIntegration, createServiceLevel, updateServiceLevel, updateWorkload, duplicateWorkload, deleteWorkload, deleteEntity, createEntityRelationship, deleteEntityRelationshipUserDefined, addTagsToEntity, deleteTagValuesFromEntity, replaceTagsOnEntity, overrideEntityGoldenMetrics, resetEntityGoldenMetrics, overrideEntityGoldenTags, resetEntityGoldenTags, createDeploymentMarker, createExampleBrowserApplication, createExampleMobileApplication, deleteAgentApplication, updateAgentApplicationSettings, updateBrowserSettings, updateMobileSettingsExample, createMetricNormalizationRule, editMetricNormalizationRule, enableMetricNormalizationRule, disableMetricNormalizationRule, createLogDataPartitionRule, updateDataPartitionRule, deleteDataPartitionRule, fetchBrowserConfiguration, fetchBrowserJavaScriptSnippet, fetchMobileApplicationToken, sendEvents, sendTraces, };
15
+ const auth = 'newRelicApiKey';
16
+ function entry(name, description, toolRef, scope, noAuth = false) {
17
+ return noAuth ? { name, description, tool: toolRef, scope } : { name, description, tool: toolRef, requiredAuth: auth, scope };
18
+ }
19
+ export const newRelicTools = [
20
+ entry('newRelicExecuteNrqlQuery', 'Executes a NRQL query against telemetry data (sync or async).', executeNrqlQuery, 'read'),
21
+ entry('newRelicQueryError', 'Queries error data with a custom NRQL query.', queryError, 'read'),
22
+ entry('newRelicQueryExampleReadQuery', 'Executes any raw GraphQL read query against NerdGraph.', queryExampleReadQuery, 'read'),
23
+ entry('newRelicSearchEntities', 'Searches entities by name/type/domain; returns GUIDs (200/page).', searchEntities, 'read'),
24
+ entry('newRelicFetchRulesCollection', 'Fetches rules from a Scorecard collection with pagination.', fetchRulesCollection, 'read'),
25
+ entry('newRelicFetchYourOrgId', 'Returns the organization ID and name for the API key.', fetchYourOrgId, 'read'),
26
+ entry('newRelicQueryCloudProviders', 'Lists cloud providers configured for an account.', queryCloudProviders, 'read'),
27
+ entry('newRelicCreateAlertPolicy', 'Creates an alert policy via REST API v2.', createAlertPolicy, 'write'),
28
+ entry('newRelicGetAlertPolicies', 'Lists alert policies with filters and pagination.', getAlertPolicies, 'read'),
29
+ entry('newRelicUpdateAlertPolicyRest', 'Updates a policy name/incident preference via REST.', updateAlertPolicyRest, 'write'),
30
+ entry('newRelicDeleteAlertPolicy', 'Deletes an alert policy via REST.', deleteAlertPolicy, 'delete'),
31
+ entry('newRelicCreateAlertsPolicyGraphql', 'Creates an alert policy via NerdGraph.', createAlertPolicyGraphql, 'write'),
32
+ entry('newRelicUpdateAlertPolicy', 'Updates a policy via NerdGraph.', updateAlertPolicy, 'write'),
33
+ entry('newRelicDeleteAlertsPolicyViaGraphql', 'Deletes an alert policy via NerdGraph.', deleteAlertPolicyGraphql, 'delete'),
34
+ entry('newRelicDeleteAlertsCondition', 'Deletes any alert condition type via NerdGraph.', deleteAlertsCondition, 'delete'),
35
+ entry('newRelicUpdateCrossAccountElections', 'Enables/disables cross-account alerting for up to 20 accounts.', updateCrossAccountElections, 'write'),
36
+ entry('newRelicAddNotificationChannelsToPolicy', 'Associates notification channels with a policy via NerdGraph.', addNotificationChannelsToPolicy, 'write'),
37
+ entry('newRelicRemoveNotificationChannelsFromPolicy', 'Detaches notification channels from a policy via NerdGraph.', removeNotificationChannelsFromPolicy, 'write'),
38
+ entry('newRelicUpdatePolicyChannels', 'Replaces all channel associations on a policy via REST.', updatePolicyChannels, 'write'),
39
+ entry('newRelicDeletePolicyChannel', 'Removes one channel from a policy via REST.', deletePolicyChannel, 'delete'),
40
+ entry('newRelicCreateAlertsNrqlConditionStatic', 'Creates a static NRQL alert condition via NerdGraph.', createStaticNrqlCondition, 'write'),
41
+ entry('newRelicUpdateNrqlStaticCondition', 'Updates a static NRQL condition via NerdGraph.', updateStaticNrqlCondition, 'write'),
42
+ entry('newRelicCreateNrqlBaselineCondition', 'Creates a baseline (anomaly) NRQL condition via NerdGraph.', createNrqlBaselineCondition, 'write'),
43
+ entry('newRelicUpdateNrqlBaselineCondition', 'Updates a baseline NRQL condition via NerdGraph.', updateNrqlBaselineCondition, 'write'),
44
+ entry('newRelicCreateNrqlCondition', 'Creates a NRQL condition via REST API v2.', createNrqlCondition, 'write'),
45
+ entry('newRelicUpdateNrqlCondition', 'Updates a NRQL condition via REST API v2.', updateNrqlCondition, 'write'),
46
+ entry('newRelicDeleteNrqlCondition', 'Deletes a NRQL condition via REST.', deleteNrqlCondition, 'delete'),
47
+ entry('newRelicListNrqlConditions', 'Lists NRQL conditions for a policy via REST.', listNrqlConditions, 'read'),
48
+ entry('newRelicCreateExternalServiceCondition', 'Creates an external-service condition via REST.', createExternalServiceCondition, 'write'),
49
+ entry('newRelicUpdateExternalServiceCondition', 'Updates an external-service condition via REST.', updateExternalServiceCondition, 'write'),
50
+ entry('newRelicDeleteExternalServiceCondition', 'Deletes an external-service condition via REST.', deleteExternalServiceCondition, 'delete'),
51
+ entry('newRelicListExternalServiceConditions', 'Lists external-service conditions for a policy.', listExternalServiceConditions, 'read'),
52
+ entry('newRelicCreateSyntheticsAlertCondition', 'Creates a synthetics condition via REST.', createSyntheticsAlertCondition, 'write'),
53
+ entry('newRelicUpdateSyntheticsAlertCondition', 'Updates a synthetics condition via REST.', updateSyntheticsAlertCondition, 'write'),
54
+ entry('newRelicDeleteSyntheticsCondition', 'Deletes a synthetics condition via REST.', deleteSyntheticsCondition, 'delete'),
55
+ entry('newRelicListSyntheticsConditions', 'Lists synthetics conditions for a policy.', listSyntheticsConditions, 'read'),
56
+ entry('newRelicCreateLocationFailureCondition', 'Creates a multi-location failure condition via REST.', createLocationFailureCondition, 'write'),
57
+ entry('newRelicUpdateLocationFailureCondition', 'Updates a location-failure condition via REST.', updateLocationFailureCondition, 'write'),
58
+ entry('newRelicDeleteLocationFailureCondition', 'Deletes a location-failure condition via REST.', deleteLocationFailureCondition, 'delete'),
59
+ entry('newRelicListLocationFailureConditions', 'Lists location-failure conditions for a policy.', listLocationFailureConditions, 'read'),
60
+ entry('newRelicCreateInfraCondition', 'Creates an infrastructure condition via the Infrastructure API.', createInfraCondition, 'write'),
61
+ entry('newRelicGetInfraCondition', 'Reads one infrastructure condition by ID.', getInfraCondition, 'read'),
62
+ entry('newRelicListInfraConditions', 'Lists infrastructure conditions for a policy (limit/offset).', listInfraConditions, 'read'),
63
+ entry('newRelicUpdateInfraCondition', 'Updates an infrastructure condition.', updateInfraCondition, 'write'),
64
+ entry('newRelicDeleteInfraCondition', 'Deletes an infrastructure condition.', deleteInfraCondition, 'delete'),
65
+ entry('newRelicGetAlertConditions', 'Lists APM/browser/mobile conditions for a policy.', getAlertConditions, 'read'),
66
+ entry('newRelicRemoveEntityCondition', 'Removes an entity from an alert condition.', removeEntityCondition, 'delete'),
67
+ entry('newRelicGetAlertsViolations', 'Lists alert violations with date/open filters.', getAlertsViolations, 'read'),
68
+ entry('newRelicCreateAiNotificationsChannel', 'Creates an AI Notifications channel.', createAiNotificationsChannel, 'write'),
69
+ entry('newRelicUpdateAiNotificationsChannel', 'Updates an AI channel name/active status.', updateAiNotificationsChannel, 'write'),
70
+ entry('newRelicDeleteAiNotificationsChannel', 'Deletes an AI notifications channel.', deleteAiNotificationsChannel, 'delete'),
71
+ entry('newRelicTestAiNotificationsChannel', 'Tests an AI channel configuration before saving.', testAiNotificationsChannel, 'read'),
72
+ entry('newRelicTestNotificationChannel', 'Sends a test notification through an AI channel.', testNotificationChannel, 'read'),
73
+ entry('newRelicCreateAiNotificationsDestination', 'Creates an AI notifications destination.', createAiNotificationsDestination, 'write'),
74
+ entry('newRelicUpdateAiNotificationsDestination', 'Renames an AI destination.', updateAiNotificationsDestination, 'write'),
75
+ entry('newRelicDeleteAiNotificationsDestination', 'Deletes an AI notifications destination.', deleteAiNotificationsDestination, 'delete'),
76
+ entry('newRelicTestAiNotificationsDestination', 'Validates a destination configuration.', testAiNotificationsDestination, 'read'),
77
+ entry('newRelicTestAiNotificationDestinationById', 'Tests an existing destination by UUID.', testAiNotificationDestinationById, 'read'),
78
+ entry('newRelicCreateAiWorkflow', 'Creates an AI workflow routing issues to channels.', createAiWorkflow, 'write'),
79
+ entry('newRelicUpdateWorkflow', 'Updates an AI workflow.', updateWorkflow, 'write'),
80
+ entry('newRelicCreateAlertChannel', 'Registers a legacy alert channel endpoint.', createAlertChannel, 'write'),
81
+ entry('newRelicGetAlertChannels', 'Lists legacy alert channels.', getAlertChannels, 'read'),
82
+ entry('newRelicUpdateAlertChannel', 'Updates a legacy alert channel.', updateAlertChannel, 'write'),
83
+ entry('newRelicDeleteAlertChannel', 'Deletes a legacy alert channel.', deleteAlertChannel, 'delete'),
84
+ entry('newRelicCreateDashboard', 'Creates a dashboard with pages and widgets.', createDashboard, 'write'),
85
+ entry('newRelicUpdateDashboard', 'Updates a dashboard (pages/widgets replacement).', updateDashboard, 'write'),
86
+ entry('newRelicDeleteDashboard', 'Permanently deletes a dashboard.', deleteDashboard, 'delete'),
87
+ entry('newRelicUndeleteDashboard', 'Recovers a deleted dashboard.', undeleteDashboard, 'write'),
88
+ entry('newRelicCreateDashboardSnapshotUrl', 'Generates a shareable dashboard snapshot URL.', createDashboardSnapshotUrl, 'read'),
89
+ entry('newRelicGetDashboardEntityQuery', 'Reads full dashboard configuration by GUID.', getDashboardEntity, 'read'),
90
+ entry('newRelicAddWidgetsToDashboardPage', 'Adds widgets to a dashboard page.', addWidgetsToDashboardPage, 'write'),
91
+ entry('newRelicUpdateDashboardPage', 'Updates a dashboard page and its widgets.', updateDashboardPage, 'write'),
92
+ entry('newRelicUpdateDashboardWidgetsInPage', 'Updates widgets within a dashboard page.', updateDashboardWidgetsInPage, 'write'),
93
+ entry('newRelicUpdateDashboardLiveUrlCreationPolicies', 'Enables/disables public live-URL creation per account.', updateDashboardLiveUrlCreationPolicies, 'write'),
94
+ entry('newRelicCreateMonitor', 'Creates a legacy synthetic monitor via REST v3.', createMonitor, 'write'),
95
+ entry('newRelicGetSynthMonitor', 'Reads one synthetic monitor by UUID.', getSynthMonitor, 'read'),
96
+ entry('newRelicListMonitors', 'Lists synthetic monitors (limit/offset).', listMonitors, 'read'),
97
+ entry('newRelicPatchMonitor', 'Partially updates a synthetic monitor.', patchMonitor, 'write'),
98
+ entry('newRelicUpdateSynthMonitor', 'Fully replaces a synthetic monitor via PUT.', updateSynthMonitor, 'write'),
99
+ entry('newRelicDeleteMonitor', 'Permanently deletes a synthetic monitor.', deleteMonitor, 'delete'),
100
+ entry('newRelicUpdateMonitorScript', 'Updates a scripted monitor script (base64).', updateMonitorScript, 'write'),
101
+ entry('newRelicListLocations', 'Lists valid synthetic monitor locations.', listLocations, 'read'),
102
+ entry('newRelicCreateSyntheticsSimpleMonitor', 'Creates a ping monitor via NerdGraph.', createSyntheticsSimpleMonitor, 'write'),
103
+ entry('newRelicUpdateSyntheticsSimpleMonitor', 'Updates a ping monitor via NerdGraph.', updateSyntheticsSimpleMonitor, 'write'),
104
+ entry('newRelicCreateScriptedMonitor', 'Creates a scripted browser/API monitor via NerdGraph.', createScriptedMonitor, 'write'),
105
+ entry('newRelicUpdateScriptedMonitor', 'Updates a scripted monitor via NerdGraph.', updateScriptedMonitor, 'write'),
106
+ entry('newRelicCreateBrokenLinksMonitor', 'Creates a broken-links monitor via NerdGraph.', createBrokenLinksMonitor, 'write'),
107
+ entry('newRelicCreateSyntheticsPrivateLocation', 'Creates a private location for synthetics.', createSyntheticsPrivateLocation, 'write'),
108
+ entry('newRelicDeleteSyntheticsPrivateLocation', 'Deletes a private location.', deleteSyntheticsPrivateLocation, 'delete'),
109
+ entry('newRelicDeleteSyntheticsMonitorGraphql', 'Deletes a monitor by GUID via NerdGraph.', deleteSyntheticsMonitorGraphql, 'delete'),
110
+ entry('newRelicCreateSyntheticsSecureCredential', 'Stores a synthetics credential via NerdGraph.', createSyntheticsSecureCredential, 'write'),
111
+ entry('newRelicDeleteSyntheticsSecureCredential', 'Deletes a synthetics credential via NerdGraph.', deleteSyntheticsSecureCredential, 'delete'),
112
+ entry('newRelicGetApplications', 'Lists APM applications with health and Apdex.', getApplications, 'read'),
113
+ entry('newRelicGetAppMetricsNames', 'Lists available metric names for an app.', getAppMetricsNames, 'read'),
114
+ entry('newRelicGetAppMetricData', 'Fetches app metric timeslice data.', getAppMetricData, 'read'),
115
+ entry('newRelicListDeployments', 'Lists deployment markers for an app.', listDeployments, 'read'),
116
+ entry('newRelicListKeyTransactions', 'Lists key transactions.', listKeyTransactions, 'read'),
117
+ entry('newRelicGetBrowserApplications', 'Lists browser applications.', getBrowserApplications, 'read'),
118
+ entry('newRelicListMobileApplications', 'Lists mobile applications.', listMobileApplications, 'read'),
119
+ entry('newRelicGetMobileApplication', 'Reads one mobile app with crash metrics.', getMobileApplication, 'read'),
120
+ entry('newRelicGetMobileApplicationMetrics', 'Lists metric names for a mobile app.', getMobileApplicationMetrics, 'read'),
121
+ entry('newRelicGetMobileMetricData', 'Fetches mobile metric timeslices.', getMobileMetricData, 'read'),
122
+ entry('newRelicCreateSecureCredential', 'Stores a credential via REST v3.', createSecureCredential, 'write'),
123
+ entry('newRelicGetSecureCredential', 'Reads credential metadata (no secret value).', getSecureCredential, 'read'),
124
+ entry('newRelicListSecureCredentials', 'Lists credential metadata for auditing.', listSecureCredentials, 'read'),
125
+ entry('newRelicUpdateSecureCredential', 'Rotates a credential value/description.', updateSecureCredential, 'write'),
126
+ entry('newRelicDeleteSecureCredential', 'Deletes a stored credential.', deleteSecureCredential, 'delete'),
127
+ entry('newRelicCreateLookupTable', 'Uploads a lookup table for NRQL enrichment.', createLookupTable, 'write'),
128
+ entry('newRelicGetLookupTable', 'Downloads a lookup table.', getLookupTable, 'read'),
129
+ entry('newRelicListLookupTables', 'Lists lookup tables for an account.', listLookupTables, 'read'),
130
+ entry('newRelicUpdateLookupTable', 'Fully replaces a lookup table.', updateLookupTable, 'write'),
131
+ entry('newRelicDeleteLookupTable', 'Deletes a lookup table (irreversible).', deleteLookupTable, 'delete'),
132
+ entry('newRelicCreateUser', 'Adds a user with an access tier.', createUser, 'write'),
133
+ entry('newRelicUpdateUser', 'Updates user email/access tier.', updateUser, 'write'),
134
+ entry('newRelicDeleteUserManagementUser', 'Removes a user.', deleteUserManagementUser, 'delete'),
135
+ entry('newRelicUpdateAccount', 'Renames a managed account.', updateAccount, 'write'),
136
+ entry('newRelicRevokeAuthorizationAccess', 'Revokes role grants from a group.', revokeAuthorizationAccess, 'write'),
137
+ entry('newRelicCreateApiAccessKeys', 'Generates user/ingest API keys.', createApiAccessKeys, 'write'),
138
+ entry('newRelicUpdateApiAccessKeys', 'Renames/re-notes API keys.', updateApiAccessKeys, 'write'),
139
+ entry('newRelicDeleteApiAccessKeys', 'Permanently deletes API keys.', deleteApiAccessKeys, 'delete'),
140
+ entry('newRelicLinkCloudAccount', 'Links AWS/Azure/GCP accounts for monitoring.', linkCloudAccount, 'write'),
141
+ entry('newRelicRenameCloudAccount', 'Renames linked cloud accounts.', renameCloudAccount, 'write'),
142
+ entry('newRelicConfigureCloudIntegration', 'Enables service monitoring on linked accounts.', configureCloudIntegration, 'write'),
143
+ entry('newRelicDisableCloudIntegration', 'Stops one cloud-service integration.', disableCloudIntegration, 'delete'),
144
+ entry('newRelicCreateServiceLevel', 'Creates an SLI with optional SLO targets.', createServiceLevel, 'write'),
145
+ entry('newRelicUpdateServiceLevel', 'Updates an SLI/objectives.', updateServiceLevel, 'write'),
146
+ entry('newRelicUpdateWorkload', 'Updates a workload configuration.', updateWorkload, 'write'),
147
+ entry('newRelicDuplicateWorkload', 'Clones a workload.', duplicateWorkload, 'write'),
148
+ entry('newRelicDeleteWorkload', 'Permanently deletes a workload.', deleteWorkload, 'delete'),
149
+ entry('newRelicDeleteEntity', 'Deletes APM/EXT-SERVICE/REF-REPOSITORY entities.', deleteEntity, 'delete'),
150
+ entry('newRelicCreateEntityRelationship', 'Creates/replaces a custom entity relationship.', createEntityRelationship, 'write'),
151
+ entry('newRelicDeleteEntityRelationshipUserDefined', 'Removes custom entity relationships.', deleteEntityRelationshipUserDefined, 'delete'),
152
+ entry('newRelicAddTagsToEntity', 'Adds tags to an entity.', addTagsToEntity, 'write'),
153
+ entry('newRelicDeleteTagValuesFromEntity', 'Removes specific tag values.', deleteTagValuesFromEntity, 'delete'),
154
+ entry('newRelicReplaceTagsOnEntity', 'Replaces the entire tag set.', replaceTagsOnEntity, 'write'),
155
+ entry('newRelicOverrideEntityGoldenMetrics', 'Sets custom golden metrics for an entity type.', overrideEntityGoldenMetrics, 'write'),
156
+ entry('newRelicResetEntityGoldenMetrics', 'Restores default golden metrics.', resetEntityGoldenMetrics, 'write'),
157
+ entry('newRelicOverrideEntityGoldenTags', 'Sets golden tags for an entity type.', overrideEntityGoldenTags, 'write'),
158
+ entry('newRelicResetEntityGoldenTags', 'Restores default golden tags.', resetEntityGoldenTags, 'write'),
159
+ entry('newRelicCreateDeploymentMarker', 'Records a deployment marker on an entity.', createDeploymentMarker, 'write'),
160
+ entry('newRelicCreateExampleBrowserApplication', 'Creates a browser application.', createExampleBrowserApplication, 'write'),
161
+ entry('newRelicCreateExampleMobileApplication', 'Creates a mobile application.', createExampleMobileApplication, 'write'),
162
+ entry('newRelicDeleteAgentApplication', 'Deletes an APM application (silent 12h+).', deleteAgentApplication, 'delete'),
163
+ entry('newRelicUpdateAgentApplicationSettings', 'Toggles server-side config for an APM app.', updateAgentApplicationSettings, 'write'),
164
+ entry('newRelicUpdateBrowserSettings', 'Updates browser agent settings.', updateBrowserSettings, 'write'),
165
+ entry('newRelicUpdateMobileSettingsExample', 'Updates mobile crash/network settings.', updateMobileSettingsExample, 'write'),
166
+ entry('newRelicCreateMetricNormalizationRule', 'Creates a metric normalization rule.', createMetricNormalizationRule, 'write'),
167
+ entry('newRelicEditMetricNormalizationRule', 'Edits a metric normalization rule.', editMetricNormalizationRule, 'write'),
168
+ entry('newRelicEnableMetricNormalizationRule', 'Reactivates a normalization rule.', enableMetricNormalizationRule, 'write'),
169
+ entry('newRelicDisableMetricNormalizationRule', 'Deactivates a normalization rule.', disableMetricNormalizationRule, 'write'),
170
+ entry('newRelicCreateLogDataPartitionRule', 'Creates a log data partition rule.', createLogDataPartitionRule, 'write'),
171
+ entry('newRelicUpdateDataPartitionRule', 'Updates a log data partition rule.', updateDataPartitionRule, 'write'),
172
+ entry('newRelicDeleteDataPartitionRule', 'Deletes a log data partition rule.', deleteDataPartitionRule, 'delete'),
173
+ entry('newRelicFetchBrowserConfiguration', 'Reads browser app JS config.', fetchBrowserConfiguration, 'read'),
174
+ entry('newRelicFetchBrowserJavaScriptSnippet', 'Reads the browser loader snippet.', fetchBrowserJavaScriptSnippet, 'read'),
175
+ entry('newRelicFetchMobileApplicationToken', 'Reads the mobile application token.', fetchMobileApplicationToken, 'read'),
176
+ entry('newRelicSendEvents', 'Sends custom events (Insights insert key).', sendEvents, 'write', true),
177
+ entry('newRelicSendTraces', 'Sends distributed-trace spans (ingest key).', sendTraces, 'write', true),
178
+ ];
179
+ //# sourceMappingURL=index.js.map