@keystrokehq/peopledatalabs 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/README.md +2 -2
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/clean-company-data.cjs +3 -3
  5. package/dist/actions/clean-company-data.cjs.map +1 -1
  6. package/dist/actions/clean-company-data.d.cts +118 -3
  7. package/dist/actions/clean-company-data.d.cts.map +1 -1
  8. package/dist/actions/clean-company-data.d.mts +118 -3
  9. package/dist/actions/clean-company-data.d.mts.map +1 -1
  10. package/dist/actions/clean-company-data.mjs +3 -3
  11. package/dist/actions/clean-company-data.mjs.map +1 -1
  12. package/dist/actions/clean-company-post.cjs.map +1 -1
  13. package/dist/actions/clean-company-post.d.cts +45 -3
  14. package/dist/actions/clean-company-post.d.cts.map +1 -1
  15. package/dist/actions/clean-company-post.d.mts +45 -3
  16. package/dist/actions/clean-company-post.d.mts.map +1 -1
  17. package/dist/actions/clean-company-post.mjs.map +1 -1
  18. package/dist/actions/clean-location-data.cjs.map +1 -1
  19. package/dist/actions/clean-location-data.d.cts +20 -3
  20. package/dist/actions/clean-location-data.d.cts.map +1 -1
  21. package/dist/actions/clean-location-data.d.mts +20 -3
  22. package/dist/actions/clean-location-data.d.mts.map +1 -1
  23. package/dist/actions/clean-location-data.mjs.map +1 -1
  24. package/dist/actions/clean-location-post.cjs.map +1 -1
  25. package/dist/actions/clean-location-post.d.cts +18 -3
  26. package/dist/actions/clean-location-post.d.cts.map +1 -1
  27. package/dist/actions/clean-location-post.d.mts +18 -3
  28. package/dist/actions/clean-location-post.d.mts.map +1 -1
  29. package/dist/actions/clean-location-post.mjs.map +1 -1
  30. package/dist/actions/clean-school-data-post.cjs.map +1 -1
  31. package/dist/actions/clean-school-data-post.d.cts +30 -3
  32. package/dist/actions/clean-school-data-post.d.cts.map +1 -1
  33. package/dist/actions/clean-school-data-post.d.mts +30 -3
  34. package/dist/actions/clean-school-data-post.d.mts.map +1 -1
  35. package/dist/actions/clean-school-data-post.mjs.map +1 -1
  36. package/dist/actions/clean-school-data.cjs.map +1 -1
  37. package/dist/actions/clean-school-data.d.cts +30 -3
  38. package/dist/actions/clean-school-data.d.cts.map +1 -1
  39. package/dist/actions/clean-school-data.d.mts +30 -3
  40. package/dist/actions/clean-school-data.d.mts.map +1 -1
  41. package/dist/actions/clean-school-data.mjs.map +1 -1
  42. package/dist/actions/enrich-bulk-company-data.cjs +1 -1
  43. package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
  44. package/dist/actions/enrich-bulk-company-data.d.cts +41 -3
  45. package/dist/actions/enrich-bulk-company-data.d.cts.map +1 -1
  46. package/dist/actions/enrich-bulk-company-data.d.mts +41 -3
  47. package/dist/actions/enrich-bulk-company-data.d.mts.map +1 -1
  48. package/dist/actions/enrich-bulk-company-data.mjs +1 -1
  49. package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
  50. package/dist/actions/enrich-bulk-person-data.cjs +1 -1
  51. package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
  52. package/dist/actions/enrich-bulk-person-data.d.cts +305 -3
  53. package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
  54. package/dist/actions/enrich-bulk-person-data.d.mts +305 -3
  55. package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
  56. package/dist/actions/enrich-bulk-person-data.mjs +1 -1
  57. package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
  58. package/dist/actions/enrich-company-data.cjs +3 -3
  59. package/dist/actions/enrich-company-data.cjs.map +1 -1
  60. package/dist/actions/enrich-company-data.d.cts +170 -3
  61. package/dist/actions/enrich-company-data.d.cts.map +1 -1
  62. package/dist/actions/enrich-company-data.d.mts +170 -3
  63. package/dist/actions/enrich-company-data.d.mts.map +1 -1
  64. package/dist/actions/enrich-company-data.mjs +3 -3
  65. package/dist/actions/enrich-company-data.mjs.map +1 -1
  66. package/dist/actions/enrich-ip-data.cjs +14 -14
  67. package/dist/actions/enrich-ip-data.cjs.map +1 -1
  68. package/dist/actions/enrich-ip-data.d.cts +82 -3
  69. package/dist/actions/enrich-ip-data.d.cts.map +1 -1
  70. package/dist/actions/enrich-ip-data.d.mts +82 -3
  71. package/dist/actions/enrich-ip-data.d.mts.map +1 -1
  72. package/dist/actions/enrich-ip-data.mjs +14 -14
  73. package/dist/actions/enrich-ip-data.mjs.map +1 -1
  74. package/dist/actions/enrich-job-title-data.cjs +1 -1
  75. package/dist/actions/enrich-job-title-data.cjs.map +1 -1
  76. package/dist/actions/enrich-job-title-data.d.cts +11 -3
  77. package/dist/actions/enrich-job-title-data.d.cts.map +1 -1
  78. package/dist/actions/enrich-job-title-data.d.mts +11 -3
  79. package/dist/actions/enrich-job-title-data.d.mts.map +1 -1
  80. package/dist/actions/enrich-job-title-data.mjs +1 -1
  81. package/dist/actions/enrich-job-title-data.mjs.map +1 -1
  82. package/dist/actions/enrich-person-data.cjs +2 -2
  83. package/dist/actions/enrich-person-data.cjs.map +1 -1
  84. package/dist/actions/enrich-person-data.d.cts +297 -3
  85. package/dist/actions/enrich-person-data.d.cts.map +1 -1
  86. package/dist/actions/enrich-person-data.d.mts +297 -3
  87. package/dist/actions/enrich-person-data.d.mts.map +1 -1
  88. package/dist/actions/enrich-person-data.mjs +2 -2
  89. package/dist/actions/enrich-person-data.mjs.map +1 -1
  90. package/dist/actions/enrich-skill-data.cjs +1 -1
  91. package/dist/actions/enrich-skill-data.cjs.map +1 -1
  92. package/dist/actions/enrich-skill-data.d.cts +11 -3
  93. package/dist/actions/enrich-skill-data.d.cts.map +1 -1
  94. package/dist/actions/enrich-skill-data.d.mts +11 -3
  95. package/dist/actions/enrich-skill-data.d.mts.map +1 -1
  96. package/dist/actions/enrich-skill-data.mjs +1 -1
  97. package/dist/actions/enrich-skill-data.mjs.map +1 -1
  98. package/dist/actions/get-autocomplete-suggestions-post.cjs +3 -3
  99. package/dist/actions/get-autocomplete-suggestions-post.cjs.map +1 -1
  100. package/dist/actions/get-autocomplete-suggestions-post.d.cts +49 -3
  101. package/dist/actions/get-autocomplete-suggestions-post.d.cts.map +1 -1
  102. package/dist/actions/get-autocomplete-suggestions-post.d.mts +49 -3
  103. package/dist/actions/get-autocomplete-suggestions-post.d.mts.map +1 -1
  104. package/dist/actions/get-autocomplete-suggestions-post.mjs +3 -3
  105. package/dist/actions/get-autocomplete-suggestions-post.mjs.map +1 -1
  106. package/dist/actions/get-autocomplete-suggestions.cjs +2 -2
  107. package/dist/actions/get-autocomplete-suggestions.cjs.map +1 -1
  108. package/dist/actions/get-autocomplete-suggestions.d.cts +36 -3
  109. package/dist/actions/get-autocomplete-suggestions.d.cts.map +1 -1
  110. package/dist/actions/get-autocomplete-suggestions.d.mts +36 -3
  111. package/dist/actions/get-autocomplete-suggestions.d.mts.map +1 -1
  112. package/dist/actions/get-autocomplete-suggestions.mjs +2 -2
  113. package/dist/actions/get-autocomplete-suggestions.mjs.map +1 -1
  114. package/dist/actions/get-column-details.cjs +2 -2
  115. package/dist/actions/get-column-details.cjs.map +1 -1
  116. package/dist/actions/get-column-details.d.cts +15 -3
  117. package/dist/actions/get-column-details.d.cts.map +1 -1
  118. package/dist/actions/get-column-details.d.mts +15 -3
  119. package/dist/actions/get-column-details.d.mts.map +1 -1
  120. package/dist/actions/get-column-details.mjs +2 -2
  121. package/dist/actions/get-column-details.mjs.map +1 -1
  122. package/dist/actions/get-schema.cjs +3 -3
  123. package/dist/actions/get-schema.cjs.map +1 -1
  124. package/dist/actions/get-schema.d.cts +14 -3
  125. package/dist/actions/get-schema.d.cts.map +1 -1
  126. package/dist/actions/get-schema.d.mts +14 -3
  127. package/dist/actions/get-schema.d.mts.map +1 -1
  128. package/dist/actions/get-schema.mjs +3 -3
  129. package/dist/actions/get-schema.mjs.map +1 -1
  130. package/dist/actions/get-subject-requests.cjs +2 -2
  131. package/dist/actions/get-subject-requests.cjs.map +1 -1
  132. package/dist/actions/get-subject-requests.d.cts +6 -3
  133. package/dist/actions/get-subject-requests.d.cts.map +1 -1
  134. package/dist/actions/get-subject-requests.d.mts +6 -3
  135. package/dist/actions/get-subject-requests.d.mts.map +1 -1
  136. package/dist/actions/get-subject-requests.mjs +2 -2
  137. package/dist/actions/get-subject-requests.mjs.map +1 -1
  138. package/dist/actions/identify-person-data.cjs +1 -1
  139. package/dist/actions/identify-person-data.cjs.map +1 -1
  140. package/dist/actions/identify-person-data.d.cts +126 -3
  141. package/dist/actions/identify-person-data.d.cts.map +1 -1
  142. package/dist/actions/identify-person-data.d.mts +126 -3
  143. package/dist/actions/identify-person-data.d.mts.map +1 -1
  144. package/dist/actions/identify-person-data.mjs +1 -1
  145. package/dist/actions/identify-person-data.mjs.map +1 -1
  146. package/dist/actions/index.cjs +0 -2
  147. package/dist/actions/index.d.cts +1 -2
  148. package/dist/actions/index.d.mts +1 -2
  149. package/dist/actions/index.mjs +1 -2
  150. package/dist/actions/people-search-elastic.cjs +3 -3
  151. package/dist/actions/people-search-elastic.cjs.map +1 -1
  152. package/dist/actions/people-search-elastic.d.cts +178 -3
  153. package/dist/actions/people-search-elastic.d.cts.map +1 -1
  154. package/dist/actions/people-search-elastic.d.mts +178 -3
  155. package/dist/actions/people-search-elastic.d.mts.map +1 -1
  156. package/dist/actions/people-search-elastic.mjs +3 -3
  157. package/dist/actions/people-search-elastic.mjs.map +1 -1
  158. package/dist/actions/query-person-changelog.cjs +1 -1
  159. package/dist/actions/query-person-changelog.cjs.map +1 -1
  160. package/dist/actions/query-person-changelog.d.cts +36 -3
  161. package/dist/actions/query-person-changelog.d.cts.map +1 -1
  162. package/dist/actions/query-person-changelog.d.mts +36 -3
  163. package/dist/actions/query-person-changelog.d.mts.map +1 -1
  164. package/dist/actions/query-person-changelog.mjs +1 -1
  165. package/dist/actions/query-person-changelog.mjs.map +1 -1
  166. package/dist/actions/search-company-elastic.cjs +3 -3
  167. package/dist/actions/search-company-elastic.cjs.map +1 -1
  168. package/dist/actions/search-company-elastic.d.cts +193 -3
  169. package/dist/actions/search-company-elastic.d.cts.map +1 -1
  170. package/dist/actions/search-company-elastic.d.mts +193 -3
  171. package/dist/actions/search-company-elastic.d.mts.map +1 -1
  172. package/dist/actions/search-company-elastic.mjs +3 -3
  173. package/dist/actions/search-company-elastic.mjs.map +1 -1
  174. package/dist/actions/search-company-post.cjs +1 -1
  175. package/dist/actions/search-company-post.cjs.map +1 -1
  176. package/dist/actions/search-company-post.d.cts +56 -3
  177. package/dist/actions/search-company-post.d.cts.map +1 -1
  178. package/dist/actions/search-company-post.d.mts +56 -3
  179. package/dist/actions/search-company-post.d.mts.map +1 -1
  180. package/dist/actions/search-company-post.mjs +1 -1
  181. package/dist/actions/search-company-post.mjs.map +1 -1
  182. package/dist/catalog.cjs +7 -1
  183. package/dist/catalog.cjs.map +1 -1
  184. package/dist/catalog.d.cts +8 -0
  185. package/dist/catalog.d.mts +8 -0
  186. package/dist/catalog.mjs +7 -1
  187. package/dist/catalog.mjs.map +1 -1
  188. package/dist/execute.cjs +1 -1
  189. package/dist/execute.cjs.map +1 -1
  190. package/dist/execute.mjs +1 -1
  191. package/dist/execute.mjs.map +1 -1
  192. package/dist/index.cjs +0 -2
  193. package/dist/index.d.cts +1 -2
  194. package/dist/index.d.mts +1 -2
  195. package/dist/index.mjs +1 -2
  196. package/package.json +2 -2
  197. package/dist/actions/generate-search-query.cjs +0 -16
  198. package/dist/actions/generate-search-query.cjs.map +0 -1
  199. package/dist/actions/generate-search-query.d.cts +0 -9
  200. package/dist/actions/generate-search-query.d.cts.map +0 -1
  201. package/dist/actions/generate-search-query.d.mts +0 -9
  202. package/dist/actions/generate-search-query.d.mts.map +0 -1
  203. package/dist/actions/generate-search-query.mjs +0 -13
  204. package/dist/actions/generate-search-query.mjs.map +0 -1
