@keystrokehq/fullenrich 0.1.1 → 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.
Files changed (69) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-contact-data-list.cjs +3 -3
  4. package/dist/actions/create-contact-data-list.cjs.map +1 -1
  5. package/dist/actions/create-contact-data-list.d.cts +6 -7
  6. package/dist/actions/create-contact-data-list.d.cts.map +1 -1
  7. package/dist/actions/create-contact-data-list.d.mts +6 -7
  8. package/dist/actions/create-contact-data-list.d.mts.map +1 -1
  9. package/dist/actions/create-contact-data-list.mjs +3 -3
  10. package/dist/actions/create-contact-data-list.mjs.map +1 -1
  11. package/dist/actions/get-current-credit-balance.cjs +1 -1
  12. package/dist/actions/get-current-credit-balance.cjs.map +1 -1
  13. package/dist/actions/get-current-credit-balance.d.cts +2 -4
  14. package/dist/actions/get-current-credit-balance.d.cts.map +1 -1
  15. package/dist/actions/get-current-credit-balance.d.mts +2 -4
  16. package/dist/actions/get-current-credit-balance.d.mts.map +1 -1
  17. package/dist/actions/get-current-credit-balance.mjs +1 -1
  18. package/dist/actions/get-current-credit-balance.mjs.map +1 -1
  19. package/dist/actions/get-enrichment-result.cjs +67 -67
  20. package/dist/actions/get-enrichment-result.cjs.map +1 -1
  21. package/dist/actions/get-enrichment-result.d.cts +71 -153
  22. package/dist/actions/get-enrichment-result.d.cts.map +1 -1
  23. package/dist/actions/get-enrichment-result.d.mts +71 -153
  24. package/dist/actions/get-enrichment-result.d.mts.map +1 -1
  25. package/dist/actions/get-enrichment-result.mjs +67 -67
  26. package/dist/actions/get-enrichment-result.mjs.map +1 -1
  27. package/dist/actions/get-reverse-email-result.cjs +52 -52
  28. package/dist/actions/get-reverse-email-result.cjs.map +1 -1
  29. package/dist/actions/get-reverse-email-result.d.cts +56 -120
  30. package/dist/actions/get-reverse-email-result.d.mts +56 -120
  31. package/dist/actions/get-reverse-email-result.mjs +52 -52
  32. package/dist/actions/get-reverse-email-result.mjs.map +1 -1
  33. package/dist/actions/reverse-email-lookup.cjs +2 -2
  34. package/dist/actions/reverse-email-lookup.cjs.map +1 -1
  35. package/dist/actions/reverse-email-lookup.d.cts +4 -5
  36. package/dist/actions/reverse-email-lookup.d.mts +4 -5
  37. package/dist/actions/reverse-email-lookup.mjs +2 -2
  38. package/dist/actions/reverse-email-lookup.mjs.map +1 -1
  39. package/dist/actions/search-company.cjs +19 -19
  40. package/dist/actions/search-company.cjs.map +1 -1
  41. package/dist/actions/search-company.d.cts +20 -39
  42. package/dist/actions/search-company.d.cts.map +1 -1
  43. package/dist/actions/search-company.d.mts +20 -39
  44. package/dist/actions/search-company.d.mts.map +1 -1
  45. package/dist/actions/search-company.mjs +19 -19
  46. package/dist/actions/search-company.mjs.map +1 -1
  47. package/dist/actions/search-people.cjs +69 -69
  48. package/dist/actions/search-people.cjs.map +1 -1
  49. package/dist/actions/search-people.d.cts +110 -195
  50. package/dist/actions/search-people.d.mts +110 -195
  51. package/dist/actions/search-people.mjs +69 -69
  52. package/dist/actions/search-people.mjs.map +1 -1
  53. package/dist/actions/start-bulk-enrichment.cjs +3 -3
  54. package/dist/actions/start-bulk-enrichment.cjs.map +1 -1
  55. package/dist/actions/start-bulk-enrichment.d.cts +6 -7
  56. package/dist/actions/start-bulk-enrichment.d.cts.map +1 -1
  57. package/dist/actions/start-bulk-enrichment.d.mts +6 -7
  58. package/dist/actions/start-bulk-enrichment.d.mts.map +1 -1
  59. package/dist/actions/start-bulk-enrichment.mjs +3 -3
  60. package/dist/actions/start-bulk-enrichment.mjs.map +1 -1
  61. package/dist/actions/verify-api-key.cjs +1 -1
  62. package/dist/actions/verify-api-key.cjs.map +1 -1
  63. package/dist/actions/verify-api-key.d.cts +2 -4
  64. package/dist/actions/verify-api-key.d.cts.map +1 -1
  65. package/dist/actions/verify-api-key.d.mts +2 -4
  66. package/dist/actions/verify-api-key.d.mts.map +1 -1
  67. package/dist/actions/verify-api-key.mjs +1 -1
  68. package/dist/actions/verify-api-key.mjs.map +1 -1
  69. package/package.json +1 -1
