@keystrokehq/peopledatalabs 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3 -3
- 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 +3 -3
- package/dist/actions/clean-company-data.mjs.map +1 -1
- 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.map +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.map +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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/enrich-bulk-company-data.cjs +1 -1
- package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.cts +41 -3
- package/dist/actions/enrich-bulk-company-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.mts +41 -3
- package/dist/actions/enrich-bulk-company-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.mjs +1 -1
- package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.cjs +1 -1
- package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.cts +305 -3
- package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.mts +305 -3
- package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.mjs +1 -1
- package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
- package/dist/actions/enrich-company-data.cjs +3 -3
- 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 +3 -3
- package/dist/actions/enrich-company-data.mjs.map +1 -1
- package/dist/actions/enrich-ip-data.cjs +14 -14
- 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 +14 -14
- package/dist/actions/enrich-ip-data.mjs.map +1 -1
- package/dist/actions/enrich-job-title-data.cjs +1 -1
- 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 +1 -1
- package/dist/actions/enrich-job-title-data.mjs.map +1 -1
- package/dist/actions/enrich-person-data.cjs +2 -2
- 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 +2 -2
- package/dist/actions/enrich-person-data.mjs.map +1 -1
- package/dist/actions/enrich-skill-data.cjs +1 -1
- 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 +1 -1
- package/dist/actions/enrich-skill-data.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-autocomplete-suggestions-post.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.cjs +2 -2
- 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 +2 -2
- package/dist/actions/get-autocomplete-suggestions.mjs.map +1 -1
- package/dist/actions/get-column-details.cjs +2 -2
- 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 +2 -2
- package/dist/actions/get-column-details.mjs.map +1 -1
- package/dist/actions/get-schema.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-schema.mjs.map +1 -1
- package/dist/actions/get-subject-requests.cjs +2 -2
- 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 +2 -2
- package/dist/actions/get-subject-requests.mjs.map +1 -1
- package/dist/actions/identify-person-data.cjs +1 -1
- 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 +1 -1
- 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 +3 -3
- 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 +3 -3
- package/dist/actions/people-search-elastic.mjs.map +1 -1
- package/dist/actions/query-person-changelog.cjs +1 -1
- 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 +1 -1
- package/dist/actions/query-person-changelog.mjs.map +1 -1
- package/dist/actions/search-company-elastic.cjs +3 -3
- 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 +3 -3
- package/dist/actions/search-company-elastic.mjs.map +1 -1
- package/dist/actions/search-company-post.cjs +1 -1
- 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 +1 -1
- 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-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});\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,SA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+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,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.$strip>>>;
|
|
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.$strip>;
|
|
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.$strip>>>;
|
|
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.$strip>;
|
|
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"}
|
|
@@ -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});\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,OAA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AAS,+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"}
|
|
@@ -16,7 +16,7 @@ const PeopledatalabsEnrichBulkCompanyDataInput = zod.z.object({ requests: zod.z.
|
|
|
16
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.");
|
|
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
21
|
}).describe("A single response item in the bulk company enrichment response array.");
|
|
22
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.");
|
|
@@ -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}).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,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,O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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,9 +1,47 @@
|
|
|
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.$strip>>;
|
|
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.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
requests: {
|
|
30
|
+
params: {
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
pdl_id?: string | undefined;
|
|
33
|
+
region?: string | undefined;
|
|
34
|
+
ticker?: string | undefined;
|
|
35
|
+
country?: string | undefined;
|
|
36
|
+
profile?: string | undefined;
|
|
37
|
+
website?: string | undefined;
|
|
38
|
+
locality?: string | undefined;
|
|
39
|
+
location?: string | undefined;
|
|
40
|
+
postal_code?: string | undefined;
|
|
41
|
+
street_address?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
}[];
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
9
47
|
//# 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,47 @@
|
|
|
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.$strip>>;
|
|
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.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const peopledatalabsEnrichBulkCompanyData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
requests: {
|
|
30
|
+
params: {
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
pdl_id?: string | undefined;
|
|
33
|
+
region?: string | undefined;
|
|
34
|
+
ticker?: string | undefined;
|
|
35
|
+
country?: string | undefined;
|
|
36
|
+
profile?: string | undefined;
|
|
37
|
+
website?: string | undefined;
|
|
38
|
+
locality?: string | undefined;
|
|
39
|
+
location?: string | undefined;
|
|
40
|
+
postal_code?: string | undefined;
|
|
41
|
+
street_address?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
}[];
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
9
47
|
//# 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"}
|
|
@@ -16,7 +16,7 @@ const PeopledatalabsEnrichBulkCompanyDataInput = z.object({ requests: z.array(z.
|
|
|
16
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.");
|
|
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
21
|
}).describe("A single response item in the bulk company enrichment response array.");
|
|
22
22
|
const peopledatalabsEnrichBulkCompanyData = action("PEOPLEDATALABS_ENRICH_BULK_COMPANY_DATA", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrich-bulk-company-data.mjs","names":[],"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.mjs","names":[],"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,2CAA2C,EAAE,OAAO,EAC/D,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,QAAQ,EAAE,OAAO;CACjB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,QAAQ,EAA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MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,2EAA2E,CAAC,CAAC,SAAS,wJAAwJ,EACjQ,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -269,7 +269,7 @@ const PeopledatalabsEnrichBulkPersonData_PersonDataSchema = zod.z.object({
|
|
|
269
269
|
}).describe("Complete PDL person profile matching the enrichment request.");
|
|
270
270
|
const PeopledatalabsEnrichBulkPersonData_BulkEnrichmentResultSchema = zod.z.object({
|
|
271
271
|
data: PeopledatalabsEnrichBulkPersonData_PersonDataSchema.nullable().optional(),
|
|
272
|
-
status: zod.z.number().int().describe("HTTP status code for this individual request (200 for success, 404 if no match found)."),
|
|
272
|
+
status: zod.z.number().int().describe("HTTP status code for this individual request (200 for success, 404 if no match found).").nullable(),
|
|
273
273
|
metadata: zod.z.object({}).describe("Optional metadata from the request, if provided.").nullable().optional(),
|
|
274
274
|
likelihood: zod.z.number().int().describe("Confidence score (1-10) that the returned profile matches the request. Null if no match found.").nullable().optional()
|
|
275
275
|
}).describe("Result for a single enrichment request in the bulk response.");
|