@credal/actions 0.2.47 → 0.2.49

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.
Files changed (37) hide show
  1. package/dist/actions/actionMapper.js +39 -1
  2. package/dist/actions/autogen/templates.d.ts +6 -0
  3. package/dist/actions/autogen/templates.js +640 -0
  4. package/dist/actions/autogen/types.d.ts +803 -1
  5. package/dist/actions/autogen/types.js +222 -0
  6. package/dist/actions/groups.js +11 -1
  7. package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
  8. package/dist/actions/providers/confluence/updatePage.js +47 -0
  9. package/dist/actions/providers/credal/callCopilot.d.ts +3 -0
  10. package/dist/actions/providers/credal/callCopilot.js +36 -0
  11. package/dist/actions/providers/github/searchRepository.js +3 -2
  12. package/dist/actions/providers/gitlab/searchGroup.js +11 -5
  13. package/dist/actions/providers/jamf/types.d.ts +8 -0
  14. package/dist/actions/providers/jamf/types.js +7 -0
  15. package/dist/actions/providers/linear/getIssueDetails.d.ts +3 -0
  16. package/dist/actions/providers/linear/getIssueDetails.js +127 -0
  17. package/dist/actions/providers/linear/getIssues.d.ts +3 -0
  18. package/dist/actions/providers/linear/getIssues.js +160 -0
  19. package/dist/actions/providers/linear/getProjectDetails.d.ts +3 -0
  20. package/dist/actions/providers/linear/getProjectDetails.js +129 -0
  21. package/dist/actions/providers/linear/getProjects.d.ts +3 -0
  22. package/dist/actions/providers/linear/getProjects.js +96 -0
  23. package/dist/actions/providers/linear/getTeamDetails.d.ts +3 -0
  24. package/dist/actions/providers/linear/getTeamDetails.js +84 -0
  25. package/dist/actions/providers/linear/getTeams.d.ts +3 -0
  26. package/dist/actions/providers/linear/getTeams.js +68 -0
  27. package/dist/actions/providers/math/index.d.ts +1 -0
  28. package/dist/actions/providers/math/index.js +37 -0
  29. package/dist/actions/providers/slack/index.d.ts +1 -0
  30. package/dist/actions/providers/slack/index.js +37 -0
  31. package/dist/actions/providers/slack/listConversations.d.ts +3 -0
  32. package/dist/actions/providers/slack/listConversations.js +41 -0
  33. package/package.json +1 -1
  34. package/dist/actions/providers/github/fetchFile.d.ts +0 -3
  35. package/dist/actions/providers/github/fetchFile.js +0 -131
  36. package/dist/actions/providers/github/getContents.d.ts +0 -3
  37. package/dist/actions/providers/github/getContents.js +0 -41
@@ -9979,3 +9979,643 @@ export const gitlabSearchGroupDefinition = {
9979
9979
  name: "searchGroup",
9980
9980
  provider: "gitlab",
9981
9981
  };
