@credal/actions 0.1.87 → 0.1.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/actions/actionMapper.js +18 -0
  2. package/dist/actions/autogen/definitions.d.ts +5 -0
  3. package/dist/actions/autogen/definitions.js +132 -0
  4. package/dist/actions/autogen/templates.d.ts +4 -0
  5. package/dist/actions/autogen/templates.js +267 -3
  6. package/dist/actions/autogen/types.d.ts +260 -10
  7. package/dist/actions/autogen/types.js +71 -5
  8. package/dist/actions/definitions.js +35 -0
  9. package/dist/actions/groups.js +2 -0
  10. package/dist/actions/invokeMapper.d.ts +9 -0
  11. package/dist/actions/invokeMapper.js +33 -0
  12. package/dist/actions/providers/asana/getTasksDetails.d.ts +3 -0
  13. package/dist/actions/providers/asana/getTasksDetails.js +99 -0
  14. package/dist/actions/providers/asana/searchAsanaTasks.d.ts +3 -0
  15. package/dist/actions/providers/asana/searchAsanaTasks.js +67 -0
  16. package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
  17. package/dist/actions/providers/confluence/updatePage.js +43 -0
  18. package/dist/actions/providers/gong/getGongTranscripts.js +31 -43
  19. package/dist/actions/providers/google-oauth/searchDriveByKeywords.d.ts +3 -0
  20. package/dist/actions/providers/google-oauth/searchDriveByKeywords.js +46 -0
  21. package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
  22. package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
  23. package/dist/actions/providers/jira/createTicket.d.ts +3 -0
  24. package/dist/actions/providers/jira/createTicket.js +34 -0
  25. package/dist/actions/providers/slack/listConversations.d.ts +1 -1
  26. package/dist/actions/providers/slack/list_conversations.d.ts +3 -0
  27. package/dist/actions/providers/slack/list_conversations.js +60 -0
  28. package/dist/actions/providers/slack/summarizeChannel.d.ts +3 -0
  29. package/dist/actions/providers/slack/summarizeChannel.js +51 -0
  30. package/dist/actions/schema.js +6 -0
  31. package/dist/actions/types.js +2 -0
  32. package/dist/main.js +11 -0
  33. package/package.json +1 -1
@@ -35,6 +35,7 @@ const sendEmail_1 = __importDefault(require("./providers/resend/sendEmail"));
35
35
  const commentAsanaTask_1 = __importDefault(require("./providers/asana/commentAsanaTask"));
36
36
  const createAsanaTask_1 = __importDefault(require("./providers/asana/createAsanaTask"));
37
37
  const updateAsanaTask_1 = __importDefault(require("./providers/asana/updateAsanaTask"));
38
+ const searchAsanaTasks_1 = __importDefault(require("./providers/asana/searchAsanaTasks"));
38
39
  const createSharePostLinkedinUrl_1 = __importDefault(require("./providers/linkedin/createSharePostLinkedinUrl"));
39
40
  const createNewGoogleDoc_1 = __importDefault(require("./providers/google-oauth/createNewGoogleDoc"));
40
41
  const createXSharePostUrl_1 = __importDefault(require("./providers/x/createXSharePostUrl"));
