@felixgeelhaar/jira-sdk 0.1.0 → 0.3.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.
@@ -1,325 +1,153 @@
1
1
  import { z } from 'zod';
2
- export { q as AddCommentInput, A as AddCommentInputSchema, H as AddWorklogInput, F as AddWorklogInputSchema, p as Comment, o as CommentSchema, n as CommentVisibility, m as CommentVisibilitySchema, u as CommentsPage, t as CommentsPageSchema, f as CreateIssueFields, C as CreateIssueFieldsSchema, h as CreateIssueInput, g as CreateIssueInputSchema, k as CreateIssueResponse, j as CreateIssueResponseSchema, X as CreateProjectInput, V as CreateProjectInputSchema, y as DoTransitionInput, D as DoTransitionInputSchema, l as GetIssueOptions, G as GetIssueOptionsSchema, a1 as GetProjectsOptions, a0 as GetProjectsOptionsSchema, e as Issue, c as IssueFields, b as IssueFieldsSchema, a as IssueRef, I as IssueRefSchema, d as IssueSchema, S as Project, Q as ProjectRef, P as ProjectRefSchema, R as ProjectSchema, $ as ProjectSearchResult, _ as ProjectSearchResultSchema, v as Transition, T as TransitionSchema, x as TransitionsResponse, w as TransitionsResponseSchema, s as UpdateCommentInput, r as UpdateCommentInputSchema, i as UpdateIssueInput, U as UpdateIssueInputSchema, Z as UpdateProjectInput, Y as UpdateProjectInputSchema, K as UpdateWorklogInput, J as UpdateWorklogInputSchema, O as Watchers, N as WatchersSchema, E as Worklog, B as WorklogSchema, z as WorklogVisibility, W as WorklogVisibilitySchema, M as WorklogsPage, L as WorklogsPageSchema } from '../project-DNkPXkPv.js';
2
+ export { J as AddAttachmentResponse, H as AddAttachmentResponseSchema, q as AddCommentInput, A as AddCommentInputSchema, O as AddWorklogInput, N as AddWorklogInputSchema, B as Attachment, F as AttachmentMetadata, E as AttachmentMetadataSchema, z as AttachmentSchema, p as Comment, o as CommentSchema, n as CommentVisibility, m as CommentVisibilitySchema, u as CommentsPage, t as CommentsPageSchema, f as CreateIssueFields, C as CreateIssueFieldsSchema, h as CreateIssueInput, g as CreateIssueInputSchema, a3 as CreateIssueLinkInput, a2 as CreateIssueLinkInputSchema, k as CreateIssueResponse, j as CreateIssueResponseSchema, ai as CreateProjectInput, ah as CreateProjectInputSchema, y as DoTransitionInput, D as DoTransitionInputSchema, l as GetIssueOptions, G as GetIssueOptionsSchema, ao as GetProjectsOptions, an as GetProjectsOptionsSchema, e as Issue, c as IssueFields, b as IssueFieldsSchema, a1 as IssueLink, a0 as IssueLinkSchema, X as IssueLinkType, V as IssueLinkTypeSchema, a5 as IssueLinkTypesResponse, a4 as IssueLinkTypesResponseSchema, a as IssueRef, I as IssueRefSchema, d as IssueSchema, $ as LinkedIssue, Z as LinkedIssueFields, Y as LinkedIssueFieldsSchema, _ as LinkedIssueSchema, ag as Project, ae as ProjectRef, ad as ProjectRefSchema, af as ProjectSchema, am as ProjectSearchResult, al as ProjectSearchResultSchema, v as Transition, T as TransitionSchema, x as TransitionsResponse, w as TransitionsResponseSchema, s as UpdateCommentInput, r as UpdateCommentInputSchema, i as UpdateIssueInput, U as UpdateIssueInputSchema, ak as UpdateProjectInput, aj as UpdateProjectInputSchema, Q as UpdateWorklogInput, P as UpdateWorklogInputSchema, ac as Watchers, ab as WatchersSchema, M as Worklog, L as WorklogSchema, K as WorklogVisibility, W as WorklogVisibilitySchema, S as WorklogsPage, R as WorklogsPageSchema, a6 as blocksLinkType, a9 as causesLinkType, aa as clonesLinkType, a7 as duplicatesLinkType, a8 as relatesToLinkType } from '../project-B1UelBH4.js';
3
3
  import '@felixgeelhaar/sdk-core';
4
4
 
5
5
  /**
6
6
  * Issue Type
7
7
  */
8
8
  declare const IssueTypeSchema: z.ZodObject<{
9
- self: z.ZodString;
9
+ self: z.ZodURL;
10
10
  id: z.ZodString;
11
11
  name: z.ZodString;
12
12
  description: z.ZodOptional<z.ZodString>;
13
- iconUrl: z.ZodOptional<z.ZodString>;
13
+ iconUrl: z.ZodOptional<z.ZodURL>;
14
14
  subtask: z.ZodBoolean;
15
15
  avatarId: z.ZodOptional<z.ZodNumber>;
16
16
  hierarchyLevel: z.ZodOptional<z.ZodNumber>;
17
- }, "strip", z.ZodTypeAny, {
18
- self: string;
19
- id: string;
20
- name: string;
21
- subtask: boolean;
22
- description?: string | undefined;
23
- iconUrl?: string | undefined;
24
- avatarId?: number | undefined;
25
- hierarchyLevel?: number | undefined;
26
- }, {
27
- self: string;
28
- id: string;
29
- name: string;
30
- subtask: boolean;
31
- description?: string | undefined;
32
- iconUrl?: string | undefined;
33
- avatarId?: number | undefined;
34
- hierarchyLevel?: number | undefined;
35
- }>;
17
+ }, z.core.$strip>;
36
18
  type IssueType = z.infer<typeof IssueTypeSchema>;
37
19
  /**
38
20
  * Issue Type input for creation
39
21
  */
40
- declare const IssueTypeInputSchema: z.ZodUnion<[z.ZodObject<{
22
+ declare const IssueTypeInputSchema: z.ZodUnion<readonly [z.ZodObject<{
41
23
  id: z.ZodString;
42
- }, "strip", z.ZodTypeAny, {
43
- id: string;
44
- }, {
45
- id: string;
46
- }>, z.ZodObject<{
24
+ }, z.core.$strip>, z.ZodObject<{
47
25
  name: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- name: string;
50
- }, {
51
- name: string;
52
- }>]>;
26
+ }, z.core.$strip>]>;
53
27
  type IssueTypeInput = z.infer<typeof IssueTypeInputSchema>;
54
28
  /**
55
29
  * Status Category
56
30
  */
57
31
  declare const StatusCategorySchema: z.ZodObject<{
58
- self: z.ZodString;
32
+ self: z.ZodURL;
59
33
  id: z.ZodNumber;
60
34
  key: z.ZodString;
61
35
  colorName: z.ZodString;
62
36
  name: z.ZodString;
63
- }, "strip", z.ZodTypeAny, {
64
- key: string;
65
- self: string;
66
- id: number;
67
- name: string;
68
- colorName: string;
69
- }, {
70
- key: string;
71
- self: string;
72
- id: number;
73
- name: string;
74
- colorName: string;
75
- }>;
37
+ }, z.core.$strip>;
76
38
  type StatusCategory = z.infer<typeof StatusCategorySchema>;
77
39
  /**
78
40
  * Issue Status
79
41
  */
