@keystrokehq/peopledatalabs 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/clean-company-data.cjs +13 -13
- package/dist/actions/clean-company-data.cjs.map +1 -1
- package/dist/actions/clean-company-data.d.cts +118 -3
- package/dist/actions/clean-company-data.d.cts.map +1 -1
- package/dist/actions/clean-company-data.d.mts +118 -3
- package/dist/actions/clean-company-data.d.mts.map +1 -1
- package/dist/actions/clean-company-data.mjs +13 -13
- package/dist/actions/clean-company-data.mjs.map +1 -1
- package/dist/actions/clean-company-post.cjs +2 -2
- package/dist/actions/clean-company-post.cjs.map +1 -1
- package/dist/actions/clean-company-post.d.cts +45 -3
- package/dist/actions/clean-company-post.d.cts.map +1 -1
- package/dist/actions/clean-company-post.d.mts +45 -3
- package/dist/actions/clean-company-post.d.mts.map +1 -1
- package/dist/actions/clean-company-post.mjs +2 -2
- package/dist/actions/clean-company-post.mjs.map +1 -1
- package/dist/actions/clean-location-data.cjs +1 -1
- package/dist/actions/clean-location-data.cjs.map +1 -1
- package/dist/actions/clean-location-data.d.cts +20 -3
- package/dist/actions/clean-location-data.d.cts.map +1 -1
- package/dist/actions/clean-location-data.d.mts +20 -3
- package/dist/actions/clean-location-data.d.mts.map +1 -1
- package/dist/actions/clean-location-data.mjs +1 -1
- package/dist/actions/clean-location-data.mjs.map +1 -1
- package/dist/actions/clean-location-post.cjs +1 -1
- package/dist/actions/clean-location-post.cjs.map +1 -1
- package/dist/actions/clean-location-post.d.cts +18 -3
- package/dist/actions/clean-location-post.d.cts.map +1 -1
- package/dist/actions/clean-location-post.d.mts +18 -3
- package/dist/actions/clean-location-post.d.mts.map +1 -1
- package/dist/actions/clean-location-post.mjs +1 -1
- package/dist/actions/clean-location-post.mjs.map +1 -1
- package/dist/actions/clean-school-data-post.cjs +2 -2
- package/dist/actions/clean-school-data-post.cjs.map +1 -1
- package/dist/actions/clean-school-data-post.d.cts +30 -3
- package/dist/actions/clean-school-data-post.d.cts.map +1 -1
- package/dist/actions/clean-school-data-post.d.mts +30 -3
- package/dist/actions/clean-school-data-post.d.mts.map +1 -1
- package/dist/actions/clean-school-data-post.mjs +2 -2
- package/dist/actions/clean-school-data-post.mjs.map +1 -1
- package/dist/actions/clean-school-data.cjs +2 -2
- package/dist/actions/clean-school-data.cjs.map +1 -1
- package/dist/actions/clean-school-data.d.cts +30 -3
- package/dist/actions/clean-school-data.d.cts.map +1 -1
- package/dist/actions/clean-school-data.d.mts +30 -3
- package/dist/actions/clean-school-data.d.mts.map +1 -1
- package/dist/actions/clean-school-data.mjs +2 -2
- package/dist/actions/clean-school-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.cjs +4 -4
- package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.cts +42 -3
- package/dist/actions/enrich-bulk-company-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.mts +42 -3
- package/dist/actions/enrich-bulk-company-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.mjs +4 -4
- package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.cjs +19 -19
- package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.cts +306 -3
- package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.mts +306 -3
- package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.mjs +19 -19
- package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
- package/dist/actions/enrich-company-data.cjs +9 -9
- package/dist/actions/enrich-company-data.cjs.map +1 -1
- package/dist/actions/enrich-company-data.d.cts +170 -3
- package/dist/actions/enrich-company-data.d.cts.map +1 -1
- package/dist/actions/enrich-company-data.d.mts +170 -3
- package/dist/actions/enrich-company-data.d.mts.map +1 -1
- package/dist/actions/enrich-company-data.mjs +9 -9
- package/dist/actions/enrich-company-data.mjs.map +1 -1
- package/dist/actions/enrich-ip-data.cjs +22 -22
- package/dist/actions/enrich-ip-data.cjs.map +1 -1
- package/dist/actions/enrich-ip-data.d.cts +82 -3
- package/dist/actions/enrich-ip-data.d.cts.map +1 -1
- package/dist/actions/enrich-ip-data.d.mts +82 -3
- package/dist/actions/enrich-ip-data.d.mts.map +1 -1
- package/dist/actions/enrich-ip-data.mjs +22 -22
- package/dist/actions/enrich-ip-data.mjs.map +1 -1
- package/dist/actions/enrich-job-title-data.cjs +2 -2
- package/dist/actions/enrich-job-title-data.cjs.map +1 -1
- package/dist/actions/enrich-job-title-data.d.cts +11 -3
- package/dist/actions/enrich-job-title-data.d.cts.map +1 -1
- package/dist/actions/enrich-job-title-data.d.mts +11 -3
- package/dist/actions/enrich-job-title-data.d.mts.map +1 -1
- package/dist/actions/enrich-job-title-data.mjs +2 -2
- package/dist/actions/enrich-job-title-data.mjs.map +1 -1
- package/dist/actions/enrich-person-data.cjs +16 -16
- package/dist/actions/enrich-person-data.cjs.map +1 -1
- package/dist/actions/enrich-person-data.d.cts +297 -3
- package/dist/actions/enrich-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-person-data.d.mts +297 -3
- package/dist/actions/enrich-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-person-data.mjs +16 -16
- package/dist/actions/enrich-person-data.mjs.map +1 -1
- package/dist/actions/enrich-skill-data.cjs +2 -2
- package/dist/actions/enrich-skill-data.cjs.map +1 -1
- package/dist/actions/enrich-skill-data.d.cts +11 -3
- package/dist/actions/enrich-skill-data.d.cts.map +1 -1
- package/dist/actions/enrich-skill-data.d.mts +11 -3
- package/dist/actions/enrich-skill-data.d.mts.map +1 -1
- package/dist/actions/enrich-skill-data.mjs +2 -2
- package/dist/actions/enrich-skill-data.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.cjs +6 -6
- package/dist/actions/get-autocomplete-suggestions-post.cjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.d.cts +49 -3
- package/dist/actions/get-autocomplete-suggestions-post.d.cts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.d.mts +49 -3
- package/dist/actions/get-autocomplete-suggestions-post.d.mts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.mjs +6 -6
- package/dist/actions/get-autocomplete-suggestions-post.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.cjs +5 -5
- package/dist/actions/get-autocomplete-suggestions.cjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.d.cts +36 -3
- package/dist/actions/get-autocomplete-suggestions.d.cts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.d.mts +36 -3
- package/dist/actions/get-autocomplete-suggestions.d.mts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.mjs +5 -5
- package/dist/actions/get-autocomplete-suggestions.mjs.map +1 -1
- package/dist/actions/get-column-details.cjs +4 -4
- package/dist/actions/get-column-details.cjs.map +1 -1
- package/dist/actions/get-column-details.d.cts +15 -3
- package/dist/actions/get-column-details.d.cts.map +1 -1
- package/dist/actions/get-column-details.d.mts +15 -3
- package/dist/actions/get-column-details.d.mts.map +1 -1
- package/dist/actions/get-column-details.mjs +4 -4
- package/dist/actions/get-column-details.mjs.map +1 -1
- package/dist/actions/get-schema.cjs +5 -5
- package/dist/actions/get-schema.cjs.map +1 -1
- package/dist/actions/get-schema.d.cts +14 -3
- package/dist/actions/get-schema.d.cts.map +1 -1
- package/dist/actions/get-schema.d.mts +14 -3
- package/dist/actions/get-schema.d.mts.map +1 -1
- package/dist/actions/get-schema.mjs +5 -5
- package/dist/actions/get-schema.mjs.map +1 -1
- package/dist/actions/get-subject-requests.cjs +3 -3
- package/dist/actions/get-subject-requests.cjs.map +1 -1
- package/dist/actions/get-subject-requests.d.cts +6 -3
- package/dist/actions/get-subject-requests.d.cts.map +1 -1
- package/dist/actions/get-subject-requests.d.mts +6 -3
- package/dist/actions/get-subject-requests.d.mts.map +1 -1
- package/dist/actions/get-subject-requests.mjs +3 -3
- package/dist/actions/get-subject-requests.mjs.map +1 -1
- package/dist/actions/identify-person-data.cjs +3 -3
- package/dist/actions/identify-person-data.cjs.map +1 -1
- package/dist/actions/identify-person-data.d.cts +126 -3
- package/dist/actions/identify-person-data.d.cts.map +1 -1
- package/dist/actions/identify-person-data.d.mts +126 -3
- package/dist/actions/identify-person-data.d.mts.map +1 -1
- package/dist/actions/identify-person-data.mjs +3 -3
- package/dist/actions/identify-person-data.mjs.map +1 -1
- package/dist/actions/index.cjs +0 -2
- package/dist/actions/index.d.cts +1 -2
- package/dist/actions/index.d.mts +1 -2
- package/dist/actions/index.mjs +1 -2
- package/dist/actions/people-search-elastic.cjs +12 -12
- package/dist/actions/people-search-elastic.cjs.map +1 -1
- package/dist/actions/people-search-elastic.d.cts +178 -3
- package/dist/actions/people-search-elastic.d.cts.map +1 -1
- package/dist/actions/people-search-elastic.d.mts +178 -3
- package/dist/actions/people-search-elastic.d.mts.map +1 -1
- package/dist/actions/people-search-elastic.mjs +12 -12
- package/dist/actions/people-search-elastic.mjs.map +1 -1
- package/dist/actions/query-person-changelog.cjs +4 -4
- package/dist/actions/query-person-changelog.cjs.map +1 -1
- package/dist/actions/query-person-changelog.d.cts +36 -3
- package/dist/actions/query-person-changelog.d.cts.map +1 -1
- package/dist/actions/query-person-changelog.d.mts +36 -3
- package/dist/actions/query-person-changelog.d.mts.map +1 -1
- package/dist/actions/query-person-changelog.mjs +4 -4
- package/dist/actions/query-person-changelog.mjs.map +1 -1
- package/dist/actions/search-company-elastic.cjs +34 -34
- package/dist/actions/search-company-elastic.cjs.map +1 -1
- package/dist/actions/search-company-elastic.d.cts +193 -3
- package/dist/actions/search-company-elastic.d.cts.map +1 -1
- package/dist/actions/search-company-elastic.d.mts +193 -3
- package/dist/actions/search-company-elastic.d.mts.map +1 -1
- package/dist/actions/search-company-elastic.mjs +34 -34
- package/dist/actions/search-company-elastic.mjs.map +1 -1
- package/dist/actions/search-company-post.cjs +4 -4
- package/dist/actions/search-company-post.cjs.map +1 -1
- package/dist/actions/search-company-post.d.cts +56 -3
- package/dist/actions/search-company-post.d.cts.map +1 -1
- package/dist/actions/search-company-post.d.mts +56 -3
- package/dist/actions/search-company-post.d.mts.map +1 -1
- package/dist/actions/search-company-post.mjs +4 -4
- package/dist/actions/search-company-post.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/dist/index.cjs +0 -2
- package/dist/index.d.cts +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +2 -2
- package/dist/actions/generate-search-query.cjs +0 -16
- package/dist/actions/generate-search-query.cjs.map +0 -1
- package/dist/actions/generate-search-query.d.cts +0 -9
- package/dist/actions/generate-search-query.d.cts.map +0 -1
- package/dist/actions/generate-search-query.d.mts +0 -9
- package/dist/actions/generate-search-query.d.mts.map +0 -1
- package/dist/actions/generate-search-query.mjs +0 -13
- package/dist/actions/generate-search-query.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-post.d.mts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"clean-location-post.d.mts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAWrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -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
|
|
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
|
|
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,S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,SAAS,CAAC,CAAC,SAAS;CACrH,UAAU,2DAA2D,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/clean-school-data-post.d.ts
|
|
4
|
-
declare const PeopledatalabsCleanSchoolDataPostInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsCleanSchoolDataPostInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
8
|
+
website: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PeopledatalabsCleanSchoolDataPostOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsCleanSchoolDataPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
pretty?: boolean | undefined;
|
|
31
|
+
profile?: string | undefined;
|
|
32
|
+
website?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { peopledatalabsCleanSchoolDataPost };
|
|
9
36
|
//# sourceMappingURL=clean-school-data-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data-post.d.cts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.d.cts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAavC,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/clean-school-data-post.d.ts
|
|
4
|
-
declare const PeopledatalabsCleanSchoolDataPostInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsCleanSchoolDataPostInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
8
|
+
website: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PeopledatalabsCleanSchoolDataPostOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsCleanSchoolDataPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
pretty?: boolean | undefined;
|
|
31
|
+
profile?: string | undefined;
|
|
32
|
+
website?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { peopledatalabsCleanSchoolDataPost };
|
|
9
36
|
//# sourceMappingURL=clean-school-data-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data-post.d.mts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.d.mts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAavC,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -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
|
|
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;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;CAC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,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
|
|
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":";;;A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C,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,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/clean-school-data.d.ts
|
|
4
|
-
declare const PeopledatalabsCleanSchoolDataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsCleanSchoolDataInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
8
|
+
website: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsCleanSchoolData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
pretty?: boolean | undefined;
|
|
31
|
+
profile?: string | undefined;
|
|
32
|
+
website?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { peopledatalabsCleanSchoolData };
|
|
9
36
|
//# sourceMappingURL=clean-school-data.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data.d.cts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"clean-school-data.d.cts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAanC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/clean-school-data.d.ts
|
|
4
|
-
declare const PeopledatalabsCleanSchoolDataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsCleanSchoolDataInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
8
|
+
website: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsCleanSchoolData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
pretty?: boolean | undefined;
|
|
31
|
+
profile?: string | undefined;
|
|
32
|
+
website?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { peopledatalabsCleanSchoolData };
|
|
9
36
|
//# sourceMappingURL=clean-school-data.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data.d.mts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"clean-school-data.d.mts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAanC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -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
|
|
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
|
-
status: zod.z.number().int().describe("HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found."),
|
|
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
|
|
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,EAAE,OAAO,EAC3B,QAAQA,IAAAA,EAAE,OAAO;CACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,8IAA8I,EAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC3O,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,8EAA8EA,IAAAA,EAAE,OAAO;CAC3F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,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"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/enrich-bulk-company-data.d.ts
|
|
4
|
-
declare const PeopledatalabsEnrichBulkCompanyDataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsEnrichBulkCompanyDataInput: z.ZodObject<{
|
|
5
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
6
|
+
params: z.ZodObject<{
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
pdl_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
region: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ticker: z.ZodOptional<z.ZodString>;
|
|
11
|
+
country: z.ZodOptional<z.ZodString>;
|
|
12
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
13
|
+
website: z.ZodOptional<z.ZodString>;
|
|
14
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
15
|
+
location: z.ZodOptional<z.ZodString>;
|
|
16
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
17
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
|
|
22
|
+
results: z.ZodArray<z.ZodObject<{
|
|
23
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
requests: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
params: {
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
pdl_id?: string | undefined;
|
|
34
|
+
region?: string | undefined;
|
|
35
|
+
ticker?: string | undefined;
|
|
36
|
+
country?: string | undefined;
|
|
37
|
+
profile?: string | undefined;
|
|
38
|
+
website?: string | undefined;
|
|
39
|
+
locality?: string | undefined;
|
|
40
|
+
location?: string | undefined;
|
|
41
|
+
postal_code?: string | undefined;
|
|
42
|
+
street_address?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
9
48
|
//# sourceMappingURL=enrich-bulk-company-data.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrich-bulk-company-data.d.cts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"enrich-bulk-company-data.d.cts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAIzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/enrich-bulk-company-data.d.ts
|
|
4
|
-
declare const PeopledatalabsEnrichBulkCompanyDataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PeopledatalabsEnrichBulkCompanyDataInput: z.ZodObject<{
|
|
5
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
6
|
+
params: z.ZodObject<{
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
pdl_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
region: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ticker: z.ZodOptional<z.ZodString>;
|
|
11
|
+
country: z.ZodOptional<z.ZodString>;
|
|
12
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
13
|
+
website: z.ZodOptional<z.ZodString>;
|
|
14
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
15
|
+
location: z.ZodOptional<z.ZodString>;
|
|
16
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
17
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
|
|
22
|
+
results: z.ZodArray<z.ZodObject<{
|
|
23
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
requests: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
params: {
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
pdl_id?: string | undefined;
|
|
34
|
+
region?: string | undefined;
|
|
35
|
+
ticker?: string | undefined;
|
|
36
|
+
country?: string | undefined;
|
|
37
|
+
profile?: string | undefined;
|
|
38
|
+
website?: string | undefined;
|
|
39
|
+
locality?: string | undefined;
|
|
40
|
+
location?: string | undefined;
|
|
41
|
+
postal_code?: string | undefined;
|
|
42
|
+
street_address?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
9
48
|
//# sourceMappingURL=enrich-bulk-company-data.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrich-bulk-company-data.d.mts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"enrich-bulk-company-data.d.mts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAIzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -13,18 +13,18 @@ const PeopledatalabsEnrichBulkCompanyDataInput = z.object({ requests: z.array(z.
|
|
|
13
13
|
location: z.string().describe("A general text query for the company's location (e.g., 'San Francisco, CA' or 'London').").optional(),
|
|
14
14
|
postal_code: z.string().describe("The postal or ZIP code for the company's location.").optional(),
|
|
15
15
|
street_address: 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 = z.object({
|
|
18
18
|
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(),
|
|
19
|
-
status: z.number().int().describe("HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found."),
|
|
19
|
+
status: z.number().int().describe("HTTP status code for this individual enrichment request. 200 indicates success, 404 indicates no match found.").nullable(),
|
|
20
20
|
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()
|
|
21
|
-
}).describe("A single response item in the bulk company enrichment response array.");
|
|
21
|
+
}).passthrough().describe("A single response item in the bulk company enrichment response array.");
|
|
22
22
|
const peopledatalabsEnrichBulkCompanyData = action("PEOPLEDATALABS_ENRICH_BULK_COMPANY_DATA", {
|
|
23
23
|
slug: "peopledatalabs-enrich-bulk-company-data",
|
|
24
24
|
name: "Enrich Bulk Company Data",
|
|
25
25
|
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).",
|
|
26
26
|
input: PeopledatalabsEnrichBulkCompanyDataInput,
|
|
27
|
-
output: z.object({ 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.") }).describe("Response model for Bulk Company Enrichment API.")
|
|
27
|
+
output: z.object({ 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.") }).passthrough().describe("Response model for Bulk Company Enrichment API.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { peopledatalabsEnrichBulkCompanyData };
|