@credal/actions 0.2.74 → 0.2.75

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.
@@ -1291,13 +1291,105 @@ export const jiraGetJiraIssuesByQueryDefinition = {
1291
1291
  description: "Whether the records were successfully retrieved",
1292
1292
  },
1293
1293
  records: {
1294
- type: "array",
1295
- description: "The retrieved records",
1296
- items: {
1297
- type: "object",
1298
- description: "An issue from Jira",
1299
- additionalProperties: {
1300
- type: "string",
1294
+ type: "object",
1295
+ description: "The result object containing issues",
1296
+ properties: {
1297
+ issues: {
1298
+ type: "array",
1299
+ description: "The retrieved Jira issues",
1300
+ items: {
1301
+ type: "object",
1302
+ required: ["id", "key", "summary", "description", "project", "issueType", "status", "created", "updated"],
1303
+ properties: {
1304
+ id: {
1305
+ type: "string",
1306
+ description: "Internal Jira issue ID",
1307
+ },
1308
+ key: {
1309
+ type: "string",
1310
+ description: "Human-readable issue key (e.g. SSPR-123)",
1311
+ },
1312
+ summary: {
1313
+ type: "string",
1314
+ description: "Summary of the issue",
1315
+ },
1316
+ description: {
1317
+ type: "string",
1318
+ description: "Plain text description",
1319
+ },
1320
+ project: {
1321
+ type: "object",
1322
+ properties: {
1323
+ id: {
1324
+ type: "string",
1325
+ },
1326
+ key: {
1327
+ type: "string",
1328
+ },
1329
+ name: {
1330
+ type: "string",
1331
+ },
1332
+ },
1333
+ },
1334
+ issueType: {
1335
+ type: "object",
1336
+ properties: {
1337
+ id: {
1338
+ type: "string",
1339
+ },
1340
+ name: {
1341
+ type: "string",
1342
+ },
1343
+ },
1344
+ },
1345
+ status: {
1346
+ type: "object",
1347
+ properties: {
1348
+ id: {
1349
+ type: "string",
1350
+ },
1351
+ name: {
1352
+ type: "string",
1353
+ },
1354
+ category: {
1355
+ type: "string",
1356
+ },
1357
+ },
1358
+ },
1359
+ assignee: {
1360
+ type: "string",
1361
+ nullable: true,
1362
+ description: "Email of the assignee, if any",
1363
+ },
1364
+ reporter: {
1365
+ type: "string",
1366
+ nullable: true,
1367
+ description: "Email of the reporter, if any",
1368
+ },
1369
+ creator: {
1370
+ type: "string",
1371
+ nullable: true,
1372
+ description: "Email of the creator, if any",
1373
+ },
1374
+ created: {
1375
+ type: "string",
1376
+ format: "date-time",
1377
+ },
1378
+ updated: {
1379
+ type: "string",
1380
+ format: "date-time",
1381
+ },
1382
+ resolution: {
1383
+ type: "string",
1384
+ nullable: true,
1385
+ },
1386
+ dueDate: {
1387
+ type: "string",
1388
+ nullable: true,
1389
+ format: "date",
1390
+ },
1391
+ },
1392
+ },
1301
1393
  },
1302
1394
  },
1303
1395
  },
@@ -1825,13 +1917,105 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
1825
1917
  description: "Whether the records were successfully retrieved",
1826
1918
  },
1827
1919
  records: {
1828
- type: "array",
1829
- description: "The retrieved records",
1830
- items: {
1831
- type: "object",
1832
- description: "An issue from Jira",
1833
- additionalProperties: {
1834
- type: "string",
1920
+ type: "object",
1921
+ description: "The result object containing issues",
1922
+ properties: {
1923
+ issues: {
1924
+ type: "array",
1925
+ description: "The retrieved Jira issues",
1926
+ items: {
1927
+ type: "object",
1928
+ required: ["id", "key", "summary", "description", "project", "issueType", "status", "created", "updated"],
1929
+ properties: {
1930
+ id: {
1931
+ type: "string",
1932
+ description: "Internal Jira issue ID",
1933
+ },
1934
+ key: {
1935
+ type: "string",
1936
+ description: "Human-readable issue key (e.g. SSPR-123)",
1937
+ },
1938
+ summary: {
1939
+ type: "string",
1940
+ description: "Summary of the issue",
1941
+ },
1942
+ description: {
1943
+ type: "string",
1944
+ description: "Plain text description",
1945
+ },
1946
+ project: {
1947
+ type: "object",
1948
+ properties: {
1949
+ id: {
1950
+ type: "string",
1951
+ },
1952
+ key: {
1953
+ type: "string",
1954
+ },
1955
+ name: {
1956
+ type: "string",
1957
+ },
1958
+ },
1959
+ },
1960
+ issueType: {
1961
+ type: "object",
1962
+ properties: {
1963
+ id: {
1964
+ type: "string",
1965
+ },
1966
+ name: {
1967
+ type: "string",
1968
+ },
1969
+ },
1970
+ },
1971
+ status: {
1972
+ type: "object",
1973
+ properties: {
1974
+ id: {
1975
+ type: "string",
1976
+ },
1977
+ name: {
1978
+ type: "string",
1979
+ },
1980
+ category: {
1981
+ type: "string",
1982
+ },
1983
+ },
1984
+ },
1985
+ assignee: {
1986
+ type: "string",
1987
+ nullable: true,
1988
+ description: "Email of the assignee, if any",
1989
+ },
1990
+ reporter: {
1991
+ type: "string",
1992
+ nullable: true,
1993
+ description: "Email of the reporter, if any",
1994
+ },
1995
+ creator: {
1996
+ type: "string",
1997
+ nullable: true,
1998
+ description: "Email of the creator, if any",
1999
+ },
2000
+ created: {
2001
+ type: "string",
2002
+ format: "date-time",
2003
+ },
2004
+ updated: {
2005
+ type: "string",
2006
+ format: "date-time",
2007
+ },
2008
+ resolution: {
2009
+ type: "string",
2010
+ nullable: true,
2011
+ },
2012
+ dueDate: {
2013
+ type: "string",
2014
+ nullable: true,
2015
+ format: "date",
2016
+ },
2017
+ },
2018
+ },
1835
2019
  },
1836
2020
  },
1837
2021
  },
@@ -1292,16 +1292,230 @@ export declare const jiraGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
1292
1292
  export type jiraGetJiraIssuesByQueryParamsType = z.infer<typeof jiraGetJiraIssuesByQueryParamsSchema>;
1293
1293
  export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
1294
1294
  success: z.ZodBoolean;
1295
- records: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
1295
+ records: z.ZodOptional<z.ZodObject<{
1296
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
+ id: z.ZodString;
1298
+ key: z.ZodString;
1299
+ summary: z.ZodString;
1300
+ description: z.ZodString;
1301
+ project: z.ZodObject<{
1302
+ id: z.ZodOptional<z.ZodString>;
1303
+ key: z.ZodOptional<z.ZodString>;
1304
+ name: z.ZodOptional<z.ZodString>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ name?: string | undefined;
1307
+ id?: string | undefined;
1308
+ key?: string | undefined;
1309
+ }, {
1310
+ name?: string | undefined;
1311
+ id?: string | undefined;
1312
+ key?: string | undefined;
1313
+ }>;
1314
+ issueType: z.ZodObject<{
1315
+ id: z.ZodOptional<z.ZodString>;
1316
+ name: z.ZodOptional<z.ZodString>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ name?: string | undefined;
1319
+ id?: string | undefined;
1320
+ }, {
1321
+ name?: string | undefined;
1322
+ id?: string | undefined;
1323
+ }>;
1324
+ status: z.ZodObject<{
1325
+ id: z.ZodOptional<z.ZodString>;
1326
+ name: z.ZodOptional<z.ZodString>;
1327
+ category: z.ZodOptional<z.ZodString>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ name?: string | undefined;
1330
+ category?: string | undefined;
1331
+ id?: string | undefined;
1332
+ }, {
1333
+ name?: string | undefined;
1334
+ category?: string | undefined;
1335
+ id?: string | undefined;
1336
+ }>;
1337
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
+ creator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1340
+ created: z.ZodString;
1341
+ updated: z.ZodString;
1342
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1343
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ status: {
1346
+ name?: string | undefined;
1347
+ category?: string | undefined;
1348
+ id?: string | undefined;
1349
+ };
1350
+ description: string;
1351
+ id: string;
1352
+ summary: string;
1353
+ issueType: {
1354
+ name?: string | undefined;
1355
+ id?: string | undefined;
1356
+ };
1357
+ key: string;
1358
+ project: {
1359
+ name?: string | undefined;
1360
+ id?: string | undefined;
1361
+ key?: string | undefined;
1362
+ };
1363
+ created: string;
1364
+ updated: string;
1365
+ assignee?: string | null | undefined;
1366
+ reporter?: string | null | undefined;
1367
+ creator?: string | null | undefined;
1368
+ resolution?: string | null | undefined;
1369
+ dueDate?: string | null | undefined;
1370
+ }, {
1371
+ status: {
1372
+ name?: string | undefined;
1373
+ category?: string | undefined;
1374
+ id?: string | undefined;
1375
+ };
1376
+ description: string;
1377
+ id: string;
1378
+ summary: string;
1379
+ issueType: {
1380
+ name?: string | undefined;
1381
+ id?: string | undefined;
1382
+ };
1383
+ key: string;
1384
+ project: {
1385
+ name?: string | undefined;
1386
+ id?: string | undefined;
1387
+ key?: string | undefined;
1388
+ };
1389
+ created: string;
1390
+ updated: string;
1391
+ assignee?: string | null | undefined;
1392
+ reporter?: string | null | undefined;
1393
+ creator?: string | null | undefined;
1394
+ resolution?: string | null | undefined;
1395
+ dueDate?: string | null | undefined;
1396
+ }>, "many">>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ issues?: {
1399
+ status: {
1400
+ name?: string | undefined;
1401
+ category?: string | undefined;
1402
+ id?: string | undefined;
1403
+ };
1404
+ description: string;
1405
+ id: string;
1406
+ summary: string;
1407
+ issueType: {
1408
+ name?: string | undefined;
1409
+ id?: string | undefined;
1410
+ };
1411
+ key: string;
1412
+ project: {
1413
+ name?: string | undefined;
1414
+ id?: string | undefined;
1415
+ key?: string | undefined;
1416
+ };
1417
+ created: string;
1418
+ updated: string;
1419
+ assignee?: string | null | undefined;
1420
+ reporter?: string | null | undefined;
1421
+ creator?: string | null | undefined;
1422
+ resolution?: string | null | undefined;
1423
+ dueDate?: string | null | undefined;
1424
+ }[] | undefined;
1425
+ }, {
1426
+ issues?: {
1427
+ status: {
1428
+ name?: string | undefined;
1429
+ category?: string | undefined;
1430
+ id?: string | undefined;
1431
+ };
1432
+ description: string;
1433
+ id: string;
1434
+ summary: string;
1435
+ issueType: {
1436
+ name?: string | undefined;
1437
+ id?: string | undefined;
1438
+ };
1439
+ key: string;
1440
+ project: {
1441
+ name?: string | undefined;
1442
+ id?: string | undefined;
1443
+ key?: string | undefined;
1444
+ };
1445
+ created: string;
1446
+ updated: string;
1447
+ assignee?: string | null | undefined;
1448
+ reporter?: string | null | undefined;
1449
+ creator?: string | null | undefined;
1450
+ resolution?: string | null | undefined;
1451
+ dueDate?: string | null | undefined;
1452
+ }[] | undefined;
1453
+ }>>;
1296
1454
  error: z.ZodOptional<z.ZodString>;
1297
1455
  }, "strip", z.ZodTypeAny, {
1298
1456
  success: boolean;
1299
1457
  error?: string | undefined;
1300
- records?: Record<string, string>[] | undefined;
1458
+ records?: {
1459
+ issues?: {
1460
+ status: {
1461
+ name?: string | undefined;
1462
+ category?: string | undefined;
1463
+ id?: string | undefined;
1464
+ };
1465
+ description: string;
1466
+ id: string;
1467
+ summary: string;
1468
+ issueType: {
1469
+ name?: string | undefined;
1470
+ id?: string | undefined;
1471
+ };
1472
+ key: string;
1473
+ project: {
1474
+ name?: string | undefined;
1475
+ id?: string | undefined;
1476
+ key?: string | undefined;
1477
+ };
1478
+ created: string;
1479
+ updated: string;
1480
+ assignee?: string | null | undefined;
1481
+ reporter?: string | null | undefined;
1482
+ creator?: string | null | undefined;
1483
+ resolution?: string | null | undefined;
1484
+ dueDate?: string | null | undefined;
1485
+ }[] | undefined;
1486
+ } | undefined;
1301
1487
  }, {
1302
1488
  success: boolean;
1303
1489
  error?: string | undefined;
1304
- records?: Record<string, string>[] | undefined;
1490
+ records?: {
1491
+ issues?: {
1492
+ status: {
1493
+ name?: string | undefined;
1494
+ category?: string | undefined;
1495
+ id?: string | undefined;
1496
+ };
1497
+ description: string;
1498
+ id: string;
1499
+ summary: string;
1500
+ issueType: {
1501
+ name?: string | undefined;
1502
+ id?: string | undefined;
1503
+ };
1504
+ key: string;
1505
+ project: {
1506
+ name?: string | undefined;
1507
+ id?: string | undefined;
1508
+ key?: string | undefined;
1509
+ };
1510
+ created: string;
1511
+ updated: string;
1512
+ assignee?: string | null | undefined;
1513
+ reporter?: string | null | undefined;
1514
+ creator?: string | null | undefined;
1515
+ resolution?: string | null | undefined;
1516
+ dueDate?: string | null | undefined;
1517
+ }[] | undefined;
1518
+ } | undefined;
1305
1519
  }>;
1306
1520
  export type jiraGetJiraIssuesByQueryOutputType = z.infer<typeof jiraGetJiraIssuesByQueryOutputSchema>;
1307
1521
  export type jiraGetJiraIssuesByQueryFunction = ActionFunction<jiraGetJiraIssuesByQueryParamsType, AuthParamsType, jiraGetJiraIssuesByQueryOutputType>;
@@ -1701,16 +1915,230 @@ export declare const jiraOrgGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
1701
1915
  export type jiraOrgGetJiraIssuesByQueryParamsType = z.infer<typeof jiraOrgGetJiraIssuesByQueryParamsSchema>;
1702
1916
  export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
1703
1917
  success: z.ZodBoolean;
1704
- records: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
1918
+ records: z.ZodOptional<z.ZodObject<{
1919
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1920
+ id: z.ZodString;
1921
+ key: z.ZodString;
1922
+ summary: z.ZodString;
1923
+ description: z.ZodString;
1924
+ project: z.ZodObject<{
1925
+ id: z.ZodOptional<z.ZodString>;
1926
+ key: z.ZodOptional<z.ZodString>;
1927
+ name: z.ZodOptional<z.ZodString>;
1928
+ }, "strip", z.ZodTypeAny, {
1929
+ name?: string | undefined;
1930
+ id?: string | undefined;
1931
+ key?: string | undefined;
1932
+ }, {
1933
+ name?: string | undefined;
1934
+ id?: string | undefined;
1935
+ key?: string | undefined;
1936
+ }>;
1937
+ issueType: z.ZodObject<{
1938
+ id: z.ZodOptional<z.ZodString>;
1939
+ name: z.ZodOptional<z.ZodString>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ name?: string | undefined;
1942
+ id?: string | undefined;
1943
+ }, {
1944
+ name?: string | undefined;
1945
+ id?: string | undefined;
1946
+ }>;
1947
+ status: z.ZodObject<{
1948
+ id: z.ZodOptional<z.ZodString>;
1949
+ name: z.ZodOptional<z.ZodString>;
1950
+ category: z.ZodOptional<z.ZodString>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ name?: string | undefined;
1953
+ category?: string | undefined;
1954
+ id?: string | undefined;
1955
+ }, {
1956
+ name?: string | undefined;
1957
+ category?: string | undefined;
1958
+ id?: string | undefined;
1959
+ }>;
1960
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1961
+ reporter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1962
+ creator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1963
+ created: z.ZodString;
1964
+ updated: z.ZodString;
1965
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1966
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1967
+ }, "strip", z.ZodTypeAny, {
1968
+ status: {
1969
+ name?: string | undefined;
1970
+ category?: string | undefined;
1971
+ id?: string | undefined;
1972
+ };
1973
+ description: string;
1974
+ id: string;
1975
+ summary: string;
1976
+ issueType: {
1977
+ name?: string | undefined;
1978
+ id?: string | undefined;
1979
+ };
1980
+ key: string;
1981
+ project: {
1982
+ name?: string | undefined;
1983
+ id?: string | undefined;
1984
+ key?: string | undefined;
1985
+ };
1986
+ created: string;
1987
+ updated: string;
1988
+ assignee?: string | null | undefined;
1989
+ reporter?: string | null | undefined;
1990
+ creator?: string | null | undefined;
1991
+ resolution?: string | null | undefined;
1992
+ dueDate?: string | null | undefined;
1993
+ }, {
1994
+ status: {
1995
+ name?: string | undefined;
1996
+ category?: string | undefined;
1997
+ id?: string | undefined;
1998
+ };
1999
+ description: string;
2000
+ id: string;
2001
+ summary: string;
2002
+ issueType: {
2003
+ name?: string | undefined;
2004
+ id?: string | undefined;
2005
+ };
2006
+ key: string;
2007
+ project: {
2008
+ name?: string | undefined;
2009
+ id?: string | undefined;
2010
+ key?: string | undefined;
2011
+ };
2012
+ created: string;
2013
+ updated: string;
2014
+ assignee?: string | null | undefined;
2015
+ reporter?: string | null | undefined;
2016
+ creator?: string | null | undefined;
2017
+ resolution?: string | null | undefined;
2018
+ dueDate?: string | null | undefined;
2019
+ }>, "many">>;
2020
+ }, "strip", z.ZodTypeAny, {
2021
+ issues?: {
2022
+ status: {
2023
+ name?: string | undefined;
2024
+ category?: string | undefined;
2025
+ id?: string | undefined;
2026
+ };
2027
+ description: string;
2028
+ id: string;
2029
+ summary: string;
2030
+ issueType: {
2031
+ name?: string | undefined;
2032
+ id?: string | undefined;
2033
+ };
2034
+ key: string;
2035
+ project: {
2036
+ name?: string | undefined;
2037
+ id?: string | undefined;
2038
+ key?: string | undefined;
2039
+ };
2040
+ created: string;
2041
+ updated: string;
2042
+ assignee?: string | null | undefined;
2043
+ reporter?: string | null | undefined;
2044
+ creator?: string | null | undefined;
2045
+ resolution?: string | null | undefined;
2046
+ dueDate?: string | null | undefined;
2047
+ }[] | undefined;
2048
+ }, {
2049
+ issues?: {
2050
+ status: {
2051
+ name?: string | undefined;
2052
+ category?: string | undefined;
2053
+ id?: string | undefined;
2054
+ };
2055
+ description: string;
2056
+ id: string;
2057
+ summary: string;
2058
+ issueType: {
2059
+ name?: string | undefined;
2060
+ id?: string | undefined;
2061
+ };
2062
+ key: string;
2063
+ project: {
2064
+ name?: string | undefined;
2065
+ id?: string | undefined;
2066
+ key?: string | undefined;
2067
+ };
2068
+ created: string;
2069
+ updated: string;
2070
+ assignee?: string | null | undefined;
2071
+ reporter?: string | null | undefined;
2072
+ creator?: string | null | undefined;
2073
+ resolution?: string | null | undefined;
2074
+ dueDate?: string | null | undefined;
2075
+ }[] | undefined;
2076
+ }>>;
1705
2077
  error: z.ZodOptional<z.ZodString>;