80
42
  declare const IssueStatusSchema: z.ZodObject<{
81
- self: z.ZodString;
43
+ self: z.ZodURL;
82
44
  id: z.ZodString;
83
45
  name: z.ZodString;
84
46
  description: z.ZodOptional<z.ZodString>;
85
- iconUrl: z.ZodOptional<z.ZodString>;
47
+ iconUrl: z.ZodOptional<z.ZodURL>;
86
48
  statusCategory: z.ZodOptional<z.ZodObject<{
87
- self: z.ZodString;
49
+ self: z.ZodURL;
88
50
  id: z.ZodNumber;
89
51
  key: z.ZodString;
90
52
  colorName: z.ZodString;
91
53
  name: z.ZodString;
92
- }, "strip", z.ZodTypeAny, {
93
- key: string;
94
- self: string;
95
- id: number;
96
- name: string;
97
- colorName: string;
98
- }, {
99
- key: string;
100
- self: string;
101
- id: number;
102
- name: string;
103
- colorName: string;
104
- }>>;
105
- }, "strip", z.ZodTypeAny, {
106
- self: string;
107
- id: string;
108
- name: string;
109
- description?: string | undefined;
110
- iconUrl?: string | undefined;
111
- statusCategory?: {
112
- key: string;
113
- self: string;
114
- id: number;
115
- name: string;
116
- colorName: string;
117
- } | undefined;
118
- }, {
119
- self: string;
120
- id: string;
121
- name: string;
122
- description?: string | undefined;
123
- iconUrl?: string | undefined;
124
- statusCategory?: {
125
- key: string;
126
- self: string;
127
- id: number;
128
- name: string;
129
- colorName: string;
130
- } | undefined;
131
- }>;
54
+ }, z.core.$strip>>;
55
+ }, z.core.$strip>;
132
56
  type IssueStatus = z.infer<typeof IssueStatusSchema>;
133
57
  /**
134
58
  * Issue Priority
135
59
  */
136
60
  declare const IssuePrioritySchema: z.ZodObject<{
137
- self: z.ZodString;
61
+ self: z.ZodURL;
138
62
  id: z.ZodString;
139
63
  name: z.ZodString;
140
64
  description: z.ZodOptional<z.ZodString>;
141
- iconUrl: z.ZodOptional<z.ZodString>;
142
- }, "strip", z.ZodTypeAny, {
143
- self: string;
144
- id: string;
145
- name: string;
146
- description?: string | undefined;
147
- iconUrl?: string | undefined;
148
- }, {
149
- self: string;
150
- id: string;
151
- name: string;
152
- description?: string | undefined;
153
- iconUrl?: string | undefined;
154
- }>;
65
+ iconUrl: z.ZodOptional<z.ZodURL>;
66
+ }, z.core.$strip>;
155
67
  type IssuePriority = z.infer<typeof IssuePrioritySchema>;
156
68
  /**
157
69
  * Priority input for creation/update
158
70
  */
159
- declare const PriorityInputSchema: z.ZodUnion<[z.ZodObject<{
71
+ declare const PriorityInputSchema: z.ZodUnion<readonly [z.ZodObject<{
160
72
  id: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- id: string;
163
- }, {
164
- id: string;
165
- }>, z.ZodObject<{
73
+ }, z.core.$strip>, z.ZodObject<{
166
74
  name: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
168
- name: string;
169
- }, {
170
- name: string;
171
- }>]>;
75
+ }, z.core.$strip>]>;
172
76
  type PriorityInput = z.infer<typeof PriorityInputSchema>;
173
77
  /**
174
78
  * Issue Resolution
175
79
  */
176
80
  declare const IssueResolutionSchema: z.ZodObject<{
177
- self: z.ZodString;
81
+ self: z.ZodURL;
178
82
  id: z.ZodString;
179
83
  name: z.ZodString;
180
84
  description: z.ZodOptional<z.ZodString>;
181
- }, "strip", z.ZodTypeAny, {
182
- self: string;
183
- id: string;
184
- name: string;
185
- description?: string | undefined;
186
- }, {
187
- self: string;
188
- id: string;
189
- name: string;
190
- description?: string | undefined;
191
- }>;
85
+ }, z.core.$strip>;
192
86
  type IssueResolution = z.infer<typeof IssueResolutionSchema>;
193
87
  /**
194
88
  * Resolution input
195
89
  */
196
- declare const ResolutionInputSchema: z.ZodUnion<[z.ZodObject<{
90
+ declare const ResolutionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
197
91
  id: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- id: string;
200
- }, {
201
- id: string;
202
- }>, z.ZodObject<{
92
+ }, z.core.$strip>, z.ZodObject<{
203
93
  name: z.ZodString;
204
- }, "strip", z.ZodTypeAny, {
205
- name: string;
206
- }, {
207
- name: string;
208
- }>]>;
94
+ }, z.core.$strip>]>;
209
95
  type ResolutionInput = z.infer<typeof ResolutionInputSchema>;
210
96
  /**
211
97
  * Project reference in issue
212
98
  */
213
99
  declare const IssueProjectSchema: z.ZodObject<{
214
- self: z.ZodString;
100
+ self: z.ZodURL;
215
101
  id: z.ZodString;
216
102
  key: z.ZodString;
217
103
  name: z.ZodString;
218
- projectTypeKey: z.ZodOptional<z.ZodEnum<["software", "service_desk", "business"]>>;
104
+ projectTypeKey: z.ZodOptional<z.ZodEnum<{
105
+ software: "software";
106
+ service_desk: "service_desk";
107
+ business: "business";
108
+ }>>;
219
109
  simplified: z.ZodOptional<z.ZodBoolean>;
220
110
  avatarUrls: z.ZodOptional<z.ZodObject<{
221
- '48x48': z.ZodOptional<z.ZodString>;
222
- '24x24': z.ZodOptional<z.ZodString>;
223
- '16x16': z.ZodOptional<z.ZodString>;
224
- '32x32': z.ZodOptional<z.ZodString>;
225
- }, "strip", z.ZodTypeAny, {
226
- '48x48'?: string | undefined;
227
- '24x24'?: string | undefined;
228
- '16x16'?: string | undefined;
229
- '32x32'?: string | undefined;
230
- }, {
231
- '48x48'?: string | undefined;
232
- '24x24'?: string | undefined;
233
- '16x16'?: string | undefined;
234
- '32x32'?: string | undefined;
235
- }>>;
236
- }, "strip", z.ZodTypeAny, {
237
- key: string;
238
- self: string;
239
- id: string;
240
- name: string;
241
- projectTypeKey?: "software" | "service_desk" | "business" | undefined;
242
- simplified?: boolean | undefined;
243
- avatarUrls?: {
244
- '48x48'?: string | undefined;
245
- '24x24'?: string | undefined;
246
- '16x16'?: string | undefined;
247
- '32x32'?: string | undefined;
248
- } | undefined;
249
- }, {
250
- key: string;
251
- self: string;
252
- id: string;
253
- name: string;
254
- projectTypeKey?: "software" | "service_desk" | "business" | undefined;
255
- simplified?: boolean | undefined;
256
- avatarUrls?: {
257
- '48x48'?: string | undefined;
258
- '24x24'?: string | undefined;
259
- '16x16'?: string | undefined;
260
- '32x32'?: string | undefined;
261
- } | undefined;
262
- }>;
111
+ '48x48': z.ZodOptional<z.ZodURL>;
112
+ '24x24': z.ZodOptional<z.ZodURL>;
113
+ '16x16': z.ZodOptional<z.ZodURL>;
114
+ '32x32': z.ZodOptional<z.ZodURL>;
115
+ }, z.core.$strip>>;
116
+ }, z.core.$strip>;
263
117
  type IssueProject = z.infer<typeof IssueProjectSchema>;
