@rnsk/toolkits 0.0.11 → 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 +12 -2
- package/dist/index.d.ts +11 -1
- package/dist/index.js +21 -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 +4 -4
- package/dist/toolkits/bitbucket/tools/pull-requests.d.ts +1 -1
- 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-zone.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/index.d.ts +9 -9
- 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-tunnels.d.ts +1 -1
- package/dist/toolkits/cloudflare/tools/list-zones.d.ts +1 -1
- 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/tools/deployments.d.ts +1 -1
- package/dist/toolkits/convex/tools/index.d.ts +1 -1
- package/dist/toolkits/datadog/tools/events.d.ts +1 -1
- package/dist/toolkits/datadog/tools/index.d.ts +5 -5
- package/dist/toolkits/datadog/tools/integrations.d.ts +1 -1
- package/dist/toolkits/datadog/tools/metrics.d.ts +1 -1
- package/dist/toolkits/datadog/tools/monitors.d.ts +1 -1
- package/dist/toolkits/datadog/tools/synthetics.d.ts +1 -1
- package/dist/toolkits/dev-to/tools/articles.d.ts +1 -1
- package/dist/toolkits/dev-to/tools/community.d.ts +1 -1
- package/dist/toolkits/dev-to/tools/index.d.ts +2 -2
- package/dist/toolkits/discord/tools/applications.d.ts +1 -1
- package/dist/toolkits/discord/tools/index.d.ts +1 -1
- package/dist/toolkits/figma/tools/create-dev-resources.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-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 +7 -7
- 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-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 +9 -9
- 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/posts-addons.d.ts +1 -1
- 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-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 +3 -3
- package/dist/toolkits/hostinger/tools/whois.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/datasets.d.ts +1 -1
- package/dist/toolkits/hugging-face/tools/index.d.ts +2 -2
- package/dist/toolkits/hugging-face/tools/papers.d.ts +1 -1
- package/dist/toolkits/jira/tools/boards.d.ts +1 -1
- package/dist/toolkits/jira/tools/index.d.ts +4 -4
- package/dist/toolkits/jira/tools/meta.d.ts +1 -1
- package/dist/toolkits/jira/tools/projects.d.ts +1 -1
- package/dist/toolkits/jira/tools/users.d.ts +1 -1
- package/dist/toolkits/kaggle/tools/competitions.d.ts +1 -1
- package/dist/toolkits/kaggle/tools/datasets.d.ts +1 -1
- package/dist/toolkits/kaggle/tools/index.d.ts +7 -7
- package/dist/toolkits/kaggle/tools/kernels.d.ts +3 -3
- package/dist/toolkits/kaggle/tools/models.d.ts +2 -2
- package/dist/toolkits/nasa/tools/cmr.d.ts +3 -3
- package/dist/toolkits/nasa/tools/eonet.d.ts +5 -5
- package/dist/toolkits/nasa/tools/index.d.ts +9 -9
- package/dist/toolkits/nasa/tools/ntrs.d.ts +1 -1
- package/dist/toolkits/neon/tools/auth.d.ts +5 -5
- package/dist/toolkits/neon/tools/index.d.ts +5 -5
- package/dist/toolkits/new-relic/tools/admin.d.ts +1 -1
- package/dist/toolkits/new-relic/tools/alert-policies.d.ts +1 -1
- package/dist/toolkits/new-relic/tools/apm.d.ts +9 -9
- package/dist/toolkits/new-relic/tools/conditions.d.ts +5 -5
- package/dist/toolkits/new-relic/tools/config.d.ts +1 -1
- package/dist/toolkits/new-relic/tools/dashboards.d.ts +2 -2
- package/dist/toolkits/new-relic/tools/entities.d.ts +1 -1
- package/dist/toolkits/new-relic/tools/notifications.d.ts +1 -1
- package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +2 -2
- package/dist/toolkits/notebook-lm/tools/index.d.ts +2 -2
- package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +1 -1
- package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +1 -1
- 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/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/users.d.ts +1 -1
- 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/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 +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoCreateZohoRecord = tool({
|
|
6
|
+
description: 'Creates new records in a specified module in Zoho CRM. Bulk operations may partially succeed — inspect each item\'s status field in the response, as some records may be created while others fail.',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
data: z.array(z.record(z.any())).describe('A list of dictionaries representing the records to be created. Each dictionary contains field API names as keys and their values. Required fields depend on the module (e.g., Last_Name is required for '),
|
|
10
|
+
lar_id: z.string().optional().describe('The layout ID or lead assignment rule ID (lar_id) to be used if required.'),
|
|
11
|
+
trigger: z.array(z.string()).optional().describe('List of triggers to invoke during record creation (e.g., [\'workflow\', \'blueprint\']). Enabling triggers can cause side effects (emails sent, other records modified) — only include when such effects'),
|
|
12
|
+
module_api_name: z.string().describe('The API name of the module to create a record in. Standard modules use PascalCase (e.g., \'Leads\', \'Contacts\', \'Accounts\', \'Deals\', \'Tasks\', \'Campaigns\'). Custom modules must use their exac'),
|
|
13
|
+
}),
|
|
14
|
+
execute: async (params) => {
|
|
15
|
+
const { zohoToken, ...rest } = params;
|
|
16
|
+
if (!zohoToken)
|
|
17
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
18
|
+
try {
|
|
19
|
+
const { moduleApiName, data, trigger, larId } = rest;
|
|
20
|
+
const body = { data };
|
|
21
|
+
if (trigger)
|
|
22
|
+
body.trigger = trigger;
|
|
23
|
+
if (larId)
|
|
24
|
+
body.lar_id = larId;
|
|
25
|
+
const res = await zohoFetch(`/${moduleApiName}`, { zohoToken, method: 'POST', body });
|
|
26
|
+
if (!res.ok)
|
|
27
|
+
return { error: 'Failed to create record', details: res.data };
|
|
28
|
+
return res.data;
|
|
29
|
+
}
|
|
30
|
+
catch (e) {
|
|
31
|
+
return { error: 'Error in ZohoCreateZohoRecord', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=create-zoho-record.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoCreateZohoTag = tool({
|
|
6
|
+
description: 'Creates a new tag in Zoho CRM for a specific module. Tags help organize and categorize CRM records. Each module can have up to 100 tags, and each record can have up to 10 tags assigned. Tags must have unique names within a module and can be assigned custom colors from a predefined palette. Creating ',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
name: z.string().describe('The name of the tag to create. Maximum 25 characters. Cannot contain \'<\', \'>\', commas, or emojis.'),
|
|
10
|
+
color_code: z.string().optional().describe('Hex color code for the tag. Must be one of the 13 allowed colors: #F17574 (red), #F48435 (orange), #E7A826 (yellow), #A8C026 (lime), #63C57E (green), #1DB9B4 (teal), #57B1FD (blue), #879BFC (indigo), '),
|
|
11
|
+
module_api_name: z.string().describe('The API name of the Zoho CRM module to create the tag in. Supported modules: Leads, Accounts, Contacts, Deals, Campaigns, Tasks, Cases, Events, Calls, Solutions, Products, Vendors, Price Books, Quotes'),
|
|
12
|
+
}),
|
|
13
|
+
execute: async (params) => {
|
|
14
|
+
const { zohoToken, ...rest } = params;
|
|
15
|
+
if (!zohoToken)
|
|
16
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
17
|
+
try {
|
|
18
|
+
const { moduleApiName, name, colorCode } = rest;
|
|
19
|
+
const body = { tags: [{ name, color_code: colorCode }] };
|
|
20
|
+
const res = await zohoFetch(`/settings/tags?module=${moduleApiName}`, { zohoToken, method: 'POST', body });
|
|
21
|
+
if (!res.ok)
|
|
22
|
+
return { error: 'Failed to create tag', details: res.data };
|
|
23
|
+
return res.data;
|
|
24
|
+
}
|
|
25
|
+
catch (e) {
|
|
26
|
+
return { error: 'Error in ZohoCreateZohoTag', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=create-zoho-tag.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoDeleteAccount = tool({
|
|
6
|
+
description: 'Deletes an existing account record from Zoho CRM. This action permanently removes the account and cannot be undone through the API. Use this action when you need to remove an account record that is no longer needed or was created in error. This action is irreversible — the account cannot be recovere',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
account_id: z.string().describe('The unique identifier of the account to delete. Must be a valid Zoho CRM account ID.'),
|
|
10
|
+
wf_trigger: z.boolean().optional().describe('Whether to trigger workflow rules during deletion. Set to true to execute workflows, false to skip them. If not specified, default behavior applies.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Accounts/${p.account_id}`;
|
|
19
|
+
const res = await zohoFetch(path, { zohoToken, method: 'DELETE' });
|
|
20
|
+
if (!res.ok)
|
|
21
|
+
return { error: 'Failed to delete', details: res.data };
|
|
22
|
+
return res.data;
|
|
23
|
+
}
|
|
24
|
+
catch (e) {
|
|
25
|
+
return { error: 'Error in ZohoDeleteAccount', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=delete-account.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoDeleteContact = tool({
|
|
6
|
+
description: 'Deletes a contact from Zoho CRM. This action is irreversible — the contact cannot be recovered once deleted. Use this action when you need to permanently remove a contact record from the CRM. All associated subforms and related data are automatically deleted.',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
contact_id: z.string().describe('The unique identifier of the contact to delete'),
|
|
10
|
+
wf_trigger: z.boolean().optional().describe('Whether to trigger workflows during deletion. If true, all associated workflows execute. Defaults to true if not specified.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Contacts/${p.contact_id}`;
|
|
19
|
+
const res = await zohoFetch(path, { zohoToken, method: 'DELETE' });
|
|
20
|
+
if (!res.ok)
|
|
21
|
+
return { error: 'Failed to delete', details: res.data };
|
|
22
|
+
return res.data;
|
|
23
|
+
}
|
|
24
|
+
catch (e) {
|
|
25
|
+
return { error: 'Error in ZohoDeleteContact', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=delete-contact.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoDeleteDeal = tool({
|
|
6
|
+
description: 'Deletes a deal record from Zoho CRM. This action is irreversible — once deleted, the deal cannot be recovered. Use this action when you need to permanently remove a deal from the CRM system. The deal will be moved to the recycle bin initially and can be restored from there within the configured rete',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
deal_id: z.string().describe('The unique identifier of the deal to delete. This is the Zoho CRM record ID for the deal'),
|
|
10
|
+
wf_trigger: z.boolean().optional().describe('Whether to trigger workflow rules after deletion. Set to true to execute workflows, or false to skip them. When workflows execute, side effects like notifications and automations may occur'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Deals/${p.deal_id}`;
|
|
19
|
+
const res = await zohoFetch(path, { zohoToken, method: 'DELETE' });
|
|
20
|
+
if (!res.ok)
|
|
21
|
+
return { error: 'Failed to delete', details: res.data };
|
|
22
|
+
return res.data;
|
|
23
|
+
}
|
|
24
|
+
catch (e) {
|
|
25
|
+
return { error: 'Error in ZohoDeleteDeal', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=delete-deal.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetAccount = tool({
|
|
6
|
+
description: 'Retrieves a specific Account record from Zoho CRM by its unique identifier. Returns complete account details including all standard and custom fields. Use this action when you need to fetch a single account\'s information by its ID rather than searching or listing multiple accounts. Unlike bulk reco',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
fields: z.string().optional().describe('Comma-separated API names of fields to retrieve (max 50 fields). If not specified, all available fields for the account are returned. Common fields: Account_Name, Website, Phone, Email, Industry, Annu'),
|
|
10
|
+
account_id: z.string().describe('The unique identifier of the Account record to retrieve.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Accounts/${p.account_id}`;
|
|
19
|
+
const query = {};
|
|
20
|
+
if (p.fields)
|
|
21
|
+
query.fields = p.fields;
|
|
22
|
+
if (p.module_api_name)
|
|
23
|
+
query.module = p.module_api_name;
|
|
24
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
25
|
+
if (!res.ok)
|
|
26
|
+
return { error: 'Failed to get', details: res.data };
|
|
27
|
+
return res.data;
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
return { error: 'Error in ZohoGetAccount', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=get-account.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetCall = tool({
|
|
6
|
+
description: 'Retrieves a specific Call record by its unique identifier from Zoho CRM. Use this action when you need to fetch detailed information about a particular call, including its subject, duration, type, participants, outcome, and associated contacts or deals. This action is read-only and does not modify a',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
fields: z.string().optional().describe('Comma-separated API names of specific fields to retrieve (max 50). If not specified, all standard fields are returned. Common fields: Subject, Call_Type, Call_Start_Time, Call_Duration, Call_Purpose, '),
|
|
10
|
+
record_id: z.string().describe('The unique identifier of the Call record to retrieve. Must be a valid Zoho CRM record ID.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Calls/${p.record_id}`;
|
|
19
|
+
const query = {};
|
|
20
|
+
if (p.fields)
|
|
21
|
+
query.fields = p.fields;
|
|
22
|
+
if (p.module_api_name)
|
|
23
|
+
query.module = p.module_api_name;
|
|
24
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
25
|
+
if (!res.ok)
|
|
26
|
+
return { error: 'Failed to get', details: res.data };
|
|
27
|
+
return res.data;
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
return { error: 'Error in ZohoGetCall', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=get-call.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetContact = tool({
|
|
6
|
+
description: 'Retrieves a single contact record by ID from Zoho CRM. Returns the complete contact details including owner information, account associations, address fields, and all custom fields. Use this action when you need to fetch detailed information about a specific contact using its record ID.',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
record_id: z.string().describe('The unique ID of the contact record to retrieve. Must be a valid Zoho CRM contact record ID.'),
|
|
10
|
+
}),
|
|
11
|
+
execute: async (params) => {
|
|
12
|
+
const { zohoToken, ...rest } = params;
|
|
13
|
+
if (!zohoToken)
|
|
14
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
15
|
+
try {
|
|
16
|
+
const p = rest;
|
|
17
|
+
const path = `/Contacts/${p.record_id}`;
|
|
18
|
+
const query = {};
|
|
19
|
+
if (p.fields)
|
|
20
|
+
query.fields = p.fields;
|
|
21
|
+
if (p.module_api_name)
|
|
22
|
+
query.module = p.module_api_name;
|
|
23
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
24
|
+
if (!res.ok)
|
|
25
|
+
return { error: 'Failed to get', details: res.data };
|
|
26
|
+
return res.data;
|
|
27
|
+
}
|
|
28
|
+
catch (e) {
|
|
29
|
+
return { error: 'Error in ZohoGetContact', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=get-contact.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetEmailDrafts = tool({
|
|
6
|
+
description: 'Retrieves email drafts associated with a specific record in Zoho CRM. Use this action when you need to view unsent email drafts that have been composed for a CRM record. This returns draft metadata including recipients, subject, content, attachments, and scheduling details.',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
module: z.string().describe('The API name of the CRM module containing the record. Examples: \'Leads\', \'Contacts\', \'Accounts\', \'Deals\', \'Cases\', etc. Must be the exact module API name, not the UI display label.'),
|
|
10
|
+
record: z.string().describe('Entity ID of the record for which to retrieve email drafts.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/${p.module}/${p.record}/__email_drafts`;
|
|
19
|
+
const query = {};
|
|
20
|
+
if (p.fields)
|
|
21
|
+
query.fields = p.fields;
|
|
22
|
+
if (p.module_api_name)
|
|
23
|
+
query.module = p.module_api_name;
|
|
24
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
25
|
+
if (!res.ok)
|
|
26
|
+
return { error: 'Failed to get', details: res.data };
|
|
27
|
+
return res.data;
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
return { error: 'Error in ZohoGetEmailDrafts', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=get-email-drafts.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetEvent = tool({
|
|
6
|
+
description: 'Retrieves a specific event record from Zoho CRM by its unique identifier. Returns complete event details including all standard and custom fields. Use this action when you need to fetch detailed information about a specific event/meeting, including participants, location, timing, and related records',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
record_id: z.string().describe('The unique identifier of the event record to retrieve'),
|
|
10
|
+
}),
|
|
11
|
+
execute: async (params) => {
|
|
12
|
+
const { zohoToken, ...rest } = params;
|
|
13
|
+
if (!zohoToken)
|
|
14
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
15
|
+
try {
|
|
16
|
+
const p = rest;
|
|
17
|
+
const path = `/Events/${p.record_id}`;
|
|
18
|
+
const query = {};
|
|
19
|
+
if (p.fields)
|
|
20
|
+
query.fields = p.fields;
|
|
21
|
+
if (p.module_api_name)
|
|
22
|
+
query.module = p.module_api_name;
|
|
23
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
24
|
+
if (!res.ok)
|
|
25
|
+
return { error: 'Failed to get', details: res.data };
|
|
26
|
+
return res.data;
|
|
27
|
+
}
|
|
28
|
+
catch (e) {
|
|
29
|
+
return { error: 'Error in ZohoGetEvent', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=get-event.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetFromAddresses = tool({
|
|
6
|
+
description: 'Retrieves the list of from addresses configured for email operations in Zoho CRM. Use this action when you need to get available email addresses for sending emails or configuring email settings. Returns organization, user, alias, and chat email addresses configured in the CRM.',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
}),
|
|
10
|
+
execute: async (params) => {
|
|
11
|
+
const { zohoToken, ...rest } = params;
|
|
12
|
+
if (!zohoToken)
|
|
13
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
14
|
+
try {
|
|
15
|
+
const p = rest;
|
|
16
|
+
const path = `/settings/emails/from_addresses`;
|
|
17
|
+
const query = {};
|
|
18
|
+
if (p.fields)
|
|
19
|
+
query.fields = p.fields;
|
|
20
|
+
if (p.module_api_name)
|
|
21
|
+
query.module = p.module_api_name;
|
|
22
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
23
|
+
if (!res.ok)
|
|
24
|
+
return { error: 'Failed to get', details: res.data };
|
|
25
|
+
return res.data;
|
|
26
|
+
}
|
|
27
|
+
catch (e) {
|
|
28
|
+
return { error: 'Error in ZohoGetFromAddresses', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=get-from-addresses.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ZohoGetModuleFields: import("ai").Tool<{
|
|
2
|
+
zohoToken: string;
|
|
3
|
+
module_api_name: string;
|
|
4
|
+
type?: string | undefined;
|
|
5
|
+
include?: string | undefined;
|
|
6
|
+
field_unique_id?: string | undefined;
|
|
7
|
+
}, any>;
|
|
8
|
+
//# sourceMappingURL=get-module-fields.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetModuleFields = tool({
|
|
6
|
+
description: 'Retrieves field metadata for a Zoho CRM module including API names, data types, permissions, and configuration details. Use this tool to discover correct field names and types before creating or updating records, avoiding INVALID_DATA errors. Returns information about standard fields, custom fields,',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
type: z.string().optional().describe('Filter fields by usage type. Values: \'all\' (both used and unused fields) or \'unused\' (unused fields only). If not specified, returns all used fields.'),
|
|
10
|
+
include: z.string().optional().describe('Include additional permission details in the response. Use \'allowed_permissions_to_update\' to get default field permissions (read-only, read-write, hidden).'),
|
|
11
|
+
field_unique_id: z.string().optional().describe('The unique ID of a specific field to retrieve. When provided, only that single field\'s metadata is returned. If not specified, all fields for the module are returned.'),
|
|
12
|
+
module_api_name: z.string().describe('The API name of the module to retrieve field metadata for. Examples: \'Leads\', \'Contacts\', \'Accounts\', \'Deals\', \'Tasks\', \'Cases\', \'Events\', \'Calls\', etc. For custom modules, use the exa'),
|
|
13
|
+
}),
|
|
14
|
+
execute: async (params) => {
|
|
15
|
+
const { zohoToken, ...rest } = params;
|
|
16
|
+
if (!zohoToken)
|
|
17
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
18
|
+
try {
|
|
19
|
+
const p = rest;
|
|
20
|
+
const path = `/settings/fields`;
|
|
21
|
+
const query = {};
|
|
22
|
+
if (p.fields)
|
|
23
|
+
query.fields = p.fields;
|
|
24
|
+
if (p.module_api_name)
|
|
25
|
+
query.module = p.module_api_name;
|
|
26
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
27
|
+
if (!res.ok)
|
|
28
|
+
return { error: 'Failed to get', details: res.data };
|
|
29
|
+
return res.data;
|
|
30
|
+
}
|
|
31
|
+
catch (e) {
|
|
32
|
+
return { error: 'Error in ZohoGetModuleFields', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=get-module-fields.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetNote = tool({
|
|
6
|
+
description: 'Retrieves a single note by its unique identifier from Zoho CRM. Returns the note\'s title, content, parent record reference, owner details, and timestamps. Use this action when you need to fetch detailed information about a specific note, such as reading meeting notes, viewing customer interaction s',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
fields: z.string().min(1).optional().describe('Comma-separated API names of the fields to retrieve. Common fields: Note_Title, Note_Content, Parent_Id, Owner, Created_Time, Modified_Time, Created_By, Modified_By. This parameter is required by the '),
|
|
10
|
+
note_id: z.string().describe('The unique identifier of the note to retrieve'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/Notes/${p.note_id}`;
|
|
19
|
+
const query = {};
|
|
20
|
+
if (p.fields)
|
|
21
|
+
query.fields = p.fields;
|
|
22
|
+
if (p.module_api_name)
|
|
23
|
+
query.module = p.module_api_name;
|
|
24
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
25
|
+
if (!res.ok)
|
|
26
|
+
return { error: 'Failed to get', details: res.data };
|
|
27
|
+
return res.data;
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
return { error: 'Error in ZohoGetNote', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=get-note.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const ZohoGetRecordEmails: import("ai").Tool<{
|
|
2
|
+
zohoToken: string;
|
|
3
|
+
record_id: string;
|
|
4
|
+
module_api_name: string;
|
|
5
|
+
type?: string | undefined;
|
|
6
|
+
index?: string | undefined;
|
|
7
|
+
owner_id?: string | undefined;
|
|
8
|
+
}, any>;
|
|
9
|
+
//# sourceMappingURL=get-record-emails.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetRecordEmails = tool({
|
|
6
|
+
description: 'Retrieves all emails associated with a specific record in Zoho CRM. Use this action when you need to fetch email history for a lead, contact, account, deal, or other CRM record. The response includes email metadata such as subject, sender, recipients, timestamps, and status information. Supports pag',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
type: z.string().optional().describe('Type of emails to filter.'),
|
|
10
|
+
index: z.string().optional().describe('Pagination control parameter. Use the \'next_index\' value from the previous response\'s info object to retrieve the next batch of emails. Start without this parameter to get the first page.'),
|
|
11
|
+
owner_id: z.string().optional().describe('The ID of the user whose emails you want to fetch. IMPORTANT: This parameter can only be used when type=\'user_emails\'. It will be ignored if type is set to any other value.'),
|
|
12
|
+
record_id: z.string().describe('The unique identifier of the record whose emails you want to retrieve.'),
|
|
13
|
+
module_api_name: z.string().describe('The API name of the module containing the record. Common modules: \'Leads\', \'Contacts\', \'Accounts\', \'Deals\', \'Quotes\', \'Invoices\', \'Sales_Orders\', \'Purchase_Orders\', or custom modules. '),
|
|
14
|
+
}),
|
|
15
|
+
execute: async (params) => {
|
|
16
|
+
const { zohoToken, ...rest } = params;
|
|
17
|
+
if (!zohoToken)
|
|
18
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
19
|
+
try {
|
|
20
|
+
const p = rest;
|
|
21
|
+
const path = `/${p.module_api_name}/${p.record_id}/Emails`;
|
|
22
|
+
const query = {};
|
|
23
|
+
if (p.fields)
|
|
24
|
+
query.fields = p.fields;
|
|
25
|
+
if (p.module_api_name)
|
|
26
|
+
query.module = p.module_api_name;
|
|
27
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query });
|
|
28
|
+
if (!res.ok)
|
|
29
|
+
return { error: 'Failed to get', details: res.data };
|
|
30
|
+
return res.data;
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
return { error: 'Error in ZohoGetRecordEmails', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=get-record-emails.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { zohoFetch } from './utils.js';
|
|
5
|
+
export const ZohoGetRelatedLists = tool({
|
|
6
|
+
description: 'Retrieves related list metadata for a Zoho CRM module to discover correct api_name values. Use this before updating related records to avoid INVALID_DATA errors from incorrect related_list_api_name. Returns api_name, display_label, href, and other details for each related list available in the modul',
|
|
7
|
+
inputSchema: z.object({
|
|
8
|
+
zohoToken: z.string().describe('Zoho OAuth access token (Zoho-oauthtoken).'),
|
|
9
|
+
layout_id: z.string().optional().describe('Optional layout ID to filter related lists by specific layout. If not specified, returns related lists for all layouts of the module.'),
|
|
10
|
+
module_api_name: z.string().describe('The API name of the module to retrieve related list metadata for. Examples: \'Leads\', \'Contacts\', \'Accounts\', \'Deals\', \'Tasks\', etc. This must be a valid module API name in Zoho CRM.'),
|
|
11
|
+
}),
|
|
12
|
+
execute: async (params) => {
|
|
13
|
+
const { zohoToken, ...rest } = params;
|
|
14
|
+
if (!zohoToken)
|
|
15
|
+
return { error: 'Zoho token is required. Connect Zoho CRM first.' };
|
|
16
|
+
try {
|
|
17
|
+
const p = rest;
|
|
18
|
+
const path = `/settings/related_lists`;
|
|
19
|
+
const res = await zohoFetch(path, { zohoToken, method: 'GET', query: p });
|
|
20
|
+
if (!res.ok)
|
|
21
|
+
return { error: 'Failed', details: res.data };
|
|
22
|
+
return res.data;
|
|
23
|
+
}
|
|
24
|
+
catch (e) {
|
|
25
|
+
return { error: 'Error in ZohoGetRelatedLists', message: e instanceof Error ? e.message : 'Unknown error' };
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=get-related-lists.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const ZohoGetRelatedRecords: import("ai").Tool<{
|
|
2
|
+
fields: string;
|
|
3
|
+
zohoToken: string;
|
|
4
|
+
record_id: string;
|
|
5
|
+
module_api_name: string;
|
|
6
|
+
related_list_api_name: string;
|
|
7
|
+
page?: number | undefined;
|
|
8
|
+
per_page?: number | undefined;
|
|
9
|
+
ids?: string | undefined;
|
|
10
|
+
page_token?: string | undefined;
|
|
11
|
+
sort_by?: string | undefined;
|
|
12
|
+
converted?: string | undefined;
|
|
13
|
+
sort_order?: string | undefined;
|
|
14
|
+
}, any>;
|
|
15
|
+
//# sourceMappingURL=get-related-records.d.ts.map
|