@keystrokehq/eodhd_apis 0.1.2 → 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/actions/get-id-mapping.cjs +4 -4
- package/dist/actions/get-id-mapping.cjs.map +1 -1
- package/dist/actions/get-id-mapping.d.cts +4 -4
- package/dist/actions/get-id-mapping.d.mts +4 -4
- package/dist/actions/get-id-mapping.mjs +4 -4
- package/dist/actions/get-id-mapping.mjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.cjs +1 -1
- package/dist/actions/get-mutual-funds-data.cjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.d.cts +1 -1
- package/dist/actions/get-mutual-funds-data.d.mts +1 -1
- package/dist/actions/get-mutual-funds-data.mjs +1 -1
- package/dist/actions/get-mutual-funds-data.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 +3 -3
- package/dist/actions/get-real-time-quote.d.mts +3 -3
- 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-real-time-websocket-forex.cjs +2 -2
- package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.d.cts +2 -2
- package/dist/actions/get-real-time-websocket-forex.d.mts +2 -2
- package/dist/actions/get-real-time-websocket-forex.mjs +2 -2
- package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.cjs +2 -2
- package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.d.cts +2 -2
- package/dist/actions/get-real-time-websocket-us-trade.d.mts +2 -2
- package/dist/actions/get-real-time-websocket-us-trade.mjs +2 -2
- package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -1
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +1 -1
- package/dist/actions/get-user-info.d.mts +1 -1
- package/dist/actions/get-user-info.mjs +1 -1
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.cjs +3 -3
- package/dist/actions/get-ust-yield-rates.cjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.d.cts +3 -3
- package/dist/actions/get-ust-yield-rates.d.mts +3 -3
- package/dist/actions/get-ust-yield-rates.mjs +3 -3
- package/dist/actions/get-ust-yield-rates.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +2 -2
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +2 -2
- package/dist/actions/list-exchanges.d.mts +2 -2
- package/dist/actions/list-exchanges.mjs +2 -2
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/search-instruments.cjs +2 -2
- package/dist/actions/search-instruments.cjs.map +1 -1
- package/dist/actions/search-instruments.d.cts +2 -2
- package/dist/actions/search-instruments.d.mts +2 -2
- package/dist/actions/search-instruments.mjs +2 -2
- package/dist/actions/search-instruments.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,18 +20,18 @@ const EodhdApisGetIdMapping_IdMappingRecordSchema = zod.z.object({
|
|
|
20
20
|
isin: zod.z.string().describe("ISIN (International Securities Identification Number) identifier.").nullable().optional(),
|
|
21
21
|
cusip: zod.z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").nullable().optional(),
|
|
22
22
|
symbol: zod.z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").nullable().optional()
|
|
23
|
-
}).describe("A single ID mapping record containing various security identifiers.");
|
|
23
|
+
}).passthrough().describe("A single ID mapping record containing various security identifiers.");
|
|
24
24
|
const EodhdApisGetIdMapping_IdMappingMetaSchema = zod.z.object({
|
|
25
25
|
limit: zod.z.number().int().describe("Maximum number of results returned in this response.").nullable().optional(),
|
|
26
26
|
total: zod.z.number().int().describe("Total number of results available for the query.").nullable().optional(),
|
|
27
27
|
offset: zod.z.number().int().describe("Number of results skipped (pagination offset).").nullable().optional()
|
|
28
|
-
}).describe("Metadata about the ID mapping response including pagination information.");
|
|
29
|
-
const EodhdApisGetIdMapping_IdMappingLinksSchema = zod.z.object({ next: zod.z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).describe("Pagination links for navigating through result sets.");
|
|
28
|
+
}).passthrough().describe("Metadata about the ID mapping response including pagination information.");
|
|
29
|
+
const EodhdApisGetIdMapping_IdMappingLinksSchema = zod.z.object({ next: zod.z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).passthrough().describe("Pagination links for navigating through result sets.");
|
|
30
30
|
const EodhdApisGetIdMappingOutput = zod.z.object({
|
|
31
31
|
data: zod.z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").nullable().optional(),
|
|
32
32
|
meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),
|
|
33
33
|
links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional()
|
|
34
|
-
}).describe("Response model for ID mapping endpoint containing security identifier mappings.");
|
|
34
|
+
}).passthrough().describe("Response model for ID mapping endpoint containing security identifier mappings.");
|
|
35
35
|
const eodhdApisGetIdMapping = require_action.action("EODHD_APIS_GET_ID_MAPPING", {
|
|
36
36
|
slug: "eodhd_apis-get-id-mapping",
|
|
37
37
|
name: "Get ID Mapping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.cjs","names":["z","action"],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,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Content":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACv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
|
|
21
21
|
isin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
cusip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
fmt?: string | undefined;
|
|
36
36
|
filter_ex?: string | undefined;
|
|
@@ -21,16 +21,16 @@ declare const EodhdApisGetIdMappingOutput: z.ZodObject<{
|
|
|
21
21
|
isin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
cusip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
fmt?: string | undefined;
|
|
36
36
|
filter_ex?: string | undefined;
|
|
@@ -20,13 +20,13 @@ const EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({
|
|
|
20
20
|
isin: z.string().describe("ISIN (International Securities Identification Number) identifier.").nullable().optional(),
|
|
21
21
|
cusip: z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").nullable().optional(),
|
|
22
22
|
symbol: z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").nullable().optional()
|
|
23
|
-
}).describe("A single ID mapping record containing various security identifiers.");
|
|
23
|
+
}).passthrough().describe("A single ID mapping record containing various security identifiers.");
|
|
24
24
|
const EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({
|
|
25
25
|
limit: z.number().int().describe("Maximum number of results returned in this response.").nullable().optional(),
|
|
26
26
|
total: z.number().int().describe("Total number of results available for the query.").nullable().optional(),
|
|
27
27
|
offset: z.number().int().describe("Number of results skipped (pagination offset).").nullable().optional()
|
|
28
|
-
}).describe("Metadata about the ID mapping response including pagination information.");
|
|
29
|
-
const EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({ next: z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).describe("Pagination links for navigating through result sets.");
|
|
28
|
+
}).passthrough().describe("Metadata about the ID mapping response including pagination information.");
|
|
29
|
+
const EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({ next: z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).passthrough().describe("Pagination links for navigating through result sets.");
|
|
30
30
|
const eodhdApisGetIdMapping = action("EODHD_APIS_GET_ID_MAPPING", {
|
|
31
31
|
slug: "eodhd_apis-get-id-mapping",
|
|
32
32
|
name: "Get ID Mapping",
|
|
@@ -36,7 +36,7 @@ const eodhdApisGetIdMapping = action("EODHD_APIS_GET_ID_MAPPING", {
|
|
|
36
36
|
data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").nullable().optional(),
|
|
37
37
|
meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),
|
|
38
38
|
links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional()
|
|
39
|
-
}).describe("Response model for ID mapping endpoint containing security identifier mappings.")
|
|
39
|
+
}).passthrough().describe("Response model for ID mapping endpoint containing security identifier mappings.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { eodhdApisGetIdMapping };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.mjs","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC5K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC/I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CAClN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAClJ,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"get-id-mapping.mjs","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC5K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC/I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACl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,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAOhF,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const EodhdApisGetMutualFundsDataOutput = zod.z.object({
|
|
|
9
9
|
General: zod.z.record(zod.z.string(), zod.z.unknown()).describe("General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.").nullable().optional(),
|
|
10
10
|
MutualFund: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.").nullable().optional(),
|
|
11
11
|
raw_response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Raw response data when using filter parameter, or any additional fields returned by the API.").nullable().optional()
|
|
12
|
-
}).describe("Response model for mutual funds fundamental data from EODHD API.\nContains comprehensive fund information including general info, asset allocation, and performance metrics.");
|
|
12
|
+
}).passthrough().describe("Response model for mutual funds fundamental data from EODHD API.\nContains comprehensive fund information including general info, asset allocation, and performance metrics.");
|
|
13
13
|
const eodhdApisGetMutualFundsData = require_action.action("EODHD_APIS_GET_MUTUAL_FUNDS_DATA", {
|
|
14
14
|
slug: "eodhd_apis-get-mutual-funds-data",
|
|
15
15
|
name: "Get Mutual Funds Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.cjs","names":["z","action"],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAChN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;AACtP,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1S,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,8KAA8K;
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.cjs","names":["z","action"],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAChN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;AACtP,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1S,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAA8K;AAExM,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const EodhdApisGetMutualFundsDataOutput: z.ZodObject<{
|
|
|
9
9
|
General: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
MutualFund: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
11
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const eodhdApisGetMutualFundsData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ticker: string;
|
|
15
15
|
filter?: string | undefined;
|
|
@@ -9,7 +9,7 @@ declare const EodhdApisGetMutualFundsDataOutput: z.ZodObject<{
|
|
|
9
9
|
General: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
MutualFund: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
11
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const eodhdApisGetMutualFundsData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ticker: string;
|
|
15
15
|
filter?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const eodhdApisGetMutualFundsData = action("EODHD_APIS_GET_MUTUAL_FUNDS_DATA", {
|
|
|
12
12
|
General: z.record(z.string(), z.unknown()).describe("General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.").nullable().optional(),
|
|
13
13
|
MutualFund: z.record(z.string(), z.unknown()).describe("Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.").nullable().optional(),
|
|
14
14
|
raw_response: z.record(z.string(), z.unknown()).describe("Raw response data when using filter parameter, or any additional fields returned by the API.").nullable().optional()
|
|
15
|
-
}).describe("Response model for mutual funds fundamental data from EODHD API.\nContains comprehensive fund information including general info, asset allocation, and performance metrics.")
|
|
15
|
+
}).passthrough().describe("Response model for mutual funds fundamental data from EODHD API.\nContains comprehensive fund information including general info, asset allocation, and performance metrics.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { eodhdApisGetMutualFundsData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.mjs","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;EAChN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;CACtP,CAAC,CAAC,CAAC,SAAS,gEAWH;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1P,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1S,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.mjs","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;EAChN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;CACtP,CAAC,CAAC,CAAC,SAAS,gEAWH;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1P,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1S,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAOhB;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ const EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = zod.z.object({
|
|
|
18
18
|
gmtoffset: zod.z.number().int().describe("GMT offset in seconds for the exchange's timezone.").nullable(),
|
|
19
19
|
timestamp: zod.z.number().int().describe("Unix timestamp of the last update (seconds since January 1, 1970 UTC).").nullable(),
|
|
20
20
|
previousClose: zod.z.number().describe("Previous day's closing price.").nullable().optional()
|
|
21
|
-
}).describe("Schema for a single real-time quote data point with OHLCV information.");
|
|
22
|
-
const EodhdApisGetRealTimeQuoteOutput = zod.z.object({ data: zod.z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, zod.z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]) }).describe("Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\nReturns real-time OHLCV data for single or multiple symbols.\nWhen querying a single symbol, returns a single object.\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.");
|
|
21
|
+
}).passthrough().describe("Schema for a single real-time quote data point with OHLCV information.");
|
|
22
|
+
const EodhdApisGetRealTimeQuoteOutput = zod.z.object({ data: zod.z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, zod.z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]) }).passthrough().describe("Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\nReturns real-time OHLCV data for single or multiple symbols.\nWhen querying a single symbol, returns a single object.\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.");
|
|
23
23
|
const eodhdApisGetRealTimeQuote = require_action.action("EODHD_APIS_GET_REAL_TIME_QUOTE", {
|
|
24
24
|
slug: "eodhd_apis-get-real-time-quote",
|
|
25
25
|
name: "Get Real-Time Quote",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACjN,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;AACzM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
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 EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,GAAGA,IAAAA,EAAE,OAAO,CAAC,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wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,CAAC,mDAAmDA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2PAA2P;AAErR,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
22
22
|
gmtoffset: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
26
26
|
low: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
code: z.ZodNullable<z.ZodString>;
|
|
28
28
|
high: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -34,8 +34,8 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
34
34
|
gmtoffset: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>]>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const eodhdApisGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
symbol: string;
|
|
41
41
|
s?: string | undefined;
|
|
@@ -22,7 +22,7 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
22
22
|
gmtoffset: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
26
26
|
low: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
code: z.ZodNullable<z.ZodString>;
|
|
28
28
|
high: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -34,8 +34,8 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
34
34
|
gmtoffset: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>]>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const eodhdApisGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
symbol: string;
|
|
41
41
|
s?: string | undefined;
|
|
@@ -18,13 +18,13 @@ const EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({
|
|
|
18
18
|
gmtoffset: z.number().int().describe("GMT offset in seconds for the exchange's timezone.").nullable(),
|
|
19
19
|
timestamp: z.number().int().describe("Unix timestamp of the last update (seconds since January 1, 1970 UTC).").nullable(),
|
|
20
20
|
previousClose: z.number().describe("Previous day's closing price.").nullable().optional()
|
|
21
|
-
}).describe("Schema for a single real-time quote data point with OHLCV information.");
|
|
21
|
+
}).passthrough().describe("Schema for a single real-time quote data point with OHLCV information.");
|
|
22
22
|
const eodhdApisGetRealTimeQuote = action("EODHD_APIS_GET_REAL_TIME_QUOTE", {
|
|
23
23
|
slug: "eodhd_apis-get-real-time-quote",
|
|
24
24
|
name: "Get Real-Time Quote",
|
|
25
25
|
description: "Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.",
|
|
26
26
|
input: EodhdApisGetRealTimeQuoteInput,
|
|
27
|
-
output: z.object({ data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]) }).describe("Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\nReturns real-time OHLCV data for single or multiple symbols.\nWhen querying a single symbol, returns a single object.\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.")
|
|
27
|
+
output: z.object({ data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]) }).passthrough().describe("Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\nReturns real-time OHLCV data for single or multiple symbols.\nWhen querying a single symbol, returns a single object.\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { eodhdApisGetRealTimeQuote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-quote.mjs","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACjN,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;AACzM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
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 EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACjN,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;AACzM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kD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 +5,12 @@ const EodhdApisGetRealTimeWebsocketForexInput = zod.z.object({ symbols: zod.z.ar
|
|
|
5
5
|
const EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = zod.z.object({
|
|
6
6
|
action: zod.z.string().describe("The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.").nullable(),
|
|
7
7
|
symbols: zod.z.string().describe("Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')").nullable()
|
|
8
|
-
}).describe("Subscription message to send over the WebSocket connection.");
|
|
8
|
+
}).passthrough().describe("Subscription message to send over the WebSocket connection.");
|
|
9
9
|
const EodhdApisGetRealTimeWebsocketForexOutput = zod.z.object({
|
|
10
10
|
endpoint: zod.z.string().describe("WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.").nullable(),
|
|
11
11
|
subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),
|
|
12
12
|
usage_instructions: zod.z.string().describe("Instructions on how to use the WebSocket connection and what data format to expect.").nullable()
|
|
13
|
-
}).describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.");
|
|
13
|
+
}).passthrough().describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.");
|
|
14
14
|
const eodhdApisGetRealTimeWebsocketForex = require_action.action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX", {
|
|
15
15
|
slug: "eodhd_apis-get-real-time-websocket-forex",
|
|
16
16
|
name: "Get Real-Time FOREX WebSocket Stream",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-websocket-forex.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\").nullable(),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\").nullable(),\n}).describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"get-real-time-websocket-forex.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\").nullable(),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\").nullable(),\n}).passthrough().describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,cAAc,6DAA6D,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAAyN;AAEnP,MAAa,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodObject<{
|
|
|
9
9
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
action: z.ZodNullable<z.ZodString>;
|
|
11
11
|
symbols: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
usage_instructions: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
symbols: string[];
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,9 +9,9 @@ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodObject<{
|
|
|
9
9
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
action: z.ZodNullable<z.ZodString>;
|
|
11
11
|
symbols: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
usage_instructions: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
symbols: string[];
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const EodhdApisGetRealTimeWebsocketForexInput = z.object({ symbols: z.array(z.st
|
|
|
5
5
|
const EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({
|
|
6
6
|
action: z.string().describe("The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.").nullable(),
|
|
7
7
|
symbols: z.string().describe("Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')").nullable()
|
|
8
|
-
}).describe("Subscription message to send over the WebSocket connection.");
|
|
8
|
+
}).passthrough().describe("Subscription message to send over the WebSocket connection.");
|
|
9
9
|
const eodhdApisGetRealTimeWebsocketForex = action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX", {
|
|
10
10
|
slug: "eodhd_apis-get-real-time-websocket-forex",
|
|
11
11
|
name: "Get Real-Time FOREX WebSocket Stream",
|
|
@@ -15,7 +15,7 @@ const eodhdApisGetRealTimeWebsocketForex = action("EODHD_APIS_GET_REAL_TIME_WEBS
|
|
|
15
15
|
endpoint: z.string().describe("WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.").nullable(),
|
|
16
16
|
subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),
|
|
17
17
|
usage_instructions: z.string().describe("Instructions on how to use the WebSocket connection and what data format to expect.").nullable()
|
|
18
|
-
}).describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.")
|
|
18
|
+
}).passthrough().describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { eodhdApisGetRealTimeWebsocketForex };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-websocket-forex.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\").nullable(),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\").nullable(),\n}).describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"get-real-time-websocket-forex.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\").nullable(),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\").nullable(),\n}).passthrough().describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAOvF,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACtK,cAAc,6DAA6D,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const EodhdApisGetRealTimeWebsocketUsTradeInput = zod.z.object({
|
|
|
8
8
|
const EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = zod.z.object({
|
|
9
9
|
action: zod.z.enum(["subscribe", "unsubscribe"]).describe("The action to perform: 'subscribe' or 'unsubscribe'.").nullable(),
|
|
10
10
|
symbols: zod.z.string().describe("Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').").nullable()
|
|
11
|
-
}).describe("Payload structure to send over WebSocket for subscription management.");
|
|
11
|
+
}).passthrough().describe("Payload structure to send over WebSocket for subscription management.");
|
|
12
12
|
const EodhdApisGetRealTimeWebsocketUsTradeOutput = zod.z.object({
|
|
13
13
|
url: zod.z.string().describe("WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.").nullable(),
|
|
14
14
|
payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable()
|
|
15
|
-
}).describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.");
|
|
15
|
+
}).passthrough().describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.");
|
|
16
16
|
const eodhdApisGetRealTimeWebsocketUsTrade = require_action.action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE", {
|
|
17
17
|
slug: "eodhd_apis-get-real-time-websocket-us-trade",
|
|
18
18
|
name: "Get Real-time WebSocket US Trades",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-websocket-us-trade.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"get-real-time-websocket-us-trade.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACrJ,SAAS,4DAA4D,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAAsM;AAEhO,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodObject<{
|
|
|
16
16
|
unsubscribe: "unsubscribe";
|
|
17
17
|
}>>;
|
|
18
18
|
symbols: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
action: "subscribe" | "unsubscribe";
|
|
23
23
|
symbols: string[];
|
|
@@ -16,8 +16,8 @@ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodObject<{
|
|
|
16
16
|
unsubscribe: "unsubscribe";
|
|
17
17
|
}>>;
|
|
18
18
|
symbols: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
action: "subscribe" | "unsubscribe";
|
|
23
23
|
symbols: string[];
|
|
@@ -8,7 +8,7 @@ const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({
|
|
|
8
8
|
const EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({
|
|
9
9
|
action: z.enum(["subscribe", "unsubscribe"]).describe("The action to perform: 'subscribe' or 'unsubscribe'.").nullable(),
|
|
10
10
|
symbols: z.string().describe("Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').").nullable()
|
|
11
|
-
}).describe("Payload structure to send over WebSocket for subscription management.");
|
|
11
|
+
}).passthrough().describe("Payload structure to send over WebSocket for subscription management.");
|
|
12
12
|
const eodhdApisGetRealTimeWebsocketUsTrade = action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE", {
|
|
13
13
|
slug: "eodhd_apis-get-real-time-websocket-us-trade",
|
|
14
14
|
name: "Get Real-time WebSocket US Trades",
|
|
@@ -17,7 +17,7 @@ const eodhdApisGetRealTimeWebsocketUsTrade = action("EODHD_APIS_GET_REAL_TIME_WE
|
|
|
17
17
|
output: z.object({
|
|
18
18
|
url: z.string().describe("WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.").nullable(),
|
|
19
19
|
payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable()
|
|
20
|
-
}).describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.")
|
|
20
|
+
}).passthrough().describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { eodhdApisGetRealTimeWebsocketUsTrade };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-websocket-us-trade.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA8D,EAAE,OAAO;CAC3E,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"get-real-time-websocket-us-trade.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA8D,EAAE,OAAO;CAC3E,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAMjG,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACrJ,SAAS,4DAA4D,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const EodhdApisGetUserInfoOutput = zod.z.object({
|
|
|
10
10
|
dailyRateLimit: zod.z.number().int().describe("Maximum number of API requests allowed per day based on the subscription plan.").nullable().optional(),
|
|
11
11
|
apiRequestsDate: zod.z.string().describe("Date or timestamp when the API requests counter was last updated or reset.").nullable().optional(),
|
|
12
12
|
subscriptionType: zod.z.string().describe("Current subscription plan type or tier (e.g., Free, Professional, Corporate).").nullable().optional()
|
|
13
|
-
}).describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.");
|
|
13
|
+
}).passthrough().describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.");
|
|
14
14
|
const eodhdApisGetUserInfo = require_action.action("EODHD_APIS_GET_USER_INFO", {
|
|
15
15
|
slug: "eodhd_apis-get-user-info",
|
|
16
16
|
name: "Get User Info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,qIAAqI;
|
|
1
|
+
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).passthrough().describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAAqI;AAE/J,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const EodhdApisGetUserInfoOutput: z.ZodObject<{
|
|
|
12
12
|
dailyRateLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
apiRequestsDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
subscriptionType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
fmt?: string | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ declare const EodhdApisGetUserInfoOutput: z.ZodObject<{
|
|
|
12
12
|
dailyRateLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
apiRequestsDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
subscriptionType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
fmt?: string | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,7 +13,7 @@ const eodhdApisGetUserInfo = action("EODHD_APIS_GET_USER_INFO", {
|
|
|
13
13
|
dailyRateLimit: z.number().int().describe("Maximum number of API requests allowed per day based on the subscription plan.").nullable().optional(),
|
|
14
14
|
apiRequestsDate: z.string().describe("Date or timestamp when the API requests counter was last updated or reset.").nullable().optional(),
|
|
15
15
|
subscriptionType: z.string().describe("Current subscription plan type or tier (e.g., Free, Professional, Corporate).").nullable().optional()
|
|
16
|
-
}).describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.")
|
|
16
|
+
}).passthrough().describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { eodhdApisGetUserInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;AAiBA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuC,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).passthrough().describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;AAiBA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuC,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAOhB;AACV,CAAC"}
|
|
@@ -12,12 +12,12 @@ const EodhdApisGetUstYieldRates_YieldRateRecordSchema = zod.z.object({
|
|
|
12
12
|
date: zod.z.string().describe("Observation date in YYYY-MM-DD format.").nullable().optional(),
|
|
13
13
|
rate: zod.z.number().describe("Par yield rate for the given tenor (percentage).").nullable().optional(),
|
|
14
14
|
tenor: zod.z.string().describe("Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').").nullable().optional()
|
|
15
|
-
}).describe("Schema for a single US Treasury yield curve rate record.");
|
|
16
|
-
const EodhdApisGetUstYieldRates_MetaInfoSchema = zod.z.object({ total: zod.z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).describe("Metadata information for the response.");
|
|
15
|
+
}).passthrough().describe("Schema for a single US Treasury yield curve rate record.");
|
|
16
|
+
const EodhdApisGetUstYieldRates_MetaInfoSchema = zod.z.object({ total: zod.z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).passthrough().describe("Metadata information for the response.");
|
|
17
17
|
const EodhdApisGetUstYieldRatesOutput = zod.z.object({
|
|
18
18
|
data: zod.z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe("List of yield rate records with par yields across various tenors/maturities.").nullable().optional(),
|
|
19
19
|
meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional()
|
|
20
|
-
}).describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.");
|
|
20
|
+
}).passthrough().describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.");
|
|
21
21
|
const eodhdApisGetUstYieldRates = require_action.action("EODHD_APIS_GET_UST_YIELD_RATES", {
|
|
22
22
|
slug: "eodhd_apis-get-ust-yield-rates",
|
|
23
23
|
name: "Get US Treasury Yield Rates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ust-yield-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.\",\n input: EodhdApisGetUstYieldRatesInput,\n output: EodhdApisGetUstYieldRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-ust-yield-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.\",\n input: EodhdApisGetUstYieldRatesInput,\n output: EodhdApisGetUstYieldRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,C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,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,11 +13,11 @@ declare const EodhdApisGetUstYieldRatesOutput: z.ZodObject<{
|
|
|
13
13
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
tenor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
to?: string | undefined;
|
|
23
23
|
from?: string | undefined;
|
|
@@ -13,11 +13,11 @@ declare const EodhdApisGetUstYieldRatesOutput: z.ZodObject<{
|
|
|
13
13
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
tenor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
to?: string | undefined;
|
|
23
23
|
from?: string | undefined;
|
|
@@ -12,8 +12,8 @@ const EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({
|
|
|
12
12
|
date: z.string().describe("Observation date in YYYY-MM-DD format.").nullable().optional(),
|
|
13
13
|
rate: z.number().describe("Par yield rate for the given tenor (percentage).").nullable().optional(),
|
|
14
14
|
tenor: z.string().describe("Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').").nullable().optional()
|
|
15
|
-
}).describe("Schema for a single US Treasury yield curve rate record.");
|
|
16
|
-
const EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({ total: z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).describe("Metadata information for the response.");
|
|
15
|
+
}).passthrough().describe("Schema for a single US Treasury yield curve rate record.");
|
|
16
|
+
const EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({ total: z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).passthrough().describe("Metadata information for the response.");
|
|
17
17
|
const eodhdApisGetUstYieldRates = action("EODHD_APIS_GET_UST_YIELD_RATES", {
|
|
18
18
|
slug: "eodhd_apis-get-ust-yield-rates",
|
|
19
19
|
name: "Get US Treasury Yield Rates",
|
|
@@ -22,7 +22,7 @@ const eodhdApisGetUstYieldRates = action("EODHD_APIS_GET_UST_YIELD_RATES", {
|
|
|
22
22
|
output: z.object({
|
|
23
23
|
data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe("List of yield rate records with par yields across various tenors/maturities.").nullable().optional(),
|
|
24
24
|
meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional()
|
|
25
|
-
}).describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.")
|
|
25
|
+
}).passthrough().describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { eodhdApisGetUstYieldRates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ust-yield-rates.mjs","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.\",\n input: EodhdApisGetUstYieldRatesInput,\n output: EodhdApisGetUstYieldRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-ust-yield-rates.mjs","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial anal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MAAM,+CAA+C,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5K,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mHAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const EodhdApisListExchanges_ExchangeInfoSchema = zod.z.object({
|
|
|
8
8
|
Country: zod.z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').").nullable(),
|
|
9
9
|
Currency: zod.z.string().describe("Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').").nullable(),
|
|
10
10
|
OperatingMIC: zod.z.string().describe("Operating Market Identifier Code (MIC) for the exchange.").nullable().optional()
|
|
11
|
-
}).describe("Schema for a single stock exchange record.");
|
|
12
|
-
const EodhdApisListExchangesOutput = zod.z.object({ exchanges: zod.z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.");
|
|
11
|
+
}).passthrough().describe("Schema for a single stock exchange record.");
|
|
12
|
+
const EodhdApisListExchangesOutput = zod.z.object({ exchanges: zod.z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).passthrough().describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.");
|
|
13
13
|
const eodhdApisListExchanges = require_action.action("EODHD_APIS_LIST_EXCHANGES", {
|
|
14
14
|
slug: "eodhd_apis-list-exchanges",
|
|
15
15
|
name: "List Supported Exchanges",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ declare const EodhdApisListExchangesOutput: z.ZodObject<{
|
|
|
14
14
|
Country: z.ZodNullable<z.ZodString>;
|
|
15
15
|
Currency: z.ZodNullable<z.ZodString>;
|
|
16
16
|
OperatingMIC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
fmt?: "json" | "csv" | undefined;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,8 +14,8 @@ declare const EodhdApisListExchangesOutput: z.ZodObject<{
|
|
|
14
14
|
Country: z.ZodNullable<z.ZodString>;
|
|
15
15
|
Currency: z.ZodNullable<z.ZodString>;
|
|
16
16
|
OperatingMIC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
fmt?: "json" | "csv" | undefined;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,13 +8,13 @@ const EodhdApisListExchanges_ExchangeInfoSchema = z.object({
|
|
|
8
8
|
Country: z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').").nullable(),
|
|
9
9
|
Currency: z.string().describe("Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').").nullable(),
|
|
10
10
|
OperatingMIC: z.string().describe("Operating Market Identifier Code (MIC) for the exchange.").nullable().optional()
|
|
11
|
-
}).describe("Schema for a single stock exchange record.");
|
|
11
|
+
}).passthrough().describe("Schema for a single stock exchange record.");
|
|
12
12
|
const eodhdApisListExchanges = action("EODHD_APIS_LIST_EXCHANGES", {
|
|
13
13
|
slug: "eodhd_apis-list-exchanges",
|
|
14
14
|
name: "List Supported Exchanges",
|
|
15
15
|
description: "Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.",
|
|
16
16
|
input: EodhdApisListExchangesInput,
|
|
17
|
-
output: z.object({ exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.")
|
|
17
|
+
output: z.object({ exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).passthrough().describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { eodhdApisListExchanges };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAOhB;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ const EodhdApisSearchInstruments_InstrumentSearchResultSchema = zod.z.object({
|
|
|
18
18
|
isPrimary: zod.z.boolean().describe("Whether this is the primary exchange listing for the instrument. May be null if not available.").nullable().optional(),
|
|
19
19
|
previousClose: zod.z.number().describe("Last closing price of the instrument. May be null if not available.").nullable().optional(),
|
|
20
20
|
previousCloseDate: zod.z.string().describe("Date of the last closing price in YYYY-MM-DD format. May be null if not available.").nullable().optional()
|
|
21
|
-
}).describe("Schema for a single instrument search result.");
|
|
22
|
-
const EodhdApisSearchInstrumentsOutput = zod.z.object({ results: zod.z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).describe("Response model for search instruments API returning a list of matching instruments.");
|
|
21
|
+
}).passthrough().describe("Schema for a single instrument search result.");
|
|
22
|
+
const EodhdApisSearchInstrumentsOutput = zod.z.object({ results: zod.z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).passthrough().describe("Response model for search instruments API returning a list of matching instruments.");
|
|
23
23
|
const eodhdApisSearchInstruments = require_action.action("EODHD_APIS_SEARCH_INSTRUMENTS", {
|
|
24
24
|
slug: "eodhd_apis-search-instruments",
|
|
25
25
|
name: "Search Instruments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-instruments.cjs","names":["z","action"],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"search-instruments.cjs","names":["z","action"],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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C,CAAC,SAAS,+CAA+C;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ declare const EodhdApisSearchInstrumentsOutput: z.ZodObject<{
|
|
|
19
19
|
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
20
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
previousCloseDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eodhdApisSearchInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
query: string;
|
|
26
26
|
type?: string | undefined;
|
|
@@ -19,8 +19,8 @@ declare const EodhdApisSearchInstrumentsOutput: z.ZodObject<{
|
|
|
19
19
|
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
20
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
previousCloseDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eodhdApisSearchInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
query: string;
|
|
26
26
|
type?: string | undefined;
|
|
@@ -18,13 +18,13 @@ const EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({
|
|
|
18
18
|
isPrimary: z.boolean().describe("Whether this is the primary exchange listing for the instrument. May be null if not available.").nullable().optional(),
|
|
19
19
|
previousClose: z.number().describe("Last closing price of the instrument. May be null if not available.").nullable().optional(),
|
|
20
20
|
previousCloseDate: z.string().describe("Date of the last closing price in YYYY-MM-DD format. May be null if not available.").nullable().optional()
|
|
21
|
-
}).describe("Schema for a single instrument search result.");
|
|
21
|
+
}).passthrough().describe("Schema for a single instrument search result.");
|
|
22
22
|
const eodhdApisSearchInstruments = action("EODHD_APIS_SEARCH_INSTRUMENTS", {
|
|
23
23
|
slug: "eodhd_apis-search-instruments",
|
|
24
24
|
name: "Search Instruments",
|
|
25
25
|
description: "Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.",
|
|
26
26
|
input: EodhdApisSearchInstrumentsInput,
|
|
27
|
-
output: z.object({ results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).describe("Response model for search instruments API returning a list of matching instruments.")
|
|
27
|
+
output: z.object({ results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).passthrough().describe("Response model for search instruments API returning a list of matching instruments.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { eodhdApisSearchInstruments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-instruments.mjs","names":[],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only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CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"search-instruments.mjs","names":[],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CA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