264
118
  /**
265
119
  * Project input for creation
266
120
  */
267
- declare const ProjectInputSchema: z.ZodUnion<[z.ZodObject<{
121
+ declare const ProjectInputSchema: z.ZodUnion<readonly [z.ZodObject<{
268
122
  id: z.ZodString;
269
- }, "strip", z.ZodTypeAny, {
270
- id: string;
271
- }, {
272
- id: string;
273
- }>, z.ZodObject<{
123
+ }, z.core.$strip>, z.ZodObject<{
274
124
  key: z.ZodString;
275
- }, "strip", z.ZodTypeAny, {
276
- key: string;
277
- }, {
278
- key: string;
279
- }>]>;
125
+ }, z.core.$strip>]>;
280
126
  type ProjectInput = z.infer<typeof ProjectInputSchema>;
281
127
  /**
282
128
  * Component
283
129
  */
284
130
  declare const ComponentSchema: z.ZodObject<{
285
- self: z.ZodString;
131
+ self: z.ZodURL;
286
132
  id: z.ZodString;
287
133
  name: z.ZodString;
288
134
  description: z.ZodOptional<z.ZodString>;
289
- }, "strip", z.ZodTypeAny, {
290
- self: string;
291
- id: string;
292
- name: string;
293
- description?: string | undefined;
294
- }, {
295
- self: string;
296
- id: string;
297
- name: string;
298
- description?: string | undefined;
299
- }>;
135
+ }, z.core.$strip>;
300
136
  type Component = z.infer<typeof ComponentSchema>;
301
137
  /**
302
138
  * Component input
303
139
  */
304
- declare const ComponentInputSchema: z.ZodUnion<[z.ZodObject<{
140
+ declare const ComponentInputSchema: z.ZodUnion<readonly [z.ZodObject<{
305
141
  id: z.ZodString;
306
- }, "strip", z.ZodTypeAny, {
307
- id: string;
308
- }, {
309
- id: string;
310
- }>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
311
143
  name: z.ZodString;
312
- }, "strip", z.ZodTypeAny, {
313
- name: string;
314
- }, {
315
- name: string;
316
- }>]>;
144
+ }, z.core.$strip>]>;
317
145
  type ComponentInput = z.infer<typeof ComponentInputSchema>;
318
146
  /**
319
147
  * Version (Fix Version / Affects Version)
320
148
  */
321
149
  declare const VersionSchema: z.ZodObject<{
322
- self: z.ZodString;
150
+ self: z.ZodURL;
323
151
  id: z.ZodString;
324
152
  name: z.ZodString;
325
153
  description: z.ZodOptional<z.ZodString>;
@@ -328,1162 +156,60 @@ declare const VersionSchema: z.ZodObject<{
328
156
  releaseDate: z.ZodOptional<z.ZodString>;
329
157
  startDate: z.ZodOptional<z.ZodString>;
330
158
  projectId: z.ZodOptional<z.ZodNumber>;
331
- }, "strip", z.ZodTypeAny, {
332
- self: string;
333
- id: string;
334
- name: string;
335
- description?: string | undefined;
336
- archived?: boolean | undefined;
337
- released?: boolean | undefined;
338
- releaseDate?: string | undefined;
339
- startDate?: string | undefined;
340
- projectId?: number | undefined;
341
- }, {
342
- self: string;
343
- id: string;
344
- name: string;
345
- description?: string | undefined;
346
- archived?: boolean | undefined;
347
- released?: boolean | undefined;
348
- releaseDate?: string | undefined;
349
- startDate?: string | undefined;
350
- projectId?: number | undefined;
351
- }>;
159
+ }, z.core.$strip>;
352
160
  type Version = z.infer<typeof VersionSchema>;
353
161
  /**
354
162
  * Version input
355
163
  */
356
- declare const VersionInputSchema: z.ZodUnion<[z.ZodObject<{
164
+ declare const VersionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
357
165
  id: z.ZodString;
358
- }, "strip", z.ZodTypeAny, {
359
- id: string;
360
- }, {
361
- id: string;
362
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
363
167
  name: z.ZodString;
364
- }, "strip", z.ZodTypeAny, {
365
- name: string;
366
- }, {
367
- name: string;
368
- }>]>;
168
+ }, z.core.$strip>]>;
369
169
  type VersionInput = z.infer<typeof VersionInputSchema>;
370
170
 
