@felixgeelhaar/jira-sdk 0.2.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,5 +1,5 @@
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-BtUx-eSv.cjs';
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.cjs';
3
3
  import '@felixgeelhaar/sdk-core';
4
4
 
5
5
  /**
@@ -168,216 +168,6 @@ declare const VersionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
168
168
  }, z.core.$strip>]>;
169
169
  type VersionInput = z.infer<typeof VersionInputSchema>;
170
170
 
171
- /**
172
- * Issue Attachment
173
- */
174
- declare const AttachmentSchema: z.ZodObject<{
175
- self: z.ZodURL;
176
- id: z.ZodString;
177
- filename: z.ZodString;
178
- author: z.ZodOptional<z.ZodObject<{
179
- self: z.ZodOptional<z.ZodURL>;
180
- accountId: z.ZodString;
181
- displayName: z.ZodOptional<z.ZodString>;
182
- active: z.ZodOptional<z.ZodBoolean>;
183
- avatarUrls: z.ZodOptional<z.ZodObject<{
184
- "48x48": z.ZodOptional<z.ZodURL>;
185
- "24x24": z.ZodOptional<z.ZodURL>;
186
- "16x16": z.ZodOptional<z.ZodURL>;
187
- "32x32": z.ZodOptional<z.ZodURL>;
188
- }, z.core.$strip>>;
189
- }, z.core.$strip>>;
190
- created: z.ZodNullable<z.ZodString>;
191
- size: z.ZodNumber;
192
- mimeType: z.ZodString;
193
- content: z.ZodURL;
194
- thumbnail: z.ZodOptional<z.ZodURL>;
195
- }, z.core.$strip>;
196
- type Attachment = z.infer<typeof AttachmentSchema>;
197
- /**
198
- * Attachment metadata response
199
- */
200
- declare const AttachmentMetadataSchema: z.ZodObject<{
201
- id: z.ZodNumber;
202
- self: z.ZodURL;
203
- filename: z.ZodString;
204
- author: z.ZodObject<{
205
- self: z.ZodOptional<z.ZodURL>;
206
- accountId: z.ZodString;
207
- displayName: z.ZodOptional<z.ZodString>;
208
- active: z.ZodOptional<z.ZodBoolean>;
209
- avatarUrls: z.ZodOptional<z.ZodObject<{
210
- "48x48": z.ZodOptional<z.ZodURL>;
211
- "24x24": z.ZodOptional<z.ZodURL>;
212
- "16x16": z.ZodOptional<z.ZodURL>;
213
- "32x32": z.ZodOptional<z.ZodURL>;
214
- }, z.core.$strip>>;
215
- }, z.core.$strip>;
216
- created: z.ZodNullable<z.ZodString>;
217
- size: z.ZodNumber;
218
- mimeType: z.ZodString;
219
- properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
220
- content: z.ZodOptional<z.ZodURL>;
221
- thumbnail: z.ZodOptional<z.ZodURL>;
222
- }, z.core.$strip>;
223
- type AttachmentMetadata = z.infer<typeof AttachmentMetadataSchema>;
224
- /**
225
- * Add attachment response (array of attachments)
226
- */
227
- declare const AddAttachmentResponseSchema: z.ZodArray<z.ZodObject<{
228
- self: z.ZodURL;
229
- id: z.ZodString;
230
- filename: z.ZodString;
231
- author: z.ZodOptional<z.ZodObject<{
232
- self: z.ZodOptional<z.ZodURL>;
233
- accountId: z.ZodString;
234
- displayName: z.ZodOptional<z.ZodString>;
235
- active: z.ZodOptional<z.ZodBoolean>;
236
- avatarUrls: z.ZodOptional<z.ZodObject<{
237
- "48x48": z.ZodOptional<z.ZodURL>;
238
- "24x24": z.ZodOptional<z.ZodURL>;
239
- "16x16": z.ZodOptional<z.ZodURL>;
240
- "32x32": z.ZodOptional<z.ZodURL>;
241
- }, z.core.$strip>>;
242
- }, z.core.$strip>>;
243
- created: z.ZodNullable<z.ZodString>;
244
- size: z.ZodNumber;
245
- mimeType: z.ZodString;
246
- content: z.ZodURL;
247
- thumbnail: z.ZodOptional<z.ZodURL>;
248
- }, z.core.$strip>>;
249
- type AddAttachmentResponse = z.infer<typeof AddAttachmentResponseSchema>;
250
-
251
- /**
252
- * Issue Link Type
253
- */
254
- declare const IssueLinkTypeSchema: z.ZodObject<{
255
- id: z.ZodString;
256
- name: z.ZodString;
257
- inward: z.ZodString;
258
- outward: z.ZodString;
259
- self: z.ZodOptional<z.ZodURL>;
260
- }, z.core.$strip>;
261
- type IssueLinkType = z.infer<typeof IssueLinkTypeSchema>;
262
- /**
263
- * Issue Link
264
- */
265
- declare const IssueLinkSchema: z.ZodObject<{
266
- id: z.ZodString;
267
- self: z.ZodOptional<z.ZodURL>;
268
- type: z.ZodObject<{
269
- id: z.ZodString;
270
- name: z.ZodString;
271
- inward: z.ZodString;
272
- outward: z.ZodString;
273
- self: z.ZodOptional<z.ZodURL>;
274
- }, z.core.$strip>;
275
- inwardIssue: z.ZodOptional<z.ZodObject<{
276
- id: z.ZodOptional<z.ZodString>;
277
- key: z.ZodString;
278
- self: z.ZodOptional<z.ZodURL>;
279
- fields: z.ZodOptional<z.ZodObject<{
280
- summary: z.ZodOptional<z.ZodString>;
281
- status: z.ZodOptional<z.ZodObject<{
282
- self: z.ZodURL;
283
- id: z.ZodString;
284
- name: z.ZodString;
285
- description: z.ZodOptional<z.ZodString>;
286
- iconUrl: z.ZodOptional<z.ZodURL>;
287
- statusCategory: z.ZodOptional<z.ZodObject<{
288
- self: z.ZodURL;
289
- id: z.ZodNumber;
290
- key: z.ZodString;
291
- colorName: z.ZodString;
292
- name: z.ZodString;
293
- }, z.core.$strip>>;
294
- }, z.core.$strip>>;
295
- issuetype: z.ZodOptional<z.ZodObject<{
296
- self: z.ZodURL;
297
- id: z.ZodString;
298
- name: z.ZodString;
299
- description: z.ZodOptional<z.ZodString>;
300
- iconUrl: z.ZodOptional<z.ZodURL>;
301
- subtask: z.ZodBoolean;
302
- avatarId: z.ZodOptional<z.ZodNumber>;
303
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
304
- }, z.core.$strip>>;
305
- }, z.core.$strip>>;
306
- }, z.core.$strip>>;
307
- outwardIssue: z.ZodOptional<z.ZodObject<{
308
- id: z.ZodOptional<z.ZodString>;
309
- key: z.ZodString;
310
- self: z.ZodOptional<z.ZodURL>;
311
- fields: z.ZodOptional<z.ZodObject<{
312
- summary: z.ZodOptional<z.ZodString>;
313
- status: z.ZodOptional<z.ZodObject<{
314
- self: z.ZodURL;
315
- id: z.ZodString;
316
- name: z.ZodString;
317
- description: z.ZodOptional<z.ZodString>;
318
- iconUrl: z.ZodOptional<z.ZodURL>;
319
- statusCategory: z.ZodOptional<z.ZodObject<{
320
- self: z.ZodURL;
321
- id: z.ZodNumber;
322
- key: z.ZodString;
323
- colorName: z.ZodString;
324
- name: z.ZodString;
325
- }, z.core.$strip>>;
326
- }, z.core.$strip>>;
327
- issuetype: z.ZodOptional<z.ZodObject<{
328
- self: z.ZodURL;
329
- id: z.ZodString;
330
- name: z.ZodString;
331
- description: z.ZodOptional<z.ZodString>;
332
- iconUrl: z.ZodOptional<z.ZodURL>;
333
- subtask: z.ZodBoolean;
334
- avatarId: z.ZodOptional<z.ZodNumber>;
335
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
336
- }, z.core.$strip>>;
337
- }, z.core.$strip>>;
338
- }, z.core.$strip>>;
339
- }, z.core.$strip>;
340
- type IssueLink = z.infer<typeof IssueLinkSchema>;
341
- /**
342
- * Create issue link input
343
- */
344
- declare const CreateIssueLinkInputSchema: z.ZodObject<{
345
- type: z.ZodObject<{
346
- name: z.ZodOptional<z.ZodString>;
347
- id: z.ZodOptional<z.ZodString>;
348
- }, z.core.$strip>;
349
- inwardIssue: z.ZodOptional<z.ZodObject<{
350
- key: z.ZodString;
351
- }, z.core.$strip>>;
352
- outwardIssue: z.ZodOptional<z.ZodObject<{
353
- key: z.ZodString;
354
- }, z.core.$strip>>;
355
- comment: z.ZodOptional<z.ZodObject<{
356
- body: z.ZodUnknown;
357
- visibility: z.ZodOptional<z.ZodObject<{
358
- type: z.ZodEnum<{
359
- group: "group";
360
- role: "role";
361
- }>;
362
- value: z.ZodString;
363
- }, z.core.$strip>>;
364
- }, z.core.$strip>>;
365
- }, z.core.$strip>;
366
- type CreateIssueLinkInput = z.infer<typeof CreateIssueLinkInputSchema>;
367
- /**
368
- * Issue Link Types response
369
- */
370
- declare const IssueLinkTypesResponseSchema: z.ZodObject<{
371
- issueLinkTypes: z.ZodArray<z.ZodObject<{
372
- id: z.ZodString;
373
- name: z.ZodString;
374
- inward: z.ZodString;
375
- outward: z.ZodString;
376
- self: z.ZodOptional<z.ZodURL>;
377
- }, z.core.$strip>>;
378
- }, z.core.$strip>;
379
- type IssueLinkTypesResponse = z.infer<typeof IssueLinkTypesResponseSchema>;
380
-
381
171
  /**
382
172
  * Project Category
383
173
  */