@@ -4,22 +4,21 @@ import { z } from "zod";
4
4
  declare const FullenrichReverseEmailLookupInput: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  email: z.ZodString;
7
- }, z.core.$strip>>;
7
+ }, z.core.$loose>>;
8
8
  name: z.ZodString;
9
9
  webhook_url: z.ZodOptional<z.ZodString>;
10
10
  }, z.core.$strip>;
11
11
  declare const FullenrichReverseEmailLookupOutput: z.ZodObject<{
12
12
  enrichment_id: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const fullenrichReverseEmailLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  data: {
16
+ [x: string]: unknown;
16
17
  email: string;
17
18
  }[];
18
19
  name: string;
19
20
  webhook_url?: string | undefined;
20
- }, {
21
- enrichment_id: string | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
22
  //#endregion
24
23
  export { fullenrichReverseEmailLookup };
25
24
  //# sourceMappingURL=reverse-email-lookup.d.cts.map
@@ -4,22 +4,21 @@ import { z } from "zod";
4
4
  declare const FullenrichReverseEmailLookupInput: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  email: z.ZodString;
7
- }, z.core.$strip>>;
7
+ }, z.core.$loose>>;
8
8
  name: z.ZodString;
9
9
  webhook_url: z.ZodOptional<z.ZodString>;
10
10
  }, z.core.$strip>;
