@credal/actions 0.1.98 → 0.1.100
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 +73 -9
- package/dist/actions/autogen/templates.d.ts +12 -2
- package/dist/actions/autogen/templates.js +587 -6
- package/dist/actions/autogen/types.d.ts +543 -14
- package/dist/actions/autogen/types.js +171 -7
- package/dist/actions/groups.js +19 -2
- package/dist/actions/providers/confluence/updatePage.js +13 -9
- package/dist/actions/providers/google-oauth/addGroupMember.d.ts +3 -0
- package/dist/actions/providers/google-oauth/addGroupMember.js +37 -0
- package/dist/actions/providers/google-oauth/deleteCalendarEvent.d.ts +3 -0
- package/dist/actions/providers/google-oauth/deleteCalendarEvent.js +35 -0
- package/dist/actions/providers/google-oauth/deleteGroupMember.d.ts +3 -0
- package/dist/actions/providers/google-oauth/deleteGroupMember.js +33 -0
- package/dist/actions/providers/google-oauth/getGroup.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getGroup.js +43 -0
- package/dist/actions/providers/google-oauth/hasGroupMember.d.ts +3 -0
- package/dist/actions/providers/google-oauth/hasGroupMember.js +37 -0
- package/dist/actions/providers/google-oauth/listCalendarEvents.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listCalendarEvents.js +86 -0
- package/dist/actions/providers/google-oauth/listCalendars.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listCalendars.js +63 -0
- package/dist/actions/providers/google-oauth/listGroupMembers.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listGroupMembers.js +54 -0
- package/dist/actions/providers/google-oauth/listGroups.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listGroups.js +56 -0
- package/dist/actions/providers/google-oauth/updateCalendarEvent.d.ts +3 -0
- package/dist/actions/providers/google-oauth/updateCalendarEvent.js +59 -0
- package/dist/actions/providers/googlemail/listGmailThreads.d.ts +3 -0
- package/dist/actions/providers/{google-oauth → googlemail}/listGmailThreads.js +1 -1
- package/dist/actions/providers/googlemail/searchGmailMessages.d.ts +3 -0
- package/dist/actions/providers/{google-oauth → googlemail}/searchGmailMessages.js +1 -1
- package/dist/actions/providers/slack/listConversations.d.ts +1 -1
- package/package.json +1 -1
- package/dist/actions/autogen/definitions.d.ts +0 -5
- package/dist/actions/autogen/definitions.js +0 -132
- package/dist/actions/definitions.js +0 -35
- package/dist/actions/invokeMapper.d.ts +0 -9
- package/dist/actions/invokeMapper.js +0 -33
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +0 -3
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +0 -3
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +0 -3
- package/dist/actions/providers/googlemaps/nearbysearch.js +0 -96
- package/dist/actions/providers/jira/createTicket.d.ts +0 -3
- package/dist/actions/providers/jira/createTicket.js +0 -34
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +0 -3
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +0 -43
- package/dist/actions/providers/slack/list_conversations.d.ts +0 -3
- package/dist/actions/providers/slack/list_conversations.js +0 -60
- package/dist/actions/providers/slack/summarizeChannel.d.ts +0 -3
- package/dist/actions/providers/slack/summarizeChannel.js +0 -51
- package/dist/actions/schema.js +0 -6
- package/dist/actions/types.js +0 -2
- package/dist/main.js +0 -11
@@ -48,6 +48,10 @@ const runSnowflakeQuery_1 = __importDefault(require("./providers/snowflake/runSn
|
|
48
48
|
const enableUserByEmail_1 = __importDefault(require("./providers/looker/enableUserByEmail"));
|
49
49
|
const updateDoc_1 = __importDefault(require("./providers/google-oauth/updateDoc"));
|
50
50
|
const scheduleCalendarMeeting_1 = __importDefault(require("./providers/google-oauth/scheduleCalendarMeeting"));
|
51
|
+
const listCalendars_1 = __importDefault(require("./providers/google-oauth/listCalendars"));
|
52
|
+
const listCalendarEvents_1 = __importDefault(require("./providers/google-oauth/listCalendarEvents"));
|
53
|
+
const updateCalendarEvent_1 = __importDefault(require("./providers/google-oauth/updateCalendarEvent"));
|
54
|
+
const deleteCalendarEvent_1 = __importDefault(require("./providers/google-oauth/deleteCalendarEvent"));
|
51
55
|
const createSpreadsheet_1 = __importDefault(require("./providers/google-oauth/createSpreadsheet"));
|
52
56
|
const updateSpreadsheet_1 = __importDefault(require("./providers/google-oauth/updateSpreadsheet"));
|
53
57
|
const createPresentation_1 = __importDefault(require("./providers/google-oauth/createPresentation"));
|
@@ -81,13 +85,21 @@ const createRecord_1 = __importDefault(require("./providers/salesforce/createRec
|
|
81
85
|
const getTopNSearchResultUrls_1 = __importDefault(require("./providers/bing/getTopNSearchResultUrls"));
|
82
86
|
const getGongTranscripts_1 = __importDefault(require("./providers/gong/getGongTranscripts"));
|
83
87
|
const searchDriveByKeywords_1 = __importDefault(require("./providers/google-oauth/searchDriveByKeywords"));
|
84
|
-
const types_2 = require("./autogen/types");
|
85
88
|
const getFVRecoveryKeyForDevice_1 = __importDefault(require("./providers/kandji/getFVRecoveryKeyForDevice"));
|
86
89
|
const listAsanaTasksByProject_1 = __importDefault(require("./providers/asana/listAsanaTasksByProject"));
|
87
90
|
const getTasksDetails_1 = __importDefault(require("./providers/asana/getTasksDetails"));
|
88
91
|
const searchByTitle_1 = __importDefault(require("./providers/notion/searchByTitle"));
|
89
|
-
const searchGmailMessages_1 = __importDefault(require("./providers/
|
90
|
-
const listGmailThreads_1 = __importDefault(require("./providers/
|
92
|
+
const searchGmailMessages_1 = __importDefault(require("./providers/googlemail/searchGmailMessages"));
|
93
|
+
const listGmailThreads_1 = __importDefault(require("./providers/googlemail/listGmailThreads"));
|
94
|
+
// import listCalendarEvents from "./providers/google-oauth/listCalendarEvents";
|
95
|
+
// import updateCalendarEvent from "./providers/google-oauth/updateCalendarEvent";
|
96
|
+
// import deleteCalendarEvent from "./providers/google-oauth/deleteCalendarEvent";
|
97
|
+
const listGroups_1 = __importDefault(require("./providers/google-oauth/listGroups"));
|
98
|
+
const getGroup_1 = __importDefault(require("./providers/google-oauth/getGroup"));
|
99
|
+
const listGroupMembers_1 = __importDefault(require("./providers/google-oauth/listGroupMembers"));
|
100
|
+
const hasGroupMember_1 = __importDefault(require("./providers/google-oauth/hasGroupMember"));
|
101
|
+
const addGroupMember_1 = __importDefault(require("./providers/google-oauth/addGroupMember"));
|
102
|
+
const deleteGroupMember_1 = __importDefault(require("./providers/google-oauth/deleteGroupMember"));
|
91
103
|
exports.ActionMapper = {
|
92
104
|
generic: {
|
93
105
|
fillTemplate: {
|
@@ -371,15 +383,67 @@ exports.ActionMapper = {
|
|
371
383
|
paramsSchema: types_1.googleOauthSearchDriveByKeywordsParamsSchema,
|
372
384
|
outputSchema: types_1.googleOauthSearchDriveByKeywordsOutputSchema,
|
373
385
|
},
|
386
|
+
listCalendars: {
|
387
|
+
fn: listCalendars_1.default,
|
388
|
+
paramsSchema: types_1.googleOauthListCalendarsParamsSchema,
|
389
|
+
outputSchema: types_1.googleOauthListCalendarsOutputSchema,
|
390
|
+
},
|
391
|
+
listCalendarEvents: {
|
392
|
+
fn: listCalendarEvents_1.default,
|
393
|
+
paramsSchema: types_1.googleOauthListCalendarEventsParamsSchema,
|
394
|
+
outputSchema: types_1.googleOauthListCalendarEventsOutputSchema,
|
395
|
+
},
|
396
|
+
updateCalendarEvent: {
|
397
|
+
fn: updateCalendarEvent_1.default,
|
398
|
+
paramsSchema: types_1.googleOauthUpdateCalendarEventParamsSchema,
|
399
|
+
outputSchema: types_1.googleOauthUpdateCalendarEventOutputSchema,
|
400
|
+
},
|
401
|
+
deleteCalendarEvent: {
|
402
|
+
fn: deleteCalendarEvent_1.default,
|
403
|
+
paramsSchema: types_1.googleOauthDeleteCalendarEventParamsSchema,
|
404
|
+
outputSchema: types_1.googleOauthDeleteCalendarEventOutputSchema,
|
405
|
+
},
|
406
|
+
listGroups: {
|
407
|
+
fn: listGroups_1.default,
|
408
|
+
paramsSchema: types_1.googleOauthListGroupsParamsSchema,
|
409
|
+
outputSchema: types_1.googleOauthListGroupsOutputSchema,
|
410
|
+
},
|
411
|
+
getGroup: {
|
412
|
+
fn: getGroup_1.default,
|
413
|
+
paramsSchema: types_1.googleOauthGetGroupParamsSchema,
|
414
|
+
outputSchema: types_1.googleOauthGetGroupOutputSchema,
|
415
|
+
},
|
416
|
+
listGroupMembers: {
|
417
|
+
fn: listGroupMembers_1.default,
|
418
|
+
paramsSchema: types_1.googleOauthListGroupMembersParamsSchema,
|
419
|
+
outputSchema: types_1.googleOauthListGroupMembersOutputSchema,
|
420
|
+
},
|
421
|
+
hasGroupMember: {
|
422
|
+
fn: hasGroupMember_1.default,
|
423
|
+
paramsSchema: types_1.googleOauthHasGroupMemberParamsSchema,
|
424
|
+
outputSchema: types_1.googleOauthHasGroupMemberOutputSchema,
|
425
|
+
},
|
426
|
+
addGroupMember: {
|
427
|
+
fn: addGroupMember_1.default,
|
428
|
+
paramsSchema: types_1.googleOauthAddGroupMemberParamsSchema,
|
429
|
+
outputSchema: types_1.googleOauthAddGroupMemberOutputSchema,
|
430
|
+
},
|
431
|
+
deleteGroupMember: {
|
432
|
+
fn: deleteGroupMember_1.default,
|
433
|
+
paramsSchema: types_1.googleOauthDeleteGroupMemberParamsSchema,
|
434
|
+
outputSchema: types_1.googleOauthDeleteGroupMemberOutputSchema,
|
435
|
+
},
|
436
|
+
},
|
437
|
+
googlemail: {
|
374
438
|
searchGmailMessages: {
|
375
439
|
fn: searchGmailMessages_1.default,
|
376
|
-
paramsSchema: types_1.
|
377
|
-
outputSchema: types_1.
|
440
|
+
paramsSchema: types_1.googlemailSearchGmailMessagesParamsSchema,
|
441
|
+
outputSchema: types_1.googlemailSearchGmailMessagesOutputSchema,
|
378
442
|
},
|
379
443
|
listGmailThreads: {
|
380
444
|
fn: listGmailThreads_1.default,
|
381
|
-
paramsSchema: types_1.
|
382
|
-
outputSchema: types_1.
|
445
|
+
paramsSchema: types_1.googlemailListGmailThreadsParamsSchema,
|
446
|
+
outputSchema: types_1.googlemailListGmailThreadsOutputSchema,
|
383
447
|
},
|
384
448
|
},
|
385
449
|
x: {
|
@@ -392,8 +456,8 @@ exports.ActionMapper = {
|
|
392
456
|
gong: {
|
393
457
|
getGongTranscripts: {
|
394
458
|
fn: getGongTranscripts_1.default,
|
395
|
-
paramsSchema:
|
396
|
-
outputSchema:
|
459
|
+
paramsSchema: types_1.gongGetGongTranscriptsParamsSchema,
|
460
|
+
outputSchema: types_1.gongGetGongTranscriptsOutputSchema,
|
397
461
|
},
|
398
462
|
},
|
399
463
|
finnhub: {
|
@@ -45,13 +45,23 @@ export declare const googleOauthSearchFilesByKeywordsDefinition: ActionTemplate;
|
|
45
45
|
export declare const googleOauthCreateNewGoogleDocDefinition: ActionTemplate;
|
46
46
|
export declare const googleOauthUpdateDocDefinition: ActionTemplate;
|
47
47
|
export declare const googleOauthScheduleCalendarMeetingDefinition: ActionTemplate;
|
48
|
+
export declare const googleOauthListCalendarsDefinition: ActionTemplate;
|
49
|
+
export declare const googleOauthListCalendarEventsDefinition: ActionTemplate;
|
50
|
+
export declare const googleOauthUpdateCalendarEventDefinition: ActionTemplate;
|
51
|
+
export declare const googleOauthDeleteCalendarEventDefinition: ActionTemplate;
|
48
52
|
export declare const googleOauthCreateSpreadsheetDefinition: ActionTemplate;
|
49
53
|
export declare const googleOauthUpdateSpreadsheetDefinition: ActionTemplate;
|
50
54
|
export declare const googleOauthCreatePresentationDefinition: ActionTemplate;
|
51
55
|
export declare const googleOauthUpdatePresentationDefinition: ActionTemplate;
|
52
56
|
export declare const googleOauthSearchDriveByKeywordsDefinition: ActionTemplate;
|
53
|
-
export declare const
|
54
|
-
export declare const
|
57
|
+
export declare const googleOauthListGroupsDefinition: ActionTemplate;
|
58
|
+
export declare const googleOauthGetGroupDefinition: ActionTemplate;
|
59
|
+
export declare const googleOauthListGroupMembersDefinition: ActionTemplate;
|
60
|
+
export declare const googleOauthHasGroupMemberDefinition: ActionTemplate;
|
61
|
+
export declare const googleOauthAddGroupMemberDefinition: ActionTemplate;
|
62
|
+
export declare const googleOauthDeleteGroupMemberDefinition: ActionTemplate;
|
63
|
+
export declare const googlemailSearchGmailMessagesDefinition: ActionTemplate;
|
64
|
+
export declare const googlemailListGmailThreadsDefinition: ActionTemplate;
|
55
65
|
export declare const gongGetGongTranscriptsDefinition: ActionTemplate;
|
56
66
|
export declare const finnhubSymbolLookupDefinition: ActionTemplate;
|
57
67
|
export declare const finnhubGetBasicFinancialsDefinition: ActionTemplate;
|