@keystrokehq/nasdaq 0.1.0 → 0.1.3

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 (65) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-analyst-ratings.cjs +3 -3
  4. package/dist/actions/get-analyst-ratings.cjs.map +1 -1
  5. package/dist/actions/get-analyst-ratings.d.cts +67 -3
  6. package/dist/actions/get-analyst-ratings.d.cts.map +1 -1
  7. package/dist/actions/get-analyst-ratings.d.mts +67 -3
  8. package/dist/actions/get-analyst-ratings.d.mts.map +1 -1
  9. package/dist/actions/get-analyst-ratings.mjs +3 -3
  10. package/dist/actions/get-analyst-ratings.mjs.map +1 -1
  11. package/dist/actions/get-datatable-metadata.cjs +9 -9
  12. package/dist/actions/get-datatable-metadata.cjs.map +1 -1
  13. package/dist/actions/get-datatable-metadata.d.cts +27 -3
  14. package/dist/actions/get-datatable-metadata.d.cts.map +1 -1
  15. package/dist/actions/get-datatable-metadata.d.mts +27 -3
  16. package/dist/actions/get-datatable-metadata.d.mts.map +1 -1
  17. package/dist/actions/get-datatable-metadata.mjs +9 -9
  18. package/dist/actions/get-datatable-metadata.mjs.map +1 -1
  19. package/dist/actions/get-datatable.cjs +5 -5
  20. package/dist/actions/get-datatable.cjs.map +1 -1
  21. package/dist/actions/get-datatable.d.cts +18 -3
  22. package/dist/actions/get-datatable.d.cts.map +1 -1
  23. package/dist/actions/get-datatable.d.mts +18 -3
  24. package/dist/actions/get-datatable.d.mts.map +1 -1
  25. package/dist/actions/get-datatable.mjs +5 -5
  26. package/dist/actions/get-datatable.mjs.map +1 -1
  27. package/dist/actions/get-dividend-history.cjs +6 -6
  28. package/dist/actions/get-dividend-history.cjs.map +1 -1
  29. package/dist/actions/get-dividend-history.d.cts +22 -3
  30. package/dist/actions/get-dividend-history.d.cts.map +1 -1
  31. package/dist/actions/get-dividend-history.d.mts +22 -3
  32. package/dist/actions/get-dividend-history.d.mts.map +1 -1
  33. package/dist/actions/get-dividend-history.mjs +6 -6
  34. package/dist/actions/get-dividend-history.mjs.map +1 -1
  35. package/dist/actions/get-real-time-quote.cjs +2 -2
  36. package/dist/actions/get-real-time-quote.cjs.map +1 -1
  37. package/dist/actions/get-real-time-quote.d.cts +28 -3
  38. package/dist/actions/get-real-time-quote.d.cts.map +1 -1
  39. package/dist/actions/get-real-time-quote.d.mts +28 -3
  40. package/dist/actions/get-real-time-quote.d.mts.map +1 -1
  41. package/dist/actions/get-real-time-quote.mjs +2 -2
  42. package/dist/actions/get-real-time-quote.mjs.map +1 -1
  43. package/dist/actions/get-table-row.cjs +5 -5
  44. package/dist/actions/get-table-row.cjs.map +1 -1
  45. package/dist/actions/get-table-row.d.cts +24 -3
  46. package/dist/actions/get-table-row.d.cts.map +1 -1
  47. package/dist/actions/get-table-row.d.mts +24 -3
  48. package/dist/actions/get-table-row.d.mts.map +1 -1
  49. package/dist/actions/get-table-row.mjs +5 -5
  50. package/dist/actions/get-table-row.mjs.map +1 -1
  51. package/dist/actions/get-tables-by-date.cjs +9 -9
  52. package/dist/actions/get-tables-by-date.cjs.map +1 -1
  53. package/dist/actions/get-tables-by-date.d.cts +18 -3
  54. package/dist/actions/get-tables-by-date.d.cts.map +1 -1
  55. package/dist/actions/get-tables-by-date.d.mts +18 -3
  56. package/dist/actions/get-tables-by-date.d.mts.map +1 -1
  57. package/dist/actions/get-tables-by-date.mjs +9 -9
  58. package/dist/actions/get-tables-by-date.mjs.map +1 -1
  59. package/dist/catalog.cjs +7 -1
  60. package/dist/catalog.cjs.map +1 -1
  61. package/dist/catalog.d.cts +8 -0
  62. package/dist/catalog.d.mts +8 -0
  63. package/dist/catalog.mjs +7 -1
  64. package/dist/catalog.mjs.map +1 -1
  65. package/package.json +2 -2
@@ -4,15 +4,15 @@ let zod = require("zod");
4
4
  const NasdaqGetDatatableInput = zod.z.object({ datatable_code: zod.z.string().describe("The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.") });
