backlog-mcp-server 0.15.0 → 0.16.0
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.ja.md +20 -10
- package/README.md +20 -10
- package/build/auth/backlogAuthContext.d.ts +2 -0
- package/build/auth/backlogOAuthClient.d.ts +10 -0
- package/build/auth/backlogOAuthConfig.d.ts +9 -0
- package/build/auth/bearerAuthMiddleware.d.ts +4 -0
- package/build/auth/oauthRoutes.d.ts +4 -0
- package/build/auth/tokenStore.d.ts +62 -0
- package/build/backlog/backlogErrorHandler.d.ts +2 -0
- package/build/backlog/customFields.d.ts +29 -0
- package/build/backlog/parseBacklogAPIError.d.ts +8 -0
- package/build/createBacklogMcpServer.d.ts +29 -0
- package/build/createBacklogMcpServer.js +9 -4
- package/build/createDescriptionHelper.d.ts +18 -0
- package/build/createDescriptionHelper.js +24 -0
- package/build/handlers/builders/composeToolHandler.d.ts +31 -0
- package/build/handlers/builders/composeToolHandler.js +21 -9
- package/build/handlers/transformers/wrapWithErrorHandling.d.ts +2 -0
- package/build/handlers/transformers/wrapWithFieldPicking.d.ts +4 -0
- package/build/handlers/transformers/wrapWithOrganizationContext.d.ts +3 -0
- package/build/handlers/transformers/wrapWithTokenLimit.d.ts +2 -0
- package/build/handlers/transformers/wrapWithToolResult.d.ts +6 -0
- package/build/httpMcpServer.d.ts +22 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +29 -11
- package/build/lib.d.ts +25 -0
- package/build/lib.js +20 -0
- package/build/loadDescriptionOverrides.d.ts +17 -0
- package/build/loadDescriptionOverrides.js +24 -0
- package/build/registerTools.d.ts +5 -0
- package/build/registerTools.js +7 -6
- package/build/tools/addDocument.d.ts +15 -0
- package/build/tools/addIssue.d.ts +30 -0
- package/build/tools/addIssueComment.d.ts +14 -0
- package/build/tools/addProject.d.ts +18 -0
- package/build/tools/addPullRequest.d.ts +20 -0
- package/build/tools/addPullRequestComment.d.ts +16 -0
- package/build/tools/addRelatedIssue.d.ts +12 -0
- package/build/tools/addVersionMilestone.d.ts +15 -0
- package/build/tools/addWatching.d.ts +11 -0
- package/build/tools/addWiki.d.ts +13 -0
- package/build/tools/countIssues.d.ts +48 -0
- package/build/tools/deleteIssue.d.ts +11 -0
- package/build/tools/deleteProject.d.ts +11 -0
- package/build/tools/deleteVersion.d.ts +12 -0
- package/build/tools/deleteWatching.d.ts +10 -0
- package/build/tools/dynamicTools/organizations.d.ts +6 -0
- package/build/tools/dynamicTools/toolsets.d.ts +15 -0
- package/build/tools/getCategories.d.ts +11 -0
- package/build/tools/getCustomFields.d.ts +12 -0
- package/build/tools/getDocument.d.ts +10 -0
- package/build/tools/getDocumentTree.d.ts +10 -0
- package/build/tools/getDocuments.d.ts +11 -0
- package/build/tools/getGitRepositories.d.ts +11 -0
- package/build/tools/getGitRepository.d.ts +13 -0
- package/build/tools/getIssue.d.ts +11 -0
- package/build/tools/getIssueComments.d.ts +18 -0
- package/build/tools/getIssueTypes.d.ts +11 -0
- package/build/tools/getIssues.d.ts +75 -0
- package/build/tools/getMyself.d.ts +7 -0
- package/build/tools/getNotifications.d.ts +16 -0
- package/build/tools/getNotificationsCount.d.ts +11 -0
- package/build/tools/getPriorities.d.ts +7 -0
- package/build/tools/getProject.d.ts +11 -0
- package/build/tools/getProjectList.d.ts +11 -0
- package/build/tools/getProjectUsers.d.ts +11 -0
- package/build/tools/getPullRequest.d.ts +14 -0
- package/build/tools/getPullRequestComments.d.ts +21 -0
- package/build/tools/getPullRequests.d.ts +19 -0
- package/build/tools/getPullRequestsCount.d.ts +17 -0
- package/build/tools/getRelatedIssues.d.ts +11 -0
- package/build/tools/getResolutions.d.ts +7 -0
- package/build/tools/getSpace.d.ts +7 -0
- package/build/tools/getSpaceActivities.d.ts +45 -0
- package/build/tools/getUserRecentUpdates.d.ts +46 -0
- package/build/tools/getUserStarsCount.d.ts +12 -0
- package/build/tools/getUsers.d.ts +7 -0
- package/build/tools/getVersionMilestoneList.d.ts +11 -0
- package/build/tools/getWatchingListCount.d.ts +10 -0
- package/build/tools/getWatchingListItems.d.ts +10 -0
- package/build/tools/getWiki.d.ts +10 -0
- package/build/tools/getWikiPages.d.ts +12 -0
- package/build/tools/getWikisCount.d.ts +11 -0
- package/build/tools/markNotificationAsRead.d.ts +13 -0
- package/build/tools/markWatchingAsRead.d.ts +13 -0
- package/build/tools/removeRelatedIssue.d.ts +12 -0
- package/build/tools/resetUnreadNotificationCount.d.ts +7 -0
- package/build/tools/shared/customFieldFiltersSchema.d.ts +21 -0
- package/build/tools/tools.d.ts +4 -0
- package/build/tools/updateIssue.d.ts +34 -0
- package/build/tools/updateIssueComment.d.ts +13 -0
- package/build/tools/updateProject.d.ts +21 -0
- package/build/tools/updatePullRequest.d.ts +20 -0
- package/build/tools/updatePullRequestComment.d.ts +16 -0
- package/build/tools/updateVersionMilestone.d.ts +17 -0
- package/build/tools/updateWatching.d.ts +11 -0
- package/build/tools/updateWiki.d.ts +13 -0
- package/build/types/mcp.d.ts +10 -0
- package/build/types/result.d.ts +10 -0
- package/build/types/tool.d.ts +24 -0
- package/build/types/toolsets.d.ts +16 -0
- package/build/types/zod/backlogOutputDefinition.d.ts +3334 -0
- package/build/types/zod/backlogOutputDefinition.js +0 -16
- package/build/utils/backlogClientRegistry.d.ts +28 -0
- package/build/utils/backlogClientRegistry.js +4 -0
- package/build/utils/backlogOrganizationContext.d.ts +2 -0
- package/build/utils/generateFieldsDescription.d.ts +5 -0
- package/build/utils/logger.d.ts +2 -0
- package/build/utils/logger.js +27 -14
- package/build/utils/resolveIdOrKey.d.ts +18 -0
- package/build/utils/runToolSafely.d.ts +6 -0
- package/build/utils/tokenCounter.d.ts +1 -0
- package/build/utils/toolRegistrar.d.ts +5 -0
- package/build/utils/toolsetUtils.d.ts +6 -0
- package/build/utils/toolsetUtils.js +0 -20
- package/build/utils/wrapServerWithToolRegistry.d.ts +6 -0
- package/package.json +12 -3
- package/build/createTranslationHelper.js +0 -28
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { GitRepositorySchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getGitRepositorySchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
repoId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
repoName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
};
|
|
12
|
+
export declare const getGitRepositoryTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getGitRepositorySchema>, (typeof GitRepositorySchema)["shape"]>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { IssueSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getIssueSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
issueId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getIssueTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getIssueSchema>, (typeof IssueSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { IssueCommentSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getIssueCommentsSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
issueId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
minId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
maxId: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
asc: "asc";
|
|
14
|
+
desc: "desc";
|
|
15
|
+
}>>;
|
|
16
|
+
};
|
|
17
|
+
export declare const getIssueCommentsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getIssueCommentsSchema>, (typeof IssueCommentSchema)["shape"]>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { IssueTypeSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getIssueTypesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getIssueTypesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getIssueTypesSchema>, (typeof IssueTypeSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { IssueSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getIssuesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
8
|
+
issueTypeId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
9
|
+
categoryId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
10
|
+
versionId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
11
|
+
milestoneId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
12
|
+
statusId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
13
|
+
priorityId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
14
|
+
assigneeId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15
|
+
createdUserId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16
|
+
resolutionId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
17
|
+
parentIssueId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
18
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startDateSince: z.ZodOptional<z.ZodString>;
|
|
20
|
+
startDateUntil: z.ZodOptional<z.ZodString>;
|
|
21
|
+
dueDateSince: z.ZodOptional<z.ZodString>;
|
|
22
|
+
dueDateUntil: z.ZodOptional<z.ZodString>;
|
|
23
|
+
createdSince: z.ZodOptional<z.ZodString>;
|
|
24
|
+
createdUntil: z.ZodOptional<z.ZodString>;
|
|
25
|
+
updatedSince: z.ZodOptional<z.ZodString>;
|
|
26
|
+
updatedUntil: z.ZodOptional<z.ZodString>;
|
|
27
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
version: "version";
|
|
29
|
+
priority: "priority";
|
|
30
|
+
createdUser: "createdUser";
|
|
31
|
+
created: "created";
|
|
32
|
+
startDate: "startDate";
|
|
33
|
+
updatedUser: "updatedUser";
|
|
34
|
+
updated: "updated";
|
|
35
|
+
issueType: "issueType";
|
|
36
|
+
status: "status";
|
|
37
|
+
summary: "summary";
|
|
38
|
+
assignee: "assignee";
|
|
39
|
+
category: "category";
|
|
40
|
+
milestone: "milestone";
|
|
41
|
+
dueDate: "dueDate";
|
|
42
|
+
estimatedHours: "estimatedHours";
|
|
43
|
+
actualHours: "actualHours";
|
|
44
|
+
attachment: "attachment";
|
|
45
|
+
sharedFile: "sharedFile";
|
|
46
|
+
childIssue: "childIssue";
|
|
47
|
+
}>>;
|
|
48
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
asc: "asc";
|
|
50
|
+
desc: "desc";
|
|
51
|
+
}>>;
|
|
52
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
55
|
+
type: z.ZodLiteral<"text">;
|
|
56
|
+
id: z.ZodNumber;
|
|
57
|
+
value: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
type: z.ZodLiteral<"numeric">;
|
|
60
|
+
id: z.ZodNumber;
|
|
61
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
type: z.ZodLiteral<"date">;
|
|
65
|
+
id: z.ZodNumber;
|
|
66
|
+
min: z.ZodOptional<z.ZodString>;
|
|
67
|
+
max: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"list">;
|
|
70
|
+
id: z.ZodNumber;
|
|
71
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>;
|
|
72
|
+
}, z.core.$strip>], "type">>>;
|
|
73
|
+
};
|
|
74
|
+
export declare const getIssuesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getIssuesSchema>, (typeof IssueSchema)["shape"]>;
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { UserSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const getMyselfSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const getMyselfTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getMyselfSchema>, (typeof UserSchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { NotificationSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getNotificationsSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
minId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
maxId: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
asc: "asc";
|
|
12
|
+
desc: "desc";
|
|
13
|
+
}>>;
|
|
14
|
+
};
|
|
15
|
+
export declare const getNotificationsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getNotificationsSchema>, (typeof NotificationSchema)["shape"]>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { NotificationCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getNotificationsCountSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
alreadyRead: z.ZodBoolean;
|
|
8
|
+
resourceAlreadyRead: z.ZodBoolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const getNotificationsCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getNotificationsCountSchema>, (typeof NotificationCountSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { PrioritySchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const getPrioritiesSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const getPrioritiesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getPrioritiesSchema>, (typeof PrioritySchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { ProjectSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getProjectSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getProjectTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getProjectSchema>, (typeof ProjectSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { ProjectSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getProjectListSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getProjectListTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getProjectListSchema>, (typeof ProjectSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { UserSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getProjectUsersSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getProjectUsersTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getProjectUsersSchema>, (typeof UserSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { PullRequestSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getPullRequestSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
repoId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
repoName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
number: z.ZodNumber;
|
|
12
|
+
};
|
|
13
|
+
export declare const getPullRequestTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getPullRequestSchema>, (typeof PullRequestSchema)["shape"]>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { PullRequestCommentSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getPullRequestCommentsSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
repoId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
repoName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
number: z.ZodNumber;
|
|
12
|
+
minId: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
maxId: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
asc: "asc";
|
|
17
|
+
desc: "desc";
|
|
18
|
+
}>>;
|
|
19
|
+
};
|
|
20
|
+
export declare const getPullRequestCommentsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getPullRequestCommentsSchema>, (typeof PullRequestCommentSchema)["shape"]>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { PullRequestSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getPullRequestsSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
repoId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
repoName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
statusId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
12
|
+
assigneeId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
13
|
+
issueId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
14
|
+
createdUserId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
};
|
|
18
|
+
export declare const getPullRequestsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getPullRequestsSchema>, (typeof PullRequestSchema)["shape"]>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { PullRequestCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getPullRequestsCountSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
repoId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
repoName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
statusId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
12
|
+
assigneeId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
13
|
+
issueId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
14
|
+
createdUserId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15
|
+
};
|
|
16
|
+
export declare const getPullRequestsCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getPullRequestsCountSchema>, (typeof PullRequestCountSchema)["shape"]>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { RelatedIssueSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getRelatedIssuesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
issueId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getRelatedIssuesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getRelatedIssuesSchema>, (typeof RelatedIssueSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { ResolutionSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const getResolutionsSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const getResolutionsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getResolutionsSchema>, (typeof ResolutionSchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { SpaceSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const getSpaceSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const getSpaceTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getSpaceSchema>, (typeof SpaceSchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { ActivitySchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getSpaceActivitiesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
activityTypeId: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8
|
+
Undefined: number;
|
|
9
|
+
IssueCreated: number;
|
|
10
|
+
IssueUpdated: number;
|
|
11
|
+
IssueCommented: number;
|
|
12
|
+
IssueDeleted: number;
|
|
13
|
+
WikiCreated: number;
|
|
14
|
+
WikiUpdated: number;
|
|
15
|
+
WikiDeleted: number;
|
|
16
|
+
FileAdded: number;
|
|
17
|
+
FileUpdated: number;
|
|
18
|
+
FileDeleted: number;
|
|
19
|
+
SvnCommitted: number;
|
|
20
|
+
GitPushed: number;
|
|
21
|
+
GitRepositoryCreated: number;
|
|
22
|
+
IssueMultiUpdated: number;
|
|
23
|
+
ProjectUserAdded: number;
|
|
24
|
+
ProjectUserRemoved: number;
|
|
25
|
+
NotifyAdded: number;
|
|
26
|
+
PullRequestAdded: number;
|
|
27
|
+
PullRequestUpdated: number;
|
|
28
|
+
PullRequestCommented: number;
|
|
29
|
+
PullRequestMerged: number;
|
|
30
|
+
MilestoneCreated: number;
|
|
31
|
+
MilestoneUpdated: number;
|
|
32
|
+
MilestoneDeleted: number;
|
|
33
|
+
ProjectGroupAdded: number;
|
|
34
|
+
ProjectGroupDeleted: number;
|
|
35
|
+
}>>>;
|
|
36
|
+
minId: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
maxId: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
40
|
+
asc: "asc";
|
|
41
|
+
desc: "desc";
|
|
42
|
+
}>>;
|
|
43
|
+
};
|
|
44
|
+
export declare const getSpaceActivitiesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getSpaceActivitiesSchema>, (typeof ActivitySchema)["shape"]>;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { ActivitySchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getUserRecentUpdatesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
|
+
activityTypeId: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
|
+
Undefined: number;
|
|
10
|
+
IssueCreated: number;
|
|
11
|
+
IssueUpdated: number;
|
|
12
|
+
IssueCommented: number;
|
|
13
|
+
IssueDeleted: number;
|
|
14
|
+
WikiCreated: number;
|
|
15
|
+
WikiUpdated: number;
|
|
16
|
+
WikiDeleted: number;
|
|
17
|
+
FileAdded: number;
|
|
18
|
+
FileUpdated: number;
|
|
19
|
+
FileDeleted: number;
|
|
20
|
+
SvnCommitted: number;
|
|
21
|
+
GitPushed: number;
|
|
22
|
+
GitRepositoryCreated: number;
|
|
23
|
+
IssueMultiUpdated: number;
|
|
24
|
+
ProjectUserAdded: number;
|
|
25
|
+
ProjectUserRemoved: number;
|
|
26
|
+
NotifyAdded: number;
|
|
27
|
+
PullRequestAdded: number;
|
|
28
|
+
PullRequestUpdated: number;
|
|
29
|
+
PullRequestCommented: number;
|
|
30
|
+
PullRequestMerged: number;
|
|
31
|
+
MilestoneCreated: number;
|
|
32
|
+
MilestoneUpdated: number;
|
|
33
|
+
MilestoneDeleted: number;
|
|
34
|
+
ProjectGroupAdded: number;
|
|
35
|
+
ProjectGroupDeleted: number;
|
|
36
|
+
}>>>;
|
|
37
|
+
minId: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
maxId: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
40
|
+
order: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
41
|
+
asc: "asc";
|
|
42
|
+
desc: "desc";
|
|
43
|
+
}>>>;
|
|
44
|
+
};
|
|
45
|
+
export declare const getUserRecentUpdatesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getUserRecentUpdatesSchema>, (typeof ActivitySchema)["shape"]>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { StarCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getUserStarsCountSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
|
+
since: z.ZodOptional<z.ZodString>;
|
|
9
|
+
until: z.ZodOptional<z.ZodString>;
|
|
10
|
+
};
|
|
11
|
+
export declare const getUserStarsCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getUserStarsCountSchema>, (typeof StarCountSchema)["shape"]>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { UserSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const getUsersSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const getUsersTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getUsersSchema>, (typeof UserSchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { VersionSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getVersionMilestoneListSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getVersionMilestoneListTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getVersionMilestoneListSchema>, (typeof VersionSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { WatchingListCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getWatchingListCountSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
|
+
};
|
|
9
|
+
export declare const getWatchingListCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getWatchingListCountSchema>, (typeof WatchingListCountSchema)["shape"]>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { WatchingListItemSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getWatchingListItemsSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
|
+
};
|
|
9
|
+
export declare const getWatchingListItemsTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getWatchingListItemsSchema>, (typeof WatchingListItemSchema)["shape"]>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { WikiSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getWikiSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
wikiId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
8
|
+
};
|
|
9
|
+
export declare const getWikiTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getWikiSchema>, (typeof WikiSchema)["shape"]>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { WikiListItemSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getWikiPagesSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
10
|
+
};
|
|
11
|
+
export declare const getWikiPagesTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getWikiPagesSchema>, (typeof WikiListItemSchema)["shape"]>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { WikiCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const getWikisCountSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
projectId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
};
|
|
10
|
+
export declare const getWikisCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof getWikisCountSchema>, (typeof WikiCountSchema)["shape"]>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
declare const markNotificationAsReadSchema: (t: DescriptionHelper["t"]) => {
|
|
6
|
+
id: z.ZodNumber;
|
|
7
|
+
};
|
|
8
|
+
export declare const MarkNotificationAsReadResultSchema: z.ZodObject<{
|
|
9
|
+
success: z.ZodBoolean;
|
|
10
|
+
message: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const markNotificationAsReadTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof markNotificationAsReadSchema>, (typeof MarkNotificationAsReadResultSchema)["shape"]>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
declare const markWatchingAsReadSchema: (t: DescriptionHelper["t"]) => {
|
|
6
|
+
watchId: z.ZodNumber;
|
|
7
|
+
};
|
|
8
|
+
export declare const MarkWatchingAsReadResultSchema: z.ZodObject<{
|
|
9
|
+
success: z.ZodBoolean;
|
|
10
|
+
message: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const markWatchingAsReadTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof markWatchingAsReadSchema>, (typeof MarkWatchingAsReadResultSchema)["shape"]>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Backlog } from 'backlog-js';
|
|
3
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
4
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
5
|
+
import { RelatedIssueSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
6
|
+
declare const removeRelatedIssueSchema: (t: DescriptionHelper["t"]) => {
|
|
7
|
+
issueId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
relatedIssueId: z.ZodNumber;
|
|
10
|
+
};
|
|
11
|
+
export declare const removeRelatedIssueTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof removeRelatedIssueSchema>, (typeof RelatedIssueSchema)["shape"]>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Backlog } from 'backlog-js';
|
|
2
|
+
import { ToolDefinition } from '../types/tool.js';
|
|
3
|
+
import { DescriptionHelper } from '../createDescriptionHelper.js';
|
|
4
|
+
import { NotificationCountSchema } from '../types/zod/backlogOutputDefinition.js';
|
|
5
|
+
declare const resetUnreadNotificationCountSchema: (t: DescriptionHelper["t"]) => {};
|
|
6
|
+
export declare const resetUnreadNotificationCountTool: (backlog: Backlog, { t }: DescriptionHelper) => ToolDefinition<ReturnType<typeof resetUnreadNotificationCountSchema>, (typeof NotificationCountSchema)["shape"]>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DescriptionHelper } from '../../createDescriptionHelper.js';
|
|
3
|
+
export declare const buildCustomFieldFilterSchema: (t: DescriptionHelper["t"]) => z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"text">;
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
value: z.ZodString;
|
|
7
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8
|
+
type: z.ZodLiteral<"numeric">;
|
|
9
|
+
id: z.ZodNumber;
|
|
10
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
type: z.ZodLiteral<"date">;
|
|
14
|
+
id: z.ZodNumber;
|
|
15
|
+
min: z.ZodOptional<z.ZodString>;
|
|
16
|
+
max: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"list">;
|
|
19
|
+
id: z.ZodNumber;
|
|
20
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>;
|
|
21
|
+
}, z.core.$strip>], "type">;
|