371
- /**
372
- * Issue Attachment
373
- */
374
- declare const AttachmentSchema: z.ZodObject<{
375
- self: z.ZodString;
376
- id: z.ZodString;
377
- filename: z.ZodString;
378
- author: z.ZodOptional<z.ZodObject<{
379
- self: z.ZodOptional<z.ZodString>;
380
- accountId: z.ZodString;
381
- displayName: z.ZodOptional<z.ZodString>;
382
- active: z.ZodOptional<z.ZodBoolean>;
383
- avatarUrls: z.ZodOptional<z.ZodObject<{
384
- "48x48": z.ZodOptional<z.ZodString>;
385
- "24x24": z.ZodOptional<z.ZodString>;
386
- "16x16": z.ZodOptional<z.ZodString>;
387
- "32x32": z.ZodOptional<z.ZodString>;
388
- }, "strip", z.ZodTypeAny, {
389
- "48x48"?: string | undefined;
390
- "24x24"?: string | undefined;
391
- "16x16"?: string | undefined;
392
- "32x32"?: string | undefined;
393
- }, {
394
- "48x48"?: string | undefined;
395
- "24x24"?: string | undefined;
396
- "16x16"?: string | undefined;
397
- "32x32"?: string | undefined;
398
- }>>;
399
- }, "strip", z.ZodTypeAny, {
400
- accountId: string;
401
- self?: string | undefined;
402
- displayName?: string | undefined;
403
- active?: boolean | undefined;
404
- avatarUrls?: {
405
- "48x48"?: string | undefined;
406
- "24x24"?: string | undefined;
407
- "16x16"?: string | undefined;
408
- "32x32"?: string | undefined;
409
- } | undefined;
410
- }, {
411
- accountId: string;
412
- self?: string | undefined;
413
- displayName?: string | undefined;
414
- active?: boolean | undefined;
415
- avatarUrls?: {
416
- "48x48"?: string | undefined;
417
- "24x24"?: string | undefined;
418
- "16x16"?: string | undefined;
419
- "32x32"?: string | undefined;
420
- } | undefined;
421
- }>>;
422
- created: z.ZodNullable<z.ZodString>;
423
- size: z.ZodNumber;
424
- mimeType: z.ZodString;
425
- content: z.ZodString;
426
- thumbnail: z.ZodOptional<z.ZodString>;
427
- }, "strip", z.ZodTypeAny, {
428
- self: string;
429
- id: string;
430
- created: string | null;
431
- filename: string;
432
- size: number;
433
- mimeType: string;
434
- content: string;
435
- author?: {
436
- accountId: string;
437
- self?: string | undefined;
438
- displayName?: string | undefined;
439
- active?: boolean | undefined;
440
- avatarUrls?: {
441
- "48x48"?: string | undefined;
442
- "24x24"?: string | undefined;
443
- "16x16"?: string | undefined;
444
- "32x32"?: string | undefined;
445
- } | undefined;
446
- } | undefined;
447
- thumbnail?: string | undefined;
448
- }, {
449
- self: string;
450
- id: string;
451
- created: string | null;
452
- filename: string;
453
- size: number;
454
- mimeType: string;
455
- content: string;
456
- author?: {
457
- accountId: string;
458
- self?: string | undefined;
459
- displayName?: string | undefined;
460
- active?: boolean | undefined;
461
- avatarUrls?: {
462
- "48x48"?: string | undefined;
463
- "24x24"?: string | undefined;
464
- "16x16"?: string | undefined;
465
- "32x32"?: string | undefined;
466
- } | undefined;
467
- } | undefined;
468
- thumbnail?: string | undefined;
469
- }>;
470
- type Attachment = z.infer<typeof AttachmentSchema>;
471
- /**
472
- * Attachment metadata response
473
- */
474
- declare const AttachmentMetadataSchema: z.ZodObject<{
475
- id: z.ZodNumber;
476
- self: z.ZodString;
477
- filename: z.ZodString;
478
- author: z.ZodObject<{
479
- self: z.ZodOptional<z.ZodString>;
480
- accountId: z.ZodString;
481
- displayName: z.ZodOptional<z.ZodString>;
482
- active: z.ZodOptional<z.ZodBoolean>;
483
- avatarUrls: z.ZodOptional<z.ZodObject<{
484
- "48x48": z.ZodOptional<z.ZodString>;
485
- "24x24": z.ZodOptional<z.ZodString>;
486
- "16x16": z.ZodOptional<z.ZodString>;
487
- "32x32": z.ZodOptional<z.ZodString>;
488
- }, "strip", z.ZodTypeAny, {
489
- "48x48"?: string | undefined;
490
- "24x24"?: string | undefined;
491
- "16x16"?: string | undefined;
492
- "32x32"?: string | undefined;
493
- }, {
494
- "48x48"?: string | undefined;
495
- "24x24"?: string | undefined;
496
- "16x16"?: string | undefined;
497
- "32x32"?: string | undefined;
498
- }>>;
499
- }, "strip", z.ZodTypeAny, {
500
- accountId: string;
501
- self?: string | undefined;
502
- displayName?: string | undefined;
503
- active?: boolean | undefined;
504
- avatarUrls?: {
505
- "48x48"?: string | undefined;
506
- "24x24"?: string | undefined;
507
- "16x16"?: string | undefined;
508
- "32x32"?: string | undefined;
509
- } | undefined;
510
- }, {
511
- accountId: string;
512
- self?: string | undefined;
513
- displayName?: string | undefined;
514
- active?: boolean | undefined;
515
- avatarUrls?: {
516
- "48x48"?: string | undefined;
517
- "24x24"?: string | undefined;
518
- "16x16"?: string | undefined;
519
- "32x32"?: string | undefined;
520
- } | undefined;
521
- }>;
522
- created: z.ZodNullable<z.ZodString>;
523
- size: z.ZodNumber;
524
- mimeType: z.ZodString;
525
- properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
526
- content: z.ZodOptional<z.ZodString>;
527
- thumbnail: z.ZodOptional<z.ZodString>;
528
- }, "strip", z.ZodTypeAny, {
529
- self: string;
530
- id: number;
531
- created: string | null;
532
- author: {
533
- accountId: string;
534
- self?: string | undefined;
535
- displayName?: string | undefined;
536
- active?: boolean | undefined;
537
- avatarUrls?: {
538
- "48x48"?: string | undefined;
539
- "24x24"?: string | undefined;
540
- "16x16"?: string | undefined;
541
- "32x32"?: string | undefined;
542
- } | undefined;
543
- };
544
- filename: string;
545
- size: number;
546
- mimeType: string;
547
- properties?: Record<string, unknown> | undefined;
548
- content?: string | undefined;
549
- thumbnail?: string | undefined;
550
- }, {
551
- self: string;
552
- id: number;
553
- created: string | null;
554
- author: {
555
- accountId: string;
556
- self?: string | undefined;
557
- displayName?: string | undefined;
558
- active?: boolean | undefined;
559
- avatarUrls?: {
560
- "48x48"?: string | undefined;
561
- "24x24"?: string | undefined;
562
- "16x16"?: string | undefined;
563
- "32x32"?: string | undefined;
564
- } | undefined;
565
- };
566
- filename: string;
567
- size: number;
568
- mimeType: string;
569
- properties?: Record<string, unknown> | undefined;
570
- content?: string | undefined;
571
- thumbnail?: string | undefined;
572
- }>;
573
- type AttachmentMetadata = z.infer<typeof AttachmentMetadataSchema>;
574
- /**
575
- * Add attachment response (array of attachments)
576
- */
577
- declare const AddAttachmentResponseSchema: z.ZodArray<z.ZodObject<{
578
- self: z.ZodString;
579
- id: z.ZodString;
580
- filename: z.ZodString;
581
- author: z.ZodOptional<z.ZodObject<{
582
- self: z.ZodOptional<z.ZodString>;
583
- accountId: z.ZodString;
584
- displayName: z.ZodOptional<z.ZodString>;
585
- active: z.ZodOptional<z.ZodBoolean>;
586
- avatarUrls: z.ZodOptional<z.ZodObject<{
587
- "48x48": z.ZodOptional<z.ZodString>;
588
- "24x24": z.ZodOptional<z.ZodString>;
589
- "16x16": z.ZodOptional<z.ZodString>;
590
- "32x32": z.ZodOptional<z.ZodString>;
591
- }, "strip", z.ZodTypeAny, {
592
- "48x48"?: string | undefined;
593
- "24x24"?: string | undefined;
594
- "16x16"?: string | undefined;
595
- "32x32"?: string | undefined;
596
- }, {
597
- "48x48"?: string | undefined;
598
- "24x24"?: string | undefined;
599
- "16x16"?: string | undefined;
600
- "32x32"?: string | undefined;
601
- }>>;
602
- }, "strip", z.ZodTypeAny, {
603
- accountId: string;
604
- self?: string | undefined;
605
- displayName?: string | undefined;
606
- active?: boolean | undefined;
607
- avatarUrls?: {
608
- "48x48"?: string | undefined;
609
- "24x24"?: string | undefined;
610
- "16x16"?: string | undefined;
611
- "32x32"?: string | undefined;
612
- } | undefined;
613
- }, {
614
- accountId: string;
615
- self?: string | undefined;
616
- displayName?: string | undefined;
617
- active?: boolean | undefined;
618
- avatarUrls?: {
619
- "48x48"?: string | undefined;
620
- "24x24"?: string | undefined;
621
- "16x16"?: string | undefined;
622
- "32x32"?: string | undefined;
623
- } | undefined;
624
- }>>;
625
- created: z.ZodNullable<z.ZodString>;
626
- size: z.ZodNumber;
627
- mimeType: z.ZodString;
628
- content: z.ZodString;
629
- thumbnail: z.ZodOptional<z.ZodString>;
630
- }, "strip", z.ZodTypeAny, {
631
- self: string;
632
- id: string;
633
- created: string | null;
634
- filename: string;
635
- size: number;
636
- mimeType: string;
637
- content: string;
638
- author?: {
639
- accountId: string;
640
- self?: string | undefined;
641
- displayName?: string | undefined;
642
- active?: boolean | undefined;
643
- avatarUrls?: {
644
- "48x48"?: string | undefined;
645
- "24x24"?: string | undefined;
646
- "16x16"?: string | undefined;
647
- "32x32"?: string | undefined;
648
- } | undefined;
649
- } | undefined;
650
- thumbnail?: string | undefined;
651
- }, {
652
- self: string;
653
- id: string;
654
- created: string | null;
655
- filename: string;
656
- size: number;
657
- mimeType: string;
658
- content: string;
659
- author?: {
660
- accountId: string;
661
- self?: string | undefined;
662
- displayName?: string | undefined;
663
- active?: boolean | undefined;
664
- avatarUrls?: {
665
- "48x48"?: string | undefined;
666
- "24x24"?: string | undefined;
667
- "16x16"?: string | undefined;
668
- "32x32"?: string | undefined;
669
- } | undefined;
670
- } | undefined;
671
- thumbnail?: string | undefined;
672
- }>, "many">;
673
- type AddAttachmentResponse = z.infer<typeof AddAttachmentResponseSchema>;
674
-
675
- /**
676
- * Issue Link Type
677
- */
678
- declare const IssueLinkTypeSchema: z.ZodObject<{
679
- id: z.ZodString;
680
- name: z.ZodString;
681
- inward: z.ZodString;
682
- outward: z.ZodString;
683
- self: z.ZodOptional<z.ZodString>;
684
- }, "strip", z.ZodTypeAny, {
685
- id: string;
686
- name: string;
687
- inward: string;
688
- outward: string;
689
- self?: string | undefined;
690
- }, {
691
- id: string;
692
- name: string;
693
- inward: string;
694
- outward: string;
695
- self?: string | undefined;
696
- }>;
697
- type IssueLinkType = z.infer<typeof IssueLinkTypeSchema>;
698
- /**
699
- * Issue Link
700
- */
701
- declare const IssueLinkSchema: z.ZodObject<{
702
- id: z.ZodString;
703
- self: z.ZodOptional<z.ZodString>;
704
- type: z.ZodObject<{
705
- id: z.ZodString;
706
- name: z.ZodString;
707
- inward: z.ZodString;
708
- outward: z.ZodString;
709
- self: z.ZodOptional<z.ZodString>;
710
- }, "strip", z.ZodTypeAny, {
711
- id: string;
712
- name: string;
713
- inward: string;
714
- outward: string;
715
- self?: string | undefined;
716
- }, {
717
- id: string;
718
- name: string;
719
- inward: string;
720
- outward: string;
721
- self?: string | undefined;
722
- }>;
723
- inwardIssue: z.ZodOptional<z.ZodObject<{
724
- id: z.ZodOptional<z.ZodString>;
725
- key: z.ZodString;
726
- self: z.ZodOptional<z.ZodString>;
727
- fields: z.ZodOptional<z.ZodObject<{
728
- summary: z.ZodOptional<z.ZodString>;
729
- status: z.ZodOptional<z.ZodObject<{
730
- self: z.ZodString;
731
- id: z.ZodString;
732
- name: z.ZodString;
733
- description: z.ZodOptional<z.ZodString>;
734
- iconUrl: z.ZodOptional<z.ZodString>;
735
- statusCategory: z.ZodOptional<z.ZodObject<{
736
- self: z.ZodString;
737
- id: z.ZodNumber;
738
- key: z.ZodString;
739
- colorName: z.ZodString;
740
- name: z.ZodString;
741
- }, "strip", z.ZodTypeAny, {
742
- key: string;
743
- self: string;
744
- id: number;
745
- name: string;
746
- colorName: string;
747
- }, {
748
- key: string;
749
- self: string;
750
- id: number;
751
- name: string;
752
- colorName: string;
753
- }>>;
754
- }, "strip", z.ZodTypeAny, {
755
- self: string;
756
- id: string;
757
- name: string;
758
- description?: string | undefined;
759
- iconUrl?: string | undefined;
760
- statusCategory?: {
761
- key: string;
762
- self: string;
763
- id: number;
764
- name: string;
765
- colorName: string;
766
- } | undefined;
767
- }, {
768
- self: string;
769
- id: string;
770
- name: string;
771
- description?: string | undefined;
772
- iconUrl?: string | undefined;
773
- statusCategory?: {
774
- key: string;
775
- self: string;
776
- id: number;
777
- name: string;
778
- colorName: string;
779
- } | undefined;
780
- }>>;
781
- issuetype: z.ZodOptional<z.ZodObject<{
782
- self: z.ZodString;
783
- id: z.ZodString;
784
- name: z.ZodString;
785
- description: z.ZodOptional<z.ZodString>;
786
- iconUrl: z.ZodOptional<z.ZodString>;
787
- subtask: z.ZodBoolean;
788
- avatarId: z.ZodOptional<z.ZodNumber>;
789
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
790
- }, "strip", z.ZodTypeAny, {
791
- self: string;
792
- id: string;
793
- name: string;
794
- subtask: boolean;
795
- description?: string | undefined;
796
- iconUrl?: string | undefined;
797
- avatarId?: number | undefined;
798
- hierarchyLevel?: number | undefined;
799
- }, {
800
- self: string;
801
- id: string;
802
- name: string;
803
- subtask: boolean;
804
- description?: string | undefined;
805
- iconUrl?: string | undefined;
806
- avatarId?: number | undefined;
807
- hierarchyLevel?: number | undefined;
808
- }>>;
809
- }, "strip", z.ZodTypeAny, {
810
- status?: {
811
- self: string;
812
- id: string;
813
- name: string;
814
- description?: string | undefined;
815
- iconUrl?: string | undefined;
816
- statusCategory?: {
817
- key: string;
818
- self: string;
819
- id: number;
820
- name: string;
821
- colorName: string;
822
- } | undefined;
823
- } | undefined;
824
- summary?: string | undefined;
825
- issuetype?: {
826
- self: string;
827
- id: string;
828
- name: string;
829
- subtask: boolean;
830
- description?: string | undefined;
831
- iconUrl?: string | undefined;
832
- avatarId?: number | undefined;
833
- hierarchyLevel?: number | undefined;
834
- } | undefined;
835
- }, {
836
- status?: {
837
- self: string;
838
- id: string;
839
- name: string;
840
- description?: string | undefined;
841
- iconUrl?: string | undefined;
842
- statusCategory?: {
843
- key: string;
844
- self: string;
845
- id: number;
846
- name: string;
847
- colorName: string;
848
- } | undefined;
849
- } | undefined;
850
- summary?: string | undefined;
851
- issuetype?: {
852
- self: string;
853
- id: string;
854
- name: string;
855
- subtask: boolean;
856
- description?: string | undefined;
857
- iconUrl?: string | undefined;
858
- avatarId?: number | undefined;
859
- hierarchyLevel?: number | undefined;
860
- } | undefined;
861
- }>>;
862
- }, "strip", z.ZodTypeAny, {
863
- key: string;
864
- self?: string | undefined;
865
- id?: string | undefined;
866
- fields?: {
867
- status?: {
868
- self: string;
869
- id: string;
870
- name: string;
871
- description?: string | undefined;
872
- iconUrl?: string | undefined;
873
- statusCategory?: {
874
- key: string;
875
- self: string;
876
- id: number;
877
- name: string;
878
- colorName: string;
879
- } | undefined;
880
- } | undefined;
881
- summary?: string | undefined;
882
- issuetype?: {
883
- self: string;
884
- id: string;
885
- name: string;
886
- subtask: boolean;
887
- description?: string | undefined;
888
- iconUrl?: string | undefined;
889
- avatarId?: number | undefined;
890
- hierarchyLevel?: number | undefined;
891
- } | undefined;
892
- } | undefined;
893
- }, {
894
- key: string;
895
- self?: string | undefined;
896
- id?: string | undefined;
897
- fields?: {
898
- status?: {
899
- self: string;
900
- id: string;
901
- name: string;
902
- description?: string | undefined;
903
- iconUrl?: string | undefined;
904
- statusCategory?: {
905
- key: string;
906
- self: string;
907
- id: number;
908
- name: string;
909
- colorName: string;
910
- } | undefined;
911
- } | undefined;
912
- summary?: string | undefined;
913
- issuetype?: {
914
- self: string;
915
- id: string;
916
- name: string;
917
- subtask: boolean;
918
- description?: string | undefined;
919
- iconUrl?: string | undefined;
920
- avatarId?: number | undefined;
921
- hierarchyLevel?: number | undefined;
922
- } | undefined;
923
- } | undefined;
924
- }>>;
925
- outwardIssue: z.ZodOptional<z.ZodObject<{
926
- id: z.ZodOptional<z.ZodString>;
927
- key: z.ZodString;
928
- self: z.ZodOptional<z.ZodString>;
929
- fields: z.ZodOptional<z.ZodObject<{
930
- summary: z.ZodOptional<z.ZodString>;
931
- status: z.ZodOptional<z.ZodObject<{
932
- self: z.ZodString;
933
- id: z.ZodString;
934
- name: z.ZodString;
935
- description: z.ZodOptional<z.ZodString>;
936
- iconUrl: z.ZodOptional<z.ZodString>;
937
- statusCategory: z.ZodOptional<z.ZodObject<{
938
- self: z.ZodString;
939
- id: z.ZodNumber;
940
- key: z.ZodString;
941
- colorName: z.ZodString;
942
- name: z.ZodString;
943
- }, "strip", z.ZodTypeAny, {
944
- key: string;
945
- self: string;
946
- id: number;
947
- name: string;
948
- colorName: string;
949
- }, {
950
- key: string;
951
- self: string;
952
- id: number;
953
- name: string;
954
- colorName: string;
955
- }>>;
956
- }, "strip", z.ZodTypeAny, {
957
- self: string;
958
- id: string;
959
- name: string;
960
- description?: string | undefined;
961
- iconUrl?: string | undefined;
962
- statusCategory?: {
963
- key: string;
964
- self: string;
965
- id: number;
966
- name: string;
967
- colorName: string;
968
- } | undefined;
969
- }, {
970
- self: string;
971
- id: string;
972
- name: string;
973
- description?: string | undefined;
974
- iconUrl?: string | undefined;
975
- statusCategory?: {
976
- key: string;
977
- self: string;
978
- id: number;
979
- name: string;
980
- colorName: string;
981
- } | undefined;
982
- }>>;
983
- issuetype: z.ZodOptional<z.ZodObject<{
984
- self: z.ZodString;
985
- id: z.ZodString;
986
- name: z.ZodString;
987
- description: z.ZodOptional<z.ZodString>;
988
- iconUrl: z.ZodOptional<z.ZodString>;
989
- subtask: z.ZodBoolean;
990
- avatarId: z.ZodOptional<z.ZodNumber>;
991
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
992
- }, "strip", z.ZodTypeAny, {
993
- self: string;
994
- id: string;
995
- name: string;
996
- subtask: boolean;
997
- description?: string | undefined;
998
- iconUrl?: string | undefined;
999
- avatarId?: number | undefined;
1000
- hierarchyLevel?: number | undefined;
1001
- }, {
1002
- self: string;
1003
- id: string;
1004
- name: string;
1005
- subtask: boolean;
1006
- description?: string | undefined;
1007
- iconUrl?: string | undefined;
1008
- avatarId?: number | undefined;
1009
- hierarchyLevel?: number | undefined;
1010
- }>>;
1011
- }, "strip", z.ZodTypeAny, {
1012
- status?: {
1013
- self: string;
1014
- id: string;
1015
- name: string;
1016
- description?: string | undefined;
1017
- iconUrl?: string | undefined;
1018
- statusCategory?: {
1019
- key: string;
1020
- self: string;
1021
- id: number;
1022
- name: string;
1023
- colorName: string;
1024
- } | undefined;
1025
- } | undefined;
1026
- summary?: string | undefined;
1027
- issuetype?: {
1028
- self: string;
1029
- id: string;
1030
- name: string;
1031
- subtask: boolean;
1032
- description?: string | undefined;
1033
- iconUrl?: string | undefined;
1034
- avatarId?: number | undefined;
1035
- hierarchyLevel?: number | undefined;
1036
- } | undefined;
1037
- }, {
1038
- status?: {
1039
- self: string;
1040
- id: string;
1041
- name: string;
1042
- description?: string | undefined;
1043
- iconUrl?: string | undefined;
1044
- statusCategory?: {
1045
- key: string;
1046
- self: string;
1047
- id: number;
1048
- name: string;
1049
- colorName: string;
1050
- } | undefined;
1051
- } | undefined;
1052
- summary?: string | undefined;
1053
- issuetype?: {
1054
- self: string;
1055
- id: string;
1056
- name: string;
1057
- subtask: boolean;
1058
- description?: string | undefined;
1059
- iconUrl?: string | undefined;
1060
- avatarId?: number | undefined;
1061
- hierarchyLevel?: number | undefined;
1062
- } | undefined;
1063
- }>>;
1064
- }, "strip", z.ZodTypeAny, {
1065
- key: string;
1066
- self?: string | undefined;
1067
- id?: string | undefined;
1068
- fields?: {
1069
- status?: {
1070
- self: string;
1071
- id: string;
1072
- name: string;
1073
- description?: string | undefined;
1074
- iconUrl?: string | undefined;
1075
- statusCategory?: {
1076
- key: string;
1077
- self: string;
1078
- id: number;
1079
- name: string;
1080
- colorName: string;
1081
- } | undefined;
1082
- } | undefined;
1083
- summary?: string | undefined;
1084
- issuetype?: {
1085
- self: string;
1086
- id: string;
1087
- name: string;
1088
- subtask: boolean;
1089
- description?: string | undefined;
1090
- iconUrl?: string | undefined;
1091
- avatarId?: number | undefined;
1092
- hierarchyLevel?: number | undefined;
1093
- } | undefined;
1094
- } | undefined;
1095
- }, {
1096
- key: string;
1097
- self?: string | undefined;
1098
- id?: string | undefined;
1099
- fields?: {
1100
- status?: {
1101
- self: string;
1102
- id: string;
1103
- name: string;
1104
- description?: string | undefined;
1105
- iconUrl?: string | undefined;
1106
- statusCategory?: {
1107
- key: string;
1108
- self: string;
1109
- id: number;
1110
- name: string;
1111
- colorName: string;
1112
- } | undefined;
1113
- } | undefined;
1114
- summary?: string | undefined;
1115
- issuetype?: {
1116
- self: string;
1117
- id: string;
1118
- name: string;
1119
- subtask: boolean;
1120
- description?: string | undefined;
1121
- iconUrl?: string | undefined;
1122
- avatarId?: number | undefined;
1123
- hierarchyLevel?: number | undefined;
1124
- } | undefined;
1125
- } | undefined;
1126
- }>>;
1127
- }, "strip", z.ZodTypeAny, {
1128
- type: {
1129
- id: string;
1130
- name: string;
1131
- inward: string;
1132
- outward: string;
1133
- self?: string | undefined;
1134
- };
1135
- id: string;
1136
- self?: string | undefined;
1137
- inwardIssue?: {
1138
- key: string;
1139
- self?: string | undefined;
1140
- id?: string | undefined;
1141
- fields?: {
1142
- status?: {
1143
- self: string;
1144
- id: string;
1145
- name: string;
1146
- description?: string | undefined;
1147
- iconUrl?: string | undefined;
1148
- statusCategory?: {
1149
- key: string;
1150
- self: string;
1151
- id: number;
1152
- name: string;
1153
- colorName: string;
1154
- } | undefined;
1155
- } | undefined;
1156
- summary?: string | undefined;
1157
- issuetype?: {
1158
- self: string;
1159
- id: string;
1160
- name: string;
1161
- subtask: boolean;
1162
- description?: string | undefined;
1163
- iconUrl?: string | undefined;
1164
- avatarId?: number | undefined;
1165
- hierarchyLevel?: number | undefined;
1166
- } | undefined;
1167
- } | undefined;
1168
- } | undefined;
1169
- outwardIssue?: {
1170
- key: string;
1171
- self?: string | undefined;
1172
- id?: string | undefined;
1173
- fields?: {
1174
- status?: {
1175
- self: string;
1176
- id: string;
1177
- name: string;
1178
- description?: string | undefined;
1179
- iconUrl?: string | undefined;
1180
- statusCategory?: {
1181
- key: string;
1182
- self: string;
1183
- id: number;
1184
- name: string;
1185
- colorName: string;
1186
- } | undefined;
1187
- } | undefined;
1188
- summary?: string | undefined;
1189
- issuetype?: {
1190
- self: string;
1191
- id: string;
1192
- name: string;
1193
- subtask: boolean;
1194
- description?: string | undefined;
1195
- iconUrl?: string | undefined;
1196
- avatarId?: number | undefined;
1197
- hierarchyLevel?: number | undefined;
1198
- } | undefined;
1199
- } | undefined;
1200
- } | undefined;
1201
- }, {
1202
- type: {
1203
- id: string;
1204
- name: string;
1205
- inward: string;
1206
- outward: string;
1207
- self?: string | undefined;
1208
- };
1209
- id: string;
1210
- self?: string | undefined;
1211
- inwardIssue?: {
1212
- key: string;
1213
- self?: string | undefined;
1214
- id?: string | undefined;
1215
- fields?: {
1216
- status?: {
1217
- self: string;
1218
- id: string;
1219
- name: string;
1220
- description?: string | undefined;
1221
- iconUrl?: string | undefined;
1222
- statusCategory?: {
1223
- key: string;
1224
- self: string;
1225
- id: number;
1226
- name: string;
1227
- colorName: string;
1228
- } | undefined;
1229
- } | undefined;
1230
- summary?: string | undefined;
1231
- issuetype?: {
1232
- self: string;
1233
- id: string;
1234
- name: string;
1235
- subtask: boolean;
1236
- description?: string | undefined;
1237
- iconUrl?: string | undefined;
1238
- avatarId?: number | undefined;
1239
- hierarchyLevel?: number | undefined;
1240
- } | undefined;
1241
- } | undefined;
1242
- } | undefined;
1243
- outwardIssue?: {
1244
- key: string;
1245
- self?: string | undefined;
1246
- id?: string | undefined;
1247
- fields?: {
1248
- status?: {
1249
- self: string;
1250
- id: string;
1251
- name: string;
1252
- description?: string | undefined;
1253
- iconUrl?: string | undefined;
1254
- statusCategory?: {
1255
- key: string;
1256
- self: string;
1257
- id: number;
1258
- name: string;
1259
- colorName: string;
1260
- } | undefined;
1261
- } | undefined;
1262
- summary?: string | undefined;
1263
- issuetype?: {
1264
- self: string;
1265
- id: string;
1266
- name: string;
1267
- subtask: boolean;
1268
- description?: string | undefined;
1269
- iconUrl?: string | undefined;
1270
- avatarId?: number | undefined;
1271
- hierarchyLevel?: number | undefined;
1272
- } | undefined;
1273
- } | undefined;
1274
- } | undefined;
1275
- }>;
1276
- type IssueLink = z.infer<typeof IssueLinkSchema>;
1277
- /**
1278
- * Create issue link input
1279
- */
1280
- declare const CreateIssueLinkInputSchema: z.ZodObject<{
1281
- type: z.ZodObject<{
1282
- name: z.ZodOptional<z.ZodString>;
1283
- id: z.ZodOptional<z.ZodString>;
1284
- }, "strip", z.ZodTypeAny, {
1285
- id?: string | undefined;
1286
- name?: string | undefined;
1287
- }, {
1288
- id?: string | undefined;
1289
- name?: string | undefined;
1290
- }>;
1291
- inwardIssue: z.ZodOptional<z.ZodObject<{
1292
- key: z.ZodString;
1293
- }, "strip", z.ZodTypeAny, {
1294
- key: string;
1295
- }, {
1296
- key: string;
1297
- }>>;
1298
- outwardIssue: z.ZodOptional<z.ZodObject<{
1299
- key: z.ZodString;
1300
- }, "strip", z.ZodTypeAny, {
1301
- key: string;
1302
- }, {
1303
- key: string;
1304
- }>>;
1305
- comment: z.ZodOptional<z.ZodObject<{
1306
- body: z.ZodUnknown;
1307
- visibility: z.ZodOptional<z.ZodObject<{
1308
- type: z.ZodEnum<["group", "role"]>;
1309
- value: z.ZodString;
1310
- }, "strip", z.ZodTypeAny, {
1311
- value: string;
1312
- type: "group" | "role";
1313
- }, {
1314
- value: string;
1315
- type: "group" | "role";
1316
- }>>;
1317
- }, "strip", z.ZodTypeAny, {
1318
- body?: unknown;
1319
- visibility?: {
1320
- value: string;
1321
- type: "group" | "role";
1322
- } | undefined;
1323
- }, {
1324
- body?: unknown;
1325
- visibility?: {
1326
- value: string;
1327
- type: "group" | "role";
1328
- } | undefined;
1329
- }>>;
1330
- }, "strip", z.ZodTypeAny, {
1331
- type: {
1332
- id?: string | undefined;
1333
- name?: string | undefined;
1334
- };
1335
- comment?: {
1336
- body?: unknown;
1337
- visibility?: {
1338
- value: string;
1339
- type: "group" | "role";
1340
- } | undefined;
1341
- } | undefined;
1342
- inwardIssue?: {
1343
- key: string;
1344
- } | undefined;
1345
- outwardIssue?: {
1346
- key: string;
1347
- } | undefined;
1348
- }, {
1349
- type: {
1350
- id?: string | undefined;
1351
- name?: string | undefined;
1352
- };
1353
- comment?: {
1354
- body?: unknown;
1355
- visibility?: {
1356
- value: string;
1357
- type: "group" | "role";
1358
- } | undefined;
1359
- } | undefined;
1360
- inwardIssue?: {
1361
- key: string;
1362
- } | undefined;
1363
- outwardIssue?: {
1364
- key: string;
1365
- } | undefined;
1366
- }>;
1367
- type CreateIssueLinkInput = z.infer<typeof CreateIssueLinkInputSchema>;
1368
- /**
1369
- * Issue Link Types response
1370
- */
1371
- declare const IssueLinkTypesResponseSchema: z.ZodObject<{
1372
- issueLinkTypes: z.ZodArray<z.ZodObject<{
1373
- id: z.ZodString;
1374
- name: z.ZodString;
1375
- inward: z.ZodString;
1376
- outward: z.ZodString;
1377
- self: z.ZodOptional<z.ZodString>;
1378
- }, "strip", z.ZodTypeAny, {
1379
- id: string;
1380
- name: string;
1381
- inward: string;
1382
- outward: string;
1383
- self?: string | undefined;
1384
- }, {
1385
- id: string;
1386
- name: string;
1387
- inward: string;
1388
- outward: string;
1389
- self?: string | undefined;
1390
- }>, "many">;
1391
- }, "strip", z.ZodTypeAny, {
1392
- issueLinkTypes: {
1393
- id: string;
1394
- name: string;
1395
- inward: string;
1396
- outward: string;
1397
- self?: string | undefined;
1398
- }[];
1399
- }, {
1400
- issueLinkTypes: {
1401
- id: string;
1402
- name: string;
1403
- inward: string;
1404
- outward: string;
1405
- self?: string | undefined;
1406
- }[];
1407
- }>;
1408
- type IssueLinkTypesResponse = z.infer<typeof IssueLinkTypesResponseSchema>;
1409
-
1410
171
  /**
1411
172
  * Project Category
1412
173
  */