@@ -79,9 +80,11 @@ const getJiraIssuesByQuery_1 = __importDefault(require("./providers/jira/getJira
79
80
  const createRecord_1 = __importDefault(require("./providers/salesforce/createRecord"));
80
81
  const getTopNSearchResultUrls_1 = __importDefault(require("./providers/bing/getTopNSearchResultUrls"));
81
82
  const getGongTranscripts_1 = __importDefault(require("./providers/gong/getGongTranscripts"));
83
+ const searchDriveByKeywords_1 = __importDefault(require("./providers/google-oauth/searchDriveByKeywords"));
82
84
  const types_2 = require("./autogen/types");
83
85
  const getFVRecoveryKeyForDevice_1 = __importDefault(require("./providers/kandji/getFVRecoveryKeyForDevice"));
84
86
  const listAsanaTasksByProject_1 = __importDefault(require("./providers/asana/listAsanaTasksByProject"));
87
+ const getTasksDetails_1 = __importDefault(require("./providers/asana/getTasksDetails"));
85
88
  exports.ActionMapper = {
86
89
  generic: {
87
90
  fillTemplate: {
@@ -106,11 +109,21 @@ exports.ActionMapper = {
106
109
  paramsSchema: types_1.asanaUpdateTaskParamsSchema,
107
110
  outputSchema: types_1.asanaUpdateTaskOutputSchema,
108
111
  },
112
+ searchTasks: {
113
+ fn: searchAsanaTasks_1.default,
114
+ paramsSchema: types_1.asanaSearchTasksParamsSchema,
115
+ outputSchema: types_1.asanaSearchTasksOutputSchema,
116
+ },
109
117
  listAsanaTasksByProject: {
110
118
  fn: listAsanaTasksByProject_1.default,
111
119
  paramsSchema: types_1.asanaListAsanaTasksByProjectParamsSchema,
112
120
  outputSchema: types_1.asanaListAsanaTasksByProjectOutputSchema,
113
121
  },
122
+ getTasksDetails: {
123
+ fn: getTasksDetails_1.default,
124
+ paramsSchema: types_1.asanaGetTasksDetailsParamsSchema,
125
+ outputSchema: types_1.asanaGetTasksDetailsOutputSchema,
126
+ },
114
127
  },
115
128
  math: {
116
129
  add: {
@@ -350,6 +363,11 @@ exports.ActionMapper = {
350
363
  paramsSchema: types_1.googleOauthUpdatePresentationParamsSchema,
351
364
  outputSchema: types_1.googleOauthUpdatePresentationOutputSchema,
352
365
  },
366
+ searchDriveByKeywords: {
367
+ fn: searchDriveByKeywords_1.default,
368
+ paramsSchema: types_1.googleOauthSearchDriveByKeywordsParamsSchema,
369
+ outputSchema: types_1.googleOauthSearchDriveByKeywordsOutputSchema,
370
+ },
353
371
  },
354
372
  x: {
355
373
  createShareXPostUrl: {
@@ -0,0 +1,5 @@
1
+ import { ActionTemplate } from "@/actions/parse";
2
+ export declare const slackSendMessageDefinition: ActionTemplate;
3
+ export declare const slackListConversationsDefinition: ActionTemplate;
4
+ export declare const mathAddDefinition: ActionTemplate;
5
+ export declare const confluenceUpdatePageDefinition: ActionTemplate;
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.confluenceUpdatePageDefinition = exports.mathAddDefinition = exports.slackListConversationsDefinition = exports.slackSendMessageDefinition = void 0;
4
+ exports.slackSendMessageDefinition = {
5
+ provider: "slack",
6
+ name: "send_message",
7
+ description: "Sends a message to a Slack channel",
8
+ scopes: ["chat:write"],
9
+ parameters: {
10
+ channel: {
11
+ type: "string",
12
+ description: "The Slack channel to send the message to (e.g., \\#general, \\#alerts)",
13
+ required: true,
14
+ },
15
+ message: {
16
+ type: "string",
17
+ description: "The message content to send to Slack. Can include markdown formatting.",
18
+ required: true,
19
+ },
20
+ },
21
+ output: {},
22
+ };
23
+ exports.slackListConversationsDefinition = {
24
+ provider: "slack",
25
+ name: "list_conversations",
26
+ description: "Lists all conversations in a Slack workspace",
27
+ scopes: ["channels:read", "groups:read", "im:read", "mpim:read"],
28
+ authToken: {
29
+ type: "string",
30
+ description: "The Slack access token to use",
31
+ required: true,
32
+ },
33
+ parameters: {},
34
+ output: {
35
+ channels: {
36
+ type: "array",
37
+ description: "A list of channels in Slack",
38
+ required: true,
39
+ items: {
40
+ type: "object",
41
+ description: "A channel in Slack",
42
+ required: true,
43
+ properties: {
44
+ id: {
45
+ type: "string",
46
+ description: "The ID of the channel",
47
+ required: true,
48
+ },
49
+ name: {
50
+ type: "string",
51
+ description: "The name of the channel",
52
+ required: true,
53
+ },
54
+ topic: {
55
+ type: "string",
56
+ description: "The topic of the channel",
57
+ required: true,
58
+ },
59
+ purpose: {
60
+ type: "string",
61
+ description: "The purpose of the channel",
62
+ required: true,
63
+ },
64
+ },
65
+ },
66
+ },
67
+ },
68
+ };
69
+ exports.mathAddDefinition = {
70
+ provider: "math",
71
+ name: "add",
72
+ description: "Adds two numbers together",
73
+ scopes: [],
74
+ parameters: {
75
+ a: {
76
+ type: "number",
77
+ description: "The first number to add",
78
+ required: true,
79
+ },
80
+ b: {
81
+ type: "number",
82
+ description: "The second number to add",
83
+ required: true,
84
+ },
85
+ },
86
+ output: {
87
+ result: {
88
+ type: "number",
89
+ description: "The sum of the two numbers",
90
+ required: true,
91
+ },
92
+ },
93
+ };
94
+ exports.confluenceUpdatePageDefinition = {
95
+ provider: "confluence",
96
+ name: "updatePage",
97
+ description: "Updates a confluence page with the new content specified",
98
+ scopes: [],
99
+ authToken: {
100
+ type: "string",
101
+ description: "The access token to use for confluence",
102
+ required: true,
103
+ },
104
+ baseUrl: {
105
+ type: "string",
106
+ description: "The base url required to access the confluence instance",
107
+ required: true,
108
+ },
109
+ parameters: {
110
+ pageId: {
111
+ type: "string",
112
+ description: "The page id that should be updated",
113
+ required: true,
114
+ },
115
+ title: {
116
+ type: "string",
117
+ description: "The title of the page that should be updated",
118
+ required: true,
119
+ },
120
+ username: {
121
+ type: "string",
122
+ description: "The username of the person updating the page",
123
+ required: true,
124
+ },
125
+ content: {
126
+ type: "string",
127
+ description: "The new content for the page",
128
+ required: true,
129
+ },
130
+ },
131
+ output: {},
132
+ };
@@ -4,6 +4,8 @@ export declare const asanaCommentTaskDefinition: ActionTemplate;
4
4
  export declare const asanaListAsanaTasksByProjectDefinition: ActionTemplate;
5
5
  export declare const asanaCreateTaskDefinition: ActionTemplate;
6
6
  export declare const asanaUpdateTaskDefinition: ActionTemplate;
7
+ export declare const asanaSearchTasksDefinition: ActionTemplate;
8
+ export declare const asanaGetTasksDetailsDefinition: ActionTemplate;
7
9
  export declare const slackSendMessageDefinition: ActionTemplate;
8
10
  export declare const slackGetChannelMessagesDefinition: ActionTemplate;
9
11
  export declare const mathAddDefinition: ActionTemplate;
@@ -46,6 +48,7 @@ export declare const googleOauthCreateSpreadsheetDefinition: ActionTemplate;
46
48
  export declare const googleOauthUpdateSpreadsheetDefinition: ActionTemplate;
47
49
  export declare const googleOauthCreatePresentationDefinition: ActionTemplate;
48
50
  export declare const googleOauthUpdatePresentationDefinition: ActionTemplate;
51
+ export declare const googleOauthSearchDriveByKeywordsDefinition: ActionTemplate;
49
52
  export declare const gongGetGongTranscriptsDefinition: ActionTemplate;
50
53
  export declare const finnhubSymbolLookupDefinition: ActionTemplate;
51
54
  export declare const finnhubGetBasicFinancialsDefinition: ActionTemplate;
@@ -75,3 +78,4 @@ export declare const githubCreateOrUpdateFileDefinition: ActionTemplate;
75
78
  export declare const githubCreateBranchDefinition: ActionTemplate;
76
79
  export declare const githubCreatePullRequestDefinition: ActionTemplate;
77
80
  export declare const githubListPullRequestsDefinition: ActionTemplate;
81
+ export declare const googleDriveSearchFilesByKeywordsDefinition: ActionTemplate;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.finnhubGetBasicFinancialsDefinition = exports.finnhubSymbolLookupDefinition = exports.gongGetGongTranscriptsDefinition = exports.googleOauthUpdatePresentationDefinition = exports.googleOauthCreatePresentationDefinition = exports.googleOauthUpdateSpreadsheetDefinition = exports.googleOauthCreateSpreadsheetDefinition = exports.googleOauthScheduleCalendarMeetingDefinition = exports.googleOauthUpdateDocDefinition = exports.googleOauthCreateNewGoogleDocDefinition = exports.resendSendEmailDefinition = exports.firecrawlScrapeTweetDataWithNitterDefinition = exports.firecrawlScrapeUrlDefinition = exports.firecrawlDeepResearchDefinition = exports.nwsGetForecastForLocationDefinition = exports.openstreetmapGetLatitudeLongitudeFromLocationDefinition = exports.snowflakeRunSnowflakeQueryDefinition = exports.snowflakeGetRowByFieldValueDefinition = exports.mongoInsertMongoDocDefinition = exports.xCreateShareXPostUrlDefinition = exports.linkedinCreateShareLinkedinPostUrlDefinition = exports.zendeskAssignTicketDefinition = exports.zendeskAddCommentToTicketDefinition = exports.zendeskUpdateTicketStatusDefinition = exports.zendeskGetTicketDetailsDefinition = exports.zendeskListZendeskTicketsDefinition = exports.zendeskCreateZendeskTicketDefinition = exports.credalCallCopilotDefinition = exports.bingGetTopNSearchResultUrlsDefinition = exports.googlemapsNearbysearchRestaurantsDefinition = exports.googlemapsValidateAddressDefinition = exports.kandjiGetFVRecoveryKeyForDeviceDefinition = exports.jiraGetJiraIssuesByQueryDefinition = exports.jiraUpdateJiraTicketStatusDefinition = exports.jiraUpdateJiraTicketDetailsDefinition = exports.jiraGetJiraTicketHistoryDefinition = exports.jiraGetJiraTicketDetailsDefinition = exports.jiraCreateJiraTicketDefinition = exports.jiraCommentJiraTicketDefinition = exports.jiraAssignJiraTicketDefinition = exports.confluenceFetchPageContentDefinition = exports.confluenceOverwritePageDefinition = exports.mathAddDefinition = exports.slackGetChannelMessagesDefinition = exports.slackSendMessageDefinition = exports.asanaUpdateTaskDefinition = exports.asanaCreateTaskDefinition = exports.asanaListAsanaTasksByProjectDefinition = exports.asanaCommentTaskDefinition = exports.genericFillTemplateDefinition = void 0;
4
- exports.githubListPullRequestsDefinition = exports.githubCreatePullRequestDefinition = exports.githubCreateBranchDefinition = exports.githubCreateOrUpdateFileDefinition = exports.microsoftGetDocumentDefinition = exports.microsoftMessageTeamsChannelDefinition = exports.microsoftMessageTeamsChatDefinition = exports.microsoftUpdateSpreadsheetDefinition = exports.microsoftUpdateDocumentDefinition = exports.microsoftCreateDocumentDefinition = exports.salesforceFetchSalesforceSchemaByObjectDefinition = exports.salesforceGetRecordDefinition = exports.salesforceGetSalesforceRecordsByQueryDefinition = exports.salesforceGenerateSalesReportDefinition = exports.salesforceCreateCaseDefinition = exports.salesforceCreateRecordDefinition = exports.salesforceUpdateRecordDefinition = exports.ashbyUpdateCandidateDefinition = exports.ashbyCreateCandidateDefinition = exports.ashbyListCandidateNotesDefinition = exports.ashbySearchCandidatesDefinition = exports.ashbyListCandidatesDefinition = exports.ashbyAddCandidateToProjectDefinition = exports.ashbyGetCandidateInfoDefinition = exports.ashbyCreateNoteDefinition = exports.lookerEnableUserByEmailDefinition = void 0;
3
+ exports.googleOauthSearchDriveByKeywordsDefinition = exports.googleOauthUpdatePresentationDefinition = exports.googleOauthCreatePresentationDefinition = exports.googleOauthUpdateSpreadsheetDefinition = exports.googleOauthCreateSpreadsheetDefinition = exports.googleOauthScheduleCalendarMeetingDefinition = exports.googleOauthUpdateDocDefinition = exports.googleOauthCreateNewGoogleDocDefinition = exports.resendSendEmailDefinition = exports.firecrawlScrapeTweetDataWithNitterDefinition = exports.firecrawlScrapeUrlDefinition = exports.firecrawlDeepResearchDefinition = exports.nwsGetForecastForLocationDefinition = exports.openstreetmapGetLatitudeLongitudeFromLocationDefinition = exports.snowflakeRunSnowflakeQueryDefinition = exports.snowflakeGetRowByFieldValueDefinition = exports.mongoInsertMongoDocDefinition = exports.xCreateShareXPostUrlDefinition = exports.linkedinCreateShareLinkedinPostUrlDefinition = exports.zendeskAssignTicketDefinition = exports.zendeskAddCommentToTicketDefinition = exports.zendeskUpdateTicketStatusDefinition = exports.zendeskGetTicketDetailsDefinition = exports.zendeskListZendeskTicketsDefinition = exports.zendeskCreateZendeskTicketDefinition = exports.credalCallCopilotDefinition = exports.bingGetTopNSearchResultUrlsDefinition = exports.googlemapsNearbysearchRestaurantsDefinition = exports.googlemapsValidateAddressDefinition = exports.kandjiGetFVRecoveryKeyForDeviceDefinition = exports.jiraGetJiraIssuesByQueryDefinition = exports.jiraUpdateJiraTicketStatusDefinition = exports.jiraUpdateJiraTicketDetailsDefinition = exports.jiraGetJiraTicketHistoryDefinition = exports.jiraGetJiraTicketDetailsDefinition = exports.jiraCreateJiraTicketDefinition = exports.jiraCommentJiraTicketDefinition = exports.jiraAssignJiraTicketDefinition = exports.confluenceFetchPageContentDefinition = exports.confluenceOverwritePageDefinition = exports.mathAddDefinition = exports.slackGetChannelMessagesDefinition = exports.slackSendMessageDefinition = exports.asanaGetTasksDetailsDefinition = exports.asanaSearchTasksDefinition = exports.asanaUpdateTaskDefinition = exports.asanaCreateTaskDefinition = exports.asanaListAsanaTasksByProjectDefinition = exports.asanaCommentTaskDefinition = exports.genericFillTemplateDefinition = void 0;
4
+ exports.googleDriveSearchFilesByKeywordsDefinition = exports.githubListPullRequestsDefinition = exports.githubCreatePullRequestDefinition = exports.githubCreateBranchDefinition = exports.githubCreateOrUpdateFileDefinition = exports.microsoftGetDocumentDefinition = exports.microsoftMessageTeamsChannelDefinition = exports.microsoftMessageTeamsChatDefinition = exports.microsoftUpdateSpreadsheetDefinition = exports.microsoftUpdateDocumentDefinition = exports.microsoftCreateDocumentDefinition = exports.salesforceFetchSalesforceSchemaByObjectDefinition = exports.salesforceGetRecordDefinition = exports.salesforceGetSalesforceRecordsByQueryDefinition = exports.salesforceGenerateSalesReportDefinition = exports.salesforceCreateCaseDefinition = exports.salesforceCreateRecordDefinition = exports.salesforceUpdateRecordDefinition = exports.ashbyUpdateCandidateDefinition = exports.ashbyCreateCandidateDefinition = exports.ashbyListCandidateNotesDefinition = exports.ashbySearchCandidatesDefinition = exports.ashbyListCandidatesDefinition = exports.ashbyAddCandidateToProjectDefinition = exports.ashbyGetCandidateInfoDefinition = exports.ashbyCreateNoteDefinition = exports.lookerEnableUserByEmailDefinition = exports.finnhubGetBasicFinancialsDefinition = exports.finnhubSymbolLookupDefinition = exports.gongGetGongTranscriptsDefinition = void 0;
5
5
  exports.genericFillTemplateDefinition = {
6
6
  description: "Simple utility that takes a template and returns it filled in",
7
7
  scopes: [],
@@ -363,6 +363,148 @@ exports.asanaUpdateTaskDefinition = {
363
363
  name: "updateTask",
364
364
  provider: "asana",
365
365
  };
366
+ exports.asanaSearchTasksDefinition = {
367
+ description: "List all tasks associated with search query",
368
+ scopes: [],
369
+ parameters: {
370
+ type: "object",
371
+ required: ["query"],
372
+ properties: {
373
+ query: {
374
+ type: "string",
375
+ description: "Search query",
376
+ },
377
+ },
378
+ },
379
+ output: {
380
+ type: "object",
381
+ required: ["success"],
382
+ properties: {
383
+ error: {
384
+ type: "string",
385
+ description: "Error if search was unsuccessful",
386
+ },
387
+ success: {
388
+ type: "boolean",
389
+ description: "Whether search was successful",
390
+ },
391
+ results: {
392
+ type: "array",
393
+ description: "The list of tasks that match search query",
394
+ items: {
395
+ type: "object",
396
+ description: "List of tasks that match search query",
397
+ required: ["id", "name", "workspaceId"],
398
+ properties: {
399
+ id: {
400
+ type: "string",
401
+ },
402
+ name: {
403
+ type: "string",
404
+ },
405
+ resourceType: {
406
+ type: "string",
407
+ },
408
+ workspaceId: {
409
+ type: "string",
410
+ },
411
+ },
412
+ },
413
+ },
414
+ },
415
+ },
416
+ name: "searchTasks",
417
+ provider: "asana",
418
+ };
419
+ exports.asanaGetTasksDetailsDefinition = {
420
+ description: "Retrieve detailed information (assignee, comments, description, title, etc.) for a list of task IDs",
421
+ scopes: [],
422
+ parameters: {
423
+ type: "object",
424
+ required: ["taskIds"],
425
+ properties: {
426
+ taskIds: {
427
+ type: "array",
428
+ description: "The list of task ids to get details for",
429
+ items: {
430
+ type: "string",
431
+ },
432
+ },
433
+ },
434
+ },
435
+ output: {
436
+ type: "object",
437
+ required: ["success"],
438
+ properties: {
439
+ errors: {
440
+ type: "array",
441
+ description: "Errors if search was unsuccessful",
442
+ items: {
443
+ type: "string",
444
+ },
445
+ },
446
+ success: {
447
+ type: "boolean",
448
+ description: "Whether search was successful",
449
+ },
450
+ results: {
451
+ type: "array",
452
+ description: "The list of tasks that match search query",
453
+ items: {
454
+ type: "object",
455
+ description: "List of tasks that match search query",
456
+ required: ["id", "name", "approval_status", "completed", "created_at", "assignee_name", "notes", "comments"],
457
+ properties: {
458
+ id: {
459
+ type: "string",
460
+ },
461
+ name: {
462
+ type: "string",
463
+ },
464
+ approval_status: {
465
+ type: "string",
466
+ },
467
+ completed: {
468
+ type: "boolean",
469
+ },
470
+ created_at: {
471
+ type: "string",
472
+ },
473
+ due_at: {
474
+ type: "string",
475
+ },
476
+ assignee_name: {
477
+ type: "string",
478
+ },
479
+ notes: {
480
+ type: "string",
481
+ },
482
+ comments: {
483
+ type: "array",
484
+ items: {
485
+ type: "object",
486
+ required: ["text", "created_at", "creator_name"],
487
+ properties: {
488
+ text: {
489
+ type: "string",
490
+ },
491
+ created_at: {
492
+ type: "string",
493
+ },
494
+ creator_name: {
495
+ type: "string",
496
+ },
497
+ },
498
+ },
499
+ },
500
+ },
501
+ },
502
+ },
503
+ },
504
+ },
505
+ name: "getTasksDetails",
506
+ provider: "asana",
507
+ };
366
508
  exports.slackSendMessageDefinition = {
367
509
  description: "Sends a message to a Slack channel",
368
510
  scopes: ["chat:write"],
@@ -4445,7 +4587,7 @@ exports.googleOauthUpdatePresentationDefinition = {
4445
4587
  },
4446
4588
  containsText: {
4447
4589
  type: "object",
4448
- description: "Criteria for shapes to replace (must contain specified text)",
4590
+ description: "The text to search for in shapes to be replaced",
4449
4591
  required: ["text"],
4450
4592
  properties: {
4451
4593
  text: {
@@ -5062,6 +5204,65 @@ exports.googleOauthUpdatePresentationDefinition = {
5062
5204
  name: "updatePresentation",
5063
5205
  provider: "googleOauth",
5064
5206
  };
5207
+ exports.googleOauthSearchDriveByKeywordsDefinition = {
5208
+ description: "Search Google Drive files that contain one or more keywords in their full text.",
5209
+ scopes: ["drive.readonly"],
5210
+ parameters: {
5211
+ type: "object",
5212
+ required: ["keywords"],
5213
+ properties: {
5214
+ keywords: {
5215
+ type: "array",
5216
+ description: "List of keywords to search for in file contents.",
5217
+ items: {
5218
+ type: "string",
5219
+ },
5220
+ },
5221
+ },
5222
+ },
5223
+ output: {
5224
+ type: "object",
5225
+ required: ["success"],
5226
+ properties: {
5227
+ success: {
5228
+ type: "boolean",
5229
+ description: "Whether the search was successful",
5230
+ },
5231
+ files: {
5232
+ type: "array",
5233
+ description: "List of files matching the search",
5234
+ items: {
5235
+ type: "object",
5236
+ required: ["id", "name", "mimeType", "url"],
5237
+ properties: {
5238
+ id: {
5239
+ type: "string",
5240
+ description: "The file ID",
5241
+ },
5242
+ name: {
5243
+ type: "string",
5244
+ description: "The file name",
5245
+ },
5246
+ mimeType: {
5247
+ type: "string",
5248
+ description: "The MIME type of the file",
5249
+ },
5250
+ url: {
5251
+ type: "string",
5252
+ description: "The web link to view the file",
5253
+ },
5254
+ },
5255
+ },
5256
+ },
5257
+ error: {
5258
+ type: "string",
5259
+ description: "Error message if search failed",
5260
+ },
5261
+ },
5262
+ },
5263
+ name: "searchDriveByKeywords",
5264
+ provider: "googleOauth",
5265
+ };
5065
5266
  exports.gongGetGongTranscriptsDefinition = {
5066
5267
  description: "Get sales call transcripts from Gong",
5067
5268
  scopes: [],
@@ -5114,6 +5315,10 @@ exports.gongGetGongTranscriptsDefinition = {
5114
5315
  type: "string",
5115
5316
  description: "The name of the call",
5116
5317
  },
5318
+ startTime: {
5319
+ type: "string",
5320
+ description: "The start time of the call in ISO 8601 format",
5321
+ },
5117
5322
  transcript: {
5118
5323
  type: "array",
5119
5324
  description: "The transcript",
@@ -6478,3 +6683,62 @@ exports.githubListPullRequestsDefinition = {
6478
6683
  name: "listPullRequests",
6479
6684
  provider: "github",
6480
6685
  };
6686
+ exports.googleDriveSearchFilesByKeywordsDefinition = {
6687
+ description: "Search Google Drive files that contain one or more keywords in their full text.",
6688
+ scopes: ["https://www.googleapis.com/auth/drive.readonly"],
6689
+ parameters: {
6690
+ type: "object",
6691
+ required: ["keywords"],
6692
+ properties: {
6693
+ keywords: {
6694
+ type: "array",
6695
+ description: "List of keywords to search for in file contents.",
6696
+ items: {
6697
+ type: "string",
6698
+ },
6699
+ },
6700
+ },
6701
+ },
6702
+ output: {
6703
+ type: "object",
6704
+ required: ["success", "files"],
6705
+ properties: {
6706
+ success: {
6707
+ type: "boolean",
6708
+ description: "Whether the search was successful",
6709
+ },
6710
+ files: {
6711
+ type: "array",
6712
+ description: "List of files matching the search",
6713
+ items: {
6714
+ type: "object",
6715
+ required: ["id", "name", "mimeType", "webViewLink"],
6716
+ properties: {
6717
+ id: {
6718
+ type: "string",
6719
+ description: "The file ID",
6720
+ },
6721
+ name: {
6722
+ type: "string",
6723
+ description: "The file name",
6724
+ },
6725
+ mimeType: {
6726
+ type: "string",
6727
+ description: "The MIME type of the file",
6728
+ },
6729
+ webViewLink: {
6730
+ type: "string",
6731
+ description: "The web link to view the file",
6732
+ },
6733
+ },
6734
+ },
6735
+ },
6736
+ error: {
6737
+ type: "string",
6738
+ description: "Error message if search failed",
6739
+ },
6740
+ },
6741
+ },
6742
+ name: "searchFilesByKeywords",
6743
+ provider: "googleDrive",
6744
+ };