@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.
- package/dist/index.cjs +189 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +183 -3
- package/dist/index.js.map +1 -1
- package/dist/{project-BtUx-eSv.d.cts → project-B1UelBH4.d.cts} +331 -1
- package/dist/{project-BtUx-eSv.d.ts → project-B1UelBH4.d.ts} +331 -1
- package/dist/schemas/index.cjs +56 -2
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +2 -212
- package/dist/schemas/index.d.ts +2 -212
- package/dist/schemas/index.js +50 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +203 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +84 -1
- package/dist/services/index.d.ts +84 -1
- package/dist/services/index.js +203 -0
- package/dist/services/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -930,6 +930,86 @@ declare const DoTransitionInputSchema: z.ZodObject<{
|
|
|
930
930
|
}, z.core.$strip>;
|
|
931
931
|
type DoTransitionInput = z.infer<typeof DoTransitionInputSchema>;
|
|
932
932
|
|
|
933
|
+
/**
|
|
934
|
+
* Issue Attachment
|
|
935
|
+
*/
|
|
936
|
+
declare const AttachmentSchema: z.ZodObject<{
|
|
937
|
+
self: z.ZodURL;
|
|
938
|
+
id: z.ZodString;
|
|
939
|
+
filename: z.ZodString;
|
|
940
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
941
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
942
|
+
accountId: z.ZodString;
|
|
943
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
944
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
945
|
+
avatarUrls: z.ZodOptional<z.ZodObject<{
|
|
946
|
+
"48x48": z.ZodOptional<z.ZodURL>;
|
|
947
|
+
"24x24": z.ZodOptional<z.ZodURL>;
|
|
948
|
+
"16x16": z.ZodOptional<z.ZodURL>;
|
|
949
|
+
"32x32": z.ZodOptional<z.ZodURL>;
|
|
950
|
+
}, z.core.$strip>>;
|
|
951
|
+
}, z.core.$strip>>;
|
|
952
|
+
created: z.ZodNullable<z.ZodString>;
|
|
953
|
+
size: z.ZodNumber;
|
|
954
|
+
mimeType: z.ZodString;
|
|
955
|
+
content: z.ZodURL;
|
|
956
|
+
thumbnail: z.ZodOptional<z.ZodURL>;
|
|
957
|
+
}, z.core.$strip>;
|
|
958
|
+
type Attachment = z.infer<typeof AttachmentSchema>;
|
|
959
|
+
/**
|
|
960
|
+
* Attachment metadata response
|
|
961
|
+
*/
|
|
962
|
+
declare const AttachmentMetadataSchema: z.ZodObject<{
|
|
963
|
+
id: z.ZodNumber;
|
|
964
|
+
self: z.ZodURL;
|
|
965
|
+
filename: z.ZodString;
|
|
966
|
+
author: z.ZodObject<{
|
|
967
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
968
|
+
accountId: z.ZodString;
|
|
969
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
970
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
971
|
+
avatarUrls: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
"48x48": z.ZodOptional<z.ZodURL>;
|
|
973
|
+
"24x24": z.ZodOptional<z.ZodURL>;
|
|
974
|
+
"16x16": z.ZodOptional<z.ZodURL>;
|
|
975
|
+
"32x32": z.ZodOptional<z.ZodURL>;
|
|
976
|
+
}, z.core.$strip>>;
|
|
977
|
+
}, z.core.$strip>;
|
|
978
|
+
created: z.ZodNullable<z.ZodString>;
|
|
979
|
+
size: z.ZodNumber;
|
|
980
|
+
mimeType: z.ZodString;
|
|
981
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
982
|
+
content: z.ZodOptional<z.ZodURL>;
|
|
983
|
+
thumbnail: z.ZodOptional<z.ZodURL>;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
type AttachmentMetadata = z.infer<typeof AttachmentMetadataSchema>;
|
|
986
|
+
/**
|
|
987
|
+
* Add attachment response (array of attachments)
|
|
988
|
+
*/
|
|
989
|
+
declare const AddAttachmentResponseSchema: z.ZodArray<z.ZodObject<{
|
|
990
|
+
self: z.ZodURL;
|
|
991
|
+
id: z.ZodString;
|
|
992
|
+
filename: z.ZodString;
|
|
993
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
994
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
995
|
+
accountId: z.ZodString;
|
|
996
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
997
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
998
|
+
avatarUrls: z.ZodOptional<z.ZodObject<{
|
|
999
|
+
"48x48": z.ZodOptional<z.ZodURL>;
|
|
1000
|
+
"24x24": z.ZodOptional<z.ZodURL>;
|
|
1001
|
+
"16x16": z.ZodOptional<z.ZodURL>;
|
|
1002
|
+
"32x32": z.ZodOptional<z.ZodURL>;
|
|
1003
|
+
}, z.core.$strip>>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
created: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
size: z.ZodNumber;
|
|
1007
|
+
mimeType: z.ZodString;
|
|
1008
|
+
content: z.ZodURL;
|
|
1009
|
+
thumbnail: z.ZodOptional<z.ZodURL>;
|
|
1010
|
+
}, z.core.$strip>>;
|
|
1011
|
+
type AddAttachmentResponse = z.infer<typeof AddAttachmentResponseSchema>;
|
|
1012
|
+
|
|
933
1013
|
/**
|
|
934
1014
|
* Worklog visibility
|
|
935
1015
|
*/
|
|
@@ -1098,6 +1178,256 @@ declare const WorklogsPageSchema: z.ZodObject<{
|
|
|
1098
1178
|
}, z.core.$strip>;
|
|
1099
1179
|
type WorklogsPage = z.infer<typeof WorklogsPageSchema>;
|
|
1100
1180
|
|
|
1181
|
+
/**
|
|
1182
|
+
* Issue Link Type
|
|
1183
|
+
*/
|
|
1184
|
+
declare const IssueLinkTypeSchema: z.ZodObject<{
|
|
1185
|
+
id: z.ZodString;
|
|
1186
|
+
name: z.ZodString;
|
|
1187
|
+
inward: z.ZodString;
|
|
1188
|
+
outward: z.ZodString;
|
|
1189
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1190
|
+
}, z.core.$strip>;
|
|
1191
|
+
type IssueLinkType = z.infer<typeof IssueLinkTypeSchema>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Linked Issue Fields (nested fields in linked issues)
|
|
1194
|
+
*/
|
|
1195
|
+
declare const LinkedIssueFieldsSchema: z.ZodObject<{
|
|
1196
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
1198
|
+
self: z.ZodURL;
|
|
1199
|
+
id: z.ZodString;
|
|
1200
|
+
name: z.ZodString;
|
|
1201
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1203
|
+
statusCategory: z.ZodOptional<z.ZodObject<{
|
|
1204
|
+
self: z.ZodURL;
|
|
1205
|
+
id: z.ZodNumber;
|
|
1206
|
+
key: z.ZodString;
|
|
1207
|
+
colorName: z.ZodString;
|
|
1208
|
+
name: z.ZodString;
|
|
1209
|
+
}, z.core.$strip>>;
|
|
1210
|
+
}, z.core.$strip>>;
|
|
1211
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1212
|
+
self: z.ZodURL;
|
|
1213
|
+
id: z.ZodString;
|
|
1214
|
+
name: z.ZodString;
|
|
1215
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1217
|
+
}, z.core.$strip>>>;
|
|
1218
|
+
issuetype: z.ZodOptional<z.ZodObject<{
|
|
1219
|
+
self: z.ZodURL;
|
|
1220
|
+
id: z.ZodString;
|
|
1221
|
+
name: z.ZodString;
|
|
1222
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1224
|
+
subtask: z.ZodBoolean;
|
|
1225
|
+
avatarId: z.ZodOptional<z.ZodNumber>;
|
|
1226
|
+
hierarchyLevel: z.ZodOptional<z.ZodNumber>;
|
|
1227
|
+
}, z.core.$strip>>;
|
|
1228
|
+
}, z.core.$strip>;
|
|
1229
|
+
type LinkedIssueFields = z.infer<typeof LinkedIssueFieldsSchema>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Linked Issue (issue reference in a link)
|
|
1232
|
+
*/
|
|
1233
|
+
declare const LinkedIssueSchema: z.ZodObject<{
|
|
1234
|
+
id: z.ZodString;
|
|
1235
|
+
key: z.ZodString;
|
|
1236
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1237
|
+
fields: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1239
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
self: z.ZodURL;
|
|
1241
|
+
id: z.ZodString;
|
|
1242
|
+
name: z.ZodString;
|
|
1243
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1245
|
+
statusCategory: z.ZodOptional<z.ZodObject<{
|
|
1246
|
+
self: z.ZodURL;
|
|
1247
|
+
id: z.ZodNumber;
|
|
1248
|
+
key: z.ZodString;
|
|
1249
|
+
colorName: z.ZodString;
|
|
1250
|
+
name: z.ZodString;
|
|
1251
|
+
}, z.core.$strip>>;
|
|
1252
|
+
}, z.core.$strip>>;
|
|
1253
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1254
|
+
self: z.ZodURL;
|
|
1255
|
+
id: z.ZodString;
|
|
1256
|
+
name: z.ZodString;
|
|
1257
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1259
|
+
}, z.core.$strip>>>;
|
|
1260
|
+
issuetype: z.ZodOptional<z.ZodObject<{
|
|
1261
|
+
self: z.ZodURL;
|
|
1262
|
+
id: z.ZodString;
|
|
1263
|
+
name: z.ZodString;
|
|
1264
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1266
|
+
subtask: z.ZodBoolean;
|
|
1267
|
+
avatarId: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
+
hierarchyLevel: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
}, z.core.$strip>>;
|
|
1270
|
+
}, z.core.$strip>>;
|
|
1271
|
+
}, z.core.$strip>;
|
|
1272
|
+
type LinkedIssue = z.infer<typeof LinkedIssueSchema>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Issue Link
|
|
1275
|
+
*/
|
|
1276
|
+
declare const IssueLinkSchema: z.ZodObject<{
|
|
1277
|
+
id: z.ZodString;
|
|
1278
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1279
|
+
type: z.ZodObject<{
|
|
1280
|
+
id: z.ZodString;
|
|
1281
|
+
name: z.ZodString;
|
|
1282
|
+
inward: z.ZodString;
|
|
1283
|
+
outward: z.ZodString;
|
|
1284
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1285
|
+
}, z.core.$strip>;
|
|
1286
|
+
inwardIssue: z.ZodOptional<z.ZodObject<{
|
|
1287
|
+
id: z.ZodString;
|
|
1288
|
+
key: z.ZodString;
|
|
1289
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1290
|
+
fields: z.ZodOptional<z.ZodObject<{
|
|
1291
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
1293
|
+
self: z.ZodURL;
|
|
1294
|
+
id: z.ZodString;
|
|
1295
|
+
name: z.ZodString;
|
|
1296
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1298
|
+
statusCategory: z.ZodOptional<z.ZodObject<{
|
|
1299
|
+
self: z.ZodURL;
|
|
1300
|
+
id: z.ZodNumber;
|
|
1301
|
+
key: z.ZodString;
|
|
1302
|
+
colorName: z.ZodString;
|
|
1303
|
+
name: z.ZodString;
|
|
1304
|
+
}, z.core.$strip>>;
|
|
1305
|
+
}, z.core.$strip>>;
|
|
1306
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1307
|
+
self: z.ZodURL;
|
|
1308
|
+
id: z.ZodString;
|
|
1309
|
+
name: z.ZodString;
|
|
1310
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1312
|
+
}, z.core.$strip>>>;
|
|
1313
|
+
issuetype: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
self: z.ZodURL;
|
|
1315
|
+
id: z.ZodString;
|
|
1316
|
+
name: z.ZodString;
|
|
1317
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1319
|
+
subtask: z.ZodBoolean;
|
|
1320
|
+
avatarId: z.ZodOptional<z.ZodNumber>;
|
|
1321
|
+
hierarchyLevel: z.ZodOptional<z.ZodNumber>;
|
|
1322
|
+
}, z.core.$strip>>;
|
|
1323
|
+
}, z.core.$strip>>;
|
|
1324
|
+
}, z.core.$strip>>;
|
|
1325
|
+
outwardIssue: z.ZodOptional<z.ZodObject<{
|
|
1326
|
+
id: z.ZodString;
|
|
1327
|
+
key: z.ZodString;
|
|
1328
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1329
|
+
fields: z.ZodOptional<z.ZodObject<{
|
|
1330
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
1332
|
+
self: z.ZodURL;
|
|
1333
|
+
id: z.ZodString;
|
|
1334
|
+
name: z.ZodString;
|
|
1335
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1337
|
+
statusCategory: z.ZodOptional<z.ZodObject<{
|
|
1338
|
+
self: z.ZodURL;
|
|
1339
|
+
id: z.ZodNumber;
|
|
1340
|
+
key: z.ZodString;
|
|
1341
|
+
colorName: z.ZodString;
|
|
1342
|
+
name: z.ZodString;
|
|
1343
|
+
}, z.core.$strip>>;
|
|
1344
|
+
}, z.core.$strip>>;
|
|
1345
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1346
|
+
self: z.ZodURL;
|
|
1347
|
+
id: z.ZodString;
|
|
1348
|
+
name: z.ZodString;
|
|
1349
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1351
|
+
}, z.core.$strip>>>;
|
|
1352
|
+
issuetype: z.ZodOptional<z.ZodObject<{
|
|
1353
|
+
self: z.ZodURL;
|
|
1354
|
+
id: z.ZodString;
|
|
1355
|
+
name: z.ZodString;
|
|
1356
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
1358
|
+
subtask: z.ZodBoolean;
|
|
1359
|
+
avatarId: z.ZodOptional<z.ZodNumber>;
|
|
1360
|
+
hierarchyLevel: z.ZodOptional<z.ZodNumber>;
|
|
1361
|
+
}, z.core.$strip>>;
|
|
1362
|
+
}, z.core.$strip>>;
|
|
1363
|
+
}, z.core.$strip>>;
|
|
1364
|
+
}, z.core.$strip>;
|
|
1365
|
+
type IssueLink = z.infer<typeof IssueLinkSchema>;
|
|
1366
|
+
/**
|
|
1367
|
+
* Create issue link input
|
|
1368
|
+
*/
|
|
1369
|
+
declare const CreateIssueLinkInputSchema: z.ZodObject<{
|
|
1370
|
+
type: z.ZodObject<{
|
|
1371
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, z.core.$strip>;
|
|
1374
|
+
inwardIssue: z.ZodOptional<z.ZodObject<{
|
|
1375
|
+
key: z.ZodString;
|
|
1376
|
+
}, z.core.$strip>>;
|
|
1377
|
+
outwardIssue: z.ZodOptional<z.ZodObject<{
|
|
1378
|
+
key: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>>;
|
|
1380
|
+
comment: z.ZodOptional<z.ZodObject<{
|
|
1381
|
+
body: z.ZodUnknown;
|
|
1382
|
+
visibility: z.ZodOptional<z.ZodObject<{
|
|
1383
|
+
type: z.ZodEnum<{
|
|
1384
|
+
group: "group";
|
|
1385
|
+
role: "role";
|
|
1386
|
+
}>;
|
|
1387
|
+
value: z.ZodString;
|
|
1388
|
+
}, z.core.$strip>>;
|
|
1389
|
+
}, z.core.$strip>>;
|
|
1390
|
+
}, z.core.$strip>;
|
|
1391
|
+
type CreateIssueLinkInput = z.infer<typeof CreateIssueLinkInputSchema>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Issue Link Types response
|
|
1394
|
+
*/
|
|
1395
|
+
declare const IssueLinkTypesResponseSchema: z.ZodObject<{
|
|
1396
|
+
issueLinkTypes: z.ZodArray<z.ZodObject<{
|
|
1397
|
+
id: z.ZodString;
|
|
1398
|
+
name: z.ZodString;
|
|
1399
|
+
inward: z.ZodString;
|
|
1400
|
+
outward: z.ZodString;
|
|
1401
|
+
self: z.ZodOptional<z.ZodURL>;
|
|
1402
|
+
}, z.core.$strip>>;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
type IssueLinkTypesResponse = z.infer<typeof IssueLinkTypesResponseSchema>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Creates a "Blocks" link type reference
|
|
1407
|
+
* Use this when issue A blocks issue B
|
|
1408
|
+
*/
|
|
1409
|
+
declare function blocksLinkType(): Partial<IssueLinkType>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Creates a "Duplicates" link type reference
|
|
1412
|
+
* Use this when issue A duplicates issue B
|
|
1413
|
+
*/
|
|
1414
|
+
declare function duplicatesLinkType(): Partial<IssueLinkType>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Creates a "Relates to" link type reference
|
|
1417
|
+
* Use this when issue A relates to issue B
|
|
1418
|
+
*/
|
|
1419
|
+
declare function relatesToLinkType(): Partial<IssueLinkType>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Creates a "Causes" link type reference
|
|
1422
|
+
* Use this when issue A causes issue B
|
|
1423
|
+
*/
|
|
1424
|
+
declare function causesLinkType(): Partial<IssueLinkType>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Creates a "Clones" link type reference
|
|
1427
|
+
* Use this when issue A is a clone of issue B
|
|
1428
|
+
*/
|
|
1429
|
+
declare function clonesLinkType(): Partial<IssueLinkType>;
|
|
1430
|
+
|
|
1101
1431
|
/**
|
|
1102
1432
|
* Issue Watchers
|
|
1103
1433
|
*/
|
|
@@ -1477,4 +1807,4 @@ declare const GetProjectsOptionsSchema: z.ZodObject<{
|
|
|
1477
1807
|
}, z.core.$strip>;
|
|
1478
1808
|
type GetProjectsOptions = z.infer<typeof GetProjectsOptionsSchema>;
|
|
1479
1809
|
|
|
1480
|
-
export { type
|
|
1810
|
+
export { type LinkedIssue as $, AddCommentInputSchema as A, type Attachment as B, CreateIssueFieldsSchema as C, DoTransitionInputSchema as D, AttachmentMetadataSchema as E, type AttachmentMetadata as F, GetIssueOptionsSchema as G, AddAttachmentResponseSchema as H, IssueRefSchema as I, type AddAttachmentResponse as J, type WorklogVisibility as K, WorklogSchema as L, type Worklog as M, AddWorklogInputSchema as N, type AddWorklogInput as O, UpdateWorklogInputSchema as P, type UpdateWorklogInput as Q, WorklogsPageSchema as R, type WorklogsPage as S, TransitionSchema as T, UpdateIssueInputSchema as U, IssueLinkTypeSchema as V, WorklogVisibilitySchema as W, type IssueLinkType as X, LinkedIssueFieldsSchema as Y, type LinkedIssueFields as Z, LinkedIssueSchema as _, type IssueRef as a, IssueLinkSchema as a0, type IssueLink as a1, CreateIssueLinkInputSchema as a2, type CreateIssueLinkInput as a3, IssueLinkTypesResponseSchema as a4, type IssueLinkTypesResponse as a5, blocksLinkType as a6, duplicatesLinkType as a7, relatesToLinkType as a8, causesLinkType as a9, clonesLinkType as aa, WatchersSchema as ab, type Watchers as ac, ProjectRefSchema as ad, type ProjectRef as ae, ProjectSchema as af, type Project as ag, CreateProjectInputSchema as ah, type CreateProjectInput as ai, UpdateProjectInputSchema as aj, type UpdateProjectInput as ak, ProjectSearchResultSchema as al, type ProjectSearchResult as am, GetProjectsOptionsSchema as an, type GetProjectsOptions as ao, IssueFieldsSchema as b, type IssueFields as c, IssueSchema as d, type Issue as e, type CreateIssueFields as f, CreateIssueInputSchema as g, type CreateIssueInput as h, type UpdateIssueInput as i, CreateIssueResponseSchema as j, type CreateIssueResponse as k, type GetIssueOptions as l, CommentVisibilitySchema as m, type CommentVisibility as n, CommentSchema as o, type Comment as p, type AddCommentInput as q, UpdateCommentInputSchema as r, type UpdateCommentInput as s, CommentsPageSchema as t, type CommentsPage as u, type Transition as v, TransitionsResponseSchema as w, type TransitionsResponse as x, type DoTransitionInput as y, AttachmentSchema as z };
|
package/dist/schemas/index.cjs
CHANGED
|
@@ -13030,12 +13030,24 @@ var IssueLinkTypeSchema = external_exports.object({
|
|
|
13030
13030
|
outward: external_exports.string(),
|
|
13031
13031
|
self: external_exports.url().optional()
|
|
13032
13032
|
});
|
|
13033
|
+
var LinkedIssueFieldsSchema = external_exports.object({
|
|
13034
|
+
summary: external_exports.string().optional(),
|
|
13035
|
+
status: IssueStatusSchema.optional(),
|
|
13036
|
+
priority: IssuePrioritySchema.nullable().optional(),
|
|
13037
|
+
issuetype: IssueTypeSchema.optional()
|
|
13038
|
+
});
|
|
13039
|
+
var LinkedIssueSchema = external_exports.object({
|
|
13040
|
+
id: external_exports.string(),
|
|
13041
|
+
key: external_exports.string(),
|
|
13042
|
+
self: external_exports.url().optional(),
|
|
13043
|
+
fields: LinkedIssueFieldsSchema.optional()
|
|
13044
|
+
});
|
|
13033
13045
|
var IssueLinkSchema = external_exports.object({
|
|
13034
13046
|
id: external_exports.string(),
|
|
13035
13047
|
self: external_exports.url().optional(),
|
|
13036
13048
|
type: IssueLinkTypeSchema,
|
|
13037
|
-
inwardIssue:
|
|
13038
|
-
outwardIssue:
|
|
13049
|
+
inwardIssue: LinkedIssueSchema.optional(),
|
|
13050
|
+
outwardIssue: LinkedIssueSchema.optional()
|
|
13039
13051
|
});
|
|
13040
13052
|
var CreateIssueLinkInputSchema = external_exports.object({
|
|
13041
13053
|
type: external_exports.object({
|
|
@@ -13055,6 +13067,41 @@ var CreateIssueLinkInputSchema = external_exports.object({
|
|
|
13055
13067
|
var IssueLinkTypesResponseSchema = external_exports.object({
|
|
13056
13068
|
issueLinkTypes: external_exports.array(IssueLinkTypeSchema)
|
|
13057
13069
|
});
|
|
13070
|
+
function blocksLinkType() {
|
|
13071
|
+
return {
|
|
13072
|
+
name: "Blocks",
|
|
13073
|
+
inward: "is blocked by",
|
|
13074
|
+
outward: "blocks"
|
|
13075
|
+
};
|
|
13076
|
+
}
|
|
13077
|
+
function duplicatesLinkType() {
|
|
13078
|
+
return {
|
|
13079
|
+
name: "Duplicate",
|
|
13080
|
+
inward: "is duplicated by",
|
|
13081
|
+
outward: "duplicates"
|
|
13082
|
+
};
|
|
13083
|
+
}
|
|
13084
|
+
function relatesToLinkType() {
|
|
13085
|
+
return {
|
|
13086
|
+
name: "Relates",
|
|
13087
|
+
inward: "relates to",
|
|
13088
|
+
outward: "relates to"
|
|
13089
|
+
};
|
|
13090
|
+
}
|
|
13091
|
+
function causesLinkType() {
|
|
13092
|
+
return {
|
|
13093
|
+
name: "Causes",
|
|
13094
|
+
inward: "is caused by",
|
|
13095
|
+
outward: "causes"
|
|
13096
|
+
};
|
|
13097
|
+
}
|
|
13098
|
+
function clonesLinkType() {
|
|
13099
|
+
return {
|
|
13100
|
+
name: "Cloners",
|
|
13101
|
+
inward: "is cloned by",
|
|
13102
|
+
outward: "clones"
|
|
13103
|
+
};
|
|
13104
|
+
}
|
|
13058
13105
|
var WatchersSchema = external_exports.object({
|
|
13059
13106
|
self: external_exports.url(),
|
|
13060
13107
|
watchCount: external_exports.number().int().min(0),
|
|
@@ -13227,6 +13274,8 @@ exports.IssueSchema = IssueSchema;
|
|
|
13227
13274
|
exports.IssueStatusSchema = IssueStatusSchema;
|
|
13228
13275
|
exports.IssueTypeInputSchema = IssueTypeInputSchema;
|
|
13229
13276
|
exports.IssueTypeSchema = IssueTypeSchema;
|
|
13277
|
+
exports.LinkedIssueFieldsSchema = LinkedIssueFieldsSchema;
|
|
13278
|
+
exports.LinkedIssueSchema = LinkedIssueSchema;
|
|
13230
13279
|
exports.PriorityInputSchema = PriorityInputSchema;
|
|
13231
13280
|
exports.ProjectCategorySchema = ProjectCategorySchema;
|
|
13232
13281
|
exports.ProjectInputSchema = ProjectInputSchema;
|
|
@@ -13250,5 +13299,10 @@ exports.WatchersSchema = WatchersSchema;
|
|
|
13250
13299
|
exports.WorklogSchema = WorklogSchema;
|
|
13251
13300
|
exports.WorklogVisibilitySchema = WorklogVisibilitySchema;
|
|
13252
13301
|
exports.WorklogsPageSchema = WorklogsPageSchema;
|
|
13302
|
+
exports.blocksLinkType = blocksLinkType;
|
|
13303
|
+
exports.causesLinkType = causesLinkType;
|
|
13304
|
+
exports.clonesLinkType = clonesLinkType;
|
|
13305
|
+
exports.duplicatesLinkType = duplicatesLinkType;
|
|
13306
|
+
exports.relatesToLinkType = relatesToLinkType;
|
|
13253
13307
|
//# sourceMappingURL=index.cjs.map
|
|
13254
13308
|
//# sourceMappingURL=index.cjs.map
|