1413
174
  declare const ProjectCategorySchema: z.ZodObject<{
1414
- self: z.ZodString;
175
+ self: z.ZodURL;
1415
176
  id: z.ZodString;
1416
177
  name: z.ZodString;
1417
178
  description: z.ZodOptional<z.ZodString>;
1418
- }, "strip", z.ZodTypeAny, {
1419
- self: string;
1420
- id: string;
1421
- name: string;
1422
- description?: string | undefined;
1423
- }, {
1424
- self: string;
1425
- id: string;
1426
- name: string;
1427
- description?: string | undefined;
1428
- }>;
179
+ }, z.core.$strip>;
1429
180
  type ProjectCategory = z.infer<typeof ProjectCategorySchema>;
1430
181
  /**
1431
182
  * Project Type
1432
183
  */
1433
- declare const ProjectTypeSchema: z.ZodEnum<["software", "service_desk", "business"]>;
184
+ declare const ProjectTypeSchema: z.ZodEnum<{
185
+ software: "software";
186
+ service_desk: "service_desk";
187
+ business: "business";
188
+ }>;
1434
189
  type ProjectType = z.infer<typeof ProjectTypeSchema>;
1435
190
  /**
1436
191
  * Project Style
1437
192
  */
1438
- declare const ProjectStyleSchema: z.ZodEnum<["classic", "next-gen"]>;
193
+ declare const ProjectStyleSchema: z.ZodEnum<{
194
+ classic: "classic";
195
+ "next-gen": "next-gen";
196
+ }>;
1439
197
  type ProjectStyle = z.infer<typeof ProjectStyleSchema>;