11
11
  declare const FullenrichReverseEmailLookupOutput: z.ZodObject<{
12
12
  enrichment_id: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const fullenrichReverseEmailLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  data: {
16
+ [x: string]: unknown;
16
17
  email: string;
17
18
  }[];
18
19
  name: string;
19
20
  webhook_url?: string | undefined;
20
- }, {
21
- enrichment_id: string | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
22
  //#endregion
24
23
  export { fullenrichReverseEmailLookup };
25
24
  //# sourceMappingURL=reverse-email-lookup.d.mts.map
@@ -5,11 +5,11 @@ const fullenrichReverseEmailLookup = action("FULLENRICH_REVERSE_EMAIL_LOOKUP", {
5
5
  name: "Reverse Email Lookup",
6
6
  description: "Tool to perform bulk reverse email lookup to retrieve full person and company profile from work or personal email addresses. Use when you have email addresses and need to enrich them with complete contact information. Results are processed asynchronously; use the returned enrichment_id to retrieve actual data.",
7
7
  input: z.object({
8
- data: z.array(z.object({ email: z.string().describe("Email address for reverse lookup (work or personal)") })).describe("Collection of email objects to process; each email lookup consumes 1 credit"),
8
+ data: z.array(z.object({ email: z.string().describe("Email address for reverse lookup (work or personal)") }).passthrough()).describe("Collection of email objects to process; each email lookup consumes 1 credit"),
9
9
  name: z.string().describe("Operation identifier for the enrichment task"),
10
10
  webhook_url: z.string().describe("Webhook URL to be triggered when enrichment is complete. Useful for n8n integrations and async processing").optional()
11
11
  }),
12
- output: z.object({ enrichment_id: z.string().describe("Unique identifier in UUID format for the bulk operation. Use this ID to retrieve enrichment results via the 'Get Reverse Email Result' endpoint").nullable() })
12
+ output: z.object({ enrichment_id: z.string().describe("Unique identifier in UUID format for the bulk operation. Use this ID to retrieve enrichment results via the 'Get Reverse Email Result' endpoint").nullable() }).passthrough()
13
13
  });
14
14
  //#endregion
15
15
  export { fullenrichReverseEmailLookup };
@@ -1 +1 @@
1
- {"version":3,"file":"reverse-email-lookup.mjs","names":[],"sources":["../../src/actions/reverse-email-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichReverseEmailLookupInput = z.object({\n data: z.array(z.object({\n email: z.string().describe(\"Email address for reverse lookup (work or personal)\"),\n})).describe(\"Collection of email objects to process; each email lookup consumes 1 credit\"),\n name: z.string().describe(\"Operation identifier for the enrichment task\"),\n webhook_url: z.string().describe(\"Webhook URL to be triggered when enrichment is complete. Useful for n8n integrations and async processing\").optional(),\n});\nexport const FullenrichReverseEmailLookupOutput = z.object({\n enrichment_id: z.string().describe(\"Unique identifier in UUID format for the bulk operation. Use this ID to retrieve enrichment results via the 'Get Reverse Email Result' endpoint\").nullable(),\n});\n\nexport const fullenrichReverseEmailLookup = action(\"FULLENRICH_REVERSE_EMAIL_LOOKUP\", {\n slug: \"fullenrich-reverse-email-lookup\",\n name: \"Reverse Email Lookup\",\n description: \"Tool to perform bulk reverse email lookup to retrieve full person and company profile from work or personal email addresses. Use when you have email addresses and need to enrich them with complete contact information. Results are processed asynchronously; use the returned enrichment_id to retrieve actual data.\",\n input: FullenrichReverseEmailLookupInput,\n output: FullenrichReverseEmailLookupOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,EAAE,OAAO,EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,CASS;CACP,QATgD,EAAE,OAAO,EACzD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,EACjM,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"reverse-email-lookup.mjs","names":[],"sources":["../../src/actions/reverse-email-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichReverseEmailLookupInput = z.object({\n data: z.array(z.object({\n email: z.string().describe(\"Email address for reverse lookup (work or personal)\"),\n}).passthrough()).describe(\"Collection of email objects to process; each email lookup consumes 1 credit\"),\n name: z.string().describe(\"Operation identifier for the enrichment task\"),\n webhook_url: z.string().describe(\"Webhook URL to be triggered when enrichment is complete. Useful for n8n integrations and async processing\").optional(),\n});\nexport const FullenrichReverseEmailLookupOutput = z.object({\n enrichment_id: z.string().describe(\"Unique identifier in UUID format for the bulk operation. Use this ID to retrieve enrichment results via the 'Get Reverse Email Result' endpoint\").nullable(),\n}).passthrough();\n\nexport const fullenrichReverseEmailLookup = action(\"FULLENRICH_REVERSE_EMAIL_LOOKUP\", {\n slug: \"fullenrich-reverse-email-lookup\",\n name: \"Reverse Email Lookup\",\n description: \"Tool to perform bulk reverse email lookup to retrieve full person and company profile from work or personal email addresses. Use when you have email addresses and need to enrich them with complete contact information. Results are processed asynchronously; use the returned enrichment_id to retrieve actual data.\",\n input: FullenrichReverseEmailLookupInput,\n output: FullenrichReverseEmailLookupOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,EAAE,OAAO,EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,6EAA6E;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,CASS;CACP,QATgD,EAAE,OAAO,EACzD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,EACjM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -17,27 +17,27 @@ const FullenrichSearchCompanyInput = zod.z.object({
17
17
  headquarters_locations: zod.z.array(zod.z.string()).describe("Filter by headquarters location. Multiple locations are combined with OR logic.").optional()
18
18
  });
19
19
  const FullenrichSearchCompany_CompanyMetadataSchema = zod.z.object({
20
- total: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Total number of companies matching the search criteria").optional()),
21
- offset: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Current offset in the result set").optional()),
22
- search_after: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Cursor for the next page of results when using cursor-based pagination").optional())
23
- });
20
+ total: zod.z.number().int().describe("Total number of companies matching the search criteria").nullable().optional(),
21
+ offset: zod.z.number().int().describe("Current offset in the result set").nullable().optional(),
22
+ search_after: zod.z.string().describe("Cursor for the next page of results when using cursor-based pagination").nullable().optional()
23
+ }).passthrough();
24
24
  const FullenrichSearchCompany_CompanySchema = zod.z.object({
25
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company name").optional()),
26
- domain: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company domain").optional()),
27
- website: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company website URL").optional()),
28
- industry: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([zod.z.string(), zod.z.object({})]).optional()),
29
- headcount: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([zod.z.string(), zod.z.number().int()]).optional()),
30
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company description").optional()),
31
- specialties: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of company specialties").optional()),
32
- company_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company type (e.g., Public Company, Privately Held)").optional()),
33
- founded_year: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Year the company was founded").optional()),
34
- linkedin_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LinkedIn company URL").optional()),
35
- headquarters_location: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company headquarters location").optional())
36
- });
25
+ name: zod.z.string().describe("Company name").nullable().optional(),
26
+ domain: zod.z.string().describe("Company domain").nullable().optional(),
27
+ website: zod.z.string().describe("Company website URL").nullable().optional(),
28
+ industry: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
29
+ headcount: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
30
+ description: zod.z.string().describe("Company description").nullable().optional(),
31
+ specialties: zod.z.array(zod.z.string()).describe("List of company specialties").nullable().optional(),
32
+ company_type: zod.z.string().describe("Company type (e.g., Public Company, Privately Held)").nullable().optional(),
33
+ founded_year: zod.z.number().int().describe("Year the company was founded").nullable().optional(),
34
+ linkedin_url: zod.z.string().describe("LinkedIn company URL").nullable().optional(),
35
+ headquarters_location: zod.z.string().describe("Company headquarters location").nullable().optional()
36
+ }).passthrough();
37
37
  const FullenrichSearchCompanyOutput = zod.z.object({
38
- metadata: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchCompany_CompanyMetadataSchema.optional()),
39
- companies: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FullenrichSearchCompany_CompanySchema).describe("List of companies matching the search criteria").optional())
40
- });
38
+ metadata: FullenrichSearchCompany_CompanyMetadataSchema.nullable().optional(),
39
+ companies: zod.z.array(FullenrichSearchCompany_CompanySchema).describe("List of companies matching the search criteria").nullable().optional()
40
+ }).passthrough();
41
41
  const fullenrichSearchCompany = require_action.action("FULLENRICH_SEARCH_COMPANY", {
42
42
  slug: "fullenrich-search-company",
43
43
  name: "Search Company",
@@ -1 +1 @@
1
- {"version":3,"file":"search-company.cjs","names":["z","action"],"sources":["../../src/actions/search-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchCompanyInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n names: z.array(z.string()).describe(\"Filter by company names. Multiple names are combined with OR logic.\").optional(),\n types: z.array(z.string()).describe(\"Filter by company types (e.g., Public Company, Privately Held, Partnership). Multiple types are combined with OR logic.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n domains: z.array(z.string()).describe(\"Filter by company domains. Multiple domains are combined with OR logic.\").optional(),\n keywords: z.array(z.string()).describe(\"Filter by keywords in company description. Multiple keywords are combined with OR logic.\").optional(),\n headcounts: z.array(z.string()).describe(\"Filter by headcount ranges. Specify as ranges (e.g., '1-10', '11-50', '51-200'). Multiple ranges are combined with OR logic.\").optional(),\n industries: z.array(z.string()).describe(\"Filter by industries. Multiple industries are combined with OR logic.\").optional(),\n specialties: z.array(z.string()).describe(\"Filter by company specialties. Multiple specialties are combined with OR logic.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets instead of offset.\").optional(),\n founded_years: z.array(z.string()).describe(\"Filter by year founded ranges. Specify as ranges (e.g., '2000-2010') or specific years. Multiple ranges are combined with OR logic.\").optional(),\n linkedin_urls: z.array(z.string()).describe(\"Filter by LinkedIn company URLs. Multiple URLs are combined with OR logic.\").optional(),\n headquarters_locations: z.array(z.string()).describe(\"Filter by headquarters location. Multiple locations are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchCompany_CompanyMetadataSchema = z.object({\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of companies matching the search criteria\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current offset in the result set\").optional()),\n search_after: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").optional()),\n});\nconst FullenrichSearchCompany_CompanySchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company name\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company domain\").optional()),\n website: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company website URL\").optional()),\n industry: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.object({})]).optional()),\n headcount: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.number().int()]).optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company description\").optional()),\n specialties: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of company specialties\").optional()),\n company_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").optional()),\n founded_year: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Year the company was founded\").optional()),\n linkedin_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn company URL\").optional()),\n headquarters_location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company headquarters location\").optional()),\n});\nexport const FullenrichSearchCompanyOutput = z.object({\n metadata: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchCompany_CompanyMetadataSchema.optional()),\n companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchCompany_CompanySchema).describe(\"List of companies matching the search criteria\").optional()),\n});\n\nexport const fullenrichSearchCompany = action(\"FULLENRICH_SEARCH_COMPANY\", {\n slug: \"fullenrich-search-company\",\n name: \"Search Company\",\n description: \"Tool to search for companies based on filters including name, domain, industry, type, headquarters location, headcount, and founded year. Multiple filters within the same field are combined with OR logic. Use when you need to find companies matching specific criteria.\",\n input: FullenrichSearchCompanyInput,\n output: FullenrichSearchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC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C,SAAS,CAAC;AAC/L,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-company.cjs","names":["z","action"],"sources":["../../src/actions/search-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchCompanyInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n names: z.array(z.string()).describe(\"Filter by company names. Multiple names are combined with OR logic.\").optional(),\n types: z.array(z.string()).describe(\"Filter by company types (e.g., Public Company, Privately Held, Partnership). Multiple types are combined with OR logic.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n domains: z.array(z.string()).describe(\"Filter by company domains. Multiple domains are combined with OR logic.\").optional(),\n keywords: z.array(z.string()).describe(\"Filter by keywords in company description. Multiple keywords are combined with OR logic.\").optional(),\n headcounts: z.array(z.string()).describe(\"Filter by headcount ranges. Specify as ranges (e.g., '1-10', '11-50', '51-200'). Multiple ranges are combined with OR logic.\").optional(),\n industries: z.array(z.string()).describe(\"Filter by industries. Multiple industries are combined with OR logic.\").optional(),\n specialties: z.array(z.string()).describe(\"Filter by company specialties. Multiple specialties are combined with OR logic.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets instead of offset.\").optional(),\n founded_years: z.array(z.string()).describe(\"Filter by year founded ranges. Specify as ranges (e.g., '2000-2010') or specific years. Multiple ranges are combined with OR logic.\").optional(),\n linkedin_urls: z.array(z.string()).describe(\"Filter by LinkedIn company URLs. Multiple URLs are combined with OR logic.\").optional(),\n headquarters_locations: z.array(z.string()).describe(\"Filter by headquarters location. Multiple locations are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchCompany_CompanyMetadataSchema = z.object({\n total: z.number().int().describe(\"Total number of companies matching the search criteria\").nullable().optional(),\n offset: z.number().int().describe(\"Current offset in the result set\").nullable().optional(),\n search_after: z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").nullable().optional(),\n}).passthrough();\nconst FullenrichSearchCompany_CompanySchema = z.object({\n name: z.string().describe(\"Company name\").nullable().optional(),\n domain: z.string().describe(\"Company domain\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n industry: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n headcount: z.union([z.string(), z.number().int()]).nullable().optional(),\n description: z.string().describe(\"Company description\").nullable().optional(),\n specialties: z.array(z.string()).describe(\"List of company specialties\").nullable().optional(),\n company_type: z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").nullable().optional(),\n founded_year: z.number().int().describe(\"Year the company was founded\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn company URL\").nullable().optional(),\n headquarters_location: z.string().describe(\"Company headquarters location\").nullable().optional(),\n}).passthrough();\nexport const FullenrichSearchCompanyOutput = z.object({\n metadata: FullenrichSearchCompany_CompanyMetadataSchema.nullable().optional(),\n companies: z.array(FullenrichSearchCompany_CompanySchema).describe(\"List of companies matching the search criteria\").nullable().optional(),\n}).passthrough();\n\nexport const fullenrichSearchCompany = action(\"FULLENRICH_SEARCH_COMPANY\", {\n slug: \"fullenrich-search-company\",\n name: \"Search Company\",\n description: \"Tool to search for companies based on filters including name, domain, industry, type, headquarters location, headcount, and founded year. Multiple filters within the same field are combined with OR logic. Use when you need to find companies matching specific criteria.\",\n input: FullenrichSearchCompanyInput,\n output: FullenrichSearchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,S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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAU,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,25 +17,25 @@ declare const FullenrichSearchCompanyInput: z.ZodObject<{
17
17
  headquarters_locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
18
  }, z.core.$strip>;
19
19
  declare const FullenrichSearchCompanyOutput: z.ZodObject<{
20
- metadata: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- search_after: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
26
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- industry: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
30
- headcount: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
31
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- specialties: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
33
- company_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
- founded_year: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
35
- linkedin_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- headquarters_location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- }, z.core.$strip>>>>;
38
- }, z.core.$strip>;
20
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ search_after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>;
25
+ companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ industry: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
30
+ headcount: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ specialties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
+ company_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ founded_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ headquarters_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ }, z.core.$loose>>>>;
38
+ }, z.core.$loose>;
39
39
  declare const fullenrichSearchCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  limit?: number | undefined;
