@credal/actions 0.2.127 → 0.2.129
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 +909 -584
- package/dist/actions/autogen/types.d.ts +865 -938
- package/dist/actions/autogen/types.js +365 -212
- package/dist/actions/groups.d.ts +6 -0
- package/dist/actions/groups.js +261 -0
- package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
- package/dist/actions/providers/confluence/updatePage.js +47 -0
- package/dist/actions/providers/credal/callCopilot.d.ts +3 -0
- package/dist/actions/providers/credal/callCopilot.js +36 -0
- 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/jamf/types.d.ts +8 -0
- package/dist/actions/providers/jamf/types.js +7 -0
- package/dist/actions/providers/jira/getJiraIssuesByQuery.js +9 -7
- package/dist/actions/providers/jira/getJiraTicketDetails.js +8 -1
- package/dist/actions/providers/math/index.d.ts +1 -0
- package/dist/actions/providers/math/index.js +37 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordsByQuery.js +10 -3
- package/dist/actions/providers/salesforce/searchSalesforceRecords.js +9 -7
- package/dist/actions/providers/slack/archiveChannel.d.ts +3 -0
- package/dist/actions/providers/slack/archiveChannel.js +42 -0
- package/dist/actions/providers/slack/index.d.ts +1 -0
- package/dist/actions/providers/slack/index.js +37 -0
- package/dist/actions/providers/slack/listConversations.d.ts +3 -0
- package/dist/actions/providers/slack/listConversations.js +41 -0
- package/dist/actions/providers/slackUser/searchSlack.js +81 -8
- package/package.json +1 -1
- package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
- package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
|
@@ -771,7 +771,7 @@ export const slackUserSearchSlackDefinition = {
|
|
|
771
771
|
},
|
|
772
772
|
output: {
|
|
773
773
|
type: "object",
|
|
774
|
-
required: ["query", "results"],
|
|
774
|
+
required: ["query", "results", "currentUser"],
|
|
775
775
|
properties: {
|
|
776
776
|
query: {
|
|
777
777
|
type: "string",
|
|
@@ -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
|
},
|
|
@@ -837,6 +851,25 @@ export const slackUserSearchSlackDefinition = {
|
|
|
837
851
|
},
|
|
838
852
|
},
|
|
839
853
|
},
|
|
854
|
+
currentUser: {
|
|
855
|
+
type: "object",
|
|
856
|
+
required: ["userId"],
|
|
857
|
+
description: "The current user who's running the search",
|
|
858
|
+
properties: {
|
|
859
|
+
userId: {
|
|
860
|
+
type: "string",
|
|
861
|
+
description: "The ID of the current user",
|
|
862
|
+
},
|
|
863
|
+
userName: {
|
|
864
|
+
type: "string",
|
|
865
|
+
description: "The name of the current user",
|
|
866
|
+
},
|
|
867
|
+
userEmail: {
|
|
868
|
+
type: "string",
|
|
869
|
+
description: "The email of the current user",
|
|
870
|
+
},
|
|
871
|
+
},
|
|
872
|
+
},
|
|
840
873
|
},
|
|
841
874
|
},
|
|
842
875
|
name: "searchSlack",
|
|
@@ -1314,9 +1347,27 @@ export const jiraGetJiraTicketDetailsDefinition = {
|
|
|
1314
1347
|
type: "string",
|
|
1315
1348
|
description: "The error that occurred if the retrieval was unsuccessful",
|
|
1316
1349
|
},
|
|
1317
|
-
|
|
1318
|
-
type: "
|
|
1319
|
-
description: "The
|
|
1350
|
+
results: {
|
|
1351
|
+
type: "array",
|
|
1352
|
+
description: "The results of the Jira ticket",
|
|
1353
|
+
items: {
|
|
1354
|
+
type: "object",
|
|
1355
|
+
required: ["name", "url", "contents"],
|
|
1356
|
+
properties: {
|
|
1357
|
+
name: {
|
|
1358
|
+
type: "string",
|
|
1359
|
+
description: "The name of the result",
|
|
1360
|
+
},
|
|
1361
|
+
url: {
|
|
1362
|
+
type: "string",
|
|
1363
|
+
description: "The URL of the result",
|
|
1364
|
+
},
|
|
1365
|
+
contents: {
|
|
1366
|
+
type: "object",
|
|
1367
|
+
description: "The data of the Jira ticket",
|
|
1368
|
+
},
|
|
1369
|
+
},
|
|
1370
|
+
},
|
|
1320
1371
|
},
|
|
1321
1372
|
},
|
|
1322
1373
|
},
|
|
@@ -1479,15 +1530,24 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
1479
1530
|
type: "boolean",
|
|
1480
1531
|
description: "Whether the records were successfully retrieved",
|
|
1481
1532
|
},
|
|
1482
|
-
|
|
1483
|
-
type: "
|
|
1484
|
-
description: "The
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1533
|
+
results: {
|
|
1534
|
+
type: "array",
|
|
1535
|
+
description: "The results of the Jira issues",
|
|
1536
|
+
items: {
|
|
1537
|
+
type: "object",
|
|
1538
|
+
required: ["name", "url", "contents"],
|
|
1539
|
+
properties: {
|
|
1540
|
+
name: {
|
|
1541
|
+
type: "string",
|
|
1542
|
+
description: "The name of the result",
|
|
1543
|
+
},
|
|
1544
|
+
url: {
|
|
1545
|
+
type: "string",
|
|
1546
|
+
description: "The URL of the result",
|
|
1547
|
+
},
|
|
1548
|
+
contents: {
|
|
1490
1549
|
type: "object",
|
|
1550
|
+
description: "The result object containing issues",
|
|
1491
1551
|
required: [
|
|
1492
1552
|
"id",
|
|
1493
1553
|
"key",
|
|
@@ -1963,9 +2023,27 @@ export const jiraOrgGetJiraTicketDetailsDefinition = {
|
|
|
1963
2023
|
type: "string",
|
|
1964
2024
|
description: "The error that occurred if the retrieval was unsuccessful",
|
|
1965
2025
|
},
|
|
1966
|
-
|
|
1967
|
-
type: "
|
|
1968
|
-
description: "The
|
|
2026
|
+
results: {
|
|
2027
|
+
type: "array",
|
|
2028
|
+
description: "The results of the Jira ticket",
|
|
2029
|
+
items: {
|
|
2030
|
+
type: "object",
|
|
2031
|
+
required: ["name", "url", "contents"],
|
|
2032
|
+
properties: {
|
|
2033
|
+
name: {
|
|
2034
|
+
type: "string",
|
|
2035
|
+
description: "The name of the result",
|
|
2036
|
+
},
|
|
2037
|
+
url: {
|
|
2038
|
+
type: "string",
|
|
2039
|
+
description: "The URL of the result",
|
|
2040
|
+
},
|
|
2041
|
+
contents: {
|
|
2042
|
+
type: "object",
|
|
2043
|
+
description: "The data of the Jira ticket",
|
|
2044
|
+
},
|
|
2045
|
+
},
|
|
2046
|
+
},
|
|
1969
2047
|
},
|
|
1970
2048
|
},
|
|
1971
2049
|
},
|
|
@@ -2128,15 +2206,24 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2128
2206
|
type: "boolean",
|
|
2129
2207
|
description: "Whether the records were successfully retrieved",
|
|
2130
2208
|
},
|
|
2131
|
-
|
|
2132
|
-
type: "
|
|
2133
|
-
description: "The
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2209
|
+
results: {
|
|
2210
|
+
type: "array",
|
|
2211
|
+
description: "The results of the Jira issues",
|
|
2212
|
+
items: {
|
|
2213
|
+
type: "object",
|
|
2214
|
+
required: ["name", "url", "contents"],
|
|
2215
|
+
properties: {
|
|
2216
|
+
name: {
|
|
2217
|
+
type: "string",
|
|
2218
|
+
description: "The name of the result",
|
|
2219
|
+
},
|
|
2220
|
+
url: {
|
|
2221
|
+
type: "string",
|
|
2222
|
+
description: "The URL of the result",
|
|
2223
|
+
},
|
|
2224
|
+
contents: {
|
|
2139
2225
|
type: "object",
|
|
2226
|
+
description: "The result object containing issues",
|
|
2140
2227
|
required: [
|
|
2141
2228
|
"id",
|
|
2142
2229
|
"key",
|
|
@@ -3240,11 +3327,37 @@ export const firecrawlScrapeUrlDefinition = {
|
|
|
3240
3327
|
},
|
|
3241
3328
|
output: {
|
|
3242
3329
|
type: "object",
|
|
3243
|
-
required: ["
|
|
3330
|
+
required: ["success"],
|
|
3244
3331
|
properties: {
|
|
3245
|
-
|
|
3332
|
+
success: {
|
|
3333
|
+
type: "boolean",
|
|
3334
|
+
description: "Whether the operation was successful",
|
|
3335
|
+
},
|
|
3336
|
+
error: {
|
|
3246
3337
|
type: "string",
|
|
3247
|
-
description: "
|
|
3338
|
+
description: "Error message if the operation failed",
|
|
3339
|
+
},
|
|
3340
|
+
results: {
|
|
3341
|
+
type: "array",
|
|
3342
|
+
description: "The results of the scrape",
|
|
3343
|
+
items: {
|
|
3344
|
+
type: "object",
|
|
3345
|
+
required: ["name", "url", "contents"],
|
|
3346
|
+
properties: {
|
|
3347
|
+
name: {
|
|
3348
|
+
type: "string",
|
|
3349
|
+
description: "The name of the result",
|
|
3350
|
+
},
|
|
3351
|
+
url: {
|
|
3352
|
+
type: "string",
|
|
3353
|
+
description: "The URL of the result",
|
|
3354
|
+
},
|
|
3355
|
+
contents: {
|
|
3356
|
+
type: "string",
|
|
3357
|
+
description: "The content of the URL",
|
|
3358
|
+
},
|
|
3359
|
+
},
|
|
3360
|
+
},
|
|
3248
3361
|
},
|
|
3249
3362
|
},
|
|
3250
3363
|
},
|
|
@@ -7221,32 +7334,47 @@ export const googleOauthSearchDriveByKeywordsAndGetFileContentDefinition = {
|
|
|
7221
7334
|
type: "boolean",
|
|
7222
7335
|
description: "Whether the search was successful",
|
|
7223
7336
|
},
|
|
7224
|
-
|
|
7337
|
+
results: {
|
|
7225
7338
|
type: "array",
|
|
7226
7339
|
description: "List of files matching the search",
|
|
7227
7340
|
items: {
|
|
7228
7341
|
type: "object",
|
|
7229
|
-
required: ["
|
|
7342
|
+
required: ["name", "url", "contents"],
|
|
7230
7343
|
properties: {
|
|
7231
|
-
id: {
|
|
7232
|
-
type: "string",
|
|
7233
|
-
description: "The file ID",
|
|
7234
|
-
},
|
|
7235
7344
|
name: {
|
|
7236
7345
|
type: "string",
|
|
7237
|
-
description: "The file
|
|
7238
|
-
},
|
|
7239
|
-
mimeType: {
|
|
7240
|
-
type: "string",
|
|
7241
|
-
description: "The MIME type of the file",
|
|
7346
|
+
description: "The name of the file",
|
|
7242
7347
|
},
|
|
7243
7348
|
url: {
|
|
7244
7349
|
type: "string",
|
|
7245
|
-
description: "The
|
|
7350
|
+
description: "The URL of the file",
|
|
7246
7351
|
},
|
|
7247
|
-
|
|
7248
|
-
type: "
|
|
7249
|
-
description: "The
|
|
7352
|
+
contents: {
|
|
7353
|
+
type: "object",
|
|
7354
|
+
description: "The contents of the file",
|
|
7355
|
+
required: ["id", "name", "mimeType", "url"],
|
|
7356
|
+
properties: {
|
|
7357
|
+
id: {
|
|
7358
|
+
type: "string",
|
|
7359
|
+
description: "The file ID",
|
|
7360
|
+
},
|
|
7361
|
+
name: {
|
|
7362
|
+
type: "string",
|
|
7363
|
+
description: "The file name",
|
|
7364
|
+
},
|
|
7365
|
+
mimeType: {
|
|
7366
|
+
type: "string",
|
|
7367
|
+
description: "The MIME type of the file",
|
|
7368
|
+
},
|
|
7369
|
+
url: {
|
|
7370
|
+
type: "string",
|
|
7371
|
+
description: "The web link to view the file",
|
|
7372
|
+
},
|
|
7373
|
+
content: {
|
|
7374
|
+
type: "string",
|
|
7375
|
+
description: "The data returned from the file, subject to fileSizeLimit",
|
|
7376
|
+
},
|
|
7377
|
+
},
|
|
7250
7378
|
},
|
|
7251
7379
|
},
|
|
7252
7380
|
},
|
|
@@ -7369,17 +7497,41 @@ export const googleOauthGetDriveFileContentByIdDefinition = {
|
|
|
7369
7497
|
type: "boolean",
|
|
7370
7498
|
description: "Whether the file content was retrieved successfully",
|
|
7371
7499
|
},
|
|
7372
|
-
|
|
7373
|
-
type: "
|
|
7374
|
-
description: "The
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7500
|
+
results: {
|
|
7501
|
+
type: "array",
|
|
7502
|
+
description: "The results of the file content",
|
|
7503
|
+
items: {
|
|
7504
|
+
type: "object",
|
|
7505
|
+
required: ["name", "url", "contents"],
|
|
7506
|
+
properties: {
|
|
7507
|
+
name: {
|
|
7508
|
+
type: "string",
|
|
7509
|
+
description: "The name of the file",
|
|
7510
|
+
},
|
|
7511
|
+
url: {
|
|
7512
|
+
type: "string",
|
|
7513
|
+
description: "The URL of the file",
|
|
7514
|
+
},
|
|
7515
|
+
contents: {
|
|
7516
|
+
type: "object",
|
|
7517
|
+
description: "The contents of the file",
|
|
7518
|
+
properties: {
|
|
7519
|
+
content: {
|
|
7520
|
+
type: "string",
|
|
7521
|
+
description: "The content of the file",
|
|
7522
|
+
},
|
|
7523
|
+
fileName: {
|
|
7524
|
+
type: "string",
|
|
7525
|
+
description: "The name of the file",
|
|
7526
|
+
},
|
|
7527
|
+
fileLength: {
|
|
7528
|
+
type: "number",
|
|
7529
|
+
description: "The length of the file content prior to truncating",
|
|
7530
|
+
},
|
|
7531
|
+
},
|
|
7532
|
+
},
|
|
7533
|
+
},
|
|
7534
|
+
},
|
|
7383
7535
|
},
|
|
7384
7536
|
error: {
|
|
7385
7537
|
type: "string",
|
|
@@ -9893,32 +10045,46 @@ export const salesforceSearchSalesforceRecordsDefinition = {
|
|
|
9893
10045
|
type: "boolean",
|
|
9894
10046
|
description: "Whether the records were successfully retrieved",
|
|
9895
10047
|
},
|
|
9896
|
-
|
|
10048
|
+
results: {
|
|
9897
10049
|
type: "array",
|
|
9898
10050
|
description: "The records that match the search",
|
|
9899
10051
|
items: {
|
|
9900
10052
|
type: "object",
|
|
9901
10053
|
description: "A record from Salesforce",
|
|
9902
10054
|
properties: {
|
|
9903
|
-
|
|
10055
|
+
name: {
|
|
10056
|
+
type: "string",
|
|
10057
|
+
description: "The name of the record",
|
|
10058
|
+
},
|
|
10059
|
+
url: {
|
|
9904
10060
|
type: "string",
|
|
9905
|
-
description: "The
|
|
10061
|
+
description: "The URL of the record",
|
|
9906
10062
|
},
|
|
9907
|
-
|
|
10063
|
+
contents: {
|
|
9908
10064
|
type: "object",
|
|
9909
|
-
description: "
|
|
10065
|
+
description: "The contents of the record",
|
|
9910
10066
|
properties: {
|
|
9911
|
-
|
|
10067
|
+
id: {
|
|
9912
10068
|
type: "string",
|
|
9913
|
-
description: "The Salesforce
|
|
10069
|
+
description: "The Salesforce record ID",
|
|
9914
10070
|
},
|
|
9915
|
-
|
|
9916
|
-
type: "
|
|
9917
|
-
description: "
|
|
10071
|
+
attributes: {
|
|
10072
|
+
type: "object",
|
|
10073
|
+
description: "Metadata about the Salesforce record",
|
|
10074
|
+
properties: {
|
|
10075
|
+
type: {
|
|
10076
|
+
type: "string",
|
|
10077
|
+
description: "The Salesforce object type",
|
|
10078
|
+
},
|
|
10079
|
+
url: {
|
|
10080
|
+
type: "string",
|
|
10081
|
+
description: "The Salesforce record URL",
|
|
10082
|
+
},
|
|
10083
|
+
},
|
|
10084
|
+
required: ["type", "url"],
|
|
10085
|
+
additionalProperties: true,
|
|
9918
10086
|
},
|
|
9919
10087
|
},
|
|
9920
|
-
required: ["type", "url"],
|
|
9921
|
-
additionalProperties: true,
|
|
9922
10088
|
},
|
|
9923
10089
|
},
|
|
9924
10090
|
},
|
|
@@ -9957,14 +10123,24 @@ export const salesforceGetSalesforceRecordsByQueryDefinition = {
|
|
|
9957
10123
|
type: "boolean",
|
|
9958
10124
|
description: "Whether the records were successfully retrieved",
|
|
9959
10125
|
},
|
|
9960
|
-
|
|
10126
|
+
results: {
|
|
9961
10127
|
type: "array",
|
|
9962
|
-
description: "
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
description: "A record from Salesforce",
|
|
9966
|
-
additionalProperties: {
|
|
10128
|
+
description: "Array of standardized results objects",
|
|
10129
|
+
properties: {
|
|
10130
|
+
name: {
|
|
9967
10131
|
type: "string",
|
|
10132
|
+
description: "The name of the record",
|
|
10133
|
+
},
|
|
10134
|
+
url: {
|
|
10135
|
+
type: "string",
|
|
10136
|
+
description: "The url of the record",
|
|
10137
|
+
},
|
|
10138
|
+
contents: {
|
|
10139
|
+
type: "object",
|
|
10140
|
+
description: "A record from Salesforce",
|
|
10141
|
+
additionalProperties: {
|
|
10142
|
+
type: "string",
|
|
10143
|
+
},
|
|
9968
10144
|
},
|
|
9969
10145
|
},
|
|
9970
10146
|
},
|
|
@@ -10507,51 +10683,72 @@ export const githubListPullRequestsDefinition = {
|
|
|
10507
10683
|
},
|
|
10508
10684
|
output: {
|
|
10509
10685
|
type: "object",
|
|
10510
|
-
required: ["
|
|
10686
|
+
required: ["success"],
|
|
10511
10687
|
properties: {
|
|
10512
|
-
|
|
10688
|
+
success: {
|
|
10689
|
+
type: "boolean",
|
|
10690
|
+
description: "Whether the operation was successful",
|
|
10691
|
+
},
|
|
10692
|
+
error: {
|
|
10693
|
+
type: "string",
|
|
10694
|
+
description: "The error that occurred if the operation was not successful",
|
|
10695
|
+
},
|
|
10696
|
+
results: {
|
|
10513
10697
|
type: "array",
|
|
10514
10698
|
description: "A list of pull requests in the repository",
|
|
10515
10699
|
items: {
|
|
10516
10700
|
type: "object",
|
|
10517
10701
|
properties: {
|
|
10518
|
-
|
|
10519
|
-
type: "number",
|
|
10520
|
-
description: "The number of the pull request",
|
|
10521
|
-
},
|
|
10522
|
-
title: {
|
|
10702
|
+
name: {
|
|
10523
10703
|
type: "string",
|
|
10524
10704
|
description: "The title of the pull request",
|
|
10525
10705
|
},
|
|
10526
|
-
state: {
|
|
10527
|
-
type: "string",
|
|
10528
|
-
description: "The state of the pull request (e.g., open, closed)",
|
|
10529
|
-
},
|
|
10530
10706
|
url: {
|
|
10531
10707
|
type: "string",
|
|
10532
10708
|
description: "The URL of the pull request",
|
|
10533
10709
|
},
|
|
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: {
|
|
10710
|
+
contents: {
|
|
10543
10711
|
type: "object",
|
|
10544
10712
|
properties: {
|
|
10545
|
-
|
|
10713
|
+
number: {
|
|
10714
|
+
type: "number",
|
|
10715
|
+
description: "The number of the pull request",
|
|
10716
|
+
},
|
|
10717
|
+
title: {
|
|
10718
|
+
type: "string",
|
|
10719
|
+
description: "The title of the pull request",
|
|
10720
|
+
},
|
|
10721
|
+
state: {
|
|
10722
|
+
type: "string",
|
|
10723
|
+
description: "The state of the pull request (e.g., open, closed)",
|
|
10724
|
+
},
|
|
10725
|
+
url: {
|
|
10726
|
+
type: "string",
|
|
10727
|
+
description: "The URL of the pull request",
|
|
10728
|
+
},
|
|
10729
|
+
createdAt: {
|
|
10730
|
+
type: "string",
|
|
10731
|
+
description: "The date and time when the pull request was created",
|
|
10732
|
+
},
|
|
10733
|
+
updatedAt: {
|
|
10734
|
+
type: "string",
|
|
10735
|
+
description: "The date and time when the pull request was last updated",
|
|
10736
|
+
},
|
|
10737
|
+
user: {
|
|
10738
|
+
type: "object",
|
|
10739
|
+
properties: {
|
|
10740
|
+
login: {
|
|
10741
|
+
type: "string",
|
|
10742
|
+
description: "The username of the user who created the pull request",
|
|
10743
|
+
},
|
|
10744
|
+
},
|
|
10745
|
+
},
|
|
10746
|
+
description: {
|
|
10546
10747
|
type: "string",
|
|
10547
|
-
description: "The
|
|
10748
|
+
description: "The description of the pull request",
|
|
10548
10749
|
},
|
|
10549
10750
|
},
|
|
10550
10751
|
},
|
|
10551
|
-
description: {
|
|
10552
|
-
type: "string",
|
|
10553
|
-
description: "The description of the pull request",
|
|
10554
|
-
},
|
|
10555
10752
|
},
|
|
10556
10753
|
},
|
|
10557
10754
|
},
|
|
@@ -10870,21 +11067,43 @@ export const githubGetFileContentDefinition = {
|
|
|
10870
11067
|
type: "string",
|
|
10871
11068
|
description: "The error that occurred if the operation was not successful",
|
|
10872
11069
|
},
|
|
10873
|
-
|
|
10874
|
-
type: "
|
|
10875
|
-
description: "
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
11070
|
+
results: {
|
|
11071
|
+
type: "array",
|
|
11072
|
+
description: "A list of Github files",
|
|
11073
|
+
items: {
|
|
11074
|
+
type: "object",
|
|
11075
|
+
properties: {
|
|
11076
|
+
name: {
|
|
11077
|
+
type: "string",
|
|
11078
|
+
description: "The name of the file",
|
|
11079
|
+
},
|
|
11080
|
+
url: {
|
|
11081
|
+
type: "string",
|
|
11082
|
+
description: "The URL of the file in the Github UI",
|
|
11083
|
+
},
|
|
11084
|
+
contents: {
|
|
11085
|
+
type: "object",
|
|
11086
|
+
properties: {
|
|
11087
|
+
content: {
|
|
11088
|
+
type: "string",
|
|
11089
|
+
description: "The decoded file content as a string",
|
|
11090
|
+
},
|
|
11091
|
+
size: {
|
|
11092
|
+
type: "number",
|
|
11093
|
+
description: "The size of the file in bytes",
|
|
11094
|
+
},
|
|
11095
|
+
name: {
|
|
11096
|
+
type: "string",
|
|
11097
|
+
description: "The name of the file",
|
|
11098
|
+
},
|
|
11099
|
+
htmlUrl: {
|
|
11100
|
+
type: "string",
|
|
11101
|
+
description: "The URL of the file in the Github UI",
|
|
11102
|
+
},
|
|
11103
|
+
},
|
|
11104
|
+
},
|
|
11105
|
+
},
|
|
11106
|
+
},
|
|
10888
11107
|
},
|
|
10889
11108
|
},
|
|
10890
11109
|
},
|
|
@@ -10924,33 +11143,40 @@ export const githubListDirectoryDefinition = {
|
|
|
10924
11143
|
type: "string",
|
|
10925
11144
|
description: "Error message if the operation failed",
|
|
10926
11145
|
},
|
|
10927
|
-
|
|
11146
|
+
results: {
|
|
10928
11147
|
type: "array",
|
|
10929
11148
|
description: "Array of directory contents",
|
|
10930
11149
|
items: {
|
|
10931
11150
|
type: "object",
|
|
10932
|
-
required: ["name", "
|
|
11151
|
+
required: ["name", "url", "contents"],
|
|
10933
11152
|
properties: {
|
|
10934
11153
|
name: {
|
|
10935
11154
|
type: "string",
|
|
10936
11155
|
description: "The name of the file",
|
|
10937
11156
|
},
|
|
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: {
|
|
11157
|
+
url: {
|
|
10951
11158
|
type: "string",
|
|
10952
11159
|
description: "The URL of the file in the Github UI",
|
|
10953
11160
|
},
|
|
11161
|
+
contents: {
|
|
11162
|
+
type: "object",
|
|
11163
|
+
required: ["path", "type", "size"],
|
|
11164
|
+
description: "The contents of the file",
|
|
11165
|
+
properties: {
|
|
11166
|
+
path: {
|
|
11167
|
+
type: "string",
|
|
11168
|
+
description: "The path of the file",
|
|
11169
|
+
},
|
|
11170
|
+
type: {
|
|
11171
|
+
type: "string",
|
|
11172
|
+
description: "The type of the file",
|
|
11173
|
+
},
|
|
11174
|
+
size: {
|
|
11175
|
+
type: "number",
|
|
11176
|
+
description: "The size of the file in bytes",
|
|
11177
|
+
},
|
|
11178
|
+
},
|
|
11179
|
+
},
|
|
10954
11180
|
},
|
|
10955
11181
|
},
|
|
10956
11182
|
},
|
|
@@ -11217,209 +11443,235 @@ export const githubSearchOrganizationDefinition = {
|
|
|
11217
11443
|
},
|
|
11218
11444
|
output: {
|
|
11219
11445
|
type: "object",
|
|
11220
|
-
required: ["
|
|
11446
|
+
required: ["success"],
|
|
11221
11447
|
properties: {
|
|
11222
|
-
|
|
11448
|
+
success: {
|
|
11449
|
+
type: "boolean",
|
|
11450
|
+
description: "Whether the operation was successful",
|
|
11451
|
+
},
|
|
11452
|
+
error: {
|
|
11453
|
+
type: "string",
|
|
11454
|
+
description: "Error message if the operation failed",
|
|
11455
|
+
},
|
|
11456
|
+
results: {
|
|
11223
11457
|
type: "array",
|
|
11224
|
-
description: "
|
|
11458
|
+
description: "Array of search results",
|
|
11225
11459
|
items: {
|
|
11226
11460
|
type: "object",
|
|
11227
|
-
required: ["name", "
|
|
11461
|
+
required: ["name", "url", "type", "content"],
|
|
11228
11462
|
properties: {
|
|
11229
11463
|
name: {
|
|
11230
11464
|
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",
|
|
11465
|
+
description: "The name of the result (file name, commit SHA, or issue/PR title)",
|
|
11240
11466
|
},
|
|
11241
11467
|
url: {
|
|
11242
11468
|
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",
|
|
11469
|
+
description: "The URL of the result",
|
|
11304
11470
|
},
|
|
11305
|
-
|
|
11471
|
+
type: {
|
|
11306
11472
|
type: "string",
|
|
11307
|
-
|
|
11473
|
+
enum: ["code", "commit", "issueOrPullRequest"],
|
|
11474
|
+
description: "The type of the result",
|
|
11308
11475
|
},
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
properties: {
|
|
11313
|
-
author: {
|
|
11476
|
+
content: {
|
|
11477
|
+
oneOf: [
|
|
11478
|
+
{
|
|
11314
11479
|
type: "object",
|
|
11315
|
-
|
|
11480
|
+
description: "Code result content",
|
|
11481
|
+
required: ["name", "path", "sha", "url", "score", "textMatches"],
|
|
11316
11482
|
properties: {
|
|
11317
11483
|
name: {
|
|
11318
11484
|
type: "string",
|
|
11319
|
-
description: "The name of the
|
|
11320
|
-
},
|
|
11321
|
-
email: {
|
|
11322
|
-
type: "string",
|
|
11323
|
-
description: "The email of the author",
|
|
11485
|
+
description: "The name of the file that had a match",
|
|
11324
11486
|
},
|
|
11325
|
-
|
|
11487
|
+
path: {
|
|
11326
11488
|
type: "string",
|
|
11327
|
-
description: "The
|
|
11489
|
+
description: "The path of the file that had a match",
|
|
11328
11490
|
},
|
|
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: {
|
|
11491
|
+
sha: {
|
|
11348
11492
|
type: "string",
|
|
11349
|
-
description: "The
|
|
11493
|
+
description: "The SHA of the commit that had a match",
|
|
11350
11494
|
},
|
|
11351
|
-
|
|
11495
|
+
url: {
|
|
11352
11496
|
type: "string",
|
|
11353
|
-
description: "The
|
|
11497
|
+
description: "The URL of the file that had a match",
|
|
11354
11498
|
},
|
|
11355
|
-
|
|
11356
|
-
type: "
|
|
11357
|
-
description: "The
|
|
11499
|
+
score: {
|
|
11500
|
+
type: "number",
|
|
11501
|
+
description: "The similarity score of the match",
|
|
11502
|
+
},
|
|
11503
|
+
textMatches: {
|
|
11504
|
+
type: "array",
|
|
11505
|
+
description: "A list of text matches that match the query",
|
|
11506
|
+
items: {
|
|
11507
|
+
type: "object",
|
|
11508
|
+
required: ["matches"],
|
|
11509
|
+
properties: {
|
|
11510
|
+
object_url: {
|
|
11511
|
+
type: "string",
|
|
11512
|
+
description: "The URL of the object that had a match",
|
|
11513
|
+
},
|
|
11514
|
+
object_type: {
|
|
11515
|
+
type: "string",
|
|
11516
|
+
description: "The type of the object that had a match",
|
|
11517
|
+
},
|
|
11518
|
+
fragment: {
|
|
11519
|
+
type: "string",
|
|
11520
|
+
description: "The fragment of the text that had a match",
|
|
11521
|
+
},
|
|
11522
|
+
matches: {
|
|
11523
|
+
type: "array",
|
|
11524
|
+
description: "A list of matches that match the query",
|
|
11525
|
+
items: {
|
|
11526
|
+
type: "object",
|
|
11527
|
+
properties: {
|
|
11528
|
+
text: {
|
|
11529
|
+
type: "string",
|
|
11530
|
+
description: "The text that had a match",
|
|
11531
|
+
},
|
|
11532
|
+
indices: {
|
|
11533
|
+
type: "array",
|
|
11534
|
+
description: "The indices of the text that had a match",
|
|
11535
|
+
items: {
|
|
11536
|
+
type: "number",
|
|
11537
|
+
},
|
|
11538
|
+
},
|
|
11539
|
+
},
|
|
11540
|
+
},
|
|
11541
|
+
},
|
|
11542
|
+
},
|
|
11543
|
+
},
|
|
11358
11544
|
},
|
|
11359
11545
|
},
|
|
11360
|
-
},
|
|
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
|
-
|
|
11546
|
+
},
|
|
11547
|
+
{
|
|
11548
|
+
type: "object",
|
|
11549
|
+
description: "Commit result content",
|
|
11550
|
+
required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
|
|
11551
|
+
properties: {
|
|
11552
|
+
sha: {
|
|
11553
|
+
type: "string",
|
|
11554
|
+
description: "The SHA of the commit that had a match",
|
|
11555
|
+
},
|
|
11556
|
+
url: {
|
|
11557
|
+
type: "string",
|
|
11558
|
+
description: "The URL of the commit that had a match",
|
|
11559
|
+
},
|
|
11560
|
+
commit: {
|
|
11561
|
+
type: "object",
|
|
11562
|
+
required: ["message", "author", "score", "files"],
|
|
11563
|
+
properties: {
|
|
11564
|
+
author: {
|
|
11565
|
+
type: "object",
|
|
11566
|
+
required: ["name", "email", "date"],
|
|
11567
|
+
properties: {
|
|
11568
|
+
name: {
|
|
11569
|
+
type: "string",
|
|
11570
|
+
description: "The name of the author",
|
|
11571
|
+
},
|
|
11572
|
+
email: {
|
|
11573
|
+
type: "string",
|
|
11574
|
+
description: "The email of the author",
|
|
11575
|
+
},
|
|
11576
|
+
date: {
|
|
11577
|
+
type: "string",
|
|
11578
|
+
description: "The date of the commit",
|
|
11579
|
+
},
|
|
11580
|
+
},
|
|
11581
|
+
},
|
|
11582
|
+
message: {
|
|
11583
|
+
type: "string",
|
|
11584
|
+
description: "The message of the commit",
|
|
11585
|
+
},
|
|
11586
|
+
},
|
|
11587
|
+
score: {
|
|
11588
|
+
type: "number",
|
|
11589
|
+
description: "The score of the commit",
|
|
11590
|
+
},
|
|
11591
|
+
files: {
|
|
11592
|
+
type: "array",
|
|
11593
|
+
description: "A list of files that match the query",
|
|
11594
|
+
items: {
|
|
11595
|
+
type: "object",
|
|
11596
|
+
required: ["filename", "status", "patch"],
|
|
11597
|
+
properties: {
|
|
11598
|
+
filename: {
|
|
11599
|
+
type: "string",
|
|
11600
|
+
description: "The filename of the file",
|
|
11601
|
+
},
|
|
11602
|
+
status: {
|
|
11603
|
+
type: "string",
|
|
11604
|
+
description: "The status of the file",
|
|
11605
|
+
},
|
|
11606
|
+
patch: {
|
|
11607
|
+
type: "string",
|
|
11608
|
+
description: "The patch of the file",
|
|
11609
|
+
},
|
|
11610
|
+
},
|
|
11611
|
+
},
|
|
11612
|
+
},
|
|
11613
|
+
},
|
|
11416
11614
|
},
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11615
|
+
},
|
|
11616
|
+
{
|
|
11617
|
+
type: "object",
|
|
11618
|
+
description: "Issue or pull request result content",
|
|
11619
|
+
required: ["title", "url", "state", "createdAt", "updatedAt", "user"],
|
|
11620
|
+
properties: {
|
|
11621
|
+
number: {
|
|
11622
|
+
type: "number",
|
|
11623
|
+
description: "The number of the issue or pull request",
|
|
11624
|
+
},
|
|
11625
|
+
title: {
|
|
11626
|
+
type: "string",
|
|
11627
|
+
description: "The title of the issue or pull request",
|
|
11628
|
+
},
|
|
11629
|
+
html_url: {
|
|
11630
|
+
type: "string",
|
|
11631
|
+
description: "The URL of the issue or pull request",
|
|
11632
|
+
},
|
|
11633
|
+
state: {
|
|
11634
|
+
type: "string",
|
|
11635
|
+
description: "The state of the issue or pull request",
|
|
11636
|
+
enum: ["open", "closed"],
|
|
11637
|
+
},
|
|
11638
|
+
isPullRequest: {
|
|
11639
|
+
type: "boolean",
|
|
11640
|
+
description: "Whether the issue or pull request is a pull request",
|
|
11641
|
+
},
|
|
11642
|
+
body: {
|
|
11643
|
+
type: "string",
|
|
11644
|
+
description: "The body of the issue or pull request",
|
|
11645
|
+
},
|
|
11646
|
+
score: {
|
|
11647
|
+
type: "number",
|
|
11648
|
+
description: "The score of the issue or pull request",
|
|
11649
|
+
},
|
|
11650
|
+
files: {
|
|
11651
|
+
type: "array",
|
|
11652
|
+
description: "A list of files that match the query",
|
|
11653
|
+
items: {
|
|
11654
|
+
type: "object",
|
|
11655
|
+
required: ["filename", "status"],
|
|
11656
|
+
properties: {
|
|
11657
|
+
filename: {
|
|
11658
|
+
type: "string",
|
|
11659
|
+
description: "The filename of the file",
|
|
11660
|
+
},
|
|
11661
|
+
status: {
|
|
11662
|
+
type: "string",
|
|
11663
|
+
description: "The status of the file",
|
|
11664
|
+
},
|
|
11665
|
+
patch: {
|
|
11666
|
+
type: "string",
|
|
11667
|
+
description: "The patch of the file",
|
|
11668
|
+
},
|
|
11669
|
+
},
|
|
11670
|
+
},
|
|
11671
|
+
},
|
|
11420
11672
|
},
|
|
11421
11673
|
},
|
|
11422
|
-
|
|
11674
|
+
],
|
|
11423
11675
|
},
|
|
11424
11676
|
},
|
|
11425
11677
|
},
|
|
@@ -12081,233 +12333,259 @@ export const gitlabSearchGroupDefinition = {
|
|
|
12081
12333
|
},
|
|
12082
12334
|
output: {
|
|
12083
12335
|
type: "object",
|
|
12084
|
-
required: ["
|
|
12336
|
+
required: ["success"],
|
|
12085
12337
|
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
|
-
},
|
|
12338
|
+
success: {
|
|
12339
|
+
type: "boolean",
|
|
12340
|
+
description: "Whether the search operation was successful",
|
|
12178
12341
|
},
|
|
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
|
-
},
|
|
12342
|
+
error: {
|
|
12343
|
+
type: "string",
|
|
12344
|
+
description: "Error message if the search operation failed",
|
|
12252
12345
|
},
|
|
12253
|
-
|
|
12346
|
+
results: {
|
|
12254
12347
|
type: "array",
|
|
12255
|
-
description: "A list of
|
|
12348
|
+
description: "A list of search results that match the query",
|
|
12256
12349
|
items: {
|
|
12257
12350
|
type: "object",
|
|
12258
|
-
required: ["
|
|
12351
|
+
required: ["name", "url", "type", "contents"],
|
|
12259
12352
|
properties: {
|
|
12260
|
-
|
|
12261
|
-
type: "string",
|
|
12262
|
-
description: "The commit SHA",
|
|
12263
|
-
},
|
|
12264
|
-
web_url: {
|
|
12353
|
+
name: {
|
|
12265
12354
|
type: "string",
|
|
12266
|
-
description: "The
|
|
12355
|
+
description: "The name/title of the search result",
|
|
12267
12356
|
},
|
|
12268
|
-
|
|
12357
|
+
url: {
|
|
12269
12358
|
type: "string",
|
|
12270
|
-
description: "The
|
|
12359
|
+
description: "The URL to view the result in GitLab",
|
|
12271
12360
|
},
|
|
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: {
|
|
12361
|
+
type: {
|
|
12287
12362
|
type: "string",
|
|
12288
|
-
|
|
12363
|
+
enum: ["mergeRequest", "blob", "commit"],
|
|
12364
|
+
description: "The type of search result",
|
|
12289
12365
|
},
|
|
12290
|
-
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12366
|
+
contents: {
|
|
12367
|
+
oneOf: [
|
|
12368
|
+
{
|
|
12369
|
+
type: "object",
|
|
12370
|
+
description: "Merge request contents",
|
|
12371
|
+
required: ["metadata", "diffs"],
|
|
12372
|
+
properties: {
|
|
12373
|
+
metadata: {
|
|
12374
|
+
type: "object",
|
|
12375
|
+
required: ["id", "iid", "project_id", "title", "web_url"],
|
|
12376
|
+
description: "The metadata of the merge request",
|
|
12377
|
+
properties: {
|
|
12378
|
+
id: {
|
|
12379
|
+
type: "number",
|
|
12380
|
+
description: "The ID of the merge request",
|
|
12381
|
+
},
|
|
12382
|
+
iid: {
|
|
12383
|
+
type: "number",
|
|
12384
|
+
description: "The internal ID of the merge request",
|
|
12385
|
+
},
|
|
12386
|
+
project_id: {
|
|
12387
|
+
type: "number",
|
|
12388
|
+
description: "The ID of the project the merge request belongs to",
|
|
12389
|
+
},
|
|
12390
|
+
title: {
|
|
12391
|
+
type: "string",
|
|
12392
|
+
description: "The title of the merge request",
|
|
12393
|
+
},
|
|
12394
|
+
web_url: {
|
|
12395
|
+
type: "string",
|
|
12396
|
+
description: "The URL of the merge request",
|
|
12397
|
+
},
|
|
12398
|
+
description: {
|
|
12399
|
+
type: "string",
|
|
12400
|
+
description: "The description of the merge request",
|
|
12401
|
+
},
|
|
12402
|
+
author: {
|
|
12403
|
+
type: "object",
|
|
12404
|
+
description: "The author of the merge request",
|
|
12405
|
+
properties: {
|
|
12406
|
+
name: {
|
|
12407
|
+
type: "string",
|
|
12408
|
+
description: "The name of the author",
|
|
12409
|
+
},
|
|
12410
|
+
},
|
|
12411
|
+
},
|
|
12412
|
+
merged_at: {
|
|
12413
|
+
type: "string",
|
|
12414
|
+
description: "The date and time the merge request was merged",
|
|
12415
|
+
},
|
|
12416
|
+
},
|
|
12417
|
+
},
|
|
12418
|
+
diffs: {
|
|
12419
|
+
type: "array",
|
|
12420
|
+
description: "A list of diffs that match the query",
|
|
12421
|
+
items: {
|
|
12422
|
+
type: "object",
|
|
12423
|
+
required: ["old_path", "new_path", "diff", "new_file", "renamed_file", "deleted_file"],
|
|
12424
|
+
properties: {
|
|
12425
|
+
old_path: {
|
|
12426
|
+
type: "string",
|
|
12427
|
+
description: "The old path of the diff",
|
|
12428
|
+
},
|
|
12429
|
+
new_path: {
|
|
12430
|
+
type: "string",
|
|
12431
|
+
description: "The new path of the diff",
|
|
12432
|
+
},
|
|
12433
|
+
diff: {
|
|
12434
|
+
type: "string",
|
|
12435
|
+
description: "The contents of the diff",
|
|
12436
|
+
},
|
|
12437
|
+
new_file: {
|
|
12438
|
+
type: "boolean",
|
|
12439
|
+
description: "Whether the diff is a new file",
|
|
12440
|
+
},
|
|
12441
|
+
renamed_file: {
|
|
12442
|
+
type: "boolean",
|
|
12443
|
+
description: "Whether the diff is a renamed file",
|
|
12444
|
+
},
|
|
12445
|
+
deleted_file: {
|
|
12446
|
+
type: "boolean",
|
|
12447
|
+
description: "Whether the diff is a deleted file",
|
|
12448
|
+
},
|
|
12449
|
+
too_large: {
|
|
12450
|
+
type: "boolean",
|
|
12451
|
+
description: "Whether the diff is too large",
|
|
12452
|
+
},
|
|
12453
|
+
},
|
|
12454
|
+
},
|
|
12455
|
+
},
|
|
12300
12456
|
},
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12457
|
+
},
|
|
12458
|
+
{
|
|
12459
|
+
type: "object",
|
|
12460
|
+
description: "Blob contents",
|
|
12461
|
+
required: ["metadata", "matchedMergeRequests"],
|
|
12462
|
+
properties: {
|
|
12463
|
+
metadata: {
|
|
12464
|
+
type: "object",
|
|
12465
|
+
required: ["path", "basename", "data", "project_id", "ref", "startline", "filename", "web_url"],
|
|
12466
|
+
properties: {
|
|
12467
|
+
path: {
|
|
12468
|
+
type: "string",
|
|
12469
|
+
description: "The path of the blob",
|
|
12470
|
+
},
|
|
12471
|
+
basename: {
|
|
12472
|
+
type: "string",
|
|
12473
|
+
description: "The basename of the blob",
|
|
12474
|
+
},
|
|
12475
|
+
data: {
|
|
12476
|
+
type: "string",
|
|
12477
|
+
description: "The data of the blob",
|
|
12478
|
+
},
|
|
12479
|
+
project_id: {
|
|
12480
|
+
type: "number",
|
|
12481
|
+
description: "The ID of the project the blob belongs to",
|
|
12482
|
+
},
|
|
12483
|
+
ref: {
|
|
12484
|
+
type: "string",
|
|
12485
|
+
description: "The ref of the blob",
|
|
12486
|
+
},
|
|
12487
|
+
startline: {
|
|
12488
|
+
type: "number",
|
|
12489
|
+
description: "The start line of the blob",
|
|
12490
|
+
},
|
|
12491
|
+
filename: {
|
|
12492
|
+
type: "string",
|
|
12493
|
+
description: "The filename of the blob",
|
|
12494
|
+
},
|
|
12495
|
+
web_url: {
|
|
12496
|
+
type: "string",
|
|
12497
|
+
description: "The URL of the blob",
|
|
12498
|
+
},
|
|
12499
|
+
},
|
|
12500
|
+
},
|
|
12501
|
+
matchedMergeRequests: {
|
|
12502
|
+
type: "array",
|
|
12503
|
+
description: "A list of merge requests that match the blob",
|
|
12504
|
+
items: {
|
|
12505
|
+
type: "object",
|
|
12506
|
+
required: ["title", "web_url"],
|
|
12507
|
+
properties: {
|
|
12508
|
+
title: {
|
|
12509
|
+
type: "string",
|
|
12510
|
+
description: "The title of the merge request",
|
|
12511
|
+
},
|
|
12512
|
+
web_url: {
|
|
12513
|
+
type: "string",
|
|
12514
|
+
description: "The URL of the merge request",
|
|
12515
|
+
},
|
|
12516
|
+
author: {
|
|
12517
|
+
type: "object",
|
|
12518
|
+
description: "The author of the merge request",
|
|
12519
|
+
},
|
|
12520
|
+
merged_at: {
|
|
12521
|
+
type: "string",
|
|
12522
|
+
description: "The date and time the merge request was merged",
|
|
12523
|
+
},
|
|
12524
|
+
},
|
|
12525
|
+
},
|
|
12526
|
+
},
|
|
12304
12527
|
},
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12528
|
+
},
|
|
12529
|
+
{
|
|
12530
|
+
type: "object",
|
|
12531
|
+
description: "Commit contents",
|
|
12532
|
+
required: ["sha", "web_url", "message", "author", "created_at", "files"],
|
|
12533
|
+
properties: {
|
|
12534
|
+
sha: {
|
|
12535
|
+
type: "string",
|
|
12536
|
+
description: "The commit SHA",
|
|
12537
|
+
},
|
|
12538
|
+
web_url: {
|
|
12539
|
+
type: "string",
|
|
12540
|
+
description: "The URL to view the commit in GitLab",
|
|
12541
|
+
},
|
|
12542
|
+
message: {
|
|
12543
|
+
type: "string",
|
|
12544
|
+
description: "The full commit message",
|
|
12545
|
+
},
|
|
12546
|
+
author: {
|
|
12547
|
+
type: "object",
|
|
12548
|
+
required: ["name", "email"],
|
|
12549
|
+
properties: {
|
|
12550
|
+
name: {
|
|
12551
|
+
type: "string",
|
|
12552
|
+
description: "The name of the commit author",
|
|
12553
|
+
},
|
|
12554
|
+
email: {
|
|
12555
|
+
type: "string",
|
|
12556
|
+
description: "The email of the commit author",
|
|
12557
|
+
},
|
|
12558
|
+
},
|
|
12559
|
+
},
|
|
12560
|
+
created_at: {
|
|
12561
|
+
type: "string",
|
|
12562
|
+
description: "The date/time the commit was created",
|
|
12563
|
+
},
|
|
12564
|
+
files: {
|
|
12565
|
+
type: "array",
|
|
12566
|
+
description: "A list of files changed in the commit",
|
|
12567
|
+
items: {
|
|
12568
|
+
type: "object",
|
|
12569
|
+
required: ["old_path", "new_path", "diff"],
|
|
12570
|
+
properties: {
|
|
12571
|
+
old_path: {
|
|
12572
|
+
type: "string",
|
|
12573
|
+
description: "The old path of the file",
|
|
12574
|
+
},
|
|
12575
|
+
new_path: {
|
|
12576
|
+
type: "string",
|
|
12577
|
+
description: "The new path of the file",
|
|
12578
|
+
},
|
|
12579
|
+
diff: {
|
|
12580
|
+
type: "string",
|
|
12581
|
+
description: "The diff contents for the file",
|
|
12582
|
+
},
|
|
12583
|
+
},
|
|
12584
|
+
},
|
|
12585
|
+
},
|
|
12308
12586
|
},
|
|
12309
12587
|
},
|
|
12310
|
-
|
|
12588
|
+
],
|
|
12311
12589
|
},
|
|
12312
12590
|
},
|
|
12313
12591
|
},
|
|
@@ -12350,21 +12628,45 @@ export const gitlabGetFileContentDefinition = {
|
|
|
12350
12628
|
type: "string",
|
|
12351
12629
|
description: "The error that occurred if the operation was not successful",
|
|
12352
12630
|
},
|
|
12353
|
-
|
|
12354
|
-
type: "
|
|
12355
|
-
description: "The
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12631
|
+
results: {
|
|
12632
|
+
type: "array",
|
|
12633
|
+
description: "The results of the file content",
|
|
12634
|
+
items: {
|
|
12635
|
+
type: "object",
|
|
12636
|
+
required: ["name", "url", "contents"],
|
|
12637
|
+
properties: {
|
|
12638
|
+
name: {
|
|
12639
|
+
type: "string",
|
|
12640
|
+
description: "The name of the file",
|
|
12641
|
+
},
|
|
12642
|
+
url: {
|
|
12643
|
+
type: "string",
|
|
12644
|
+
description: "The url of the file",
|
|
12645
|
+
},
|
|
12646
|
+
contents: {
|
|
12647
|
+
type: "object",
|
|
12648
|
+
required: ["content", "size", "name", "htmlUrl"],
|
|
12649
|
+
properties: {
|
|
12650
|
+
content: {
|
|
12651
|
+
type: "string",
|
|
12652
|
+
description: "The decoded file content as a string",
|
|
12653
|
+
},
|
|
12654
|
+
size: {
|
|
12655
|
+
type: "number",
|
|
12656
|
+
description: "The size of the file in bytes",
|
|
12657
|
+
},
|
|
12658
|
+
name: {
|
|
12659
|
+
type: "string",
|
|
12660
|
+
description: "The name of the file",
|
|
12661
|
+
},
|
|
12662
|
+
htmlUrl: {
|
|
12663
|
+
type: "string",
|
|
12664
|
+
description: "The URL of the file in the GitLab UI",
|
|
12665
|
+
},
|
|
12666
|
+
},
|
|
12667
|
+
},
|
|
12668
|
+
},
|
|
12669
|
+
},
|
|
12368
12670
|
},
|
|
12369
12671
|
},
|
|
12370
12672
|
},
|
|
@@ -12398,34 +12700,57 @@ export const gitlabListDirectoryDefinition = {
|
|
|
12398
12700
|
},
|
|
12399
12701
|
output: {
|
|
12400
12702
|
type: "object",
|
|
12401
|
-
required: ["
|
|
12703
|
+
required: ["success"],
|
|
12402
12704
|
properties: {
|
|
12403
|
-
|
|
12705
|
+
success: {
|
|
12706
|
+
type: "boolean",
|
|
12707
|
+
description: "Whether the operation was successful",
|
|
12708
|
+
},
|
|
12709
|
+
error: {
|
|
12710
|
+
type: "string",
|
|
12711
|
+
description: "Error message if the operation failed",
|
|
12712
|
+
},
|
|
12713
|
+
results: {
|
|
12404
12714
|
type: "array",
|
|
12405
12715
|
description: "Array of directory contents",
|
|
12406
12716
|
items: {
|
|
12407
12717
|
type: "object",
|
|
12408
|
-
required: ["name", "
|
|
12718
|
+
required: ["name", "url", "contents"],
|
|
12409
12719
|
properties: {
|
|
12410
12720
|
name: {
|
|
12411
12721
|
type: "string",
|
|
12412
12722
|
description: "The name of the file or directory",
|
|
12413
12723
|
},
|
|
12414
|
-
|
|
12415
|
-
type: "string",
|
|
12416
|
-
description: "The path of the file or directory",
|
|
12417
|
-
},
|
|
12418
|
-
type: {
|
|
12724
|
+
url: {
|
|
12419
12725
|
type: "string",
|
|
12420
|
-
description:
|
|
12726
|
+
description: "The URL of the file or directory",
|
|
12421
12727
|
},
|
|
12422
|
-
|
|
12423
|
-
type: "
|
|
12424
|
-
description: "The
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12728
|
+
contents: {
|
|
12729
|
+
type: "object",
|
|
12730
|
+
description: "The contents of the directory",
|
|
12731
|
+
required: ["name", "path", "type", "htmlUrl"],
|
|
12732
|
+
properties: {
|
|
12733
|
+
name: {
|
|
12734
|
+
type: "string",
|
|
12735
|
+
description: "The name of the file or directory",
|
|
12736
|
+
},
|
|
12737
|
+
path: {
|
|
12738
|
+
type: "string",
|
|
12739
|
+
description: "The path of the file or directory",
|
|
12740
|
+
},
|
|
12741
|
+
type: {
|
|
12742
|
+
type: "string",
|
|
12743
|
+
description: 'The type of the entry (either "blob" for file or "tree" for directory)',
|
|
12744
|
+
},
|
|
12745
|
+
size: {
|
|
12746
|
+
type: "number",
|
|
12747
|
+
description: "The size of the file in bytes (only for blobs; omitted or 0 for trees)",
|
|
12748
|
+
},
|
|
12749
|
+
htmlUrl: {
|
|
12750
|
+
type: "string",
|
|
12751
|
+
description: "The URL of the file or folder in the GitLab UI",
|
|
12752
|
+
},
|
|
12753
|
+
},
|
|
12429
12754
|
},
|
|
12430
12755
|
},
|
|
12431
12756
|
},
|