@credal/actions 0.2.147 → 0.2.149

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.
@@ -1012,7 +1012,7 @@ export const confluenceFetchPageContentDefinition = {
1012
1012
  provider: "confluence",
1013
1013
  };
1014
1014
  export const jiraAssignJiraTicketDefinition = {
1015
- description: "Assigns/Re-assignes a Jira ticket to a specified user",
1015
+ description: "Assigns/Reassigns a Jira ticket to a specified user",
1016
1016
  scopes: ["write:jira-work", "read:jira-user"],
1017
1017
  parameters: {
1018
1018
  type: "object",
@@ -1177,18 +1177,718 @@ export const jiraCreateJiraTicketDefinition = {
1177
1177
  },
1178
1178
  output: {
1179
1179
  type: "object",
1180
- required: ["ticketUrl"],
1180
+ required: ["success"],
1181
+ properties: {
1182
+ success: {
1183
+ type: "boolean",
1184
+ description: "Whether the ticket was successfully created",
1185
+ },
1186
+ ticketUrl: {
1187
+ type: "string",
1188
+ description: "The url to the created Jira Ticket (only present if success is true)",
1189
+ },
1190
+ error: {
1191
+ type: "string",
1192
+ description: "Error message if the ticket creation failed (only present if success is false)",
1193
+ },
1194
+ },
1195
+ },
1196
+ name: "createJiraTicket",
1197
+ provider: "jira",
1198
+ };
1199
+ export const jiraGetServiceDesksDefinition = {
1200
+ description: "Get the service desks for a Jira instance",
1201
+ scopes: [],
1202
+ parameters: {
1203
+ type: "object",
1204
+ required: [],
1205
+ properties: {},
1206
+ },
1207
+ output: {
1208
+ type: "object",
1209
+ required: ["success"],
1210
+ properties: {
1211
+ success: {
1212
+ type: "boolean",
1213
+ description: "Whether the service desks were retrieved successfully",
1214
+ },
1215
+ error: {
1216
+ type: "string",
1217
+ description: "The error that occurred if the service desks were not retrieved successfully",
1218
+ },
1219
+ serviceDesks: {
1220
+ type: "array",
1221
+ description: "The list of service desks",
1222
+ items: {
1223
+ type: "object",
1224
+ description: "A service desk",
1225
+ properties: {
1226
+ id: {
1227
+ type: "string",
1228
+ description: "The ID of the service desk",
1229
+ },
1230
+ projectId: {
1231
+ type: "string",
1232
+ description: "The ID of the project",
1233
+ },
1234
+ projectKey: {
1235
+ type: "string",
1236
+ description: "The key of the project",
1237
+ },
1238
+ projectName: {
1239
+ type: "string",
1240
+ description: "The name of the service desk",
1241
+ },
1242
+ requestTypes: {
1243
+ type: "array",
1244
+ description: "The list of request types",
1245
+ items: {
1246
+ type: "object",
1247
+ description: "A request type",
1248
+ properties: {
1249
+ id: {
1250
+ type: "string",
1251
+ description: "The ID of the request type",
1252
+ },
1253
+ name: {
1254
+ type: "string",
1255
+ description: "The name of the request type",
1256
+ },
1257
+ description: {
1258
+ type: "string",
1259
+ description: "The description of the request type",
1260
+ },
1261
+ issueTypeId: {
1262
+ type: "string",
1263
+ description: "The ID of the issue type",
1264
+ },
1265
+ portalId: {
1266
+ type: "string",
1267
+ description: "The ID of the customer portal",
1268
+ },
1269
+ helpText: {
1270
+ type: "string",
1271
+ description: "The help text for the request type",
1272
+ },
1273
+ serviceDeskId: {
1274
+ type: "string",
1275
+ description: "The ID of the service desk",
1276
+ },
1277
+ canCreateRequest: {
1278
+ type: "boolean",
1279
+ description: "Whether the request type can be created",
1280
+ },
1281
+ },
1282
+ },
1283
+ },
1284
+ },
1285
+ },
1286
+ },
1287
+ },
1288
+ },
1289
+ name: "getServiceDesks",
1290
+ provider: "jira",
1291
+ };
1292
+ export const jiraCreateServiceDeskRequestDefinition = {
1293
+ description: "Create a jira service desk request with specified content",
1294
+ scopes: [],
1295
+ parameters: {
1296
+ type: "object",
1297
+ required: ["serviceDeskId", "requestTypeId", "summary", "description"],
1298
+ properties: {
1299
+ serviceDeskId: {
1300
+ type: "string",
1301
+ description: "The ID of the service desk to create the request in",
1302
+ },
1303
+ requestTypeId: {
1304
+ type: "string",
1305
+ description: "The ID of the request type to use for the new request",
1306
+ },
1307
+ summary: {
1308
+ type: "string",
1309
+ description: "The summary of the new service desk request",
1310
+ },
1311
+ description: {
1312
+ type: "string",
1313
+ description: "The description for the new service desk request",
1314
+ },
1315
+ reporter: {
1316
+ type: "string",
1317
+ description: "The email address of the person reporting the issue (for raising on behalf of)",
1318
+ },
1319
+ },
1320
+ },
1321
+ output: {
1322
+ type: "object",
1323
+ required: ["success"],
1324
+ properties: {
1325
+ success: {
1326
+ type: "boolean",
1327
+ description: "Whether the request was created successfully",
1328
+ },
1329
+ error: {
1330
+ type: "string",
1331
+ description: "The error that occurred if the request was not created successfully",
1332
+ },
1333
+ issueKey: {
1334
+ type: "string",
1335
+ description: "The Jira issue key of the created request",
1336
+ },
1337
+ webLink: {
1338
+ type: "string",
1339
+ description: "The link to the customer portal request, if available",
1340
+ },
1341
+ currentStatus: {
1342
+ type: "string",
1343
+ description: "The current status of the created request",
1344
+ },
1345
+ },
1346
+ },
1347
+ name: "createServiceDeskRequest",
1348
+ provider: "jira",
1349
+ };
1350
+ export const jiraGetJiraTicketDetailsDefinition = {
1351
+ description: "Get details of a ticket in Jira",
1352
+ scopes: ["read:jira-work"],
1353
+ parameters: {
1354
+ type: "object",
1355
+ required: ["projectKey", "issueId"],
1356
+ properties: {
1357
+ projectKey: {
1358
+ type: "string",
1359
+ description: "The key for the project",
1360
+ },
1361
+ issueId: {
1362
+ type: "string",
1363
+ description: "The ID of the ticket",
1364
+ },
1365
+ },
1366
+ },
1367
+ output: {
1368
+ type: "object",
1369
+ required: ["success"],
1370
+ properties: {
1371
+ success: {
1372
+ type: "boolean",
1373
+ description: "Whether the status was updated successfully",
1374
+ },
1375
+ error: {
1376
+ type: "string",
1377
+ description: "The error that occurred if the retrieval was unsuccessful",
1378
+ },
1379
+ results: {
1380
+ type: "array",
1381
+ description: "The results of the Jira ticket",
1382
+ items: {
1383
+ type: "object",
1384
+ required: ["name", "url", "contents"],
1385
+ properties: {
1386
+ name: {
1387
+ type: "string",
1388
+ description: "The name of the result",
1389
+ },
1390
+ url: {
1391
+ type: "string",
1392
+ description: "The URL of the result",
1393
+ },
1394
+ contents: {
1395
+ type: "object",
1396
+ description: "The data of the Jira ticket",
1397
+ },
1398
+ },
1399
+ },
1400
+ },
1401
+ },
1402
+ },
1403
+ name: "getJiraTicketDetails",
1404
+ provider: "jira",
1405
+ };
1406
+ export const jiraGetJiraTicketHistoryDefinition = {
1407
+ description: "Get ticket history of a ticket in Jira",
1408
+ scopes: ["read:jira-work"],
1409
+ parameters: {
1410
+ type: "object",
1411
+ required: ["projectKey", "issueId"],
1412
+ properties: {
1413
+ projectKey: {
1414
+ type: "string",
1415
+ description: "The key for the project",
1416
+ },
1417
+ issueId: {
1418
+ type: "string",
1419
+ description: "The ID of the ticket",
1420
+ },
1421
+ },
1422
+ },
1423
+ output: {
1424
+ type: "object",
1425
+ required: ["success"],
1426
+ properties: {
1427
+ success: {
1428
+ type: "boolean",
1429
+ description: "Whether the status was updated successfully",
1430
+ },
1431
+ error: {
1432
+ type: "string",
1433
+ description: "The error that occurred if the retrieval was unsuccessful",
1434
+ },
1435
+ history: {
1436
+ type: "array",
1437
+ description: "The history data of the Jira ticket",
1438
+ },
1439
+ },
1440
+ },
1441
+ name: "getJiraTicketHistory",
1442
+ provider: "jira",
1443
+ };
1444
+ export const jiraUpdateJiraTicketDetailsDefinition = {
1445
+ description: "Update a Jira ticket with new content specified",
1446
+ scopes: ["write:jira-work"],
1447
+ parameters: {
1448
+ type: "object",
1449
+ required: ["projectKey", "issueId"],
1450
+ properties: {
1451
+ projectKey: {
1452
+ type: "string",
1453
+ description: "The key for the project you want to add it to",
1454
+ },
1455
+ issueId: {
1456
+ type: "string",
1457
+ description: "The issue ID associated with the ticket to be updated",
1458
+ },
1459
+ summary: {
1460
+ type: "string",
1461
+ description: "The updated summary",
1462
+ },
1463
+ description: {
1464
+ type: "string",
1465
+ description: "The updated description",
1466
+ },
1467
+ issueType: {
1468
+ type: "string",
1469
+ description: "The updated issue type",
1470
+ },
1471
+ requestTypeId: {
1472
+ type: "string",
1473
+ description: "The request type ID for Jira Service Management tickets",
1474
+ },
1475
+ customFields: {
1476
+ type: "object",
1477
+ description: "Custom fields to be set on the update ticket request",
1478
+ additionalProperties: true,
1479
+ },
1480
+ },
1481
+ },
1482
+ output: {
1483
+ type: "object",
1484
+ required: ["success"],
1485
+ properties: {
1486
+ success: {
1487
+ type: "boolean",
1488
+ description: "Whether the ticket was successfully updated",
1489
+ },
1490
+ ticketUrl: {
1491
+ type: "string",
1492
+ description: "The url to the Jira ticket (only present if success is true)",
1493
+ },
1494
+ error: {
1495
+ type: "string",
1496
+ description: "Error message if the ticket update failed (only present if success is false)",
1497
+ },
1498
+ },
1499
+ },
1500
+ name: "updateJiraTicketDetails",
1501
+ provider: "jira",
1502
+ };
1503
+ export const jiraUpdateJiraTicketStatusDefinition = {
1504
+ description: "Updates the status of Jira ticket with specified status",
1505
+ scopes: ["read:jira-work", "write:jira-work"],
1506
+ parameters: {
1507
+ type: "object",
1508
+ required: ["projectKey", "issueId", "status"],
1509
+ properties: {
1510
+ projectKey: {
1511
+ type: "string",
1512
+ description: "The key for the project you want to add it to",
1513
+ },
1514
+ issueId: {
1515
+ type: "string",
1516
+ description: "The issue ID associated with the ticket",
1517
+ },
1518
+ status: {
1519
+ type: "string",
1520
+ description: 'The status the ticket should be changed to (eg "In Progress", "Closed")',
1521
+ },
1522
+ },
1523
+ },
1524
+ output: {
1525
+ type: "object",
1526
+ required: ["success"],
1527
+ properties: {
1528
+ success: {
1529
+ type: "boolean",
1530
+ description: "Whether the status was updated successfully",
1531
+ },
1532
+ error: {
1533
+ type: "string",
1534
+ description: "The error that occurred if the status was not updated successfully",
1535
+ },
1536
+ ticketUrl: {
1537
+ type: "string",
1538
+ description: "The url to the Jira ticket",
1539
+ },
1540
+ },
1541
+ },
1542
+ name: "updateJiraTicketStatus",
1543
+ provider: "jira",
1544
+ };
1545
+ export const jiraGetJiraIssuesByQueryDefinition = {
1546
+ description: "Retrieve Jira Issues by JQL query",
1547
+ scopes: [],
1548
+ parameters: {
1549
+ type: "object",
1550
+ required: ["query"],
1551
+ properties: {
1552
+ query: {
1553
+ type: "string",
1554
+ description: "The JQL query to execute",
1555
+ },
1556
+ limit: {
1557
+ type: "number",
1558
+ description: "The maximum number of records to retrieve",
1559
+ },
1560
+ },
1561
+ },
1562
+ output: {
1563
+ type: "object",
1564
+ required: ["success"],
1565
+ properties: {
1566
+ success: {
1567
+ type: "boolean",
1568
+ description: "Whether the records were successfully retrieved",
1569
+ },
1570
+ results: {
1571
+ type: "array",
1572
+ description: "The results of the Jira issues",
1573
+ items: {
1574
+ type: "object",
1575
+ required: ["name", "url", "contents"],
1576
+ properties: {
1577
+ name: {
1578
+ type: "string",
1579
+ description: "The name of the result",
1580
+ },
1581
+ url: {
1582
+ type: "string",
1583
+ description: "The URL of the result",
1584
+ },
1585
+ contents: {
1586
+ type: "object",
1587
+ description: "The result object containing issues",
1588
+ required: [
1589
+ "id",
1590
+ "key",
1591
+ "summary",
1592
+ "description",
1593
+ "project",
1594
+ "issueType",
1595
+ "status",
1596
+ "created",
1597
+ "updated",
1598
+ "url",
1599
+ ],
1600
+ properties: {
1601
+ id: {
1602
+ type: "string",
1603
+ description: "Internal Jira issue ID",
1604
+ },
1605
+ key: {
1606
+ type: "string",
1607
+ description: "Human-readable issue key (e.g. SSPR-123)",
1608
+ },
1609
+ summary: {
1610
+ type: "string",
1611
+ description: "Summary of the issue",
1612
+ },
1613
+ description: {
1614
+ type: "string",
1615
+ description: "Plain text description",
1616
+ },
1617
+ url: {
1618
+ type: "string",
1619
+ description: "The web url of the Jira ticket",
1620
+ },
1621
+ project: {
1622
+ type: "object",
1623
+ properties: {
1624
+ id: {
1625
+ type: "string",
1626
+ },
1627
+ key: {
1628
+ type: "string",
1629
+ },
1630
+ name: {
1631
+ type: "string",
1632
+ },
1633
+ },
1634
+ },
1635
+ issueType: {
1636
+ type: "object",
1637
+ properties: {
1638
+ id: {
1639
+ type: "string",
1640
+ },
1641
+ name: {
1642
+ type: "string",
1643
+ },
1644
+ },
1645
+ },
1646
+ status: {
1647
+ type: "object",
1648
+ properties: {
1649
+ id: {
1650
+ type: "string",
1651
+ },
1652
+ name: {
1653
+ type: "string",
1654
+ },
1655
+ category: {
1656
+ type: "string",
1657
+ },
1658
+ },
1659
+ },
1660
+ assignee: {
1661
+ type: "string",
1662
+ nullable: true,
1663
+ description: "Email of the assignee, if any",
1664
+ },
1665
+ reporter: {
1666
+ type: "string",
1667
+ nullable: true,
1668
+ description: "Email of the reporter, if any",
1669
+ },
1670
+ creator: {
1671
+ type: "string",
1672
+ nullable: true,
1673
+ description: "Email of the creator, if any",
1674
+ },
1675
+ created: {
1676
+ type: "string",
1677
+ format: "date-time",
1678
+ },
1679
+ updated: {
1680
+ type: "string",
1681
+ format: "date-time",
1682
+ },
1683
+ resolution: {
1684
+ type: "string",
1685
+ nullable: true,
1686
+ },
1687
+ dueDate: {
1688
+ type: "string",
1689
+ nullable: true,
1690
+ format: "date",
1691
+ },
1692
+ },
1693
+ },
1694
+ },
1695
+ },
1696
+ },
1697
+ error: {
1698
+ type: "string",
1699
+ description: "The error that occurred if the records were not successfully retrieved",
1700
+ },
1701
+ },
1702
+ },
1703
+ name: "getJiraIssuesByQuery",
1704
+ provider: "jira",
1705
+ };
1706
+ export const jiraOrgAssignJiraTicketDefinition = {
1707
+ description: "Assigns/Reassigns a Jira ticket to a specified user",
1708
+ scopes: ["write:jira-work", "read:jira-user"],
1709
+ parameters: {
1710
+ type: "object",
1711
+ required: ["projectKey", "issueId", "assignee"],
1712
+ properties: {
1713
+ projectKey: {
1714
+ type: "string",
1715
+ description: "The key for the project you want to add it to",
1716
+ },
1717
+ assignee: {
1718
+ type: "string",
1719
+ description: "The assignee for the ticket, userID or email",
1720
+ },
1721
+ issueId: {
1722
+ type: "string",
1723
+ description: "The issue ID associated with the ticket to be assigned/re-assigned",
1724
+ },
1725
+ },
1726
+ },
1727
+ output: {
1728
+ type: "object",
1729
+ required: ["success"],
1730
+ properties: {
1731
+ success: {
1732
+ type: "boolean",
1733
+ description: "Whether the ticket was successfully assigned/reassigned",
1734
+ },
1735
+ error: {
1736
+ type: "string",
1737
+ description: "The error that occurred if the ticket was not successfully assigned/reassigned",
1738
+ },
1739
+ ticketUrl: {
1740
+ type: "string",
1741
+ description: "The url to the newly assigned/reassigned Jira ticket",
1742
+ },
1743
+ },
1744
+ },
1745
+ name: "assignJiraTicket",
1746
+ provider: "jiraOrg",
1747
+ };
1748
+ export const jiraOrgPublicCommentOnServiceDeskRequestDefinition = {
1749
+ description: "Comments publicly on a Jira service desk request with specified content",
1750
+ scopes: ["write:comment:jira"],
1751
+ parameters: {
1752
+ type: "object",
1753
+ required: ["issueId", "comment"],
1754
+ properties: {
1755
+ issueId: {
1756
+ type: "string",
1757
+ description: "The issue ID associated with the ticket to be commented on",
1758
+ },
1759
+ comment: {
1760
+ type: "string",
1761
+ description: "The text to be commented on the ticket",
1762
+ },
1763
+ },
1764
+ },
1765
+ output: {
1766
+ type: "object",
1767
+ required: ["success"],
1768
+ properties: {
1769
+ success: {
1770
+ type: "boolean",
1771
+ description: "Whether the comment was sent successfully",
1772
+ },
1773
+ error: {
1774
+ type: "string",
1775
+ description: "The error that occurred if the comment was not sent successfully",
1776
+ },
1777
+ commentUrl: {
1778
+ type: "string",
1779
+ description: "The url to the created Jira comment",
1780
+ },
1781
+ },
1782
+ },
1783
+ name: "publicCommentOnServiceDeskRequest",
1784
+ provider: "jiraOrg",
1785
+ };
1786
+ export const jiraOrgCommentJiraTicketDefinition = {
1787
+ description: "Comments on a Jira ticket with specified content",
1788
+ scopes: ["write:comment:jira"],
1789
+ parameters: {
1790
+ type: "object",
1791
+ required: ["projectKey", "issueId", "comment"],
1792
+ properties: {
1793
+ projectKey: {
1794
+ type: "string",
1795
+ description: "The key for the project",
1796
+ },
1797
+ issueId: {
1798
+ type: "string",
1799
+ description: "The issue ID associated with the ticket to be commented on",
1800
+ },
1801
+ comment: {
1802
+ type: "string",
1803
+ description: "The text to be commented on the ticket",
1804
+ },
1805
+ },
1806
+ },
1807
+ output: {
1808
+ type: "object",
1809
+ required: ["success"],
1810
+ properties: {
1811
+ success: {
1812
+ type: "boolean",
1813
+ description: "Whether the comment was sent successfully",
1814
+ },
1815
+ error: {
1816
+ type: "string",
1817
+ description: "The error that occurred if the comment was not sent successfully",
1818
+ },
1819
+ commentUrl: {
1820
+ type: "string",
1821
+ description: "The url to the created Jira comment",
1822
+ },
1823
+ },
1824
+ },
1825
+ name: "commentJiraTicket",
1826
+ provider: "jiraOrg",
1827
+ };
1828
+ export const jiraOrgCreateJiraTicketDefinition = {
1829
+ description: "Create a jira ticket with new content specified",
1830
+ scopes: [],
1831
+ parameters: {
1832
+ type: "object",
1833
+ required: ["projectKey", "summary", "description", "issueType"],
1834
+ properties: {
1835
+ projectKey: {
1836
+ type: "string",
1837
+ description: "The key for the project you want to add it to",
1838
+ },
1839
+ summary: {
1840
+ type: "string",
1841
+ description: "The summary of the new ticket",
1842
+ },
1843
+ description: {
1844
+ type: "string",
1845
+ description: "The description for the new ticket",
1846
+ },
1847
+ issueType: {
1848
+ type: "string",
1849
+ description: "The issue type of the new ticket. Should be Epic, Story, Task, Bug, Sub-task, etc.",
1850
+ },
1851
+ reporter: {
1852
+ type: "string",
1853
+ description: "The reporter for the new ticket creation",
1854
+ },
1855
+ assignee: {
1856
+ type: "string",
1857
+ description: "The assignee for the new ticket creation",
1858
+ },
1859
+ requestTypeId: {
1860
+ type: "string",
1861
+ description: "The request type ID for Jira Service Management tickets",
1862
+ },
1863
+ customFields: {
1864
+ type: "object",
1865
+ description: "Custom fields to be set on the create ticket request",
1866
+ additionalProperties: true,
1867
+ },
1868
+ },
1869
+ },
1870
+ output: {
1871
+ type: "object",
1872
+ required: ["success"],
1181
1873
  properties: {
1874
+ success: {
1875
+ type: "boolean",
1876
+ description: "Whether the ticket was successfully created",
1877
+ },
1182
1878
  ticketUrl: {
1183
1879
  type: "string",
1184
- description: "The url to the created Jira Ticket",
1880
+ description: "The url to the created Jira Ticket (only present if success is true)",
1881
+ },
1882
+ error: {
1883
+ type: "string",
1884
+ description: "Error message if the ticket creation failed (only present if success is false)",
1185
1885
  },
1186
1886
  },
1187
1887
  },
1188
1888
  name: "createJiraTicket",
1189
- provider: "jira",
1889
+ provider: "jiraOrg",
1190
1890
  };
1191
- export const jiraGetServiceDesksDefinition = {
1891
+ export const jiraOrgGetServiceDesksDefinition = {
1192
1892
  description: "Get the service desks for a Jira instance",
1193
1893
  scopes: [],
1194
1894
  parameters: {
@@ -1279,9 +1979,9 @@ export const jiraGetServiceDesksDefinition = {
1279
1979
  },
1280
1980
  },
1281
1981
  name: "getServiceDesks",
1282
- provider: "jira",
1982
+ provider: "jiraOrg",
1283
1983
  };
1284
- export const jiraCreateServiceDeskRequestDefinition = {
1984
+ export const jiraOrgCreateServiceDeskRequestDefinition = {
1285
1985
  description: "Create a jira service desk request with specified content",
1286
1986
  scopes: [],
1287
1987
  parameters: {
@@ -1337,9 +2037,9 @@ export const jiraCreateServiceDeskRequestDefinition = {
1337
2037
  },
1338
2038
  },
1339
2039
  name: "createServiceDeskRequest",
1340
- provider: "jira",
2040
+ provider: "jiraOrg",
1341
2041
  };
1342
- export const jiraGetJiraTicketDetailsDefinition = {
2042
+ export const jiraOrgGetJiraTicketDetailsDefinition = {
1343
2043
  description: "Get details of a ticket in Jira",
1344
2044
  scopes: ["read:jira-work"],
1345
2045
  parameters: {
@@ -1393,9 +2093,9 @@ export const jiraGetJiraTicketDetailsDefinition = {
1393
2093
  },
1394
2094
  },
1395
2095
  name: "getJiraTicketDetails",
1396
- provider: "jira",
2096
+ provider: "jiraOrg",
1397
2097
  };
1398
- export const jiraGetJiraTicketHistoryDefinition = {
2098
+ export const jiraOrgGetJiraTicketHistoryDefinition = {
1399
2099
  description: "Get ticket history of a ticket in Jira",
1400
2100
  scopes: ["read:jira-work"],
1401
2101
  parameters: {
@@ -1431,9 +2131,9 @@ export const jiraGetJiraTicketHistoryDefinition = {
1431
2131
  },
1432
2132
  },
1433
2133
  name: "getJiraTicketHistory",
1434
- provider: "jira",
2134
+ provider: "jiraOrg",
1435
2135
  };
1436
- export const jiraUpdateJiraTicketDetailsDefinition = {
2136
+ export const jiraOrgUpdateJiraTicketDetailsDefinition = {
1437
2137
  description: "Update a Jira ticket with new content specified",
1438
2138
  scopes: ["write:jira-work"],
1439
2139
  parameters: {
@@ -1473,18 +2173,26 @@ export const jiraUpdateJiraTicketDetailsDefinition = {
1473
2173
  },
1474
2174
  output: {
1475
2175
  type: "object",
1476
- required: ["ticketUrl"],
2176
+ required: ["success"],
1477
2177
  properties: {
2178
+ success: {
2179
+ type: "boolean",
2180
+ description: "Whether the ticket was successfully updated",
2181
+ },
1478
2182
  ticketUrl: {
1479
2183
  type: "string",
1480
- description: "The url to the Jira ticket",
2184
+ description: "The url to the Jira ticket (only present if success is true)",
2185
+ },
2186
+ error: {
2187
+ type: "string",
2188
+ description: "Error message if the ticket update failed (only present if success is false)",
1481
2189
  },
1482
2190
  },
1483
2191
  },
1484
2192
  name: "updateJiraTicketDetails",
1485
- provider: "jira",
2193
+ provider: "jiraOrg",
1486
2194
  };
1487
- export const jiraUpdateJiraTicketStatusDefinition = {
2195
+ export const jiraOrgUpdateJiraTicketStatusDefinition = {
1488
2196
  description: "Updates the status of Jira ticket with specified status",
1489
2197
  scopes: ["read:jira-work", "write:jira-work"],
1490
2198
  parameters: {
@@ -1524,9 +2232,9 @@ export const jiraUpdateJiraTicketStatusDefinition = {
1524
2232
  },
1525
2233
  },
1526
2234
  name: "updateJiraTicketStatus",
1527
- provider: "jira",
2235
+ provider: "jiraOrg",
1528
2236
  };
1529
- export const jiraGetJiraIssuesByQueryDefinition = {
2237
+ export const jiraOrgGetJiraIssuesByQueryDefinition = {
1530
2238
  description: "Retrieve Jira Issues by JQL query",
1531
2239
  scopes: [],
1532
2240
  parameters: {
@@ -1685,10 +2393,10 @@ export const jiraGetJiraIssuesByQueryDefinition = {
1685
2393
  },
1686
2394
  },
1687
2395
  name: "getJiraIssuesByQuery",
1688
- provider: "jira",
2396
+ provider: "jiraOrg",
1689
2397
  };
1690
- export const jiraOrgAssignJiraTicketDefinition = {
1691
- description: "Assigns/Re-assignes a Jira ticket to a specified user",
2398
+ export const jiraDataCenterAssignJiraTicketDefinition = {
2399
+ description: "Assigns/Reassigns a Jira ticket to a specified user",
1692
2400
  scopes: ["write:jira-work", "read:jira-user"],
1693
2401
  parameters: {
1694
2402
  type: "object",
@@ -1727,9 +2435,9 @@ export const jiraOrgAssignJiraTicketDefinition = {
1727
2435
  },
1728
2436
  },
1729
2437
  name: "assignJiraTicket",
1730
- provider: "jiraOrg",
2438
+ provider: "jiraDataCenter",
1731
2439
  };
1732
- export const jiraOrgPublicCommentOnServiceDeskRequestDefinition = {
2440
+ export const jiraDataCenterPublicCommentOnServiceDeskRequestDefinition = {
1733
2441
  description: "Comments publicly on a Jira service desk request with specified content",
1734
2442
  scopes: ["write:comment:jira"],
1735
2443
  parameters: {
@@ -1765,9 +2473,9 @@ export const jiraOrgPublicCommentOnServiceDeskRequestDefinition = {
1765
2473
  },
1766
2474
  },
1767
2475
  name: "publicCommentOnServiceDeskRequest",
1768
- provider: "jiraOrg",
2476
+ provider: "jiraDataCenter",
1769
2477
  };
1770
- export const jiraOrgCommentJiraTicketDefinition = {
2478
+ export const jiraDataCenterCommentJiraTicketDefinition = {
1771
2479
  description: "Comments on a Jira ticket with specified content",
1772
2480
  scopes: ["write:comment:jira"],
1773
2481
  parameters: {
@@ -1807,9 +2515,9 @@ export const jiraOrgCommentJiraTicketDefinition = {
1807
2515
  },
1808
2516
  },
1809
2517
  name: "commentJiraTicket",
1810
- provider: "jiraOrg",
2518
+ provider: "jiraDataCenter",
1811
2519
  };
1812
- export const jiraOrgCreateJiraTicketDefinition = {
2520
+ export const jiraDataCenterCreateJiraTicketDefinition = {
1813
2521
  description: "Create a jira ticket with new content specified",
1814
2522
  scopes: [],
1815
2523
  parameters: {
@@ -1853,18 +2561,26 @@ export const jiraOrgCreateJiraTicketDefinition = {
1853
2561
  },
1854
2562
  output: {
1855
2563
  type: "object",
1856
- required: ["ticketUrl"],
2564
+ required: ["success"],
1857
2565
  properties: {
2566
+ success: {
2567
+ type: "boolean",
2568
+ description: "Whether the ticket was successfully created",
2569
+ },
1858
2570
  ticketUrl: {
1859
2571
  type: "string",
1860
- description: "The url to the created Jira Ticket",
2572
+ description: "The url to the created Jira Ticket (only present if success is true)",
2573
+ },
2574
+ error: {
2575
+ type: "string",
2576
+ description: "Error message if the ticket creation failed (only present if success is false)",
1861
2577
  },
1862
2578
  },
1863
2579
  },
1864
2580
  name: "createJiraTicket",
1865
- provider: "jiraOrg",
2581
+ provider: "jiraDataCenter",
1866
2582
  };
1867
- export const jiraOrgGetServiceDesksDefinition = {
2583
+ export const jiraDataCenterGetServiceDesksDefinition = {
1868
2584
  description: "Get the service desks for a Jira instance",
1869
2585
  scopes: [],
1870
2586
  parameters: {
@@ -1955,9 +2671,9 @@ export const jiraOrgGetServiceDesksDefinition = {
1955
2671
  },
1956
2672
  },
1957
2673
  name: "getServiceDesks",
1958
- provider: "jiraOrg",
2674
+ provider: "jiraDataCenter",
1959
2675
  };
1960
- export const jiraOrgCreateServiceDeskRequestDefinition = {
2676
+ export const jiraDataCenterCreateServiceDeskRequestDefinition = {
1961
2677
  description: "Create a jira service desk request with specified content",
1962
2678
  scopes: [],
1963
2679
  parameters: {
@@ -2013,9 +2729,9 @@ export const jiraOrgCreateServiceDeskRequestDefinition = {
2013
2729
  },
2014
2730
  },
2015
2731
  name: "createServiceDeskRequest",
2016
- provider: "jiraOrg",
2732
+ provider: "jiraDataCenter",
2017
2733
  };
2018
- export const jiraOrgGetJiraTicketDetailsDefinition = {
2734
+ export const jiraDataCenterGetJiraTicketDetailsDefinition = {
2019
2735
  description: "Get details of a ticket in Jira",
2020
2736
  scopes: ["read:jira-work"],
2021
2737
  parameters: {
@@ -2069,9 +2785,9 @@ export const jiraOrgGetJiraTicketDetailsDefinition = {
2069
2785
  },
2070
2786
  },
2071
2787
  name: "getJiraTicketDetails",
2072
- provider: "jiraOrg",
2788
+ provider: "jiraDataCenter",
2073
2789
  };
2074
- export const jiraOrgGetJiraTicketHistoryDefinition = {
2790
+ export const jiraDataCenterGetJiraTicketHistoryDefinition = {
2075
2791
  description: "Get ticket history of a ticket in Jira",
2076
2792
  scopes: ["read:jira-work"],
2077
2793
  parameters: {
@@ -2107,9 +2823,9 @@ export const jiraOrgGetJiraTicketHistoryDefinition = {
2107
2823
  },
2108
2824
  },
2109
2825
  name: "getJiraTicketHistory",
2110
- provider: "jiraOrg",
2826
+ provider: "jiraDataCenter",
2111
2827
  };
2112
- export const jiraOrgUpdateJiraTicketDetailsDefinition = {
2828
+ export const jiraDataCenterUpdateJiraTicketDetailsDefinition = {
2113
2829
  description: "Update a Jira ticket with new content specified",
2114
2830
  scopes: ["write:jira-work"],
2115
2831
  parameters: {
@@ -2149,18 +2865,26 @@ export const jiraOrgUpdateJiraTicketDetailsDefinition = {
2149
2865
  },
2150
2866
  output: {
2151
2867
  type: "object",
2152
- required: ["ticketUrl"],
2868
+ required: ["success"],
2153
2869
  properties: {
2870
+ success: {
2871
+ type: "boolean",
2872
+ description: "Whether the ticket was successfully updated",
2873
+ },
2154
2874
  ticketUrl: {
2155
2875
  type: "string",
2156
- description: "The url to the Jira ticket",
2876
+ description: "The url to the Jira ticket (only present if success is true)",
2877
+ },
2878
+ error: {
2879
+ type: "string",
2880
+ description: "Error message if the ticket update failed (only present if success is false)",
2157
2881
  },
2158
2882
  },
2159
2883
  },
2160
2884
  name: "updateJiraTicketDetails",
2161
- provider: "jiraOrg",
2885
+ provider: "jiraDataCenter",
2162
2886
  };
2163
- export const jiraOrgUpdateJiraTicketStatusDefinition = {
2887
+ export const jiraDataCenterUpdateJiraTicketStatusDefinition = {
2164
2888
  description: "Updates the status of Jira ticket with specified status",
2165
2889
  scopes: ["read:jira-work", "write:jira-work"],
2166
2890
  parameters: {
@@ -2200,9 +2924,9 @@ export const jiraOrgUpdateJiraTicketStatusDefinition = {
2200
2924
  },
2201
2925
  },
2202
2926
  name: "updateJiraTicketStatus",
2203
- provider: "jiraOrg",
2927
+ provider: "jiraDataCenter",
2204
2928
  };
2205
- export const jiraOrgGetJiraIssuesByQueryDefinition = {
2929
+ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
2206
2930
  description: "Retrieve Jira Issues by JQL query",
2207
2931
  scopes: [],
2208
2932
  parameters: {
@@ -2361,7 +3085,7 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
2361
3085
  },
2362
3086
  },
2363
3087
  name: "getJiraIssuesByQuery",
2364
- provider: "jiraOrg",
3088
+ provider: "jiraDataCenter",
2365
3089
  };
2366
3090
  export const kandjiGetFVRecoveryKeyForDeviceDefinition = {
2367
3091
  description: "Get the FileVault recovery key for a device",
@@ -7951,6 +8675,10 @@ export const googlemailSearchGmailMessagesDefinition = {
7951
8675
  type: "number",
7952
8676
  description: "Maximum number of messages to return (optional)",
7953
8677
  },
8678
+ timeout: {
8679
+ type: "number",
8680
+ description: "Timeout for the query in seconds (optional)",
8681
+ },
7954
8682
  },
7955
8683
  },
7956
8684
  output: {