1706
2078
  }, "strip", z.ZodTypeAny, {
1707
2079
  success: boolean;
1708
2080
  error?: string | undefined;
1709
- records?: Record<string, string>[] | undefined;
2081
+ records?: {
2082
+ issues?: {
2083
+ status: {
2084
+ name?: string | undefined;
2085
+ category?: string | undefined;
2086
+ id?: string | undefined;
2087
+ };
2088
+ description: string;
2089
+ id: string;
2090
+ summary: string;
2091
+ issueType: {
2092
+ name?: string | undefined;
2093
+ id?: string | undefined;
2094
+ };
2095
+ key: string;
2096
+ project: {
2097
+ name?: string | undefined;
2098
+ id?: string | undefined;
2099
+ key?: string | undefined;
2100
+ };
2101
+ created: string;
2102
+ updated: string;
2103
+ assignee?: string | null | undefined;
2104
+ reporter?: string | null | undefined;
2105
+ creator?: string | null | undefined;
2106
+ resolution?: string | null | undefined;
2107
+ dueDate?: string | null | undefined;
2108
+ }[] | undefined;
2109
+ } | undefined;
1710
2110
  }, {
1711
2111
  success: boolean;
1712
2112
  error?: string | undefined;
1713
- records?: Record<string, string>[] | undefined;
2113
+ records?: {
2114
+ issues?: {
2115
+ status: {
2116
+ name?: string | undefined;
2117
+ category?: string | undefined;
2118
+ id?: string | undefined;
2119
+ };
2120
+ description: string;
2121
+ id: string;
2122
+ summary: string;
2123
+ issueType: {
2124
+ name?: string | undefined;
2125
+ id?: string | undefined;
2126
+ };
2127
+ key: string;
2128
+ project: {
2129
+ name?: string | undefined;
2130
+ id?: string | undefined;
2131
+ key?: string | undefined;
2132
+ };
2133
+ created: string;
2134
+ updated: string;
2135
+ assignee?: string | null | undefined;
2136
+ reporter?: string | null | undefined;
2137
+ creator?: string | null | undefined;
2138
+ resolution?: string | null | undefined;
2139
+ dueDate?: string | null | undefined;
2140
+ }[] | undefined;
2141
+ } | undefined;
1714
2142
  }>;