@@ -14,28 +14,28 @@ const PeopledatalabsEnrichIpDataInput = zod.z.object({
14
14
  });
15
15
  const PeopledatalabsEnrichIpData_IPLocationSchema = zod.z.object({
16
16
  geo: zod.z.string().describe("Geographic coordinates in the format 'latitude, longitude'").nullable().optional(),
17
- name: zod.z.string().describe("Formatted location name in the pattern 'locality, region, country'"),
17
+ name: zod.z.string().describe("Formatted location name in the pattern 'locality, region, country'").nullable(),
18
18
  metro: zod.z.string().describe("US-only metro area designation").nullable().optional(),
19
19
  region: zod.z.string().describe("State or province name").nullable().optional(),
20
- country: zod.z.string().describe("Standardized country name"),
20
+ country: zod.z.string().describe("Standardized country name").nullable(),
21
21
  locality: zod.z.string().describe("City or town name").nullable().optional(),
22
- timezone: zod.z.string().describe("Lowercase timezone value"),
23
- continent: zod.z.string().describe("Standardized continent name"),
22
+ timezone: zod.z.string().describe("Lowercase timezone value").nullable(),
23
+ continent: zod.z.string().describe("Standardized continent name").nullable(),
24
24
  postal_code: zod.z.string().describe("ZIP or postal code").nullable().optional()
25
25
  }).describe("The geographic location associated with the IP address");