@@ -430,4 +220,4 @@ declare const InsightSchema: z.ZodObject<{
430
220
  }, z.core.$strip>;
431
221
  type Insight = z.infer<typeof InsightSchema>;
432
222
 
433
- 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 };
@@ -1,5 +1,5 @@
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-BtUx-eSv.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
  /**
@@ -168,216 +168,6 @@ declare const VersionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
168
168
  }, z.core.$strip>]>;
169
169
  type VersionInput = z.infer<typeof VersionInputSchema>;
170
170
 
171
- /**
172
- * Issue Attachment
173
- */
174
- declare const AttachmentSchema: z.ZodObject<{
175
- self: z.ZodURL;
176
- id: z.ZodString;
177
- filename: z.ZodString;
178
- author: z.ZodOptional<z.ZodObject<{
179
- self: z.ZodOptional<z.ZodURL>;
180
- accountId: z.ZodString;
181
- displayName: z.ZodOptional<z.ZodString>;
182
- active: z.ZodOptional<z.ZodBoolean>;
183
- avatarUrls: z.ZodOptional<z.ZodObject<{
184
- "48x48": z.ZodOptional<z.ZodURL>;
185
- "24x24": z.ZodOptional<z.ZodURL>;
186
- "16x16": z.ZodOptional<z.ZodURL>;
187
- "32x32": z.ZodOptional<z.ZodURL>;
188
- }, z.core.$strip>>;
189
- }, z.core.$strip>>;
190
- created: z.ZodNullable<z.ZodString>;
191
- size: z.ZodNumber;
192
- mimeType: z.ZodString;
193
- content: z.ZodURL;
194
- thumbnail: z.ZodOptional<z.ZodURL>;
195
- }, z.core.$strip>;
196
- type Attachment = z.infer<typeof AttachmentSchema>;
197
- /**
198
- * Attachment metadata response
199
- */
200
- declare const AttachmentMetadataSchema: z.ZodObject<{
201
- id: z.ZodNumber;
202
- self: z.ZodURL;
203
- filename: z.ZodString;
204
- author: z.ZodObject<{
205
- self: z.ZodOptional<z.ZodURL>;
206
- accountId: z.ZodString;
207
- displayName: z.ZodOptional<z.ZodString>;
208
- active: z.ZodOptional<z.ZodBoolean>;
209
- avatarUrls: z.ZodOptional<z.ZodObject<{
210
- "48x48": z.ZodOptional<z.ZodURL>;
211
- "24x24": z.ZodOptional<z.ZodURL>;
212
- "16x16": z.ZodOptional<z.ZodURL>;
213
- "32x32": z.ZodOptional<z.ZodURL>;
214
- }, z.core.$strip>>;
215
- }, z.core.$strip>;
216
- created: z.ZodNullable<z.ZodString>;
217
- size: z.ZodNumber;
218
- mimeType: z.ZodString;
219
- properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
220
- content: z.ZodOptional<z.ZodURL>;
221
- thumbnail: z.ZodOptional<z.ZodURL>;
222
- }, z.core.$strip>;
223
- type AttachmentMetadata = z.infer<typeof AttachmentMetadataSchema>;
224
- /**
225
- * Add attachment response (array of attachments)
226
- */
227
- declare const AddAttachmentResponseSchema: z.ZodArray<z.ZodObject<{
228
- self: z.ZodURL;
229
- id: z.ZodString;
230
- filename: z.ZodString;
231
- author: z.ZodOptional<z.ZodObject<{
232
- self: z.ZodOptional<z.ZodURL>;
233
- accountId: z.ZodString;
234
- displayName: z.ZodOptional<z.ZodString>;
235
- active: z.ZodOptional<z.ZodBoolean>;
236
- avatarUrls: z.ZodOptional<z.ZodObject<{
237
- "48x48": z.ZodOptional<z.ZodURL>;
238
- "24x24": z.ZodOptional<z.ZodURL>;
239
- "16x16": z.ZodOptional<z.ZodURL>;
240
- "32x32": z.ZodOptional<z.ZodURL>;
241
- }, z.core.$strip>>;
242
- }, z.core.$strip>>;
243
- created: z.ZodNullable<z.ZodString>;
244
- size: z.ZodNumber;
245
- mimeType: z.ZodString;
246
- content: z.ZodURL;
247
- thumbnail: z.ZodOptional<z.ZodURL>;
248
- }, z.core.$strip>>;
249
- type AddAttachmentResponse = z.infer<typeof AddAttachmentResponseSchema>;
250
-
251
- /**
252
- * Issue Link Type
253
- */
254
- declare const IssueLinkTypeSchema: z.ZodObject<{
255
- id: z.ZodString;
256
- name: z.ZodString;
257
- inward: z.ZodString;
258
- outward: z.ZodString;
259
- self: z.ZodOptional<z.ZodURL>;
260
- }, z.core.$strip>;
261
- type IssueLinkType = z.infer<typeof IssueLinkTypeSchema>;
262
- /**
263
- * Issue Link
264
- */
265
- declare const IssueLinkSchema: z.ZodObject<{
266
- id: z.ZodString;
267
- self: z.ZodOptional<z.ZodURL>;
268
- type: z.ZodObject<{
269
- id: z.ZodString;
270
- name: z.ZodString;
271
- inward: z.ZodString;
272
- outward: z.ZodString;
273
- self: z.ZodOptional<z.ZodURL>;
274
- }, z.core.$strip>;
275
- inwardIssue: z.ZodOptional<z.ZodObject<{
276
- id: z.ZodOptional<z.ZodString>;
277
- key: z.ZodString;
278
- self: z.ZodOptional<z.ZodURL>;
279
- fields: z.ZodOptional<z.ZodObject<{
280
- summary: z.ZodOptional<z.ZodString>;
281
- status: z.ZodOptional<z.ZodObject<{
282
- self: z.ZodURL;
283
- id: z.ZodString;
284
- name: z.ZodString;
285
- description: z.ZodOptional<z.ZodString>;
286
- iconUrl: z.ZodOptional<z.ZodURL>;
287
- statusCategory: z.ZodOptional<z.ZodObject<{
288
- self: z.ZodURL;
289
- id: z.ZodNumber;
290
- key: z.ZodString;
291
- colorName: z.ZodString;
292
- name: z.ZodString;
293
- }, z.core.$strip>>;
294
- }, z.core.$strip>>;
295
- issuetype: z.ZodOptional<z.ZodObject<{
296
- self: z.ZodURL;
297
- id: z.ZodString;
298
- name: z.ZodString;
299
- description: z.ZodOptional<z.ZodString>;
300
- iconUrl: z.ZodOptional<z.ZodURL>;
301
- subtask: z.ZodBoolean;
302
- avatarId: z.ZodOptional<z.ZodNumber>;
303
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
304
- }, z.core.$strip>>;
305
- }, z.core.$strip>>;
306
- }, z.core.$strip>>;
307
- outwardIssue: z.ZodOptional<z.ZodObject<{
308
- id: z.ZodOptional<z.ZodString>;
309
- key: z.ZodString;
310
- self: z.ZodOptional<z.ZodURL>;
311
- fields: z.ZodOptional<z.ZodObject<{
312
- summary: z.ZodOptional<z.ZodString>;
313
- status: z.ZodOptional<z.ZodObject<{
314
- self: z.ZodURL;
315
- id: z.ZodString;
316
- name: z.ZodString;
317
- description: z.ZodOptional<z.ZodString>;
318
- iconUrl: z.ZodOptional<z.ZodURL>;
319
- statusCategory: z.ZodOptional<z.ZodObject<{
320
- self: z.ZodURL;
321
- id: z.ZodNumber;
322
- key: z.ZodString;
323
- colorName: z.ZodString;
324
- name: z.ZodString;
325
- }, z.core.$strip>>;
326
- }, z.core.$strip>>;
327
- issuetype: z.ZodOptional<z.ZodObject<{
328
- self: z.ZodURL;
329
- id: z.ZodString;
330
- name: z.ZodString;
331
- description: z.ZodOptional<z.ZodString>;
332
- iconUrl: z.ZodOptional<z.ZodURL>;
333
- subtask: z.ZodBoolean;
334
- avatarId: z.ZodOptional<z.ZodNumber>;
335
- hierarchyLevel: z.ZodOptional<z.ZodNumber>;
336
- }, z.core.$strip>>;
337
- }, z.core.$strip>>;
338
- }, z.core.$strip>>;
339
- }, z.core.$strip>;
340
- type IssueLink = z.infer<typeof IssueLinkSchema>;
341
- /**
342
- * Create issue link input
343
- */
344
- declare const CreateIssueLinkInputSchema: z.ZodObject<{
345
- type: z.ZodObject<{
346
- name: z.ZodOptional<z.ZodString>;
347
- id: z.ZodOptional<z.ZodString>;
348
- }, z.core.$strip>;
349
- inwardIssue: z.ZodOptional<z.ZodObject<{
350
- key: z.ZodString;
351
- }, z.core.$strip>>;
352
- outwardIssue: z.ZodOptional<z.ZodObject<{
353
- key: z.ZodString;
354
- }, z.core.$strip>>;
355
- comment: z.ZodOptional<z.ZodObject<{
356
- body: z.ZodUnknown;
357
- visibility: z.ZodOptional<z.ZodObject<{
358
- type: z.ZodEnum<{
359
- group: "group";
360
- role: "role";
361
- }>;
362
- value: z.ZodString;
363
- }, z.core.$strip>>;
364
- }, z.core.$strip>>;
365
- }, z.core.$strip>;
366
- type CreateIssueLinkInput = z.infer<typeof CreateIssueLinkInputSchema>;
367
- /**
368
- * Issue Link Types response
369
- */
370
- declare const IssueLinkTypesResponseSchema: z.ZodObject<{
371
- issueLinkTypes: z.ZodArray<z.ZodObject<{
372
- id: z.ZodString;
373
- name: z.ZodString;
374
- inward: z.ZodString;
375
- outward: z.ZodString;
376
- self: z.ZodOptional<z.ZodURL>;
377
- }, z.core.$strip>>;
378
- }, z.core.$strip>;
379
- type IssueLinkTypesResponse = z.infer<typeof IssueLinkTypesResponseSchema>;
380
-
381
171
  /**
382
172
  * Project Category
383
173
  */
