@keystrokehq/peopledatalabs 0.1.2 → 0.1.4

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 (147) hide show
  1. package/dist/actions/clean-company-data.cjs +10 -10
  2. package/dist/actions/clean-company-data.cjs.map +1 -1
  3. package/dist/actions/clean-company-data.d.cts +10 -10
  4. package/dist/actions/clean-company-data.d.mts +10 -10
  5. package/dist/actions/clean-company-data.mjs +10 -10
  6. package/dist/actions/clean-company-data.mjs.map +1 -1
  7. package/dist/actions/clean-company-post.cjs +2 -2
  8. package/dist/actions/clean-company-post.cjs.map +1 -1
  9. package/dist/actions/clean-company-post.d.cts +2 -2
  10. package/dist/actions/clean-company-post.d.mts +2 -2
  11. package/dist/actions/clean-company-post.mjs +2 -2
  12. package/dist/actions/clean-company-post.mjs.map +1 -1
  13. package/dist/actions/clean-location-data.cjs +1 -1
  14. package/dist/actions/clean-location-data.cjs.map +1 -1
  15. package/dist/actions/clean-location-data.d.cts +1 -1
  16. package/dist/actions/clean-location-data.d.mts +1 -1
  17. package/dist/actions/clean-location-data.mjs +1 -1
  18. package/dist/actions/clean-location-data.mjs.map +1 -1
  19. package/dist/actions/clean-location-post.cjs +1 -1
  20. package/dist/actions/clean-location-post.cjs.map +1 -1
  21. package/dist/actions/clean-location-post.d.cts +1 -1
  22. package/dist/actions/clean-location-post.d.mts +1 -1
  23. package/dist/actions/clean-location-post.mjs +1 -1
  24. package/dist/actions/clean-location-post.mjs.map +1 -1
  25. package/dist/actions/clean-school-data-post.cjs +2 -2
  26. package/dist/actions/clean-school-data-post.cjs.map +1 -1
  27. package/dist/actions/clean-school-data-post.d.cts +2 -2
  28. package/dist/actions/clean-school-data-post.d.mts +2 -2
  29. package/dist/actions/clean-school-data-post.mjs +2 -2
  30. package/dist/actions/clean-school-data-post.mjs.map +1 -1
  31. package/dist/actions/clean-school-data.cjs +2 -2
  32. package/dist/actions/clean-school-data.cjs.map +1 -1
  33. package/dist/actions/clean-school-data.d.cts +2 -2
  34. package/dist/actions/clean-school-data.d.mts +2 -2
  35. package/dist/actions/clean-school-data.mjs +2 -2
  36. package/dist/actions/clean-school-data.mjs.map +1 -1
  37. package/dist/actions/enrich-bulk-company-data.cjs +3 -3
  38. package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
  39. package/dist/actions/enrich-bulk-company-data.d.cts +4 -3
  40. package/dist/actions/enrich-bulk-company-data.d.mts +4 -3
  41. package/dist/actions/enrich-bulk-company-data.mjs +3 -3
  42. package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
  43. package/dist/actions/enrich-bulk-person-data.cjs +18 -18
  44. package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
  45. package/dist/actions/enrich-bulk-person-data.d.cts +21 -20
  46. package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
  47. package/dist/actions/enrich-bulk-person-data.d.mts +21 -20
  48. package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
  49. package/dist/actions/enrich-bulk-person-data.mjs +18 -18
  50. package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
  51. package/dist/actions/enrich-company-data.cjs +6 -6
  52. package/dist/actions/enrich-company-data.cjs.map +1 -1
  53. package/dist/actions/enrich-company-data.d.cts +6 -6
  54. package/dist/actions/enrich-company-data.d.mts +6 -6
  55. package/dist/actions/enrich-company-data.mjs +6 -6
  56. package/dist/actions/enrich-company-data.mjs.map +1 -1
  57. package/dist/actions/enrich-ip-data.cjs +8 -8
  58. package/dist/actions/enrich-ip-data.cjs.map +1 -1
  59. package/dist/actions/enrich-ip-data.d.cts +8 -8
  60. package/dist/actions/enrich-ip-data.d.mts +8 -8
  61. package/dist/actions/enrich-ip-data.mjs +8 -8
  62. package/dist/actions/enrich-ip-data.mjs.map +1 -1
  63. package/dist/actions/enrich-job-title-data.cjs +1 -1
  64. package/dist/actions/enrich-job-title-data.cjs.map +1 -1
  65. package/dist/actions/enrich-job-title-data.d.cts +1 -1
  66. package/dist/actions/enrich-job-title-data.d.mts +1 -1
  67. package/dist/actions/enrich-job-title-data.mjs +1 -1
  68. package/dist/actions/enrich-job-title-data.mjs.map +1 -1
  69. package/dist/actions/enrich-person-data.cjs +14 -14
  70. package/dist/actions/enrich-person-data.cjs.map +1 -1
  71. package/dist/actions/enrich-person-data.d.cts +15 -15
  72. package/dist/actions/enrich-person-data.d.mts +15 -15
  73. package/dist/actions/enrich-person-data.mjs +14 -14
  74. package/dist/actions/enrich-person-data.mjs.map +1 -1
  75. package/dist/actions/enrich-skill-data.cjs +1 -1
  76. package/dist/actions/enrich-skill-data.cjs.map +1 -1
  77. package/dist/actions/enrich-skill-data.d.cts +1 -1
  78. package/dist/actions/enrich-skill-data.d.mts +1 -1
  79. package/dist/actions/enrich-skill-data.mjs +1 -1
  80. package/dist/actions/enrich-skill-data.mjs.map +1 -1
  81. package/dist/actions/get-autocomplete-suggestions-post.cjs +3 -3
  82. package/dist/actions/get-autocomplete-suggestions-post.cjs.map +1 -1
  83. package/dist/actions/get-autocomplete-suggestions-post.d.cts +6 -6
  84. package/dist/actions/get-autocomplete-suggestions-post.d.mts +6 -6
  85. package/dist/actions/get-autocomplete-suggestions-post.mjs +3 -3
  86. package/dist/actions/get-autocomplete-suggestions-post.mjs.map +1 -1
  87. package/dist/actions/get-autocomplete-suggestions.cjs +3 -3
  88. package/dist/actions/get-autocomplete-suggestions.cjs.map +1 -1
  89. package/dist/actions/get-autocomplete-suggestions.d.cts +3 -3
  90. package/dist/actions/get-autocomplete-suggestions.d.mts +3 -3
  91. package/dist/actions/get-autocomplete-suggestions.mjs +3 -3
  92. package/dist/actions/get-autocomplete-suggestions.mjs.map +1 -1
  93. package/dist/actions/get-column-details.cjs +2 -2
  94. package/dist/actions/get-column-details.cjs.map +1 -1
  95. package/dist/actions/get-column-details.d.cts +2 -2
  96. package/dist/actions/get-column-details.d.mts +2 -2
  97. package/dist/actions/get-column-details.mjs +2 -2
  98. package/dist/actions/get-column-details.mjs.map +1 -1
  99. package/dist/actions/get-schema.cjs +2 -2
  100. package/dist/actions/get-schema.cjs.map +1 -1
  101. package/dist/actions/get-schema.d.cts +2 -2
  102. package/dist/actions/get-schema.d.mts +2 -2
  103. package/dist/actions/get-schema.mjs +2 -2
  104. package/dist/actions/get-schema.mjs.map +1 -1
  105. package/dist/actions/get-subject-requests.cjs +1 -1
  106. package/dist/actions/get-subject-requests.cjs.map +1 -1
  107. package/dist/actions/get-subject-requests.d.cts +1 -1
  108. package/dist/actions/get-subject-requests.d.mts +1 -1
  109. package/dist/actions/get-subject-requests.mjs +1 -1
  110. package/dist/actions/get-subject-requests.mjs.map +1 -1
  111. package/dist/actions/identify-person-data.cjs +2 -2
  112. package/dist/actions/identify-person-data.cjs.map +1 -1
  113. package/dist/actions/identify-person-data.d.cts +2 -2
  114. package/dist/actions/identify-person-data.d.mts +2 -2
  115. package/dist/actions/identify-person-data.mjs +2 -2
  116. package/dist/actions/identify-person-data.mjs.map +1 -1
  117. package/dist/actions/people-search-elastic.cjs +9 -9
  118. package/dist/actions/people-search-elastic.cjs.map +1 -1
  119. package/dist/actions/people-search-elastic.d.cts +10 -10
  120. package/dist/actions/people-search-elastic.d.mts +10 -10
  121. package/dist/actions/people-search-elastic.mjs +9 -9
  122. package/dist/actions/people-search-elastic.mjs.map +1 -1
  123. package/dist/actions/query-person-changelog.cjs +3 -3
  124. package/dist/actions/query-person-changelog.cjs.map +1 -1
  125. package/dist/actions/query-person-changelog.d.cts +3 -3
  126. package/dist/actions/query-person-changelog.d.mts +3 -3
  127. package/dist/actions/query-person-changelog.mjs +3 -3
  128. package/dist/actions/query-person-changelog.mjs.map +1 -1
  129. package/dist/actions/search-company-elastic.cjs +31 -31
  130. package/dist/actions/search-company-elastic.cjs.map +1 -1
  131. package/dist/actions/search-company-elastic.d.cts +31 -31
  132. package/dist/actions/search-company-elastic.d.mts +31 -31
  133. package/dist/actions/search-company-elastic.mjs +31 -31
  134. package/dist/actions/search-company-elastic.mjs.map +1 -1
  135. package/dist/actions/search-company-post.cjs +3 -3
  136. package/dist/actions/search-company-post.cjs.map +1 -1
  137. package/dist/actions/search-company-post.d.cts +3 -3
  138. package/dist/actions/search-company-post.d.mts +3 -3
  139. package/dist/actions/search-company-post.mjs +3 -3
  140. package/dist/actions/search-company-post.mjs.map +1 -1
  141. package/dist/catalog.cjs +1 -1
  142. package/dist/catalog.cjs.map +1 -1
  143. package/dist/catalog.d.cts +1 -1
  144. package/dist/catalog.d.mts +1 -1
  145. package/dist/catalog.mjs +1 -1
  146. package/dist/catalog.mjs.map +1 -1
  147. package/package.json +1 -1
