@shipfox/api-integration-jira-dto 12.0.0 → 12.2.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/agent-tools/index.d.ts +7 -7
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +16 -16
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled: 3 files with swc (
|
|
2
|
+
Successfully compiled: 3 files with swc (308.31ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -8,22 +8,22 @@ interface AgentToolCatalogEntry<RequiredScope = unknown> {
|
|
|
8
8
|
inputSchema: Record<string, unknown>;
|
|
9
9
|
outputSchema?: Record<string, unknown> | undefined;
|
|
10
10
|
}
|
|
11
|
-
export declare const jiraAgentToolIds: readonly [
|
|
11
|
+
export declare const jiraAgentToolIds: readonly ['get_issue', 'search_issues', 'get_issue_comments', 'get_issue_transitions', 'get_project', 'get_user', 'create_issue', 'update_issue', 'add_comment', 'transition_issue', 'assign_issue'];
|
|
12
12
|
export declare const jiraAgentToolIdSchema: z.ZodEnum<{
|
|
13
|
+
add_comment: "add_comment";
|
|
14
|
+
assign_issue: "assign_issue";
|
|
15
|
+
create_issue: "create_issue";
|
|
13
16
|
get_issue: "get_issue";
|
|
14
|
-
search_issues: "search_issues";
|
|
15
17
|
get_issue_comments: "get_issue_comments";
|
|
16
18
|
get_issue_transitions: "get_issue_transitions";
|
|
17
19
|
get_project: "get_project";
|
|
18
20
|
get_user: "get_user";
|
|
19
|
-
|
|
20
|
-
update_issue: "update_issue";
|
|
21
|
-
add_comment: "add_comment";
|
|
21
|
+
search_issues: "search_issues";
|
|
22
22
|
transition_issue: "transition_issue";
|
|
23
|
-
|
|
23
|
+
update_issue: "update_issue";
|
|
24
24
|
}>;
|
|
25
25
|
export type JiraAgentToolId = z.infer<typeof jiraAgentToolIdSchema>;
|
|
26
|
-
export declare const jiraAgentToolRequiredScopes: readonly [
|
|
26
|
+
export declare const jiraAgentToolRequiredScopes: readonly ['read', 'write'];
|
|
27
27
|
export declare const jiraAgentToolRequiredScopeSchema: z.ZodEnum<{
|
|
28
28
|
read: "read";
|
|
29
29
|
write: "write";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent-tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,UAAU,qBAAqB,CAAC,aAAa,GAAG,OAAO;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CACpD;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent-tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,UAAU,qBAAqB,CAAC,aAAa,GAAG,OAAO;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CACpD;AAED,eAAO,MAAM,gBAAgB,YAC3B,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,aAAa,EACb,UAAU,EACV,cAAc,EACd,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,CACN,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAA2B,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,2BAA2B,YAAI,MAAM,EAAE,OAAO,CAAU,CAAC;AACtE,eAAO,MAAM,gCAAgC;;;EAAsC,CAAC;AACpF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,MAAM,WAAW,yBACf,SAAQ,qBAAqB,CAAC,0BAA0B,CAAC;IACzD,EAAE,EAAE,eAAe,CAAC;CACrB"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const JIRA_PROVIDER = "jira";
|
|
3
3
|
export type JiraProvider = typeof JIRA_PROVIDER;
|
|
4
|
-
export declare const jiraIssueWebhookEventNames: readonly [
|
|
5
|
-
export declare const jiraCommentWebhookEventNames: readonly [
|
|
4
|
+
export declare const jiraIssueWebhookEventNames: readonly ['jira:issue_created', 'jira:issue_updated', 'jira:issue_deleted'];
|
|
5
|
+
export declare const jiraCommentWebhookEventNames: readonly ['comment_created', 'comment_updated', 'comment_deleted'];
|
|
6
6
|
export declare const jiraWebhookEventNames: readonly ["jira:issue_created", "jira:issue_updated", "jira:issue_deleted", "comment_created", "comment_updated", "comment_deleted"];
|
|
7
7
|
export declare const jiraWebhookEventNameSchema: z.ZodEnum<{
|
|
8
|
-
"jira:issue_created": "jira:issue_created";
|
|
9
|
-
"jira:issue_updated": "jira:issue_updated";
|
|
10
|
-
"jira:issue_deleted": "jira:issue_deleted";
|
|
11
8
|
comment_created: "comment_created";
|
|
12
|
-
comment_updated: "comment_updated";
|
|
13
9
|
comment_deleted: "comment_deleted";
|
|
10
|
+
comment_updated: "comment_updated";
|
|
11
|
+
"jira:issue_created": "jira:issue_created";
|
|
12
|
+
"jira:issue_deleted": "jira:issue_deleted";
|
|
13
|
+
"jira:issue_updated": "jira:issue_updated";
|
|
14
14
|
}>;
|
|
15
15
|
export type JiraIssueWebhookEventName = (typeof jiraIssueWebhookEventNames)[number];
|
|
16
16
|
export type JiraCommentWebhookEventName = (typeof jiraCommentWebhookEventNames)[number];
|
|
@@ -107,8 +107,8 @@ export declare const jiraIssueWebhookEnvelopeSchema: z.ZodObject<{
|
|
|
107
107
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
108
108
|
webhookEvent: z.ZodEnum<{
|
|
109
109
|
"jira:issue_created": "jira:issue_created";
|
|
110
|
-
"jira:issue_updated": "jira:issue_updated";
|
|
111
110
|
"jira:issue_deleted": "jira:issue_deleted";
|
|
111
|
+
"jira:issue_updated": "jira:issue_updated";
|
|
112
112
|
}>;
|
|
113
113
|
issue_event_type_name: z.ZodString;
|
|
114
114
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
@@ -149,8 +149,8 @@ export declare const jiraCommentWebhookEnvelopeSchema: z.ZodObject<{
|
|
|
149
149
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
150
150
|
webhookEvent: z.ZodEnum<{
|
|
151
151
|
comment_created: "comment_created";
|
|
152
|
-
comment_updated: "comment_updated";
|
|
153
152
|
comment_deleted: "comment_deleted";
|
|
153
|
+
comment_updated: "comment_updated";
|
|
154
154
|
}>;
|
|
155
155
|
comment: z.ZodObject<{
|
|
156
156
|
id: z.ZodString;
|
|
@@ -186,8 +186,8 @@ export declare const jiraWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
186
186
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
187
187
|
webhookEvent: z.ZodEnum<{
|
|
188
188
|
"jira:issue_created": "jira:issue_created";
|
|
189
|
-
"jira:issue_updated": "jira:issue_updated";
|
|
190
189
|
"jira:issue_deleted": "jira:issue_deleted";
|
|
190
|
+
"jira:issue_updated": "jira:issue_updated";
|
|
191
191
|
}>;
|
|
192
192
|
issue_event_type_name: z.ZodString;
|
|
193
193
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
@@ -226,8 +226,8 @@ export declare const jiraWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
226
226
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
227
227
|
webhookEvent: z.ZodEnum<{
|
|
228
228
|
comment_created: "comment_created";
|
|
229
|
-
comment_updated: "comment_updated";
|
|
230
229
|
comment_deleted: "comment_deleted";
|
|
230
|
+
comment_updated: "comment_updated";
|
|
231
231
|
}>;
|
|
232
232
|
comment: z.ZodObject<{
|
|
233
233
|
id: z.ZodString;
|
|
@@ -263,8 +263,8 @@ export declare const jiraIssueEventPayloadSchema: z.ZodObject<{
|
|
|
263
263
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
264
264
|
webhookEvent: z.ZodEnum<{
|
|
265
265
|
"jira:issue_created": "jira:issue_created";
|
|
266
|
-
"jira:issue_updated": "jira:issue_updated";
|
|
267
266
|
"jira:issue_deleted": "jira:issue_deleted";
|
|
267
|
+
"jira:issue_updated": "jira:issue_updated";
|
|
268
268
|
}>;
|
|
269
269
|
issue_event_type_name: z.ZodString;
|
|
270
270
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
@@ -306,8 +306,8 @@ export declare const jiraCommentEventPayloadSchema: z.ZodObject<{
|
|
|
306
306
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
307
307
|
webhookEvent: z.ZodEnum<{
|
|
308
308
|
comment_created: "comment_created";
|
|
309
|
-
comment_updated: "comment_updated";
|
|
310
309
|
comment_deleted: "comment_deleted";
|
|
310
|
+
comment_updated: "comment_updated";
|
|
311
311
|
}>;
|
|
312
312
|
comment: z.ZodObject<{
|
|
313
313
|
id: z.ZodString;
|
|
@@ -344,8 +344,8 @@ export declare const jiraEventPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
344
344
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
345
345
|
webhookEvent: z.ZodEnum<{
|
|
346
346
|
"jira:issue_created": "jira:issue_created";
|
|
347
|
-
"jira:issue_updated": "jira:issue_updated";
|
|
348
347
|
"jira:issue_deleted": "jira:issue_deleted";
|
|
348
|
+
"jira:issue_updated": "jira:issue_updated";
|
|
349
349
|
}>;
|
|
350
350
|
issue_event_type_name: z.ZodString;
|
|
351
351
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
@@ -385,8 +385,8 @@ export declare const jiraEventPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
385
385
|
matchedWebhookIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
386
386
|
webhookEvent: z.ZodEnum<{
|
|
387
387
|
comment_created: "comment_created";
|
|
388
|
-
comment_updated: "comment_updated";
|
|
389
388
|
comment_deleted: "comment_deleted";
|
|
389
|
+
comment_updated: "comment_updated";
|
|
390
390
|
}>;
|
|
391
391
|
comment: z.ZodObject<{
|
|
392
392
|
id: z.ZodString;
|
|
@@ -452,13 +452,13 @@ export declare const jiraCallbackResponseSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
452
452
|
slug: z.ZodString;
|
|
453
453
|
display_name: z.ZodString;
|
|
454
454
|
lifecycle_status: z.ZodEnum<{
|
|
455
|
-
error: "error";
|
|
456
455
|
active: "active";
|
|
457
456
|
disabled: "disabled";
|
|
457
|
+
error: "error";
|
|
458
458
|
}>;
|
|
459
459
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
460
|
-
source_control: "source_control";
|
|
461
460
|
agent_tools: "agent_tools";
|
|
461
|
+
source_control: "source_control";
|
|
462
462
|
}>>;
|
|
463
463
|
external_url: z.ZodOptional<z.ZodString>;
|
|
464
464
|
created_at: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,aAAa,SAAS,CAAC;AACpC,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC;AAEhD,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,aAAa,SAAS,CAAC;AACpC,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC;AAEhD,eAAO,MAAM,0BAA0B,YACrC,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,CACZ,CAAC;AACX,eAAO,MAAM,4BAA4B,YACvC,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,CACT,CAAC;AACX,eAAO,MAAM,qBAAqB,sIAGxB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;EAAgC,CAAC;AACxE,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AACpF,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AACxF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE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