1715
2143
  export type jiraOrgGetJiraIssuesByQueryOutputType = z.infer<typeof jiraOrgGetJiraIssuesByQueryOutputSchema>;
1716
2144
  export type jiraOrgGetJiraIssuesByQueryFunction = ActionFunction<jiraOrgGetJiraIssuesByQueryParamsType, AuthParamsType, jiraOrgGetJiraIssuesByQueryOutputType>;
@@ -2791,6 +3219,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2791
3219
  description?: string | undefined;
2792
3220
  id?: string | undefined;
2793
3221
  title?: string | undefined;
3222
+ created?: string | undefined;
3223
+ updated?: string | undefined;
2794
3224
  url?: string | undefined;
2795
3225
  location?: string | undefined;
2796
3226
  start?: string | undefined;
@@ -2800,8 +3230,6 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2800
3230
  displayName?: string | undefined;
2801
3231
  responseStatus?: string | undefined;
2802
3232
  }[] | undefined;
2803
- created?: string | undefined;
2804
- updated?: string | undefined;
2805
3233
  organizer?: {
2806
3234
  email?: string | undefined;
2807
3235
  displayName?: string | undefined;
@@ -2812,6 +3240,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2812
3240
  description?: string | undefined;
2813
3241
  id?: string | undefined;
2814
3242
  title?: string | undefined;
3243
+ created?: string | undefined;
3244
+ updated?: string | undefined;
2815
3245
  url?: string | undefined;
2816
3246
  location?: string | undefined;
2817
3247
  start?: string | undefined;
@@ -2821,8 +3251,6 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2821
3251
  displayName?: string | undefined;
2822
3252
  responseStatus?: string | undefined;
2823
3253
  }[] | undefined;