26
26
  const PeopledatalabsEnrichIpData_IPMetadataSchema = zod.z.object({
27
- tor: zod.z.boolean().describe("If the IP is a known Tor address"),
28
- vpn: zod.z.boolean().describe("If the IP is a known VPN address"),
29
- proxy: zod.z.boolean().describe("If the IP is a known proxy address"),
30
- relay: zod.z.boolean().describe("If the IP is a known relay address"),
31
- mobile: zod.z.boolean().describe("If the IP is a known mobile address"),
32
- hosting: zod.z.boolean().describe("If the IP is a known hosting address"),
27
+ tor: zod.z.boolean().describe("If the IP is a known Tor address").nullable(),
28
+ vpn: zod.z.boolean().describe("If the IP is a known VPN address").nullable(),
29
+ proxy: zod.z.boolean().describe("If the IP is a known proxy address").nullable(),
30
+ relay: zod.z.boolean().describe("If the IP is a known relay address").nullable(),
31
+ mobile: zod.z.boolean().describe("If the IP is a known mobile address").nullable(),
32
+ hosting: zod.z.boolean().describe("If the IP is a known hosting address").nullable(),
33
33
  service: zod.z.string().describe("Service name if identifiable, returns null if unknown").nullable().optional(),
34
- version: zod.z.number().int().describe("IPv4 (4) or IPv6 (6) type indicator"),
34
+ version: zod.z.number().int().describe("IPv4 (4) or IPv6 (6) type indicator").nullable(),
35
35
  asn_domain: zod.z.string().describe("The domain associated with the ASN block, returns null if unknown").nullable().optional()
36
36
  }).describe("Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services");
37
37
  const PeopledatalabsEnrichIpData_IPAddressSchema = zod.z.object({
38
- address: zod.z.string().describe("The matched IP address after validation"),
38
+ address: zod.z.string().describe("The matched IP address after validation").nullable(),
39
39
  location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),
40
40
  metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional()
41
41
  }).describe("IP address information with metadata and location details");
@@ -73,11 +73,11 @@ const PeopledatalabsEnrichIpData_IPEnrichmentDataSchema = zod.z.object({
73
73
  ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),
74
74
  person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),
75
75
  company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),
76
- dataset_version: zod.z.string().describe("Release version identifier of the data build")
76
+ dataset_version: zod.z.string().describe("Release version identifier of the data build").nullable()
77
77
  }).describe("Container for all response information including IP, company, person, and version data");
78
78
  const PeopledatalabsEnrichIpDataOutput = zod.z.object({
79
79
  data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),
80
- status: zod.z.number().int().describe("The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)")
80
+ status: zod.z.number().int().describe("The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)").nullable()
81
81
  }).describe("Response from the IP Enrichment API");
