@credal/actions 0.1.17 → 0.1.20

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/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # actions
1
+ ![Credal Logo](assets/credal-logo.svg)
2
+
3
+ ## Credal.ai's Open Source Actions Framework
4
+ Easily add custom actions for your Credal Copilots. Read more about Credal's Agent platform [here](https://www.credal.ai/products/ai-agent-platform).
2
5
 
3
6
  ## Adding or updating actions
4
7
 
@@ -24,6 +24,8 @@ const createSharePostLinkedinUrl_1 = __importDefault(require("./providers/linked
24
24
  const createNewGoogleDoc_1 = __importDefault(require("./providers/google-oauth/createNewGoogleDoc"));
25
25
  const createXSharePostUrl_1 = __importDefault(require("./providers/x/createXSharePostUrl"));
26
26
  const scrapeTweetDataWithNitter_1 = __importDefault(require("./providers/firecrawl/scrapeTweetDataWithNitter"));
27
+ const symbolLookup_1 = __importDefault(require("./providers/finnhub/symbolLookup"));
28
+ const getBasicFinancials_1 = __importDefault(require("./providers/finnhub/getBasicFinancials"));
27
29
  exports.ActionMapper = {
28
30
  math: {
29
31
  add: {
@@ -152,4 +154,16 @@ exports.ActionMapper = {
152
154
  outputSchema: types_1.xCreateShareXPostUrlOutputSchema,
153
155
  },
154
156
  },
157
+ finnhub: {
158
+ symbolLookup: {
159
+ fn: symbolLookup_1.default,
160
+ paramsSchema: types_1.finnhubSymbolLookupParamsSchema,
161
+ outputSchema: types_1.finnhubSymbolLookupOutputSchema,
162
+ },
163
+ getBasicFinancials: {
164
+ fn: getBasicFinancials_1.default,
165
+ paramsSchema: types_1.finnhubGetBasicFinancialsParamsSchema,
166
+ outputSchema: types_1.finnhubGetBasicFinancialsOutputSchema,
167
+ },
168
+ },
155
169
  };
@@ -18,3 +18,5 @@ export declare const firecrawlScrapeUrlDefinition: ActionTemplate;
18
18
  export declare const firecrawlScrapeTweetDataWithNitterDefinition: ActionTemplate;
19
19
  export declare const resendSendEmailDefinition: ActionTemplate;
20
20
  export declare const googleOauthCreateNewGoogleDocDefinition: ActionTemplate;
21
+ export declare const finnhubSymbolLookupDefinition: ActionTemplate;
22
+ export declare const finnhubGetBasicFinancialsDefinition: ActionTemplate;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.googleOauthCreateNewGoogleDocDefinition = exports.resendSendEmailDefinition = exports.firecrawlScrapeTweetDataWithNitterDefinition = exports.firecrawlScrapeUrlDefinition = exports.nwsGetForecastForLocationDefinition = exports.openstreetmapGetLatitudeLongitudeFromLocationDefinition = exports.snowflakeGetRowByFieldValueDefinition = exports.mongoInsertMongoDocDefinition = exports.xCreateShareXPostUrlDefinition = exports.linkedinCreateShareLinkedinPostUrlDefinition = exports.zendeskCreateZendeskTicketDefinition = exports.credalCallCopilotDefinition = exports.googlemapsNearbysearchRestaurantsDefinition = exports.googlemapsValidateAddressDefinition = exports.jiraCreateJiraTicketDefinition = exports.confluenceUpdatePageDefinition = exports.mathAddDefinition = exports.slackListConversationsDefinition = exports.slackSendMessageDefinition = void 0;
3
+ exports.finnhubGetBasicFinancialsDefinition = exports.finnhubSymbolLookupDefinition = exports.googleOauthCreateNewGoogleDocDefinition = exports.resendSendEmailDefinition = exports.firecrawlScrapeTweetDataWithNitterDefinition = exports.firecrawlScrapeUrlDefinition = exports.nwsGetForecastForLocationDefinition = exports.openstreetmapGetLatitudeLongitudeFromLocationDefinition = exports.snowflakeGetRowByFieldValueDefinition = exports.mongoInsertMongoDocDefinition = exports.xCreateShareXPostUrlDefinition = exports.linkedinCreateShareLinkedinPostUrlDefinition = exports.zendeskCreateZendeskTicketDefinition = exports.credalCallCopilotDefinition = exports.googlemapsNearbysearchRestaurantsDefinition = exports.googlemapsValidateAddressDefinition = exports.jiraCreateJiraTicketDefinition = exports.confluenceUpdatePageDefinition = exports.mathAddDefinition = exports.slackListConversationsDefinition = exports.slackSendMessageDefinition = void 0;
4
4
  exports.slackSendMessageDefinition = {
5
5
  description: "Sends a message to a Slack channel",
6
6
  scopes: ["chat:write"],
@@ -149,6 +149,11 @@ exports.jiraCreateJiraTicketDefinition = {
149
149
  type: "string",
150
150
  description: "The assignee for the new ticket creation",
151
151
  },
152
+ customFields: {
153
+ type: "object",
154
+ description: "Custom fields to be set on the create ticket request",
155
+ additionalProperties: true,
156
+ },
152
157
  },
153
158
  },
154
159
  output: {
@@ -427,6 +432,82 @@ exports.credalCallCopilotDefinition = {
427
432
  type: "string",
428
433
  description: "The response from the Credal Copilot",
429
434
  },
435
+ referencedSources: {
436
+ type: "array",
437
+ description: "The sources referenced in the response",
438
+ items: {
439
+ type: "object",
440
+ description: "The source referenced in the response",
441
+ required: ["id", "externalResourceId", "name"],
442
+ properties: {
443
+ id: {
444
+ type: "string",
445
+ description: "The id of the source",
446
+ },
447
+ externalResourceId: {
448
+ type: "object",
449
+ required: ["externalResourceId", "resourceType"],
450
+ description: "The external resource id of the source",
451
+ properties: {
452
+ externalResourceId: {
453
+ type: "string",
454
+ description: "The external resource id of the source",
455
+ },
456
+ resourceType: {
457
+ type: "string",
458
+ description: "The type of the resource",
459
+ },
460
+ },
461
+ },
462
+ name: {
463
+ type: "string",
464
+ description: "The name of the source",
465
+ },
466
+ url: {
467
+ type: "string",
468
+ description: "The url of the source",
469
+ },
470
+ },
471
+ },
472
+ },
473
+ sourcesInDataContext: {
474
+ type: "array",
475
+ description: "The sources in the data context of the response",
476
+ items: {
477
+ type: "object",
478
+ description: "The source in the data context of the response",
479
+ required: ["id", "externalResourceId", "name"],
480
+ properties: {
481
+ id: {
482
+ type: "string",
483
+ description: "The id of the source",
484
+ },
485
+ externalResourceId: {
486
+ type: "object",
487
+ description: "The external resource id of the source",
488
+ required: ["externalResourceId", "resourceType"],
489
+ properties: {
490
+ externalResourceId: {
491
+ type: "string",
492
+ description: "The external resource id of the source",
493
+ },
494
+ resourceType: {
495
+ type: "string",
496
+ description: "The type of the resource",
497
+ },
498
+ },
499
+ },
500
+ name: {
501
+ type: "string",
502
+ description: "The name of the source",
503
+ },
504
+ url: {
505
+ type: "string",
506
+ description: "The url of the source",
507
+ },
508
+ },
509
+ },
510
+ },
430
511
  },
431
512
  },
432
513
  name: "callCopilot",
@@ -859,3 +940,135 @@ exports.googleOauthCreateNewGoogleDocDefinition = {
859
940
  name: "createNewGoogleDoc",
860
941
  provider: "googleOauth",
861
942
  };
943
+ exports.finnhubSymbolLookupDefinition = {
944
+ description: "Look up a stock symbol by name",
945
+ scopes: [],
946
+ parameters: {
947
+ type: "object",
948
+ required: ["query"],
949
+ properties: {
950
+ query: {
951
+ type: "string",
952
+ description: "The query to look up",
953
+ },
954
+ },
955
+ },
956
+ output: {
957
+ type: "object",
958
+ required: ["result"],
959
+ properties: {
960
+ result: {
961
+ type: "array",
962
+ description: "The results of the symbol lookup",
963
+ items: {
964
+ type: "object",
965
+ description: "The metadata of the stock",
966
+ properties: {
967
+ symbol: {
968
+ type: "string",
969
+ description: "The symbol of the stock",
970
+ },
971
+ description: {
972
+ type: "string",
973
+ description: "The description of the stock",
974
+ },
975
+ },
976
+ },
977
+ },
978
+ },
979
+ },
980
+ name: "symbolLookup",
981
+ provider: "finnhub",
982
+ };
983
+ exports.finnhubGetBasicFinancialsDefinition = {
984
+ description: "Get company basic financials such as margin, P/E ratio, 52-week high/low etc.",
985
+ scopes: [],
986
+ parameters: {
987
+ type: "object",
988
+ required: ["symbol"],
989
+ properties: {
990
+ symbol: {
991
+ type: "string",
992
+ description: "The symbol/TICKER of the stock",
993
+ },
994
+ },
995
+ },
996
+ output: {
997
+ type: "object",
998
+ required: ["result"],
999
+ properties: {
1000
+ result: {
1001
+ type: "object",
1002
+ description: "The basic financials of the stock",
1003
+ properties: {
1004
+ annual: {
1005
+ type: "array",
1006
+ description: "The annual financials of the stock",
1007
+ items: {
1008
+ type: "object",
1009
+ description: "The annual financials of the stock",
1010
+ properties: {
1011
+ metric: {
1012
+ type: "string",
1013
+ description: "The name of the financial metric",
1014
+ },
1015
+ series: {
1016
+ type: "array",
1017
+ description: "The series of values for the financial metric",
1018
+ items: {
1019
+ type: "object",
1020
+ description: "The value of the financial metric",
1021
+ properties: {
1022
+ period: {
1023
+ type: "string",
1024
+ description: "The period of the financial metric in YYYY-MM-DD format",
1025
+ },
1026
+ v: {
1027
+ type: "number",
1028
+ description: "The value of the financial metric",
1029
+ },
1030
+ },
1031
+ },
1032
+ },
1033
+ },
1034
+ },
1035
+ },
1036
+ quarterly: {
1037
+ type: "array",
1038
+ description: "The quarterly financials of the stock",
1039
+ items: {
1040
+ type: "object",
1041
+ description: "The quarterly financials of the stock",
1042
+ properties: {
1043
+ metric: {
1044
+ type: "string",
1045
+ description: "The name of the financial metric",
1046
+ },
1047
+ series: {
1048
+ type: "array",
1049
+ description: "The series of values for the financial metric",
1050
+ items: {
1051
+ type: "object",
1052
+ description: "The value of the financial metric",
1053
+ properties: {
1054
+ period: {
1055
+ type: "string",
1056
+ description: "The period of the financial metric in YYYY-MM-DD format",
1057
+ },
1058
+ v: {
1059
+ type: "number",
1060
+ description: "The value of the financial metric",
1061
+ },
1062
+ },
1063
+ },
1064
+ },
1065
+ },
1066
+ },
1067
+ },
1068
+ },
1069
+ },
1070
+ },
1071
+ },
1072
+ name: "getBasicFinancials",
1073
+ provider: "finnhub",
1074
+ };
@@ -12,6 +12,7 @@ export declare const AuthParamsSchema: z.ZodObject<{
12
12
  emailFrom: z.ZodOptional<z.ZodString>;
13
13
  emailReplyTo: z.ZodOptional<z.ZodString>;
14
14
  emailBcc: z.ZodOptional<z.ZodString>;
15
+ cloudId: z.ZodOptional<z.ZodString>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  username?: string | undefined;
17
18
  authToken?: string | undefined;
@@ -21,6 +22,7 @@ export declare const AuthParamsSchema: z.ZodObject<{
21
22
  emailFrom?: string | undefined;
22
23
  emailReplyTo?: string | undefined;
23
24
  emailBcc?: string | undefined;
25
+ cloudId?: string | undefined;
24
26
  }, {
25
27
  username?: string | undefined;
26
28
  authToken?: string | undefined;
@@ -30,6 +32,7 @@ export declare const AuthParamsSchema: z.ZodObject<{
30
32
  emailFrom?: string | undefined;
31
33
  emailReplyTo?: string | undefined;
32
34
  emailBcc?: string | undefined;
35
+ cloudId?: string | undefined;
33
36
  }>;
34
37
  export type AuthParamsType = z.infer<typeof AuthParamsSchema>;
35
38
  export declare const slackSendMessageParamsSchema: z.ZodObject<{
@@ -129,6 +132,7 @@ export declare const jiraCreateJiraTicketParamsSchema: z.ZodObject<{
129
132
  issueType: z.ZodString;
130
133
  reporter: z.ZodOptional<z.ZodString>;
131
134
  assignee: z.ZodOptional<z.ZodString>;
135
+ customFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
132
136
  }, "strip", z.ZodTypeAny, {
133
137
  description: string;
134
138
  projectKey: string;
@@ -136,6 +140,7 @@ export declare const jiraCreateJiraTicketParamsSchema: z.ZodObject<{
136
140
  issueType: string;
137
141
  reporter?: string | undefined;
138
142
  assignee?: string | undefined;
143
+ customFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
139
144
  }, {
140
145
  description: string;
141
146
  projectKey: string;
@@ -143,6 +148,7 @@ export declare const jiraCreateJiraTicketParamsSchema: z.ZodObject<{
143
148
  issueType: string;
144
149
  reporter?: string | undefined;
145
150
  assignee?: string | undefined;
151
+ customFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
146
152
  }>;
147
153
  export type jiraCreateJiraTicketParamsType = z.infer<typeof jiraCreateJiraTicketParamsSchema>;
148
154
  export declare const jiraCreateJiraTicketOutputSchema: z.ZodObject<{
@@ -457,10 +463,108 @@ export declare const credalCallCopilotParamsSchema: z.ZodObject<{
457
463
  export type credalCallCopilotParamsType = z.infer<typeof credalCallCopilotParamsSchema>;
458
464
  export declare const credalCallCopilotOutputSchema: z.ZodObject<{
459
465
  response: z.ZodString;
466
+ referencedSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
467
+ id: z.ZodString;
468
+ externalResourceId: z.ZodObject<{
469
+ externalResourceId: z.ZodString;
470
+ resourceType: z.ZodString;
471
+ }, "strip", z.ZodTypeAny, {
472
+ externalResourceId: string;
473
+ resourceType: string;
474
+ }, {
475
+ externalResourceId: string;
476
+ resourceType: string;
477
+ }>;
478
+ name: z.ZodString;
479
+ url: z.ZodOptional<z.ZodString>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ name: string;
482
+ id: string;
483
+ externalResourceId: {
484
+ externalResourceId: string;
485
+ resourceType: string;
486
+ };
487
+ url?: string | undefined;
488
+ }, {
489
+ name: string;
490
+ id: string;
491
+ externalResourceId: {
492
+ externalResourceId: string;
493
+ resourceType: string;
494
+ };
495
+ url?: string | undefined;
496
+ }>, "many">>;
497
+ sourcesInDataContext: z.ZodOptional<z.ZodArray<z.ZodObject<{
498
+ id: z.ZodString;
499
+ externalResourceId: z.ZodObject<{
500
+ externalResourceId: z.ZodString;
501
+ resourceType: z.ZodString;
502
+ }, "strip", z.ZodTypeAny, {
503
+ externalResourceId: string;
504
+ resourceType: string;
505
+ }, {
506
+ externalResourceId: string;
507
+ resourceType: string;
508
+ }>;
509
+ name: z.ZodString;
510
+ url: z.ZodOptional<z.ZodString>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ name: string;
513
+ id: string;
514
+ externalResourceId: {
515
+ externalResourceId: string;
516
+ resourceType: string;
517
+ };
518
+ url?: string | undefined;
519
+ }, {
520
+ name: string;
521
+ id: string;
522
+ externalResourceId: {
523
+ externalResourceId: string;
524
+ resourceType: string;
525
+ };
526
+ url?: string | undefined;
527
+ }>, "many">>;
460
528
  }, "strip", z.ZodTypeAny, {
461
529
  response: string;
530
+ referencedSources?: {
531
+ name: string;
532
+ id: string;
533
+ externalResourceId: {
534
+ externalResourceId: string;
535
+ resourceType: string;
536
+ };
537
+ url?: string | undefined;
538
+ }[] | undefined;
539
+ sourcesInDataContext?: {
540
+ name: string;
541
+ id: string;
542
+ externalResourceId: {
543
+ externalResourceId: string;
544
+ resourceType: string;
545
+ };
546
+ url?: string | undefined;
547
+ }[] | undefined;
462
548
  }, {
463
549
  response: string;
550
+ referencedSources?: {
551
+ name: string;
552
+ id: string;
553
+ externalResourceId: {
554
+ externalResourceId: string;
555
+ resourceType: string;
556
+ };
557
+ url?: string | undefined;
558
+ }[] | undefined;
559
+ sourcesInDataContext?: {
560
+ name: string;
561
+ id: string;
562
+ externalResourceId: {
563
+ externalResourceId: string;
564
+ resourceType: string;
565
+ };
566
+ url?: string | undefined;
567
+ }[] | undefined;
464
568
  }>;
465
569
  export type credalCallCopilotOutputType = z.infer<typeof credalCallCopilotOutputSchema>;
466
570
  export type credalCallCopilotFunction = ActionFunction<credalCallCopilotParamsType, AuthParamsType, credalCallCopilotOutputType>;
@@ -782,3 +886,163 @@ export declare const googleOauthCreateNewGoogleDocOutputSchema: z.ZodObject<{
782
886
  }>;
783
887
  export type googleOauthCreateNewGoogleDocOutputType = z.infer<typeof googleOauthCreateNewGoogleDocOutputSchema>;
784
888
  export type googleOauthCreateNewGoogleDocFunction = ActionFunction<googleOauthCreateNewGoogleDocParamsType, AuthParamsType, googleOauthCreateNewGoogleDocOutputType>;
889
+ export declare const finnhubSymbolLookupParamsSchema: z.ZodObject<{
890
+ query: z.ZodString;
891
+ }, "strip", z.ZodTypeAny, {
892
+ query: string;
893
+ }, {
894
+ query: string;
895
+ }>;
896
+ export type finnhubSymbolLookupParamsType = z.infer<typeof finnhubSymbolLookupParamsSchema>;
897
+ export declare const finnhubSymbolLookupOutputSchema: z.ZodObject<{
898
+ result: z.ZodArray<z.ZodObject<{
899
+ symbol: z.ZodOptional<z.ZodString>;
900
+ description: z.ZodOptional<z.ZodString>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ symbol?: string | undefined;
903
+ description?: string | undefined;
904
+ }, {
905
+ symbol?: string | undefined;
906
+ description?: string | undefined;
907
+ }>, "many">;
908
+ }, "strip", z.ZodTypeAny, {
909
+ result: {
910
+ symbol?: string | undefined;
911
+ description?: string | undefined;
912
+ }[];
913
+ }, {
914
+ result: {
915
+ symbol?: string | undefined;
916
+ description?: string | undefined;
917
+ }[];
918
+ }>;
919
+ export type finnhubSymbolLookupOutputType = z.infer<typeof finnhubSymbolLookupOutputSchema>;
920
+ export type finnhubSymbolLookupFunction = ActionFunction<finnhubSymbolLookupParamsType, AuthParamsType, finnhubSymbolLookupOutputType>;
921
+ export declare const finnhubGetBasicFinancialsParamsSchema: z.ZodObject<{
922
+ symbol: z.ZodString;
923
+ }, "strip", z.ZodTypeAny, {
924
+ symbol: string;
925
+ }, {
926
+ symbol: string;
927
+ }>;
928
+ export type finnhubGetBasicFinancialsParamsType = z.infer<typeof finnhubGetBasicFinancialsParamsSchema>;
929
+ export declare const finnhubGetBasicFinancialsOutputSchema: z.ZodObject<{
930
+ result: z.ZodObject<{
931
+ annual: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ metric: z.ZodOptional<z.ZodString>;
933
+ series: z.ZodOptional<z.ZodArray<z.ZodObject<{
934
+ period: z.ZodOptional<z.ZodString>;
935
+ v: z.ZodOptional<z.ZodNumber>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ period?: string | undefined;
938
+ v?: number | undefined;
939
+ }, {
940
+ period?: string | undefined;
941
+ v?: number | undefined;
942
+ }>, "many">>;
943
+ }, "strip", z.ZodTypeAny, {
944
+ metric?: string | undefined;
945
+ series?: {
946
+ period?: string | undefined;
947
+ v?: number | undefined;
948
+ }[] | undefined;
949
+ }, {
950
+ metric?: string | undefined;
951
+ series?: {
952
+ period?: string | undefined;
953
+ v?: number | undefined;
954
+ }[] | undefined;
955
+ }>, "many">>;
956
+ quarterly: z.ZodOptional<z.ZodArray<z.ZodObject<{
957
+ metric: z.ZodOptional<z.ZodString>;
958
+ series: z.ZodOptional<z.ZodArray<z.ZodObject<{
959
+ period: z.ZodOptional<z.ZodString>;
960
+ v: z.ZodOptional<z.ZodNumber>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ period?: string | undefined;
963
+ v?: number | undefined;
964
+ }, {
965
+ period?: string | undefined;
966
+ v?: number | undefined;
967
+ }>, "many">>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ metric?: string | undefined;
970
+ series?: {
971
+ period?: string | undefined;
972
+ v?: number | undefined;
973
+ }[] | undefined;
974
+ }, {
975
+ metric?: string | undefined;
976
+ series?: {
977
+ period?: string | undefined;
978
+ v?: number | undefined;
979
+ }[] | undefined;
980
+ }>, "many">>;
981
+ }, "strip", z.ZodTypeAny, {
982
+ annual?: {
983
+ metric?: string | undefined;
984
+ series?: {
985
+ period?: string | undefined;
986
+ v?: number | undefined;
987
+ }[] | undefined;
988
+ }[] | undefined;
989
+ quarterly?: {
990
+ metric?: string | undefined;
991
+ series?: {
992
+ period?: string | undefined;
993
+ v?: number | undefined;
994
+ }[] | undefined;
995
+ }[] | undefined;
996
+ }, {
997
+ annual?: {
998
+ metric?: string | undefined;
999
+ series?: {
1000
+ period?: string | undefined;
1001
+ v?: number | undefined;
1002
+ }[] | undefined;
1003
+ }[] | undefined;
1004
+ quarterly?: {
1005
+ metric?: string | undefined;
1006
+ series?: {
1007
+ period?: string | undefined;
1008
+ v?: number | undefined;
1009
+ }[] | undefined;
1010
+ }[] | undefined;
1011
+ }>;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ result: {
1014
+ annual?: {
1015
+ metric?: string | undefined;
1016
+ series?: {
1017
+ period?: string | undefined;
1018
+ v?: number | undefined;
1019
+ }[] | undefined;
1020
+ }[] | undefined;
1021
+ quarterly?: {
1022
+ metric?: string | undefined;
1023
+ series?: {
1024
+ period?: string | undefined;
1025
+ v?: number | undefined;
1026
+ }[] | undefined;
1027
+ }[] | undefined;
1028
+ };
1029
+ }, {
1030
+ result: {
1031
+ annual?: {
1032
+ metric?: string | undefined;
1033
+ series?: {
1034
+ period?: string | undefined;
1035
+ v?: number | undefined;
1036
+ }[] | undefined;
1037
+ }[] | undefined;
1038
+ quarterly?: {
1039
+ metric?: string | undefined;
1040
+ series?: {
1041
+ period?: string | undefined;
1042
+ v?: number | undefined;
1043
+ }[] | undefined;
1044
+ }[] | undefined;
1045
+ };
1046
+ }>;
1047
+ export type finnhubGetBasicFinancialsOutputType = z.infer<typeof finnhubGetBasicFinancialsOutputSchema>;
1048
+ export type finnhubGetBasicFinancialsFunction = ActionFunction<finnhubGetBasicFinancialsParamsType, AuthParamsType, finnhubGetBasicFinancialsOutputType>;