41
41
  names?: string[] | undefined;
@@ -50,26 +50,7 @@ declare const fullenrichSearchCompany: import("@keystrokehq/action").WorkflowAct
50
50
  founded_years?: string[] | undefined;
51
51
  linkedin_urls?: string[] | undefined;
52
52
  headquarters_locations?: string[] | undefined;
53
- }, {
54
- metadata?: {
55
- total?: number | undefined;
56
- offset?: number | undefined;
57
- search_after?: string | undefined;
58
- } | undefined;
59
- companies?: {
60
- name?: string | undefined;
61
- domain?: string | undefined;
62
- website?: string | undefined;
63
- industry?: string | Record<string, never> | undefined;
64
- headcount?: string | number | undefined;
65
- description?: string | undefined;
66
- specialties?: string[] | undefined;
67
- company_type?: string | undefined;
68
- founded_year?: number | undefined;
69
- linkedin_url?: string | undefined;
70
- headquarters_location?: string | undefined;
71
- }[] | undefined;
72
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
54
  //#endregion
74
55
  export { fullenrichSearchCompany };
75
56
  //# sourceMappingURL=search-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-company.d.cts","names":[],"sources":["../../src/actions/search-company.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;wBAMlC,MAAA"}
1
+ {"version":3,"file":"search-company.d.cts","names":[],"sources":["../../src/actions/search-company.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -17,25 +17,25 @@ declare const FullenrichSearchCompanyInput: z.ZodObject<{
17
17
  headquarters_locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
18
  }, z.core.$strip>;
19
19
  declare const FullenrichSearchCompanyOutput: z.ZodObject<{
20
- metadata: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- search_after: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
26
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- industry: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>>;
30
- headcount: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
31
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- specialties: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
33
- company_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
- founded_year: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
35
- linkedin_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- headquarters_location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- }, z.core.$strip>>>>;
38
- }, z.core.$strip>;
20
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ search_after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>;
25
+ companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ industry: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
30
+ headcount: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ specialties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
+ company_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ founded_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ headquarters_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ }, z.core.$loose>>>>;
38
+ }, z.core.$loose>;
39
39
  declare const fullenrichSearchCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  limit?: number | undefined;