@@ -30,7 +30,7 @@ declare const PeopledatalabsCleanCompanyPostOutput: z.ZodObject<{
30
30
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
35
  linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -39,7 +39,7 @@ declare const PeopledatalabsCleanCompanyPostOutput: z.ZodObject<{
39
39
  employee_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  alternative_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
41
41
  affiliated_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const peopledatalabsCleanCompanyPost: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  name?: string | undefined;
45
45
  pretty?: boolean | undefined;
@@ -18,7 +18,7 @@ const PeopledatalabsCleanCompanyPost_LocationDataSchema = z.object({
18
18
  postal_code: z.string().describe("ZIP or postal code").nullable().optional(),
19
19
  address_line_2: z.string().describe("Suite or apartment number").nullable().optional(),
20
20
  street_address: z.string().describe("Street address").nullable().optional()
21
- }).describe("Location data for company headquarters.");
21
+ }).passthrough().describe("Location data for company headquarters.");
22
22
  const peopledatalabsCleanCompanyPost = action("PEOPLEDATALABS_CLEAN_COMPANY_POST", {
23
23
  slug: "peopledatalabs-clean-company-post",
24
24
  name: "Clean company data (POST)",
@@ -45,7 +45,7 @@ const peopledatalabsCleanCompanyPost = action("PEOPLEDATALABS_CLEAN_COMPANY_POST
45
45
  employee_count: z.number().int().describe("The current integer number of employees working at the company.").nullable().optional(),
46
46
  alternative_names: z.array(z.string()).describe("The list of names associated with this company filtered to ensure data quality").nullable().optional(),
47
47
  affiliated_profiles: z.array(z.string()).describe("A list of company IDs that PDL has flagged as being affiliated and having an association to this company (either parent or child)").nullable().optional()
48
- }).describe("Response model for Company Clean API using POST method.")
48
+ }).passthrough().describe("Response model for Company Clean API using POST method.")
49
49
  });
50
50
  //#endregion
