@bubblelab/bubble-core 0.1.28 → 0.1.30

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.
Files changed (88) hide show
  1. package/dist/bubble-bundle.d.ts +160 -91
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
  7. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  8. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +20 -20
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +30 -30
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +56 -56
  12. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
  13. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +31 -31
  14. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  15. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +153 -153
  16. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  18. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/eleven-labs.d.ts +4 -4
  20. package/dist/bubbles/service-bubble/firecrawl.d.ts +128 -128
  21. package/dist/bubbles/service-bubble/followupboss.d.ts +84 -84
  22. package/dist/bubbles/service-bubble/github.d.ts +120 -120
  23. package/dist/bubbles/service-bubble/gmail.d.ts +411 -411
  24. package/dist/bubbles/service-bubble/google-calendar.d.ts +184 -184
  25. package/dist/bubbles/service-bubble/google-drive.d.ts +48 -48
  26. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +33 -33
  27. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
  28. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
  30. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
  31. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +79 -79
  32. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  33. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  34. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  35. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  36. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  37. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  38. package/dist/bubbles/service-bubble/jira/index.d.ts +5 -0
  39. package/dist/bubbles/service-bubble/jira/index.d.ts.map +1 -0
  40. package/dist/bubbles/service-bubble/jira/index.js +5 -0
  41. package/dist/bubbles/service-bubble/jira/index.js.map +1 -0
  42. package/dist/bubbles/service-bubble/jira/jira.d.ts +2695 -0
  43. package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -0
  44. package/dist/bubbles/service-bubble/jira/jira.integration.flow.d.ts +38 -0
  45. package/dist/bubbles/service-bubble/jira/jira.integration.flow.d.ts.map +1 -0
  46. package/dist/bubbles/service-bubble/jira/jira.integration.flow.js +358 -0
  47. package/dist/bubbles/service-bubble/jira/jira.integration.flow.js.map +1 -0
  48. package/dist/bubbles/service-bubble/jira/jira.js +535 -0
  49. package/dist/bubbles/service-bubble/jira/jira.js.map +1 -0
  50. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +3659 -0
  51. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts.map +1 -0
  52. package/dist/bubbles/service-bubble/jira/jira.schema.js +502 -0
  53. package/dist/bubbles/service-bubble/jira/jira.schema.js.map +1 -0
  54. package/dist/bubbles/service-bubble/jira/jira.utils.d.ts +141 -0
  55. package/dist/bubbles/service-bubble/jira/jira.utils.d.ts.map +1 -0
  56. package/dist/bubbles/service-bubble/jira/jira.utils.js +428 -0
  57. package/dist/bubbles/service-bubble/jira/jira.utils.js.map +1 -0
  58. package/dist/bubbles/service-bubble/notion/notion.d.ts +148 -148
  59. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +36 -36
  60. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  61. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  62. package/dist/bubbles/service-bubble/slack/slack.d.ts +142 -142
  63. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  64. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  65. package/dist/bubbles/service-bubble/slack.js +1536 -0
  66. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  67. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  68. package/dist/bubbles/service-bubble/telegram.d.ts +6 -6
  69. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  71. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +198 -198
  73. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +12 -12
  75. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  76. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  77. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +44 -44
  78. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +88 -88
  79. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  80. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  81. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +42 -42
  82. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +48 -48
  83. package/dist/bubbles.json +1791 -2
  84. package/dist/index.d.ts +2 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +1 -0
  87. package/dist/index.js.map +1 -1
  88. package/package.json +2 -2