2824
- created?: string | undefined;
2825
- updated?: string | undefined;
2826
3254
  organizer?: {
2827
3255
  email?: string | undefined;
2828
3256
  displayName?: string | undefined;
@@ -2837,6 +3265,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2837
3265
  description?: string | undefined;
2838
3266
  id?: string | undefined;
2839
3267
  title?: string | undefined;
3268
+ created?: string | undefined;
3269
+ updated?: string | undefined;
2840
3270
  url?: string | undefined;
2841
3271
  location?: string | undefined;
2842
3272
  start?: string | undefined;
@@ -2846,8 +3276,6 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2846
3276
  displayName?: string | undefined;
2847
3277
  responseStatus?: string | undefined;
2848
3278
  }[] | undefined;
2849
- created?: string | undefined;
2850
- updated?: string | undefined;
2851
3279
  organizer?: {
2852
3280
  email?: string | undefined;
2853
3281
  displayName?: string | undefined;
@@ -2862,6 +3290,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2862
3290
  description?: string | undefined;
2863
3291
  id?: string | undefined;
2864
3292
  title?: string | undefined;
3293
+ created?: string | undefined;
3294
+ updated?: string | undefined;
2865
3295
  url?: string | undefined;
2866
3296
  location?: string | undefined;
2867
3297
  start?: string | undefined;
@@ -2871,8 +3301,6 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
2871
3301
  displayName?: string | undefined;
2872
3302
  responseStatus?: string | undefined;
2873
3303
  }[] | undefined;