82
82
  const peopledatalabsEnrichIpData = require_action.action("PEOPLEDATALABS_ENRICH_IP_DATA", {
83
83
  slug: "peopledatalabs-enrich-ip-data",
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-ip-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-ip-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichIpDataInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"The IP address to enrich. Must be a valid IPv4 or IPv6 address string.\"),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response will be formatted with human-readable indentation for easier manual inspection.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, relevant string values in the response data (e.g., names, locations) will be converted to title case.\").optional(),\n return_person: z.boolean().default(false).describe(\"If true, attempts to include person data associated with the IP address, provided a match is found.\").optional(),\n min_confidence: z.string().describe(\"Specifies the minimum confidence level required for a company match to be returned. Matches below this threshold are excluded. If unspecified, the API's default (often 'very low') is used. Accepted values: `very low`, `low`, `medium`, `high`, `very high`.\").optional(),\n return_ip_location: z.boolean().default(false).describe(\"If true, includes location data specific to the IP address (e.g., city, region, country, GPS coordinates).\").optional(),\n return_ip_metadata: z.boolean().default(false).describe(\"If true, includes metadata specific to the IP address (e.g., connection type, line speed, ISP).\").optional(),\n return_if_unmatched: z.boolean().default(false).describe(\"If true, IP-specific data (like location or metadata if requested) will be returned even if no company profile is matched to the IP.\").optional(),\n updated_title_roles: z.boolean().default(false).describe(\"If true, the API will use an updated taxonomy for job title roles in the response. Refer to People Data Labs documentation for specifics on this taxonomy.\").optional(),\n});\nconst PeopledatalabsEnrichIpData_IPLocationSchema: z.ZodTypeAny = z.object({\n geo: z.string().describe(\"Geographic coordinates in the format 'latitude, longitude'\").nullable().optional(),\n name: z.string().describe(\"Formatted location name in the pattern 'locality, region, country'\"),\n metro: z.string().describe(\"US-only metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Standardized country name\"),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Lowercase timezone value\"),\n continent: z.string().describe(\"Standardized continent name\"),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"The geographic location associated with the IP address\");\nconst PeopledatalabsEnrichIpData_IPMetadataSchema: z.ZodTypeAny = z.object({\n tor: z.boolean().describe(\"If the IP is a known Tor address\"),\n vpn: z.boolean().describe(\"If the IP is a known VPN address\"),\n proxy: z.boolean().describe(\"If the IP is a known proxy address\"),\n relay: z.boolean().describe(\"If the IP is a known relay address\"),\n mobile: z.boolean().describe(\"If the IP is a known mobile address\"),\n hosting: z.boolean().describe(\"If the IP is a known hosting address\"),\n service: z.string().describe(\"Service name if identifiable, returns null if unknown\").nullable().optional(),\n version: z.number().int().describe(\"IPv4 (4) or IPv6 (6) type indicator\"),\n asn_domain: z.string().describe(\"The domain associated with the ASN block, returns null if unknown\").nullable().optional(),\n}).describe(\"Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services\");\nconst PeopledatalabsEnrichIpData_IPAddressSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"The matched IP address after validation\"),\n location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),\n metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional(),\n}).describe(\"IP address information with metadata and location details\");\nconst PeopledatalabsEnrichIpData_PersonSchema: z.ZodTypeAny = z.object({\n confidence: z.string().describe(\"Confidence level of the person match: very high, high, moderate, low, or very low\").nullable().optional(),\n job_title_role: z.string().describe(\"The derived role of the person's current job title\").nullable().optional(),\n job_title_levels: z.array(z.string()).describe(\"The derived hierarchical level(s) of the person's current job title\").nullable().optional(),\n job_title_sub_role: z.string().describe(\"The derived subrole of the person's current job title\").nullable().optional(),\n}).describe(\"Person information when an individual can be matched to the IP address\");\nconst PeopledatalabsEnrichIpData_CompanyLocationSchema: z.ZodTypeAny = z.object({\n geo: z.string().describe(\"Geographic coordinates\").nullable().optional(),\n name: z.string().describe(\"Formatted location name\").nullable().optional(),\n metro: z.string().describe(\"Metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Timezone value\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"Company headquarters location with full address details\");\nconst PeopledatalabsEnrichIpData_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"People Data Labs unique company identifier\").nullable().optional(),\n name: z.string().describe(\"Company name in lowercase format\").nullable().optional(),\n size: z.string().describe(\"Employee range indicating company size (e.g., '11-50', '51-200')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Descriptive business category tags\").nullable().optional(),\n website: z.string().describe(\"Primary company website URL\").nullable().optional(),\n industry: z.string().describe(\"Company industry classification\").nullable().optional(),\n location: PeopledatalabsEnrichIpData_CompanyLocationSchema.nullable().optional(),\n confidence: z.string().describe(\"Confidence level of the company match: very high, high, moderate, low, or very low\").nullable().optional(),\n display_name: z.string().describe(\"Properly formatted company name with correct capitalization\").nullable().optional(),\n employee_count: z.number().int().describe(\"Current employee headcount\").nullable().optional(),\n inferred_revenue: z.string().describe(\"Estimated annual revenue range in USD\").nullable().optional(),\n}).describe(\"Company associated with the IP address, including headquarters location and business details\");\nconst PeopledatalabsEnrichIpData_IPEnrichmentDataSchema: z.ZodTypeAny = z.object({\n ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),\n person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),\n company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),\n dataset_version: z.string().describe(\"Release version identifier of the data build\"),\n}).describe(\"Container for all response information including IP, company, person, and version data\");\nexport const PeopledatalabsEnrichIpDataOutput: z.ZodTypeAny = z.object({\n data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),\n status: z.number().int().describe(\"The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)\"),\n}).describe(\"Response from the IP Enrichment API\");\n\nexport const peopledatalabsEnrichIpData = action(\"PEOPLEDATALABS_ENRICH_IP_DATA\", {\n slug: \"peopledatalabs-enrich-ip-data\",\n name: \"Enrich IP Data\",\n description: \"Enriches an IP address with company, location, metadata, and person data from People Data Labs.\",\n input: Peopledat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cA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAI,2CAA2C,SAAS;CACxD,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACrF,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAM,kDAAkD,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;AACzH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"enrich-ip-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-ip-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichIpDataInput = z.object({\n ip: z.string().describe(\"The IP address to enrich. Must be a valid IPv4 or IPv6 address string.\"),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response will be formatted with human-readable indentation for easier manual inspection.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, relevant string values in the response data (e.g., names, locations) will be converted to title case.\").optional(),\n return_person: z.boolean().default(false).describe(\"If true, attempts to include person data associated with the IP address, provided a match is found.\").optional(),\n min_confidence: z.string().describe(\"Specifies the minimum confidence level required for a company match to be returned. Matches below this threshold are excluded. If unspecified, the API's default (often 'very low') is used. Accepted values: `very low`, `low`, `medium`, `high`, `very high`.\").optional(),\n return_ip_location: z.boolean().default(false).describe(\"If true, includes location data specific to the IP address (e.g., city, region, country, GPS coordinates).\").optional(),\n return_ip_metadata: z.boolean().default(false).describe(\"If true, includes metadata specific to the IP address (e.g., connection type, line speed, ISP).\").optional(),\n return_if_unmatched: z.boolean().default(false).describe(\"If true, IP-specific data (like location or metadata if requested) will be returned even if no company profile is matched to the IP.\").optional(),\n updated_title_roles: z.boolean().default(false).describe(\"If true, the API will use an updated taxonomy for job title roles in the response. Refer to People Data Labs documentation for specifics on this taxonomy.\").optional(),\n});\nconst PeopledatalabsEnrichIpData_IPLocationSchema = z.object({\n geo: z.string().describe(\"Geographic coordinates in the format 'latitude, longitude'\").nullable().optional(),\n name: z.string().describe(\"Formatted location name in the pattern 'locality, region, country'\").nullable(),\n metro: z.string().describe(\"US-only metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Standardized country name\").nullable(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Lowercase timezone value\").nullable(),\n continent: z.string().describe(\"Standardized continent name\").nullable(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"The geographic location associated with the IP address\");\nconst PeopledatalabsEnrichIpData_IPMetadataSchema = z.object({\n tor: z.boolean().describe(\"If the IP is a known Tor address\").nullable(),\n vpn: z.boolean().describe(\"If the IP is a known VPN address\").nullable(),\n proxy: z.boolean().describe(\"If the IP is a known proxy address\").nullable(),\n relay: z.boolean().describe(\"If the IP is a known relay address\").nullable(),\n mobile: z.boolean().describe(\"If the IP is a known mobile address\").nullable(),\n hosting: z.boolean().describe(\"If the IP is a known hosting address\").nullable(),\n service: z.string().describe(\"Service name if identifiable, returns null if unknown\").nullable().optional(),\n version: z.number().int().describe(\"IPv4 (4) or IPv6 (6) type indicator\").nullable(),\n asn_domain: z.string().describe(\"The domain associated with the ASN block, returns null if unknown\").nullable().optional(),\n}).describe(\"Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services\");\nconst PeopledatalabsEnrichIpData_IPAddressSchema = z.object({\n address: z.string().describe(\"The matched IP address after validation\").nullable(),\n location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),\n metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional(),\n}).describe(\"IP address information with metadata and location details\");\nconst PeopledatalabsEnrichIpData_PersonSchema = z.object({\n confidence: z.string().describe(\"Confidence level of the person match: very high, high, moderate, low, or very low\").nullable().optional(),\n job_title_role: z.string().describe(\"The derived role of the person's current job title\").nullable().optional(),\n job_title_levels: z.array(z.string()).describe(\"The derived hierarchical level(s) of the person's current job title\").nullable().optional(),\n job_title_sub_role: z.string().describe(\"The derived subrole of the person's current job title\").nullable().optional(),\n}).describe(\"Person information when an individual can be matched to the IP address\");\nconst PeopledatalabsEnrichIpData_CompanyLocationSchema = z.object({\n geo: z.string().describe(\"Geographic coordinates\").nullable().optional(),\n name: z.string().describe(\"Formatted location name\").nullable().optional(),\n metro: z.string().describe(\"Metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Timezone value\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"Company headquarters location with full address details\");\nconst PeopledatalabsEnrichIpData_CompanySchema = z.object({\n id: z.string().describe(\"People Data Labs unique company identifier\").nullable().optional(),\n name: z.string().describe(\"Company name in lowercase format\").nullable().optional(),\n size: z.string().describe(\"Employee range indicating company size (e.g., '11-50', '51-200')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Descriptive business category tags\").nullable().optional(),\n website: z.string().describe(\"Primary company website URL\").nullable().optional(),\n industry: z.string().describe(\"Company industry classification\").nullable().optional(),\n location: PeopledatalabsEnrichIpData_CompanyLocationSchema.nullable().optional(),\n confidence: z.string().describe(\"Confidence level of the company match: very high, high, moderate, low, or very low\").nullable().optional(),\n display_name: z.string().describe(\"Properly formatted company name with correct capitalization\").nullable().optional(),\n employee_count: z.number().int().describe(\"Current employee headcount\").nullable().optional(),\n inferred_revenue: z.string().describe(\"Estimated annual revenue range in USD\").nullable().optional(),\n}).describe(\"Company associated with the IP address, including headquarters location and business details\");\nconst PeopledatalabsEnrichIpData_IPEnrichmentDataSchema = z.object({\n ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),\n person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),\n company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),\n dataset_version: z.string().describe(\"Release version identifier of the data build\").nullable(),\n}).describe(\"Container for all response information including IP, company, person, and version data\");\nexport const PeopledatalabsEnrichIpDataOutput = z.object({\n data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),\n status: z.number().int().describe(\"The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)\").nullable(),\n}).describe(\"Response from the IP Enrichment API\");\n\nexport const peopledatalabsEnrichIpData = action(\"PEOPLEDATALABS_ENRICH_IP_DATA\", {\n slug: \"peopledatalabs-enrich-ip-data\",\n name: \"Enrich IP Data\",\n description: \"Enriches an IP address with company, location, metadata, and person data from People Data Labs.\",\n input: PeopledatalabsEnrichIpDataInput,\n output: PeopledatalabsEnrichIpDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ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cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAI,2CAA2C,SAAS;CACxD,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,kDAAkD,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,88 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/enrich-ip-data.d.ts
4
- declare const PeopledatalabsEnrichIpDataInput: z.ZodTypeAny;
5
- declare const PeopledatalabsEnrichIpDataOutput: z.ZodTypeAny;
6
- declare const peopledatalabsEnrichIpData: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PeopledatalabsEnrichIpDataInput: z.ZodObject<{
5
+ ip: z.ZodString;
6
+ pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ titlecase: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ return_person: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ min_confidence: z.ZodOptional<z.ZodString>;
10
+ return_ip_location: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ return_ip_metadata: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
+ return_if_unmatched: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
+ updated_title_roles: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14
+ }, z.core.$strip>;
15
+ declare const PeopledatalabsEnrichIpDataOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ ip: z.ZodNullable<z.ZodObject<{
18
+ address: z.ZodNullable<z.ZodString>;
19
+ location: z.ZodNullable<z.ZodObject<{
20
+ geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ metro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ country: z.ZodNullable<z.ZodString>;
25
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ timezone: z.ZodNullable<z.ZodString>;
27
+ continent: z.ZodNullable<z.ZodString>;
28
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>;
30
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ tor: z.ZodNullable<z.ZodBoolean>;
32
+ vpn: z.ZodNullable<z.ZodBoolean>;
33
+ proxy: z.ZodNullable<z.ZodBoolean>;
34
+ relay: z.ZodNullable<z.ZodBoolean>;
35
+ mobile: z.ZodNullable<z.ZodBoolean>;
36
+ hosting: z.ZodNullable<z.ZodBoolean>;
37
+ service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ version: z.ZodNullable<z.ZodNumber>;
39
+ asn_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ }, z.core.$strip>>>;
41
+ }, z.core.$strip>>;
42
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ job_title_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ job_title_levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ job_title_sub_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
53
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
+ geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ metro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>>>;
66
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ employee_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
69
+ inferred_revenue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>>;
71
+ dataset_version: z.ZodNullable<z.ZodString>;
72
+ }, z.core.$strip>>;
73
+ status: z.ZodNullable<z.ZodNumber>;
74
+ }, z.core.$strip>;
75
+ declare const peopledatalabsEnrichIpData: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ ip: string;
77
+ pretty?: boolean | undefined;
78
+ titlecase?: boolean | undefined;
79
+ return_person?: boolean | undefined;
80
+ min_confidence?: string | undefined;
81
+ return_ip_location?: boolean | undefined;
82
+ return_ip_metadata?: boolean | undefined;
83
+ return_if_unmatched?: boolean | undefined;
84
+ updated_title_roles?: boolean | undefined;
85
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
86
  //#endregion
8
87
  export { peopledatalabsEnrichIpData };
9
88
  //# sourceMappingURL=enrich-ip-data.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-ip-data.d.cts","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAU9C;AAAA,cAgEW,gCAAA,EAAkC,CAAA,CAAE,UAGC;AAAA,cAErC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"enrich-ip-data.d.cts","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA0E/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,88 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/enrich-ip-data.d.ts
4
- declare const PeopledatalabsEnrichIpDataInput: z.ZodTypeAny;
5
- declare const PeopledatalabsEnrichIpDataOutput: z.ZodTypeAny;
6
- declare const peopledatalabsEnrichIpData: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PeopledatalabsEnrichIpDataInput: z.ZodObject<{
5
+ ip: z.ZodString;
6
+ pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ titlecase: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ return_person: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ min_confidence: z.ZodOptional<z.ZodString>;
10
+ return_ip_location: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ return_ip_metadata: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
+ return_if_unmatched: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
+ updated_title_roles: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14
+ }, z.core.$strip>;
15
+ declare const PeopledatalabsEnrichIpDataOutput: z.ZodObject<{
16
+ data: z.ZodNullable<z.ZodObject<{
17
+ ip: z.ZodNullable<z.ZodObject<{
18
+ address: z.ZodNullable<z.ZodString>;
19
+ location: z.ZodNullable<z.ZodObject<{
20
+ geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ metro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ country: z.ZodNullable<z.ZodString>;
25
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ timezone: z.ZodNullable<z.ZodString>;
27
+ continent: z.ZodNullable<z.ZodString>;
28
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>;
30
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ tor: z.ZodNullable<z.ZodBoolean>;
32
+ vpn: z.ZodNullable<z.ZodBoolean>;
33
+ proxy: z.ZodNullable<z.ZodBoolean>;
34
+ relay: z.ZodNullable<z.ZodBoolean>;
35
+ mobile: z.ZodNullable<z.ZodBoolean>;
36
+ hosting: z.ZodNullable<z.ZodBoolean>;
37
+ service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ version: z.ZodNullable<z.ZodNumber>;
39
+ asn_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ }, z.core.$strip>>>;
41
+ }, z.core.$strip>>;
42
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ job_title_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ job_title_levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ job_title_sub_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
53
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
+ geo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ metro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>>>;
66
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ employee_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
69
+ inferred_revenue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>>;
71
+ dataset_version: z.ZodNullable<z.ZodString>;
72
+ }, z.core.$strip>>;
73
+ status: z.ZodNullable<z.ZodNumber>;
74
+ }, z.core.$strip>;
75
+ declare const peopledatalabsEnrichIpData: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ ip: string;
77
+ pretty?: boolean | undefined;
78
+ titlecase?: boolean | undefined;
79
+ return_person?: boolean | undefined;
80
+ min_confidence?: string | undefined;
81
+ return_ip_location?: boolean | undefined;
82
+ return_ip_metadata?: boolean | undefined;
83
+ return_if_unmatched?: boolean | undefined;
84
+ updated_title_roles?: boolean | undefined;
85
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
86
  //#endregion
8
87
  export { peopledatalabsEnrichIpData };
9
88
  //# sourceMappingURL=enrich-ip-data.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-ip-data.d.mts","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAU9C;AAAA,cAgEW,gCAAA,EAAkC,CAAA,CAAE,UAGC;AAAA,cAErC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"enrich-ip-data.d.mts","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA0E/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -14,28 +14,28 @@ const PeopledatalabsEnrichIpDataInput = z.object({
14
14
  });
15
15
  const PeopledatalabsEnrichIpData_IPLocationSchema = z.object({
16
16
  geo: z.string().describe("Geographic coordinates in the format 'latitude, longitude'").nullable().optional(),
17
- name: z.string().describe("Formatted location name in the pattern 'locality, region, country'"),
17
+ name: z.string().describe("Formatted location name in the pattern 'locality, region, country'").nullable(),
18
18
  metro: z.string().describe("US-only metro area designation").nullable().optional(),
19
19
  region: z.string().describe("State or province name").nullable().optional(),
20
- country: z.string().describe("Standardized country name"),
20
+ country: z.string().describe("Standardized country name").nullable(),
21
21
  locality: z.string().describe("City or town name").nullable().optional(),
22
- timezone: z.string().describe("Lowercase timezone value"),
23
- continent: z.string().describe("Standardized continent name"),
22
+ timezone: z.string().describe("Lowercase timezone value").nullable(),
23
+ continent: z.string().describe("Standardized continent name").nullable(),
24
24
  postal_code: z.string().describe("ZIP or postal code").nullable().optional()
25
25
  }).describe("The geographic location associated with the IP address");
26
26
  const PeopledatalabsEnrichIpData_IPMetadataSchema = z.object({
27
- tor: z.boolean().describe("If the IP is a known Tor address"),
28
- vpn: z.boolean().describe("If the IP is a known VPN address"),
29
- proxy: z.boolean().describe("If the IP is a known proxy address"),
30
- relay: z.boolean().describe("If the IP is a known relay address"),
31
- mobile: z.boolean().describe("If the IP is a known mobile address"),
32
- hosting: z.boolean().describe("If the IP is a known hosting address"),
27
+ tor: z.boolean().describe("If the IP is a known Tor address").nullable(),
28
+ vpn: z.boolean().describe("If the IP is a known VPN address").nullable(),
29
+ proxy: z.boolean().describe("If the IP is a known proxy address").nullable(),
30
+ relay: z.boolean().describe("If the IP is a known relay address").nullable(),
31
+ mobile: z.boolean().describe("If the IP is a known mobile address").nullable(),
32
+ hosting: z.boolean().describe("If the IP is a known hosting address").nullable(),
33
33
  service: z.string().describe("Service name if identifiable, returns null if unknown").nullable().optional(),
34
- version: z.number().int().describe("IPv4 (4) or IPv6 (6) type indicator"),
34
+ version: z.number().int().describe("IPv4 (4) or IPv6 (6) type indicator").nullable(),
35
35
  asn_domain: z.string().describe("The domain associated with the ASN block, returns null if unknown").nullable().optional()
36
36
  }).describe("Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services");
37
37
  const PeopledatalabsEnrichIpData_IPAddressSchema = z.object({
38
- address: z.string().describe("The matched IP address after validation"),
38
+ address: z.string().describe("The matched IP address after validation").nullable(),
39
39
  location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),
40
40
  metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional()
41
41
  }).describe("IP address information with metadata and location details");
