@credal/actions 0.1.88 → 0.1.90
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/actionMapper.js +26 -0
- package/dist/actions/autogen/definitions.d.ts +5 -0
- package/dist/actions/autogen/definitions.js +132 -0
- package/dist/actions/autogen/templates.d.ts +5 -0
- package/dist/actions/autogen/templates.js +316 -3
- package/dist/actions/autogen/types.d.ts +298 -10
- package/dist/actions/autogen/types.js +85 -5
- package/dist/actions/definitions.js +35 -0
- package/dist/actions/groups.js +6 -0
- package/dist/actions/invokeMapper.d.ts +9 -0
- package/dist/actions/invokeMapper.js +33 -0
- package/dist/actions/providers/asana/getTasksDetails.d.ts +3 -0
- package/dist/actions/providers/asana/getTasksDetails.js +99 -0
- package/dist/actions/providers/asana/searchAsanaTasks.d.ts +3 -0
- package/dist/actions/providers/asana/searchAsanaTasks.js +67 -0
- package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
- package/dist/actions/providers/confluence/updatePage.js +43 -0
- package/dist/actions/providers/google-oauth/searchDriveByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveByKeywords.js +46 -0
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
- package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
- package/dist/actions/providers/jira/createTicket.d.ts +3 -0
- package/dist/actions/providers/jira/createTicket.js +34 -0
- package/dist/actions/providers/notion/searchByTitle.d.ts +3 -0
- package/dist/actions/providers/notion/searchByTitle.js +71 -0
- package/dist/actions/providers/slack/listConversations.d.ts +1 -1
- package/dist/actions/providers/slack/list_conversations.d.ts +3 -0
- package/dist/actions/providers/slack/list_conversations.js +60 -0
- package/dist/actions/providers/slack/summarizeChannel.d.ts +3 -0
- package/dist/actions/providers/slack/summarizeChannel.js +51 -0
- package/dist/actions/schema.js +6 -0
- package/dist/actions/types.js +2 -0
- package/dist/main.js +11 -0
- 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,12 @@ 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"));
|
88
|
+
const searchByTitle_1 = __importDefault(require("./providers/notion/searchByTitle"));
|
85
89
|
exports.ActionMapper = {
|
86
90
|
generic: {
|
87
91
|
fillTemplate: {
|
@@ -106,11 +110,21 @@ exports.ActionMapper = {
|
|
106
110
|
paramsSchema: types_1.asanaUpdateTaskParamsSchema,
|
107
111
|
outputSchema: types_1.asanaUpdateTaskOutputSchema,
|
108
112
|
},
|
113
|
+
searchTasks: {
|
114
|
+
fn: searchAsanaTasks_1.default,
|
115
|
+
paramsSchema: types_1.asanaSearchTasksParamsSchema,
|
116
|
+
outputSchema: types_1.asanaSearchTasksOutputSchema,
|
117
|
+
},
|
109
118
|
listAsanaTasksByProject: {
|
110
119
|
fn: listAsanaTasksByProject_1.default,
|
111
120
|
paramsSchema: types_1.asanaListAsanaTasksByProjectParamsSchema,
|
112
121
|
outputSchema: types_1.asanaListAsanaTasksByProjectOutputSchema,
|
113
122
|
},
|
123
|
+
getTasksDetails: {
|
124
|
+
fn: getTasksDetails_1.default,
|
125
|
+
paramsSchema: types_1.asanaGetTasksDetailsParamsSchema,
|
126
|
+
outputSchema: types_1.asanaGetTasksDetailsOutputSchema,
|
127
|
+
},
|
114
128
|
},
|
115
129
|
math: {
|
116
130
|
add: {
|
@@ -350,6 +364,11 @@ exports.ActionMapper = {
|
|
350
364
|
paramsSchema: types_1.googleOauthUpdatePresentationParamsSchema,
|
351
365
|
outputSchema: types_1.googleOauthUpdatePresentationOutputSchema,
|
352
366
|
},
|
367
|
+
searchDriveByKeywords: {
|
368
|
+
fn: searchDriveByKeywords_1.default,
|
369
|
+
paramsSchema: types_1.googleOauthSearchDriveByKeywordsParamsSchema,
|
370
|
+
outputSchema: types_1.googleOauthSearchDriveByKeywordsOutputSchema,
|
371
|
+
},
|
353
372
|
},
|
354
373
|
x: {
|
355
374
|
createShareXPostUrl: {
|
@@ -517,4 +536,11 @@ exports.ActionMapper = {
|
|
517
536
|
outputSchema: types_1.githubListPullRequestsOutputSchema,
|
518
537
|
},
|
519
538
|
},
|
539
|
+
notion: {
|
540
|
+
searchByTitle: {
|
541
|
+
fn: searchByTitle_1.default,
|
542
|
+
paramsSchema: types_1.notionSearchByTitleParamsSchema,
|
543
|
+
outputSchema: types_1.notionSearchByTitleOutputSchema,
|
544
|
+
},
|
545
|
+
},
|
520
546
|
};
|
@@ -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;
|
@@ -39,6 +41,7 @@ export declare const firecrawlDeepResearchDefinition: ActionTemplate;
|
|
39
41
|
export declare const firecrawlScrapeUrlDefinition: ActionTemplate;
|
40
42
|
export declare const firecrawlScrapeTweetDataWithNitterDefinition: ActionTemplate;
|
41
43
|
export declare const resendSendEmailDefinition: ActionTemplate;
|
44
|
+
export declare const googleOauthSearchFilesByKeywordsDefinition: ActionTemplate;
|
42
45
|
export declare const googleOauthCreateNewGoogleDocDefinition: ActionTemplate;
|
43
46
|
export declare const googleOauthUpdateDocDefinition: ActionTemplate;
|
44
47
|
export declare const googleOauthScheduleCalendarMeetingDefinition: ActionTemplate;
|
@@ -46,6 +49,7 @@ export declare const googleOauthCreateSpreadsheetDefinition: ActionTemplate;
|
|
46
49
|
export declare const googleOauthUpdateSpreadsheetDefinition: ActionTemplate;
|
47
50
|
export declare const googleOauthCreatePresentationDefinition: ActionTemplate;
|
48
51
|
export declare const googleOauthUpdatePresentationDefinition: ActionTemplate;
|
52
|
+
export declare const googleOauthSearchDriveByKeywordsDefinition: ActionTemplate;
|
49
53
|
export declare const gongGetGongTranscriptsDefinition: ActionTemplate;
|
50
54
|
export declare const finnhubSymbolLookupDefinition: ActionTemplate;
|
51
55
|
export declare const finnhubGetBasicFinancialsDefinition: ActionTemplate;
|
@@ -75,3 +79,4 @@ export declare const githubCreateOrUpdateFileDefinition: ActionTemplate;
|
|
75
79
|
export declare const githubCreateBranchDefinition: ActionTemplate;
|
76
80
|
export declare const githubCreatePullRequestDefinition: ActionTemplate;
|
77
81
|
export declare const githubListPullRequestsDefinition: ActionTemplate;
|
82
|
+
export declare const notionSearchByTitleDefinition: ActionTemplate;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
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.googleOauthUpdatePresentationDefinition = exports.googleOauthCreatePresentationDefinition = exports.googleOauthUpdateSpreadsheetDefinition = exports.googleOauthCreateSpreadsheetDefinition = exports.googleOauthScheduleCalendarMeetingDefinition = exports.googleOauthUpdateDocDefinition = exports.googleOauthCreateNewGoogleDocDefinition = exports.googleOauthSearchFilesByKeywordsDefinition = 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.notionSearchByTitleDefinition = 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 = exports.googleOauthSearchDriveByKeywordsDefinition = 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"],
|
@@ -1994,6 +2136,65 @@ exports.resendSendEmailDefinition = {
|
|
1994
2136
|
name: "sendEmail",
|
1995
2137
|
provider: "resend",
|
1996
2138
|
};
|
2139
|
+
exports.googleOauthSearchFilesByKeywordsDefinition = {
|
2140
|
+
description: "Search Google Drive files that contain one or more keywords in their full text.",
|
2141
|
+
scopes: ["https://www.googleapis.com/auth/drive.readonly"],
|
2142
|
+
parameters: {
|
2143
|
+
type: "object",
|
2144
|
+
required: ["keywords"],
|
2145
|
+
properties: {
|
2146
|
+
keywords: {
|
2147
|
+
type: "array",
|
2148
|
+
description: "List of keywords to search for in file contents.",
|
2149
|
+
items: {
|
2150
|
+
type: "string",
|
2151
|
+
},
|
2152
|
+
},
|
2153
|
+
},
|
2154
|
+
},
|
2155
|
+
output: {
|
2156
|
+
type: "object",
|
2157
|
+
required: ["success", "files"],
|
2158
|
+
properties: {
|
2159
|
+
success: {
|
2160
|
+
type: "boolean",
|
2161
|
+
description: "Whether the search was successful",
|
2162
|
+
},
|
2163
|
+
files: {
|
2164
|
+
type: "array",
|
2165
|
+
description: "List of files matching the search",
|
2166
|
+
items: {
|
2167
|
+
type: "object",
|
2168
|
+
required: ["id", "name", "mimeType", "webViewLink"],
|
2169
|
+
properties: {
|
2170
|
+
id: {
|
2171
|
+
type: "string",
|
2172
|
+
description: "The file ID",
|
2173
|
+
},
|
2174
|
+
name: {
|
2175
|
+
type: "string",
|
2176
|
+
description: "The file name",
|
2177
|
+
},
|
2178
|
+
mimeType: {
|
2179
|
+
type: "string",
|
2180
|
+
description: "The MIME type of the file",
|
2181
|
+
},
|
2182
|
+
webViewLink: {
|
2183
|
+
type: "string",
|
2184
|
+
description: "The web link to view the file",
|
2185
|
+
},
|
2186
|
+
},
|
2187
|
+
},
|
2188
|
+
},
|
2189
|
+
error: {
|
2190
|
+
type: "string",
|
2191
|
+
description: "Error message if search failed",
|
2192
|
+
},
|
2193
|
+
},
|
2194
|
+
},
|
2195
|
+
name: "searchFilesByKeywords",
|
2196
|
+
provider: "googleOauth",
|
2197
|
+
};
|
1997
2198
|
exports.googleOauthCreateNewGoogleDocDefinition = {
|
1998
2199
|
description: "Create a new Google Docs document using OAuth authentication",
|
1999
2200
|
scopes: [],
|
@@ -4445,7 +4646,7 @@ exports.googleOauthUpdatePresentationDefinition = {
|
|
4445
4646
|
},
|
4446
4647
|
containsText: {
|
4447
4648
|
type: "object",
|
4448
|
-
description: "
|
4649
|
+
description: "The text to search for in shapes to be replaced",
|
4449
4650
|
required: ["text"],
|
4450
4651
|
properties: {
|
4451
4652
|
text: {
|
@@ -5062,6 +5263,65 @@ exports.googleOauthUpdatePresentationDefinition = {
|
|
5062
5263
|
name: "updatePresentation",
|
5063
5264
|
provider: "googleOauth",
|
5064
5265
|
};
|
5266
|
+
exports.googleOauthSearchDriveByKeywordsDefinition = {
|
5267
|
+
description: "Search Google Drive files that contain one or more keywords in their full text.",
|
5268
|
+
scopes: ["drive.readonly"],
|
5269
|
+
parameters: {
|
5270
|
+
type: "object",
|
5271
|
+
required: ["keywords"],
|
5272
|
+
properties: {
|
5273
|
+
keywords: {
|
5274
|
+
type: "array",
|
5275
|
+
description: "List of keywords to search for in file contents.",
|
5276
|
+
items: {
|
5277
|
+
type: "string",
|
5278
|
+
},
|
5279
|
+
},
|
5280
|
+
},
|
5281
|
+
},
|
5282
|
+
output: {
|
5283
|
+
type: "object",
|
5284
|
+
required: ["success"],
|
5285
|
+
properties: {
|
5286
|
+
success: {
|
5287
|
+
type: "boolean",
|
5288
|
+
description: "Whether the search was successful",
|
5289
|
+
},
|
5290
|
+
files: {
|
5291
|
+
type: "array",
|
5292
|
+
description: "List of files matching the search",
|
5293
|
+
items: {
|
5294
|
+
type: "object",
|
5295
|
+
required: ["id", "name", "mimeType", "url"],
|
5296
|
+
properties: {
|
5297
|
+
id: {
|
5298
|
+
type: "string",
|
5299
|
+
description: "The file ID",
|
5300
|
+
},
|
5301
|
+
name: {
|
5302
|
+
type: "string",
|
5303
|
+
description: "The file name",
|
5304
|
+
},
|
5305
|
+
mimeType: {
|
5306
|
+
type: "string",
|
5307
|
+
description: "The MIME type of the file",
|
5308
|
+
},
|
5309
|
+
url: {
|
5310
|
+
type: "string",
|
5311
|
+
description: "The web link to view the file",
|
5312
|
+
},
|
5313
|
+
},
|
5314
|
+
},
|
5315
|
+
},
|
5316
|
+
error: {
|
5317
|
+
type: "string",
|
5318
|
+
description: "Error message if search failed",
|
5319
|
+
},
|
5320
|
+
},
|
5321
|
+
},
|
5322
|
+
name: "searchDriveByKeywords",
|
5323
|
+
provider: "googleOauth",
|
5324
|
+
};
|
5065
5325
|
exports.gongGetGongTranscriptsDefinition = {
|
5066
5326
|
description: "Get sales call transcripts from Gong",
|
5067
5327
|
scopes: [],
|
@@ -6482,3 +6742,56 @@ exports.githubListPullRequestsDefinition = {
|
|
6482
6742
|
name: "listPullRequests",
|
6483
6743
|
provider: "github",
|
6484
6744
|
};
|
6745
|
+
exports.notionSearchByTitleDefinition = {
|
6746
|
+
description: "Search Notion pages and databases by title",
|
6747
|
+
scopes: [],
|
6748
|
+
parameters: {
|
6749
|
+
type: "object",
|
6750
|
+
required: ["query"],
|
6751
|
+
properties: {
|
6752
|
+
query: {
|
6753
|
+
type: "string",
|
6754
|
+
description: "The query to search for in Notion titles",
|
6755
|
+
},
|
6756
|
+
},
|
6757
|
+
},
|
6758
|
+
output: {
|
6759
|
+
type: "object",
|
6760
|
+
required: ["success"],
|
6761
|
+
properties: {
|
6762
|
+
success: {
|
6763
|
+
type: "boolean",
|
6764
|
+
description: "Whether the search was successful",
|
6765
|
+
},
|
6766
|
+
results: {
|
6767
|
+
type: "array",
|
6768
|
+
description: "List of matching Notion pages",
|
6769
|
+
items: {
|
6770
|
+
type: "object",
|
6771
|
+
required: ["id", "url"],
|
6772
|
+
properties: {
|
6773
|
+
id: {
|
6774
|
+
type: "string",
|
6775
|
+
description: "The Notion page ID",
|
6776
|
+
},
|
6777
|
+
title: {
|
6778
|
+
type: "string",
|
6779
|
+
description: "The page title",
|
6780
|
+
nullable: true,
|
6781
|
+
},
|
6782
|
+
url: {
|
6783
|
+
type: "string",
|
6784
|
+
description: "The URL to the Notion page",
|
6785
|
+
},
|
6786
|
+
},
|
6787
|
+
},
|
6788
|
+
},
|
6789
|
+
error: {
|
6790
|
+
type: "string",
|
6791
|
+
description: "Error message if search failed",
|
6792
|
+
},
|
6793
|
+
},
|
6794
|
+
},
|
6795
|
+
name: "searchByTitle",
|
6796
|
+
provider: "notion",
|
6797
|
+
};
|