@@ -430,4 +220,4 @@ declare const InsightSchema: z.ZodObject<{
430
220
  }, z.core.$strip>;
431
221
  type Insight = z.infer<typeof InsightSchema>;
432
222
 
433
- 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 };
@@ -13028,12 +13028,24 @@ var IssueLinkTypeSchema = external_exports.object({
13028
13028
  outward: external_exports.string(),
13029
13029
  self: external_exports.url().optional()
13030
13030
  });
13031
+ var LinkedIssueFieldsSchema = external_exports.object({
13032
+ summary: external_exports.string().optional(),
13033
+ status: IssueStatusSchema.optional(),
13034
+ priority: IssuePrioritySchema.nullable().optional(),
13035
+ issuetype: IssueTypeSchema.optional()
13036
+ });
13037
+ var LinkedIssueSchema = external_exports.object({
13038
+ id: external_exports.string(),
13039
+ key: external_exports.string(),
13040
+ self: external_exports.url().optional(),
13041
+ fields: LinkedIssueFieldsSchema.optional()
13042
+ });
13031
13043
  var IssueLinkSchema = external_exports.object({
13032
13044
  id: external_exports.string(),
13033
13045
  self: external_exports.url().optional(),
13034
13046
  type: IssueLinkTypeSchema,
13035
- inwardIssue: IssueRefSchema.optional(),
13036
- outwardIssue: IssueRefSchema.optional()
13047
+ inwardIssue: LinkedIssueSchema.optional(),
13048
+ outwardIssue: LinkedIssueSchema.optional()
13037
13049
  });
