@keystrokehq/rocket_reach 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/check-person-status.cjs +1 -1
- package/dist/actions/check-person-status.cjs.map +1 -1
- package/dist/actions/check-person-status.d.cts +1 -1
- package/dist/actions/check-person-status.d.mts +1 -1
- package/dist/actions/check-person-status.mjs +1 -1
- package/dist/actions/check-person-status.mjs.map +1 -1
- package/dist/actions/get-account.cjs +1 -1
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +1 -1
- package/dist/actions/get-account.d.mts +1 -1
- package/dist/actions/get-account.mjs +1 -1
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-company-funding.cjs +2 -2
- package/dist/actions/get-company-funding.cjs.map +1 -1
- package/dist/actions/get-company-funding.d.cts +2 -2
- package/dist/actions/get-company-funding.d.mts +2 -2
- package/dist/actions/get-company-funding.mjs +2 -2
- package/dist/actions/get-company-funding.mjs.map +1 -1
- package/dist/actions/get-company-growth.cjs +1 -1
- package/dist/actions/get-company-growth.cjs.map +1 -1
- package/dist/actions/get-company-growth.d.cts +1 -1
- package/dist/actions/get-company-growth.d.mts +1 -1
- package/dist/actions/get-company-growth.mjs +1 -1
- package/dist/actions/get-company-growth.mjs.map +1 -1
- package/dist/actions/get-company-industries.cjs +1 -1
- package/dist/actions/get-company-industries.cjs.map +1 -1
- package/dist/actions/get-company-industries.d.cts +1 -1
- package/dist/actions/get-company-industries.d.mts +1 -1
- package/dist/actions/get-company-industries.mjs +1 -1
- package/dist/actions/get-company-industries.mjs.map +1 -1
- package/dist/actions/get-company-size.cjs +1 -1
- package/dist/actions/get-company-size.cjs.map +1 -1
- package/dist/actions/get-company-size.d.cts +1 -1
- package/dist/actions/get-company-size.d.mts +1 -1
- package/dist/actions/get-company-size.mjs +1 -1
- package/dist/actions/get-company-size.mjs.map +1 -1
- package/dist/actions/get-company-tech-stack.cjs +1 -1
- package/dist/actions/get-company-tech-stack.cjs.map +1 -1
- package/dist/actions/get-company-tech-stack.d.cts +1 -1
- package/dist/actions/get-company-tech-stack.d.mts +1 -1
- package/dist/actions/get-company-tech-stack.mjs +1 -1
- package/dist/actions/get-company-tech-stack.mjs.map +1 -1
- package/dist/actions/lookup-company.cjs +1 -1
- package/dist/actions/lookup-company.cjs.map +1 -1
- package/dist/actions/lookup-company.d.cts +1 -1
- package/dist/actions/lookup-company.d.mts +1 -1
- package/dist/actions/lookup-company.mjs +1 -1
- package/dist/actions/lookup-company.mjs.map +1 -1
- package/dist/actions/lookup-person-and-company.cjs +4 -4
- package/dist/actions/lookup-person-and-company.cjs.map +1 -1
- package/dist/actions/lookup-person-and-company.d.cts +4 -4
- package/dist/actions/lookup-person-and-company.d.mts +4 -4
- package/dist/actions/lookup-person-and-company.mjs +4 -4
- package/dist/actions/lookup-person-and-company.mjs.map +1 -1
- package/dist/actions/lookup-person.cjs +1 -1
- package/dist/actions/lookup-person.cjs.map +1 -1
- package/dist/actions/lookup-person.d.cts +1 -1
- package/dist/actions/lookup-person.d.mts +1 -1
- package/dist/actions/lookup-person.mjs +1 -1
- package/dist/actions/lookup-person.mjs.map +1 -1
- package/dist/actions/search-companies.cjs +3 -3
- package/dist/actions/search-companies.cjs.map +1 -1
- package/dist/actions/search-companies.d.cts +3 -3
- package/dist/actions/search-companies.d.mts +3 -3
- package/dist/actions/search-companies.mjs +3 -3
- package/dist/actions/search-companies.mjs.map +1 -1
- package/dist/actions/search-people.cjs +3 -3
- package/dist/actions/search-people.cjs.map +1 -1
- package/dist/actions/search-people.d.cts +3 -3
- package/dist/actions/search-people.d.mts +3 -3
- package/dist/actions/search-people.mjs +3 -3
- package/dist/actions/search-people.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +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.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.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.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.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.
|
|
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.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.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}).passthrough().describe(\"Email information from the API response.\");\nconst RocketReachLookupPersonAndCompany_PhoneInfoSchema = 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}).passthrough().describe(\"Phone information from the API response.\");\nexport const RocketReachLookupPersonAndCompanyOutput = 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.record(z.string(), z.unknown()).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}).passthrough().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,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAW;EAA4B;EAAQ;EAAS;CAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACvI,sB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odNullable<z.ZodString>>;
|
|
26
26
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
links: z.ZodOptional<z.ZodNullable<z.
|
|
27
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
28
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
29
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
grade: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
smtp_valid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
last_validation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
36
36
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
validity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
recommended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
skills: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
43
43
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -53,7 +53,7 @@ declare const RocketReachLookupPersonAndCompanyOutput: z.ZodObject<{
|
|
|
53
53
|
current_work_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
current_employer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
55
|
current_employer_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const rocketReachLookupPersonAndCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
id?: number | undefined;
|
|
59
59
|
name?: string | undefined;
|
|
@@ -24,20 +24,20 @@ declare const RocketReachLookupPersonAndCompanyOutput: z.ZodObject<{
|
|
|
24
24
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
links: z.ZodOptional<z.ZodNullable<z.
|
|
27
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
28
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
29
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
grade: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
smtp_valid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
last_validation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
36
36
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
validity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
recommended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
skills: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
43
43
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -53,7 +53,7 @@ declare const RocketReachLookupPersonAndCompanyOutput: z.ZodObject<{
|
|
|
53
53
|
current_work_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
current_employer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
55
|
current_employer_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const rocketReachLookupPersonAndCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
id?: number | undefined;
|
|
59
59
|
name?: string | undefined;
|
|
@@ -26,13 +26,13 @@ const RocketReachLookupPersonAndCompany_EmailInfoSchema = z.object({
|
|
|
26
26
|
grade: z.string().describe("Grade or confidence score for email").nullable().optional(),
|
|
27
27
|
smtp_valid: z.string().describe("SMTP validation status for the email").nullable().optional(),
|
|
28
28
|
last_validation: z.string().describe("Last validation date/time for the email").nullable().optional()
|
|
29
|
-
}).describe("Email information from the API response.");
|
|
29
|
+
}).passthrough().describe("Email information from the API response.");
|
|
30
30
|
const RocketReachLookupPersonAndCompany_PhoneInfoSchema = z.object({
|
|
31
31
|
type: z.string().describe("Type of phone (mobile, work, home, etc.)").nullable().optional(),
|
|
32
32
|
number: z.string().describe("Phone number").nullable().optional(),
|
|
33
33
|
validity: z.string().describe("Validity status of the phone number").nullable().optional(),
|
|
34
34
|
recommended: z.boolean().describe("Whether this is the recommended phone number").nullable().optional()
|
|
35
|
-
}).describe("Phone information from the API response.");
|
|
35
|
+
}).passthrough().describe("Phone information from the API response.");
|
|
36
36
|
const rocketReachLookupPersonAndCompany = action("ROCKET_REACH_LOOKUP_PERSON_AND_COMPANY", {
|
|
37
37
|
slug: "rocket_reach-lookup-person-and-company",
|
|
38
38
|
name: "Lookup Person and Company",
|
|
@@ -42,7 +42,7 @@ const rocketReachLookupPersonAndCompany = action("ROCKET_REACH_LOOKUP_PERSON_AND
|
|
|
42
42
|
id: z.number().int().describe("RocketReach internal unique profile ID").nullable().optional(),
|
|
43
43
|
city: z.string().describe("City where the person is located").nullable().optional(),
|
|
44
44
|
name: z.string().describe("Full name of the person").nullable().optional(),
|
|
45
|
-
links: z.
|
|
45
|
+
links: z.record(z.string(), z.unknown()).describe("Social media and other links associated with the person").nullable().optional(),
|
|
46
46
|
emails: z.array(RocketReachLookupPersonAndCompany_EmailInfoSchema).describe("List of email addresses associated with the person").nullable().optional(),
|
|
47
47
|
phones: z.array(RocketReachLookupPersonAndCompany_PhoneInfoSchema).describe("List of phone numbers associated with the person").nullable().optional(),
|
|
48
48
|
region: z.string().describe("State or region where the person is located").nullable().optional(),
|
|
@@ -60,7 +60,7 @@ const rocketReachLookupPersonAndCompany = action("ROCKET_REACH_LOOKUP_PERSON_AND
|
|
|
60
60
|
current_work_email: z.string().describe("Current work email address").nullable().optional(),
|
|
61
61
|
current_employer_id: z.number().int().describe("RocketReach internal ID for the current employer").nullable().optional(),
|
|
62
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.")
|
|
63
|
+
}).passthrough().describe("Response model containing both person and company information.")
|
|
64
64
|
});
|
|
65
65
|
//#endregion
|
|
66
66
|
export { rocketReachLookupPersonAndCompany };
|
|
@@ -1 +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.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.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.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.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.
|
|
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.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.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}).passthrough().describe(\"Email information from the API response.\");\nconst RocketReachLookupPersonAndCompany_PhoneInfoSchema = 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}).passthrough().describe(\"Phone information from the API response.\");\nexport const RocketReachLookupPersonAndCompanyOutput = 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.record(z.string(), z.unknown()).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}).passthrough().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,yCAAyC,EAAE,OAAO;CAC7D,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,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACvI,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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ACnG,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,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/lookup-person.ts
|
|
4
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.");
|
|
5
|
+
const RocketReachLookupPersonOutput = zod.z.object({ person: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Person details as returned by RocketReach API.") }).passthrough().describe("Response model containing the person data returned by RocketReach.");
|
|
6
6
|
const rocketReachLookupPerson = require_action.action("ROCKET_REACH_LOOKUP_PERSON", {
|
|
7
7
|
slug: "rocket_reach-lookup-person",
|
|
8
8
|
name: "RocketReach Lookup Person",
|
|
@@ -1 +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.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.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,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,SAAS,oEAAoE;
|
|
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.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.object({\n person: z.record(z.string(), z.unknown()).describe(\"Person details as returned by RocketReach API.\"),\n}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RocketReachLookupPersonInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RocketReachLookupPersonOutput: z.ZodObject<{
|
|
8
8
|
person: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const rocketReachLookupPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RocketReachLookupPersonInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RocketReachLookupPersonOutput: z.ZodObject<{
|
|
8
8
|
person: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const rocketReachLookupPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const rocketReachLookupPerson = action("ROCKET_REACH_LOOKUP_PERSON", {
|
|
|
5
5
|
name: "RocketReach Lookup Person",
|
|
6
6
|
description: "Tool to lookup detailed person information from RocketReach. Use when you need to fetch a person's profile by email.",
|
|
7
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.")
|
|
8
|
+
output: z.object({ person: z.record(z.string(), z.unknown()).describe("Person details as returned by RocketReach API.") }).passthrough().describe("Response model containing the person data returned by RocketReach.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { rocketReachLookupPerson };
|
|
@@ -1 +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.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.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,OAX0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,SAAS,
|
|
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.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.object({\n person: z.record(z.string(), z.unknown()).describe(\"Person details as returned by RocketReach API.\"),\n}).passthrough().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,OAX0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const RocketReachSearchCompaniesInput = zod.z.object({
|
|
|
9
9
|
const RocketReachSearchCompanies_StatusSchema = zod.z.object({
|
|
10
10
|
code: zod.z.number().int().describe("Numerical status code returned by the API").nullable(),
|
|
11
11
|
message: zod.z.string().describe("Status message returned by the API").nullable()
|
|
12
|
-
}).describe("Model representing status information returned by the RocketReach API.");
|
|
12
|
+
}).passthrough().describe("Model representing status information returned by the RocketReach API.");
|
|
13
13
|
const RocketReachSearchCompanies_CompanySchema = zod.z.object({
|
|
14
14
|
id: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
15
15
|
city: zod.z.string().describe("City where company is headquartered").nullable().optional(),
|
|
@@ -22,14 +22,14 @@ const RocketReachSearchCompanies_CompanySchema = zod.z.object({
|
|
|
22
22
|
email_domain: zod.z.string().describe("Company email domain").nullable().optional(),
|
|
23
23
|
industry_str: zod.z.string().describe("Industry string from API").nullable().optional(),
|
|
24
24
|
ticker_symbol: zod.z.string().describe("Stock ticker symbol").nullable().optional()
|
|
25
|
-
}).describe("Model representing a company returned in the search results.");
|
|
25
|
+
}).passthrough().describe("Model representing a company returned in the search results.");
|
|
26
26
|
const RocketReachSearchCompaniesOutput = zod.z.object({
|
|
27
27
|
page: zod.z.number().int().describe("Page number of current results").nullable(),
|
|
28
28
|
limit: zod.z.number().int().describe("Number of results per page").nullable(),
|
|
29
29
|
total: zod.z.number().int().describe("Total number of matched results").nullable(),
|
|
30
30
|
status: RocketReachSearchCompanies_StatusSchema.nullable(),
|
|
31
31
|
companies: zod.z.array(RocketReachSearchCompanies_CompanySchema).describe("List of companies matching search criteria")
|
|
32
|
-
}).describe("Response model containing search results for companies.");
|
|
32
|
+
}).passthrough().describe("Response model containing search results for companies.");
|
|
33
33
|
const rocketReachSearchCompanies = require_action.action("ROCKET_REACH_SEARCH_COMPANIES", {
|
|
34
34
|
slug: "rocket_reach-search-companies",
|
|
35
35
|
name: "List Companies",
|
|
@@ -1 +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.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.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).describe(\"Model representing status information returned by the RocketReach API.\");\nconst RocketReachSearchCompanies_CompanySchema = 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.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\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 specific criteria after obtaining an API key.\",\n input: RocketReachSearchCompaniesInput,\n output: RocketReachSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACjG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
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.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.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).passthrough().describe(\"Model representing status information returned by the RocketReach API.\");\nconst RocketReachSearchCompanies_CompanySchema = 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}).passthrough().describe(\"Model representing a company returned in the search results.\");\nexport const RocketReachSearchCompaniesOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n status: RocketReachSearchCompanies_StatusSchema.nullable(),\n companies: z.array(RocketReachSearchCompanies_CompanySchema).describe(\"List of companies matching search criteria\"),\n}).passthrough().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 specific criteria after obtaining an API key.\",\n input: RocketReachSearchCompaniesInput,\n output: RocketReachSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,E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AO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RocketReachSearchCompaniesOutput: z.ZodObject<{
|
|
|
13
13
|
status: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
code: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
companies: z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
19
19
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,8 +26,8 @@ declare const RocketReachSearchCompaniesOutput: z.ZodObject<{
|
|
|
26
26
|
email_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
industry_str: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
ticker_symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const rocketReachSearchCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
query: string;
|
|
33
33
|
page?: number | undefined;
|
|
@@ -13,7 +13,7 @@ declare const RocketReachSearchCompaniesOutput: z.ZodObject<{
|
|
|
13
13
|
status: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
code: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
companies: z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
19
19
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,8 +26,8 @@ declare const RocketReachSearchCompaniesOutput: z.ZodObject<{
|
|
|
26
26
|
email_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
industry_str: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
ticker_symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const rocketReachSearchCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
query: string;
|
|
33
33
|
page?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const RocketReachSearchCompaniesInput = z.object({
|
|
|
9
9
|
const RocketReachSearchCompanies_StatusSchema = z.object({
|
|
10
10
|
code: z.number().int().describe("Numerical status code returned by the API").nullable(),
|
|
11
11
|
message: z.string().describe("Status message returned by the API").nullable()
|
|
12
|
-
}).describe("Model representing status information returned by the RocketReach API.");
|
|
12
|
+
}).passthrough().describe("Model representing status information returned by the RocketReach API.");
|
|
13
13
|
const RocketReachSearchCompanies_CompanySchema = z.object({
|
|
14
14
|
id: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
15
15
|
city: z.string().describe("City where company is headquartered").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const RocketReachSearchCompanies_CompanySchema = z.object({
|
|
|
22
22
|
email_domain: z.string().describe("Company email domain").nullable().optional(),
|
|
23
23
|
industry_str: z.string().describe("Industry string from API").nullable().optional(),
|
|
24
24
|
ticker_symbol: z.string().describe("Stock ticker symbol").nullable().optional()
|
|
25
|
-
}).describe("Model representing a company returned in the search results.");
|
|
25
|
+
}).passthrough().describe("Model representing a company returned in the search results.");
|
|
26
26
|
const rocketReachSearchCompanies = action("ROCKET_REACH_SEARCH_COMPANIES", {
|
|
27
27
|
slug: "rocket_reach-search-companies",
|
|
28
28
|
name: "List Companies",
|
|
@@ -34,7 +34,7 @@ const rocketReachSearchCompanies = action("ROCKET_REACH_SEARCH_COMPANIES", {
|
|
|
34
34
|
total: z.number().int().describe("Total number of matched results").nullable(),
|
|
35
35
|
status: RocketReachSearchCompanies_StatusSchema.nullable(),
|
|
36
36
|
companies: z.array(RocketReachSearchCompanies_CompanySchema).describe("List of companies matching search criteria")
|
|
37
|
-
}).describe("Response model containing search results for companies.")
|
|
37
|
+
}).passthrough().describe("Response model containing search results for companies.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { rocketReachSearchCompanies };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-companies.mjs","names":[],"sources":["../../src/actions/search-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchCompaniesInput = 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.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).describe(\"Model representing status information returned by the RocketReach API.\");\nconst RocketReachSearchCompanies_CompanySchema = 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.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\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 specific criteria after obtaining an API key.\",\n input: RocketReachSearchCompaniesInput,\n output: RocketReachSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACjG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
1
|
+
{"version":3,"file":"search-companies.mjs","names":[],"sources":["../../src/actions/search-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchCompaniesInput = 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.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).passthrough().describe(\"Model representing status information returned by the RocketReach API.\");\nconst RocketReachSearchCompanies_CompanySchema = 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}).passthrough().describe(\"Model representing a company returned in the search results.\");\nexport const RocketReachSearchCompaniesOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n status: RocketReachSearchCompanies_StatusSchema.nullable(),\n companies: z.array(RocketReachSearchCompanies_CompanySchema).describe(\"List of companies matching search criteria\"),\n}).passthrough().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 specific criteria after obtaining an API key.\",\n input: RocketReachSearchCompaniesInput,\n output: RocketReachSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAO,EAA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CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AASxF,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC7E,QAAQ,wCAAwC,SAAS;EACzD,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -16,18 +16,18 @@ const RocketReachSearchPeople_PersonSchema = zod.z.object({
|
|
|
16
16
|
first_name: zod.z.string().describe("First name of the person").nullable().optional(),
|
|
17
17
|
linkedin_url: zod.z.string().describe("LinkedIn profile URL").nullable().optional(),
|
|
18
18
|
phone_numbers: zod.z.array(zod.z.string()).describe("List of known phone numbers").nullable().optional()
|
|
19
|
-
}).describe("Model representing a person returned in the search results.");
|
|
19
|
+
}).passthrough().describe("Model representing a person returned in the search results.");
|
|
20
20
|
const RocketReachSearchPeople_StatusSchema = zod.z.object({
|
|
21
21
|
code: zod.z.number().int().describe("Numerical status code returned by the API").nullable(),
|
|
22
22
|
message: zod.z.string().describe("Status message returned by the API").nullable()
|
|
23
|
-
}).describe("Model representing status information returned by the RocketReach API.");
|
|
23
|
+
}).passthrough().describe("Model representing status information returned by the RocketReach API.");
|
|
24
24
|
const RocketReachSearchPeopleOutput = zod.z.object({
|
|
25
25
|
page: zod.z.number().int().describe("Page number of current results").nullable(),
|
|
26
26
|
limit: zod.z.number().int().describe("Number of results per page").nullable(),
|
|
27
27
|
total: zod.z.number().int().describe("Total number of matched results").nullable(),
|
|
28
28
|
people: zod.z.array(RocketReachSearchPeople_PersonSchema).describe("List of people matching search criteria"),
|
|
29
29
|
status: RocketReachSearchPeople_StatusSchema.nullable()
|
|
30
|
-
}).describe("Response model containing search results for people.");
|
|
30
|
+
}).passthrough().describe("Response model containing search results for people.");
|
|
31
31
|
const rocketReachSearchPeople = require_action.action("ROCKET_REACH_SEARCH_PEOPLE", {
|
|
32
32
|
slug: "rocket_reach-search-people",
|
|
33
33
|
name: "Search People",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-people.cjs","names":["z","action"],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchPeopleInput = 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 (e.g., name, title, skills, or keywords)\"),\n}).describe(\"Request model for searching people in RocketReach by name, title, or keyword.\");\nconst RocketReachSearchPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier for the person\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of known email addresses\").nullable().optional(),\n company: z.string().describe(\"Current company name\").nullable().optional(),\n headline: z.string().describe(\"Professional headline or title\").nullable().optional(),\n location: z.string().describe(\"Location of the person\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the person\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n phone_numbers: z.array(z.string()).describe(\"List of known phone numbers\").nullable().optional(),\n}).describe(\"Model representing a person returned in the search results.\");\nconst RocketReachSearchPeople_StatusSchema = z.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).describe(\"Model representing status information returned by the RocketReach API.\");\nexport const RocketReachSearchPeopleOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n people: z.array(RocketReachSearchPeople_PersonSchema).describe(\"List of people matching search criteria\"),\n status: RocketReachSearchPeople_StatusSchema.nullable(),\n}).describe(\"Response model containing search results for people.\");\n\nexport const rocketReachSearchPeople = action(\"ROCKET_REACH_SEARCH_PEOPLE\", {\n slug: \"rocket_reach-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people by name, title, or keywords. Use when you need to discover individuals matching specific criteria after obtaining an API key.\",\n input: RocketReachSearchPeopleInput,\n output: RocketReachSearchPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC3F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"search-people.cjs","names":["z","action"],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchPeopleInput = 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 (e.g., name, title, skills, or keywords)\"),\n}).describe(\"Request model for searching people in RocketReach by name, title, or keyword.\");\nconst RocketReachSearchPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier for the person\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of known email addresses\").nullable().optional(),\n company: z.string().describe(\"Current company name\").nullable().optional(),\n headline: z.string().describe(\"Professional headline or title\").nullable().optional(),\n location: z.string().describe(\"Location of the person\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the person\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n phone_numbers: z.array(z.string()).describe(\"List of known phone numbers\").nullable().optional(),\n}).passthrough().describe(\"Model representing a person returned in the search results.\");\nconst RocketReachSearchPeople_StatusSchema = z.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).passthrough().describe(\"Model representing status information returned by the RocketReach API.\");\nexport const RocketReachSearchPeopleOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n people: z.array(RocketReachSearchPeople_PersonSchema).describe(\"List of people matching search criteria\"),\n status: RocketReachSearchPeople_StatusSchema.nullable(),\n}).passthrough().describe(\"Response model containing search results for people.\");\n\nexport const rocketReachSearchPeople = action(\"ROCKET_REACH_SEARCH_PEOPLE\", {\n slug: \"rocket_reach-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people by name, title, or keywords. Use when you need to discover individuals matching specific criteria after obtaining an API key.\",\n input: RocketReachSearchPeopleInput,\n output: RocketReachSearchPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC3F,CAAC,CAA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,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC;CACxG,QAAQ,qCAAqC,SAAS;AACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,12 +20,12 @@ declare const RocketReachSearchPeopleOutput: z.ZodObject<{
|
|
|
20
20
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
status: z.ZodNullable<z.ZodObject<{
|
|
25
25
|
code: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
message: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const rocketReachSearchPeople: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
query: string;
|
|
31
31
|
page?: number | undefined;
|
|
@@ -20,12 +20,12 @@ declare const RocketReachSearchPeopleOutput: z.ZodObject<{
|
|
|
20
20
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
status: z.ZodNullable<z.ZodObject<{
|
|
25
25
|
code: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
message: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const rocketReachSearchPeople: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
query: string;
|
|
31
31
|
page?: number | undefined;
|
|
@@ -16,11 +16,11 @@ const RocketReachSearchPeople_PersonSchema = z.object({
|
|
|
16
16
|
first_name: z.string().describe("First name of the person").nullable().optional(),
|
|
17
17
|
linkedin_url: z.string().describe("LinkedIn profile URL").nullable().optional(),
|
|
18
18
|
phone_numbers: z.array(z.string()).describe("List of known phone numbers").nullable().optional()
|
|
19
|
-
}).describe("Model representing a person returned in the search results.");
|
|
19
|
+
}).passthrough().describe("Model representing a person returned in the search results.");
|
|
20
20
|
const RocketReachSearchPeople_StatusSchema = z.object({
|
|
21
21
|
code: z.number().int().describe("Numerical status code returned by the API").nullable(),
|
|
22
22
|
message: z.string().describe("Status message returned by the API").nullable()
|
|
23
|
-
}).describe("Model representing status information returned by the RocketReach API.");
|
|
23
|
+
}).passthrough().describe("Model representing status information returned by the RocketReach API.");
|
|
24
24
|
const rocketReachSearchPeople = action("ROCKET_REACH_SEARCH_PEOPLE", {
|
|
25
25
|
slug: "rocket_reach-search-people",
|
|
26
26
|
name: "Search People",
|
|
@@ -32,7 +32,7 @@ const rocketReachSearchPeople = action("ROCKET_REACH_SEARCH_PEOPLE", {
|
|
|
32
32
|
total: z.number().int().describe("Total number of matched results").nullable(),
|
|
33
33
|
people: z.array(RocketReachSearchPeople_PersonSchema).describe("List of people matching search criteria"),
|
|
34
34
|
status: RocketReachSearchPeople_StatusSchema.nullable()
|
|
35
|
-
}).describe("Response model containing search results for people.")
|
|
35
|
+
}).passthrough().describe("Response model containing search results for people.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { rocketReachSearchPeople };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-people.mjs","names":[],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchPeopleInput = 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 (e.g., name, title, skills, or keywords)\"),\n}).describe(\"Request model for searching people in RocketReach by name, title, or keyword.\");\nconst RocketReachSearchPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier for the person\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of known email addresses\").nullable().optional(),\n company: z.string().describe(\"Current company name\").nullable().optional(),\n headline: z.string().describe(\"Professional headline or title\").nullable().optional(),\n location: z.string().describe(\"Location of the person\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the person\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n phone_numbers: z.array(z.string()).describe(\"List of known phone numbers\").nullable().optional(),\n}).describe(\"Model representing a person returned in the search results.\");\nconst RocketReachSearchPeople_StatusSchema = z.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).describe(\"Model representing status information returned by the RocketReach API.\");\nexport const RocketReachSearchPeopleOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n people: z.array(RocketReachSearchPeople_PersonSchema).describe(\"List of people matching search criteria\"),\n status: RocketReachSearchPeople_StatusSchema.nullable(),\n}).describe(\"Response model containing search results for people.\");\n\nexport const rocketReachSearchPeople = action(\"ROCKET_REACH_SEARCH_PEOPLE\", {\n slug: \"rocket_reach-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people by name, title, or keywords. Use when you need to discover individuals matching specific criteria after obtaining an API key.\",\n input: RocketReachSearchPeopleInput,\n output: RocketReachSearchPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC3F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"search-people.mjs","names":[],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketReachSearchPeopleInput = 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 (e.g., name, title, skills, or keywords)\"),\n}).describe(\"Request model for searching people in RocketReach by name, title, or keyword.\");\nconst RocketReachSearchPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier for the person\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of known email addresses\").nullable().optional(),\n company: z.string().describe(\"Current company name\").nullable().optional(),\n headline: z.string().describe(\"Professional headline or title\").nullable().optional(),\n location: z.string().describe(\"Location of the person\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the person\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n phone_numbers: z.array(z.string()).describe(\"List of known phone numbers\").nullable().optional(),\n}).passthrough().describe(\"Model representing a person returned in the search results.\");\nconst RocketReachSearchPeople_StatusSchema = z.object({\n code: z.number().int().describe(\"Numerical status code returned by the API\").nullable(),\n message: z.string().describe(\"Status message returned by the API\").nullable(),\n}).passthrough().describe(\"Model representing status information returned by the RocketReach API.\");\nexport const RocketReachSearchPeopleOutput = z.object({\n page: z.number().int().describe(\"Page number of current results\").nullable(),\n limit: z.number().int().describe(\"Number of results per page\").nullable(),\n total: z.number().int().describe(\"Total number of matched results\").nullable(),\n people: z.array(RocketReachSearchPeople_PersonSchema).describe(\"List of people matching search criteria\"),\n status: RocketReachSearchPeople_StatusSchema.nullable(),\n}).passthrough().describe(\"Response model containing search results for people.\");\n\nexport const rocketReachSearchPeople = action(\"ROCKET_REACH_SEARCH_PEOPLE\", {\n slug: \"rocket_reach-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people by name, title, or keywords. Use when you need to discover individuals matching specific criteria after obtaining an API key.\",\n input: RocketReachSearchPeopleInput,\n output: RocketReachSearchPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC3F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC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