@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.
- package/README.md +23 -3
- package/dist/index.d.ts +21 -1
- package/dist/index.js +41 -1
- package/dist/toolkits/accuweather/icon.d.ts +5 -0
- package/dist/toolkits/accuweather/icon.js +6 -0
- package/dist/toolkits/accuweather/manifest.d.ts +3 -0
- package/dist/toolkits/accuweather/manifest.js +35 -0
- package/dist/toolkits/accuweather/tools/alerts-alarms.d.ts +13 -0
- package/dist/toolkits/accuweather/tools/alerts-alarms.js +25 -0
- package/dist/toolkits/accuweather/tools/client.d.ts +17 -0
- package/dist/toolkits/accuweather/tools/client.js +50 -0
- package/dist/toolkits/accuweather/tools/current-conditions.d.ts +21 -0
- package/dist/toolkits/accuweather/tools/current-conditions.js +46 -0
- package/dist/toolkits/accuweather/tools/forecasts.d.ts +17 -0
- package/dist/toolkits/accuweather/tools/forecasts.js +41 -0
- package/dist/toolkits/accuweather/tools/imagery.d.ts +7 -0
- package/dist/toolkits/accuweather/tools/imagery.js +21 -0
- package/dist/toolkits/accuweather/tools/index.d.ts +21 -0
- package/dist/toolkits/accuweather/tools/index.js +60 -0
- package/dist/toolkits/accuweather/tools/indices.d.ts +29 -0
- package/dist/toolkits/accuweather/tools/indices.js +66 -0
- package/dist/toolkits/accuweather/tools/lightning.d.ts +11 -0
- package/dist/toolkits/accuweather/tools/lightning.js +35 -0
- package/dist/toolkits/accuweather/tools/locations.d.ts +101 -0
- package/dist/toolkits/accuweather/tools/locations.js +280 -0
- package/dist/toolkits/accuweather/tools/minutecast.d.ts +11 -0
- package/dist/toolkits/accuweather/tools/minutecast.js +28 -0
- package/dist/toolkits/accuweather/tools/translations.d.ts +20 -0
- package/dist/toolkits/accuweather/tools/translations.js +49 -0
- package/dist/toolkits/accuweather/tools/tropical.d.ts +49 -0
- package/dist/toolkits/accuweather/tools/tropical.js +108 -0
- package/dist/toolkits/aws/tools/cloudwatch/filter-log-events.d.ts +2 -2
- package/dist/toolkits/aws/tools/cloudwatch/get-metric-data.d.ts +2 -2
- package/dist/toolkits/aws/tools/index.d.ts +4 -4
- package/dist/toolkits/bitbucket/tools/commits.d.ts +3 -3
- package/dist/toolkits/bitbucket/tools/index.d.ts +9 -9
- package/dist/toolkits/bitbucket/tools/pull-requests.d.ts +1 -1
- package/dist/toolkits/bitbucket/tools/reports.d.ts +5 -5
- package/dist/toolkits/bitbucket/tools/repositories.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/create-dns-record.d.ts +2 -2
- package/dist/toolkits/cloudflare/tools/create-list.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/create-zone.d.ts +2 -2
- package/dist/toolkits/cloudflare/tools/index.d.ts +13 -13
- package/dist/toolkits/cloudflare/tools/list-accounts.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/list-dns-records.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/list-pools.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/list-tunnels.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/list-zones.d.ts +2 -2
- package/dist/toolkits/cloudflare/tools/update-dns-record.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/update-zone.d.ts +1 -1
- package/dist/toolkits/convex/icon.d.ts +5 -0
- package/dist/toolkits/convex/icon.js +10 -0
- package/dist/toolkits/convex/manifest.d.ts +3 -0
- package/dist/toolkits/convex/manifest.js +33 -0
- package/dist/toolkits/convex/tools/client.d.ts +28 -0
- package/dist/toolkits/convex/tools/client.js +85 -0
- package/dist/toolkits/convex/tools/deploy-keys.d.ts +10 -0
- package/dist/toolkits/convex/tools/deploy-keys.js +46 -0
- package/dist/toolkits/convex/tools/deployments.d.ts +35 -0
- package/dist/toolkits/convex/tools/deployments.js +126 -0
- package/dist/toolkits/convex/tools/domains.d.ts +7 -0
- package/dist/toolkits/convex/tools/domains.js +29 -0
- package/dist/toolkits/convex/tools/functions.d.ts +14 -0
- package/dist/toolkits/convex/tools/functions.js +49 -0
- package/dist/toolkits/convex/tools/index.d.ts +176 -0
- package/dist/toolkits/convex/tools/index.js +145 -0
- package/dist/toolkits/convex/tools/logging.d.ts +5 -0
- package/dist/toolkits/convex/tools/logging.js +25 -0
- package/dist/toolkits/convex/tools/projects.d.ts +31 -0
- package/dist/toolkits/convex/tools/projects.js +111 -0
- package/dist/toolkits/convex/tools/teams.d.ts +12 -0
- package/dist/toolkits/convex/tools/teams.js +62 -0
- package/dist/toolkits/datadog/icon.d.ts +5 -0
- package/dist/toolkits/datadog/icon.js +6 -0
- package/dist/toolkits/datadog/manifest.d.ts +3 -0
- package/dist/toolkits/datadog/manifest.js +44 -0
- package/dist/toolkits/datadog/tools/api-keys.d.ts +21 -0
- package/dist/toolkits/datadog/tools/api-keys.js +42 -0
- package/dist/toolkits/datadog/tools/apm.d.ts +51 -0
- package/dist/toolkits/datadog/tools/apm.js +106 -0
- package/dist/toolkits/datadog/tools/client.d.ts +19 -0
- package/dist/toolkits/datadog/tools/client.js +81 -0
- package/dist/toolkits/datadog/tools/dashboards.d.ts +93 -0
- package/dist/toolkits/datadog/tools/dashboards.js +127 -0
- package/dist/toolkits/datadog/tools/events.d.ts +35 -0
- package/dist/toolkits/datadog/tools/events.js +56 -0
- package/dist/toolkits/datadog/tools/hosts.d.ts +49 -0
- package/dist/toolkits/datadog/tools/hosts.js +87 -0
- package/dist/toolkits/datadog/tools/incidents.d.ts +18 -0
- package/dist/toolkits/datadog/tools/incidents.js +34 -0
- package/dist/toolkits/datadog/tools/index.d.ts +999 -0
- package/dist/toolkits/datadog/tools/index.js +450 -0
- package/dist/toolkits/datadog/tools/integrations.d.ts +32 -0
- package/dist/toolkits/datadog/tools/integrations.js +47 -0
- package/dist/toolkits/datadog/tools/logs.d.ts +39 -0
- package/dist/toolkits/datadog/tools/logs.js +121 -0
- package/dist/toolkits/datadog/tools/metrics.d.ts +27 -0
- package/dist/toolkits/datadog/tools/metrics.js +83 -0
- package/dist/toolkits/datadog/tools/monitors.d.ts +95 -0
- package/dist/toolkits/datadog/tools/monitors.js +190 -0
- package/dist/toolkits/datadog/tools/oncall-notifications.d.ts +61 -0
- package/dist/toolkits/datadog/tools/oncall-notifications.js +155 -0
- package/dist/toolkits/datadog/tools/oncall-policies.d.ts +28 -0
- package/dist/toolkits/datadog/tools/oncall-policies.js +72 -0
- package/dist/toolkits/datadog/tools/oncall-schedules.d.ts +31 -0
- package/dist/toolkits/datadog/tools/oncall-schedules.js +87 -0
- package/dist/toolkits/datadog/tools/oncall-teams.d.ts +14 -0
- package/dist/toolkits/datadog/tools/oncall-teams.js +54 -0
- package/dist/toolkits/datadog/tools/slos.d.ts +43 -0
- package/dist/toolkits/datadog/tools/slos.js +62 -0
- package/dist/toolkits/datadog/tools/synthetics.d.ts +58 -0
- package/dist/toolkits/datadog/tools/synthetics.js +90 -0
- package/dist/toolkits/datadog/tools/usage.d.ts +7 -0
- package/dist/toolkits/datadog/tools/usage.js +25 -0
- package/dist/toolkits/datadog/tools/users.d.ts +35 -0
- package/dist/toolkits/datadog/tools/users.js +66 -0
- package/dist/toolkits/dev-to/icon.d.ts +5 -0
- package/dist/toolkits/dev-to/icon.js +10 -0
- package/dist/toolkits/dev-to/manifest.d.ts +3 -0
- package/dist/toolkits/dev-to/manifest.js +34 -0
- package/dist/toolkits/dev-to/tools/articles.d.ts +78 -0
- package/dist/toolkits/dev-to/tools/articles.js +262 -0
- package/dist/toolkits/dev-to/tools/client.d.ts +25 -0
- package/dist/toolkits/dev-to/tools/client.js +65 -0
- package/dist/toolkits/dev-to/tools/community.d.ts +61 -0
- package/dist/toolkits/dev-to/tools/community.js +244 -0
- package/dist/toolkits/dev-to/tools/index.d.ts +202 -0
- package/dist/toolkits/dev-to/tools/index.js +37 -0
- package/dist/toolkits/dev-to/tools/listings.d.ts +26 -0
- package/dist/toolkits/dev-to/tools/listings.js +92 -0
- package/dist/toolkits/discord/tools/applications.d.ts +6 -6
- package/dist/toolkits/discord/tools/index.d.ts +6 -6
- package/dist/toolkits/figma/tools/create-dev-resources.d.ts +1 -1
- package/dist/toolkits/figma/tools/create-modify-delete-variables.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-activity-logs.d.ts +2 -2
- package/dist/toolkits/figma/tools/get-file-json.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-file-nodes.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-team-component-sets.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-team-components.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-team-styles.d.ts +1 -1
- package/dist/toolkits/figma/tools/get-versions-of-a-file.d.ts +1 -1
- package/dist/toolkits/figma/tools/index.d.ts +10 -10
- package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
- package/dist/toolkits/figma/tools/update-dev-resources.d.ts +1 -1
- package/dist/toolkits/github/tools/Checks/create-check-run.d.ts +1 -1
- package/dist/toolkits/github/tools/Collaborators/add-collaborator.d.ts +1 -1
- package/dist/toolkits/github/tools/Collaborators/check-collaborator.d.ts +1 -1
- package/dist/toolkits/github/tools/Collaborators/remove-collaborator.d.ts +1 -1
- package/dist/toolkits/github/tools/Dependabot/list-alerts.d.ts +2 -2
- package/dist/toolkits/github/tools/Organizations/list-org-repositories.d.ts +1 -1
- package/dist/toolkits/github/tools/Organizations/update-organization.d.ts +1 -1
- package/dist/toolkits/github/tools/Projects/update-project.d.ts +1 -1
- package/dist/toolkits/github/tools/Releases/create-release.d.ts +1 -1
- package/dist/toolkits/github/tools/Releases/update-release.d.ts +1 -1
- package/dist/toolkits/github/tools/SecurityAdvisories/create-repository-advisory.d.ts +2 -2
- package/dist/toolkits/github/tools/SecurityAdvisories/get-repository-advisory.d.ts +1 -1
- package/dist/toolkits/github/tools/SecurityAdvisories/list-global-advisories.d.ts +1 -1
- package/dist/toolkits/github/tools/SecurityAdvisories/list-repository-advisories.d.ts +1 -1
- package/dist/toolkits/github/tools/Teams/update-team.d.ts +1 -1
- package/dist/toolkits/github/tools/Users/follow-user.d.ts +1 -1
- package/dist/toolkits/github/tools/Users/update-authenticated-user.d.ts +1 -1
- package/dist/toolkits/github/tools/Webhooks/create-repo-webhook.d.ts +1 -1
- package/dist/toolkits/github/tools/Workflows/list-workflows.d.ts +1 -1
- package/dist/toolkits/github/tools/index.d.ts +21 -21
- package/dist/toolkits/gitlab/tools/index.d.ts +2 -2
- package/dist/toolkits/gitlab/tools/pipelines.d.ts +1 -1
- package/dist/toolkits/gitlab/tools/projects.d.ts +1 -1
- package/dist/toolkits/gmail/manifest.js +204 -1
- package/dist/toolkits/gmail/tools/create-label.d.ts +2 -2
- package/dist/toolkits/gmail/tools/index.d.ts +5 -0
- package/dist/toolkits/gmail/tools/index.js +5 -0
- package/dist/toolkits/gmail/tools/labels-threads.d.ts +47 -0
- package/dist/toolkits/gmail/tools/labels-threads.js +110 -0
- package/dist/toolkits/gmail/tools/list-drafts.d.ts +1 -1
- package/dist/toolkits/gmail/tools/list-threads.d.ts +1 -1
- package/dist/toolkits/gmail/tools/mailbox.d.ts +46 -0
- package/dist/toolkits/gmail/tools/mailbox.js +142 -0
- package/dist/toolkits/gmail/tools/messages-extra.d.ts +34 -0
- package/dist/toolkits/gmail/tools/messages-extra.js +176 -0
- package/dist/toolkits/gmail/tools/people-extra.d.ts +18 -0
- package/dist/toolkits/gmail/tools/people-extra.js +67 -0
- package/dist/toolkits/gmail/tools/settings.d.ts +100 -0
- package/dist/toolkits/gmail/tools/settings.js +210 -0
- package/dist/toolkits/google-analytics/tools/admin.d.ts +3 -3
- package/dist/toolkits/google-analytics/tools/custom-definitions.d.ts +2 -2
- package/dist/toolkits/google-analytics/tools/reports.d.ts +9 -9
- package/dist/toolkits/google-classroom/tools/announcement-addons.d.ts +4 -4
- package/dist/toolkits/google-classroom/tools/coursework-addons.d.ts +2 -2
- package/dist/toolkits/google-classroom/tools/coursework.d.ts +1 -1
- package/dist/toolkits/google-classroom/tools/index.d.ts +14 -14
- package/dist/toolkits/google-classroom/tools/invitations.d.ts +2 -2
- package/dist/toolkits/google-classroom/tools/materials-addons.d.ts +2 -2
- package/dist/toolkits/google-classroom/tools/misc.d.ts +1 -1
- package/dist/toolkits/google-classroom/tools/posts-addons.d.ts +1 -1
- package/dist/toolkits/google-classroom/tools/roster.d.ts +5 -5
- package/dist/toolkits/google-contacts/tools/contacts.d.ts +5 -5
- package/dist/toolkits/google-contacts/tools/directory.d.ts +3 -3
- package/dist/toolkits/google-contacts/tools/groups.d.ts +1 -1
- package/dist/toolkits/google-contacts/tools/index.d.ts +9 -9
- package/dist/toolkits/google-drive/tools/index.d.ts +3 -3
- package/dist/toolkits/google-drive/tools/search-files.d.ts +1 -1
- package/dist/toolkits/google-drive/tools/upload-file.d.ts +2 -2
- package/dist/toolkits/google-maps/tools/index.d.ts +4 -4
- package/dist/toolkits/google-maps/tools/places.d.ts +4 -4
- package/dist/toolkits/google-search-console/tools/index.d.ts +2 -2
- package/dist/toolkits/google-search-console/tools/search-analytics-query.d.ts +2 -2
- package/dist/toolkits/google-sheets/tools/index.d.ts +1 -1
- package/dist/toolkits/google-sheets/tools/list-spreadsheets.d.ts +1 -1
- package/dist/toolkits/google-tasks/tools/batch-execute.d.ts +1 -1
- package/dist/toolkits/google-tasks/tools/index.d.ts +2 -2
- package/dist/toolkits/google-tasks/tools/update-task-full.d.ts +1 -1
- package/dist/toolkits/groww/tools/index.d.ts +8 -8
- package/dist/toolkits/groww/tools/margin.d.ts +1 -1
- package/dist/toolkits/groww/tools/orders.d.ts +2 -2
- package/dist/toolkits/groww/tools/smart-orders.d.ts +5 -5
- package/dist/toolkits/gumroad/icon.d.ts +5 -0
- package/dist/toolkits/gumroad/icon.js +6 -0
- package/dist/toolkits/gumroad/manifest.d.ts +3 -0
- package/dist/toolkits/gumroad/manifest.js +41 -0
- package/dist/toolkits/gumroad/tools/client.d.ts +16 -0
- package/dist/toolkits/gumroad/tools/client.js +53 -0
- package/dist/toolkits/gumroad/tools/index.d.ts +12 -0
- package/dist/toolkits/gumroad/tools/index.js +17 -0
- package/dist/toolkits/gumroad/tools/sales.d.ts +34 -0
- package/dist/toolkits/gumroad/tools/sales.js +68 -0
- package/dist/toolkits/hostinger/tools/hosting.d.ts +2 -2
- package/dist/toolkits/hostinger/tools/index.d.ts +4 -4
- package/dist/toolkits/hostinger/tools/whois.d.ts +2 -2
- package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/datasets.d.ts +2 -2
- package/dist/toolkits/hugging-face/tools/index.d.ts +3 -3
- package/dist/toolkits/hugging-face/tools/models.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/papers.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/repos.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/spaces.d.ts +1 -1
- package/dist/toolkits/jira/tools/boards.d.ts +1 -1
- package/dist/toolkits/jira/tools/index.d.ts +8 -8
- package/dist/toolkits/jira/tools/meta.d.ts +3 -3
- package/dist/toolkits/jira/tools/projects.d.ts +1 -1
- package/dist/toolkits/jira/tools/users.d.ts +4 -4
- package/dist/toolkits/kaggle/icon.d.ts +5 -0
- package/dist/toolkits/kaggle/icon.js +6 -0
- package/dist/toolkits/kaggle/manifest.d.ts +3 -0
- package/dist/toolkits/kaggle/manifest.js +32 -0
- package/dist/toolkits/kaggle/tools/client.d.ts +10 -0
- package/dist/toolkits/kaggle/tools/client.js +94 -0
- package/dist/toolkits/kaggle/tools/competitions.d.ts +48 -0
- package/dist/toolkits/kaggle/tools/competitions.js +109 -0
- package/dist/toolkits/kaggle/tools/config.d.ts +110 -0
- package/dist/toolkits/kaggle/tools/config.js +256 -0
- package/dist/toolkits/kaggle/tools/datasets.d.ts +88 -0
- package/dist/toolkits/kaggle/tools/datasets.js +161 -0
- package/dist/toolkits/kaggle/tools/index.d.ts +482 -0
- package/dist/toolkits/kaggle/tools/index.js +53 -0
- package/dist/toolkits/kaggle/tools/kernels.d.ts +62 -0
- package/dist/toolkits/kaggle/tools/kernels.js +121 -0
- package/dist/toolkits/kaggle/tools/model_instance_files.d.ts +11 -0
- package/dist/toolkits/kaggle/tools/model_instance_files.js +23 -0
- package/dist/toolkits/kaggle/tools/model_instances.d.ts +8 -0
- package/dist/toolkits/kaggle/tools/model_instances.js +20 -0
- package/dist/toolkits/kaggle/tools/models.d.ts +14 -0
- package/dist/toolkits/kaggle/tools/models.js +33 -0
- package/dist/toolkits/nasa/icon.d.ts +5 -0
- package/dist/toolkits/nasa/icon.js +56 -0
- package/dist/toolkits/nasa/manifest.d.ts +3 -0
- package/dist/toolkits/nasa/manifest.js +49 -0
- package/dist/toolkits/nasa/tools/agage.d.ts +60 -0
- package/dist/toolkits/nasa/tools/agage.js +176 -0
- package/dist/toolkits/nasa/tools/client.d.ts +95 -0
- package/dist/toolkits/nasa/tools/client.js +337 -0
- package/dist/toolkits/nasa/tools/cmr.d.ts +268 -0
- package/dist/toolkits/nasa/tools/cmr.js +984 -0
- package/dist/toolkits/nasa/tools/donki.d.ts +63 -0
- package/dist/toolkits/nasa/tools/donki.js +301 -0
- package/dist/toolkits/nasa/tools/eonet.d.ts +74 -0
- package/dist/toolkits/nasa/tools/eonet.js +279 -0
- package/dist/toolkits/nasa/tools/icesat2.d.ts +25 -0
- package/dist/toolkits/nasa/tools/icesat2.js +97 -0
- package/dist/toolkits/nasa/tools/imagery.d.ts +36 -0
- package/dist/toolkits/nasa/tools/imagery.js +138 -0
- package/dist/toolkits/nasa/tools/index.d.ts +1063 -0
- package/dist/toolkits/nasa/tools/index.js +865 -0
- package/dist/toolkits/nasa/tools/neo.d.ts +15 -0
- package/dist/toolkits/nasa/tools/neo.js +75 -0
- package/dist/toolkits/nasa/tools/ntrs.d.ts +152 -0
- package/dist/toolkits/nasa/tools/ntrs.js +292 -0
- package/dist/toolkits/nasa/tools/osdr.d.ts +72 -0
- package/dist/toolkits/nasa/tools/osdr.js +290 -0
- package/dist/toolkits/nasa/tools/planetary.d.ts +58 -0
- package/dist/toolkits/nasa/tools/planetary.js +312 -0
- package/dist/toolkits/nasa/tools/power.d.ts +52 -0
- package/dist/toolkits/nasa/tools/power.js +213 -0
- package/dist/toolkits/nasa/tools/ssc.d.ts +44 -0
- package/dist/toolkits/nasa/tools/ssc.js +92 -0
- package/dist/toolkits/nasa/tools/tolnet.d.ts +84 -0
- package/dist/toolkits/nasa/tools/tolnet.js +254 -0
- package/dist/toolkits/neo4j/tools/analytics.d.ts +1 -1
- package/dist/toolkits/neo4j/tools/index.d.ts +3 -3
- package/dist/toolkits/neo4j/tools/instances.d.ts +2 -2
- package/dist/toolkits/neon/tools/auth.d.ts +5 -5
- package/dist/toolkits/neon/tools/dataapi.d.ts +1 -1
- package/dist/toolkits/neon/tools/index.d.ts +8 -8
- package/dist/toolkits/neon/tools/projects.d.ts +2 -2
- package/dist/toolkits/new-relic/icon.d.ts +5 -0
- package/dist/toolkits/new-relic/icon.js +6 -0
- package/dist/toolkits/new-relic/manifest.d.ts +3 -0
- package/dist/toolkits/new-relic/manifest.js +41 -0
- package/dist/toolkits/new-relic/tools/admin.d.ts +310 -0
- package/dist/toolkits/new-relic/tools/admin.js +282 -0
- package/dist/toolkits/new-relic/tools/alert-policies.d.ts +74 -0
- package/dist/toolkits/new-relic/tools/alert-policies.js +136 -0
- package/dist/toolkits/new-relic/tools/apm.d.ts +129 -0
- package/dist/toolkits/new-relic/tools/apm.js +228 -0
- package/dist/toolkits/new-relic/tools/client.d.ts +62 -0
- package/dist/toolkits/new-relic/tools/client.js +167 -0
- package/dist/toolkits/new-relic/tools/conditions.d.ts +190 -0
- package/dist/toolkits/new-relic/tools/conditions.js +265 -0
- package/dist/toolkits/new-relic/tools/config.d.ts +73 -0
- package/dist/toolkits/new-relic/tools/config.js +131 -0
- package/dist/toolkits/new-relic/tools/dashboards.d.ts +204 -0
- package/dist/toolkits/new-relic/tools/dashboards.js +159 -0
- package/dist/toolkits/new-relic/tools/entities.d.ts +160 -0
- package/dist/toolkits/new-relic/tools/entities.js +218 -0
- package/dist/toolkits/new-relic/tools/index.d.ts +23 -0
- package/dist/toolkits/new-relic/tools/index.js +179 -0
- package/dist/toolkits/new-relic/tools/ingest.d.ts +31 -0
- package/dist/toolkits/new-relic/tools/ingest.js +80 -0
- package/dist/toolkits/new-relic/tools/notifications.d.ts +186 -0
- package/dist/toolkits/new-relic/tools/notifications.js +232 -0
- package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +105 -0
- package/dist/toolkits/new-relic/tools/nrql-conditions.js +136 -0
- package/dist/toolkits/new-relic/tools/nrql.d.ts +38 -0
- package/dist/toolkits/new-relic/tools/nrql.js +99 -0
- package/dist/toolkits/new-relic/tools/synthetics.d.ts +176 -0
- package/dist/toolkits/new-relic/tools/synthetics.js +246 -0
- package/dist/toolkits/notebook-lm/icon.d.ts +5 -0
- package/dist/toolkits/notebook-lm/icon.js +6 -0
- package/dist/toolkits/notebook-lm/manifest.d.ts +3 -0
- package/dist/toolkits/notebook-lm/manifest.js +44 -0
- package/dist/toolkits/notebook-lm/tools/add-text-sources.d.ts +36 -0
- package/dist/toolkits/notebook-lm/tools/add-text-sources.js +51 -0
- package/dist/toolkits/notebook-lm/tools/create-audio-overview.d.ts +47 -0
- package/dist/toolkits/notebook-lm/tools/create-audio-overview.js +55 -0
- package/dist/toolkits/notebook-lm/tools/create-notebook.d.ts +52 -0
- package/dist/toolkits/notebook-lm/tools/create-notebook.js +49 -0
- package/dist/toolkits/notebook-lm/tools/delete-audio-overview.d.ts +33 -0
- package/dist/toolkits/notebook-lm/tools/delete-audio-overview.js +46 -0
- package/dist/toolkits/notebook-lm/tools/delete-notebooks.d.ts +32 -0
- package/dist/toolkits/notebook-lm/tools/delete-notebooks.js +46 -0
- package/dist/toolkits/notebook-lm/tools/delete-sources.d.ts +33 -0
- package/dist/toolkits/notebook-lm/tools/delete-sources.js +47 -0
- package/dist/toolkits/notebook-lm/tools/get-notebook.d.ts +52 -0
- package/dist/toolkits/notebook-lm/tools/get-notebook.js +45 -0
- package/dist/toolkits/notebook-lm/tools/get-source.d.ts +53 -0
- package/dist/toolkits/notebook-lm/tools/get-source.js +47 -0
- package/dist/toolkits/notebook-lm/tools/index.d.ts +516 -0
- package/dist/toolkits/notebook-lm/tools/index.js +93 -0
- package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +32 -0
- package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.js +41 -0
- package/dist/toolkits/notebook-lm/tools/share-notebook.d.ts +48 -0
- package/dist/toolkits/notebook-lm/tools/share-notebook.js +57 -0
- package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +40 -0
- package/dist/toolkits/notebook-lm/tools/upload-source-file.js +62 -0
- package/dist/toolkits/notebook-lm/tools/utils.d.ts +15 -0
- package/dist/toolkits/notebook-lm/tools/utils.js +46 -0
- package/dist/toolkits/npm/icon.d.ts +5 -0
- package/dist/toolkits/npm/icon.js +11 -0
- package/dist/toolkits/npm/manifest.d.ts +3 -0
- package/dist/toolkits/npm/manifest.js +35 -0
- package/dist/toolkits/npm/tools/client.d.ts +19 -0
- package/dist/toolkits/npm/tools/client.js +64 -0
- package/dist/toolkits/npm/tools/downloads.d.ts +19 -0
- package/dist/toolkits/npm/tools/downloads.js +39 -0
- package/dist/toolkits/npm/tools/index.d.ts +14 -0
- package/dist/toolkits/npm/tools/index.js +24 -0
- package/dist/toolkits/npm/tools/registry.d.ts +24 -0
- package/dist/toolkits/npm/tools/registry.js +58 -0
- package/dist/toolkits/npm/tools/security.d.ts +9 -0
- package/dist/toolkits/npm/tools/security.js +29 -0
- package/dist/toolkits/postman/icon.d.ts +5 -0
- package/dist/toolkits/postman/icon.js +14 -0
- package/dist/toolkits/postman/manifest.d.ts +3 -0
- package/dist/toolkits/postman/manifest.js +35 -0
- package/dist/toolkits/postman/tools/client.d.ts +23 -0
- package/dist/toolkits/postman/tools/client.js +59 -0
- package/dist/toolkits/postman/tools/collections.d.ts +93 -0
- package/dist/toolkits/postman/tools/collections.js +358 -0
- package/dist/toolkits/postman/tools/comments.d.ts +113 -0
- package/dist/toolkits/postman/tools/comments.js +387 -0
- package/dist/toolkits/postman/tools/designs_and_apis.d.ts +106 -0
- package/dist/toolkits/postman/tools/designs_and_apis.js +385 -0
- package/dist/toolkits/postman/tools/environments.d.ts +63 -0
- package/dist/toolkits/postman/tools/environments.js +208 -0
- package/dist/toolkits/postman/tools/index.d.ts +1204 -0
- package/dist/toolkits/postman/tools/index.js +143 -0
- package/dist/toolkits/postman/tools/items.d.ts +90 -0
- package/dist/toolkits/postman/tools/items.js +286 -0
- package/dist/toolkits/postman/tools/mocks_and_tests.d.ts +100 -0
- package/dist/toolkits/postman/tools/mocks_and_tests.js +363 -0
- package/dist/toolkits/postman/tools/pull_requests.d.ts +26 -0
- package/dist/toolkits/postman/tools/pull_requests.js +108 -0
- package/dist/toolkits/postman/tools/scim_users_teams.d.ts +31 -0
- package/dist/toolkits/postman/tools/scim_users_teams.js +156 -0
- package/dist/toolkits/postman/tools/specs.d.ts +100 -0
- package/dist/toolkits/postman/tools/specs.js +380 -0
- package/dist/toolkits/postman/tools/webhooks.d.ts +8 -0
- package/dist/toolkits/postman/tools/webhooks.js +40 -0
- package/dist/toolkits/postman/tools/workspaces.d.ts +50 -0
- package/dist/toolkits/postman/tools/workspaces.js +198 -0
- package/dist/toolkits/prometheus/icon.d.ts +5 -0
- package/dist/toolkits/prometheus/icon.js +52 -0
- package/dist/toolkits/prometheus/manifest.d.ts +3 -0
- package/dist/toolkits/prometheus/manifest.js +32 -0
- package/dist/toolkits/prometheus/tools/admin.d.ts +19 -0
- package/dist/toolkits/prometheus/tools/admin.js +90 -0
- package/dist/toolkits/prometheus/tools/client.d.ts +22 -0
- package/dist/toolkits/prometheus/tools/client.js +91 -0
- package/dist/toolkits/prometheus/tools/discovery.d.ts +82 -0
- package/dist/toolkits/prometheus/tools/discovery.js +182 -0
- package/dist/toolkits/prometheus/tools/index.d.ts +16 -0
- package/dist/toolkits/prometheus/tools/index.js +51 -0
- package/dist/toolkits/prometheus/tools/query.d.ts +33 -0
- package/dist/toolkits/prometheus/tools/query.js +101 -0
- package/dist/toolkits/prometheus/tools/status.d.ts +66 -0
- package/dist/toolkits/prometheus/tools/status.js +248 -0
- package/dist/toolkits/prometheus/tools/targets.d.ts +31 -0
- package/dist/toolkits/prometheus/tools/targets.js +117 -0
- package/dist/toolkits/razorpay/icon.d.ts +5 -0
- package/dist/toolkits/razorpay/icon.js +33 -0
- package/dist/toolkits/razorpay/manifest.d.ts +3 -0
- package/dist/toolkits/razorpay/manifest.js +32 -0
- package/dist/toolkits/razorpay/tools/client.d.ts +24 -0
- package/dist/toolkits/razorpay/tools/client.js +73 -0
- package/dist/toolkits/razorpay/tools/customers.d.ts +29 -0
- package/dist/toolkits/razorpay/tools/customers.js +53 -0
- package/dist/toolkits/razorpay/tools/index.d.ts +16 -0
- package/dist/toolkits/razorpay/tools/index.js +56 -0
- package/dist/toolkits/razorpay/tools/invoices.d.ts +169 -0
- package/dist/toolkits/razorpay/tools/invoices.js +143 -0
- package/dist/toolkits/razorpay/tools/items-links.d.ts +98 -0
- package/dist/toolkits/razorpay/tools/items-links.js +131 -0
- package/dist/toolkits/razorpay/tools/orders.d.ts +63 -0
- package/dist/toolkits/razorpay/tools/orders.js +99 -0
- package/dist/toolkits/razorpay/tools/payouts.d.ts +58 -0
- package/dist/toolkits/razorpay/tools/payouts.js +91 -0
- package/dist/toolkits/servicenow/icon.d.ts +5 -0
- package/dist/toolkits/servicenow/icon.js +6 -0
- package/dist/toolkits/servicenow/manifest.d.ts +3 -0
- package/dist/toolkits/servicenow/manifest.js +33 -0
- package/dist/toolkits/servicenow/tools/attachments.d.ts +35 -0
- package/dist/toolkits/servicenow/tools/attachments.js +120 -0
- package/dist/toolkits/servicenow/tools/catalog.d.ts +122 -0
- package/dist/toolkits/servicenow/tools/catalog.js +333 -0
- package/dist/toolkits/servicenow/tools/changes.d.ts +374 -0
- package/dist/toolkits/servicenow/tools/changes.js +609 -0
- package/dist/toolkits/servicenow/tools/cicd.d.ts +109 -0
- package/dist/toolkits/servicenow/tools/cicd.js +316 -0
- package/dist/toolkits/servicenow/tools/client.d.ts +42 -0
- package/dist/toolkits/servicenow/tools/client.js +168 -0
- package/dist/toolkits/servicenow/tools/cmdb.d.ts +224 -0
- package/dist/toolkits/servicenow/tools/cmdb.js +460 -0
- package/dist/toolkits/servicenow/tools/imports.d.ts +13 -0
- package/dist/toolkits/servicenow/tools/imports.js +36 -0
- package/dist/toolkits/servicenow/tools/incidents.d.ts +94 -0
- package/dist/toolkits/servicenow/tools/incidents.js +226 -0
- package/dist/toolkits/servicenow/tools/index.d.ts +1566 -0
- package/dist/toolkits/servicenow/tools/index.js +169 -0
- package/dist/toolkits/servicenow/tools/platform.d.ts +124 -0
- package/dist/toolkits/servicenow/tools/platform.js +298 -0
- package/dist/toolkits/servicenow/tools/records.d.ts +73 -0
- package/dist/toolkits/servicenow/tools/records.js +185 -0
- package/dist/toolkits/servicenow/tools/sdon.d.ts +48 -0
- package/dist/toolkits/servicenow/tools/sdon.js +81 -0
- package/dist/toolkits/slack/tools/admin-conversations.d.ts +2 -2
- package/dist/toolkits/slack/tools/admin-users.d.ts +1 -1
- package/dist/toolkits/slack/tools/emoji.d.ts +1 -1
- package/dist/toolkits/slack/tools/messages.d.ts +2 -2
- package/dist/toolkits/slack/tools/reactions-stars-pins.d.ts +2 -2
- package/dist/toolkits/slack/tools/search.d.ts +3 -3
- package/dist/toolkits/slack/tools/slack-lists.d.ts +3 -3
- package/dist/toolkits/slack/tools/users.d.ts +1 -1
- package/dist/toolkits/snowflake/icon.d.ts +5 -0
- package/dist/toolkits/snowflake/icon.js +6 -0
- package/dist/toolkits/snowflake/manifest.d.ts +3 -0
- package/dist/toolkits/snowflake/manifest.js +32 -0
- package/dist/toolkits/snowflake/tools/catalog.d.ts +56 -0
- package/dist/toolkits/snowflake/tools/catalog.js +123 -0
- package/dist/toolkits/snowflake/tools/client.d.ts +53 -0
- package/dist/toolkits/snowflake/tools/client.js +145 -0
- package/dist/toolkits/snowflake/tools/index.d.ts +14 -0
- package/dist/toolkits/snowflake/tools/index.js +28 -0
- package/dist/toolkits/snowflake/tools/statements.d.ts +27 -0
- package/dist/toolkits/snowflake/tools/statements.js +84 -0
- package/dist/toolkits/snowflake/tools/status.d.ts +22 -0
- package/dist/toolkits/snowflake/tools/status.js +54 -0
- package/dist/toolkits/telegram/icon.d.ts +5 -0
- package/dist/toolkits/telegram/icon.js +6 -0
- package/dist/toolkits/telegram/manifest.d.ts +3 -0
- package/dist/toolkits/telegram/manifest.js +34 -0
- package/dist/toolkits/telegram/tools/bot.d.ts +13 -0
- package/dist/toolkits/telegram/tools/bot.js +23 -0
- package/dist/toolkits/telegram/tools/chats.d.ts +22 -0
- package/dist/toolkits/telegram/tools/chats.js +46 -0
- package/dist/toolkits/telegram/tools/client.d.ts +12 -0
- package/dist/toolkits/telegram/tools/client.js +46 -0
- package/dist/toolkits/telegram/tools/index.d.ts +15 -0
- package/dist/toolkits/telegram/tools/index.js +31 -0
- package/dist/toolkits/telegram/tools/messages.d.ts +86 -0
- package/dist/toolkits/telegram/tools/messages.js +134 -0
- package/dist/toolkits/telegram/tools/updates.d.ts +23 -0
- package/dist/toolkits/telegram/tools/updates.js +54 -0
- package/dist/toolkits/vercel/icon.d.ts +5 -0
- package/dist/toolkits/vercel/icon.js +6 -0
- package/dist/toolkits/vercel/manifest.d.ts +3 -0
- package/dist/toolkits/vercel/manifest.js +35 -0
- package/dist/toolkits/vercel/tools/aliases.d.ts +47 -0
- package/dist/toolkits/vercel/tools/aliases.js +141 -0
- package/dist/toolkits/vercel/tools/auth.d.ts +23 -0
- package/dist/toolkits/vercel/tools/auth.js +117 -0
- package/dist/toolkits/vercel/tools/cache-artifacts.d.ts +57 -0
- package/dist/toolkits/vercel/tools/cache-artifacts.js +205 -0
- package/dist/toolkits/vercel/tools/certs.d.ts +9 -0
- package/dist/toolkits/vercel/tools/certs.js +31 -0
- package/dist/toolkits/vercel/tools/client.d.ts +17 -0
- package/dist/toolkits/vercel/tools/client.js +53 -0
- package/dist/toolkits/vercel/tools/deployments.d.ts +169 -0
- package/dist/toolkits/vercel/tools/deployments.js +443 -0
- package/dist/toolkits/vercel/tools/domains.d.ts +229 -0
- package/dist/toolkits/vercel/tools/domains.js +719 -0
- package/dist/toolkits/vercel/tools/edge-config.d.ts +110 -0
- package/dist/toolkits/vercel/tools/edge-config.js +402 -0
- package/dist/toolkits/vercel/tools/environment-variables.d.ts +137 -0
- package/dist/toolkits/vercel/tools/environment-variables.js +411 -0
- package/dist/toolkits/vercel/tools/firewall.d.ts +57 -0
- package/dist/toolkits/vercel/tools/firewall.js +187 -0
- package/dist/toolkits/vercel/tools/index.d.ts +1944 -0
- package/dist/toolkits/vercel/tools/index.js +312 -0
- package/dist/toolkits/vercel/tools/logs.d.ts +35 -0
- package/dist/toolkits/vercel/tools/logs.js +129 -0
- package/dist/toolkits/vercel/tools/misc.d.ts +140 -0
- package/dist/toolkits/vercel/tools/misc.js +486 -0
- package/dist/toolkits/vercel/tools/projects.d.ts +194 -0
- package/dist/toolkits/vercel/tools/projects.js +468 -0
- package/dist/toolkits/vercel/tools/teams.d.ts +50 -0
- package/dist/toolkits/vercel/tools/teams.js +144 -0
- package/dist/toolkits/vercel/tools/webhooks.d.ts +27 -0
- package/dist/toolkits/vercel/tools/webhooks.js +103 -0
- package/dist/toolkits/wise/icon.d.ts +5 -0
- package/dist/toolkits/wise/icon.js +15 -0
- package/dist/toolkits/wise/manifest.d.ts +3 -0
- package/dist/toolkits/wise/manifest.js +30 -0
- package/dist/toolkits/wise/tools/create-quote.d.ts +86 -0
- package/dist/toolkits/wise/tools/create-quote.js +64 -0
- package/dist/toolkits/wise/tools/get-exchange-rate.d.ts +42 -0
- package/dist/toolkits/wise/tools/get-exchange-rate.js +44 -0
- package/dist/toolkits/wise/tools/get-quote.d.ts +82 -0
- package/dist/toolkits/wise/tools/get-quote.js +46 -0
- package/dist/toolkits/wise/tools/index.d.ts +475 -0
- package/dist/toolkits/wise/tools/index.js +77 -0
- package/dist/toolkits/wise/tools/list-activities.d.ts +43 -0
- package/dist/toolkits/wise/tools/list-activities.js +49 -0
- package/dist/toolkits/wise/tools/list-balances.d.ts +30 -0
- package/dist/toolkits/wise/tools/list-balances.js +34 -0
- package/dist/toolkits/wise/tools/list-currencies.d.ts +29 -0
- package/dist/toolkits/wise/tools/list-currencies.js +31 -0
- package/dist/toolkits/wise/tools/list-profiles.d.ts +28 -0
- package/dist/toolkits/wise/tools/list-profiles.js +29 -0
- package/dist/toolkits/wise/tools/list-recipients.d.ts +43 -0
- package/dist/toolkits/wise/tools/list-recipients.js +54 -0
- package/dist/toolkits/wise/tools/list-transfers.d.ts +44 -0
- package/dist/toolkits/wise/tools/list-transfers.js +52 -0
- package/dist/toolkits/wise/tools/utils.d.ts +18 -0
- package/dist/toolkits/wise/tools/utils.js +39 -0
- package/dist/toolkits/wordpress/icon.d.ts +5 -0
- package/dist/toolkits/wordpress/icon.js +6 -0
- package/dist/toolkits/wordpress/manifest.d.ts +3 -0
- package/dist/toolkits/wordpress/manifest.js +36 -0
- package/dist/toolkits/wordpress/tools/create-draft-post.d.ts +47 -0
- package/dist/toolkits/wordpress/tools/create-draft-post.js +68 -0
- package/dist/toolkits/wordpress/tools/delete-draft-post.d.ts +38 -0
- package/dist/toolkits/wordpress/tools/delete-draft-post.js +51 -0
- package/dist/toolkits/wordpress/tools/get-post.d.ts +41 -0
- package/dist/toolkits/wordpress/tools/get-post.js +48 -0
- package/dist/toolkits/wordpress/tools/get-site-overview.d.ts +67 -0
- package/dist/toolkits/wordpress/tools/get-site-overview.js +91 -0
- package/dist/toolkits/wordpress/tools/index.d.ts +489 -0
- package/dist/toolkits/wordpress/tools/index.js +85 -0
- package/dist/toolkits/wordpress/tools/list-blogging-prompts.d.ts +48 -0
- package/dist/toolkits/wordpress/tools/list-blogging-prompts.js +55 -0
- package/dist/toolkits/wordpress/tools/list-cms-resources.d.ts +45 -0
- package/dist/toolkits/wordpress/tools/list-cms-resources.js +77 -0
- package/dist/toolkits/wordpress/tools/list-content.d.ts +49 -0
- package/dist/toolkits/wordpress/tools/list-content.js +71 -0
- package/dist/toolkits/wordpress/tools/list-reader-subscriptions.d.ts +24 -0
- package/dist/toolkits/wordpress/tools/list-reader-subscriptions.js +39 -0
- package/dist/toolkits/wordpress/tools/list-sites.d.ts +26 -0
- package/dist/toolkits/wordpress/tools/list-sites.js +69 -0
- package/dist/toolkits/wordpress/tools/update-draft-post.d.ts +51 -0
- package/dist/toolkits/wordpress/tools/update-draft-post.js +93 -0
- package/dist/toolkits/wordpress/tools/utils.d.ts +18 -0
- package/dist/toolkits/wordpress/tools/utils.js +33 -0
- package/dist/toolkits/youtube/tools/get-channel-activities.d.ts +1 -1
- package/dist/toolkits/youtube/tools/index.d.ts +5 -5
- package/dist/toolkits/youtube/tools/list-channel-sections.d.ts +1 -1
- package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
- package/dist/toolkits/youtube/tools/subscribe-channel.d.ts +1 -1
- package/dist/toolkits/youtube/tools/unsubscribe-channel.d.ts +1 -1
- package/dist/toolkits/zoho/icon.d.ts +5 -0
- package/dist/toolkits/zoho/icon.js +125 -0
- package/dist/toolkits/zoho/manifest.d.ts +3 -0
- package/dist/toolkits/zoho/manifest.js +54 -0
- package/dist/toolkits/zoho/tools/convert-zoho-lead.d.ts +11 -0
- package/dist/toolkits/zoho/tools/convert-zoho-lead.js +47 -0
- package/dist/toolkits/zoho/tools/create-contact.d.ts +36 -0
- package/dist/toolkits/zoho/tools/create-contact.js +58 -0
- package/dist/toolkits/zoho/tools/create-deal.d.ts +17 -0
- package/dist/toolkits/zoho/tools/create-deal.js +39 -0
- package/dist/toolkits/zoho/tools/create-email-draft.d.ts +7 -0
- package/dist/toolkits/zoho/tools/create-email-draft.js +30 -0
- package/dist/toolkits/zoho/tools/create-event.d.ts +18 -0
- package/dist/toolkits/zoho/tools/create-event.js +40 -0
- package/dist/toolkits/zoho/tools/create-lead.d.ts +31 -0
- package/dist/toolkits/zoho/tools/create-lead.js +53 -0
- package/dist/toolkits/zoho/tools/create-note.d.ts +8 -0
- package/dist/toolkits/zoho/tools/create-note.js +31 -0
- package/dist/toolkits/zoho/tools/create-zoho-record.d.ts +8 -0
- package/dist/toolkits/zoho/tools/create-zoho-record.js +35 -0
- package/dist/toolkits/zoho/tools/create-zoho-tag.d.ts +7 -0
- package/dist/toolkits/zoho/tools/create-zoho-tag.js +30 -0
- package/dist/toolkits/zoho/tools/delete-account.d.ts +6 -0
- package/dist/toolkits/zoho/tools/delete-account.js +29 -0
- package/dist/toolkits/zoho/tools/delete-contact.d.ts +6 -0
- package/dist/toolkits/zoho/tools/delete-contact.js +29 -0
- package/dist/toolkits/zoho/tools/delete-deal.d.ts +6 -0
- package/dist/toolkits/zoho/tools/delete-deal.js +29 -0
- package/dist/toolkits/zoho/tools/get-account.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-account.js +34 -0
- package/dist/toolkits/zoho/tools/get-call.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-call.js +34 -0
- package/dist/toolkits/zoho/tools/get-contact.d.ts +5 -0
- package/dist/toolkits/zoho/tools/get-contact.js +33 -0
- package/dist/toolkits/zoho/tools/get-email-drafts.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-email-drafts.js +34 -0
- package/dist/toolkits/zoho/tools/get-event.d.ts +5 -0
- package/dist/toolkits/zoho/tools/get-event.js +33 -0
- package/dist/toolkits/zoho/tools/get-from-addresses.d.ts +4 -0
- package/dist/toolkits/zoho/tools/get-from-addresses.js +32 -0
- package/dist/toolkits/zoho/tools/get-module-fields.d.ts +8 -0
- package/dist/toolkits/zoho/tools/get-module-fields.js +36 -0
- package/dist/toolkits/zoho/tools/get-note.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-note.js +34 -0
- package/dist/toolkits/zoho/tools/get-record-emails.d.ts +9 -0
- package/dist/toolkits/zoho/tools/get-record-emails.js +37 -0
- package/dist/toolkits/zoho/tools/get-related-lists.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-related-lists.js +29 -0
- package/dist/toolkits/zoho/tools/get-related-records.d.ts +15 -0
- package/dist/toolkits/zoho/tools/get-related-records.js +38 -0
- package/dist/toolkits/zoho/tools/get-task.d.ts +6 -0
- package/dist/toolkits/zoho/tools/get-task.js +34 -0
- package/dist/toolkits/zoho/tools/get-user.d.ts +5 -0
- package/dist/toolkits/zoho/tools/get-user.js +33 -0
- package/dist/toolkits/zoho/tools/get-zoho-records.d.ts +13 -0
- package/dist/toolkits/zoho/tools/get-zoho-records.js +59 -0
- package/dist/toolkits/zoho/tools/get-zoho-users.d.ts +9 -0
- package/dist/toolkits/zoho/tools/get-zoho-users.js +32 -0
- package/dist/toolkits/zoho/tools/index.d.ts +789 -0
- package/dist/toolkits/zoho/tools/index.js +175 -0
- package/dist/toolkits/zoho/tools/list-accounts.d.ts +14 -0
- package/dist/toolkits/zoho/tools/list-accounts.js +60 -0
- package/dist/toolkits/zoho/tools/list-calls.d.ts +12 -0
- package/dist/toolkits/zoho/tools/list-calls.js +58 -0
- package/dist/toolkits/zoho/tools/list-contacts.d.ts +12 -0
- package/dist/toolkits/zoho/tools/list-contacts.js +58 -0
- package/dist/toolkits/zoho/tools/list-deals.d.ts +15 -0
- package/dist/toolkits/zoho/tools/list-deals.js +61 -0
- package/dist/toolkits/zoho/tools/list-events.d.ts +12 -0
- package/dist/toolkits/zoho/tools/list-events.js +58 -0
- package/dist/toolkits/zoho/tools/list-leads.d.ts +13 -0
- package/dist/toolkits/zoho/tools/list-leads.js +59 -0
- package/dist/toolkits/zoho/tools/list-modules.d.ts +4 -0
- package/dist/toolkits/zoho/tools/list-modules.js +50 -0
- package/dist/toolkits/zoho/tools/list-notes.d.ts +7 -0
- package/dist/toolkits/zoho/tools/list-notes.js +53 -0
- package/dist/toolkits/zoho/tools/list-record-attachments.d.ts +9 -0
- package/dist/toolkits/zoho/tools/list-record-attachments.js +55 -0
- package/dist/toolkits/zoho/tools/list-tasks.d.ts +12 -0
- package/dist/toolkits/zoho/tools/list-tasks.js +58 -0
- package/dist/toolkits/zoho/tools/search-accounts.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-accounts.js +49 -0
- package/dist/toolkits/zoho/tools/search-calls.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-calls.js +49 -0
- package/dist/toolkits/zoho/tools/search-contacts.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-contacts.js +49 -0
- package/dist/toolkits/zoho/tools/search-deals.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-deals.js +49 -0
- package/dist/toolkits/zoho/tools/search-events.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-events.js +49 -0
- package/dist/toolkits/zoho/tools/search-leads.d.ts +13 -0
- package/dist/toolkits/zoho/tools/search-leads.js +51 -0
- package/dist/toolkits/zoho/tools/search-notes.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-notes.js +49 -0
- package/dist/toolkits/zoho/tools/search-tasks.d.ts +11 -0
- package/dist/toolkits/zoho/tools/search-tasks.js +49 -0
- package/dist/toolkits/zoho/tools/search-zoho-records.d.ts +12 -0
- package/dist/toolkits/zoho/tools/search-zoho-records.js +50 -0
- package/dist/toolkits/zoho/tools/update-account.d.ts +32 -0
- package/dist/toolkits/zoho/tools/update-account.js +55 -0
- package/dist/toolkits/zoho/tools/update-call.d.ts +8 -0
- package/dist/toolkits/zoho/tools/update-call.js +33 -0
- package/dist/toolkits/zoho/tools/update-deal.d.ts +9 -0
- package/dist/toolkits/zoho/tools/update-deal.js +34 -0
- package/dist/toolkits/zoho/tools/update-email-draft.d.ts +17 -0
- package/dist/toolkits/zoho/tools/update-email-draft.js +42 -0
- package/dist/toolkits/zoho/tools/update-event.d.ts +6 -0
- package/dist/toolkits/zoho/tools/update-event.js +31 -0
- package/dist/toolkits/zoho/tools/update-lead.d.ts +9 -0
- package/dist/toolkits/zoho/tools/update-lead.js +34 -0
- package/dist/toolkits/zoho/tools/update-note.d.ts +8 -0
- package/dist/toolkits/zoho/tools/update-note.js +33 -0
- package/dist/toolkits/zoho/tools/update-related-records.d.ts +8 -0
- package/dist/toolkits/zoho/tools/update-related-records.js +33 -0
- package/dist/toolkits/zoho/tools/update-zoho-record.d.ts +10 -0
- package/dist/toolkits/zoho/tools/update-zoho-record.js +35 -0
- package/dist/toolkits/zoho/tools/upload-attachment.d.ts +9 -0
- package/dist/toolkits/zoho/tools/upload-attachment.js +34 -0
- package/dist/toolkits/zoho/tools/utils.d.ts +24 -0
- package/dist/toolkits/zoho/tools/utils.js +49 -0
- package/dist/toolkits/zoho/tools/validate-credential.d.ts +4 -0
- package/dist/toolkits/zoho/tools/validate-credential.js +27 -0
- 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
|