@keystrokehq/nasdaq 0.1.0
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 +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-analyst-ratings.cjs +78 -0
- package/dist/actions/get-analyst-ratings.cjs.map +1 -0
- package/dist/actions/get-analyst-ratings.d.cts +9 -0
- package/dist/actions/get-analyst-ratings.d.cts.map +1 -0
- package/dist/actions/get-analyst-ratings.d.mts +9 -0
- package/dist/actions/get-analyst-ratings.d.mts.map +1 -0
- package/dist/actions/get-analyst-ratings.mjs +77 -0
- package/dist/actions/get-analyst-ratings.mjs.map +1 -0
- package/dist/actions/get-datatable-metadata.cjs +37 -0
- package/dist/actions/get-datatable-metadata.cjs.map +1 -0
- package/dist/actions/get-datatable-metadata.d.cts +9 -0
- package/dist/actions/get-datatable-metadata.d.cts.map +1 -0
- package/dist/actions/get-datatable-metadata.d.mts +9 -0
- package/dist/actions/get-datatable-metadata.d.mts.map +1 -0
- package/dist/actions/get-datatable-metadata.mjs +36 -0
- package/dist/actions/get-datatable-metadata.mjs.map +1 -0
- package/dist/actions/get-datatable.cjs +26 -0
- package/dist/actions/get-datatable.cjs.map +1 -0
- package/dist/actions/get-datatable.d.cts +9 -0
- package/dist/actions/get-datatable.d.cts.map +1 -0
- package/dist/actions/get-datatable.d.mts +9 -0
- package/dist/actions/get-datatable.d.mts.map +1 -0
- package/dist/actions/get-datatable.mjs +25 -0
- package/dist/actions/get-datatable.mjs.map +1 -0
- package/dist/actions/get-dividend-history.cjs +36 -0
- package/dist/actions/get-dividend-history.cjs.map +1 -0
- package/dist/actions/get-dividend-history.d.cts +9 -0
- package/dist/actions/get-dividend-history.d.cts.map +1 -0
- package/dist/actions/get-dividend-history.d.mts +9 -0
- package/dist/actions/get-dividend-history.d.mts.map +1 -0
- package/dist/actions/get-dividend-history.mjs +35 -0
- package/dist/actions/get-dividend-history.mjs.map +1 -0
- package/dist/actions/get-real-time-quote.cjs +36 -0
- package/dist/actions/get-real-time-quote.cjs.map +1 -0
- package/dist/actions/get-real-time-quote.d.cts +9 -0
- package/dist/actions/get-real-time-quote.d.cts.map +1 -0
- package/dist/actions/get-real-time-quote.d.mts +9 -0
- package/dist/actions/get-real-time-quote.d.mts.map +1 -0
- package/dist/actions/get-real-time-quote.mjs +35 -0
- package/dist/actions/get-real-time-quote.mjs.map +1 -0
- package/dist/actions/get-table-row.cjs +33 -0
- package/dist/actions/get-table-row.cjs.map +1 -0
- package/dist/actions/get-table-row.d.cts +9 -0
- package/dist/actions/get-table-row.d.cts.map +1 -0
- package/dist/actions/get-table-row.d.mts +9 -0
- package/dist/actions/get-table-row.d.mts.map +1 -0
- package/dist/actions/get-table-row.mjs +32 -0
- package/dist/actions/get-table-row.mjs.map +1 -0
- package/dist/actions/get-tables-by-date.cjs +28 -0
- package/dist/actions/get-tables-by-date.cjs.map +1 -0
- package/dist/actions/get-tables-by-date.d.cts +9 -0
- package/dist/actions/get-tables-by-date.d.cts.map +1 -0
- package/dist/actions/get-tables-by-date.d.mts +9 -0
- package/dist/actions/get-tables-by-date.d.mts.map +1 -0
- package/dist/actions/get-tables-by-date.mjs +27 -0
- package/dist/actions/get-tables-by-date.mjs.map +1 -0
- package/dist/actions/index.cjs +15 -0
- package/dist/actions/index.d.cts +8 -0
- package/dist/actions/index.d.mts +8 -0
- package/dist/actions/index.mjs +8 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +11 -0
- package/package.json +49 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-dividend-history.ts
|
|
4
|
+
const NasdaqGetDividendHistoryInput = zod.z.object({
|
|
5
|
+
date: zod.z.string().describe("Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.").optional(),
|
|
6
|
+
ticker: zod.z.string().describe("The stock ticker symbol (e.g., AAPL for Apple Inc.)."),
|
|
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
|
+
});
|
|
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() });
|
|
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
|
+
});
|
|
14
|
+
const NasdaqGetDividendHistory_DatatableDataSchema = zod.z.object({
|
|
15
|
+
data: zod.z.array(zod.z.array(zod.z.union([
|
|
16
|
+
zod.z.string(),
|
|
17
|
+
zod.z.number().int(),
|
|
18
|
+
zod.z.number()
|
|
19
|
+
]).nullable())).describe("Array of data rows, each row is an array of values corresponding to the columns"),
|
|
20
|
+
columns: zod.z.array(NasdaqGetDividendHistory_ColumnSchema).describe("Array of column definitions describing the structure of the data")
|
|
21
|
+
});
|
|
22
|
+
const NasdaqGetDividendHistoryOutput = zod.z.object({
|
|
23
|
+
meta: NasdaqGetDividendHistory_MetaSchema.nullable(),
|
|
24
|
+
datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable()
|
|
25
|
+
});
|
|
26
|
+
const nasdaqGetDividendHistory = require_action.action("NASDAQ_GET_DIVIDEND_HISTORY", {
|
|
27
|
+
slug: "nasdaq-get-dividend-history",
|
|
28
|
+
name: "Get Dividend Fundamentals",
|
|
29
|
+
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.",
|
|
30
|
+
input: NasdaqGetDividendHistoryInput,
|
|
31
|
+
output: NasdaqGetDividendHistoryOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.nasdaqGetDividendHistory = nasdaqGetDividendHistory;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-dividend-history.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetDividendHistory };
|
|
9
|
+
//# sourceMappingURL=get-dividend-history.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetDividendHistory };
|
|
9
|
+
//# sourceMappingURL=get-dividend-history.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-dividend-history.ts
|
|
4
|
+
const NasdaqGetDividendHistoryInput = z.object({
|
|
5
|
+
date: z.string().describe("Filters the data for a specific date in YYYY-MM-DD format. If not specified, returns all available dates.").optional(),
|
|
6
|
+
ticker: z.string().describe("The stock ticker symbol (e.g., AAPL for Apple Inc.)."),
|
|
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
|
+
});
|
|
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() });
|
|
10
|
+
const NasdaqGetDividendHistory_ColumnSchema = z.object({
|
|
11
|
+
name: z.string().describe("Column name"),
|
|
12
|
+
type: z.string().describe("Column data type")
|
|
13
|
+
});
|
|
14
|
+
const NasdaqGetDividendHistory_DatatableDataSchema = z.object({
|
|
15
|
+
data: z.array(z.array(z.union([
|
|
16
|
+
z.string(),
|
|
17
|
+
z.number().int(),
|
|
18
|
+
z.number()
|
|
19
|
+
]).nullable())).describe("Array of data rows, each row is an array of values corresponding to the columns"),
|
|
20
|
+
columns: z.array(NasdaqGetDividendHistory_ColumnSchema).describe("Array of column definitions describing the structure of the data")
|
|
21
|
+
});
|
|
22
|
+
const nasdaqGetDividendHistory = action("NASDAQ_GET_DIVIDEND_HISTORY", {
|
|
23
|
+
slug: "nasdaq-get-dividend-history",
|
|
24
|
+
name: "Get Dividend Fundamentals",
|
|
25
|
+
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.",
|
|
26
|
+
input: NasdaqGetDividendHistoryInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
meta: NasdaqGetDividendHistory_MetaSchema.nullable(),
|
|
29
|
+
datatable: NasdaqGetDividendHistory_DatatableDataSchema.nullable()
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { nasdaqGetDividendHistory };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-dividend-history.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-real-time-quote.ts
|
|
4
|
+
const NasdaqGetRealTimeQuoteInput = zod.z.object({
|
|
5
|
+
ticker: zod.z.string().describe("The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL)."),
|
|
6
|
+
date_gte: zod.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(),
|
|
7
|
+
date_lte: zod.z.string().describe("Filter for dates less than or equal to this date (format: YYYY-MM-DD).").optional(),
|
|
8
|
+
per_page: zod.z.number().int().describe("Number of rows to return per page (max 10000). Defaults to 100 if not specified.").optional(),
|
|
9
|
+
cursor_id: zod.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()
|
|
10
|
+
});
|
|
11
|
+
const NasdaqGetRealTimeQuote_QuoteDataSchema = zod.z.object({
|
|
12
|
+
low: zod.z.number().describe("Lowest price during the trading day.").nullable().optional(),
|
|
13
|
+
date: zod.z.string().describe("Date of the price data (YYYY-MM-DD format).").nullable().optional(),
|
|
14
|
+
high: zod.z.number().describe("Highest price during the trading day.").nullable().optional(),
|
|
15
|
+
open: zod.z.number().describe("Opening price for the trading day.").nullable().optional(),
|
|
16
|
+
close: zod.z.number().describe("Closing price for the trading day.").nullable().optional(),
|
|
17
|
+
split: zod.z.number().describe("Stock split ratio if any.").nullable().optional(),
|
|
18
|
+
ticker: zod.z.string().describe("The stock ticker symbol.").nullable().optional(),
|
|
19
|
+
volume: zod.z.number().describe("Total trading volume for the day.").nullable().optional(),
|
|
20
|
+
dividend: zod.z.number().describe("Dividend amount if any.").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const NasdaqGetRealTimeQuoteOutput = zod.z.object({
|
|
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
|
+
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
|
+
});
|
|
26
|
+
const nasdaqGetRealTimeQuote = require_action.action("NASDAQ_GET_REAL_TIME_QUOTE", {
|
|
27
|
+
slug: "nasdaq-get-real-time-quote",
|
|
28
|
+
name: "Get Stock Price Data",
|
|
29
|
+
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.",
|
|
30
|
+
input: NasdaqGetRealTimeQuoteInput,
|
|
31
|
+
output: NasdaqGetRealTimeQuoteOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.nasdaqGetRealTimeQuote = nasdaqGetRealTimeQuote;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-real-time-quote.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetRealTimeQuote };
|
|
9
|
+
//# sourceMappingURL=get-real-time-quote.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetRealTimeQuote };
|
|
9
|
+
//# sourceMappingURL=get-real-time-quote.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-real-time-quote.ts
|
|
4
|
+
const NasdaqGetRealTimeQuoteInput = z.object({
|
|
5
|
+
ticker: z.string().describe("The stock ticker symbol to fetch price data for (e.g., AAPL, MSFT, GOOGL)."),
|
|
6
|
+
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(),
|
|
7
|
+
date_lte: z.string().describe("Filter for dates less than or equal to this date (format: YYYY-MM-DD).").optional(),
|
|
8
|
+
per_page: z.number().int().describe("Number of rows to return per page (max 10000). Defaults to 100 if not specified.").optional(),
|
|
9
|
+
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()
|
|
10
|
+
});
|
|
11
|
+
const NasdaqGetRealTimeQuote_QuoteDataSchema = z.object({
|
|
12
|
+
low: z.number().describe("Lowest price during the trading day.").nullable().optional(),
|
|
13
|
+
date: z.string().describe("Date of the price data (YYYY-MM-DD format).").nullable().optional(),
|
|
14
|
+
high: z.number().describe("Highest price during the trading day.").nullable().optional(),
|
|
15
|
+
open: z.number().describe("Opening price for the trading day.").nullable().optional(),
|
|
16
|
+
close: z.number().describe("Closing price for the trading day.").nullable().optional(),
|
|
17
|
+
split: z.number().describe("Stock split ratio if any.").nullable().optional(),
|
|
18
|
+
ticker: z.string().describe("The stock ticker symbol.").nullable().optional(),
|
|
19
|
+
volume: z.number().describe("Total trading volume for the day.").nullable().optional(),
|
|
20
|
+
dividend: z.number().describe("Dividend amount if any.").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const nasdaqGetRealTimeQuote = action("NASDAQ_GET_REAL_TIME_QUOTE", {
|
|
23
|
+
slug: "nasdaq-get-real-time-quote",
|
|
24
|
+
name: "Get Stock Price Data",
|
|
25
|
+
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.",
|
|
26
|
+
input: NasdaqGetRealTimeQuoteInput,
|
|
27
|
+
output: z.object({
|
|
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
|
+
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
|
+
})
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { nasdaqGetRealTimeQuote };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-real-time-quote.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-table-row.ts
|
|
4
|
+
const NasdaqGetTableRowInput = zod.z.object({
|
|
5
|
+
columns: zod.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(),
|
|
6
|
+
datacode: zod.z.string().describe("The database code. Common examples: 'SHARADAR' for equity fundamentals and prices, or other NASDAQ Data Link database codes."),
|
|
7
|
+
datatable_code: zod.z.string().describe("The specific table code within the database. Examples: 'SF1' for fundamental indicators, 'TICKERS' for ticker metadata, 'SEP' for daily stock prices."),
|
|
8
|
+
filter_column_name: zod.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."),
|
|
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
|
+
});
|
|
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
|
+
});
|
|
15
|
+
const NasdaqGetTableRow_DatatableSchema = zod.z.object({
|
|
16
|
+
data: zod.z.array(zod.z.array(zod.z.unknown())).describe("The row data. Each inner list represents a row."),
|
|
17
|
+
columns: zod.z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe("Definitions of the columns in the table.")
|
|
18
|
+
});
|
|
19
|
+
const NasdaqGetTableRowOutput = zod.z.object({
|
|
20
|
+
message: zod.z.string().describe("A message indicating the outcome, e.g., if no row is found.").nullable().optional(),
|
|
21
|
+
datatable: NasdaqGetTableRow_DatatableSchema.nullable()
|
|
22
|
+
});
|
|
23
|
+
const nasdaqGetTableRow = require_action.action("NASDAQ_GET_TABLE_ROW", {
|
|
24
|
+
slug: "nasdaq-get-table-row",
|
|
25
|
+
name: "Get Table Row By Filter",
|
|
26
|
+
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'",
|
|
27
|
+
input: NasdaqGetTableRowInput,
|
|
28
|
+
output: NasdaqGetTableRowOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.nasdaqGetTableRow = nasdaqGetTableRow;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-table-row.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-table-row.d.ts
|
|
4
|
+
declare const NasdaqGetTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const NasdaqGetTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nasdaqGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetTableRow };
|
|
9
|
+
//# sourceMappingURL=get-table-row.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.d.cts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMrC;AAAA,cASW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-table-row.d.ts
|
|
4
|
+
declare const NasdaqGetTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const NasdaqGetTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nasdaqGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetTableRow };
|
|
9
|
+
//# sourceMappingURL=get-table-row.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.d.mts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMrC;AAAA,cASW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-table-row.ts
|
|
4
|
+
const NasdaqGetTableRowInput = z.object({
|
|
5
|
+
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(),
|
|
6
|
+
datacode: z.string().describe("The database code. Common examples: 'SHARADAR' for equity fundamentals and prices, or other NASDAQ Data Link database codes."),
|
|
7
|
+
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."),
|
|
8
|
+
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."),
|
|
9
|
+
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.")
|
|
10
|
+
});
|
|
11
|
+
const NasdaqGetTableRow_ColumnDefinitionSchema = z.object({
|
|
12
|
+
name: z.string().describe("Name of the column."),
|
|
13
|
+
type: z.string().describe("Data type of the column.")
|
|
14
|
+
});
|
|
15
|
+
const NasdaqGetTableRow_DatatableSchema = z.object({
|
|
16
|
+
data: z.array(z.array(z.unknown())).describe("The row data. Each inner list represents a row."),
|
|
17
|
+
columns: z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe("Definitions of the columns in the table.")
|
|
18
|
+
});
|
|
19
|
+
const nasdaqGetTableRow = action("NASDAQ_GET_TABLE_ROW", {
|
|
20
|
+
slug: "nasdaq-get-table-row",
|
|
21
|
+
name: "Get Table Row By Filter",
|
|
22
|
+
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'",
|
|
23
|
+
input: NasdaqGetTableRowInput,
|
|
24
|
+
output: z.object({
|
|
25
|
+
message: z.string().describe("A message indicating the outcome, e.g., if no row is found.").nullable().optional(),
|
|
26
|
+
datatable: NasdaqGetTableRow_DatatableSchema.nullable()
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { nasdaqGetTableRow };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-table-row.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.mjs","names":[],"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,yBAAuC,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS;CACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC5J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sNAAsN;CAC9P,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;AACnN,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACtD,CAAC;AACD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC9F,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AAChH,CAAC;AAMD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,WAAW,kCAAkC,SAAS;CACxD,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-tables-by-date.ts
|
|
4
|
+
const NasdaqGetTablesByDateInput = zod.z.object({ target_date: zod.z.string().describe("The target date to filter tables by, in YYYY-MM-DD format.") });
|
|
5
|
+
const NasdaqGetTablesByDate_DatatableDetailSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("The unique ID of the datatable."),
|
|
7
|
+
name: zod.z.string().describe("The name of the datatable."),
|
|
8
|
+
premium: zod.z.boolean().describe("Indicates if the datatable is a premium offering."),
|
|
9
|
+
updated_at: zod.z.string().describe("The timestamp of when the datatable was last updated."),
|
|
10
|
+
description: zod.z.string().describe("A description of the datatable."),
|
|
11
|
+
vendor_code: zod.z.string().describe("The vendor code for the datatable."),
|
|
12
|
+
datatable_code: zod.z.string().describe("The code for the datatable.")
|
|
13
|
+
});
|
|
14
|
+
const NasdaqGetTablesByDateOutput = zod.z.object({
|
|
15
|
+
tables: zod.z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe("A list of tables updated on the specified date.").nullable().optional(),
|
|
16
|
+
message: zod.z.string().describe("A message indicating the outcome, e.g., if no tables were found.").nullable().optional()
|
|
17
|
+
});
|
|
18
|
+
const nasdaqGetTablesByDate = require_action.action("NASDAQ_GET_TABLES_BY_DATE", {
|
|
19
|
+
slug: "nasdaq-get-tables-by-date",
|
|
20
|
+
name: "Get Datatables Updated on Specific Date",
|
|
21
|
+
description: "Retrieves Nasdaq Data Link datatables (databases) that were last updated on a specific date. This action fetches all available datatables from Nasdaq Data Link's catalog and filters them by their last update timestamp to return only those updated on the target date. Useful for discovering recently updated data sources.",
|
|
22
|
+
input: NasdaqGetTablesByDateInput,
|
|
23
|
+
output: NasdaqGetTablesByDateOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.nasdaqGetTablesByDate = nasdaqGetTablesByDate;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-tables-by-date.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.cjs","names":["z","action"],"sources":["../../src/actions/get-tables-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetTablesByDateInput: z.ZodTypeAny = z.object({\n target_date: z.string().describe(\"The target date to filter tables by, in YYYY-MM-DD format.\"),\n});\nconst NasdaqGetTablesByDate_DatatableDetailSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the datatable.\"),\n name: z.string().describe(\"The name of the datatable.\"),\n premium: z.boolean().describe(\"Indicates if the datatable is a premium offering.\"),\n updated_at: z.string().describe(\"The timestamp of when the datatable was last updated.\"),\n description: z.string().describe(\"A description of the datatable.\"),\n vendor_code: z.string().describe(\"The vendor code for the datatable.\"),\n datatable_code: z.string().describe(\"The code for the datatable.\"),\n});\nexport const NasdaqGetTablesByDateOutput: z.ZodTypeAny = z.object({\n tables: z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe(\"A list of tables updated on the specified date.\").nullable().optional(),\n message: z.string().describe(\"A message indicating the outcome, e.g., if no tables were found.\").nullable().optional(),\n});\n\nexport const nasdaqGetTablesByDate = action(\"NASDAQ_GET_TABLES_BY_DATE\", {\n slug: \"nasdaq-get-tables-by-date\",\n name: \"Get Datatables Updated on Specific Date\",\n description: \"Retrieves Nasdaq Data Link datatables (databases) that were last updated on a specific date. This action fetches all available datatables from Nasdaq Data Link's catalog and filters them by their last update timestamp to return only those updated on the target date. Useful for discovering recently updated data sources.\",\n input: NasdaqGetTablesByDateInput,\n output: NasdaqGetTablesByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACnE,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-tables-by-date.d.ts
|
|
4
|
+
declare const NasdaqGetTablesByDateInput: z.ZodTypeAny;
|
|
5
|
+
declare const NasdaqGetTablesByDateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nasdaqGetTablesByDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetTablesByDate };
|
|
9
|
+
//# sourceMappingURL=get-tables-by-date.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.d.cts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAUW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-tables-by-date.d.ts
|
|
4
|
+
declare const NasdaqGetTablesByDateInput: z.ZodTypeAny;
|
|
5
|
+
declare const NasdaqGetTablesByDateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nasdaqGetTablesByDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nasdaqGetTablesByDate };
|
|
9
|
+
//# sourceMappingURL=get-tables-by-date.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.d.mts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAUW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-tables-by-date.ts
|
|
4
|
+
const NasdaqGetTablesByDateInput = z.object({ target_date: z.string().describe("The target date to filter tables by, in YYYY-MM-DD format.") });
|
|
5
|
+
const NasdaqGetTablesByDate_DatatableDetailSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("The unique ID of the datatable."),
|
|
7
|
+
name: z.string().describe("The name of the datatable."),
|
|
8
|
+
premium: z.boolean().describe("Indicates if the datatable is a premium offering."),
|
|
9
|
+
updated_at: z.string().describe("The timestamp of when the datatable was last updated."),
|
|
10
|
+
description: z.string().describe("A description of the datatable."),
|
|
11
|
+
vendor_code: z.string().describe("The vendor code for the datatable."),
|
|
12
|
+
datatable_code: z.string().describe("The code for the datatable.")
|
|
13
|
+
});
|
|
14
|
+
const nasdaqGetTablesByDate = action("NASDAQ_GET_TABLES_BY_DATE", {
|
|
15
|
+
slug: "nasdaq-get-tables-by-date",
|
|
16
|
+
name: "Get Datatables Updated on Specific Date",
|
|
17
|
+
description: "Retrieves Nasdaq Data Link datatables (databases) that were last updated on a specific date. This action fetches all available datatables from Nasdaq Data Link's catalog and filters them by their last update timestamp to return only those updated on the target date. Useful for discovering recently updated data sources.",
|
|
18
|
+
input: NasdaqGetTablesByDateInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
tables: z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe("A list of tables updated on the specified date.").nullable().optional(),
|
|
21
|
+
message: z.string().describe("A message indicating the outcome, e.g., if no tables were found.").nullable().optional()
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { nasdaqGetTablesByDate };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-tables-by-date.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.mjs","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NasdaqGetTablesByDateInput: z.ZodTypeAny = z.object({\n target_date: z.string().describe(\"The target date to filter tables by, in YYYY-MM-DD format.\"),\n});\nconst NasdaqGetTablesByDate_DatatableDetailSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the datatable.\"),\n name: z.string().describe(\"The name of the datatable.\"),\n premium: z.boolean().describe(\"Indicates if the datatable is a premium offering.\"),\n updated_at: z.string().describe(\"The timestamp of when the datatable was last updated.\"),\n description: z.string().describe(\"A description of the datatable.\"),\n vendor_code: z.string().describe(\"The vendor code for the datatable.\"),\n datatable_code: z.string().describe(\"The code for the datatable.\"),\n});\nexport const NasdaqGetTablesByDateOutput: z.ZodTypeAny = z.object({\n tables: z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe(\"A list of tables updated on the specified date.\").nullable().optional(),\n message: z.string().describe(\"A message indicating the outcome, e.g., if no tables were found.\").nullable().optional(),\n});\n\nexport const nasdaqGetTablesByDate = action(\"NASDAQ_GET_TABLES_BY_DATE\", {\n slug: \"nasdaq-get-tables-by-date\",\n name: \"Get Datatables Updated on Specific Date\",\n description: \"Retrieves Nasdaq Data Link datatables (databases) that were last updated on a specific date. This action fetches all available datatables from Nasdaq Data Link's catalog and filters them by their last update timestamp to return only those updated on the target date. Useful for discovering recently updated data sources.\",\n input: NasdaqGetTablesByDateInput,\n output: NasdaqGetTablesByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACnE,CAAC;AAMD,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_get_analyst_ratings = require("./get-analyst-ratings.cjs");
|
|
3
|
+
const require_get_datatable = require("./get-datatable.cjs");
|
|
4
|
+
const require_get_datatable_metadata = require("./get-datatable-metadata.cjs");
|
|
5
|
+
const require_get_dividend_history = require("./get-dividend-history.cjs");
|
|
6
|
+
const require_get_real_time_quote = require("./get-real-time-quote.cjs");
|
|
7
|
+
const require_get_table_row = require("./get-table-row.cjs");
|
|
8
|
+
const require_get_tables_by_date = require("./get-tables-by-date.cjs");
|
|
9
|
+
exports.nasdaqGetAnalystRatings = require_get_analyst_ratings.nasdaqGetAnalystRatings;
|
|
10
|
+
exports.nasdaqGetDatatable = require_get_datatable.nasdaqGetDatatable;
|
|
11
|
+
exports.nasdaqGetDatatableMetadata = require_get_datatable_metadata.nasdaqGetDatatableMetadata;
|
|
12
|
+
exports.nasdaqGetDividendHistory = require_get_dividend_history.nasdaqGetDividendHistory;
|
|
13
|
+
exports.nasdaqGetRealTimeQuote = require_get_real_time_quote.nasdaqGetRealTimeQuote;
|
|
14
|
+
exports.nasdaqGetTableRow = require_get_table_row.nasdaqGetTableRow;
|
|
15
|
+
exports.nasdaqGetTablesByDate = require_get_tables_by_date.nasdaqGetTablesByDate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { nasdaqGetAnalystRatings } from "./get-analyst-ratings.cjs";
|
|
2
|
+
import { nasdaqGetDatatable } from "./get-datatable.cjs";
|
|
3
|
+
import { nasdaqGetDatatableMetadata } from "./get-datatable-metadata.cjs";
|
|
4
|
+
import { nasdaqGetDividendHistory } from "./get-dividend-history.cjs";
|
|
5
|
+
import { nasdaqGetRealTimeQuote } from "./get-real-time-quote.cjs";
|
|
6
|
+
import { nasdaqGetTableRow } from "./get-table-row.cjs";
|
|
7
|
+
import { nasdaqGetTablesByDate } from "./get-tables-by-date.cjs";
|
|
8
|
+
export { nasdaqGetAnalystRatings, nasdaqGetDatatable, nasdaqGetDatatableMetadata, nasdaqGetDividendHistory, nasdaqGetRealTimeQuote, nasdaqGetTableRow, nasdaqGetTablesByDate };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { nasdaqGetAnalystRatings } from "./get-analyst-ratings.mjs";
|
|
2
|
+
import { nasdaqGetDatatable } from "./get-datatable.mjs";
|
|
3
|
+
import { nasdaqGetDatatableMetadata } from "./get-datatable-metadata.mjs";
|
|
4
|
+
import { nasdaqGetDividendHistory } from "./get-dividend-history.mjs";
|
|
5
|
+
import { nasdaqGetRealTimeQuote } from "./get-real-time-quote.mjs";
|
|
6
|
+
import { nasdaqGetTableRow } from "./get-table-row.mjs";
|
|
7
|
+
import { nasdaqGetTablesByDate } from "./get-tables-by-date.mjs";
|
|
8
|
+
export { nasdaqGetAnalystRatings, nasdaqGetDatatable, nasdaqGetDatatableMetadata, nasdaqGetDividendHistory, nasdaqGetRealTimeQuote, nasdaqGetTableRow, nasdaqGetTablesByDate };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { nasdaqGetAnalystRatings } from "./get-analyst-ratings.mjs";
|
|
2
|
+
import { nasdaqGetDatatable } from "./get-datatable.mjs";
|
|
3
|
+
import { nasdaqGetDatatableMetadata } from "./get-datatable-metadata.mjs";
|
|
4
|
+
import { nasdaqGetDividendHistory } from "./get-dividend-history.mjs";
|
|
5
|
+
import { nasdaqGetRealTimeQuote } from "./get-real-time-quote.mjs";
|
|
6
|
+
import { nasdaqGetTableRow } from "./get-table-row.mjs";
|
|
7
|
+
import { nasdaqGetTablesByDate } from "./get-tables-by-date.mjs";
|
|
8
|
+
export { nasdaqGetAnalystRatings, nasdaqGetDatatable, nasdaqGetDatatableMetadata, nasdaqGetDividendHistory, nasdaqGetRealTimeQuote, nasdaqGetTableRow, nasdaqGetTablesByDate };
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nasdaq = defineApp({\n slug: \"nasdaq\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nasdaq = defineApp({\n slug: \"nasdaq\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|