41
41
  names?: string[] | undefined;
@@ -50,26 +50,7 @@ declare const fullenrichSearchCompany: import("@keystrokehq/action").WorkflowAct
50
50
  founded_years?: string[] | undefined;
51
51
  linkedin_urls?: string[] | undefined;
52
52
  headquarters_locations?: string[] | undefined;
53
- }, {
54
- metadata?: {
55
- total?: number | undefined;
56
- offset?: number | undefined;
57
- search_after?: string | undefined;
58
- } | undefined;
59
- companies?: {
60
- name?: string | undefined;
61
- domain?: string | undefined;
62
- website?: string | undefined;
63
- industry?: string | Record<string, never> | undefined;
64
- headcount?: string | number | undefined;
65
- description?: string | undefined;
66
- specialties?: string[] | undefined;
67
- company_type?: string | undefined;
68
- founded_year?: number | undefined;
69
- linkedin_url?: string | undefined;
70
- headquarters_location?: string | undefined;
71
- }[] | undefined;
72
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
54
  //#endregion
74
55
  export { fullenrichSearchCompany };
75
56
  //# sourceMappingURL=search-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-company.d.mts","names":[],"sources":["../../src/actions/search-company.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;wBAMlC,MAAA"}
1
+ {"version":3,"file":"search-company.d.mts","names":[],"sources":["../../src/actions/search-company.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -17,32 +17,32 @@ const FullenrichSearchCompanyInput = z.object({
17
17
  headquarters_locations: z.array(z.string()).describe("Filter by headquarters location. Multiple locations are combined with OR logic.").optional()
18
18
  });
19
19
  const FullenrichSearchCompany_CompanyMetadataSchema = z.object({
20
- total: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Total number of companies matching the search criteria").optional()),
21
- offset: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Current offset in the result set").optional()),
22
- search_after: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Cursor for the next page of results when using cursor-based pagination").optional())
23
- });
20
+ total: z.number().int().describe("Total number of companies matching the search criteria").nullable().optional(),
21
+ offset: z.number().int().describe("Current offset in the result set").nullable().optional(),
22
+ search_after: z.string().describe("Cursor for the next page of results when using cursor-based pagination").nullable().optional()
23
+ }).passthrough();
24
24
  const FullenrichSearchCompany_CompanySchema = z.object({
25
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company name").optional()),
26
- domain: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company domain").optional()),
27
- website: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company website URL").optional()),
28
- industry: z.preprocess((value) => value === null ? void 0 : value, z.union([z.string(), z.object({})]).optional()),
29
- headcount: z.preprocess((value) => value === null ? void 0 : value, z.union([z.string(), z.number().int()]).optional()),
30
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company description").optional()),
31
- specialties: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of company specialties").optional()),
32
- company_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company type (e.g., Public Company, Privately Held)").optional()),
33
- founded_year: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Year the company was founded").optional()),
34
- linkedin_url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("LinkedIn company URL").optional()),
35
- headquarters_location: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company headquarters location").optional())
36
- });
25
+ name: z.string().describe("Company name").nullable().optional(),
26
+ domain: z.string().describe("Company domain").nullable().optional(),
27
+ website: z.string().describe("Company website URL").nullable().optional(),
28
+ industry: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
29
+ headcount: z.union([z.string(), z.number().int()]).nullable().optional(),
30
+ description: z.string().describe("Company description").nullable().optional(),
31
+ specialties: z.array(z.string()).describe("List of company specialties").nullable().optional(),
32
+ company_type: z.string().describe("Company type (e.g., Public Company, Privately Held)").nullable().optional(),
33
+ founded_year: z.number().int().describe("Year the company was founded").nullable().optional(),
34
+ linkedin_url: z.string().describe("LinkedIn company URL").nullable().optional(),
35
+ headquarters_location: z.string().describe("Company headquarters location").nullable().optional()
36
+ }).passthrough();
37
37
  const fullenrichSearchCompany = action("FULLENRICH_SEARCH_COMPANY", {
38
38
  slug: "fullenrich-search-company",
39
39
  name: "Search Company",
40
40
  description: "Tool to search for companies based on filters including name, domain, industry, type, headquarters location, headcount, and founded year. Multiple filters within the same field are combined with OR logic. Use when you need to find companies matching specific criteria.",
41
41
  input: FullenrichSearchCompanyInput,
42
42
  output: z.object({
43
- metadata: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchCompany_CompanyMetadataSchema.optional()),
44
- companies: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchCompany_CompanySchema).describe("List of companies matching the search criteria").optional())
45
- })
43
+ metadata: FullenrichSearchCompany_CompanyMetadataSchema.nullable().optional(),
44
+ companies: z.array(FullenrichSearchCompany_CompanySchema).describe("List of companies matching the search criteria").nullable().optional()
45
+ }).passthrough()
46
46
  });