2874
- created?: string | undefined;
2875
- updated?: string | undefined;
2876
3304
  organizer?: {
2877
3305
  email?: string | undefined;
2878
3306
  displayName?: string | undefined;
@@ -4055,6 +4483,7 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4055
4483
  }, "strip", z.ZodTypeAny, {
4056
4484
  id: string;
4057
4485
  status?: string | undefined;
4486
+ created?: string | undefined;
4058
4487
  profile?: {
4059
4488
  title?: string | undefined;
4060
4489
  organization?: string | undefined;
@@ -4080,7 +4509,6 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4080
4509
  zipCode?: string | undefined;
4081
4510
  countryCode?: string | undefined;
4082
4511
  } | undefined;
4083
- created?: string | undefined;
4084
4512
  activated?: string | undefined;
4085
4513
  statusChanged?: string | undefined;
4086
4514
  lastLogin?: string | undefined;
@@ -4091,6 +4519,7 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4091
4519
  }, {
4092
4520
  id: string;
4093
4521
  status?: string | undefined;
4522
+ created?: string | undefined;
4094
4523
  profile?: {
4095
4524
  title?: string | undefined;
4096
4525
  organization?: string | undefined;
@@ -4116,7 +4545,6 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4116
4545
  zipCode?: string | undefined;
4117
4546
  countryCode?: string | undefined;
4118
4547
  } | undefined;
4119
- created?: string | undefined;
4120
4548
  activated?: string | undefined;
4121
4549
  statusChanged?: string | undefined;
4122
4550
  lastLogin?: string | undefined;
@@ -4132,6 +4560,7 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4132
4560
  user?: {
4133
4561
  id: string;
4134
4562
  status?: string | undefined;
4563
+ created?: string | undefined;
4135
4564
  profile?: {
4136
4565
  title?: string | undefined;
4137
4566
  organization?: string | undefined;
@@ -4157,7 +4586,6 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4157
4586
  zipCode?: string | undefined;
4158
4587
  countryCode?: string | undefined;
4159
4588
  } | undefined;
4160
- created?: string | undefined;
4161
4589
  activated?: string | undefined;
4162
4590
  statusChanged?: string | undefined;
4163
4591
  lastLogin?: string | undefined;
@@ -4172,6 +4600,7 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4172
4600
  user?: {
4173
4601
  id: string;
4174
4602
  status?: string | undefined;
4603
+ created?: string | undefined;
4175
4604
  profile?: {
4176
4605
  title?: string | undefined;
4177
4606
  organization?: string | undefined;
@@ -4197,7 +4626,6 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4197
4626
  zipCode?: string | undefined;
4198
4627
  countryCode?: string | undefined;
4199
4628
  } | undefined;
4200
- created?: string | undefined;
4201
4629
  activated?: string | undefined;
4202
4630
  statusChanged?: string | undefined;
4203
4631
  lastLogin?: string | undefined;
@@ -4543,6 +4971,7 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4543
4971
  } | undefined;
4544
4972
  status?: string | undefined;
4545
4973
  id?: string | undefined;
4974
+ created?: string | undefined;
4546
4975
  profile?: {
4547
4976
  email?: string | undefined;
4548
4977
  firstName?: string | undefined;
@@ -4551,7 +4980,6 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4551
4980
  secondEmail?: string | null | undefined;
4552
4981
  mobilePhone?: string | null | undefined;
4553
4982
  } | undefined;
4554
- created?: string | undefined;
4555
4983
  activated?: string | null | undefined;
4556
4984
  statusChanged?: string | null | undefined;
4557
4985
  lastLogin?: string | null | undefined;
@@ -4563,6 +4991,7 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4563
4991
  } | undefined;
4564
4992
  status?: string | undefined;
4565
4993
  id?: string | undefined;
4994
+ created?: string | undefined;
4566
4995
  profile?: {
4567
4996
  email?: string | undefined;
4568
4997
  firstName?: string | undefined;
@@ -4571,7 +5000,6 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4571
5000
  secondEmail?: string | null | undefined;
4572
5001
  mobilePhone?: string | null | undefined;
4573
5002
  } | undefined;
4574
- created?: string | undefined;
4575
5003
  activated?: string | null | undefined;
4576
5004
  statusChanged?: string | null | undefined;
4577
5005
  lastLogin?: string | null | undefined;
@@ -4587,6 +5015,7 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4587
5015
  } | undefined;
4588
5016
  status?: string | undefined;
4589
5017
  id?: string | undefined;
5018
+ created?: string | undefined;
4590
5019
  profile?: {
4591
5020
  email?: string | undefined;
4592
5021
  firstName?: string | undefined;
@@ -4595,7 +5024,6 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4595
5024
  secondEmail?: string | null | undefined;
4596
5025
  mobilePhone?: string | null | undefined;
4597
5026
  } | undefined;
4598
- created?: string | undefined;
4599
5027
  activated?: string | null | undefined;
4600
5028
  statusChanged?: string | null | undefined;
4601
5029
  lastLogin?: string | null | undefined;
@@ -4611,6 +5039,7 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4611
5039
  } | undefined;
4612
5040
  status?: string | undefined;
4613
5041
  id?: string | undefined;
5042
+ created?: string | undefined;
4614
5043
  profile?: {
4615
5044
  email?: string | undefined;
4616
5045
  firstName?: string | undefined;
@@ -4619,7 +5048,6 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
4619
5048
  secondEmail?: string | null | undefined;
4620
5049
  mobilePhone?: string | null | undefined;
4621
5050
  } | undefined;
4622
- created?: string | undefined;
4623
5051
  activated?: string | null | undefined;
4624
5052
  statusChanged?: string | null | undefined;
4625
5053
  lastLogin?: string | null | undefined;