@@ -73,7 +73,7 @@ const PeopledatalabsEnrichIpData_IPEnrichmentDataSchema = z.object({
73
73
  ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),
74
74
  person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),
75
75
  company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),
76
- dataset_version: z.string().describe("Release version identifier of the data build")
76
+ dataset_version: z.string().describe("Release version identifier of the data build").nullable()
77
77
  }).describe("Container for all response information including IP, company, person, and version data");
78
78
  const peopledatalabsEnrichIpData = action("PEOPLEDATALABS_ENRICH_IP_DATA", {
79
79
  slug: "peopledatalabs-enrich-ip-data",
@@ -82,7 +82,7 @@ const peopledatalabsEnrichIpData = action("PEOPLEDATALABS_ENRICH_IP_DATA", {
82
82
  input: PeopledatalabsEnrichIpDataInput,
83
83
  output: z.object({
84
84
  data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),
85
- status: z.number().int().describe("The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)")
85
+ status: z.number().int().describe("The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)").nullable()
86
86
  }).describe("Response from the IP Enrichment API")
87
87
  });
88
88
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-ip-data.mjs","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichIpDataInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"The IP address to enrich. Must be a valid IPv4 or IPv6 address string.\"),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response will be formatted with human-readable indentation for easier manual inspection.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, relevant string values in the response data (e.g., names, locations) will be converted to title case.\").optional(),\n return_person: z.boolean().default(false).describe(\"If true, attempts to include person data associated with the IP address, provided a match is found.\").optional(),\n min_confidence: z.string().describe(\"Specifies the minimum confidence level required for a company match to be returned. Matches below this threshold are excluded. If unspecified, the API's default (often 'very low') is used. Accepted values: `very low`, `low`, `medium`, `high`, `very high`.\").optional(),\n return_ip_location: z.boolean().default(false).describe(\"If true, includes location data specific to the IP address (e.g., city, region, country, GPS coordinates).\").optional(),\n return_ip_metadata: z.boolean().default(false).describe(\"If true, includes metadata specific to the IP address (e.g., connection type, line speed, ISP).\").optional(),\n return_if_unmatched: z.boolean().default(false).describe(\"If true, IP-specific data (like location or metadata if requested) will be returned even if no company profile is matched to the IP.\").optional(),\n updated_title_roles: z.boolean().default(false).describe(\"If true, the API will use an updated taxonomy for job title roles in the response. Refer to People Data Labs documentation for specifics on this taxonomy.\").optional(),\n});\nconst PeopledatalabsEnrichIpData_IPLocationSchema: z.ZodTypeAny = z.object({\n geo: z.string().describe(\"Geographic coordinates in the format 'latitude, longitude'\").nullable().optional(),\n name: z.string().describe(\"Formatted location name in the pattern 'locality, region, country'\"),\n metro: z.string().describe(\"US-only metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Standardized country name\"),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Lowercase timezone value\"),\n continent: z.string().describe(\"Standardized continent name\"),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"The geographic location associated with the IP address\");\nconst PeopledatalabsEnrichIpData_IPMetadataSchema: z.ZodTypeAny = z.object({\n tor: z.boolean().describe(\"If the IP is a known Tor address\"),\n vpn: z.boolean().describe(\"If the IP is a known VPN address\"),\n proxy: z.boolean().describe(\"If the IP is a known proxy address\"),\n relay: z.boolean().describe(\"If the IP is a known relay address\"),\n mobile: z.boolean().describe(\"If the IP is a known mobile address\"),\n hosting: z.boolean().describe(\"If the IP is a known hosting address\"),\n service: z.string().describe(\"Service name if identifiable, returns null if unknown\").nullable().optional(),\n version: z.number().int().describe(\"IPv4 (4) or IPv6 (6) type indicator\"),\n asn_domain: z.string().describe(\"The domain associated with the ASN block, returns null if unknown\").nullable().optional(),\n}).describe(\"Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services\");\nconst PeopledatalabsEnrichIpData_IPAddressSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"The matched IP address after validation\"),\n location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),\n metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional(),\n}).describe(\"IP address information with metadata and location details\");\nconst PeopledatalabsEnrichIpData_PersonSchema: z.ZodTypeAny = z.object({\n confidence: z.string().describe(\"Confidence level of the person match: very high, high, moderate, low, or very low\").nullable().optional(),\n job_title_role: z.string().describe(\"The derived role of the person's current job title\").nullable().optional(),\n job_title_levels: z.array(z.string()).describe(\"The derived hierarchical level(s) of the person's current job title\").nullable().optional(),\n job_title_sub_role: z.string().describe(\"The derived subrole of the person's current job title\").nullable().optional(),\n}).describe(\"Person information when an individual can be matched to the IP address\");\nconst PeopledatalabsEnrichIpData_CompanyLocationSchema: z.ZodTypeAny = z.object({\n geo: z.string().describe(\"Geographic coordinates\").nullable().optional(),\n name: z.string().describe(\"Formatted location name\").nullable().optional(),\n metro: z.string().describe(\"Metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Timezone value\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"Company headquarters location with full address details\");\nconst PeopledatalabsEnrichIpData_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"People Data Labs unique company identifier\").nullable().optional(),\n name: z.string().describe(\"Company name in lowercase format\").nullable().optional(),\n size: z.string().describe(\"Employee range indicating company size (e.g., '11-50', '51-200')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Descriptive business category tags\").nullable().optional(),\n website: z.string().describe(\"Primary company website URL\").nullable().optional(),\n industry: z.string().describe(\"Company industry classification\").nullable().optional(),\n location: PeopledatalabsEnrichIpData_CompanyLocationSchema.nullable().optional(),\n confidence: z.string().describe(\"Confidence level of the company match: very high, high, moderate, low, or very low\").nullable().optional(),\n display_name: z.string().describe(\"Properly formatted company name with correct capitalization\").nullable().optional(),\n employee_count: z.number().int().describe(\"Current employee headcount\").nullable().optional(),\n inferred_revenue: z.string().describe(\"Estimated annual revenue range in USD\").nullable().optional(),\n}).describe(\"Company associated with the IP address, including headquarters location and business details\");\nconst PeopledatalabsEnrichIpData_IPEnrichmentDataSchema: z.ZodTypeAny = z.object({\n ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),\n person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),\n company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),\n dataset_version: z.string().describe(\"Release version identifier of the data build\"),\n}).describe(\"Container for all response information including IP, company, person, and version data\");\nexport const PeopledatalabsEnrichIpDataOutput: z.ZodTypeAny = z.object({\n data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),\n status: z.number().int().describe(\"The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)\"),\n}).describe(\"Response from the IP Enrichment API\");\n\nexport const peopledatalabsEnrichIpData = action(\"PEOPLEDATALABS_ENRICH_IP_DATA\", {\n slug: \"peopledatalabs-enrich-ip-data\",\n name: \"Enrich IP Data\",\n description: \"Enriches an IP address with company, location, metadata, and person data from People Data Labs.\",\n input: PeopledatalabsEnrichIpDataInput,\n output: PeopledatalabsEnrichIpDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACnK,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC1K,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACnK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iQAAiQ,CAAC,CAAC,SAAS;CAChT,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC/K,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACpK,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1M,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4JAA4J,CAAC,C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AAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,2CAA2C,SAAS;CACxD,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACrF,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAMpG,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,MAAM,kDAAkD,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;CACzH,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"enrich-ip-data.mjs","names":[],"sources":["../../src/actions/enrich-ip-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichIpDataInput = z.object({\n ip: z.string().describe(\"The IP address to enrich. Must be a valid IPv4 or IPv6 address string.\"),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response will be formatted with human-readable indentation for easier manual inspection.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, relevant string values in the response data (e.g., names, locations) will be converted to title case.\").optional(),\n return_person: z.boolean().default(false).describe(\"If true, attempts to include person data associated with the IP address, provided a match is found.\").optional(),\n min_confidence: z.string().describe(\"Specifies the minimum confidence level required for a company match to be returned. Matches below this threshold are excluded. If unspecified, the API's default (often 'very low') is used. Accepted values: `very low`, `low`, `medium`, `high`, `very high`.\").optional(),\n return_ip_location: z.boolean().default(false).describe(\"If true, includes location data specific to the IP address (e.g., city, region, country, GPS coordinates).\").optional(),\n return_ip_metadata: z.boolean().default(false).describe(\"If true, includes metadata specific to the IP address (e.g., connection type, line speed, ISP).\").optional(),\n return_if_unmatched: z.boolean().default(false).describe(\"If true, IP-specific data (like location or metadata if requested) will be returned even if no company profile is matched to the IP.\").optional(),\n updated_title_roles: z.boolean().default(false).describe(\"If true, the API will use an updated taxonomy for job title roles in the response. Refer to People Data Labs documentation for specifics on this taxonomy.\").optional(),\n});\nconst PeopledatalabsEnrichIpData_IPLocationSchema = z.object({\n geo: z.string().describe(\"Geographic coordinates in the format 'latitude, longitude'\").nullable().optional(),\n name: z.string().describe(\"Formatted location name in the pattern 'locality, region, country'\").nullable(),\n metro: z.string().describe(\"US-only metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Standardized country name\").nullable(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Lowercase timezone value\").nullable(),\n continent: z.string().describe(\"Standardized continent name\").nullable(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"The geographic location associated with the IP address\");\nconst PeopledatalabsEnrichIpData_IPMetadataSchema = z.object({\n tor: z.boolean().describe(\"If the IP is a known Tor address\").nullable(),\n vpn: z.boolean().describe(\"If the IP is a known VPN address\").nullable(),\n proxy: z.boolean().describe(\"If the IP is a known proxy address\").nullable(),\n relay: z.boolean().describe(\"If the IP is a known relay address\").nullable(),\n mobile: z.boolean().describe(\"If the IP is a known mobile address\").nullable(),\n hosting: z.boolean().describe(\"If the IP is a known hosting address\").nullable(),\n service: z.string().describe(\"Service name if identifiable, returns null if unknown\").nullable().optional(),\n version: z.number().int().describe(\"IPv4 (4) or IPv6 (6) type indicator\").nullable(),\n asn_domain: z.string().describe(\"The domain associated with the ASN block, returns null if unknown\").nullable().optional(),\n}).describe(\"Premium add-on fields for identifying mobile, hosting, proxy, Tor, VPN, and relay services\");\nconst PeopledatalabsEnrichIpData_IPAddressSchema = z.object({\n address: z.string().describe(\"The matched IP address after validation\").nullable(),\n location: PeopledatalabsEnrichIpData_IPLocationSchema.nullable(),\n metadata: PeopledatalabsEnrichIpData_IPMetadataSchema.nullable().optional(),\n}).describe(\"IP address information with metadata and location details\");\nconst PeopledatalabsEnrichIpData_PersonSchema = z.object({\n confidence: z.string().describe(\"Confidence level of the person match: very high, high, moderate, low, or very low\").nullable().optional(),\n job_title_role: z.string().describe(\"The derived role of the person's current job title\").nullable().optional(),\n job_title_levels: z.array(z.string()).describe(\"The derived hierarchical level(s) of the person's current job title\").nullable().optional(),\n job_title_sub_role: z.string().describe(\"The derived subrole of the person's current job title\").nullable().optional(),\n}).describe(\"Person information when an individual can be matched to the IP address\");\nconst PeopledatalabsEnrichIpData_CompanyLocationSchema = z.object({\n geo: z.string().describe(\"Geographic coordinates\").nullable().optional(),\n name: z.string().describe(\"Formatted location name\").nullable().optional(),\n metro: z.string().describe(\"Metro area designation\").nullable().optional(),\n region: z.string().describe(\"State or province name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or town name\").nullable().optional(),\n timezone: z.string().describe(\"Timezone value\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n}).describe(\"Company headquarters location with full address details\");\nconst PeopledatalabsEnrichIpData_CompanySchema = z.object({\n id: z.string().describe(\"People Data Labs unique company identifier\").nullable().optional(),\n name: z.string().describe(\"Company name in lowercase format\").nullable().optional(),\n size: z.string().describe(\"Employee range indicating company size (e.g., '11-50', '51-200')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Descriptive business category tags\").nullable().optional(),\n website: z.string().describe(\"Primary company website URL\").nullable().optional(),\n industry: z.string().describe(\"Company industry classification\").nullable().optional(),\n location: PeopledatalabsEnrichIpData_CompanyLocationSchema.nullable().optional(),\n confidence: z.string().describe(\"Confidence level of the company match: very high, high, moderate, low, or very low\").nullable().optional(),\n display_name: z.string().describe(\"Properly formatted company name with correct capitalization\").nullable().optional(),\n employee_count: z.number().int().describe(\"Current employee headcount\").nullable().optional(),\n inferred_revenue: z.string().describe(\"Estimated annual revenue range in USD\").nullable().optional(),\n}).describe(\"Company associated with the IP address, including headquarters location and business details\");\nconst PeopledatalabsEnrichIpData_IPEnrichmentDataSchema = z.object({\n ip: PeopledatalabsEnrichIpData_IPAddressSchema.nullable(),\n person: PeopledatalabsEnrichIpData_PersonSchema.nullable().optional(),\n company: PeopledatalabsEnrichIpData_CompanySchema.nullable().optional(),\n dataset_version: z.string().describe(\"Release version identifier of the data build\").nullable(),\n}).describe(\"Container for all response information including IP, company, person, and version data\");\nexport const PeopledatalabsEnrichIpDataOutput = z.object({\n data: PeopledatalabsEnrichIpData_IPEnrichmentDataSchema.nullable(),\n status: z.number().int().describe(\"The API response code (200 for success, 404 for no match, 400 for unenrichable IPs)\").nullable(),\n}).describe(\"Response from the IP Enrichment API\");\n\nexport const peopledatalabsEnrichIpData = action(\"PEOPLEDATALABS_ENRICH_IP_DATA\", {\n slug: \"peopledatalabs-enrich-ip-data\",\n name: \"Enrich IP Data\",\n description: \"Enriches an IP address with company, location, metadata, and person data from People Data Labs.\",\n input: PeopledatalabsEnrichIpDataInput,\n output: PeopledatalabsEnrichIpDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACnK,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC1K,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SA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ACvD,MAAM,kDAAkD,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const PeopledatalabsEnrichJobTitleDataInput = zod.z.object({ job_title: zod.z.string().describe("Job title to be enriched.") });
5
5
  const PeopledatalabsEnrichJobTitleDataOutput = zod.z.object({
6
6
  relevant_skills: zod.z.array(zod.z.string()).describe("A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data."),
7
- cleaned_job_title: zod.z.string().describe("The job title that matches the API input job_title after passing it through the internal job title cleaner."),
7
+ cleaned_job_title: zod.z.string().describe("The job title that matches the API input job_title after passing it through the internal job title cleaner.").nullable(),
8
8
  similar_job_titles: zod.z.array(zod.z.string()).describe("A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.")
9
9
  });
10
10
  const peopledatalabsEnrichJobTitleData = require_action.action("PEOPLEDATALABS_ENRICH_JOB_TITLE_DATA", {
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-job-title-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-job-title-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichJobTitleDataInput: z.ZodTypeAny = z.object({\n job_title: z.string().describe(\"Job title to be enriched.\"),\n});\nexport const PeopledatalabsEnrichJobTitleDataOutput: z.ZodTypeAny = z.object({\n relevant_skills: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data.\"),\n cleaned_job_title: z.string().describe(\"The job title that matches the API input job_title after passing it through the internal job title cleaner.\"),\n similar_job_titles: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.\"),\n});\n\nexport const peopledatalabsEnrichJobTitleData = action(\"PEOPLEDATALABS_ENRICH_JOB_TITLE_DATA\", {\n slug: \"peopledatalabs-enrich-job-title-data\",\n name: \"Enrich job title data\",\n description: \"Enhances a job title by providing additional contextual information and details.\",\n input: PeopledatalabsEnrichJobTitleDataInput,\n output: PeopledatalabsEnrichJobTitleDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC5D,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6HAA6H;CAC3K,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACpJ,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iIAAiI;AACpL,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"enrich-job-title-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-job-title-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichJobTitleDataInput = z.object({\n job_title: z.string().describe(\"Job title to be enriched.\"),\n});\nexport const PeopledatalabsEnrichJobTitleDataOutput = z.object({\n relevant_skills: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data.\"),\n cleaned_job_title: z.string().describe(\"The job title that matches the API input job_title after passing it through the internal job title cleaner.\").nullable(),\n similar_job_titles: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.\"),\n});\n\nexport const peopledatalabsEnrichJobTitleData = action(\"PEOPLEDATALABS_ENRICH_JOB_TITLE_DATA\", {\n slug: \"peopledatalabs-enrich-job-title-data\",\n name: \"Enrich job title data\",\n description: \"Enhances a job title by providing additional contextual information and details.\",\n input: PeopledatalabsEnrichJobTitleDataInput,\n output: PeopledatalabsEnrichJobTitleDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC5D,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6HAA6H;CAC3K,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/J,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iIAAiI;AACpL,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/enrich-job-title-data.d.ts
4
- declare const PeopledatalabsEnrichJobTitleDataInput: z.ZodTypeAny;
5
- declare const PeopledatalabsEnrichJobTitleDataOutput: z.ZodTypeAny;
6
- declare const peopledatalabsEnrichJobTitleData: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PeopledatalabsEnrichJobTitleDataInput: z.ZodObject<{
5
+ job_title: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PeopledatalabsEnrichJobTitleDataOutput: z.ZodObject<{
8
+ relevant_skills: z.ZodArray<z.ZodString>;
9
+ cleaned_job_title: z.ZodNullable<z.ZodString>;
10
+ similar_job_titles: z.ZodArray<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const peopledatalabsEnrichJobTitleData: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ job_title: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { peopledatalabsEnrichJobTitleData };
9
17
  //# sourceMappingURL=enrich-job-title-data.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-job-title-data.d.cts","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"enrich-job-title-data.d.cts","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/enrich-job-title-data.d.ts
4
- declare const PeopledatalabsEnrichJobTitleDataInput: z.ZodTypeAny;
5
- declare const PeopledatalabsEnrichJobTitleDataOutput: z.ZodTypeAny;
6
- declare const peopledatalabsEnrichJobTitleData: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PeopledatalabsEnrichJobTitleDataInput: z.ZodObject<{
5
+ job_title: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PeopledatalabsEnrichJobTitleDataOutput: z.ZodObject<{
8
+ relevant_skills: z.ZodArray<z.ZodString>;
9
+ cleaned_job_title: z.ZodNullable<z.ZodString>;
10
+ similar_job_titles: z.ZodArray<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const peopledatalabsEnrichJobTitleData: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ job_title: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { peopledatalabsEnrichJobTitleData };
9
17
  //# sourceMappingURL=enrich-job-title-data.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-job-title-data.d.mts","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"enrich-job-title-data.d.mts","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
@@ -7,7 +7,7 @@ const peopledatalabsEnrichJobTitleData = action("PEOPLEDATALABS_ENRICH_JOB_TITLE
7
7
  input: z.object({ job_title: z.string().describe("Job title to be enriched.") }),
8
8
  output: z.object({
9
9
  relevant_skills: z.array(z.string()).describe("A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data."),
10
- cleaned_job_title: z.string().describe("The job title that matches the API input job_title after passing it through the internal job title cleaner."),
10
+ cleaned_job_title: z.string().describe("The job title that matches the API input job_title after passing it through the internal job title cleaner.").nullable(),
11
11
  similar_job_titles: z.array(z.string()).describe("A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.")
12
12
  })
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-job-title-data.mjs","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichJobTitleDataInput: z.ZodTypeAny = z.object({\n job_title: z.string().describe(\"Job title to be enriched.\"),\n});\nexport const PeopledatalabsEnrichJobTitleDataOutput: z.ZodTypeAny = z.object({\n relevant_skills: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data.\"),\n cleaned_job_title: z.string().describe(\"The job title that matches the API input job_title after passing it through the internal job title cleaner.\"),\n similar_job_titles: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.\"),\n});\n\nexport const peopledatalabsEnrichJobTitleData = action(\"PEOPLEDATALABS_ENRICH_JOB_TITLE_DATA\", {\n slug: \"peopledatalabs-enrich-job-title-data\",\n name: \"Enrich job title data\",\n description: \"Enhances a job title by providing additional contextual information and details.\",\n input: PeopledatalabsEnrichJobTitleDataInput,\n output: PeopledatalabsEnrichJobTitleDataOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiE,EAAE,OAAO,EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC5D,CAWS;CACP,QAXkE,EAAE,OAAO;EAC3E,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6HAA6H;EAC3K,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACpJ,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iIAAiI;CACpL,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"enrich-job-title-data.mjs","names":[],"sources":["../../src/actions/enrich-job-title-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichJobTitleDataInput = z.object({\n job_title: z.string().describe(\"Job title to be enriched.\"),\n});\nexport const PeopledatalabsEnrichJobTitleDataOutput = z.object({\n relevant_skills: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar skills to the cleaned_job_title, determined using global resume data.\"),\n cleaned_job_title: z.string().describe(\"The job title that matches the API input job_title after passing it through the internal job title cleaner.\").nullable(),\n similar_job_titles: z.array(z.string()).describe(\"A list of up to five of the most contextually-similar job titles to the cleaned_job_title, determined using global resume data.\"),\n});\n\nexport const peopledatalabsEnrichJobTitleData = action(\"PEOPLEDATALABS_ENRICH_JOB_TITLE_DATA\", {\n slug: \"peopledatalabs-enrich-job-title-data\",\n name: \"Enrich job title data\",\n description: \"Enhances a job title by providing additional contextual information and details.\",\n input: PeopledatalabsEnrichJobTitleDataInput,\n output: PeopledatalabsEnrichJobTitleDataOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO,EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAC5D,CAWS;CACP,QAXoD,EAAE,OAAO;EAC7D,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6HAA6H;EAC3K,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAC/J,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iIAAiI;CACpL,CAOU;AACV,CAAC"}
@@ -268,9 +268,9 @@ const PeopledatalabsEnrichPersonData_PersonDataSchema = zod.z.object({
268
268
  }).describe("Complete PDL person profile matching the enrichment request.");
269
269
  const PeopledatalabsEnrichPersonDataOutput = zod.z.object({
270
270
  data: PeopledatalabsEnrichPersonData_PersonDataSchema.nullable(),
271
- status: zod.z.number().int().describe("HTTP response code (200 for successful match, 404 when no match found)."),
271
+ status: zod.z.number().int().describe("HTTP response code (200 for successful match, 404 when no match found).").nullable(),
272
272
  matched: zod.z.array(zod.z.string()).describe("Query inputs that matched this profile (only included when include_if_matched flag is set to true in the request).").nullable().optional(),
273
- likelihood: zod.z.number().int().describe("Confidence score (1-10, logarithmic scale) that the returned profile matches the request. Score of 10 indicates highest confidence.")
273
+ likelihood: zod.z.number().int().describe("Confidence score (1-10, logarithmic scale) that the returned profile matches the request. Score of 10 indicates highest confidence.").nullable()
274
274
  }).describe("Response from the Person Enrichment API.");
275
275
  const peopledatalabsEnrichPersonData = require_action.action("PEOPLEDATALABS_ENRICH_PERSON_DATA", {
276
276
  slug: "peopledatalabs-enrich-person-data",