@rnsk/toolkits 0.0.9 → 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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +13 -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/package.json +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { jiraAddAttachment, jiraAddComment, jiraAddWatcherToIssue, jiraAddWorklog, jiraAssignIssue, jiraBulkCreateIssue, jiraCreateIssue, jiraCreateIssueLink, jiraDeleteAttachment, jiraDeleteComment, jiraDeleteIssue, jiraDeleteWorklog, jiraEditIssue, jiraFetchBulkIssues, jiraGetAttachment, jiraGetComment, jiraGetIssue, jiraGetIssueEditMetadata, jiraGetIssueLinkTypes, jiraGetIssuePickerSuggestions, jiraGetIssueProperty, jiraGetIssueWatchers, jiraGetIssueWorklogs, jiraGetRemoteIssueLinks, jiraGetTransitions, jiraGetVotes, jiraGetWorklog, jiraListComments, jiraListIssueComments, jiraRemoveWatcherFromIssue, jiraSendNotificationForIssue, jiraTransitionIssue, jiraUpdateComment } from './issues.js';
|
|
3
|
+
export { jiraAddAttachment, jiraAddComment, jiraAddWatcherToIssue, jiraAddWorklog, jiraAssignIssue, jiraBulkCreateIssue, jiraCreateIssue, jiraCreateIssueLink, jiraDeleteAttachment, jiraDeleteComment, jiraDeleteIssue, jiraDeleteWorklog, jiraEditIssue, jiraFetchBulkIssues, jiraGetAttachment, jiraGetComment, jiraGetIssue, jiraGetIssueEditMetadata, jiraGetIssueLinkTypes, jiraGetIssuePickerSuggestions, jiraGetIssueProperty, jiraGetIssueWatchers, jiraGetIssueWorklogs, jiraGetRemoteIssueLinks, jiraGetTransitions, jiraGetVotes, jiraGetWorklog, jiraListComments, jiraListIssueComments, jiraRemoveWatcherFromIssue, jiraSendNotificationForIssue, jiraTransitionIssue, jiraUpdateComment };
|
|
4
|
+
import { jiraAddUsersToProjectRole, jiraCreateProject, jiraCreateVersion, jiraDeleteVersion, jiraGetAllIssueTypeSchemes, jiraGetAllProjects, jiraGetComponents, jiraGetProject, jiraGetProjectRoles, jiraGetProjectTemplates, jiraGetProjectType, jiraGetProjectVersions, jiraGetRecentProjects, jiraListAllProjects, jiraListProjectTypes, jiraRemoveUserFromProjectRole } from './projects.js';
|
|
5
|
+
export { jiraAddUsersToProjectRole, jiraCreateProject, jiraCreateVersion, jiraDeleteVersion, jiraGetAllIssueTypeSchemes, jiraGetAllProjects, jiraGetComponents, jiraGetProject, jiraGetProjectRoles, jiraGetProjectTemplates, jiraGetProjectType, jiraGetProjectVersions, jiraGetRecentProjects, jiraListAllProjects, jiraListProjectTypes, jiraRemoveUserFromProjectRole };
|
|
6
|
+
import { jiraAddUserToGroup, jiraCreateGroup, jiraFindUsers, jiraFindUsers2, jiraFindUsersForPicker, jiraGetAllGroups, jiraGetAllUsers, jiraGetCurrentUser, jiraGetGroup, jiraGetMypreferencesLocale, jiraGetUserGroups, jiraListGroupsPicker, jiraRemoveUserFromGroup, jiraWhoAmI } from './users.js';
|
|
7
|
+
export { jiraAddUserToGroup, jiraCreateGroup, jiraFindUsers, jiraFindUsers2, jiraFindUsersForPicker, jiraGetAllGroups, jiraGetAllUsers, jiraGetCurrentUser, jiraGetGroup, jiraGetMypreferencesLocale, jiraGetUserGroups, jiraListGroupsPicker, jiraRemoveUserFromGroup, jiraWhoAmI };
|
|
8
|
+
import { jiraAnalyseExpression, jiraCreateJqlAutocompletedata, jiraEvaluateJiraExpression, jiraGetJqlAutocompletedata, jiraGetJqlAutocompletedataSuggestions, jiraParseJqlQueries, jiraSearchApproximateCount, jiraSearchForIssuesUsingJqlGet, jiraSearchForIssuesUsingJqlPost, jiraSearchIssues } from './search.js';
|
|
9
|
+
export { jiraAnalyseExpression, jiraCreateJqlAutocompletedata, jiraEvaluateJiraExpression, jiraGetJqlAutocompletedata, jiraGetJqlAutocompletedataSuggestions, jiraParseJqlQueries, jiraSearchApproximateCount, jiraSearchForIssuesUsingJqlGet, jiraSearchForIssuesUsingJqlPost, jiraSearchIssues };
|
|
10
|
+
import { jiraCheckPermissions, jiraGetAllStatuses, jiraGetAttachmentMeta, jiraGetCreateMetadataIssueTypeFields, jiraGetDashboards, jiraGetFavoriteFilters, jiraGetFields, jiraGetFieldsPaginated, jiraGetFilter, jiraGetInfo, jiraGetIssueCreateMetadata, jiraGetIssueResolutions, jiraGetIssueTypes, jiraGetMyPermissions, jiraGetPermissions, jiraGetPermittedProjects, jiraGetServerInfo, jiraGetServiceDeskRequestTypeFields, jiraGetSystemAvatars, jiraGetUniversalAvatarTypeOwner, jiraGetUniversalAvatarViewType, jiraGetViewTypeAvatar, jiraListFilters, jiraSearchDashboards } from './meta.js';
|
|
11
|
+
export { jiraCheckPermissions, jiraGetAllStatuses, jiraGetAttachmentMeta, jiraGetCreateMetadataIssueTypeFields, jiraGetDashboards, jiraGetFavoriteFilters, jiraGetFields, jiraGetFieldsPaginated, jiraGetFilter, jiraGetInfo, jiraGetIssueCreateMetadata, jiraGetIssueResolutions, jiraGetIssueTypes, jiraGetMyPermissions, jiraGetPermissions, jiraGetPermittedProjects, jiraGetServerInfo, jiraGetServiceDeskRequestTypeFields, jiraGetSystemAvatars, jiraGetUniversalAvatarTypeOwner, jiraGetUniversalAvatarViewType, jiraGetViewTypeAvatar, jiraListFilters, jiraSearchDashboards };
|
|
12
|
+
import { jiraCreateBoard, jiraCreateSprint, jiraGetSprint, jiraListBoards, jiraListSprints, jiraMoveIssueToSprint } from './boards.js';
|
|
13
|
+
export { jiraCreateBoard, jiraCreateSprint, jiraGetSprint, jiraListBoards, jiraListSprints, jiraMoveIssueToSprint };
|
|
14
|
+
export const jiraTools = [
|
|
15
|
+
{ name: 'JiraAddAttachment', description: jiraAddAttachment.description, tool: jiraAddAttachment, requiredAuth: 'jiraToken', scope: 'write' },
|
|
16
|
+
{ name: 'JiraAddComment', description: jiraAddComment.description, tool: jiraAddComment, requiredAuth: 'jiraToken', scope: 'write' },
|
|
17
|
+
{ name: 'JiraAddUsersToProjectRole', description: jiraAddUsersToProjectRole.description, tool: jiraAddUsersToProjectRole, requiredAuth: 'jiraToken', scope: 'write' },
|
|
18
|
+
{ name: 'JiraAddUserToGroup', description: jiraAddUserToGroup.description, tool: jiraAddUserToGroup, requiredAuth: 'jiraToken', scope: 'write' },
|
|
19
|
+
{ name: 'JiraAddWatcherToIssue', description: jiraAddWatcherToIssue.description, tool: jiraAddWatcherToIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
20
|
+
{ name: 'JiraAddWorklog', description: jiraAddWorklog.description, tool: jiraAddWorklog, requiredAuth: 'jiraToken', scope: 'write' },
|
|
21
|
+
{ name: 'JiraAnalyseExpression', description: jiraAnalyseExpression.description, tool: jiraAnalyseExpression, requiredAuth: 'jiraToken', scope: 'read' },
|
|
22
|
+
{ name: 'JiraAssignIssue', description: jiraAssignIssue.description, tool: jiraAssignIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
23
|
+
{ name: 'JiraBulkCreateIssue', description: jiraBulkCreateIssue.description, tool: jiraBulkCreateIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
24
|
+
{ name: 'JiraCheckPermissions', description: jiraCheckPermissions.description, tool: jiraCheckPermissions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
25
|
+
{ name: 'JiraCreateBoard', description: jiraCreateBoard.description, tool: jiraCreateBoard, requiredAuth: 'jiraToken', scope: 'write' },
|
|
26
|
+
{ name: 'JiraCreateGroup', description: jiraCreateGroup.description, tool: jiraCreateGroup, requiredAuth: 'jiraToken', scope: 'write' },
|
|
27
|
+
{ name: 'JiraCreateIssue', description: jiraCreateIssue.description, tool: jiraCreateIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
28
|
+
{ name: 'JiraCreateIssueLink', description: jiraCreateIssueLink.description, tool: jiraCreateIssueLink, requiredAuth: 'jiraToken', scope: 'write' },
|
|
29
|
+
{ name: 'JiraCreateJqlAutocompletedata', description: jiraCreateJqlAutocompletedata.description, tool: jiraCreateJqlAutocompletedata, requiredAuth: 'jiraToken', scope: 'write' },
|
|
30
|
+
{ name: 'JiraCreateProject', description: jiraCreateProject.description, tool: jiraCreateProject, requiredAuth: 'jiraToken', scope: 'write' },
|
|
31
|
+
{ name: 'JiraCreateSprint', description: jiraCreateSprint.description, tool: jiraCreateSprint, requiredAuth: 'jiraToken', scope: 'write' },
|
|
32
|
+
{ name: 'JiraCreateVersion', description: jiraCreateVersion.description, tool: jiraCreateVersion, requiredAuth: 'jiraToken', scope: 'write' },
|
|
33
|
+
{ name: 'JiraDeleteAttachment', description: jiraDeleteAttachment.description, tool: jiraDeleteAttachment, requiredAuth: 'jiraToken', scope: 'delete' },
|
|
34
|
+
{ name: 'JiraDeleteComment', description: jiraDeleteComment.description, tool: jiraDeleteComment, requiredAuth: 'jiraToken', scope: 'delete' },
|
|
35
|
+
{ name: 'JiraDeleteIssue', description: jiraDeleteIssue.description, tool: jiraDeleteIssue, requiredAuth: 'jiraToken', scope: 'delete' },
|
|
36
|
+
{ name: 'JiraDeleteVersion', description: jiraDeleteVersion.description, tool: jiraDeleteVersion, requiredAuth: 'jiraToken', scope: 'delete' },
|
|
37
|
+
{ name: 'JiraDeleteWorklog', description: jiraDeleteWorklog.description, tool: jiraDeleteWorklog, requiredAuth: 'jiraToken', scope: 'delete' },
|
|
38
|
+
{ name: 'JiraEditIssue', description: jiraEditIssue.description, tool: jiraEditIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
39
|
+
{ name: 'JiraEvaluateJiraExpression', description: jiraEvaluateJiraExpression.description, tool: jiraEvaluateJiraExpression, requiredAuth: 'jiraToken', scope: 'read' },
|
|
40
|
+
{ name: 'JiraFetchBulkIssues', description: jiraFetchBulkIssues.description, tool: jiraFetchBulkIssues, requiredAuth: 'jiraToken', scope: 'read' },
|
|
41
|
+
{ name: 'JiraFindUsers', description: jiraFindUsers.description, tool: jiraFindUsers, requiredAuth: 'jiraToken', scope: 'read' },
|
|
42
|
+
{ name: 'JiraFindUsers2', description: jiraFindUsers2.description, tool: jiraFindUsers2, requiredAuth: 'jiraToken', scope: 'read' },
|
|
43
|
+
{ name: 'JiraFindUsersForPicker', description: jiraFindUsersForPicker.description, tool: jiraFindUsersForPicker, requiredAuth: 'jiraToken', scope: 'read' },
|
|
44
|
+
{ name: 'JiraGetAllGroups', description: jiraGetAllGroups.description, tool: jiraGetAllGroups, requiredAuth: 'jiraToken', scope: 'read' },
|
|
45
|
+
{ name: 'JiraGetAllIssueTypeSchemes', description: jiraGetAllIssueTypeSchemes.description, tool: jiraGetAllIssueTypeSchemes, requiredAuth: 'jiraToken', scope: 'read' },
|
|
46
|
+
{ name: 'JiraGetAllProjects', description: jiraGetAllProjects.description, tool: jiraGetAllProjects, requiredAuth: 'jiraToken', scope: 'read' },
|
|
47
|
+
{ name: 'JiraGetAllStatuses', description: jiraGetAllStatuses.description, tool: jiraGetAllStatuses, requiredAuth: 'jiraToken', scope: 'read' },
|
|
48
|
+
{ name: 'JiraGetAllUsers', description: jiraGetAllUsers.description, tool: jiraGetAllUsers, requiredAuth: 'jiraToken', scope: 'read' },
|
|
49
|
+
{ name: 'JiraGetAttachment', description: jiraGetAttachment.description, tool: jiraGetAttachment, requiredAuth: 'jiraToken', scope: 'read' },
|
|
50
|
+
{ name: 'JiraGetAttachmentMeta', description: jiraGetAttachmentMeta.description, tool: jiraGetAttachmentMeta, requiredAuth: 'jiraToken', scope: 'read' },
|
|
51
|
+
{ name: 'JiraGetComment', description: jiraGetComment.description, tool: jiraGetComment, requiredAuth: 'jiraToken', scope: 'read' },
|
|
52
|
+
{ name: 'JiraGetComponents', description: jiraGetComponents.description, tool: jiraGetComponents, requiredAuth: 'jiraToken', scope: 'read' },
|
|
53
|
+
{ name: 'JiraGetCreateMetadataIssueTypeFields', description: jiraGetCreateMetadataIssueTypeFields.description, tool: jiraGetCreateMetadataIssueTypeFields, requiredAuth: 'jiraToken', scope: 'read' },
|
|
54
|
+
{ name: 'JiraGetCurrentUser', description: jiraGetCurrentUser.description, tool: jiraGetCurrentUser, requiredAuth: 'jiraToken', scope: 'read' },
|
|
55
|
+
{ name: 'JiraGetDashboards', description: jiraGetDashboards.description, tool: jiraGetDashboards, requiredAuth: 'jiraToken', scope: 'read' },
|
|
56
|
+
{ name: 'JiraGetFavoriteFilters', description: jiraGetFavoriteFilters.description, tool: jiraGetFavoriteFilters, requiredAuth: 'jiraToken', scope: 'read' },
|
|
57
|
+
{ name: 'JiraGetFields', description: jiraGetFields.description, tool: jiraGetFields, requiredAuth: 'jiraToken', scope: 'read' },
|
|
58
|
+
{ name: 'JiraGetFieldsPaginated', description: jiraGetFieldsPaginated.description, tool: jiraGetFieldsPaginated, requiredAuth: 'jiraToken', scope: 'read' },
|
|
59
|
+
{ name: 'JiraGetFilter', description: jiraGetFilter.description, tool: jiraGetFilter, requiredAuth: 'jiraToken', scope: 'read' },
|
|
60
|
+
{ name: 'JiraGetGroup', description: jiraGetGroup.description, tool: jiraGetGroup, requiredAuth: 'jiraToken', scope: 'read' },
|
|
61
|
+
{ name: 'JiraGetInfo', description: jiraGetInfo.description, tool: jiraGetInfo, requiredAuth: 'jiraToken', scope: 'read' },
|
|
62
|
+
{ name: 'JiraGetIssue', description: jiraGetIssue.description, tool: jiraGetIssue, requiredAuth: 'jiraToken', scope: 'read' },
|
|
63
|
+
{ name: 'JiraGetIssueCreateMetadata', description: jiraGetIssueCreateMetadata.description, tool: jiraGetIssueCreateMetadata, requiredAuth: 'jiraToken', scope: 'read' },
|
|
64
|
+
{ name: 'JiraGetIssueEditMetadata', description: jiraGetIssueEditMetadata.description, tool: jiraGetIssueEditMetadata, requiredAuth: 'jiraToken', scope: 'read' },
|
|
65
|
+
{ name: 'JiraGetIssueLinkTypes', description: jiraGetIssueLinkTypes.description, tool: jiraGetIssueLinkTypes, requiredAuth: 'jiraToken', scope: 'read' },
|
|
66
|
+
{ name: 'JiraGetIssuePickerSuggestions', description: jiraGetIssuePickerSuggestions.description, tool: jiraGetIssuePickerSuggestions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
67
|
+
{ name: 'JiraGetIssueProperty', description: jiraGetIssueProperty.description, tool: jiraGetIssueProperty, requiredAuth: 'jiraToken', scope: 'read' },
|
|
68
|
+
{ name: 'JiraGetIssueResolutions', description: jiraGetIssueResolutions.description, tool: jiraGetIssueResolutions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
69
|
+
{ name: 'JiraGetIssueTypes', description: jiraGetIssueTypes.description, tool: jiraGetIssueTypes, requiredAuth: 'jiraToken', scope: 'read' },
|
|
70
|
+
{ name: 'JiraGetIssueWatchers', description: jiraGetIssueWatchers.description, tool: jiraGetIssueWatchers, requiredAuth: 'jiraToken', scope: 'read' },
|
|
71
|
+
{ name: 'JiraGetIssueWorklogs', description: jiraGetIssueWorklogs.description, tool: jiraGetIssueWorklogs, requiredAuth: 'jiraToken', scope: 'read' },
|
|
72
|
+
{ name: 'JiraGetJqlAutocompletedata', description: jiraGetJqlAutocompletedata.description, tool: jiraGetJqlAutocompletedata, requiredAuth: 'jiraToken', scope: 'read' },
|
|
73
|
+
{ name: 'JiraGetJqlAutocompletedataSuggestions', description: jiraGetJqlAutocompletedataSuggestions.description, tool: jiraGetJqlAutocompletedataSuggestions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
74
|
+
{ name: 'JiraGetMyPermissions', description: jiraGetMyPermissions.description, tool: jiraGetMyPermissions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
75
|
+
{ name: 'JiraGetMypreferencesLocale', description: jiraGetMypreferencesLocale.description, tool: jiraGetMypreferencesLocale, requiredAuth: 'jiraToken', scope: 'read' },
|
|
76
|
+
{ name: 'JiraGetPermissions', description: jiraGetPermissions.description, tool: jiraGetPermissions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
77
|
+
{ name: 'JiraGetPermittedProjects', description: jiraGetPermittedProjects.description, tool: jiraGetPermittedProjects, requiredAuth: 'jiraToken', scope: 'read' },
|
|
78
|
+
{ name: 'JiraGetProject', description: jiraGetProject.description, tool: jiraGetProject, requiredAuth: 'jiraToken', scope: 'read' },
|
|
79
|
+
{ name: 'JiraGetProjectRoles', description: jiraGetProjectRoles.description, tool: jiraGetProjectRoles, requiredAuth: 'jiraToken', scope: 'read' },
|
|
80
|
+
{ name: 'JiraGetProjectTemplates', description: jiraGetProjectTemplates.description, tool: jiraGetProjectTemplates, requiredAuth: 'jiraToken', scope: 'read' },
|
|
81
|
+
{ name: 'JiraGetProjectType', description: jiraGetProjectType.description, tool: jiraGetProjectType, requiredAuth: 'jiraToken', scope: 'read' },
|
|
82
|
+
{ name: 'JiraGetProjectVersions', description: jiraGetProjectVersions.description, tool: jiraGetProjectVersions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
83
|
+
{ name: 'JiraGetRecentProjects', description: jiraGetRecentProjects.description, tool: jiraGetRecentProjects, requiredAuth: 'jiraToken', scope: 'read' },
|
|
84
|
+
{ name: 'JiraGetRemoteIssueLinks', description: jiraGetRemoteIssueLinks.description, tool: jiraGetRemoteIssueLinks, requiredAuth: 'jiraToken', scope: 'read' },
|
|
85
|
+
{ name: 'JiraGetServerInfo', description: jiraGetServerInfo.description, tool: jiraGetServerInfo, requiredAuth: 'jiraToken', scope: 'read' },
|
|
86
|
+
{ name: 'JiraGetServiceDeskRequestTypeFields', description: jiraGetServiceDeskRequestTypeFields.description, tool: jiraGetServiceDeskRequestTypeFields, requiredAuth: 'jiraToken', scope: 'read' },
|
|
87
|
+
{ name: 'JiraGetSprint', description: jiraGetSprint.description, tool: jiraGetSprint, requiredAuth: 'jiraToken', scope: 'read' },
|
|
88
|
+
{ name: 'JiraGetSystemAvatars', description: jiraGetSystemAvatars.description, tool: jiraGetSystemAvatars, requiredAuth: 'jiraToken', scope: 'read' },
|
|
89
|
+
{ name: 'JiraGetTransitions', description: jiraGetTransitions.description, tool: jiraGetTransitions, requiredAuth: 'jiraToken', scope: 'read' },
|
|
90
|
+
{ name: 'JiraGetUniversalAvatarTypeOwner', description: jiraGetUniversalAvatarTypeOwner.description, tool: jiraGetUniversalAvatarTypeOwner, requiredAuth: 'jiraToken', scope: 'read' },
|
|
91
|
+
{ name: 'JiraGetUniversalAvatarViewType', description: jiraGetUniversalAvatarViewType.description, tool: jiraGetUniversalAvatarViewType, requiredAuth: 'jiraToken', scope: 'read' },
|
|
92
|
+
{ name: 'JiraGetUserGroups', description: jiraGetUserGroups.description, tool: jiraGetUserGroups, requiredAuth: 'jiraToken', scope: 'read' },
|
|
93
|
+
{ name: 'JiraGetViewTypeAvatar', description: jiraGetViewTypeAvatar.description, tool: jiraGetViewTypeAvatar, requiredAuth: 'jiraToken', scope: 'read' },
|
|
94
|
+
{ name: 'JiraGetVotes', description: jiraGetVotes.description, tool: jiraGetVotes, requiredAuth: 'jiraToken', scope: 'read' },
|
|
95
|
+
{ name: 'JiraGetWorklog', description: jiraGetWorklog.description, tool: jiraGetWorklog, requiredAuth: 'jiraToken', scope: 'read' },
|
|
96
|
+
{ name: 'JiraListAllProjects', description: jiraListAllProjects.description, tool: jiraListAllProjects, requiredAuth: 'jiraToken', scope: 'read' },
|
|
97
|
+
{ name: 'JiraListBoards', description: jiraListBoards.description, tool: jiraListBoards, requiredAuth: 'jiraToken', scope: 'read' },
|
|
98
|
+
{ name: 'JiraListComments', description: jiraListComments.description, tool: jiraListComments, requiredAuth: 'jiraToken', scope: 'read' },
|
|
99
|
+
{ name: 'JiraListFilters', description: jiraListFilters.description, tool: jiraListFilters, requiredAuth: 'jiraToken', scope: 'read' },
|
|
100
|
+
{ name: 'JiraListGroupsPicker', description: jiraListGroupsPicker.description, tool: jiraListGroupsPicker, requiredAuth: 'jiraToken', scope: 'read' },
|
|
101
|
+
{ name: 'JiraListIssueComments', description: jiraListIssueComments.description, tool: jiraListIssueComments, requiredAuth: 'jiraToken', scope: 'read' },
|
|
102
|
+
{ name: 'JiraListProjectTypes', description: jiraListProjectTypes.description, tool: jiraListProjectTypes, requiredAuth: 'jiraToken', scope: 'read' },
|
|
103
|
+
{ name: 'JiraListSprints', description: jiraListSprints.description, tool: jiraListSprints, requiredAuth: 'jiraToken', scope: 'read' },
|
|
104
|
+
{ name: 'JiraMoveIssueToSprint', description: jiraMoveIssueToSprint.description, tool: jiraMoveIssueToSprint, requiredAuth: 'jiraToken', scope: 'write' },
|
|
105
|
+
{ name: 'JiraParseJqlQueries', description: jiraParseJqlQueries.description, tool: jiraParseJqlQueries, requiredAuth: 'jiraToken', scope: 'read' },
|
|
106
|
+
{ name: 'JiraRemoveUserFromGroup', description: jiraRemoveUserFromGroup.description, tool: jiraRemoveUserFromGroup, requiredAuth: 'jiraToken', scope: 'write' },
|
|
107
|
+
{ name: 'JiraRemoveUserFromProjectRole', description: jiraRemoveUserFromProjectRole.description, tool: jiraRemoveUserFromProjectRole, requiredAuth: 'jiraToken', scope: 'write' },
|
|
108
|
+
{ name: 'JiraRemoveWatcherFromIssue', description: jiraRemoveWatcherFromIssue.description, tool: jiraRemoveWatcherFromIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
109
|
+
{ name: 'JiraSearchApproximateCount', description: jiraSearchApproximateCount.description, tool: jiraSearchApproximateCount, requiredAuth: 'jiraToken', scope: 'read' },
|
|
110
|
+
{ name: 'JiraSearchDashboards', description: jiraSearchDashboards.description, tool: jiraSearchDashboards, requiredAuth: 'jiraToken', scope: 'read' },
|
|
111
|
+
{ name: 'JiraSearchForIssuesUsingJqlGet', description: jiraSearchForIssuesUsingJqlGet.description, tool: jiraSearchForIssuesUsingJqlGet, requiredAuth: 'jiraToken', scope: 'read' },
|
|
112
|
+
{ name: 'JiraSearchForIssuesUsingJqlPost', description: jiraSearchForIssuesUsingJqlPost.description, tool: jiraSearchForIssuesUsingJqlPost, requiredAuth: 'jiraToken', scope: 'read' },
|
|
113
|
+
{ name: 'JiraSearchIssues', description: jiraSearchIssues.description, tool: jiraSearchIssues, requiredAuth: 'jiraToken', scope: 'read' },
|
|
114
|
+
{ name: 'JiraSendNotificationForIssue', description: jiraSendNotificationForIssue.description, tool: jiraSendNotificationForIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
115
|
+
{ name: 'JiraTransitionIssue', description: jiraTransitionIssue.description, tool: jiraTransitionIssue, requiredAuth: 'jiraToken', scope: 'write' },
|
|
116
|
+
{ name: 'JiraUpdateComment', description: jiraUpdateComment.description, tool: jiraUpdateComment, requiredAuth: 'jiraToken', scope: 'write' },
|
|
117
|
+
{ name: 'JiraWhoAmI', description: jiraWhoAmI.description, tool: jiraWhoAmI, requiredAuth: 'jiraToken', scope: 'read' },
|
|
118
|
+
];
|
|
119
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function buildCreateFields(token: any, cloudId: any, s: any): Promise<{
|
|
2
|
+
fields: {};
|
|
3
|
+
sprintId: any;
|
|
4
|
+
}>;
|
|
5
|
+
export declare function createOneIssue(token: any, cloudId: any, spec: any): Promise<any>;
|
|
6
|
+
export declare function buildEditBody(token: any, cloudId: any, o: any): Promise<{
|
|
7
|
+
fields: {};
|
|
8
|
+
update: any;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=issue-fields.d.ts.map
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { jira, mdToAdf, resolveAssignee } from './client.js';
|
|
3
|
+
function isNumericId(v) {
|
|
4
|
+
return v !== undefined && v !== null && /^\d+$/.test(String(v));
|
|
5
|
+
}
|
|
6
|
+
function looksLikeAccountId(v) {
|
|
7
|
+
return typeof v === 'string' && (/^[0-9a-f]{24}$/.test(v) || v.includes(':'));
|
|
8
|
+
}
|
|
9
|
+
export async function buildCreateFields(token, cloudId, s) {
|
|
10
|
+
const fields = {};
|
|
11
|
+
fields.project = { key: s.projectKey };
|
|
12
|
+
fields.summary = s.summary;
|
|
13
|
+
const it = s.issueType ?? s.issue_type ?? 'Task';
|
|
14
|
+
fields.issuetype = isNumericId(it) ? { id: String(it) } : { name: String(it) };
|
|
15
|
+
if (s.description !== undefined)
|
|
16
|
+
fields.description = mdToAdf(s.description);
|
|
17
|
+
if (s.environment !== undefined)
|
|
18
|
+
fields.environment = mdToAdf(s.environment);
|
|
19
|
+
const acc = await resolveAssignee(token, cloudId, s.assignee, s.assigneeName ?? s.assignee_name);
|
|
20
|
+
if (acc)
|
|
21
|
+
fields.assignee = { accountId: acc };
|
|
22
|
+
if (s.reporter)
|
|
23
|
+
fields.reporter = { accountId: s.reporter };
|
|
24
|
+
if (s.priority)
|
|
25
|
+
fields.priority = isNumericId(s.priority) ? { id: String(s.priority) } : { name: String(s.priority) };
|
|
26
|
+
if (s.labels)
|
|
27
|
+
fields.labels = s.labels;
|
|
28
|
+
if (s.components)
|
|
29
|
+
fields.components = s.components.map((c) => ({ id: String(c) }));
|
|
30
|
+
if (s.versions)
|
|
31
|
+
fields.versions = s.versions.map((v) => ({ id: String(v) }));
|
|
32
|
+
if (s.fixVersions)
|
|
33
|
+
fields.fixVersions = s.fixVersions.map((v) => ({ id: String(v) }));
|
|
34
|
+
if (s.dueDate)
|
|
35
|
+
fields.duedate = s.dueDate;
|
|
36
|
+
const parent = s.parent ?? s.parentKey ?? s.parentId ?? s.parent_key ?? s.parent_id;
|
|
37
|
+
if (parent)
|
|
38
|
+
fields.parent = { key: String(parent) };
|
|
39
|
+
const extra = s.additionalProperties ?? s.additional_properties;
|
|
40
|
+
if (extra) {
|
|
41
|
+
const obj = typeof extra === 'string' ? JSON.parse(extra) : extra;
|
|
42
|
+
if (obj && typeof obj === 'object' && !Array.isArray(obj)) {
|
|
43
|
+
delete obj.resolution;
|
|
44
|
+
Object.assign(fields, obj);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return { fields, sprintId: s.sprintId };
|
|
48
|
+
}
|
|
49
|
+
export async function createOneIssue(token, cloudId, spec) {
|
|
50
|
+
const { fields, sprintId } = await buildCreateFields(token, cloudId, spec);
|
|
51
|
+
const res = await jira(token, { cloudId, path: '/issue', method: 'POST', body: { fields } });
|
|
52
|
+
if (res?.error)
|
|
53
|
+
return { error: res };
|
|
54
|
+
if (sprintId && /^\d+$/.test(String(sprintId)) && res?.key) {
|
|
55
|
+
await jira(token, {
|
|
56
|
+
cloudId,
|
|
57
|
+
api: 'agile/1.0',
|
|
58
|
+
path: `/sprint/${sprintId}/issue`,
|
|
59
|
+
method: 'POST',
|
|
60
|
+
body: { issues: [res.key] },
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return res;
|
|
64
|
+
}
|
|
65
|
+
export async function buildEditBody(token, cloudId, o) {
|
|
66
|
+
const fields = {};
|
|
67
|
+
if (o.fields) {
|
|
68
|
+
try {
|
|
69
|
+
const parsed = typeof o.fields === 'string' ? JSON.parse(o.fields) : o.fields;
|
|
70
|
+
if (parsed && typeof parsed === 'object')
|
|
71
|
+
Object.assign(fields, parsed);
|
|
72
|
+
}
|
|
73
|
+
catch { /* ignore malformed JSON; direct params still apply */ }
|
|
74
|
+
}
|
|
75
|
+
if (o.additionalProperties && typeof o.additionalProperties === 'object') {
|
|
76
|
+
Object.assign(fields, o.additionalProperties);
|
|
77
|
+
}
|
|
78
|
+
if (o.summary !== undefined)
|
|
79
|
+
fields.summary = o.summary;
|
|
80
|
+
if (o.description !== undefined)
|
|
81
|
+
fields.description = mdToAdf(o.description);
|
|
82
|
+
if (o.labels !== undefined)
|
|
83
|
+
fields.labels = o.labels;
|
|
84
|
+
if (o.dueDate !== undefined)
|
|
85
|
+
fields.duedate = o.dueDate;
|
|
86
|
+
if (o.priorityIdOrName !== undefined) {
|
|
87
|
+
fields.priority = isNumericId(o.priorityIdOrName) ? { id: String(o.priorityIdOrName) } : { name: String(o.priorityIdOrName) };
|
|
88
|
+
}
|
|
89
|
+
if (o.assignee !== undefined) {
|
|
90
|
+
if (o.assignee === null || o.assignee === '') {
|
|
91
|
+
fields.assignee = null;
|
|
92
|
+
}
|
|
93
|
+
else if (looksLikeAccountId(o.assignee)) {
|
|
94
|
+
fields.assignee = { accountId: o.assignee };
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const acc = await resolveAssignee(token, cloudId, undefined, o.assignee);
|
|
98
|
+
if (acc)
|
|
99
|
+
fields.assignee = { accountId: acc };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
let update;
|
|
103
|
+
if (o.update) {
|
|
104
|
+
try {
|
|
105
|
+
update = typeof o.update === 'string' ? JSON.parse(o.update) : o.update;
|
|
106
|
+
}
|
|
107
|
+
catch { /* ignore */ }
|
|
108
|
+
}
|
|
109
|
+
return { fields, update };
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=issue-fields.js.map
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const jiraAddAttachment: import("ai").Tool<{
|
|
3
|
+
fileName: string;
|
|
4
|
+
issueKey: string;
|
|
5
|
+
fileContent: string;
|
|
6
|
+
mimeType?: string | undefined;
|
|
7
|
+
jiraToken?: string | undefined;
|
|
8
|
+
jiraCloudId?: string | undefined;
|
|
9
|
+
}, any>;
|
|
10
|
+
export declare const jiraAddComment: import("ai").Tool<{
|
|
11
|
+
comment: string;
|
|
12
|
+
issueIdOrKey: string;
|
|
13
|
+
jiraToken?: string | undefined;
|
|
14
|
+
jiraCloudId?: string | undefined;
|
|
15
|
+
visibilityType?: string | undefined;
|
|
16
|
+
visibilityValue?: string | undefined;
|
|
17
|
+
additionalProperties?: Record<string, any> | undefined;
|
|
18
|
+
}, any>;
|
|
19
|
+
export declare const jiraAddWatcherToIssue: import("ai").Tool<{
|
|
20
|
+
accountId: string;
|
|
21
|
+
issueIdOrKey: string;
|
|
22
|
+
jiraToken?: string | undefined;
|
|
23
|
+
jiraCloudId?: string | undefined;
|
|
24
|
+
}, any>;
|
|
25
|
+
export declare const jiraAddWorklog: import("ai").Tool<{
|
|
26
|
+
issueIdOrKey: string;
|
|
27
|
+
visibility?: Record<string, any> | undefined;
|
|
28
|
+
comment?: Record<string, any> | undefined;
|
|
29
|
+
expand?: string | undefined;
|
|
30
|
+
jiraToken?: string | undefined;
|
|
31
|
+
jiraCloudId?: string | undefined;
|
|
32
|
+
started?: string | undefined;
|
|
33
|
+
reduceBy?: string | undefined;
|
|
34
|
+
timeSpent?: string | undefined;
|
|
35
|
+
newEstimate?: string | undefined;
|
|
36
|
+
notifyUsers?: boolean | undefined;
|
|
37
|
+
adjustEstimate?: "new" | "auto" | "manual" | "leave" | undefined;
|
|
38
|
+
timeSpentSeconds?: number | undefined;
|
|
39
|
+
overrideEditableFlag?: boolean | undefined;
|
|
40
|
+
}, any>;
|
|
41
|
+
export declare const jiraAssignIssue: import("ai").Tool<{
|
|
42
|
+
issueIdOrKey: string;
|
|
43
|
+
accountId?: string | undefined;
|
|
44
|
+
jiraToken?: string | undefined;
|
|
45
|
+
jiraCloudId?: string | undefined;
|
|
46
|
+
assigneeName?: string | undefined;
|
|
47
|
+
}, any>;
|
|
48
|
+
export declare const jiraBulkCreateIssue: import("ai").Tool<{
|
|
49
|
+
issues: z.objectOutputType<{
|
|
50
|
+
projectKey: z.ZodString;
|
|
51
|
+
summary: z.ZodString;
|
|
52
|
+
}, z.ZodAny, "strip">[];
|
|
53
|
+
jiraToken?: string | undefined;
|
|
54
|
+
jiraCloudId?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
issues: {
|
|
57
|
+
id: any;
|
|
58
|
+
key: any;
|
|
59
|
+
self: any;
|
|
60
|
+
}[];
|
|
61
|
+
errors: {
|
|
62
|
+
issueIndex: number;
|
|
63
|
+
errorMessages: string[];
|
|
64
|
+
}[];
|
|
65
|
+
totalRequested: any;
|
|
66
|
+
totalCreated: number;
|
|
67
|
+
totalFailed: number;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const jiraCreateIssue: import("ai").Tool<{
|
|
70
|
+
summary: string;
|
|
71
|
+
projectKey: string;
|
|
72
|
+
issueType: string;
|
|
73
|
+
description?: Record<string, any> | undefined;
|
|
74
|
+
priority?: string | undefined;
|
|
75
|
+
labels?: string[] | undefined;
|
|
76
|
+
assignee?: string | undefined;
|
|
77
|
+
environment?: Record<string, any> | undefined;
|
|
78
|
+
reporter?: string | undefined;
|
|
79
|
+
parent?: string | undefined;
|
|
80
|
+
components?: string[] | undefined;
|
|
81
|
+
dueDate?: string | undefined;
|
|
82
|
+
jiraToken?: string | undefined;
|
|
83
|
+
jiraCloudId?: string | undefined;
|
|
84
|
+
additionalProperties?: string | undefined;
|
|
85
|
+
assigneeName?: string | undefined;
|
|
86
|
+
versions?: string[] | undefined;
|
|
87
|
+
sprintId?: number | undefined;
|
|
88
|
+
fixVersions?: string[] | undefined;
|
|
89
|
+
}, any>;
|
|
90
|
+
export declare const jiraCreateIssueLink: import("ai").Tool<{
|
|
91
|
+
inwardIssueKey: string;
|
|
92
|
+
outwardIssueKey: string;
|
|
93
|
+
comment?: string | undefined;
|
|
94
|
+
jiraToken?: string | undefined;
|
|
95
|
+
jiraCloudId?: string | undefined;
|
|
96
|
+
linkType?: string | undefined;
|
|
97
|
+
linkTypeId?: string | undefined;
|
|
98
|
+
}, any>;
|
|
99
|
+
export declare const jiraDeleteAttachment: import("ai").Tool<{
|
|
100
|
+
attachmentId: string;
|
|
101
|
+
jiraToken?: string | undefined;
|
|
102
|
+
jiraCloudId?: string | undefined;
|
|
103
|
+
}, any>;
|
|
104
|
+
export declare const jiraDeleteComment: import("ai").Tool<{
|
|
105
|
+
id: string;
|
|
106
|
+
issueIdOrKey: string;
|
|
107
|
+
jiraToken?: string | undefined;
|
|
108
|
+
jiraCloudId?: string | undefined;
|
|
109
|
+
}, any>;
|
|
110
|
+
export declare const jiraDeleteIssue: import("ai").Tool<{
|
|
111
|
+
issueIdOrKey: string;
|
|
112
|
+
jiraToken?: string | undefined;
|
|
113
|
+
jiraCloudId?: string | undefined;
|
|
114
|
+
deleteSubtasks?: boolean | undefined;
|
|
115
|
+
}, any>;
|
|
116
|
+
export declare const jiraDeleteWorklog: import("ai").Tool<{
|
|
117
|
+
issueIdOrKey: string;
|
|
118
|
+
worklogId: string;
|
|
119
|
+
jiraToken?: string | undefined;
|
|
120
|
+
jiraCloudId?: string | undefined;
|
|
121
|
+
newEstimate?: string | undefined;
|
|
122
|
+
notifyUsers?: boolean | undefined;
|
|
123
|
+
adjustEstimate?: "new" | "auto" | "manual" | "leave" | undefined;
|
|
124
|
+
overrideEditableFlag?: boolean | undefined;
|
|
125
|
+
increaseBy?: string | undefined;
|
|
126
|
+
}, any>;
|
|
127
|
+
export declare const jiraEditIssue: import("ai").Tool<{
|
|
128
|
+
issueIdOrKey: string;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
labels?: string[] | undefined;
|
|
131
|
+
summary?: string | undefined;
|
|
132
|
+
assignee?: string | undefined;
|
|
133
|
+
update?: string | undefined;
|
|
134
|
+
fields?: string | undefined;
|
|
135
|
+
dueDate?: string | undefined;
|
|
136
|
+
jiraToken?: string | undefined;
|
|
137
|
+
jiraCloudId?: string | undefined;
|
|
138
|
+
additionalProperties?: Record<string, any> | undefined;
|
|
139
|
+
notifyUsers?: boolean | undefined;
|
|
140
|
+
overrideEditableFlag?: boolean | undefined;
|
|
141
|
+
returnIssue?: boolean | undefined;
|
|
142
|
+
sprintIdOrName?: string | undefined;
|
|
143
|
+
priorityIdOrName?: string | undefined;
|
|
144
|
+
overrideScreenSecurity?: boolean | undefined;
|
|
145
|
+
}, any>;
|
|
146
|
+
export declare const jiraFetchBulkIssues: import("ai").Tool<{
|
|
147
|
+
issueIdsOrKeys: string[];
|
|
148
|
+
properties?: string[] | undefined;
|
|
149
|
+
fields?: string[] | undefined;
|
|
150
|
+
expand?: string[] | undefined;
|
|
151
|
+
jiraToken?: string | undefined;
|
|
152
|
+
jiraCloudId?: string | undefined;
|
|
153
|
+
fieldsByKeys?: boolean | undefined;
|
|
154
|
+
}, any>;
|
|
155
|
+
export declare const jiraGetAttachment: import("ai").Tool<{
|
|
156
|
+
attachmentId: string;
|
|
157
|
+
fileName: string;
|
|
158
|
+
jiraToken?: string | undefined;
|
|
159
|
+
jiraCloudId?: string | undefined;
|
|
160
|
+
}, any>;
|
|
161
|
+
export declare const jiraGetComment: import("ai").Tool<{
|
|
162
|
+
commentId: string;
|
|
163
|
+
issueIdOrKey: string;
|
|
164
|
+
expand?: string | undefined;
|
|
165
|
+
jiraToken?: string | undefined;
|
|
166
|
+
jiraCloudId?: string | undefined;
|
|
167
|
+
}, any>;
|
|
168
|
+
export declare const jiraGetIssue: import("ai").Tool<{
|
|
169
|
+
issueKey: string;
|
|
170
|
+
properties?: string[] | undefined;
|
|
171
|
+
fields?: string[] | undefined;
|
|
172
|
+
expand?: string | undefined;
|
|
173
|
+
jiraToken?: string | undefined;
|
|
174
|
+
jiraCloudId?: string | undefined;
|
|
175
|
+
fieldsByKeys?: boolean | undefined;
|
|
176
|
+
updateHistory?: boolean | undefined;
|
|
177
|
+
}, any>;
|
|
178
|
+
export declare const jiraGetIssueEditMetadata: import("ai").Tool<{
|
|
179
|
+
issueIdOrKey: string;
|
|
180
|
+
jiraToken?: string | undefined;
|
|
181
|
+
jiraCloudId?: string | undefined;
|
|
182
|
+
overrideEditableFlag?: boolean | undefined;
|
|
183
|
+
overrideScreenSecurity?: boolean | undefined;
|
|
184
|
+
}, any>;
|
|
185
|
+
export declare const jiraGetIssueLinkTypes: import("ai").Tool<{
|
|
186
|
+
jiraToken?: string | undefined;
|
|
187
|
+
jiraCloudId?: string | undefined;
|
|
188
|
+
}, any>;
|
|
189
|
+
export declare const jiraGetIssuePickerSuggestions: import("ai").Tool<{
|
|
190
|
+
query?: string | undefined;
|
|
191
|
+
jiraToken?: string | undefined;
|
|
192
|
+
jiraCloudId?: string | undefined;
|
|
193
|
+
currentJQL?: string | undefined;
|
|
194
|
+
showSubTasks?: boolean | undefined;
|
|
195
|
+
currentIssueKey?: string | undefined;
|
|
196
|
+
currentProjectId?: string | undefined;
|
|
197
|
+
showSubTaskParent?: boolean | undefined;
|
|
198
|
+
}, any>;
|
|
199
|
+
export declare const jiraGetIssueProperty: import("ai").Tool<{
|
|
200
|
+
issueIdOrKey: string;
|
|
201
|
+
propertyKey: string;
|
|
202
|
+
jiraToken?: string | undefined;
|
|
203
|
+
jiraCloudId?: string | undefined;
|
|
204
|
+
}, any>;
|
|
205
|
+
export declare const jiraGetIssueWatchers: import("ai").Tool<{
|
|
206
|
+
issueIdOrKey: string;
|
|
207
|
+
jiraToken?: string | undefined;
|
|
208
|
+
jiraCloudId?: string | undefined;
|
|
209
|
+
}, any>;
|
|
210
|
+
export declare const jiraGetIssueWorklogs: import("ai").Tool<{
|
|
211
|
+
issueIdOrKey: string;
|
|
212
|
+
maxResults?: number | undefined;
|
|
213
|
+
jiraToken?: string | undefined;
|
|
214
|
+
jiraCloudId?: string | undefined;
|
|
215
|
+
startAt?: number | undefined;
|
|
216
|
+
startedAfter?: number | undefined;
|
|
217
|
+
startedBefore?: number | undefined;
|
|
218
|
+
}, any>;
|
|
219
|
+
export declare const jiraGetRemoteIssueLinks: import("ai").Tool<{
|
|
220
|
+
issueIdOrKey: string;
|
|
221
|
+
jiraToken?: string | undefined;
|
|
222
|
+
jiraCloudId?: string | undefined;
|
|
223
|
+
globalId?: string | undefined;
|
|
224
|
+
}, any>;
|
|
225
|
+
export declare const jiraGetTransitions: import("ai").Tool<{
|
|
226
|
+
issueIdOrKey: string;
|
|
227
|
+
expand?: string | undefined;
|
|
228
|
+
jiraToken?: string | undefined;
|
|
229
|
+
jiraCloudId?: string | undefined;
|
|
230
|
+
transitionId?: string | undefined;
|
|
231
|
+
skipRemoteOnlyCondition?: boolean | undefined;
|
|
232
|
+
sortByOpsBarAndStatus?: boolean | undefined;
|
|
233
|
+
includeUnavailableTransitions?: boolean | undefined;
|
|
234
|
+
}, any>;
|
|
235
|
+
export declare const jiraGetVotes: import("ai").Tool<{
|
|
236
|
+
issueIdOrKey: string;
|
|
237
|
+
jiraToken?: string | undefined;
|
|
238
|
+
jiraCloudId?: string | undefined;
|
|
239
|
+
}, any>;
|
|
240
|
+
export declare const jiraGetWorklog: import("ai").Tool<{
|
|
241
|
+
issueIdOrKey: string;
|
|
242
|
+
maxResults?: number | undefined;
|
|
243
|
+
expand?: string | undefined;
|
|
244
|
+
jiraToken?: string | undefined;
|
|
245
|
+
jiraCloudId?: string | undefined;
|
|
246
|
+
startAt?: number | undefined;
|
|
247
|
+
startedAfter?: number | undefined;
|
|
248
|
+
startedBefore?: number | undefined;
|
|
249
|
+
}, any>;
|
|
250
|
+
export declare const jiraListComments: import("ai").Tool<{
|
|
251
|
+
ids: number[];
|
|
252
|
+
expand?: string | undefined;
|
|
253
|
+
jiraToken?: string | undefined;
|
|
254
|
+
jiraCloudId?: string | undefined;
|
|
255
|
+
}, any>;
|
|
256
|
+
export declare const jiraListIssueComments: import("ai").Tool<{
|
|
257
|
+
issueIdOrKey: string;
|
|
258
|
+
maxResults?: number | undefined;
|
|
259
|
+
orderBy?: string | undefined;
|
|
260
|
+
expand?: string | undefined;
|
|
261
|
+
jiraToken?: string | undefined;
|
|
262
|
+
jiraCloudId?: string | undefined;
|
|
263
|
+
startAt?: number | undefined;
|
|
264
|
+
}, any>;
|
|
265
|
+
export declare const jiraRemoveWatcherFromIssue: import("ai").Tool<{
|
|
266
|
+
accountId: string;
|
|
267
|
+
issueIdOrKey: string;
|
|
268
|
+
jiraToken?: string | undefined;
|
|
269
|
+
jiraCloudId?: string | undefined;
|
|
270
|
+
}, any>;
|
|
271
|
+
export declare const jiraSendNotificationForIssue: import("ai").Tool<{
|
|
272
|
+
subject: string;
|
|
273
|
+
to: Record<string, any>;
|
|
274
|
+
issueIdOrKey: string;
|
|
275
|
+
textBody: string;
|
|
276
|
+
jiraToken?: string | undefined;
|
|
277
|
+
jiraCloudId?: string | undefined;
|
|
278
|
+
restrict?: Record<string, any> | undefined;
|
|
279
|
+
htmlBody?: string | undefined;
|
|
280
|
+
}, any>;
|
|
281
|
+
export declare const jiraTransitionIssue: import("ai").Tool<{
|
|
282
|
+
issueIdOrKey: string;
|
|
283
|
+
transitionIdOrName: string;
|
|
284
|
+
assignee?: string | undefined;
|
|
285
|
+
resolution?: string | undefined;
|
|
286
|
+
comment?: string | undefined;
|
|
287
|
+
jiraToken?: string | undefined;
|
|
288
|
+
jiraCloudId?: string | undefined;
|
|
289
|
+
additionalProperties?: Record<string, any> | undefined;
|
|
290
|
+
assigneeName?: string | undefined;
|
|
291
|
+
transitionFields?: Record<string, any> | undefined;
|
|
292
|
+
}, any>;
|
|
293
|
+
export declare const jiraUpdateComment: import("ai").Tool<{
|
|
294
|
+
commentId: string;
|
|
295
|
+
issueIdOrKey: string;
|
|
296
|
+
commentText: string;
|
|
297
|
+
jiraToken?: string | undefined;
|
|
298
|
+
jiraCloudId?: string | undefined;
|
|
299
|
+
visibilityType?: string | undefined;
|
|
300
|
+
visibilityValue?: string | undefined;
|
|
301
|
+
additionalProperties?: string | undefined;
|
|
302
|
+
notifyUsers?: boolean | undefined;
|
|
303
|
+
}, any>;
|
|
304
|
+
//# sourceMappingURL=issues.d.ts.map
|