@felixgeelhaar/jira-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4304 @@
1
+ import { z } from 'zod';
2
+ import * as _felixgeelhaar_sdk_core from '@felixgeelhaar/sdk-core';
3
+ import { HttpClient, RequestOptions, HttpResponse } from '@felixgeelhaar/sdk-core';
4
+ import { l as GetIssueOptions, e as Issue, h as CreateIssueInput, k as CreateIssueResponse, i as UpdateIssueInput, u as CommentsPage, p as Comment, q as AddCommentInput, s as UpdateCommentInput, x as TransitionsResponse, y as DoTransitionInput, O as Watchers, M as WorklogsPage, E as Worklog, H as AddWorklogInput, K as UpdateWorklogInput, S as Project, a1 as GetProjectsOptions, $ as ProjectSearchResult, X as CreateProjectInput, Z as UpdateProjectInput } from '../project-DNkPXkPv.cjs';
5
+ import { User } from '@felixgeelhaar/sdk-core/schemas';
6
+
7
+ /**
8
+ * Base service class for all Jira services
9
+ *
10
+ * Provides common functionality for making API requests
11
+ * and validating responses with Zod schemas.
12
+ */
13
+ declare abstract class BaseService {
14
+ protected readonly http: HttpClient;
15
+ protected readonly basePath: string;
16
+ constructor(http: HttpClient, basePath: string);
17
+ /**
18
+ * Build the full API path
19
+ */
20
+ protected buildPath(path: string): string;
21
+ /**
22
+ * Make a GET request and validate the response
23
+ */
24
+ protected getMethod<T>(path: string, schema: z.ZodType<T>, params?: Record<string, string | number | boolean | string[] | undefined>, options?: RequestOptions): Promise<T>;
25
+ /**
26
+ * Make a GET request without response validation
27
+ */
28
+ protected getMethodRaw<T = unknown>(path: string, params?: Record<string, string | number | boolean | string[] | undefined>, options?: RequestOptions): Promise<HttpResponse<T>>;
29
+ /**
30
+ * Make a POST request and validate the response
31
+ */
32
+ protected postMethod<T>(path: string, schema: z.ZodType<T>, body?: unknown, options?: RequestOptions): Promise<T>;
33
+ /**
34
+ * Make a POST request without response validation
35
+ */
36
+ protected postMethodRaw<T = unknown>(path: string, body?: unknown, options?: RequestOptions): Promise<HttpResponse<T>>;
37
+ /**
38
+ * Make a PUT request and validate the response
39
+ */
40
+ protected putMethod<T>(path: string, schema: z.ZodType<T>, body?: unknown, options?: RequestOptions): Promise<T>;
41
+ /**
42
+ * Make a PUT request without response validation
43
+ */
44
+ protected putMethodRaw<T = unknown>(path: string, body?: unknown, options?: RequestOptions): Promise<HttpResponse<T>>;
45
+ /**
46
+ * Make a PATCH request and validate the response
47
+ */
48
+ protected patchMethod<T>(path: string, schema: z.ZodType<T>, body?: unknown, options?: RequestOptions): Promise<T>;
49
+ /**
50
+ * Make a DELETE request
51
+ */
52
+ protected deleteMethod(path: string, options?: RequestOptions): Promise<void>;
53
+ /**
54
+ * Make a DELETE request and validate the response
55
+ */
56
+ protected deleteMethodWithResponse<T>(path: string, schema: z.ZodType<T>, options?: RequestOptions): Promise<T>;
57
+ /**
58
+ * Validate response data against a Zod schema
59
+ */
60
+ protected validateResponse<T>(response: HttpResponse, schema: z.ZodType<T>): T;
61
+ /**
62
+ * Build query parameters for GET requests
63
+ * Filters out undefined values
64
+ */
65
+ protected buildParams(params: Record<string, string | number | boolean | string[] | undefined>): Record<string, string | number | boolean | string[]>;
66
+ /**
67
+ * Convert array to comma-separated string for query params
68
+ */
69
+ protected arrayToCommaSeparated(arr?: string[]): string | undefined;
70
+ }
71
+
72
+ /**
73
+ * Issue service for CRUD operations on Jira issues
74
+ *
75
+ * @example
76
+ * ```typescript
77
+ * const client = new JiraClient({ ... });
78
+ *
79
+ * // Get an issue
80
+ * const issue = await client.issues.get('PROJECT-123');
81
+ *
82
+ * // Create an issue
83
+ * const newIssue = await client.issues.create({
84
+ * fields: {
85
+ * project: { key: 'PROJECT' },
86
+ * summary: 'New issue',
87
+ * issuetype: { name: 'Task' },
88
+ * },
89
+ * });
90
+ *
91
+ * // Update an issue
92
+ * await client.issues.update('PROJECT-123', {
93
+ * fields: { summary: 'Updated summary' },
94
+ * });
95
+ *
96
+ * // Delete an issue
97
+ * await client.issues.delete('PROJECT-123');
98
+ * ```
99
+ */
100
+ declare class IssueService extends BaseService {
101
+ /**
102
+ * Get an issue by key or ID
103
+ */
104
+ get(issueIdOrKey: string, options?: GetIssueOptions): Promise<Issue>;
105
+ /**
106
+ * Create a new issue
107
+ */
108
+ create(input: CreateIssueInput): Promise<CreateIssueResponse>;
109
+ /**
110
+ * Update an issue
111
+ */
112
+ update(issueIdOrKey: string, input: UpdateIssueInput, options?: {
113
+ notifyUsers?: boolean;
114
+ overrideScreenSecurity?: boolean;
115
+ overrideEditableFlag?: boolean;
116
+ }): Promise<void>;
117
+ /**
118
+ * Delete an issue
119
+ */
120
+ deleteIssue(issueIdOrKey: string, options?: {
121
+ deleteSubtasks?: boolean;
122
+ }): Promise<void>;
123
+ /**
124
+ * Get comments for an issue
125
+ */
126
+ getComments(issueIdOrKey: string, options?: {
127
+ startAt?: number;
128
+ maxResults?: number;
129
+ orderBy?: string;
130
+ expand?: string[];
131
+ }): Promise<CommentsPage>;
132
+ /**
133
+ * Get a specific comment
134
+ */
135
+ getComment(issueIdOrKey: string, commentId: string, options?: {
136
+ expand?: string[];
137
+ }): Promise<Comment>;
138
+ /**
139
+ * Add a comment to an issue
140
+ */
141
+ addComment(issueIdOrKey: string, input: AddCommentInput, options?: {
142
+ expand?: string[];
143
+ }): Promise<Comment>;
144
+ /**
145
+ * Update a comment
146
+ */
147
+ updateComment(issueIdOrKey: string, commentId: string, input: UpdateCommentInput, options?: {
148
+ expand?: string[];
149
+ }): Promise<Comment>;
150
+ /**
151
+ * Delete a comment
152
+ */
153
+ deleteComment(issueIdOrKey: string, commentId: string): Promise<void>;
154
+ /**
155
+ * Get available transitions for an issue
156
+ */
157
+ getTransitions(issueIdOrKey: string, options?: {
158
+ expand?: string[];
159
+ transitionId?: string;
160
+ }): Promise<TransitionsResponse>;
161
+ /**
162
+ * Transition an issue to a new status
163
+ */
164
+ doTransition(issueIdOrKey: string, input: DoTransitionInput): Promise<void>;
165
+ /**
166
+ * Get watchers for an issue
167
+ */
168
+ getWatchers(issueIdOrKey: string): Promise<Watchers>;
169
+ /**
170
+ * Add a watcher to an issue
171
+ */
172
+ addWatcher(issueIdOrKey: string, accountId: string): Promise<void>;
173
+ /**
174
+ * Remove a watcher from an issue
175
+ */
176
+ removeWatcher(issueIdOrKey: string, accountId: string): Promise<void>;
177
+ /**
178
+ * Get worklogs for an issue
179
+ */
180
+ getWorklogs(issueIdOrKey: string, options?: {
181
+ startAt?: number;
182
+ maxResults?: number;
183
+ startedAfter?: number;
184
+ startedBefore?: number;
185
+ expand?: string[];
186
+ }): Promise<WorklogsPage>;
187
+ /**
188
+ * Get a specific worklog
189
+ */
190
+ getWorklog(issueIdOrKey: string, worklogId: string, options?: {
191
+ expand?: string[];
192
+ }): Promise<Worklog>;
193
+ /**
194
+ * Add a worklog to an issue
195
+ */
196
+ addWorklog(issueIdOrKey: string, input: AddWorklogInput, options?: {
197
+ notifyUsers?: boolean;
198
+ adjustEstimate?: 'new' | 'leave' | 'manual' | 'auto';
199
+ newEstimate?: string;
200
+ reduceBy?: string;
201
+ expand?: string[];
202
+ }): Promise<Worklog>;
203
+ /**
204
+ * Update a worklog
205
+ */
206
+ updateWorklog(issueIdOrKey: string, worklogId: string, input: UpdateWorklogInput, options?: {
207
+ notifyUsers?: boolean;
208
+ adjustEstimate?: 'new' | 'leave' | 'manual' | 'auto';
209
+ newEstimate?: string;
210
+ expand?: string[];
211
+ }): Promise<Worklog>;
212
+ /**
213
+ * Delete a worklog
214
+ */
215
+ deleteWorklog(issueIdOrKey: string, worklogId: string, options?: {
216
+ notifyUsers?: boolean;
217
+ adjustEstimate?: 'new' | 'leave' | 'manual' | 'auto';
218
+ newEstimate?: string;
219
+ increaseBy?: string;
220
+ }): Promise<void>;
221
+ /**
222
+ * Add your vote to an issue
223
+ */
224
+ addVote(issueIdOrKey: string): Promise<void>;
225
+ /**
226
+ * Remove your vote from an issue
227
+ */
228
+ removeVote(issueIdOrKey: string): Promise<void>;
229
+ }
230
+
231
+ /**
232
+ * Project service for CRUD operations on Jira projects
233
+ *
234
+ * @example
235
+ * ```typescript
236
+ * const client = new JiraClient({ ... });
237
+ *
238
+ * // Get all projects
239
+ * const projects = await client.projects.list();
240
+ *
241
+ * // Get a project
242
+ * const project = await client.projects.get('PROJECT');
243
+ *
244
+ * // Create a project
245
+ * const newProject = await client.projects.create({
246
+ * key: 'PROJ',
247
+ * name: 'My Project',
248
+ * projectTypeKey: 'software',
249
+ * });
250
+ * ```
251
+ */
252
+ declare class ProjectService extends BaseService {
253
+ /**
254
+ * Get a project by key or ID
255
+ */
256
+ get(projectIdOrKey: string, options?: {
257
+ expand?: string[];
258
+ properties?: string[];
259
+ }): Promise<Project>;
260
+ /**
261
+ * Get all projects (paginated)
262
+ */
263
+ list(options?: GetProjectsOptions): Promise<ProjectSearchResult>;
264
+ /**
265
+ * Create a new project
266
+ */
267
+ create(input: CreateProjectInput): Promise<Project>;
268
+ /**
269
+ * Update a project
270
+ */
271
+ update(projectIdOrKey: string, input: UpdateProjectInput): Promise<Project>;
272
+ /**
273
+ * Delete a project
274
+ */
275
+ deleteProject(projectIdOrKey: string, options?: {
276
+ enableUndo?: boolean;
277
+ }): Promise<void>;
278
+ /**
279
+ * Archive a project
280
+ */
281
+ archive(projectIdOrKey: string): Promise<void>;
282
+ /**
283
+ * Restore an archived project
284
+ */
285
+ restore(projectIdOrKey: string): Promise<Project>;
286
+ /**
287
+ * Get recent projects
288
+ */
289
+ getRecent(options?: {
290
+ expand?: string[];
291
+ properties?: string[];
292
+ }): Promise<Project[]>;
293
+ }
294
+
295
+ /**
296
+ * Search result schema
297
+ */
298
+ declare const SearchResultSchema: z.ZodObject<{
299
+ expand: z.ZodOptional<z.ZodString>;
300
+ startAt: z.ZodNumber;
301
+ maxResults: z.ZodNumber;
302
+ total: z.ZodNumber;
303
+ issues: z.ZodArray<z.ZodObject<{
304
+ expand: z.ZodOptional<z.ZodString>;
305
+ id: z.ZodString;
306
+ self: z.ZodString;
307
+ key: z.ZodString;
308
+ fields: z.ZodObject<{
309
+ summary: z.ZodString;
310
+ description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
311
+ version: z.ZodLiteral<1>;
312
+ type: z.ZodLiteral<"doc">;
313
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
314
+ }, "strip", z.ZodTypeAny, {
315
+ type: "doc";
316
+ content: _felixgeelhaar_sdk_core.AdfNode[];
317
+ version: 1;
318
+ }, {
319
+ type: "doc";
320
+ content: _felixgeelhaar_sdk_core.AdfNode[];
321
+ version: 1;
322
+ }>, z.ZodString]>>>;
323
+ environment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
324
+ version: z.ZodLiteral<1>;
325
+ type: z.ZodLiteral<"doc">;
326
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
327
+ }, "strip", z.ZodTypeAny, {
328
+ type: "doc";
329
+ content: _felixgeelhaar_sdk_core.AdfNode[];
330
+ version: 1;
331
+ }, {
332
+ type: "doc";
333
+ content: _felixgeelhaar_sdk_core.AdfNode[];
334
+ version: 1;
335
+ }>, z.ZodString]>>>;
336
+ issuetype: z.ZodObject<{
337
+ self: z.ZodString;
338
+ id: z.ZodString;
339
+ name: z.ZodString;
340
+ description: z.ZodOptional<z.ZodString>;
341
+ iconUrl: z.ZodOptional<z.ZodString>;
342
+ subtask: z.ZodBoolean;
343
+ avatarId: z.ZodOptional<z.ZodNumber>;
344
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ self: string;
347
+ id: string;
348
+ name: string;
349
+ subtask: boolean;
350
+ description?: string | undefined;
351
+ iconUrl?: string | undefined;
352
+ avatarId?: number | undefined;
353
+ hierarchyLevel?: number | undefined;
354
+ }, {
355
+ self: string;
356
+ id: string;
357
+ name: string;
358
+ subtask: boolean;
359
+ description?: string | undefined;
360
+ iconUrl?: string | undefined;
361
+ avatarId?: number | undefined;
362
+ hierarchyLevel?: number | undefined;
363
+ }>;
364
+ project: z.ZodObject<{
365
+ self: z.ZodString;
366
+ id: z.ZodString;
367
+ key: z.ZodString;
368
+ name: z.ZodString;
369
+ projectTypeKey: z.ZodOptional<z.ZodEnum<["software", "service_desk", "business"]>>;
370
+ simplified: z.ZodOptional<z.ZodBoolean>;
371
+ avatarUrls: z.ZodOptional<z.ZodObject<{
372
+ '48x48': z.ZodOptional<z.ZodString>;
373
+ '24x24': z.ZodOptional<z.ZodString>;
374
+ '16x16': z.ZodOptional<z.ZodString>;
375
+ '32x32': z.ZodOptional<z.ZodString>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ '48x48'?: string | undefined;
378
+ '24x24'?: string | undefined;
379
+ '16x16'?: string | undefined;
380
+ '32x32'?: string | undefined;
381
+ }, {
382
+ '48x48'?: string | undefined;
383
+ '24x24'?: string | undefined;
384
+ '16x16'?: string | undefined;
385
+ '32x32'?: string | undefined;
386
+ }>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ key: string;
389
+ self: string;
390
+ id: string;
391
+ name: string;
392
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
393
+ simplified?: boolean | undefined;
394
+ avatarUrls?: {
395
+ '48x48'?: string | undefined;
396
+ '24x24'?: string | undefined;
397
+ '16x16'?: string | undefined;
398
+ '32x32'?: string | undefined;
399
+ } | undefined;
400
+ }, {
401
+ key: string;
402
+ self: string;
403
+ id: string;
404
+ name: string;
405
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
406
+ simplified?: boolean | undefined;
407
+ avatarUrls?: {
408
+ '48x48'?: string | undefined;
409
+ '24x24'?: string | undefined;
410
+ '16x16'?: string | undefined;
411
+ '32x32'?: string | undefined;
412
+ } | undefined;
413
+ }>;
414
+ status: z.ZodObject<{
415
+ self: z.ZodString;
416
+ id: z.ZodString;
417
+ name: z.ZodString;
418
+ description: z.ZodOptional<z.ZodString>;
419
+ iconUrl: z.ZodOptional<z.ZodString>;
420
+ statusCategory: z.ZodOptional<z.ZodObject<{
421
+ self: z.ZodString;
422
+ id: z.ZodNumber;
423
+ key: z.ZodString;
424
+ colorName: z.ZodString;
425
+ name: z.ZodString;
426
+ }, "strip", z.ZodTypeAny, {
427
+ key: string;
428
+ self: string;
429
+ id: number;
430
+ name: string;
431
+ colorName: string;
432
+ }, {
433
+ key: string;
434
+ self: string;
435
+ id: number;
436
+ name: string;
437
+ colorName: string;
438
+ }>>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ self: string;
441
+ id: string;
442
+ name: string;
443
+ description?: string | undefined;
444
+ iconUrl?: string | undefined;
445
+ statusCategory?: {
446
+ key: string;
447
+ self: string;
448
+ id: number;
449
+ name: string;
450
+ colorName: string;
451
+ } | undefined;
452
+ }, {
453
+ self: string;
454
+ id: string;
455
+ name: string;
456
+ description?: string | undefined;
457
+ iconUrl?: string | undefined;
458
+ statusCategory?: {
459
+ key: string;
460
+ self: string;
461
+ id: number;
462
+ name: string;
463
+ colorName: string;
464
+ } | undefined;
465
+ }>;
466
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
467
+ self: z.ZodString;
468
+ id: z.ZodString;
469
+ name: z.ZodString;
470
+ description: z.ZodOptional<z.ZodString>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ self: string;
473
+ id: string;
474
+ name: string;
475
+ description?: string | undefined;
476
+ }, {
477
+ self: string;
478
+ id: string;
479
+ name: string;
480
+ description?: string | undefined;
481
+ }>>>;
482
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
483
+ self: z.ZodString;
484
+ id: z.ZodString;
485
+ name: z.ZodString;
486
+ description: z.ZodOptional<z.ZodString>;
487
+ iconUrl: z.ZodOptional<z.ZodString>;
488
+ }, "strip", z.ZodTypeAny, {
489
+ self: string;
490
+ id: string;
491
+ name: string;
492
+ description?: string | undefined;
493
+ iconUrl?: string | undefined;
494
+ }, {
495
+ self: string;
496
+ id: string;
497
+ name: string;
498
+ description?: string | undefined;
499
+ iconUrl?: string | undefined;
500
+ }>>>;
501
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
502
+ self: z.ZodOptional<z.ZodString>;
503
+ accountId: z.ZodString;
504
+ displayName: z.ZodOptional<z.ZodString>;
505
+ active: z.ZodOptional<z.ZodBoolean>;
506
+ avatarUrls: z.ZodOptional<z.ZodObject<{
507
+ "48x48": z.ZodOptional<z.ZodString>;
508
+ "24x24": z.ZodOptional<z.ZodString>;
509
+ "16x16": z.ZodOptional<z.ZodString>;
510
+ "32x32": z.ZodOptional<z.ZodString>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ "48x48"?: string | undefined;
513
+ "24x24"?: string | undefined;
514
+ "16x16"?: string | undefined;
515
+ "32x32"?: string | undefined;
516
+ }, {
517
+ "48x48"?: string | undefined;
518
+ "24x24"?: string | undefined;
519
+ "16x16"?: string | undefined;
520
+ "32x32"?: string | undefined;
521
+ }>>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ accountId: string;
524
+ self?: string | undefined;
525
+ displayName?: string | undefined;
526
+ active?: boolean | undefined;
527
+ avatarUrls?: {
528
+ "48x48"?: string | undefined;
529
+ "24x24"?: string | undefined;
530
+ "16x16"?: string | undefined;
531
+ "32x32"?: string | undefined;
532
+ } | undefined;
533
+ }, {
534
+ accountId: string;
535
+ self?: string | undefined;
536
+ displayName?: string | undefined;
537
+ active?: boolean | undefined;
538
+ avatarUrls?: {
539
+ "48x48"?: string | undefined;
540
+ "24x24"?: string | undefined;
541
+ "16x16"?: string | undefined;
542
+ "32x32"?: string | undefined;
543
+ } | undefined;
544
+ }>>>;
545
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
546
+ self: z.ZodOptional<z.ZodString>;
547
+ accountId: z.ZodString;
548
+ displayName: z.ZodOptional<z.ZodString>;
549
+ active: z.ZodOptional<z.ZodBoolean>;
550
+ avatarUrls: z.ZodOptional<z.ZodObject<{
551
+ "48x48": z.ZodOptional<z.ZodString>;
552
+ "24x24": z.ZodOptional<z.ZodString>;
553
+ "16x16": z.ZodOptional<z.ZodString>;
554
+ "32x32": z.ZodOptional<z.ZodString>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ "48x48"?: string | undefined;
557
+ "24x24"?: string | undefined;
558
+ "16x16"?: string | undefined;
559
+ "32x32"?: string | undefined;
560
+ }, {
561
+ "48x48"?: string | undefined;
562
+ "24x24"?: string | undefined;
563
+ "16x16"?: string | undefined;
564
+ "32x32"?: string | undefined;
565
+ }>>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ accountId: string;
568
+ self?: string | undefined;
569
+ displayName?: string | undefined;
570
+ active?: boolean | undefined;
571
+ avatarUrls?: {
572
+ "48x48"?: string | undefined;
573
+ "24x24"?: string | undefined;
574
+ "16x16"?: string | undefined;
575
+ "32x32"?: string | undefined;
576
+ } | undefined;
577
+ }, {
578
+ accountId: string;
579
+ self?: string | undefined;
580
+ displayName?: string | undefined;
581
+ active?: boolean | undefined;
582
+ avatarUrls?: {
583
+ "48x48"?: string | undefined;
584
+ "24x24"?: string | undefined;
585
+ "16x16"?: string | undefined;
586
+ "32x32"?: string | undefined;
587
+ } | undefined;
588
+ }>>>;
589
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
590
+ self: z.ZodOptional<z.ZodString>;
591
+ accountId: z.ZodString;
592
+ displayName: z.ZodOptional<z.ZodString>;
593
+ active: z.ZodOptional<z.ZodBoolean>;
594
+ avatarUrls: z.ZodOptional<z.ZodObject<{
595
+ "48x48": z.ZodOptional<z.ZodString>;
596
+ "24x24": z.ZodOptional<z.ZodString>;
597
+ "16x16": z.ZodOptional<z.ZodString>;
598
+ "32x32": z.ZodOptional<z.ZodString>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ "48x48"?: string | undefined;
601
+ "24x24"?: string | undefined;
602
+ "16x16"?: string | undefined;
603
+ "32x32"?: string | undefined;
604
+ }, {
605
+ "48x48"?: string | undefined;
606
+ "24x24"?: string | undefined;
607
+ "16x16"?: string | undefined;
608
+ "32x32"?: string | undefined;
609
+ }>>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ accountId: string;
612
+ self?: string | undefined;
613
+ displayName?: string | undefined;
614
+ active?: boolean | undefined;
615
+ avatarUrls?: {
616
+ "48x48"?: string | undefined;
617
+ "24x24"?: string | undefined;
618
+ "16x16"?: string | undefined;
619
+ "32x32"?: string | undefined;
620
+ } | undefined;
621
+ }, {
622
+ accountId: string;
623
+ self?: string | undefined;
624
+ displayName?: string | undefined;
625
+ active?: boolean | undefined;
626
+ avatarUrls?: {
627
+ "48x48"?: string | undefined;
628
+ "24x24"?: string | undefined;
629
+ "16x16"?: string | undefined;
630
+ "32x32"?: string | undefined;
631
+ } | undefined;
632
+ }>>>;
633
+ parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
634
+ id: z.ZodOptional<z.ZodString>;
635
+ key: z.ZodString;
636
+ self: z.ZodOptional<z.ZodString>;
637
+ fields: z.ZodOptional<z.ZodObject<{
638
+ summary: z.ZodOptional<z.ZodString>;
639
+ status: z.ZodOptional<z.ZodObject<{
640
+ self: z.ZodString;
641
+ id: z.ZodString;
642
+ name: z.ZodString;
643
+ description: z.ZodOptional<z.ZodString>;
644
+ iconUrl: z.ZodOptional<z.ZodString>;
645
+ statusCategory: z.ZodOptional<z.ZodObject<{
646
+ self: z.ZodString;
647
+ id: z.ZodNumber;
648
+ key: z.ZodString;
649
+ colorName: z.ZodString;
650
+ name: z.ZodString;
651
+ }, "strip", z.ZodTypeAny, {
652
+ key: string;
653
+ self: string;
654
+ id: number;
655
+ name: string;
656
+ colorName: string;
657
+ }, {
658
+ key: string;
659
+ self: string;
660
+ id: number;
661
+ name: string;
662
+ colorName: string;
663
+ }>>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ self: string;
666
+ id: string;
667
+ name: string;
668
+ description?: string | undefined;
669
+ iconUrl?: string | undefined;
670
+ statusCategory?: {
671
+ key: string;
672
+ self: string;
673
+ id: number;
674
+ name: string;
675
+ colorName: string;
676
+ } | undefined;
677
+ }, {
678
+ self: string;
679
+ id: string;
680
+ name: string;
681
+ description?: string | undefined;
682
+ iconUrl?: string | undefined;
683
+ statusCategory?: {
684
+ key: string;
685
+ self: string;
686
+ id: number;
687
+ name: string;
688
+ colorName: string;
689
+ } | undefined;
690
+ }>>;
691
+ issuetype: z.ZodOptional<z.ZodObject<{
692
+ self: z.ZodString;
693
+ id: z.ZodString;
694
+ name: z.ZodString;
695
+ description: z.ZodOptional<z.ZodString>;
696
+ iconUrl: z.ZodOptional<z.ZodString>;
697
+ subtask: z.ZodBoolean;
698
+ avatarId: z.ZodOptional<z.ZodNumber>;
699
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ self: string;
702
+ id: string;
703
+ name: string;
704
+ subtask: boolean;
705
+ description?: string | undefined;
706
+ iconUrl?: string | undefined;
707
+ avatarId?: number | undefined;
708
+ hierarchyLevel?: number | undefined;
709
+ }, {
710
+ self: string;
711
+ id: string;
712
+ name: string;
713
+ subtask: boolean;
714
+ description?: string | undefined;
715
+ iconUrl?: string | undefined;
716
+ avatarId?: number | undefined;
717
+ hierarchyLevel?: number | undefined;
718
+ }>>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ status?: {
721
+ self: string;
722
+ id: string;
723
+ name: string;
724
+ description?: string | undefined;
725
+ iconUrl?: string | undefined;
726
+ statusCategory?: {
727
+ key: string;
728
+ self: string;
729
+ id: number;
730
+ name: string;
731
+ colorName: string;
732
+ } | undefined;
733
+ } | undefined;
734
+ summary?: string | undefined;
735
+ issuetype?: {
736
+ self: string;
737
+ id: string;
738
+ name: string;
739
+ subtask: boolean;
740
+ description?: string | undefined;
741
+ iconUrl?: string | undefined;
742
+ avatarId?: number | undefined;
743
+ hierarchyLevel?: number | undefined;
744
+ } | undefined;
745
+ }, {
746
+ status?: {
747
+ self: string;
748
+ id: string;
749
+ name: string;
750
+ description?: string | undefined;
751
+ iconUrl?: string | undefined;
752
+ statusCategory?: {
753
+ key: string;
754
+ self: string;
755
+ id: number;
756
+ name: string;
757
+ colorName: string;
758
+ } | undefined;
759
+ } | undefined;
760
+ summary?: string | undefined;
761
+ issuetype?: {
762
+ self: string;
763
+ id: string;
764
+ name: string;
765
+ subtask: boolean;
766
+ description?: string | undefined;
767
+ iconUrl?: string | undefined;
768
+ avatarId?: number | undefined;
769
+ hierarchyLevel?: number | undefined;
770
+ } | undefined;
771
+ }>>;
772
+ }, "strip", z.ZodTypeAny, {
773
+ key: string;
774
+ self?: string | undefined;
775
+ id?: string | undefined;
776
+ fields?: {
777
+ status?: {
778
+ self: string;
779
+ id: string;
780
+ name: string;
781
+ description?: string | undefined;
782
+ iconUrl?: string | undefined;
783
+ statusCategory?: {
784
+ key: string;
785
+ self: string;
786
+ id: number;
787
+ name: string;
788
+ colorName: string;
789
+ } | undefined;
790
+ } | undefined;
791
+ summary?: string | undefined;
792
+ issuetype?: {
793
+ self: string;
794
+ id: string;
795
+ name: string;
796
+ subtask: boolean;
797
+ description?: string | undefined;
798
+ iconUrl?: string | undefined;
799
+ avatarId?: number | undefined;
800
+ hierarchyLevel?: number | undefined;
801
+ } | undefined;
802
+ } | undefined;
803
+ }, {
804
+ key: string;
805
+ self?: string | undefined;
806
+ id?: string | undefined;
807
+ fields?: {
808
+ status?: {
809
+ self: string;
810
+ id: string;
811
+ name: string;
812
+ description?: string | undefined;
813
+ iconUrl?: string | undefined;
814
+ statusCategory?: {
815
+ key: string;
816
+ self: string;
817
+ id: number;
818
+ name: string;
819
+ colorName: string;
820
+ } | undefined;
821
+ } | undefined;
822
+ summary?: string | undefined;
823
+ issuetype?: {
824
+ self: string;
825
+ id: string;
826
+ name: string;
827
+ subtask: boolean;
828
+ description?: string | undefined;
829
+ iconUrl?: string | undefined;
830
+ avatarId?: number | undefined;
831
+ hierarchyLevel?: number | undefined;
832
+ } | undefined;
833
+ } | undefined;
834
+ }>>>;
835
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
836
+ id: z.ZodOptional<z.ZodString>;
837
+ key: z.ZodString;
838
+ self: z.ZodOptional<z.ZodString>;
839
+ fields: z.ZodOptional<z.ZodObject<{
840
+ summary: z.ZodOptional<z.ZodString>;
841
+ status: z.ZodOptional<z.ZodObject<{
842
+ self: z.ZodString;
843
+ id: z.ZodString;
844
+ name: z.ZodString;
845
+ description: z.ZodOptional<z.ZodString>;
846
+ iconUrl: z.ZodOptional<z.ZodString>;
847
+ statusCategory: z.ZodOptional<z.ZodObject<{
848
+ self: z.ZodString;
849
+ id: z.ZodNumber;
850
+ key: z.ZodString;
851
+ colorName: z.ZodString;
852
+ name: z.ZodString;
853
+ }, "strip", z.ZodTypeAny, {
854
+ key: string;
855
+ self: string;
856
+ id: number;
857
+ name: string;
858
+ colorName: string;
859
+ }, {
860
+ key: string;
861
+ self: string;
862
+ id: number;
863
+ name: string;
864
+ colorName: string;
865
+ }>>;
866
+ }, "strip", z.ZodTypeAny, {
867
+ self: string;
868
+ id: string;
869
+ name: string;
870
+ description?: string | undefined;
871
+ iconUrl?: string | undefined;
872
+ statusCategory?: {
873
+ key: string;
874
+ self: string;
875
+ id: number;
876
+ name: string;
877
+ colorName: string;
878
+ } | undefined;
879
+ }, {
880
+ self: string;
881
+ id: string;
882
+ name: string;
883
+ description?: string | undefined;
884
+ iconUrl?: string | undefined;
885
+ statusCategory?: {
886
+ key: string;
887
+ self: string;
888
+ id: number;
889
+ name: string;
890
+ colorName: string;
891
+ } | undefined;
892
+ }>>;
893
+ issuetype: z.ZodOptional<z.ZodObject<{
894
+ self: z.ZodString;
895
+ id: z.ZodString;
896
+ name: z.ZodString;
897
+ description: z.ZodOptional<z.ZodString>;
898
+ iconUrl: z.ZodOptional<z.ZodString>;
899
+ subtask: z.ZodBoolean;
900
+ avatarId: z.ZodOptional<z.ZodNumber>;
901
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ self: string;
904
+ id: string;
905
+ name: string;
906
+ subtask: boolean;
907
+ description?: string | undefined;
908
+ iconUrl?: string | undefined;
909
+ avatarId?: number | undefined;
910
+ hierarchyLevel?: number | undefined;
911
+ }, {
912
+ self: string;
913
+ id: string;
914
+ name: string;
915
+ subtask: boolean;
916
+ description?: string | undefined;
917
+ iconUrl?: string | undefined;
918
+ avatarId?: number | undefined;
919
+ hierarchyLevel?: number | undefined;
920
+ }>>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ status?: {
923
+ self: string;
924
+ id: string;
925
+ name: string;
926
+ description?: string | undefined;
927
+ iconUrl?: string | undefined;
928
+ statusCategory?: {
929
+ key: string;
930
+ self: string;
931
+ id: number;
932
+ name: string;
933
+ colorName: string;
934
+ } | undefined;
935
+ } | undefined;
936
+ summary?: string | undefined;
937
+ issuetype?: {
938
+ self: string;
939
+ id: string;
940
+ name: string;
941
+ subtask: boolean;
942
+ description?: string | undefined;
943
+ iconUrl?: string | undefined;
944
+ avatarId?: number | undefined;
945
+ hierarchyLevel?: number | undefined;
946
+ } | undefined;
947
+ }, {
948
+ status?: {
949
+ self: string;
950
+ id: string;
951
+ name: string;
952
+ description?: string | undefined;
953
+ iconUrl?: string | undefined;
954
+ statusCategory?: {
955
+ key: string;
956
+ self: string;
957
+ id: number;
958
+ name: string;
959
+ colorName: string;
960
+ } | undefined;
961
+ } | undefined;
962
+ summary?: string | undefined;
963
+ issuetype?: {
964
+ self: string;
965
+ id: string;
966
+ name: string;
967
+ subtask: boolean;
968
+ description?: string | undefined;
969
+ iconUrl?: string | undefined;
970
+ avatarId?: number | undefined;
971
+ hierarchyLevel?: number | undefined;
972
+ } | undefined;
973
+ }>>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ key: string;
976
+ self?: string | undefined;
977
+ id?: string | undefined;
978
+ fields?: {
979
+ status?: {
980
+ self: string;
981
+ id: string;
982
+ name: string;
983
+ description?: string | undefined;
984
+ iconUrl?: string | undefined;
985
+ statusCategory?: {
986
+ key: string;
987
+ self: string;
988
+ id: number;
989
+ name: string;
990
+ colorName: string;
991
+ } | undefined;
992
+ } | undefined;
993
+ summary?: string | undefined;
994
+ issuetype?: {
995
+ self: string;
996
+ id: string;
997
+ name: string;
998
+ subtask: boolean;
999
+ description?: string | undefined;
1000
+ iconUrl?: string | undefined;
1001
+ avatarId?: number | undefined;
1002
+ hierarchyLevel?: number | undefined;
1003
+ } | undefined;
1004
+ } | undefined;
1005
+ }, {
1006
+ key: string;
1007
+ self?: string | undefined;
1008
+ id?: string | undefined;
1009
+ fields?: {
1010
+ status?: {
1011
+ self: string;
1012
+ id: string;
1013
+ name: string;
1014
+ description?: string | undefined;
1015
+ iconUrl?: string | undefined;
1016
+ statusCategory?: {
1017
+ key: string;
1018
+ self: string;
1019
+ id: number;
1020
+ name: string;
1021
+ colorName: string;
1022
+ } | undefined;
1023
+ } | undefined;
1024
+ summary?: string | undefined;
1025
+ issuetype?: {
1026
+ self: string;
1027
+ id: string;
1028
+ name: string;
1029
+ subtask: boolean;
1030
+ description?: string | undefined;
1031
+ iconUrl?: string | undefined;
1032
+ avatarId?: number | undefined;
1033
+ hierarchyLevel?: number | undefined;
1034
+ } | undefined;
1035
+ } | undefined;
1036
+ }>, "many">>;
1037
+ fixVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1038
+ self: z.ZodString;
1039
+ id: z.ZodString;
1040
+ name: z.ZodString;
1041
+ description: z.ZodOptional<z.ZodString>;
1042
+ archived: z.ZodOptional<z.ZodBoolean>;
1043
+ released: z.ZodOptional<z.ZodBoolean>;
1044
+ releaseDate: z.ZodOptional<z.ZodString>;
1045
+ startDate: z.ZodOptional<z.ZodString>;
1046
+ projectId: z.ZodOptional<z.ZodNumber>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ self: string;
1049
+ id: string;
1050
+ name: string;
1051
+ description?: string | undefined;
1052
+ archived?: boolean | undefined;
1053
+ released?: boolean | undefined;
1054
+ releaseDate?: string | undefined;
1055
+ startDate?: string | undefined;
1056
+ projectId?: number | undefined;
1057
+ }, {
1058
+ self: string;
1059
+ id: string;
1060
+ name: string;
1061
+ description?: string | undefined;
1062
+ archived?: boolean | undefined;
1063
+ released?: boolean | undefined;
1064
+ releaseDate?: string | undefined;
1065
+ startDate?: string | undefined;
1066
+ projectId?: number | undefined;
1067
+ }>, "many">>;
1068
+ versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1069
+ self: z.ZodString;
1070
+ id: z.ZodString;
1071
+ name: z.ZodString;
1072
+ description: z.ZodOptional<z.ZodString>;
1073
+ archived: z.ZodOptional<z.ZodBoolean>;
1074
+ released: z.ZodOptional<z.ZodBoolean>;
1075
+ releaseDate: z.ZodOptional<z.ZodString>;
1076
+ startDate: z.ZodOptional<z.ZodString>;
1077
+ projectId: z.ZodOptional<z.ZodNumber>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ self: string;
1080
+ id: string;
1081
+ name: string;
1082
+ description?: string | undefined;
1083
+ archived?: boolean | undefined;
1084
+ released?: boolean | undefined;
1085
+ releaseDate?: string | undefined;
1086
+ startDate?: string | undefined;
1087
+ projectId?: number | undefined;
1088
+ }, {
1089
+ self: string;
1090
+ id: string;
1091
+ name: string;
1092
+ description?: string | undefined;
1093
+ archived?: boolean | undefined;
1094
+ released?: boolean | undefined;
1095
+ releaseDate?: string | undefined;
1096
+ startDate?: string | undefined;
1097
+ projectId?: number | undefined;
1098
+ }>, "many">>;
1099
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
1100
+ self: z.ZodString;
1101
+ id: z.ZodString;
1102
+ name: z.ZodString;
1103
+ description: z.ZodOptional<z.ZodString>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ self: string;
1106
+ id: string;
1107
+ name: string;
1108
+ description?: string | undefined;
1109
+ }, {
1110
+ self: string;
1111
+ id: string;
1112
+ name: string;
1113
+ description?: string | undefined;
1114
+ }>, "many">>;
1115
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1116
+ created: z.ZodNullable<z.ZodString>;
1117
+ updated: z.ZodNullable<z.ZodString>;
1118
+ resolutiondate: z.ZodNullable<z.ZodString>;
1119
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
+ timeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1121
+ timeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1122
+ timespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1123
+ aggregatetimeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1124
+ aggregatetimeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1125
+ aggregatetimespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1126
+ workratio: z.ZodOptional<z.ZodNumber>;
1127
+ votes: z.ZodOptional<z.ZodObject<{
1128
+ self: z.ZodString;
1129
+ votes: z.ZodNumber;
1130
+ hasVoted: z.ZodBoolean;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ self: string;
1133
+ votes: number;
1134
+ hasVoted: boolean;
1135
+ }, {
1136
+ self: string;
1137
+ votes: number;
1138
+ hasVoted: boolean;
1139
+ }>>;
1140
+ watches: z.ZodOptional<z.ZodObject<{
1141
+ self: z.ZodString;
1142
+ watchCount: z.ZodNumber;
1143
+ isWatching: z.ZodBoolean;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ self: string;
1146
+ watchCount: number;
1147
+ isWatching: boolean;
1148
+ }, {
1149
+ self: string;
1150
+ watchCount: number;
1151
+ isWatching: boolean;
1152
+ }>>;
1153
+ progress: z.ZodOptional<z.ZodObject<{
1154
+ progress: z.ZodNumber;
1155
+ total: z.ZodNumber;
1156
+ percent: z.ZodOptional<z.ZodNumber>;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ progress: number;
1159
+ total: number;
1160
+ percent?: number | undefined;
1161
+ }, {
1162
+ progress: number;
1163
+ total: number;
1164
+ percent?: number | undefined;
1165
+ }>>;
1166
+ aggregateprogress: z.ZodOptional<z.ZodObject<{
1167
+ progress: z.ZodNumber;
1168
+ total: z.ZodNumber;
1169
+ percent: z.ZodOptional<z.ZodNumber>;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ progress: number;
1172
+ total: number;
1173
+ percent?: number | undefined;
1174
+ }, {
1175
+ progress: number;
1176
+ total: number;
1177
+ percent?: number | undefined;
1178
+ }>>;
1179
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1180
+ summary: z.ZodString;
1181
+ description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1182
+ version: z.ZodLiteral<1>;
1183
+ type: z.ZodLiteral<"doc">;
1184
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ type: "doc";
1187
+ content: _felixgeelhaar_sdk_core.AdfNode[];
1188
+ version: 1;
1189
+ }, {
1190
+ type: "doc";
1191
+ content: _felixgeelhaar_sdk_core.AdfNode[];
1192
+ version: 1;
1193
+ }>, z.ZodString]>>>;
1194
+ environment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1195
+ version: z.ZodLiteral<1>;
1196
+ type: z.ZodLiteral<"doc">;
1197
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ type: "doc";
1200
+ content: _felixgeelhaar_sdk_core.AdfNode[];
1201
+ version: 1;
1202
+ }, {
1203
+ type: "doc";
1204
+ content: _felixgeelhaar_sdk_core.AdfNode[];
1205
+ version: 1;
1206
+ }>, z.ZodString]>>>;
1207
+ issuetype: z.ZodObject<{
1208
+ self: z.ZodString;
1209
+ id: z.ZodString;
1210
+ name: z.ZodString;
1211
+ description: z.ZodOptional<z.ZodString>;
1212
+ iconUrl: z.ZodOptional<z.ZodString>;
1213
+ subtask: z.ZodBoolean;
1214
+ avatarId: z.ZodOptional<z.ZodNumber>;
1215
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ self: string;
1218
+ id: string;
1219
+ name: string;
1220
+ subtask: boolean;
1221
+ description?: string | undefined;
1222
+ iconUrl?: string | undefined;
1223
+ avatarId?: number | undefined;
1224
+ hierarchyLevel?: number | undefined;
1225
+ }, {
1226
+ self: string;
1227
+ id: string;
1228
+ name: string;
1229
+ subtask: boolean;
1230
+ description?: string | undefined;
1231
+ iconUrl?: string | undefined;
1232
+ avatarId?: number | undefined;
1233
+ hierarchyLevel?: number | undefined;
1234
+ }>;
1235
+ project: z.ZodObject<{
1236
+ self: z.ZodString;
1237
+ id: z.ZodString;
1238
+ key: z.ZodString;
1239
+ name: z.ZodString;
1240
+ projectTypeKey: z.ZodOptional<z.ZodEnum<["software", "service_desk", "business"]>>;
1241
+ simplified: z.ZodOptional<z.ZodBoolean>;
1242
+ avatarUrls: z.ZodOptional<z.ZodObject<{
1243
+ '48x48': z.ZodOptional<z.ZodString>;
1244
+ '24x24': z.ZodOptional<z.ZodString>;
1245
+ '16x16': z.ZodOptional<z.ZodString>;
1246
+ '32x32': z.ZodOptional<z.ZodString>;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ '48x48'?: string | undefined;
1249
+ '24x24'?: string | undefined;
1250
+ '16x16'?: string | undefined;
1251
+ '32x32'?: string | undefined;
1252
+ }, {
1253
+ '48x48'?: string | undefined;
1254
+ '24x24'?: string | undefined;
1255
+ '16x16'?: string | undefined;
1256
+ '32x32'?: string | undefined;
1257
+ }>>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ key: string;
1260
+ self: string;
1261
+ id: string;
1262
+ name: string;
1263
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
1264
+ simplified?: boolean | undefined;
1265
+ avatarUrls?: {
1266
+ '48x48'?: string | undefined;
1267
+ '24x24'?: string | undefined;
1268
+ '16x16'?: string | undefined;
1269
+ '32x32'?: string | undefined;
1270
+ } | undefined;
1271
+ }, {
1272
+ key: string;
1273
+ self: string;
1274
+ id: string;
1275
+ name: string;
1276
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
1277
+ simplified?: boolean | undefined;
1278
+ avatarUrls?: {
1279
+ '48x48'?: string | undefined;
1280
+ '24x24'?: string | undefined;
1281
+ '16x16'?: string | undefined;
1282
+ '32x32'?: string | undefined;
1283
+ } | undefined;
1284
+ }>;
1285
+ status: z.ZodObject<{
1286
+ self: z.ZodString;
1287
+ id: z.ZodString;
1288
+ name: z.ZodString;
1289
+ description: z.ZodOptional<z.ZodString>;
1290
+ iconUrl: z.ZodOptional<z.ZodString>;
1291
+ statusCategory: z.ZodOptional<z.ZodObject<{
1292
+ self: z.ZodString;
1293
+ id: z.ZodNumber;
1294
+ key: z.ZodString;
1295
+ colorName: z.ZodString;
1296
+ name: z.ZodString;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ key: string;
1299
+ self: string;
1300
+ id: number;
1301
+ name: string;
1302
+ colorName: string;
1303
+ }, {
1304
+ key: string;
1305
+ self: string;
1306
+ id: number;
1307
+ name: string;
1308
+ colorName: string;
1309
+ }>>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ self: string;
1312
+ id: string;
1313
+ name: string;
1314
+ description?: string | undefined;
1315
+ iconUrl?: string | undefined;
1316
+ statusCategory?: {
1317
+ key: string;
1318
+ self: string;
1319
+ id: number;
1320
+ name: string;
1321
+ colorName: string;
1322
+ } | undefined;
1323
+ }, {
1324
+ self: string;
1325
+ id: string;
1326
+ name: string;
1327
+ description?: string | undefined;
1328
+ iconUrl?: string | undefined;
1329
+ statusCategory?: {
1330
+ key: string;
1331
+ self: string;
1332
+ id: number;
1333
+ name: string;
1334
+ colorName: string;
1335
+ } | undefined;
1336
+ }>;
1337
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1338
+ self: z.ZodString;
1339
+ id: z.ZodString;
1340
+ name: z.ZodString;
1341
+ description: z.ZodOptional<z.ZodString>;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ self: string;
1344
+ id: string;
1345
+ name: string;
1346
+ description?: string | undefined;
1347
+ }, {
1348
+ self: string;
1349
+ id: string;
1350
+ name: string;
1351
+ description?: string | undefined;
1352
+ }>>>;
1353
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1354
+ self: z.ZodString;
1355
+ id: z.ZodString;
1356
+ name: z.ZodString;
1357
+ description: z.ZodOptional<z.ZodString>;
1358
+ iconUrl: z.ZodOptional<z.ZodString>;
1359
+ }, "strip", z.ZodTypeAny, {
1360
+ self: string;
1361
+ id: string;
1362
+ name: string;
1363
+ description?: string | undefined;
1364
+ iconUrl?: string | undefined;
1365
+ }, {
1366
+ self: string;
1367
+ id: string;
1368
+ name: string;
1369
+ description?: string | undefined;
1370
+ iconUrl?: string | undefined;
1371
+ }>>>;
1372
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1373
+ self: z.ZodOptional<z.ZodString>;
1374
+ accountId: z.ZodString;
1375
+ displayName: z.ZodOptional<z.ZodString>;
1376
+ active: z.ZodOptional<z.ZodBoolean>;
1377
+ avatarUrls: z.ZodOptional<z.ZodObject<{
1378
+ "48x48": z.ZodOptional<z.ZodString>;
1379
+ "24x24": z.ZodOptional<z.ZodString>;
1380
+ "16x16": z.ZodOptional<z.ZodString>;
1381
+ "32x32": z.ZodOptional<z.ZodString>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ "48x48"?: string | undefined;
1384
+ "24x24"?: string | undefined;
1385
+ "16x16"?: string | undefined;
1386
+ "32x32"?: string | undefined;
1387
+ }, {
1388
+ "48x48"?: string | undefined;
1389
+ "24x24"?: string | undefined;
1390
+ "16x16"?: string | undefined;
1391
+ "32x32"?: string | undefined;
1392
+ }>>;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ accountId: string;
1395
+ self?: string | undefined;
1396
+ displayName?: string | undefined;
1397
+ active?: boolean | undefined;
1398
+ avatarUrls?: {
1399
+ "48x48"?: string | undefined;
1400
+ "24x24"?: string | undefined;
1401
+ "16x16"?: string | undefined;
1402
+ "32x32"?: string | undefined;
1403
+ } | undefined;
1404
+ }, {
1405
+ accountId: string;
1406
+ self?: string | undefined;
1407
+ displayName?: string | undefined;
1408
+ active?: boolean | undefined;
1409
+ avatarUrls?: {
1410
+ "48x48"?: string | undefined;
1411
+ "24x24"?: string | undefined;
1412
+ "16x16"?: string | undefined;
1413
+ "32x32"?: string | undefined;
1414
+ } | undefined;
1415
+ }>>>;
1416
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1417
+ self: z.ZodOptional<z.ZodString>;
1418
+ accountId: z.ZodString;
1419
+ displayName: z.ZodOptional<z.ZodString>;
1420
+ active: z.ZodOptional<z.ZodBoolean>;
1421
+ avatarUrls: z.ZodOptional<z.ZodObject<{
1422
+ "48x48": z.ZodOptional<z.ZodString>;
1423
+ "24x24": z.ZodOptional<z.ZodString>;
1424
+ "16x16": z.ZodOptional<z.ZodString>;
1425
+ "32x32": z.ZodOptional<z.ZodString>;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ "48x48"?: string | undefined;
1428
+ "24x24"?: string | undefined;
1429
+ "16x16"?: string | undefined;
1430
+ "32x32"?: string | undefined;
1431
+ }, {
1432
+ "48x48"?: string | undefined;
1433
+ "24x24"?: string | undefined;
1434
+ "16x16"?: string | undefined;
1435
+ "32x32"?: string | undefined;
1436
+ }>>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ accountId: string;
1439
+ self?: string | undefined;
1440
+ displayName?: string | undefined;
1441
+ active?: boolean | undefined;
1442
+ avatarUrls?: {
1443
+ "48x48"?: string | undefined;
1444
+ "24x24"?: string | undefined;
1445
+ "16x16"?: string | undefined;
1446
+ "32x32"?: string | undefined;
1447
+ } | undefined;
1448
+ }, {
1449
+ accountId: string;
1450
+ self?: string | undefined;
1451
+ displayName?: string | undefined;
1452
+ active?: boolean | undefined;
1453
+ avatarUrls?: {
1454
+ "48x48"?: string | undefined;
1455
+ "24x24"?: string | undefined;
1456
+ "16x16"?: string | undefined;
1457
+ "32x32"?: string | undefined;
1458
+ } | undefined;
1459
+ }>>>;
1460
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1461
+ self: z.ZodOptional<z.ZodString>;
1462
+ accountId: z.ZodString;
1463
+ displayName: z.ZodOptional<z.ZodString>;
1464
+ active: z.ZodOptional<z.ZodBoolean>;
1465
+ avatarUrls: z.ZodOptional<z.ZodObject<{
1466
+ "48x48": z.ZodOptional<z.ZodString>;
1467
+ "24x24": z.ZodOptional<z.ZodString>;
1468
+ "16x16": z.ZodOptional<z.ZodString>;
1469
+ "32x32": z.ZodOptional<z.ZodString>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ "48x48"?: string | undefined;
1472
+ "24x24"?: string | undefined;
1473
+ "16x16"?: string | undefined;
1474
+ "32x32"?: string | undefined;
1475
+ }, {
1476
+ "48x48"?: string | undefined;
1477
+ "24x24"?: string | undefined;
1478
+ "16x16"?: string | undefined;
1479
+ "32x32"?: string | undefined;
1480
+ }>>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ accountId: string;
1483
+ self?: string | undefined;
1484
+ displayName?: string | undefined;
1485
+ active?: boolean | undefined;
1486
+ avatarUrls?: {
1487
+ "48x48"?: string | undefined;
1488
+ "24x24"?: string | undefined;
1489
+ "16x16"?: string | undefined;
1490
+ "32x32"?: string | undefined;
1491
+ } | undefined;
1492
+ }, {
1493
+ accountId: string;
1494
+ self?: string | undefined;
1495
+ displayName?: string | undefined;
1496
+ active?: boolean | undefined;
1497
+ avatarUrls?: {
1498
+ "48x48"?: string | undefined;
1499
+ "24x24"?: string | undefined;
1500
+ "16x16"?: string | undefined;
1501
+ "32x32"?: string | undefined;
1502
+ } | undefined;
1503
+ }>>>;
1504
+ parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1505
+ id: z.ZodOptional<z.ZodString>;
1506
+ key: z.ZodString;
1507
+ self: z.ZodOptional<z.ZodString>;
1508
+ fields: z.ZodOptional<z.ZodObject<{
1509
+ summary: z.ZodOptional<z.ZodString>;
1510
+ status: z.ZodOptional<z.ZodObject<{
1511
+ self: z.ZodString;
1512
+ id: z.ZodString;
1513
+ name: z.ZodString;
1514
+ description: z.ZodOptional<z.ZodString>;
1515
+ iconUrl: z.ZodOptional<z.ZodString>;
1516
+ statusCategory: z.ZodOptional<z.ZodObject<{
1517
+ self: z.ZodString;
1518
+ id: z.ZodNumber;
1519
+ key: z.ZodString;
1520
+ colorName: z.ZodString;
1521
+ name: z.ZodString;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ key: string;
1524
+ self: string;
1525
+ id: number;
1526
+ name: string;
1527
+ colorName: string;
1528
+ }, {
1529
+ key: string;
1530
+ self: string;
1531
+ id: number;
1532
+ name: string;
1533
+ colorName: string;
1534
+ }>>;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ self: string;
1537
+ id: string;
1538
+ name: string;
1539
+ description?: string | undefined;
1540
+ iconUrl?: string | undefined;
1541
+ statusCategory?: {
1542
+ key: string;
1543
+ self: string;
1544
+ id: number;
1545
+ name: string;
1546
+ colorName: string;
1547
+ } | undefined;
1548
+ }, {
1549
+ self: string;
1550
+ id: string;
1551
+ name: string;
1552
+ description?: string | undefined;
1553
+ iconUrl?: string | undefined;
1554
+ statusCategory?: {
1555
+ key: string;
1556
+ self: string;
1557
+ id: number;
1558
+ name: string;
1559
+ colorName: string;
1560
+ } | undefined;
1561
+ }>>;
1562
+ issuetype: z.ZodOptional<z.ZodObject<{
1563
+ self: z.ZodString;
1564
+ id: z.ZodString;
1565
+ name: z.ZodString;
1566
+ description: z.ZodOptional<z.ZodString>;
1567
+ iconUrl: z.ZodOptional<z.ZodString>;
1568
+ subtask: z.ZodBoolean;
1569
+ avatarId: z.ZodOptional<z.ZodNumber>;
1570
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ self: string;
1573
+ id: string;
1574
+ name: string;
1575
+ subtask: boolean;
1576
+ description?: string | undefined;
1577
+ iconUrl?: string | undefined;
1578
+ avatarId?: number | undefined;
1579
+ hierarchyLevel?: number | undefined;
1580
+ }, {
1581
+ self: string;
1582
+ id: string;
1583
+ name: string;
1584
+ subtask: boolean;
1585
+ description?: string | undefined;
1586
+ iconUrl?: string | undefined;
1587
+ avatarId?: number | undefined;
1588
+ hierarchyLevel?: number | undefined;
1589
+ }>>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ status?: {
1592
+ self: string;
1593
+ id: string;
1594
+ name: string;
1595
+ description?: string | undefined;
1596
+ iconUrl?: string | undefined;
1597
+ statusCategory?: {
1598
+ key: string;
1599
+ self: string;
1600
+ id: number;
1601
+ name: string;
1602
+ colorName: string;
1603
+ } | undefined;
1604
+ } | undefined;
1605
+ summary?: string | undefined;
1606
+ issuetype?: {
1607
+ self: string;
1608
+ id: string;
1609
+ name: string;
1610
+ subtask: boolean;
1611
+ description?: string | undefined;
1612
+ iconUrl?: string | undefined;
1613
+ avatarId?: number | undefined;
1614
+ hierarchyLevel?: number | undefined;
1615
+ } | undefined;
1616
+ }, {
1617
+ status?: {
1618
+ self: string;
1619
+ id: string;
1620
+ name: string;
1621
+ description?: string | undefined;
1622
+ iconUrl?: string | undefined;
1623
+ statusCategory?: {
1624
+ key: string;
1625
+ self: string;
1626
+ id: number;
1627
+ name: string;
1628
+ colorName: string;
1629
+ } | undefined;
1630
+ } | undefined;
1631
+ summary?: string | undefined;
1632
+ issuetype?: {
1633
+ self: string;
1634
+ id: string;
1635
+ name: string;
1636
+ subtask: boolean;
1637
+ description?: string | undefined;
1638
+ iconUrl?: string | undefined;
1639
+ avatarId?: number | undefined;
1640
+ hierarchyLevel?: number | undefined;
1641
+ } | undefined;
1642
+ }>>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ key: string;
1645
+ self?: string | undefined;
1646
+ id?: string | undefined;
1647
+ fields?: {
1648
+ status?: {
1649
+ self: string;
1650
+ id: string;
1651
+ name: string;
1652
+ description?: string | undefined;
1653
+ iconUrl?: string | undefined;
1654
+ statusCategory?: {
1655
+ key: string;
1656
+ self: string;
1657
+ id: number;
1658
+ name: string;
1659
+ colorName: string;
1660
+ } | undefined;
1661
+ } | undefined;
1662
+ summary?: string | undefined;
1663
+ issuetype?: {
1664
+ self: string;
1665
+ id: string;
1666
+ name: string;
1667
+ subtask: boolean;
1668
+ description?: string | undefined;
1669
+ iconUrl?: string | undefined;
1670
+ avatarId?: number | undefined;
1671
+ hierarchyLevel?: number | undefined;
1672
+ } | undefined;
1673
+ } | undefined;
1674
+ }, {
1675
+ key: string;
1676
+ self?: string | undefined;
1677
+ id?: string | undefined;
1678
+ fields?: {
1679
+ status?: {
1680
+ self: string;
1681
+ id: string;
1682
+ name: string;
1683
+ description?: string | undefined;
1684
+ iconUrl?: string | undefined;
1685
+ statusCategory?: {
1686
+ key: string;
1687
+ self: string;
1688
+ id: number;
1689
+ name: string;
1690
+ colorName: string;
1691
+ } | undefined;
1692
+ } | undefined;
1693
+ summary?: string | undefined;
1694
+ issuetype?: {
1695
+ self: string;
1696
+ id: string;
1697
+ name: string;
1698
+ subtask: boolean;
1699
+ description?: string | undefined;
1700
+ iconUrl?: string | undefined;
1701
+ avatarId?: number | undefined;
1702
+ hierarchyLevel?: number | undefined;
1703
+ } | undefined;
1704
+ } | undefined;
1705
+ }>>>;
1706
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1707
+ id: z.ZodOptional<z.ZodString>;
1708
+ key: z.ZodString;
1709
+ self: z.ZodOptional<z.ZodString>;
1710
+ fields: z.ZodOptional<z.ZodObject<{
1711
+ summary: z.ZodOptional<z.ZodString>;
1712
+ status: z.ZodOptional<z.ZodObject<{
1713
+ self: z.ZodString;
1714
+ id: z.ZodString;
1715
+ name: z.ZodString;
1716
+ description: z.ZodOptional<z.ZodString>;
1717
+ iconUrl: z.ZodOptional<z.ZodString>;
1718
+ statusCategory: z.ZodOptional<z.ZodObject<{
1719
+ self: z.ZodString;
1720
+ id: z.ZodNumber;
1721
+ key: z.ZodString;
1722
+ colorName: z.ZodString;
1723
+ name: z.ZodString;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ key: string;
1726
+ self: string;
1727
+ id: number;
1728
+ name: string;
1729
+ colorName: string;
1730
+ }, {
1731
+ key: string;
1732
+ self: string;
1733
+ id: number;
1734
+ name: string;
1735
+ colorName: string;
1736
+ }>>;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ self: string;
1739
+ id: string;
1740
+ name: string;
1741
+ description?: string | undefined;
1742
+ iconUrl?: string | undefined;
1743
+ statusCategory?: {
1744
+ key: string;
1745
+ self: string;
1746
+ id: number;
1747
+ name: string;
1748
+ colorName: string;
1749
+ } | undefined;
1750
+ }, {
1751
+ self: string;
1752
+ id: string;
1753
+ name: string;
1754
+ description?: string | undefined;
1755
+ iconUrl?: string | undefined;
1756
+ statusCategory?: {
1757
+ key: string;
1758
+ self: string;
1759
+ id: number;
1760
+ name: string;
1761
+ colorName: string;
1762
+ } | undefined;
1763
+ }>>;
1764
+ issuetype: z.ZodOptional<z.ZodObject<{
1765
+ self: z.ZodString;
1766
+ id: z.ZodString;
1767
+ name: z.ZodString;
1768
+ description: z.ZodOptional<z.ZodString>;
1769
+ iconUrl: z.ZodOptional<z.ZodString>;
1770
+ subtask: z.ZodBoolean;
1771
+ avatarId: z.ZodOptional<z.ZodNumber>;
1772
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ self: string;
1775
+ id: string;
1776
+ name: string;
1777
+ subtask: boolean;
1778
+ description?: string | undefined;
1779
+ iconUrl?: string | undefined;
1780
+ avatarId?: number | undefined;
1781
+ hierarchyLevel?: number | undefined;
1782
+ }, {
1783
+ self: string;
1784
+ id: string;
1785
+ name: string;
1786
+ subtask: boolean;
1787
+ description?: string | undefined;
1788
+ iconUrl?: string | undefined;
1789
+ avatarId?: number | undefined;
1790
+ hierarchyLevel?: number | undefined;
1791
+ }>>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ status?: {
1794
+ self: string;
1795
+ id: string;
1796
+ name: string;
1797
+ description?: string | undefined;
1798
+ iconUrl?: string | undefined;
1799
+ statusCategory?: {
1800
+ key: string;
1801
+ self: string;
1802
+ id: number;
1803
+ name: string;
1804
+ colorName: string;
1805
+ } | undefined;
1806
+ } | undefined;
1807
+ summary?: string | undefined;
1808
+ issuetype?: {
1809
+ self: string;
1810
+ id: string;
1811
+ name: string;
1812
+ subtask: boolean;
1813
+ description?: string | undefined;
1814
+ iconUrl?: string | undefined;
1815
+ avatarId?: number | undefined;
1816
+ hierarchyLevel?: number | undefined;
1817
+ } | undefined;
1818
+ }, {
1819
+ status?: {
1820
+ self: string;
1821
+ id: string;
1822
+ name: string;
1823
+ description?: string | undefined;
1824
+ iconUrl?: string | undefined;
1825
+ statusCategory?: {
1826
+ key: string;
1827
+ self: string;
1828
+ id: number;
1829
+ name: string;
1830
+ colorName: string;
1831
+ } | undefined;
1832
+ } | undefined;
1833
+ summary?: string | undefined;
1834
+ issuetype?: {
1835
+ self: string;
1836
+ id: string;
1837
+ name: string;
1838
+ subtask: boolean;
1839
+ description?: string | undefined;
1840
+ iconUrl?: string | undefined;
1841
+ avatarId?: number | undefined;
1842
+ hierarchyLevel?: number | undefined;
1843
+ } | undefined;
1844
+ }>>;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ key: string;
1847
+ self?: string | undefined;
1848
+ id?: string | undefined;
1849
+ fields?: {
1850
+ status?: {
1851
+ self: string;
1852
+ id: string;
1853
+ name: string;
1854
+ description?: string | undefined;
1855
+ iconUrl?: string | undefined;
1856
+ statusCategory?: {
1857
+ key: string;
1858
+ self: string;
1859
+ id: number;
1860
+ name: string;
1861
+ colorName: string;
1862
+ } | undefined;
1863
+ } | undefined;
1864
+ summary?: string | undefined;
1865
+ issuetype?: {
1866
+ self: string;
1867
+ id: string;
1868
+ name: string;
1869
+ subtask: boolean;
1870
+ description?: string | undefined;
1871
+ iconUrl?: string | undefined;
1872
+ avatarId?: number | undefined;
1873
+ hierarchyLevel?: number | undefined;
1874
+ } | undefined;
1875
+ } | undefined;
1876
+ }, {
1877
+ key: string;
1878
+ self?: string | undefined;
1879
+ id?: string | undefined;
1880
+ fields?: {
1881
+ status?: {
1882
+ self: string;
1883
+ id: string;
1884
+ name: string;
1885
+ description?: string | undefined;
1886
+ iconUrl?: string | undefined;
1887
+ statusCategory?: {
1888
+ key: string;
1889
+ self: string;
1890
+ id: number;
1891
+ name: string;
1892
+ colorName: string;
1893
+ } | undefined;
1894
+ } | undefined;
1895
+ summary?: string | undefined;
1896
+ issuetype?: {
1897
+ self: string;
1898
+ id: string;
1899
+ name: string;
1900
+ subtask: boolean;
1901
+ description?: string | undefined;
1902
+ iconUrl?: string | undefined;
1903
+ avatarId?: number | undefined;
1904
+ hierarchyLevel?: number | undefined;
1905
+ } | undefined;
1906
+ } | undefined;
1907
+ }>, "many">>;
1908
+ fixVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1909
+ self: z.ZodString;
1910
+ id: z.ZodString;
1911
+ name: z.ZodString;
1912
+ description: z.ZodOptional<z.ZodString>;
1913
+ archived: z.ZodOptional<z.ZodBoolean>;
1914
+ released: z.ZodOptional<z.ZodBoolean>;
1915
+ releaseDate: z.ZodOptional<z.ZodString>;
1916
+ startDate: z.ZodOptional<z.ZodString>;
1917
+ projectId: z.ZodOptional<z.ZodNumber>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ self: string;
1920
+ id: string;
1921
+ name: string;
1922
+ description?: string | undefined;
1923
+ archived?: boolean | undefined;
1924
+ released?: boolean | undefined;
1925
+ releaseDate?: string | undefined;
1926
+ startDate?: string | undefined;
1927
+ projectId?: number | undefined;
1928
+ }, {
1929
+ self: string;
1930
+ id: string;
1931
+ name: string;
1932
+ description?: string | undefined;
1933
+ archived?: boolean | undefined;
1934
+ released?: boolean | undefined;
1935
+ releaseDate?: string | undefined;
1936
+ startDate?: string | undefined;
1937
+ projectId?: number | undefined;
1938
+ }>, "many">>;
1939
+ versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1940
+ self: z.ZodString;
1941
+ id: z.ZodString;
1942
+ name: z.ZodString;
1943
+ description: z.ZodOptional<z.ZodString>;
1944
+ archived: z.ZodOptional<z.ZodBoolean>;
1945
+ released: z.ZodOptional<z.ZodBoolean>;
1946
+ releaseDate: z.ZodOptional<z.ZodString>;
1947
+ startDate: z.ZodOptional<z.ZodString>;
1948
+ projectId: z.ZodOptional<z.ZodNumber>;
1949
+ }, "strip", z.ZodTypeAny, {
1950
+ self: string;
1951
+ id: string;
1952
+ name: string;
1953
+ description?: string | undefined;
1954
+ archived?: boolean | undefined;
1955
+ released?: boolean | undefined;
1956
+ releaseDate?: string | undefined;
1957
+ startDate?: string | undefined;
1958
+ projectId?: number | undefined;
1959
+ }, {
1960
+ self: string;
1961
+ id: string;
1962
+ name: string;
1963
+ description?: string | undefined;
1964
+ archived?: boolean | undefined;
1965
+ released?: boolean | undefined;
1966
+ releaseDate?: string | undefined;
1967
+ startDate?: string | undefined;
1968
+ projectId?: number | undefined;
1969
+ }>, "many">>;
1970
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
1971
+ self: z.ZodString;
1972
+ id: z.ZodString;
1973
+ name: z.ZodString;
1974
+ description: z.ZodOptional<z.ZodString>;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ self: string;
1977
+ id: string;
1978
+ name: string;
1979
+ description?: string | undefined;
1980
+ }, {
1981
+ self: string;
1982
+ id: string;
1983
+ name: string;
1984
+ description?: string | undefined;
1985
+ }>, "many">>;
1986
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1987
+ created: z.ZodNullable<z.ZodString>;
1988
+ updated: z.ZodNullable<z.ZodString>;
1989
+ resolutiondate: z.ZodNullable<z.ZodString>;
1990
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1991
+ timeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1992
+ timeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1993
+ timespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1994
+ aggregatetimeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1995
+ aggregatetimeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1996
+ aggregatetimespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1997
+ workratio: z.ZodOptional<z.ZodNumber>;
1998
+ votes: z.ZodOptional<z.ZodObject<{
1999
+ self: z.ZodString;
2000
+ votes: z.ZodNumber;
2001
+ hasVoted: z.ZodBoolean;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ self: string;
2004
+ votes: number;
2005
+ hasVoted: boolean;
2006
+ }, {
2007
+ self: string;
2008
+ votes: number;
2009
+ hasVoted: boolean;
2010
+ }>>;
2011
+ watches: z.ZodOptional<z.ZodObject<{
2012
+ self: z.ZodString;
2013
+ watchCount: z.ZodNumber;
2014
+ isWatching: z.ZodBoolean;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ self: string;
2017
+ watchCount: number;
2018
+ isWatching: boolean;
2019
+ }, {
2020
+ self: string;
2021
+ watchCount: number;
2022
+ isWatching: boolean;
2023
+ }>>;
2024
+ progress: z.ZodOptional<z.ZodObject<{
2025
+ progress: z.ZodNumber;
2026
+ total: z.ZodNumber;
2027
+ percent: z.ZodOptional<z.ZodNumber>;
2028
+ }, "strip", z.ZodTypeAny, {
2029
+ progress: number;
2030
+ total: number;
2031
+ percent?: number | undefined;
2032
+ }, {
2033
+ progress: number;
2034
+ total: number;
2035
+ percent?: number | undefined;
2036
+ }>>;
2037
+ aggregateprogress: z.ZodOptional<z.ZodObject<{
2038
+ progress: z.ZodNumber;
2039
+ total: z.ZodNumber;
2040
+ percent: z.ZodOptional<z.ZodNumber>;
2041
+ }, "strip", z.ZodTypeAny, {
2042
+ progress: number;
2043
+ total: number;
2044
+ percent?: number | undefined;
2045
+ }, {
2046
+ progress: number;
2047
+ total: number;
2048
+ percent?: number | undefined;
2049
+ }>>;
2050
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2051
+ summary: z.ZodString;
2052
+ description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2053
+ version: z.ZodLiteral<1>;
2054
+ type: z.ZodLiteral<"doc">;
2055
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
2056
+ }, "strip", z.ZodTypeAny, {
2057
+ type: "doc";
2058
+ content: _felixgeelhaar_sdk_core.AdfNode[];
2059
+ version: 1;
2060
+ }, {
2061
+ type: "doc";
2062
+ content: _felixgeelhaar_sdk_core.AdfNode[];
2063
+ version: 1;
2064
+ }>, z.ZodString]>>>;
2065
+ environment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2066
+ version: z.ZodLiteral<1>;
2067
+ type: z.ZodLiteral<"doc">;
2068
+ content: z.ZodArray<z.ZodType<_felixgeelhaar_sdk_core.AdfNode, z.ZodTypeDef, _felixgeelhaar_sdk_core.AdfNode>, "many">;
2069
+ }, "strip", z.ZodTypeAny, {
2070
+ type: "doc";
2071
+ content: _felixgeelhaar_sdk_core.AdfNode[];
2072
+ version: 1;
2073
+ }, {
2074
+ type: "doc";
2075
+ content: _felixgeelhaar_sdk_core.AdfNode[];
2076
+ version: 1;
2077
+ }>, z.ZodString]>>>;
2078
+ issuetype: z.ZodObject<{
2079
+ self: z.ZodString;
2080
+ id: z.ZodString;
2081
+ name: z.ZodString;
2082
+ description: z.ZodOptional<z.ZodString>;
2083
+ iconUrl: z.ZodOptional<z.ZodString>;
2084
+ subtask: z.ZodBoolean;
2085
+ avatarId: z.ZodOptional<z.ZodNumber>;
2086
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
2087
+ }, "strip", z.ZodTypeAny, {
2088
+ self: string;
2089
+ id: string;
2090
+ name: string;
2091
+ subtask: boolean;
2092
+ description?: string | undefined;
2093
+ iconUrl?: string | undefined;
2094
+ avatarId?: number | undefined;
2095
+ hierarchyLevel?: number | undefined;
2096
+ }, {
2097
+ self: string;
2098
+ id: string;
2099
+ name: string;
2100
+ subtask: boolean;
2101
+ description?: string | undefined;
2102
+ iconUrl?: string | undefined;
2103
+ avatarId?: number | undefined;
2104
+ hierarchyLevel?: number | undefined;
2105
+ }>;
2106
+ project: z.ZodObject<{
2107
+ self: z.ZodString;
2108
+ id: z.ZodString;
2109
+ key: z.ZodString;
2110
+ name: z.ZodString;
2111
+ projectTypeKey: z.ZodOptional<z.ZodEnum<["software", "service_desk", "business"]>>;
2112
+ simplified: z.ZodOptional<z.ZodBoolean>;
2113
+ avatarUrls: z.ZodOptional<z.ZodObject<{
2114
+ '48x48': z.ZodOptional<z.ZodString>;
2115
+ '24x24': z.ZodOptional<z.ZodString>;
2116
+ '16x16': z.ZodOptional<z.ZodString>;
2117
+ '32x32': z.ZodOptional<z.ZodString>;
2118
+ }, "strip", z.ZodTypeAny, {
2119
+ '48x48'?: string | undefined;
2120
+ '24x24'?: string | undefined;
2121
+ '16x16'?: string | undefined;
2122
+ '32x32'?: string | undefined;
2123
+ }, {
2124
+ '48x48'?: string | undefined;
2125
+ '24x24'?: string | undefined;
2126
+ '16x16'?: string | undefined;
2127
+ '32x32'?: string | undefined;
2128
+ }>>;
2129
+ }, "strip", z.ZodTypeAny, {
2130
+ key: string;
2131
+ self: string;
2132
+ id: string;
2133
+ name: string;
2134
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
2135
+ simplified?: boolean | undefined;
2136
+ avatarUrls?: {
2137
+ '48x48'?: string | undefined;
2138
+ '24x24'?: string | undefined;
2139
+ '16x16'?: string | undefined;
2140
+ '32x32'?: string | undefined;
2141
+ } | undefined;
2142
+ }, {
2143
+ key: string;
2144
+ self: string;
2145
+ id: string;
2146
+ name: string;
2147
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
2148
+ simplified?: boolean | undefined;
2149
+ avatarUrls?: {
2150
+ '48x48'?: string | undefined;
2151
+ '24x24'?: string | undefined;
2152
+ '16x16'?: string | undefined;
2153
+ '32x32'?: string | undefined;
2154
+ } | undefined;
2155
+ }>;
2156
+ status: z.ZodObject<{
2157
+ self: z.ZodString;
2158
+ id: z.ZodString;
2159
+ name: z.ZodString;
2160
+ description: z.ZodOptional<z.ZodString>;
2161
+ iconUrl: z.ZodOptional<z.ZodString>;
2162
+ statusCategory: z.ZodOptional<z.ZodObject<{
2163
+ self: z.ZodString;
2164
+ id: z.ZodNumber;
2165
+ key: z.ZodString;
2166
+ colorName: z.ZodString;
2167
+ name: z.ZodString;
2168
+ }, "strip", z.ZodTypeAny, {
2169
+ key: string;
2170
+ self: string;
2171
+ id: number;
2172
+ name: string;
2173
+ colorName: string;
2174
+ }, {
2175
+ key: string;
2176
+ self: string;
2177
+ id: number;
2178
+ name: string;
2179
+ colorName: string;
2180
+ }>>;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ self: string;
2183
+ id: string;
2184
+ name: string;
2185
+ description?: string | undefined;
2186
+ iconUrl?: string | undefined;
2187
+ statusCategory?: {
2188
+ key: string;
2189
+ self: string;
2190
+ id: number;
2191
+ name: string;
2192
+ colorName: string;
2193
+ } | undefined;
2194
+ }, {
2195
+ self: string;
2196
+ id: string;
2197
+ name: string;
2198
+ description?: string | undefined;
2199
+ iconUrl?: string | undefined;
2200
+ statusCategory?: {
2201
+ key: string;
2202
+ self: string;
2203
+ id: number;
2204
+ name: string;
2205
+ colorName: string;
2206
+ } | undefined;
2207
+ }>;
2208
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2209
+ self: z.ZodString;
2210
+ id: z.ZodString;
2211
+ name: z.ZodString;
2212
+ description: z.ZodOptional<z.ZodString>;
2213
+ }, "strip", z.ZodTypeAny, {
2214
+ self: string;
2215
+ id: string;
2216
+ name: string;
2217
+ description?: string | undefined;
2218
+ }, {
2219
+ self: string;
2220
+ id: string;
2221
+ name: string;
2222
+ description?: string | undefined;
2223
+ }>>>;
2224
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2225
+ self: z.ZodString;
2226
+ id: z.ZodString;
2227
+ name: z.ZodString;
2228
+ description: z.ZodOptional<z.ZodString>;
2229
+ iconUrl: z.ZodOptional<z.ZodString>;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ self: string;
2232
+ id: string;
2233
+ name: string;
2234
+ description?: string | undefined;
2235
+ iconUrl?: string | undefined;
2236
+ }, {
2237
+ self: string;
2238
+ id: string;
2239
+ name: string;
2240
+ description?: string | undefined;
2241
+ iconUrl?: string | undefined;
2242
+ }>>>;
2243
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2244
+ self: z.ZodOptional<z.ZodString>;
2245
+ accountId: z.ZodString;
2246
+ displayName: z.ZodOptional<z.ZodString>;
2247
+ active: z.ZodOptional<z.ZodBoolean>;
2248
+ avatarUrls: z.ZodOptional<z.ZodObject<{
2249
+ "48x48": z.ZodOptional<z.ZodString>;
2250
+ "24x24": z.ZodOptional<z.ZodString>;
2251
+ "16x16": z.ZodOptional<z.ZodString>;
2252
+ "32x32": z.ZodOptional<z.ZodString>;
2253
+ }, "strip", z.ZodTypeAny, {
2254
+ "48x48"?: string | undefined;
2255
+ "24x24"?: string | undefined;
2256
+ "16x16"?: string | undefined;
2257
+ "32x32"?: string | undefined;
2258
+ }, {
2259
+ "48x48"?: string | undefined;
2260
+ "24x24"?: string | undefined;
2261
+ "16x16"?: string | undefined;
2262
+ "32x32"?: string | undefined;
2263
+ }>>;
2264
+ }, "strip", z.ZodTypeAny, {
2265
+ accountId: string;
2266
+ self?: string | undefined;
2267
+ displayName?: string | undefined;
2268
+ active?: boolean | undefined;
2269
+ avatarUrls?: {
2270
+ "48x48"?: string | undefined;
2271
+ "24x24"?: string | undefined;
2272
+ "16x16"?: string | undefined;
2273
+ "32x32"?: string | undefined;
2274
+ } | undefined;
2275
+ }, {
2276
+ accountId: string;
2277
+ self?: string | undefined;
2278
+ displayName?: string | undefined;
2279
+ active?: boolean | undefined;
2280
+ avatarUrls?: {
2281
+ "48x48"?: string | undefined;
2282
+ "24x24"?: string | undefined;
2283
+ "16x16"?: string | undefined;
2284
+ "32x32"?: string | undefined;
2285
+ } | undefined;
2286
+ }>>>;
2287
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2288
+ self: z.ZodOptional<z.ZodString>;
2289
+ accountId: z.ZodString;
2290
+ displayName: z.ZodOptional<z.ZodString>;
2291
+ active: z.ZodOptional<z.ZodBoolean>;
2292
+ avatarUrls: z.ZodOptional<z.ZodObject<{
2293
+ "48x48": z.ZodOptional<z.ZodString>;
2294
+ "24x24": z.ZodOptional<z.ZodString>;
2295
+ "16x16": z.ZodOptional<z.ZodString>;
2296
+ "32x32": z.ZodOptional<z.ZodString>;
2297
+ }, "strip", z.ZodTypeAny, {
2298
+ "48x48"?: string | undefined;
2299
+ "24x24"?: string | undefined;
2300
+ "16x16"?: string | undefined;
2301
+ "32x32"?: string | undefined;
2302
+ }, {
2303
+ "48x48"?: string | undefined;
2304
+ "24x24"?: string | undefined;
2305
+ "16x16"?: string | undefined;
2306
+ "32x32"?: string | undefined;
2307
+ }>>;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ accountId: string;
2310
+ self?: string | undefined;
2311
+ displayName?: string | undefined;
2312
+ active?: boolean | undefined;
2313
+ avatarUrls?: {
2314
+ "48x48"?: string | undefined;
2315
+ "24x24"?: string | undefined;
2316
+ "16x16"?: string | undefined;
2317
+ "32x32"?: string | undefined;
2318
+ } | undefined;
2319
+ }, {
2320
+ accountId: string;
2321
+ self?: string | undefined;
2322
+ displayName?: string | undefined;
2323
+ active?: boolean | undefined;
2324
+ avatarUrls?: {
2325
+ "48x48"?: string | undefined;
2326
+ "24x24"?: string | undefined;
2327
+ "16x16"?: string | undefined;
2328
+ "32x32"?: string | undefined;
2329
+ } | undefined;
2330
+ }>>>;
2331
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2332
+ self: z.ZodOptional<z.ZodString>;
2333
+ accountId: z.ZodString;
2334
+ displayName: z.ZodOptional<z.ZodString>;
2335
+ active: z.ZodOptional<z.ZodBoolean>;
2336
+ avatarUrls: z.ZodOptional<z.ZodObject<{
2337
+ "48x48": z.ZodOptional<z.ZodString>;
2338
+ "24x24": z.ZodOptional<z.ZodString>;
2339
+ "16x16": z.ZodOptional<z.ZodString>;
2340
+ "32x32": z.ZodOptional<z.ZodString>;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ "48x48"?: string | undefined;
2343
+ "24x24"?: string | undefined;
2344
+ "16x16"?: string | undefined;
2345
+ "32x32"?: string | undefined;
2346
+ }, {
2347
+ "48x48"?: string | undefined;
2348
+ "24x24"?: string | undefined;
2349
+ "16x16"?: string | undefined;
2350
+ "32x32"?: string | undefined;
2351
+ }>>;
2352
+ }, "strip", z.ZodTypeAny, {
2353
+ accountId: string;
2354
+ self?: string | undefined;
2355
+ displayName?: string | undefined;
2356
+ active?: boolean | undefined;
2357
+ avatarUrls?: {
2358
+ "48x48"?: string | undefined;
2359
+ "24x24"?: string | undefined;
2360
+ "16x16"?: string | undefined;
2361
+ "32x32"?: string | undefined;
2362
+ } | undefined;
2363
+ }, {
2364
+ accountId: string;
2365
+ self?: string | undefined;
2366
+ displayName?: string | undefined;
2367
+ active?: boolean | undefined;
2368
+ avatarUrls?: {
2369
+ "48x48"?: string | undefined;
2370
+ "24x24"?: string | undefined;
2371
+ "16x16"?: string | undefined;
2372
+ "32x32"?: string | undefined;
2373
+ } | undefined;
2374
+ }>>>;
2375
+ parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2376
+ id: z.ZodOptional<z.ZodString>;
2377
+ key: z.ZodString;
2378
+ self: z.ZodOptional<z.ZodString>;
2379
+ fields: z.ZodOptional<z.ZodObject<{
2380
+ summary: z.ZodOptional<z.ZodString>;
2381
+ status: z.ZodOptional<z.ZodObject<{
2382
+ self: z.ZodString;
2383
+ id: z.ZodString;
2384
+ name: z.ZodString;
2385
+ description: z.ZodOptional<z.ZodString>;
2386
+ iconUrl: z.ZodOptional<z.ZodString>;
2387
+ statusCategory: z.ZodOptional<z.ZodObject<{
2388
+ self: z.ZodString;
2389
+ id: z.ZodNumber;
2390
+ key: z.ZodString;
2391
+ colorName: z.ZodString;
2392
+ name: z.ZodString;
2393
+ }, "strip", z.ZodTypeAny, {
2394
+ key: string;
2395
+ self: string;
2396
+ id: number;
2397
+ name: string;
2398
+ colorName: string;
2399
+ }, {
2400
+ key: string;
2401
+ self: string;
2402
+ id: number;
2403
+ name: string;
2404
+ colorName: string;
2405
+ }>>;
2406
+ }, "strip", z.ZodTypeAny, {
2407
+ self: string;
2408
+ id: string;
2409
+ name: string;
2410
+ description?: string | undefined;
2411
+ iconUrl?: string | undefined;
2412
+ statusCategory?: {
2413
+ key: string;
2414
+ self: string;
2415
+ id: number;
2416
+ name: string;
2417
+ colorName: string;
2418
+ } | undefined;
2419
+ }, {
2420
+ self: string;
2421
+ id: string;
2422
+ name: string;
2423
+ description?: string | undefined;
2424
+ iconUrl?: string | undefined;
2425
+ statusCategory?: {
2426
+ key: string;
2427
+ self: string;
2428
+ id: number;
2429
+ name: string;
2430
+ colorName: string;
2431
+ } | undefined;
2432
+ }>>;
2433
+ issuetype: z.ZodOptional<z.ZodObject<{
2434
+ self: z.ZodString;
2435
+ id: z.ZodString;
2436
+ name: z.ZodString;
2437
+ description: z.ZodOptional<z.ZodString>;
2438
+ iconUrl: z.ZodOptional<z.ZodString>;
2439
+ subtask: z.ZodBoolean;
2440
+ avatarId: z.ZodOptional<z.ZodNumber>;
2441
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
2442
+ }, "strip", z.ZodTypeAny, {
2443
+ self: string;
2444
+ id: string;
2445
+ name: string;
2446
+ subtask: boolean;
2447
+ description?: string | undefined;
2448
+ iconUrl?: string | undefined;
2449
+ avatarId?: number | undefined;
2450
+ hierarchyLevel?: number | undefined;
2451
+ }, {
2452
+ self: string;
2453
+ id: string;
2454
+ name: string;
2455
+ subtask: boolean;
2456
+ description?: string | undefined;
2457
+ iconUrl?: string | undefined;
2458
+ avatarId?: number | undefined;
2459
+ hierarchyLevel?: number | undefined;
2460
+ }>>;
2461
+ }, "strip", z.ZodTypeAny, {
2462
+ status?: {
2463
+ self: string;
2464
+ id: string;
2465
+ name: string;
2466
+ description?: string | undefined;
2467
+ iconUrl?: string | undefined;
2468
+ statusCategory?: {
2469
+ key: string;
2470
+ self: string;
2471
+ id: number;
2472
+ name: string;
2473
+ colorName: string;
2474
+ } | undefined;
2475
+ } | undefined;
2476
+ summary?: string | undefined;
2477
+ issuetype?: {
2478
+ self: string;
2479
+ id: string;
2480
+ name: string;
2481
+ subtask: boolean;
2482
+ description?: string | undefined;
2483
+ iconUrl?: string | undefined;
2484
+ avatarId?: number | undefined;
2485
+ hierarchyLevel?: number | undefined;
2486
+ } | undefined;
2487
+ }, {
2488
+ status?: {
2489
+ self: string;
2490
+ id: string;
2491
+ name: string;
2492
+ description?: string | undefined;
2493
+ iconUrl?: string | undefined;
2494
+ statusCategory?: {
2495
+ key: string;
2496
+ self: string;
2497
+ id: number;
2498
+ name: string;
2499
+ colorName: string;
2500
+ } | undefined;
2501
+ } | undefined;
2502
+ summary?: string | undefined;
2503
+ issuetype?: {
2504
+ self: string;
2505
+ id: string;
2506
+ name: string;
2507
+ subtask: boolean;
2508
+ description?: string | undefined;
2509
+ iconUrl?: string | undefined;
2510
+ avatarId?: number | undefined;
2511
+ hierarchyLevel?: number | undefined;
2512
+ } | undefined;
2513
+ }>>;
2514
+ }, "strip", z.ZodTypeAny, {
2515
+ key: string;
2516
+ self?: string | undefined;
2517
+ id?: string | undefined;
2518
+ fields?: {
2519
+ status?: {
2520
+ self: string;
2521
+ id: string;
2522
+ name: string;
2523
+ description?: string | undefined;
2524
+ iconUrl?: string | undefined;
2525
+ statusCategory?: {
2526
+ key: string;
2527
+ self: string;
2528
+ id: number;
2529
+ name: string;
2530
+ colorName: string;
2531
+ } | undefined;
2532
+ } | undefined;
2533
+ summary?: string | undefined;
2534
+ issuetype?: {
2535
+ self: string;
2536
+ id: string;
2537
+ name: string;
2538
+ subtask: boolean;
2539
+ description?: string | undefined;
2540
+ iconUrl?: string | undefined;
2541
+ avatarId?: number | undefined;
2542
+ hierarchyLevel?: number | undefined;
2543
+ } | undefined;
2544
+ } | undefined;
2545
+ }, {
2546
+ key: string;
2547
+ self?: string | undefined;
2548
+ id?: string | undefined;
2549
+ fields?: {
2550
+ status?: {
2551
+ self: string;
2552
+ id: string;
2553
+ name: string;
2554
+ description?: string | undefined;
2555
+ iconUrl?: string | undefined;
2556
+ statusCategory?: {
2557
+ key: string;
2558
+ self: string;
2559
+ id: number;
2560
+ name: string;
2561
+ colorName: string;
2562
+ } | undefined;
2563
+ } | undefined;
2564
+ summary?: string | undefined;
2565
+ issuetype?: {
2566
+ self: string;
2567
+ id: string;
2568
+ name: string;
2569
+ subtask: boolean;
2570
+ description?: string | undefined;
2571
+ iconUrl?: string | undefined;
2572
+ avatarId?: number | undefined;
2573
+ hierarchyLevel?: number | undefined;
2574
+ } | undefined;
2575
+ } | undefined;
2576
+ }>>>;
2577
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2578
+ id: z.ZodOptional<z.ZodString>;
2579
+ key: z.ZodString;
2580
+ self: z.ZodOptional<z.ZodString>;
2581
+ fields: z.ZodOptional<z.ZodObject<{
2582
+ summary: z.ZodOptional<z.ZodString>;
2583
+ status: z.ZodOptional<z.ZodObject<{
2584
+ self: z.ZodString;
2585
+ id: z.ZodString;
2586
+ name: z.ZodString;
2587
+ description: z.ZodOptional<z.ZodString>;
2588
+ iconUrl: z.ZodOptional<z.ZodString>;
2589
+ statusCategory: z.ZodOptional<z.ZodObject<{
2590
+ self: z.ZodString;
2591
+ id: z.ZodNumber;
2592
+ key: z.ZodString;
2593
+ colorName: z.ZodString;
2594
+ name: z.ZodString;
2595
+ }, "strip", z.ZodTypeAny, {
2596
+ key: string;
2597
+ self: string;
2598
+ id: number;
2599
+ name: string;
2600
+ colorName: string;
2601
+ }, {
2602
+ key: string;
2603
+ self: string;
2604
+ id: number;
2605
+ name: string;
2606
+ colorName: string;
2607
+ }>>;
2608
+ }, "strip", z.ZodTypeAny, {
2609
+ self: string;
2610
+ id: string;
2611
+ name: string;
2612
+ description?: string | undefined;
2613
+ iconUrl?: string | undefined;
2614
+ statusCategory?: {
2615
+ key: string;
2616
+ self: string;
2617
+ id: number;
2618
+ name: string;
2619
+ colorName: string;
2620
+ } | undefined;
2621
+ }, {
2622
+ self: string;
2623
+ id: string;
2624
+ name: string;
2625
+ description?: string | undefined;
2626
+ iconUrl?: string | undefined;
2627
+ statusCategory?: {
2628
+ key: string;
2629
+ self: string;
2630
+ id: number;
2631
+ name: string;
2632
+ colorName: string;
2633
+ } | undefined;
2634
+ }>>;
2635
+ issuetype: z.ZodOptional<z.ZodObject<{
2636
+ self: z.ZodString;
2637
+ id: z.ZodString;
2638
+ name: z.ZodString;
2639
+ description: z.ZodOptional<z.ZodString>;
2640
+ iconUrl: z.ZodOptional<z.ZodString>;
2641
+ subtask: z.ZodBoolean;
2642
+ avatarId: z.ZodOptional<z.ZodNumber>;
2643
+ hierarchyLevel: z.ZodOptional<z.ZodNumber>;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ self: string;
2646
+ id: string;
2647
+ name: string;
2648
+ subtask: boolean;
2649
+ description?: string | undefined;
2650
+ iconUrl?: string | undefined;
2651
+ avatarId?: number | undefined;
2652
+ hierarchyLevel?: number | undefined;
2653
+ }, {
2654
+ self: string;
2655
+ id: string;
2656
+ name: string;
2657
+ subtask: boolean;
2658
+ description?: string | undefined;
2659
+ iconUrl?: string | undefined;
2660
+ avatarId?: number | undefined;
2661
+ hierarchyLevel?: number | undefined;
2662
+ }>>;
2663
+ }, "strip", z.ZodTypeAny, {
2664
+ status?: {
2665
+ self: string;
2666
+ id: string;
2667
+ name: string;
2668
+ description?: string | undefined;
2669
+ iconUrl?: string | undefined;
2670
+ statusCategory?: {
2671
+ key: string;
2672
+ self: string;
2673
+ id: number;
2674
+ name: string;
2675
+ colorName: string;
2676
+ } | undefined;
2677
+ } | undefined;
2678
+ summary?: string | undefined;
2679
+ issuetype?: {
2680
+ self: string;
2681
+ id: string;
2682
+ name: string;
2683
+ subtask: boolean;
2684
+ description?: string | undefined;
2685
+ iconUrl?: string | undefined;
2686
+ avatarId?: number | undefined;
2687
+ hierarchyLevel?: number | undefined;
2688
+ } | undefined;
2689
+ }, {
2690
+ status?: {
2691
+ self: string;
2692
+ id: string;
2693
+ name: string;
2694
+ description?: string | undefined;
2695
+ iconUrl?: string | undefined;
2696
+ statusCategory?: {
2697
+ key: string;
2698
+ self: string;
2699
+ id: number;
2700
+ name: string;
2701
+ colorName: string;
2702
+ } | undefined;
2703
+ } | undefined;
2704
+ summary?: string | undefined;
2705
+ issuetype?: {
2706
+ self: string;
2707
+ id: string;
2708
+ name: string;
2709
+ subtask: boolean;
2710
+ description?: string | undefined;
2711
+ iconUrl?: string | undefined;
2712
+ avatarId?: number | undefined;
2713
+ hierarchyLevel?: number | undefined;
2714
+ } | undefined;
2715
+ }>>;
2716
+ }, "strip", z.ZodTypeAny, {
2717
+ key: string;
2718
+ self?: string | undefined;
2719
+ id?: string | undefined;
2720
+ fields?: {
2721
+ status?: {
2722
+ self: string;
2723
+ id: string;
2724
+ name: string;
2725
+ description?: string | undefined;
2726
+ iconUrl?: string | undefined;
2727
+ statusCategory?: {
2728
+ key: string;
2729
+ self: string;
2730
+ id: number;
2731
+ name: string;
2732
+ colorName: string;
2733
+ } | undefined;
2734
+ } | undefined;
2735
+ summary?: string | undefined;
2736
+ issuetype?: {
2737
+ self: string;
2738
+ id: string;
2739
+ name: string;
2740
+ subtask: boolean;
2741
+ description?: string | undefined;
2742
+ iconUrl?: string | undefined;
2743
+ avatarId?: number | undefined;
2744
+ hierarchyLevel?: number | undefined;
2745
+ } | undefined;
2746
+ } | undefined;
2747
+ }, {
2748
+ key: string;
2749
+ self?: string | undefined;
2750
+ id?: string | undefined;
2751
+ fields?: {
2752
+ status?: {
2753
+ self: string;
2754
+ id: string;
2755
+ name: string;
2756
+ description?: string | undefined;
2757
+ iconUrl?: string | undefined;
2758
+ statusCategory?: {
2759
+ key: string;
2760
+ self: string;
2761
+ id: number;
2762
+ name: string;
2763
+ colorName: string;
2764
+ } | undefined;
2765
+ } | undefined;
2766
+ summary?: string | undefined;
2767
+ issuetype?: {
2768
+ self: string;
2769
+ id: string;
2770
+ name: string;
2771
+ subtask: boolean;
2772
+ description?: string | undefined;
2773
+ iconUrl?: string | undefined;
2774
+ avatarId?: number | undefined;
2775
+ hierarchyLevel?: number | undefined;
2776
+ } | undefined;
2777
+ } | undefined;
2778
+ }>, "many">>;
2779
+ fixVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2780
+ self: z.ZodString;
2781
+ id: z.ZodString;
2782
+ name: z.ZodString;
2783
+ description: z.ZodOptional<z.ZodString>;
2784
+ archived: z.ZodOptional<z.ZodBoolean>;
2785
+ released: z.ZodOptional<z.ZodBoolean>;
2786
+ releaseDate: z.ZodOptional<z.ZodString>;
2787
+ startDate: z.ZodOptional<z.ZodString>;
2788
+ projectId: z.ZodOptional<z.ZodNumber>;
2789
+ }, "strip", z.ZodTypeAny, {
2790
+ self: string;
2791
+ id: string;
2792
+ name: string;
2793
+ description?: string | undefined;
2794
+ archived?: boolean | undefined;
2795
+ released?: boolean | undefined;
2796
+ releaseDate?: string | undefined;
2797
+ startDate?: string | undefined;
2798
+ projectId?: number | undefined;
2799
+ }, {
2800
+ self: string;
2801
+ id: string;
2802
+ name: string;
2803
+ description?: string | undefined;
2804
+ archived?: boolean | undefined;
2805
+ released?: boolean | undefined;
2806
+ releaseDate?: string | undefined;
2807
+ startDate?: string | undefined;
2808
+ projectId?: number | undefined;
2809
+ }>, "many">>;
2810
+ versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2811
+ self: z.ZodString;
2812
+ id: z.ZodString;
2813
+ name: z.ZodString;
2814
+ description: z.ZodOptional<z.ZodString>;
2815
+ archived: z.ZodOptional<z.ZodBoolean>;
2816
+ released: z.ZodOptional<z.ZodBoolean>;
2817
+ releaseDate: z.ZodOptional<z.ZodString>;
2818
+ startDate: z.ZodOptional<z.ZodString>;
2819
+ projectId: z.ZodOptional<z.ZodNumber>;
2820
+ }, "strip", z.ZodTypeAny, {
2821
+ self: string;
2822
+ id: string;
2823
+ name: string;
2824
+ description?: string | undefined;
2825
+ archived?: boolean | undefined;
2826
+ released?: boolean | undefined;
2827
+ releaseDate?: string | undefined;
2828
+ startDate?: string | undefined;
2829
+ projectId?: number | undefined;
2830
+ }, {
2831
+ self: string;
2832
+ id: string;
2833
+ name: string;
2834
+ description?: string | undefined;
2835
+ archived?: boolean | undefined;
2836
+ released?: boolean | undefined;
2837
+ releaseDate?: string | undefined;
2838
+ startDate?: string | undefined;
2839
+ projectId?: number | undefined;
2840
+ }>, "many">>;
2841
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
2842
+ self: z.ZodString;
2843
+ id: z.ZodString;
2844
+ name: z.ZodString;
2845
+ description: z.ZodOptional<z.ZodString>;
2846
+ }, "strip", z.ZodTypeAny, {
2847
+ self: string;
2848
+ id: string;
2849
+ name: string;
2850
+ description?: string | undefined;
2851
+ }, {
2852
+ self: string;
2853
+ id: string;
2854
+ name: string;
2855
+ description?: string | undefined;
2856
+ }>, "many">>;
2857
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2858
+ created: z.ZodNullable<z.ZodString>;
2859
+ updated: z.ZodNullable<z.ZodString>;
2860
+ resolutiondate: z.ZodNullable<z.ZodString>;
2861
+ duedate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2862
+ timeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2863
+ timeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2864
+ timespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2865
+ aggregatetimeoriginalestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2866
+ aggregatetimeestimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2867
+ aggregatetimespent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2868
+ workratio: z.ZodOptional<z.ZodNumber>;
2869
+ votes: z.ZodOptional<z.ZodObject<{
2870
+ self: z.ZodString;
2871
+ votes: z.ZodNumber;
2872
+ hasVoted: z.ZodBoolean;
2873
+ }, "strip", z.ZodTypeAny, {
2874
+ self: string;
2875
+ votes: number;
2876
+ hasVoted: boolean;
2877
+ }, {
2878
+ self: string;
2879
+ votes: number;
2880
+ hasVoted: boolean;
2881
+ }>>;
2882
+ watches: z.ZodOptional<z.ZodObject<{
2883
+ self: z.ZodString;
2884
+ watchCount: z.ZodNumber;
2885
+ isWatching: z.ZodBoolean;
2886
+ }, "strip", z.ZodTypeAny, {
2887
+ self: string;
2888
+ watchCount: number;
2889
+ isWatching: boolean;
2890
+ }, {
2891
+ self: string;
2892
+ watchCount: number;
2893
+ isWatching: boolean;
2894
+ }>>;
2895
+ progress: z.ZodOptional<z.ZodObject<{
2896
+ progress: z.ZodNumber;
2897
+ total: z.ZodNumber;
2898
+ percent: z.ZodOptional<z.ZodNumber>;
2899
+ }, "strip", z.ZodTypeAny, {
2900
+ progress: number;
2901
+ total: number;
2902
+ percent?: number | undefined;
2903
+ }, {
2904
+ progress: number;
2905
+ total: number;
2906
+ percent?: number | undefined;
2907
+ }>>;
2908
+ aggregateprogress: z.ZodOptional<z.ZodObject<{
2909
+ progress: z.ZodNumber;
2910
+ total: z.ZodNumber;
2911
+ percent: z.ZodOptional<z.ZodNumber>;
2912
+ }, "strip", z.ZodTypeAny, {
2913
+ progress: number;
2914
+ total: number;
2915
+ percent?: number | undefined;
2916
+ }, {
2917
+ progress: number;
2918
+ total: number;
2919
+ percent?: number | undefined;
2920
+ }>>;
2921
+ }, z.ZodTypeAny, "passthrough">>;
2922
+ renderedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2923
+ names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2924
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2925
+ transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2926
+ id: z.ZodString;
2927
+ name: z.ZodString;
2928
+ to: z.ZodObject<{
2929
+ self: z.ZodString;
2930
+ id: z.ZodString;
2931
+ name: z.ZodString;
2932
+ description: z.ZodOptional<z.ZodString>;
2933
+ iconUrl: z.ZodOptional<z.ZodString>;
2934
+ statusCategory: z.ZodOptional<z.ZodObject<{
2935
+ self: z.ZodString;
2936
+ id: z.ZodNumber;
2937
+ key: z.ZodString;
2938
+ colorName: z.ZodString;
2939
+ name: z.ZodString;
2940
+ }, "strip", z.ZodTypeAny, {
2941
+ key: string;
2942
+ self: string;
2943
+ id: number;
2944
+ name: string;
2945
+ colorName: string;
2946
+ }, {
2947
+ key: string;
2948
+ self: string;
2949
+ id: number;
2950
+ name: string;
2951
+ colorName: string;
2952
+ }>>;
2953
+ }, "strip", z.ZodTypeAny, {
2954
+ self: string;
2955
+ id: string;
2956
+ name: string;
2957
+ description?: string | undefined;
2958
+ iconUrl?: string | undefined;
2959
+ statusCategory?: {
2960
+ key: string;
2961
+ self: string;
2962
+ id: number;
2963
+ name: string;
2964
+ colorName: string;
2965
+ } | undefined;
2966
+ }, {
2967
+ self: string;
2968
+ id: string;
2969
+ name: string;
2970
+ description?: string | undefined;
2971
+ iconUrl?: string | undefined;
2972
+ statusCategory?: {
2973
+ key: string;
2974
+ self: string;
2975
+ id: number;
2976
+ name: string;
2977
+ colorName: string;
2978
+ } | undefined;
2979
+ }>;
2980
+ hasScreen: z.ZodOptional<z.ZodBoolean>;
2981
+ isGlobal: z.ZodOptional<z.ZodBoolean>;
2982
+ isInitial: z.ZodOptional<z.ZodBoolean>;
2983
+ isConditional: z.ZodOptional<z.ZodBoolean>;
2984
+ }, "strip", z.ZodTypeAny, {
2985
+ id: string;
2986
+ name: string;
2987
+ to: {
2988
+ self: string;
2989
+ id: string;
2990
+ name: string;
2991
+ description?: string | undefined;
2992
+ iconUrl?: string | undefined;
2993
+ statusCategory?: {
2994
+ key: string;
2995
+ self: string;
2996
+ id: number;
2997
+ name: string;
2998
+ colorName: string;
2999
+ } | undefined;
3000
+ };
3001
+ hasScreen?: boolean | undefined;
3002
+ isGlobal?: boolean | undefined;
3003
+ isInitial?: boolean | undefined;
3004
+ isConditional?: boolean | undefined;
3005
+ }, {
3006
+ id: string;
3007
+ name: string;
3008
+ to: {
3009
+ self: string;
3010
+ id: string;
3011
+ name: string;
3012
+ description?: string | undefined;
3013
+ iconUrl?: string | undefined;
3014
+ statusCategory?: {
3015
+ key: string;
3016
+ self: string;
3017
+ id: number;
3018
+ name: string;
3019
+ colorName: string;
3020
+ } | undefined;
3021
+ };
3022
+ hasScreen?: boolean | undefined;
3023
+ isGlobal?: boolean | undefined;
3024
+ isInitial?: boolean | undefined;
3025
+ isConditional?: boolean | undefined;
3026
+ }>, "many">>;
3027
+ operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3028
+ editmeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3029
+ changelog: z.ZodOptional<z.ZodObject<{
3030
+ startAt: z.ZodNumber;
3031
+ maxResults: z.ZodNumber;
3032
+ total: z.ZodNumber;
3033
+ histories: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
3034
+ }, "strip", z.ZodTypeAny, {
3035
+ total: number;
3036
+ startAt: number;
3037
+ maxResults: number;
3038
+ histories: Record<string, unknown>[];
3039
+ }, {
3040
+ total: number;
3041
+ startAt: number;
3042
+ maxResults: number;
3043
+ histories: Record<string, unknown>[];
3044
+ }>>;
3045
+ versionedRepresentations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3046
+ fieldsToInclude: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3047
+ }, "strip", z.ZodTypeAny, {
3048
+ key: string;
3049
+ self: string;
3050
+ id: string;
3051
+ fields: {
3052
+ status: {
3053
+ self: string;
3054
+ id: string;
3055
+ name: string;
3056
+ description?: string | undefined;
3057
+ iconUrl?: string | undefined;
3058
+ statusCategory?: {
3059
+ key: string;
3060
+ self: string;
3061
+ id: number;
3062
+ name: string;
3063
+ colorName: string;
3064
+ } | undefined;
3065
+ };
3066
+ summary: string;
3067
+ issuetype: {
3068
+ self: string;
3069
+ id: string;
3070
+ name: string;
3071
+ subtask: boolean;
3072
+ description?: string | undefined;
3073
+ iconUrl?: string | undefined;
3074
+ avatarId?: number | undefined;
3075
+ hierarchyLevel?: number | undefined;
3076
+ };
3077
+ project: {
3078
+ key: string;
3079
+ self: string;
3080
+ id: string;
3081
+ name: string;
3082
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
3083
+ simplified?: boolean | undefined;
3084
+ avatarUrls?: {
3085
+ '48x48'?: string | undefined;
3086
+ '24x24'?: string | undefined;
3087
+ '16x16'?: string | undefined;
3088
+ '32x32'?: string | undefined;
3089
+ } | undefined;
3090
+ };
3091
+ created: string | null;
3092
+ updated: string | null;
3093
+ resolutiondate: string | null;
3094
+ description?: string | {
3095
+ type: "doc";
3096
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3097
+ version: 1;
3098
+ } | null | undefined;
3099
+ environment?: string | {
3100
+ type: "doc";
3101
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3102
+ version: 1;
3103
+ } | null | undefined;
3104
+ resolution?: {
3105
+ self: string;
3106
+ id: string;
3107
+ name: string;
3108
+ description?: string | undefined;
3109
+ } | null | undefined;
3110
+ priority?: {
3111
+ self: string;
3112
+ id: string;
3113
+ name: string;
3114
+ description?: string | undefined;
3115
+ iconUrl?: string | undefined;
3116
+ } | null | undefined;
3117
+ assignee?: {
3118
+ accountId: string;
3119
+ self?: string | undefined;
3120
+ displayName?: string | undefined;
3121
+ active?: boolean | undefined;
3122
+ avatarUrls?: {
3123
+ "48x48"?: string | undefined;
3124
+ "24x24"?: string | undefined;
3125
+ "16x16"?: string | undefined;
3126
+ "32x32"?: string | undefined;
3127
+ } | undefined;
3128
+ } | null | undefined;
3129
+ reporter?: {
3130
+ accountId: string;
3131
+ self?: string | undefined;
3132
+ displayName?: string | undefined;
3133
+ active?: boolean | undefined;
3134
+ avatarUrls?: {
3135
+ "48x48"?: string | undefined;
3136
+ "24x24"?: string | undefined;
3137
+ "16x16"?: string | undefined;
3138
+ "32x32"?: string | undefined;
3139
+ } | undefined;
3140
+ } | null | undefined;
3141
+ creator?: {
3142
+ accountId: string;
3143
+ self?: string | undefined;
3144
+ displayName?: string | undefined;
3145
+ active?: boolean | undefined;
3146
+ avatarUrls?: {
3147
+ "48x48"?: string | undefined;
3148
+ "24x24"?: string | undefined;
3149
+ "16x16"?: string | undefined;
3150
+ "32x32"?: string | undefined;
3151
+ } | undefined;
3152
+ } | null | undefined;
3153
+ parent?: {
3154
+ key: string;
3155
+ self?: string | undefined;
3156
+ id?: string | undefined;
3157
+ fields?: {
3158
+ status?: {
3159
+ self: string;
3160
+ id: string;
3161
+ name: string;
3162
+ description?: string | undefined;
3163
+ iconUrl?: string | undefined;
3164
+ statusCategory?: {
3165
+ key: string;
3166
+ self: string;
3167
+ id: number;
3168
+ name: string;
3169
+ colorName: string;
3170
+ } | undefined;
3171
+ } | undefined;
3172
+ summary?: string | undefined;
3173
+ issuetype?: {
3174
+ self: string;
3175
+ id: string;
3176
+ name: string;
3177
+ subtask: boolean;
3178
+ description?: string | undefined;
3179
+ iconUrl?: string | undefined;
3180
+ avatarId?: number | undefined;
3181
+ hierarchyLevel?: number | undefined;
3182
+ } | undefined;
3183
+ } | undefined;
3184
+ } | null | undefined;
3185
+ subtasks?: {
3186
+ key: string;
3187
+ self?: string | undefined;
3188
+ id?: string | undefined;
3189
+ fields?: {
3190
+ status?: {
3191
+ self: string;
3192
+ id: string;
3193
+ name: string;
3194
+ description?: string | undefined;
3195
+ iconUrl?: string | undefined;
3196
+ statusCategory?: {
3197
+ key: string;
3198
+ self: string;
3199
+ id: number;
3200
+ name: string;
3201
+ colorName: string;
3202
+ } | undefined;
3203
+ } | undefined;
3204
+ summary?: string | undefined;
3205
+ issuetype?: {
3206
+ self: string;
3207
+ id: string;
3208
+ name: string;
3209
+ subtask: boolean;
3210
+ description?: string | undefined;
3211
+ iconUrl?: string | undefined;
3212
+ avatarId?: number | undefined;
3213
+ hierarchyLevel?: number | undefined;
3214
+ } | undefined;
3215
+ } | undefined;
3216
+ }[] | undefined;
3217
+ fixVersions?: {
3218
+ self: string;
3219
+ id: string;
3220
+ name: string;
3221
+ description?: string | undefined;
3222
+ archived?: boolean | undefined;
3223
+ released?: boolean | undefined;
3224
+ releaseDate?: string | undefined;
3225
+ startDate?: string | undefined;
3226
+ projectId?: number | undefined;
3227
+ }[] | undefined;
3228
+ versions?: {
3229
+ self: string;
3230
+ id: string;
3231
+ name: string;
3232
+ description?: string | undefined;
3233
+ archived?: boolean | undefined;
3234
+ released?: boolean | undefined;
3235
+ releaseDate?: string | undefined;
3236
+ startDate?: string | undefined;
3237
+ projectId?: number | undefined;
3238
+ }[] | undefined;
3239
+ components?: {
3240
+ self: string;
3241
+ id: string;
3242
+ name: string;
3243
+ description?: string | undefined;
3244
+ }[] | undefined;
3245
+ labels?: string[] | undefined;
3246
+ duedate?: string | null | undefined;
3247
+ timeoriginalestimate?: number | null | undefined;
3248
+ timeestimate?: number | null | undefined;
3249
+ timespent?: number | null | undefined;
3250
+ aggregatetimeoriginalestimate?: number | null | undefined;
3251
+ aggregatetimeestimate?: number | null | undefined;
3252
+ aggregatetimespent?: number | null | undefined;
3253
+ workratio?: number | undefined;
3254
+ votes?: {
3255
+ self: string;
3256
+ votes: number;
3257
+ hasVoted: boolean;
3258
+ } | undefined;
3259
+ watches?: {
3260
+ self: string;
3261
+ watchCount: number;
3262
+ isWatching: boolean;
3263
+ } | undefined;
3264
+ progress?: {
3265
+ progress: number;
3266
+ total: number;
3267
+ percent?: number | undefined;
3268
+ } | undefined;
3269
+ aggregateprogress?: {
3270
+ progress: number;
3271
+ total: number;
3272
+ percent?: number | undefined;
3273
+ } | undefined;
3274
+ } & {
3275
+ [k: string]: unknown;
3276
+ };
3277
+ expand?: string | undefined;
3278
+ renderedFields?: Record<string, unknown> | undefined;
3279
+ names?: Record<string, string> | undefined;
3280
+ schema?: Record<string, unknown> | undefined;
3281
+ transitions?: {
3282
+ id: string;
3283
+ name: string;
3284
+ to: {
3285
+ self: string;
3286
+ id: string;
3287
+ name: string;
3288
+ description?: string | undefined;
3289
+ iconUrl?: string | undefined;
3290
+ statusCategory?: {
3291
+ key: string;
3292
+ self: string;
3293
+ id: number;
3294
+ name: string;
3295
+ colorName: string;
3296
+ } | undefined;
3297
+ };
3298
+ hasScreen?: boolean | undefined;
3299
+ isGlobal?: boolean | undefined;
3300
+ isInitial?: boolean | undefined;
3301
+ isConditional?: boolean | undefined;
3302
+ }[] | undefined;
3303
+ operations?: Record<string, unknown> | undefined;
3304
+ editmeta?: Record<string, unknown> | undefined;
3305
+ changelog?: {
3306
+ total: number;
3307
+ startAt: number;
3308
+ maxResults: number;
3309
+ histories: Record<string, unknown>[];
3310
+ } | undefined;
3311
+ versionedRepresentations?: Record<string, unknown> | undefined;
3312
+ fieldsToInclude?: Record<string, unknown> | undefined;
3313
+ }, {
3314
+ key: string;
3315
+ self: string;
3316
+ id: string;
3317
+ fields: {
3318
+ status: {
3319
+ self: string;
3320
+ id: string;
3321
+ name: string;
3322
+ description?: string | undefined;
3323
+ iconUrl?: string | undefined;
3324
+ statusCategory?: {
3325
+ key: string;
3326
+ self: string;
3327
+ id: number;
3328
+ name: string;
3329
+ colorName: string;
3330
+ } | undefined;
3331
+ };
3332
+ summary: string;
3333
+ issuetype: {
3334
+ self: string;
3335
+ id: string;
3336
+ name: string;
3337
+ subtask: boolean;
3338
+ description?: string | undefined;
3339
+ iconUrl?: string | undefined;
3340
+ avatarId?: number | undefined;
3341
+ hierarchyLevel?: number | undefined;
3342
+ };
3343
+ project: {
3344
+ key: string;
3345
+ self: string;
3346
+ id: string;
3347
+ name: string;
3348
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
3349
+ simplified?: boolean | undefined;
3350
+ avatarUrls?: {
3351
+ '48x48'?: string | undefined;
3352
+ '24x24'?: string | undefined;
3353
+ '16x16'?: string | undefined;
3354
+ '32x32'?: string | undefined;
3355
+ } | undefined;
3356
+ };
3357
+ created: string | null;
3358
+ updated: string | null;
3359
+ resolutiondate: string | null;
3360
+ description?: string | {
3361
+ type: "doc";
3362
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3363
+ version: 1;
3364
+ } | null | undefined;
3365
+ environment?: string | {
3366
+ type: "doc";
3367
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3368
+ version: 1;
3369
+ } | null | undefined;
3370
+ resolution?: {
3371
+ self: string;
3372
+ id: string;
3373
+ name: string;
3374
+ description?: string | undefined;
3375
+ } | null | undefined;
3376
+ priority?: {
3377
+ self: string;
3378
+ id: string;
3379
+ name: string;
3380
+ description?: string | undefined;
3381
+ iconUrl?: string | undefined;
3382
+ } | null | undefined;
3383
+ assignee?: {
3384
+ accountId: string;
3385
+ self?: string | undefined;
3386
+ displayName?: string | undefined;
3387
+ active?: boolean | undefined;
3388
+ avatarUrls?: {
3389
+ "48x48"?: string | undefined;
3390
+ "24x24"?: string | undefined;
3391
+ "16x16"?: string | undefined;
3392
+ "32x32"?: string | undefined;
3393
+ } | undefined;
3394
+ } | null | undefined;
3395
+ reporter?: {
3396
+ accountId: string;
3397
+ self?: string | undefined;
3398
+ displayName?: string | undefined;
3399
+ active?: boolean | undefined;
3400
+ avatarUrls?: {
3401
+ "48x48"?: string | undefined;
3402
+ "24x24"?: string | undefined;
3403
+ "16x16"?: string | undefined;
3404
+ "32x32"?: string | undefined;
3405
+ } | undefined;
3406
+ } | null | undefined;
3407
+ creator?: {
3408
+ accountId: string;
3409
+ self?: string | undefined;
3410
+ displayName?: string | undefined;
3411
+ active?: boolean | undefined;
3412
+ avatarUrls?: {
3413
+ "48x48"?: string | undefined;
3414
+ "24x24"?: string | undefined;
3415
+ "16x16"?: string | undefined;
3416
+ "32x32"?: string | undefined;
3417
+ } | undefined;
3418
+ } | null | undefined;
3419
+ parent?: {
3420
+ key: string;
3421
+ self?: string | undefined;
3422
+ id?: string | undefined;
3423
+ fields?: {
3424
+ status?: {
3425
+ self: string;
3426
+ id: string;
3427
+ name: string;
3428
+ description?: string | undefined;
3429
+ iconUrl?: string | undefined;
3430
+ statusCategory?: {
3431
+ key: string;
3432
+ self: string;
3433
+ id: number;
3434
+ name: string;
3435
+ colorName: string;
3436
+ } | undefined;
3437
+ } | undefined;
3438
+ summary?: string | undefined;
3439
+ issuetype?: {
3440
+ self: string;
3441
+ id: string;
3442
+ name: string;
3443
+ subtask: boolean;
3444
+ description?: string | undefined;
3445
+ iconUrl?: string | undefined;
3446
+ avatarId?: number | undefined;
3447
+ hierarchyLevel?: number | undefined;
3448
+ } | undefined;
3449
+ } | undefined;
3450
+ } | null | undefined;
3451
+ subtasks?: {
3452
+ key: string;
3453
+ self?: string | undefined;
3454
+ id?: string | undefined;
3455
+ fields?: {
3456
+ status?: {
3457
+ self: string;
3458
+ id: string;
3459
+ name: string;
3460
+ description?: string | undefined;
3461
+ iconUrl?: string | undefined;
3462
+ statusCategory?: {
3463
+ key: string;
3464
+ self: string;
3465
+ id: number;
3466
+ name: string;
3467
+ colorName: string;
3468
+ } | undefined;
3469
+ } | undefined;
3470
+ summary?: string | undefined;
3471
+ issuetype?: {
3472
+ self: string;
3473
+ id: string;
3474
+ name: string;
3475
+ subtask: boolean;
3476
+ description?: string | undefined;
3477
+ iconUrl?: string | undefined;
3478
+ avatarId?: number | undefined;
3479
+ hierarchyLevel?: number | undefined;
3480
+ } | undefined;
3481
+ } | undefined;
3482
+ }[] | undefined;
3483
+ fixVersions?: {
3484
+ self: string;
3485
+ id: string;
3486
+ name: string;
3487
+ description?: string | undefined;
3488
+ archived?: boolean | undefined;
3489
+ released?: boolean | undefined;
3490
+ releaseDate?: string | undefined;
3491
+ startDate?: string | undefined;
3492
+ projectId?: number | undefined;
3493
+ }[] | undefined;
3494
+ versions?: {
3495
+ self: string;
3496
+ id: string;
3497
+ name: string;
3498
+ description?: string | undefined;
3499
+ archived?: boolean | undefined;
3500
+ released?: boolean | undefined;
3501
+ releaseDate?: string | undefined;
3502
+ startDate?: string | undefined;
3503
+ projectId?: number | undefined;
3504
+ }[] | undefined;
3505
+ components?: {
3506
+ self: string;
3507
+ id: string;
3508
+ name: string;
3509
+ description?: string | undefined;
3510
+ }[] | undefined;
3511
+ labels?: string[] | undefined;
3512
+ duedate?: string | null | undefined;
3513
+ timeoriginalestimate?: number | null | undefined;
3514
+ timeestimate?: number | null | undefined;
3515
+ timespent?: number | null | undefined;
3516
+ aggregatetimeoriginalestimate?: number | null | undefined;
3517
+ aggregatetimeestimate?: number | null | undefined;
3518
+ aggregatetimespent?: number | null | undefined;
3519
+ workratio?: number | undefined;
3520
+ votes?: {
3521
+ self: string;
3522
+ votes: number;
3523
+ hasVoted: boolean;
3524
+ } | undefined;
3525
+ watches?: {
3526
+ self: string;
3527
+ watchCount: number;
3528
+ isWatching: boolean;
3529
+ } | undefined;
3530
+ progress?: {
3531
+ progress: number;
3532
+ total: number;
3533
+ percent?: number | undefined;
3534
+ } | undefined;
3535
+ aggregateprogress?: {
3536
+ progress: number;
3537
+ total: number;
3538
+ percent?: number | undefined;
3539
+ } | undefined;
3540
+ } & {
3541
+ [k: string]: unknown;
3542
+ };
3543
+ expand?: string | undefined;
3544
+ renderedFields?: Record<string, unknown> | undefined;
3545
+ names?: Record<string, string> | undefined;
3546
+ schema?: Record<string, unknown> | undefined;
3547
+ transitions?: {
3548
+ id: string;
3549
+ name: string;
3550
+ to: {
3551
+ self: string;
3552
+ id: string;
3553
+ name: string;
3554
+ description?: string | undefined;
3555
+ iconUrl?: string | undefined;
3556
+ statusCategory?: {
3557
+ key: string;
3558
+ self: string;
3559
+ id: number;
3560
+ name: string;
3561
+ colorName: string;
3562
+ } | undefined;
3563
+ };
3564
+ hasScreen?: boolean | undefined;
3565
+ isGlobal?: boolean | undefined;
3566
+ isInitial?: boolean | undefined;
3567
+ isConditional?: boolean | undefined;
3568
+ }[] | undefined;
3569
+ operations?: Record<string, unknown> | undefined;
3570
+ editmeta?: Record<string, unknown> | undefined;
3571
+ changelog?: {
3572
+ total: number;
3573
+ startAt: number;
3574
+ maxResults: number;
3575
+ histories: Record<string, unknown>[];
3576
+ } | undefined;
3577
+ versionedRepresentations?: Record<string, unknown> | undefined;
3578
+ fieldsToInclude?: Record<string, unknown> | undefined;
3579
+ }>, "many">;
3580
+ warningMessages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3581
+ names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3582
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3583
+ }, "strip", z.ZodTypeAny, {
3584
+ issues: {
3585
+ key: string;
3586
+ self: string;
3587
+ id: string;
3588
+ fields: {
3589
+ status: {
3590
+ self: string;
3591
+ id: string;
3592
+ name: string;
3593
+ description?: string | undefined;
3594
+ iconUrl?: string | undefined;
3595
+ statusCategory?: {
3596
+ key: string;
3597
+ self: string;
3598
+ id: number;
3599
+ name: string;
3600
+ colorName: string;
3601
+ } | undefined;
3602
+ };
3603
+ summary: string;
3604
+ issuetype: {
3605
+ self: string;
3606
+ id: string;
3607
+ name: string;
3608
+ subtask: boolean;
3609
+ description?: string | undefined;
3610
+ iconUrl?: string | undefined;
3611
+ avatarId?: number | undefined;
3612
+ hierarchyLevel?: number | undefined;
3613
+ };
3614
+ project: {
3615
+ key: string;
3616
+ self: string;
3617
+ id: string;
3618
+ name: string;
3619
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
3620
+ simplified?: boolean | undefined;
3621
+ avatarUrls?: {
3622
+ '48x48'?: string | undefined;
3623
+ '24x24'?: string | undefined;
3624
+ '16x16'?: string | undefined;
3625
+ '32x32'?: string | undefined;
3626
+ } | undefined;
3627
+ };
3628
+ created: string | null;
3629
+ updated: string | null;
3630
+ resolutiondate: string | null;
3631
+ description?: string | {
3632
+ type: "doc";
3633
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3634
+ version: 1;
3635
+ } | null | undefined;
3636
+ environment?: string | {
3637
+ type: "doc";
3638
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3639
+ version: 1;
3640
+ } | null | undefined;
3641
+ resolution?: {
3642
+ self: string;
3643
+ id: string;
3644
+ name: string;
3645
+ description?: string | undefined;
3646
+ } | null | undefined;
3647
+ priority?: {
3648
+ self: string;
3649
+ id: string;
3650
+ name: string;
3651
+ description?: string | undefined;
3652
+ iconUrl?: string | undefined;
3653
+ } | null | undefined;
3654
+ assignee?: {
3655
+ accountId: string;
3656
+ self?: string | undefined;
3657
+ displayName?: string | undefined;
3658
+ active?: boolean | undefined;
3659
+ avatarUrls?: {
3660
+ "48x48"?: string | undefined;
3661
+ "24x24"?: string | undefined;
3662
+ "16x16"?: string | undefined;
3663
+ "32x32"?: string | undefined;
3664
+ } | undefined;
3665
+ } | null | undefined;
3666
+ reporter?: {
3667
+ accountId: string;
3668
+ self?: string | undefined;
3669
+ displayName?: string | undefined;
3670
+ active?: boolean | undefined;
3671
+ avatarUrls?: {
3672
+ "48x48"?: string | undefined;
3673
+ "24x24"?: string | undefined;
3674
+ "16x16"?: string | undefined;
3675
+ "32x32"?: string | undefined;
3676
+ } | undefined;
3677
+ } | null | undefined;
3678
+ creator?: {
3679
+ accountId: string;
3680
+ self?: string | undefined;
3681
+ displayName?: string | undefined;
3682
+ active?: boolean | undefined;
3683
+ avatarUrls?: {
3684
+ "48x48"?: string | undefined;
3685
+ "24x24"?: string | undefined;
3686
+ "16x16"?: string | undefined;
3687
+ "32x32"?: string | undefined;
3688
+ } | undefined;
3689
+ } | null | undefined;
3690
+ parent?: {
3691
+ key: string;
3692
+ self?: string | undefined;
3693
+ id?: string | undefined;
3694
+ fields?: {
3695
+ status?: {
3696
+ self: string;
3697
+ id: string;
3698
+ name: string;
3699
+ description?: string | undefined;
3700
+ iconUrl?: string | undefined;
3701
+ statusCategory?: {
3702
+ key: string;
3703
+ self: string;
3704
+ id: number;
3705
+ name: string;
3706
+ colorName: string;
3707
+ } | undefined;
3708
+ } | undefined;
3709
+ summary?: string | undefined;
3710
+ issuetype?: {
3711
+ self: string;
3712
+ id: string;
3713
+ name: string;
3714
+ subtask: boolean;
3715
+ description?: string | undefined;
3716
+ iconUrl?: string | undefined;
3717
+ avatarId?: number | undefined;
3718
+ hierarchyLevel?: number | undefined;
3719
+ } | undefined;
3720
+ } | undefined;
3721
+ } | null | undefined;
3722
+ subtasks?: {
3723
+ key: string;
3724
+ self?: string | undefined;
3725
+ id?: string | undefined;
3726
+ fields?: {
3727
+ status?: {
3728
+ self: string;
3729
+ id: string;
3730
+ name: string;
3731
+ description?: string | undefined;
3732
+ iconUrl?: string | undefined;
3733
+ statusCategory?: {
3734
+ key: string;
3735
+ self: string;
3736
+ id: number;
3737
+ name: string;
3738
+ colorName: string;
3739
+ } | undefined;
3740
+ } | undefined;
3741
+ summary?: string | undefined;
3742
+ issuetype?: {
3743
+ self: string;
3744
+ id: string;
3745
+ name: string;
3746
+ subtask: boolean;
3747
+ description?: string | undefined;
3748
+ iconUrl?: string | undefined;
3749
+ avatarId?: number | undefined;
3750
+ hierarchyLevel?: number | undefined;
3751
+ } | undefined;
3752
+ } | undefined;
3753
+ }[] | undefined;
3754
+ fixVersions?: {
3755
+ self: string;
3756
+ id: string;
3757
+ name: string;
3758
+ description?: string | undefined;
3759
+ archived?: boolean | undefined;
3760
+ released?: boolean | undefined;
3761
+ releaseDate?: string | undefined;
3762
+ startDate?: string | undefined;
3763
+ projectId?: number | undefined;
3764
+ }[] | undefined;
3765
+ versions?: {
3766
+ self: string;
3767
+ id: string;
3768
+ name: string;
3769
+ description?: string | undefined;
3770
+ archived?: boolean | undefined;
3771
+ released?: boolean | undefined;
3772
+ releaseDate?: string | undefined;
3773
+ startDate?: string | undefined;
3774
+ projectId?: number | undefined;
3775
+ }[] | undefined;
3776
+ components?: {
3777
+ self: string;
3778
+ id: string;
3779
+ name: string;
3780
+ description?: string | undefined;
3781
+ }[] | undefined;
3782
+ labels?: string[] | undefined;
3783
+ duedate?: string | null | undefined;
3784
+ timeoriginalestimate?: number | null | undefined;
3785
+ timeestimate?: number | null | undefined;
3786
+ timespent?: number | null | undefined;
3787
+ aggregatetimeoriginalestimate?: number | null | undefined;
3788
+ aggregatetimeestimate?: number | null | undefined;
3789
+ aggregatetimespent?: number | null | undefined;
3790
+ workratio?: number | undefined;
3791
+ votes?: {
3792
+ self: string;
3793
+ votes: number;
3794
+ hasVoted: boolean;
3795
+ } | undefined;
3796
+ watches?: {
3797
+ self: string;
3798
+ watchCount: number;
3799
+ isWatching: boolean;
3800
+ } | undefined;
3801
+ progress?: {
3802
+ progress: number;
3803
+ total: number;
3804
+ percent?: number | undefined;
3805
+ } | undefined;
3806
+ aggregateprogress?: {
3807
+ progress: number;
3808
+ total: number;
3809
+ percent?: number | undefined;
3810
+ } | undefined;
3811
+ } & {
3812
+ [k: string]: unknown;
3813
+ };
3814
+ expand?: string | undefined;
3815
+ renderedFields?: Record<string, unknown> | undefined;
3816
+ names?: Record<string, string> | undefined;
3817
+ schema?: Record<string, unknown> | undefined;
3818
+ transitions?: {
3819
+ id: string;
3820
+ name: string;
3821
+ to: {
3822
+ self: string;
3823
+ id: string;
3824
+ name: string;
3825
+ description?: string | undefined;
3826
+ iconUrl?: string | undefined;
3827
+ statusCategory?: {
3828
+ key: string;
3829
+ self: string;
3830
+ id: number;
3831
+ name: string;
3832
+ colorName: string;
3833
+ } | undefined;
3834
+ };
3835
+ hasScreen?: boolean | undefined;
3836
+ isGlobal?: boolean | undefined;
3837
+ isInitial?: boolean | undefined;
3838
+ isConditional?: boolean | undefined;
3839
+ }[] | undefined;
3840
+ operations?: Record<string, unknown> | undefined;
3841
+ editmeta?: Record<string, unknown> | undefined;
3842
+ changelog?: {
3843
+ total: number;
3844
+ startAt: number;
3845
+ maxResults: number;
3846
+ histories: Record<string, unknown>[];
3847
+ } | undefined;
3848
+ versionedRepresentations?: Record<string, unknown> | undefined;
3849
+ fieldsToInclude?: Record<string, unknown> | undefined;
3850
+ }[];
3851
+ total: number;
3852
+ startAt: number;
3853
+ maxResults: number;
3854
+ expand?: string | undefined;
3855
+ names?: Record<string, string> | undefined;
3856
+ schema?: Record<string, unknown> | undefined;
3857
+ warningMessages?: string[] | undefined;
3858
+ }, {
3859
+ issues: {
3860
+ key: string;
3861
+ self: string;
3862
+ id: string;
3863
+ fields: {
3864
+ status: {
3865
+ self: string;
3866
+ id: string;
3867
+ name: string;
3868
+ description?: string | undefined;
3869
+ iconUrl?: string | undefined;
3870
+ statusCategory?: {
3871
+ key: string;
3872
+ self: string;
3873
+ id: number;
3874
+ name: string;
3875
+ colorName: string;
3876
+ } | undefined;
3877
+ };
3878
+ summary: string;
3879
+ issuetype: {
3880
+ self: string;
3881
+ id: string;
3882
+ name: string;
3883
+ subtask: boolean;
3884
+ description?: string | undefined;
3885
+ iconUrl?: string | undefined;
3886
+ avatarId?: number | undefined;
3887
+ hierarchyLevel?: number | undefined;
3888
+ };
3889
+ project: {
3890
+ key: string;
3891
+ self: string;
3892
+ id: string;
3893
+ name: string;
3894
+ projectTypeKey?: "software" | "service_desk" | "business" | undefined;
3895
+ simplified?: boolean | undefined;
3896
+ avatarUrls?: {
3897
+ '48x48'?: string | undefined;
3898
+ '24x24'?: string | undefined;
3899
+ '16x16'?: string | undefined;
3900
+ '32x32'?: string | undefined;
3901
+ } | undefined;
3902
+ };
3903
+ created: string | null;
3904
+ updated: string | null;
3905
+ resolutiondate: string | null;
3906
+ description?: string | {
3907
+ type: "doc";
3908
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3909
+ version: 1;
3910
+ } | null | undefined;
3911
+ environment?: string | {
3912
+ type: "doc";
3913
+ content: _felixgeelhaar_sdk_core.AdfNode[];
3914
+ version: 1;
3915
+ } | null | undefined;
3916
+ resolution?: {
3917
+ self: string;
3918
+ id: string;
3919
+ name: string;
3920
+ description?: string | undefined;
3921
+ } | null | undefined;
3922
+ priority?: {
3923
+ self: string;
3924
+ id: string;
3925
+ name: string;
3926
+ description?: string | undefined;
3927
+ iconUrl?: string | undefined;
3928
+ } | null | undefined;
3929
+ assignee?: {
3930
+ accountId: string;
3931
+ self?: string | undefined;
3932
+ displayName?: string | undefined;
3933
+ active?: boolean | undefined;
3934
+ avatarUrls?: {
3935
+ "48x48"?: string | undefined;
3936
+ "24x24"?: string | undefined;
3937
+ "16x16"?: string | undefined;
3938
+ "32x32"?: string | undefined;
3939
+ } | undefined;
3940
+ } | null | undefined;
3941
+ reporter?: {
3942
+ accountId: string;
3943
+ self?: string | undefined;
3944
+ displayName?: string | undefined;
3945
+ active?: boolean | undefined;
3946
+ avatarUrls?: {
3947
+ "48x48"?: string | undefined;
3948
+ "24x24"?: string | undefined;
3949
+ "16x16"?: string | undefined;
3950
+ "32x32"?: string | undefined;
3951
+ } | undefined;
3952
+ } | null | undefined;
3953
+ creator?: {
3954
+ accountId: string;
3955
+ self?: string | undefined;
3956
+ displayName?: string | undefined;
3957
+ active?: boolean | undefined;
3958
+ avatarUrls?: {
3959
+ "48x48"?: string | undefined;
3960
+ "24x24"?: string | undefined;
3961
+ "16x16"?: string | undefined;
3962
+ "32x32"?: string | undefined;
3963
+ } | undefined;
3964
+ } | null | undefined;
3965
+ parent?: {
3966
+ key: string;
3967
+ self?: string | undefined;
3968
+ id?: string | undefined;
3969
+ fields?: {
3970
+ status?: {
3971
+ self: string;
3972
+ id: string;
3973
+ name: string;
3974
+ description?: string | undefined;
3975
+ iconUrl?: string | undefined;
3976
+ statusCategory?: {
3977
+ key: string;
3978
+ self: string;
3979
+ id: number;
3980
+ name: string;
3981
+ colorName: string;
3982
+ } | undefined;
3983
+ } | undefined;
3984
+ summary?: string | undefined;
3985
+ issuetype?: {
3986
+ self: string;
3987
+ id: string;
3988
+ name: string;
3989
+ subtask: boolean;
3990
+ description?: string | undefined;
3991
+ iconUrl?: string | undefined;
3992
+ avatarId?: number | undefined;
3993
+ hierarchyLevel?: number | undefined;
3994
+ } | undefined;
3995
+ } | undefined;
3996
+ } | null | undefined;
3997
+ subtasks?: {
3998
+ key: string;
3999
+ self?: string | undefined;
4000
+ id?: string | undefined;
4001
+ fields?: {
4002
+ status?: {
4003
+ self: string;
4004
+ id: string;
4005
+ name: string;
4006
+ description?: string | undefined;
4007
+ iconUrl?: string | undefined;
4008
+ statusCategory?: {
4009
+ key: string;
4010
+ self: string;
4011
+ id: number;
4012
+ name: string;
4013
+ colorName: string;
4014
+ } | undefined;
4015
+ } | undefined;
4016
+ summary?: string | undefined;
4017
+ issuetype?: {
4018
+ self: string;
4019
+ id: string;
4020
+ name: string;
4021
+ subtask: boolean;
4022
+ description?: string | undefined;
4023
+ iconUrl?: string | undefined;
4024
+ avatarId?: number | undefined;
4025
+ hierarchyLevel?: number | undefined;
4026
+ } | undefined;
4027
+ } | undefined;
4028
+ }[] | undefined;
4029
+ fixVersions?: {
4030
+ self: string;
4031
+ id: string;
4032
+ name: string;
4033
+ description?: string | undefined;
4034
+ archived?: boolean | undefined;
4035
+ released?: boolean | undefined;
4036
+ releaseDate?: string | undefined;
4037
+ startDate?: string | undefined;
4038
+ projectId?: number | undefined;
4039
+ }[] | undefined;
4040
+ versions?: {
4041
+ self: string;
4042
+ id: string;
4043
+ name: string;
4044
+ description?: string | undefined;
4045
+ archived?: boolean | undefined;
4046
+ released?: boolean | undefined;
4047
+ releaseDate?: string | undefined;
4048
+ startDate?: string | undefined;
4049
+ projectId?: number | undefined;
4050
+ }[] | undefined;
4051
+ components?: {
4052
+ self: string;
4053
+ id: string;
4054
+ name: string;
4055
+ description?: string | undefined;
4056
+ }[] | undefined;
4057
+ labels?: string[] | undefined;
4058
+ duedate?: string | null | undefined;
4059
+ timeoriginalestimate?: number | null | undefined;
4060
+ timeestimate?: number | null | undefined;
4061
+ timespent?: number | null | undefined;
4062
+ aggregatetimeoriginalestimate?: number | null | undefined;
4063
+ aggregatetimeestimate?: number | null | undefined;
4064
+ aggregatetimespent?: number | null | undefined;
4065
+ workratio?: number | undefined;
4066
+ votes?: {
4067
+ self: string;
4068
+ votes: number;
4069
+ hasVoted: boolean;
4070
+ } | undefined;
4071
+ watches?: {
4072
+ self: string;
4073
+ watchCount: number;
4074
+ isWatching: boolean;
4075
+ } | undefined;
4076
+ progress?: {
4077
+ progress: number;
4078
+ total: number;
4079
+ percent?: number | undefined;
4080
+ } | undefined;
4081
+ aggregateprogress?: {
4082
+ progress: number;
4083
+ total: number;
4084
+ percent?: number | undefined;
4085
+ } | undefined;
4086
+ } & {
4087
+ [k: string]: unknown;
4088
+ };
4089
+ expand?: string | undefined;
4090
+ renderedFields?: Record<string, unknown> | undefined;
4091
+ names?: Record<string, string> | undefined;
4092
+ schema?: Record<string, unknown> | undefined;
4093
+ transitions?: {
4094
+ id: string;
4095
+ name: string;
4096
+ to: {
4097
+ self: string;
4098
+ id: string;
4099
+ name: string;
4100
+ description?: string | undefined;
4101
+ iconUrl?: string | undefined;
4102
+ statusCategory?: {
4103
+ key: string;
4104
+ self: string;
4105
+ id: number;
4106
+ name: string;
4107
+ colorName: string;
4108
+ } | undefined;
4109
+ };
4110
+ hasScreen?: boolean | undefined;
4111
+ isGlobal?: boolean | undefined;
4112
+ isInitial?: boolean | undefined;
4113
+ isConditional?: boolean | undefined;
4114
+ }[] | undefined;
4115
+ operations?: Record<string, unknown> | undefined;
4116
+ editmeta?: Record<string, unknown> | undefined;
4117
+ changelog?: {
4118
+ total: number;
4119
+ startAt: number;
4120
+ maxResults: number;
4121
+ histories: Record<string, unknown>[];
4122
+ } | undefined;
4123
+ versionedRepresentations?: Record<string, unknown> | undefined;
4124
+ fieldsToInclude?: Record<string, unknown> | undefined;
4125
+ }[];
4126
+ total: number;
4127
+ startAt: number;
4128
+ maxResults: number;
4129
+ expand?: string | undefined;
4130
+ names?: Record<string, string> | undefined;
4131
+ schema?: Record<string, unknown> | undefined;
4132
+ warningMessages?: string[] | undefined;
4133
+ }>;
4134
+ type SearchResult = z.infer<typeof SearchResultSchema>;
4135
+ /**
4136
+ * Search options
4137
+ */
4138
+ interface SearchOptions {
4139
+ /**
4140
+ * JQL query string
4141
+ */
4142
+ jql: string;
4143
+ /**
4144
+ * Starting index (0-based)
4145
+ */
4146
+ startAt?: number;
4147
+ /**
4148
+ * Maximum results to return (max 100)
4149
+ */
4150
+ maxResults?: number;
4151
+ /**
4152
+ * Fields to include in the response
4153
+ */
4154
+ fields?: string[];
4155
+ /**
4156
+ * Sections to expand
4157
+ */
4158
+ expand?: string[];
4159
+ /**
4160
+ * Properties to include
4161
+ */
4162
+ properties?: string[];
4163
+ /**
4164
+ * Request fields by key instead of ID
4165
+ */
4166
+ fieldsByKeys?: boolean;
4167
+ /**
4168
+ * Validate JQL before executing
4169
+ */
4170
+ validateQuery?: 'strict' | 'warn' | 'none';
4171
+ }
4172
+ /**
4173
+ * Search service for JQL queries
4174
+ *
4175
+ * @example
4176
+ * ```typescript
4177
+ * const client = new JiraClient({ ... });
4178
+ *
4179
+ * // Search with JQL
4180
+ * const results = await client.search.jql('project = PROJECT AND status = Open');
4181
+ *
4182
+ * // Search with options
4183
+ * const results = await client.search.search({
4184
+ * jql: 'project = PROJECT',
4185
+ * maxResults: 50,
4186
+ * fields: ['summary', 'status', 'assignee'],
4187
+ * });
4188
+ *
4189
+ * // Iterate all results
4190
+ * for await (const issue of client.search.iterate('project = PROJECT')) {
4191
+ * console.log(issue.key);
4192
+ * }
4193
+ * ```
4194
+ */
4195
+ declare class SearchService extends BaseService {
4196
+ /**
4197
+ * Execute a JQL search
4198
+ */
4199
+ search(options: SearchOptions): Promise<SearchResult>;
4200
+ /**
4201
+ * Convenience method for simple JQL search
4202
+ */
4203
+ jql(query: string, options?: Omit<SearchOptions, 'jql'>): Promise<SearchResult>;
4204
+ /**
4205
+ * Async iterator for paginating through all search results
4206
+ *
4207
+ * @example
4208
+ * ```typescript
4209
+ * for await (const issue of client.search.iterate('project = PROJECT')) {
4210
+ * console.log(issue.key, issue.fields.summary);
4211
+ * }
4212
+ * ```
4213
+ */
4214
+ iterate(jql: string, options?: Omit<SearchOptions, 'jql' | 'startAt'>): AsyncGenerator<Issue, void, undefined>;
4215
+ /**
4216
+ * Get all issues matching a JQL query (loads all pages into memory)
4217
+ * Use with caution for large result sets - prefer iterate() instead
4218
+ */
4219
+ all(jql: string, options?: Omit<SearchOptions, 'jql' | 'startAt'>): Promise<Issue[]>;
4220
+ /**
4221
+ * Count issues matching a JQL query (more efficient than fetching all)
4222
+ */
4223
+ count(jql: string): Promise<number>;
4224
+ }
4225
+
4226
+ /**
4227
+ * User service for user-related operations
4228
+ *
4229
+ * @example
4230
+ * ```typescript
4231
+ * const client = new JiraClient({ ... });
4232
+ *
4233
+ * // Get current user
4234
+ * const me = await client.users.getCurrentUser();
4235
+ *
4236
+ * // Search users
4237
+ * const users = await client.users.search({ query: 'john' });
4238
+ *
4239
+ * // Get assignable users for a project
4240
+ * const assignable = await client.users.getAssignable({
4241
+ * project: 'PROJECT',
4242
+ * });
4243
+ * ```
4244
+ */
4245
+ declare class UserService extends BaseService {
4246
+ /**
4247
+ * Get the currently authenticated user
4248
+ */
4249
+ getCurrentUser(options?: {
4250
+ expand?: string[];
4251
+ }): Promise<User>;
4252
+ /**
4253
+ * Get a user by account ID
4254
+ */
4255
+ get(accountId: string, options?: {
4256
+ expand?: string[];
4257
+ }): Promise<User>;
4258
+ /**
4259
+ * Search for users
4260
+ */
4261
+ search(options: {
4262
+ query?: string;
4263
+ accountId?: string;
4264
+ startAt?: number;
4265
+ maxResults?: number;
4266
+ }): Promise<User[]>;
4267
+ /**
4268
+ * Find users assignable to issues
4269
+ */
4270
+ getAssignable(options: {
4271
+ query?: string;
4272
+ accountId?: string;
4273
+ project?: string;
4274
+ issueKey?: string;
4275
+ startAt?: number;
4276
+ maxResults?: number;
4277
+ }): Promise<User[]>;
4278
+ /**
4279
+ * Find users that can be assigned to issues in a project
4280
+ */
4281
+ getAssignableForProject(projectKey: string, options?: {
4282
+ query?: string;
4283
+ startAt?: number;
4284
+ maxResults?: number;
4285
+ }): Promise<User[]>;
4286
+ /**
4287
+ * Find users that can be assigned to a specific issue
4288
+ */
4289
+ getAssignableForIssue(issueKey: string, options?: {
4290
+ query?: string;
4291
+ startAt?: number;
4292
+ maxResults?: number;
4293
+ }): Promise<User[]>;
4294
+ /**
4295
+ * Get users who can browse a project
4296
+ */
4297
+ getProjectMembers(projectKey: string, options?: {
4298
+ query?: string;
4299
+ startAt?: number;
4300
+ maxResults?: number;
4301
+ }): Promise<User[]>;
4302
+ }
4303
+
4304
+ export { BaseService, IssueService, ProjectService, type SearchOptions, type SearchResult, SearchService, UserService };