@keystrokehq/serphouse 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/account-info.cjs +3 -3
- package/dist/actions/account-info.cjs.map +1 -1
- package/dist/actions/account-info.d.cts +3 -3
- package/dist/actions/account-info.d.mts +3 -3
- package/dist/actions/account-info.mjs +3 -3
- package/dist/actions/account-info.mjs.map +1 -1
- package/dist/actions/domain-list.cjs +1 -1
- package/dist/actions/domain-list.cjs.map +1 -1
- package/dist/actions/domain-list.d.cts +1 -1
- package/dist/actions/domain-list.d.mts +1 -1
- package/dist/actions/domain-list.mjs +1 -1
- package/dist/actions/domain-list.mjs.map +1 -1
- package/dist/actions/google-jobs-search.cjs +4 -4
- package/dist/actions/google-jobs-search.cjs.map +1 -1
- package/dist/actions/google-jobs-search.d.cts +4 -4
- package/dist/actions/google-jobs-search.d.mts +4 -4
- package/dist/actions/google-jobs-search.mjs +4 -4
- package/dist/actions/google-jobs-search.mjs.map +1 -1
- package/dist/actions/google-serp-advanced-scheduled.cjs +3 -3
- package/dist/actions/google-serp-advanced-scheduled.cjs.map +1 -1
- package/dist/actions/google-serp-advanced-scheduled.d.cts +4 -3
- package/dist/actions/google-serp-advanced-scheduled.d.mts +4 -3
- package/dist/actions/google-serp-advanced-scheduled.mjs +3 -3
- package/dist/actions/google-serp-advanced-scheduled.mjs.map +1 -1
- package/dist/actions/language-list.cjs +2 -2
- package/dist/actions/language-list.cjs.map +1 -1
- package/dist/actions/language-list.d.cts +2 -2
- package/dist/actions/language-list.d.mts +2 -2
- package/dist/actions/language-list.mjs +2 -2
- package/dist/actions/language-list.mjs.map +1 -1
- package/dist/actions/location-search.cjs +2 -2
- package/dist/actions/location-search.cjs.map +1 -1
- package/dist/actions/location-search.d.cts +2 -2
- package/dist/actions/location-search.d.mts +2 -2
- package/dist/actions/location-search.mjs +2 -2
- package/dist/actions/location-search.mjs.map +1 -1
- package/dist/actions/serp-check.cjs +2 -2
- package/dist/actions/serp-check.cjs.map +1 -1
- package/dist/actions/serp-check.d.cts +2 -2
- package/dist/actions/serp-check.d.mts +2 -2
- package/dist/actions/serp-check.mjs +2 -2
- package/dist/actions/serp-check.mjs.map +1 -1
- package/dist/actions/serp-live-get.cjs +17 -17
- package/dist/actions/serp-live-get.cjs.map +1 -1
- package/dist/actions/serp-live-get.d.cts +17 -17
- package/dist/actions/serp-live-get.d.mts +17 -17
- package/dist/actions/serp-live-get.mjs +17 -17
- package/dist/actions/serp-live-get.mjs.map +1 -1
- package/dist/actions/serp-live-post.cjs +17 -17
- package/dist/actions/serp-live-post.cjs.map +1 -1
- package/dist/actions/serp-live-post.d.cts +19 -19
- package/dist/actions/serp-live-post.d.mts +19 -19
- package/dist/actions/serp-live-post.mjs +17 -17
- package/dist/actions/serp-live-post.mjs.map +1 -1
- package/dist/actions/serp-schedule.cjs +3 -3
- package/dist/actions/serp-schedule.cjs.map +1 -1
- package/dist/actions/serp-schedule.d.cts +4 -3
- package/dist/actions/serp-schedule.d.mts +4 -3
- package/dist/actions/serp-schedule.mjs +3 -3
- package/dist/actions/serp-schedule.mjs.map +1 -1
- package/dist/actions/trends-categories-list.cjs +1 -1
- package/dist/actions/trends-categories-list.cjs.map +1 -1
- package/dist/actions/trends-categories-list.d.cts +1 -1
- package/dist/actions/trends-categories-list.d.mts +1 -1
- package/dist/actions/trends-categories-list.mjs +1 -1
- package/dist/actions/trends-categories-list.mjs.map +1 -1
- package/dist/actions/trends-check.cjs +2 -2
- package/dist/actions/trends-check.cjs.map +1 -1
- package/dist/actions/trends-check.d.cts +2 -2
- package/dist/actions/trends-check.d.mts +2 -2
- package/dist/actions/trends-check.mjs +2 -2
- package/dist/actions/trends-check.mjs.map +1 -1
- package/dist/actions/trends-country-list.cjs +1 -1
- package/dist/actions/trends-country-list.cjs.map +1 -1
- package/dist/actions/trends-country-list.d.cts +1 -1
- package/dist/actions/trends-country-list.d.mts +1 -1
- package/dist/actions/trends-country-list.mjs +1 -1
- package/dist/actions/trends-country-list.mjs.map +1 -1
- package/dist/actions/trends-get.cjs +3 -3
- package/dist/actions/trends-get.cjs.map +1 -1
- package/dist/actions/trends-get.d.cts +3 -3
- package/dist/actions/trends-get.d.mts +3 -3
- package/dist/actions/trends-get.mjs +3 -3
- package/dist/actions/trends-get.mjs.map +1 -1
- package/dist/actions/trends-language-list.cjs +2 -2
- package/dist/actions/trends-language-list.cjs.map +1 -1
- package/dist/actions/trends-language-list.d.cts +2 -2
- package/dist/actions/trends-language-list.d.mts +2 -2
- package/dist/actions/trends-language-list.mjs +2 -2
- package/dist/actions/trends-language-list.mjs.map +1 -1
- package/dist/actions/trends-schedule.cjs +3 -3
- package/dist/actions/trends-schedule.cjs.map +1 -1
- package/dist/actions/trends-schedule.d.cts +4 -3
- package/dist/actions/trends-schedule.d.mts +4 -3
- package/dist/actions/trends-schedule.mjs +3 -3
- package/dist/actions/trends-schedule.mjs.map +1 -1
- package/dist/actions/trends-search.cjs +4 -4
- package/dist/actions/trends-search.cjs.map +1 -1
- package/dist/actions/trends-search.d.cts +4 -4
- package/dist/actions/trends-search.d.mts +4 -4
- package/dist/actions/trends-search.mjs +4 -4
- package/dist/actions/trends-search.mjs.map +1 -1
- package/dist/actions/trends-timezone-list.cjs +2 -2
- package/dist/actions/trends-timezone-list.cjs.map +1 -1
- package/dist/actions/trends-timezone-list.d.cts +2 -2
- package/dist/actions/trends-timezone-list.d.mts +2 -2
- package/dist/actions/trends-timezone-list.mjs +2 -2
- package/dist/actions/trends-timezone-list.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,10 +8,10 @@ declare const SerphouseTrendsCheckOutput: z.ZodObject<{
|
|
|
8
8
|
msg: z.ZodNullable<z.ZodString>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
status: z.ZodNullable<z.ZodString>;
|
|
13
13
|
results: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const serphouseTrendsCheck: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/trends-check.ts
|
|
4
4
|
const SerphouseTrendsCheckInput = z.object({ id: z.string().describe("Unique identifier of the SERP task to check status for.") }).describe("Request model for checking trend search task status.");
|
|
5
|
-
const SerphouseTrendsCheck_ValidationErrorSchema = z.object({ id: z.array(z.string()).describe("List of validation error messages for the id field.").nullable().optional() }).describe("Validation error details.");
|
|
5
|
+
const SerphouseTrendsCheck_ValidationErrorSchema = z.object({ id: z.array(z.string()).describe("List of validation error messages for the id field.").nullable().optional() }).passthrough().describe("Validation error details.");
|
|
6
6
|
const serphouseTrendsCheck = action("SERPHOUSE_TRENDS_CHECK", {
|
|
7
7
|
slug: "serphouse-trends-check",
|
|
8
8
|
name: "Check Trend Search Status",
|
|
@@ -13,7 +13,7 @@ const serphouseTrendsCheck = action("SERPHOUSE_TRENDS_CHECK", {
|
|
|
13
13
|
error: SerphouseTrendsCheck_ValidationErrorSchema.nullable().optional(),
|
|
14
14
|
status: z.string().describe("Operation result status (e.g., 'success', 'error').").nullable(),
|
|
15
15
|
results: z.string().describe("Results data (typically empty string when checking status).").nullable()
|
|
16
|
-
}).describe("Response model for trend search task status check.")
|
|
16
|
+
}).passthrough().describe("Response model for trend search task status check.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { serphouseTrendsCheck };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-check.mjs","names":[],"sources":["../../src/actions/trends-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCheckInput = z.object({\n id: z.string().describe(\"Unique identifier of the SERP task to check status for.\"),\n}).describe(\"Request model for checking trend search task status.\");\nconst SerphouseTrendsCheck_ValidationErrorSchema = z.object({\n id: z.array(z.string()).describe(\"List of validation error messages for the id field.\").nullable().optional(),\n}).describe(\"Validation error details.\");\nexport const SerphouseTrendsCheckOutput = z.object({\n msg: z.string().describe(\"Status message describing the result. Possible values: 'Completed', 'Processing in a queue', 'Not found', 'validation_error'.\").nullable(),\n error: SerphouseTrendsCheck_ValidationErrorSchema.nullable().optional(),\n status: z.string().describe(\"Operation result status (e.g., 'success', 'error').\").nullable(),\n results: z.string().describe(\"Results data (typically empty string when checking status).\").nullable(),\n}).describe(\"Response model for trend search task status check.\");\n\nexport const serphouseTrendsCheck = action(\"SERPHOUSE_TRENDS_CHECK\", {\n slug: \"serphouse-trends-check\",\n name: \"Check Trend Search Status\",\n description: \"Tool to check the status of a previously submitted trend search task. Use when you need to monitor completion progress of a trend search.\",\n input: SerphouseTrendsCheckInput,\n output: SerphouseTrendsCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6C,EAAE,OAAO,EAC1D,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"trends-check.mjs","names":[],"sources":["../../src/actions/trends-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCheckInput = z.object({\n id: z.string().describe(\"Unique identifier of the SERP task to check status for.\"),\n}).describe(\"Request model for checking trend search task status.\");\nconst SerphouseTrendsCheck_ValidationErrorSchema = z.object({\n id: z.array(z.string()).describe(\"List of validation error messages for the id field.\").nullable().optional(),\n}).passthrough().describe(\"Validation error details.\");\nexport const SerphouseTrendsCheckOutput = z.object({\n msg: z.string().describe(\"Status message describing the result. Possible values: 'Completed', 'Processing in a queue', 'Not found', 'validation_error'.\").nullable(),\n error: SerphouseTrendsCheck_ValidationErrorSchema.nullable().optional(),\n status: z.string().describe(\"Operation result status (e.g., 'success', 'error').\").nullable(),\n results: z.string().describe(\"Results data (typically empty string when checking status).\").nullable(),\n}).passthrough().describe(\"Response model for trend search task status check.\");\n\nexport const serphouseTrendsCheck = action(\"SERPHOUSE_TRENDS_CHECK\", {\n slug: \"serphouse-trends-check\",\n name: \"Check Trend Search Status\",\n description: \"Tool to check the status of a previously submitted trend search task. Use when you need to monitor completion progress of a trend search.\",\n input: SerphouseTrendsCheckInput,\n output: SerphouseTrendsCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6C,EAAE,OAAO,EAC1D,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAQrD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACnK,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const SerphouseTrendsCountryListOutput = zod.z.object({
|
|
|
6
6
|
msg: zod.z.string().describe("Message providing additional context (empty on success).").nullable(),
|
|
7
7
|
status: zod.z.string().describe("Indicates success or error status of the request.").nullable(),
|
|
8
8
|
results: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.")
|
|
9
|
-
}).describe("Response model containing the hierarchical structure of countries and subdivisions.");
|
|
9
|
+
}).passthrough().describe("Response model containing the hierarchical structure of countries and subdivisions.");
|
|
10
10
|
const serphouseTrendsCountryList = require_action.action("SERPHOUSE_TRENDS_COUNTRY_LIST", {
|
|
11
11
|
slug: "serphouse-trends-country-list",
|
|
12
12
|
name: "Get Trends Country List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-country-list.cjs","names":["z","action"],"sources":["../../src/actions/trends-country-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCountryListInput = z.object({}).describe(\"Request model for retrieving the list of countries and states for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsCountryListOutput = z.object({\n msg: z.string().describe(\"Message providing additional context (empty on success).\").nullable(),\n status: z.string().describe(\"Indicates success or error status of the request.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.\"),\n}).describe(\"Response model containing the hierarchical structure of countries and subdivisions.\");\n\nexport const serphouseTrendsCountryList = action(\"SERPHOUSE_TRENDS_COUNTRY_LIST\", {\n slug: \"serphouse-trends-country-list\",\n name: \"Get Trends Country List\",\n description: \"Tool to retrieve the full list of countries and states for Google Trends searches. Use when you need geographic targeting options for trends analysis.\",\n input: SerphouseTrendsCountryListInput,\n output: SerphouseTrendsCountryListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G;AACpL,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAChK,CAAC,CAAC,CAAC,SAAS,qFAAqF;
|
|
1
|
+
{"version":3,"file":"trends-country-list.cjs","names":["z","action"],"sources":["../../src/actions/trends-country-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCountryListInput = z.object({}).describe(\"Request model for retrieving the list of countries and states for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsCountryListOutput = z.object({\n msg: z.string().describe(\"Message providing additional context (empty on success).\").nullable(),\n status: z.string().describe(\"Indicates success or error status of the request.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.\"),\n}).passthrough().describe(\"Response model containing the hierarchical structure of countries and subdivisions.\");\n\nexport const serphouseTrendsCountryList = action(\"SERPHOUSE_TRENDS_COUNTRY_LIST\", {\n slug: \"serphouse-trends-country-list\",\n name: \"Get Trends Country List\",\n description: \"Tool to retrieve the full list of countries and states for Google Trends searches. Use when you need geographic targeting options for trends analysis.\",\n input: SerphouseTrendsCountryListInput,\n output: SerphouseTrendsCountryListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G;AACpL,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAChK,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"}
|
|
@@ -6,7 +6,7 @@ declare const SerphouseTrendsCountryListOutput: z.ZodObject<{
|
|
|
6
6
|
msg: z.ZodNullable<z.ZodString>;
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
8
|
results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const serphouseTrendsCountryList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { serphouseTrendsCountryList };
|
|
@@ -6,7 +6,7 @@ declare const SerphouseTrendsCountryListOutput: z.ZodObject<{
|
|
|
6
6
|
msg: z.ZodNullable<z.ZodString>;
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
8
|
results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const serphouseTrendsCountryList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { serphouseTrendsCountryList };
|
|
@@ -9,7 +9,7 @@ const serphouseTrendsCountryList = action("SERPHOUSE_TRENDS_COUNTRY_LIST", {
|
|
|
9
9
|
msg: z.string().describe("Message providing additional context (empty on success).").nullable(),
|
|
10
10
|
status: z.string().describe("Indicates success or error status of the request.").nullable(),
|
|
11
11
|
results: z.record(z.string(), z.unknown()).describe("Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.")
|
|
12
|
-
}).describe("Response model containing the hierarchical structure of countries and subdivisions.")
|
|
12
|
+
}).passthrough().describe("Response model containing the hierarchical structure of countries and subdivisions.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { serphouseTrendsCountryList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-country-list.mjs","names":[],"sources":["../../src/actions/trends-country-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCountryListInput = z.object({}).describe(\"Request model for retrieving the list of countries and states for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsCountryListOutput = z.object({\n msg: z.string().describe(\"Message providing additional context (empty on success).\").nullable(),\n status: z.string().describe(\"Indicates success or error status of the request.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.\"),\n}).describe(\"Response model containing the hierarchical structure of countries and subdivisions.\");\n\nexport const serphouseTrendsCountryList = action(\"SERPHOUSE_TRENDS_COUNTRY_LIST\", {\n slug: \"serphouse-trends-country-list\",\n name: \"Get Trends Country List\",\n description: \"Tool to retrieve the full list of countries and states for Google Trends searches. Use when you need geographic targeting options for trends analysis.\",\n input: SerphouseTrendsCountryListInput,\n output: SerphouseTrendsCountryListOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAW5D;CACP,QAX8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAChK,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"trends-country-list.mjs","names":[],"sources":["../../src/actions/trends-country-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsCountryListInput = z.object({}).describe(\"Request model for retrieving the list of countries and states for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsCountryListOutput = z.object({\n msg: z.string().describe(\"Message providing additional context (empty on success).\").nullable(),\n status: z.string().describe(\"Indicates success or error status of the request.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Hierarchical structure containing 'name', 'id', and 'children' fields with country and subdivision data.\"),\n}).passthrough().describe(\"Response model containing the hierarchical structure of countries and subdivisions.\");\n\nexport const serphouseTrendsCountryList = action(\"SERPHOUSE_TRENDS_COUNTRY_LIST\", {\n slug: \"serphouse-trends-country-list\",\n name: \"Get Trends Country List\",\n description: \"Tool to retrieve the full list of countries and states for Google Trends searches. Use when you need geographic targeting options for trends analysis.\",\n input: SerphouseTrendsCountryListInput,\n output: SerphouseTrendsCountryListOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAW5D;CACP,QAX8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAOhB;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ const SerphouseTrendsGet_SearchMetadataSchema = zod.z.object({
|
|
|
25
25
|
status: zod.z.string().describe("Processing status of the task").nullable(),
|
|
26
26
|
created_at: zod.z.string().describe("Creation timestamp of the task").nullable().optional(),
|
|
27
27
|
processed_at: zod.z.string().describe("Processing completion timestamp").nullable().optional()
|
|
28
|
-
}).describe("Metadata about the trend search task.");
|
|
28
|
+
}).passthrough().describe("Metadata about the trend search task.");
|
|
29
29
|
const SerphouseTrendsGet_SearchParametersSchema = zod.z.object({
|
|
30
30
|
geo: zod.z.string().describe("Geographic location").nullable().optional(),
|
|
31
31
|
time: zod.z.string().describe("Time period for the search").nullable().optional(),
|
|
@@ -39,12 +39,12 @@ const SerphouseTrendsGet_TrendsGetResultsSchema = zod.z.object({
|
|
|
39
39
|
result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),
|
|
40
40
|
search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),
|
|
41
41
|
search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional()
|
|
42
|
-
}).describe("Inner results object containing trend search data.");
|
|
42
|
+
}).passthrough().describe("Inner results object containing trend search data.");
|
|
43
43
|
const SerphouseTrendsGetOutput = zod.z.object({
|
|
44
44
|
msg: zod.z.string().describe("Response message").nullable().optional(),
|
|
45
45
|
status: zod.z.string().describe("Response status (e.g., 'success')").nullable(),
|
|
46
46
|
results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional()
|
|
47
|
-
}).describe("Response model for trend search results.");
|
|
47
|
+
}).passthrough().describe("Response model for trend search results.");
|
|
48
48
|
const serphouseTrendsGet = require_action.action("SERPHOUSE_TRENDS_GET", {
|
|
49
49
|
slug: "serphouse-trends-get",
|
|
50
50
|
name: "Get Trend Search Results",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-get.cjs","names":["z","action"],"sources":["../../src/actions/trends-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsGetInput = z.object({\n id: z.string().describe(\"Unique identifier of your trend search task. This is the task ID returned from the trend search request.\"),\n}).describe(\"Request model for retrieving trend search results.\");\nconst SerphouseTrendsGet_GeoMapDataSchema = z.record(z.string(), z.unknown()).describe(\"Geographic map data container.\");\nconst SerphouseTrendsGet_TimeseriesDataPointSchema = z.object({\n time: z.string().describe(\"Timestamp of the data point\").nullable().optional(),\n value: z.array(z.union([z.number().int(), z.number()])).describe(\"Search intensity values at this time\").nullable().optional(),\n hasData: z.array(z.boolean()).describe(\"Whether data is available for this time point\").nullable().optional(),\n isPartial: z.boolean().describe(\"Whether this is partial data\").nullable().optional(),\n formattedTime: z.string().describe(\"Human-readable formatted time\").nullable().optional(),\n formattedValue: z.array(z.string()).describe(\"Formatted value strings\").nullable().optional(),\n formattedAxisTime: z.string().describe(\"Formatted axis time\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the timeseries data.\");\nconst SerphouseTrendsGet_RelatedTopicsDataSchema = z.record(z.string(), z.unknown()).describe(\"Related topics data container.\");\nconst SerphouseTrendsGet_RelatedQueriesDataSchema = z.record(z.string(), z.unknown()).describe(\"Related queries data container.\");\nconst SerphouseTrendsGet_TrendResultSchema = z.object({\n GEO_MAP: SerphouseTrendsGet_GeoMapDataSchema.nullable().optional(),\n TIMESERIES: z.array(SerphouseTrendsGet_TimeseriesDataPointSchema).describe(\"Time series data showing trend over time\").nullable().optional(),\n RELATED_TOPICS: SerphouseTrendsGet_RelatedTopicsDataSchema.nullable().optional(),\n RELATED_QUERIES: SerphouseTrendsGet_RelatedQueriesDataSchema.nullable().optional(),\n}).passthrough().describe(\"The actual trend data results.\");\nconst SerphouseTrendsGet_SearchMetadataSchema = z.object({\n id: z.number().int().describe(\"Task identifier\").nullable(),\n status: z.string().describe(\"Processing status of the task\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the task\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion timestamp\").nullable().optional(),\n}).describe(\"Metadata about the trend search task.\");\nconst SerphouseTrendsGet_SearchParametersSchema = z.object({\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n time: z.string().describe(\"Time period for the search\").nullable().optional(),\n category: z.union([z.string(), z.number().int()]).nullable().optional(),\n keywords: z.string().describe(\"Search keywords\").nullable().optional(),\n property: z.string().describe(\"Property type\").nullable().optional(),\n langauge_code: z.string().describe(\"Language code used\").nullable().optional(),\n time_zone_offset: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Parameters used for the trend search.\");\nconst SerphouseTrendsGet_TrendsGetResultsSchema = z.object({\n result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),\n search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional(),\n}).describe(\"Inner results object containing trend search data.\");\nexport const SerphouseTrendsGetOutput = z.object({\n msg: z.string().describe(\"Response message\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional(),\n}).describe(\"Response model for trend search results.\");\n\nexport const serphouseTrendsGet = action(\"SERPHOUSE_TRENDS_GET\", {\n slug: \"serphouse-trends-get\",\n name: \"Get Trend Search Results\",\n description: \"Tool to retrieve the results of a completed trend search query. Use when you need to fetch trend data for a specific task ID that was previously submitted. The task must be completed before results are available.\",\n input: S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,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC9H,MAAM,8CAA8CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAChI,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,iBAAiB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"trends-get.cjs","names":["z","action"],"sources":["../../src/actions/trends-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsGetInput = z.object({\n id: z.string().describe(\"Unique identifier of your trend search task. This is the task ID returned from the trend search request.\"),\n}).describe(\"Request model for retrieving trend search results.\");\nconst SerphouseTrendsGet_GeoMapDataSchema = z.record(z.string(), z.unknown()).describe(\"Geographic map data container.\");\nconst SerphouseTrendsGet_TimeseriesDataPointSchema = z.object({\n time: z.string().describe(\"Timestamp of the data point\").nullable().optional(),\n value: z.array(z.union([z.number().int(), z.number()])).describe(\"Search intensity values at this time\").nullable().optional(),\n hasData: z.array(z.boolean()).describe(\"Whether data is available for this time point\").nullable().optional(),\n isPartial: z.boolean().describe(\"Whether this is partial data\").nullable().optional(),\n formattedTime: z.string().describe(\"Human-readable formatted time\").nullable().optional(),\n formattedValue: z.array(z.string()).describe(\"Formatted value strings\").nullable().optional(),\n formattedAxisTime: z.string().describe(\"Formatted axis time\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the timeseries data.\");\nconst SerphouseTrendsGet_RelatedTopicsDataSchema = z.record(z.string(), z.unknown()).describe(\"Related topics data container.\");\nconst SerphouseTrendsGet_RelatedQueriesDataSchema = z.record(z.string(), z.unknown()).describe(\"Related queries data container.\");\nconst SerphouseTrendsGet_TrendResultSchema = z.object({\n GEO_MAP: SerphouseTrendsGet_GeoMapDataSchema.nullable().optional(),\n TIMESERIES: z.array(SerphouseTrendsGet_TimeseriesDataPointSchema).describe(\"Time series data showing trend over time\").nullable().optional(),\n RELATED_TOPICS: SerphouseTrendsGet_RelatedTopicsDataSchema.nullable().optional(),\n RELATED_QUERIES: SerphouseTrendsGet_RelatedQueriesDataSchema.nullable().optional(),\n}).passthrough().describe(\"The actual trend data results.\");\nconst SerphouseTrendsGet_SearchMetadataSchema = z.object({\n id: z.number().int().describe(\"Task identifier\").nullable(),\n status: z.string().describe(\"Processing status of the task\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the task\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion timestamp\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the trend search task.\");\nconst SerphouseTrendsGet_SearchParametersSchema = z.object({\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n time: z.string().describe(\"Time period for the search\").nullable().optional(),\n category: z.union([z.string(), z.number().int()]).nullable().optional(),\n keywords: z.string().describe(\"Search keywords\").nullable().optional(),\n property: z.string().describe(\"Property type\").nullable().optional(),\n langauge_code: z.string().describe(\"Language code used\").nullable().optional(),\n time_zone_offset: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Parameters used for the trend search.\");\nconst SerphouseTrendsGet_TrendsGetResultsSchema = z.object({\n result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),\n search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional(),\n}).passthrough().describe(\"Inner results object containing trend search data.\");\nexport const SerphouseTrendsGetOutput = z.object({\n msg: z.string().describe(\"Response message\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for trend search results.\");\n\nexport const serphouseTrendsGet = action(\"SERPHOUSE_TRENDS_GET\", {\n slug: \"serphouse-trends-get\",\n name: \"Get Trend Search Results\",\n description: \"Tool to retrieve the results of a completed trend search query. Use when you need to fetch trend data for a specific task ID that was previously submitted. The task must be completed before results are available.\",\n input: SerphouseTrendsGetInput,\n output: SerphouseTrendsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,sCAAsCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACvH,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,kBAAkBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACjE,iBAAiB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC7E,mBAAmB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ declare const SerphouseTrendsGetOutput: z.ZodObject<{
|
|
|
27
27
|
status: z.ZodNullable<z.ZodString>;
|
|
28
28
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,8 +37,8 @@ declare const SerphouseTrendsGetOutput: z.ZodObject<{
|
|
|
37
37
|
langauge_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
time_zone_offset: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
39
39
|
}, z.core.$loose>>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const serphouseTrendsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
id: string;
|
|
44
44
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -27,7 +27,7 @@ declare const SerphouseTrendsGetOutput: z.ZodObject<{
|
|
|
27
27
|
status: z.ZodNullable<z.ZodString>;
|
|
28
28
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,8 +37,8 @@ declare const SerphouseTrendsGetOutput: z.ZodObject<{
|
|
|
37
37
|
langauge_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
time_zone_offset: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
39
39
|
}, z.core.$loose>>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const serphouseTrendsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
id: string;
|
|
44
44
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -25,7 +25,7 @@ const SerphouseTrendsGet_SearchMetadataSchema = z.object({
|
|
|
25
25
|
status: z.string().describe("Processing status of the task").nullable(),
|
|
26
26
|
created_at: z.string().describe("Creation timestamp of the task").nullable().optional(),
|
|
27
27
|
processed_at: z.string().describe("Processing completion timestamp").nullable().optional()
|
|
28
|
-
}).describe("Metadata about the trend search task.");
|
|
28
|
+
}).passthrough().describe("Metadata about the trend search task.");
|
|
29
29
|
const SerphouseTrendsGet_SearchParametersSchema = z.object({
|
|
30
30
|
geo: z.string().describe("Geographic location").nullable().optional(),
|
|
31
31
|
time: z.string().describe("Time period for the search").nullable().optional(),
|
|
@@ -39,7 +39,7 @@ const SerphouseTrendsGet_TrendsGetResultsSchema = z.object({
|
|
|
39
39
|
result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),
|
|
40
40
|
search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),
|
|
41
41
|
search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional()
|
|
42
|
-
}).describe("Inner results object containing trend search data.");
|
|
42
|
+
}).passthrough().describe("Inner results object containing trend search data.");
|
|
43
43
|
const serphouseTrendsGet = action("SERPHOUSE_TRENDS_GET", {
|
|
44
44
|
slug: "serphouse-trends-get",
|
|
45
45
|
name: "Get Trend Search Results",
|
|
@@ -49,7 +49,7 @@ const serphouseTrendsGet = action("SERPHOUSE_TRENDS_GET", {
|
|
|
49
49
|
msg: z.string().describe("Response message").nullable().optional(),
|
|
50
50
|
status: z.string().describe("Response status (e.g., 'success')").nullable(),
|
|
51
51
|
results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional()
|
|
52
|
-
}).describe("Response model for trend search results.")
|
|
52
|
+
}).passthrough().describe("Response model for trend search results.")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { serphouseTrendsGet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-get.mjs","names":[],"sources":["../../src/actions/trends-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsGetInput = z.object({\n id: z.string().describe(\"Unique identifier of your trend search task. This is the task ID returned from the trend search request.\"),\n}).describe(\"Request model for retrieving trend search results.\");\nconst SerphouseTrendsGet_GeoMapDataSchema = z.record(z.string(), z.unknown()).describe(\"Geographic map data container.\");\nconst SerphouseTrendsGet_TimeseriesDataPointSchema = z.object({\n time: z.string().describe(\"Timestamp of the data point\").nullable().optional(),\n value: z.array(z.union([z.number().int(), z.number()])).describe(\"Search intensity values at this time\").nullable().optional(),\n hasData: z.array(z.boolean()).describe(\"Whether data is available for this time point\").nullable().optional(),\n isPartial: z.boolean().describe(\"Whether this is partial data\").nullable().optional(),\n formattedTime: z.string().describe(\"Human-readable formatted time\").nullable().optional(),\n formattedValue: z.array(z.string()).describe(\"Formatted value strings\").nullable().optional(),\n formattedAxisTime: z.string().describe(\"Formatted axis time\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the timeseries data.\");\nconst SerphouseTrendsGet_RelatedTopicsDataSchema = z.record(z.string(), z.unknown()).describe(\"Related topics data container.\");\nconst SerphouseTrendsGet_RelatedQueriesDataSchema = z.record(z.string(), z.unknown()).describe(\"Related queries data container.\");\nconst SerphouseTrendsGet_TrendResultSchema = z.object({\n GEO_MAP: SerphouseTrendsGet_GeoMapDataSchema.nullable().optional(),\n TIMESERIES: z.array(SerphouseTrendsGet_TimeseriesDataPointSchema).describe(\"Time series data showing trend over time\").nullable().optional(),\n RELATED_TOPICS: SerphouseTrendsGet_RelatedTopicsDataSchema.nullable().optional(),\n RELATED_QUERIES: SerphouseTrendsGet_RelatedQueriesDataSchema.nullable().optional(),\n}).passthrough().describe(\"The actual trend data results.\");\nconst SerphouseTrendsGet_SearchMetadataSchema = z.object({\n id: z.number().int().describe(\"Task identifier\").nullable(),\n status: z.string().describe(\"Processing status of the task\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the task\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion timestamp\").nullable().optional(),\n}).describe(\"Metadata about the trend search task.\");\nconst SerphouseTrendsGet_SearchParametersSchema = z.object({\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n time: z.string().describe(\"Time period for the search\").nullable().optional(),\n category: z.union([z.string(), z.number().int()]).nullable().optional(),\n keywords: z.string().describe(\"Search keywords\").nullable().optional(),\n property: z.string().describe(\"Property type\").nullable().optional(),\n langauge_code: z.string().describe(\"Language code used\").nullable().optional(),\n time_zone_offset: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Parameters used for the trend search.\");\nconst SerphouseTrendsGet_TrendsGetResultsSchema = z.object({\n result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),\n search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional(),\n}).describe(\"Inner results object containing trend search data.\");\nexport const SerphouseTrendsGetOutput = z.object({\n msg: z.string().describe(\"Response message\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional(),\n}).describe(\"Response model for trend search results.\");\n\nexport const serphouseTrendsGet = action(\"SERPHOUSE_TRENDS_GET\", {\n slug: \"serphouse-trends-get\",\n name: \"Get Trend Search Results\",\n description: \"Tool to retrieve the results of a completed trend search query. Use when you need to fetch trend data for a specific task ID that was previously submitted. The task must be completed before results are available.\",\n input: SerphouseTrendsGetInput,\n output: SerphouseTrendsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,sCAAsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACvH,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC9H,MAAM,8CAA8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAChI,MAAM,uCAAuC,EAAE,OAAO;CACpD,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,iBAAiB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"trends-get.mjs","names":[],"sources":["../../src/actions/trends-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsGetInput = z.object({\n id: z.string().describe(\"Unique identifier of your trend search task. This is the task ID returned from the trend search request.\"),\n}).describe(\"Request model for retrieving trend search results.\");\nconst SerphouseTrendsGet_GeoMapDataSchema = z.record(z.string(), z.unknown()).describe(\"Geographic map data container.\");\nconst SerphouseTrendsGet_TimeseriesDataPointSchema = z.object({\n time: z.string().describe(\"Timestamp of the data point\").nullable().optional(),\n value: z.array(z.union([z.number().int(), z.number()])).describe(\"Search intensity values at this time\").nullable().optional(),\n hasData: z.array(z.boolean()).describe(\"Whether data is available for this time point\").nullable().optional(),\n isPartial: z.boolean().describe(\"Whether this is partial data\").nullable().optional(),\n formattedTime: z.string().describe(\"Human-readable formatted time\").nullable().optional(),\n formattedValue: z.array(z.string()).describe(\"Formatted value strings\").nullable().optional(),\n formattedAxisTime: z.string().describe(\"Formatted axis time\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the timeseries data.\");\nconst SerphouseTrendsGet_RelatedTopicsDataSchema = z.record(z.string(), z.unknown()).describe(\"Related topics data container.\");\nconst SerphouseTrendsGet_RelatedQueriesDataSchema = z.record(z.string(), z.unknown()).describe(\"Related queries data container.\");\nconst SerphouseTrendsGet_TrendResultSchema = z.object({\n GEO_MAP: SerphouseTrendsGet_GeoMapDataSchema.nullable().optional(),\n TIMESERIES: z.array(SerphouseTrendsGet_TimeseriesDataPointSchema).describe(\"Time series data showing trend over time\").nullable().optional(),\n RELATED_TOPICS: SerphouseTrendsGet_RelatedTopicsDataSchema.nullable().optional(),\n RELATED_QUERIES: SerphouseTrendsGet_RelatedQueriesDataSchema.nullable().optional(),\n}).passthrough().describe(\"The actual trend data results.\");\nconst SerphouseTrendsGet_SearchMetadataSchema = z.object({\n id: z.number().int().describe(\"Task identifier\").nullable(),\n status: z.string().describe(\"Processing status of the task\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the task\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion timestamp\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the trend search task.\");\nconst SerphouseTrendsGet_SearchParametersSchema = z.object({\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n time: z.string().describe(\"Time period for the search\").nullable().optional(),\n category: z.union([z.string(), z.number().int()]).nullable().optional(),\n keywords: z.string().describe(\"Search keywords\").nullable().optional(),\n property: z.string().describe(\"Property type\").nullable().optional(),\n langauge_code: z.string().describe(\"Language code used\").nullable().optional(),\n time_zone_offset: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Parameters used for the trend search.\");\nconst SerphouseTrendsGet_TrendsGetResultsSchema = z.object({\n result: SerphouseTrendsGet_TrendResultSchema.nullable().optional(),\n search_metadata: SerphouseTrendsGet_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerphouseTrendsGet_SearchParametersSchema.nullable().optional(),\n}).passthrough().describe(\"Inner results object containing trend search data.\");\nexport const SerphouseTrendsGetOutput = z.object({\n msg: z.string().describe(\"Response message\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n results: SerphouseTrendsGet_TrendsGetResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for trend search results.\");\n\nexport const serphouseTrendsGet = action(\"SERPHOUSE_TRENDS_GET\", {\n slug: \"serphouse-trends-get\",\n name: \"Get Trend Search Results\",\n description: \"Tool to retrieve the results of a completed trend search query. Use when you need to fetch trend data for a specific task ID that was previously submitted. The task must be completed before results are available.\",\n input: SerphouseTrendsGetInput,\n output: SerphouseTrendsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,sCAAsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACvH,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CA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AM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const SerphouseTrendsLanguageListInput = zod.z.object({}).describe("Request mode
|
|
|
5
5
|
const SerphouseTrendsLanguageListOutput = zod.z.object({
|
|
6
6
|
msg: zod.z.string().describe("Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.").nullable(),
|
|
7
7
|
status: zod.z.string().describe("Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.").nullable(),
|
|
8
|
-
results: zod.z.
|
|
9
|
-
}).describe("Response model containing the list of supported languages for Google Trends searches.");
|
|
8
|
+
results: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of language codes to language names. Keys are ISO language codes (e.g., 'en', 'fr', 'de') and values are full language names (e.g., 'English', 'French', 'German').")
|
|
9
|
+
}).passthrough().describe("Response model containing the list of supported languages for Google Trends searches.");
|
|
10
10
|
const serphouseTrendsLanguageList = require_action.action("SERPHOUSE_TRENDS_LANGUAGE_LIST", {
|
|
11
11
|
slug: "serphouse-trends-language-list",
|
|
12
12
|
name: "Get Trends Language List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-language-list.cjs","names":["z","action"],"sources":["../../src/actions/trends-language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsLanguageListInput = z.object({}).describe(\"Request model for retrieving the full list of supported languages for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.\").nullable(),\n status: z.string().describe(\"Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.\").nullable(),\n results: z.
|
|
1
|
+
{"version":3,"file":"trends-language-list.cjs","names":["z","action"],"sources":["../../src/actions/trends-language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsLanguageListInput = z.object({}).describe(\"Request model for retrieving the full list of supported languages for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.\").nullable(),\n status: z.string().describe(\"Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Dictionary of language codes to language names. Keys are ISO language codes (e.g., 'en', 'fr', 'de') and values are full language names (e.g., 'English', 'French', 'German').\"),\n}).passthrough().describe(\"Response model containing the list of supported languages for Google Trends searches.\");\n\nexport const serphouseTrendsLanguageList = action(\"SERPHOUSE_TRENDS_LANGUAGE_LIST\", {\n slug: \"serphouse-trends-language-list\",\n name: \"Get Trends Language List\",\n description: \"Tool to retrieve the full list of supported languages for Google Trends searches. Use when you need to identify valid language codes for trend search requests.\",\n input: SerphouseTrendsLanguageListInput,\n output: SerphouseTrendsLanguageListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AACzL,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL;AACtO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ declare const SerphouseTrendsLanguageListInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const SerphouseTrendsLanguageListOutput: z.ZodObject<{
|
|
6
6
|
msg: z.ZodNullable<z.ZodString>;
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
|
-
results: z.
|
|
9
|
-
}, z.core.$
|
|
8
|
+
results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const serphouseTrendsLanguageList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { serphouseTrendsLanguageList };
|
|
@@ -5,8 +5,8 @@ declare const SerphouseTrendsLanguageListInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const SerphouseTrendsLanguageListOutput: z.ZodObject<{
|
|
6
6
|
msg: z.ZodNullable<z.ZodString>;
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
|
-
results: z.
|
|
9
|
-
}, z.core.$
|
|
8
|
+
results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const serphouseTrendsLanguageList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { serphouseTrendsLanguageList };
|
|
@@ -8,8 +8,8 @@ const serphouseTrendsLanguageList = action("SERPHOUSE_TRENDS_LANGUAGE_LIST", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
msg: z.string().describe("Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.").nullable(),
|
|
10
10
|
status: z.string().describe("Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.").nullable(),
|
|
11
|
-
results: z.
|
|
12
|
-
}).describe("Response model containing the list of supported languages for Google Trends searches.")
|
|
11
|
+
results: z.record(z.string(), z.unknown()).describe("Dictionary of language codes to language names. Keys are ISO language codes (e.g., 'en', 'fr', 'de') and values are full language names (e.g., 'English', 'French', 'German').")
|
|
12
|
+
}).passthrough().describe("Response model containing the list of supported languages for Google Trends searches.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { serphouseTrendsLanguageList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-language-list.mjs","names":[],"sources":["../../src/actions/trends-language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsLanguageListInput = z.object({}).describe(\"Request model for retrieving the full list of supported languages for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.\").nullable(),\n status: z.string().describe(\"Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.\").nullable(),\n results: z.
|
|
1
|
+
{"version":3,"file":"trends-language-list.mjs","names":[],"sources":["../../src/actions/trends-language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsLanguageListInput = z.object({}).describe(\"Request model for retrieving the full list of supported languages for Google Trends.\\nNo parameters are required.\");\nexport const SerphouseTrendsLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message. Returns 'Completed' on success or 'Unauthenticated' on authentication failure.\").nullable(),\n status: z.string().describe(\"Operation result indicator. Returns 'success' on successful retrieval or 'error' on failure.\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Dictionary of language codes to language names. Keys are ISO language codes (e.g., 'en', 'fr', 'de') and values are full language names (e.g., 'English', 'French', 'German').\"),\n}).passthrough().describe(\"Response model containing the list of supported languages for Google Trends searches.\");\n\nexport const serphouseTrendsLanguageList = action(\"SERPHOUSE_TRENDS_LANGUAGE_LIST\", {\n slug: \"serphouse-trends-language-list\",\n name: \"Get Trends Language List\",\n description: \"Tool to retrieve the full list of supported languages for Google Trends searches. Use when you need to identify valid language codes for trend search requests.\",\n input: SerphouseTrendsLanguageListInput,\n output: SerphouseTrendsLanguageListOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAW7D;CACP,QAX+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL;CACtO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SerphouseTrendsScheduleInput = zod.z.object({
|
|
|
10
10
|
property: zod.z.string().default("").describe("Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'").optional(),
|
|
11
11
|
langauge_code: zod.z.string().default("en").describe("Language code (default 'en')").optional(),
|
|
12
12
|
time_zone_offset: zod.z.number().int().describe("Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.")
|
|
13
|
-
}).describe("Individual trend search task configuration.")).describe("Array of trend search tasks to schedule (max 100 tasks in batch)"),
|
|
13
|
+
}).passthrough().describe("Individual trend search task configuration.")).describe("Array of trend search tasks to schedule (max 100 tasks in batch)"),
|
|
14
14
|
pingback_url: zod.z.string().describe("Notification URL for task completion via GET request").optional(),
|
|
15
15
|
postback_url: zod.z.string().describe("Webhook URL for result delivery via POST request").optional()
|
|
16
16
|
}).describe("Request parameters for scheduling Google Trends search tasks.");
|
|
@@ -26,12 +26,12 @@ const SerphouseTrendsSchedule_ScheduledTaskResultSchema = zod.z.object({
|
|
|
26
26
|
created_at: zod.z.string().describe("Task creation timestamp").nullable().optional(),
|
|
27
27
|
updated_at: zod.z.string().describe("Last modification timestamp").nullable().optional(),
|
|
28
28
|
is_scheduled: zod.z.number().int().describe("Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)").nullable().optional()
|
|
29
|
-
}).describe("Individual scheduled task result.");
|
|
29
|
+
}).passthrough().describe("Individual scheduled task result.");
|
|
30
30
|
const SerphouseTrendsScheduleOutput = zod.z.object({
|
|
31
31
|
msg: zod.z.string().describe("Status message describing the outcome").nullable(),
|
|
32
32
|
status: zod.z.string().describe("Response status ('success' or 'error')").nullable(),
|
|
33
33
|
results: zod.z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe("Array of scheduled task objects").nullable().optional()
|
|
34
|
-
}).describe("Response schema for scheduled Google Trends search tasks.");
|
|
34
|
+
}).passthrough().describe("Response schema for scheduled Google Trends search tasks.");
|
|
35
35
|
const serphouseTrendsSchedule = require_action.action("SERPHOUSE_TRENDS_SCHEDULE", {
|
|
36
36
|
slug: "serphouse-trends-schedule",
|
|
37
37
|
name: "Schedule Google Trends Search",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-schedule.cjs","names":["z","action"],"sources":["../../src/actions/trends-schedule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsScheduleInput = z.object({\n data: z.array(z.object({\n geo: z.string().default(\"\").describe(\"Geographic location code (default empty for worldwide). Example: 'us', 'gb', 'in'\").optional(),\n time: z.string().describe(\"Time range options: 'now 1-H', 'now 4-H', 'now 1-d', 'now 7-d', 'today 1-m', 'today 3-m', 'today 12-m', 'today 5-y', or custom format '2021-01-24 2021-02-25'\"),\n category: z.number().int().default(0).describe(\"Category ID (default 0 for all categories)\").optional(),\n keywords: z.string().describe(\"Single keyword or multiple keywords separated by commas (max 5). Example: 'artificial intelligence' or 'google, youtube, yahoo'\"),\n property: z.string().default(\"\").describe(\"Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'\").optional(),\n langauge_code: z.string().default(\"en\").describe(\"Language code (default 'en')\").optional(),\n time_zone_offset: z.number().int().describe(\"Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.\"),\n}).describe(\"Individual trend search task configuration.\")).describe(\"Array of trend search tasks to schedule (max 100 tasks in batch)\"),\n pingback_url: z.string().describe(\"Notification URL for task completion via GET request\").optional(),\n postback_url: z.string().describe(\"Webhook URL for result delivery via POST request\").optional(),\n}).describe(\"Request parameters for scheduling Google Trends search tasks.\");\nconst SerphouseTrendsSchedule_ScheduledTaskResultSchema = z.object({\n q: z.string().describe(\"Query keyword submitted\").nullable().optional(),\n id: z.number().int().describe(\"Unique task identifier\").nullable().optional(),\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n lang: z.string().describe(\"Language code\").nullable().optional(),\n time: z.string().describe(\"Time range parameter\").nullable().optional(),\n status: z.number().int().describe(\"Task processing status code\").nullable().optional(),\n category: z.number().int().describe(\"Category identifier\").nullable().optional(),\n property: z.string().describe(\"Search property type\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n is_scheduled: z.number().int().describe(\"Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)\").nullable().optional(),\n}).describe(\"Individual scheduled task result.\");\nexport const SerphouseTrendsScheduleOutput = z.object({\n msg: z.string().describe(\"Status message describing the outcome\").nullable(),\n status: z.string().describe(\"Response status ('success' or 'error')\").nullable(),\n results: z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe(\"Array of scheduled task objects\").nullable().optional(),\n}).describe(\"Response schema for scheduled Google Trends search tasks.\");\n\nexport const serphouseTrendsSchedule = action(\"SERPHOUSE_TRENDS_SCHEDULE\", {\n slug: \"serphouse-trends-schedule\",\n name: \"Schedule Google Trends Search\",\n description: \"Tool to schedule Google Trends search tasks with configuration for keywords, time ranges, and geographic locations. Use when you need to collect Google Trends data for specific keywords, time periods, or regions. Supports batch processing of up to 100 tasks.\",\n input: SerphouseTrendsScheduleInput,\n output: SerphouseTrendsScheduleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;EACzL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;EAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F;CAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"trends-schedule.cjs","names":["z","action"],"sources":["../../src/actions/trends-schedule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsScheduleInput = z.object({\n data: z.array(z.object({\n geo: z.string().default(\"\").describe(\"Geographic location code (default empty for worldwide). Example: 'us', 'gb', 'in'\").optional(),\n time: z.string().describe(\"Time range options: 'now 1-H', 'now 4-H', 'now 1-d', 'now 7-d', 'today 1-m', 'today 3-m', 'today 12-m', 'today 5-y', or custom format '2021-01-24 2021-02-25'\"),\n category: z.number().int().default(0).describe(\"Category ID (default 0 for all categories)\").optional(),\n keywords: z.string().describe(\"Single keyword or multiple keywords separated by commas (max 5). Example: 'artificial intelligence' or 'google, youtube, yahoo'\"),\n property: z.string().default(\"\").describe(\"Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'\").optional(),\n langauge_code: z.string().default(\"en\").describe(\"Language code (default 'en')\").optional(),\n time_zone_offset: z.number().int().describe(\"Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.\"),\n}).passthrough().describe(\"Individual trend search task configuration.\")).describe(\"Array of trend search tasks to schedule (max 100 tasks in batch)\"),\n pingback_url: z.string().describe(\"Notification URL for task completion via GET request\").optional(),\n postback_url: z.string().describe(\"Webhook URL for result delivery via POST request\").optional(),\n}).describe(\"Request parameters for scheduling Google Trends search tasks.\");\nconst SerphouseTrendsSchedule_ScheduledTaskResultSchema = z.object({\n q: z.string().describe(\"Query keyword submitted\").nullable().optional(),\n id: z.number().int().describe(\"Unique task identifier\").nullable().optional(),\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n lang: z.string().describe(\"Language code\").nullable().optional(),\n time: z.string().describe(\"Time range parameter\").nullable().optional(),\n status: z.number().int().describe(\"Task processing status code\").nullable().optional(),\n category: z.number().int().describe(\"Category identifier\").nullable().optional(),\n property: z.string().describe(\"Search property type\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n is_scheduled: z.number().int().describe(\"Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)\").nullable().optional(),\n}).passthrough().describe(\"Individual scheduled task result.\");\nexport const SerphouseTrendsScheduleOutput = z.object({\n msg: z.string().describe(\"Status message describing the outcome\").nullable(),\n status: z.string().describe(\"Response status ('success' or 'error')\").nullable(),\n results: z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe(\"Array of scheduled task objects\").nullable().optional(),\n}).passthrough().describe(\"Response schema for scheduled Google Trends search tasks.\");\n\nexport const serphouseTrendsSchedule = action(\"SERPHOUSE_TRENDS_SCHEDULE\", {\n slug: \"serphouse-trends-schedule\",\n name: \"Schedule Google Trends Search\",\n description: \"Tool to schedule Google Trends search tasks with configuration for keywords, time ranges, and geographic locations. Use when you need to collect Google Trends data for specific keywords, time periods, or regions. Supports batch processing of up to 100 tasks.\",\n input: SerphouseTrendsScheduleInput,\n output: SerphouseTrendsScheduleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;EACzL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;EAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CA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qB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SerphouseTrendsScheduleInput: z.ZodObject<{
|
|
|
10
10
|
property: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
11
|
langauge_code: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
12
12
|
time_zone_offset: z.ZodNumber;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
pingback_url: z.ZodOptional<z.ZodString>;
|
|
15
15
|
postback_url: z.ZodOptional<z.ZodString>;
|
|
16
16
|
}, z.core.$strip>;
|
|
@@ -29,10 +29,11 @@ declare const SerphouseTrendsScheduleOutput: z.ZodObject<{
|
|
|
29
29
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
is_scheduled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const serphouseTrendsSchedule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
data: {
|
|
36
|
+
[x: string]: unknown;
|
|
36
37
|
time: string;
|
|
37
38
|
keywords: string;
|
|
38
39
|
time_zone_offset: number;
|
|
@@ -10,7 +10,7 @@ declare const SerphouseTrendsScheduleInput: z.ZodObject<{
|
|
|
10
10
|
property: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
11
|
langauge_code: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
12
12
|
time_zone_offset: z.ZodNumber;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
pingback_url: z.ZodOptional<z.ZodString>;
|
|
15
15
|
postback_url: z.ZodOptional<z.ZodString>;
|
|
16
16
|
}, z.core.$strip>;
|
|
@@ -29,10 +29,11 @@ declare const SerphouseTrendsScheduleOutput: z.ZodObject<{
|
|
|
29
29
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
is_scheduled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const serphouseTrendsSchedule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
data: {
|
|
36
|
+
[x: string]: unknown;
|
|
36
37
|
time: string;
|
|
37
38
|
keywords: string;
|
|
38
39
|
time_zone_offset: number;
|
|
@@ -10,7 +10,7 @@ const SerphouseTrendsScheduleInput = z.object({
|
|
|
10
10
|
property: z.string().default("").describe("Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'").optional(),
|
|
11
11
|
langauge_code: z.string().default("en").describe("Language code (default 'en')").optional(),
|
|
12
12
|
time_zone_offset: z.number().int().describe("Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.")
|
|
13
|
-
}).describe("Individual trend search task configuration.")).describe("Array of trend search tasks to schedule (max 100 tasks in batch)"),
|
|
13
|
+
}).passthrough().describe("Individual trend search task configuration.")).describe("Array of trend search tasks to schedule (max 100 tasks in batch)"),
|
|
14
14
|
pingback_url: z.string().describe("Notification URL for task completion via GET request").optional(),
|
|
15
15
|
postback_url: z.string().describe("Webhook URL for result delivery via POST request").optional()
|
|
16
16
|
}).describe("Request parameters for scheduling Google Trends search tasks.");
|
|
@@ -26,7 +26,7 @@ const SerphouseTrendsSchedule_ScheduledTaskResultSchema = z.object({
|
|
|
26
26
|
created_at: z.string().describe("Task creation timestamp").nullable().optional(),
|
|
27
27
|
updated_at: z.string().describe("Last modification timestamp").nullable().optional(),
|
|
28
28
|
is_scheduled: z.number().int().describe("Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)").nullable().optional()
|
|
29
|
-
}).describe("Individual scheduled task result.");
|
|
29
|
+
}).passthrough().describe("Individual scheduled task result.");
|
|
30
30
|
const serphouseTrendsSchedule = action("SERPHOUSE_TRENDS_SCHEDULE", {
|
|
31
31
|
slug: "serphouse-trends-schedule",
|
|
32
32
|
name: "Schedule Google Trends Search",
|
|
@@ -36,7 +36,7 @@ const serphouseTrendsSchedule = action("SERPHOUSE_TRENDS_SCHEDULE", {
|
|
|
36
36
|
msg: z.string().describe("Status message describing the outcome").nullable(),
|
|
37
37
|
status: z.string().describe("Response status ('success' or 'error')").nullable(),
|
|
38
38
|
results: z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe("Array of scheduled task objects").nullable().optional()
|
|
39
|
-
}).describe("Response schema for scheduled Google Trends search tasks.")
|
|
39
|
+
}).passthrough().describe("Response schema for scheduled Google Trends search tasks.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { serphouseTrendsSchedule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trends-schedule.mjs","names":[],"sources":["../../src/actions/trends-schedule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsScheduleInput = z.object({\n data: z.array(z.object({\n geo: z.string().default(\"\").describe(\"Geographic location code (default empty for worldwide). Example: 'us', 'gb', 'in'\").optional(),\n time: z.string().describe(\"Time range options: 'now 1-H', 'now 4-H', 'now 1-d', 'now 7-d', 'today 1-m', 'today 3-m', 'today 12-m', 'today 5-y', or custom format '2021-01-24 2021-02-25'\"),\n category: z.number().int().default(0).describe(\"Category ID (default 0 for all categories)\").optional(),\n keywords: z.string().describe(\"Single keyword or multiple keywords separated by commas (max 5). Example: 'artificial intelligence' or 'google, youtube, yahoo'\"),\n property: z.string().default(\"\").describe(\"Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'\").optional(),\n langauge_code: z.string().default(\"en\").describe(\"Language code (default 'en')\").optional(),\n time_zone_offset: z.number().int().describe(\"Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.\"),\n}).describe(\"Individual trend search task configuration.\")).describe(\"Array of trend search tasks to schedule (max 100 tasks in batch)\"),\n pingback_url: z.string().describe(\"Notification URL for task completion via GET request\").optional(),\n postback_url: z.string().describe(\"Webhook URL for result delivery via POST request\").optional(),\n}).describe(\"Request parameters for scheduling Google Trends search tasks.\");\nconst SerphouseTrendsSchedule_ScheduledTaskResultSchema = z.object({\n q: z.string().describe(\"Query keyword submitted\").nullable().optional(),\n id: z.number().int().describe(\"Unique task identifier\").nullable().optional(),\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n lang: z.string().describe(\"Language code\").nullable().optional(),\n time: z.string().describe(\"Time range parameter\").nullable().optional(),\n status: z.number().int().describe(\"Task processing status code\").nullable().optional(),\n category: z.number().int().describe(\"Category identifier\").nullable().optional(),\n property: z.string().describe(\"Search property type\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n is_scheduled: z.number().int().describe(\"Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)\").nullable().optional(),\n}).describe(\"Individual scheduled task result.\");\nexport const SerphouseTrendsScheduleOutput = z.object({\n msg: z.string().describe(\"Status message describing the outcome\").nullable(),\n status: z.string().describe(\"Response status ('success' or 'error')\").nullable(),\n results: z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe(\"Array of scheduled task objects\").nullable().optional(),\n}).describe(\"Response schema for scheduled Google Trends search tasks.\");\n\nexport const serphouseTrendsSchedule = action(\"SERPHOUSE_TRENDS_SCHEDULE\", {\n slug: \"serphouse-trends-schedule\",\n name: \"Schedule Google Trends Search\",\n description: \"Tool to schedule Google Trends search tasks with configuration for keywords, time ranges, and geographic locations. Use when you need to collect Google Trends data for specific keywords, time periods, or regions. Supports batch processing of up to 100 tasks.\",\n input: SerphouseTrendsScheduleInput,\n output: SerphouseTrendsScheduleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;EACzL,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F;CAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"trends-schedule.mjs","names":[],"sources":["../../src/actions/trends-schedule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseTrendsScheduleInput = z.object({\n data: z.array(z.object({\n geo: z.string().default(\"\").describe(\"Geographic location code (default empty for worldwide). Example: 'us', 'gb', 'in'\").optional(),\n time: z.string().describe(\"Time range options: 'now 1-H', 'now 4-H', 'now 1-d', 'now 7-d', 'today 1-m', 'today 3-m', 'today 12-m', 'today 5-y', or custom format '2021-01-24 2021-02-25'\"),\n category: z.number().int().default(0).describe(\"Category ID (default 0 for all categories)\").optional(),\n keywords: z.string().describe(\"Single keyword or multiple keywords separated by commas (max 5). Example: 'artificial intelligence' or 'google, youtube, yahoo'\"),\n property: z.string().default(\"\").describe(\"Search type - empty string '' for web search, 'images', 'news', 'froogle' for shopping, 'youtube'\").optional(),\n langauge_code: z.string().default(\"en\").describe(\"Language code (default 'en')\").optional(),\n time_zone_offset: z.number().int().describe(\"Timezone offset value (e.g., -330 for IST, 0 for UTC). Retrieve from timezone list endpoint.\"),\n}).passthrough().describe(\"Individual trend search task configuration.\")).describe(\"Array of trend search tasks to schedule (max 100 tasks in batch)\"),\n pingback_url: z.string().describe(\"Notification URL for task completion via GET request\").optional(),\n postback_url: z.string().describe(\"Webhook URL for result delivery via POST request\").optional(),\n}).describe(\"Request parameters for scheduling Google Trends search tasks.\");\nconst SerphouseTrendsSchedule_ScheduledTaskResultSchema = z.object({\n q: z.string().describe(\"Query keyword submitted\").nullable().optional(),\n id: z.number().int().describe(\"Unique task identifier\").nullable().optional(),\n geo: z.string().describe(\"Geographic location\").nullable().optional(),\n lang: z.string().describe(\"Language code\").nullable().optional(),\n time: z.string().describe(\"Time range parameter\").nullable().optional(),\n status: z.number().int().describe(\"Task processing status code\").nullable().optional(),\n category: z.number().int().describe(\"Category identifier\").nullable().optional(),\n property: z.string().describe(\"Search property type\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n is_scheduled: z.number().int().describe(\"Scheduling confirmation flag (1 for scheduled, 0 for not scheduled)\").nullable().optional(),\n}).passthrough().describe(\"Individual scheduled task result.\");\nexport const SerphouseTrendsScheduleOutput = z.object({\n msg: z.string().describe(\"Status message describing the outcome\").nullable(),\n status: z.string().describe(\"Response status ('success' or 'error')\").nullable(),\n results: z.array(SerphouseTrendsSchedule_ScheduledTaskResultSchema).describe(\"Array of scheduled task objects\").nullable().optional(),\n}).passthrough().describe(\"Response schema for scheduled Google Trends search tasks.\");\n\nexport const serphouseTrendsSchedule = action(\"SERPHOUSE_TRENDS_SCHEDULE\", {\n slug: \"serphouse-trends-schedule\",\n name: \"Schedule Google Trends Search\",\n description: \"Tool to schedule Google Trends search tasks with configuration for keywords, time ranges, and geographic locations. Use when you need to collect Google Trends data for specific keywords, time periods, or regions. Supports batch processing of up to 100 tasks.\",\n input: SerphouseTrendsScheduleInput,\n output: SerphouseTrendsScheduleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,MAAM,EA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z.record(zod.z.string(), zod.z.unknown()).describe("Geographic distribution data by keyword.").nullable().optional(),
|
|
15
15
|
TIMESERIES: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Time-indexed trend data showing popularity over time.").nullable().optional(),
|
|
16
16
|
RELATED_QUERIES: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Top and rising related queries by keyword.").nullable().optional()
|
|
17
|
-
}).describe("Trend data results.");
|
|
17
|
+
}).passthrough().describe("Trend data results.");
|
|
18
18
|
const SerphouseTrendsSearch_SearchMetadataSchema = zod.z.object({
|
|
19
19
|
id: zod.z.number().describe("Unique search identifier.").nullable().optional(),
|
|
20
20
|
status: zod.z.string().describe("Search status.").nullable().optional(),
|
|
21
21
|
created_at: zod.z.string().describe("ISO timestamp of when search was created.").nullable().optional(),
|
|
22
22
|
processed_at: zod.z.string().describe("Timestamp of when search was processed.").nullable().optional()
|
|
23
|
-
}).describe("Metadata about the search request.");
|
|
23
|
+
}).passthrough().describe("Metadata about the search request.");
|
|
24
24
|
const SerphouseTrendsSearch_SearchParametersSchema = zod.z.object({
|
|
25
25
|
geo: zod.z.string().describe("Geographic location.").nullable().optional(),
|
|
26
26
|
time: zod.z.string().describe("Time range specification.").nullable().optional(),
|
|
@@ -29,14 +29,14 @@ const SerphouseTrendsSearch_SearchParametersSchema = zod.z.object({
|
|
|
29
29
|
property: zod.z.string().describe("Search property type.").nullable().optional(),
|
|
30
30
|
langauge_code: zod.z.string().describe("Language code.").nullable().optional(),
|
|
31
31
|
time_zone_offset: zod.z.number().int().describe("Timezone offset value.").nullable().optional()
|
|
32
|
-
}).describe("Echo of submitted parameters.");
|
|
32
|
+
}).passthrough().describe("Echo of submitted parameters.");
|
|
33
33
|
const SerphouseTrendsSearchOutput = zod.z.object({
|
|
34
34
|
msg: zod.z.string().describe("Response message, value: 'Completed'.").nullable().optional(),
|
|
35
35
|
status: zod.z.string().describe("Response status, value: 'success'.").nullable().optional(),
|
|
36
36
|
results: SerphouseTrendsSearch_ResultsSchema.nullable().optional(),
|
|
37
37
|
search_metadata: SerphouseTrendsSearch_SearchMetadataSchema.nullable().optional(),
|
|
38
38
|
search_parameters: SerphouseTrendsSearch_SearchParametersSchema.nullable().optional()
|
|
39
|
-
}).describe("Response model for Google Trends search results.");
|
|
39
|
+
}).passthrough().describe("Response model for Google Trends search results.");
|
|
40
40
|
const serphouseTrendsSearch = require_action.action("SERPHOUSE_TRENDS_SEARCH", {
|
|
41
41
|
slug: "serphouse-trends-search",
|
|
42
42
|
name: "Perform Google Trends Search",
|