13038
13050
  var CreateIssueLinkInputSchema = external_exports.object({
13039
13051
  type: external_exports.object({
@@ -13053,6 +13065,41 @@ var CreateIssueLinkInputSchema = external_exports.object({
13053
13065
  var IssueLinkTypesResponseSchema = external_exports.object({
13054
13066
  issueLinkTypes: external_exports.array(IssueLinkTypeSchema)
13055
13067
  });
13068
+ function blocksLinkType() {
13069
+ return {
13070
+ name: "Blocks",
13071
+ inward: "is blocked by",
13072
+ outward: "blocks"
13073
+ };
13074
+ }
13075
+ function duplicatesLinkType() {
13076
+ return {
13077
+ name: "Duplicate",
13078
+ inward: "is duplicated by",
13079
+ outward: "duplicates"
13080
+ };
13081
+ }
13082
+ function relatesToLinkType() {
13083
+ return {
13084
+ name: "Relates",
13085
+ inward: "relates to",
13086
+ outward: "relates to"
13087
+ };
13088
+ }
13089
+ function causesLinkType() {
13090
+ return {
13091
+ name: "Causes",
13092
+ inward: "is caused by",
13093
+ outward: "causes"
13094
+ };
13095
+ }
13096
+ function clonesLinkType() {
13097
+ return {
13098
+ name: "Cloners",
13099
+ inward: "is cloned by",
13100
+ outward: "clones"
13101
+ };
13102
+ }
13056
13103
  var WatchersSchema = external_exports.object({
13057
13104
  self: external_exports.url(),
13058
13105
  watchCount: external_exports.number().int().min(0),
@@ -13194,6 +13241,6 @@ var GetProjectsOptionsSchema = external_exports.object({
13194
13241
  propertyQuery: external_exports.string().optional()
13195
13242
  });
13196
13243
 
13197
- export { AddAttachmentResponseSchema, AddCommentInputSchema, AddWorklogInputSchema, AttachmentMetadataSchema, AttachmentSchema, CommentSchema, CommentVisibilitySchema, CommentsPageSchema, ComponentInputSchema, ComponentSchema, CreateIssueFieldsSchema, CreateIssueInputSchema, CreateIssueLinkInputSchema, CreateIssueResponseSchema, CreateProjectInputSchema, DoTransitionInputSchema, GetIssueOptionsSchema, GetProjectsOptionsSchema, InsightSchema, IssueFieldsSchema, IssueLinkSchema, IssueLinkTypeSchema, IssueLinkTypesResponseSchema, IssuePrioritySchema, IssueProjectSchema, IssueRefSchema, IssueResolutionSchema, IssueSchema, IssueStatusSchema, IssueTypeInputSchema, IssueTypeSchema, PriorityInputSchema, ProjectCategorySchema, ProjectInputSchema, ProjectLeadSchema, ProjectRefSchema, ProjectSchema, ProjectSearchResultSchema, ProjectStyleSchema, ProjectTypeSchema, ResolutionInputSchema, StatusCategorySchema, TransitionSchema, TransitionsResponseSchema, UpdateCommentInputSchema, UpdateIssueInputSchema, UpdateProjectInputSchema, UpdateWorklogInputSchema, VersionInputSchema, VersionSchema, WatchersSchema, WorklogSchema, WorklogVisibilitySchema, WorklogsPageSchema };
13244
+ export { AddAttachmentResponseSchema, AddCommentInputSchema, AddWorklogInputSchema, AttachmentMetadataSchema, AttachmentSchema, CommentSchema, CommentVisibilitySchema, CommentsPageSchema, ComponentInputSchema, ComponentSchema, CreateIssueFieldsSchema, CreateIssueInputSchema, CreateIssueLinkInputSchema, CreateIssueResponseSchema, CreateProjectInputSchema, DoTransitionInputSchema, GetIssueOptionsSchema, GetProjectsOptionsSchema, InsightSchema, IssueFieldsSchema, IssueLinkSchema, IssueLinkTypeSchema, IssueLinkTypesResponseSchema, IssuePrioritySchema, IssueProjectSchema, IssueRefSchema, IssueResolutionSchema, IssueSchema, IssueStatusSchema, IssueTypeInputSchema, IssueTypeSchema, LinkedIssueFieldsSchema, LinkedIssueSchema, PriorityInputSchema, ProjectCategorySchema, ProjectInputSchema, ProjectLeadSchema, ProjectRefSchema, ProjectSchema, ProjectSearchResultSchema, ProjectStyleSchema, ProjectTypeSchema, ResolutionInputSchema, StatusCategorySchema, TransitionSchema, TransitionsResponseSchema, UpdateCommentInputSchema, UpdateIssueInputSchema, UpdateProjectInputSchema, UpdateWorklogInputSchema, VersionInputSchema, VersionSchema, WatchersSchema, WorklogSchema, WorklogVisibilitySchema, WorklogsPageSchema, blocksLinkType, causesLinkType, clonesLinkType, duplicatesLinkType, relatesToLinkType };
13198
13245
  //# sourceMappingURL=index.js.map
13199
13246
  //# sourceMappingURL=index.js.map