@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.
Files changed (53) hide show
  1. package/dist/actions/actionMapper.js +73 -9
  2. package/dist/actions/autogen/templates.d.ts +12 -2
  3. package/dist/actions/autogen/templates.js +587 -6
  4. package/dist/actions/autogen/types.d.ts +543 -14
  5. package/dist/actions/autogen/types.js +171 -7
  6. package/dist/actions/groups.js +19 -2
  7. package/dist/actions/providers/confluence/updatePage.js +13 -9
  8. package/dist/actions/providers/google-oauth/addGroupMember.d.ts +3 -0
  9. package/dist/actions/providers/google-oauth/addGroupMember.js +37 -0
  10. package/dist/actions/providers/google-oauth/deleteCalendarEvent.d.ts +3 -0
  11. package/dist/actions/providers/google-oauth/deleteCalendarEvent.js +35 -0
  12. package/dist/actions/providers/google-oauth/deleteGroupMember.d.ts +3 -0
  13. package/dist/actions/providers/google-oauth/deleteGroupMember.js +33 -0
  14. package/dist/actions/providers/google-oauth/getGroup.d.ts +3 -0
  15. package/dist/actions/providers/google-oauth/getGroup.js +43 -0
  16. package/dist/actions/providers/google-oauth/hasGroupMember.d.ts +3 -0
  17. package/dist/actions/providers/google-oauth/hasGroupMember.js +37 -0
  18. package/dist/actions/providers/google-oauth/listCalendarEvents.d.ts +3 -0
  19. package/dist/actions/providers/google-oauth/listCalendarEvents.js +86 -0
  20. package/dist/actions/providers/google-oauth/listCalendars.d.ts +3 -0
  21. package/dist/actions/providers/google-oauth/listCalendars.js +63 -0
  22. package/dist/actions/providers/google-oauth/listGroupMembers.d.ts +3 -0
  23. package/dist/actions/providers/google-oauth/listGroupMembers.js +54 -0
  24. package/dist/actions/providers/google-oauth/listGroups.d.ts +3 -0
  25. package/dist/actions/providers/google-oauth/listGroups.js +56 -0
  26. package/dist/actions/providers/google-oauth/updateCalendarEvent.d.ts +3 -0
  27. package/dist/actions/providers/google-oauth/updateCalendarEvent.js +59 -0
  28. package/dist/actions/providers/googlemail/listGmailThreads.d.ts +3 -0
  29. package/dist/actions/providers/{google-oauth → googlemail}/listGmailThreads.js +1 -1
  30. package/dist/actions/providers/googlemail/searchGmailMessages.d.ts +3 -0
  31. package/dist/actions/providers/{google-oauth → googlemail}/searchGmailMessages.js +1 -1
  32. package/dist/actions/providers/slack/listConversations.d.ts +1 -1
  33. package/package.json +1 -1
  34. package/dist/actions/autogen/definitions.d.ts +0 -5
  35. package/dist/actions/autogen/definitions.js +0 -132
  36. package/dist/actions/definitions.js +0 -35
  37. package/dist/actions/invokeMapper.d.ts +0 -9
  38. package/dist/actions/invokeMapper.js +0 -33
  39. package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +0 -3
  40. package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +0 -3
  41. package/dist/actions/providers/googlemaps/nearbysearch.d.ts +0 -3
  42. package/dist/actions/providers/googlemaps/nearbysearch.js +0 -96
  43. package/dist/actions/providers/jira/createTicket.d.ts +0 -3
  44. package/dist/actions/providers/jira/createTicket.js +0 -34
  45. package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +0 -3
  46. package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +0 -43
  47. package/dist/actions/providers/slack/list_conversations.d.ts +0 -3
  48. package/dist/actions/providers/slack/list_conversations.js +0 -60
  49. package/dist/actions/providers/slack/summarizeChannel.d.ts +0 -3
  50. package/dist/actions/providers/slack/summarizeChannel.js +0 -51
  51. package/dist/actions/schema.js +0 -6
  52. package/dist/actions/types.js +0 -2
  53. package/dist/main.js +0 -11
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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.googleOauthListGmailThreadsDefinition = exports.googleOauthSearchGmailMessagesDefinition = exports.googleOauthSearchDriveByKeywordsDefinition = void 0;
3
+ exports.googleOauthDeleteCalendarEventDefinition = exports.googleOauthUpdateCalendarEventDefinition = exports.googleOauthListCalendarEventsDefinition = exports.googleOauthListCalendarsDefinition = 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.googlemailListGmailThreadsDefinition = exports.googlemailSearchGmailMessagesDefinition = exports.googleOauthDeleteGroupMemberDefinition = exports.googleOauthAddGroupMemberDefinition = exports.googleOauthHasGroupMemberDefinition = exports.googleOauthListGroupMembersDefinition = exports.googleOauthGetGroupDefinition = exports.googleOauthListGroupsDefinition = exports.googleOauthSearchDriveByKeywordsDefinition = exports.googleOauthUpdatePresentationDefinition = exports.googleOauthCreatePresentationDefinition = exports.googleOauthUpdateSpreadsheetDefinition = exports.googleOauthCreateSpreadsheetDefinition = void 0;
5
5
  exports.genericFillTemplateDefinition = {
6
6
  description: "Simple utility that takes a template and returns it filled in",
7
7
  scopes: [],
@@ -3407,6 +3407,309 @@ exports.googleOauthScheduleCalendarMeetingDefinition = {
3407
3407
  name: "scheduleCalendarMeeting",
3408
3408
  provider: "googleOauth",
3409
3409
  };
3410
+ exports.googleOauthListCalendarsDefinition = {
3411
+ description: "List all Google Calendars for the authenticated user",
3412
+ scopes: ["https://www.googleapis.com/auth/calendar.readonly"],
3413
+ parameters: {
3414
+ type: "object",
3415
+ required: [],
3416
+ properties: {
3417
+ maxResults: {
3418
+ type: "integer",
3419
+ description: "Maximum number of calendars to return, defaults to 250",
3420
+ },
3421
+ },
3422
+ },
3423
+ output: {
3424
+ type: "object",
3425
+ required: ["success", "calendars"],
3426
+ properties: {
3427
+ success: {
3428
+ type: "boolean",
3429
+ description: "Whether the calendars were listed successfully",
3430
+ },
3431
+ calendars: {
3432
+ type: "array",
3433
+ description: "List of calendars",
3434
+ items: {
3435
+ type: "object",
3436
+ required: ["id", "summary"],
3437
+ properties: {
3438
+ id: {
3439
+ type: "string",
3440
+ description: "The calendar ID",
3441
+ },
3442
+ summary: {
3443
+ type: "string",
3444
+ description: "The calendar name",
3445
+ },
3446
+ },
3447
+ },
3448
+ },
3449
+ error: {
3450
+ type: "string",
3451
+ description: "Error message if listing failed",
3452
+ },
3453
+ },
3454
+ },
3455
+ name: "listCalendars",
3456
+ provider: "googleOauth",
3457
+ };
3458
+ exports.googleOauthListCalendarEventsDefinition = {
3459
+ description: "List events on a Google Calendar, optionally searching by query.",
3460
+ scopes: ["https://www.googleapis.com/auth/calendar.readonly"],
3461
+ parameters: {
3462
+ type: "object",
3463
+ required: ["calendarId"],
3464
+ properties: {
3465
+ calendarId: {
3466
+ type: "string",
3467
+ description: "The ID of the calendar to list events from",
3468
+ },
3469
+ query: {
3470
+ type: "string",
3471
+ description: "Optional free-text search query to filter events",
3472
+ },
3473
+ maxResults: {
3474
+ type: "integer",
3475
+ description: "Maximum number of events to return, defaults to 250",
3476
+ },
3477
+ },
3478
+ },
3479
+ output: {
3480
+ type: "object",
3481
+ required: ["success", "events"],
3482
+ properties: {
3483
+ success: {
3484
+ type: "boolean",
3485
+ description: "Whether the events were listed successfully",
3486
+ },
3487
+ events: {
3488
+ type: "array",
3489
+ description: "List of events",
3490
+ items: {
3491
+ type: "object",
3492
+ description: "A calendar event",
3493
+ properties: {
3494
+ id: {
3495
+ type: "string",
3496
+ description: "Event unique identifier",
3497
+ },
3498
+ status: {
3499
+ type: "string",
3500
+ description: "Status of the event (e.g., confirmed, cancelled)",
3501
+ },
3502
+ url: {
3503
+ type: "string",
3504
+ description: "Link to the event in the Google Calendar web UI",
3505
+ },
3506
+ title: {
3507
+ type: "string",
3508
+ description: "Title of the event",
3509
+ },
3510
+ description: {
3511
+ type: "string",
3512
+ description: "Description of the event",
3513
+ },
3514
+ location: {
3515
+ type: "string",
3516
+ description: "Geographic location of the event as free-form text",
3517
+ },
3518
+ start: {
3519
+ type: "string",
3520
+ description: "Start date/time (for timed events, RFC3339 timestamp)",
3521
+ },
3522
+ end: {
3523
+ type: "string",
3524
+ description: "End date/time (for timed events, RFC3339 timestamp)",
3525
+ },
3526
+ attendees: {
3527
+ type: "array",
3528
+ description: "List of attendees",
3529
+ items: {
3530
+ type: "object",
3531
+ properties: {
3532
+ email: {
3533
+ type: "string",
3534
+ description: "The attendee's email address",
3535
+ },
3536
+ displayName: {
3537
+ type: "string",
3538
+ description: "The attendee's name",
3539
+ },
3540
+ responseStatus: {
3541
+ type: "string",
3542
+ description: "The attendee's response status (accepted, declined, etc.)",
3543
+ },
3544
+ },
3545
+ },
3546
+ },
3547
+ organizer: {
3548
+ type: "object",
3549
+ description: "The organizer of the event",
3550
+ properties: {
3551
+ email: {
3552
+ type: "string",
3553
+ description: "The organizer's email address",
3554
+ },
3555
+ displayName: {
3556
+ type: "string",
3557
+ description: "The organizer's name",
3558
+ },
3559
+ },
3560
+ },
3561
+ hangoutLink: {
3562
+ type: "string",
3563
+ description: "Google Meet link for the event, if available",
3564
+ },
3565
+ created: {
3566
+ type: "string",
3567
+ description: "Creation time of the event (RFC3339 timestamp)",
3568
+ },
3569
+ updated: {
3570
+ type: "string",
3571
+ description: "Last modification time of the event (RFC3339 timestamp)",
3572
+ },
3573
+ },
3574
+ },
3575
+ },
3576
+ error: {
3577
+ type: "string",
3578
+ description: "Error message if listing failed",
3579
+ },
3580
+ },
3581
+ },
3582
+ name: "listCalendarEvents",
3583
+ provider: "googleOauth",
3584
+ };
3585
+ exports.googleOauthUpdateCalendarEventDefinition = {
3586
+ description: "Update an event on a Google Calendar using OAuth authentication",
3587
+ scopes: ["https://www.googleapis.com/auth/calendar"],
3588
+ parameters: {
3589
+ type: "object",
3590
+ required: ["calendarId", "eventId"],
3591
+ properties: {
3592
+ calendarId: {
3593
+ type: "string",
3594
+ description: "The ID of the calendar containing the event",
3595
+ },
3596
+ eventId: {
3597
+ type: "string",
3598
+ description: "The ID of the event to update",
3599
+ },
3600
+ updates: {
3601
+ type: "object",
3602
+ description: "The fields to update on the event",
3603
+ properties: {
3604
+ title: {
3605
+ type: "string",
3606
+ description: "The new title of the event",
3607
+ },
3608
+ description: {
3609
+ type: "string",
3610
+ description: "The new description of the event",
3611
+ },
3612
+ start: {
3613
+ type: "string",
3614
+ description: "The new start date/time (RFC3339 timestamp)",
3615
+ },
3616
+ end: {
3617
+ type: "string",
3618
+ description: "The new end date/time (RFC3339 timestamp)",
3619
+ },
3620
+ location: {
3621
+ type: "string",
3622
+ description: "The new location of the event",
3623
+ },
3624
+ attendees: {
3625
+ type: "array",
3626
+ description: "The new list of attendees",
3627
+ items: {
3628
+ type: "string",
3629
+ description: "The email of the attendee",
3630
+ },
3631
+ },
3632
+ status: {
3633
+ type: "string",
3634
+ description: "The new status of the event (e.g., confirmed, cancelled)",
3635
+ },
3636
+ organizer: {
3637
+ type: "object",
3638
+ description: "The new organizer of the event",
3639
+ properties: {
3640
+ email: {
3641
+ type: "string",
3642
+ description: "The organizer's email address",
3643
+ },
3644
+ displayName: {
3645
+ type: "string",
3646
+ description: "The organizer's name",
3647
+ },
3648
+ },
3649
+ },
3650
+ },
3651
+ },
3652
+ },
3653
+ },
3654
+ output: {
3655
+ type: "object",
3656
+ required: ["success"],
3657
+ properties: {
3658
+ success: {
3659
+ type: "boolean",
3660
+ description: "Whether the event was updated successfully",
3661
+ },
3662
+ eventId: {
3663
+ type: "string",
3664
+ description: "The ID of the updated event",
3665
+ },
3666
+ eventUrl: {
3667
+ type: "string",
3668
+ description: "The URL to access the updated event",
3669
+ },
3670
+ error: {
3671
+ type: "string",
3672
+ description: "The error that occurred if the event was not updated successfully",
3673
+ },
3674
+ },
3675
+ },
3676
+ name: "updateCalendarEvent",
3677
+ provider: "googleOauth",
3678
+ };
3679
+ exports.googleOauthDeleteCalendarEventDefinition = {
3680
+ description: "Delete an event from a Google Calendar using OAuth authentication",
3681
+ scopes: ["https://www.googleapis.com/auth/calendar"],
3682
+ parameters: {
3683
+ type: "object",
3684
+ required: ["calendarId", "eventId"],
3685
+ properties: {
3686
+ calendarId: {
3687
+ type: "string",
3688
+ description: "The ID of the calendar containing the event",
3689
+ },
3690
+ eventId: {
3691
+ type: "string",
3692
+ description: "The ID of the event to delete",
3693
+ },
3694
+ },
3695
+ },
3696
+ output: {
3697
+ type: "object",
3698
+ required: ["success"],
3699
+ properties: {
3700
+ success: {
3701
+ type: "boolean",
3702
+ description: "Whether the event was deleted successfully",
3703
+ },
3704
+ error: {
3705
+ type: "string",
3706
+ description: "The error that occurred if the event was not deleted successfully",
3707
+ },
3708
+ },
3709
+ },
3710
+ name: "deleteCalendarEvent",
3711
+ provider: "googleOauth",
3712
+ };
3410
3713
  exports.googleOauthCreateSpreadsheetDefinition = {
3411
3714
  description: "Create a new Google Spreadsheet using OAuth authentication",
3412
3715
  scopes: [],
@@ -5323,7 +5626,285 @@ exports.googleOauthSearchDriveByKeywordsDefinition = {
5323
5626
  name: "searchDriveByKeywords",
5324
5627
  provider: "googleOauth",
5325
5628
  };
5326
- exports.googleOauthSearchGmailMessagesDefinition = {
5629
+ exports.googleOauthListGroupsDefinition = {
5630
+ description: "List all Google Groups for the customer.",
5631
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.readonly"],
5632
+ parameters: {
5633
+ type: "object",
5634
+ required: [],
5635
+ properties: {
5636
+ maxResults: {
5637
+ type: "integer",
5638
+ description: "The maximum number of groups to return (max allowed is 200)",
5639
+ },
5640
+ },
5641
+ },
5642
+ output: {
5643
+ type: "object",
5644
+ required: ["success", "groups"],
5645
+ properties: {
5646
+ success: {
5647
+ type: "boolean",
5648
+ description: "Whether the groups were listed successfully",
5649
+ },
5650
+ groups: {
5651
+ type: "array",
5652
+ description: "The list of Google Groups",
5653
+ items: {
5654
+ type: "object",
5655
+ required: ["id", "email", "name"],
5656
+ properties: {
5657
+ id: {
5658
+ type: "string",
5659
+ description: "The unique ID of the group",
5660
+ },
5661
+ email: {
5662
+ type: "string",
5663
+ description: "The email address of the group",
5664
+ },
5665
+ name: {
5666
+ type: "string",
5667
+ description: "The name of the group",
5668
+ },
5669
+ description: {
5670
+ type: "string",
5671
+ description: "The description of the group",
5672
+ },
5673
+ },
5674
+ },
5675
+ },
5676
+ error: {
5677
+ type: "string",
5678
+ description: "The error that occurred if the groups could not be listed",
5679
+ },
5680
+ },
5681
+ },
5682
+ name: "listGroups",
5683
+ provider: "googleOauth",
5684
+ };
5685
+ exports.googleOauthGetGroupDefinition = {
5686
+ description: "Get details for a specific Google Group by group email or ID.",
5687
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.readonly"],
5688
+ parameters: {
5689
+ type: "object",
5690
+ required: ["groupKey"],
5691
+ properties: {
5692
+ groupKey: {
5693
+ type: "string",
5694
+ description: "The group's email address or unique group ID",
5695
+ },
5696
+ },
5697
+ },
5698
+ output: {
5699
+ type: "object",
5700
+ required: ["success", "group"],
5701
+ properties: {
5702
+ success: {
5703
+ type: "boolean",
5704
+ description: "Whether the group was retrieved successfully",
5705
+ },
5706
+ group: {
5707
+ type: "object",
5708
+ required: ["id", "email", "name"],
5709
+ properties: {
5710
+ id: {
5711
+ type: "string",
5712
+ description: "The unique ID of the group",
5713
+ },
5714
+ email: {
5715
+ type: "string",
5716
+ description: "The email address of the group",
5717
+ },
5718
+ name: {
5719
+ type: "string",
5720
+ description: "The name of the group",
5721
+ },
5722
+ description: {
5723
+ type: "string",
5724
+ description: "The description of the group",
5725
+ },
5726
+ },
5727
+ },
5728
+ error: {
5729
+ type: "string",
5730
+ description: "The error that occurred if the group could not be retrieved",
5731
+ },
5732
+ },
5733
+ },
5734
+ name: "getGroup",
5735
+ provider: "googleOauth",
5736
+ };
5737
+ exports.googleOauthListGroupMembersDefinition = {
5738
+ description: "List all members of a Google Group.",
5739
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.member.readonly"],
5740
+ parameters: {
5741
+ type: "object",
5742
+ required: ["groupKey"],
5743
+ properties: {
5744
+ groupKey: {
5745
+ type: "string",
5746
+ description: "The group's email address or unique group ID",
5747
+ },
5748
+ maxResults: {
5749
+ type: "integer",
5750
+ description: "The maximum number of members to return (max allowed is 200)",
5751
+ },
5752
+ },
5753
+ },
5754
+ output: {
5755
+ type: "object",
5756
+ required: ["success", "members"],
5757
+ properties: {
5758
+ success: {
5759
+ type: "boolean",
5760
+ description: "Whether the members were listed successfully",
5761
+ },
5762
+ members: {
5763
+ type: "array",
5764
+ description: "The list of group members",
5765
+ items: {
5766
+ type: "object",
5767
+ required: ["id", "email", "role", "type"],
5768
+ properties: {
5769
+ id: {
5770
+ type: "string",
5771
+ description: "The unique ID of the member",
5772
+ },
5773
+ email: {
5774
+ type: "string",
5775
+ description: "The email address of the member",
5776
+ },
5777
+ role: {
5778
+ type: "string",
5779
+ description: "The role of the member in the group (OWNER, MANAGER, MEMBER)",
5780
+ },
5781
+ type: {
5782
+ type: "string",
5783
+ description: "The type of the member (USER, GROUP)",
5784
+ },
5785
+ },
5786
+ },
5787
+ },
5788
+ error: {
5789
+ type: "string",
5790
+ description: "The error that occurred if the members could not be listed",
5791
+ },
5792
+ },
5793
+ },
5794
+ name: "listGroupMembers",
5795
+ provider: "googleOauth",
5796
+ };
5797
+ exports.googleOauthHasGroupMemberDefinition = {
5798
+ description: "Check if a user is a member of a Google Group.",
5799
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.member.readonly"],
5800
+ parameters: {
5801
+ type: "object",
5802
+ required: ["groupKey", "memberKey"],
5803
+ properties: {
5804
+ groupKey: {
5805
+ type: "string",
5806
+ description: "The group's email address or unique group ID",
5807
+ },
5808
+ memberKey: {
5809
+ type: "string",
5810
+ description: "The member's email address or unique member ID",
5811
+ },
5812
+ },
5813
+ },
5814
+ output: {
5815
+ type: "object",
5816
+ required: ["success", "isMember"],
5817
+ properties: {
5818
+ success: {
5819
+ type: "boolean",
5820
+ description: "Whether the check was performed successfully",
5821
+ },
5822
+ isMember: {
5823
+ type: "boolean",
5824
+ description: "Whether the user is a member of the group",
5825
+ },
5826
+ error: {
5827
+ type: "string",
5828
+ description: "The error that occurred if the check could not be performed",
5829
+ },
5830
+ },
5831
+ },
5832
+ name: "hasGroupMember",
5833
+ provider: "googleOauth",
5834
+ };
5835
+ exports.googleOauthAddGroupMemberDefinition = {
5836
+ description: "Add a member to a Google Group.",
5837
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.member"],
5838
+ parameters: {
5839
+ type: "object",
5840
+ required: ["groupKey", "email"],
5841
+ properties: {
5842
+ groupKey: {
5843
+ type: "string",
5844
+ description: "The group's email address or unique group ID",
5845
+ },
5846
+ email: {
5847
+ type: "string",
5848
+ description: "The email address of the user to add",
5849
+ },
5850
+ },
5851
+ },
5852
+ output: {
5853
+ type: "object",
5854
+ required: ["success", "memberID"],
5855
+ properties: {
5856
+ success: {
5857
+ type: "boolean",
5858
+ description: "Whether the member was added successfully",
5859
+ },
5860
+ memberID: {
5861
+ type: "string",
5862
+ description: "The unique ID of the member",
5863
+ },
5864
+ error: {
5865
+ type: "string",
5866
+ description: "The error that occurred if the member could not be added",
5867
+ },
5868
+ },
5869
+ },
5870
+ name: "addGroupMember",
5871
+ provider: "googleOauth",
5872
+ };
5873
+ exports.googleOauthDeleteGroupMemberDefinition = {
5874
+ description: "Remove a member from a Google Group.",
5875
+ scopes: ["https://www.googleapis.com/auth/admin.directory.group.member"],
5876
+ parameters: {
5877
+ type: "object",
5878
+ required: ["groupKey", "memberKey"],
5879
+ properties: {
5880
+ groupKey: {
5881
+ type: "string",
5882
+ description: "The group's email address or unique group ID",
5883
+ },
5884
+ memberKey: {
5885
+ type: "string",
5886
+ description: "The member's email address or unique member ID",
5887
+ },
5888
+ },
5889
+ },
5890
+ output: {
5891
+ type: "object",
5892
+ required: ["success"],
5893
+ properties: {
5894
+ success: {
5895
+ type: "boolean",
5896
+ description: "Whether the member was removed successfully",
5897
+ },
5898
+ error: {
5899
+ type: "string",
5900
+ description: "The error that occurred if the member could not be removed",
5901
+ },
5902
+ },
5903
+ },
5904
+ name: "deleteGroupMember",
5905
+ provider: "googleOauth",
5906
+ };
5907
+ exports.googlemailSearchGmailMessagesDefinition = {
5327
5908
  description: "Search Gmail messages in a user's inbox using a query string.",
5328
5909
  scopes: ["https://www.googleapis.com/auth/gmail.readonly"],
5329
5910
  parameters: {
@@ -5391,9 +5972,9 @@ exports.googleOauthSearchGmailMessagesDefinition = {
5391
5972
  },
5392
5973
  },
5393
5974
  name: "searchGmailMessages",
5394
- provider: "googleOauth",
5975
+ provider: "googlemail",
5395
5976
  };
5396
- exports.googleOauthListGmailThreadsDefinition = {
5977
+ exports.googlemailListGmailThreadsDefinition = {
5397
5978
  description: "List Gmail threads in a user's inbox using a query string.",
5398
5979
  scopes: ["https://www.googleapis.com/auth/gmail.readonly"],
5399
5980
  parameters: {
@@ -5473,7 +6054,7 @@ exports.googleOauthListGmailThreadsDefinition = {
5473
6054
  },
5474
6055
  },
5475
6056
  name: "listGmailThreads",
5476
- provider: "googleOauth",
6057
+ provider: "googlemail",
5477
6058
  };
5478
6059
  exports.gongGetGongTranscriptsDefinition = {
5479
6060
  description: "Get sales call transcripts from Gong",