@credal/actions 0.1.98 → 0.1.99
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 +71 -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: {
|
@@ -373,13 +385,63 @@ exports.ActionMapper = {
|
|
373
385
|
},
|
374
386
|
searchGmailMessages: {
|
375
387
|
fn: searchGmailMessages_1.default,
|
376
|
-
paramsSchema: types_1.
|
377
|
-
outputSchema: types_1.
|
388
|
+
paramsSchema: types_1.googlemailSearchGmailMessagesParamsSchema,
|
389
|
+
outputSchema: types_1.googlemailSearchGmailMessagesOutputSchema,
|
378
390
|
},
|
379
391
|
listGmailThreads: {
|
380
392
|
fn: listGmailThreads_1.default,
|
381
|
-
paramsSchema: types_1.
|
382
|
-
outputSchema: types_1.
|
393
|
+
paramsSchema: types_1.googlemailListGmailThreadsParamsSchema,
|
394
|
+
outputSchema: types_1.googlemailListGmailThreadsOutputSchema,
|
395
|
+
},
|
396
|
+
listCalendars: {
|
397
|
+
fn: listCalendars_1.default,
|
398
|
+
paramsSchema: types_1.googleOauthListCalendarsParamsSchema,
|
399
|
+
outputSchema: types_1.googleOauthListCalendarsOutputSchema,
|
400
|
+
},
|
401
|
+
listCalendarEvents: {
|
402
|
+
fn: listCalendarEvents_1.default,
|
403
|
+
paramsSchema: types_1.googleOauthListCalendarEventsParamsSchema,
|
404
|
+
outputSchema: types_1.googleOauthListCalendarEventsOutputSchema,
|
405
|
+
},
|
406
|
+
updateCalendarEvent: {
|
407
|
+
fn: updateCalendarEvent_1.default,
|
408
|
+
paramsSchema: types_1.googleOauthUpdateCalendarEventParamsSchema,
|
409
|
+
outputSchema: types_1.googleOauthUpdateCalendarEventOutputSchema,
|
410
|
+
},
|
411
|
+
deleteCalendarEvent: {
|
412
|
+
fn: deleteCalendarEvent_1.default,
|
413
|
+
paramsSchema: types_1.googleOauthDeleteCalendarEventParamsSchema,
|
414
|
+
outputSchema: types_1.googleOauthDeleteCalendarEventOutputSchema,
|
415
|
+
},
|
416
|
+
listGroups: {
|
417
|
+
fn: listGroups_1.default,
|
418
|
+
paramsSchema: types_1.googleOauthListGroupsParamsSchema,
|
419
|
+
outputSchema: types_1.googleOauthListGroupsOutputSchema,
|
420
|
+
},
|
421
|
+
getGroup: {
|
422
|
+
fn: getGroup_1.default,
|
423
|
+
paramsSchema: types_1.googleOauthGetGroupParamsSchema,
|
424
|
+
outputSchema: types_1.googleOauthGetGroupOutputSchema,
|
425
|
+
},
|
426
|
+
listGroupMembers: {
|
427
|
+
fn: listGroupMembers_1.default,
|
428
|
+
paramsSchema: types_1.googleOauthListGroupMembersParamsSchema,
|
429
|
+
outputSchema: types_1.googleOauthListGroupMembersOutputSchema,
|
430
|
+
},
|
431
|
+
hasGroupMember: {
|
432
|
+
fn: hasGroupMember_1.default,
|
433
|
+
paramsSchema: types_1.googleOauthHasGroupMemberParamsSchema,
|
434
|
+
outputSchema: types_1.googleOauthHasGroupMemberOutputSchema,
|
435
|
+
},
|
436
|
+
addGroupMember: {
|
437
|
+
fn: addGroupMember_1.default,
|
438
|
+
paramsSchema: types_1.googleOauthAddGroupMemberParamsSchema,
|
439
|
+
outputSchema: types_1.googleOauthAddGroupMemberOutputSchema,
|
440
|
+
},
|
441
|
+
deleteGroupMember: {
|
442
|
+
fn: deleteGroupMember_1.default,
|
443
|
+
paramsSchema: types_1.googleOauthDeleteGroupMemberParamsSchema,
|
444
|
+
outputSchema: types_1.googleOauthDeleteGroupMemberOutputSchema,
|
383
445
|
},
|
384
446
|
},
|
385
447
|
x: {
|
@@ -392,8 +454,8 @@ exports.ActionMapper = {
|
|
392
454
|
gong: {
|
393
455
|
getGongTranscripts: {
|
394
456
|
fn: getGongTranscripts_1.default,
|
395
|
-
paramsSchema:
|
396
|
-
outputSchema:
|
457
|
+
paramsSchema: types_1.gongGetGongTranscriptsParamsSchema,
|
458
|
+
outputSchema: types_1.gongGetGongTranscriptsOutputSchema,
|
397
459
|
},
|
398
460
|
},
|
399
461
|
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;
|