@keystrokehq/serphouse 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/account-info.cjs +11 -11
- package/dist/actions/account-info.cjs.map +1 -1
- package/dist/actions/account-info.d.cts +19 -3
- package/dist/actions/account-info.d.cts.map +1 -1
- package/dist/actions/account-info.d.mts +19 -3
- package/dist/actions/account-info.d.mts.map +1 -1
- package/dist/actions/account-info.mjs +11 -11
- package/dist/actions/account-info.mjs.map +1 -1
- package/dist/actions/domain-list.cjs +2 -2
- package/dist/actions/domain-list.cjs.map +1 -1
- package/dist/actions/domain-list.d.cts +7 -3
- package/dist/actions/domain-list.d.cts.map +1 -1
- package/dist/actions/domain-list.d.mts +7 -3
- package/dist/actions/domain-list.d.mts.map +1 -1
- package/dist/actions/domain-list.mjs +2 -2
- package/dist/actions/domain-list.mjs.map +1 -1
- package/dist/actions/google-jobs-search.cjs.map +1 -1
- package/dist/actions/google-jobs-search.d.cts +34 -3
- package/dist/actions/google-jobs-search.d.cts.map +1 -1
- package/dist/actions/google-jobs-search.d.mts +34 -3
- package/dist/actions/google-jobs-search.d.mts.map +1 -1
- package/dist/actions/google-jobs-search.mjs.map +1 -1
- package/dist/actions/google-serp-advanced-scheduled.cjs.map +1 -1
- package/dist/actions/google-serp-advanced-scheduled.d.cts +44 -3
- package/dist/actions/google-serp-advanced-scheduled.d.cts.map +1 -1
- package/dist/actions/google-serp-advanced-scheduled.d.mts +44 -3
- package/dist/actions/google-serp-advanced-scheduled.d.mts.map +1 -1
- 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 +15 -3
- package/dist/actions/language-list.d.cts.map +1 -1
- package/dist/actions/language-list.d.mts +15 -3
- package/dist/actions/language-list.d.mts.map +1 -1
- package/dist/actions/language-list.mjs +2 -2
- package/dist/actions/language-list.mjs.map +1 -1
- package/dist/actions/location-search.cjs +7 -7
- package/dist/actions/location-search.cjs.map +1 -1
- package/dist/actions/location-search.d.cts +22 -3
- package/dist/actions/location-search.d.cts.map +1 -1
- package/dist/actions/location-search.d.mts +22 -3
- package/dist/actions/location-search.d.mts.map +1 -1
- package/dist/actions/location-search.mjs +7 -7
- package/dist/actions/location-search.mjs.map +1 -1
- package/dist/actions/serp-check.cjs +3 -3
- package/dist/actions/serp-check.cjs.map +1 -1
- package/dist/actions/serp-check.d.cts +12 -3
- package/dist/actions/serp-check.d.cts.map +1 -1
- package/dist/actions/serp-check.d.mts +12 -3
- package/dist/actions/serp-check.d.mts.map +1 -1
- package/dist/actions/serp-check.mjs +3 -3
- package/dist/actions/serp-check.mjs.map +1 -1
- package/dist/actions/serp-live-get.cjs +2 -2
- package/dist/actions/serp-live-get.cjs.map +1 -1
- package/dist/actions/serp-live-get.d.cts +156 -3
- package/dist/actions/serp-live-get.d.cts.map +1 -1
- package/dist/actions/serp-live-get.d.mts +156 -3
- package/dist/actions/serp-live-get.d.mts.map +1 -1
- package/dist/actions/serp-live-get.mjs +2 -2
- package/dist/actions/serp-live-get.mjs.map +1 -1
- package/dist/actions/serp-live-post.cjs.map +1 -1
- package/dist/actions/serp-live-post.d.cts +146 -3
- package/dist/actions/serp-live-post.d.cts.map +1 -1
- package/dist/actions/serp-live-post.d.mts +146 -3
- package/dist/actions/serp-live-post.d.mts.map +1 -1
- package/dist/actions/serp-live-post.mjs.map +1 -1
- package/dist/actions/serp-schedule.cjs +2 -2
- package/dist/actions/serp-schedule.cjs.map +1 -1
- package/dist/actions/serp-schedule.d.cts +46 -3
- package/dist/actions/serp-schedule.d.cts.map +1 -1
- package/dist/actions/serp-schedule.d.mts +46 -3
- package/dist/actions/serp-schedule.d.mts.map +1 -1
- package/dist/actions/serp-schedule.mjs +2 -2
- package/dist/actions/serp-schedule.mjs.map +1 -1
- package/dist/actions/trends-categories-list.cjs +2 -2
- package/dist/actions/trends-categories-list.cjs.map +1 -1
- package/dist/actions/trends-categories-list.d.cts +7 -3
- package/dist/actions/trends-categories-list.d.cts.map +1 -1
- package/dist/actions/trends-categories-list.d.mts +7 -3
- package/dist/actions/trends-categories-list.d.mts.map +1 -1
- package/dist/actions/trends-categories-list.mjs +2 -2
- package/dist/actions/trends-categories-list.mjs.map +1 -1
- package/dist/actions/trends-check.cjs +3 -3
- package/dist/actions/trends-check.cjs.map +1 -1
- package/dist/actions/trends-check.d.cts +14 -3
- package/dist/actions/trends-check.d.cts.map +1 -1
- package/dist/actions/trends-check.d.mts +14 -3
- package/dist/actions/trends-check.d.mts.map +1 -1
- package/dist/actions/trends-check.mjs +3 -3
- package/dist/actions/trends-check.mjs.map +1 -1
- package/dist/actions/trends-country-list.cjs +2 -2
- package/dist/actions/trends-country-list.cjs.map +1 -1
- package/dist/actions/trends-country-list.d.cts +7 -3
- package/dist/actions/trends-country-list.d.cts.map +1 -1
- package/dist/actions/trends-country-list.d.mts +7 -3
- package/dist/actions/trends-country-list.d.mts.map +1 -1
- package/dist/actions/trends-country-list.mjs +2 -2
- 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 +41 -3
- package/dist/actions/trends-get.d.cts.map +1 -1
- package/dist/actions/trends-get.d.mts +41 -3
- package/dist/actions/trends-get.d.mts.map +1 -1
- 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 +7 -3
- package/dist/actions/trends-language-list.d.cts.map +1 -1
- package/dist/actions/trends-language-list.d.mts +7 -3
- package/dist/actions/trends-language-list.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/trends-schedule.cjs.map +1 -1
- package/dist/actions/trends-schedule.d.cts +43 -3
- package/dist/actions/trends-schedule.d.cts.map +1 -1
- package/dist/actions/trends-schedule.d.mts +43 -3
- package/dist/actions/trends-schedule.d.mts.map +1 -1
- package/dist/actions/trends-schedule.mjs +2 -2
- package/dist/actions/trends-schedule.mjs.map +1 -1
- package/dist/actions/trends-search.cjs.map +1 -1
- package/dist/actions/trends-search.d.cts +42 -3
- package/dist/actions/trends-search.d.cts.map +1 -1
- package/dist/actions/trends-search.d.mts +42 -3
- package/dist/actions/trends-search.d.mts.map +1 -1
- package/dist/actions/trends-search.mjs.map +1 -1
- package/dist/actions/trends-timezone-list.cjs +4 -4
- package/dist/actions/trends-timezone-list.cjs.map +1 -1
- package/dist/actions/trends-timezone-list.d.cts +10 -3
- package/dist/actions/trends-timezone-list.d.cts.map +1 -1
- package/dist/actions/trends-timezone-list.d.mts +10 -3
- package/dist/actions/trends-timezone-list.d.mts.map +1 -1
- package/dist/actions/trends-timezone-list.mjs +4 -4
- package/dist/actions/trends-timezone-list.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/google-serp-advanced-scheduled.d.ts
|
|
4
|
-
declare const SerphouseGoogleSerpAdvancedScheduledInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseGoogleSerpAdvancedScheduledInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodArray<z.ZodObject<{
|
|
6
|
+
q: z.ZodString;
|
|
7
|
+
loc: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lang: z.ZodString;
|
|
9
|
+
device: z.ZodString;
|
|
10
|
+
domain: z.ZodString;
|
|
11
|
+
loc_id: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
gfilter: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
verbatim: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
max_pages: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
date_range: z.ZodOptional<z.ZodString>;
|
|
16
|
+
pingback_url: z.ZodOptional<z.ZodString>;
|
|
17
|
+
postback_url: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const SerphouseGoogleSerpAdvancedScheduledOutput: z.ZodObject<{
|
|
21
|
+
tasks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
|
+
q: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
max_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
num_result: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
is_scheduled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
}, z.core.$strip>>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const serphouseGoogleSerpAdvancedScheduled: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
|
+
data: {
|
|
34
|
+
q: string;
|
|
35
|
+
lang: string;
|
|
36
|
+
device: string;
|
|
37
|
+
domain: string;
|
|
38
|
+
loc?: string | undefined;
|
|
39
|
+
loc_id?: number | undefined;
|
|
40
|
+
gfilter?: number | undefined;
|
|
41
|
+
verbatim?: number | undefined;
|
|
42
|
+
max_pages?: number | undefined;
|
|
43
|
+
date_range?: string | undefined;
|
|
44
|
+
pingback_url?: string | undefined;
|
|
45
|
+
postback_url?: string | undefined;
|
|
46
|
+
}[];
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { serphouseGoogleSerpAdvancedScheduled };
|
|
9
50
|
//# sourceMappingURL=google-serp-advanced-scheduled.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-serp-advanced-scheduled.d.mts","names":[],"sources":["../../src/actions/google-serp-advanced-scheduled.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"google-serp-advanced-scheduled.d.mts","names":[],"sources":["../../src/actions/google-serp-advanced-scheduled.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA0BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-serp-advanced-scheduled.mjs","names":[],"sources":["../../src/actions/google-serp-advanced-scheduled.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseGoogleSerpAdvancedScheduledInput
|
|
1
|
+
{"version":3,"file":"google-serp-advanced-scheduled.mjs","names":[],"sources":["../../src/actions/google-serp-advanced-scheduled.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseGoogleSerpAdvancedScheduledInput = z.object({\n data: z.array(z.object({\n q: z.string().describe(\"Search query term to execute.\"),\n loc: z.string().describe(\"Location name for geo-targeted results (e.g., 'New York,New York,United States'). Required if loc_id is not specified.\").optional(),\n lang: z.string().describe(\"Language code for search results (e.g., 'en', 'fr', 'es').\"),\n device: z.string().describe(\"Device type for search simulation: 'desktop', 'tablet', or 'mobile'.\"),\n domain: z.string().describe(\"Search engine domain (e.g., 'google.com', 'google.co.uk').\"),\n loc_id: z.number().int().describe(\"Location ID for geo-targeted results. Required if loc is not specified.\").optional(),\n gfilter: z.number().int().describe(\"Filter toggle for similar/omitted results: 0 to disable, 1 to enable (default is 1).\").optional(),\n verbatim: z.number().int().describe(\"Verbatim search mode: 0 for off, 1 for on. When on, disables Google's query alterations.\").optional(),\n max_pages: z.number().int().describe(\"Number of result pages to retrieve (1-10, default is 10). Credits are reserved upfront (1 page = 1 credit).\").optional(),\n date_range: z.string().describe(\"Date filter for search results. Use shortcuts ('h'=hour, 'd'=day, 'w'=week, 'm'=month, 'y'=year) or date range format 'YYYY-MM-DD,YYYY-MM-DD'.\").optional(),\n pingback_url: z.string().describe(\"Notification URL to ping when task completes.\").optional(),\n postback_url: z.string().describe(\"Webhook URL to receive completed task results via POST request.\").optional(),\n}).describe(\"Individual search task configuration for scheduling.\")).describe(\"List of search tasks to schedule. Each task will retrieve up to 100 results across multiple pages.\"),\n}).describe(\"Request model for scheduling Google SERP scraping tasks.\");\nconst SerphouseGoogleSerpAdvancedScheduled_ScheduledTaskResponseSchema = z.object({\n q: z.string().describe(\"Search query that was submitted.\").nullable().optional(),\n id: z.number().int().describe(\"Unique task identifier assigned by the system.\").nullable().optional(),\n domain: z.string().describe(\"Search engine domain used for the task.\").nullable().optional(),\n status: z.string().describe(\"Operation status: 'success' if scheduled successfully, 'error' if failed.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Number of pages requested for this task.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the task was created.\").nullable().optional(),\n num_result: z.number().int().describe(\"Expected number of results to be retrieved.\").nullable().optional(),\n is_scheduled: z.number().int().describe(\"Scheduling confirmation: 1 indicates task was successfully scheduled, 0 otherwise.\").nullable().optional(),\n}).describe(\"Response details for a single scheduled task.\");\nexport const SerphouseGoogleSerpAdvancedScheduledOutput = z.object({\n tasks: z.array(SerphouseGoogleSerpAdvancedScheduled_ScheduledTaskResponseSchema).describe(\"List of scheduled task responses, one per submitted search task.\").nullable().optional(),\n}).describe(\"Response model for scheduled Google SERP scraping tasks.\");\n\nexport const serphouseGoogleSerpAdvancedScheduled = action(\"SERPHOUSE_GOOGLE_SERP_ADVANCED_SCHEDULED\", {\n slug: \"serphouse-google-serp-advanced-scheduled\",\n name: \"Schedule Google SERP Advanced Search\",\n description: \"Tool to schedule Google SERP scraping tasks that fetch up to 100 results by iterating through multiple result pages. Use when you need comprehensive search results beyond Google's 10-result limit. Credits are reserved upfront based on max_pages (1 page = 1 credit), with automatic refunds for unused pages.\",\n input: SerphouseGoogleSerpAdvancedScheduledInput,\n output: SerphouseGoogleSerpAdvancedScheduledOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,EAAE,OAAO;CACvB,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC5J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAC3L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,CAAC,SAAS,oGAAoG,EAClL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,mEAAmE,EAAE,OAAO;CAChF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,OAAO,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpL,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SerphouseLanguageListInput = zod.z.object({ type: zod.z.enum([
|
|
|
7
7
|
"yahoo"
|
|
8
8
|
]).describe("Specifies the search engine source. Valid values are 'google', 'bing', or 'yahoo'") }).describe("Request model for retrieving language list for a search engine.");
|
|
9
9
|
const SerphouseLanguageListOutput = zod.z.object({
|
|
10
|
-
msg: zod.z.string().describe("Status message, typically empty for successful responses"),
|
|
11
|
-
status: zod.z.string().describe("API response status ('success' or 'error')"),
|
|
10
|
+
msg: zod.z.string().describe("Status message, typically empty for successful responses").nullable(),
|
|
11
|
+
status: zod.z.string().describe("API response status ('success' or 'error')").nullable(),
|
|
12
12
|
results: zod.z.object({}).describe("Key-value pairs mapping language codes to their full names (e.g., 'en': 'English', 'zh_CN': 'Chinese (simplified)')")
|
|
13
13
|
}).describe("Response model for language list containing status and language mappings.");
|
|
14
14
|
const serphouseLanguageList = require_action.action("SERPHOUSE_LANGUAGE_LIST", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-list.cjs","names":["z","action"],"sources":["../../src/actions/language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLanguageListInput
|
|
1
|
+
{"version":3,"file":"language-list.cjs","names":["z","action"],"sources":["../../src/actions/language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLanguageListInput = z.object({\n type: z.enum([\"google\", \"bing\", \"yahoo\"]).describe(\"Specifies the search engine source. Valid values are 'google', 'bing', or 'yahoo'\"),\n}).describe(\"Request model for retrieving language list for a search engine.\");\nexport const SerphouseLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message, typically empty for successful responses\").nullable(),\n status: z.string().describe(\"API response status ('success' or 'error')\").nullable(),\n results: z.object({}).describe(\"Key-value pairs mapping language codes to their full names (e.g., 'en': 'English', 'zh_CN': 'Chinese (simplified)')\"),\n}).describe(\"Response model for language list containing status and language mappings.\");\n\nexport const serphouseLanguageList = action(\"SERPHOUSE_LANGUAGE_LIST\", {\n slug: \"serphouse-language-list\",\n name: \"Get Language List\",\n description: \"Tool to retrieve full list of languages supported by Google, Bing, and Yahoo for SERP requests. Use when you need language codes for making SERP API requests or when configuring language-specific searches.\",\n input: SerphouseLanguageListInput,\n output: SerphouseLanguageListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAQ;AAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,EACxI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACtJ,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/language-list.d.ts
|
|
4
|
-
declare const SerphouseLanguageListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseLanguageListInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
google: "google";
|
|
7
|
+
bing: "bing";
|
|
8
|
+
yahoo: "yahoo";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SerphouseLanguageListOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
results: z.ZodObject<{}, z.core.$strip>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const serphouseLanguageList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
type: "google" | "bing" | "yahoo";
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { serphouseLanguageList };
|
|
9
21
|
//# sourceMappingURL=language-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-list.d.cts","names":[],"sources":["../../src/actions/language-list.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"language-list.d.cts","names":[],"sources":["../../src/actions/language-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/language-list.d.ts
|
|
4
|
-
declare const SerphouseLanguageListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseLanguageListInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
google: "google";
|
|
7
|
+
bing: "bing";
|
|
8
|
+
yahoo: "yahoo";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SerphouseLanguageListOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
results: z.ZodObject<{}, z.core.$strip>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const serphouseLanguageList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
type: "google" | "bing" | "yahoo";
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { serphouseLanguageList };
|
|
9
21
|
//# sourceMappingURL=language-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-list.d.mts","names":[],"sources":["../../src/actions/language-list.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"language-list.d.mts","names":[],"sources":["../../src/actions/language-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -10,8 +10,8 @@ const serphouseLanguageList = action("SERPHOUSE_LANGUAGE_LIST", {
|
|
|
10
10
|
"yahoo"
|
|
11
11
|
]).describe("Specifies the search engine source. Valid values are 'google', 'bing', or 'yahoo'") }).describe("Request model for retrieving language list for a search engine."),
|
|
12
12
|
output: z.object({
|
|
13
|
-
msg: z.string().describe("Status message, typically empty for successful responses"),
|
|
14
|
-
status: z.string().describe("API response status ('success' or 'error')"),
|
|
13
|
+
msg: z.string().describe("Status message, typically empty for successful responses").nullable(),
|
|
14
|
+
status: z.string().describe("API response status ('success' or 'error')").nullable(),
|
|
15
15
|
results: z.object({}).describe("Key-value pairs mapping language codes to their full names (e.g., 'en': 'English', 'zh_CN': 'Chinese (simplified)')")
|
|
16
16
|
}).describe("Response model for language list containing status and language mappings.")
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-list.mjs","names":[],"sources":["../../src/actions/language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLanguageListInput
|
|
1
|
+
{"version":3,"file":"language-list.mjs","names":[],"sources":["../../src/actions/language-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLanguageListInput = z.object({\n type: z.enum([\"google\", \"bing\", \"yahoo\"]).describe(\"Specifies the search engine source. Valid values are 'google', 'bing', or 'yahoo'\"),\n}).describe(\"Request model for retrieving language list for a search engine.\");\nexport const SerphouseLanguageListOutput = z.object({\n msg: z.string().describe(\"Status message, typically empty for successful responses\").nullable(),\n status: z.string().describe(\"API response status ('success' or 'error')\").nullable(),\n results: z.object({}).describe(\"Key-value pairs mapping language codes to their full names (e.g., 'en': 'English', 'zh_CN': 'Chinese (simplified)')\"),\n}).describe(\"Response model for language list containing status and language mappings.\");\n\nexport const serphouseLanguageList = action(\"SERPHOUSE_LANGUAGE_LIST\", {\n slug: \"serphouse-language-list\",\n name: \"Get Language List\",\n description: \"Tool to retrieve full list of languages supported by Google, Bing, and Yahoo for SERP requests. Use when you need language codes for making SERP API requests or when configuring language-specific searches.\",\n input: SerphouseLanguageListInput,\n output: SerphouseLanguageListOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,EACxI,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXyC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;CACtJ,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
|
|
@@ -6,15 +6,15 @@ const SerphouseLocationSearchInput = zod.z.object({
|
|
|
6
6
|
type: zod.z.enum(["google", "bing"]).describe("Specifies the location provider. Must be either 'google' or 'bing'. Different providers have different location lists.")
|
|
7
7
|
}).describe("Request model for searching available locations for SERP API geographical targeting.");
|
|
8
8
|
const SerphouseLocationSearch_LocationResultSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique location identifier."),
|
|
10
|
-
loc: zod.z.string().describe("Full location path with comma-separated hierarchy."),
|
|
11
|
-
name: zod.z.string().describe("Location name."),
|
|
12
|
-
type: zod.z.string().describe("Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.)."),
|
|
13
|
-
country_code: zod.z.string().describe("ISO country code.")
|
|
9
|
+
id: zod.z.number().int().describe("Unique location identifier.").nullable(),
|
|
10
|
+
loc: zod.z.string().describe("Full location path with comma-separated hierarchy.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Location name.").nullable(),
|
|
12
|
+
type: zod.z.string().describe("Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.).").nullable(),
|
|
13
|
+
country_code: zod.z.string().describe("ISO country code.").nullable()
|
|
14
14
|
}).describe("Model for individual location result.");
|
|
15
15
|
const SerphouseLocationSearchOutput = zod.z.object({
|
|
16
|
-
msg: zod.z.string().describe("Response message, returns 'ok' on successful request."),
|
|
17
|
-
status: zod.z.string().describe("Response status, returns 'success' on successful request."),
|
|
16
|
+
msg: zod.z.string().describe("Response message, returns 'ok' on successful request.").nullable(),
|
|
17
|
+
status: zod.z.string().describe("Response status, returns 'success' on successful request.").nullable(),
|
|
18
18
|
results: zod.z.array(SerphouseLocationSearch_LocationResultSchema).describe("Array of location objects matching the search query.")
|
|
19
19
|
}).describe("Response model for location search results.");
|
|
20
20
|
const serphouseLocationSearch = require_action.action("SERPHOUSE_LOCATION_SEARCH", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-search.cjs","names":["z","action"],"sources":["../../src/actions/location-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLocationSearchInput
|
|
1
|
+
{"version":3,"file":"location-search.cjs","names":["z","action"],"sources":["../../src/actions/location-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLocationSearchInput = z.object({\n q: z.string().describe(\"Search term to filter the location database. This is the location name or keyword you want to search for.\"),\n type: z.enum([\"google\", \"bing\"]).describe(\"Specifies the location provider. Must be either 'google' or 'bing'. Different providers have different location lists.\"),\n}).describe(\"Request model for searching available locations for SERP API geographical targeting.\");\nconst SerphouseLocationSearch_LocationResultSchema = z.object({\n id: z.number().int().describe(\"Unique location identifier.\").nullable(),\n loc: z.string().describe(\"Full location path with comma-separated hierarchy.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n type: z.string().describe(\"Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.).\").nullable(),\n country_code: z.string().describe(\"ISO country code.\").nullable(),\n}).describe(\"Model for individual location result.\");\nexport const SerphouseLocationSearchOutput = z.object({\n msg: z.string().describe(\"Response message, returns 'ok' on successful request.\").nullable(),\n status: z.string().describe(\"Response status, returns 'success' on successful request.\").nullable(),\n results: z.array(SerphouseLocationSearch_LocationResultSchema).describe(\"Array of location objects matching the search query.\"),\n}).describe(\"Response model for location search results.\");\n\nexport const serphouseLocationSearch = action(\"SERPHOUSE_LOCATION_SEARCH\", {\n slug: \"serphouse-location-search\",\n name: \"Search Locations\",\n description: \"Tool to search and retrieve available locations for SERP API from Google or Bing geographical targeting data. Use when you need to find valid location targets before making SERP API requests.\",\n input: SerphouseLocationSearchInput,\n output: SerphouseLocationSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAClI,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACpK,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,sDAAsD;AAChI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/location-search.d.ts
|
|
4
|
-
declare const SerphouseLocationSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseLocationSearchInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
google: "google";
|
|
8
|
+
bing: "bing";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SerphouseLocationSearchOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
results: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
loc: z.ZodNullable<z.ZodString>;
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const serphouseLocationSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
q: string;
|
|
24
|
+
type: "google" | "bing";
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { serphouseLocationSearch };
|
|
9
28
|
//# sourceMappingURL=location-search.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-search.d.cts","names":[],"sources":["../../src/actions/location-search.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"location-search.d.cts","names":[],"sources":["../../src/actions/location-search.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/location-search.d.ts
|
|
4
|
-
declare const SerphouseLocationSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseLocationSearchInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
google: "google";
|
|
8
|
+
bing: "bing";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SerphouseLocationSearchOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
results: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
loc: z.ZodNullable<z.ZodString>;
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const serphouseLocationSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
q: string;
|
|
24
|
+
type: "google" | "bing";
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { serphouseLocationSearch };
|
|
9
28
|
//# sourceMappingURL=location-search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-search.d.mts","names":[],"sources":["../../src/actions/location-search.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"location-search.d.mts","names":[],"sources":["../../src/actions/location-search.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -6,11 +6,11 @@ const SerphouseLocationSearchInput = z.object({
|
|
|
6
6
|
type: z.enum(["google", "bing"]).describe("Specifies the location provider. Must be either 'google' or 'bing'. Different providers have different location lists.")
|
|
7
7
|
}).describe("Request model for searching available locations for SERP API geographical targeting.");
|
|
8
8
|
const SerphouseLocationSearch_LocationResultSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique location identifier."),
|
|
10
|
-
loc: z.string().describe("Full location path with comma-separated hierarchy."),
|
|
11
|
-
name: z.string().describe("Location name."),
|
|
12
|
-
type: z.string().describe("Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.)."),
|
|
13
|
-
country_code: z.string().describe("ISO country code.")
|
|
9
|
+
id: z.number().int().describe("Unique location identifier.").nullable(),
|
|
10
|
+
loc: z.string().describe("Full location path with comma-separated hierarchy.").nullable(),
|
|
11
|
+
name: z.string().describe("Location name.").nullable(),
|
|
12
|
+
type: z.string().describe("Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.).").nullable(),
|
|
13
|
+
country_code: z.string().describe("ISO country code.").nullable()
|
|
14
14
|
}).describe("Model for individual location result.");
|
|
15
15
|
const serphouseLocationSearch = action("SERPHOUSE_LOCATION_SEARCH", {
|
|
16
16
|
slug: "serphouse-location-search",
|
|
@@ -18,8 +18,8 @@ const serphouseLocationSearch = action("SERPHOUSE_LOCATION_SEARCH", {
|
|
|
18
18
|
description: "Tool to search and retrieve available locations for SERP API from Google or Bing geographical targeting data. Use when you need to find valid location targets before making SERP API requests.",
|
|
19
19
|
input: SerphouseLocationSearchInput,
|
|
20
20
|
output: z.object({
|
|
21
|
-
msg: z.string().describe("Response message, returns 'ok' on successful request."),
|
|
22
|
-
status: z.string().describe("Response status, returns 'success' on successful request."),
|
|
21
|
+
msg: z.string().describe("Response message, returns 'ok' on successful request.").nullable(),
|
|
22
|
+
status: z.string().describe("Response status, returns 'success' on successful request.").nullable(),
|
|
23
23
|
results: z.array(SerphouseLocationSearch_LocationResultSchema).describe("Array of location objects matching the search query.")
|
|
24
24
|
}).describe("Response model for location search results.")
|
|
25
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-search.mjs","names":[],"sources":["../../src/actions/location-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLocationSearchInput
|
|
1
|
+
{"version":3,"file":"location-search.mjs","names":[],"sources":["../../src/actions/location-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseLocationSearchInput = z.object({\n q: z.string().describe(\"Search term to filter the location database. This is the location name or keyword you want to search for.\"),\n type: z.enum([\"google\", \"bing\"]).describe(\"Specifies the location provider. Must be either 'google' or 'bing'. Different providers have different location lists.\"),\n}).describe(\"Request model for searching available locations for SERP API geographical targeting.\");\nconst SerphouseLocationSearch_LocationResultSchema = z.object({\n id: z.number().int().describe(\"Unique location identifier.\").nullable(),\n loc: z.string().describe(\"Full location path with comma-separated hierarchy.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n type: z.string().describe(\"Location type (e.g., City, State, Country, Province, Municipality, Region, Territory, Postal Code, etc.).\").nullable(),\n country_code: z.string().describe(\"ISO country code.\").nullable(),\n}).describe(\"Model for individual location result.\");\nexport const SerphouseLocationSearchOutput = z.object({\n msg: z.string().describe(\"Response message, returns 'ok' on successful request.\").nullable(),\n status: z.string().describe(\"Response status, returns 'success' on successful request.\").nullable(),\n results: z.array(SerphouseLocationSearch_LocationResultSchema).describe(\"Array of location objects matching the search query.\"),\n}).describe(\"Response model for location search results.\");\n\nexport const serphouseLocationSearch = action(\"SERPHOUSE_LOCATION_SEARCH\", {\n slug: \"serphouse-location-search\",\n name: \"Search Locations\",\n description: \"Tool to search and retrieve available locations for SERP API from Google or Bing geographical targeting data. Use when you need to find valid location targets before making SERP API requests.\",\n input: SerphouseLocationSearchInput,\n output: SerphouseLocationSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAClI,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACpK,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAOnD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,sDAAsD;CAChI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/serp-check.ts
|
|
4
4
|
const SerphouseSerpCheckInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the SERP task to check status for. This ID is returned when the task was initially created.") }).describe("Request model for checking SERP task status.");
|
|
5
5
|
const SerphouseSerpCheckOutput = zod.z.object({
|
|
6
|
-
msg: zod.z.string().describe("Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'."),
|
|
6
|
+
msg: zod.z.string().describe("Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'.").nullable(),
|
|
7
7
|
error: zod.z.object({}).describe("Contains validation error details with field-specific messages when status is 'error'.").nullable().optional(),
|
|
8
|
-
status: zod.z.string().describe("Operation result indicator, either 'success' or 'error'."),
|
|
9
|
-
results: zod.z.string().describe("Contains result data (empty string for status check endpoints).")
|
|
8
|
+
status: zod.z.string().describe("Operation result indicator, either 'success' or 'error'.").nullable(),
|
|
9
|
+
results: zod.z.string().describe("Contains result data (empty string for status check endpoints).").nullable()
|
|
10
10
|
}).describe("Response model for SERP task status check.");
|
|
11
11
|
const serphouseSerpCheck = require_action.action("SERPHOUSE_SERP_CHECK", {
|
|
12
12
|
slug: "serphouse-serp-check",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serp-check.cjs","names":["z","action"],"sources":["../../src/actions/serp-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseSerpCheckInput
|
|
1
|
+
{"version":3,"file":"serp-check.cjs","names":["z","action"],"sources":["../../src/actions/serp-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseSerpCheckInput = z.object({\n id: z.string().describe(\"Unique identifier of the SERP task to check status for. This ID is returned when the task was initially created.\"),\n}).describe(\"Request model for checking SERP task status.\");\nexport const SerphouseSerpCheckOutput = z.object({\n msg: z.string().describe(\"Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'.\").nullable(),\n error: z.object({}).describe(\"Contains validation error details with field-specific messages when status is 'error'.\").nullable().optional(),\n status: z.string().describe(\"Operation result indicator, either 'success' or 'error'.\").nullable(),\n results: z.string().describe(\"Contains result data (empty string for status check endpoints).\").nullable(),\n}).describe(\"Response model for SERP task status check.\");\n\nexport const serphouseSerpCheck = action(\"SERPHOUSE_SERP_CHECK\", {\n slug: \"serphouse-serp-check\",\n name: \"Check SERP Task Status\",\n description: \"Tool to check the status of a previously submitted SERP task. Use when monitoring task completion progress or verifying whether a SERP task has finished processing.\",\n input: SerphouseSerpCheckInput,\n output: SerphouseSerpCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC5I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CAC3N,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/serp-check.d.ts
|
|
4
|
-
declare const SerphouseSerpCheckInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseSerpCheckInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SerphouseSerpCheckOutput: z.ZodObject<{
|
|
8
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
9
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
10
|
+
status: z.ZodNullable<z.ZodString>;
|
|
11
|
+
results: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const serphouseSerpCheck: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { serphouseSerpCheck };
|
|
9
18
|
//# sourceMappingURL=serp-check.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serp-check.d.cts","names":[],"sources":["../../src/actions/serp-check.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"serp-check.d.cts","names":[],"sources":["../../src/actions/serp-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/serp-check.d.ts
|
|
4
|
-
declare const SerphouseSerpCheckInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SerphouseSerpCheckInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SerphouseSerpCheckOutput: z.ZodObject<{
|
|
8
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
9
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
10
|
+
status: z.ZodNullable<z.ZodString>;
|
|
11
|
+
results: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const serphouseSerpCheck: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { serphouseSerpCheck };
|
|
9
18
|
//# sourceMappingURL=serp-check.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serp-check.d.mts","names":[],"sources":["../../src/actions/serp-check.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"serp-check.d.mts","names":[],"sources":["../../src/actions/serp-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -6,10 +6,10 @@ const serphouseSerpCheck = action("SERPHOUSE_SERP_CHECK", {
|
|
|
6
6
|
description: "Tool to check the status of a previously submitted SERP task. Use when monitoring task completion progress or verifying whether a SERP task has finished processing.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Unique identifier of the SERP task to check status for. This ID is returned when the task was initially created.") }).describe("Request model for checking SERP task status."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
msg: z.string().describe("Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'."),
|
|
9
|
+
msg: z.string().describe("Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'.").nullable(),
|
|
10
10
|
error: z.object({}).describe("Contains validation error details with field-specific messages when status is 'error'.").nullable().optional(),
|
|
11
|
-
status: z.string().describe("Operation result indicator, either 'success' or 'error'."),
|
|
12
|
-
results: z.string().describe("Contains result data (empty string for status check endpoints).")
|
|
11
|
+
status: z.string().describe("Operation result indicator, either 'success' or 'error'.").nullable(),
|
|
12
|
+
results: z.string().describe("Contains result data (empty string for status check endpoints).").nullable()
|
|
13
13
|
}).describe("Response model for SERP task status check.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serp-check.mjs","names":[],"sources":["../../src/actions/serp-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseSerpCheckInput
|
|
1
|
+
{"version":3,"file":"serp-check.mjs","names":[],"sources":["../../src/actions/serp-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerphouseSerpCheckInput = z.object({\n id: z.string().describe(\"Unique identifier of the SERP task to check status for. This ID is returned when the task was initially created.\"),\n}).describe(\"Request model for checking SERP task status.\");\nexport const SerphouseSerpCheckOutput = z.object({\n msg: z.string().describe(\"Message describing the current state of the task. Possible values: 'Completed', 'Processing in a queue', 'Waiting for a process', 'Not found', 'validation_error', 'Unauthenticated'.\").nullable(),\n error: z.object({}).describe(\"Contains validation error details with field-specific messages when status is 'error'.\").nullable().optional(),\n status: z.string().describe(\"Operation result indicator, either 'success' or 'error'.\").nullable(),\n results: z.string().describe(\"Contains result data (empty string for status check endpoints).\").nullable(),\n}).describe(\"Response model for SERP task status check.\");\n\nexport const serphouseSerpCheck = action(\"SERPHOUSE_SERP_CHECK\", {\n slug: \"serphouse-serp-check\",\n name: \"Check SERP Task Status\",\n description: \"Tool to check the status of a previously submitted SERP task. Use when monitoring task completion progress or verifying whether a SERP task has finished processing.\",\n input: SerphouseSerpCheckInput,\n output: SerphouseSerpCheckOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC5I,CAAC,CAAC,CAAC,SAAS,8CAYH;CACP,QAZsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;EAC3N,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -143,8 +143,8 @@ const SerphouseSerpLiveGet_ResultsDataSchema = zod.z.object({
|
|
|
143
143
|
search_parameters: SerphouseSerpLiveGet_SearchParametersSchema.nullable().optional()
|
|
144
144
|
});
|
|
145
145
|
const SerphouseSerpLiveGetOutput = zod.z.object({
|
|
146
|
-
msg: zod.z.string().describe("Response message."),
|
|
147
|
-
status: zod.z.string().describe("Request status ('success' or 'error')."),
|
|
146
|
+
msg: zod.z.string().describe("Response message.").nullable(),
|
|
147
|
+
status: zod.z.string().describe("Request status ('success' or 'error').").nullable(),
|
|
148
148
|
results: SerphouseSerpLiveGet_ResultsDataSchema.nullable().optional()
|
|
149
149
|
}).describe("Response model for real-time SERP search results.");
|
|
150
150
|
const serphouseSerpLiveGet = require_action.action("SERPHOUSE_SERP_LIVE_GET", {
|