1440
198
  /**
1441
199
  * Project Lead
1442
200
  */
1443
201
  declare const ProjectLeadSchema: z.ZodObject<{
1444
- self: z.ZodOptional<z.ZodString>;
202
+ self: z.ZodOptional<z.ZodURL>;
1445
203
  accountId: z.ZodString;
1446
204
  displayName: z.ZodString;
1447
205
  active: z.ZodOptional<z.ZodBoolean>;
1448
206
  avatarUrls: z.ZodOptional<z.ZodObject<{
1449
- '48x48': z.ZodOptional<z.ZodString>;
1450
- '24x24': z.ZodOptional<z.ZodString>;
1451
- '16x16': z.ZodOptional<z.ZodString>;
1452
- '32x32': z.ZodOptional<z.ZodString>;
1453
- }, "strip", z.ZodTypeAny, {
1454
- '48x48'?: string | undefined;
1455
- '24x24'?: string | undefined;
1456
- '16x16'?: string | undefined;
1457
- '32x32'?: string | undefined;
1458
- }, {
1459
- '48x48'?: string | undefined;
1460
- '24x24'?: string | undefined;
1461
- '16x16'?: string | undefined;
1462
- '32x32'?: string | undefined;
1463
- }>>;
1464
- }, "strip", z.ZodTypeAny, {
1465
- accountId: string;
1466
- displayName: string;
1467
- self?: string | undefined;
1468
- avatarUrls?: {
1469
- '48x48'?: string | undefined;
1470
- '24x24'?: string | undefined;
1471
- '16x16'?: string | undefined;
1472
- '32x32'?: string | undefined;
1473
- } | undefined;
1474
- active?: boolean | undefined;
1475
- }, {
1476
- accountId: string;
1477
- displayName: string;
1478
- self?: string | undefined;
1479
- avatarUrls?: {
1480
- '48x48'?: string | undefined;
1481
- '24x24'?: string | undefined;
1482
- '16x16'?: string | undefined;
1483
- '32x32'?: string | undefined;
1484
- } | undefined;
1485
- active?: boolean | undefined;
1486
- }>;
207
+ '48x48': z.ZodOptional<z.ZodURL>;
208
+ '24x24': z.ZodOptional<z.ZodURL>;
209
+ '16x16': z.ZodOptional<z.ZodURL>;
210
+ '32x32': z.ZodOptional<z.ZodURL>;
211
+ }, z.core.$strip>>;
212
+ }, z.core.$strip>;
1487
213
  type ProjectLead = z.infer<typeof ProjectLeadSchema>;