47
47
  //#endregion
48
48
  export { fullenrichSearchCompany };
@@ -1 +1 @@
1
- {"version":3,"file":"search-company.mjs","names":[],"sources":["../../src/actions/search-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchCompanyInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n names: z.array(z.string()).describe(\"Filter by company names. Multiple names are combined with OR logic.\").optional(),\n types: z.array(z.string()).describe(\"Filter by company types (e.g., Public Company, Privately Held, Partnership). Multiple types are combined with OR logic.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n domains: z.array(z.string()).describe(\"Filter by company domains. Multiple domains are combined with OR logic.\").optional(),\n keywords: z.array(z.string()).describe(\"Filter by keywords in company description. Multiple keywords are combined with OR logic.\").optional(),\n headcounts: z.array(z.string()).describe(\"Filter by headcount ranges. Specify as ranges (e.g., '1-10', '11-50', '51-200'). Multiple ranges are combined with OR logic.\").optional(),\n industries: z.array(z.string()).describe(\"Filter by industries. Multiple industries are combined with OR logic.\").optional(),\n specialties: z.array(z.string()).describe(\"Filter by company specialties. Multiple specialties are combined with OR logic.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets instead of offset.\").optional(),\n founded_years: z.array(z.string()).describe(\"Filter by year founded ranges. Specify as ranges (e.g., '2000-2010') or specific years. Multiple ranges are combined with OR logic.\").optional(),\n linkedin_urls: z.array(z.string()).describe(\"Filter by LinkedIn company URLs. Multiple URLs are combined with OR logic.\").optional(),\n headquarters_locations: z.array(z.string()).describe(\"Filter by headquarters location. Multiple locations are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchCompany_CompanyMetadataSchema = z.object({\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of companies matching the search criteria\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current offset in the result set\").optional()),\n search_after: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").optional()),\n});\nconst FullenrichSearchCompany_CompanySchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company name\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company domain\").optional()),\n website: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company website URL\").optional()),\n industry: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.object({})]).optional()),\n headcount: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.number().int()]).optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company description\").optional()),\n specialties: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of company specialties\").optional()),\n company_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").optional()),\n founded_year: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Year the company was founded\").optional()),\n linkedin_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn company URL\").optional()),\n headquarters_location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company headquarters location\").optional()),\n});\nexport const FullenrichSearchCompanyOutput = z.object({\n metadata: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchCompany_CompanyMetadataSchema.optional()),\n companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchCompany_CompanySchema).describe(\"List of companies matching the search criteria\").optional()),\n});\n\nexport const fullenrichSearchCompany = action(\"FULLENRICH_SEARCH_COMPANY\", {\n slug: \"fullenrich-search-company\",\n name: \"Search Company\",\n description: \"Tool to search for companies based on filters including name, domain, industry, type, headquarters location, headcount, and founded year. Multiple filters within the same field are combined with OR logic. Use when you need to find companies matching specific criteria.\",\n input: FullenrichSearchCompanyInput,\n output: FullenrichSearchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACxK,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC5I,YAAY,EAAE,MAA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C;AACtJ,CAAC;AAMD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,8CAA8C,SAAS,CAAC;EAChI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CAC/L,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"search-company.mjs","names":[],"sources":["../../src/actions/search-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchCompanyInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n names: z.array(z.string()).describe(\"Filter by company names. Multiple names are combined with OR logic.\").optional(),\n types: z.array(z.string()).describe(\"Filter by company types (e.g., Public Company, Privately Held, Partnership). Multiple types are combined with OR logic.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n domains: z.array(z.string()).describe(\"Filter by company domains. Multiple domains are combined with OR logic.\").optional(),\n keywords: z.array(z.string()).describe(\"Filter by keywords in company description. Multiple keywords are combined with OR logic.\").optional(),\n headcounts: z.array(z.string()).describe(\"Filter by headcount ranges. Specify as ranges (e.g., '1-10', '11-50', '51-200'). Multiple ranges are combined with OR logic.\").optional(),\n industries: z.array(z.string()).describe(\"Filter by industries. Multiple industries are combined with OR logic.\").optional(),\n specialties: z.array(z.string()).describe(\"Filter by company specialties. Multiple specialties are combined with OR logic.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets instead of offset.\").optional(),\n founded_years: z.array(z.string()).describe(\"Filter by year founded ranges. Specify as ranges (e.g., '2000-2010') or specific years. Multiple ranges are combined with OR logic.\").optional(),\n linkedin_urls: z.array(z.string()).describe(\"Filter by LinkedIn company URLs. Multiple URLs are combined with OR logic.\").optional(),\n headquarters_locations: z.array(z.string()).describe(\"Filter by headquarters location. Multiple locations are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchCompany_CompanyMetadataSchema = z.object({\n total: z.number().int().describe(\"Total number of companies matching the search criteria\").nullable().optional(),\n offset: z.number().int().describe(\"Current offset in the result set\").nullable().optional(),\n search_after: z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").nullable().optional(),\n}).passthrough();\nconst FullenrichSearchCompany_CompanySchema = z.object({\n name: z.string().describe(\"Company name\").nullable().optional(),\n domain: z.string().describe(\"Company domain\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n industry: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n headcount: z.union([z.string(), z.number().int()]).nullable().optional(),\n description: z.string().describe(\"Company description\").nullable().optional(),\n specialties: z.array(z.string()).describe(\"List of company specialties\").nullable().optional(),\n company_type: z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").nullable().optional(),\n founded_year: z.number().int().describe(\"Year the company was founded\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn company URL\").nullable().optional(),\n headquarters_location: z.string().describe(\"Company headquarters location\").nullable().optional(),\n}).passthrough();\nexport const FullenrichSearchCompanyOutput = z.object({\n metadata: FullenrichSearchCompany_CompanyMetadataSchema.nullable().optional(),\n companies: z.array(FullenrichSearchCompany_CompanySchema).describe(\"List of companies matching the search criteria\").nullable().optional(),\n}).passthrough();\n\nexport const fullenrichSearchCompany = action(\"FULLENRICH_SEARCH_COMPANY\", {\n slug: \"fullenrich-search-company\",\n name: \"Search Company\",\n description: \"Tool to search for companies based on filters including name, domain, industry, type, headquarters location, headcount, and founded year. Multiple filters within the same field are combined with OR logic. Use when you need to find companies matching specific criteria.\",\n input: FullenrichSearchCompanyInput,\n output: FullenrichSearchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO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