@keystrokehq/rocket_reach 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/check-person-status.cjs +20 -0
- package/dist/actions/check-person-status.cjs.map +1 -0
- package/dist/actions/check-person-status.d.cts +9 -0
- package/dist/actions/check-person-status.d.cts.map +1 -0
- package/dist/actions/check-person-status.d.mts +9 -0
- package/dist/actions/check-person-status.d.mts.map +1 -0
- package/dist/actions/check-person-status.mjs +19 -0
- package/dist/actions/check-person-status.mjs.map +1 -0
- package/dist/actions/get-account.cjs +16 -0
- package/dist/actions/get-account.cjs.map +1 -0
- package/dist/actions/get-account.d.cts +9 -0
- package/dist/actions/get-account.d.cts.map +1 -0
- package/dist/actions/get-account.d.mts +9 -0
- package/dist/actions/get-account.d.mts.map +1 -0
- package/dist/actions/get-account.mjs +13 -0
- package/dist/actions/get-account.mjs.map +1 -0
- package/dist/actions/get-company-funding.cjs +25 -0
- package/dist/actions/get-company-funding.cjs.map +1 -0
- package/dist/actions/get-company-funding.d.cts +9 -0
- package/dist/actions/get-company-funding.d.cts.map +1 -0
- package/dist/actions/get-company-funding.d.mts +9 -0
- package/dist/actions/get-company-funding.d.mts.map +1 -0
- package/dist/actions/get-company-funding.mjs +24 -0
- package/dist/actions/get-company-funding.mjs.map +1 -0
- package/dist/actions/get-company-growth.cjs +16 -0
- package/dist/actions/get-company-growth.cjs.map +1 -0
- package/dist/actions/get-company-growth.d.cts +9 -0
- package/dist/actions/get-company-growth.d.cts.map +1 -0
- package/dist/actions/get-company-growth.d.mts +9 -0
- package/dist/actions/get-company-growth.d.mts.map +1 -0
- package/dist/actions/get-company-growth.mjs +13 -0
- package/dist/actions/get-company-growth.mjs.map +1 -0
- package/dist/actions/get-company-industries.cjs +16 -0
- package/dist/actions/get-company-industries.cjs.map +1 -0
- package/dist/actions/get-company-industries.d.cts +9 -0
- package/dist/actions/get-company-industries.d.cts.map +1 -0
- package/dist/actions/get-company-industries.d.mts +9 -0
- package/dist/actions/get-company-industries.d.mts.map +1 -0
- package/dist/actions/get-company-industries.mjs +13 -0
- package/dist/actions/get-company-industries.mjs.map +1 -0
- package/dist/actions/get-company-size.cjs +16 -0
- package/dist/actions/get-company-size.cjs.map +1 -0
- package/dist/actions/get-company-size.d.cts +9 -0
- package/dist/actions/get-company-size.d.cts.map +1 -0
- package/dist/actions/get-company-size.d.mts +9 -0
- package/dist/actions/get-company-size.d.mts.map +1 -0
- package/dist/actions/get-company-size.mjs +13 -0
- package/dist/actions/get-company-size.mjs.map +1 -0
- package/dist/actions/get-company-tech-stack.cjs +16 -0
- package/dist/actions/get-company-tech-stack.cjs.map +1 -0
- package/dist/actions/get-company-tech-stack.d.cts +9 -0
- package/dist/actions/get-company-tech-stack.d.cts.map +1 -0
- package/dist/actions/get-company-tech-stack.d.mts +9 -0
- package/dist/actions/get-company-tech-stack.d.mts.map +1 -0
- package/dist/actions/get-company-tech-stack.mjs +13 -0
- package/dist/actions/get-company-tech-stack.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/lookup-company.cjs +16 -0
- package/dist/actions/lookup-company.cjs.map +1 -0
- package/dist/actions/lookup-company.d.cts +9 -0
- package/dist/actions/lookup-company.d.cts.map +1 -0
- package/dist/actions/lookup-company.d.mts +9 -0
- package/dist/actions/lookup-company.d.mts.map +1 -0
- package/dist/actions/lookup-company.mjs +13 -0
- package/dist/actions/lookup-company.mjs.map +1 -0
- package/dist/actions/lookup-person-and-company.cjs +69 -0
- package/dist/actions/lookup-person-and-company.cjs.map +1 -0
- package/dist/actions/lookup-person-and-company.d.cts +9 -0
- package/dist/actions/lookup-person-and-company.d.cts.map +1 -0
- package/dist/actions/lookup-person-and-company.d.mts +9 -0
- package/dist/actions/lookup-person-and-company.d.mts.map +1 -0
- package/dist/actions/lookup-person-and-company.mjs +68 -0
- package/dist/actions/lookup-person-and-company.mjs.map +1 -0
- package/dist/actions/lookup-person.cjs +16 -0
- package/dist/actions/lookup-person.cjs.map +1 -0
- package/dist/actions/lookup-person.d.cts +9 -0
- package/dist/actions/lookup-person.d.cts.map +1 -0
- package/dist/actions/lookup-person.d.mts +9 -0
- package/dist/actions/lookup-person.d.mts.map +1 -0
- package/dist/actions/lookup-person.mjs +13 -0
- package/dist/actions/lookup-person.mjs.map +1 -0
- package/dist/actions/search-companies.cjs +43 -0
- package/dist/actions/search-companies.cjs.map +1 -0
- package/dist/actions/search-companies.d.cts +9 -0
- package/dist/actions/search-companies.d.cts.map +1 -0
- package/dist/actions/search-companies.d.mts +9 -0
- package/dist/actions/search-companies.d.mts.map +1 -0
- package/dist/actions/search-companies.mjs +42 -0
- package/dist/actions/search-companies.mjs.map +1 -0
- package/dist/actions/search-people.cjs +41 -0
- package/dist/actions/search-people.cjs.map +1 -0
- package/dist/actions/search-people.d.cts +9 -0
- package/dist/actions/search-people.d.cts.map +1 -0
- package/dist/actions/search-people.d.mts +9 -0
- package/dist/actions/search-people.d.mts.map +1 -0
- package/dist/actions/search-people.mjs +40 -0
- package/dist/actions/search-people.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-company-tech-stack.d.ts
|
|
4
|
+
declare const RocketReachGetCompanyTechStackInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachGetCompanyTechStackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachGetCompanyTechStack: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachGetCompanyTechStack };
|
|
9
|
+
//# sourceMappingURL=get-company-tech-stack.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-tech-stack.d.mts","names":[],"sources":["../../src/actions/get-company-tech-stack.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAE0B;AAAA,cACjE,oCAAA,EAAsC,CAAA,CAAE,UAEiC;AAAA,cAEzE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketReachGetCompanyTechStack = action("ROCKET_REACH_GET_COMPANY_TECH_STACK", {
|
|
4
|
+
slug: "rocket_reach-get-company-tech-stack",
|
|
5
|
+
name: "Get Company Tech Stack",
|
|
6
|
+
description: "Tool to get technology stack for a company by domain. Use when you need to discover the tech a company uses after confirming its domain.",
|
|
7
|
+
input: z.object({ domain: z.string().describe("The company's web domain (e.g., 'spotify.com').") }).describe("Request parameters for retrieving a company's technology stack."),
|
|
8
|
+
output: z.object({ tech_stack: z.array(z.string()).describe("List of technologies detected for the company.") }).describe("Response model containing the list of technologies used by the company.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketReachGetCompanyTechStack };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-company-tech-stack.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-tech-stack.mjs","names":[],"sources":["../../src/actions/get-company-tech-stack.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachGetCompanyTechStackInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The company's web domain (e.g., 'spotify.com').\"),\n}).describe(\"Request parameters for retrieving a company's technology stack.\");\nexport const RocketReachGetCompanyTechStackOutput: z.ZodTypeAny = z.object({\n tech_stack: z.array(z.string()).describe(\"List of technologies detected for the company.\"),\n}).describe(\"Response model containing the list of technologies used by the company.\");\n\nexport const rocketReachGetCompanyTechStack = action(\"ROCKET_REACH_GET_COMPANY_TECH_STACK\", {\n slug: \"rocket_reach-get-company-tech-stack\",\n name: \"Get Company Tech Stack\",\n description: \"Tool to get technology stack for a company by domain. Use when you need to discover the tech a company uses after confirming its domain.\",\n input: RocketReachGetCompanyTechStackInput,\n output: RocketReachGetCompanyTechStackOutput,\n});\n"],"mappings":";;AAWA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+D,EAAE,OAAO,EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC/E,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATgE,EAAE,OAAO,EACzE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,EAC3F,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_check_person_status = require("./check-person-status.cjs");
|
|
3
|
+
const require_get_account = require("./get-account.cjs");
|
|
4
|
+
const require_get_company_funding = require("./get-company-funding.cjs");
|
|
5
|
+
const require_get_company_growth = require("./get-company-growth.cjs");
|
|
6
|
+
const require_get_company_industries = require("./get-company-industries.cjs");
|
|
7
|
+
const require_get_company_size = require("./get-company-size.cjs");
|
|
8
|
+
const require_get_company_tech_stack = require("./get-company-tech-stack.cjs");
|
|
9
|
+
const require_lookup_company = require("./lookup-company.cjs");
|
|
10
|
+
const require_lookup_person = require("./lookup-person.cjs");
|
|
11
|
+
const require_lookup_person_and_company = require("./lookup-person-and-company.cjs");
|
|
12
|
+
const require_search_companies = require("./search-companies.cjs");
|
|
13
|
+
const require_search_people = require("./search-people.cjs");
|
|
14
|
+
exports.rocketReachCheckPersonStatus = require_check_person_status.rocketReachCheckPersonStatus;
|
|
15
|
+
exports.rocketReachGetAccount = require_get_account.rocketReachGetAccount;
|
|
16
|
+
exports.rocketReachGetCompanyFunding = require_get_company_funding.rocketReachGetCompanyFunding;
|
|
17
|
+
exports.rocketReachGetCompanyGrowth = require_get_company_growth.rocketReachGetCompanyGrowth;
|
|
18
|
+
exports.rocketReachGetCompanyIndustries = require_get_company_industries.rocketReachGetCompanyIndustries;
|
|
19
|
+
exports.rocketReachGetCompanySize = require_get_company_size.rocketReachGetCompanySize;
|
|
20
|
+
exports.rocketReachGetCompanyTechStack = require_get_company_tech_stack.rocketReachGetCompanyTechStack;
|
|
21
|
+
exports.rocketReachLookupCompany = require_lookup_company.rocketReachLookupCompany;
|
|
22
|
+
exports.rocketReachLookupPerson = require_lookup_person.rocketReachLookupPerson;
|
|
23
|
+
exports.rocketReachLookupPersonAndCompany = require_lookup_person_and_company.rocketReachLookupPersonAndCompany;
|
|
24
|
+
exports.rocketReachSearchCompanies = require_search_companies.rocketReachSearchCompanies;
|
|
25
|
+
exports.rocketReachSearchPeople = require_search_people.rocketReachSearchPeople;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { rocketReachCheckPersonStatus } from "./check-person-status.cjs";
|
|
2
|
+
import { rocketReachGetAccount } from "./get-account.cjs";
|
|
3
|
+
import { rocketReachGetCompanyFunding } from "./get-company-funding.cjs";
|
|
4
|
+
import { rocketReachGetCompanyGrowth } from "./get-company-growth.cjs";
|
|
5
|
+
import { rocketReachGetCompanyIndustries } from "./get-company-industries.cjs";
|
|
6
|
+
import { rocketReachGetCompanySize } from "./get-company-size.cjs";
|
|
7
|
+
import { rocketReachGetCompanyTechStack } from "./get-company-tech-stack.cjs";
|
|
8
|
+
import { rocketReachLookupCompany } from "./lookup-company.cjs";
|
|
9
|
+
import { rocketReachLookupPerson } from "./lookup-person.cjs";
|
|
10
|
+
import { rocketReachLookupPersonAndCompany } from "./lookup-person-and-company.cjs";
|
|
11
|
+
import { rocketReachSearchCompanies } from "./search-companies.cjs";
|
|
12
|
+
import { rocketReachSearchPeople } from "./search-people.cjs";
|
|
13
|
+
export { rocketReachCheckPersonStatus, rocketReachGetAccount, rocketReachGetCompanyFunding, rocketReachGetCompanyGrowth, rocketReachGetCompanyIndustries, rocketReachGetCompanySize, rocketReachGetCompanyTechStack, rocketReachLookupCompany, rocketReachLookupPerson, rocketReachLookupPersonAndCompany, rocketReachSearchCompanies, rocketReachSearchPeople };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { rocketReachCheckPersonStatus } from "./check-person-status.mjs";
|
|
2
|
+
import { rocketReachGetAccount } from "./get-account.mjs";
|
|
3
|
+
import { rocketReachGetCompanyFunding } from "./get-company-funding.mjs";
|
|
4
|
+
import { rocketReachGetCompanyGrowth } from "./get-company-growth.mjs";
|
|
5
|
+
import { rocketReachGetCompanyIndustries } from "./get-company-industries.mjs";
|
|
6
|
+
import { rocketReachGetCompanySize } from "./get-company-size.mjs";
|
|
7
|
+
import { rocketReachGetCompanyTechStack } from "./get-company-tech-stack.mjs";
|
|
8
|
+
import { rocketReachLookupCompany } from "./lookup-company.mjs";
|
|
9
|
+
import { rocketReachLookupPerson } from "./lookup-person.mjs";
|
|
10
|
+
import { rocketReachLookupPersonAndCompany } from "./lookup-person-and-company.mjs";
|
|
11
|
+
import { rocketReachSearchCompanies } from "./search-companies.mjs";
|
|
12
|
+
import { rocketReachSearchPeople } from "./search-people.mjs";
|
|
13
|
+
export { rocketReachCheckPersonStatus, rocketReachGetAccount, rocketReachGetCompanyFunding, rocketReachGetCompanyGrowth, rocketReachGetCompanyIndustries, rocketReachGetCompanySize, rocketReachGetCompanyTechStack, rocketReachLookupCompany, rocketReachLookupPerson, rocketReachLookupPersonAndCompany, rocketReachSearchCompanies, rocketReachSearchPeople };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { rocketReachCheckPersonStatus } from "./check-person-status.mjs";
|
|
2
|
+
import { rocketReachGetAccount } from "./get-account.mjs";
|
|
3
|
+
import { rocketReachGetCompanyFunding } from "./get-company-funding.mjs";
|
|
4
|
+
import { rocketReachGetCompanyGrowth } from "./get-company-growth.mjs";
|
|
5
|
+
import { rocketReachGetCompanyIndustries } from "./get-company-industries.mjs";
|
|
6
|
+
import { rocketReachGetCompanySize } from "./get-company-size.mjs";
|
|
7
|
+
import { rocketReachGetCompanyTechStack } from "./get-company-tech-stack.mjs";
|
|
8
|
+
import { rocketReachLookupCompany } from "./lookup-company.mjs";
|
|
9
|
+
import { rocketReachLookupPerson } from "./lookup-person.mjs";
|
|
10
|
+
import { rocketReachLookupPersonAndCompany } from "./lookup-person-and-company.mjs";
|
|
11
|
+
import { rocketReachSearchCompanies } from "./search-companies.mjs";
|
|
12
|
+
import { rocketReachSearchPeople } from "./search-people.mjs";
|
|
13
|
+
export { rocketReachCheckPersonStatus, rocketReachGetAccount, rocketReachGetCompanyFunding, rocketReachGetCompanyGrowth, rocketReachGetCompanyIndustries, rocketReachGetCompanySize, rocketReachGetCompanyTechStack, rocketReachLookupCompany, rocketReachLookupPerson, rocketReachLookupPersonAndCompany, rocketReachSearchCompanies, rocketReachSearchPeople };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-company.ts
|
|
4
|
+
const RocketReachLookupCompanyInput = zod.z.object({ name: zod.z.string().describe("Full name of the company to lookup the domain for.") }).describe("Request parameters for looking up a company's domain by its name in RocketReach.");
|
|
5
|
+
const RocketReachLookupCompanyOutput = zod.z.object({ domain: zod.z.string().describe("The domain of the company, e.g. 'acme.com'. If not found, empty string.") }).describe("Response model containing the company's domain returned by RocketReach.");
|
|
6
|
+
const rocketReachLookupCompany = require_action.action("ROCKET_REACH_LOOKUP_COMPANY", {
|
|
7
|
+
slug: "rocket_reach-lookup-company",
|
|
8
|
+
name: "RocketReach Lookup Company",
|
|
9
|
+
description: "Tool to lookup a company's domain via RocketReach Company Lookup API. Use when you need the company domain by name for downstream actions like funding, size, or tech stack.",
|
|
10
|
+
input: RocketReachLookupCompanyInput,
|
|
11
|
+
output: RocketReachLookupCompanyOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.rocketReachLookupCompany = rocketReachLookupCompany;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=lookup-company.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-company.cjs","names":["z","action"],"sources":["../../src/actions/lookup-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the company to lookup the domain for.\"),\n}).describe(\"Request parameters for looking up a company's domain by its name in RocketReach.\");\nexport const RocketReachLookupCompanyOutput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain of the company, e.g. 'acme.com'. If not found, empty string.\"),\n}).describe(\"Response model containing the company's domain returned by RocketReach.\");\n\nexport const rocketReachLookupCompany = action(\"ROCKET_REACH_LOOKUP_COMPANY\", {\n slug: \"rocket_reach-lookup-company\",\n name: \"RocketReach Lookup Company\",\n description: \"Tool to lookup a company's domain via RocketReach Company Lookup API. Use when you need the company domain by name for downstream actions like funding, size, or tech stack.\",\n input: RocketReachLookupCompanyInput,\n output: RocketReachLookupCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACvG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-company.d.ts
|
|
4
|
+
declare const RocketReachLookupCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupCompany };
|
|
9
|
+
//# sourceMappingURL=lookup-company.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-company.d.cts","names":[],"sources":["../../src/actions/lookup-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEiD;AAAA,cAClF,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cAEzE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-company.d.ts
|
|
4
|
+
declare const RocketReachLookupCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupCompany };
|
|
9
|
+
//# sourceMappingURL=lookup-company.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-company.d.mts","names":[],"sources":["../../src/actions/lookup-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEiD;AAAA,cAClF,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cAEzE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketReachLookupCompany = action("ROCKET_REACH_LOOKUP_COMPANY", {
|
|
4
|
+
slug: "rocket_reach-lookup-company",
|
|
5
|
+
name: "RocketReach Lookup Company",
|
|
6
|
+
description: "Tool to lookup a company's domain via RocketReach Company Lookup API. Use when you need the company domain by name for downstream actions like funding, size, or tech stack.",
|
|
7
|
+
input: z.object({ name: z.string().describe("Full name of the company to lookup the domain for.") }).describe("Request parameters for looking up a company's domain by its name in RocketReach."),
|
|
8
|
+
output: z.object({ domain: z.string().describe("The domain of the company, e.g. 'acme.com'. If not found, empty string.") }).describe("Response model containing the company's domain returned by RocketReach.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketReachLookupCompany };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=lookup-company.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-company.mjs","names":[],"sources":["../../src/actions/lookup-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupCompanyInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the company to lookup the domain for.\"),\n}).describe(\"Request parameters for looking up a company's domain by its name in RocketReach.\");\nexport const RocketReachLookupCompanyOutput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain of the company, e.g. 'acme.com'. If not found, empty string.\"),\n}).describe(\"Response model containing the company's domain returned by RocketReach.\");\n\nexport const rocketReachLookupCompany = action(\"ROCKET_REACH_LOOKUP_COMPANY\", {\n slug: \"rocket_reach-lookup-company\",\n name: \"RocketReach Lookup Company\",\n description: \"Tool to lookup a company's domain via RocketReach Company Lookup API. Use when you need the company domain by name for downstream actions like funding, size, or tech stack.\",\n input: RocketReachLookupCompanyInput,\n output: RocketReachLookupCompanyOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyD,EAAE,OAAO,EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,kFASH;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACvG,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-person-and-company.ts
|
|
4
|
+
const RocketReachLookupPersonAndCompanyInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("RocketReach internal unique profile ID. Use this for direct lookup by ID.").optional(),
|
|
6
|
+
name: zod.z.string().describe("Name of the desired profile. Best combined with current_employer for accurate results.").optional(),
|
|
7
|
+
email: zod.z.string().describe("Email address for the desired profile. If provided, returns exact match.").optional(),
|
|
8
|
+
title: zod.z.string().describe("Job title of the desired profile. Helps narrow search when combined with name or employer.").optional(),
|
|
9
|
+
npi_number: zod.z.number().int().describe("NPI number for US healthcare professional. Used for healthcare-specific lookups.").optional(),
|
|
10
|
+
webhook_id: zod.z.number().int().describe("Webhook unique ID number. Used to associate this request with a webhook for async results.").optional(),
|
|
11
|
+
lookup_type: zod.z.enum([
|
|
12
|
+
"standard",
|
|
13
|
+
"premium",
|
|
14
|
+
"premium (feeds disabled)",
|
|
15
|
+
"bulk",
|
|
16
|
+
"phone",
|
|
17
|
+
"enrich"
|
|
18
|
+
]).describe("Lookup type for the person and company lookup request.").optional(),
|
|
19
|
+
linkedin_url: zod.z.string().describe("LinkedIn URL of the desired profile. Must be a valid LinkedIn profile URL.").optional(),
|
|
20
|
+
current_employer: zod.z.string().describe("Current employer of the desired profile. Can be combined with name to narrow search.").optional(),
|
|
21
|
+
return_cached_emails: zod.z.boolean().describe("Whether to return cached email addresses. Set to true to retrieve previously cached emails.").optional()
|
|
22
|
+
}).describe("Request parameters for looking up both person and company information in a single request.");
|
|
23
|
+
const RocketReachLookupPersonAndCompany_EmailInfoSchema = zod.z.object({
|
|
24
|
+
type: zod.z.string().describe("Type of email (work, personal, etc.)").nullable().optional(),
|
|
25
|
+
email: zod.z.string().describe("Email address").nullable().optional(),
|
|
26
|
+
grade: zod.z.string().describe("Grade or confidence score for email").nullable().optional(),
|
|
27
|
+
smtp_valid: zod.z.string().describe("SMTP validation status for the email").nullable().optional(),
|
|
28
|
+
last_validation: zod.z.string().describe("Last validation date/time for the email").nullable().optional()
|
|
29
|
+
}).describe("Email information from the API response.");
|
|
30
|
+
const RocketReachLookupPersonAndCompany_PhoneInfoSchema = zod.z.object({
|
|
31
|
+
type: zod.z.string().describe("Type of phone (mobile, work, home, etc.)").nullable().optional(),
|
|
32
|
+
number: zod.z.string().describe("Phone number").nullable().optional(),
|
|
33
|
+
validity: zod.z.string().describe("Validity status of the phone number").nullable().optional(),
|
|
34
|
+
recommended: zod.z.boolean().describe("Whether this is the recommended phone number").nullable().optional()
|
|
35
|
+
}).describe("Phone information from the API response.");
|
|
36
|
+
const RocketReachLookupPersonAndCompanyOutput = zod.z.object({
|
|
37
|
+
id: zod.z.number().int().describe("RocketReach internal unique profile ID").nullable().optional(),
|
|
38
|
+
city: zod.z.string().describe("City where the person is located").nullable().optional(),
|
|
39
|
+
name: zod.z.string().describe("Full name of the person").nullable().optional(),
|
|
40
|
+
links: zod.z.object({}).describe("Social media and other links associated with the person").nullable().optional(),
|
|
41
|
+
emails: zod.z.array(RocketReachLookupPersonAndCompany_EmailInfoSchema).describe("List of email addresses associated with the person").nullable().optional(),
|
|
42
|
+
phones: zod.z.array(RocketReachLookupPersonAndCompany_PhoneInfoSchema).describe("List of phone numbers associated with the person").nullable().optional(),
|
|
43
|
+
region: zod.z.string().describe("State or region where the person is located").nullable().optional(),
|
|
44
|
+
skills: zod.z.array(zod.z.string()).describe("List of skills associated with the person").nullable().optional(),
|
|
45
|
+
status: zod.z.string().describe("Status of the lookup request (complete, progress, searching, not queued)").nullable().optional(),
|
|
46
|
+
country: zod.z.string().describe("Country where the person is located").nullable().optional(),
|
|
47
|
+
location: zod.z.string().describe("Full location string (city, state, country)").nullable().optional(),
|
|
48
|
+
birth_year: zod.z.number().int().describe("Birth year of the person").nullable().optional(),
|
|
49
|
+
profile_pic: zod.z.string().describe("URL to the person's profile picture").nullable().optional(),
|
|
50
|
+
country_code: zod.z.string().describe("Country code (e.g., US, UK)").nullable().optional(),
|
|
51
|
+
linkedin_url: zod.z.string().describe("LinkedIn profile URL of the person").nullable().optional(),
|
|
52
|
+
current_title: zod.z.string().describe("Current job title of the person").nullable().optional(),
|
|
53
|
+
current_employer: zod.z.string().describe("Name of the person's current employer").nullable().optional(),
|
|
54
|
+
recommended_email: zod.z.string().describe("The most reliable email address for the person").nullable().optional(),
|
|
55
|
+
current_work_email: zod.z.string().describe("Current work email address").nullable().optional(),
|
|
56
|
+
current_employer_id: zod.z.number().int().describe("RocketReach internal ID for the current employer").nullable().optional(),
|
|
57
|
+
current_employer_domain: zod.z.string().describe("Domain of the current employer's website").nullable().optional()
|
|
58
|
+
}).describe("Response model containing both person and company information.");
|
|
59
|
+
const rocketReachLookupPersonAndCompany = require_action.action("ROCKET_REACH_LOOKUP_PERSON_AND_COMPANY", {
|
|
60
|
+
slug: "rocket_reach-lookup-person-and-company",
|
|
61
|
+
name: "Lookup Person and Company",
|
|
62
|
+
description: "Tool to lookup both person and company information in a single request. Use when you need comprehensive profile data including employment details. At least one search parameter (name, email, id, linkedin_url, or npi_number) must be provided.",
|
|
63
|
+
input: RocketReachLookupPersonAndCompanyInput,
|
|
64
|
+
output: RocketReachLookupPersonAndCompanyOutput
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
exports.rocketReachLookupPersonAndCompany = rocketReachLookupPersonAndCompany;
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=lookup-person-and-company.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person-and-company.cjs","names":["z","action"],"sources":["../../src/actions/lookup-person-and-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupPersonAndCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"RocketReach internal unique profile ID. Use this for direct lookup by ID.\").optional(),\n name: z.string().describe(\"Name of the desired profile. Best combined with current_employer for accurate results.\").optional(),\n email: z.string().describe(\"Email address for the desired profile. If provided, returns exact match.\").optional(),\n title: z.string().describe(\"Job title of the desired profile. Helps narrow search when combined with name or employer.\").optional(),\n npi_number: z.number().int().describe(\"NPI number for US healthcare professional. Used for healthcare-specific lookups.\").optional(),\n webhook_id: z.number().int().describe(\"Webhook unique ID number. Used to associate this request with a webhook for async results.\").optional(),\n lookup_type: z.enum([\"standard\", \"premium\", \"premium (feeds disabled)\", \"bulk\", \"phone\", \"enrich\"]).describe(\"Lookup type for the person and company lookup request.\").optional(),\n linkedin_url: z.string().describe(\"LinkedIn URL of the desired profile. Must be a valid LinkedIn profile URL.\").optional(),\n current_employer: z.string().describe(\"Current employer of the desired profile. Can be combined with name to narrow search.\").optional(),\n return_cached_emails: z.boolean().describe(\"Whether to return cached email addresses. Set to true to retrieve previously cached emails.\").optional(),\n}).describe(\"Request parameters for looking up both person and company information in a single request.\");\nconst RocketReachLookupPersonAndCompany_EmailInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of email (work, personal, etc.)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n grade: z.string().describe(\"Grade or confidence score for email\").nullable().optional(),\n smtp_valid: z.string().describe(\"SMTP validation status for the email\").nullable().optional(),\n last_validation: z.string().describe(\"Last validation date/time for the email\").nullable().optional(),\n}).describe(\"Email information from the API response.\");\nconst RocketReachLookupPersonAndCompany_PhoneInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of phone (mobile, work, home, etc.)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n validity: z.string().describe(\"Validity status of the phone number\").nullable().optional(),\n recommended: z.boolean().describe(\"Whether this is the recommended phone number\").nullable().optional(),\n}).describe(\"Phone information from the API response.\");\nexport const RocketReachLookupPersonAndCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"RocketReach internal unique profile ID\").nullable().optional(),\n city: z.string().describe(\"City where the person is located\").nullable().optional(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n links: z.object({}).describe(\"Social media and other links associated with the person\").nullable().optional(),\n emails: z.array(RocketReachLookupPersonAndCompany_EmailInfoSchema).describe(\"List of email addresses associated with the person\").nullable().optional(),\n phones: z.array(RocketReachLookupPersonAndCompany_PhoneInfoSchema).describe(\"List of phone numbers associated with the person\").nullable().optional(),\n region: z.string().describe(\"State or region where the person is located\").nullable().optional(),\n skills: z.array(z.string()).describe(\"List of skills associated with the person\").nullable().optional(),\n status: z.string().describe(\"Status of the lookup request (complete, progress, searching, not queued)\").nullable().optional(),\n country: z.string().describe(\"Country where the person is located\").nullable().optional(),\n location: z.string().describe(\"Full location string (city, state, country)\").nullable().optional(),\n birth_year: z.number().int().describe(\"Birth year of the person\").nullable().optional(),\n profile_pic: z.string().describe(\"URL to the person's profile picture\").nullable().optional(),\n country_code: z.string().describe(\"Country code (e.g., US, UK)\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL of the person\").nullable().optional(),\n current_title: z.string().describe(\"Current job title of the person\").nullable().optional(),\n current_employer: z.string().describe(\"Name of the person's current employer\").nullable().optional(),\n recommended_email: z.string().describe(\"The most reliable email address for the person\").nullable().optional(),\n current_work_email: z.string().describe(\"Current work email address\").nullable().optional(),\n current_employer_id: z.number().int().describe(\"RocketReach internal ID for the current employer\").nullable().optional(),\n current_employer_domain: z.string().describe(\"Domain of the current employer's website\").nullable().optional(),\n}).describe(\"Response model containing both person and company information.\");\n\nexport const rocketReachLookupPersonAndCompany = action(\"ROCKET_REACH_LOOKUP_PERSON_AND_COMPANY\", {\n slug: \"rocket_reach-lookup-person-and-company\",\n name: \"Lookup Person and Company\",\n description: \"Tool to lookup both person and company information in a single request. Use when you need comprehensive profile data including employment details. At least one search parameter (name, email, id, linkedin_url, or npi_number) must be provided.\",\n input: RocketReachLookupPersonAndCompanyInput,\n output: RocketReachLookupPersonAndCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-person-and-company.d.ts
|
|
4
|
+
declare const RocketReachLookupPersonAndCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupPersonAndCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupPersonAndCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupPersonAndCompany };
|
|
9
|
+
//# sourceMappingURL=lookup-person-and-company.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person-and-company.d.cts","names":[],"sources":["../../src/actions/lookup-person-and-company.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWkD;AAAA,cAc5F,uCAAA,EAAyC,CAAA,CAAE,UAsBqB;AAAA,cAEhE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-person-and-company.d.ts
|
|
4
|
+
declare const RocketReachLookupPersonAndCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupPersonAndCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupPersonAndCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupPersonAndCompany };
|
|
9
|
+
//# sourceMappingURL=lookup-person-and-company.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person-and-company.d.mts","names":[],"sources":["../../src/actions/lookup-person-and-company.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWkD;AAAA,cAc5F,uCAAA,EAAyC,CAAA,CAAE,UAsBqB;AAAA,cAEhE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-person-and-company.ts
|
|
4
|
+
const RocketReachLookupPersonAndCompanyInput = z.object({
|
|
5
|
+
id: z.number().int().describe("RocketReach internal unique profile ID. Use this for direct lookup by ID.").optional(),
|
|
6
|
+
name: z.string().describe("Name of the desired profile. Best combined with current_employer for accurate results.").optional(),
|
|
7
|
+
email: z.string().describe("Email address for the desired profile. If provided, returns exact match.").optional(),
|
|
8
|
+
title: z.string().describe("Job title of the desired profile. Helps narrow search when combined with name or employer.").optional(),
|
|
9
|
+
npi_number: z.number().int().describe("NPI number for US healthcare professional. Used for healthcare-specific lookups.").optional(),
|
|
10
|
+
webhook_id: z.number().int().describe("Webhook unique ID number. Used to associate this request with a webhook for async results.").optional(),
|
|
11
|
+
lookup_type: z.enum([
|
|
12
|
+
"standard",
|
|
13
|
+
"premium",
|
|
14
|
+
"premium (feeds disabled)",
|
|
15
|
+
"bulk",
|
|
16
|
+
"phone",
|
|
17
|
+
"enrich"
|
|
18
|
+
]).describe("Lookup type for the person and company lookup request.").optional(),
|
|
19
|
+
linkedin_url: z.string().describe("LinkedIn URL of the desired profile. Must be a valid LinkedIn profile URL.").optional(),
|
|
20
|
+
current_employer: z.string().describe("Current employer of the desired profile. Can be combined with name to narrow search.").optional(),
|
|
21
|
+
return_cached_emails: z.boolean().describe("Whether to return cached email addresses. Set to true to retrieve previously cached emails.").optional()
|
|
22
|
+
}).describe("Request parameters for looking up both person and company information in a single request.");
|
|
23
|
+
const RocketReachLookupPersonAndCompany_EmailInfoSchema = z.object({
|
|
24
|
+
type: z.string().describe("Type of email (work, personal, etc.)").nullable().optional(),
|
|
25
|
+
email: z.string().describe("Email address").nullable().optional(),
|
|
26
|
+
grade: z.string().describe("Grade or confidence score for email").nullable().optional(),
|
|
27
|
+
smtp_valid: z.string().describe("SMTP validation status for the email").nullable().optional(),
|
|
28
|
+
last_validation: z.string().describe("Last validation date/time for the email").nullable().optional()
|
|
29
|
+
}).describe("Email information from the API response.");
|
|
30
|
+
const RocketReachLookupPersonAndCompany_PhoneInfoSchema = z.object({
|
|
31
|
+
type: z.string().describe("Type of phone (mobile, work, home, etc.)").nullable().optional(),
|
|
32
|
+
number: z.string().describe("Phone number").nullable().optional(),
|
|
33
|
+
validity: z.string().describe("Validity status of the phone number").nullable().optional(),
|
|
34
|
+
recommended: z.boolean().describe("Whether this is the recommended phone number").nullable().optional()
|
|
35
|
+
}).describe("Phone information from the API response.");
|
|
36
|
+
const rocketReachLookupPersonAndCompany = action("ROCKET_REACH_LOOKUP_PERSON_AND_COMPANY", {
|
|
37
|
+
slug: "rocket_reach-lookup-person-and-company",
|
|
38
|
+
name: "Lookup Person and Company",
|
|
39
|
+
description: "Tool to lookup both person and company information in a single request. Use when you need comprehensive profile data including employment details. At least one search parameter (name, email, id, linkedin_url, or npi_number) must be provided.",
|
|
40
|
+
input: RocketReachLookupPersonAndCompanyInput,
|
|
41
|
+
output: z.object({
|
|
42
|
+
id: z.number().int().describe("RocketReach internal unique profile ID").nullable().optional(),
|
|
43
|
+
city: z.string().describe("City where the person is located").nullable().optional(),
|
|
44
|
+
name: z.string().describe("Full name of the person").nullable().optional(),
|
|
45
|
+
links: z.object({}).describe("Social media and other links associated with the person").nullable().optional(),
|
|
46
|
+
emails: z.array(RocketReachLookupPersonAndCompany_EmailInfoSchema).describe("List of email addresses associated with the person").nullable().optional(),
|
|
47
|
+
phones: z.array(RocketReachLookupPersonAndCompany_PhoneInfoSchema).describe("List of phone numbers associated with the person").nullable().optional(),
|
|
48
|
+
region: z.string().describe("State or region where the person is located").nullable().optional(),
|
|
49
|
+
skills: z.array(z.string()).describe("List of skills associated with the person").nullable().optional(),
|
|
50
|
+
status: z.string().describe("Status of the lookup request (complete, progress, searching, not queued)").nullable().optional(),
|
|
51
|
+
country: z.string().describe("Country where the person is located").nullable().optional(),
|
|
52
|
+
location: z.string().describe("Full location string (city, state, country)").nullable().optional(),
|
|
53
|
+
birth_year: z.number().int().describe("Birth year of the person").nullable().optional(),
|
|
54
|
+
profile_pic: z.string().describe("URL to the person's profile picture").nullable().optional(),
|
|
55
|
+
country_code: z.string().describe("Country code (e.g., US, UK)").nullable().optional(),
|
|
56
|
+
linkedin_url: z.string().describe("LinkedIn profile URL of the person").nullable().optional(),
|
|
57
|
+
current_title: z.string().describe("Current job title of the person").nullable().optional(),
|
|
58
|
+
current_employer: z.string().describe("Name of the person's current employer").nullable().optional(),
|
|
59
|
+
recommended_email: z.string().describe("The most reliable email address for the person").nullable().optional(),
|
|
60
|
+
current_work_email: z.string().describe("Current work email address").nullable().optional(),
|
|
61
|
+
current_employer_id: z.number().int().describe("RocketReach internal ID for the current employer").nullable().optional(),
|
|
62
|
+
current_employer_domain: z.string().describe("Domain of the current employer's website").nullable().optional()
|
|
63
|
+
}).describe("Response model containing both person and company information.")
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
export { rocketReachLookupPersonAndCompany };
|
|
67
|
+
|
|
68
|
+
//# sourceMappingURL=lookup-person-and-company.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person-and-company.mjs","names":[],"sources":["../../src/actions/lookup-person-and-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupPersonAndCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"RocketReach internal unique profile ID. Use this for direct lookup by ID.\").optional(),\n name: z.string().describe(\"Name of the desired profile. Best combined with current_employer for accurate results.\").optional(),\n email: z.string().describe(\"Email address for the desired profile. If provided, returns exact match.\").optional(),\n title: z.string().describe(\"Job title of the desired profile. Helps narrow search when combined with name or employer.\").optional(),\n npi_number: z.number().int().describe(\"NPI number for US healthcare professional. Used for healthcare-specific lookups.\").optional(),\n webhook_id: z.number().int().describe(\"Webhook unique ID number. Used to associate this request with a webhook for async results.\").optional(),\n lookup_type: z.enum([\"standard\", \"premium\", \"premium (feeds disabled)\", \"bulk\", \"phone\", \"enrich\"]).describe(\"Lookup type for the person and company lookup request.\").optional(),\n linkedin_url: z.string().describe(\"LinkedIn URL of the desired profile. Must be a valid LinkedIn profile URL.\").optional(),\n current_employer: z.string().describe(\"Current employer of the desired profile. Can be combined with name to narrow search.\").optional(),\n return_cached_emails: z.boolean().describe(\"Whether to return cached email addresses. Set to true to retrieve previously cached emails.\").optional(),\n}).describe(\"Request parameters for looking up both person and company information in a single request.\");\nconst RocketReachLookupPersonAndCompany_EmailInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of email (work, personal, etc.)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n grade: z.string().describe(\"Grade or confidence score for email\").nullable().optional(),\n smtp_valid: z.string().describe(\"SMTP validation status for the email\").nullable().optional(),\n last_validation: z.string().describe(\"Last validation date/time for the email\").nullable().optional(),\n}).describe(\"Email information from the API response.\");\nconst RocketReachLookupPersonAndCompany_PhoneInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of phone (mobile, work, home, etc.)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n validity: z.string().describe(\"Validity status of the phone number\").nullable().optional(),\n recommended: z.boolean().describe(\"Whether this is the recommended phone number\").nullable().optional(),\n}).describe(\"Phone information from the API response.\");\nexport const RocketReachLookupPersonAndCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"RocketReach internal unique profile ID\").nullable().optional(),\n city: z.string().describe(\"City where the person is located\").nullable().optional(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n links: z.object({}).describe(\"Social media and other links associated with the person\").nullable().optional(),\n emails: z.array(RocketReachLookupPersonAndCompany_EmailInfoSchema).describe(\"List of email addresses associated with the person\").nullable().optional(),\n phones: z.array(RocketReachLookupPersonAndCompany_PhoneInfoSchema).describe(\"List of phone numbers associated with the person\").nullable().optional(),\n region: z.string().describe(\"State or region where the person is located\").nullable().optional(),\n skills: z.array(z.string()).describe(\"List of skills associated with the person\").nullable().optional(),\n status: z.string().describe(\"Status of the lookup request (complete, progress, searching, not queued)\").nullable().optional(),\n country: z.string().describe(\"Country where the person is located\").nullable().optional(),\n location: z.string().describe(\"Full location string (city, state, country)\").nullable().optional(),\n birth_year: z.number().int().describe(\"Birth year of the person\").nullable().optional(),\n profile_pic: z.string().describe(\"URL to the person's profile picture\").nullable().optional(),\n country_code: z.string().describe(\"Country code (e.g., US, UK)\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL of the person\").nullable().optional(),\n current_title: z.string().describe(\"Current job title of the person\").nullable().optional(),\n current_employer: z.string().describe(\"Name of the person's current employer\").nullable().optional(),\n recommended_email: z.string().describe(\"The most reliable email address for the person\").nullable().optional(),\n current_work_email: z.string().describe(\"Current work email address\").nullable().optional(),\n current_employer_id: z.number().int().describe(\"RocketReach internal ID for the current employer\").nullable().optional(),\n current_employer_domain: z.string().describe(\"Domain of the current employer's website\").nullable().optional(),\n}).describe(\"Response model containing both person and company information.\");\n\nexport const rocketReachLookupPersonAndCompany = action(\"ROCKET_REACH_LOOKUP_PERSON_AND_COMPANY\", {\n slug: \"rocket_reach-lookup-person-and-company\",\n name: \"Lookup Person and Company\",\n description: \"Tool to lookup both person and company information in a single request. Use when you need comprehensive profile data including employment details. At least one search parameter (name, email, id, linkedin_url, or npi_number) must be provided.\",\n input: RocketReachLookupPersonAndCompanyInput,\n output: RocketReachLookupPersonAndCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACnI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC7I,aAAa,EAAE,KAAK;EAAC;EAAY;EAAW;EAA4B;EAAQ;EAAS;CAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,kBAAkB,EAAE,OAAO,CAAC,CAAC,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,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-person.ts
|
|
4
|
+
const RocketReachLookupPersonInput = zod.z.object({ email: zod.z.string().describe("Email address of the person to lookup.") }).describe("Request parameters for looking up a person by email in RocketReach.");
|
|
5
|
+
const RocketReachLookupPersonOutput = zod.z.object({ person: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Person details as returned by RocketReach API.") }).describe("Response model containing the person data returned by RocketReach.");
|
|
6
|
+
const rocketReachLookupPerson = require_action.action("ROCKET_REACH_LOOKUP_PERSON", {
|
|
7
|
+
slug: "rocket_reach-lookup-person",
|
|
8
|
+
name: "RocketReach Lookup Person",
|
|
9
|
+
description: "Tool to lookup detailed person information from RocketReach. Use when you need to fetch a person's profile by email.",
|
|
10
|
+
input: RocketReachLookupPersonInput,
|
|
11
|
+
output: RocketReachLookupPersonOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.rocketReachLookupPerson = rocketReachLookupPerson;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=lookup-person.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person.cjs","names":["z","action"],"sources":["../../src/actions/lookup-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupPersonInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person to lookup.\"),\n}).describe(\"Request parameters for looking up a person by email in RocketReach.\");\nexport const RocketReachLookupPersonOutput: z.ZodTypeAny = z.object({\n person: z.record(z.string(), z.unknown()).describe(\"Person details as returned by RocketReach API.\"),\n}).describe(\"Response model containing the person data returned by RocketReach.\");\n\nexport const rocketReachLookupPerson = action(\"ROCKET_REACH_LOOKUP_PERSON\", {\n slug: \"rocket_reach-lookup-person\",\n name: \"RocketReach Lookup Person\",\n description: \"Tool to lookup detailed person information from RocketReach. Use when you need to fetch a person's profile by email.\",\n input: RocketReachLookupPersonInput,\n output: RocketReachLookupPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-person.d.ts
|
|
4
|
+
declare const RocketReachLookupPersonInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupPersonOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupPerson };
|
|
9
|
+
//# sourceMappingURL=lookup-person.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person.d.cts","names":[],"sources":["../../src/actions/lookup-person.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqC;AAAA,cACrE,6BAAA,EAA+B,CAAA,CAAE,UAEmC;AAAA,cAEpE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-person.d.ts
|
|
4
|
+
declare const RocketReachLookupPersonInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachLookupPersonOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachLookupPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachLookupPerson };
|
|
9
|
+
//# sourceMappingURL=lookup-person.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person.d.mts","names":[],"sources":["../../src/actions/lookup-person.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqC;AAAA,cACrE,6BAAA,EAA+B,CAAA,CAAE,UAEmC;AAAA,cAEpE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketReachLookupPerson = action("ROCKET_REACH_LOOKUP_PERSON", {
|
|
4
|
+
slug: "rocket_reach-lookup-person",
|
|
5
|
+
name: "RocketReach Lookup Person",
|
|
6
|
+
description: "Tool to lookup detailed person information from RocketReach. Use when you need to fetch a person's profile by email.",
|
|
7
|
+
input: z.object({ email: z.string().describe("Email address of the person to lookup.") }).describe("Request parameters for looking up a person by email in RocketReach."),
|
|
8
|
+
output: z.object({ person: z.record(z.string(), z.unknown()).describe("Person details as returned by RocketReach API.") }).describe("Response model containing the person data returned by RocketReach.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketReachLookupPerson };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=lookup-person.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-person.mjs","names":[],"sources":["../../src/actions/lookup-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachLookupPersonInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person to lookup.\"),\n}).describe(\"Request parameters for looking up a person by email in RocketReach.\");\nexport const RocketReachLookupPersonOutput: z.ZodTypeAny = z.object({\n person: z.record(z.string(), z.unknown()).describe(\"Person details as returned by RocketReach API.\"),\n}).describe(\"Response model containing the person data returned by RocketReach.\");\n\nexport const rocketReachLookupPerson = action(\"ROCKET_REACH_LOOKUP_PERSON\", {\n slug: \"rocket_reach-lookup-person\",\n name: \"RocketReach Lookup Person\",\n description: \"Tool to lookup detailed person information from RocketReach. Use when you need to fetch a person's profile by email.\",\n input: RocketReachLookupPersonInput,\n output: RocketReachLookupPersonOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwD,EAAE,OAAO,EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATyD,EAAE,OAAO,EAClE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/search-companies.ts
|
|
4
|
+
const RocketReachSearchCompaniesInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number for paginated results, starting at 1").optional(),
|
|
6
|
+
limit: zod.z.number().int().default(20).describe("Number of results per page, between 1 and 100").optional(),
|
|
7
|
+
query: zod.z.string().describe("Search query string for companies (e.g., company name or keywords)")
|
|
8
|
+
}).describe("Request model for searching companies in RocketReach by name or keyword.");
|
|
9
|
+
const RocketReachSearchCompanies_StatusSchema = zod.z.object({
|
|
10
|
+
code: zod.z.number().int().describe("Numerical status code returned by the API"),
|
|
11
|
+
message: zod.z.string().describe("Status message returned by the API")
|
|
12
|
+
}).describe("Model representing status information returned by the RocketReach API.");
|
|
13
|
+
const RocketReachSearchCompanies_CompanySchema = zod.z.object({
|
|
14
|
+
id: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
15
|
+
city: zod.z.string().describe("City where company is headquartered").nullable().optional(),
|
|
16
|
+
name: zod.z.string().describe("Name of the company").nullable().optional(),
|
|
17
|
+
size: zod.z.string().describe("Size of the company (e.g., number of employees)").nullable().optional(),
|
|
18
|
+
domain: zod.z.string().describe("Company website domain").nullable().optional(),
|
|
19
|
+
region: zod.z.string().describe("Region/state of company").nullable().optional(),
|
|
20
|
+
industry: zod.z.string().describe("Industry of the company").nullable().optional(),
|
|
21
|
+
country_code: zod.z.string().describe("Country code").nullable().optional(),
|
|
22
|
+
email_domain: zod.z.string().describe("Company email domain").nullable().optional(),
|
|
23
|
+
industry_str: zod.z.string().describe("Industry string from API").nullable().optional(),
|
|
24
|
+
ticker_symbol: zod.z.string().describe("Stock ticker symbol").nullable().optional()
|
|
25
|
+
}).describe("Model representing a company returned in the search results.");
|
|
26
|
+
const RocketReachSearchCompaniesOutput = zod.z.object({
|
|
27
|
+
page: zod.z.number().int().describe("Page number of current results"),
|
|
28
|
+
limit: zod.z.number().int().describe("Number of results per page"),
|
|
29
|
+
total: zod.z.number().int().describe("Total number of matched results"),
|
|
30
|
+
status: RocketReachSearchCompanies_StatusSchema.nullable(),
|
|
31
|
+
companies: zod.z.array(RocketReachSearchCompanies_CompanySchema).describe("List of companies matching search criteria")
|
|
32
|
+
}).describe("Response model containing search results for companies.");
|
|
33
|
+
const rocketReachSearchCompanies = require_action.action("ROCKET_REACH_SEARCH_COMPANIES", {
|
|
34
|
+
slug: "rocket_reach-search-companies",
|
|
35
|
+
name: "List Companies",
|
|
36
|
+
description: "Tool to list companies by name or keyword. Use when you need to discover companies matching specific criteria after obtaining an API key.",
|
|
37
|
+
input: RocketReachSearchCompaniesInput,
|
|
38
|
+
output: RocketReachSearchCompaniesOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.rocketReachSearchCompanies = rocketReachSearchCompanies;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=search-companies.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-companies.cjs","names":["z","action"],"sources":["../../src/actions/search-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchCompaniesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, starting at 1\").optional(),\n limit: z.number().int().default(20).describe(\"Number of results per page, between 1 and 100\").optional(),\n query: z.string().describe(\"Search query string for companies (e.g., company name or keywords)\"),\n}).describe(\"Request model for searching companies in RocketReach by name or keyword.\");\nconst RocketReachSearchCompanies_StatusSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\"),\n message: z.string().describe(\"Status message returned by the API\"),\n}).describe(\"Model representing status information returned by the RocketReach API.\");\nconst RocketReachSearchCompanies_CompanySchema: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n city: z.string().describe(\"City where company is headquartered\").nullable().optional(),\n name: z.string().describe(\"Name of the company\").nullable().optional(),\n size: z.string().describe(\"Size of the company (e.g., number of employees)\").nullable().optional(),\n domain: z.string().describe(\"Company website domain\").nullable().optional(),\n region: z.string().describe(\"Region/state of company\").nullable().optional(),\n industry: z.string().describe(\"Industry of the company\").nullable().optional(),\n country_code: z.string().describe(\"Country code\").nullable().optional(),\n email_domain: z.string().describe(\"Company email domain\").nullable().optional(),\n industry_str: z.string().describe(\"Industry string from API\").nullable().optional(),\n ticker_symbol: z.string().describe(\"Stock ticker symbol\").nullable().optional(),\n}).describe(\"Model representing a company returned in the search results.\");\nexport const RocketReachSearchCompaniesOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number of current results\"),\n limit: z.number().int().describe(\"Number of results per page\"),\n total: z.number().int().describe(\"Total number of matched results\"),\n status: RocketReachSearchCompanies_StatusSchema.nullable(),\n companies: z.array(RocketReachSearchCompanies_CompanySchema).describe(\"List of companies matching search criteria\"),\n}).describe(\"Response model containing search results for companies.\");\n\nexport const rocketReachSearchCompanies = action(\"ROCKET_REACH_SEARCH_COMPANIES\", {\n slug: \"rocket_reach-search-companies\",\n name: \"List Companies\",\n description: \"Tool to list companies by name or keyword. Use when you need to discover companies matching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/actions/search-companies.d.ts
|
|
4
|
+
declare const RocketReachSearchCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachSearchCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachSearchCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachSearchCompanies };
|
|
9
|
+
//# sourceMappingURL=search-companies.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-companies.d.cts","names":[],"sources":["../../src/actions/search-companies.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIuC;AAAA,cAkB1E,gCAAA,EAAkC,CAAA,CAAE,UAMqB;AAAA,cAEzD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-companies.d.ts
|
|
4
|
+
declare const RocketReachSearchCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketReachSearchCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketReachSearchCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketReachSearchCompanies };
|
|
9
|
+
//# sourceMappingURL=search-companies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-companies.d.mts","names":[],"sources":["../../src/actions/search-companies.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIuC;AAAA,cAkB1E,gCAAA,EAAkC,CAAA,CAAE,UAMqB;AAAA,cAEzD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|