@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.
- package/dist/actions/actionMapper.js +18 -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 +4 -0
- package/dist/actions/autogen/templates.js +267 -3
- package/dist/actions/autogen/types.d.ts +260 -10
- package/dist/actions/autogen/types.js +71 -5
- package/dist/actions/definitions.js +35 -0
- package/dist/actions/groups.js +2 -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/gong/getGongTranscripts.js +31 -43
- 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/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
@@ -232,20 +232,20 @@ export declare const asanaListAsanaTasksByProjectOutputSchema: z.ZodObject<{
|
|
232
232
|
gid?: string | undefined;
|
233
233
|
}>>;
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
235
|
+
created_at?: string | undefined;
|
235
236
|
text?: string | undefined;
|
236
237
|
resource_type?: string | undefined;
|
237
238
|
gid?: string | undefined;
|
238
|
-
created_at?: string | undefined;
|
239
239
|
created_by?: {
|
240
240
|
name?: string | undefined;
|
241
241
|
resource_type?: string | undefined;
|
242
242
|
gid?: string | undefined;
|
243
243
|
} | undefined;
|
244
244
|
}, {
|
245
|
+
created_at?: string | undefined;
|
245
246
|
text?: string | undefined;
|
246
247
|
resource_type?: string | undefined;
|
247
248
|
gid?: string | undefined;
|
248
|
-
created_at?: string | undefined;
|
249
249
|
created_by?: {
|
250
250
|
name?: string | undefined;
|
251
251
|
resource_type?: string | undefined;
|
@@ -281,10 +281,10 @@ export declare const asanaListAsanaTasksByProjectOutputSchema: z.ZodObject<{
|
|
281
281
|
num_subtasks?: number | undefined;
|
282
282
|
}[] | null | undefined;
|
283
283
|
taskStories?: {
|
284
|
+
created_at?: string | undefined;
|
284
285
|
text?: string | undefined;
|
285
286
|
resource_type?: string | undefined;
|
286
287
|
gid?: string | undefined;
|
287
|
-
created_at?: string | undefined;
|
288
288
|
created_by?: {
|
289
289
|
name?: string | undefined;
|
290
290
|
resource_type?: string | undefined;
|
@@ -320,10 +320,10 @@ export declare const asanaListAsanaTasksByProjectOutputSchema: z.ZodObject<{
|
|
320
320
|
num_subtasks?: number | undefined;
|
321
321
|
}[] | null | undefined;
|
322
322
|
taskStories?: {
|
323
|
+
created_at?: string | undefined;
|
323
324
|
text?: string | undefined;
|
324
325
|
resource_type?: string | undefined;
|
325
326
|
gid?: string | undefined;
|
326
|
-
created_at?: string | undefined;
|
327
327
|
created_by?: {
|
328
328
|
name?: string | undefined;
|
329
329
|
resource_type?: string | undefined;
|
@@ -363,10 +363,10 @@ export declare const asanaListAsanaTasksByProjectOutputSchema: z.ZodObject<{
|
|
363
363
|
num_subtasks?: number | undefined;
|
364
364
|
}[] | null | undefined;
|
365
365
|
taskStories?: {
|
366
|
+
created_at?: string | undefined;
|
366
367
|
text?: string | undefined;
|
367
368
|
resource_type?: string | undefined;
|
368
369
|
gid?: string | undefined;
|
369
|
-
created_at?: string | undefined;
|
370
370
|
created_by?: {
|
371
371
|
name?: string | undefined;
|
372
372
|
resource_type?: string | undefined;
|
@@ -406,10 +406,10 @@ export declare const asanaListAsanaTasksByProjectOutputSchema: z.ZodObject<{
|
|
406
406
|
num_subtasks?: number | undefined;
|
407
407
|
}[] | null | undefined;
|
408
408
|
taskStories?: {
|
409
|
+
created_at?: string | undefined;
|
409
410
|
text?: string | undefined;
|
410
411
|
resource_type?: string | undefined;
|
411
412
|
gid?: string | undefined;
|
412
|
-
created_at?: string | undefined;
|
413
413
|
created_by?: {
|
414
414
|
name?: string | undefined;
|
415
415
|
resource_type?: string | undefined;
|
@@ -508,6 +508,155 @@ export declare const asanaUpdateTaskOutputSchema: z.ZodObject<{
|
|
508
508
|
}>;
|
509
509
|
export type asanaUpdateTaskOutputType = z.infer<typeof asanaUpdateTaskOutputSchema>;
|
510
510
|
export type asanaUpdateTaskFunction = ActionFunction<asanaUpdateTaskParamsType, AuthParamsType, asanaUpdateTaskOutputType>;
|
511
|
+
export declare const asanaSearchTasksParamsSchema: z.ZodObject<{
|
512
|
+
query: z.ZodString;
|
513
|
+
}, "strip", z.ZodTypeAny, {
|
514
|
+
query: string;
|
515
|
+
}, {
|
516
|
+
query: string;
|
517
|
+
}>;
|
518
|
+
export type asanaSearchTasksParamsType = z.infer<typeof asanaSearchTasksParamsSchema>;
|
519
|
+
export declare const asanaSearchTasksOutputSchema: z.ZodObject<{
|
520
|
+
error: z.ZodOptional<z.ZodString>;
|
521
|
+
success: z.ZodBoolean;
|
522
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
523
|
+
id: z.ZodString;
|
524
|
+
name: z.ZodString;
|
525
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
526
|
+
workspaceId: z.ZodString;
|
527
|
+
}, "strip", z.ZodTypeAny, {
|
528
|
+
name: string;
|
529
|
+
id: string;
|
530
|
+
workspaceId: string;
|
531
|
+
resourceType?: string | undefined;
|
532
|
+
}, {
|
533
|
+
name: string;
|
534
|
+
id: string;
|
535
|
+
workspaceId: string;
|
536
|
+
resourceType?: string | undefined;
|
537
|
+
}>, "many">>;
|
538
|
+
}, "strip", z.ZodTypeAny, {
|
539
|
+
success: boolean;
|
540
|
+
error?: string | undefined;
|
541
|
+
results?: {
|
542
|
+
name: string;
|
543
|
+
id: string;
|
544
|
+
workspaceId: string;
|
545
|
+
resourceType?: string | undefined;
|
546
|
+
}[] | undefined;
|
547
|
+
}, {
|
548
|
+
success: boolean;
|
549
|
+
error?: string | undefined;
|
550
|
+
results?: {
|
551
|
+
name: string;
|
552
|
+
id: string;
|
553
|
+
workspaceId: string;
|
554
|
+
resourceType?: string | undefined;
|
555
|
+
}[] | undefined;
|
556
|
+
}>;
|
557
|
+
export type asanaSearchTasksOutputType = z.infer<typeof asanaSearchTasksOutputSchema>;
|
558
|
+
export type asanaSearchTasksFunction = ActionFunction<asanaSearchTasksParamsType, AuthParamsType, asanaSearchTasksOutputType>;
|
559
|
+
export declare const asanaGetTasksDetailsParamsSchema: z.ZodObject<{
|
560
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
561
|
+
}, "strip", z.ZodTypeAny, {
|
562
|
+
taskIds: string[];
|
563
|
+
}, {
|
564
|
+
taskIds: string[];
|
565
|
+
}>;
|
566
|
+
export type asanaGetTasksDetailsParamsType = z.infer<typeof asanaGetTasksDetailsParamsSchema>;
|
567
|
+
export declare const asanaGetTasksDetailsOutputSchema: z.ZodObject<{
|
568
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
569
|
+
success: z.ZodBoolean;
|
570
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
571
|
+
id: z.ZodString;
|
572
|
+
name: z.ZodString;
|
573
|
+
approval_status: z.ZodString;
|
574
|
+
completed: z.ZodBoolean;
|
575
|
+
created_at: z.ZodString;
|
576
|
+
due_at: z.ZodOptional<z.ZodString>;
|
577
|
+
assignee_name: z.ZodString;
|
578
|
+
notes: z.ZodString;
|
579
|
+
comments: z.ZodArray<z.ZodObject<{
|
580
|
+
text: z.ZodString;
|
581
|
+
created_at: z.ZodString;
|
582
|
+
creator_name: z.ZodString;
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
584
|
+
created_at: string;
|
585
|
+
text: string;
|
586
|
+
creator_name: string;
|
587
|
+
}, {
|
588
|
+
created_at: string;
|
589
|
+
text: string;
|
590
|
+
creator_name: string;
|
591
|
+
}>, "many">;
|
592
|
+
}, "strip", z.ZodTypeAny, {
|
593
|
+
name: string;
|
594
|
+
completed: boolean;
|
595
|
+
id: string;
|
596
|
+
approval_status: string;
|
597
|
+
created_at: string;
|
598
|
+
assignee_name: string;
|
599
|
+
notes: string;
|
600
|
+
comments: {
|
601
|
+
created_at: string;
|
602
|
+
text: string;
|
603
|
+
creator_name: string;
|
604
|
+
}[];
|
605
|
+
due_at?: string | undefined;
|
606
|
+
}, {
|
607
|
+
name: string;
|
608
|
+
completed: boolean;
|
609
|
+
id: string;
|
610
|
+
approval_status: string;
|
611
|
+
created_at: string;
|
612
|
+
assignee_name: string;
|
613
|
+
notes: string;
|
614
|
+
comments: {
|
615
|
+
created_at: string;
|
616
|
+
text: string;
|
617
|
+
creator_name: string;
|
618
|
+
}[];
|
619
|
+
due_at?: string | undefined;
|
620
|
+
}>, "many">>;
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
622
|
+
success: boolean;
|
623
|
+
results?: {
|
624
|
+
name: string;
|
625
|
+
completed: boolean;
|
626
|
+
id: string;
|
627
|
+
approval_status: string;
|
628
|
+
created_at: string;
|
629
|
+
assignee_name: string;
|
630
|
+
notes: string;
|
631
|
+
comments: {
|
632
|
+
created_at: string;
|
633
|
+
text: string;
|
634
|
+
creator_name: string;
|
635
|
+
}[];
|
636
|
+
due_at?: string | undefined;
|
637
|
+
}[] | undefined;
|
638
|
+
errors?: string[] | undefined;
|
639
|
+
}, {
|
640
|
+
success: boolean;
|
641
|
+
results?: {
|
642
|
+
name: string;
|
643
|
+
completed: boolean;
|
644
|
+
id: string;
|
645
|
+
approval_status: string;
|
646
|
+
created_at: string;
|
647
|
+
assignee_name: string;
|
648
|
+
notes: string;
|
649
|
+
comments: {
|
650
|
+
created_at: string;
|
651
|
+
text: string;
|
652
|
+
creator_name: string;
|
653
|
+
}[];
|
654
|
+
due_at?: string | undefined;
|
655
|
+
}[] | undefined;
|
656
|
+
errors?: string[] | undefined;
|
657
|
+
}>;
|
658
|
+
export type asanaGetTasksDetailsOutputType = z.infer<typeof asanaGetTasksDetailsOutputSchema>;
|
659
|
+
export type asanaGetTasksDetailsFunction = ActionFunction<asanaGetTasksDetailsParamsType, AuthParamsType, asanaGetTasksDetailsOutputType>;
|
511
660
|
export declare const slackSendMessageParamsSchema: z.ZodObject<{
|
512
661
|
channelName: z.ZodString;
|
513
662
|
message: z.ZodString;
|
@@ -548,24 +697,24 @@ export declare const slackGetChannelMessagesOutputSchema: z.ZodObject<{
|
|
548
697
|
text: z.ZodString;
|
549
698
|
ts: z.ZodString;
|
550
699
|
}, "strip", z.ZodTypeAny, {
|
551
|
-
user: string;
|
552
700
|
text: string;
|
701
|
+
user: string;
|
553
702
|
ts: string;
|
554
703
|
}, {
|
555
|
-
user: string;
|
556
704
|
text: string;
|
705
|
+
user: string;
|
557
706
|
ts: string;
|
558
707
|
}>, "many">;
|
559
708
|
}, "strip", z.ZodTypeAny, {
|
560
709
|
messages: {
|
561
|
-
user: string;
|
562
710
|
text: string;
|
711
|
+
user: string;
|
563
712
|
ts: string;
|
564
713
|
}[];
|
565
714
|
}, {
|
566
715
|
messages: {
|
567
|
-
user: string;
|
568
716
|
text: string;
|
717
|
+
user: string;
|
569
718
|
ts: string;
|
570
719
|
}[];
|
571
720
|
}>;
|
@@ -2282,6 +2431,54 @@ export declare const googleOauthUpdatePresentationOutputSchema: z.ZodObject<{
|
|
2282
2431
|
}>;
|
2283
2432
|
export type googleOauthUpdatePresentationOutputType = z.infer<typeof googleOauthUpdatePresentationOutputSchema>;
|
2284
2433
|
export type googleOauthUpdatePresentationFunction = ActionFunction<googleOauthUpdatePresentationParamsType, AuthParamsType, googleOauthUpdatePresentationOutputType>;
|
2434
|
+
export declare const googleOauthSearchDriveByKeywordsParamsSchema: z.ZodObject<{
|
2435
|
+
keywords: z.ZodArray<z.ZodString, "many">;
|
2436
|
+
}, "strip", z.ZodTypeAny, {
|
2437
|
+
keywords: string[];
|
2438
|
+
}, {
|
2439
|
+
keywords: string[];
|
2440
|
+
}>;
|
2441
|
+
export type googleOauthSearchDriveByKeywordsParamsType = z.infer<typeof googleOauthSearchDriveByKeywordsParamsSchema>;
|
2442
|
+
export declare const googleOauthSearchDriveByKeywordsOutputSchema: z.ZodObject<{
|
2443
|
+
success: z.ZodBoolean;
|
2444
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2445
|
+
id: z.ZodString;
|
2446
|
+
name: z.ZodString;
|
2447
|
+
mimeType: z.ZodString;
|
2448
|
+
url: z.ZodString;
|
2449
|
+
}, "strip", z.ZodTypeAny, {
|
2450
|
+
name: string;
|
2451
|
+
id: string;
|
2452
|
+
url: string;
|
2453
|
+
mimeType: string;
|
2454
|
+
}, {
|
2455
|
+
name: string;
|
2456
|
+
id: string;
|
2457
|
+
url: string;
|
2458
|
+
mimeType: string;
|
2459
|
+
}>, "many">>;
|
2460
|
+
error: z.ZodOptional<z.ZodString>;
|
2461
|
+
}, "strip", z.ZodTypeAny, {
|
2462
|
+
success: boolean;
|
2463
|
+
error?: string | undefined;
|
2464
|
+
files?: {
|
2465
|
+
name: string;
|
2466
|
+
id: string;
|
2467
|
+
url: string;
|
2468
|
+
mimeType: string;
|
2469
|
+
}[] | undefined;
|
2470
|
+
}, {
|
2471
|
+
success: boolean;
|
2472
|
+
error?: string | undefined;
|
2473
|
+
files?: {
|
2474
|
+
name: string;
|
2475
|
+
id: string;
|
2476
|
+
url: string;
|
2477
|
+
mimeType: string;
|
2478
|
+
}[] | undefined;
|
2479
|
+
}>;
|
2480
|
+
export type googleOauthSearchDriveByKeywordsOutputType = z.infer<typeof googleOauthSearchDriveByKeywordsOutputSchema>;
|
2481
|
+
export type googleOauthSearchDriveByKeywordsFunction = ActionFunction<googleOauthSearchDriveByKeywordsParamsType, AuthParamsType, googleOauthSearchDriveByKeywordsOutputType>;
|
2285
2482
|
export declare const gongGetGongTranscriptsParamsSchema: z.ZodObject<{
|
2286
2483
|
userRole: z.ZodString;
|
2287
2484
|
trackers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -2304,6 +2501,7 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
|
|
2304
2501
|
callTranscripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2305
2502
|
callId: z.ZodOptional<z.ZodString>;
|
2306
2503
|
callName: z.ZodOptional<z.ZodString>;
|
2504
|
+
startTime: z.ZodOptional<z.ZodString>;
|
2307
2505
|
transcript: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2308
2506
|
speakerName: z.ZodOptional<z.ZodString>;
|
2309
2507
|
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -2340,6 +2538,7 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
|
|
2340
2538
|
}, "strip", z.ZodTypeAny, {
|
2341
2539
|
callId?: string | undefined;
|
2342
2540
|
callName?: string | undefined;
|
2541
|
+
startTime?: string | undefined;
|
2343
2542
|
transcript?: {
|
2344
2543
|
speakerName?: string | undefined;
|
2345
2544
|
topic?: string | null | undefined;
|
@@ -2352,6 +2551,7 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
|
|
2352
2551
|
}, {
|
2353
2552
|
callId?: string | undefined;
|
2354
2553
|
callName?: string | undefined;
|
2554
|
+
startTime?: string | undefined;
|
2355
2555
|
transcript?: {
|
2356
2556
|
speakerName?: string | undefined;
|
2357
2557
|
topic?: string | null | undefined;
|
@@ -2369,6 +2569,7 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
|
|
2369
2569
|
callTranscripts?: {
|
2370
2570
|
callId?: string | undefined;
|
2371
2571
|
callName?: string | undefined;
|
2572
|
+
startTime?: string | undefined;
|
2372
2573
|
transcript?: {
|
2373
2574
|
speakerName?: string | undefined;
|
2374
2575
|
topic?: string | null | undefined;
|
@@ -2385,6 +2586,7 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
|
|
2385
2586
|
callTranscripts?: {
|
2386
2587
|
callId?: string | undefined;
|
2387
2588
|
callName?: string | undefined;
|
2589
|
+
startTime?: string | undefined;
|
2388
2590
|
transcript?: {
|
2389
2591
|
speakerName?: string | undefined;
|
2390
2592
|
topic?: string | null | undefined;
|
@@ -3421,3 +3623,51 @@ export declare const githubListPullRequestsOutputSchema: z.ZodObject<{
|
|
3421
3623
|
}>;
|
3422
3624
|
export type githubListPullRequestsOutputType = z.infer<typeof githubListPullRequestsOutputSchema>;
|
3423
3625
|
export type githubListPullRequestsFunction = ActionFunction<githubListPullRequestsParamsType, AuthParamsType, githubListPullRequestsOutputType>;
|
3626
|
+
export declare const googleDriveSearchFilesByKeywordsParamsSchema: z.ZodObject<{
|
3627
|
+
keywords: z.ZodArray<z.ZodString, "many">;
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
3629
|
+
keywords: string[];
|
3630
|
+
}, {
|
3631
|
+
keywords: string[];
|
3632
|
+
}>;
|
3633
|
+
export type googleDriveSearchFilesByKeywordsParamsType = z.infer<typeof googleDriveSearchFilesByKeywordsParamsSchema>;
|
3634
|
+
export declare const googleDriveSearchFilesByKeywordsOutputSchema: z.ZodObject<{
|
3635
|
+
success: z.ZodBoolean;
|
3636
|
+
files: z.ZodArray<z.ZodObject<{
|
3637
|
+
id: z.ZodString;
|
3638
|
+
name: z.ZodString;
|
3639
|
+
mimeType: z.ZodString;
|
3640
|
+
webViewLink: z.ZodString;
|
3641
|
+
}, "strip", z.ZodTypeAny, {
|
3642
|
+
name: string;
|
3643
|
+
id: string;
|
3644
|
+
mimeType: string;
|
3645
|
+
webViewLink: string;
|
3646
|
+
}, {
|
3647
|
+
name: string;
|
3648
|
+
id: string;
|
3649
|
+
mimeType: string;
|
3650
|
+
webViewLink: string;
|
3651
|
+
}>, "many">;
|
3652
|
+
error: z.ZodOptional<z.ZodString>;
|
3653
|
+
}, "strip", z.ZodTypeAny, {
|
3654
|
+
success: boolean;
|
3655
|
+
files: {
|
3656
|
+
name: string;
|
3657
|
+
id: string;
|
3658
|
+
mimeType: string;
|
3659
|
+
webViewLink: string;
|
3660
|
+
}[];
|
3661
|
+
error?: string | undefined;
|
3662
|
+
}, {
|
3663
|
+
success: boolean;
|
3664
|
+
files: {
|
3665
|
+
name: string;
|
3666
|
+
id: string;
|
3667
|
+
mimeType: string;
|
3668
|
+
webViewLink: string;
|
3669
|
+
}[];
|
3670
|
+
error?: string | undefined;
|
3671
|
+
}>;
|
3672
|
+
export type googleDriveSearchFilesByKeywordsOutputType = z.infer<typeof googleDriveSearchFilesByKeywordsOutputSchema>;
|
3673
|
+
export type googleDriveSearchFilesByKeywordsFunction = ActionFunction<googleDriveSearchFilesByKeywordsParamsType, AuthParamsType, googleDriveSearchFilesByKeywordsOutputType>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.githubListPullRequestsOutputSchema = exports.githubListPullRequestsParamsSchema = exports.githubCreatePullRequestOutputSchema = void 0;
|
3
|
+
exports.credalCallCopilotParamsSchema = exports.bingGetTopNSearchResultUrlsOutputSchema = exports.bingGetTopNSearchResultUrlsParamsSchema = exports.googlemapsNearbysearchRestaurantsOutputSchema = exports.googlemapsNearbysearchRestaurantsParamsSchema = exports.googlemapsValidateAddressOutputSchema = exports.googlemapsValidateAddressParamsSchema = exports.kandjiGetFVRecoveryKeyForDeviceOutputSchema = exports.kandjiGetFVRecoveryKeyForDeviceParamsSchema = exports.jiraGetJiraIssuesByQueryOutputSchema = exports.jiraGetJiraIssuesByQueryParamsSchema = exports.jiraUpdateJiraTicketStatusOutputSchema = exports.jiraUpdateJiraTicketStatusParamsSchema = exports.jiraUpdateJiraTicketDetailsOutputSchema = exports.jiraUpdateJiraTicketDetailsParamsSchema = exports.jiraGetJiraTicketHistoryOutputSchema = exports.jiraGetJiraTicketHistoryParamsSchema = exports.jiraGetJiraTicketDetailsOutputSchema = exports.jiraGetJiraTicketDetailsParamsSchema = exports.jiraCreateJiraTicketOutputSchema = exports.jiraCreateJiraTicketParamsSchema = exports.jiraCommentJiraTicketOutputSchema = exports.jiraCommentJiraTicketParamsSchema = exports.jiraAssignJiraTicketOutputSchema = exports.jiraAssignJiraTicketParamsSchema = exports.confluenceFetchPageContentOutputSchema = exports.confluenceFetchPageContentParamsSchema = exports.confluenceOverwritePageOutputSchema = exports.confluenceOverwritePageParamsSchema = exports.mathAddOutputSchema = exports.mathAddParamsSchema = exports.slackGetChannelMessagesOutputSchema = exports.slackGetChannelMessagesParamsSchema = exports.slackSendMessageOutputSchema = exports.slackSendMessageParamsSchema = exports.asanaGetTasksDetailsOutputSchema = exports.asanaGetTasksDetailsParamsSchema = exports.asanaSearchTasksOutputSchema = exports.asanaSearchTasksParamsSchema = exports.asanaUpdateTaskOutputSchema = exports.asanaUpdateTaskParamsSchema = exports.asanaCreateTaskOutputSchema = exports.asanaCreateTaskParamsSchema = exports.asanaListAsanaTasksByProjectOutputSchema = exports.asanaListAsanaTasksByProjectParamsSchema = exports.asanaCommentTaskOutputSchema = exports.asanaCommentTaskParamsSchema = exports.genericFillTemplateOutputSchema = exports.genericFillTemplateParamsSchema = exports.AuthParamsSchema = void 0;
|
4
|
+
exports.googleOauthSearchDriveByKeywordsParamsSchema = exports.googleOauthUpdatePresentationOutputSchema = exports.googleOauthUpdatePresentationParamsSchema = exports.googleOauthCreatePresentationOutputSchema = exports.googleOauthCreatePresentationParamsSchema = exports.googleOauthUpdateSpreadsheetOutputSchema = exports.googleOauthUpdateSpreadsheetParamsSchema = exports.googleOauthCreateSpreadsheetOutputSchema = exports.googleOauthCreateSpreadsheetParamsSchema = exports.googleOauthScheduleCalendarMeetingOutputSchema = exports.googleOauthScheduleCalendarMeetingParamsSchema = exports.googleOauthUpdateDocOutputSchema = exports.googleOauthUpdateDocParamsSchema = exports.googleOauthCreateNewGoogleDocOutputSchema = exports.googleOauthCreateNewGoogleDocParamsSchema = exports.resendSendEmailOutputSchema = exports.resendSendEmailParamsSchema = exports.firecrawlScrapeTweetDataWithNitterOutputSchema = exports.firecrawlScrapeTweetDataWithNitterParamsSchema = exports.firecrawlScrapeUrlOutputSchema = exports.firecrawlScrapeUrlParamsSchema = exports.firecrawlDeepResearchOutputSchema = exports.firecrawlDeepResearchParamsSchema = exports.nwsGetForecastForLocationOutputSchema = exports.nwsGetForecastForLocationParamsSchema = exports.openstreetmapGetLatitudeLongitudeFromLocationOutputSchema = exports.openstreetmapGetLatitudeLongitudeFromLocationParamsSchema = exports.snowflakeRunSnowflakeQueryOutputSchema = exports.snowflakeRunSnowflakeQueryParamsSchema = exports.snowflakeGetRowByFieldValueOutputSchema = exports.snowflakeGetRowByFieldValueParamsSchema = exports.mongoInsertMongoDocOutputSchema = exports.mongoInsertMongoDocParamsSchema = exports.xCreateShareXPostUrlOutputSchema = exports.xCreateShareXPostUrlParamsSchema = exports.linkedinCreateShareLinkedinPostUrlOutputSchema = exports.linkedinCreateShareLinkedinPostUrlParamsSchema = exports.zendeskAssignTicketOutputSchema = exports.zendeskAssignTicketParamsSchema = exports.zendeskAddCommentToTicketOutputSchema = exports.zendeskAddCommentToTicketParamsSchema = exports.zendeskUpdateTicketStatusOutputSchema = exports.zendeskUpdateTicketStatusParamsSchema = exports.zendeskGetTicketDetailsOutputSchema = exports.zendeskGetTicketDetailsParamsSchema = exports.zendeskListZendeskTicketsOutputSchema = exports.zendeskListZendeskTicketsParamsSchema = exports.zendeskCreateZendeskTicketOutputSchema = exports.zendeskCreateZendeskTicketParamsSchema = exports.credalCallCopilotOutputSchema = void 0;
|
5
|
+
exports.microsoftGetDocumentParamsSchema = exports.microsoftMessageTeamsChannelOutputSchema = exports.microsoftMessageTeamsChannelParamsSchema = exports.microsoftMessageTeamsChatOutputSchema = exports.microsoftMessageTeamsChatParamsSchema = exports.microsoftUpdateSpreadsheetOutputSchema = exports.microsoftUpdateSpreadsheetParamsSchema = exports.microsoftUpdateDocumentOutputSchema = exports.microsoftUpdateDocumentParamsSchema = exports.microsoftCreateDocumentOutputSchema = exports.microsoftCreateDocumentParamsSchema = exports.salesforceFetchSalesforceSchemaByObjectOutputSchema = exports.salesforceFetchSalesforceSchemaByObjectParamsSchema = exports.salesforceGetRecordOutputSchema = exports.salesforceGetRecordParamsSchema = exports.salesforceGetSalesforceRecordsByQueryOutputSchema = exports.salesforceGetSalesforceRecordsByQueryParamsSchema = exports.salesforceGenerateSalesReportOutputSchema = exports.salesforceGenerateSalesReportParamsSchema = exports.salesforceCreateCaseOutputSchema = exports.salesforceCreateCaseParamsSchema = exports.salesforceCreateRecordOutputSchema = exports.salesforceCreateRecordParamsSchema = exports.salesforceUpdateRecordOutputSchema = exports.salesforceUpdateRecordParamsSchema = exports.ashbyUpdateCandidateOutputSchema = exports.ashbyUpdateCandidateParamsSchema = exports.ashbyCreateCandidateOutputSchema = exports.ashbyCreateCandidateParamsSchema = exports.ashbyListCandidateNotesOutputSchema = exports.ashbyListCandidateNotesParamsSchema = exports.ashbySearchCandidatesOutputSchema = exports.ashbySearchCandidatesParamsSchema = exports.ashbyListCandidatesOutputSchema = exports.ashbyListCandidatesParamsSchema = exports.ashbyAddCandidateToProjectOutputSchema = exports.ashbyAddCandidateToProjectParamsSchema = exports.ashbyGetCandidateInfoOutputSchema = exports.ashbyGetCandidateInfoParamsSchema = exports.ashbyCreateNoteOutputSchema = exports.ashbyCreateNoteParamsSchema = exports.lookerEnableUserByEmailOutputSchema = exports.lookerEnableUserByEmailParamsSchema = exports.finnhubGetBasicFinancialsOutputSchema = exports.finnhubGetBasicFinancialsParamsSchema = exports.finnhubSymbolLookupOutputSchema = exports.finnhubSymbolLookupParamsSchema = exports.gongGetGongTranscriptsOutputSchema = exports.gongGetGongTranscriptsParamsSchema = exports.googleOauthSearchDriveByKeywordsOutputSchema = void 0;
|
6
|
+
exports.googleDriveSearchFilesByKeywordsOutputSchema = exports.googleDriveSearchFilesByKeywordsParamsSchema = exports.githubListPullRequestsOutputSchema = exports.githubListPullRequestsParamsSchema = exports.githubCreatePullRequestOutputSchema = exports.githubCreatePullRequestParamsSchema = exports.githubCreateBranchOutputSchema = exports.githubCreateBranchParamsSchema = exports.githubCreateOrUpdateFileOutputSchema = exports.githubCreateOrUpdateFileParamsSchema = exports.microsoftGetDocumentOutputSchema = void 0;
|
7
7
|
const zod_1 = require("zod");
|
8
8
|
exports.AuthParamsSchema = zod_1.z.object({
|
9
9
|
authToken: zod_1.z.string().optional(),
|
@@ -141,6 +141,40 @@ exports.asanaUpdateTaskOutputSchema = zod_1.z.object({
|
|
141
141
|
success: zod_1.z.boolean().describe("Whether task update was successful"),
|
142
142
|
taskUrl: zod_1.z.string().describe("The url to the updated Asana task").optional(),
|
143
143
|
});
|
144
|
+
exports.asanaSearchTasksParamsSchema = zod_1.z.object({ query: zod_1.z.string().describe("Search query") });
|
145
|
+
exports.asanaSearchTasksOutputSchema = zod_1.z.object({
|
146
|
+
error: zod_1.z.string().describe("Error if search was unsuccessful").optional(),
|
147
|
+
success: zod_1.z.boolean().describe("Whether search was successful"),
|
148
|
+
results: zod_1.z
|
149
|
+
.array(zod_1.z
|
150
|
+
.object({ id: zod_1.z.string(), name: zod_1.z.string(), resourceType: zod_1.z.string().optional(), workspaceId: zod_1.z.string() })
|
151
|
+
.describe("List of tasks that match search query"))
|
152
|
+
.describe("The list of tasks that match search query")
|
153
|
+
.optional(),
|
154
|
+
});
|
155
|
+
exports.asanaGetTasksDetailsParamsSchema = zod_1.z.object({
|
156
|
+
taskIds: zod_1.z.array(zod_1.z.string()).describe("The list of task ids to get details for"),
|
157
|
+
});
|
158
|
+
exports.asanaGetTasksDetailsOutputSchema = zod_1.z.object({
|
159
|
+
errors: zod_1.z.array(zod_1.z.string()).describe("Errors if search was unsuccessful").optional(),
|
160
|
+
success: zod_1.z.boolean().describe("Whether search was successful"),
|
161
|
+
results: zod_1.z
|
162
|
+
.array(zod_1.z
|
163
|
+
.object({
|
164
|
+
id: zod_1.z.string(),
|
165
|
+
name: zod_1.z.string(),
|
166
|
+
approval_status: zod_1.z.string(),
|
167
|
+
completed: zod_1.z.boolean(),
|
168
|
+
created_at: zod_1.z.string(),
|
169
|
+
due_at: zod_1.z.string().optional(),
|
170
|
+
assignee_name: zod_1.z.string(),
|
171
|
+
notes: zod_1.z.string(),
|
172
|
+
comments: zod_1.z.array(zod_1.z.object({ text: zod_1.z.string(), created_at: zod_1.z.string(), creator_name: zod_1.z.string() })),
|
173
|
+
})
|
174
|
+
.describe("List of tasks that match search query"))
|
175
|
+
.describe("The list of tasks that match search query")
|
176
|
+
.optional(),
|
177
|
+
});
|
144
178
|
exports.slackSendMessageParamsSchema = zod_1.z.object({
|
145
179
|
channelName: zod_1.z.string().describe("The name of the Slack channel to send the message to (e.g. general, alerts)"),
|
146
180
|
message: zod_1.z.string().describe("The message content to send to Slack. Can include markdown formatting."),
|
@@ -1754,7 +1788,7 @@ exports.googleOauthUpdatePresentationParamsSchema = zod_1.z.object({
|
|
1754
1788
|
text: zod_1.z.string().describe("The text the shape must contain to be replaced"),
|
1755
1789
|
matchCase: zod_1.z.boolean().describe("Whether the text match is case-sensitive").optional(),
|
1756
1790
|
})
|
1757
|
-
.describe("
|
1791
|
+
.describe("The text to search for in shapes to be replaced"),
|
1758
1792
|
replaceMethod: zod_1.z
|
1759
1793
|
.enum(["CENTER_INSIDE", "CENTER_CROP"])
|
1760
1794
|
.describe("The image replace method (Defaults to CENTER_INSIDE)")
|
@@ -2053,6 +2087,22 @@ exports.googleOauthUpdatePresentationOutputSchema = zod_1.z.object({
|
|
2053
2087
|
error: zod_1.z.string().describe("The error that occurred if the presentation was not created successfully").optional(),
|
2054
2088
|
presentationUrl: zod_1.z.string().describe("The URL of the created presentation").optional(),
|
2055
2089
|
});
|
2090
|
+
exports.googleOauthSearchDriveByKeywordsParamsSchema = zod_1.z.object({
|
2091
|
+
keywords: zod_1.z.array(zod_1.z.string()).describe("List of keywords to search for in file contents."),
|
2092
|
+
});
|
2093
|
+
exports.googleOauthSearchDriveByKeywordsOutputSchema = zod_1.z.object({
|
2094
|
+
success: zod_1.z.boolean().describe("Whether the search was successful"),
|
2095
|
+
files: zod_1.z
|
2096
|
+
.array(zod_1.z.object({
|
2097
|
+
id: zod_1.z.string().describe("The file ID"),
|
2098
|
+
name: zod_1.z.string().describe("The file name"),
|
2099
|
+
mimeType: zod_1.z.string().describe("The MIME type of the file"),
|
2100
|
+
url: zod_1.z.string().describe("The web link to view the file"),
|
2101
|
+
}))
|
2102
|
+
.describe("List of files matching the search")
|
2103
|
+
.optional(),
|
2104
|
+
error: zod_1.z.string().describe("Error message if search failed").optional(),
|
2105
|
+
});
|
2056
2106
|
exports.gongGetGongTranscriptsParamsSchema = zod_1.z.object({
|
2057
2107
|
userRole: zod_1.z.string().describe("The role of users whose transcripts are being fetched"),
|
2058
2108
|
trackers: zod_1.z
|
@@ -2069,6 +2119,7 @@ exports.gongGetGongTranscriptsOutputSchema = zod_1.z.object({
|
|
2069
2119
|
.object({
|
2070
2120
|
callId: zod_1.z.string().describe("The ID of the call").optional(),
|
2071
2121
|
callName: zod_1.z.string().describe("The name of the call").optional(),
|
2122
|
+
startTime: zod_1.z.string().describe("The start time of the call in ISO 8601 format").optional(),
|
2072
2123
|
transcript: zod_1.z
|
2073
2124
|
.array(zod_1.z
|
2074
2125
|
.object({
|
@@ -2456,3 +2507,18 @@ exports.githubListPullRequestsOutputSchema = zod_1.z.object({
|
|
2456
2507
|
}))
|
2457
2508
|
.describe("A list of pull requests in the repository"),
|
2458
2509
|
});
|
2510
|
+
exports.googleDriveSearchFilesByKeywordsParamsSchema = zod_1.z.object({
|
2511
|
+
keywords: zod_1.z.array(zod_1.z.string()).describe("List of keywords to search for in file contents."),
|
2512
|
+
});
|
2513
|
+
exports.googleDriveSearchFilesByKeywordsOutputSchema = zod_1.z.object({
|
2514
|
+
success: zod_1.z.boolean().describe("Whether the search was successful"),
|
2515
|
+
files: zod_1.z
|
2516
|
+
.array(zod_1.z.object({
|
2517
|
+
id: zod_1.z.string().describe("The file ID"),
|
2518
|
+
name: zod_1.z.string().describe("The file name"),
|
2519
|
+
mimeType: zod_1.z.string().describe("The MIME type of the file"),
|
2520
|
+
webViewLink: zod_1.z.string().describe("The web link to view the file"),
|
2521
|
+
}))
|
2522
|
+
.describe("List of files matching the search"),
|
2523
|
+
error: zod_1.z.string().describe("Error message if search failed").optional(),
|
2524
|
+
});
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.mathAddDefinition = exports.slackSendMessageDefinition = void 0;
|
4
|
+
exports.slackSendMessageDefinition = {
|
5
|
+
name: "send_message",
|
6
|
+
description: "Sends a message to a Slack channel",
|
7
|
+
parameters: {
|
8
|
+
"channel": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "The Slack channel to send the message to (e.g., \\#general, \\#alerts)",
|
11
|
+
"required": true
|
12
|
+
},
|
13
|
+
"message": {
|
14
|
+
"type": "string",
|
15
|
+
"description": "The message content to send to Slack. Can include markdown formatting.",
|
16
|
+
"required": true
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
20
|
+
exports.mathAddDefinition = {
|
21
|
+
name: "add",
|
22
|
+
description: "Adds two numbers together",
|
23
|
+
parameters: {
|
24
|
+
"a": {
|
25
|
+
"type": "number",
|
26
|
+
"description": "The first number to add",
|
27
|
+
"required": true
|
28
|
+
},
|
29
|
+
"b": {
|
30
|
+
"type": "number",
|
31
|
+
"description": "The second number to add",
|
32
|
+
"required": true
|
33
|
+
}
|
34
|
+
}
|
35
|
+
};
|
package/dist/actions/groups.js
CHANGED
@@ -13,6 +13,7 @@ exports.ACTION_GROUPS = {
|
|
13
13
|
templates_1.asanaCommentTaskDefinition,
|
14
14
|
templates_1.asanaCreateTaskDefinition,
|
15
15
|
templates_1.asanaUpdateTaskDefinition,
|
16
|
+
templates_1.asanaSearchTasksDefinition,
|
16
17
|
templates_1.asanaListAsanaTasksByProjectDefinition,
|
17
18
|
],
|
18
19
|
},
|
@@ -41,6 +42,7 @@ exports.ACTION_GROUPS = {
|
|
41
42
|
templates_1.googleOauthUpdateSpreadsheetDefinition,
|
42
43
|
templates_1.googleOauthCreatePresentationDefinition,
|
43
44
|
templates_1.googleOauthUpdatePresentationDefinition,
|
45
|
+
templates_1.googleOauthSearchDriveByKeywordsDefinition,
|
44
46
|
],
|
45
47
|
},
|
46
48
|
GOOGLE_CALENDAR: {
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { type ActionFunction } from "./autogen/types";
|
2
|
+
import { z } from "zod";
|
3
|
+
interface ActionFunctionComponents {
|
4
|
+
fn: ActionFunction<any, any, any>;
|
5
|
+
paramsSchema: z.ZodSchema;
|
6
|
+
outputSchema: z.ZodSchema;
|
7
|
+
}
|
8
|
+
export declare const FunctionMapper: Record<string, Record<string, ActionFunctionComponents>>;
|
9
|
+
export {};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.FunctionMapper = void 0;
|
7
|
+
const add_1 = __importDefault(require("./providers/math/add"));
|
8
|
+
const list_conversations_1 = __importDefault(require("./providers/slack/list_conversations"));
|
9
|
+
const updatePage_1 = __importDefault(require("./providers/confluence/updatePage"));
|
10
|
+
const types_1 = require("./autogen/types");
|
11
|
+
exports.FunctionMapper = {
|
12
|
+
math: {
|
13
|
+
add: {
|
14
|
+
fn: add_1.default,
|
15
|
+
paramsSchema: types_1.mathAddParamsSchema,
|
16
|
+
outputSchema: types_1.mathAddOutputSchema,
|
17
|
+
},
|
18
|
+
},
|
19
|
+
slack: {
|
20
|
+
listConversations: {
|
21
|
+
fn: list_conversations_1.default,
|
22
|
+
paramsSchema: types_1.slackListConversationsParamsSchema,
|
23
|
+
outputSchema: types_1.slackListConversationsOutputSchema,
|
24
|
+
},
|
25
|
+
},
|
26
|
+
confluence: {
|
27
|
+
updatePage: {
|
28
|
+
fn: updatePage_1.default,
|
29
|
+
paramsSchema: types_1.confluenceUpdatePageParamsSchema,
|
30
|
+
outputSchema: types_1.confluenceUpdatePageOutputSchema,
|
31
|
+
},
|
32
|
+
},
|
33
|
+
};
|