@rnsk/toolkits 0.0.8 → 0.0.10
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 +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +29 -1
- package/dist/toolkits/bitbucket/icon.d.ts +5 -0
- package/dist/toolkits/bitbucket/icon.js +6 -0
- package/dist/toolkits/bitbucket/manifest.d.ts +3 -0
- package/dist/toolkits/bitbucket/manifest.js +56 -0
- package/dist/toolkits/bitbucket/tools/client.d.ts +38 -0
- package/dist/toolkits/bitbucket/tools/client.js +87 -0
- package/dist/toolkits/bitbucket/tools/commits.d.ts +149 -0
- package/dist/toolkits/bitbucket/tools/commits.js +444 -0
- package/dist/toolkits/bitbucket/tools/index.d.ts +1093 -0
- package/dist/toolkits/bitbucket/tools/index.js +770 -0
- package/dist/toolkits/bitbucket/tools/issues.d.ts +73 -0
- package/dist/toolkits/bitbucket/tools/issues.js +234 -0
- package/dist/toolkits/bitbucket/tools/pipelines.d.ts +124 -0
- package/dist/toolkits/bitbucket/tools/pipelines.js +446 -0
- package/dist/toolkits/bitbucket/tools/pull-requests.d.ts +174 -0
- package/dist/toolkits/bitbucket/tools/pull-requests.js +541 -0
- package/dist/toolkits/bitbucket/tools/reports.d.ts +84 -0
- package/dist/toolkits/bitbucket/tools/reports.js +213 -0
- package/dist/toolkits/bitbucket/tools/repositories.d.ts +156 -0
- package/dist/toolkits/bitbucket/tools/repositories.js +531 -0
- package/dist/toolkits/bitbucket/tools/search.d.ts +17 -0
- package/dist/toolkits/bitbucket/tools/search.js +67 -0
- package/dist/toolkits/bitbucket/tools/snippets.d.ts +34 -0
- package/dist/toolkits/bitbucket/tools/snippets.js +122 -0
- package/dist/toolkits/bitbucket/tools/users-workspaces.d.ts +65 -0
- package/dist/toolkits/bitbucket/tools/users-workspaces.js +294 -0
- package/dist/toolkits/discord/icon.d.ts +5 -0
- package/dist/toolkits/discord/icon.js +12 -0
- package/dist/toolkits/discord/manifest.d.ts +3 -0
- package/dist/toolkits/discord/manifest.js +52 -0
- package/dist/toolkits/discord/tools/applications.d.ts +79 -0
- package/dist/toolkits/discord/tools/applications.js +216 -0
- package/dist/toolkits/discord/tools/client.d.ts +22 -0
- package/dist/toolkits/discord/tools/client.js +69 -0
- package/dist/toolkits/discord/tools/guilds.d.ts +39 -0
- package/dist/toolkits/discord/tools/guilds.js +123 -0
- package/dist/toolkits/discord/tools/index.d.ts +222 -0
- package/dist/toolkits/discord/tools/index.js +170 -0
- package/dist/toolkits/discord/tools/misc.d.ts +7 -0
- package/dist/toolkits/discord/tools/misc.js +40 -0
- package/dist/toolkits/discord/tools/users.d.ts +28 -0
- package/dist/toolkits/discord/tools/users.js +128 -0
- package/dist/toolkits/figma/tools/index.d.ts +1 -1
- package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
- package/dist/toolkits/gitlab/icon.d.ts +5 -0
- package/dist/toolkits/gitlab/icon.js +6 -0
- package/dist/toolkits/gitlab/manifest.d.ts +3 -0
- package/dist/toolkits/gitlab/manifest.js +36 -0
- package/dist/toolkits/gitlab/tools/client.d.ts +7 -0
- package/dist/toolkits/gitlab/tools/client.js +45 -0
- package/dist/toolkits/gitlab/tools/index.d.ts +306 -0
- package/dist/toolkits/gitlab/tools/index.js +36 -0
- package/dist/toolkits/gitlab/tools/issues.d.ts +45 -0
- package/dist/toolkits/gitlab/tools/issues.js +103 -0
- package/dist/toolkits/gitlab/tools/merge-requests.d.ts +35 -0
- package/dist/toolkits/gitlab/tools/merge-requests.js +91 -0
- package/dist/toolkits/gitlab/tools/pipelines.d.ts +30 -0
- package/dist/toolkits/gitlab/tools/pipelines.js +66 -0
- package/dist/toolkits/gitlab/tools/projects.d.ts +36 -0
- package/dist/toolkits/gitlab/tools/projects.js +94 -0
- package/dist/toolkits/gitlab/tools/repository.d.ts +21 -0
- package/dist/toolkits/gitlab/tools/repository.js +53 -0
- package/dist/toolkits/gitlab/tools/users-groups.d.ts +11 -0
- package/dist/toolkits/gitlab/tools/users-groups.js +30 -0
- package/dist/toolkits/google-ads/tools/get-rmf-report.d.ts +2 -2
- package/dist/toolkits/google-ads/tools/index.d.ts +2 -2
- package/dist/toolkits/google-analytics/icon.d.ts +5 -0
- package/dist/toolkits/google-analytics/icon.js +11 -0
- package/dist/toolkits/google-analytics/manifest.d.ts +3 -0
- package/dist/toolkits/google-analytics/manifest.js +48 -0
- package/dist/toolkits/google-analytics/tools/admin.d.ts +73 -0
- package/dist/toolkits/google-analytics/tools/admin.js +238 -0
- package/dist/toolkits/google-analytics/tools/audiences.d.ts +81 -0
- package/dist/toolkits/google-analytics/tools/audiences.js +190 -0
- package/dist/toolkits/google-analytics/tools/client.d.ts +47 -0
- package/dist/toolkits/google-analytics/tools/client.js +74 -0
- package/dist/toolkits/google-analytics/tools/custom-definitions.d.ts +62 -0
- package/dist/toolkits/google-analytics/tools/custom-definitions.js +106 -0
- package/dist/toolkits/google-analytics/tools/index.d.ts +16 -0
- package/dist/toolkits/google-analytics/tools/index.js +88 -0
- package/dist/toolkits/google-analytics/tools/links.d.ts +22 -0
- package/dist/toolkits/google-analytics/tools/links.js +56 -0
- package/dist/toolkits/google-analytics/tools/measurement.d.ts +3 -0
- package/dist/toolkits/google-analytics/tools/measurement.js +55 -0
- package/dist/toolkits/google-analytics/tools/reports.d.ts +136 -0
- package/dist/toolkits/google-analytics/tools/reports.js +200 -0
- package/dist/toolkits/google-contacts/icon.d.ts +5 -0
- package/dist/toolkits/google-contacts/icon.js +6 -0
- package/dist/toolkits/google-contacts/manifest.d.ts +3 -0
- package/dist/toolkits/google-contacts/manifest.js +48 -0
- package/dist/toolkits/google-contacts/tools/client.d.ts +19 -0
- package/dist/toolkits/google-contacts/tools/client.js +44 -0
- package/dist/toolkits/google-contacts/tools/contacts.d.ts +94 -0
- package/dist/toolkits/google-contacts/tools/contacts.js +273 -0
- package/dist/toolkits/google-contacts/tools/directory.d.ts +36 -0
- package/dist/toolkits/google-contacts/tools/directory.js +99 -0
- package/dist/toolkits/google-contacts/tools/groups.d.ts +68 -0
- package/dist/toolkits/google-contacts/tools/groups.js +169 -0
- package/dist/toolkits/google-contacts/tools/index.d.ts +347 -0
- package/dist/toolkits/google-contacts/tools/index.js +34 -0
- package/dist/toolkits/google-contacts/tools/photos.d.ts +26 -0
- package/dist/toolkits/google-contacts/tools/photos.js +52 -0
- package/dist/toolkits/google-maps/icon.d.ts +5 -0
- package/dist/toolkits/google-maps/icon.js +39 -0
- package/dist/toolkits/google-maps/manifest.d.ts +3 -0
- package/dist/toolkits/google-maps/manifest.js +55 -0
- package/dist/toolkits/google-maps/tools/client.d.ts +27 -0
- package/dist/toolkits/google-maps/tools/client.js +72 -0
- package/dist/toolkits/google-maps/tools/geocode.d.ts +49 -0
- package/dist/toolkits/google-maps/tools/geocode.js +168 -0
- package/dist/toolkits/google-maps/tools/index.d.ts +432 -0
- package/dist/toolkits/google-maps/tools/index.js +31 -0
- package/dist/toolkits/google-maps/tools/misc.d.ts +70 -0
- package/dist/toolkits/google-maps/tools/misc.js +158 -0
- package/dist/toolkits/google-maps/tools/places.d.ts +112 -0
- package/dist/toolkits/google-maps/tools/places.js +185 -0
- package/dist/toolkits/google-maps/tools/routes.d.ts +48 -0
- package/dist/toolkits/google-maps/tools/routes.js +97 -0
- package/dist/toolkits/google-maps/tools/tiles.d.ts +51 -0
- package/dist/toolkits/google-maps/tools/tiles.js +84 -0
- package/dist/toolkits/google-photos/icon.d.ts +5 -0
- package/dist/toolkits/google-photos/icon.js +6 -0
- package/dist/toolkits/google-photos/manifest.d.ts +3 -0
- package/dist/toolkits/google-photos/manifest.js +47 -0
- package/dist/toolkits/google-photos/tools/albums.d.ts +83 -0
- package/dist/toolkits/google-photos/tools/albums.js +180 -0
- package/dist/toolkits/google-photos/tools/client.d.ts +24 -0
- package/dist/toolkits/google-photos/tools/client.js +77 -0
- package/dist/toolkits/google-photos/tools/index.d.ts +261 -0
- package/dist/toolkits/google-photos/tools/index.js +22 -0
- package/dist/toolkits/google-photos/tools/media.d.ts +52 -0
- package/dist/toolkits/google-photos/tools/media.js +142 -0
- package/dist/toolkits/google-photos/tools/uploads.d.ts +58 -0
- package/dist/toolkits/google-photos/tools/uploads.js +107 -0
- package/dist/toolkits/google-tasks/tools/index.d.ts +1 -1
- package/dist/toolkits/google-tasks/tools/update-task-full.d.ts +1 -1
- package/dist/toolkits/groww/tools/index.d.ts +1 -1
- package/dist/toolkits/groww/tools/instruments.d.ts +1 -1
- package/dist/toolkits/hacker-news/icon.d.ts +5 -0
- package/dist/toolkits/hacker-news/icon.js +9 -0
- package/dist/toolkits/hacker-news/manifest.d.ts +3 -0
- package/dist/toolkits/hacker-news/manifest.js +25 -0
- package/dist/toolkits/hacker-news/tools/client.d.ts +8 -0
- package/dist/toolkits/hacker-news/tools/client.js +51 -0
- package/dist/toolkits/hacker-news/tools/index.d.ts +89 -0
- package/dist/toolkits/hacker-news/tools/index.js +22 -0
- package/dist/toolkits/hacker-news/tools/items.d.ts +42 -0
- package/dist/toolkits/hacker-news/tools/items.js +126 -0
- package/dist/toolkits/hacker-news/tools/search.d.ts +12 -0
- package/dist/toolkits/hacker-news/tools/search.js +40 -0
- package/dist/toolkits/hacker-news/tools/stories.d.ts +25 -0
- package/dist/toolkits/hacker-news/tools/stories.js +98 -0
- package/dist/toolkits/hostinger/icon.d.ts +5 -0
- package/dist/toolkits/hostinger/icon.js +6 -0
- package/dist/toolkits/hostinger/manifest.d.ts +3 -0
- package/dist/toolkits/hostinger/manifest.js +36 -0
- package/dist/toolkits/hostinger/tools/billing.d.ts +12 -0
- package/dist/toolkits/hostinger/tools/billing.js +35 -0
- package/dist/toolkits/hostinger/tools/client.d.ts +6 -0
- package/dist/toolkits/hostinger/tools/client.js +57 -0
- package/dist/toolkits/hostinger/tools/dns.d.ts +22 -0
- package/dist/toolkits/hostinger/tools/dns.js +47 -0
- package/dist/toolkits/hostinger/tools/domains.d.ts +21 -0
- package/dist/toolkits/hostinger/tools/domains.js +62 -0
- package/dist/toolkits/hostinger/tools/hosting.d.ts +17 -0
- package/dist/toolkits/hostinger/tools/hosting.js +38 -0
- package/dist/toolkits/hostinger/tools/index.d.ts +179 -0
- package/dist/toolkits/hostinger/tools/index.js +35 -0
- package/dist/toolkits/hostinger/tools/vps.d.ts +27 -0
- package/dist/toolkits/hostinger/tools/vps.js +77 -0
- package/dist/toolkits/hostinger/tools/whois.d.ts +33 -0
- package/dist/toolkits/hostinger/tools/whois.js +85 -0
- package/dist/toolkits/hugging-face/icon.d.ts +5 -0
- package/dist/toolkits/hugging-face/icon.js +6 -0
- package/dist/toolkits/hugging-face/manifest.d.ts +3 -0
- package/dist/toolkits/hugging-face/manifest.js +42 -0
- package/dist/toolkits/hugging-face/tools/client.d.ts +93 -0
- package/dist/toolkits/hugging-face/tools/client.js +192 -0
- package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +65 -0
- package/dist/toolkits/hugging-face/tools/datasets-viewer.js +150 -0
- package/dist/toolkits/hugging-face/tools/datasets.d.ts +160 -0
- package/dist/toolkits/hugging-face/tools/datasets.js +383 -0
- package/dist/toolkits/hugging-face/tools/discussions.d.ts +68 -0
- package/dist/toolkits/hugging-face/tools/discussions.js +144 -0
- package/dist/toolkits/hugging-face/tools/index.d.ts +523 -0
- package/dist/toolkits/hugging-face/tools/index.js +163 -0
- package/dist/toolkits/hugging-face/tools/inference.d.ts +42 -0
- package/dist/toolkits/hugging-face/tools/inference.js +86 -0
- package/dist/toolkits/hugging-face/tools/models.d.ts +117 -0
- package/dist/toolkits/hugging-face/tools/models.js +273 -0
- package/dist/toolkits/hugging-face/tools/papers.d.ts +37 -0
- package/dist/toolkits/hugging-face/tools/papers.js +91 -0
- package/dist/toolkits/hugging-face/tools/repos.d.ts +96 -0
- package/dist/toolkits/hugging-face/tools/repos.js +201 -0
- package/dist/toolkits/hugging-face/tools/settings.d.ts +53 -0
- package/dist/toolkits/hugging-face/tools/settings.js +88 -0
- package/dist/toolkits/hugging-face/tools/spaces.d.ts +245 -0
- package/dist/toolkits/hugging-face/tools/spaces.js +468 -0
- package/dist/toolkits/hugging-face/tools/sql.d.ts +21 -0
- package/dist/toolkits/hugging-face/tools/sql.js +47 -0
- package/dist/toolkits/hugging-face/tools/users.d.ts +60 -0
- package/dist/toolkits/hugging-face/tools/users.js +132 -0
- package/dist/toolkits/hugging-face/tools/webhooks.d.ts +35 -0
- package/dist/toolkits/hugging-face/tools/webhooks.js +87 -0
- package/dist/toolkits/jira/icon.d.ts +5 -0
- package/dist/toolkits/jira/icon.js +6 -0
- package/dist/toolkits/jira/manifest.d.ts +3 -0
- package/dist/toolkits/jira/manifest.js +53 -0
- package/dist/toolkits/jira/tools/boards.d.ts +52 -0
- package/dist/toolkits/jira/tools/boards.js +104 -0
- package/dist/toolkits/jira/tools/client.d.ts +23 -0
- package/dist/toolkits/jira/tools/client.js +270 -0
- package/dist/toolkits/jira/tools/index.d.ts +1280 -0
- package/dist/toolkits/jira/tools/index.js +119 -0
- package/dist/toolkits/jira/tools/issue-fields.d.ts +10 -0
- package/dist/toolkits/jira/tools/issue-fields.js +111 -0
- package/dist/toolkits/jira/tools/issues.d.ts +304 -0
- package/dist/toolkits/jira/tools/issues.js +593 -0
- package/dist/toolkits/jira/tools/meta.d.ts +212 -0
- package/dist/toolkits/jira/tools/meta.js +369 -0
- package/dist/toolkits/jira/tools/projects.d.ts +130 -0
- package/dist/toolkits/jira/tools/projects.js +263 -0
- package/dist/toolkits/jira/tools/search.d.ts +90 -0
- package/dist/toolkits/jira/tools/search.js +181 -0
- package/dist/toolkits/jira/tools/users.d.ts +114 -0
- package/dist/toolkits/jira/tools/users.js +221 -0
- package/dist/toolkits/neo4j/icon.d.ts +5 -0
- package/dist/toolkits/neo4j/icon.js +6 -0
- package/dist/toolkits/neo4j/manifest.d.ts +3 -0
- package/dist/toolkits/neo4j/manifest.js +33 -0
- package/dist/toolkits/neo4j/tools/analytics.d.ts +21 -0
- package/dist/toolkits/neo4j/tools/analytics.js +91 -0
- package/dist/toolkits/neo4j/tools/client.d.ts +6 -0
- package/dist/toolkits/neo4j/tools/client.js +105 -0
- package/dist/toolkits/neo4j/tools/index.d.ts +198 -0
- package/dist/toolkits/neo4j/tools/index.js +30 -0
- package/dist/toolkits/neo4j/tools/instances.d.ts +47 -0
- package/dist/toolkits/neo4j/tools/instances.js +127 -0
- package/dist/toolkits/neo4j/tools/projects.d.ts +44 -0
- package/dist/toolkits/neo4j/tools/projects.js +110 -0
- package/dist/toolkits/neo4j/tools/snapshots.d.ts +20 -0
- package/dist/toolkits/neo4j/tools/snapshots.js +57 -0
- package/dist/toolkits/neon/icon.d.ts +5 -0
- package/dist/toolkits/neon/icon.js +8 -0
- package/dist/toolkits/neon/manifest.d.ts +3 -0
- package/dist/toolkits/neon/manifest.js +36 -0
- package/dist/toolkits/neon/tools/auth.d.ts +115 -0
- package/dist/toolkits/neon/tools/auth.js +286 -0
- package/dist/toolkits/neon/tools/branches.d.ts +189 -0
- package/dist/toolkits/neon/tools/branches.js +465 -0
- package/dist/toolkits/neon/tools/client.d.ts +10 -0
- package/dist/toolkits/neon/tools/client.js +69 -0
- package/dist/toolkits/neon/tools/dataapi.d.ts +42 -0
- package/dist/toolkits/neon/tools/dataapi.js +111 -0
- package/dist/toolkits/neon/tools/endpoints.d.ts +59 -0
- package/dist/toolkits/neon/tools/endpoints.js +163 -0
- package/dist/toolkits/neon/tools/index.d.ts +976 -0
- package/dist/toolkits/neon/tools/index.js +130 -0
- package/dist/toolkits/neon/tools/meta.d.ts +4 -0
- package/dist/toolkits/neon/tools/meta.js +16 -0
- package/dist/toolkits/neon/tools/orgs.d.ts +112 -0
- package/dist/toolkits/neon/tools/orgs.js +303 -0
- package/dist/toolkits/neon/tools/projects.d.ts +177 -0
- package/dist/toolkits/neon/tools/projects.js +468 -0
- package/dist/toolkits/neon/tools/snapshots.d.ts +24 -0
- package/dist/toolkits/neon/tools/snapshots.js +67 -0
- package/dist/toolkits/reddit/tools/index.d.ts +1 -1
- package/dist/toolkits/reddit/tools/search-across-subreddits.d.ts +1 -1
- package/dist/toolkits/slack/icon.d.ts +5 -0
- package/dist/toolkits/slack/icon.js +20 -0
- package/dist/toolkits/slack/manifest.d.ts +3 -0
- package/dist/toolkits/slack/manifest.js +93 -0
- package/dist/toolkits/slack/tools/admin-apps.d.ts +32 -0
- package/dist/toolkits/slack/tools/admin-apps.js +116 -0
- package/dist/toolkits/slack/tools/admin-conversations.d.ts +62 -0
- package/dist/toolkits/slack/tools/admin-conversations.js +246 -0
- package/dist/toolkits/slack/tools/admin-invites.d.ts +19 -0
- package/dist/toolkits/slack/tools/admin-invites.js +75 -0
- package/dist/toolkits/slack/tools/admin-users.d.ts +52 -0
- package/dist/toolkits/slack/tools/admin-users.js +182 -0
- package/dist/toolkits/slack/tools/audit.d.ts +20 -0
- package/dist/toolkits/slack/tools/audit.js +81 -0
- package/dist/toolkits/slack/tools/calls.d.ts +38 -0
- package/dist/toolkits/slack/tools/calls.js +141 -0
- package/dist/toolkits/slack/tools/canvas.d.ts +24 -0
- package/dist/toolkits/slack/tools/canvas.js +102 -0
- package/dist/toolkits/slack/tools/client.d.ts +22 -0
- package/dist/toolkits/slack/tools/client.js +73 -0
- package/dist/toolkits/slack/tools/conversations.d.ts +131 -0
- package/dist/toolkits/slack/tools/conversations.js +463 -0
- package/dist/toolkits/slack/tools/emoji.d.ts +29 -0
- package/dist/toolkits/slack/tools/emoji.js +118 -0
- package/dist/toolkits/slack/tools/files.d.ts +113 -0
- package/dist/toolkits/slack/tools/files.js +368 -0
- package/dist/toolkits/slack/tools/index.d.ts +28 -0
- package/dist/toolkits/slack/tools/index.js +187 -0
- package/dist/toolkits/slack/tools/messages.d.ts +106 -0
- package/dist/toolkits/slack/tools/messages.js +340 -0
- package/dist/toolkits/slack/tools/misc.d.ts +42 -0
- package/dist/toolkits/slack/tools/misc.js +127 -0
- package/dist/toolkits/slack/tools/reactions-stars-pins.d.ts +69 -0
- package/dist/toolkits/slack/tools/reactions-stars-pins.js +236 -0
- package/dist/toolkits/slack/tools/reminders.d.ts +22 -0
- package/dist/toolkits/slack/tools/reminders.js +83 -0
- package/dist/toolkits/slack/tools/search.d.ts +49 -0
- package/dist/toolkits/slack/tools/search.js +155 -0
- package/dist/toolkits/slack/tools/slack-lists.d.ts +65 -0
- package/dist/toolkits/slack/tools/slack-lists.js +282 -0
- package/dist/toolkits/slack/tools/teams.d.ts +75 -0
- package/dist/toolkits/slack/tools/teams.js +285 -0
- package/dist/toolkits/slack/tools/usergroups.d.ts +56 -0
- package/dist/toolkits/slack/tools/usergroups.js +194 -0
- package/dist/toolkits/slack/tools/users.d.ts +87 -0
- package/dist/toolkits/slack/tools/users.js +396 -0
- package/dist/toolkits/youtube/tools/add-video-to-playlist.d.ts +1 -1
- package/dist/toolkits/youtube/tools/delete-video.d.ts +1 -1
- package/dist/toolkits/youtube/tools/index.d.ts +10 -10
- package/dist/toolkits/youtube/tools/list-caption-track.d.ts +1 -1
- package/dist/toolkits/youtube/tools/list-playlist-items.d.ts +1 -1
- package/dist/toolkits/youtube/tools/list-video-categories.d.ts +1 -1
- package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
- package/dist/toolkits/youtube/tools/report-video-abuse.d.ts +1 -1
- package/dist/toolkits/youtube/tools/search-youtube.d.ts +1 -1
- package/dist/toolkits/youtube/tools/update-thumbnail.d.ts +1 -1
- package/dist/toolkits/youtube/tools/update-video.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
export declare const jiraCheckPermissions: import("ai").Tool<{
|
|
2
|
+
accountId?: string | undefined;
|
|
3
|
+
jiraToken?: string | undefined;
|
|
4
|
+
jiraCloudId?: string | undefined;
|
|
5
|
+
globalPermissions?: string[] | undefined;
|
|
6
|
+
projectPermissions?: Record<string, any>[] | undefined;
|
|
7
|
+
}, any>;
|
|
8
|
+
export declare const jiraGetAllStatuses: import("ai").Tool<{
|
|
9
|
+
jiraToken?: string | undefined;
|
|
10
|
+
jiraCloudId?: string | undefined;
|
|
11
|
+
}, any>;
|
|
12
|
+
export declare const jiraGetAttachmentMeta: import("ai").Tool<{
|
|
13
|
+
jiraToken?: string | undefined;
|
|
14
|
+
jiraCloudId?: string | undefined;
|
|
15
|
+
}, any>;
|
|
16
|
+
export declare const jiraGetCreateMetadataIssueTypeFields: import("ai").Tool<{
|
|
17
|
+
projectIdOrKey: string;
|
|
18
|
+
issueTypeId: string;
|
|
19
|
+
maxResults?: number | undefined;
|
|
20
|
+
jiraToken?: string | undefined;
|
|
21
|
+
jiraCloudId?: string | undefined;
|
|
22
|
+
startAt?: number | undefined;
|
|
23
|
+
}, any>;
|
|
24
|
+
export declare const jiraGetDashboards: import("ai").Tool<{
|
|
25
|
+
filter?: "my" | "favourite" | undefined;
|
|
26
|
+
maxResults?: number | undefined;
|
|
27
|
+
jiraToken?: string | undefined;
|
|
28
|
+
jiraCloudId?: string | undefined;
|
|
29
|
+
startAt?: number | undefined;
|
|
30
|
+
}, any>;
|
|
31
|
+
export declare const jiraGetFavoriteFilters: import("ai").Tool<{
|
|
32
|
+
expand?: string | undefined;
|
|
33
|
+
jiraToken?: string | undefined;
|
|
34
|
+
jiraCloudId?: string | undefined;
|
|
35
|
+
}, any>;
|
|
36
|
+
export declare const jiraGetFields: import("ai").Tool<{
|
|
37
|
+
projectId?: string | undefined;
|
|
38
|
+
jiraToken?: string | undefined;
|
|
39
|
+
jiraCloudId?: string | undefined;
|
|
40
|
+
issueType?: string | undefined;
|
|
41
|
+
customOnly?: boolean | undefined;
|
|
42
|
+
}, any>;
|
|
43
|
+
export declare const jiraGetFieldsPaginated: import("ai").Tool<{
|
|
44
|
+
query?: string | undefined;
|
|
45
|
+
type?: string[] | undefined;
|
|
46
|
+
id?: string[] | undefined;
|
|
47
|
+
maxResults?: number | undefined;
|
|
48
|
+
orderBy?: "name" | "-name" | "+name" | "contextsCount" | "-contextsCount" | "+contextsCount" | "lastUsed" | "-lastUsed" | "+lastUsed" | "screensCount" | "-screensCount" | "+screensCount" | "projectsCount" | "-projectsCount" | "+projectsCount" | undefined;
|
|
49
|
+
expand?: string[] | undefined;
|
|
50
|
+
jiraToken?: string | undefined;
|
|
51
|
+
jiraCloudId?: string | undefined;
|
|
52
|
+
projectIds?: number[] | undefined;
|
|
53
|
+
startAt?: number | undefined;
|
|
54
|
+
}, any>;
|
|
55
|
+
export declare const jiraGetFilter: import("ai").Tool<{
|
|
56
|
+
id: string;
|
|
57
|
+
expand?: string | undefined;
|
|
58
|
+
jiraToken?: string | undefined;
|
|
59
|
+
jiraCloudId?: string | undefined;
|
|
60
|
+
overrideSharePermissions?: boolean | undefined;
|
|
61
|
+
}, any>;
|
|
62
|
+
export declare const jiraGetInfo: import("ai").Tool<{
|
|
63
|
+
jiraToken?: string | undefined;
|
|
64
|
+
jiraCloudId?: string | undefined;
|
|
65
|
+
}, any>;
|
|
66
|
+
export declare const jiraGetIssueCreateMetadata: import("ai").Tool<{
|
|
67
|
+
expand?: string | undefined;
|
|
68
|
+
jiraToken?: string | undefined;
|
|
69
|
+
jiraCloudId?: string | undefined;
|
|
70
|
+
projectIds?: string[] | undefined;
|
|
71
|
+
projectKeys?: string[] | undefined;
|
|
72
|
+
issuetypeIds?: string[] | undefined;
|
|
73
|
+
issuetypeNames?: string[] | undefined;
|
|
74
|
+
}, any>;
|
|
75
|
+
export declare const jiraGetIssueResolutions: import("ai").Tool<{
|
|
76
|
+
jiraToken?: string | undefined;
|
|
77
|
+
jiraCloudId?: string | undefined;
|
|
78
|
+
}, any>;
|
|
79
|
+
export declare const jiraGetIssueTypes: import("ai").Tool<{
|
|
80
|
+
jiraToken?: string | undefined;
|
|
81
|
+
jiraCloudId?: string | undefined;
|
|
82
|
+
}, any>;
|
|
83
|
+
export declare const jiraGetMyPermissions: import("ai").Tool<{
|
|
84
|
+
permissions: string;
|
|
85
|
+
issueId?: string | undefined;
|
|
86
|
+
projectId?: string | undefined;
|
|
87
|
+
commentId?: string | undefined;
|
|
88
|
+
projectKey?: string | undefined;
|
|
89
|
+
jiraToken?: string | undefined;
|
|
90
|
+
jiraCloudId?: string | undefined;
|
|
91
|
+
issueKey?: string | undefined;
|
|
92
|
+
projectUuid?: string | undefined;
|
|
93
|
+
projectConfigurationUuid?: string | undefined;
|
|
94
|
+
}, any>;
|
|
95
|
+
export declare const jiraGetPermissions: import("ai").Tool<{
|
|
96
|
+
jiraToken?: string | undefined;
|
|
97
|
+
jiraCloudId?: string | undefined;
|
|
98
|
+
}, any>;
|
|
99
|
+
export declare const jiraGetPermittedProjects: import("ai").Tool<{
|
|
100
|
+
permissions: string[];
|
|
101
|
+
jiraToken?: string | undefined;
|
|
102
|
+
jiraCloudId?: string | undefined;
|
|
103
|
+
}, any>;
|
|
104
|
+
export declare const jiraGetServerInfo: import("ai").Tool<{
|
|
105
|
+
jiraToken?: string | undefined;
|
|
106
|
+
jiraCloudId?: string | undefined;
|
|
107
|
+
}, any>;
|
|
108
|
+
export declare const jiraGetServiceDeskRequestTypeFields: import("ai").Tool<{
|
|
109
|
+
requestTypeId: string;
|
|
110
|
+
serviceDeskId: string;
|
|
111
|
+
jiraToken?: string | undefined;
|
|
112
|
+
jiraCloudId?: string | undefined;
|
|
113
|
+
}, any>;
|
|
114
|
+
export declare const jiraGetSystemAvatars: import("ai").Tool<{
|
|
115
|
+
type: "priority" | "user" | "project" | "issuetype";
|
|
116
|
+
jiraToken?: string | undefined;
|
|
117
|
+
jiraCloudId?: string | undefined;
|
|
118
|
+
}, any>;
|
|
119
|
+
export declare const jiraGetUniversalAvatarTypeOwner: import("ai").Tool<{
|
|
120
|
+
type: "priority" | "project" | "issuetype";
|
|
121
|
+
entityId: string;
|
|
122
|
+
jiraToken?: string | undefined;
|
|
123
|
+
jiraCloudId?: string | undefined;
|
|
124
|
+
}, any>;
|
|
125
|
+
export declare const jiraGetUniversalAvatarViewType: import("ai").Tool<{
|
|
126
|
+
type: "priority" | "project" | "issuetype";
|
|
127
|
+
size?: "medium" | "small" | "xsmall" | "large" | "xlarge" | undefined;
|
|
128
|
+
format?: "svg" | "png" | undefined;
|
|
129
|
+
jiraToken?: string | undefined;
|
|
130
|
+
jiraCloudId?: string | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
error: string;
|
|
133
|
+
avatarUrl?: undefined;
|
|
134
|
+
contentType?: undefined;
|
|
135
|
+
contentLength?: undefined;
|
|
136
|
+
fileName?: undefined;
|
|
137
|
+
message?: undefined;
|
|
138
|
+
} | {
|
|
139
|
+
avatarUrl: string;
|
|
140
|
+
contentType: string | null;
|
|
141
|
+
contentLength: number;
|
|
142
|
+
fileName: any;
|
|
143
|
+
error?: undefined;
|
|
144
|
+
message?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
error: string;
|
|
147
|
+
message: string;
|
|
148
|
+
avatarUrl?: undefined;
|
|
149
|
+
contentType?: undefined;
|
|
150
|
+
contentLength?: undefined;
|
|
151
|
+
fileName?: undefined;
|
|
152
|
+
}>;
|
|
153
|
+
export declare const jiraGetViewTypeAvatar: import("ai").Tool<{
|
|
154
|
+
type: "priority" | "project" | "issuetype";
|
|
155
|
+
id: number;
|
|
156
|
+
size?: "medium" | "small" | "xsmall" | "large" | "xlarge" | undefined;
|
|
157
|
+
format?: "svg" | "png" | undefined;
|
|
158
|
+
jiraToken?: string | undefined;
|
|
159
|
+
jiraCloudId?: string | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
error: string;
|
|
162
|
+
avatarUrl?: undefined;
|
|
163
|
+
contentType?: undefined;
|
|
164
|
+
contentLength?: undefined;
|
|
165
|
+
fileName?: undefined;
|
|
166
|
+
message?: undefined;
|
|
167
|
+
} | {
|
|
168
|
+
avatarUrl: string;
|
|
169
|
+
contentType: string | null;
|
|
170
|
+
contentLength: number;
|
|
171
|
+
fileName: any;
|
|
172
|
+
error?: undefined;
|
|
173
|
+
message?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
error: string;
|
|
176
|
+
message: string;
|
|
177
|
+
avatarUrl?: undefined;
|
|
178
|
+
contentType?: undefined;
|
|
179
|
+
contentLength?: undefined;
|
|
180
|
+
fileName?: undefined;
|
|
181
|
+
}>;
|
|
182
|
+
export declare const jiraListFilters: import("ai").Tool<{
|
|
183
|
+
id?: number[] | undefined;
|
|
184
|
+
projectId?: number | undefined;
|
|
185
|
+
maxResults?: number | undefined;
|
|
186
|
+
owner?: string | undefined;
|
|
187
|
+
orderBy?: string | undefined;
|
|
188
|
+
accountId?: string | undefined;
|
|
189
|
+
expand?: string | undefined;
|
|
190
|
+
jiraToken?: string | undefined;
|
|
191
|
+
jiraCloudId?: string | undefined;
|
|
192
|
+
groupId?: string | undefined;
|
|
193
|
+
startAt?: number | undefined;
|
|
194
|
+
groupname?: string | undefined;
|
|
195
|
+
filterName?: string | undefined;
|
|
196
|
+
}, any>;
|
|
197
|
+
export declare const jiraSearchDashboards: import("ai").Tool<{
|
|
198
|
+
status?: "active" | "deleted" | "archived" | undefined;
|
|
199
|
+
projectId?: number | undefined;
|
|
200
|
+
maxResults?: number | undefined;
|
|
201
|
+
owner?: string | undefined;
|
|
202
|
+
orderBy?: "description" | "id" | "name" | "owner" | "-description" | "+description" | "-name" | "+name" | "-id" | "+id" | "-owner" | "+owner" | undefined;
|
|
203
|
+
accountId?: string | undefined;
|
|
204
|
+
expand?: string | undefined;
|
|
205
|
+
jiraToken?: string | undefined;
|
|
206
|
+
jiraCloudId?: string | undefined;
|
|
207
|
+
groupId?: string | undefined;
|
|
208
|
+
startAt?: number | undefined;
|
|
209
|
+
groupname?: string | undefined;
|
|
210
|
+
dashboardName?: string | undefined;
|
|
211
|
+
}, any>;
|
|
212
|
+
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { tool } from 'ai';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { jira } from './client.js';
|
|
5
|
+
import { ATLASSIAN_API, getCloudId } from './client.js';
|
|
6
|
+
const tokenField = z.string().optional().describe('Injected by system; do not provide');
|
|
7
|
+
async function fetchAvatar(jiraToken, jiraCloudId, avatarPath, params, fallbackName) {
|
|
8
|
+
const cid = await getCloudId(jiraToken, jiraCloudId);
|
|
9
|
+
if (!cid)
|
|
10
|
+
return { error: 'Could not determine your Jira Cloud site. Reconnect Jira and try again.' };
|
|
11
|
+
const qs = new URLSearchParams();
|
|
12
|
+
if (params?.size)
|
|
13
|
+
qs.append('size', params.size);
|
|
14
|
+
if (params?.format)
|
|
15
|
+
qs.append('format', params.format);
|
|
16
|
+
const url = `${ATLASSIAN_API}/ex/jira/${cid}/rest/api/3${avatarPath}${qs.toString() ? `?${qs}` : ''}`;
|
|
17
|
+
try {
|
|
18
|
+
const response = await fetch(url, { headers: { Authorization: `Bearer ${jiraToken}` } });
|
|
19
|
+
if (!response.ok)
|
|
20
|
+
return { error: `Jira API request failed with status ${response.status}` };
|
|
21
|
+
const buf = await response.arrayBuffer();
|
|
22
|
+
return { avatarUrl: url, contentType: response.headers.get('content-type'), contentLength: buf.byteLength, fileName: fallbackName };
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
return { error: 'Error fetching avatar from Jira', message: error instanceof Error ? error.message : 'Unknown error' };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export const jiraCheckPermissions = tool({
|
|
29
|
+
description: "Check user permissions for global and project-level operations in Jira. Use this action to verify whether a user has specific permissions at the system level or within projects. Useful for authorization checks before performing operations, or for auditing user access rights.",
|
|
30
|
+
inputSchema: z.object({
|
|
31
|
+
jiraToken: tokenField,
|
|
32
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
33
|
+
accountId: z.string().optional().describe("The account ID of the user to check permissions for. If not provided, checks permissions for the currently authenticated user. Account ID format: '712020:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' or '5b10a2844c20165700ede21g'."),
|
|
34
|
+
globalPermissions: z.array(z.string()).optional().describe("List of global (system-level) permission keys to check (e.g., 'ADMINISTER', 'SYSTEM_ADMIN', 'CREATE_SHARED_OBJECTS', 'MANAGE_GROUP_FILTER_SUBSCRIPTIONS'). These permissions apply to the entire Jira instance."),
|
|
35
|
+
projectPermissions: z.array(z.record(z.any())).optional().describe("List of project-level permission checks. Each item specifies permissions to validate along with optional project and issue IDs for context."),
|
|
36
|
+
}),
|
|
37
|
+
execute: async ({ jiraToken, jiraCloudId, accountId, globalPermissions, projectPermissions }) => {
|
|
38
|
+
const queryParams = undefined;
|
|
39
|
+
const body = { accountId: accountId, globalPermissions: globalPermissions, projectPermissions: projectPermissions };
|
|
40
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/permissions/check`, method: 'POST', query: queryParams, body });
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
export const jiraGetAllStatuses = tool({
|
|
44
|
+
description: "This action retrieves issue statuses that are associated with workflows in Jira. It provides detailed information about each status including name, description, and category. Note: This may not include statuses from team-managed (Next-Gen) projects or unused statuses.",
|
|
45
|
+
inputSchema: z.object({
|
|
46
|
+
jiraToken: tokenField,
|
|
47
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
48
|
+
}),
|
|
49
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
50
|
+
const queryParams = undefined;
|
|
51
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/status`, method: 'GET', query: queryParams });
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
export const jiraGetAttachmentMeta = tool({
|
|
55
|
+
description: "Tool to retrieve Jira attachment settings including upload limits and enabled status. Use when you need to check if attachments are enabled or determine the maximum file size allowed.",
|
|
56
|
+
inputSchema: z.object({
|
|
57
|
+
jiraToken: tokenField,
|
|
58
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
59
|
+
}),
|
|
60
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
61
|
+
const queryParams = undefined;
|
|
62
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/attachment/meta`, method: 'GET', query: queryParams });
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
export const jiraGetCreateMetadataIssueTypeFields = tool({
|
|
66
|
+
description: "Tool to retrieve field metadata for a specific issue type in a project. Use this to discover required fields, allowed values, and field configurations before creating issues of a specific type.",
|
|
67
|
+
inputSchema: z.object({
|
|
68
|
+
jiraToken: tokenField,
|
|
69
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
70
|
+
startAt: z.number().int().optional().describe("The index of the first item to return in a page of results (page offset). Default is 0."),
|
|
71
|
+
maxResults: z.number().int().min(1).max(200).optional().describe("The maximum number of items to return per page. Default is 50. Maximum allowed value is 200."),
|
|
72
|
+
issueTypeId: z.string().describe("The issue type ID. This is the numeric identifier for the issue type (e.g., '10001' for Task, '10002' for Story). Use JIRA_GET_ISSUE_TYPES to discover available issue type IDs for a project."),
|
|
73
|
+
projectIdOrKey: z.string().describe("The ID or key of the project. For example, '10000' or 'KAN'. Use the project key (e.g., 'KAN') for easier identification, or the numeric project ID."),
|
|
74
|
+
}),
|
|
75
|
+
execute: async ({ jiraToken, jiraCloudId, startAt, maxResults, issueTypeId, projectIdOrKey }) => {
|
|
76
|
+
const queryParams = { startAt: startAt, maxResults: maxResults };
|
|
77
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/issue/createmeta/${encodeURIComponent(projectIdOrKey)}/issuetypes/${encodeURIComponent(issueTypeId)}`, method: 'GET', query: queryParams });
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
export const jiraGetDashboards = tool({
|
|
81
|
+
description: "Tool to list and search Jira dashboards visible to the current user. Use when you need to discover available dashboards, filter by ownership or favorites, or retrieve dashboard details including permissions and popularity.",
|
|
82
|
+
inputSchema: z.object({
|
|
83
|
+
jiraToken: tokenField,
|
|
84
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
85
|
+
filter: z.enum(["my", "favourite"]).optional().describe("Filter options for dashboard search."),
|
|
86
|
+
startAt: z.number().int().min(0).optional().describe("The index of the first item to return in a page of results (page offset). Defaults to 0 if not specified."),
|
|
87
|
+
maxResults: z.number().int().min(1).optional().describe("The maximum number of items to return per page. Defaults to 20 if not specified."),
|
|
88
|
+
}),
|
|
89
|
+
execute: async ({ jiraToken, jiraCloudId, filter, startAt, maxResults }) => {
|
|
90
|
+
const queryParams = { filter: filter, startAt: startAt, maxResults: maxResults };
|
|
91
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/dashboard`, method: 'GET', query: queryParams });
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
export const jiraGetFavoriteFilters = tool({
|
|
95
|
+
description: "Tool to retrieve favorite filters for the current user. Use when you need to discover which saved filters the user has marked as favorites.",
|
|
96
|
+
inputSchema: z.object({
|
|
97
|
+
jiraToken: tokenField,
|
|
98
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
99
|
+
expand: z.string().optional().describe("Use expand to include additional information about filter in the response. This parameter accepts a comma-separated list. Expand options include: 'sharedUsers' (returns users the filter is shared with, limited to 1000; append [start-index:end-index] for pagination, e.g., 'sharedUsers[1001:2000]'), 'subscriptions' (returns users subscribed to the filter, limited to 1000; append [start-index:end-index] for pagination, e.g., 'subscriptions[1001:2000]')."),
|
|
100
|
+
}),
|
|
101
|
+
execute: async ({ jiraToken, jiraCloudId, expand }) => {
|
|
102
|
+
const queryParams = { expand: expand };
|
|
103
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/filter/favourite`, method: 'GET', query: queryParams });
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
export const jiraGetFields = tool({
|
|
107
|
+
description: "Retrieves metadata for Jira issue fields so you can identify custom field IDs before editing an issue.",
|
|
108
|
+
inputSchema: z.object({
|
|
109
|
+
jiraToken: tokenField,
|
|
110
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
111
|
+
issueType: z.string().optional().describe("Filter fields by issue type. Can be issue type ID (e.g., '10001') or name (e.g., 'Bug', 'Task', 'Story'). Requires 'project_id' to be specified."),
|
|
112
|
+
projectId: z.string().optional().describe("Filter fields by project ID (e.g., '10000')."),
|
|
113
|
+
customOnly: z.boolean().optional().describe("If true, returns only custom fields; otherwise returns all fields."),
|
|
114
|
+
}),
|
|
115
|
+
execute: async ({ jiraToken, jiraCloudId, issueType, projectId, customOnly }) => {
|
|
116
|
+
const all = await jira(jiraToken, { cloudId: jiraCloudId, path: "/field" });
|
|
117
|
+
if (all?.error)
|
|
118
|
+
return all;
|
|
119
|
+
const list = Array.isArray(all) ? all : [];
|
|
120
|
+
const fields = customOnly ? list.filter((f) => f.custom === true) : list;
|
|
121
|
+
return { fields };
|
|
122
|
+
},
|
|
123
|
+
});
|
|
124
|
+
export const jiraGetFieldsPaginated = tool({
|
|
125
|
+
description: "Tool to retrieve Jira fields in pages. Use when you need to filter or page through custom and system fields.",
|
|
126
|
+
inputSchema: z.object({
|
|
127
|
+
jiraToken: tokenField,
|
|
128
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
129
|
+
id: z.array(z.string()).optional().describe("Filter fields by their IDs. Provide a list of field ID strings."),
|
|
130
|
+
type: z.array(z.string()).optional().describe("Filter fields by type. One or more of 'custom' or 'system'."),
|
|
131
|
+
query: z.string().optional().describe("Case-insensitive partial match string for field names or descriptions."),
|
|
132
|
+
expand: z.array(z.string()).optional().describe("Additional information to include in the response; comma-separated options."),
|
|
133
|
+
orderBy: z.enum(["contextsCount", "-contextsCount", "+contextsCount", "lastUsed", "-lastUsed", "+lastUsed", "name", "-name", "+name", "screensCount", "-screensCount", "+screensCount", "projectsCount", "-projectsCount", "+projectsCount"]).optional().describe("Order the results by the selected field. Prefix with '-' or '+' for descending/ascending."),
|
|
134
|
+
startAt: z.number().int().min(0).optional().describe("The index of the first item to return in a page of results. Default is 0."),
|
|
135
|
+
maxResults: z.number().int().min(1).optional().describe("The maximum number of items to return per page. Default is 50."),
|
|
136
|
+
projectIds: z.array(z.number().int()).optional().describe("Filter fields by these project IDs. Inaccessible projects are excluded."),
|
|
137
|
+
}),
|
|
138
|
+
execute: async ({ jiraToken, jiraCloudId, id, type, query, expand, orderBy, startAt, maxResults, projectIds }) => {
|
|
139
|
+
const queryParams = { query: query, type: type, id: id, expand: expand, orderBy: orderBy, startAt: startAt, maxResults: maxResults, projectIds: projectIds };
|
|
140
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/field/search`, method: 'GET', query: queryParams });
|
|
141
|
+
},
|
|
142
|
+
});
|
|
143
|
+
export const jiraGetFilter = tool({
|
|
144
|
+
description: "This action retrieves a specific Jira saved filter using its ID. It returns the filter's JQL query, owner, sharing permissions, and other metadata. This enables a workflow pattern: (1) list/search filters, (2) get filter details including JQL, (3) use that JQL with JIRA_SEARCH_* actions to retrieve matching issues.",
|
|
145
|
+
inputSchema: z.object({
|
|
146
|
+
jiraToken: tokenField,
|
|
147
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
148
|
+
id: z.string().describe("The ID of the filter to retrieve (numeric string, e.g., '10000')."),
|
|
149
|
+
expand: z.string().optional().describe("Use expand to include additional information about the filter. Available expansions include 'sharedUsers' (users the filter is shared with), 'subscriptions' (filter subscriptions). Provide as a comma-separated list (e.g., 'sharedUsers,subscriptions')."),
|
|
150
|
+
overrideSharePermissions: z.boolean().optional().describe("Set to true to override share permissions and retrieve filters not shared with the user. Requires administrative privileges. Defaults to false."),
|
|
151
|
+
}),
|
|
152
|
+
execute: async ({ jiraToken, jiraCloudId, id, expand, overrideSharePermissions }) => {
|
|
153
|
+
const queryParams = { expand: expand, overrideSharePermissions: overrideSharePermissions };
|
|
154
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/filter/${encodeURIComponent(id)}`, method: 'GET', query: queryParams });
|
|
155
|
+
},
|
|
156
|
+
});
|
|
157
|
+
export const jiraGetInfo = tool({
|
|
158
|
+
description: "Retrieves runtime information for the Jira Service Management instance. Use when you need to check the version, build date, or license status.",
|
|
159
|
+
inputSchema: z.object({
|
|
160
|
+
jiraToken: tokenField,
|
|
161
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
162
|
+
}),
|
|
163
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
164
|
+
const queryParams = undefined;
|
|
165
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'servicedeskapi', path: `/info`, method: 'GET', query: queryParams });
|
|
166
|
+
},
|
|
167
|
+
});
|
|
168
|
+
export const jiraGetIssueCreateMetadata = tool({
|
|
169
|
+
description: "DEPRECATED: Use JIRA_GET_CREATE_METADATA_ISSUE_TYPE_FIELDS instead. This action wraps the deprecated query-based GET /issue/createmeta endpoint. Tool to retrieve issue creation metadata for Jira projects (available projects, issue types, and required fields).",
|
|
170
|
+
inputSchema: z.object({
|
|
171
|
+
jiraToken: tokenField,
|
|
172
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
173
|
+
expand: z.string().optional().describe("Use expand to include additional information about issue metadata in the response. This parameter accepts 'projects.issuetypes.fields', which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate the 'fields' and 'update' fields in Create issue and Create issues endpoints."),
|
|
174
|
+
projectIds: z.array(z.string()).optional().describe("List of project IDs to filter the results. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example, 'projectIds=10000,10001&projectIds=10020,10021'. This parameter may be provided with 'projectKeys'."),
|
|
175
|
+
projectKeys: z.array(z.string()).optional().describe("List of project keys to filter the results. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example, 'projectKeys=proj1,proj2&projectKeys=proj3'. This parameter may be provided with 'projectIds'."),
|
|
176
|
+
issuetypeIds: z.array(z.string()).optional().describe("List of issue type IDs to filter the results. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example, 'issuetypeIds=10000,10001&issuetypeIds=10020,10021'. This parameter may be provided with 'issuetypeNames'."),
|
|
177
|
+
issuetypeNames: z.array(z.string()).optional().describe("List of issue type names to filter the results. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example, 'issuetypeNames=name1,name2&issuetypeNames=name3'. This parameter may be provided with 'issuetypeIds'."),
|
|
178
|
+
}),
|
|
179
|
+
execute: async ({ jiraToken, jiraCloudId, expand, projectIds, projectKeys, issuetypeIds, issuetypeNames }) => {
|
|
180
|
+
const queryParams = { projectIds: projectIds, projectKeys: projectKeys, issuetypeIds: issuetypeIds, issuetypeNames: issuetypeNames, expand: expand };
|
|
181
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/issue/createmeta`, method: 'GET', query: queryParams });
|
|
182
|
+
},
|
|
183
|
+
});
|
|
184
|
+
export const jiraGetIssueResolutions = tool({
|
|
185
|
+
description: "This action fetches all issue resolutions available in Jira. It retrieves resolution types such as 'Done' or 'Fixed' that can be applied to issues.",
|
|
186
|
+
inputSchema: z.object({
|
|
187
|
+
jiraToken: tokenField,
|
|
188
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
189
|
+
}),
|
|
190
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
191
|
+
const queryParams = undefined;
|
|
192
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/resolution`, method: 'GET', query: queryParams });
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
export const jiraGetIssueTypes = tool({
|
|
196
|
+
description: "Retrieves a list of all available Jira issue types for the user. This action allows access to Jira's issue type details that can be utilized within the application.",
|
|
197
|
+
inputSchema: z.object({
|
|
198
|
+
jiraToken: tokenField,
|
|
199
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
200
|
+
}),
|
|
201
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
202
|
+
const queryParams = undefined;
|
|
203
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/issuetype`, method: 'GET', query: queryParams });
|
|
204
|
+
},
|
|
205
|
+
});
|
|
206
|
+
export const jiraGetMyPermissions = tool({
|
|
207
|
+
description: "Tool to retrieve the user's permissions in Jira. Use when checking what actions the authenticated user can perform in a specific context (project, issue, or comment).",
|
|
208
|
+
inputSchema: z.object({
|
|
209
|
+
jiraToken: tokenField,
|
|
210
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
211
|
+
issueId: z.string().optional().describe("The ID of the issue."),
|
|
212
|
+
issueKey: z.string().optional().describe("The key of the issue. Ignored if 'issueId' is provided."),
|
|
213
|
+
commentId: z.string().optional().describe("The ID of the comment."),
|
|
214
|
+
projectId: z.string().optional().describe("The ID of the project."),
|
|
215
|
+
projectKey: z.string().optional().describe("The key of the project. Ignored if 'projectId' is provided."),
|
|
216
|
+
permissions: z.string().describe("A comma-separated list of permission keys to check. Required: the API returns 400 if omitted. To get the list of available permissions, use the Get all permissions action."),
|
|
217
|
+
projectUuid: z.string().optional().describe("The UUID of the project."),
|
|
218
|
+
projectConfigurationUuid: z.string().optional().describe("The UUID of the project configuration."),
|
|
219
|
+
}),
|
|
220
|
+
execute: async ({ jiraToken, jiraCloudId, issueId, issueKey, commentId, projectId, projectKey, permissions, projectUuid, projectConfigurationUuid }) => {
|
|
221
|
+
const queryParams = { permissions: permissions, projectKey: projectKey, projectId: projectId, issueKey: issueKey, issueId: issueId, projectUuid: projectUuid, projectConfigurationUuid: projectConfigurationUuid, commentId: commentId };
|
|
222
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/mypermissions`, method: 'GET', query: queryParams });
|
|
223
|
+
},
|
|
224
|
+
});
|
|
225
|
+
export const jiraGetPermissions = tool({
|
|
226
|
+
description: "This action retrieves all available permissions in Jira, including both project-level and global permissions. It provides details about each permission such as its ID, key, name, type, and description.",
|
|
227
|
+
inputSchema: z.object({
|
|
228
|
+
jiraToken: tokenField,
|
|
229
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
230
|
+
}),
|
|
231
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
232
|
+
const queryParams = undefined;
|
|
233
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/permissions`, method: 'GET', query: queryParams });
|
|
234
|
+
},
|
|
235
|
+
});
|
|
236
|
+
export const jiraGetPermittedProjects = tool({
|
|
237
|
+
description: "This action retrieves a list of projects where the current user has all the specified permissions. It's useful for determining which projects a user can perform certain actions in.",
|
|
238
|
+
inputSchema: z.object({
|
|
239
|
+
jiraToken: tokenField,
|
|
240
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
241
|
+
permissions: z.array(z.string()).min(1).describe("A list of permission keys to filter projects. Only projects where the user has ALL specified permissions will be returned. Common permission keys: BROWSE_PROJECTS, CREATE_ISSUES, EDIT_ISSUES, DELETE_ISSUES, ADMINISTER_PROJECTS, ASSIGN_ISSUES, CLOSE_ISSUES, TRANSITION_ISSUES. See Jira's project permissions documentation for the full list of valid keys."),
|
|
242
|
+
}),
|
|
243
|
+
execute: async ({ jiraToken, jiraCloudId, permissions }) => {
|
|
244
|
+
const queryParams = undefined;
|
|
245
|
+
const body = { permissions: permissions };
|
|
246
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/permissions/project`, method: 'POST', query: queryParams, body });
|
|
247
|
+
},
|
|
248
|
+
});
|
|
249
|
+
export const jiraGetServerInfo = tool({
|
|
250
|
+
description: "Retrieves detailed information about the Jira instance, including version, build number, deployment type, server time, and URLs.",
|
|
251
|
+
inputSchema: z.object({
|
|
252
|
+
jiraToken: tokenField,
|
|
253
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
254
|
+
}),
|
|
255
|
+
execute: async ({ jiraToken, jiraCloudId }) => {
|
|
256
|
+
const queryParams = undefined;
|
|
257
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/serverInfo`, method: 'GET', query: queryParams });
|
|
258
|
+
},
|
|
259
|
+
});
|
|
260
|
+
export const jiraGetServiceDeskRequestTypeFields = tool({
|
|
261
|
+
description: "Retrieves the field metadata for a specific Jira Service Management request type, including required fields and valid values needed to submit a request.",
|
|
262
|
+
inputSchema: z.object({
|
|
263
|
+
jiraToken: tokenField,
|
|
264
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
265
|
+
requestTypeId: z.string().describe("The ID of the request type (e.g., '25')."),
|
|
266
|
+
serviceDeskId: z.string().describe("The ID or project key of the service desk (e.g., '10' or 'SD')."),
|
|
267
|
+
}),
|
|
268
|
+
execute: async ({ jiraToken, jiraCloudId, requestTypeId, serviceDeskId }) => {
|
|
269
|
+
const queryParams = undefined;
|
|
270
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'servicedeskapi', path: `/servicedesk/${encodeURIComponent(serviceDeskId)}/requesttype/${encodeURIComponent(requestTypeId)}/field`, method: 'GET', query: queryParams });
|
|
271
|
+
},
|
|
272
|
+
});
|
|
273
|
+
export const jiraGetSystemAvatars = tool({
|
|
274
|
+
description: "Tool to retrieve all system avatars for a specific type (issuetype, project, user, or priority). Use when you need to get a list of available default avatars that can be assigned to Jira entities.",
|
|
275
|
+
inputSchema: z.object({
|
|
276
|
+
jiraToken: tokenField,
|
|
277
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
278
|
+
type: z.enum(["issuetype", "project", "user", "priority"]).describe("The avatar type to retrieve system avatars for. Options: issuetype, project, user, priority."),
|
|
279
|
+
}),
|
|
280
|
+
execute: async ({ jiraToken, jiraCloudId, type }) => {
|
|
281
|
+
const queryParams = undefined;
|
|
282
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/avatar/${encodeURIComponent(type)}/system`, method: 'GET', query: queryParams });
|
|
283
|
+
},
|
|
284
|
+
});
|
|
285
|
+
export const jiraGetUniversalAvatarTypeOwner = tool({
|
|
286
|
+
description: "Tool to retrieve all avatars (system and custom) for a specific type and entity in Jira. Use when you need to view available avatar options for projects, issue types, or priorities.",
|
|
287
|
+
inputSchema: z.object({
|
|
288
|
+
jiraToken: tokenField,
|
|
289
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
290
|
+
type: z.enum(["project", "issuetype", "priority"]).describe("The avatar type. Must be one of: project, issuetype, or priority."),
|
|
291
|
+
entityId: z.string().describe("The ID of the item the avatar is associated with (e.g., project ID, issue type ID, or priority ID)."),
|
|
292
|
+
}),
|
|
293
|
+
execute: async ({ jiraToken, jiraCloudId, type, entityId }) => {
|
|
294
|
+
const queryParams = undefined;
|
|
295
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/universal_avatar/type/${encodeURIComponent(type)}/owner/${encodeURIComponent(entityId)}`, method: 'GET', query: queryParams });
|
|
296
|
+
},
|
|
297
|
+
});
|
|
298
|
+
export const jiraGetUniversalAvatarViewType = tool({
|
|
299
|
+
description: "Tool to retrieve the default avatar image for a specific type (project, issuetype, or priority) from Jira. Use when you need to download the default avatar for a type.",
|
|
300
|
+
inputSchema: z.object({
|
|
301
|
+
jiraToken: tokenField,
|
|
302
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
303
|
+
size: z.enum(["xsmall", "small", "medium", "large", "xlarge"]).optional().describe("The size of the avatar image."),
|
|
304
|
+
type: z.enum(["issuetype", "project", "priority"]).describe("The icon type of the avatar (issuetype, project, or priority)."),
|
|
305
|
+
format: z.enum(["png", "svg"]).optional().describe("The format of the avatar image."),
|
|
306
|
+
}),
|
|
307
|
+
execute: async ({ jiraToken, jiraCloudId, size, type, format }) => {
|
|
308
|
+
return fetchAvatar(jiraToken, jiraCloudId, `/universal_avatar/view/type/${type}`, { size, format }, `avatar-${type}`);
|
|
309
|
+
},
|
|
310
|
+
});
|
|
311
|
+
export const jiraGetViewTypeAvatar = tool({
|
|
312
|
+
description: "Tool to retrieve a specific avatar image by type and ID from Jira. Use when you need to download avatar images for projects, issue types, or priorities.",
|
|
313
|
+
inputSchema: z.object({
|
|
314
|
+
jiraToken: tokenField,
|
|
315
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
316
|
+
id: z.number().int().min(1).describe("The ID of the avatar."),
|
|
317
|
+
size: z.enum(["xsmall", "small", "medium", "large", "xlarge"]).optional().describe("The size of the avatar image."),
|
|
318
|
+
type: z.enum(["issuetype", "project", "priority"]).describe("The icon type of the avatar (issuetype, project, or priority)."),
|
|
319
|
+
format: z.enum(["png", "svg"]).optional().describe("The format of the avatar image."),
|
|
320
|
+
}),
|
|
321
|
+
execute: async ({ jiraToken, jiraCloudId, id, size, type, format }) => {
|
|
322
|
+
return fetchAvatar(jiraToken, jiraCloudId, `/avatar/${type}/${id}`, { size, format }, `avatar-${type}-${id}`);
|
|
323
|
+
},
|
|
324
|
+
});
|
|
325
|
+
export const jiraListFilters = tool({
|
|
326
|
+
description: "Tool to search and list Jira saved filters (saved searches) visible to the current user. Use when you need to discover existing filters, find filters by name or owner, or get filter details including JQL queries and sharing permissions.",
|
|
327
|
+
inputSchema: z.object({
|
|
328
|
+
jiraToken: tokenField,
|
|
329
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
330
|
+
id: z.array(z.number().int()).optional().describe("Filter results by filter IDs. Multiple IDs can be provided."),
|
|
331
|
+
owner: z.string().optional().describe("Filter results by owner username. This parameter cannot be used with the accountId parameter."),
|
|
332
|
+
expand: z.string().optional().describe("Comma-separated list of properties to expand in the response. Valid values: description, favourite, favouritedCount, jql, owner, searchUrl, sharePermissions, subscriptions, viewUrl."),
|
|
333
|
+
groupId: z.string().optional().describe("Filter results by group ID. Filters are returned if they are shared with the specified group."),
|
|
334
|
+
orderBy: z.string().optional().describe("Order the results by a field. Valid values: description, favourite_count, is_favourite, id, name, owner. Add '-' prefix for descending order."),
|
|
335
|
+
startAt: z.number().int().min(0).optional().describe("The 0-based index of the first item to return in the page of results. Used for pagination."),
|
|
336
|
+
accountId: z.string().optional().describe("Filter results by owner account ID."),
|
|
337
|
+
groupname: z.string().optional().describe("Filter results by group name. Filters are returned if they are shared with the specified group."),
|
|
338
|
+
projectId: z.number().int().optional().describe("Filter results by project ID. Filters are returned if they are shared with the specified project."),
|
|
339
|
+
filterName: z.string().optional().describe("Filter results by filter name. Partial matches are supported."),
|
|
340
|
+
maxResults: z.number().int().min(1).optional().describe("The maximum number of items to return per page. Maximum value is typically 50."),
|
|
341
|
+
}),
|
|
342
|
+
execute: async ({ jiraToken, jiraCloudId, id, owner, expand, groupId, orderBy, startAt, accountId, groupname, projectId, filterName, maxResults }) => {
|
|
343
|
+
const queryParams = { filterName: filterName, accountId: accountId, owner: owner, groupname: groupname, groupId: groupId, projectId: projectId, id: id, orderBy: orderBy, startAt: startAt, maxResults: maxResults, expand: expand };
|
|
344
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/filter/search`, method: 'GET', query: queryParams });
|
|
345
|
+
},
|
|
346
|
+
});
|
|
347
|
+
export const jiraSearchDashboards = tool({
|
|
348
|
+
description: "Tool to search for Jira dashboards with filtering, sorting, and pagination support. Use when you need to find dashboards by name, owner, sharing permissions, or status. Supports filtering by owner account ID, group, project, and dashboard name.",
|
|
349
|
+
inputSchema: z.object({
|
|
350
|
+
jiraToken: tokenField,
|
|
351
|
+
jiraCloudId: z.string().optional().describe('Optional Jira Cloud site ID. If omitted, your first accessible site is used automatically.'),
|
|
352
|
+
owner: z.string().optional().describe("User name used to return dashboards with the matching owner.name. This parameter is deprecated due to privacy changes - use accountId instead. Cannot be used with accountId parameter."),
|
|
353
|
+
expand: z.string().optional().describe("Comma-separated list of properties to expand. Options: description, owner, viewUrl, favourite, favouritedCount, sharePermissions, editPermissions, isWritable."),
|
|
354
|
+
status: z.enum(["active", "archived", "deleted"]).optional().describe("Enum for dashboard status filter."),
|
|
355
|
+
groupId: z.string().optional().describe("Group ID used to return dashboards that are shared with a group matching sharePermissions.group.groupId. Cannot be used with groupname parameter."),
|
|
356
|
+
orderBy: z.enum(["description", "-description", "+description", "id", "-id", "+id", "name", "-name", "+name", "owner", "-owner", "+owner"]).optional().describe("Enum for dashboard ordering options."),
|
|
357
|
+
startAt: z.number().int().min(0).optional().describe("The index of the first item to return in a page of results (page offset)."),
|
|
358
|
+
accountId: z.string().optional().describe("User account ID used to return dashboards with the matching owner.accountId. This parameter cannot be used with the owner parameter."),
|
|
359
|
+
groupname: z.string().optional().describe("Group name used to return dashboards that are shared with a group matching sharePermissions.group.name. As a group's name can change, use of groupId is recommended. Cannot be used with groupId parameter."),
|
|
360
|
+
projectId: z.number().int().optional().describe("Project ID used to return dashboards that are shared with a project matching sharePermissions.project.id."),
|
|
361
|
+
maxResults: z.number().int().min(1).optional().describe("The maximum number of items to return per page."),
|
|
362
|
+
dashboardName: z.string().optional().describe("String used to perform a case-insensitive partial match with dashboard name."),
|
|
363
|
+
}),
|
|
364
|
+
execute: async ({ jiraToken, jiraCloudId, owner, expand, status, groupId, orderBy, startAt, accountId, groupname, projectId, maxResults, dashboardName }) => {
|
|
365
|
+
const queryParams = { dashboardName: dashboardName, accountId: accountId, owner: owner, groupname: groupname, groupId: groupId, projectId: projectId, orderBy: orderBy, startAt: startAt, maxResults: maxResults, expand: expand, status: status };
|
|
366
|
+
return jira(jiraToken, { cloudId: jiraCloudId, api: 'api/3', path: `/dashboard/search`, method: 'GET', query: queryParams });
|
|
367
|
+
},
|
|
368
|
+
});
|
|
369
|
+
//# sourceMappingURL=meta.js.map
|