9982
+ export const linearGetIssuesDefinition = {
9983
+ description: "Get Linear issues with optional query filter",
9984
+ scopes: [],
9985
+ parameters: {
9986
+ type: "object",
9987
+ required: [],
9988
+ properties: {
9989
+ query: {
9990
+ type: "string",
9991
+ description: "Optional query string to filter issues",
9992
+ },
9993
+ maxResults: {
9994
+ type: "number",
9995
+ description: "Optional limit to number of results",
9996
+ },
9997
+ },
9998
+ },
9999
+ output: {
10000
+ type: "object",
10001
+ required: ["success"],
10002
+ properties: {
10003
+ success: {
10004
+ type: "boolean",
10005
+ description: "Whether the operation was successful",
10006
+ },
10007
+ error: {
10008
+ type: "string",
10009
+ description: "Error message if the operation failed",
10010
+ },
10011
+ issues: {
10012
+ type: "array",
10013
+ description: "List of issues matching the query",
10014
+ items: {
10015
+ type: "object",
10016
+ properties: {
10017
+ id: {
10018
+ type: "string",
10019
+ description: "The issue ID",
10020
+ },
10021
+ title: {
10022
+ type: "string",
10023
+ description: "The issue title",
10024
+ },
10025
+ labels: {
10026
+ type: "array",
10027
+ description: "The issue labels",
10028
+ items: {
10029
+ type: "string",
10030
+ },
10031
+ },
10032
+ state: {
10033
+ type: "string",
10034
+ description: "The issue state",
10035
+ },
10036
+ assignee: {
10037
+ type: "object",
10038
+ description: "The issue assignee",
10039
+ properties: {
10040
+ id: {
10041
+ type: "string",
10042
+ description: "The assignee ID",
10043
+ },
10044
+ name: {
10045
+ type: "string",
10046
+ description: "The assignee name",
10047
+ },
10048
+ },
10049
+ },
10050
+ due_date: {
10051
+ type: "string",
10052
+ description: "The issue due date",
10053
+ },
10054
+ project: {
10055
+ type: "object",
10056
+ description: "The project the issue belongs to",
10057
+ properties: {
10058
+ id: {
10059
+ type: "string",
10060
+ description: "The project ID",
10061
+ },
10062
+ name: {
10063
+ type: "string",
10064
+ description: "The project name",
10065
+ },
10066
+ },
10067
+ },
10068
+ team: {
10069
+ type: "object",
10070
+ description: "The team the issue belongs to",
10071
+ properties: {
10072
+ id: {
10073
+ type: "string",
10074
+ description: "The team ID",
10075
+ },
10076
+ name: {
10077
+ type: "string",
10078
+ description: "The team name",
10079
+ },
10080
+ },
10081
+ },
10082
+ url: {
10083
+ type: "string",
10084
+ description: "The issue URL",
10085
+ },
10086
+ comments: {
10087
+ type: "array",
10088
+ description: "The issue comments",
10089
+ items: {
10090
+ type: "object",
10091
+ properties: {
10092
+ author_name: {
10093
+ type: "string",
10094
+ description: "The comment author name",
10095
+ },
10096
+ comment: {
10097
+ type: "string",
10098
+ description: "The comment content",
10099
+ },
10100
+ },
10101
+ },
10102
+ },
10103
+ },
10104
+ },
10105
+ },
10106
+ },
10107
+ },
10108
+ name: "getIssues",
10109
+ provider: "linear",
10110
+ };
10111
+ export const linearGetIssueDetailsDefinition = {
10112
+ description: "Get detailed information about a Linear issue",
10113
+ scopes: [],
10114
+ parameters: {
10115
+ type: "object",
10116
+ required: ["issueId"],
10117
+ properties: {
10118
+ issueId: {
10119
+ type: "string",
10120
+ description: "The ID of the Linear issue to retrieve",
10121
+ },
10122
+ },
10123
+ },
10124
+ output: {
10125
+ type: "object",
10126
+ required: ["success"],
10127
+ properties: {
10128
+ success: {
10129
+ type: "boolean",
10130
+ description: "Whether the operation was successful",
10131
+ },
10132
+ error: {
10133
+ type: "string",
10134
+ description: "Error message if the operation failed",
10135
+ },
10136
+ issue: {
10137
+ type: "object",
10138
+ description: "The issue details",
10139
+ properties: {
10140
+ id: {
10141
+ type: "string",
10142
+ description: "The issue ID",
10143
+ },
10144
+ title: {
10145
+ type: "string",
10146
+ description: "The issue title",
10147
+ },
10148
+ description: {
10149
+ type: "string",
10150
+ description: "The issue description",
10151
+ },
10152
+ state: {
10153
+ type: "string",
10154
+ description: "The issue state",
10155
+ },
10156
+ assignee: {
10157
+ type: "object",
10158
+ description: "The issue assignee",
10159
+ properties: {
10160
+ id: {
10161
+ type: "string",
10162
+ description: "The assignee ID",
10163
+ },
10164
+ name: {
10165
+ type: "string",
10166
+ description: "The assignee name",
10167
+ },
10168
+ },
10169
+ },
10170
+ creator: {
10171
+ type: "object",
10172
+ description: "The issue creator",
10173
+ properties: {
10174
+ id: {
10175
+ type: "string",
10176
+ description: "The creator ID",
10177
+ },
10178
+ name: {
10179
+ type: "string",
10180
+ description: "The creator name",
10181
+ },
10182
+ },
10183
+ },
10184
+ team: {
10185
+ type: "object",
10186
+ description: "The team the issue belongs to",
10187
+ properties: {
10188
+ id: {
10189
+ type: "string",
10190
+ description: "The team ID",
10191
+ },
10192
+ name: {
10193
+ type: "string",
10194
+ description: "The team name",
10195
+ },
10196
+ },
10197
+ },
10198
+ project: {
10199
+ type: "object",
10200
+ description: "The project the issue belongs to",
10201
+ properties: {
10202
+ id: {
10203
+ type: "string",
10204
+ description: "The project ID",
10205
+ },
10206
+ name: {
10207
+ type: "string",
10208
+ description: "The project name",
10209
+ },
10210
+ },
10211
+ },
10212
+ priority: {
10213
+ type: "number",
10214
+ description: "The issue priority (0-4)",
10215
+ },
10216
+ estimate: {
10217
+ type: "number",
10218
+ description: "The issue estimate in story points",
10219
+ },
10220
+ dueDate: {
10221
+ type: "string",
10222
+ description: "The issue due date",
10223
+ },
10224
+ createdAt: {
10225
+ type: "string",
10226
+ description: "When the issue was created",
10227
+ },
10228
+ updatedAt: {
10229
+ type: "string",
10230
+ description: "When the issue was last updated",
10231
+ },
10232
+ labels: {
10233
+ type: "array",
10234
+ description: "The issue labels",
10235
+ items: {
10236
+ type: "string",
10237
+ },
10238
+ },
10239
+ url: {
10240
+ type: "string",
10241
+ description: "The issue URL",
10242
+ },
10243
+ comments: {
10244
+ type: "array",
10245
+ description: "The issue comments",
10246
+ items: {
10247
+ type: "object",
10248
+ properties: {
10249
+ author_name: {
10250
+ type: "string",
10251
+ description: "The comment author name",
10252
+ },
10253
+ comment: {
10254
+ type: "string",
10255
+ description: "The comment content",
10256
+ },
10257
+ },
10258
+ },
10259
+ },
10260
+ content: {
10261
+ type: "string",
10262
+ description: "The issue content",
10263
+ },
10264
+ },
10265
+ },
10266
+ },
10267
+ },
10268
+ name: "getIssueDetails",
10269
+ provider: "linear",
10270
+ };
10271
+ export const linearGetProjectsDefinition = {
10272
+ description: "Get all Linear projects",
10273
+ scopes: [],
10274
+ parameters: {
10275
+ type: "object",
10276
+ required: [],
10277
+ properties: {},
10278
+ },
10279
+ output: {
10280
+ type: "object",
10281
+ required: ["success"],
10282
+ properties: {
10283
+ success: {
10284
+ type: "boolean",
10285
+ description: "Whether the operation was successful",
10286
+ },
10287
+ error: {
10288
+ type: "string",
10289
+ description: "Error message if the operation failed",
10290
+ },
10291
+ projects: {
10292
+ type: "array",
10293
+ description: "List of all projects",
10294
+ items: {
10295
+ type: "object",
10296
+ properties: {
10297
+ id: {
10298
+ type: "string",
10299
+ description: "The project ID",
10300
+ },
10301
+ name: {
10302
+ type: "string",
10303
+ description: "The project name",
10304
+ },
10305
+ status: {
10306
+ type: "string",
10307
+ description: "The project status",
10308
+ },
10309
+ labels: {
10310
+ type: "array",
10311
+ description: "The project labels",
10312
+ items: {
10313
+ type: "string",
10314
+ },
10315
+ },
10316
+ content: {
10317
+ type: "string",
10318
+ description: "The project content",
10319
+ },
10320
+ description: {
10321
+ type: "string",
10322
+ description: "The project description",
10323
+ },
10324
+ creator: {
10325
+ type: "object",
10326
+ description: "The project creator",
10327
+ properties: {
10328
+ id: {
10329
+ type: "string",
10330
+ description: "The creator ID",
10331
+ },
10332
+ name: {
10333
+ type: "string",
10334
+ description: "The creator name",
10335
+ },
10336
+ },
10337
+ },
10338
+ lead: {
10339
+ type: "object",
10340
+ description: "The project lead",
10341
+ properties: {
10342
+ id: {
10343
+ type: "string",
10344
+ description: "The lead ID",
10345
+ },
10346
+ name: {
10347
+ type: "string",
10348
+ description: "The lead name",
10349
+ },
10350
+ },
10351
+ },
10352
+ progress: {
10353
+ type: "number",
10354
+ description: "The project progress percentage",
10355
+ },
10356
+ url: {
10357
+ type: "string",
10358
+ description: "The project URL",
10359
+ },
10360
+ },
10361
+ },
10362
+ },
10363
+ },
10364
+ },
10365
+ name: "getProjects",
10366
+ provider: "linear",
10367
+ };
10368
+ export const linearGetProjectDetailsDefinition = {
10369
+ description: "Get detailed information about a Linear project",
10370
+ scopes: [],
10371
+ parameters: {
10372
+ type: "object",
10373
+ required: ["projectId"],
10374
+ properties: {
10375
+ projectId: {
10376
+ type: "string",
10377
+ description: "The ID of the Linear project to retrieve",
10378
+ },
10379
+ },
10380
+ },
10381
+ output: {
10382
+ type: "object",
10383
+ required: ["success"],
10384
+ properties: {
10385
+ success: {
10386
+ type: "boolean",
10387
+ description: "Whether the operation was successful",
10388
+ },
10389
+ error: {
10390
+ type: "string",
10391
+ description: "Error message if the operation failed",
10392
+ },
10393
+ project: {
10394
+ type: "object",
10395
+ description: "The project details",
10396
+ properties: {
10397
+ id: {
10398
+ type: "string",
10399
+ description: "The project ID",
10400
+ },
10401
+ name: {
10402
+ type: "string",
10403
+ description: "The project name",
10404
+ },
10405
+ description: {
10406
+ type: "string",
10407
+ description: "The project description",
10408
+ },
10409
+ state: {
10410
+ type: "string",
10411
+ description: "The project state",
10412
+ },
10413
+ progress: {
10414
+ type: "number",
10415
+ description: "The project progress percentage",
10416
+ },
10417
+ targetDate: {
10418
+ type: "string",
10419
+ description: "The project target date",
10420
+ },
10421
+ createdAt: {
10422
+ type: "string",
10423
+ description: "When the project was created",
10424
+ },
10425
+ updatedAt: {
10426
+ type: "string",
10427
+ description: "When the project was last updated",
10428
+ },
10429
+ lead: {
10430
+ type: "object",
10431
+ description: "The project lead",
10432
+ properties: {
10433
+ id: {
10434
+ type: "string",
10435
+ description: "The lead ID",
10436
+ },
10437
+ name: {
10438
+ type: "string",
10439
+ description: "The lead name",
10440
+ },
10441
+ },
10442
+ },
10443
+ team: {
10444
+ type: "object",
10445
+ description: "The team the project belongs to",
10446
+ properties: {
10447
+ id: {
10448
+ type: "string",
10449
+ description: "The team ID",
10450
+ },
10451
+ name: {
10452
+ type: "string",
10453
+ description: "The team name",
10454
+ },
10455
+ },
10456
+ },
10457
+ issues: {
10458
+ type: "array",
10459
+ description: "The issues in the project",
10460
+ items: {
10461
+ type: "object",
10462
+ properties: {
10463
+ id: {
10464
+ type: "string",
10465
+ description: "The issue ID",
10466
+ },
10467
+ name: {
10468
+ type: "string",
10469
+ description: "The issue name",
10470
+ },
10471
+ },
10472
+ },
10473
+ },
10474
+ url: {
10475
+ type: "string",
10476
+ description: "The project URL",
10477
+ },
10478
+ updates: {
10479
+ type: "array",
10480
+ description: "The project updates",
10481
+ items: {
10482
+ type: "object",
10483
+ properties: {
10484
+ id: {
10485
+ type: "string",
10486
+ description: "The update ID",
10487
+ },
10488
+ content: {
10489
+ type: "string",
10490
+ description: "The update content",
10491
+ },
10492
+ author_name: {
10493
+ type: "string",
10494
+ description: "The update author name",
10495
+ },
10496
+ created_at: {
10497
+ type: "string",
10498
+ description: "When the update was created",
10499
+ },
10500
+ },
10501
+ },
10502
+ },
10503
+ content: {
10504
+ type: "string",
10505
+ description: "The project content",
10506
+ },
10507
+ },
10508
+ },
10509
+ },
10510
+ },
10511
+ name: "getProjectDetails",
10512
+ provider: "linear",
10513
+ };
10514
+ export const linearGetTeamDetailsDefinition = {
10515
+ description: "Get detailed information about a Linear team",
10516
+ scopes: [],
10517
+ parameters: {
10518
+ type: "object",
10519
+ required: ["teamId"],
10520
+ properties: {
10521
+ teamId: {
10522
+ type: "string",
10523
+ description: "The ID of the Linear team to retrieve",
10524
+ },
10525
+ },
10526
+ },
10527
+ output: {
10528
+ type: "object",
10529
+ required: ["success"],
10530
+ properties: {
10531
+ success: {
10532
+ type: "boolean",
10533
+ description: "Whether the operation was successful",
10534
+ },
10535
+ error: {
10536
+ type: "string",
10537
+ description: "Error message if the operation failed",
10538
+ },
10539
+ team: {
10540
+ type: "object",
10541
+ description: "The team details",
10542
+ properties: {
10543
+ id: {
10544
+ type: "string",
10545
+ description: "The team ID",
10546
+ },
10547
+ name: {
10548
+ type: "string",
10549
+ description: "The team name",
10550
+ },
10551
+ identifier: {
10552
+ type: "string",
10553
+ description: "Used to identify issues from this team",
10554
+ },
10555
+ members: {
10556
+ description: "The team members",
10557
+ type: "array",
10558
+ items: {
10559
+ type: "object",
10560
+ properties: {
10561
+ id: {
10562
+ type: "string",
10563
+ },
10564
+ name: {
10565
+ type: "string",
10566
+ },
10567
+ email: {
10568
+ type: "string",
10569
+ },
10570
+ },
10571
+ },
10572
+ },
10573
+ },
10574
+ },
10575
+ },
10576
+ },
10577
+ name: "getTeamDetails",
10578
+ provider: "linear",
10579
+ };
10580
+ export const linearGetTeamsDefinition = {
10581
+ description: "Get all teams in Linear",
10582
+ scopes: [],
10583
+ parameters: {
10584
+ type: "object",
10585
+ required: [],
10586
+ properties: {},
10587
+ },
10588
+ output: {
10589
+ type: "object",
10590
+ required: ["success"],
10591
+ properties: {
10592
+ success: {
10593
+ type: "boolean",
10594
+ description: "Whether the operation was successful",
10595
+ },
10596
+ error: {
10597
+ type: "string",
10598
+ description: "Error message if the operation failed",
10599
+ },
10600
+ teams: {
10601
+ type: "array",
10602
+ description: "List of all teams",
10603
+ items: {
10604
+ type: "object",
10605
+ properties: {
10606
+ id: {
10607
+ type: "string",
10608
+ description: "The team ID",
10609
+ },
10610
+ name: {
10611
+ type: "string",
10612
+ description: "The team name",
10613
+ },
10614
+ },
10615
+ },
10616
+ },
10617
+ },
10618
+ },
10619
+ name: "getTeams",
10620
+ provider: "linear",
10621
+ };