@credal/actions 0.2.127 → 0.2.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/autogen/templates.js +893 -587
- package/dist/actions/autogen/types.d.ts +854 -950
- package/dist/actions/autogen/types.js +358 -212
- package/dist/actions/providers/firecrawl/scrapeUrl.js +11 -4
- package/dist/actions/providers/github/getFileContent.js +13 -5
- package/dist/actions/providers/github/listDirectory.js +12 -11
- package/dist/actions/providers/github/listPullRequests.js +58 -30
- package/dist/actions/providers/github/searchOrganization.d.ts +1 -1
- package/dist/actions/providers/github/searchOrganization.js +26 -4
- package/dist/actions/providers/gitlab/getFileContent.js +15 -6
- package/dist/actions/providers/gitlab/listDirectory.js +10 -6
- package/dist/actions/providers/gitlab/searchGroup.js +84 -55
- package/dist/actions/providers/google-oauth/getDriveFileContentById.js +10 -1
- package/dist/actions/providers/google-oauth/searchDriveByKeywordsAndGetFileContent.js +12 -4
- package/dist/actions/providers/google-oauth/searchDriveByQueryAndGetFileContent.js +2 -1
- package/dist/actions/providers/jira/getJiraIssuesByQuery.js +9 -7
- package/dist/actions/providers/jira/getJiraTicketDetails.js +8 -1
- package/dist/actions/providers/salesforce/getSalesforceRecordsByQuery.js +10 -3
- package/dist/actions/providers/salesforce/searchSalesforceRecords.js +9 -7
- package/dist/actions/providers/slackUser/searchSlack.js +8 -1
- package/package.json +1 -1
|
@@ -782,54 +782,68 @@ export const slackUserSearchSlackDefinition = {
|
|
|
782
782
|
description: "Hydrated search results (threads or small context windows), sorted by ts desc.",
|
|
783
783
|
items: {
|
|
784
784
|
type: "object",
|
|
785
|
-
required: ["
|
|
785
|
+
required: ["name", "url", "contents"],
|
|
786
786
|
properties: {
|
|
787
|
-
|
|
788
|
-
type: "string",
|
|
789
|
-
description: "Slack channel/conversation ID (C…/G…/D… or name).",
|
|
790
|
-
},
|
|
791
|
-
ts: {
|
|
792
|
-
type: "string",
|
|
793
|
-
description: "Slack message timestamp of the hit (or thread root when hydrated as thread).",
|
|
794
|
-
},
|
|
795
|
-
text: {
|
|
796
|
-
type: "string",
|
|
797
|
-
description: "Message text of the anchor (hit or thread root).",
|
|
798
|
-
},
|
|
799
|
-
userEmail: {
|
|
800
|
-
type: "string",
|
|
801
|
-
description: "User email of the anchor message’s author (if available).",
|
|
802
|
-
},
|
|
803
|
-
userName: {
|
|
787
|
+
name: {
|
|
804
788
|
type: "string",
|
|
805
|
-
description: "
|
|
789
|
+
description: "The name of the result",
|
|
806
790
|
},
|
|
807
|
-
|
|
791
|
+
url: {
|
|
808
792
|
type: "string",
|
|
809
|
-
description: "
|
|
793
|
+
description: "The URL of the result",
|
|
810
794
|
},
|
|
811
|
-
|
|
812
|
-
type: "
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
795
|
+
contents: {
|
|
796
|
+
type: "object",
|
|
797
|
+
required: ["channelId", "ts"],
|
|
798
|
+
properties: {
|
|
799
|
+
channelId: {
|
|
800
|
+
type: "string",
|
|
801
|
+
description: "Slack channel/conversation ID (C…/G…/D… or name).",
|
|
802
|
+
},
|
|
803
|
+
ts: {
|
|
804
|
+
type: "string",
|
|
805
|
+
description: "Slack message timestamp of the hit (or thread root when hydrated as thread).",
|
|
806
|
+
},
|
|
807
|
+
text: {
|
|
808
|
+
type: "string",
|
|
809
|
+
description: "Message text of the anchor (hit or thread root).",
|
|
810
|
+
},
|
|
811
|
+
userEmail: {
|
|
812
|
+
type: "string",
|
|
813
|
+
description: "User email of the anchor message’s author (if available).",
|
|
814
|
+
},
|
|
815
|
+
userName: {
|
|
816
|
+
type: "string",
|
|
817
|
+
description: "User name of the anchor message’s author (if available).",
|
|
818
|
+
},
|
|
819
|
+
permalink: {
|
|
820
|
+
type: "string",
|
|
821
|
+
description: "A Slack permalink to the anchor (message or thread root), if resolvable.",
|
|
822
|
+
},
|
|
823
|
+
context: {
|
|
824
|
+
type: "array",
|
|
825
|
+
description: "When a hit is in a thread, this is the full thread (root first). Otherwise, a small surrounding context window (~3 before, 5 after).",
|
|
826
|
+
items: {
|
|
827
|
+
type: "object",
|
|
828
|
+
required: ["ts"],
|
|
829
|
+
properties: {
|
|
830
|
+
ts: {
|
|
831
|
+
type: "string",
|
|
832
|
+
description: "Timestamp of the contextual message.",
|
|
833
|
+
},
|
|
834
|
+
text: {
|
|
835
|
+
type: "string",
|
|
836
|
+
description: "Text of the contextual message.",
|
|
837
|
+
},
|
|
838
|
+
userEmail: {
|
|
839
|
+
type: "string",
|
|
840
|
+
description: "Author user email of the contextual message.",
|
|
841
|
+
},
|
|
842
|
+
userName: {
|
|
843
|
+
type: "string",
|
|
844
|
+
description: "Author user name of the contextual message.",
|
|
845
|
+
},
|
|
846
|
+
},
|
|
833
847
|
},
|
|
834
848
|
},
|
|
835
849
|
},
|
|
@@ -1314,9 +1328,27 @@ export const jiraGetJiraTicketDetailsDefinition = {
|
|
|
1314
1328
|
type: "string",
|
|
1315
1329
|
description: "The error that occurred if the retrieval was unsuccessful",
|
|
1316
1330
|
},
|
|
1317
|
-
|
|
1318
|
-
type: "
|
|
1319
|
-
description: "The
|
|
1331
|
+
results: {
|
|
1332
|
+
type: "array",
|
|
1333
|
+
description: "The results of the Jira ticket",
|
|
1334
|
+
items: {
|
|
1335
|
+
type: "object",
|
|
1336
|
+
required: ["name", "url", "contents"],
|
|
1337
|
+
properties: {
|
|
1338
|
+
name: {
|
|
1339
|
+
type: "string",
|
|
1340
|
+
description: "The name of the result",
|
|
1341
|
+
},
|
|
1342
|
+
url: {
|
|
1343
|
+
type: "string",
|
|
1344
|
+
description: "The URL of the result",
|
|
1345
|
+
},
|
|
1346
|
+
contents: {
|
|
1347
|
+
type: "object",
|
|
1348
|
+
description: "The data of the Jira ticket",
|
|
1349
|
+
},
|
|
1350
|
+
},
|
|
1351
|
+
},
|
|
1320
1352
|
},
|
|
1321
1353
|
},
|
|
1322
1354
|
},
|
|
@@ -1479,15 +1511,24 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
1479
1511
|
type: "boolean",
|
|
1480
1512
|
description: "Whether the records were successfully retrieved",
|
|
1481
1513
|
},
|
|
1482
|
-
|
|
1483
|
-
type: "
|
|
1484
|
-
description: "The
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1514
|
+
results: {
|
|
1515
|
+
type: "array",
|
|
1516
|
+
description: "The results of the Jira issues",
|
|
1517
|
+
items: {
|
|
1518
|
+
type: "object",
|
|
1519
|
+
required: ["name", "url", "contents"],
|
|
1520
|
+
properties: {
|
|
1521
|
+
name: {
|
|
1522
|
+
type: "string",
|
|
1523
|
+
description: "The name of the result",
|
|
1524
|
+
},
|
|
1525
|
+
url: {
|
|
1526
|
+
type: "string",
|
|
1527
|
+
description: "The URL of the result",
|
|
1528
|
+
},
|
|
1529
|
+
contents: {
|
|
1490
1530
|
type: "object",
|
|
1531
|
+
description: "The result object containing issues",
|
|
1491
1532
|
required: [
|
|
1492
1533
|
"id",
|
|
1493
1534
|
"key",
|
|
@@ -1963,9 +2004,27 @@ export const jiraOrgGetJiraTicketDetailsDefinition = {
|
|
|
1963
2004
|
type: "string",
|
|
1964
2005
|
description: "The error that occurred if the retrieval was unsuccessful",
|
|
1965
2006
|
},
|
|
1966
|
-
|
|
1967
|
-
type: "
|
|
1968
|
-
description: "The
|
|
2007
|
+
results: {
|
|
2008
|
+
type: "array",
|
|
2009
|
+
description: "The results of the Jira ticket",
|
|
2010
|
+
items: {
|
|
2011
|
+
type: "object",
|
|
2012
|
+
required: ["name", "url", "contents"],
|
|
2013
|
+
properties: {
|
|
2014
|
+
name: {
|
|
2015
|
+
type: "string",
|
|
2016
|
+
description: "The name of the result",
|
|
2017
|
+
},
|
|
2018
|
+
url: {
|
|
2019
|
+
type: "string",
|
|
2020
|
+
description: "The URL of the result",
|
|
2021
|
+
},
|
|
2022
|
+
contents: {
|
|
2023
|
+
type: "object",
|
|
2024
|
+
description: "The data of the Jira ticket",
|
|
2025
|
+
},
|
|
2026
|
+
},
|
|
2027
|
+
},
|
|
1969
2028
|
},
|
|
1970
2029
|
},
|
|
1971
2030
|
},
|
|
@@ -2128,15 +2187,24 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2128
2187
|
type: "boolean",
|
|
2129
2188
|
description: "Whether the records were successfully retrieved",
|
|
2130
2189
|
},
|
|
2131
|
-
|
|
2132
|
-
type: "
|
|
2133
|
-
description: "The
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2190
|
+
results: {
|
|
2191
|
+
type: "array",
|
|
2192
|
+
description: "The results of the Jira issues",
|
|
2193
|
+
items: {
|
|
2194
|
+
type: "object",
|
|
2195
|
+
required: ["name", "url", "contents"],
|
|
2196
|
+
properties: {
|
|
2197
|
+
name: {
|
|
2198
|
+
type: "string",
|
|
2199
|
+
description: "The name of the result",
|
|
2200
|
+
},
|
|
2201
|
+
url: {
|
|
2202
|
+
type: "string",
|
|
2203
|
+
description: "The URL of the result",
|
|
2204
|
+
},
|
|
2205
|
+
contents: {
|
|
2139
2206
|
type: "object",
|
|
2207
|
+
description: "The result object containing issues",
|
|
2140
2208
|
required: [
|
|
2141
2209
|
"id",
|
|
2142
2210
|
"key",
|
|
@@ -3240,11 +3308,37 @@ export const firecrawlScrapeUrlDefinition = {
|
|
|
3240
3308
|
},
|
|
3241
3309
|
output: {
|
|
3242
3310
|
type: "object",
|
|
3243
|
-
required: ["
|
|
3311
|
+
required: ["success"],
|
|
3244
3312
|
properties: {
|
|
3245
|
-
|
|
3313
|
+
success: {
|
|
3314
|
+
type: "boolean",
|
|
3315
|
+
description: "Whether the operation was successful",
|
|
3316
|
+
},
|
|
3317
|
+
error: {
|
|
3246
3318
|
type: "string",
|
|
3247
|
-
description: "
|
|
3319
|
+
description: "Error message if the operation failed",
|
|
3320
|
+
},
|
|
3321
|
+
results: {
|
|
3322
|
+
type: "array",
|
|
3323
|
+
description: "The results of the scrape",
|
|
3324
|
+
items: {
|
|
3325
|
+
type: "object",
|
|
3326
|
+
required: ["name", "url", "contents"],
|
|
3327
|
+
properties: {
|
|
3328
|
+
name: {
|
|
3329
|
+
type: "string",
|
|
3330
|
+
description: "The name of the result",
|
|
3331
|
+
},
|
|
3332
|
+
url: {
|
|
3333
|
+
type: "string",
|
|
3334
|
+
description: "The URL of the result",
|
|
3335
|
+
},
|
|
3336
|
+
contents: {
|
|
3337
|
+
type: "string",
|
|
3338
|
+
description: "The content of the URL",
|
|
3339
|
+
},
|
|
3340
|
+
},
|
|
3341
|
+
},
|
|
3248
3342
|
},
|
|
3249
3343
|
},
|
|
3250
3344
|
},
|
|
@@ -7221,32 +7315,47 @@ export const googleOauthSearchDriveByKeywordsAndGetFileContentDefinition = {
|
|
|
7221
7315
|
type: "boolean",
|
|
7222
7316
|
description: "Whether the search was successful",
|
|
7223
7317
|
},
|
|
7224
|
-
|
|
7318
|
+
results: {
|
|
7225
7319
|
type: "array",
|
|
7226
7320
|
description: "List of files matching the search",
|
|
7227
7321
|
items: {
|
|
7228
7322
|
type: "object",
|
|
7229
|
-
required: ["
|
|
7323
|
+
required: ["name", "url", "contents"],
|
|
7230
7324
|
properties: {
|
|
7231
|
-
id: {
|
|
7232
|
-
type: "string",
|
|
7233
|
-
description: "The file ID",
|
|
7234
|
-
},
|
|
7235
7325
|
name: {
|
|
7236
7326
|
type: "string",
|
|
7237
|
-
description: "The file
|
|
7238
|
-
},
|
|
7239
|
-
mimeType: {
|
|
7240
|
-
type: "string",
|
|
7241
|
-
description: "The MIME type of the file",
|
|
7327
|
+
description: "The name of the file",
|
|
7242
7328
|
},
|
|
7243
7329
|
url: {
|
|
7244
7330
|
type: "string",
|
|
7245
|
-
description: "The
|
|
7331
|
+
description: "The URL of the file",
|
|
7246
7332
|
},
|
|
7247
|
-
|
|
7248
|
-
type: "
|
|
7249
|
-
description: "The
|
|
7333
|
+
contents: {
|
|
7334
|
+
type: "object",
|
|
7335
|
+
description: "The contents of the file",
|
|
7336
|
+
required: ["id", "name", "mimeType", "url"],
|
|
7337
|
+
properties: {
|
|
7338
|
+
id: {
|
|
7339
|
+
type: "string",
|
|
7340
|
+
description: "The file ID",
|
|
7341
|
+
},
|
|
7342
|
+
name: {
|
|
7343
|
+
type: "string",
|
|
7344
|
+
description: "The file name",
|
|
7345
|
+
},
|
|
7346
|
+
mimeType: {
|
|
7347
|
+
type: "string",
|
|
7348
|
+
description: "The MIME type of the file",
|
|
7349
|
+
},
|
|
7350
|
+
url: {
|
|
7351
|
+
type: "string",
|
|
7352
|
+
description: "The web link to view the file",
|
|
7353
|
+
},
|
|
7354
|
+
content: {
|
|
7355
|
+
type: "string",
|
|
7356
|
+
description: "The data returned from the file, subject to fileSizeLimit",
|
|
7357
|
+
},
|
|
7358
|
+
},
|
|
7250
7359
|
},
|
|
7251
7360
|
},
|
|
7252
7361
|
},
|
|
@@ -7369,17 +7478,41 @@ export const googleOauthGetDriveFileContentByIdDefinition = {
|
|
|
7369
7478
|
type: "boolean",
|
|
7370
7479
|
description: "Whether the file content was retrieved successfully",
|
|
7371
7480
|
},
|
|
7372
|
-
|
|
7373
|
-
type: "
|
|
7374
|
-
description: "The
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7481
|
+
results: {
|
|
7482
|
+
type: "array",
|
|
7483
|
+
description: "The results of the file content",
|
|
7484
|
+
items: {
|
|
7485
|
+
type: "object",
|
|
7486
|
+
required: ["name", "url", "contents"],
|
|
7487
|
+
properties: {
|
|
7488
|
+
name: {
|
|
7489
|
+
type: "string",
|
|
7490
|
+
description: "The name of the file",
|
|
7491
|
+
},
|
|
7492
|
+
url: {
|
|
7493
|
+
type: "string",
|
|
7494
|
+
description: "The URL of the file",
|
|
7495
|
+
},
|
|
7496
|
+
contents: {
|
|
7497
|
+
type: "object",
|
|
7498
|
+
description: "The contents of the file",
|
|
7499
|
+
properties: {
|
|
7500
|
+
content: {
|
|
7501
|
+
type: "string",
|
|
7502
|
+
description: "The content of the file",
|
|
7503
|
+
},
|
|
7504
|
+
fileName: {
|
|
7505
|
+
type: "string",
|
|
7506
|
+
description: "The name of the file",
|
|
7507
|
+
},
|
|
7508
|
+
fileLength: {
|
|
7509
|
+
type: "number",
|
|
7510
|
+
description: "The length of the file content prior to truncating",
|
|
7511
|
+
},
|
|
7512
|
+
},
|
|
7513
|
+
},
|
|
7514
|
+
},
|
|
7515
|
+
},
|
|
7383
7516
|
},
|
|
7384
7517
|
error: {
|
|
7385
7518
|
type: "string",
|
|
@@ -9893,32 +10026,46 @@ export const salesforceSearchSalesforceRecordsDefinition = {
|
|
|
9893
10026
|
type: "boolean",
|
|
9894
10027
|
description: "Whether the records were successfully retrieved",
|
|
9895
10028
|
},
|
|
9896
|
-
|
|
10029
|
+
results: {
|
|
9897
10030
|
type: "array",
|
|
9898
10031
|
description: "The records that match the search",
|
|
9899
10032
|
items: {
|
|
9900
10033
|
type: "object",
|
|
9901
10034
|
description: "A record from Salesforce",
|
|
9902
10035
|
properties: {
|
|
9903
|
-
|
|
10036
|
+
name: {
|
|
10037
|
+
type: "string",
|
|
10038
|
+
description: "The name of the record",
|
|
10039
|
+
},
|
|
10040
|
+
url: {
|
|
9904
10041
|
type: "string",
|
|
9905
|
-
description: "The
|
|
10042
|
+
description: "The URL of the record",
|
|
9906
10043
|
},
|
|
9907
|
-
|
|
10044
|
+
contents: {
|
|
9908
10045
|
type: "object",
|
|
9909
|
-
description: "
|
|
10046
|
+
description: "The contents of the record",
|
|
9910
10047
|
properties: {
|
|
9911
|
-
|
|
10048
|
+
id: {
|
|
9912
10049
|
type: "string",
|
|
9913
|
-
description: "The Salesforce
|
|
10050
|
+
description: "The Salesforce record ID",
|
|
9914
10051
|
},
|
|
9915
|
-
|
|
9916
|
-
type: "
|
|
9917
|
-
description: "
|
|
10052
|
+
attributes: {
|
|
10053
|
+
type: "object",
|
|
10054
|
+
description: "Metadata about the Salesforce record",
|
|
10055
|
+
properties: {
|
|
10056
|
+
type: {
|
|
10057
|
+
type: "string",
|
|
10058
|
+
description: "The Salesforce object type",
|
|
10059
|
+
},
|
|
10060
|
+
url: {
|
|
10061
|
+
type: "string",
|
|
10062
|
+
description: "The Salesforce record URL",
|
|
10063
|
+
},
|
|
10064
|
+
},
|
|
10065
|
+
required: ["type", "url"],
|
|
10066
|
+
additionalProperties: true,
|
|
9918
10067
|
},
|
|
9919
10068
|
},
|
|
9920
|
-
required: ["type", "url"],
|
|
9921
|
-
additionalProperties: true,
|
|
9922
10069
|
},
|
|
9923
10070
|
},
|
|
9924
10071
|
},
|
|
@@ -9957,21 +10104,31 @@ export const salesforceGetSalesforceRecordsByQueryDefinition = {
|
|
|
9957
10104
|
type: "boolean",
|
|
9958
10105
|
description: "Whether the records were successfully retrieved",
|
|
9959
10106
|
},
|
|
9960
|
-
|
|
10107
|
+
results: {
|
|
9961
10108
|
type: "array",
|
|
9962
|
-
description: "
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
description: "A record from Salesforce",
|
|
9966
|
-
additionalProperties: {
|
|
10109
|
+
description: "Array of standardized results objects",
|
|
10110
|
+
properties: {
|
|
10111
|
+
name: {
|
|
9967
10112
|
type: "string",
|
|
10113
|
+
description: "The name of the record",
|
|
9968
10114
|
},
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
10115
|
+
url: {
|
|
10116
|
+
type: "string",
|
|
10117
|
+
description: "The url of the record",
|
|
10118
|
+
},
|
|
10119
|
+
contents: {
|
|
10120
|
+
type: "object",
|
|
10121
|
+
description: "A record from Salesforce",
|
|
10122
|
+
additionalProperties: {
|
|
10123
|
+
type: "string",
|
|
10124
|
+
},
|
|
10125
|
+
},
|
|
10126
|
+
},
|
|
10127
|
+
},
|
|
10128
|
+
error: {
|
|
10129
|
+
type: "string",
|
|
10130
|
+
description: "The error that occurred if the records were not successfully retrieved",
|
|
10131
|
+
},
|
|
9975
10132
|
},
|
|
9976
10133
|
},
|
|
9977
10134
|
name: "getSalesforceRecordsByQuery",
|
|
@@ -10507,51 +10664,72 @@ export const githubListPullRequestsDefinition = {
|
|
|
10507
10664
|
},
|
|
10508
10665
|
output: {
|
|
10509
10666
|
type: "object",
|
|
10510
|
-
required: ["
|
|
10667
|
+
required: ["success"],
|
|
10511
10668
|
properties: {
|
|
10512
|
-
|
|
10669
|
+
success: {
|
|
10670
|
+
type: "boolean",
|
|
10671
|
+
description: "Whether the operation was successful",
|
|
10672
|
+
},
|
|
10673
|
+
error: {
|
|
10674
|
+
type: "string",
|
|
10675
|
+
description: "The error that occurred if the operation was not successful",
|
|
10676
|
+
},
|
|
10677
|
+
results: {
|
|
10513
10678
|
type: "array",
|
|
10514
10679
|
description: "A list of pull requests in the repository",
|
|
10515
10680
|
items: {
|
|
10516
10681
|
type: "object",
|
|
10517
10682
|
properties: {
|
|
10518
|
-
|
|
10519
|
-
type: "number",
|
|
10520
|
-
description: "The number of the pull request",
|
|
10521
|
-
},
|
|
10522
|
-
title: {
|
|
10683
|
+
name: {
|
|
10523
10684
|
type: "string",
|
|
10524
10685
|
description: "The title of the pull request",
|
|
10525
10686
|
},
|
|
10526
|
-
state: {
|
|
10527
|
-
type: "string",
|
|
10528
|
-
description: "The state of the pull request (e.g., open, closed)",
|
|
10529
|
-
},
|
|
10530
10687
|
url: {
|
|
10531
10688
|
type: "string",
|
|
10532
10689
|
description: "The URL of the pull request",
|
|
10533
10690
|
},
|
|
10534
|
-
|
|
10535
|
-
type: "string",
|
|
10536
|
-
description: "The date and time when the pull request was created",
|
|
10537
|
-
},
|
|
10538
|
-
updatedAt: {
|
|
10539
|
-
type: "string",
|
|
10540
|
-
description: "The date and time when the pull request was last updated",
|
|
10541
|
-
},
|
|
10542
|
-
user: {
|
|
10691
|
+
contents: {
|
|
10543
10692
|
type: "object",
|
|
10544
10693
|
properties: {
|
|
10545
|
-
|
|
10694
|
+
number: {
|
|
10695
|
+
type: "number",
|
|
10696
|
+
description: "The number of the pull request",
|
|
10697
|
+
},
|
|
10698
|
+
title: {
|
|
10699
|
+
type: "string",
|
|
10700
|
+
description: "The title of the pull request",
|
|
10701
|
+
},
|
|
10702
|
+
state: {
|
|
10703
|
+
type: "string",
|
|
10704
|
+
description: "The state of the pull request (e.g., open, closed)",
|
|
10705
|
+
},
|
|
10706
|
+
url: {
|
|
10707
|
+
type: "string",
|
|
10708
|
+
description: "The URL of the pull request",
|
|
10709
|
+
},
|
|
10710
|
+
createdAt: {
|
|
10711
|
+
type: "string",
|
|
10712
|
+
description: "The date and time when the pull request was created",
|
|
10713
|
+
},
|
|
10714
|
+
updatedAt: {
|
|
10715
|
+
type: "string",
|
|
10716
|
+
description: "The date and time when the pull request was last updated",
|
|
10717
|
+
},
|
|
10718
|
+
user: {
|
|
10719
|
+
type: "object",
|
|
10720
|
+
properties: {
|
|
10721
|
+
login: {
|
|
10722
|
+
type: "string",
|
|
10723
|
+
description: "The username of the user who created the pull request",
|
|
10724
|
+
},
|
|
10725
|
+
},
|
|
10726
|
+
},
|
|
10727
|
+
description: {
|
|
10546
10728
|
type: "string",
|
|
10547
|
-
description: "The
|
|
10729
|
+
description: "The description of the pull request",
|
|
10548
10730
|
},
|
|
10549
10731
|
},
|
|
10550
10732
|
},
|
|
10551
|
-
description: {
|
|
10552
|
-
type: "string",
|
|
10553
|
-
description: "The description of the pull request",
|
|
10554
|
-
},
|
|
10555
10733
|
},
|
|
10556
10734
|
},
|
|
10557
10735
|
},
|
|
@@ -10870,21 +11048,43 @@ export const githubGetFileContentDefinition = {
|
|
|
10870
11048
|
type: "string",
|
|
10871
11049
|
description: "The error that occurred if the operation was not successful",
|
|
10872
11050
|
},
|
|
10873
|
-
|
|
10874
|
-
type: "
|
|
10875
|
-
description: "
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
11051
|
+
results: {
|
|
11052
|
+
type: "array",
|
|
11053
|
+
description: "A list of Github files",
|
|
11054
|
+
items: {
|
|
11055
|
+
type: "object",
|
|
11056
|
+
properties: {
|
|
11057
|
+
name: {
|
|
11058
|
+
type: "string",
|
|
11059
|
+
description: "The name of the file",
|
|
11060
|
+
},
|
|
11061
|
+
url: {
|
|
11062
|
+
type: "string",
|
|
11063
|
+
description: "The URL of the file in the Github UI",
|
|
11064
|
+
},
|
|
11065
|
+
contents: {
|
|
11066
|
+
type: "object",
|
|
11067
|
+
properties: {
|
|
11068
|
+
content: {
|
|
11069
|
+
type: "string",
|
|
11070
|
+
description: "The decoded file content as a string",
|
|
11071
|
+
},
|
|
11072
|
+
size: {
|
|
11073
|
+
type: "number",
|
|
11074
|
+
description: "The size of the file in bytes",
|
|
11075
|
+
},
|
|
11076
|
+
name: {
|
|
11077
|
+
type: "string",
|
|
11078
|
+
description: "The name of the file",
|
|
11079
|
+
},
|
|
11080
|
+
htmlUrl: {
|
|
11081
|
+
type: "string",
|
|
11082
|
+
description: "The URL of the file in the Github UI",
|
|
11083
|
+
},
|
|
11084
|
+
},
|
|
11085
|
+
},
|
|
11086
|
+
},
|
|
11087
|
+
},
|
|
10888
11088
|
},
|
|
10889
11089
|
},
|
|
10890
11090
|
},
|
|
@@ -10924,33 +11124,40 @@ export const githubListDirectoryDefinition = {
|
|
|
10924
11124
|
type: "string",
|
|
10925
11125
|
description: "Error message if the operation failed",
|
|
10926
11126
|
},
|
|
10927
|
-
|
|
11127
|
+
results: {
|
|
10928
11128
|
type: "array",
|
|
10929
11129
|
description: "Array of directory contents",
|
|
10930
11130
|
items: {
|
|
10931
11131
|
type: "object",
|
|
10932
|
-
required: ["name", "
|
|
11132
|
+
required: ["name", "url", "contents"],
|
|
10933
11133
|
properties: {
|
|
10934
11134
|
name: {
|
|
10935
11135
|
type: "string",
|
|
10936
11136
|
description: "The name of the file",
|
|
10937
11137
|
},
|
|
10938
|
-
|
|
10939
|
-
type: "string",
|
|
10940
|
-
description: "The path of the file",
|
|
10941
|
-
},
|
|
10942
|
-
type: {
|
|
10943
|
-
type: "string",
|
|
10944
|
-
description: "The type of the file",
|
|
10945
|
-
},
|
|
10946
|
-
size: {
|
|
10947
|
-
type: "number",
|
|
10948
|
-
description: "The size of the file in bytes",
|
|
10949
|
-
},
|
|
10950
|
-
htmlUrl: {
|
|
11138
|
+
url: {
|
|
10951
11139
|
type: "string",
|
|
10952
11140
|
description: "The URL of the file in the Github UI",
|
|
10953
11141
|
},
|
|
11142
|
+
contents: {
|
|
11143
|
+
type: "object",
|
|
11144
|
+
required: ["path", "type", "size"],
|
|
11145
|
+
description: "The contents of the file",
|
|
11146
|
+
properties: {
|
|
11147
|
+
path: {
|
|
11148
|
+
type: "string",
|
|
11149
|
+
description: "The path of the file",
|
|
11150
|
+
},
|
|
11151
|
+
type: {
|
|
11152
|
+
type: "string",
|
|
11153
|
+
description: "The type of the file",
|
|
11154
|
+
},
|
|
11155
|
+
size: {
|
|
11156
|
+
type: "number",
|
|
11157
|
+
description: "The size of the file in bytes",
|
|
11158
|
+
},
|
|
11159
|
+
},
|
|
11160
|
+
},
|
|
10954
11161
|
},
|
|
10955
11162
|
},
|
|
10956
11163
|
},
|
|
@@ -11217,209 +11424,235 @@ export const githubSearchOrganizationDefinition = {
|
|
|
11217
11424
|
},
|
|
11218
11425
|
output: {
|
|
11219
11426
|
type: "object",
|
|
11220
|
-
required: ["
|
|
11427
|
+
required: ["success"],
|
|
11221
11428
|
properties: {
|
|
11222
|
-
|
|
11429
|
+
success: {
|
|
11430
|
+
type: "boolean",
|
|
11431
|
+
description: "Whether the operation was successful",
|
|
11432
|
+
},
|
|
11433
|
+
error: {
|
|
11434
|
+
type: "string",
|
|
11435
|
+
description: "Error message if the operation failed",
|
|
11436
|
+
},
|
|
11437
|
+
results: {
|
|
11223
11438
|
type: "array",
|
|
11224
|
-
description: "
|
|
11439
|
+
description: "Array of search results",
|
|
11225
11440
|
items: {
|
|
11226
11441
|
type: "object",
|
|
11227
|
-
required: ["name", "
|
|
11442
|
+
required: ["name", "url", "type", "content"],
|
|
11228
11443
|
properties: {
|
|
11229
11444
|
name: {
|
|
11230
11445
|
type: "string",
|
|
11231
|
-
description: "The name of the file
|
|
11232
|
-
},
|
|
11233
|
-
path: {
|
|
11234
|
-
type: "string",
|
|
11235
|
-
description: "The path of the file that had a match",
|
|
11236
|
-
},
|
|
11237
|
-
sha: {
|
|
11238
|
-
type: "string",
|
|
11239
|
-
description: "The SHA of the commit that had a match",
|
|
11446
|
+
description: "The name of the result (file name, commit SHA, or issue/PR title)",
|
|
11240
11447
|
},
|
|
11241
11448
|
url: {
|
|
11242
11449
|
type: "string",
|
|
11243
|
-
description: "The URL of the
|
|
11244
|
-
},
|
|
11245
|
-
score: {
|
|
11246
|
-
type: "number",
|
|
11247
|
-
description: "The similarity score of the match",
|
|
11248
|
-
},
|
|
11249
|
-
textMatches: {
|
|
11250
|
-
type: "array",
|
|
11251
|
-
description: "A list of text matches that match the query",
|
|
11252
|
-
items: {
|
|
11253
|
-
type: "object",
|
|
11254
|
-
required: ["matches"],
|
|
11255
|
-
properties: {
|
|
11256
|
-
object_url: {
|
|
11257
|
-
type: "string",
|
|
11258
|
-
description: "The URL of the object that had a match",
|
|
11259
|
-
},
|
|
11260
|
-
object_type: {
|
|
11261
|
-
type: "string",
|
|
11262
|
-
description: "The type of the object that had a match",
|
|
11263
|
-
},
|
|
11264
|
-
fragment: {
|
|
11265
|
-
type: "string",
|
|
11266
|
-
description: "The fragment of the text that had a match",
|
|
11267
|
-
},
|
|
11268
|
-
matches: {
|
|
11269
|
-
type: "array",
|
|
11270
|
-
description: "A list of matches that match the query",
|
|
11271
|
-
items: {
|
|
11272
|
-
type: "object",
|
|
11273
|
-
properties: {
|
|
11274
|
-
text: {
|
|
11275
|
-
type: "string",
|
|
11276
|
-
description: "The text that had a match",
|
|
11277
|
-
},
|
|
11278
|
-
indices: {
|
|
11279
|
-
type: "array",
|
|
11280
|
-
description: "The indices of the text that had a match",
|
|
11281
|
-
items: {
|
|
11282
|
-
type: "number",
|
|
11283
|
-
},
|
|
11284
|
-
},
|
|
11285
|
-
},
|
|
11286
|
-
},
|
|
11287
|
-
},
|
|
11288
|
-
},
|
|
11289
|
-
},
|
|
11290
|
-
},
|
|
11291
|
-
},
|
|
11292
|
-
},
|
|
11293
|
-
},
|
|
11294
|
-
commits: {
|
|
11295
|
-
type: "array",
|
|
11296
|
-
description: "A list of commits that match the query",
|
|
11297
|
-
items: {
|
|
11298
|
-
type: "object",
|
|
11299
|
-
required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
|
|
11300
|
-
properties: {
|
|
11301
|
-
sha: {
|
|
11302
|
-
type: "string",
|
|
11303
|
-
description: "The SHA of the commit that had a match",
|
|
11450
|
+
description: "The URL of the result",
|
|
11304
11451
|
},
|
|
11305
|
-
|
|
11452
|
+
type: {
|
|
11306
11453
|
type: "string",
|
|
11307
|
-
|
|
11454
|
+
enum: ["code", "commit", "issueOrPullRequest"],
|
|
11455
|
+
description: "The type of the result",
|
|
11308
11456
|
},
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
properties: {
|
|
11313
|
-
author: {
|
|
11457
|
+
content: {
|
|
11458
|
+
oneOf: [
|
|
11459
|
+
{
|
|
11314
11460
|
type: "object",
|
|
11315
|
-
|
|
11461
|
+
description: "Code result content",
|
|
11462
|
+
required: ["name", "path", "sha", "url", "score", "textMatches"],
|
|
11316
11463
|
properties: {
|
|
11317
11464
|
name: {
|
|
11318
11465
|
type: "string",
|
|
11319
|
-
description: "The name of the
|
|
11466
|
+
description: "The name of the file that had a match",
|
|
11320
11467
|
},
|
|
11321
|
-
|
|
11468
|
+
path: {
|
|
11322
11469
|
type: "string",
|
|
11323
|
-
description: "The
|
|
11470
|
+
description: "The path of the file that had a match",
|
|
11324
11471
|
},
|
|
11325
|
-
|
|
11472
|
+
sha: {
|
|
11326
11473
|
type: "string",
|
|
11327
|
-
description: "The
|
|
11474
|
+
description: "The SHA of the commit that had a match",
|
|
11328
11475
|
},
|
|
11329
|
-
|
|
11330
|
-
},
|
|
11331
|
-
message: {
|
|
11332
|
-
type: "string",
|
|
11333
|
-
description: "The message of the commit",
|
|
11334
|
-
},
|
|
11335
|
-
},
|
|
11336
|
-
score: {
|
|
11337
|
-
type: "number",
|
|
11338
|
-
description: "The score of the commit",
|
|
11339
|
-
},
|
|
11340
|
-
files: {
|
|
11341
|
-
type: "array",
|
|
11342
|
-
description: "A list of files that match the query",
|
|
11343
|
-
items: {
|
|
11344
|
-
type: "object",
|
|
11345
|
-
required: ["filename", "status", "patch"],
|
|
11346
|
-
properties: {
|
|
11347
|
-
filename: {
|
|
11476
|
+
url: {
|
|
11348
11477
|
type: "string",
|
|
11349
|
-
description: "The
|
|
11478
|
+
description: "The URL of the file that had a match",
|
|
11350
11479
|
},
|
|
11351
|
-
|
|
11352
|
-
type: "
|
|
11353
|
-
description: "The
|
|
11480
|
+
score: {
|
|
11481
|
+
type: "number",
|
|
11482
|
+
description: "The similarity score of the match",
|
|
11354
11483
|
},
|
|
11355
|
-
|
|
11356
|
-
type: "
|
|
11357
|
-
description: "
|
|
11484
|
+
textMatches: {
|
|
11485
|
+
type: "array",
|
|
11486
|
+
description: "A list of text matches that match the query",
|
|
11487
|
+
items: {
|
|
11488
|
+
type: "object",
|
|
11489
|
+
required: ["matches"],
|
|
11490
|
+
properties: {
|
|
11491
|
+
object_url: {
|
|
11492
|
+
type: "string",
|
|
11493
|
+
description: "The URL of the object that had a match",
|
|
11494
|
+
},
|
|
11495
|
+
object_type: {
|
|
11496
|
+
type: "string",
|
|
11497
|
+
description: "The type of the object that had a match",
|
|
11498
|
+
},
|
|
11499
|
+
fragment: {
|
|
11500
|
+
type: "string",
|
|
11501
|
+
description: "The fragment of the text that had a match",
|
|
11502
|
+
},
|
|
11503
|
+
matches: {
|
|
11504
|
+
type: "array",
|
|
11505
|
+
description: "A list of matches that match the query",
|
|
11506
|
+
items: {
|
|
11507
|
+
type: "object",
|
|
11508
|
+
properties: {
|
|
11509
|
+
text: {
|
|
11510
|
+
type: "string",
|
|
11511
|
+
description: "The text that had a match",
|
|
11512
|
+
},
|
|
11513
|
+
indices: {
|
|
11514
|
+
type: "array",
|
|
11515
|
+
description: "The indices of the text that had a match",
|
|
11516
|
+
items: {
|
|
11517
|
+
type: "number",
|
|
11518
|
+
},
|
|
11519
|
+
},
|
|
11520
|
+
},
|
|
11521
|
+
},
|
|
11522
|
+
},
|
|
11523
|
+
},
|
|
11524
|
+
},
|
|
11358
11525
|
},
|
|
11359
11526
|
},
|
|
11360
11527
|
},
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11395
|
-
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11528
|
+
{
|
|
11529
|
+
type: "object",
|
|
11530
|
+
description: "Commit result content",
|
|
11531
|
+
required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
|
|
11532
|
+
properties: {
|
|
11533
|
+
sha: {
|
|
11534
|
+
type: "string",
|
|
11535
|
+
description: "The SHA of the commit that had a match",
|
|
11536
|
+
},
|
|
11537
|
+
url: {
|
|
11538
|
+
type: "string",
|
|
11539
|
+
description: "The URL of the commit that had a match",
|
|
11540
|
+
},
|
|
11541
|
+
commit: {
|
|
11542
|
+
type: "object",
|
|
11543
|
+
required: ["message", "author", "score", "files"],
|
|
11544
|
+
properties: {
|
|
11545
|
+
author: {
|
|
11546
|
+
type: "object",
|
|
11547
|
+
required: ["name", "email", "date"],
|
|
11548
|
+
properties: {
|
|
11549
|
+
name: {
|
|
11550
|
+
type: "string",
|
|
11551
|
+
description: "The name of the author",
|
|
11552
|
+
},
|
|
11553
|
+
email: {
|
|
11554
|
+
type: "string",
|
|
11555
|
+
description: "The email of the author",
|
|
11556
|
+
},
|
|
11557
|
+
date: {
|
|
11558
|
+
type: "string",
|
|
11559
|
+
description: "The date of the commit",
|
|
11560
|
+
},
|
|
11561
|
+
},
|
|
11562
|
+
},
|
|
11563
|
+
message: {
|
|
11564
|
+
type: "string",
|
|
11565
|
+
description: "The message of the commit",
|
|
11566
|
+
},
|
|
11567
|
+
},
|
|
11568
|
+
score: {
|
|
11569
|
+
type: "number",
|
|
11570
|
+
description: "The score of the commit",
|
|
11571
|
+
},
|
|
11572
|
+
files: {
|
|
11573
|
+
type: "array",
|
|
11574
|
+
description: "A list of files that match the query",
|
|
11575
|
+
items: {
|
|
11576
|
+
type: "object",
|
|
11577
|
+
required: ["filename", "status", "patch"],
|
|
11578
|
+
properties: {
|
|
11579
|
+
filename: {
|
|
11580
|
+
type: "string",
|
|
11581
|
+
description: "The filename of the file",
|
|
11582
|
+
},
|
|
11583
|
+
status: {
|
|
11584
|
+
type: "string",
|
|
11585
|
+
description: "The status of the file",
|
|
11586
|
+
},
|
|
11587
|
+
patch: {
|
|
11588
|
+
type: "string",
|
|
11589
|
+
description: "The patch of the file",
|
|
11590
|
+
},
|
|
11591
|
+
},
|
|
11592
|
+
},
|
|
11593
|
+
},
|
|
11594
|
+
},
|
|
11416
11595
|
},
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11596
|
+
},
|
|
11597
|
+
{
|
|
11598
|
+
type: "object",
|
|
11599
|
+
description: "Issue or pull request result content",
|
|
11600
|
+
required: ["title", "url", "state", "createdAt", "updatedAt", "user"],
|
|
11601
|
+
properties: {
|
|
11602
|
+
number: {
|
|
11603
|
+
type: "number",
|
|
11604
|
+
description: "The number of the issue or pull request",
|
|
11605
|
+
},
|
|
11606
|
+
title: {
|
|
11607
|
+
type: "string",
|
|
11608
|
+
description: "The title of the issue or pull request",
|
|
11609
|
+
},
|
|
11610
|
+
html_url: {
|
|
11611
|
+
type: "string",
|
|
11612
|
+
description: "The URL of the issue or pull request",
|
|
11613
|
+
},
|
|
11614
|
+
state: {
|
|
11615
|
+
type: "string",
|
|
11616
|
+
description: "The state of the issue or pull request",
|
|
11617
|
+
enum: ["open", "closed"],
|
|
11618
|
+
},
|
|
11619
|
+
isPullRequest: {
|
|
11620
|
+
type: "boolean",
|
|
11621
|
+
description: "Whether the issue or pull request is a pull request",
|
|
11622
|
+
},
|
|
11623
|
+
body: {
|
|
11624
|
+
type: "string",
|
|
11625
|
+
description: "The body of the issue or pull request",
|
|
11626
|
+
},
|
|
11627
|
+
score: {
|
|
11628
|
+
type: "number",
|
|
11629
|
+
description: "The score of the issue or pull request",
|
|
11630
|
+
},
|
|
11631
|
+
files: {
|
|
11632
|
+
type: "array",
|
|
11633
|
+
description: "A list of files that match the query",
|
|
11634
|
+
items: {
|
|
11635
|
+
type: "object",
|
|
11636
|
+
required: ["filename", "status"],
|
|
11637
|
+
properties: {
|
|
11638
|
+
filename: {
|
|
11639
|
+
type: "string",
|
|
11640
|
+
description: "The filename of the file",
|
|
11641
|
+
},
|
|
11642
|
+
status: {
|
|
11643
|
+
type: "string",
|
|
11644
|
+
description: "The status of the file",
|
|
11645
|
+
},
|
|
11646
|
+
patch: {
|
|
11647
|
+
type: "string",
|
|
11648
|
+
description: "The patch of the file",
|
|
11649
|
+
},
|
|
11650
|
+
},
|
|
11651
|
+
},
|
|
11652
|
+
},
|
|
11420
11653
|
},
|
|
11421
11654
|
},
|
|
11422
|
-
|
|
11655
|
+
],
|
|
11423
11656
|
},
|
|
11424
11657
|
},
|
|
11425
11658
|
},
|
|
@@ -12081,233 +12314,259 @@ export const gitlabSearchGroupDefinition = {
|
|
|
12081
12314
|
},
|
|
12082
12315
|
output: {
|
|
12083
12316
|
type: "object",
|
|
12084
|
-
required: ["
|
|
12317
|
+
required: ["success"],
|
|
12085
12318
|
properties: {
|
|
12086
|
-
|
|
12087
|
-
type: "
|
|
12088
|
-
description: "
|
|
12089
|
-
items: {
|
|
12090
|
-
type: "object",
|
|
12091
|
-
required: ["metadata", "diffs"],
|
|
12092
|
-
properties: {
|
|
12093
|
-
metadata: {
|
|
12094
|
-
type: "object",
|
|
12095
|
-
required: ["id", "iid", "project_id", "title", "web_url"],
|
|
12096
|
-
description: "The metadata of the merge request",
|
|
12097
|
-
properties: {
|
|
12098
|
-
id: {
|
|
12099
|
-
type: "number",
|
|
12100
|
-
description: "The ID of the merge request",
|
|
12101
|
-
},
|
|
12102
|
-
iid: {
|
|
12103
|
-
type: "number",
|
|
12104
|
-
description: "The internal ID of the merge request",
|
|
12105
|
-
},
|
|
12106
|
-
project_id: {
|
|
12107
|
-
type: "number",
|
|
12108
|
-
description: "The ID of the project the merge request belongs to",
|
|
12109
|
-
},
|
|
12110
|
-
title: {
|
|
12111
|
-
type: "string",
|
|
12112
|
-
description: "The title of the merge request",
|
|
12113
|
-
},
|
|
12114
|
-
web_url: {
|
|
12115
|
-
type: "string",
|
|
12116
|
-
description: "The URL of the merge request",
|
|
12117
|
-
},
|
|
12118
|
-
description: {
|
|
12119
|
-
type: "string",
|
|
12120
|
-
description: "The description of the merge request",
|
|
12121
|
-
},
|
|
12122
|
-
author: {
|
|
12123
|
-
type: "object",
|
|
12124
|
-
description: "The author of the merge request",
|
|
12125
|
-
properties: {
|
|
12126
|
-
name: {
|
|
12127
|
-
type: "string",
|
|
12128
|
-
description: "The name of the author",
|
|
12129
|
-
},
|
|
12130
|
-
},
|
|
12131
|
-
},
|
|
12132
|
-
merged_at: {
|
|
12133
|
-
type: "string",
|
|
12134
|
-
description: "The date and time the merge request was merged",
|
|
12135
|
-
},
|
|
12136
|
-
},
|
|
12137
|
-
},
|
|
12138
|
-
diffs: {
|
|
12139
|
-
type: "array",
|
|
12140
|
-
description: "A list of diffs that match the query",
|
|
12141
|
-
items: {
|
|
12142
|
-
type: "object",
|
|
12143
|
-
required: ["old_path", "new_path", "diff", "new_file", "renamed_file", "deleted_file"],
|
|
12144
|
-
properties: {
|
|
12145
|
-
old_path: {
|
|
12146
|
-
type: "string",
|
|
12147
|
-
description: "The old path of the diff",
|
|
12148
|
-
},
|
|
12149
|
-
new_path: {
|
|
12150
|
-
type: "string",
|
|
12151
|
-
description: "The new path of the diff",
|
|
12152
|
-
},
|
|
12153
|
-
diff: {
|
|
12154
|
-
type: "string",
|
|
12155
|
-
description: "The contents of the diff",
|
|
12156
|
-
},
|
|
12157
|
-
new_file: {
|
|
12158
|
-
type: "boolean",
|
|
12159
|
-
description: "Whether the diff is a new file",
|
|
12160
|
-
},
|
|
12161
|
-
renamed_file: {
|
|
12162
|
-
type: "boolean",
|
|
12163
|
-
description: "Whether the diff is a renamed file",
|
|
12164
|
-
},
|
|
12165
|
-
deleted_file: {
|
|
12166
|
-
type: "boolean",
|
|
12167
|
-
description: "Whether the diff is a deleted file",
|
|
12168
|
-
},
|
|
12169
|
-
too_large: {
|
|
12170
|
-
type: "boolean",
|
|
12171
|
-
description: "Whether the diff is too large",
|
|
12172
|
-
},
|
|
12173
|
-
},
|
|
12174
|
-
},
|
|
12175
|
-
},
|
|
12176
|
-
},
|
|
12177
|
-
},
|
|
12319
|
+
success: {
|
|
12320
|
+
type: "boolean",
|
|
12321
|
+
description: "Whether the search operation was successful",
|
|
12178
12322
|
},
|
|
12179
|
-
|
|
12180
|
-
type: "
|
|
12181
|
-
description: "
|
|
12182
|
-
items: {
|
|
12183
|
-
type: "object",
|
|
12184
|
-
required: ["metadata", "diffs"],
|
|
12185
|
-
properties: {
|
|
12186
|
-
metadata: {
|
|
12187
|
-
type: "object",
|
|
12188
|
-
required: ["path", "basename", "data", "project_id", "ref", "startline", "filename", "web_url"],
|
|
12189
|
-
properties: {
|
|
12190
|
-
path: {
|
|
12191
|
-
type: "string",
|
|
12192
|
-
description: "The path of the blob",
|
|
12193
|
-
},
|
|
12194
|
-
basename: {
|
|
12195
|
-
type: "string",
|
|
12196
|
-
description: "The basename of the blob",
|
|
12197
|
-
},
|
|
12198
|
-
data: {
|
|
12199
|
-
type: "string",
|
|
12200
|
-
description: "The data of the blob",
|
|
12201
|
-
},
|
|
12202
|
-
project_id: {
|
|
12203
|
-
type: "number",
|
|
12204
|
-
description: "The ID of the project the blob belongs to",
|
|
12205
|
-
},
|
|
12206
|
-
ref: {
|
|
12207
|
-
type: "string",
|
|
12208
|
-
description: "The ref of the blob",
|
|
12209
|
-
},
|
|
12210
|
-
startline: {
|
|
12211
|
-
type: "number",
|
|
12212
|
-
description: "The start line of the blob",
|
|
12213
|
-
},
|
|
12214
|
-
filename: {
|
|
12215
|
-
type: "string",
|
|
12216
|
-
description: "The filename of the blob",
|
|
12217
|
-
},
|
|
12218
|
-
web_url: {
|
|
12219
|
-
type: "string",
|
|
12220
|
-
description: "The URL of the blob",
|
|
12221
|
-
},
|
|
12222
|
-
},
|
|
12223
|
-
},
|
|
12224
|
-
matchedMergeRequests: {
|
|
12225
|
-
type: "array",
|
|
12226
|
-
description: "A list of merge requests that match the blob",
|
|
12227
|
-
items: {
|
|
12228
|
-
type: "object",
|
|
12229
|
-
required: ["title", "web_url"],
|
|
12230
|
-
properties: {
|
|
12231
|
-
title: {
|
|
12232
|
-
type: "string",
|
|
12233
|
-
description: "The title of the merge request",
|
|
12234
|
-
},
|
|
12235
|
-
web_url: {
|
|
12236
|
-
type: "string",
|
|
12237
|
-
description: "The URL of the merge request",
|
|
12238
|
-
},
|
|
12239
|
-
author: {
|
|
12240
|
-
type: "object",
|
|
12241
|
-
description: "The author of the merge request",
|
|
12242
|
-
},
|
|
12243
|
-
merged_at: {
|
|
12244
|
-
type: "string",
|
|
12245
|
-
description: "The date and time the merge request was merged",
|
|
12246
|
-
},
|
|
12247
|
-
},
|
|
12248
|
-
},
|
|
12249
|
-
},
|
|
12250
|
-
},
|
|
12251
|
-
},
|
|
12323
|
+
error: {
|
|
12324
|
+
type: "string",
|
|
12325
|
+
description: "Error message if the search operation failed",
|
|
12252
12326
|
},
|
|
12253
|
-
|
|
12327
|
+
results: {
|
|
12254
12328
|
type: "array",
|
|
12255
|
-
description: "A list of
|
|
12329
|
+
description: "A list of search results that match the query",
|
|
12256
12330
|
items: {
|
|
12257
12331
|
type: "object",
|
|
12258
|
-
required: ["
|
|
12332
|
+
required: ["name", "url", "type", "contents"],
|
|
12259
12333
|
properties: {
|
|
12260
|
-
|
|
12261
|
-
type: "string",
|
|
12262
|
-
description: "The commit SHA",
|
|
12263
|
-
},
|
|
12264
|
-
web_url: {
|
|
12334
|
+
name: {
|
|
12265
12335
|
type: "string",
|
|
12266
|
-
description: "The
|
|
12336
|
+
description: "The name/title of the search result",
|
|
12267
12337
|
},
|
|
12268
|
-
|
|
12338
|
+
url: {
|
|
12269
12339
|
type: "string",
|
|
12270
|
-
description: "The
|
|
12340
|
+
description: "The URL to view the result in GitLab",
|
|
12271
12341
|
},
|
|
12272
|
-
|
|
12273
|
-
type: "object",
|
|
12274
|
-
required: ["name", "email"],
|
|
12275
|
-
properties: {
|
|
12276
|
-
name: {
|
|
12277
|
-
type: "string",
|
|
12278
|
-
description: "The name of the commit author",
|
|
12279
|
-
},
|
|
12280
|
-
email: {
|
|
12281
|
-
type: "string",
|
|
12282
|
-
description: "The email of the commit author",
|
|
12283
|
-
},
|
|
12284
|
-
},
|
|
12285
|
-
},
|
|
12286
|
-
created_at: {
|
|
12342
|
+
type: {
|
|
12287
12343
|
type: "string",
|
|
12288
|
-
|
|
12344
|
+
enum: ["mergeRequest", "blob", "commit"],
|
|
12345
|
+
description: "The type of search result",
|
|
12289
12346
|
},
|
|
12290
|
-
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12347
|
+
contents: {
|
|
12348
|
+
oneOf: [
|
|
12349
|
+
{
|
|
12350
|
+
type: "object",
|
|
12351
|
+
description: "Merge request contents",
|
|
12352
|
+
required: ["metadata", "diffs"],
|
|
12353
|
+
properties: {
|
|
12354
|
+
metadata: {
|
|
12355
|
+
type: "object",
|
|
12356
|
+
required: ["id", "iid", "project_id", "title", "web_url"],
|
|
12357
|
+
description: "The metadata of the merge request",
|
|
12358
|
+
properties: {
|
|
12359
|
+
id: {
|
|
12360
|
+
type: "number",
|
|
12361
|
+
description: "The ID of the merge request",
|
|
12362
|
+
},
|
|
12363
|
+
iid: {
|
|
12364
|
+
type: "number",
|
|
12365
|
+
description: "The internal ID of the merge request",
|
|
12366
|
+
},
|
|
12367
|
+
project_id: {
|
|
12368
|
+
type: "number",
|
|
12369
|
+
description: "The ID of the project the merge request belongs to",
|
|
12370
|
+
},
|
|
12371
|
+
title: {
|
|
12372
|
+
type: "string",
|
|
12373
|
+
description: "The title of the merge request",
|
|
12374
|
+
},
|
|
12375
|
+
web_url: {
|
|
12376
|
+
type: "string",
|
|
12377
|
+
description: "The URL of the merge request",
|
|
12378
|
+
},
|
|
12379
|
+
description: {
|
|
12380
|
+
type: "string",
|
|
12381
|
+
description: "The description of the merge request",
|
|
12382
|
+
},
|
|
12383
|
+
author: {
|
|
12384
|
+
type: "object",
|
|
12385
|
+
description: "The author of the merge request",
|
|
12386
|
+
properties: {
|
|
12387
|
+
name: {
|
|
12388
|
+
type: "string",
|
|
12389
|
+
description: "The name of the author",
|
|
12390
|
+
},
|
|
12391
|
+
},
|
|
12392
|
+
},
|
|
12393
|
+
merged_at: {
|
|
12394
|
+
type: "string",
|
|
12395
|
+
description: "The date and time the merge request was merged",
|
|
12396
|
+
},
|
|
12397
|
+
},
|
|
12398
|
+
},
|
|
12399
|
+
diffs: {
|
|
12400
|
+
type: "array",
|
|
12401
|
+
description: "A list of diffs that match the query",
|
|
12402
|
+
items: {
|
|
12403
|
+
type: "object",
|
|
12404
|
+
required: ["old_path", "new_path", "diff", "new_file", "renamed_file", "deleted_file"],
|
|
12405
|
+
properties: {
|
|
12406
|
+
old_path: {
|
|
12407
|
+
type: "string",
|
|
12408
|
+
description: "The old path of the diff",
|
|
12409
|
+
},
|
|
12410
|
+
new_path: {
|
|
12411
|
+
type: "string",
|
|
12412
|
+
description: "The new path of the diff",
|
|
12413
|
+
},
|
|
12414
|
+
diff: {
|
|
12415
|
+
type: "string",
|
|
12416
|
+
description: "The contents of the diff",
|
|
12417
|
+
},
|
|
12418
|
+
new_file: {
|
|
12419
|
+
type: "boolean",
|
|
12420
|
+
description: "Whether the diff is a new file",
|
|
12421
|
+
},
|
|
12422
|
+
renamed_file: {
|
|
12423
|
+
type: "boolean",
|
|
12424
|
+
description: "Whether the diff is a renamed file",
|
|
12425
|
+
},
|
|
12426
|
+
deleted_file: {
|
|
12427
|
+
type: "boolean",
|
|
12428
|
+
description: "Whether the diff is a deleted file",
|
|
12429
|
+
},
|
|
12430
|
+
too_large: {
|
|
12431
|
+
type: "boolean",
|
|
12432
|
+
description: "Whether the diff is too large",
|
|
12433
|
+
},
|
|
12434
|
+
},
|
|
12435
|
+
},
|
|
12436
|
+
},
|
|
12300
12437
|
},
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12438
|
+
},
|
|
12439
|
+
{
|
|
12440
|
+
type: "object",
|
|
12441
|
+
description: "Blob contents",
|
|
12442
|
+
required: ["metadata", "matchedMergeRequests"],
|
|
12443
|
+
properties: {
|
|
12444
|
+
metadata: {
|
|
12445
|
+
type: "object",
|
|
12446
|
+
required: ["path", "basename", "data", "project_id", "ref", "startline", "filename", "web_url"],
|
|
12447
|
+
properties: {
|
|
12448
|
+
path: {
|
|
12449
|
+
type: "string",
|
|
12450
|
+
description: "The path of the blob",
|
|
12451
|
+
},
|
|
12452
|
+
basename: {
|
|
12453
|
+
type: "string",
|
|
12454
|
+
description: "The basename of the blob",
|
|
12455
|
+
},
|
|
12456
|
+
data: {
|
|
12457
|
+
type: "string",
|
|
12458
|
+
description: "The data of the blob",
|
|
12459
|
+
},
|
|
12460
|
+
project_id: {
|
|
12461
|
+
type: "number",
|
|
12462
|
+
description: "The ID of the project the blob belongs to",
|
|
12463
|
+
},
|
|
12464
|
+
ref: {
|
|
12465
|
+
type: "string",
|
|
12466
|
+
description: "The ref of the blob",
|
|
12467
|
+
},
|
|
12468
|
+
startline: {
|
|
12469
|
+
type: "number",
|
|
12470
|
+
description: "The start line of the blob",
|
|
12471
|
+
},
|
|
12472
|
+
filename: {
|
|
12473
|
+
type: "string",
|
|
12474
|
+
description: "The filename of the blob",
|
|
12475
|
+
},
|
|
12476
|
+
web_url: {
|
|
12477
|
+
type: "string",
|
|
12478
|
+
description: "The URL of the blob",
|
|
12479
|
+
},
|
|
12480
|
+
},
|
|
12481
|
+
},
|
|
12482
|
+
matchedMergeRequests: {
|
|
12483
|
+
type: "array",
|
|
12484
|
+
description: "A list of merge requests that match the blob",
|
|
12485
|
+
items: {
|
|
12486
|
+
type: "object",
|
|
12487
|
+
required: ["title", "web_url"],
|
|
12488
|
+
properties: {
|
|
12489
|
+
title: {
|
|
12490
|
+
type: "string",
|
|
12491
|
+
description: "The title of the merge request",
|
|
12492
|
+
},
|
|
12493
|
+
web_url: {
|
|
12494
|
+
type: "string",
|
|
12495
|
+
description: "The URL of the merge request",
|
|
12496
|
+
},
|
|
12497
|
+
author: {
|
|
12498
|
+
type: "object",
|
|
12499
|
+
description: "The author of the merge request",
|
|
12500
|
+
},
|
|
12501
|
+
merged_at: {
|
|
12502
|
+
type: "string",
|
|
12503
|
+
description: "The date and time the merge request was merged",
|
|
12504
|
+
},
|
|
12505
|
+
},
|
|
12506
|
+
},
|
|
12507
|
+
},
|
|
12304
12508
|
},
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12509
|
+
},
|
|
12510
|
+
{
|
|
12511
|
+
type: "object",
|
|
12512
|
+
description: "Commit contents",
|
|
12513
|
+
required: ["sha", "web_url", "message", "author", "created_at", "files"],
|
|
12514
|
+
properties: {
|
|
12515
|
+
sha: {
|
|
12516
|
+
type: "string",
|
|
12517
|
+
description: "The commit SHA",
|
|
12518
|
+
},
|
|
12519
|
+
web_url: {
|
|
12520
|
+
type: "string",
|
|
12521
|
+
description: "The URL to view the commit in GitLab",
|
|
12522
|
+
},
|
|
12523
|
+
message: {
|
|
12524
|
+
type: "string",
|
|
12525
|
+
description: "The full commit message",
|
|
12526
|
+
},
|
|
12527
|
+
author: {
|
|
12528
|
+
type: "object",
|
|
12529
|
+
required: ["name", "email"],
|
|
12530
|
+
properties: {
|
|
12531
|
+
name: {
|
|
12532
|
+
type: "string",
|
|
12533
|
+
description: "The name of the commit author",
|
|
12534
|
+
},
|
|
12535
|
+
email: {
|
|
12536
|
+
type: "string",
|
|
12537
|
+
description: "The email of the commit author",
|
|
12538
|
+
},
|
|
12539
|
+
},
|
|
12540
|
+
},
|
|
12541
|
+
created_at: {
|
|
12542
|
+
type: "string",
|
|
12543
|
+
description: "The date/time the commit was created",
|
|
12544
|
+
},
|
|
12545
|
+
files: {
|
|
12546
|
+
type: "array",
|
|
12547
|
+
description: "A list of files changed in the commit",
|
|
12548
|
+
items: {
|
|
12549
|
+
type: "object",
|
|
12550
|
+
required: ["old_path", "new_path", "diff"],
|
|
12551
|
+
properties: {
|
|
12552
|
+
old_path: {
|
|
12553
|
+
type: "string",
|
|
12554
|
+
description: "The old path of the file",
|
|
12555
|
+
},
|
|
12556
|
+
new_path: {
|
|
12557
|
+
type: "string",
|
|
12558
|
+
description: "The new path of the file",
|
|
12559
|
+
},
|
|
12560
|
+
diff: {
|
|
12561
|
+
type: "string",
|
|
12562
|
+
description: "The diff contents for the file",
|
|
12563
|
+
},
|
|
12564
|
+
},
|
|
12565
|
+
},
|
|
12566
|
+
},
|
|
12308
12567
|
},
|
|
12309
12568
|
},
|
|
12310
|
-
|
|
12569
|
+
],
|
|
12311
12570
|
},
|
|
12312
12571
|
},
|
|
12313
12572
|
},
|
|
@@ -12350,21 +12609,45 @@ export const gitlabGetFileContentDefinition = {
|
|
|
12350
12609
|
type: "string",
|
|
12351
12610
|
description: "The error that occurred if the operation was not successful",
|
|
12352
12611
|
},
|
|
12353
|
-
|
|
12354
|
-
type: "
|
|
12355
|
-
description: "The
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12612
|
+
results: {
|
|
12613
|
+
type: "array",
|
|
12614
|
+
description: "The results of the file content",
|
|
12615
|
+
items: {
|
|
12616
|
+
type: "object",
|
|
12617
|
+
required: ["name", "url", "contents"],
|
|
12618
|
+
properties: {
|
|
12619
|
+
name: {
|
|
12620
|
+
type: "string",
|
|
12621
|
+
description: "The name of the file",
|
|
12622
|
+
},
|
|
12623
|
+
url: {
|
|
12624
|
+
type: "string",
|
|
12625
|
+
description: "The url of the file",
|
|
12626
|
+
},
|
|
12627
|
+
contents: {
|
|
12628
|
+
type: "object",
|
|
12629
|
+
required: ["content", "size", "name", "htmlUrl"],
|
|
12630
|
+
properties: {
|
|
12631
|
+
content: {
|
|
12632
|
+
type: "string",
|
|
12633
|
+
description: "The decoded file content as a string",
|
|
12634
|
+
},
|
|
12635
|
+
size: {
|
|
12636
|
+
type: "number",
|
|
12637
|
+
description: "The size of the file in bytes",
|
|
12638
|
+
},
|
|
12639
|
+
name: {
|
|
12640
|
+
type: "string",
|
|
12641
|
+
description: "The name of the file",
|
|
12642
|
+
},
|
|
12643
|
+
htmlUrl: {
|
|
12644
|
+
type: "string",
|
|
12645
|
+
description: "The URL of the file in the GitLab UI",
|
|
12646
|
+
},
|
|
12647
|
+
},
|
|
12648
|
+
},
|
|
12649
|
+
},
|
|
12650
|
+
},
|
|
12368
12651
|
},
|
|
12369
12652
|
},
|
|
12370
12653
|
},
|
|
@@ -12398,34 +12681,57 @@ export const gitlabListDirectoryDefinition = {
|
|
|
12398
12681
|
},
|
|
12399
12682
|
output: {
|
|
12400
12683
|
type: "object",
|
|
12401
|
-
required: ["
|
|
12684
|
+
required: ["success"],
|
|
12402
12685
|
properties: {
|
|
12403
|
-
|
|
12686
|
+
success: {
|
|
12687
|
+
type: "boolean",
|
|
12688
|
+
description: "Whether the operation was successful",
|
|
12689
|
+
},
|
|
12690
|
+
error: {
|
|
12691
|
+
type: "string",
|
|
12692
|
+
description: "Error message if the operation failed",
|
|
12693
|
+
},
|
|
12694
|
+
results: {
|
|
12404
12695
|
type: "array",
|
|
12405
12696
|
description: "Array of directory contents",
|
|
12406
12697
|
items: {
|
|
12407
12698
|
type: "object",
|
|
12408
|
-
required: ["name", "
|
|
12699
|
+
required: ["name", "url", "contents"],
|
|
12409
12700
|
properties: {
|
|
12410
12701
|
name: {
|
|
12411
12702
|
type: "string",
|
|
12412
12703
|
description: "The name of the file or directory",
|
|
12413
12704
|
},
|
|
12414
|
-
|
|
12415
|
-
type: "string",
|
|
12416
|
-
description: "The path of the file or directory",
|
|
12417
|
-
},
|
|
12418
|
-
type: {
|
|
12705
|
+
url: {
|
|
12419
12706
|
type: "string",
|
|
12420
|
-
description:
|
|
12707
|
+
description: "The URL of the file or directory",
|
|
12421
12708
|
},
|
|
12422
|
-
|
|
12423
|
-
type: "
|
|
12424
|
-
description: "The
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12709
|
+
contents: {
|
|
12710
|
+
type: "object",
|
|
12711
|
+
description: "The contents of the directory",
|
|
12712
|
+
required: ["name", "path", "type", "htmlUrl"],
|
|
12713
|
+
properties: {
|
|
12714
|
+
name: {
|
|
12715
|
+
type: "string",
|
|
12716
|
+
description: "The name of the file or directory",
|
|
12717
|
+
},
|
|
12718
|
+
path: {
|
|
12719
|
+
type: "string",
|
|
12720
|
+
description: "The path of the file or directory",
|
|
12721
|
+
},
|
|
12722
|
+
type: {
|
|
12723
|
+
type: "string",
|
|
12724
|
+
description: 'The type of the entry (either "blob" for file or "tree" for directory)',
|
|
12725
|
+
},
|
|
12726
|
+
size: {
|
|
12727
|
+
type: "number",
|
|
12728
|
+
description: "The size of the file in bytes (only for blobs; omitted or 0 for trees)",
|
|
12729
|
+
},
|
|
12730
|
+
htmlUrl: {
|
|
12731
|
+
type: "string",
|
|
12732
|
+
description: "The URL of the file or folder in the GitLab UI",
|
|
12733
|
+
},
|
|
12734
|
+
},
|
|
12429
12735
|
},
|
|
12430
12736
|
},
|
|
12431
12737
|
},
|