@credal/actions 0.2.106 → 0.2.108
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/README.md +2 -2
- package/dist/actions/actionMapper.js +19 -1
- package/dist/actions/autogen/templates.d.ts +3 -0
- package/dist/actions/autogen/templates.js +733 -0
- package/dist/actions/autogen/types.d.ts +1278 -0
- package/dist/actions/autogen/types.js +269 -0
- package/dist/actions/groups.js +14 -1
- package/dist/actions/parse.d.ts +3 -3
- package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
- package/dist/actions/providers/confluence/updatePage.js +46 -0
- package/dist/actions/providers/generic/fillTemplateAction.d.ts +7 -0
- package/dist/actions/providers/generic/fillTemplateAction.js +18 -0
- package/dist/actions/providers/generic/genericApiCall.d.ts +3 -0
- package/dist/actions/providers/generic/genericApiCall.js +38 -0
- package/dist/actions/providers/github/getBranch.d.ts +7 -0
- package/dist/actions/providers/github/getBranch.js +67 -0
- package/dist/actions/providers/github/getPullRequestDetails.d.ts +3 -0
- package/dist/actions/providers/github/getPullRequestDetails.js +61 -0
- package/dist/actions/providers/github/listCommits.d.ts +3 -0
- package/dist/actions/providers/github/listCommits.js +73 -0
- package/dist/actions/providers/google-oauth/editAGoogleCalendarEvent.js +9 -1
- package/dist/actions/providers/google-oauth/getDriveContentById.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getDriveContentById.js +161 -0
- package/dist/actions/providers/google-oauth/listCalendarEvents.js +3 -0
- package/dist/actions/providers/google-oauth/scheduleCalendarMeeting.js +2 -0
- package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.js +47 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.js +78 -0
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +15 -0
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +129 -0
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
- package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
- package/dist/actions/providers/slack/archiveChannel.js +5 -9
- package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +3 -0
- package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +154 -0
- package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +3 -0
- package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +45 -0
- package/dist/utils/datetime.d.ts +1 -0
- package/dist/utils/datetime.js +7 -0
- package/package.json +1 -1
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +0 -3
- package/dist/actions/providers/google-oauth/listGmailThreads.js +0 -98
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +0 -3
- package/dist/actions/providers/google-oauth/searchGmailMessages.js +0 -91
- package/dist/actions/providers/jamf/getComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getComputerInventory.js +0 -45
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.js +0 -40
- package/dist/actions/providers/jamf/restartJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/restartJamfComputerById.js +0 -37
- package/dist/actions/providers/jamf/types.d.ts +0 -8
- package/dist/actions/providers/jamf/types.js +0 -7
|
@@ -4507,6 +4507,10 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
|
|
|
4507
4507
|
type: "string",
|
|
4508
4508
|
description: "The URL to access the scheduled event",
|
|
4509
4509
|
},
|
|
4510
|
+
eventDayOfWeek: {
|
|
4511
|
+
type: "string",
|
|
4512
|
+
description: "The day of the week when the event is scheduled (e.g., Monday, Tuesday, etc.)",
|
|
4513
|
+
},
|
|
4510
4514
|
error: {
|
|
4511
4515
|
type: "string",
|
|
4512
4516
|
description: "The error that occurred if the meeting was not scheduled successfully",
|
|
@@ -4636,10 +4640,18 @@ export const googleOauthListCalendarEventsDefinition = {
|
|
|
4636
4640
|
type: "string",
|
|
4637
4641
|
description: "Start date/time (for timed events, RFC3339 timestamp)",
|
|
4638
4642
|
},
|
|
4643
|
+
startDayOfWeek: {
|
|
4644
|
+
type: "string",
|
|
4645
|
+
description: "The day of the week when the event starts (e.g., Monday, Tuesday, etc.)",
|
|
4646
|
+
},
|
|
4639
4647
|
end: {
|
|
4640
4648
|
type: "string",
|
|
4641
4649
|
description: "End date/time (for timed events, RFC3339 timestamp)",
|
|
4642
4650
|
},
|
|
4651
|
+
endDayOfWeek: {
|
|
4652
|
+
type: "string",
|
|
4653
|
+
description: "The day of the week when the event ends (e.g., Monday, Tuesday, etc.)",
|
|
4654
|
+
},
|
|
4643
4655
|
attendees: {
|
|
4644
4656
|
type: "array",
|
|
4645
4657
|
description: "List of attendees",
|
|
@@ -4884,6 +4896,10 @@ export const googleOauthEditAGoogleCalendarEventDefinition = {
|
|
|
4884
4896
|
type: "string",
|
|
4885
4897
|
description: "The URL to access the edited event",
|
|
4886
4898
|
},
|
|
4899
|
+
eventDayOfWeek: {
|
|
4900
|
+
type: "string",
|
|
4901
|
+
description: "The day of the week when the edited event occurs (e.g., Monday, Tuesday, etc.)",
|
|
4902
|
+
},
|
|
4887
4903
|
error: {
|
|
4888
4904
|
type: "string",
|
|
4889
4905
|
description: "The error that occurred if the event was not edited successfully",
|
|
@@ -10185,6 +10201,283 @@ export const githubListPullRequestsDefinition = {
|
|
|
10185
10201
|
name: "listPullRequests",
|
|
10186
10202
|
provider: "github",
|
|
10187
10203
|
};
|
|
10204
|
+
export const githubGetPullRequestDetailsDefinition = {
|
|
10205
|
+
description: "Get detailed information about a specific pull request including description, files, reviews, and status",
|
|
10206
|
+
scopes: [],
|
|
10207
|
+
parameters: {
|
|
10208
|
+
type: "object",
|
|
10209
|
+
required: ["repositoryOwner", "repositoryName", "pullRequestNumber"],
|
|
10210
|
+
properties: {
|
|
10211
|
+
repositoryOwner: {
|
|
10212
|
+
type: "string",
|
|
10213
|
+
description: "The owner of the repository",
|
|
10214
|
+
},
|
|
10215
|
+
repositoryName: {
|
|
10216
|
+
type: "string",
|
|
10217
|
+
description: "The name of the repository",
|
|
10218
|
+
},
|
|
10219
|
+
pullRequestNumber: {
|
|
10220
|
+
type: "number",
|
|
10221
|
+
description: "The number of the pull request to get details for",
|
|
10222
|
+
},
|
|
10223
|
+
},
|
|
10224
|
+
},
|
|
10225
|
+
output: {
|
|
10226
|
+
type: "object",
|
|
10227
|
+
required: ["success"],
|
|
10228
|
+
properties: {
|
|
10229
|
+
success: {
|
|
10230
|
+
type: "boolean",
|
|
10231
|
+
description: "Whether the operation was successful",
|
|
10232
|
+
},
|
|
10233
|
+
error: {
|
|
10234
|
+
type: "string",
|
|
10235
|
+
description: "The error that occurred if the operation was not successful",
|
|
10236
|
+
},
|
|
10237
|
+
pullRequest: {
|
|
10238
|
+
type: "object",
|
|
10239
|
+
description: "Detailed information about the pull request",
|
|
10240
|
+
properties: {
|
|
10241
|
+
number: {
|
|
10242
|
+
type: "number",
|
|
10243
|
+
description: "The number of the pull request",
|
|
10244
|
+
},
|
|
10245
|
+
title: {
|
|
10246
|
+
type: "string",
|
|
10247
|
+
description: "The title of the pull request",
|
|
10248
|
+
},
|
|
10249
|
+
description: {
|
|
10250
|
+
type: "string",
|
|
10251
|
+
description: "The body/description of the pull request",
|
|
10252
|
+
nullable: true,
|
|
10253
|
+
},
|
|
10254
|
+
state: {
|
|
10255
|
+
type: "string",
|
|
10256
|
+
description: "The state of the pull request",
|
|
10257
|
+
enum: ["open", "closed", "merged"],
|
|
10258
|
+
},
|
|
10259
|
+
draft: {
|
|
10260
|
+
type: "boolean",
|
|
10261
|
+
description: "Whether the pull request is a draft",
|
|
10262
|
+
},
|
|
10263
|
+
url: {
|
|
10264
|
+
type: "string",
|
|
10265
|
+
description: "The API URL of the pull request",
|
|
10266
|
+
},
|
|
10267
|
+
htmlUrl: {
|
|
10268
|
+
type: "string",
|
|
10269
|
+
description: "The web URL of the pull request",
|
|
10270
|
+
},
|
|
10271
|
+
createdAt: {
|
|
10272
|
+
type: "string",
|
|
10273
|
+
description: "The date and time when the pull request was created",
|
|
10274
|
+
},
|
|
10275
|
+
updatedAt: {
|
|
10276
|
+
type: "string",
|
|
10277
|
+
description: "The date and time when the pull request was last updated",
|
|
10278
|
+
},
|
|
10279
|
+
closedAt: {
|
|
10280
|
+
type: "string",
|
|
10281
|
+
description: "The date and time when the pull request was closed",
|
|
10282
|
+
nullable: true,
|
|
10283
|
+
},
|
|
10284
|
+
mergedAt: {
|
|
10285
|
+
type: "string",
|
|
10286
|
+
description: "The date and time when the pull request was merged",
|
|
10287
|
+
nullable: true,
|
|
10288
|
+
},
|
|
10289
|
+
author: {
|
|
10290
|
+
type: "object",
|
|
10291
|
+
description: "The user who created the pull request",
|
|
10292
|
+
properties: {
|
|
10293
|
+
login: {
|
|
10294
|
+
type: "string",
|
|
10295
|
+
description: "The username of the pull request author",
|
|
10296
|
+
},
|
|
10297
|
+
},
|
|
10298
|
+
},
|
|
10299
|
+
assignees: {
|
|
10300
|
+
type: "array",
|
|
10301
|
+
description: "Users assigned to the pull request",
|
|
10302
|
+
items: {
|
|
10303
|
+
type: "object",
|
|
10304
|
+
properties: {
|
|
10305
|
+
login: {
|
|
10306
|
+
type: "string",
|
|
10307
|
+
description: "The username of the assignee",
|
|
10308
|
+
},
|
|
10309
|
+
},
|
|
10310
|
+
},
|
|
10311
|
+
},
|
|
10312
|
+
reviewers: {
|
|
10313
|
+
type: "array",
|
|
10314
|
+
description: "Users requested to review the pull request",
|
|
10315
|
+
items: {
|
|
10316
|
+
type: "object",
|
|
10317
|
+
properties: {
|
|
10318
|
+
login: {
|
|
10319
|
+
type: "string",
|
|
10320
|
+
description: "The username of the reviewer",
|
|
10321
|
+
},
|
|
10322
|
+
},
|
|
10323
|
+
},
|
|
10324
|
+
},
|
|
10325
|
+
labels: {
|
|
10326
|
+
type: "array",
|
|
10327
|
+
description: "Labels applied to the pull request",
|
|
10328
|
+
items: {
|
|
10329
|
+
type: "object",
|
|
10330
|
+
properties: {
|
|
10331
|
+
name: {
|
|
10332
|
+
type: "string",
|
|
10333
|
+
description: "The name of the label",
|
|
10334
|
+
},
|
|
10335
|
+
color: {
|
|
10336
|
+
type: "string",
|
|
10337
|
+
description: "The color of the label",
|
|
10338
|
+
},
|
|
10339
|
+
description: {
|
|
10340
|
+
type: "string",
|
|
10341
|
+
description: "The description of the label",
|
|
10342
|
+
nullable: true,
|
|
10343
|
+
},
|
|
10344
|
+
},
|
|
10345
|
+
},
|
|
10346
|
+
},
|
|
10347
|
+
head: {
|
|
10348
|
+
type: "object",
|
|
10349
|
+
description: "The head branch of the pull request",
|
|
10350
|
+
properties: {
|
|
10351
|
+
ref: {
|
|
10352
|
+
type: "string",
|
|
10353
|
+
description: "The name of the head branch",
|
|
10354
|
+
},
|
|
10355
|
+
sha: {
|
|
10356
|
+
type: "string",
|
|
10357
|
+
description: "The SHA of the head commit",
|
|
10358
|
+
},
|
|
10359
|
+
repo: {
|
|
10360
|
+
type: "object",
|
|
10361
|
+
properties: {
|
|
10362
|
+
name: {
|
|
10363
|
+
type: "string",
|
|
10364
|
+
description: "The name of the head repository",
|
|
10365
|
+
},
|
|
10366
|
+
fullName: {
|
|
10367
|
+
type: "string",
|
|
10368
|
+
description: "The full name of the head repository",
|
|
10369
|
+
},
|
|
10370
|
+
owner: {
|
|
10371
|
+
type: "object",
|
|
10372
|
+
properties: {
|
|
10373
|
+
login: {
|
|
10374
|
+
type: "string",
|
|
10375
|
+
description: "The username of the head repository owner",
|
|
10376
|
+
},
|
|
10377
|
+
},
|
|
10378
|
+
},
|
|
10379
|
+
},
|
|
10380
|
+
},
|
|
10381
|
+
},
|
|
10382
|
+
},
|
|
10383
|
+
base: {
|
|
10384
|
+
type: "object",
|
|
10385
|
+
description: "The base branch of the pull request",
|
|
10386
|
+
properties: {
|
|
10387
|
+
ref: {
|
|
10388
|
+
type: "string",
|
|
10389
|
+
description: "The name of the base branch",
|
|
10390
|
+
},
|
|
10391
|
+
sha: {
|
|
10392
|
+
type: "string",
|
|
10393
|
+
description: "The SHA of the base commit",
|
|
10394
|
+
},
|
|
10395
|
+
repo: {
|
|
10396
|
+
type: "object",
|
|
10397
|
+
properties: {
|
|
10398
|
+
name: {
|
|
10399
|
+
type: "string",
|
|
10400
|
+
description: "The name of the base repository",
|
|
10401
|
+
},
|
|
10402
|
+
fullName: {
|
|
10403
|
+
type: "string",
|
|
10404
|
+
description: "The full name of the base repository",
|
|
10405
|
+
},
|
|
10406
|
+
owner: {
|
|
10407
|
+
type: "object",
|
|
10408
|
+
properties: {
|
|
10409
|
+
login: {
|
|
10410
|
+
type: "string",
|
|
10411
|
+
description: "The username of the base repository owner",
|
|
10412
|
+
},
|
|
10413
|
+
},
|
|
10414
|
+
},
|
|
10415
|
+
},
|
|
10416
|
+
},
|
|
10417
|
+
},
|
|
10418
|
+
},
|
|
10419
|
+
mergeable: {
|
|
10420
|
+
type: "boolean",
|
|
10421
|
+
description: "Whether the pull request can be merged",
|
|
10422
|
+
nullable: true,
|
|
10423
|
+
},
|
|
10424
|
+
mergeableState: {
|
|
10425
|
+
type: "string",
|
|
10426
|
+
description: "The mergeable state of the pull request",
|
|
10427
|
+
nullable: true,
|
|
10428
|
+
},
|
|
10429
|
+
merged: {
|
|
10430
|
+
type: "boolean",
|
|
10431
|
+
description: "Whether the pull request has been merged",
|
|
10432
|
+
},
|
|
10433
|
+
commits: {
|
|
10434
|
+
type: "number",
|
|
10435
|
+
description: "The number of commits in the pull request",
|
|
10436
|
+
},
|
|
10437
|
+
additions: {
|
|
10438
|
+
type: "number",
|
|
10439
|
+
description: "The number of additions in the pull request",
|
|
10440
|
+
},
|
|
10441
|
+
deletions: {
|
|
10442
|
+
type: "number",
|
|
10443
|
+
description: "The number of deletions in the pull request",
|
|
10444
|
+
},
|
|
10445
|
+
changedFiles: {
|
|
10446
|
+
type: "number",
|
|
10447
|
+
description: "The number of files changed in the pull request",
|
|
10448
|
+
},
|
|
10449
|
+
milestone: {
|
|
10450
|
+
type: "object",
|
|
10451
|
+
description: "The milestone associated with the pull request",
|
|
10452
|
+
nullable: true,
|
|
10453
|
+
properties: {
|
|
10454
|
+
title: {
|
|
10455
|
+
type: "string",
|
|
10456
|
+
description: "The title of the milestone",
|
|
10457
|
+
},
|
|
10458
|
+
description: {
|
|
10459
|
+
type: "string",
|
|
10460
|
+
description: "The description of the milestone",
|
|
10461
|
+
nullable: true,
|
|
10462
|
+
},
|
|
10463
|
+
state: {
|
|
10464
|
+
type: "string",
|
|
10465
|
+
description: "The state of the milestone",
|
|
10466
|
+
},
|
|
10467
|
+
dueOn: {
|
|
10468
|
+
type: "string",
|
|
10469
|
+
description: "The due date of the milestone",
|
|
10470
|
+
nullable: true,
|
|
10471
|
+
},
|
|
10472
|
+
},
|
|
10473
|
+
},
|
|
10474
|
+
},
|
|
10475
|
+
},
|
|
10476
|
+
},
|
|
10477
|
+
},
|
|
10478
|
+
name: "getPullRequestDetails",
|
|
10479
|
+
provider: "github",
|
|
10480
|
+
};
|
|
10188
10481
|
export const githubGetFileContentDefinition = {
|
|
10189
10482
|
description: "Get specified file content from a GitHub repository",
|
|
10190
10483
|
scopes: [],
|
|
@@ -10777,6 +11070,446 @@ export const githubSearchOrganizationDefinition = {
|
|
|
10777
11070
|
name: "searchOrganization",
|
|
10778
11071
|
provider: "github",
|
|
10779
11072
|
};
|
|
11073
|
+
export const githubGetBranchDefinition = {
|
|
11074
|
+
description: "Get a branch in a GitHub repository",
|
|
11075
|
+
scopes: [],
|
|
11076
|
+
parameters: {
|
|
11077
|
+
type: "object",
|
|
11078
|
+
required: ["repositoryOwner", "repositoryName", "branchName"],
|
|
11079
|
+
properties: {
|
|
11080
|
+
repositoryOwner: {
|
|
11081
|
+
type: "string",
|
|
11082
|
+
description: "The owner of the repository",
|
|
11083
|
+
},
|
|
11084
|
+
repositoryName: {
|
|
11085
|
+
type: "string",
|
|
11086
|
+
description: "The name of the repository",
|
|
11087
|
+
},
|
|
11088
|
+
branchName: {
|
|
11089
|
+
type: "string",
|
|
11090
|
+
description: "The name of the branch to retrieve",
|
|
11091
|
+
},
|
|
11092
|
+
},
|
|
11093
|
+
},
|
|
11094
|
+
output: {
|
|
11095
|
+
type: "object",
|
|
11096
|
+
required: ["success"],
|
|
11097
|
+
properties: {
|
|
11098
|
+
success: {
|
|
11099
|
+
type: "boolean",
|
|
11100
|
+
description: "Whether the operation was successful",
|
|
11101
|
+
},
|
|
11102
|
+
error: {
|
|
11103
|
+
type: "string",
|
|
11104
|
+
description: "The error that occurred if the operation was not successful",
|
|
11105
|
+
},
|
|
11106
|
+
branch: {
|
|
11107
|
+
type: "object",
|
|
11108
|
+
description: "The branch information",
|
|
11109
|
+
properties: {
|
|
11110
|
+
name: {
|
|
11111
|
+
type: "string",
|
|
11112
|
+
description: "The name of the branch",
|
|
11113
|
+
},
|
|
11114
|
+
commit: {
|
|
11115
|
+
type: "object",
|
|
11116
|
+
description: "The commit information",
|
|
11117
|
+
properties: {
|
|
11118
|
+
sha: {
|
|
11119
|
+
type: "string",
|
|
11120
|
+
description: "The SHA of the commit",
|
|
11121
|
+
},
|
|
11122
|
+
node_id: {
|
|
11123
|
+
type: "string",
|
|
11124
|
+
description: "The node ID of the commit",
|
|
11125
|
+
},
|
|
11126
|
+
url: {
|
|
11127
|
+
type: "string",
|
|
11128
|
+
description: "The API URL of the commit",
|
|
11129
|
+
},
|
|
11130
|
+
html_url: {
|
|
11131
|
+
type: "string",
|
|
11132
|
+
description: "The HTML URL of the commit",
|
|
11133
|
+
},
|
|
11134
|
+
comments_url: {
|
|
11135
|
+
type: "string",
|
|
11136
|
+
description: "The URL for commit comments",
|
|
11137
|
+
},
|
|
11138
|
+
commit: {
|
|
11139
|
+
type: "object",
|
|
11140
|
+
description: "The git commit object",
|
|
11141
|
+
properties: {
|
|
11142
|
+
author: {
|
|
11143
|
+
type: "object",
|
|
11144
|
+
nullable: true,
|
|
11145
|
+
description: "The commit author",
|
|
11146
|
+
properties: {
|
|
11147
|
+
name: {
|
|
11148
|
+
type: "string",
|
|
11149
|
+
},
|
|
11150
|
+
email: {
|
|
11151
|
+
type: "string",
|
|
11152
|
+
},
|
|
11153
|
+
date: {
|
|
11154
|
+
type: "string",
|
|
11155
|
+
},
|
|
11156
|
+
},
|
|
11157
|
+
},
|
|
11158
|
+
committer: {
|
|
11159
|
+
type: "object",
|
|
11160
|
+
nullable: true,
|
|
11161
|
+
description: "The commit committer",
|
|
11162
|
+
properties: {
|
|
11163
|
+
name: {
|
|
11164
|
+
type: "string",
|
|
11165
|
+
},
|
|
11166
|
+
email: {
|
|
11167
|
+
type: "string",
|
|
11168
|
+
},
|
|
11169
|
+
date: {
|
|
11170
|
+
type: "string",
|
|
11171
|
+
},
|
|
11172
|
+
},
|
|
11173
|
+
},
|
|
11174
|
+
message: {
|
|
11175
|
+
type: "string",
|
|
11176
|
+
description: "The commit message",
|
|
11177
|
+
},
|
|
11178
|
+
tree: {
|
|
11179
|
+
type: "object",
|
|
11180
|
+
description: "The commit tree",
|
|
11181
|
+
properties: {
|
|
11182
|
+
sha: {
|
|
11183
|
+
type: "string",
|
|
11184
|
+
},
|
|
11185
|
+
url: {
|
|
11186
|
+
type: "string",
|
|
11187
|
+
},
|
|
11188
|
+
},
|
|
11189
|
+
},
|
|
11190
|
+
url: {
|
|
11191
|
+
type: "string",
|
|
11192
|
+
description: "The commit URL",
|
|
11193
|
+
},
|
|
11194
|
+
comment_count: {
|
|
11195
|
+
type: "integer",
|
|
11196
|
+
description: "Number of comments on the commit",
|
|
11197
|
+
},
|
|
11198
|
+
},
|
|
11199
|
+
},
|
|
11200
|
+
author: {
|
|
11201
|
+
type: "object",
|
|
11202
|
+
nullable: true,
|
|
11203
|
+
description: "The commit author user",
|
|
11204
|
+
properties: {
|
|
11205
|
+
login: {
|
|
11206
|
+
type: "string",
|
|
11207
|
+
},
|
|
11208
|
+
id: {
|
|
11209
|
+
type: "integer",
|
|
11210
|
+
},
|
|
11211
|
+
node_id: {
|
|
11212
|
+
type: "string",
|
|
11213
|
+
},
|
|
11214
|
+
avatar_url: {
|
|
11215
|
+
type: "string",
|
|
11216
|
+
},
|
|
11217
|
+
html_url: {
|
|
11218
|
+
type: "string",
|
|
11219
|
+
},
|
|
11220
|
+
type: {
|
|
11221
|
+
type: "string",
|
|
11222
|
+
},
|
|
11223
|
+
},
|
|
11224
|
+
},
|
|
11225
|
+
committer: {
|
|
11226
|
+
type: "object",
|
|
11227
|
+
nullable: true,
|
|
11228
|
+
description: "The commit committer user",
|
|
11229
|
+
properties: {
|
|
11230
|
+
login: {
|
|
11231
|
+
type: "string",
|
|
11232
|
+
},
|
|
11233
|
+
id: {
|
|
11234
|
+
type: "integer",
|
|
11235
|
+
},
|
|
11236
|
+
node_id: {
|
|
11237
|
+
type: "string",
|
|
11238
|
+
},
|
|
11239
|
+
avatar_url: {
|
|
11240
|
+
type: "string",
|
|
11241
|
+
},
|
|
11242
|
+
html_url: {
|
|
11243
|
+
type: "string",
|
|
11244
|
+
},
|
|
11245
|
+
type: {
|
|
11246
|
+
type: "string",
|
|
11247
|
+
},
|
|
11248
|
+
},
|
|
11249
|
+
},
|
|
11250
|
+
parents: {
|
|
11251
|
+
type: "array",
|
|
11252
|
+
description: "The commit parents",
|
|
11253
|
+
items: {
|
|
11254
|
+
type: "object",
|
|
11255
|
+
properties: {
|
|
11256
|
+
sha: {
|
|
11257
|
+
type: "string",
|
|
11258
|
+
},
|
|
11259
|
+
url: {
|
|
11260
|
+
type: "string",
|
|
11261
|
+
},
|
|
11262
|
+
html_url: {
|
|
11263
|
+
type: "string",
|
|
11264
|
+
},
|
|
11265
|
+
},
|
|
11266
|
+
},
|
|
11267
|
+
},
|
|
11268
|
+
},
|
|
11269
|
+
},
|
|
11270
|
+
_links: {
|
|
11271
|
+
type: "object",
|
|
11272
|
+
description: "Links related to the branch",
|
|
11273
|
+
properties: {
|
|
11274
|
+
html: {
|
|
11275
|
+
type: "string",
|
|
11276
|
+
description: "The HTML URL of the branch",
|
|
11277
|
+
},
|
|
11278
|
+
self: {
|
|
11279
|
+
type: "string",
|
|
11280
|
+
description: "The API URL of the branch",
|
|
11281
|
+
},
|
|
11282
|
+
},
|
|
11283
|
+
},
|
|
11284
|
+
protected: {
|
|
11285
|
+
type: "boolean",
|
|
11286
|
+
description: "Whether the branch is protected",
|
|
11287
|
+
},
|
|
11288
|
+
protection: {
|
|
11289
|
+
type: "object",
|
|
11290
|
+
nullable: true,
|
|
11291
|
+
description: "Branch protection details",
|
|
11292
|
+
properties: {
|
|
11293
|
+
enabled: {
|
|
11294
|
+
type: "boolean",
|
|
11295
|
+
description: "Whether protection is enabled",
|
|
11296
|
+
},
|
|
11297
|
+
required_status_checks: {
|
|
11298
|
+
type: "object",
|
|
11299
|
+
nullable: true,
|
|
11300
|
+
description: "Required status checks",
|
|
11301
|
+
properties: {
|
|
11302
|
+
enforcement_level: {
|
|
11303
|
+
type: "string",
|
|
11304
|
+
},
|
|
11305
|
+
contexts: {
|
|
11306
|
+
type: "array",
|
|
11307
|
+
items: {
|
|
11308
|
+
type: "string",
|
|
11309
|
+
},
|
|
11310
|
+
},
|
|
11311
|
+
strict: {
|
|
11312
|
+
type: "boolean",
|
|
11313
|
+
},
|
|
11314
|
+
},
|
|
11315
|
+
},
|
|
11316
|
+
},
|
|
11317
|
+
},
|
|
11318
|
+
protection_url: {
|
|
11319
|
+
type: "string",
|
|
11320
|
+
description: "The URL of the branch protection settings",
|
|
11321
|
+
},
|
|
11322
|
+
},
|
|
11323
|
+
},
|
|
11324
|
+
},
|
|
11325
|
+
},
|
|
11326
|
+
name: "getBranch",
|
|
11327
|
+
provider: "github",
|
|
11328
|
+
};
|
|
11329
|
+
export const githubListCommitsDefinition = {
|
|
11330
|
+
description: "List commits in a GitHub repository with optional date filtering and pagination",
|
|
11331
|
+
scopes: [],
|
|
11332
|
+
parameters: {
|
|
11333
|
+
type: "object",
|
|
11334
|
+
required: ["repositoryOwner", "repositoryName"],
|
|
11335
|
+
properties: {
|
|
11336
|
+
repositoryOwner: {
|
|
11337
|
+
type: "string",
|
|
11338
|
+
description: "The owner of the repository",
|
|
11339
|
+
},
|
|
11340
|
+
repositoryName: {
|
|
11341
|
+
type: "string",
|
|
11342
|
+
description: "The name of the repository",
|
|
11343
|
+
},
|
|
11344
|
+
branch: {
|
|
11345
|
+
type: "string",
|
|
11346
|
+
description: "The branch to list commits from (defaults to default branch)",
|
|
11347
|
+
},
|
|
11348
|
+
since: {
|
|
11349
|
+
type: "string",
|
|
11350
|
+
description: "Only show commits after this date (ISO 8601 format, e.g., 2023-01-01T00:00:00Z)",
|
|
11351
|
+
},
|
|
11352
|
+
until: {
|
|
11353
|
+
type: "string",
|
|
11354
|
+
description: "Only show commits before this date (ISO 8601 format, e.g., 2023-12-31T23:59:59Z)",
|
|
11355
|
+
},
|
|
11356
|
+
author: {
|
|
11357
|
+
type: "string",
|
|
11358
|
+
description: "Filter commits by author (GitHub username or email)",
|
|
11359
|
+
},
|
|
11360
|
+
perPage: {
|
|
11361
|
+
type: "number",
|
|
11362
|
+
description: "Number of commits to return per page (default 30, max 100)",
|
|
11363
|
+
},
|
|
11364
|
+
page: {
|
|
11365
|
+
type: "number",
|
|
11366
|
+
description: "Page number for pagination (default 1)",
|
|
11367
|
+
},
|
|
11368
|
+
},
|
|
11369
|
+
},
|
|
11370
|
+
output: {
|
|
11371
|
+
type: "object",
|
|
11372
|
+
required: ["success"],
|
|
11373
|
+
properties: {
|
|
11374
|
+
success: {
|
|
11375
|
+
type: "boolean",
|
|
11376
|
+
description: "Whether the operation was successful",
|
|
11377
|
+
},
|
|
11378
|
+
error: {
|
|
11379
|
+
type: "string",
|
|
11380
|
+
description: "The error that occurred if the operation was not successful",
|
|
11381
|
+
},
|
|
11382
|
+
commits: {
|
|
11383
|
+
type: "array",
|
|
11384
|
+
description: "List of commits in the repository",
|
|
11385
|
+
items: {
|
|
11386
|
+
type: "object",
|
|
11387
|
+
required: ["sha", "commit", "author", "committer", "url", "htmlUrl"],
|
|
11388
|
+
properties: {
|
|
11389
|
+
sha: {
|
|
11390
|
+
type: "string",
|
|
11391
|
+
description: "The SHA hash of the commit",
|
|
11392
|
+
},
|
|
11393
|
+
url: {
|
|
11394
|
+
type: "string",
|
|
11395
|
+
description: "The API URL of the commit",
|
|
11396
|
+
},
|
|
11397
|
+
htmlUrl: {
|
|
11398
|
+
type: "string",
|
|
11399
|
+
description: "The web URL of the commit",
|
|
11400
|
+
},
|
|
11401
|
+
commit: {
|
|
11402
|
+
type: "object",
|
|
11403
|
+
required: ["message", "author", "committer", "tree"],
|
|
11404
|
+
properties: {
|
|
11405
|
+
message: {
|
|
11406
|
+
type: "string",
|
|
11407
|
+
description: "The commit message",
|
|
11408
|
+
},
|
|
11409
|
+
author: {
|
|
11410
|
+
type: "object",
|
|
11411
|
+
required: ["name", "email", "date"],
|
|
11412
|
+
properties: {
|
|
11413
|
+
name: {
|
|
11414
|
+
type: "string",
|
|
11415
|
+
description: "The name of the commit author",
|
|
11416
|
+
},
|
|
11417
|
+
email: {
|
|
11418
|
+
type: "string",
|
|
11419
|
+
description: "The email of the commit author",
|
|
11420
|
+
},
|
|
11421
|
+
date: {
|
|
11422
|
+
type: "string",
|
|
11423
|
+
description: "The date when the commit was authored (ISO 8601 format)",
|
|
11424
|
+
},
|
|
11425
|
+
},
|
|
11426
|
+
},
|
|
11427
|
+
committer: {
|
|
11428
|
+
type: "object",
|
|
11429
|
+
required: ["name", "email", "date"],
|
|
11430
|
+
properties: {
|
|
11431
|
+
name: {
|
|
11432
|
+
type: "string",
|
|
11433
|
+
description: "The name of the commit committer",
|
|
11434
|
+
},
|
|
11435
|
+
email: {
|
|
11436
|
+
type: "string",
|
|
11437
|
+
description: "The email of the commit committer",
|
|
11438
|
+
},
|
|
11439
|
+
date: {
|
|
11440
|
+
type: "string",
|
|
11441
|
+
description: "The date when the commit was committed (ISO 8601 format)",
|
|
11442
|
+
},
|
|
11443
|
+
},
|
|
11444
|
+
},
|
|
11445
|
+
tree: {
|
|
11446
|
+
type: "object",
|
|
11447
|
+
required: ["sha", "url"],
|
|
11448
|
+
properties: {
|
|
11449
|
+
sha: {
|
|
11450
|
+
type: "string",
|
|
11451
|
+
description: "The SHA of the tree object",
|
|
11452
|
+
},
|
|
11453
|
+
url: {
|
|
11454
|
+
type: "string",
|
|
11455
|
+
description: "The API URL of the tree object",
|
|
11456
|
+
},
|
|
11457
|
+
},
|
|
11458
|
+
},
|
|
11459
|
+
commentCount: {
|
|
11460
|
+
type: "number",
|
|
11461
|
+
description: "The number of comments on the commit",
|
|
11462
|
+
},
|
|
11463
|
+
},
|
|
11464
|
+
},
|
|
11465
|
+
author: {
|
|
11466
|
+
type: "object",
|
|
11467
|
+
nullable: true,
|
|
11468
|
+
properties: {
|
|
11469
|
+
login: {
|
|
11470
|
+
type: "string",
|
|
11471
|
+
description: "The GitHub username of the commit author",
|
|
11472
|
+
},
|
|
11473
|
+
},
|
|
11474
|
+
},
|
|
11475
|
+
parents: {
|
|
11476
|
+
type: "array",
|
|
11477
|
+
description: "The parent commits",
|
|
11478
|
+
items: {
|
|
11479
|
+
type: "object",
|
|
11480
|
+
required: ["sha", "url", "htmlUrl"],
|
|
11481
|
+
properties: {
|
|
11482
|
+
sha: {
|
|
11483
|
+
type: "string",
|
|
11484
|
+
description: "The SHA of the parent commit",
|
|
11485
|
+
},
|
|
11486
|
+
url: {
|
|
11487
|
+
type: "string",
|
|
11488
|
+
description: "The API URL of the parent commit",
|
|
11489
|
+
},
|
|
11490
|
+
htmlUrl: {
|
|
11491
|
+
type: "string",
|
|
11492
|
+
description: "The web URL of the parent commit",
|
|
11493
|
+
},
|
|
11494
|
+
},
|
|
11495
|
+
},
|
|
11496
|
+
},
|
|
11497
|
+
},
|
|
11498
|
+
},
|
|
11499
|
+
},
|
|
11500
|
+
totalCount: {
|
|
11501
|
+
type: "number",
|
|
11502
|
+
description: "Total number of commits (if available)",
|
|
11503
|
+
},
|
|
11504
|
+
hasMore: {
|
|
11505
|
+
type: "boolean",
|
|
11506
|
+
description: "Whether there are more commits available on subsequent pages",
|
|
11507
|
+
},
|
|
11508
|
+
},
|
|
11509
|
+
},
|
|
11510
|
+
name: "listCommits",
|
|
11511
|
+
provider: "github",
|
|
11512
|
+
};
|
|
10780
11513
|
export const notionSearchByTitleDefinition = {
|
|
10781
11514
|
description: "Search Notion pages and databases by title",
|
|
10782
11515
|
scopes: [],
|