1488
214
  /**
1489
215
  * Insight object for projects
@@ -1491,13 +217,7 @@ type ProjectLead = z.infer<typeof ProjectLeadSchema>;
1491
217
  declare const InsightSchema: z.ZodObject<{
1492
218
  totalIssueCount: z.ZodOptional<z.ZodNumber>;
1493
219
  lastIssueUpdateTime: z.ZodOptional<z.ZodString>;
1494
- }, "strip", z.ZodTypeAny, {
1495
- totalIssueCount?: number | undefined;
1496
- lastIssueUpdateTime?: string | undefined;
1497
- }, {
1498
- totalIssueCount?: number | undefined;
1499
- lastIssueUpdateTime?: string | undefined;
1500
- }>;
220
+ }, z.core.$strip>;
1501
221
  type Insight = z.infer<typeof InsightSchema>;
1502
222
 
1503
- export { type AddAttachmentResponse, AddAttachmentResponseSchema, type Attachment, type AttachmentMetadata, AttachmentMetadataSchema, AttachmentSchema, type Component, type ComponentInput, ComponentInputSchema, ComponentSchema, type CreateIssueLinkInput, CreateIssueLinkInputSchema, type Insight, InsightSchema, type IssueLink, IssueLinkSchema, type IssueLinkType, IssueLinkTypeSchema, type IssueLinkTypesResponse, IssueLinkTypesResponseSchema, type IssuePriority, IssuePrioritySchema, type IssueProject, IssueProjectSchema, type IssueResolution, IssueResolutionSchema, type IssueStatus, IssueStatusSchema, type IssueType, type IssueTypeInput, IssueTypeInputSchema, IssueTypeSchema, type PriorityInput, PriorityInputSchema, type ProjectCategory, ProjectCategorySchema, type ProjectInput, ProjectInputSchema, type ProjectLead, ProjectLeadSchema, type ProjectStyle, ProjectStyleSchema, type ProjectType, ProjectTypeSchema, type ResolutionInput, ResolutionInputSchema, type StatusCategory, StatusCategorySchema, type Version, type VersionInput, VersionInputSchema, VersionSchema };
223
+ export { type Component, type ComponentInput, ComponentInputSchema, ComponentSchema, type Insight, InsightSchema, type IssuePriority, IssuePrioritySchema, type IssueProject, IssueProjectSchema, type IssueResolution, IssueResolutionSchema, type IssueStatus, IssueStatusSchema, type IssueType, type IssueTypeInput, IssueTypeInputSchema, IssueTypeSchema, type PriorityInput, PriorityInputSchema, type ProjectCategory, ProjectCategorySchema, type ProjectInput, ProjectInputSchema, type ProjectLead, ProjectLeadSchema, type ProjectStyle, ProjectStyleSchema, type ProjectType, ProjectTypeSchema, type ResolutionInput, ResolutionInputSchema, type StatusCategory, StatusCategorySchema, type Version, type VersionInput, VersionInputSchema, VersionSchema };