@@ -4873,8 +5301,8 @@ export declare const oktaListMFAOutputSchema: z.ZodObject<{
4873
5301
  id: string;
4874
5302
  status?: string | undefined;
4875
5303
  provider?: string | undefined;
4876
- profile?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4877
5304
  created?: string | undefined;
5305
+ profile?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4878
5306
  lastUpdated?: string | undefined;
4879
5307
  _links?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4880
5308
  factorType?: string | undefined;
@@ -4884,8 +5312,8 @@ export declare const oktaListMFAOutputSchema: z.ZodObject<{
4884
5312
  id: string;
4885
5313
  status?: string | undefined;
4886
5314
  provider?: string | undefined;
4887
- profile?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4888
5315
  created?: string | undefined;
5316
+ profile?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4889
5317
  lastUpdated?: string | undefined;
4890
5318
  _links?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4891
5319
  factorType?: string | undefined;
@@ -4900,8 +5328,8 @@ export declare const oktaListMFAOutputSchema: z.ZodObject<{
4900
5328
  id: string;
4901
5329
  status?: string | undefined;
4902
5330
  provider?: string | undefined;
4903
- profile?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4904
5331
  created?: string | undefined;
5332
+ profile?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4905
5333
  lastUpdated?: string | undefined;
4906
5334
  _links?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
4907
5335
  factorType?: string | undefined;
@@ -4915,8 +5343,8 @@ export declare const oktaListMFAOutputSchema: z.ZodObject<{
4915
5343
  id: string;
4916
5344
  status?: string | undefined;
4917
5345
  provider?: string | undefined;
4918
- profile?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4919
5346
  created?: string | undefined;
5347
+ profile?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4920
5348
  lastUpdated?: string | undefined;
4921
5349
  _links?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
4922
5350
  factorType?: string | undefined;
@@ -7410,13 +7838,13 @@ export declare const gitlabListDirectoryParamsSchema: z.ZodObject<{
7410
7838
  ref: z.ZodOptional<z.ZodString>;
7411
7839
  }, "strip", z.ZodTypeAny, {
7412
7840
  path: string;
7413
- group: string;
7414
7841
  project: string;
7842
+ group: string;
7415
7843
  ref?: string | undefined;
7416
7844
  }, {
7417
7845
  path: string;
7418
- group: string;
7419
7846
  project: string;
7847
+ group: string;
7420
7848
  ref?: string | undefined;
7421
7849
  }>;
7422
7850
  export type gitlabListDirectoryParamsType = z.infer<typeof gitlabListDirectoryParamsSchema>;
@@ -7531,12 +7959,12 @@ export declare const linearGetIssuesOutputSchema: z.ZodObject<{
7531
7959
  author_name?: string | undefined;
7532
7960
  }[] | undefined;
7533
7961
  title?: string | undefined;
7534
- url?: string | undefined;
7535
- state?: string | undefined;
7536
7962
  project?: {
7537
7963
  name?: string | undefined;
7538
7964
  id?: string | undefined;
7539
7965
  } | undefined;
7966
+ url?: string | undefined;
7967
+ state?: string | undefined;
7540
7968
  team?: {
7541
7969
  name?: string | undefined;
7542
7970
  id?: string | undefined;
@@ -7554,12 +7982,12 @@ export declare const linearGetIssuesOutputSchema: z.ZodObject<{
7554
7982
  author_name?: string | undefined;
7555
7983
  }[] | undefined;
7556
7984
  title?: string | undefined;
7557
- url?: string | undefined;
7558
- state?: string | undefined;
7559
7985
  project?: {
7560
7986
  name?: string | undefined;
7561
7987
  id?: string | undefined;
7562
7988
  } | undefined;
7989
+ url?: string | undefined;
7990
+ state?: string | undefined;
7563
7991
  team?: {
7564
7992
  name?: string | undefined;
7565
7993
  id?: string | undefined;
@@ -7580,12 +8008,12 @@ export declare const linearGetIssuesOutputSchema: z.ZodObject<{
7580
8008
  author_name?: string | undefined;
7581
8009
  }[] | undefined;
7582
8010
  title?: string | undefined;
7583
- url?: string | undefined;
7584
- state?: string | undefined;
7585
8011
  project?: {
7586
8012
  name?: string | undefined;
7587
8013
  id?: string | undefined;
7588
8014
  } | undefined;
8015
+ url?: string | undefined;
8016
+ state?: string | undefined;
7589
8017
  team?: {
7590
8018
  name?: string | undefined;
7591
8019
  id?: string | undefined;
@@ -7607,12 +8035,12 @@ export declare const linearGetIssuesOutputSchema: z.ZodObject<{
7607
8035
  author_name?: string | undefined;
7608
8036
  }[] | undefined;
7609
8037
  title?: string | undefined;
7610
- url?: string | undefined;
7611
- state?: string | undefined;
7612
8038
  project?: {
7613
8039
  name?: string | undefined;
7614
8040
  id?: string | undefined;
7615
8041
  } | undefined;
8042
+ url?: string | undefined;
8043
+ state?: string | undefined;
7616
8044
  team?: {
7617
8045
  name?: string | undefined;
7618
8046
  id?: string | undefined;
@@ -7711,26 +8139,26 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
7711
8139
  }[] | undefined;
7712
8140
  title?: string | undefined;
7713
8141
  content?: string | undefined;
8142
+ project?: {
8143
+ name?: string | undefined;
8144
+ id?: string | undefined;
8145
+ } | undefined;
7714
8146
  url?: string | undefined;
7715
8147
  createdAt?: string | undefined;
7716
8148
  priority?: number | undefined;
7717
8149
  state?: string | undefined;
7718
8150
  updatedAt?: string | undefined;
7719
- project?: {
7720
- name?: string | undefined;
7721
- id?: string | undefined;
7722
- } | undefined;
7723
8151
  team?: {
7724
8152
  name?: string | undefined;
7725
8153
  id?: string | undefined;
7726
8154
  } | undefined;
7727
- labels?: string[] | undefined;
7728
8155
  creator?: {
7729
8156
  name?: string | undefined;
7730
8157
  id?: string | undefined;
7731
8158
  } | undefined;
7732
- estimate?: number | undefined;
7733
8159
  dueDate?: string | undefined;
8160
+ labels?: string[] | undefined;
8161
+ estimate?: number | undefined;
7734
8162
  }, {
7735
8163
  description?: string | undefined;
7736
8164
  assignee?: {
@@ -7744,26 +8172,26 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
7744
8172
  }[] | undefined;
7745
8173
  title?: string | undefined;
7746
8174
  content?: string | undefined;
8175
+ project?: {
8176
+ name?: string | undefined;
8177
+ id?: string | undefined;
8178
+ } | undefined;
7747
8179
  url?: string | undefined;
7748
8180
  createdAt?: string | undefined;
7749
8181
  priority?: number | undefined;
7750
8182
  state?: string | undefined;
7751
8183
  updatedAt?: string | undefined;
7752
- project?: {
7753
- name?: string | undefined;
7754
- id?: string | undefined;
7755
- } | undefined;
7756
8184
  team?: {
7757
8185
  name?: string | undefined;
7758
8186
  id?: string | undefined;
7759
8187
  } | undefined;
7760
- labels?: string[] | undefined;
7761
8188
  creator?: {
7762
8189
  name?: string | undefined;
7763
8190
  id?: string | undefined;
7764
8191
  } | undefined;
7765
- estimate?: number | undefined;
7766
8192
  dueDate?: string | undefined;
8193
+ labels?: string[] | undefined;
8194
+ estimate?: number | undefined;
7767
8195
  }>>;
7768
8196
  }, "strip", z.ZodTypeAny, {
7769
8197
  success: boolean;
@@ -7781,26 +8209,26 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
7781
8209
  }[] | undefined;
7782
8210
  title?: string | undefined;
7783
8211
  content?: string | undefined;
8212
+ project?: {
8213
+ name?: string | undefined;
8214
+ id?: string | undefined;
8215
+ } | undefined;
7784
8216
  url?: string | undefined;
7785
8217
  createdAt?: string | undefined;
7786
8218
  priority?: number | undefined;
7787
8219
  state?: string | undefined;
7788
8220
  updatedAt?: string | undefined;
7789
- project?: {
7790
- name?: string | undefined;
7791
- id?: string | undefined;
7792
- } | undefined;
7793
8221
  team?: {
7794
8222
  name?: string | undefined;
7795
8223
  id?: string | undefined;
7796
8224
  } | undefined;
7797
- labels?: string[] | undefined;
7798
8225
  creator?: {
7799
8226
  name?: string | undefined;
7800
8227
  id?: string | undefined;
7801
8228
  } | undefined;
7802
- estimate?: number | undefined;
7803
8229
  dueDate?: string | undefined;
8230
+ labels?: string[] | undefined;
8231
+ estimate?: number | undefined;
7804
8232
  } | undefined;
7805
8233
  }, {
7806
8234
  success: boolean;
@@ -7818,26 +8246,26 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
7818
8246
  }[] | undefined;
7819
8247
  title?: string | undefined;
7820
8248
  content?: string | undefined;
8249
+ project?: {
8250
+ name?: string | undefined;
8251
+ id?: string | undefined;
8252
+ } | undefined;
7821
8253
  url?: string | undefined;
7822
8254
  createdAt?: string | undefined;
7823
8255
  priority?: number | undefined;
7824
8256
  state?: string | undefined;
7825
8257
  updatedAt?: string | undefined;
7826
- project?: {
7827
- name?: string | undefined;
7828
- id?: string | undefined;
7829
- } | undefined;
7830
8258
  team?: {
7831
8259
  name?: string | undefined;
7832
8260
  id?: string | undefined;
7833
8261
  } | undefined;
7834
- labels?: string[] | undefined;
7835
8262
  creator?: {
7836
8263
  name?: string | undefined;
7837
8264
  id?: string | undefined;
7838
8265
  } | undefined;
7839
- estimate?: number | undefined;
7840
8266
  dueDate?: string | undefined;
8267
+ labels?: string[] | undefined;
8268
+ estimate?: number | undefined;
7841
8269
  } | undefined;
7842
8270
  }>;
7843
8271
  export type linearGetIssueDetailsOutputType = z.infer<typeof linearGetIssueDetailsOutputSchema>;
@@ -7883,11 +8311,11 @@ export declare const linearGetProjectsOutputSchema: z.ZodObject<{
7883
8311
  id?: string | undefined;
7884
8312
  content?: string | undefined;
7885
8313
  url?: string | undefined;
7886
- labels?: string[] | undefined;
7887
8314
  creator?: {
7888
8315
  name?: string | undefined;
7889
8316
  id?: string | undefined;
7890
8317
  } | undefined;
8318
+ labels?: string[] | undefined;
7891
8319
  lead?: {
7892
8320
  name?: string | undefined;
7893
8321
  id?: string | undefined;
@@ -7900,11 +8328,11 @@ export declare const linearGetProjectsOutputSchema: z.ZodObject<{
7900
8328
  id?: string | undefined;
7901
8329
  content?: string | undefined;
7902
8330
  url?: string | undefined;
7903
- labels?: string[] | undefined;
7904
8331
  creator?: {
7905
8332
  name?: string | undefined;
7906
8333
  id?: string | undefined;
7907
8334
  } | undefined;
8335
+ labels?: string[] | undefined;
7908
8336
  lead?: {
7909
8337
  name?: string | undefined;
7910
8338
  id?: string | undefined;
@@ -7921,11 +8349,11 @@ export declare const linearGetProjectsOutputSchema: z.ZodObject<{
7921
8349
  id?: string | undefined;
7922
8350
  content?: string | undefined;
7923
8351
  url?: string | undefined;
7924
- labels?: string[] | undefined;
7925
8352
  creator?: {
7926
8353
  name?: string | undefined;
7927
8354
  id?: string | undefined;
7928
8355
  } | undefined;
8356
+ labels?: string[] | undefined;
7929
8357
  lead?: {
7930
8358
  name?: string | undefined;
7931
8359
  id?: string | undefined;
@@ -7942,11 +8370,11 @@ export declare const linearGetProjectsOutputSchema: z.ZodObject<{
7942
8370
  id?: string | undefined;
7943
8371
  content?: string | undefined;
7944
8372
  url?: string | undefined;
7945
- labels?: string[] | undefined;
7946
8373
  creator?: {
7947
8374
  name?: string | undefined;
7948
8375
  id?: string | undefined;
7949
8376
  } | undefined;
8377
+ labels?: string[] | undefined;
7950
8378
  lead?: {
7951
8379
  name?: string | undefined;
7952
8380
  id?: string | undefined;
@@ -425,7 +425,34 @@ export const jiraGetJiraIssuesByQueryParamsSchema = z.object({
425
425
  });
426
426
  export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
427
427
  success: z.boolean().describe("Whether the records were successfully retrieved"),
428
- records: z.array(z.record(z.string()).describe("An issue from Jira")).describe("The retrieved records").optional(),
428
+ records: z
429
+ .object({
430
+ issues: z
431
+ .array(z.object({
432
+ id: z.string().describe("Internal Jira issue ID"),
433
+ key: z.string().describe("Human-readable issue key (e.g. SSPR-123)"),
434
+ summary: z.string().describe("Summary of the issue"),
435
+ description: z.string().describe("Plain text description"),
436
+ project: z.object({ id: z.string().optional(), key: z.string().optional(), name: z.string().optional() }),
437
+ issueType: z.object({ id: z.string().optional(), name: z.string().optional() }),
438
+ status: z.object({
439
+ id: z.string().optional(),
440
+ name: z.string().optional(),
441
+ category: z.string().optional(),
442
+ }),
443
+ assignee: z.string().nullable().describe("Email of the assignee, if any").optional(),
444
+ reporter: z.string().nullable().describe("Email of the reporter, if any").optional(),
445
+ creator: z.string().nullable().describe("Email of the creator, if any").optional(),
446
+ created: z.string().datetime({ offset: true }),
447
+ updated: z.string().datetime({ offset: true }),
448
+ resolution: z.string().nullable().optional(),
449
+ dueDate: z.string().date().nullable().optional(),
450
+ }))
451
+ .describe("The retrieved Jira issues")
452
+ .optional(),
453
+ })
454
+ .describe("The result object containing issues")
455
+ .optional(),
429
456
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
430
457
  });
431
458
  export const jiraOrgAssignJiraTicketParamsSchema = z.object({
@@ -573,7 +600,34 @@ export const jiraOrgGetJiraIssuesByQueryParamsSchema = z.object({
573
600
  });
574
601
  export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
575
602
  success: z.boolean().describe("Whether the records were successfully retrieved"),
576
- records: z.array(z.record(z.string()).describe("An issue from Jira")).describe("The retrieved records").optional(),
603
+ records: z
604
+ .object({
605
+ issues: z
606
+ .array(z.object({
607
+ id: z.string().describe("Internal Jira issue ID"),
608
+ key: z.string().describe("Human-readable issue key (e.g. SSPR-123)"),
609
+ summary: z.string().describe("Summary of the issue"),
610
+ description: z.string().describe("Plain text description"),
611
+ project: z.object({ id: z.string().optional(), key: z.string().optional(), name: z.string().optional() }),
612
+ issueType: z.object({ id: z.string().optional(), name: z.string().optional() }),
613
+ status: z.object({
614
+ id: z.string().optional(),
615
+ name: z.string().optional(),
616
+ category: z.string().optional(),
617
+ }),
618
+ assignee: z.string().nullable().describe("Email of the assignee, if any").optional(),
619
+ reporter: z.string().nullable().describe("Email of the reporter, if any").optional(),
620
+ creator: z.string().nullable().describe("Email of the creator, if any").optional(),
621
+ created: z.string().datetime({ offset: true }),
622
+ updated: z.string().datetime({ offset: true }),
623
+ resolution: z.string().nullable().optional(),
624
+ dueDate: z.string().date().nullable().optional(),
625
+ }))
626
+ .describe("The retrieved Jira issues")
627
+ .optional(),
628
+ })
629
+ .describe("The result object containing issues")
630
+ .optional(),
577
631
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
578
632
  });
579
633
  export const kandjiGetFVRecoveryKeyForDeviceParamsSchema = z.object({
@@ -48,7 +48,38 @@ const getJiraIssuesByQuery = (_a) => __awaiter(void 0, [_a], void 0, function* (
48
48
  });
49
49
  return {
50
50
  success: true,
51
- records: response.data,
51
+ records: {
52
+ issues: response.data.issues.map(issue => {
53
+ var _a, _b, _c, _d;
54
+ return ({
55
+ id: issue.id,
56
+ key: issue.key,
57
+ summary: issue.fields.summary,
58
+ description: extractPlainText(issue.fields.description),
59
+ project: {
60
+ id: issue.fields.project.id,
61
+ key: issue.fields.project.key,
62
+ name: issue.fields.project.name,
63
+ },
64
+ issueType: {
65
+ id: issue.fields.issuetype.id,
66
+ name: issue.fields.issuetype.name,
67
+ },
68
+ status: {
69
+ id: issue.fields.status.id,
70
+ name: issue.fields.status.name,
71
+ category: issue.fields.status.statusCategory.name,
72
+ },
73
+ assignee: ((_a = issue.fields.assignee) === null || _a === void 0 ? void 0 : _a.emailAddress) || null,
74
+ reporter: ((_b = issue.fields.reporter) === null || _b === void 0 ? void 0 : _b.emailAddress) || null,
75
+ creator: ((_c = issue.fields.creator) === null || _c === void 0 ? void 0 : _c.emailAddress) || null,
76
+ created: issue.fields.created,
77
+ updated: issue.fields.updated,
78
+ resolution: ((_d = issue.fields.resolution) === null || _d === void 0 ? void 0 : _d.name) || null,
79
+ dueDate: issue.fields.duedate || null,
80
+ });
81
+ }),
82
+ },
52
83
  };
53
84
  }
54
85
  catch (error) {
@@ -63,4 +94,17 @@ const getJiraIssuesByQuery = (_a) => __awaiter(void 0, [_a], void 0, function* (
63
94
  };
64
95
  }
65
96
  });
97
+ function extractPlainText(adf) {
98
+ if (!adf || adf.type !== "doc" || !Array.isArray(adf.content))
99
+ return "";
100
+ return adf.content
101
+ .map(block => {
102
+ if (block.type === "paragraph" && Array.isArray(block.content)) {
103
+ return block.content.map(inline => { var _a; return (_a = inline.text) !== null && _a !== void 0 ? _a : ""; }).join("");
104
+ }
105
+ return "";
106
+ })
107
+ .join("\n")
108
+ .trim();
109
+ }
66
110
  export default getJiraIssuesByQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,