@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-analyst-ratings.cjs +3 -3
- package/dist/actions/get-analyst-ratings.cjs.map +1 -1
- package/dist/actions/get-analyst-ratings.d.cts +67 -3
- package/dist/actions/get-analyst-ratings.d.cts.map +1 -1
- package/dist/actions/get-analyst-ratings.d.mts +67 -3
- package/dist/actions/get-analyst-ratings.d.mts.map +1 -1
- package/dist/actions/get-analyst-ratings.mjs +3 -3
- package/dist/actions/get-analyst-ratings.mjs.map +1 -1
- package/dist/actions/get-datatable-metadata.cjs +9 -9
- package/dist/actions/get-datatable-metadata.cjs.map +1 -1
- package/dist/actions/get-datatable-metadata.d.cts +27 -3
- package/dist/actions/get-datatable-metadata.d.cts.map +1 -1
- package/dist/actions/get-datatable-metadata.d.mts +27 -3
- package/dist/actions/get-datatable-metadata.d.mts.map +1 -1
- package/dist/actions/get-datatable-metadata.mjs +9 -9
- package/dist/actions/get-datatable-metadata.mjs.map +1 -1
- package/dist/actions/get-datatable.cjs +5 -5
- package/dist/actions/get-datatable.cjs.map +1 -1
- package/dist/actions/get-datatable.d.cts +18 -3
- package/dist/actions/get-datatable.d.cts.map +1 -1
- package/dist/actions/get-datatable.d.mts +18 -3
- package/dist/actions/get-datatable.d.mts.map +1 -1
- package/dist/actions/get-datatable.mjs +5 -5
- package/dist/actions/get-datatable.mjs.map +1 -1
- package/dist/actions/get-dividend-history.cjs +6 -6
- package/dist/actions/get-dividend-history.cjs.map +1 -1
- package/dist/actions/get-dividend-history.d.cts +22 -3
- package/dist/actions/get-dividend-history.d.cts.map +1 -1
- package/dist/actions/get-dividend-history.d.mts +22 -3
- package/dist/actions/get-dividend-history.d.mts.map +1 -1
- package/dist/actions/get-dividend-history.mjs +6 -6
- package/dist/actions/get-dividend-history.mjs.map +1 -1
- package/dist/actions/get-real-time-quote.cjs +2 -2
- package/dist/actions/get-real-time-quote.cjs.map +1 -1
- package/dist/actions/get-real-time-quote.d.cts +28 -3
- package/dist/actions/get-real-time-quote.d.cts.map +1 -1
- package/dist/actions/get-real-time-quote.d.mts +28 -3
- package/dist/actions/get-real-time-quote.d.mts.map +1 -1
- package/dist/actions/get-real-time-quote.mjs +2 -2
- package/dist/actions/get-real-time-quote.mjs.map +1 -1
- package/dist/actions/get-table-row.cjs +5 -5
- package/dist/actions/get-table-row.cjs.map +1 -1
- package/dist/actions/get-table-row.d.cts +24 -3
- package/dist/actions/get-table-row.d.cts.map +1 -1
- package/dist/actions/get-table-row.d.mts +24 -3
- package/dist/actions/get-table-row.d.mts.map +1 -1
- package/dist/actions/get-table-row.mjs +5 -5
- package/dist/actions/get-table-row.mjs.map +1 -1
- package/dist/actions/get-tables-by-date.cjs +9 -9
- package/dist/actions/get-tables-by-date.cjs.map +1 -1
- package/dist/actions/get-tables-by-date.d.cts +18 -3
- package/dist/actions/get-tables-by-date.d.cts.map +1 -1
- package/dist/actions/get-tables-by-date.d.mts +18 -3
- package/dist/actions/get-tables-by-date.d.mts.map +1 -1
- package/dist/actions/get-tables-by-date.mjs +9 -9
- package/dist/actions/get-tables-by-date.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-table-row.d.ts
|
|
4
|
-
declare const NasdaqGetTableRowInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NasdaqGetTableRowInput: z.ZodObject<{
|
|
5
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
6
|
+
datacode: z.ZodString;
|
|
7
|
+
datatable_code: z.ZodString;
|
|
8
|
+
filter_column_name: z.ZodString;
|
|
9
|
+
filter_column_value: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const NasdaqGetTableRowOutput: z.ZodObject<{
|
|
12
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
datatable: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
data: z.ZodArray<z.ZodArray<z.ZodUnknown>>;
|
|
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 nasdaqGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
datacode: string;
|
|
23
|
+
datatable_code: string;
|
|
24
|
+
filter_column_name: string;
|
|
25
|
+
filter_column_value: string;
|
|
26
|
+
columns?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { nasdaqGetTableRow };
|
|
9
30
|
//# sourceMappingURL=get-table-row.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-row.d.cts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-table-row.d.cts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAetB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-table-row.d.ts
|
|
4
|
-
declare const NasdaqGetTableRowInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NasdaqGetTableRowInput: z.ZodObject<{
|
|
5
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
6
|
+
datacode: z.ZodString;
|
|
7
|
+
datatable_code: z.ZodString;
|
|
8
|
+
filter_column_name: z.ZodString;
|
|
9
|
+
filter_column_value: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const NasdaqGetTableRowOutput: z.ZodObject<{
|
|
12
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
datatable: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
data: z.ZodArray<z.ZodArray<z.ZodUnknown>>;
|
|
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 nasdaqGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
datacode: string;
|
|
23
|
+
datatable_code: string;
|
|
24
|
+
filter_column_name: string;
|
|
25
|
+
filter_column_value: string;
|
|
26
|
+
columns?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { nasdaqGetTableRow };
|
|
9
30
|
//# sourceMappingURL=get-table-row.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-row.d.mts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-table-row.d.mts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAetB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -9,13 +9,13 @@ const NasdaqGetTableRowInput = z.object({
|
|
|
9
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
10
|
});
|
|
11
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
|
-
});
|
|
12
|
+
name: z.string().describe("Name of the column.").nullable(),
|
|
13
|
+
type: z.string().describe("Data type of the column.").nullable()
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const NasdaqGetTableRow_DatatableSchema = z.object({
|
|
16
16
|
data: z.array(z.array(z.unknown())).describe("The row data. Each inner list represents a row."),
|
|
17
17
|
columns: z.array(NasdaqGetTableRow_ColumnDefinitionSchema).describe("Definitions of the columns in the table.")
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const nasdaqGetTableRow = action("NASDAQ_GET_TABLE_ROW", {
|
|
20
20
|
slug: "nasdaq-get-table-row",
|
|
21
21
|
name: "Get Table Row By Filter",
|
|
@@ -24,7 +24,7 @@ const nasdaqGetTableRow = action("NASDAQ_GET_TABLE_ROW", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
message: z.string().describe("A message indicating the outcome, e.g., if no row is found.").nullable().optional(),
|
|
26
26
|
datatable: NasdaqGetTableRow_DatatableSchema.nullable()
|
|
27
|
-
})
|
|
27
|
+
}).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { nasdaqGetTableRow };
|
|
@@ -1 +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
|
|
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.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,yBAAyB,EAAE,OAAO;CAC7C,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,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC9F,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AAChH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,WAAW,kCAAkC,SAAS;CACxD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,18 +3,18 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-tables-by-date.ts
|
|
4
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
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
|
-
});
|
|
6
|
+
id: zod.z.number().int().describe("The unique ID of the datatable.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("The name of the datatable.").nullable(),
|
|
8
|
+
premium: zod.z.boolean().describe("Indicates if the datatable is a premium offering.").nullable(),
|
|
9
|
+
updated_at: zod.z.string().describe("The timestamp of when the datatable was last updated.").nullable(),
|
|
10
|
+
description: zod.z.string().describe("A description of the datatable.").nullable(),
|
|
11
|
+
vendor_code: zod.z.string().describe("The vendor code for the datatable.").nullable(),
|
|
12
|
+
datatable_code: zod.z.string().describe("The code for the datatable.").nullable()
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const NasdaqGetTablesByDateOutput = zod.z.object({
|
|
15
15
|
tables: zod.z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe("A list of tables updated on the specified date.").nullable().optional(),
|
|
16
16
|
message: zod.z.string().describe("A message indicating the outcome, e.g., if no tables were found.").nullable().optional()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const nasdaqGetTablesByDate = require_action.action("NASDAQ_GET_TABLES_BY_DATE", {
|
|
19
19
|
slug: "nasdaq-get-tables-by-date",
|
|
20
20
|
name: "Get Datatables Updated on Specific Date",
|
|
@@ -1 +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
|
|
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.object({\n target_date: z.string().describe(\"The target date to filter tables by, in YYYY-MM-DD format.\"),\n});\nconst NasdaqGetTablesByDate_DatatableDetailSchema = z.object({\n id: z.number().int().describe(\"The unique ID of the datatable.\").nullable(),\n name: z.string().describe(\"The name of the datatable.\").nullable(),\n premium: z.boolean().describe(\"Indicates if the datatable is a premium offering.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of when the datatable was last updated.\").nullable(),\n description: z.string().describe(\"A description of the datatable.\").nullable(),\n vendor_code: z.string().describe(\"The vendor code for the datatable.\").nullable(),\n datatable_code: z.string().describe(\"The code for the datatable.\").nullable(),\n}).passthrough();\nexport const NasdaqGetTablesByDateOutput = 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}).passthrough();\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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,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-tables-by-date.d.ts
|
|
4
|
-
declare const NasdaqGetTablesByDateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NasdaqGetTablesByDateInput: z.ZodObject<{
|
|
5
|
+
target_date: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NasdaqGetTablesByDateOutput: z.ZodObject<{
|
|
8
|
+
tables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
premium: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14
|
+
vendor_code: z.ZodNullable<z.ZodString>;
|
|
15
|
+
datatable_code: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const nasdaqGetTablesByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
target_date: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { nasdaqGetTablesByDate };
|
|
9
24
|
//# sourceMappingURL=get-tables-by-date.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tables-by-date.d.cts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.d.cts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-tables-by-date.d.ts
|
|
4
|
-
declare const NasdaqGetTablesByDateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NasdaqGetTablesByDateInput: z.ZodObject<{
|
|
5
|
+
target_date: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NasdaqGetTablesByDateOutput: z.ZodObject<{
|
|
8
|
+
tables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
premium: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14
|
+
vendor_code: z.ZodNullable<z.ZodString>;
|
|
15
|
+
datatable_code: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const nasdaqGetTablesByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
target_date: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { nasdaqGetTablesByDate };
|
|
9
24
|
//# sourceMappingURL=get-tables-by-date.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tables-by-date.d.mts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-tables-by-date.d.mts","names":[],"sources":["../../src/actions/get-tables-by-date.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-tables-by-date.ts
|
|
4
4
|
const NasdaqGetTablesByDateInput = z.object({ target_date: z.string().describe("The target date to filter tables by, in YYYY-MM-DD format.") });
|
|
5
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
|
-
});
|
|
6
|
+
id: z.number().int().describe("The unique ID of the datatable.").nullable(),
|
|
7
|
+
name: z.string().describe("The name of the datatable.").nullable(),
|
|
8
|
+
premium: z.boolean().describe("Indicates if the datatable is a premium offering.").nullable(),
|
|
9
|
+
updated_at: z.string().describe("The timestamp of when the datatable was last updated.").nullable(),
|
|
10
|
+
description: z.string().describe("A description of the datatable.").nullable(),
|
|
11
|
+
vendor_code: z.string().describe("The vendor code for the datatable.").nullable(),
|
|
12
|
+
datatable_code: z.string().describe("The code for the datatable.").nullable()
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const nasdaqGetTablesByDate = action("NASDAQ_GET_TABLES_BY_DATE", {
|
|
15
15
|
slug: "nasdaq-get-tables-by-date",
|
|
16
16
|
name: "Get Datatables Updated on Specific Date",
|
|
@@ -19,7 +19,7 @@ const nasdaqGetTablesByDate = action("NASDAQ_GET_TABLES_BY_DATE", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
tables: z.array(NasdaqGetTablesByDate_DatatableDetailSchema).describe("A list of tables updated on the specified date.").nullable().optional(),
|
|
21
21
|
message: z.string().describe("A message indicating the outcome, e.g., if no tables were found.").nullable().optional()
|
|
22
|
-
})
|
|
22
|
+
}).passthrough()
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { nasdaqGetTablesByDate };
|
|
@@ -1 +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
|
|
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.object({\n target_date: z.string().describe(\"The target date to filter tables by, in YYYY-MM-DD format.\"),\n});\nconst NasdaqGetTablesByDate_DatatableDetailSchema = z.object({\n id: z.number().int().describe(\"The unique ID of the datatable.\").nullable(),\n name: z.string().describe(\"The name of the datatable.\").nullable(),\n premium: z.boolean().describe(\"Indicates if the datatable is a premium offering.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of when the datatable was last updated.\").nullable(),\n description: z.string().describe(\"A description of the datatable.\").nullable(),\n vendor_code: z.string().describe(\"The vendor code for the datatable.\").nullable(),\n datatable_code: z.string().describe(\"The code for the datatable.\").nullable(),\n}).passthrough();\nexport const NasdaqGetTablesByDateOutput = 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}).passthrough();\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,6BAA6B,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const nasdaqCatalog = {
|
|
|
7
7
|
"category": "Analytics",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/nasdaq",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Nasdaq Data Link API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.nasdaqCatalog = nasdaqCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nasdaqCatalog = {\n \"slug\": \"nasdaq\",\n \"name\": \"Nasdaq\",\n \"description\": \"Nasdaq Data Link is a cloud-based financial data platform providing access to curated premium and free datasets including equity prices, company fundamentals, earnings estimates, options data, forex rates, and economic indicators through REST and Streaming APIs, with integrations for Python, R, Excel, and SQL.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/nasdaq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nasdaqCatalog = {\n \"slug\": \"nasdaq\",\n \"name\": \"Nasdaq\",\n \"description\": \"Nasdaq Data Link is a cloud-based financial data platform providing access to curated premium and free datasets including equity prices, company fundamentals, earnings estimates, options data, forex rates, and economic indicators through REST and Streaming APIs, with integrations for Python, R, Excel, and SQL.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/nasdaq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Nasdaq Data Link API Key\",\n \"secret\": true,\n \"description\": \"Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const nasdaqCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/nasdaq";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Nasdaq Data Link API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { nasdaqCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const nasdaqCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/nasdaq";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Nasdaq Data Link API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { nasdaqCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const nasdaqCatalog = {
|
|
|
7
7
|
"category": "Analytics",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/nasdaq",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Nasdaq Data Link API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { nasdaqCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nasdaqCatalog = {\n \"slug\": \"nasdaq\",\n \"name\": \"Nasdaq\",\n \"description\": \"Nasdaq Data Link is a cloud-based financial data platform providing access to curated premium and free datasets including equity prices, company fundamentals, earnings estimates, options data, forex rates, and economic indicators through REST and Streaming APIs, with integrations for Python, R, Excel, and SQL.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/nasdaq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nasdaqCatalog = {\n \"slug\": \"nasdaq\",\n \"name\": \"Nasdaq\",\n \"description\": \"Nasdaq Data Link is a cloud-based financial data platform providing access to curated premium and free datasets including equity prices, company fundamentals, earnings estimates, options data, forex rates, and economic indicators through REST and Streaming APIs, with integrations for Python, R, Excel, and SQL.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/nasdaq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Nasdaq Data Link API Key\",\n \"secret\": true,\n \"description\": \"Your Nasdaq Data Link API key. You can find this key by logging into your Nasdaq Data Link account and going to your account settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/nasdaq",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|