51
51
  export { peopledatalabsCleanCompanyPost };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-company-post.mjs","names":[],"sources":["../../src/actions/clean-company-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanCompanyPostInput = z.object({\n name: z.string().describe(\"The name of the company. At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the company (e.g. LinkedIn/Facebook/Twitter). At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n website: z.string().describe(\"A website the company uses. At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n}).describe(\"Request model for Company Clean API using POST method.\");\nconst PeopledatalabsCleanCompanyPost_LocationDataSchema = z.object({\n geo: z.string().describe(\"Latitude and longitude coordinates\").nullable().optional(),\n name: z.string().describe(\"Full location name in format: locality, region, country\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area (US only)\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City name\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n address_line_2: z.string().describe(\"Suite or apartment number\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n}).describe(\"Location data for company headquarters.\");\nexport const PeopledatalabsCleanCompanyPostOutput = z.object({\n id: z.string().describe(\"PDL company ID. This is currently non-persistent and generated from the company's primary linkedin username\").nullable().optional(),\n name: z.string().describe(\"The company's main common name\").nullable().optional(),\n size: z.string().describe(\"A range representing the number of people working at the company (e.g., '1-10', '11-50', '51-200', '201-500', '501-1000', '1001-5000', '5001-10000', '10001+')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the company\").nullable().optional(),\n type: z.string().describe(\"The type of the company (e.g., 'educational', 'government', 'nonprofit', 'private', 'public')\").nullable().optional(),\n ticker: z.string().describe(\"Company Ticker, (only for public companies)\").nullable().optional(),\n founded: z.number().int().describe(\"The founded year of the company\").nullable().optional(),\n summary: z.string().describe(\"Company description\").nullable().optional(),\n website: z.string().describe(\"Primary company website\").nullable().optional(),\n headline: z.string().describe(\"The company's 'headline' summary\").nullable().optional(),\n industry: z.string().describe(\"Self reported industry -- the enum is from linkedin's standard industries\").nullable().optional(),\n location: PeopledatalabsCleanCompanyPost_LocationDataSchema.nullable().optional(),\n profiles: z.array(z.string()).describe(\"A list of all profiles associated with the company\").nullable().optional(),\n linkedin_id: z.string().describe(\"Primary company linkedin ID\").nullable().optional(),\n twitter_url: z.string().describe(\"Primary company twitter url\").nullable().optional(),\n facebook_url: z.string().describe(\"Primary company facebook\").nullable().optional(),\n linkedin_url: z.string().describe(\"Primary company linkedin url\").nullable().optional(),\n employee_count: z.number().int().describe(\"The current integer number of employees working at the company.\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"The list of names associated with this company filtered to ensure data quality\").nullable().optional(),\n affiliated_profiles: z.array(z.string()).describe(\"A list of company IDs that PDL has flagged as being affiliated and having an association to this company (either parent or child)\").nullable().optional(),\n}).describe(\"Response model for Company Clean API using POST method.\");\n\nexport const peopledatalabsCleanCompanyPost = action(\"PEOPLEDATALABS_CLEAN_COMPANY_POST\", {\n slug: \"peopledatalabs-clean-company-post\",\n name: \"Clean company data (POST)\",\n description: \"Tool to clean and standardize company data using POST method. Use when you need to standardize company information by providing company name, website, or social profile. Returns standardized company information including name, website, LinkedIn profile, and other company identifiers.\",\n input: PeopledatalabsCleanCompanyPostInput,\n output: PeopledatalabsCleanCompanyPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACjI,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAClL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,S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AAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"clean-company-post.mjs","names":[],"sources":["../../src/actions/clean-company-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanCompanyPostInput = z.object({\n name: z.string().describe(\"The name of the company. At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the company (e.g. LinkedIn/Facebook/Twitter). At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n website: z.string().describe(\"A website the company uses. At least one of 'name', 'website', or 'profile' must be provided.\").optional(),\n}).describe(\"Request model for Company Clean API using POST method.\");\nconst PeopledatalabsCleanCompanyPost_LocationDataSchema = z.object({\n geo: z.string().describe(\"Latitude and longitude coordinates\").nullable().optional(),\n name: z.string().describe(\"Full location name in format: locality, region, country\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area (US only)\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City name\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n address_line_2: z.string().describe(\"Suite or apartment number\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n}).passthrough().describe(\"Location data for company headquarters.\");\nexport const PeopledatalabsCleanCompanyPostOutput = z.object({\n id: z.string().describe(\"PDL company ID. This is currently non-persistent and generated from the company's primary linkedin username\").nullable().optional(),\n name: z.string().describe(\"The company's main common name\").nullable().optional(),\n size: z.string().describe(\"A range representing the number of people working at the company (e.g., '1-10', '11-50', '51-200', '201-500', '501-1000', '1001-5000', '5001-10000', '10001+')\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the company\").nullable().optional(),\n type: z.string().describe(\"The type of the company (e.g., 'educational', 'government', 'nonprofit', 'private', 'public')\").nullable().optional(),\n ticker: z.string().describe(\"Company Ticker, (only for public companies)\").nullable().optional(),\n founded: z.number().int().describe(\"The founded year of the company\").nullable().optional(),\n summary: z.string().describe(\"Company description\").nullable().optional(),\n website: z.string().describe(\"Primary company website\").nullable().optional(),\n headline: z.string().describe(\"The company's 'headline' summary\").nullable().optional(),\n industry: z.string().describe(\"Self reported industry -- the enum is from linkedin's standard industries\").nullable().optional(),\n location: PeopledatalabsCleanCompanyPost_LocationDataSchema.nullable().optional(),\n profiles: z.array(z.string()).describe(\"A list of all profiles associated with the company\").nullable().optional(),\n linkedin_id: z.string().describe(\"Primary company linkedin ID\").nullable().optional(),\n twitter_url: z.string().describe(\"Primary company twitter url\").nullable().optional(),\n facebook_url: z.string().describe(\"Primary company facebook\").nullable().optional(),\n linkedin_url: z.string().describe(\"Primary company linkedin url\").nullable().optional(),\n employee_count: z.number().int().describe(\"The current integer number of employees working at the company.\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"The list of names associated with this company filtered to ensure data quality\").nullable().optional(),\n affiliated_profiles: z.array(z.string()).describe(\"A list of company IDs that PDL has flagged as being affiliated and having an association to this company (either parent or child)\").nullable().optional(),\n}).passthrough().describe(\"Response model for Company Clean API using POST method.\");\n\nexport const peopledatalabsCleanCompanyPost = action(\"PEOPLEDATALABS_CLEAN_COMPANY_POST\", {\n slug: \"peopledatalabs-clean-company-post\",\n name: \"Clean company data (POST)\",\n description: \"Tool to clean and standardize company data using POST method. Use when you need to standardize company information by providing company name, website, or social profile. Returns standardized company information including name, website, LinkedIn profile, and other company identifiers.\",\n input: PeopledatalabsCleanCompanyPostInput,\n output: PeopledatalabsCleanCompanyPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACjI,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC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AAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const PeopledatalabsCleanLocationDataOutput = zod.z.object({
15
15
  postal_code: zod.z.string().describe("The postal code associated with the location object").nullable().optional(),
16
16
  address_line_2: zod.z.string().describe("The secondary street address associated with the location object").nullable().optional(),
17
17
  street_address: zod.z.string().describe("The street address associated with the location object").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const peopledatalabsCleanLocationData = require_action.action("PEOPLEDATALABS_CLEAN_LOCATION_DATA", {
20
20
  slug: "peopledatalabs-clean-location-data",
21
21
  name: "Clean location data",
@@ -1 +1 @@
1
- {"version":3,"file":"clean-location-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanLocationData = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAC3K,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clean-location-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationData = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAC3K,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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ZodNullable<z.ZodString>>;
18
18
  address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const peopledatalabsCleanLocationData: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  location: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -17,7 +17,7 @@ declare const PeopledatalabsCleanLocationDataOutput: z.ZodObject<{
17
17
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const peopledatalabsCleanLocationData: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  location: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -18,7 +18,7 @@ const peopledatalabsCleanLocationData = action("PEOPLEDATALABS_CLEAN_LOCATION_DA
18
18
  postal_code: z.string().describe("The postal code associated with the location object").nullable().optional(),
19
19
  address_line_2: z.string().describe("The secondary street address associated with the location object").nullable().optional(),
20
20
  street_address: z.string().describe("The street address associated with the location object").nullable().optional()
21
- })
21
+ }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { peopledatalabsCleanLocationData };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-location-data.mjs","names":[],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanLocationData = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":";;AAsBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkD,EAAE,OAAO,EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAC3K,CAoBS;CACP,QApBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"clean-location-data.mjs","names":[],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationData = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":";;AAsBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkD,EAAE,OAAO,EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAC3K,CAoBS;CACP,QApBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -14,7 +14,7 @@ const PeopledatalabsCleanLocationPostOutput = zod.z.object({
14
14
  locality: zod.z.string().describe("The locality of the location").nullable().optional(),
15
15
  continent: zod.z.string().describe("The canonical continent of the location").nullable().optional(),
16
16
  subregion: zod.z.string().describe("The subregion of the location").nullable().optional()
17
- });
17
+ }).passthrough();
18
18
  const peopledatalabsCleanLocationPost = require_action.action("PEOPLEDATALABS_CLEAN_LOCATION_POST", {
19
19
  slug: "peopledatalabs-clean-location-post",
20
20
  name: "Clean location data (POST)",
@@ -1 +1 @@
1
- {"version":3,"file":"clean-location-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanLocationPost = action(\"PEOPLEDATALABS_CLEAN_LOCATION_POST\", {\n slug: \"peopledatalabs-clean-location-post\",\n name: \"Clean location data (POST)\",\n description: \"Tool to clean and standardize location data using POST method. Use when you need to normalize raw location strings into structured location information including city, region, and country.\",\n input: PeopledatalabsCleanLocationPostInput,\n output: PeopledatalabsCleanLocationPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACrI,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clean-location-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationPost = action(\"PEOPLEDATALABS_CLEAN_LOCATION_POST\", {\n slug: \"peopledatalabs-clean-location-post\",\n name: \"Clean location data (POST)\",\n description: \"Tool to clean and standardize location data using POST method. Use when you need to normalize raw location strings into structured location information including city, region, and country.\",\n input: PeopledatalabsCleanLocationPostInput,\n output: PeopledatalabsCleanLocationPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACrI,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const PeopledatalabsCleanLocationPostOutput: z.ZodObject<{
14
14
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  subregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const peopledatalabsCleanLocationPost: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  location: string;
20
20
  pretty?: boolean | undefined;
@@ -14,7 +14,7 @@ declare const PeopledatalabsCleanLocationPostOutput: z.ZodObject<{
14
14
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  subregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const peopledatalabsCleanLocationPost: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  location: string;
20
20
  pretty?: boolean | undefined;
@@ -17,7 +17,7 @@ const peopledatalabsCleanLocationPost = action("PEOPLEDATALABS_CLEAN_LOCATION_PO
17
17
  locality: z.string().describe("The locality of the location").nullable().optional(),
18
18
  continent: z.string().describe("The canonical continent of the location").nullable().optional(),
19
19
  subregion: z.string().describe("The subregion of the location").nullable().optional()
20
- })
20
+ }).passthrough()
21
21
  });
22
22
  //#endregion
23
23
  export { peopledatalabsCleanLocationPost };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-location-post.mjs","names":[],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanLocationPost = action(\"PEOPLEDATALABS_CLEAN_LOCATION_POST\", {\n slug: \"peopledatalabs-clean-location-post\",\n name: \"Clean location data (POST)\",\n description: \"Tool to clean and standardize location data using POST method. Use when you need to normalize raw location strings into structured location information including city, region, and country.\",\n input: PeopledatalabsCleanLocationPostInput,\n output: PeopledatalabsCleanLocationPostOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CACrI,CAgBS;CACP,QAhBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"clean-location-post.mjs","names":[],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationPost = action(\"PEOPLEDATALABS_CLEAN_LOCATION_POST\", {\n slug: \"peopledatalabs-clean-location-post\",\n name: \"Clean location data (POST)\",\n description: \"Tool to clean and standardize location data using POST method. Use when you need to normalize raw location strings into structured location information including city, region, and country.\",\n input: PeopledatalabsCleanLocationPostInput,\n output: PeopledatalabsCleanLocationPostOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CACrI,CAgBS;CACP,QAhBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -13,7 +13,7 @@ const PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = zod.z.object(
13
13
  country: zod.z.string().describe("Country name").nullable().optional(),
14
14
  locality: zod.z.string().describe("City or primary locality").nullable().optional(),
15
15
  continent: zod.z.string().describe("Continent name").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const PeopledatalabsCleanSchoolDataPostOutput = zod.z.object({
18
18
  id: zod.z.string().describe("Our current NOT PERSISTENT ids that tie company data to the canonical data").nullable().optional(),
19
19
  name: zod.z.string().describe("The name associated with the school").nullable().optional(),
@@ -25,7 +25,7 @@ const PeopledatalabsCleanSchoolDataPostOutput = zod.z.object({
25
25
  twitter_url: zod.z.string().describe("The twitter url associated with the school").nullable().optional(),
26
26
  facebook_url: zod.z.string().describe("The facebook url associated with the school").nullable().optional(),
27
27
  linkedin_url: zod.z.string().describe("The linkedin url associated with the school").nullable().optional()
28
- });
28
+ }).passthrough();
29
29
  const peopledatalabsCleanSchoolDataPost = require_action.action("PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST", {
30
30
  slug: "peopledatalabs-clean-school-data-post",
31
31
  name: "Clean school data (POST)",
@@ -1 +1 @@
1
- {"version":3,"file":"clean-school-data-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n});\nexport const PeopledatalabsCleanSchoolDataPostOutput = z.object({\n id: z.string().describe(\"Our current NOT PERSISTENT ids that tie company data to the canonical data\").nullable().optional(),\n name: z.string().describe(\"The name associated with the school\").nullable().optional(),\n type: z.string().describe(\"The type of school (primary school, post-secondary institution, or secondary school)\").nullable().optional(),\n domain: z.string().describe(\"The website associated with the school\").nullable().optional(),\n website: z.string().describe(\"The website associated with the school, could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The linkedin ID associated with the school\").nullable().optional(),\n twitter_url: z.string().describe(\"The twitter url associated with the school\").nullable().optional(),\n facebook_url: z.string().describe(\"The facebook url associated with the school\").nullable().optional(),\n linkedin_url: z.string().describe(\"The linkedin url associated with the school\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanSchoolDataPost = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST\", {\n slug: \"peopledatalabs-clean-school-data-post\",\n name: \"Clean school data (POST)\",\n description: \"Tool to clean and standardize school data using POST method. Use when you need to clean school information by providing name, website, or profile.\",\n input: PeopledatalabsCleanSchoolDataPostInput,\n output: PeopledatalabsCleanSchoolDataPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,C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AS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clean-school-data-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).passthrough();\nexport const PeopledatalabsCleanSchoolDataPostOutput = z.object({\n id: z.string().describe(\"Our current NOT PERSISTENT ids that tie company data to the canonical data\").nullable().optional(),\n name: z.string().describe(\"The name associated with the school\").nullable().optional(),\n type: z.string().describe(\"The type of school (primary school, post-secondary institution, or secondary school)\").nullable().optional(),\n domain: z.string().describe(\"The website associated with the school\").nullable().optional(),\n website: z.string().describe(\"The website associated with the school, could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The linkedin ID associated with the school\").nullable().optional(),\n twitter_url: z.string().describe(\"The twitter url associated with the school\").nullable().optional(),\n facebook_url: z.string().describe(\"The facebook url associated with the school\").nullable().optional(),\n linkedin_url: z.string().describe(\"The linkedin url associated with the school\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanSchoolDataPost = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST\", {\n slug: \"peopledatalabs-clean-school-data-post\",\n name: \"Clean school data (POST)\",\n description: \"Tool to clean and standardize school data using POST method. Use when you need to clean school information by providing name, website, or profile.\",\n input: PeopledatalabsCleanSchoolDataPostInput,\n output: PeopledatalabsCleanSchoolDataPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CA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Nullable<z.ZodString>>;
20
20
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsCleanSchoolDataPost: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name?: string | undefined;
30
30
  pretty?: boolean | undefined;
@@ -19,12 +19,12 @@ declare const PeopledatalabsCleanSchoolDataPostOutput: z.ZodObject<{
19
19
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsCleanSchoolDataPost: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name?: string | undefined;
30
30
  pretty?: boolean | undefined;
@@ -13,7 +13,7 @@ const PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({
13
13
  country: z.string().describe("Country name").nullable().optional(),
14
14
  locality: z.string().describe("City or primary locality").nullable().optional(),
15
15
  continent: z.string().describe("Continent name").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const peopledatalabsCleanSchoolDataPost = action("PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST", {
18
18
  slug: "peopledatalabs-clean-school-data-post",
19
19
  name: "Clean school data (POST)",
@@ -30,7 +30,7 @@ const peopledatalabsCleanSchoolDataPost = action("PEOPLEDATALABS_CLEAN_SCHOOL_DA
30
30
  twitter_url: z.string().describe("The twitter url associated with the school").nullable().optional(),
31
31
  facebook_url: z.string().describe("The facebook url associated with the school").nullable().optional(),
32
32
  linkedin_url: z.string().describe("The linkedin url associated with the school").nullable().optional()
33
- })
33
+ }).passthrough()
34
34
  });
35
35
  //#endregion
36
36
  export { peopledatalabsCleanSchoolDataPost };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-school-data-post.mjs","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n});\nexport const PeopledatalabsCleanSchoolDataPostOutput = z.object({\n id: z.string().describe(\"Our current NOT PERSISTENT ids that tie company data to the canonical data\").nullable().optional(),\n name: z.string().describe(\"The name associated with the school\").nullable().optional(),\n type: z.string().describe(\"The type of school (primary school, post-secondary institution, or secondary school)\").nullable().optional(),\n domain: z.string().describe(\"The website associated with the school\").nullable().optional(),\n website: z.string().describe(\"The website associated with the school, could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The linkedin ID associated with the school\").nullable().optional(),\n twitter_url: z.string().describe(\"The twitter url associated with the school\").nullable().optional(),\n facebook_url: z.string().describe(\"The facebook url associated with the school\").nullable().optional(),\n linkedin_url: z.string().describe(\"The linkedin url associated with the school\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanSchoolDataPost = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST\", {\n slug: \"peopledatalabs-clean-school-data-post\",\n name: \"Clean school data (POST)\",\n description: \"Tool to clean and standardize school data using POST method. Use when you need to clean school information by providing name, website, or profile.\",\n input: PeopledatalabsCleanSchoolDataPostInput,\n output: PeopledatalabsCleanSchoolDataPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC;AAcD,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,UAAU,2DAA2D,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"clean-school-data-post.mjs","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).passthrough();\nexport const PeopledatalabsCleanSchoolDataPostOutput = z.object({\n id: z.string().describe(\"Our current NOT PERSISTENT ids that tie company data to the canonical data\").nullable().optional(),\n name: z.string().describe(\"The name associated with the school\").nullable().optional(),\n type: z.string().describe(\"The type of school (primary school, post-secondary institution, or secondary school)\").nullable().optional(),\n domain: z.string().describe(\"The website associated with the school\").nullable().optional(),\n website: z.string().describe(\"The website associated with the school, could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The linkedin ID associated with the school\").nullable().optional(),\n twitter_url: z.string().describe(\"The twitter url associated with the school\").nullable().optional(),\n facebook_url: z.string().describe(\"The facebook url associated with the school\").nullable().optional(),\n linkedin_url: z.string().describe(\"The linkedin url associated with the school\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanSchoolDataPost = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA_POST\", {\n slug: \"peopledatalabs-clean-school-data-post\",\n name: \"Clean school data (POST)\",\n description: \"Tool to clean and standardize school data using POST method. Use when you need to clean school information by providing name, website, or profile.\",\n input: PeopledatalabsCleanSchoolDataPostInput,\n output: PeopledatalabsCleanSchoolDataPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,UAAU,2DAA2D,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -13,7 +13,7 @@ const PeopledatalabsCleanSchoolData_SchoolLocationSchema = zod.z.object({
13
13
  country: zod.z.string().describe("Country name").nullable().optional(),
14
14
  locality: zod.z.string().describe("City or primary locality").nullable().optional(),
15
15
  continent: zod.z.string().describe("Continent name").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const PeopledatalabsCleanSchoolDataOutput = zod.z.object({
18
18
  id: zod.z.string().describe("Unique identifier (UUID format) for the school in People Data Labs records. Note: This is a non-persistent ID").nullable().optional(),
19
19
  name: zod.z.string().describe("The standardized name of the educational institution").nullable().optional(),
@@ -25,7 +25,7 @@ const PeopledatalabsCleanSchoolDataOutput = zod.z.object({
25
25
  twitter_url: zod.z.string().describe("The school's Twitter/X account URL (may be null if not available)").nullable().optional(),
26
26
  facebook_url: zod.z.string().describe("The school's Facebook page URL (may be null if not available)").nullable().optional(),
27
27
  linkedin_url: zod.z.string().describe("The school's LinkedIn profile URL").nullable().optional()
28
- });
28
+ }).passthrough();
29
29
  const peopledatalabsCleanSchoolData = require_action.action("PEOPLEDATALABS_CLEAN_SCHOOL_DATA", {
30
30
  slug: "peopledatalabs-clean-school-data",
31
31
  name: "Clean school data",
@@ -1 +1 @@
1
- {"version":3,"file":"clean-school-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n});\nexport const PeopledatalabsCleanSchoolDataOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format) for the school in People Data Labs records. Note: This is a non-persistent ID\").nullable().optional(),\n name: z.string().describe(\"The standardized name of the educational institution\").nullable().optional(),\n type: z.string().describe(\"Classification of the institution. Will be one of the canonical school types: 'post-secondary institution', 'primary school', or 'secondary school'\").nullable().optional(),\n domain: z.string().describe(\"Primary website domain associated with the institution\").nullable().optional(),\n website: z.string().describe(\"The school's official website URL, which could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolData_SchoolLocationSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The school's LinkedIn organization identifier\").nullable().optional(),\n twitter_url: z.string().describe(\"The school's Twitter/X account URL (may be null if not available)\").nullable().optional(),\n facebook_url: z.string().describe(\"The school's Facebook page URL (may be null if not available)\").nullable().optional(),\n linkedin_url: z.string().describe(\"The school's LinkedIn profile URL\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanSchoolData = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA\", {\n slug: \"peopledatalabs-clean-school-data\",\n name: \"Clean school data\",\n description: \"Cleans and standardizes school information; provide at least one of the school's name, website, or profile for optimal results.\",\n input: PeopledatalabsCleanSchoolDataInput,\n output: PeopledatalabsCleanSchoolDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"clean-school-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).passthrough();\nexport const PeopledatalabsCleanSchoolDataOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format) for the school in People Data Labs records. Note: This is a non-persistent ID\").nullable().optional(),\n name: z.string().describe(\"The standardized name of the educational institution\").nullable().optional(),\n type: z.string().describe(\"Classification of the institution. Will be one of the canonical school types: 'post-secondary institution', 'primary school', or 'secondary school'\").nullable().optional(),\n domain: z.string().describe(\"Primary website domain associated with the institution\").nullable().optional(),\n website: z.string().describe(\"The school's official website URL, which could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolData_SchoolLocationSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The school's LinkedIn organization identifier\").nullable().optional(),\n twitter_url: z.string().describe(\"The school's Twitter/X account URL (may be null if not available)\").nullable().optional(),\n facebook_url: z.string().describe(\"The school's Facebook page URL (may be null if not available)\").nullable().optional(),\n linkedin_url: z.string().describe(\"The school's LinkedIn profile URL\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanSchoolData = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA\", {\n slug: \"peopledatalabs-clean-school-data\",\n name: \"Clean school data\",\n description: \"Cleans and standardizes school information; provide at least one of the school's name, website, or profile for optimal results.\",\n input: PeopledatalabsCleanSchoolDataInput,\n output: PeopledatalabsCleanSchoolDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,12 +19,12 @@ declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
19
19
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsCleanSchoolData: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name?: string | undefined;
30
30
  pretty?: boolean | undefined;
@@ -19,12 +19,12 @@ declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
19
19
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsCleanSchoolData: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name?: string | undefined;
30
30
  pretty?: boolean | undefined;
@@ -13,7 +13,7 @@ const PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({
13
13
  country: z.string().describe("Country name").nullable().optional(),
14
14
  locality: z.string().describe("City or primary locality").nullable().optional(),
15
15
  continent: z.string().describe("Continent name").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const peopledatalabsCleanSchoolData = action("PEOPLEDATALABS_CLEAN_SCHOOL_DATA", {
18
18
  slug: "peopledatalabs-clean-school-data",
19
19
  name: "Clean school data",
@@ -30,7 +30,7 @@ const peopledatalabsCleanSchoolData = action("PEOPLEDATALABS_CLEAN_SCHOOL_DATA",
30
30
  twitter_url: z.string().describe("The school's Twitter/X account URL (may be null if not available)").nullable().optional(),
31
31
  facebook_url: z.string().describe("The school's Facebook page URL (may be null if not available)").nullable().optional(),
32
32
  linkedin_url: z.string().describe("The school's LinkedIn profile URL").nullable().optional()
33
- })
33
+ }).passthrough()
34
34
  });
35
35
  //#endregion
36
36
  export { peopledatalabsCleanSchoolData };
@@ -1 +1 @@
1
- {"version":3,"file":"clean-school-data.mjs","names":[],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n});\nexport const PeopledatalabsCleanSchoolDataOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format) for the school in People Data Labs records. Note: This is a non-persistent ID\").nullable().optional(),\n name: z.string().describe(\"The standardized name of the educational institution\").nullable().optional(),\n type: z.string().describe(\"Classification of the institution. Will be one of the canonical school types: 'post-secondary institution', 'primary school', or 'secondary school'\").nullable().optional(),\n domain: z.string().describe(\"Primary website domain associated with the institution\").nullable().optional(),\n website: z.string().describe(\"The school's official website URL, which could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolData_SchoolLocationSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The school's LinkedIn organization identifier\").nullable().optional(),\n twitter_url: z.string().describe(\"The school's Twitter/X account URL (may be null if not available)\").nullable().optional(),\n facebook_url: z.string().describe(\"The school's Facebook page URL (may be null if not available)\").nullable().optional(),\n linkedin_url: z.string().describe(\"The school's LinkedIn profile URL\").nullable().optional(),\n});\n\nexport const peopledatalabsCleanSchoolData = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA\", {\n slug: \"peopledatalabs-clean-school-data\",\n name: \"Clean school data\",\n description: \"Cleans and standardizes school information; provide at least one of the school's name, website, or profile for optimal results.\",\n input: PeopledatalabsCleanSchoolDataInput,\n output: PeopledatalabsCleanSchoolDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC;AAcD,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"clean-school-data.mjs","names":[],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).passthrough();\nexport const PeopledatalabsCleanSchoolDataOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format) for the school in People Data Labs records. Note: This is a non-persistent ID\").nullable().optional(),\n name: z.string().describe(\"The standardized name of the educational institution\").nullable().optional(),\n type: z.string().describe(\"Classification of the institution. Will be one of the canonical school types: 'post-secondary institution', 'primary school', or 'secondary school'\").nullable().optional(),\n domain: z.string().describe(\"Primary website domain associated with the institution\").nullable().optional(),\n website: z.string().describe(\"The school's official website URL, which could include subdomains\").nullable().optional(),\n location: PeopledatalabsCleanSchoolData_SchoolLocationSchema.nullable().optional(),\n linkedin_id: z.string().describe(\"The school's LinkedIn organization identifier\").nullable().optional(),\n twitter_url: z.string().describe(\"The school's Twitter/X account URL (may be null if not available)\").nullable().optional(),\n facebook_url: z.string().describe(\"The school's Facebook page URL (may be null if not available)\").nullable().optional(),\n linkedin_url: z.string().describe(\"The school's LinkedIn profile URL\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanSchoolData = action(\"PEOPLEDATALABS_CLEAN_SCHOOL_DATA\", {\n slug: \"peopledatalabs-clean-school-data\",\n name: \"Clean school data\",\n description: \"Cleans and standardizes school information; provide at least one of the school's name, website, or profile for optimal results.\",\n input: PeopledatalabsCleanSchoolDataInput,\n output: PeopledatalabsCleanSchoolDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,qDAAqD,EAAE,OAA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H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -13,13 +13,13 @@ const PeopledatalabsEnrichBulkCompanyDataInput = zod.z.object({ requests: zod.z.
13
13
  location: zod.z.string().describe("A general text query for the company's location (e.g., 'San Francisco, CA' or 'London').").optional(),
14
14
  postal_code: zod.z.string().describe("The postal or ZIP code for the company's location.").optional(),
15
15
  street_address: zod.z.string().describe("The street address component of the company's location.").optional()
16
- }).describe("Parameters for this individual company enrichment request. Must include at least one identifier (pdl_id, name, profile, ticker, or website).") }).describe("A single request item in the bulk company enrichment array.")).describe("Array of 1-100 individual company enrichment requests. Each request must contain a params object with at least one company identifier.") }).describe("Request model for Bulk Company Enrichment API.");
16
+ }).describe("Parameters for this individual company enrichment request. Must include at least one identifier (pdl_id, name, profile, ticker, or website).") }).passthrough().describe("A single request item in the bulk company enrichment array.")).describe("Array of 1-100 individual company enrichment requests. Each request must contain a params object with at least one company identifier.") }).describe("Request model for Bulk Company Enrichment API.");
17
17
  const PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema = zod.z.object({
18
18
  data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Enriched company profile data. Contains all Company Schema fields. Only present for successful matches (status 200).").nullable().optional(),
19
19
  status: zod.z.number().int().describe("HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found.").nullable(),
20
20
  likelihood: zod.z.number().int().describe("Confidence score (0-10) that the returned company data matches the request. Only present for successful matches (status 200).").nullable().optional()
21
- }).describe("A single response item in the bulk company enrichment response array.");
22
- const PeopledatalabsEnrichBulkCompanyDataOutput = zod.z.object({ results: zod.z.array(PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema).describe("Array of enrichment results. Each result corresponds to a request in the same order submitted. Contains status, likelihood, and data for each company.") }).describe("Response model for Bulk Company Enrichment API.");
21
+ }).passthrough().describe("A single response item in the bulk company enrichment response array.");
22
+ const PeopledatalabsEnrichBulkCompanyDataOutput = zod.z.object({ results: zod.z.array(PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema).describe("Array of enrichment results. Each result corresponds to a request in the same order submitted. Contains status, likelihood, and data for each company.") }).passthrough().describe("Response model for Bulk Company Enrichment API.");
23
23
  const peopledatalabsEnrichBulkCompanyData = require_action.action("PEOPLEDATALABS_ENRICH_BULK_COMPANY_DATA", {
24
24
  slug: "peopledatalabs-enrich-bulk-company-data",
25
25
  name: "Enrich Bulk Company Data",
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-bulk-company-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichBulkCompanyDataInput = z.object({\n requests: z.array(z.object({\n params: z.object({\n name: z.string().describe(\"Company name to search for. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n pdl_id: z.string().describe(\"People Data Labs unique ID for a company. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n region: z.string().describe(\"The state, province, or administrative region where the company is located.\").optional(),\n ticker: z.string().describe(\"Stock market ticker symbol. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n country: z.string().describe(\"The country where the company is located. Can be a full name or an ISO country code.\").optional(),\n profile: z.string().describe(\"Company social media profile URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n website: z.string().describe(\"Company website URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n locality: z.string().describe(\"The city or locality where the company is situated.\").optional(),\n location: z.string().describe(\"A general text query for the company's location (e.g., 'San Francisco, CA' or 'London').\").optional(),\n postal_code: z.string().describe(\"The postal or ZIP code for the company's location.\").optional(),\n street_address: z.string().describe(\"The street address component of the company's location.\").optional(),\n}).describe(\"Parameters for this individual company enrichment request. Must include at least one identifier (pdl_id, name, profile, ticker, or website).\"),\n}).describe(\"A single request item in the bulk company enrichment array.\")).describe(\"Array of 1-100 individual company enrichment requests. Each request must contain a params object with at least one company identifier.\"),\n}).describe(\"Request model for Bulk Company Enrichment API.\");\nconst PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Enriched company profile data. Contains all Company Schema fields. Only present for successful matches (status 200).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found.\").nullable(),\n likelihood: z.number().int().describe(\"Confidence score (0-10) that the returned company data matches the request. Only present for successful matches (status 200).\").nullable().optional(),\n}).describe(\"A single response item in the bulk company enrichment response array.\");\nexport const PeopledatalabsEnrichBulkCompanyDataOutput = z.object({\n results: z.array(PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema).describe(\"Array of enrichment results. Each result corresponds to a request in the same order submitted. Contains status, likelihood, and data for each company.\"),\n}).describe(\"Response model for Bulk Company Enrichment API.\");\n\nexport const peopledatalabsEnrichBulkCompanyData = action(\"PEOPLEDATALABS_ENRICH_BULK_COMPANY_DATA\", {\n slug: \"peopledatalabs-enrich-bulk-company-data\",\n name: \"Enrich Bulk Company Data\",\n description: \"Tool to enrich up to 100 companies in a single request using the Bulk Company Enrichment API. Use when you need to enrich multiple company profiles efficiently. Each request must include at least one company identifier (website, profile, name, ticker, or pdl_id). Results are returned in the same order as the input requests, with individual status codes indicating success (200) or failure (404).\",\n input: PeopledatalabsEnrichBulkCompanyDataInput,\n output: PeopledatalabsEnrichBulkCompanyDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,QAAQA,IAA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EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC5J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,2EAA2E,CAAC,CAAC,SAAS,wJAAwJ,EACjQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"enrich-bulk-company-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichBulkCompanyDataInput = z.object({\n requests: z.array(z.object({\n params: z.object({\n name: z.string().describe(\"Company name to search for. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n pdl_id: z.string().describe(\"People Data Labs unique ID for a company. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n region: z.string().describe(\"The state, province, or administrative region where the company is located.\").optional(),\n ticker: z.string().describe(\"Stock market ticker symbol. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n country: z.string().describe(\"The country where the company is located. Can be a full name or an ISO country code.\").optional(),\n profile: z.string().describe(\"Company social media profile URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n website: z.string().describe(\"Company website URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n locality: z.string().describe(\"The city or locality where the company is situated.\").optional(),\n location: z.string().describe(\"A general text query for the company's location (e.g., 'San Francisco, CA' or 'London').\").optional(),\n postal_code: z.string().describe(\"The postal or ZIP code for the company's location.\").optional(),\n street_address: z.string().describe(\"The street address component of the company's location.\").optional(),\n}).describe(\"Parameters for this individual company enrichment request. Must include at least one identifier (pdl_id, name, profile, ticker, or website).\"),\n}).passthrough().describe(\"A single request item in the bulk company enrichment array.\")).describe(\"Array of 1-100 individual company enrichment requests. Each request must contain a params object with at least one company identifier.\"),\n}).describe(\"Request model for Bulk Company Enrichment API.\");\nconst PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Enriched company profile data. Contains all Company Schema fields. Only present for successful matches (status 200).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found.\").nullable(),\n likelihood: z.number().int().describe(\"Confidence score (0-10) that the returned company data matches the request. Only present for successful matches (status 200).\").nullable().optional(),\n}).passthrough().describe(\"A single response item in the bulk company enrichment response array.\");\nexport const PeopledatalabsEnrichBulkCompanyDataOutput = z.object({\n results: z.array(PeopledatalabsEnrichBulkCompanyData_BulkCompanyEnrichmentResponseItemSchema).describe(\"Array of enrichment results. Each result corresponds to a request in the same order submitted. Contains status, likelihood, and data for each company.\"),\n}).passthrough().describe(\"Response model for Bulk Company Enrichment API.\");\n\nexport const peopledatalabsEnrichBulkCompanyData = action(\"PEOPLEDATALABS_ENRICH_BULK_COMPANY_DATA\", {\n slug: \"peopledatalabs-enrich-bulk-company-data\",\n name: \"Enrich Bulk Company Data\",\n description: \"Tool to enrich up to 100 companies in a single request using the Bulk Company Enrichment API. Use when you need to enrich multiple company profiles efficiently. Each request must include at least one company identifier (website, profile, name, ticker, or pdl_id). Results are returned in the same order as the input requests, with individual status codes indicating success (200) or failure (404).\",\n input: PeopledatalabsEnrichBulkCompanyDataInput,\n output: PeopledatalabsEnrichBulkCompanyDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EA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SAAS,CAAC,CAAC,SAAS;CAC7L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC5J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,2EAA2E,CAAC,CAAC,SAAS,wJAAwJ,EACjQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,17 +16,18 @@ declare const PeopledatalabsEnrichBulkCompanyDataInput: z.ZodObject<{
16
16
  postal_code: z.ZodOptional<z.ZodString>;
17
17
  street_address: z.ZodOptional<z.ZodString>;
18
18
  }, z.core.$strip>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  }, z.core.$strip>;
21
21
  declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
22
22
  results: z.ZodArray<z.ZodObject<{
23
23
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
24
  status: z.ZodNullable<z.ZodNumber>;
25
25
  likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  requests: {
30
+ [x: string]: unknown;
30
31
  params: {
31
32
  name?: string | undefined;
32
33
  pdl_id?: string | undefined;
@@ -16,17 +16,18 @@ declare const PeopledatalabsEnrichBulkCompanyDataInput: z.ZodObject<{
16
16
  postal_code: z.ZodOptional<z.ZodString>;
17
17
  street_address: z.ZodOptional<z.ZodString>;
18
18
  }, z.core.$strip>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  }, z.core.$strip>;
21
21
  declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
22
22
  results: z.ZodArray<z.ZodObject<{
23
23
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
24
  status: z.ZodNullable<z.ZodNumber>;
25
25
  likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  requests: {
30
+ [x: string]: unknown;
30
31
  params: {
31
32
  name?: string | undefined;
32
33
  pdl_id?: string | undefined;