@@ -0,0 +1,3659 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const JiraUserSchema: z.ZodObject<{
4
+ accountId: z.ZodString;
5
+ displayName: z.ZodOptional<z.ZodString>;
6
+ emailAddress: z.ZodOptional<z.ZodString>;
7
+ active: z.ZodOptional<z.ZodBoolean>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ accountId: string;
10
+ displayName?: string | undefined;
11
+ emailAddress?: string | undefined;
12
+ active?: boolean | undefined;
13
+ }, {
14
+ accountId: string;
15
+ displayName?: string | undefined;
16
+ emailAddress?: string | undefined;
17
+ active?: boolean | undefined;
18
+ }>;
19
+ export declare const JiraIssueTypeSchema: z.ZodObject<{
20
+ id: z.ZodString;
21
+ name: z.ZodString;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ subtask: z.ZodOptional<z.ZodBoolean>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ id: string;
26
+ name: string;
27
+ description?: string | undefined;
28
+ subtask?: boolean | undefined;
29
+ }, {
30
+ id: string;
31
+ name: string;
32
+ description?: string | undefined;
33
+ subtask?: boolean | undefined;
34
+ }>;
35
+ export declare const JiraStatusSchema: z.ZodObject<{
36
+ id: z.ZodString;
37
+ name: z.ZodString;
38
+ statusCategory: z.ZodOptional<z.ZodObject<{
39
+ key: z.ZodString;
40
+ name: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ name: string;
43
+ key: string;
44
+ }, {
45
+ name: string;
46
+ key: string;
47
+ }>>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ id: string;
50
+ name: string;
51
+ statusCategory?: {
52
+ name: string;
53
+ key: string;
54
+ } | undefined;
55
+ }, {
56
+ id: string;
57
+ name: string;
58
+ statusCategory?: {
59
+ name: string;
60
+ key: string;
61
+ } | undefined;
62
+ }>;
63
+ export declare const JiraPrioritySchema: z.ZodObject<{
64
+ id: z.ZodString;
65
+ name: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ id: string;
68
+ name: string;
69
+ }, {
70
+ id: string;
71
+ name: string;
72
+ }>;
73
+ export declare const JiraProjectSchema: z.ZodObject<{
74
+ id: z.ZodString;
75
+ key: z.ZodString;
76
+ name: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ id: string;
79
+ name: string;
80
+ key: string;
81
+ }, {
82
+ id: string;
83
+ name: string;
84
+ key: string;
85
+ }>;
86
+ export declare const JiraCommentSchema: z.ZodObject<{
87
+ id: z.ZodString;
88
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
89
+ accountId: z.ZodString;
90
+ displayName: z.ZodOptional<z.ZodString>;
91
+ emailAddress: z.ZodOptional<z.ZodString>;
92
+ active: z.ZodOptional<z.ZodBoolean>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ accountId: string;
95
+ displayName?: string | undefined;
96
+ emailAddress?: string | undefined;
97
+ active?: boolean | undefined;
98
+ }, {
99
+ accountId: string;
100
+ displayName?: string | undefined;
101
+ emailAddress?: string | undefined;
102
+ active?: boolean | undefined;
103
+ }>>>;
104
+ body: z.ZodOptional<z.ZodUnknown>;
105
+ renderedBody: z.ZodOptional<z.ZodString>;
106
+ created: z.ZodOptional<z.ZodString>;
107
+ updated: z.ZodOptional<z.ZodString>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ id: string;
110
+ author?: {
111
+ accountId: string;
112
+ displayName?: string | undefined;
113
+ emailAddress?: string | undefined;
114
+ active?: boolean | undefined;
115
+ } | null | undefined;
116
+ body?: unknown;
117
+ renderedBody?: string | undefined;
118
+ created?: string | undefined;
119
+ updated?: string | undefined;
120
+ }, {
121
+ id: string;
122
+ author?: {
123
+ accountId: string;
124
+ displayName?: string | undefined;
125
+ emailAddress?: string | undefined;
126
+ active?: boolean | undefined;
127
+ } | null | undefined;
128
+ body?: unknown;
129
+ renderedBody?: string | undefined;
130
+ created?: string | undefined;
131
+ updated?: string | undefined;
132
+ }>;
133
+ export declare const JiraTransitionSchema: z.ZodObject<{
134
+ id: z.ZodString;
135
+ name: z.ZodString;
136
+ to: z.ZodOptional<z.ZodObject<{
137
+ id: z.ZodString;
138
+ name: z.ZodString;
139
+ statusCategory: z.ZodOptional<z.ZodObject<{
140
+ key: z.ZodString;
141
+ name: z.ZodString;
142
+ }, "strip", z.ZodTypeAny, {
143
+ name: string;
144
+ key: string;
145
+ }, {
146
+ name: string;
147
+ key: string;
148
+ }>>;
149
+ }, "strip", z.ZodTypeAny, {
150
+ id: string;
151
+ name: string;
152
+ statusCategory?: {
153
+ name: string;
154
+ key: string;
155
+ } | undefined;
156
+ }, {
157
+ id: string;
158
+ name: string;
159
+ statusCategory?: {
160
+ name: string;
161
+ key: string;
162
+ } | undefined;
163
+ }>>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ id: string;
166
+ name: string;
167
+ to?: {
168
+ id: string;
169
+ name: string;
170
+ statusCategory?: {
171
+ name: string;
172
+ key: string;
173
+ } | undefined;
174
+ } | undefined;
175
+ }, {
176
+ id: string;
177
+ name: string;
178
+ to?: {
179
+ id: string;
180
+ name: string;
181
+ statusCategory?: {
182
+ name: string;
183
+ key: string;
184
+ } | undefined;
185
+ } | undefined;
186
+ }>;
187
+ export declare const JiraIssueSchema: z.ZodObject<{
188
+ id: z.ZodString;
189
+ key: z.ZodString;
190
+ self: z.ZodOptional<z.ZodString>;
191
+ fields: z.ZodObject<{
192
+ summary: z.ZodOptional<z.ZodString>;
193
+ description: z.ZodOptional<z.ZodUnknown>;
194
+ status: z.ZodOptional<z.ZodObject<{
195
+ id: z.ZodString;
196
+ name: z.ZodString;
197
+ statusCategory: z.ZodOptional<z.ZodObject<{
198
+ key: z.ZodString;
199
+ name: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ name: string;
202
+ key: string;
203
+ }, {
204
+ name: string;
205
+ key: string;
206
+ }>>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ id: string;
209
+ name: string;
210
+ statusCategory?: {
211
+ name: string;
212
+ key: string;
213
+ } | undefined;
214
+ }, {
215
+ id: string;
216
+ name: string;
217
+ statusCategory?: {
218
+ name: string;
219
+ key: string;
220
+ } | undefined;
221
+ }>>;
222
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
223
+ id: z.ZodString;
224
+ name: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ id: string;
227
+ name: string;
228
+ }, {
229
+ id: string;
230
+ name: string;
231
+ }>>>;
232
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
233
+ accountId: z.ZodString;
234
+ displayName: z.ZodOptional<z.ZodString>;
235
+ emailAddress: z.ZodOptional<z.ZodString>;
236
+ active: z.ZodOptional<z.ZodBoolean>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ accountId: string;
239
+ displayName?: string | undefined;
240
+ emailAddress?: string | undefined;
241
+ active?: boolean | undefined;
242
+ }, {
243
+ accountId: string;
244
+ displayName?: string | undefined;
245
+ emailAddress?: string | undefined;
246
+ active?: boolean | undefined;
247
+ }>>>;
248
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
249
+ accountId: z.ZodString;
250
+ displayName: z.ZodOptional<z.ZodString>;
251
+ emailAddress: z.ZodOptional<z.ZodString>;
252
+ active: z.ZodOptional<z.ZodBoolean>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ accountId: string;
255
+ displayName?: string | undefined;
256
+ emailAddress?: string | undefined;
257
+ active?: boolean | undefined;
258
+ }, {
259
+ accountId: string;
260
+ displayName?: string | undefined;
261
+ emailAddress?: string | undefined;
262
+ active?: boolean | undefined;
263
+ }>>>;
264
+ issuetype: z.ZodOptional<z.ZodObject<{
265
+ id: z.ZodString;
266
+ name: z.ZodString;
267
+ description: z.ZodOptional<z.ZodString>;
268
+ subtask: z.ZodOptional<z.ZodBoolean>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ id: string;
271
+ name: string;
272
+ description?: string | undefined;
273
+ subtask?: boolean | undefined;
274
+ }, {
275
+ id: string;
276
+ name: string;
277
+ description?: string | undefined;
278
+ subtask?: boolean | undefined;
279
+ }>>;
280
+ project: z.ZodOptional<z.ZodObject<{
281
+ id: z.ZodString;
282
+ key: z.ZodString;
283
+ name: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ id: string;
286
+ name: string;
287
+ key: string;
288
+ }, {
289
+ id: string;
290
+ name: string;
291
+ key: string;
292
+ }>>;
293
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
294
+ created: z.ZodOptional<z.ZodString>;
295
+ updated: z.ZodOptional<z.ZodString>;
296
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
+ parent: z.ZodOptional<z.ZodObject<{
298
+ id: z.ZodString;
299
+ key: z.ZodString;
300
+ }, "strip", z.ZodTypeAny, {
301
+ id: string;
302
+ key: string;
303
+ }, {
304
+ id: string;
305
+ key: string;
306
+ }>>;
307
+ comment: z.ZodOptional<z.ZodObject<{
308
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
+ id: z.ZodString;
310
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
311
+ accountId: z.ZodString;
312
+ displayName: z.ZodOptional<z.ZodString>;
313
+ emailAddress: z.ZodOptional<z.ZodString>;
314
+ active: z.ZodOptional<z.ZodBoolean>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ accountId: string;
317
+ displayName?: string | undefined;
318
+ emailAddress?: string | undefined;
319
+ active?: boolean | undefined;
320
+ }, {
321
+ accountId: string;
322
+ displayName?: string | undefined;
323
+ emailAddress?: string | undefined;
324
+ active?: boolean | undefined;
325
+ }>>>;
326
+ body: z.ZodOptional<z.ZodUnknown>;
327
+ renderedBody: z.ZodOptional<z.ZodString>;
328
+ created: z.ZodOptional<z.ZodString>;
329
+ updated: z.ZodOptional<z.ZodString>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ author?: {
333
+ accountId: string;
334
+ displayName?: string | undefined;
335
+ emailAddress?: string | undefined;
336
+ active?: boolean | undefined;
337
+ } | null | undefined;
338
+ body?: unknown;
339
+ renderedBody?: string | undefined;
340
+ created?: string | undefined;
341
+ updated?: string | undefined;
342
+ }, {
343
+ id: string;
344
+ author?: {
345
+ accountId: string;
346
+ displayName?: string | undefined;
347
+ emailAddress?: string | undefined;
348
+ active?: boolean | undefined;
349
+ } | null | undefined;
350
+ body?: unknown;
351
+ renderedBody?: string | undefined;
352
+ created?: string | undefined;
353
+ updated?: string | undefined;
354
+ }>, "many">>;
355
+ total: z.ZodOptional<z.ZodNumber>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ comments?: {
358
+ id: string;
359
+ author?: {
360
+ accountId: string;
361
+ displayName?: string | undefined;
362
+ emailAddress?: string | undefined;
363
+ active?: boolean | undefined;
364
+ } | null | undefined;
365
+ body?: unknown;
366
+ renderedBody?: string | undefined;
367
+ created?: string | undefined;
368
+ updated?: string | undefined;
369
+ }[] | undefined;
370
+ total?: number | undefined;
371
+ }, {
372
+ comments?: {
373
+ id: string;
374
+ author?: {
375
+ accountId: string;
376
+ displayName?: string | undefined;
377
+ emailAddress?: string | undefined;
378
+ active?: boolean | undefined;
379
+ } | null | undefined;
380
+ body?: unknown;
381
+ renderedBody?: string | undefined;
382
+ created?: string | undefined;
383
+ updated?: string | undefined;
384
+ }[] | undefined;
385
+ total?: number | undefined;
386
+ }>>;
387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
388
+ summary: z.ZodOptional<z.ZodString>;
389
+ description: z.ZodOptional<z.ZodUnknown>;
390
+ status: z.ZodOptional<z.ZodObject<{
391
+ id: z.ZodString;
392
+ name: z.ZodString;
393
+ statusCategory: z.ZodOptional<z.ZodObject<{
394
+ key: z.ZodString;
395
+ name: z.ZodString;
396
+ }, "strip", z.ZodTypeAny, {
397
+ name: string;
398
+ key: string;
399
+ }, {
400
+ name: string;
401
+ key: string;
402
+ }>>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ id: string;
405
+ name: string;
406
+ statusCategory?: {
407
+ name: string;
408
+ key: string;
409
+ } | undefined;
410
+ }, {
411
+ id: string;
412
+ name: string;
413
+ statusCategory?: {
414
+ name: string;
415
+ key: string;
416
+ } | undefined;
417
+ }>>;
418
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
419
+ id: z.ZodString;
420
+ name: z.ZodString;
421
+ }, "strip", z.ZodTypeAny, {
422
+ id: string;
423
+ name: string;
424
+ }, {
425
+ id: string;
426
+ name: string;
427
+ }>>>;
428
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
429
+ accountId: z.ZodString;
430
+ displayName: z.ZodOptional<z.ZodString>;
431
+ emailAddress: z.ZodOptional<z.ZodString>;
432
+ active: z.ZodOptional<z.ZodBoolean>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ accountId: string;
435
+ displayName?: string | undefined;
436
+ emailAddress?: string | undefined;
437
+ active?: boolean | undefined;
438
+ }, {
439
+ accountId: string;
440
+ displayName?: string | undefined;
441
+ emailAddress?: string | undefined;
442
+ active?: boolean | undefined;
443
+ }>>>;
444
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
445
+ accountId: z.ZodString;
446
+ displayName: z.ZodOptional<z.ZodString>;
447
+ emailAddress: z.ZodOptional<z.ZodString>;
448
+ active: z.ZodOptional<z.ZodBoolean>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ accountId: string;
451
+ displayName?: string | undefined;
452
+ emailAddress?: string | undefined;
453
+ active?: boolean | undefined;
454
+ }, {
455
+ accountId: string;
456
+ displayName?: string | undefined;
457
+ emailAddress?: string | undefined;
458
+ active?: boolean | undefined;
459
+ }>>>;
460
+ issuetype: z.ZodOptional<z.ZodObject<{
461
+ id: z.ZodString;
462
+ name: z.ZodString;
463
+ description: z.ZodOptional<z.ZodString>;
464
+ subtask: z.ZodOptional<z.ZodBoolean>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ id: string;
467
+ name: string;
468
+ description?: string | undefined;
469
+ subtask?: boolean | undefined;
470
+ }, {
471
+ id: string;
472
+ name: string;
473
+ description?: string | undefined;
474
+ subtask?: boolean | undefined;
475
+ }>>;
476
+ project: z.ZodOptional<z.ZodObject<{
477
+ id: z.ZodString;
478
+ key: z.ZodString;
479
+ name: z.ZodString;
480
+ }, "strip", z.ZodTypeAny, {
481
+ id: string;
482
+ name: string;
483
+ key: string;
484
+ }, {
485
+ id: string;
486
+ name: string;
487
+ key: string;
488
+ }>>;
489
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
490
+ created: z.ZodOptional<z.ZodString>;
491
+ updated: z.ZodOptional<z.ZodString>;
492
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
+ parent: z.ZodOptional<z.ZodObject<{
494
+ id: z.ZodString;
495
+ key: z.ZodString;
496
+ }, "strip", z.ZodTypeAny, {
497
+ id: string;
498
+ key: string;
499
+ }, {
500
+ id: string;
501
+ key: string;
502
+ }>>;
503
+ comment: z.ZodOptional<z.ZodObject<{
504
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
505
+ id: z.ZodString;
506
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
507
+ accountId: z.ZodString;
508
+ displayName: z.ZodOptional<z.ZodString>;
509
+ emailAddress: z.ZodOptional<z.ZodString>;
510
+ active: z.ZodOptional<z.ZodBoolean>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ accountId: string;
513
+ displayName?: string | undefined;
514
+ emailAddress?: string | undefined;
515
+ active?: boolean | undefined;
516
+ }, {
517
+ accountId: string;
518
+ displayName?: string | undefined;
519
+ emailAddress?: string | undefined;
520
+ active?: boolean | undefined;
521
+ }>>>;
522
+ body: z.ZodOptional<z.ZodUnknown>;
523
+ renderedBody: z.ZodOptional<z.ZodString>;
524
+ created: z.ZodOptional<z.ZodString>;
525
+ updated: z.ZodOptional<z.ZodString>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ id: string;
528
+ author?: {
529
+ accountId: string;
530
+ displayName?: string | undefined;
531
+ emailAddress?: string | undefined;
532
+ active?: boolean | undefined;
533
+ } | null | undefined;
534
+ body?: unknown;
535
+ renderedBody?: string | undefined;
536
+ created?: string | undefined;
537
+ updated?: string | undefined;
538
+ }, {
539
+ id: string;
540
+ author?: {
541
+ accountId: string;
542
+ displayName?: string | undefined;
543
+ emailAddress?: string | undefined;
544
+ active?: boolean | undefined;
545
+ } | null | undefined;
546
+ body?: unknown;
547
+ renderedBody?: string | undefined;
548
+ created?: string | undefined;
549
+ updated?: string | undefined;
550
+ }>, "many">>;
551
+ total: z.ZodOptional<z.ZodNumber>;
552
+ }, "strip", z.ZodTypeAny, {
553
+ comments?: {
554
+ id: string;
555
+ author?: {
556
+ accountId: string;
557
+ displayName?: string | undefined;
558
+ emailAddress?: string | undefined;
559
+ active?: boolean | undefined;
560
+ } | null | undefined;
561
+ body?: unknown;
562
+ renderedBody?: string | undefined;
563
+ created?: string | undefined;
564
+ updated?: string | undefined;
565
+ }[] | undefined;
566
+ total?: number | undefined;
567
+ }, {
568
+ comments?: {
569
+ id: string;
570
+ author?: {
571
+ accountId: string;
572
+ displayName?: string | undefined;
573
+ emailAddress?: string | undefined;
574
+ active?: boolean | undefined;
575
+ } | null | undefined;
576
+ body?: unknown;
577
+ renderedBody?: string | undefined;
578
+ created?: string | undefined;
579
+ updated?: string | undefined;
580
+ }[] | undefined;
581
+ total?: number | undefined;
582
+ }>>;
583
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
584
+ summary: z.ZodOptional<z.ZodString>;
585
+ description: z.ZodOptional<z.ZodUnknown>;
586
+ status: z.ZodOptional<z.ZodObject<{
587
+ id: z.ZodString;
588
+ name: z.ZodString;
589
+ statusCategory: z.ZodOptional<z.ZodObject<{
590
+ key: z.ZodString;
591
+ name: z.ZodString;
592
+ }, "strip", z.ZodTypeAny, {
593
+ name: string;
594
+ key: string;
595
+ }, {
596
+ name: string;
597
+ key: string;
598
+ }>>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ id: string;
601
+ name: string;
602
+ statusCategory?: {
603
+ name: string;
604
+ key: string;
605
+ } | undefined;
606
+ }, {
607
+ id: string;
608
+ name: string;
609
+ statusCategory?: {
610
+ name: string;
611
+ key: string;
612
+ } | undefined;
613
+ }>>;
614
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
615
+ id: z.ZodString;
616
+ name: z.ZodString;
617
+ }, "strip", z.ZodTypeAny, {
618
+ id: string;
619
+ name: string;
620
+ }, {
621
+ id: string;
622
+ name: string;
623
+ }>>>;
624
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
625
+ accountId: z.ZodString;
626
+ displayName: z.ZodOptional<z.ZodString>;
627
+ emailAddress: z.ZodOptional<z.ZodString>;
628
+ active: z.ZodOptional<z.ZodBoolean>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ accountId: string;
631
+ displayName?: string | undefined;
632
+ emailAddress?: string | undefined;
633
+ active?: boolean | undefined;
634
+ }, {
635
+ accountId: string;
636
+ displayName?: string | undefined;
637
+ emailAddress?: string | undefined;
638
+ active?: boolean | undefined;
639
+ }>>>;
640
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
641
+ accountId: z.ZodString;
642
+ displayName: z.ZodOptional<z.ZodString>;
643
+ emailAddress: z.ZodOptional<z.ZodString>;
644
+ active: z.ZodOptional<z.ZodBoolean>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ accountId: string;
647
+ displayName?: string | undefined;
648
+ emailAddress?: string | undefined;
649
+ active?: boolean | undefined;
650
+ }, {
651
+ accountId: string;
652
+ displayName?: string | undefined;
653
+ emailAddress?: string | undefined;
654
+ active?: boolean | undefined;
655
+ }>>>;
656
+ issuetype: z.ZodOptional<z.ZodObject<{
657
+ id: z.ZodString;
658
+ name: z.ZodString;
659
+ description: z.ZodOptional<z.ZodString>;
660
+ subtask: z.ZodOptional<z.ZodBoolean>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ id: string;
663
+ name: string;
664
+ description?: string | undefined;
665
+ subtask?: boolean | undefined;
666
+ }, {
667
+ id: string;
668
+ name: string;
669
+ description?: string | undefined;
670
+ subtask?: boolean | undefined;
671
+ }>>;
672
+ project: z.ZodOptional<z.ZodObject<{
673
+ id: z.ZodString;
674
+ key: z.ZodString;
675
+ name: z.ZodString;
676
+ }, "strip", z.ZodTypeAny, {
677
+ id: string;
678
+ name: string;
679
+ key: string;
680
+ }, {
681
+ id: string;
682
+ name: string;
683
+ key: string;
684
+ }>>;
685
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
686
+ created: z.ZodOptional<z.ZodString>;
687
+ updated: z.ZodOptional<z.ZodString>;
688
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
689
+ parent: z.ZodOptional<z.ZodObject<{
690
+ id: z.ZodString;
691
+ key: z.ZodString;
692
+ }, "strip", z.ZodTypeAny, {
693
+ id: string;
694
+ key: string;
695
+ }, {
696
+ id: string;
697
+ key: string;
698
+ }>>;
699
+ comment: z.ZodOptional<z.ZodObject<{
700
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
+ id: z.ZodString;
702
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
703
+ accountId: z.ZodString;
704
+ displayName: z.ZodOptional<z.ZodString>;
705
+ emailAddress: z.ZodOptional<z.ZodString>;
706
+ active: z.ZodOptional<z.ZodBoolean>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ accountId: string;
709
+ displayName?: string | undefined;
710
+ emailAddress?: string | undefined;
711
+ active?: boolean | undefined;
712
+ }, {
713
+ accountId: string;
714
+ displayName?: string | undefined;
715
+ emailAddress?: string | undefined;
716
+ active?: boolean | undefined;
717
+ }>>>;
718
+ body: z.ZodOptional<z.ZodUnknown>;
719
+ renderedBody: z.ZodOptional<z.ZodString>;
720
+ created: z.ZodOptional<z.ZodString>;
721
+ updated: z.ZodOptional<z.ZodString>;
722
+ }, "strip", z.ZodTypeAny, {
723
+ id: string;
724
+ author?: {
725
+ accountId: string;
726
+ displayName?: string | undefined;
727
+ emailAddress?: string | undefined;
728
+ active?: boolean | undefined;
729
+ } | null | undefined;
730
+ body?: unknown;
731
+ renderedBody?: string | undefined;
732
+ created?: string | undefined;
733
+ updated?: string | undefined;
734
+ }, {
735
+ id: string;
736
+ author?: {
737
+ accountId: string;
738
+ displayName?: string | undefined;
739
+ emailAddress?: string | undefined;
740
+ active?: boolean | undefined;
741
+ } | null | undefined;
742
+ body?: unknown;
743
+ renderedBody?: string | undefined;
744
+ created?: string | undefined;
745
+ updated?: string | undefined;
746
+ }>, "many">>;
747
+ total: z.ZodOptional<z.ZodNumber>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ comments?: {
750
+ id: string;
751
+ author?: {
752
+ accountId: string;
753
+ displayName?: string | undefined;
754
+ emailAddress?: string | undefined;
755
+ active?: boolean | undefined;
756
+ } | null | undefined;
757
+ body?: unknown;
758
+ renderedBody?: string | undefined;
759
+ created?: string | undefined;
760
+ updated?: string | undefined;
761
+ }[] | undefined;
762
+ total?: number | undefined;
763
+ }, {
764
+ comments?: {
765
+ id: string;
766
+ author?: {
767
+ accountId: string;
768
+ displayName?: string | undefined;
769
+ emailAddress?: string | undefined;
770
+ active?: boolean | undefined;
771
+ } | null | undefined;
772
+ body?: unknown;
773
+ renderedBody?: string | undefined;
774
+ created?: string | undefined;
775
+ updated?: string | undefined;
776
+ }[] | undefined;
777
+ total?: number | undefined;
778
+ }>>;
779
+ }, z.ZodTypeAny, "passthrough">>;
780
+ transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
781
+ id: z.ZodString;
782
+ name: z.ZodString;
783
+ to: z.ZodOptional<z.ZodObject<{
784
+ id: z.ZodString;
785
+ name: z.ZodString;
786
+ statusCategory: z.ZodOptional<z.ZodObject<{
787
+ key: z.ZodString;
788
+ name: z.ZodString;
789
+ }, "strip", z.ZodTypeAny, {
790
+ name: string;
791
+ key: string;
792
+ }, {
793
+ name: string;
794
+ key: string;
795
+ }>>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ id: string;
798
+ name: string;
799
+ statusCategory?: {
800
+ name: string;
801
+ key: string;
802
+ } | undefined;
803
+ }, {
804
+ id: string;
805
+ name: string;
806
+ statusCategory?: {
807
+ name: string;
808
+ key: string;
809
+ } | undefined;
810
+ }>>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ id: string;
813
+ name: string;
814
+ to?: {
815
+ id: string;
816
+ name: string;
817
+ statusCategory?: {
818
+ name: string;
819
+ key: string;
820
+ } | undefined;
821
+ } | undefined;
822
+ }, {
823
+ id: string;
824
+ name: string;
825
+ to?: {
826
+ id: string;
827
+ name: string;
828
+ statusCategory?: {
829
+ name: string;
830
+ key: string;
831
+ } | undefined;
832
+ } | undefined;
833
+ }>, "many">>;
834
+ changelog: z.ZodOptional<z.ZodUnknown>;
835
+ }, "strip", z.ZodTypeAny, {
836
+ id: string;
837
+ key: string;
838
+ fields: {
839
+ description?: unknown;
840
+ status?: {
841
+ id: string;
842
+ name: string;
843
+ statusCategory?: {
844
+ name: string;
845
+ key: string;
846
+ } | undefined;
847
+ } | undefined;
848
+ created?: string | undefined;
849
+ updated?: string | undefined;
850
+ summary?: string | undefined;
851
+ priority?: {
852
+ id: string;
853
+ name: string;
854
+ } | null | undefined;
855
+ assignee?: {
856
+ accountId: string;
857
+ displayName?: string | undefined;
858
+ emailAddress?: string | undefined;
859
+ active?: boolean | undefined;
860
+ } | null | undefined;
861
+ reporter?: {
862
+ accountId: string;
863
+ displayName?: string | undefined;
864
+ emailAddress?: string | undefined;
865
+ active?: boolean | undefined;
866
+ } | null | undefined;
867
+ issuetype?: {
868
+ id: string;
869
+ name: string;
870
+ description?: string | undefined;
871
+ subtask?: boolean | undefined;
872
+ } | undefined;
873
+ project?: {
874
+ id: string;
875
+ name: string;
876
+ key: string;
877
+ } | undefined;
878
+ labels?: string[] | undefined;
879
+ duedate?: string | null | undefined;
880
+ parent?: {
881
+ id: string;
882
+ key: string;
883
+ } | undefined;
884
+ comment?: {
885
+ comments?: {
886
+ id: string;
887
+ author?: {
888
+ accountId: string;
889
+ displayName?: string | undefined;
890
+ emailAddress?: string | undefined;
891
+ active?: boolean | undefined;
892
+ } | null | undefined;
893
+ body?: unknown;
894
+ renderedBody?: string | undefined;
895
+ created?: string | undefined;
896
+ updated?: string | undefined;
897
+ }[] | undefined;
898
+ total?: number | undefined;
899
+ } | undefined;
900
+ } & {
901
+ [k: string]: unknown;
902
+ };
903
+ self?: string | undefined;
904
+ transitions?: {
905
+ id: string;
906
+ name: string;
907
+ to?: {
908
+ id: string;
909
+ name: string;
910
+ statusCategory?: {
911
+ name: string;
912
+ key: string;
913
+ } | undefined;
914
+ } | undefined;
915
+ }[] | undefined;
916
+ changelog?: unknown;
917
+ }, {
918
+ id: string;
919
+ key: string;
920
+ fields: {
921
+ description?: unknown;
922
+ status?: {
923
+ id: string;
924
+ name: string;
925
+ statusCategory?: {
926
+ name: string;
927
+ key: string;
928
+ } | undefined;
929
+ } | undefined;
930
+ created?: string | undefined;
931
+ updated?: string | undefined;
932
+ summary?: string | undefined;
933
+ priority?: {
934
+ id: string;
935
+ name: string;
936
+ } | null | undefined;
937
+ assignee?: {
938
+ accountId: string;
939
+ displayName?: string | undefined;
940
+ emailAddress?: string | undefined;
941
+ active?: boolean | undefined;
942
+ } | null | undefined;
943
+ reporter?: {
944
+ accountId: string;
945
+ displayName?: string | undefined;
946
+ emailAddress?: string | undefined;
947
+ active?: boolean | undefined;
948
+ } | null | undefined;
949
+ issuetype?: {
950
+ id: string;
951
+ name: string;
952
+ description?: string | undefined;
953
+ subtask?: boolean | undefined;
954
+ } | undefined;
955
+ project?: {
956
+ id: string;
957
+ name: string;
958
+ key: string;
959
+ } | undefined;
960
+ labels?: string[] | undefined;
961
+ duedate?: string | null | undefined;
962
+ parent?: {
963
+ id: string;
964
+ key: string;
965
+ } | undefined;
966
+ comment?: {
967
+ comments?: {
968
+ id: string;
969
+ author?: {
970
+ accountId: string;
971
+ displayName?: string | undefined;
972
+ emailAddress?: string | undefined;
973
+ active?: boolean | undefined;
974
+ } | null | undefined;
975
+ body?: unknown;
976
+ renderedBody?: string | undefined;
977
+ created?: string | undefined;
978
+ updated?: string | undefined;
979
+ }[] | undefined;
980
+ total?: number | undefined;
981
+ } | undefined;
982
+ } & {
983
+ [k: string]: unknown;
984
+ };
985
+ self?: string | undefined;
986
+ transitions?: {
987
+ id: string;
988
+ name: string;
989
+ to?: {
990
+ id: string;
991
+ name: string;
992
+ statusCategory?: {
993
+ name: string;
994
+ key: string;
995
+ } | undefined;
996
+ } | undefined;
997
+ }[] | undefined;
998
+ changelog?: unknown;
999
+ }>;
1000
+ export declare const JiraParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1001
+ operation: z.ZodLiteral<"search">;
1002
+ jql: z.ZodString;
1003
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1004
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1005
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1006
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ operation: "search";
1009
+ jql: string;
1010
+ limit: number;
1011
+ offset: number;
1012
+ fields?: string[] | undefined;
1013
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1014
+ }, {
1015
+ operation: "search";
1016
+ jql: string;
1017
+ fields?: string[] | undefined;
1018
+ limit?: number | undefined;
1019
+ offset?: number | undefined;
1020
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1021
+ }>, z.ZodObject<{
1022
+ operation: z.ZodLiteral<"get">;
1023
+ key: z.ZodString;
1024
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1025
+ expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["changelog", "comments", "transitions"]>, "many">>;
1026
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ key: string;
1029
+ operation: "get";
1030
+ fields?: string[] | undefined;
1031
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1032
+ expand?: ("comments" | "transitions" | "changelog")[] | undefined;
1033
+ }, {
1034
+ key: string;
1035
+ operation: "get";
1036
+ fields?: string[] | undefined;
1037
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1038
+ expand?: ("comments" | "transitions" | "changelog")[] | undefined;
1039
+ }>, z.ZodObject<{
1040
+ operation: z.ZodLiteral<"create">;
1041
+ project: z.ZodString;
1042
+ summary: z.ZodString;
1043
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1044
+ description: z.ZodOptional<z.ZodString>;
1045
+ assignee: z.ZodOptional<z.ZodString>;
1046
+ priority: z.ZodOptional<z.ZodEnum<["Highest", "High", "Medium", "Low", "Lowest"]>>;
1047
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1048
+ parent: z.ZodOptional<z.ZodString>;
1049
+ due_date: z.ZodOptional<z.ZodString>;
1050
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ type: string;
1053
+ summary: string;
1054
+ project: string;
1055
+ operation: "create";
1056
+ description?: string | undefined;
1057
+ priority?: "Highest" | "High" | "Medium" | "Low" | "Lowest" | undefined;
1058
+ assignee?: string | undefined;
1059
+ labels?: string[] | undefined;
1060
+ parent?: string | undefined;
1061
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1062
+ due_date?: string | undefined;
1063
+ }, {
1064
+ summary: string;
1065
+ project: string;
1066
+ operation: "create";
1067
+ type?: string | undefined;
1068
+ description?: string | undefined;
1069
+ priority?: "Highest" | "High" | "Medium" | "Low" | "Lowest" | undefined;
1070
+ assignee?: string | undefined;
1071
+ labels?: string[] | undefined;
1072
+ parent?: string | undefined;
1073
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1074
+ due_date?: string | undefined;
1075
+ }>, z.ZodObject<{
1076
+ operation: z.ZodLiteral<"update">;
1077
+ key: z.ZodString;
1078
+ summary: z.ZodOptional<z.ZodString>;
1079
+ description: z.ZodOptional<z.ZodString>;
1080
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ priority: z.ZodOptional<z.ZodEnum<["Highest", "High", "Medium", "Low", "Lowest"]>>;
1082
+ labels: z.ZodOptional<z.ZodObject<{
1083
+ add: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1084
+ remove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1085
+ set: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ set?: string[] | undefined;
1088
+ add?: string[] | undefined;
1089
+ remove?: string[] | undefined;
1090
+ }, {
1091
+ set?: string[] | undefined;
1092
+ add?: string[] | undefined;
1093
+ remove?: string[] | undefined;
1094
+ }>>;
1095
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1096
+ comment: z.ZodOptional<z.ZodString>;
1097
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ key: string;
1100
+ operation: "update";
1101
+ description?: string | undefined;
1102
+ summary?: string | undefined;
1103
+ priority?: "Highest" | "High" | "Medium" | "Low" | "Lowest" | undefined;
1104
+ assignee?: string | null | undefined;
1105
+ labels?: {
1106
+ set?: string[] | undefined;
1107
+ add?: string[] | undefined;
1108
+ remove?: string[] | undefined;
1109
+ } | undefined;
1110
+ comment?: string | undefined;
1111
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1112
+ due_date?: string | null | undefined;
1113
+ }, {
1114
+ key: string;
1115
+ operation: "update";
1116
+ description?: string | undefined;
1117
+ summary?: string | undefined;
1118
+ priority?: "Highest" | "High" | "Medium" | "Low" | "Lowest" | undefined;
1119
+ assignee?: string | null | undefined;
1120
+ labels?: {
1121
+ set?: string[] | undefined;
1122
+ add?: string[] | undefined;
1123
+ remove?: string[] | undefined;
1124
+ } | undefined;
1125
+ comment?: string | undefined;
1126
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1127
+ due_date?: string | null | undefined;
1128
+ }>, z.ZodObject<{
1129
+ operation: z.ZodLiteral<"transition">;
1130
+ key: z.ZodString;
1131
+ status: z.ZodOptional<z.ZodString>;
1132
+ transition_id: z.ZodOptional<z.ZodString>;
1133
+ comment: z.ZodOptional<z.ZodString>;
1134
+ resolution: z.ZodOptional<z.ZodString>;
1135
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ key: string;
1138
+ operation: "transition";
1139
+ status?: string | undefined;
1140
+ comment?: string | undefined;
1141
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1142
+ transition_id?: string | undefined;
1143
+ resolution?: string | undefined;
1144
+ }, {
1145
+ key: string;
1146
+ operation: "transition";
1147
+ status?: string | undefined;
1148
+ comment?: string | undefined;
1149
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1150
+ transition_id?: string | undefined;
1151
+ resolution?: string | undefined;
1152
+ }>, z.ZodObject<{
1153
+ operation: z.ZodLiteral<"list_transitions">;
1154
+ key: z.ZodString;
1155
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ key: string;
1158
+ operation: "list_transitions";
1159
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1160
+ }, {
1161
+ key: string;
1162
+ operation: "list_transitions";
1163
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1164
+ }>, z.ZodObject<{
1165
+ operation: z.ZodLiteral<"list_projects">;
1166
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1167
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1168
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ operation: "list_projects";
1171
+ limit: number;
1172
+ offset: number;
1173
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1174
+ }, {
1175
+ operation: "list_projects";
1176
+ limit?: number | undefined;
1177
+ offset?: number | undefined;
1178
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1179
+ }>, z.ZodObject<{
1180
+ operation: z.ZodLiteral<"list_issue_types">;
1181
+ project: z.ZodString;
1182
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ project: string;
1185
+ operation: "list_issue_types";
1186
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1187
+ }, {
1188
+ project: string;
1189
+ operation: "list_issue_types";
1190
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1191
+ }>, z.ZodObject<{
1192
+ operation: z.ZodLiteral<"add_comment">;
1193
+ key: z.ZodString;
1194
+ body: z.ZodString;
1195
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ key: string;
1198
+ body: string;
1199
+ operation: "add_comment";
1200
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1201
+ }, {
1202
+ key: string;
1203
+ body: string;
1204
+ operation: "add_comment";
1205
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1206
+ }>, z.ZodObject<{
1207
+ operation: z.ZodLiteral<"get_comments">;
1208
+ key: z.ZodString;
1209
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1210
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1211
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ key: string;
1214
+ operation: "get_comments";
1215
+ limit: number;
1216
+ offset: number;
1217
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1218
+ }, {
1219
+ key: string;
1220
+ operation: "get_comments";
1221
+ limit?: number | undefined;
1222
+ offset?: number | undefined;
1223
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1224
+ }>]>;
1225
+ export declare const JiraResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1226
+ operation: z.ZodLiteral<"search">;
1227
+ success: z.ZodBoolean;
1228
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1229
+ id: z.ZodString;
1230
+ key: z.ZodString;
1231
+ self: z.ZodOptional<z.ZodString>;
1232
+ fields: z.ZodObject<{
1233
+ summary: z.ZodOptional<z.ZodString>;
1234
+ description: z.ZodOptional<z.ZodUnknown>;
1235
+ status: z.ZodOptional<z.ZodObject<{
1236
+ id: z.ZodString;
1237
+ name: z.ZodString;
1238
+ statusCategory: z.ZodOptional<z.ZodObject<{
1239
+ key: z.ZodString;
1240
+ name: z.ZodString;
1241
+ }, "strip", z.ZodTypeAny, {
1242
+ name: string;
1243
+ key: string;
1244
+ }, {
1245
+ name: string;
1246
+ key: string;
1247
+ }>>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ id: string;
1250
+ name: string;
1251
+ statusCategory?: {
1252
+ name: string;
1253
+ key: string;
1254
+ } | undefined;
1255
+ }, {
1256
+ id: string;
1257
+ name: string;
1258
+ statusCategory?: {
1259
+ name: string;
1260
+ key: string;
1261
+ } | undefined;
1262
+ }>>;
1263
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1264
+ id: z.ZodString;
1265
+ name: z.ZodString;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ id: string;
1268
+ name: string;
1269
+ }, {
1270
+ id: string;
1271
+ name: string;
1272
+ }>>>;
1273
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1274
+ accountId: z.ZodString;
1275
+ displayName: z.ZodOptional<z.ZodString>;
1276
+ emailAddress: z.ZodOptional<z.ZodString>;
1277
+ active: z.ZodOptional<z.ZodBoolean>;
1278
+ }, "strip", z.ZodTypeAny, {
1279
+ accountId: string;
1280
+ displayName?: string | undefined;
1281
+ emailAddress?: string | undefined;
1282
+ active?: boolean | undefined;
1283
+ }, {
1284
+ accountId: string;
1285
+ displayName?: string | undefined;
1286
+ emailAddress?: string | undefined;
1287
+ active?: boolean | undefined;
1288
+ }>>>;
1289
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1290
+ accountId: z.ZodString;
1291
+ displayName: z.ZodOptional<z.ZodString>;
1292
+ emailAddress: z.ZodOptional<z.ZodString>;
1293
+ active: z.ZodOptional<z.ZodBoolean>;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ accountId: string;
1296
+ displayName?: string | undefined;
1297
+ emailAddress?: string | undefined;
1298
+ active?: boolean | undefined;
1299
+ }, {
1300
+ accountId: string;
1301
+ displayName?: string | undefined;
1302
+ emailAddress?: string | undefined;
1303
+ active?: boolean | undefined;
1304
+ }>>>;
1305
+ issuetype: z.ZodOptional<z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ name: z.ZodString;
1308
+ description: z.ZodOptional<z.ZodString>;
1309
+ subtask: z.ZodOptional<z.ZodBoolean>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ id: string;
1312
+ name: string;
1313
+ description?: string | undefined;
1314
+ subtask?: boolean | undefined;
1315
+ }, {
1316
+ id: string;
1317
+ name: string;
1318
+ description?: string | undefined;
1319
+ subtask?: boolean | undefined;
1320
+ }>>;
1321
+ project: z.ZodOptional<z.ZodObject<{
1322
+ id: z.ZodString;
1323
+ key: z.ZodString;
1324
+ name: z.ZodString;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ id: string;
1327
+ name: string;
1328
+ key: string;
1329
+ }, {
1330
+ id: string;
1331
+ name: string;
1332
+ key: string;
1333
+ }>>;
1334
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1335
+ created: z.ZodOptional<z.ZodString>;
1336
+ updated: z.ZodOptional<z.ZodString>;
1337
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
+ parent: z.ZodOptional<z.ZodObject<{
1339
+ id: z.ZodString;
1340
+ key: z.ZodString;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ id: string;
1343
+ key: string;
1344
+ }, {
1345
+ id: string;
1346
+ key: string;
1347
+ }>>;
1348
+ comment: z.ZodOptional<z.ZodObject<{
1349
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1350
+ id: z.ZodString;
1351
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1352
+ accountId: z.ZodString;
1353
+ displayName: z.ZodOptional<z.ZodString>;
1354
+ emailAddress: z.ZodOptional<z.ZodString>;
1355
+ active: z.ZodOptional<z.ZodBoolean>;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ accountId: string;
1358
+ displayName?: string | undefined;
1359
+ emailAddress?: string | undefined;
1360
+ active?: boolean | undefined;
1361
+ }, {
1362
+ accountId: string;
1363
+ displayName?: string | undefined;
1364
+ emailAddress?: string | undefined;
1365
+ active?: boolean | undefined;
1366
+ }>>>;
1367
+ body: z.ZodOptional<z.ZodUnknown>;
1368
+ renderedBody: z.ZodOptional<z.ZodString>;
1369
+ created: z.ZodOptional<z.ZodString>;
1370
+ updated: z.ZodOptional<z.ZodString>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ id: string;
1373
+ author?: {
1374
+ accountId: string;
1375
+ displayName?: string | undefined;
1376
+ emailAddress?: string | undefined;
1377
+ active?: boolean | undefined;
1378
+ } | null | undefined;
1379
+ body?: unknown;
1380
+ renderedBody?: string | undefined;
1381
+ created?: string | undefined;
1382
+ updated?: string | undefined;
1383
+ }, {
1384
+ id: string;
1385
+ author?: {
1386
+ accountId: string;
1387
+ displayName?: string | undefined;
1388
+ emailAddress?: string | undefined;
1389
+ active?: boolean | undefined;
1390
+ } | null | undefined;
1391
+ body?: unknown;
1392
+ renderedBody?: string | undefined;
1393
+ created?: string | undefined;
1394
+ updated?: string | undefined;
1395
+ }>, "many">>;
1396
+ total: z.ZodOptional<z.ZodNumber>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ comments?: {
1399
+ id: string;
1400
+ author?: {
1401
+ accountId: string;
1402
+ displayName?: string | undefined;
1403
+ emailAddress?: string | undefined;
1404
+ active?: boolean | undefined;
1405
+ } | null | undefined;
1406
+ body?: unknown;
1407
+ renderedBody?: string | undefined;
1408
+ created?: string | undefined;
1409
+ updated?: string | undefined;
1410
+ }[] | undefined;
1411
+ total?: number | undefined;
1412
+ }, {
1413
+ comments?: {
1414
+ id: string;
1415
+ author?: {
1416
+ accountId: string;
1417
+ displayName?: string | undefined;
1418
+ emailAddress?: string | undefined;
1419
+ active?: boolean | undefined;
1420
+ } | null | undefined;
1421
+ body?: unknown;
1422
+ renderedBody?: string | undefined;
1423
+ created?: string | undefined;
1424
+ updated?: string | undefined;
1425
+ }[] | undefined;
1426
+ total?: number | undefined;
1427
+ }>>;
1428
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1429
+ summary: z.ZodOptional<z.ZodString>;
1430
+ description: z.ZodOptional<z.ZodUnknown>;
1431
+ status: z.ZodOptional<z.ZodObject<{
1432
+ id: z.ZodString;
1433
+ name: z.ZodString;
1434
+ statusCategory: z.ZodOptional<z.ZodObject<{
1435
+ key: z.ZodString;
1436
+ name: z.ZodString;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ name: string;
1439
+ key: string;
1440
+ }, {
1441
+ name: string;
1442
+ key: string;
1443
+ }>>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ id: string;
1446
+ name: string;
1447
+ statusCategory?: {
1448
+ name: string;
1449
+ key: string;
1450
+ } | undefined;
1451
+ }, {
1452
+ id: string;
1453
+ name: string;
1454
+ statusCategory?: {
1455
+ name: string;
1456
+ key: string;
1457
+ } | undefined;
1458
+ }>>;
1459
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1460
+ id: z.ZodString;
1461
+ name: z.ZodString;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ id: string;
1464
+ name: string;
1465
+ }, {
1466
+ id: string;
1467
+ name: string;
1468
+ }>>>;
1469
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1470
+ accountId: z.ZodString;
1471
+ displayName: z.ZodOptional<z.ZodString>;
1472
+ emailAddress: z.ZodOptional<z.ZodString>;
1473
+ active: z.ZodOptional<z.ZodBoolean>;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ accountId: string;
1476
+ displayName?: string | undefined;
1477
+ emailAddress?: string | undefined;
1478
+ active?: boolean | undefined;
1479
+ }, {
1480
+ accountId: string;
1481
+ displayName?: string | undefined;
1482
+ emailAddress?: string | undefined;
1483
+ active?: boolean | undefined;
1484
+ }>>>;
1485
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1486
+ accountId: z.ZodString;
1487
+ displayName: z.ZodOptional<z.ZodString>;
1488
+ emailAddress: z.ZodOptional<z.ZodString>;
1489
+ active: z.ZodOptional<z.ZodBoolean>;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ accountId: string;
1492
+ displayName?: string | undefined;
1493
+ emailAddress?: string | undefined;
1494
+ active?: boolean | undefined;
1495
+ }, {
1496
+ accountId: string;
1497
+ displayName?: string | undefined;
1498
+ emailAddress?: string | undefined;
1499
+ active?: boolean | undefined;
1500
+ }>>>;
1501
+ issuetype: z.ZodOptional<z.ZodObject<{
1502
+ id: z.ZodString;
1503
+ name: z.ZodString;
1504
+ description: z.ZodOptional<z.ZodString>;
1505
+ subtask: z.ZodOptional<z.ZodBoolean>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ id: string;
1508
+ name: string;
1509
+ description?: string | undefined;
1510
+ subtask?: boolean | undefined;
1511
+ }, {
1512
+ id: string;
1513
+ name: string;
1514
+ description?: string | undefined;
1515
+ subtask?: boolean | undefined;
1516
+ }>>;
1517
+ project: z.ZodOptional<z.ZodObject<{
1518
+ id: z.ZodString;
1519
+ key: z.ZodString;
1520
+ name: z.ZodString;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ id: string;
1523
+ name: string;
1524
+ key: string;
1525
+ }, {
1526
+ id: string;
1527
+ name: string;
1528
+ key: string;
1529
+ }>>;
1530
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1531
+ created: z.ZodOptional<z.ZodString>;
1532
+ updated: z.ZodOptional<z.ZodString>;
1533
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1534
+ parent: z.ZodOptional<z.ZodObject<{
1535
+ id: z.ZodString;
1536
+ key: z.ZodString;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ id: string;
1539
+ key: string;
1540
+ }, {
1541
+ id: string;
1542
+ key: string;
1543
+ }>>;
1544
+ comment: z.ZodOptional<z.ZodObject<{
1545
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1546
+ id: z.ZodString;
1547
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1548
+ accountId: z.ZodString;
1549
+ displayName: z.ZodOptional<z.ZodString>;
1550
+ emailAddress: z.ZodOptional<z.ZodString>;
1551
+ active: z.ZodOptional<z.ZodBoolean>;
1552
+ }, "strip", z.ZodTypeAny, {
1553
+ accountId: string;
1554
+ displayName?: string | undefined;
1555
+ emailAddress?: string | undefined;
1556
+ active?: boolean | undefined;
1557
+ }, {
1558
+ accountId: string;
1559
+ displayName?: string | undefined;
1560
+ emailAddress?: string | undefined;
1561
+ active?: boolean | undefined;
1562
+ }>>>;
1563
+ body: z.ZodOptional<z.ZodUnknown>;
1564
+ renderedBody: z.ZodOptional<z.ZodString>;
1565
+ created: z.ZodOptional<z.ZodString>;
1566
+ updated: z.ZodOptional<z.ZodString>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ id: string;
1569
+ author?: {
1570
+ accountId: string;
1571
+ displayName?: string | undefined;
1572
+ emailAddress?: string | undefined;
1573
+ active?: boolean | undefined;
1574
+ } | null | undefined;
1575
+ body?: unknown;
1576
+ renderedBody?: string | undefined;
1577
+ created?: string | undefined;
1578
+ updated?: string | undefined;
1579
+ }, {
1580
+ id: string;
1581
+ author?: {
1582
+ accountId: string;
1583
+ displayName?: string | undefined;
1584
+ emailAddress?: string | undefined;
1585
+ active?: boolean | undefined;
1586
+ } | null | undefined;
1587
+ body?: unknown;
1588
+ renderedBody?: string | undefined;
1589
+ created?: string | undefined;
1590
+ updated?: string | undefined;
1591
+ }>, "many">>;
1592
+ total: z.ZodOptional<z.ZodNumber>;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ comments?: {
1595
+ id: string;
1596
+ author?: {
1597
+ accountId: string;
1598
+ displayName?: string | undefined;
1599
+ emailAddress?: string | undefined;
1600
+ active?: boolean | undefined;
1601
+ } | null | undefined;
1602
+ body?: unknown;
1603
+ renderedBody?: string | undefined;
1604
+ created?: string | undefined;
1605
+ updated?: string | undefined;
1606
+ }[] | undefined;
1607
+ total?: number | undefined;
1608
+ }, {
1609
+ comments?: {
1610
+ id: string;
1611
+ author?: {
1612
+ accountId: string;
1613
+ displayName?: string | undefined;
1614
+ emailAddress?: string | undefined;
1615
+ active?: boolean | undefined;
1616
+ } | null | undefined;
1617
+ body?: unknown;
1618
+ renderedBody?: string | undefined;
1619
+ created?: string | undefined;
1620
+ updated?: string | undefined;
1621
+ }[] | undefined;
1622
+ total?: number | undefined;
1623
+ }>>;
1624
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1625
+ summary: z.ZodOptional<z.ZodString>;
1626
+ description: z.ZodOptional<z.ZodUnknown>;
1627
+ status: z.ZodOptional<z.ZodObject<{
1628
+ id: z.ZodString;
1629
+ name: z.ZodString;
1630
+ statusCategory: z.ZodOptional<z.ZodObject<{
1631
+ key: z.ZodString;
1632
+ name: z.ZodString;
1633
+ }, "strip", z.ZodTypeAny, {
1634
+ name: string;
1635
+ key: string;
1636
+ }, {
1637
+ name: string;
1638
+ key: string;
1639
+ }>>;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ id: string;
1642
+ name: string;
1643
+ statusCategory?: {
1644
+ name: string;
1645
+ key: string;
1646
+ } | undefined;
1647
+ }, {
1648
+ id: string;
1649
+ name: string;
1650
+ statusCategory?: {
1651
+ name: string;
1652
+ key: string;
1653
+ } | undefined;
1654
+ }>>;
1655
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1656
+ id: z.ZodString;
1657
+ name: z.ZodString;
1658
+ }, "strip", z.ZodTypeAny, {
1659
+ id: string;
1660
+ name: string;
1661
+ }, {
1662
+ id: string;
1663
+ name: string;
1664
+ }>>>;
1665
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1666
+ accountId: z.ZodString;
1667
+ displayName: z.ZodOptional<z.ZodString>;
1668
+ emailAddress: z.ZodOptional<z.ZodString>;
1669
+ active: z.ZodOptional<z.ZodBoolean>;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ accountId: string;
1672
+ displayName?: string | undefined;
1673
+ emailAddress?: string | undefined;
1674
+ active?: boolean | undefined;
1675
+ }, {
1676
+ accountId: string;
1677
+ displayName?: string | undefined;
1678
+ emailAddress?: string | undefined;
1679
+ active?: boolean | undefined;
1680
+ }>>>;
1681
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1682
+ accountId: z.ZodString;
1683
+ displayName: z.ZodOptional<z.ZodString>;
1684
+ emailAddress: z.ZodOptional<z.ZodString>;
1685
+ active: z.ZodOptional<z.ZodBoolean>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ accountId: string;
1688
+ displayName?: string | undefined;
1689
+ emailAddress?: string | undefined;
1690
+ active?: boolean | undefined;
1691
+ }, {
1692
+ accountId: string;
1693
+ displayName?: string | undefined;
1694
+ emailAddress?: string | undefined;
1695
+ active?: boolean | undefined;
1696
+ }>>>;
1697
+ issuetype: z.ZodOptional<z.ZodObject<{
1698
+ id: z.ZodString;
1699
+ name: z.ZodString;
1700
+ description: z.ZodOptional<z.ZodString>;
1701
+ subtask: z.ZodOptional<z.ZodBoolean>;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ id: string;
1704
+ name: string;
1705
+ description?: string | undefined;
1706
+ subtask?: boolean | undefined;
1707
+ }, {
1708
+ id: string;
1709
+ name: string;
1710
+ description?: string | undefined;
1711
+ subtask?: boolean | undefined;
1712
+ }>>;
1713
+ project: z.ZodOptional<z.ZodObject<{
1714
+ id: z.ZodString;
1715
+ key: z.ZodString;
1716
+ name: z.ZodString;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ id: string;
1719
+ name: string;
1720
+ key: string;
1721
+ }, {
1722
+ id: string;
1723
+ name: string;
1724
+ key: string;
1725
+ }>>;
1726
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1727
+ created: z.ZodOptional<z.ZodString>;
1728
+ updated: z.ZodOptional<z.ZodString>;
1729
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1730
+ parent: z.ZodOptional<z.ZodObject<{
1731
+ id: z.ZodString;
1732
+ key: z.ZodString;
1733
+ }, "strip", z.ZodTypeAny, {
1734
+ id: string;
1735
+ key: string;
1736
+ }, {
1737
+ id: string;
1738
+ key: string;
1739
+ }>>;
1740
+ comment: z.ZodOptional<z.ZodObject<{
1741
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1742
+ id: z.ZodString;
1743
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1744
+ accountId: z.ZodString;
1745
+ displayName: z.ZodOptional<z.ZodString>;
1746
+ emailAddress: z.ZodOptional<z.ZodString>;
1747
+ active: z.ZodOptional<z.ZodBoolean>;
1748
+ }, "strip", z.ZodTypeAny, {
1749
+ accountId: string;
1750
+ displayName?: string | undefined;
1751
+ emailAddress?: string | undefined;
1752
+ active?: boolean | undefined;
1753
+ }, {
1754
+ accountId: string;
1755
+ displayName?: string | undefined;
1756
+ emailAddress?: string | undefined;
1757
+ active?: boolean | undefined;
1758
+ }>>>;
1759
+ body: z.ZodOptional<z.ZodUnknown>;
1760
+ renderedBody: z.ZodOptional<z.ZodString>;
1761
+ created: z.ZodOptional<z.ZodString>;
1762
+ updated: z.ZodOptional<z.ZodString>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ id: string;
1765
+ author?: {
1766
+ accountId: string;
1767
+ displayName?: string | undefined;
1768
+ emailAddress?: string | undefined;
1769
+ active?: boolean | undefined;
1770
+ } | null | undefined;
1771
+ body?: unknown;
1772
+ renderedBody?: string | undefined;
1773
+ created?: string | undefined;
1774
+ updated?: string | undefined;
1775
+ }, {
1776
+ id: string;
1777
+ author?: {
1778
+ accountId: string;
1779
+ displayName?: string | undefined;
1780
+ emailAddress?: string | undefined;
1781
+ active?: boolean | undefined;
1782
+ } | null | undefined;
1783
+ body?: unknown;
1784
+ renderedBody?: string | undefined;
1785
+ created?: string | undefined;
1786
+ updated?: string | undefined;
1787
+ }>, "many">>;
1788
+ total: z.ZodOptional<z.ZodNumber>;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ comments?: {
1791
+ id: string;
1792
+ author?: {
1793
+ accountId: string;
1794
+ displayName?: string | undefined;
1795
+ emailAddress?: string | undefined;
1796
+ active?: boolean | undefined;
1797
+ } | null | undefined;
1798
+ body?: unknown;
1799
+ renderedBody?: string | undefined;
1800
+ created?: string | undefined;
1801
+ updated?: string | undefined;
1802
+ }[] | undefined;
1803
+ total?: number | undefined;
1804
+ }, {
1805
+ comments?: {
1806
+ id: string;
1807
+ author?: {
1808
+ accountId: string;
1809
+ displayName?: string | undefined;
1810
+ emailAddress?: string | undefined;
1811
+ active?: boolean | undefined;
1812
+ } | null | undefined;
1813
+ body?: unknown;
1814
+ renderedBody?: string | undefined;
1815
+ created?: string | undefined;
1816
+ updated?: string | undefined;
1817
+ }[] | undefined;
1818
+ total?: number | undefined;
1819
+ }>>;
1820
+ }, z.ZodTypeAny, "passthrough">>;
1821
+ transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1822
+ id: z.ZodString;
1823
+ name: z.ZodString;
1824
+ to: z.ZodOptional<z.ZodObject<{
1825
+ id: z.ZodString;
1826
+ name: z.ZodString;
1827
+ statusCategory: z.ZodOptional<z.ZodObject<{
1828
+ key: z.ZodString;
1829
+ name: z.ZodString;
1830
+ }, "strip", z.ZodTypeAny, {
1831
+ name: string;
1832
+ key: string;
1833
+ }, {
1834
+ name: string;
1835
+ key: string;
1836
+ }>>;
1837
+ }, "strip", z.ZodTypeAny, {
1838
+ id: string;
1839
+ name: string;
1840
+ statusCategory?: {
1841
+ name: string;
1842
+ key: string;
1843
+ } | undefined;
1844
+ }, {
1845
+ id: string;
1846
+ name: string;
1847
+ statusCategory?: {
1848
+ name: string;
1849
+ key: string;
1850
+ } | undefined;
1851
+ }>>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ id: string;
1854
+ name: string;
1855
+ to?: {
1856
+ id: string;
1857
+ name: string;
1858
+ statusCategory?: {
1859
+ name: string;
1860
+ key: string;
1861
+ } | undefined;
1862
+ } | undefined;
1863
+ }, {
1864
+ id: string;
1865
+ name: string;
1866
+ to?: {
1867
+ id: string;
1868
+ name: string;
1869
+ statusCategory?: {
1870
+ name: string;
1871
+ key: string;
1872
+ } | undefined;
1873
+ } | undefined;
1874
+ }>, "many">>;
1875
+ changelog: z.ZodOptional<z.ZodUnknown>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ id: string;
1878
+ key: string;
1879
+ fields: {
1880
+ description?: unknown;
1881
+ status?: {
1882
+ id: string;
1883
+ name: string;
1884
+ statusCategory?: {
1885
+ name: string;
1886
+ key: string;
1887
+ } | undefined;
1888
+ } | undefined;
1889
+ created?: string | undefined;
1890
+ updated?: string | undefined;
1891
+ summary?: string | undefined;
1892
+ priority?: {
1893
+ id: string;
1894
+ name: string;
1895
+ } | null | undefined;
1896
+ assignee?: {
1897
+ accountId: string;
1898
+ displayName?: string | undefined;
1899
+ emailAddress?: string | undefined;
1900
+ active?: boolean | undefined;
1901
+ } | null | undefined;
1902
+ reporter?: {
1903
+ accountId: string;
1904
+ displayName?: string | undefined;
1905
+ emailAddress?: string | undefined;
1906
+ active?: boolean | undefined;
1907
+ } | null | undefined;
1908
+ issuetype?: {
1909
+ id: string;
1910
+ name: string;
1911
+ description?: string | undefined;
1912
+ subtask?: boolean | undefined;
1913
+ } | undefined;
1914
+ project?: {
1915
+ id: string;
1916
+ name: string;
1917
+ key: string;
1918
+ } | undefined;
1919
+ labels?: string[] | undefined;
1920
+ duedate?: string | null | undefined;
1921
+ parent?: {
1922
+ id: string;
1923
+ key: string;
1924
+ } | undefined;
1925
+ comment?: {
1926
+ comments?: {
1927
+ id: string;
1928
+ author?: {
1929
+ accountId: string;
1930
+ displayName?: string | undefined;
1931
+ emailAddress?: string | undefined;
1932
+ active?: boolean | undefined;
1933
+ } | null | undefined;
1934
+ body?: unknown;
1935
+ renderedBody?: string | undefined;
1936
+ created?: string | undefined;
1937
+ updated?: string | undefined;
1938
+ }[] | undefined;
1939
+ total?: number | undefined;
1940
+ } | undefined;
1941
+ } & {
1942
+ [k: string]: unknown;
1943
+ };
1944
+ self?: string | undefined;
1945
+ transitions?: {
1946
+ id: string;
1947
+ name: string;
1948
+ to?: {
1949
+ id: string;
1950
+ name: string;
1951
+ statusCategory?: {
1952
+ name: string;
1953
+ key: string;
1954
+ } | undefined;
1955
+ } | undefined;
1956
+ }[] | undefined;
1957
+ changelog?: unknown;
1958
+ }, {
1959
+ id: string;
1960
+ key: string;
1961
+ fields: {
1962
+ description?: unknown;
1963
+ status?: {
1964
+ id: string;
1965
+ name: string;
1966
+ statusCategory?: {
1967
+ name: string;
1968
+ key: string;
1969
+ } | undefined;
1970
+ } | undefined;
1971
+ created?: string | undefined;
1972
+ updated?: string | undefined;
1973
+ summary?: string | undefined;
1974
+ priority?: {
1975
+ id: string;
1976
+ name: string;
1977
+ } | null | undefined;
1978
+ assignee?: {
1979
+ accountId: string;
1980
+ displayName?: string | undefined;
1981
+ emailAddress?: string | undefined;
1982
+ active?: boolean | undefined;
1983
+ } | null | undefined;
1984
+ reporter?: {
1985
+ accountId: string;
1986
+ displayName?: string | undefined;
1987
+ emailAddress?: string | undefined;
1988
+ active?: boolean | undefined;
1989
+ } | null | undefined;
1990
+ issuetype?: {
1991
+ id: string;
1992
+ name: string;
1993
+ description?: string | undefined;
1994
+ subtask?: boolean | undefined;
1995
+ } | undefined;
1996
+ project?: {
1997
+ id: string;
1998
+ name: string;
1999
+ key: string;
2000
+ } | undefined;
2001
+ labels?: string[] | undefined;
2002
+ duedate?: string | null | undefined;
2003
+ parent?: {
2004
+ id: string;
2005
+ key: string;
2006
+ } | undefined;
2007
+ comment?: {
2008
+ comments?: {
2009
+ id: string;
2010
+ author?: {
2011
+ accountId: string;
2012
+ displayName?: string | undefined;
2013
+ emailAddress?: string | undefined;
2014
+ active?: boolean | undefined;
2015
+ } | null | undefined;
2016
+ body?: unknown;
2017
+ renderedBody?: string | undefined;
2018
+ created?: string | undefined;
2019
+ updated?: string | undefined;
2020
+ }[] | undefined;
2021
+ total?: number | undefined;
2022
+ } | undefined;
2023
+ } & {
2024
+ [k: string]: unknown;
2025
+ };
2026
+ self?: string | undefined;
2027
+ transitions?: {
2028
+ id: string;
2029
+ name: string;
2030
+ to?: {
2031
+ id: string;
2032
+ name: string;
2033
+ statusCategory?: {
2034
+ name: string;
2035
+ key: string;
2036
+ } | undefined;
2037
+ } | undefined;
2038
+ }[] | undefined;
2039
+ changelog?: unknown;
2040
+ }>, "many">>;
2041
+ total: z.ZodOptional<z.ZodNumber>;
2042
+ offset: z.ZodOptional<z.ZodNumber>;
2043
+ limit: z.ZodOptional<z.ZodNumber>;
2044
+ error: z.ZodString;
2045
+ }, "strip", z.ZodTypeAny, {
2046
+ operation: "search";
2047
+ success: boolean;
2048
+ error: string;
2049
+ issues?: {
2050
+ id: string;
2051
+ key: string;
2052
+ fields: {
2053
+ description?: unknown;
2054
+ status?: {
2055
+ id: string;
2056
+ name: string;
2057
+ statusCategory?: {
2058
+ name: string;
2059
+ key: string;
2060
+ } | undefined;
2061
+ } | undefined;
2062
+ created?: string | undefined;
2063
+ updated?: string | undefined;
2064
+ summary?: string | undefined;
2065
+ priority?: {
2066
+ id: string;
2067
+ name: string;
2068
+ } | null | undefined;
2069
+ assignee?: {
2070
+ accountId: string;
2071
+ displayName?: string | undefined;
2072
+ emailAddress?: string | undefined;
2073
+ active?: boolean | undefined;
2074
+ } | null | undefined;
2075
+ reporter?: {
2076
+ accountId: string;
2077
+ displayName?: string | undefined;
2078
+ emailAddress?: string | undefined;
2079
+ active?: boolean | undefined;
2080
+ } | null | undefined;
2081
+ issuetype?: {
2082
+ id: string;
2083
+ name: string;
2084
+ description?: string | undefined;
2085
+ subtask?: boolean | undefined;
2086
+ } | undefined;
2087
+ project?: {
2088
+ id: string;
2089
+ name: string;
2090
+ key: string;
2091
+ } | undefined;
2092
+ labels?: string[] | undefined;
2093
+ duedate?: string | null | undefined;
2094
+ parent?: {
2095
+ id: string;
2096
+ key: string;
2097
+ } | undefined;
2098
+ comment?: {
2099
+ comments?: {
2100
+ id: string;
2101
+ author?: {
2102
+ accountId: string;
2103
+ displayName?: string | undefined;
2104
+ emailAddress?: string | undefined;
2105
+ active?: boolean | undefined;
2106
+ } | null | undefined;
2107
+ body?: unknown;
2108
+ renderedBody?: string | undefined;
2109
+ created?: string | undefined;
2110
+ updated?: string | undefined;
2111
+ }[] | undefined;
2112
+ total?: number | undefined;
2113
+ } | undefined;
2114
+ } & {
2115
+ [k: string]: unknown;
2116
+ };
2117
+ self?: string | undefined;
2118
+ transitions?: {
2119
+ id: string;
2120
+ name: string;
2121
+ to?: {
2122
+ id: string;
2123
+ name: string;
2124
+ statusCategory?: {
2125
+ name: string;
2126
+ key: string;
2127
+ } | undefined;
2128
+ } | undefined;
2129
+ }[] | undefined;
2130
+ changelog?: unknown;
2131
+ }[] | undefined;
2132
+ total?: number | undefined;
2133
+ limit?: number | undefined;
2134
+ offset?: number | undefined;
2135
+ }, {
2136
+ operation: "search";
2137
+ success: boolean;
2138
+ error: string;
2139
+ issues?: {
2140
+ id: string;
2141
+ key: string;
2142
+ fields: {
2143
+ description?: unknown;
2144
+ status?: {
2145
+ id: string;
2146
+ name: string;
2147
+ statusCategory?: {
2148
+ name: string;
2149
+ key: string;
2150
+ } | undefined;
2151
+ } | undefined;
2152
+ created?: string | undefined;
2153
+ updated?: string | undefined;
2154
+ summary?: string | undefined;
2155
+ priority?: {
2156
+ id: string;
2157
+ name: string;
2158
+ } | null | undefined;
2159
+ assignee?: {
2160
+ accountId: string;
2161
+ displayName?: string | undefined;
2162
+ emailAddress?: string | undefined;
2163
+ active?: boolean | undefined;
2164
+ } | null | undefined;
2165
+ reporter?: {
2166
+ accountId: string;
2167
+ displayName?: string | undefined;
2168
+ emailAddress?: string | undefined;
2169
+ active?: boolean | undefined;
2170
+ } | null | undefined;
2171
+ issuetype?: {
2172
+ id: string;
2173
+ name: string;
2174
+ description?: string | undefined;
2175
+ subtask?: boolean | undefined;
2176
+ } | undefined;
2177
+ project?: {
2178
+ id: string;
2179
+ name: string;
2180
+ key: string;
2181
+ } | undefined;
2182
+ labels?: string[] | undefined;
2183
+ duedate?: string | null | undefined;
2184
+ parent?: {
2185
+ id: string;
2186
+ key: string;
2187
+ } | undefined;
2188
+ comment?: {
2189
+ comments?: {
2190
+ id: string;
2191
+ author?: {
2192
+ accountId: string;
2193
+ displayName?: string | undefined;
2194
+ emailAddress?: string | undefined;
2195
+ active?: boolean | undefined;
2196
+ } | null | undefined;
2197
+ body?: unknown;
2198
+ renderedBody?: string | undefined;
2199
+ created?: string | undefined;
2200
+ updated?: string | undefined;
2201
+ }[] | undefined;
2202
+ total?: number | undefined;
2203
+ } | undefined;
2204
+ } & {
2205
+ [k: string]: unknown;
2206
+ };
2207
+ self?: string | undefined;
2208
+ transitions?: {
2209
+ id: string;
2210
+ name: string;
2211
+ to?: {
2212
+ id: string;
2213
+ name: string;
2214
+ statusCategory?: {
2215
+ name: string;
2216
+ key: string;
2217
+ } | undefined;
2218
+ } | undefined;
2219
+ }[] | undefined;
2220
+ changelog?: unknown;
2221
+ }[] | undefined;
2222
+ total?: number | undefined;
2223
+ limit?: number | undefined;
2224
+ offset?: number | undefined;
2225
+ }>, z.ZodObject<{
2226
+ operation: z.ZodLiteral<"get">;
2227
+ success: z.ZodBoolean;
2228
+ issue: z.ZodOptional<z.ZodObject<{
2229
+ id: z.ZodString;
2230
+ key: z.ZodString;
2231
+ self: z.ZodOptional<z.ZodString>;
2232
+ fields: z.ZodObject<{
2233
+ summary: z.ZodOptional<z.ZodString>;
2234
+ description: z.ZodOptional<z.ZodUnknown>;
2235
+ status: z.ZodOptional<z.ZodObject<{
2236
+ id: z.ZodString;
2237
+ name: z.ZodString;
2238
+ statusCategory: z.ZodOptional<z.ZodObject<{
2239
+ key: z.ZodString;
2240
+ name: z.ZodString;
2241
+ }, "strip", z.ZodTypeAny, {
2242
+ name: string;
2243
+ key: string;
2244
+ }, {
2245
+ name: string;
2246
+ key: string;
2247
+ }>>;
2248
+ }, "strip", z.ZodTypeAny, {
2249
+ id: string;
2250
+ name: string;
2251
+ statusCategory?: {
2252
+ name: string;
2253
+ key: string;
2254
+ } | undefined;
2255
+ }, {
2256
+ id: string;
2257
+ name: string;
2258
+ statusCategory?: {
2259
+ name: string;
2260
+ key: string;
2261
+ } | undefined;
2262
+ }>>;
2263
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2264
+ id: z.ZodString;
2265
+ name: z.ZodString;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ id: string;
2268
+ name: string;
2269
+ }, {
2270
+ id: string;
2271
+ name: string;
2272
+ }>>>;
2273
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2274
+ accountId: z.ZodString;
2275
+ displayName: z.ZodOptional<z.ZodString>;
2276
+ emailAddress: z.ZodOptional<z.ZodString>;
2277
+ active: z.ZodOptional<z.ZodBoolean>;
2278
+ }, "strip", z.ZodTypeAny, {
2279
+ accountId: string;
2280
+ displayName?: string | undefined;
2281
+ emailAddress?: string | undefined;
2282
+ active?: boolean | undefined;
2283
+ }, {
2284
+ accountId: string;
2285
+ displayName?: string | undefined;
2286
+ emailAddress?: string | undefined;
2287
+ active?: boolean | undefined;
2288
+ }>>>;
2289
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2290
+ accountId: z.ZodString;
2291
+ displayName: z.ZodOptional<z.ZodString>;
2292
+ emailAddress: z.ZodOptional<z.ZodString>;
2293
+ active: z.ZodOptional<z.ZodBoolean>;
2294
+ }, "strip", z.ZodTypeAny, {
2295
+ accountId: string;
2296
+ displayName?: string | undefined;
2297
+ emailAddress?: string | undefined;
2298
+ active?: boolean | undefined;
2299
+ }, {
2300
+ accountId: string;
2301
+ displayName?: string | undefined;
2302
+ emailAddress?: string | undefined;
2303
+ active?: boolean | undefined;
2304
+ }>>>;
2305
+ issuetype: z.ZodOptional<z.ZodObject<{
2306
+ id: z.ZodString;
2307
+ name: z.ZodString;
2308
+ description: z.ZodOptional<z.ZodString>;
2309
+ subtask: z.ZodOptional<z.ZodBoolean>;
2310
+ }, "strip", z.ZodTypeAny, {
2311
+ id: string;
2312
+ name: string;
2313
+ description?: string | undefined;
2314
+ subtask?: boolean | undefined;
2315
+ }, {
2316
+ id: string;
2317
+ name: string;
2318
+ description?: string | undefined;
2319
+ subtask?: boolean | undefined;
2320
+ }>>;
2321
+ project: z.ZodOptional<z.ZodObject<{
2322
+ id: z.ZodString;
2323
+ key: z.ZodString;
2324
+ name: z.ZodString;
2325
+ }, "strip", z.ZodTypeAny, {
2326
+ id: string;
2327
+ name: string;
2328
+ key: string;
2329
+ }, {
2330
+ id: string;
2331
+ name: string;
2332
+ key: string;
2333
+ }>>;
2334
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2335
+ created: z.ZodOptional<z.ZodString>;
2336
+ updated: z.ZodOptional<z.ZodString>;
2337
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2338
+ parent: z.ZodOptional<z.ZodObject<{
2339
+ id: z.ZodString;
2340
+ key: z.ZodString;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ id: string;
2343
+ key: string;
2344
+ }, {
2345
+ id: string;
2346
+ key: string;
2347
+ }>>;
2348
+ comment: z.ZodOptional<z.ZodObject<{
2349
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2350
+ id: z.ZodString;
2351
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2352
+ accountId: z.ZodString;
2353
+ displayName: z.ZodOptional<z.ZodString>;
2354
+ emailAddress: z.ZodOptional<z.ZodString>;
2355
+ active: z.ZodOptional<z.ZodBoolean>;
2356
+ }, "strip", z.ZodTypeAny, {
2357
+ accountId: string;
2358
+ displayName?: string | undefined;
2359
+ emailAddress?: string | undefined;
2360
+ active?: boolean | undefined;
2361
+ }, {
2362
+ accountId: string;
2363
+ displayName?: string | undefined;
2364
+ emailAddress?: string | undefined;
2365
+ active?: boolean | undefined;
2366
+ }>>>;
2367
+ body: z.ZodOptional<z.ZodUnknown>;
2368
+ renderedBody: z.ZodOptional<z.ZodString>;
2369
+ created: z.ZodOptional<z.ZodString>;
2370
+ updated: z.ZodOptional<z.ZodString>;
2371
+ }, "strip", z.ZodTypeAny, {
2372
+ id: string;
2373
+ author?: {
2374
+ accountId: string;
2375
+ displayName?: string | undefined;
2376
+ emailAddress?: string | undefined;
2377
+ active?: boolean | undefined;
2378
+ } | null | undefined;
2379
+ body?: unknown;
2380
+ renderedBody?: string | undefined;
2381
+ created?: string | undefined;
2382
+ updated?: string | undefined;
2383
+ }, {
2384
+ id: string;
2385
+ author?: {
2386
+ accountId: string;
2387
+ displayName?: string | undefined;
2388
+ emailAddress?: string | undefined;
2389
+ active?: boolean | undefined;
2390
+ } | null | undefined;
2391
+ body?: unknown;
2392
+ renderedBody?: string | undefined;
2393
+ created?: string | undefined;
2394
+ updated?: string | undefined;
2395
+ }>, "many">>;
2396
+ total: z.ZodOptional<z.ZodNumber>;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ comments?: {
2399
+ id: string;
2400
+ author?: {
2401
+ accountId: string;
2402
+ displayName?: string | undefined;
2403
+ emailAddress?: string | undefined;
2404
+ active?: boolean | undefined;
2405
+ } | null | undefined;
2406
+ body?: unknown;
2407
+ renderedBody?: string | undefined;
2408
+ created?: string | undefined;
2409
+ updated?: string | undefined;
2410
+ }[] | undefined;
2411
+ total?: number | undefined;
2412
+ }, {
2413
+ comments?: {
2414
+ id: string;
2415
+ author?: {
2416
+ accountId: string;
2417
+ displayName?: string | undefined;
2418
+ emailAddress?: string | undefined;
2419
+ active?: boolean | undefined;
2420
+ } | null | undefined;
2421
+ body?: unknown;
2422
+ renderedBody?: string | undefined;
2423
+ created?: string | undefined;
2424
+ updated?: string | undefined;
2425
+ }[] | undefined;
2426
+ total?: number | undefined;
2427
+ }>>;
2428
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2429
+ summary: z.ZodOptional<z.ZodString>;
2430
+ description: z.ZodOptional<z.ZodUnknown>;
2431
+ status: z.ZodOptional<z.ZodObject<{
2432
+ id: z.ZodString;
2433
+ name: z.ZodString;
2434
+ statusCategory: z.ZodOptional<z.ZodObject<{
2435
+ key: z.ZodString;
2436
+ name: z.ZodString;
2437
+ }, "strip", z.ZodTypeAny, {
2438
+ name: string;
2439
+ key: string;
2440
+ }, {
2441
+ name: string;
2442
+ key: string;
2443
+ }>>;
2444
+ }, "strip", z.ZodTypeAny, {
2445
+ id: string;
2446
+ name: string;
2447
+ statusCategory?: {
2448
+ name: string;
2449
+ key: string;
2450
+ } | undefined;
2451
+ }, {
2452
+ id: string;
2453
+ name: string;
2454
+ statusCategory?: {
2455
+ name: string;
2456
+ key: string;
2457
+ } | undefined;
2458
+ }>>;
2459
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2460
+ id: z.ZodString;
2461
+ name: z.ZodString;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ id: string;
2464
+ name: string;
2465
+ }, {
2466
+ id: string;
2467
+ name: string;
2468
+ }>>>;
2469
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2470
+ accountId: z.ZodString;
2471
+ displayName: z.ZodOptional<z.ZodString>;
2472
+ emailAddress: z.ZodOptional<z.ZodString>;
2473
+ active: z.ZodOptional<z.ZodBoolean>;
2474
+ }, "strip", z.ZodTypeAny, {
2475
+ accountId: string;
2476
+ displayName?: string | undefined;
2477
+ emailAddress?: string | undefined;
2478
+ active?: boolean | undefined;
2479
+ }, {
2480
+ accountId: string;
2481
+ displayName?: string | undefined;
2482
+ emailAddress?: string | undefined;
2483
+ active?: boolean | undefined;
2484
+ }>>>;
2485
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2486
+ accountId: z.ZodString;
2487
+ displayName: z.ZodOptional<z.ZodString>;
2488
+ emailAddress: z.ZodOptional<z.ZodString>;
2489
+ active: z.ZodOptional<z.ZodBoolean>;
2490
+ }, "strip", z.ZodTypeAny, {
2491
+ accountId: string;
2492
+ displayName?: string | undefined;
2493
+ emailAddress?: string | undefined;
2494
+ active?: boolean | undefined;
2495
+ }, {
2496
+ accountId: string;
2497
+ displayName?: string | undefined;
2498
+ emailAddress?: string | undefined;
2499
+ active?: boolean | undefined;
2500
+ }>>>;
2501
+ issuetype: z.ZodOptional<z.ZodObject<{
2502
+ id: z.ZodString;
2503
+ name: z.ZodString;
2504
+ description: z.ZodOptional<z.ZodString>;
2505
+ subtask: z.ZodOptional<z.ZodBoolean>;
2506
+ }, "strip", z.ZodTypeAny, {
2507
+ id: string;
2508
+ name: string;
2509
+ description?: string | undefined;
2510
+ subtask?: boolean | undefined;
2511
+ }, {
2512
+ id: string;
2513
+ name: string;
2514
+ description?: string | undefined;
2515
+ subtask?: boolean | undefined;
2516
+ }>>;
2517
+ project: z.ZodOptional<z.ZodObject<{
2518
+ id: z.ZodString;
2519
+ key: z.ZodString;
2520
+ name: z.ZodString;
2521
+ }, "strip", z.ZodTypeAny, {
2522
+ id: string;
2523
+ name: string;
2524
+ key: string;
2525
+ }, {
2526
+ id: string;
2527
+ name: string;
2528
+ key: string;
2529
+ }>>;
2530
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2531
+ created: z.ZodOptional<z.ZodString>;
2532
+ updated: z.ZodOptional<z.ZodString>;
2533
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
+ parent: z.ZodOptional<z.ZodObject<{
2535
+ id: z.ZodString;
2536
+ key: z.ZodString;
2537
+ }, "strip", z.ZodTypeAny, {
2538
+ id: string;
2539
+ key: string;
2540
+ }, {
2541
+ id: string;
2542
+ key: string;
2543
+ }>>;
2544
+ comment: z.ZodOptional<z.ZodObject<{
2545
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2546
+ id: z.ZodString;
2547
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2548
+ accountId: z.ZodString;
2549
+ displayName: z.ZodOptional<z.ZodString>;
2550
+ emailAddress: z.ZodOptional<z.ZodString>;
2551
+ active: z.ZodOptional<z.ZodBoolean>;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ accountId: string;
2554
+ displayName?: string | undefined;
2555
+ emailAddress?: string | undefined;
2556
+ active?: boolean | undefined;
2557
+ }, {
2558
+ accountId: string;
2559
+ displayName?: string | undefined;
2560
+ emailAddress?: string | undefined;
2561
+ active?: boolean | undefined;
2562
+ }>>>;
2563
+ body: z.ZodOptional<z.ZodUnknown>;
2564
+ renderedBody: z.ZodOptional<z.ZodString>;
2565
+ created: z.ZodOptional<z.ZodString>;
2566
+ updated: z.ZodOptional<z.ZodString>;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ id: string;
2569
+ author?: {
2570
+ accountId: string;
2571
+ displayName?: string | undefined;
2572
+ emailAddress?: string | undefined;
2573
+ active?: boolean | undefined;
2574
+ } | null | undefined;
2575
+ body?: unknown;
2576
+ renderedBody?: string | undefined;
2577
+ created?: string | undefined;
2578
+ updated?: string | undefined;
2579
+ }, {
2580
+ id: string;
2581
+ author?: {
2582
+ accountId: string;
2583
+ displayName?: string | undefined;
2584
+ emailAddress?: string | undefined;
2585
+ active?: boolean | undefined;
2586
+ } | null | undefined;
2587
+ body?: unknown;
2588
+ renderedBody?: string | undefined;
2589
+ created?: string | undefined;
2590
+ updated?: string | undefined;
2591
+ }>, "many">>;
2592
+ total: z.ZodOptional<z.ZodNumber>;
2593
+ }, "strip", z.ZodTypeAny, {
2594
+ comments?: {
2595
+ id: string;
2596
+ author?: {
2597
+ accountId: string;
2598
+ displayName?: string | undefined;
2599
+ emailAddress?: string | undefined;
2600
+ active?: boolean | undefined;
2601
+ } | null | undefined;
2602
+ body?: unknown;
2603
+ renderedBody?: string | undefined;
2604
+ created?: string | undefined;
2605
+ updated?: string | undefined;
2606
+ }[] | undefined;
2607
+ total?: number | undefined;
2608
+ }, {
2609
+ comments?: {
2610
+ id: string;
2611
+ author?: {
2612
+ accountId: string;
2613
+ displayName?: string | undefined;
2614
+ emailAddress?: string | undefined;
2615
+ active?: boolean | undefined;
2616
+ } | null | undefined;
2617
+ body?: unknown;
2618
+ renderedBody?: string | undefined;
2619
+ created?: string | undefined;
2620
+ updated?: string | undefined;
2621
+ }[] | undefined;
2622
+ total?: number | undefined;
2623
+ }>>;
2624
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2625
+ summary: z.ZodOptional<z.ZodString>;
2626
+ description: z.ZodOptional<z.ZodUnknown>;
2627
+ status: z.ZodOptional<z.ZodObject<{
2628
+ id: z.ZodString;
2629
+ name: z.ZodString;
2630
+ statusCategory: z.ZodOptional<z.ZodObject<{
2631
+ key: z.ZodString;
2632
+ name: z.ZodString;
2633
+ }, "strip", z.ZodTypeAny, {
2634
+ name: string;
2635
+ key: string;
2636
+ }, {
2637
+ name: string;
2638
+ key: string;
2639
+ }>>;
2640
+ }, "strip", z.ZodTypeAny, {
2641
+ id: string;
2642
+ name: string;
2643
+ statusCategory?: {
2644
+ name: string;
2645
+ key: string;
2646
+ } | undefined;
2647
+ }, {
2648
+ id: string;
2649
+ name: string;
2650
+ statusCategory?: {
2651
+ name: string;
2652
+ key: string;
2653
+ } | undefined;
2654
+ }>>;
2655
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2656
+ id: z.ZodString;
2657
+ name: z.ZodString;
2658
+ }, "strip", z.ZodTypeAny, {
2659
+ id: string;
2660
+ name: string;
2661
+ }, {
2662
+ id: string;
2663
+ name: string;
2664
+ }>>>;
2665
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2666
+ accountId: z.ZodString;
2667
+ displayName: z.ZodOptional<z.ZodString>;
2668
+ emailAddress: z.ZodOptional<z.ZodString>;
2669
+ active: z.ZodOptional<z.ZodBoolean>;
2670
+ }, "strip", z.ZodTypeAny, {
2671
+ accountId: string;
2672
+ displayName?: string | undefined;
2673
+ emailAddress?: string | undefined;
2674
+ active?: boolean | undefined;
2675
+ }, {
2676
+ accountId: string;
2677
+ displayName?: string | undefined;
2678
+ emailAddress?: string | undefined;
2679
+ active?: boolean | undefined;
2680
+ }>>>;
2681
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2682
+ accountId: z.ZodString;
2683
+ displayName: z.ZodOptional<z.ZodString>;
2684
+ emailAddress: z.ZodOptional<z.ZodString>;
2685
+ active: z.ZodOptional<z.ZodBoolean>;
2686
+ }, "strip", z.ZodTypeAny, {
2687
+ accountId: string;
2688
+ displayName?: string | undefined;
2689
+ emailAddress?: string | undefined;
2690
+ active?: boolean | undefined;
2691
+ }, {
2692
+ accountId: string;
2693
+ displayName?: string | undefined;
2694
+ emailAddress?: string | undefined;
2695
+ active?: boolean | undefined;
2696
+ }>>>;
2697
+ issuetype: z.ZodOptional<z.ZodObject<{
2698
+ id: z.ZodString;
2699
+ name: z.ZodString;
2700
+ description: z.ZodOptional<z.ZodString>;
2701
+ subtask: z.ZodOptional<z.ZodBoolean>;
2702
+ }, "strip", z.ZodTypeAny, {
2703
+ id: string;
2704
+ name: string;
2705
+ description?: string | undefined;
2706
+ subtask?: boolean | undefined;
2707
+ }, {
2708
+ id: string;
2709
+ name: string;
2710
+ description?: string | undefined;
2711
+ subtask?: boolean | undefined;
2712
+ }>>;
2713
+ project: z.ZodOptional<z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ key: z.ZodString;
2716
+ name: z.ZodString;
2717
+ }, "strip", z.ZodTypeAny, {
2718
+ id: string;
2719
+ name: string;
2720
+ key: string;
2721
+ }, {
2722
+ id: string;
2723
+ name: string;
2724
+ key: string;
2725
+ }>>;
2726
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2727
+ created: z.ZodOptional<z.ZodString>;
2728
+ updated: z.ZodOptional<z.ZodString>;
2729
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
+ parent: z.ZodOptional<z.ZodObject<{
2731
+ id: z.ZodString;
2732
+ key: z.ZodString;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ id: string;
2735
+ key: string;
2736
+ }, {
2737
+ id: string;
2738
+ key: string;
2739
+ }>>;
2740
+ comment: z.ZodOptional<z.ZodObject<{
2741
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2742
+ id: z.ZodString;
2743
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2744
+ accountId: z.ZodString;
2745
+ displayName: z.ZodOptional<z.ZodString>;
2746
+ emailAddress: z.ZodOptional<z.ZodString>;
2747
+ active: z.ZodOptional<z.ZodBoolean>;
2748
+ }, "strip", z.ZodTypeAny, {
2749
+ accountId: string;
2750
+ displayName?: string | undefined;
2751
+ emailAddress?: string | undefined;
2752
+ active?: boolean | undefined;
2753
+ }, {
2754
+ accountId: string;
2755
+ displayName?: string | undefined;
2756
+ emailAddress?: string | undefined;
2757
+ active?: boolean | undefined;
2758
+ }>>>;
2759
+ body: z.ZodOptional<z.ZodUnknown>;
2760
+ renderedBody: z.ZodOptional<z.ZodString>;
2761
+ created: z.ZodOptional<z.ZodString>;
2762
+ updated: z.ZodOptional<z.ZodString>;
2763
+ }, "strip", z.ZodTypeAny, {
2764
+ id: string;
2765
+ author?: {
2766
+ accountId: string;
2767
+ displayName?: string | undefined;
2768
+ emailAddress?: string | undefined;
2769
+ active?: boolean | undefined;
2770
+ } | null | undefined;
2771
+ body?: unknown;
2772
+ renderedBody?: string | undefined;
2773
+ created?: string | undefined;
2774
+ updated?: string | undefined;
2775
+ }, {
2776
+ id: string;
2777
+ author?: {
2778
+ accountId: string;
2779
+ displayName?: string | undefined;
2780
+ emailAddress?: string | undefined;
2781
+ active?: boolean | undefined;
2782
+ } | null | undefined;
2783
+ body?: unknown;
2784
+ renderedBody?: string | undefined;
2785
+ created?: string | undefined;
2786
+ updated?: string | undefined;
2787
+ }>, "many">>;
2788
+ total: z.ZodOptional<z.ZodNumber>;
2789
+ }, "strip", z.ZodTypeAny, {
2790
+ comments?: {
2791
+ id: string;
2792
+ author?: {
2793
+ accountId: string;
2794
+ displayName?: string | undefined;
2795
+ emailAddress?: string | undefined;
2796
+ active?: boolean | undefined;
2797
+ } | null | undefined;
2798
+ body?: unknown;
2799
+ renderedBody?: string | undefined;
2800
+ created?: string | undefined;
2801
+ updated?: string | undefined;
2802
+ }[] | undefined;
2803
+ total?: number | undefined;
2804
+ }, {
2805
+ comments?: {
2806
+ id: string;
2807
+ author?: {
2808
+ accountId: string;
2809
+ displayName?: string | undefined;
2810
+ emailAddress?: string | undefined;
2811
+ active?: boolean | undefined;
2812
+ } | null | undefined;
2813
+ body?: unknown;
2814
+ renderedBody?: string | undefined;
2815
+ created?: string | undefined;
2816
+ updated?: string | undefined;
2817
+ }[] | undefined;
2818
+ total?: number | undefined;
2819
+ }>>;
2820
+ }, z.ZodTypeAny, "passthrough">>;
2821
+ transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2822
+ id: z.ZodString;
2823
+ name: z.ZodString;
2824
+ to: z.ZodOptional<z.ZodObject<{
2825
+ id: z.ZodString;
2826
+ name: z.ZodString;
2827
+ statusCategory: z.ZodOptional<z.ZodObject<{
2828
+ key: z.ZodString;
2829
+ name: z.ZodString;
2830
+ }, "strip", z.ZodTypeAny, {
2831
+ name: string;
2832
+ key: string;
2833
+ }, {
2834
+ name: string;
2835
+ key: string;
2836
+ }>>;
2837
+ }, "strip", z.ZodTypeAny, {
2838
+ id: string;
2839
+ name: string;
2840
+ statusCategory?: {
2841
+ name: string;
2842
+ key: string;
2843
+ } | undefined;
2844
+ }, {
2845
+ id: string;
2846
+ name: string;
2847
+ statusCategory?: {
2848
+ name: string;
2849
+ key: string;
2850
+ } | undefined;
2851
+ }>>;
2852
+ }, "strip", z.ZodTypeAny, {
2853
+ id: string;
2854
+ name: string;
2855
+ to?: {
2856
+ id: string;
2857
+ name: string;
2858
+ statusCategory?: {
2859
+ name: string;
2860
+ key: string;
2861
+ } | undefined;
2862
+ } | undefined;
2863
+ }, {
2864
+ id: string;
2865
+ name: string;
2866
+ to?: {
2867
+ id: string;
2868
+ name: string;
2869
+ statusCategory?: {
2870
+ name: string;
2871
+ key: string;
2872
+ } | undefined;
2873
+ } | undefined;
2874
+ }>, "many">>;
2875
+ changelog: z.ZodOptional<z.ZodUnknown>;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ id: string;
2878
+ key: string;
2879
+ fields: {
2880
+ description?: unknown;
2881
+ status?: {
2882
+ id: string;
2883
+ name: string;
2884
+ statusCategory?: {
2885
+ name: string;
2886
+ key: string;
2887
+ } | undefined;
2888
+ } | undefined;
2889
+ created?: string | undefined;
2890
+ updated?: string | undefined;
2891
+ summary?: string | undefined;
2892
+ priority?: {
2893
+ id: string;
2894
+ name: string;
2895
+ } | null | undefined;
2896
+ assignee?: {
2897
+ accountId: string;
2898
+ displayName?: string | undefined;
2899
+ emailAddress?: string | undefined;
2900
+ active?: boolean | undefined;
2901
+ } | null | undefined;
2902
+ reporter?: {
2903
+ accountId: string;
2904
+ displayName?: string | undefined;
2905
+ emailAddress?: string | undefined;
2906
+ active?: boolean | undefined;
2907
+ } | null | undefined;
2908
+ issuetype?: {
2909
+ id: string;
2910
+ name: string;
2911
+ description?: string | undefined;
2912
+ subtask?: boolean | undefined;
2913
+ } | undefined;
2914
+ project?: {
2915
+ id: string;
2916
+ name: string;
2917
+ key: string;
2918
+ } | undefined;
2919
+ labels?: string[] | undefined;
2920
+ duedate?: string | null | undefined;
2921
+ parent?: {
2922
+ id: string;
2923
+ key: string;
2924
+ } | undefined;
2925
+ comment?: {
2926
+ comments?: {
2927
+ id: string;
2928
+ author?: {
2929
+ accountId: string;
2930
+ displayName?: string | undefined;
2931
+ emailAddress?: string | undefined;
2932
+ active?: boolean | undefined;
2933
+ } | null | undefined;
2934
+ body?: unknown;
2935
+ renderedBody?: string | undefined;
2936
+ created?: string | undefined;
2937
+ updated?: string | undefined;
2938
+ }[] | undefined;
2939
+ total?: number | undefined;
2940
+ } | undefined;
2941
+ } & {
2942
+ [k: string]: unknown;
2943
+ };
2944
+ self?: string | undefined;
2945
+ transitions?: {
2946
+ id: string;
2947
+ name: string;
2948
+ to?: {
2949
+ id: string;
2950
+ name: string;
2951
+ statusCategory?: {
2952
+ name: string;
2953
+ key: string;
2954
+ } | undefined;
2955
+ } | undefined;
2956
+ }[] | undefined;
2957
+ changelog?: unknown;
2958
+ }, {
2959
+ id: string;
2960
+ key: string;
2961
+ fields: {
2962
+ description?: unknown;
2963
+ status?: {
2964
+ id: string;
2965
+ name: string;
2966
+ statusCategory?: {
2967
+ name: string;
2968
+ key: string;
2969
+ } | undefined;
2970
+ } | undefined;
2971
+ created?: string | undefined;
2972
+ updated?: string | undefined;
2973
+ summary?: string | undefined;
2974
+ priority?: {
2975
+ id: string;
2976
+ name: string;
2977
+ } | null | undefined;
2978
+ assignee?: {
2979
+ accountId: string;
2980
+ displayName?: string | undefined;
2981
+ emailAddress?: string | undefined;
2982
+ active?: boolean | undefined;
2983
+ } | null | undefined;
2984
+ reporter?: {
2985
+ accountId: string;
2986
+ displayName?: string | undefined;
2987
+ emailAddress?: string | undefined;
2988
+ active?: boolean | undefined;
2989
+ } | null | undefined;
2990
+ issuetype?: {
2991
+ id: string;
2992
+ name: string;
2993
+ description?: string | undefined;
2994
+ subtask?: boolean | undefined;
2995
+ } | undefined;
2996
+ project?: {
2997
+ id: string;
2998
+ name: string;
2999
+ key: string;
3000
+ } | undefined;
3001
+ labels?: string[] | undefined;
3002
+ duedate?: string | null | undefined;
3003
+ parent?: {
3004
+ id: string;
3005
+ key: string;
3006
+ } | undefined;
3007
+ comment?: {
3008
+ comments?: {
3009
+ id: string;
3010
+ author?: {
3011
+ accountId: string;
3012
+ displayName?: string | undefined;
3013
+ emailAddress?: string | undefined;
3014
+ active?: boolean | undefined;
3015
+ } | null | undefined;
3016
+ body?: unknown;
3017
+ renderedBody?: string | undefined;
3018
+ created?: string | undefined;
3019
+ updated?: string | undefined;
3020
+ }[] | undefined;
3021
+ total?: number | undefined;
3022
+ } | undefined;
3023
+ } & {
3024
+ [k: string]: unknown;
3025
+ };
3026
+ self?: string | undefined;
3027
+ transitions?: {
3028
+ id: string;
3029
+ name: string;
3030
+ to?: {
3031
+ id: string;
3032
+ name: string;
3033
+ statusCategory?: {
3034
+ name: string;
3035
+ key: string;
3036
+ } | undefined;
3037
+ } | undefined;
3038
+ }[] | undefined;
3039
+ changelog?: unknown;
3040
+ }>>;
3041
+ error: z.ZodString;
3042
+ }, "strip", z.ZodTypeAny, {
3043
+ operation: "get";
3044
+ success: boolean;
3045
+ error: string;
3046
+ issue?: {
3047
+ id: string;
3048
+ key: string;
3049
+ fields: {
3050
+ description?: unknown;
3051
+ status?: {
3052
+ id: string;
3053
+ name: string;
3054
+ statusCategory?: {
3055
+ name: string;
3056
+ key: string;
3057
+ } | undefined;
3058
+ } | undefined;
3059
+ created?: string | undefined;
3060
+ updated?: string | undefined;
3061
+ summary?: string | undefined;
3062
+ priority?: {
3063
+ id: string;
3064
+ name: string;
3065
+ } | null | undefined;
3066
+ assignee?: {
3067
+ accountId: string;
3068
+ displayName?: string | undefined;
3069
+ emailAddress?: string | undefined;
3070
+ active?: boolean | undefined;
3071
+ } | null | undefined;
3072
+ reporter?: {
3073
+ accountId: string;
3074
+ displayName?: string | undefined;
3075
+ emailAddress?: string | undefined;
3076
+ active?: boolean | undefined;
3077
+ } | null | undefined;
3078
+ issuetype?: {
3079
+ id: string;
3080
+ name: string;
3081
+ description?: string | undefined;
3082
+ subtask?: boolean | undefined;
3083
+ } | undefined;
3084
+ project?: {
3085
+ id: string;
3086
+ name: string;
3087
+ key: string;
3088
+ } | undefined;
3089
+ labels?: string[] | undefined;
3090
+ duedate?: string | null | undefined;
3091
+ parent?: {
3092
+ id: string;
3093
+ key: string;
3094
+ } | undefined;
3095
+ comment?: {
3096
+ comments?: {
3097
+ id: string;
3098
+ author?: {
3099
+ accountId: string;
3100
+ displayName?: string | undefined;
3101
+ emailAddress?: string | undefined;
3102
+ active?: boolean | undefined;
3103
+ } | null | undefined;
3104
+ body?: unknown;
3105
+ renderedBody?: string | undefined;
3106
+ created?: string | undefined;
3107
+ updated?: string | undefined;
3108
+ }[] | undefined;
3109
+ total?: number | undefined;
3110
+ } | undefined;
3111
+ } & {
3112
+ [k: string]: unknown;
3113
+ };
3114
+ self?: string | undefined;
3115
+ transitions?: {
3116
+ id: string;
3117
+ name: string;
3118
+ to?: {
3119
+ id: string;
3120
+ name: string;
3121
+ statusCategory?: {
3122
+ name: string;
3123
+ key: string;
3124
+ } | undefined;
3125
+ } | undefined;
3126
+ }[] | undefined;
3127
+ changelog?: unknown;
3128
+ } | undefined;
3129
+ }, {
3130
+ operation: "get";
3131
+ success: boolean;
3132
+ error: string;
3133
+ issue?: {
3134
+ id: string;
3135
+ key: string;
3136
+ fields: {
3137
+ description?: unknown;
3138
+ status?: {
3139
+ id: string;
3140
+ name: string;
3141
+ statusCategory?: {
3142
+ name: string;
3143
+ key: string;
3144
+ } | undefined;
3145
+ } | undefined;
3146
+ created?: string | undefined;
3147
+ updated?: string | undefined;
3148
+ summary?: string | undefined;
3149
+ priority?: {
3150
+ id: string;
3151
+ name: string;
3152
+ } | null | undefined;
3153
+ assignee?: {
3154
+ accountId: string;
3155
+ displayName?: string | undefined;
3156
+ emailAddress?: string | undefined;
3157
+ active?: boolean | undefined;
3158
+ } | null | undefined;
3159
+ reporter?: {
3160
+ accountId: string;
3161
+ displayName?: string | undefined;
3162
+ emailAddress?: string | undefined;
3163
+ active?: boolean | undefined;
3164
+ } | null | undefined;
3165
+ issuetype?: {
3166
+ id: string;
3167
+ name: string;
3168
+ description?: string | undefined;
3169
+ subtask?: boolean | undefined;
3170
+ } | undefined;
3171
+ project?: {
3172
+ id: string;
3173
+ name: string;
3174
+ key: string;
3175
+ } | undefined;
3176
+ labels?: string[] | undefined;
3177
+ duedate?: string | null | undefined;
3178
+ parent?: {
3179
+ id: string;
3180
+ key: string;
3181
+ } | undefined;
3182
+ comment?: {
3183
+ comments?: {
3184
+ id: string;
3185
+ author?: {
3186
+ accountId: string;
3187
+ displayName?: string | undefined;
3188
+ emailAddress?: string | undefined;
3189
+ active?: boolean | undefined;
3190
+ } | null | undefined;
3191
+ body?: unknown;
3192
+ renderedBody?: string | undefined;
3193
+ created?: string | undefined;
3194
+ updated?: string | undefined;
3195
+ }[] | undefined;
3196
+ total?: number | undefined;
3197
+ } | undefined;
3198
+ } & {
3199
+ [k: string]: unknown;
3200
+ };
3201
+ self?: string | undefined;
3202
+ transitions?: {
3203
+ id: string;
3204
+ name: string;
3205
+ to?: {
3206
+ id: string;
3207
+ name: string;
3208
+ statusCategory?: {
3209
+ name: string;
3210
+ key: string;
3211
+ } | undefined;
3212
+ } | undefined;
3213
+ }[] | undefined;
3214
+ changelog?: unknown;
3215
+ } | undefined;
3216
+ }>, z.ZodObject<{
3217
+ operation: z.ZodLiteral<"create">;
3218
+ success: z.ZodBoolean;
3219
+ issue: z.ZodOptional<z.ZodObject<{
3220
+ id: z.ZodString;
3221
+ key: z.ZodString;
3222
+ self: z.ZodOptional<z.ZodString>;
3223
+ }, "strip", z.ZodTypeAny, {
3224
+ id: string;
3225
+ key: string;
3226
+ self?: string | undefined;
3227
+ }, {
3228
+ id: string;
3229
+ key: string;
3230
+ self?: string | undefined;
3231
+ }>>;
3232
+ error: z.ZodString;
3233
+ }, "strip", z.ZodTypeAny, {
3234
+ operation: "create";
3235
+ success: boolean;
3236
+ error: string;
3237
+ issue?: {
3238
+ id: string;
3239
+ key: string;
3240
+ self?: string | undefined;
3241
+ } | undefined;
3242
+ }, {
3243
+ operation: "create";
3244
+ success: boolean;
3245
+ error: string;
3246
+ issue?: {
3247
+ id: string;
3248
+ key: string;
3249
+ self?: string | undefined;
3250
+ } | undefined;
3251
+ }>, z.ZodObject<{
3252
+ operation: z.ZodLiteral<"update">;
3253
+ success: z.ZodBoolean;
3254
+ key: z.ZodOptional<z.ZodString>;
3255
+ error: z.ZodString;
3256
+ }, "strip", z.ZodTypeAny, {
3257
+ operation: "update";
3258
+ success: boolean;
3259
+ error: string;
3260
+ key?: string | undefined;
3261
+ }, {
3262
+ operation: "update";
3263
+ success: boolean;
3264
+ error: string;
3265
+ key?: string | undefined;
3266
+ }>, z.ZodObject<{
3267
+ operation: z.ZodLiteral<"transition">;
3268
+ success: z.ZodBoolean;
3269
+ key: z.ZodOptional<z.ZodString>;
3270
+ new_status: z.ZodOptional<z.ZodString>;
3271
+ error: z.ZodString;
3272
+ }, "strip", z.ZodTypeAny, {
3273
+ operation: "transition";
3274
+ success: boolean;
3275
+ error: string;
3276
+ key?: string | undefined;
3277
+ new_status?: string | undefined;
3278
+ }, {
3279
+ operation: "transition";
3280
+ success: boolean;
3281
+ error: string;
3282
+ key?: string | undefined;
3283
+ new_status?: string | undefined;
3284
+ }>, z.ZodObject<{
3285
+ operation: z.ZodLiteral<"list_transitions">;
3286
+ success: z.ZodBoolean;
3287
+ transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3288
+ id: z.ZodString;
3289
+ name: z.ZodString;
3290
+ to: z.ZodOptional<z.ZodObject<{
3291
+ id: z.ZodString;
3292
+ name: z.ZodString;
3293
+ statusCategory: z.ZodOptional<z.ZodObject<{
3294
+ key: z.ZodString;
3295
+ name: z.ZodString;
3296
+ }, "strip", z.ZodTypeAny, {
3297
+ name: string;
3298
+ key: string;
3299
+ }, {
3300
+ name: string;
3301
+ key: string;
3302
+ }>>;
3303
+ }, "strip", z.ZodTypeAny, {
3304
+ id: string;
3305
+ name: string;
3306
+ statusCategory?: {
3307
+ name: string;
3308
+ key: string;
3309
+ } | undefined;
3310
+ }, {
3311
+ id: string;
3312
+ name: string;
3313
+ statusCategory?: {
3314
+ name: string;
3315
+ key: string;
3316
+ } | undefined;
3317
+ }>>;
3318
+ }, "strip", z.ZodTypeAny, {
3319
+ id: string;
3320
+ name: string;
3321
+ to?: {
3322
+ id: string;
3323
+ name: string;
3324
+ statusCategory?: {
3325
+ name: string;
3326
+ key: string;
3327
+ } | undefined;
3328
+ } | undefined;
3329
+ }, {
3330
+ id: string;
3331
+ name: string;
3332
+ to?: {
3333
+ id: string;
3334
+ name: string;
3335
+ statusCategory?: {
3336
+ name: string;
3337
+ key: string;
3338
+ } | undefined;
3339
+ } | undefined;
3340
+ }>, "many">>;
3341
+ error: z.ZodString;
3342
+ }, "strip", z.ZodTypeAny, {
3343
+ operation: "list_transitions";
3344
+ success: boolean;
3345
+ error: string;
3346
+ transitions?: {
3347
+ id: string;
3348
+ name: string;
3349
+ to?: {
3350
+ id: string;
3351
+ name: string;
3352
+ statusCategory?: {
3353
+ name: string;
3354
+ key: string;
3355
+ } | undefined;
3356
+ } | undefined;
3357
+ }[] | undefined;
3358
+ }, {
3359
+ operation: "list_transitions";
3360
+ success: boolean;
3361
+ error: string;
3362
+ transitions?: {
3363
+ id: string;
3364
+ name: string;
3365
+ to?: {
3366
+ id: string;
3367
+ name: string;
3368
+ statusCategory?: {
3369
+ name: string;
3370
+ key: string;
3371
+ } | undefined;
3372
+ } | undefined;
3373
+ }[] | undefined;
3374
+ }>, z.ZodObject<{
3375
+ operation: z.ZodLiteral<"list_projects">;
3376
+ success: z.ZodBoolean;
3377
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
3378
+ id: z.ZodString;
3379
+ key: z.ZodString;
3380
+ name: z.ZodString;
3381
+ }, "strip", z.ZodTypeAny, {
3382
+ id: string;
3383
+ name: string;
3384
+ key: string;
3385
+ }, {
3386
+ id: string;
3387
+ name: string;
3388
+ key: string;
3389
+ }>, "many">>;
3390
+ total: z.ZodOptional<z.ZodNumber>;
3391
+ error: z.ZodString;
3392
+ }, "strip", z.ZodTypeAny, {
3393
+ operation: "list_projects";
3394
+ success: boolean;
3395
+ error: string;
3396
+ total?: number | undefined;
3397
+ projects?: {
3398
+ id: string;
3399
+ name: string;
3400
+ key: string;
3401
+ }[] | undefined;
3402
+ }, {
3403
+ operation: "list_projects";
3404
+ success: boolean;
3405
+ error: string;
3406
+ total?: number | undefined;
3407
+ projects?: {
3408
+ id: string;
3409
+ name: string;
3410
+ key: string;
3411
+ }[] | undefined;
3412
+ }>, z.ZodObject<{
3413
+ operation: z.ZodLiteral<"list_issue_types">;
3414
+ success: z.ZodBoolean;
3415
+ issue_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
3416
+ id: z.ZodString;
3417
+ name: z.ZodString;
3418
+ description: z.ZodOptional<z.ZodString>;
3419
+ subtask: z.ZodOptional<z.ZodBoolean>;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ id: string;
3422
+ name: string;
3423
+ description?: string | undefined;
3424
+ subtask?: boolean | undefined;
3425
+ }, {
3426
+ id: string;
3427
+ name: string;
3428
+ description?: string | undefined;
3429
+ subtask?: boolean | undefined;
3430
+ }>, "many">>;
3431
+ error: z.ZodString;
3432
+ }, "strip", z.ZodTypeAny, {
3433
+ operation: "list_issue_types";
3434
+ success: boolean;
3435
+ error: string;
3436
+ issue_types?: {
3437
+ id: string;
3438
+ name: string;
3439
+ description?: string | undefined;
3440
+ subtask?: boolean | undefined;
3441
+ }[] | undefined;
3442
+ }, {
3443
+ operation: "list_issue_types";
3444
+ success: boolean;
3445
+ error: string;
3446
+ issue_types?: {
3447
+ id: string;
3448
+ name: string;
3449
+ description?: string | undefined;
3450
+ subtask?: boolean | undefined;
3451
+ }[] | undefined;
3452
+ }>, z.ZodObject<{
3453
+ operation: z.ZodLiteral<"add_comment">;
3454
+ success: z.ZodBoolean;
3455
+ comment: z.ZodOptional<z.ZodObject<{
3456
+ id: z.ZodString;
3457
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3458
+ accountId: z.ZodString;
3459
+ displayName: z.ZodOptional<z.ZodString>;
3460
+ emailAddress: z.ZodOptional<z.ZodString>;
3461
+ active: z.ZodOptional<z.ZodBoolean>;
3462
+ }, "strip", z.ZodTypeAny, {
3463
+ accountId: string;
3464
+ displayName?: string | undefined;
3465
+ emailAddress?: string | undefined;
3466
+ active?: boolean | undefined;
3467
+ }, {
3468
+ accountId: string;
3469
+ displayName?: string | undefined;
3470
+ emailAddress?: string | undefined;
3471
+ active?: boolean | undefined;
3472
+ }>>>;
3473
+ body: z.ZodOptional<z.ZodUnknown>;
3474
+ renderedBody: z.ZodOptional<z.ZodString>;
3475
+ created: z.ZodOptional<z.ZodString>;
3476
+ updated: z.ZodOptional<z.ZodString>;
3477
+ }, "strip", z.ZodTypeAny, {
3478
+ id: string;
3479
+ author?: {
3480
+ accountId: string;
3481
+ displayName?: string | undefined;
3482
+ emailAddress?: string | undefined;
3483
+ active?: boolean | undefined;
3484
+ } | null | undefined;
3485
+ body?: unknown;
3486
+ renderedBody?: string | undefined;
3487
+ created?: string | undefined;
3488
+ updated?: string | undefined;
3489
+ }, {
3490
+ id: string;
3491
+ author?: {
3492
+ accountId: string;
3493
+ displayName?: string | undefined;
3494
+ emailAddress?: string | undefined;
3495
+ active?: boolean | undefined;
3496
+ } | null | undefined;
3497
+ body?: unknown;
3498
+ renderedBody?: string | undefined;
3499
+ created?: string | undefined;
3500
+ updated?: string | undefined;
3501
+ }>>;
3502
+ error: z.ZodString;
3503
+ }, "strip", z.ZodTypeAny, {
3504
+ operation: "add_comment";
3505
+ success: boolean;
3506
+ error: string;
3507
+ comment?: {
3508
+ id: string;
3509
+ author?: {
3510
+ accountId: string;
3511
+ displayName?: string | undefined;
3512
+ emailAddress?: string | undefined;
3513
+ active?: boolean | undefined;
3514
+ } | null | undefined;
3515
+ body?: unknown;
3516
+ renderedBody?: string | undefined;
3517
+ created?: string | undefined;
3518
+ updated?: string | undefined;
3519
+ } | undefined;
3520
+ }, {
3521
+ operation: "add_comment";
3522
+ success: boolean;
3523
+ error: string;
3524
+ comment?: {
3525
+ id: string;
3526
+ author?: {
3527
+ accountId: string;
3528
+ displayName?: string | undefined;
3529
+ emailAddress?: string | undefined;
3530
+ active?: boolean | undefined;
3531
+ } | null | undefined;
3532
+ body?: unknown;
3533
+ renderedBody?: string | undefined;
3534
+ created?: string | undefined;
3535
+ updated?: string | undefined;
3536
+ } | undefined;
3537
+ }>, z.ZodObject<{
3538
+ operation: z.ZodLiteral<"get_comments">;
3539
+ success: z.ZodBoolean;
3540
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3541
+ id: z.ZodString;
3542
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3543
+ accountId: z.ZodString;
3544
+ displayName: z.ZodOptional<z.ZodString>;
3545
+ emailAddress: z.ZodOptional<z.ZodString>;
3546
+ active: z.ZodOptional<z.ZodBoolean>;
3547
+ }, "strip", z.ZodTypeAny, {
3548
+ accountId: string;
3549
+ displayName?: string | undefined;
3550
+ emailAddress?: string | undefined;
3551
+ active?: boolean | undefined;
3552
+ }, {
3553
+ accountId: string;
3554
+ displayName?: string | undefined;
3555
+ emailAddress?: string | undefined;
3556
+ active?: boolean | undefined;
3557
+ }>>>;
3558
+ body: z.ZodOptional<z.ZodUnknown>;
3559
+ renderedBody: z.ZodOptional<z.ZodString>;
3560
+ created: z.ZodOptional<z.ZodString>;
3561
+ updated: z.ZodOptional<z.ZodString>;
3562
+ }, "strip", z.ZodTypeAny, {
3563
+ id: string;
3564
+ author?: {
3565
+ accountId: string;
3566
+ displayName?: string | undefined;
3567
+ emailAddress?: string | undefined;
3568
+ active?: boolean | undefined;
3569
+ } | null | undefined;
3570
+ body?: unknown;
3571
+ renderedBody?: string | undefined;
3572
+ created?: string | undefined;
3573
+ updated?: string | undefined;
3574
+ }, {
3575
+ id: string;
3576
+ author?: {
3577
+ accountId: string;
3578
+ displayName?: string | undefined;
3579
+ emailAddress?: string | undefined;
3580
+ active?: boolean | undefined;
3581
+ } | null | undefined;
3582
+ body?: unknown;
3583
+ renderedBody?: string | undefined;
3584
+ created?: string | undefined;
3585
+ updated?: string | undefined;
3586
+ }>, "many">>;
3587
+ total: z.ZodOptional<z.ZodNumber>;
3588
+ error: z.ZodString;
3589
+ }, "strip", z.ZodTypeAny, {
3590
+ operation: "get_comments";
3591
+ success: boolean;
3592
+ error: string;
3593
+ comments?: {
3594
+ id: string;
3595
+ author?: {
3596
+ accountId: string;
3597
+ displayName?: string | undefined;
3598
+ emailAddress?: string | undefined;
3599
+ active?: boolean | undefined;
3600
+ } | null | undefined;
3601
+ body?: unknown;
3602
+ renderedBody?: string | undefined;
3603
+ created?: string | undefined;
3604
+ updated?: string | undefined;
3605
+ }[] | undefined;
3606
+ total?: number | undefined;
3607
+ }, {
3608
+ operation: "get_comments";
3609
+ success: boolean;
3610
+ error: string;
3611
+ comments?: {
3612
+ id: string;
3613
+ author?: {
3614
+ accountId: string;
3615
+ displayName?: string | undefined;
3616
+ emailAddress?: string | undefined;
3617
+ active?: boolean | undefined;
3618
+ } | null | undefined;
3619
+ body?: unknown;
3620
+ renderedBody?: string | undefined;
3621
+ created?: string | undefined;
3622
+ updated?: string | undefined;
3623
+ }[] | undefined;
3624
+ total?: number | undefined;
3625
+ }>]>;
3626
+ export type JiraParams = z.output<typeof JiraParamsSchema>;
3627
+ export type JiraParamsInput = z.input<typeof JiraParamsSchema>;
3628
+ export type JiraResult = z.output<typeof JiraResultSchema>;
3629
+ export type JiraSearchParams = Extract<JiraParams, {
3630
+ operation: 'search';
3631
+ }>;
3632
+ export type JiraGetParams = Extract<JiraParams, {
3633
+ operation: 'get';
3634
+ }>;
3635
+ export type JiraCreateParams = Extract<JiraParams, {
3636
+ operation: 'create';
3637
+ }>;
3638
+ export type JiraUpdateParams = Extract<JiraParams, {
3639
+ operation: 'update';
3640
+ }>;
3641
+ export type JiraTransitionParams = Extract<JiraParams, {
3642
+ operation: 'transition';
3643
+ }>;
3644
+ export type JiraListTransitionsParams = Extract<JiraParams, {
3645
+ operation: 'list_transitions';
3646
+ }>;
3647
+ export type JiraListProjectsParams = Extract<JiraParams, {
3648
+ operation: 'list_projects';
3649
+ }>;
3650
+ export type JiraListIssueTypesParams = Extract<JiraParams, {
3651
+ operation: 'list_issue_types';
3652
+ }>;
3653
+ export type JiraAddCommentParams = Extract<JiraParams, {
3654
+ operation: 'add_comment';
3655
+ }>;
3656
+ export type JiraGetCommentsParams = Extract<JiraParams, {
3657
+ operation: 'get_comments';
3658
+ }>;
3659
+ //# sourceMappingURL=jira.schema.d.ts.map