5
5
  const NasdaqGetDatatable_FileInfoSchema = zod.z.object({
6
6
  link: zod.z.string().describe("The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.").nullable().optional(),
7
- status: zod.z.string().describe("Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created)."),
7
+ status: zod.z.string().describe("Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).").nullable(),
8
8
  data_snapshot_time: zod.z.string().describe("Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.").nullable().optional()
9
- });
10
- const NasdaqGetDatatable_DatatableInfoSchema = zod.z.object({ last_refreshed_time: zod.z.string().describe("Timestamp of the most recent data update for this datatable (ISO 8601 format).").nullable().optional() });
9
+ }).passthrough();
10
+ const NasdaqGetDatatable_DatatableInfoSchema = zod.z.object({ last_refreshed_time: zod.z.string().describe("Timestamp of the most recent data update for this datatable (ISO 8601 format).").nullable().optional() }).passthrough();
11
11
  const NasdaqGetDatatable_DatatableBulkDownloadSchema = zod.z.object({
12
12
  file: NasdaqGetDatatable_FileInfoSchema.nullable(),
13
13
  datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional()
14
- });
15
- const NasdaqGetDatatableOutput = zod.z.object({ datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable() });
14
+ }).passthrough();
15
+ const NasdaqGetDatatableOutput = zod.z.object({ datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable() }).passthrough();
16
16
  const nasdaqGetDatatable = require_action.action("NASDAQ_GET_DATATABLE", {
17
17
  slug: "nasdaq-get-datatable",
18
18
  name: "Get Datatable Bulk Export",
@@ -1 +1 @@
1
- {"version":3,"file":"get-datatable.cjs","names":["z","action"],"sources":["../../src/actions/get-datatable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDatatableInput: z.ZodTypeAny = z.object({\n datatable_code: z.string().describe(\"The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.\"),\n});\nconst NasdaqGetDatatable_FileInfoSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.\").nullable().optional(),\n status: z.string().describe(\"Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).\"),\n data_snapshot_time: z.string().describe(\"Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.\").nullable().optional(),\n});\nconst NasdaqGetDatatable_DatatableInfoSchema: z.ZodTypeAny = z.object({\n last_refreshed_time: z.string().describe(\"Timestamp of the most recent data update for this datatable (ISO 8601 format).\").nullable().optional(),\n});\nconst NasdaqGetDatatable_DatatableBulkDownloadSchema: z.ZodTypeAny = z.object({\n file: NasdaqGetDatatable_FileInfoSchema.nullable(),\n datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional(),\n});\nexport const NasdaqGetDatatableOutput: z.ZodTypeAny = z.object({\n datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable(),\n});\n\nexport const nasdaqGetDatatable = action(\"NASDAQ_GET_DATATABLE\", {\n slug: \"nasdaq-get-datatable\",\n name: \"Get Datatable Bulk Export\",\n description: \"Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when you need to download large datasets in full. Check the response status: if 'fresh', the file is ready for download; if 'creating' or 'regenerating', wait and retry the request. The download link is valid for 30 minutes only.\",\n input: NasdaqGetDatatableInput,\n output: NasdaqGetDatatableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACxO,CAAC;AACD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN;CAClP,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO,EACpE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC;AACD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAM,kCAAkC,SAAS;CACjD,WAAW,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,yBAAyB,+CAA+C,SAAS,EACnF,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-datatable.cjs","names":["z","action"],"sources":["../../src/actions/get-datatable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDatatableInput = z.object({\n datatable_code: z.string().describe(\"The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.\"),\n});\nconst NasdaqGetDatatable_FileInfoSchema = z.object({\n link: z.string().describe(\"The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.\").nullable().optional(),\n status: z.string().describe(\"Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).\").nullable(),\n data_snapshot_time: z.string().describe(\"Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDatatable_DatatableInfoSchema = z.object({\n last_refreshed_time: z.string().describe(\"Timestamp of the most recent data update for this datatable (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDatatable_DatatableBulkDownloadSchema = z.object({\n file: NasdaqGetDatatable_FileInfoSchema.nullable(),\n datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional(),\n}).passthrough();\nexport const NasdaqGetDatatableOutput = z.object({\n datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable(),\n}).passthrough();\n\nexport const nasdaqGetDatatable = action(\"NASDAQ_GET_DATATABLE\", {\n slug: \"nasdaq-get-datatable\",\n name: \"Get Datatable Bulk Export\",\n description: \"Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when you need to download large datasets in full. Check the response status: if 'fresh', the file is ready for download; if 'creating' or 'regenerating', wait and retry the request. The download link is valid for 30 minutes only.\",\n input: NasdaqGetDatatableInput,\n output: NasdaqGetDatatableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACxO,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN,CAAC,CAAC,SAAS;CAC7P,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyCA,IAAAA,EAAE,OAAO,EACtD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAM,kCAAkC,SAAS;CACjD,WAAW,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,yBAAyB,+CAA+C,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-datatable.d.ts
4
- declare const NasdaqGetDatatableInput: z.ZodTypeAny;
5
- declare const NasdaqGetDatatableOutput: z.ZodTypeAny;
6
- declare const nasdaqGetDatatable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetDatatableInput: z.ZodObject<{
5
+ datatable_code: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NasdaqGetDatatableOutput: z.ZodObject<{
8
+ datatable_bulk_download: z.ZodNullable<z.ZodObject<{
9
+ file: z.ZodNullable<z.ZodObject<{
10
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ data_snapshot_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ datatable: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ last_refreshed_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const nasdaqGetDatatable: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ datatable_code: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { nasdaqGetDatatable };
9
24
  //# sourceMappingURL=get-datatable.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-datatable.d.cts","names":[],"sources":["../../src/actions/get-datatable.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAaW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-datatable.d.cts","names":[],"sources":["../../src/actions/get-datatable.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-datatable.d.ts
4
- declare const NasdaqGetDatatableInput: z.ZodTypeAny;
5
- declare const NasdaqGetDatatableOutput: z.ZodTypeAny;
6
- declare const nasdaqGetDatatable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetDatatableInput: z.ZodObject<{
5
+ datatable_code: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NasdaqGetDatatableOutput: z.ZodObject<{
8
+ datatable_bulk_download: z.ZodNullable<z.ZodObject<{
9
+ file: z.ZodNullable<z.ZodObject<{
10
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ data_snapshot_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ datatable: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ last_refreshed_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const nasdaqGetDatatable: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ datatable_code: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { nasdaqGetDatatable };
9
24
  //# sourceMappingURL=get-datatable.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-datatable.d.mts","names":[],"sources":["../../src/actions/get-datatable.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAaW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-datatable.d.mts","names":[],"sources":["../../src/actions/get-datatable.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -4,20 +4,20 @@ import { z } from "zod";
4
4
  const NasdaqGetDatatableInput = z.object({ datatable_code: z.string().describe("The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.") });
5
5
  const NasdaqGetDatatable_FileInfoSchema = z.object({
6
6
  link: z.string().describe("The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.").nullable().optional(),
7
- status: z.string().describe("Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created)."),
7
+ status: z.string().describe("Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).").nullable(),
8
8
  data_snapshot_time: z.string().describe("Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.").nullable().optional()
9
- });
10
- const NasdaqGetDatatable_DatatableInfoSchema = z.object({ last_refreshed_time: z.string().describe("Timestamp of the most recent data update for this datatable (ISO 8601 format).").nullable().optional() });
9
+ }).passthrough();
10
+ const NasdaqGetDatatable_DatatableInfoSchema = z.object({ last_refreshed_time: z.string().describe("Timestamp of the most recent data update for this datatable (ISO 8601 format).").nullable().optional() }).passthrough();
11
11
  const NasdaqGetDatatable_DatatableBulkDownloadSchema = z.object({
12
12
  file: NasdaqGetDatatable_FileInfoSchema.nullable(),
13
13
  datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const nasdaqGetDatatable = action("NASDAQ_GET_DATATABLE", {
16
16
  slug: "nasdaq-get-datatable",
17
17
  name: "Get Datatable Bulk Export",
18
18
  description: "Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when you need to download large datasets in full. Check the response status: if 'fresh', the file is ready for download; if 'creating' or 'regenerating', wait and retry the request. The download link is valid for 30 minutes only.",
19
19
  input: NasdaqGetDatatableInput,
20
- output: z.object({ datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable() })
20
+ output: z.object({ datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable() }).passthrough()
21
21
  });
22
22
  //#endregion
23
23
  export { nasdaqGetDatatable };
@@ -1 +1 @@
1
- {"version":3,"file":"get-datatable.mjs","names":[],"sources":["../../src/actions/get-datatable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDatatableInput: z.ZodTypeAny = z.object({\n datatable_code: z.string().describe(\"The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.\"),\n});\nconst NasdaqGetDatatable_FileInfoSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.\").nullable().optional(),\n status: z.string().describe(\"Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).\"),\n data_snapshot_time: z.string().describe(\"Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.\").nullable().optional(),\n});\nconst NasdaqGetDatatable_DatatableInfoSchema: z.ZodTypeAny = z.object({\n last_refreshed_time: z.string().describe(\"Timestamp of the most recent data update for this datatable (ISO 8601 format).\").nullable().optional(),\n});\nconst NasdaqGetDatatable_DatatableBulkDownloadSchema: z.ZodTypeAny = z.object({\n file: NasdaqGetDatatable_FileInfoSchema.nullable(),\n datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional(),\n});\nexport const NasdaqGetDatatableOutput: z.ZodTypeAny = z.object({\n datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable(),\n});\n\nexport const nasdaqGetDatatable = action(\"NASDAQ_GET_DATATABLE\", {\n slug: \"nasdaq-get-datatable\",\n name: \"Get Datatable Bulk Export\",\n description: \"Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when you need to download large datasets in full. Check the response status: if 'fresh', the file is ready for download; if 'creating' or 'regenerating', wait and retry the request. The download link is valid for 30 minutes only.\",\n input: NasdaqGetDatatableInput,\n output: NasdaqGetDatatableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACxO,CAAC;AACD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN;CAClP,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO,EACpE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,kCAAkC,SAAS;CACjD,WAAW,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC;AAKD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,yBAAyB,+CAA+C,SAAS,EACnF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-datatable.mjs","names":[],"sources":["../../src/actions/get-datatable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDatatableInput = z.object({\n datatable_code: z.string().describe(\"The datatable code in format PUBLISHER/TABLE (e.g., 'WIKI/PRICES' for Wikipedia End of Day Stock Prices, 'SHARADAR/SF1' for Core US Fundamentals). This identifies the specific table to export.\"),\n});\nconst NasdaqGetDatatable_FileInfoSchema = z.object({\n link: z.string().describe(\"The downloadable URL for the zipped CSV file containing the bulk export data. This link is valid for 30 minutes. Returns null if the file is still being generated.\").nullable().optional(),\n status: z.string().describe(\"Current file generation status. Possible values: 'fresh' (file is ready and current), 'creating' (file is being generated for the first time), 'regenerating' (file exists but an updated version is being created).\").nullable(),\n data_snapshot_time: z.string().describe(\"Timestamp when file creation began (ISO 8601 format). Indicates the data snapshot point for the export.\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDatatable_DatatableInfoSchema = z.object({\n last_refreshed_time: z.string().describe(\"Timestamp of the most recent data update for this datatable (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDatatable_DatatableBulkDownloadSchema = z.object({\n file: NasdaqGetDatatable_FileInfoSchema.nullable(),\n datatable: NasdaqGetDatatable_DatatableInfoSchema.nullable().optional(),\n}).passthrough();\nexport const NasdaqGetDatatableOutput = z.object({\n datatable_bulk_download: NasdaqGetDatatable_DatatableBulkDownloadSchema.nullable(),\n}).passthrough();\n\nexport const nasdaqGetDatatable = action(\"NASDAQ_GET_DATATABLE\", {\n slug: \"nasdaq-get-datatable\",\n name: \"Get Datatable Bulk Export\",\n description: \"Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when you need to download large datasets in full. Check the response status: if 'fresh', the file is ready for download; if 'creating' or 'regenerating', wait and retry the request. The download link is valid for 30 minutes only.\",\n input: NasdaqGetDatatableInput,\n output: NasdaqGetDatatableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACxO,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN,CAAC,CAAC,SAAS;CAC7P,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO,EACtD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,kCAAkC,SAAS;CACjD,WAAW,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,yBAAyB,+CAA+C,SAAS,EACnF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,11 +6,11 @@ const NasdaqGetDividendHistoryInput = zod.z.object({
6
6
  ticker: zod.z.string().describe("The stock ticker symbol (e.g., AAPL for Apple Inc.)."),
7
7
  "qopts.columns": zod.z.string().default("ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv").describe("Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).").optional()
8
8
  });
9
- const NasdaqGetDividendHistory_MetaSchema = zod.z.object({ next_cursor_id: zod.z.string().describe("The cursor ID to use for fetching the next page of results. If null, it's the last page.").nullable().optional() });
9
+ const NasdaqGetDividendHistory_MetaSchema = zod.z.object({ next_cursor_id: zod.z.string().describe("The cursor ID to use for fetching the next page of results. If null, it's the last page.").nullable().optional() }).passthrough();
10
10
  const NasdaqGetDividendHistory_ColumnSchema = zod.z.object({
11
- name: zod.z.string().describe("Column name"),
12
- type: zod.z.string().describe("Column data type")
13
- });
11
+ name: zod.z.string().describe("Column name").nullable(),
12
+ type: zod.z.string().describe("Column data type").nullable()
13
+ }).passthrough();
14
14
  const NasdaqGetDividendHistory_DatatableDataSchema = zod.z.object({
15
15
  data: zod.z.array(zod.z.array(zod.z.union([
16
16
  zod.z.string(),
@@ -18,11 +18,11 @@ const NasdaqGetDividendHistory_DatatableDataSchema = zod.z.object({
18
18
  zod.z.number()
19
19
  ]).nullable())).describe("Array of data rows, each row is an array of values corresponding to the columns"),
20
20
  columns: zod.z.array(NasdaqGetDividendHistory_ColumnSchema).describe("Array of column definitions describing the structure of the data")
21
- });
21
+ }).passthrough();
22
22
  const NasdaqGetDividendHistoryOutput = zod.z.object({
23
23
  meta: NasdaqGetDividendHistory_MetaSchema.nullable(),
24
24
  datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable()
25
- });
25
+ }).passthrough();
26
26
  const nasdaqGetDividendHistory = require_action.action("NASDAQ_GET_DIVIDEND_HISTORY", {
27
27
  slug: "nasdaq-get-dividend-history",
28
28
  name: "Get Dividend Fundamentals",
@@ -1 +1 @@
1
- {"version":3,"file":"get-dividend-history.cjs","names":["z","action"],"sources":["../../src/actions/get-dividend-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDividendHistoryInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.\").optional(),\n ticker: z.string().describe(\"The stock ticker symbol (e.g., AAPL for Apple Inc.).\"),\n \"qopts.columns\": z.string().default(\"ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv\").describe(\"Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).\").optional(),\n});\nconst NasdaqGetDividendHistory_MetaSchema: z.ZodTypeAny = z.object({\n next_cursor_id: z.string().describe(\"The cursor ID to use for fetching the next page of results. If null, it's the last page.\").nullable().optional(),\n});\nconst NasdaqGetDividendHistory_ColumnSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Column name\"),\n type: z.string().describe(\"Column data type\"),\n});\nconst NasdaqGetDividendHistory_DatatableDataSchema: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number()]).nullable())).describe(\"Array of data rows, each row is an array of values corresponding to the columns\"),\n columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe(\"Array of column definitions describing the structure of the data\"),\n});\nexport const NasdaqGetDividendHistoryOutput: z.ZodTypeAny = z.object({\n meta: NasdaqGetDividendHistory_MetaSchema.nullable(),\n datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable(),\n});\n\nexport const nasdaqGetDividendHistory = action(\"NASDAQ_GET_DIVIDEND_HISTORY\", {\n slug: \"nasdaq-get-dividend-history\",\n name: \"Get Dividend Fundamentals\",\n description: \"Retrieves quarterly dividend-related fundamentals for a specific stock ticker from SHARADAR SF1 database. Returns dividend metrics including DPS (dividend per share), dividend yield, payout ratio, and cash flow from dividends. Data is quarterly (dimension=ARQ) and sourced from company financial statements. Note: This endpoint accesses the premium SHARADAR SF1 database which may require subscription access.\",\n input: NasdaqGetDividendHistoryInput,\n output: NasdaqGetDividendHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,uEAAuE,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS;AACvX,CAAC;AACD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO,EACjE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACjL,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kEAAkE;AACrI,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAM,oCAAoC,SAAS;CACnD,WAAW,6CAA6C,SAAS;AACnE,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-dividend-history.cjs","names":["z","action"],"sources":["../../src/actions/get-dividend-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDividendHistoryInput = z.object({\n date: z.string().describe(\"Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.\").optional(),\n ticker: z.string().describe(\"The stock ticker symbol (e.g., AAPL for Apple Inc.).\"),\n \"qopts.columns\": z.string().default(\"ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv\").describe(\"Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).\").optional(),\n});\nconst NasdaqGetDividendHistory_MetaSchema = z.object({\n next_cursor_id: z.string().describe(\"The cursor ID to use for fetching the next page of results. If null, it's the last page.\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDividendHistory_ColumnSchema = z.object({\n name: z.string().describe(\"Column name\").nullable(),\n type: z.string().describe(\"Column data type\").nullable(),\n}).passthrough();\nconst NasdaqGetDividendHistory_DatatableDataSchema = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number()]).nullable())).describe(\"Array of data rows, each row is an array of values corresponding to the columns\"),\n columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe(\"Array of column definitions describing the structure of the data\"),\n}).passthrough();\nexport const NasdaqGetDividendHistoryOutput = z.object({\n meta: NasdaqGetDividendHistory_MetaSchema.nullable(),\n datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable(),\n}).passthrough();\n\nexport const nasdaqGetDividendHistory = action(\"NASDAQ_GET_DIVIDEND_HISTORY\", {\n slug: \"nasdaq-get-dividend-history\",\n name: \"Get Dividend Fundamentals\",\n description: \"Retrieves quarterly dividend-related fundamentals for a specific stock ticker from SHARADAR SF1 database. Returns dividend metrics including DPS (dividend per share), dividend yield, payout ratio, and cash flow from dividends. Data is quarterly (dimension=ARQ) and sourced from company financial statements. Note: This endpoint accesses the premium SHARADAR SF1 database which may require subscription access.\",\n input: NasdaqGetDividendHistoryInput,\n output: NasdaqGetDividendHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,uEAAuE,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS;AACvX,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO,EACnD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACjL,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kEAAkE;AACrI,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,oCAAoC,SAAS;CACnD,WAAW,6CAA6C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-dividend-history.d.ts
4
- declare const NasdaqGetDividendHistoryInput: z.ZodTypeAny;
5
- declare const NasdaqGetDividendHistoryOutput: z.ZodTypeAny;
6
- declare const nasdaqGetDividendHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetDividendHistoryInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ ticker: z.ZodString;
7
+ "qopts.columns": z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ declare const NasdaqGetDividendHistoryOutput: z.ZodObject<{
10
+ meta: z.ZodNullable<z.ZodObject<{
11
+ next_cursor_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>;
13
+ datatable: z.ZodNullable<z.ZodObject<{
14
+ data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>>;
15
+ columns: z.ZodArray<z.ZodObject<{
16
+ name: z.ZodNullable<z.ZodString>;
17
+ type: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
+ declare const nasdaqGetDividendHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ ticker: string;
23
+ date?: string | undefined;
24
+ "qopts.columns"?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { nasdaqGetDividendHistory };
9
28
  //# sourceMappingURL=get-dividend-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dividend-history.d.cts","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-dividend-history.d.cts","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-dividend-history.d.ts
4
- declare const NasdaqGetDividendHistoryInput: z.ZodTypeAny;
5
- declare const NasdaqGetDividendHistoryOutput: z.ZodTypeAny;
6
- declare const nasdaqGetDividendHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetDividendHistoryInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ ticker: z.ZodString;
7
+ "qopts.columns": z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ declare const NasdaqGetDividendHistoryOutput: z.ZodObject<{
10
+ meta: z.ZodNullable<z.ZodObject<{
11
+ next_cursor_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>;
13
+ datatable: z.ZodNullable<z.ZodObject<{
14
+ data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>>;
15
+ columns: z.ZodArray<z.ZodObject<{
16
+ name: z.ZodNullable<z.ZodString>;
17
+ type: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
+ declare const nasdaqGetDividendHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ ticker: string;
23
+ date?: string | undefined;
24
+ "qopts.columns"?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { nasdaqGetDividendHistory };
9
28
  //# sourceMappingURL=get-dividend-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dividend-history.d.mts","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-dividend-history.d.mts","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,11 +6,11 @@ const NasdaqGetDividendHistoryInput = z.object({
6
6
  ticker: z.string().describe("The stock ticker symbol (e.g., AAPL for Apple Inc.)."),
7
7
  "qopts.columns": z.string().default("ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv").describe("Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).").optional()
8
8
  });
9
- const NasdaqGetDividendHistory_MetaSchema = z.object({ next_cursor_id: z.string().describe("The cursor ID to use for fetching the next page of results. If null, it's the last page.").nullable().optional() });
9
+ const NasdaqGetDividendHistory_MetaSchema = z.object({ next_cursor_id: z.string().describe("The cursor ID to use for fetching the next page of results. If null, it's the last page.").nullable().optional() }).passthrough();
10
10
  const NasdaqGetDividendHistory_ColumnSchema = z.object({
11
- name: z.string().describe("Column name"),
12
- type: z.string().describe("Column data type")
13
- });
11
+ name: z.string().describe("Column name").nullable(),
12
+ type: z.string().describe("Column data type").nullable()
13
+ }).passthrough();
14
14
  const NasdaqGetDividendHistory_DatatableDataSchema = z.object({
15
15
  data: z.array(z.array(z.union([
16
16
  z.string(),
@@ -18,7 +18,7 @@ const NasdaqGetDividendHistory_DatatableDataSchema = z.object({
18
18
  z.number()
19
19
  ]).nullable())).describe("Array of data rows, each row is an array of values corresponding to the columns"),
20
20
  columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe("Array of column definitions describing the structure of the data")
21
- });
21
+ }).passthrough();
22
22
  const nasdaqGetDividendHistory = action("NASDAQ_GET_DIVIDEND_HISTORY", {
23
23
  slug: "nasdaq-get-dividend-history",
24
24
  name: "Get Dividend Fundamentals",
@@ -27,7 +27,7 @@ const nasdaqGetDividendHistory = action("NASDAQ_GET_DIVIDEND_HISTORY", {
27
27
  output: z.object({
28
28
  meta: NasdaqGetDividendHistory_MetaSchema.nullable(),
29
29
  datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable()
30
- })
30
+ }).passthrough()
31
31
  });
32
32
  //#endregion
33
33
  export { nasdaqGetDividendHistory };
@@ -1 +1 @@
1
- {"version":3,"file":"get-dividend-history.mjs","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDividendHistoryInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.\").optional(),\n ticker: z.string().describe(\"The stock ticker symbol (e.g., AAPL for Apple Inc.).\"),\n \"qopts.columns\": z.string().default(\"ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv\").describe(\"Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).\").optional(),\n});\nconst NasdaqGetDividendHistory_MetaSchema: z.ZodTypeAny = z.object({\n next_cursor_id: z.string().describe(\"The cursor ID to use for fetching the next page of results. If null, it's the last page.\").nullable().optional(),\n});\nconst NasdaqGetDividendHistory_ColumnSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Column name\"),\n type: z.string().describe(\"Column data type\"),\n});\nconst NasdaqGetDividendHistory_DatatableDataSchema: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number()]).nullable())).describe(\"Array of data rows, each row is an array of values corresponding to the columns\"),\n columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe(\"Array of column definitions describing the structure of the data\"),\n});\nexport const NasdaqGetDividendHistoryOutput: z.ZodTypeAny = z.object({\n meta: NasdaqGetDividendHistory_MetaSchema.nullable(),\n datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable(),\n});\n\nexport const nasdaqGetDividendHistory = action(\"NASDAQ_GET_DIVIDEND_HISTORY\", {\n slug: \"nasdaq-get-dividend-history\",\n name: \"Get Dividend Fundamentals\",\n description: \"Retrieves quarterly dividend-related fundamentals for a specific stock ticker from SHARADAR SF1 database. Returns dividend metrics including DPS (dividend per share), dividend yield, payout ratio, and cash flow from dividends. Data is quarterly (dimension=ARQ) and sourced from company financial statements. Note: This endpoint accesses the premium SHARADAR SF1 database which may require subscription access.\",\n input: NasdaqGetDividendHistoryInput,\n output: NasdaqGetDividendHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,uEAAuE,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS;AACvX,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO,EACjE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACjL,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kEAAkE;AACrI,CAAC;AAMD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,oCAAoC,SAAS;EACnD,WAAW,6CAA6C,SAAS;CACnE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-dividend-history.mjs","names":[],"sources":["../../src/actions/get-dividend-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetDividendHistoryInput = z.object({\n date: z.string().describe(\"Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.\").optional(),\n ticker: z.string().describe(\"The stock ticker symbol (e.g., AAPL for Apple Inc.).\"),\n \"qopts.columns\": z.string().default(\"ticker,dimension,calendardate,datekey,dps,divyield,payoutratio,ncfdiv\").describe(\"Comma-separated list of columns to return. Defaults to dividend-related columns: ticker, dimension, calendardate, datekey, dps (dividend per share), divyield (dividend yield), payoutratio (payout ratio), ncfdiv (net cash flow from dividends).\").optional(),\n});\nconst NasdaqGetDividendHistory_MetaSchema = z.object({\n next_cursor_id: z.string().describe(\"The cursor ID to use for fetching the next page of results. If null, it's the last page.\").nullable().optional(),\n}).passthrough();\nconst NasdaqGetDividendHistory_ColumnSchema = z.object({\n name: z.string().describe(\"Column name\").nullable(),\n type: z.string().describe(\"Column data type\").nullable(),\n}).passthrough();\nconst NasdaqGetDividendHistory_DatatableDataSchema = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number()]).nullable())).describe(\"Array of data rows, each row is an array of values corresponding to the columns\"),\n columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe(\"Array of column definitions describing the structure of the data\"),\n}).passthrough();\nexport const NasdaqGetDividendHistoryOutput = z.object({\n meta: NasdaqGetDividendHistory_MetaSchema.nullable(),\n datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable(),\n}).passthrough();\n\nexport const nasdaqGetDividendHistory = action(\"NASDAQ_GET_DIVIDEND_HISTORY\", {\n slug: \"nasdaq-get-dividend-history\",\n name: \"Get Dividend Fundamentals\",\n description: \"Retrieves quarterly dividend-related fundamentals for a specific stock ticker from SHARADAR SF1 database. Returns dividend metrics including DPS (dividend per share), dividend yield, payout ratio, and cash flow from dividends. Data is quarterly (dimension=ARQ) and sourced from company financial statements. Note: This endpoint accesses the premium SHARADAR SF1 database which may require subscription access.\",\n input: NasdaqGetDividendHistoryInput,\n output: NasdaqGetDividendHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,uEAAuE,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS;AACvX,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACjL,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kEAAkE;AACrI,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,oCAAoC,SAAS;EACnD,WAAW,6CAA6C,SAAS;CACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,11 +18,11 @@ const NasdaqGetRealTimeQuote_QuoteDataSchema = zod.z.object({
18
18
  ticker: zod.z.string().describe("The stock ticker symbol.").nullable().optional(),
19
19
  volume: zod.z.number().describe("Total trading volume for the day.").nullable().optional(),
20
20
  dividend: zod.z.number().describe("Dividend amount if any.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const NasdaqGetRealTimeQuoteOutput = zod.z.object({
23
23
  quotes: zod.z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe("A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.").nullable().optional(),
24
24
  next_cursor_id: zod.z.string().describe("Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.").nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const nasdaqGetRealTimeQuote = require_action.action("NASDAQ_GET_REAL_TIME_QUOTE", {
27
27
  slug: "nasdaq-get-real-time-quote",
28
28
  name: "Get Stock Price Data",
@@ -1 +1 @@
1
- {"version":3,"file":"get-real-time-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetRealTimeQuoteInput: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL).\"),\n date_gte: z.string().describe(\"Filter for dates greater than or equal to this date (format: YYYY-MM-DD). If not specified, returns recent historical data.\").optional(),\n date_lte: z.string().describe(\"Filter for dates less than or equal to this date (format: YYYY-MM-DD).\").optional(),\n per_page: z.number().int().describe(\"Number of rows to return per page (max 10000). Defaults to 100 if not specified.\").optional(),\n cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Obtain this from the 'next_cursor_id' field in a previous response.\").optional(),\n});\nconst NasdaqGetRealTimeQuote_QuoteDataSchema: z.ZodTypeAny = z.object({\n low: z.number().describe(\"Lowest price during the trading day.\").nullable().optional(),\n date: z.string().describe(\"Date of the price data (YYYY-MM-DD format).\").nullable().optional(),\n high: z.number().describe(\"Highest price during the trading day.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the trading day.\").nullable().optional(),\n close: z.number().describe(\"Closing price for the trading day.\").nullable().optional(),\n split: z.number().describe(\"Stock split ratio if any.\").nullable().optional(),\n ticker: z.string().describe(\"The stock ticker symbol.\").nullable().optional(),\n volume: z.number().describe(\"Total trading volume for the day.\").nullable().optional(),\n dividend: z.number().describe(\"Dividend amount if any.\").nullable().optional(),\n});\nexport const NasdaqGetRealTimeQuoteOutput: z.ZodTypeAny = z.object({\n quotes: z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe(\"A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.\").nullable().optional(),\n next_cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.\").nullable().optional(),\n});\n\nexport const nasdaqGetRealTimeQuote = action(\"NASDAQ_GET_REAL_TIME_QUOTE\", {\n slug: \"nasdaq-get-real-time-quote\",\n name: \"Get Stock Price Data\",\n description: \"Retrieves end-of-day historical stock price data for a specific ticker symbol from the QUOTEMEDIA database. Returns OHLC (Open, High, Low, Close) prices, volume, and dividend/split information. Note: This provides historical end-of-day data, not live real-time quotes.\",\n input: NasdaqGetRealTimeQuoteInput,\n output: NasdaqGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetRealTimeQuoteInput = z.object({\n ticker: z.string().describe(\"The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL).\"),\n date_gte: z.string().describe(\"Filter for dates greater than or equal to this date (format: YYYY-MM-DD). If not specified, returns recent historical data.\").optional(),\n date_lte: z.string().describe(\"Filter for dates less than or equal to this date (format: YYYY-MM-DD).\").optional(),\n per_page: z.number().int().describe(\"Number of rows to return per page (max 10000). Defaults to 100 if not specified.\").optional(),\n cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Obtain this from the 'next_cursor_id' field in a previous response.\").optional(),\n});\nconst NasdaqGetRealTimeQuote_QuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the trading day.\").nullable().optional(),\n date: z.string().describe(\"Date of the price data (YYYY-MM-DD format).\").nullable().optional(),\n high: z.number().describe(\"Highest price during the trading day.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the trading day.\").nullable().optional(),\n close: z.number().describe(\"Closing price for the trading day.\").nullable().optional(),\n split: z.number().describe(\"Stock split ratio if any.\").nullable().optional(),\n ticker: z.string().describe(\"The stock ticker symbol.\").nullable().optional(),\n volume: z.number().describe(\"Total trading volume for the day.\").nullable().optional(),\n dividend: z.number().describe(\"Dividend amount if any.\").nullable().optional(),\n}).passthrough();\nexport const NasdaqGetRealTimeQuoteOutput = z.object({\n quotes: z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe(\"A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.\").nullable().optional(),\n next_cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.\").nullable().optional(),\n}).passthrough();\n\nexport const nasdaqGetRealTimeQuote = action(\"NASDAQ_GET_REAL_TIME_QUOTE\", {\n slug: \"nasdaq-get-real-time-quote\",\n name: \"Get Stock Price Data\",\n description: \"Retrieves end-of-day historical stock price data for a specific ticker symbol from the QUOTEMEDIA database. Returns OHLC (Open, High, Low, Close) prices, volume, and dividend/split information. Note: This provides historical end-of-day data, not live real-time quotes.\",\n input: NasdaqGetRealTimeQuoteInput,\n output: NasdaqGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-real-time-quote.d.ts
4
- declare const NasdaqGetRealTimeQuoteInput: z.ZodTypeAny;
5
- declare const NasdaqGetRealTimeQuoteOutput: z.ZodTypeAny;
6
- declare const nasdaqGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetRealTimeQuoteInput: z.ZodObject<{
5
+ ticker: z.ZodString;
6
+ date_gte: z.ZodOptional<z.ZodString>;
7
+ date_lte: z.ZodOptional<z.ZodString>;
8
+ per_page: z.ZodOptional<z.ZodNumber>;
9
+ cursor_id: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const NasdaqGetRealTimeQuoteOutput: z.ZodObject<{
12
+ quotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ low: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ high: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ open: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ close: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ split: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ volume: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ dividend: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>>>;
23
+ next_cursor_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
+ declare const nasdaqGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ ticker: string;
27
+ date_gte?: string | undefined;
28
+ date_lte?: string | undefined;
29
+ per_page?: number | undefined;
30
+ cursor_id?: string | undefined;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { nasdaqGetRealTimeQuote };
9
34
  //# sourceMappingURL=get-real-time-quote.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-real-time-quote.d.cts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAYW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-real-time-quote.d.cts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-real-time-quote.d.ts
4
- declare const NasdaqGetRealTimeQuoteInput: z.ZodTypeAny;
5
- declare const NasdaqGetRealTimeQuoteOutput: z.ZodTypeAny;
6
- declare const nasdaqGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NasdaqGetRealTimeQuoteInput: z.ZodObject<{
5
+ ticker: z.ZodString;
6
+ date_gte: z.ZodOptional<z.ZodString>;
7
+ date_lte: z.ZodOptional<z.ZodString>;
8
+ per_page: z.ZodOptional<z.ZodNumber>;
9
+ cursor_id: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const NasdaqGetRealTimeQuoteOutput: z.ZodObject<{
12
+ quotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ low: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ high: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ open: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ close: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ split: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ volume: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ dividend: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>>>;
23
+ next_cursor_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
+ declare const nasdaqGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ ticker: string;
27
+ date_gte?: string | undefined;
28
+ date_lte?: string | undefined;
29
+ per_page?: number | undefined;
30
+ cursor_id?: string | undefined;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { nasdaqGetRealTimeQuote };
9
34
  //# sourceMappingURL=get-real-time-quote.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-real-time-quote.d.mts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAYW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-real-time-quote.d.mts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -18,7 +18,7 @@ const NasdaqGetRealTimeQuote_QuoteDataSchema = z.object({
18
18
  ticker: z.string().describe("The stock ticker symbol.").nullable().optional(),
19
19
  volume: z.number().describe("Total trading volume for the day.").nullable().optional(),
20
20
  dividend: z.number().describe("Dividend amount if any.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const nasdaqGetRealTimeQuote = action("NASDAQ_GET_REAL_TIME_QUOTE", {
23
23
  slug: "nasdaq-get-real-time-quote",
24
24
  name: "Get Stock Price Data",
@@ -27,7 +27,7 @@ const nasdaqGetRealTimeQuote = action("NASDAQ_GET_REAL_TIME_QUOTE", {
27
27
  output: z.object({
28
28
  quotes: z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe("A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.").nullable().optional(),
29
29
  next_cursor_id: z.string().describe("Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.").nullable().optional()
30
- })
30
+ }).passthrough()
31
31
  });
32
32
  //#endregion
33
33
  export { nasdaqGetRealTimeQuote };
@@ -1 +1 @@
1
- {"version":3,"file":"get-real-time-quote.mjs","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetRealTimeQuoteInput: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL).\"),\n date_gte: z.string().describe(\"Filter for dates greater than or equal to this date (format: YYYY-MM-DD). If not specified, returns recent historical data.\").optional(),\n date_lte: z.string().describe(\"Filter for dates less than or equal to this date (format: YYYY-MM-DD).\").optional(),\n per_page: z.number().int().describe(\"Number of rows to return per page (max 10000). Defaults to 100 if not specified.\").optional(),\n cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Obtain this from the 'next_cursor_id' field in a previous response.\").optional(),\n});\nconst NasdaqGetRealTimeQuote_QuoteDataSchema: z.ZodTypeAny = z.object({\n low: z.number().describe(\"Lowest price during the trading day.\").nullable().optional(),\n date: z.string().describe(\"Date of the price data (YYYY-MM-DD format).\").nullable().optional(),\n high: z.number().describe(\"Highest price during the trading day.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the trading day.\").nullable().optional(),\n close: z.number().describe(\"Closing price for the trading day.\").nullable().optional(),\n split: z.number().describe(\"Stock split ratio if any.\").nullable().optional(),\n ticker: z.string().describe(\"The stock ticker symbol.\").nullable().optional(),\n volume: z.number().describe(\"Total trading volume for the day.\").nullable().optional(),\n dividend: z.number().describe(\"Dividend amount if any.\").nullable().optional(),\n});\nexport const NasdaqGetRealTimeQuoteOutput: z.ZodTypeAny = z.object({\n quotes: z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe(\"A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.\").nullable().optional(),\n next_cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.\").nullable().optional(),\n});\n\nexport const nasdaqGetRealTimeQuote = action(\"NASDAQ_GET_REAL_TIME_QUOTE\", {\n slug: \"nasdaq-get-real-time-quote\",\n name: \"Get Stock Price Data\",\n description: \"Retrieves end-of-day historical stock price data for a specific ticker symbol from the QUOTEMEDIA database. Returns OHLC (Open, High, Low, Close) prices, volume, and dividend/split information. Note: This provides historical end-of-day data, not live real-time quotes.\",\n input: NasdaqGetRealTimeQuoteInput,\n output: NasdaqGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC;AAMD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvQ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7L,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-quote.mjs","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetRealTimeQuoteInput = z.object({\n ticker: z.string().describe(\"The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL).\"),\n date_gte: z.string().describe(\"Filter for dates greater than or equal to this date (format: YYYY-MM-DD). If not specified, returns recent historical data.\").optional(),\n date_lte: z.string().describe(\"Filter for dates less than or equal to this date (format: YYYY-MM-DD).\").optional(),\n per_page: z.number().int().describe(\"Number of rows to return per page (max 10000). Defaults to 100 if not specified.\").optional(),\n cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Obtain this from the 'next_cursor_id' field in a previous response.\").optional(),\n});\nconst NasdaqGetRealTimeQuote_QuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the trading day.\").nullable().optional(),\n date: z.string().describe(\"Date of the price data (YYYY-MM-DD format).\").nullable().optional(),\n high: z.number().describe(\"Highest price during the trading day.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the trading day.\").nullable().optional(),\n close: z.number().describe(\"Closing price for the trading day.\").nullable().optional(),\n split: z.number().describe(\"Stock split ratio if any.\").nullable().optional(),\n ticker: z.string().describe(\"The stock ticker symbol.\").nullable().optional(),\n volume: z.number().describe(\"Total trading volume for the day.\").nullable().optional(),\n dividend: z.number().describe(\"Dividend amount if any.\").nullable().optional(),\n}).passthrough();\nexport const NasdaqGetRealTimeQuoteOutput = z.object({\n quotes: z.array(NasdaqGetRealTimeQuote_QuoteDataSchema).describe(\"A list of end-of-day price data for the requested ticker symbol, with the most recent dates first. Each entry represents one trading day's OHLC (Open, High, Low, Close) data.\").nullable().optional(),\n next_cursor_id: z.string().describe(\"Cursor ID for fetching the next page of results. Pass this as 'cursor_id' in the next request. Null if there are no more pages.\").nullable().optional(),\n}).passthrough();\n\nexport const nasdaqGetRealTimeQuote = action(\"NASDAQ_GET_REAL_TIME_QUOTE\", {\n slug: \"nasdaq-get-real-time-quote\",\n name: \"Get Stock Price Data\",\n description: \"Retrieves end-of-day historical stock price data for a specific ticker symbol from the QUOTEMEDIA database. Returns OHLC (Open, High, Low, Close) prices, volume, and dividend/split information. Note: This provides historical end-of-day data, not live real-time quotes.\",\n input: NasdaqGetRealTimeQuoteInput,\n output: NasdaqGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvQ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -9,17 +9,17 @@ const NasdaqGetTableRowInput = zod.z.object({
9
9
  filter_column_value: zod.z.string().describe("The value to filter for in the specified column. For ticker filters, use stock symbols like 'AAPL', 'MSFT', 'GOOGL'. For other columns, use appropriate string values.")
10
10
  });
11
11
  const NasdaqGetTableRow_ColumnDefinitionSchema = zod.z.object({
12
- name: zod.z.string().describe("Name of the column."),
13
- type: zod.z.string().describe("Data type of the column.")
14
- });
12
+ name: zod.z.string().describe("Name of the column.").nullable(),
13
+ type: zod.z.string().describe("Data type of the column.").nullable()
14
+ }).passthrough();
15
15
  const NasdaqGetTableRow_DatatableSchema = zod.z.object({
16
16
  data: zod.z.array(zod.z.array(zod.z.unknown())).describe("The row data. Each inner list represents a row."),
17
17
  columns: zod.z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe("Definitions of the columns in the table.")
18
- });
18
+ }).passthrough();
19
19
  const NasdaqGetTableRowOutput = zod.z.object({
20
20
  message: zod.z.string().describe("A message indicating the outcome, e.g., if no row is found.").nullable().optional(),
21
21
  datatable: NasdaqGetTableRow_DatatableSchema.nullable()
22
- });
22
+ }).passthrough();
23
23
  const nasdaqGetTableRow = require_action.action("NASDAQ_GET_TABLE_ROW", {
24
24
  slug: "nasdaq-get-table-row",
25
25
  name: "Get Table Row By Filter",
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-row.cjs","names":["z","action"],"sources":["../../src/actions/get-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetTableRowInput: z.ZodTypeAny = z.object({\n columns: z.string().describe(\"Optional comma-separated list of column names to return (e.g., 'ticker,revenue,netinc'). If omitted, all available columns are returned. Use this to reduce response size when you only need specific fields.\").optional(),\n datacode: z.string().describe(\"The database code. Common examples: 'SHARADAR' for equity fundamentals and prices, or other NASDAQ Data Link database codes.\"),\n datatable_code: z.string().describe(\"The specific table code within the database. Examples: 'SF1' for fundamental indicators, 'TICKERS' for ticker metadata, 'SEP' for daily stock prices.\"),\n filter_column_name: z.string().describe(\"The column name to use as a filter. Common filter columns include 'ticker' (stock symbol), 'permaticker' (permanent ticker ID), or other table-specific columns. Must be a filterable column per the table's schema.\"),\n filter_column_value: z.string().describe(\"The value to filter for in the specified column. For ticker filters, use stock symbols like 'AAPL', 'MSFT', 'GOOGL'. For other columns, use appropriate string values.\"),\n});\nconst NasdaqGetTableRow_ColumnDefinitionSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the column.\"),\n type: z.string().describe(\"Data type of the column.\"),\n});\nconst NasdaqGetTableRow_DatatableSchema: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.unknown())).describe(\"The row data. Each inner list represents a row.\"),\n columns: z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe(\"Definitions of the columns in the table.\"),\n});\nexport const NasdaqGetTableRowOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message indicating the outcome, e.g., if no row is found.\").nullable().optional(),\n datatable: NasdaqGetTableRow_DatatableSchema.nullable(),\n});\n\nexport const nasdaqGetTableRow = action(\"NASDAQ_GET_TABLE_ROW\", {\n slug: \"nasdaq-get-table-row\",\n name: \"Get Table Row By Filter\",\n description: \"Retrieves rows from a NASDAQ Data Link datatable by filtering on a specified column and value. This action queries NASDAQ Data Link datatables (e.g., SHARADAR/SF1 for fundamental data, SHARADAR/TICKERS for ticker metadata) and returns rows matching the filter criteria. The API may return multiple rows if the filter isn't unique (e.g., filtering ticker='AAPL' in SF1 returns multiple fiscal periods). Use the 'columns' parameter to limit returned fields. Common use cases: - Get fundamental data for a stock: datacode='SHARADAR', datatable_code='SF1', filter_column_name='ticker' - Get ticker metadata: datacode='SHARADAR', datatable_code='TICKERS', filter_column_name='ticker' - Get price data: datacode='SHARADAR', datatable_code='SEP', filter_column_name='ticker'\",\n input: NasdaqGetTableRowInput,\n output: NasdaqGetTableRowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC5J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN;CAC9P,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;AACnN,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACtD,CAAC;AACD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC9F,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AAChH,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,kCAAkC,SAAS;AACxD,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-table-row.cjs","names":["z","action"],"sources":["../../src/actions/get-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetTableRowInput = z.object({\n columns: z.string().describe(\"Optional comma-separated list of column names to return (e.g., 'ticker,revenue,netinc'). If omitted, all available columns are returned. Use this to reduce response size when you only need specific fields.\").optional(),\n datacode: z.string().describe(\"The database code. Common examples: 'SHARADAR' for equity fundamentals and prices, or other NASDAQ Data Link database codes.\"),\n datatable_code: z.string().describe(\"The specific table code within the database. Examples: 'SF1' for fundamental indicators, 'TICKERS' for ticker metadata, 'SEP' for daily stock prices.\"),\n filter_column_name: z.string().describe(\"The column name to use as a filter. Common filter columns include 'ticker' (stock symbol), 'permaticker' (permanent ticker ID), or other table-specific columns. Must be a filterable column per the table's schema.\"),\n filter_column_value: z.string().describe(\"The value to filter for in the specified column. For ticker filters, use stock symbols like 'AAPL', 'MSFT', 'GOOGL'. For other columns, use appropriate string values.\"),\n});\nconst NasdaqGetTableRow_ColumnDefinitionSchema = z.object({\n name: z.string().describe(\"Name of the column.\").nullable(),\n type: z.string().describe(\"Data type of the column.\").nullable(),\n}).passthrough();\nconst NasdaqGetTableRow_DatatableSchema = z.object({\n data: z.array(z.array(z.unknown())).describe(\"The row data. Each inner list represents a row.\"),\n columns: z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe(\"Definitions of the columns in the table.\"),\n}).passthrough();\nexport const NasdaqGetTableRowOutput = z.object({\n message: z.string().describe(\"A message indicating the outcome, e.g., if no row is found.\").nullable().optional(),\n datatable: NasdaqGetTableRow_DatatableSchema.nullable(),\n}).passthrough();\n\nexport const nasdaqGetTableRow = action(\"NASDAQ_GET_TABLE_ROW\", {\n slug: \"nasdaq-get-table-row\",\n name: \"Get Table Row By Filter\",\n description: \"Retrieves rows from a NASDAQ Data Link datatable by filtering on a specified column and value. This action queries NASDAQ Data Link datatables (e.g., SHARADAR/SF1 for fundamental data, SHARADAR/TICKERS for ticker metadata) and returns rows matching the filter criteria. The API may return multiple rows if the filter isn't unique (e.g., filtering ticker='AAPL' in SF1 returns multiple fiscal periods). Use the 'columns' parameter to limit returned fields. Common use cases: - Get fundamental data for a stock: datacode='SHARADAR', datatable_code='SF1', filter_column_name='ticker' - Get ticker metadata: datacode='SHARADAR', datatable_code='TICKERS', filter_column_name='ticker' - Get price data: datacode='SHARADAR', datatable_code='SEP', filter_column_name='ticker'\",\n input: NasdaqGetTableRowInput,\n output: NasdaqGetTableRowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC5J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN;CAC9P,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;AACnN,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC9F,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,kCAAkC,SAAS;AACxD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}