@keystrokehq/peopledatalabs 0.1.5 → 0.1.6
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/clean-company-data.cjs +1 -0
- package/dist/actions/clean-company-data.cjs.map +1 -1
- package/dist/actions/clean-company-data.d.cts +3 -18
- package/dist/actions/clean-company-data.d.cts.map +1 -1
- package/dist/actions/clean-company-data.d.mts +3 -18
- package/dist/actions/clean-company-data.d.mts.map +1 -1
- package/dist/actions/clean-company-data.mjs +1 -0
- package/dist/actions/clean-company-data.mjs.map +1 -1
- package/dist/actions/clean-company-post.cjs +1 -0
- package/dist/actions/clean-company-post.cjs.map +1 -1
- package/dist/actions/clean-company-post.d.cts +3 -18
- package/dist/actions/clean-company-post.d.cts.map +1 -1
- package/dist/actions/clean-company-post.d.mts +3 -18
- package/dist/actions/clean-company-post.d.mts.map +1 -1
- package/dist/actions/clean-company-post.mjs +1 -0
- package/dist/actions/clean-company-post.mjs.map +1 -1
- package/dist/actions/clean-location-data.cjs +1 -0
- package/dist/actions/clean-location-data.cjs.map +1 -1
- package/dist/actions/clean-location-data.d.cts +3 -15
- package/dist/actions/clean-location-data.d.cts.map +1 -1
- package/dist/actions/clean-location-data.d.mts +3 -15
- package/dist/actions/clean-location-data.d.mts.map +1 -1
- package/dist/actions/clean-location-data.mjs +1 -0
- package/dist/actions/clean-location-data.mjs.map +1 -1
- package/dist/actions/clean-location-post.cjs +1 -0
- package/dist/actions/clean-location-post.cjs.map +1 -1
- package/dist/actions/clean-location-post.d.cts +3 -16
- package/dist/actions/clean-location-post.d.cts.map +1 -1
- package/dist/actions/clean-location-post.d.mts +3 -16
- package/dist/actions/clean-location-post.d.mts.map +1 -1
- package/dist/actions/clean-location-post.mjs +1 -0
- package/dist/actions/clean-location-post.mjs.map +1 -1
- package/dist/actions/clean-school-data-post.cjs +1 -0
- package/dist/actions/clean-school-data-post.cjs.map +1 -1
- package/dist/actions/clean-school-data-post.d.cts +3 -18
- package/dist/actions/clean-school-data-post.d.cts.map +1 -1
- package/dist/actions/clean-school-data-post.d.mts +3 -18
- package/dist/actions/clean-school-data-post.d.mts.map +1 -1
- package/dist/actions/clean-school-data-post.mjs +1 -0
- package/dist/actions/clean-school-data-post.mjs.map +1 -1
- package/dist/actions/clean-school-data.cjs +1 -0
- package/dist/actions/clean-school-data.cjs.map +1 -1
- package/dist/actions/clean-school-data.d.cts +3 -18
- package/dist/actions/clean-school-data.d.cts.map +1 -1
- package/dist/actions/clean-school-data.d.mts +3 -18
- package/dist/actions/clean-school-data.d.mts.map +1 -1
- package/dist/actions/clean-school-data.mjs +1 -0
- package/dist/actions/clean-school-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.cjs +1 -0
- package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.cts +3 -30
- package/dist/actions/enrich-bulk-company-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.mts +3 -30
- package/dist/actions/enrich-bulk-company-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-company-data.mjs +1 -0
- package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.cjs +1 -0
- package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.cts +3 -41
- package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.mts +3 -41
- package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.mjs +1 -0
- package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
- package/dist/actions/enrich-company-data.cjs +1 -0
- package/dist/actions/enrich-company-data.cjs.map +1 -1
- package/dist/actions/enrich-company-data.d.cts +16 -40
- package/dist/actions/enrich-company-data.d.cts.map +1 -1
- package/dist/actions/enrich-company-data.d.mts +16 -40
- package/dist/actions/enrich-company-data.d.mts.map +1 -1
- package/dist/actions/enrich-company-data.mjs +1 -0
- package/dist/actions/enrich-company-data.mjs.map +1 -1
- package/dist/actions/enrich-ip-data.cjs +1 -0
- package/dist/actions/enrich-ip-data.cjs.map +1 -1
- package/dist/actions/enrich-ip-data.d.cts +3 -23
- package/dist/actions/enrich-ip-data.d.cts.map +1 -1
- package/dist/actions/enrich-ip-data.d.mts +3 -23
- package/dist/actions/enrich-ip-data.d.mts.map +1 -1
- package/dist/actions/enrich-ip-data.mjs +1 -0
- package/dist/actions/enrich-ip-data.mjs.map +1 -1
- package/dist/actions/enrich-job-title-data.cjs +1 -0
- package/dist/actions/enrich-job-title-data.cjs.map +1 -1
- package/dist/actions/enrich-job-title-data.d.cts +3 -15
- package/dist/actions/enrich-job-title-data.d.cts.map +1 -1
- package/dist/actions/enrich-job-title-data.d.mts +3 -15
- package/dist/actions/enrich-job-title-data.d.mts.map +1 -1
- package/dist/actions/enrich-job-title-data.mjs +1 -0
- package/dist/actions/enrich-job-title-data.mjs.map +1 -1
- package/dist/actions/enrich-person-data.cjs +1 -0
- package/dist/actions/enrich-person-data.cjs.map +1 -1
- package/dist/actions/enrich-person-data.d.cts +3 -37
- package/dist/actions/enrich-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-person-data.d.mts +3 -37
- package/dist/actions/enrich-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-person-data.mjs +1 -0
- package/dist/actions/enrich-person-data.mjs.map +1 -1
- package/dist/actions/enrich-skill-data.cjs +1 -0
- package/dist/actions/enrich-skill-data.cjs.map +1 -1
- package/dist/actions/enrich-skill-data.d.cts +3 -15
- package/dist/actions/enrich-skill-data.d.cts.map +1 -1
- package/dist/actions/enrich-skill-data.d.mts +3 -15
- package/dist/actions/enrich-skill-data.d.mts.map +1 -1
- package/dist/actions/enrich-skill-data.mjs +1 -0
- package/dist/actions/enrich-skill-data.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.cjs +1 -0
- package/dist/actions/get-autocomplete-suggestions-post.cjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.d.cts +3 -19
- package/dist/actions/get-autocomplete-suggestions-post.d.cts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.d.mts +3 -19
- package/dist/actions/get-autocomplete-suggestions-post.d.mts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions-post.mjs +1 -0
- package/dist/actions/get-autocomplete-suggestions-post.mjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.cjs +1 -0
- package/dist/actions/get-autocomplete-suggestions.cjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.d.cts +3 -19
- package/dist/actions/get-autocomplete-suggestions.d.cts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.d.mts +3 -19
- package/dist/actions/get-autocomplete-suggestions.d.mts.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.mjs +1 -0
- package/dist/actions/get-autocomplete-suggestions.mjs.map +1 -1
- package/dist/actions/get-column-details.cjs +1 -0
- package/dist/actions/get-column-details.cjs.map +1 -1
- package/dist/actions/get-column-details.d.cts +3 -15
- package/dist/actions/get-column-details.d.cts.map +1 -1
- package/dist/actions/get-column-details.d.mts +3 -15
- package/dist/actions/get-column-details.d.mts.map +1 -1
- package/dist/actions/get-column-details.mjs +1 -0
- package/dist/actions/get-column-details.mjs.map +1 -1
- package/dist/actions/get-schema.cjs +1 -0
- package/dist/actions/get-schema.cjs.map +1 -1
- package/dist/actions/get-schema.d.cts +3 -15
- package/dist/actions/get-schema.d.cts.map +1 -1
- package/dist/actions/get-schema.d.mts +3 -15
- package/dist/actions/get-schema.d.mts.map +1 -1
- package/dist/actions/get-schema.mjs +1 -0
- package/dist/actions/get-schema.mjs.map +1 -1
- package/dist/actions/get-subject-requests.cjs +1 -0
- package/dist/actions/get-subject-requests.cjs.map +1 -1
- package/dist/actions/get-subject-requests.d.cts +3 -13
- package/dist/actions/get-subject-requests.d.cts.map +1 -1
- package/dist/actions/get-subject-requests.d.mts +3 -13
- package/dist/actions/get-subject-requests.d.mts.map +1 -1
- package/dist/actions/get-subject-requests.mjs +1 -0
- package/dist/actions/get-subject-requests.mjs.map +1 -1
- package/dist/actions/identify-person-data.cjs +1 -0
- package/dist/actions/identify-person-data.cjs.map +1 -1
- package/dist/actions/identify-person-data.d.cts +3 -32
- package/dist/actions/identify-person-data.d.cts.map +1 -1
- package/dist/actions/identify-person-data.d.mts +3 -32
- package/dist/actions/identify-person-data.d.mts.map +1 -1
- package/dist/actions/identify-person-data.mjs +1 -0
- package/dist/actions/identify-person-data.mjs.map +1 -1
- package/dist/actions/people-search-elastic.cjs +1 -0
- package/dist/actions/people-search-elastic.cjs.map +1 -1
- package/dist/actions/people-search-elastic.d.cts +3 -20
- package/dist/actions/people-search-elastic.d.cts.map +1 -1
- package/dist/actions/people-search-elastic.d.mts +3 -20
- package/dist/actions/people-search-elastic.d.mts.map +1 -1
- package/dist/actions/people-search-elastic.mjs +1 -0
- package/dist/actions/people-search-elastic.mjs.map +1 -1
- package/dist/actions/query-person-changelog.cjs +1 -0
- package/dist/actions/query-person-changelog.cjs.map +1 -1
- package/dist/actions/query-person-changelog.d.cts +3 -20
- package/dist/actions/query-person-changelog.d.cts.map +1 -1
- package/dist/actions/query-person-changelog.d.mts +3 -20
- package/dist/actions/query-person-changelog.d.mts.map +1 -1
- package/dist/actions/query-person-changelog.mjs +1 -0
- package/dist/actions/query-person-changelog.mjs.map +1 -1
- package/dist/actions/search-company-elastic.cjs +1 -0
- package/dist/actions/search-company-elastic.cjs.map +1 -1
- package/dist/actions/search-company-elastic.d.cts +16 -32
- package/dist/actions/search-company-elastic.d.cts.map +1 -1
- package/dist/actions/search-company-elastic.d.mts +16 -32
- package/dist/actions/search-company-elastic.d.mts.map +1 -1
- package/dist/actions/search-company-elastic.mjs +1 -0
- package/dist/actions/search-company-elastic.mjs.map +1 -1
- package/dist/actions/search-company-post.cjs +1 -0
- package/dist/actions/search-company-post.cjs.map +1 -1
- package/dist/actions/search-company-post.d.cts +3 -21
- package/dist/actions/search-company-post.d.cts.map +1 -1
- package/dist/actions/search-company-post.d.mts +3 -21
- package/dist/actions/search-company-post.d.mts.map +1 -1
- package/dist/actions/search-company-post.mjs +1 -0
- package/dist/actions/search-company-post.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-location-data.d.ts
|
|
@@ -18,21 +20,7 @@ declare const PeopledatalabsCleanLocationDataOutput: z.ZodObject<{
|
|
|
18
20
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const peopledatalabsCleanLocationData:
|
|
22
|
-
location: string;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const peopledatalabsCleanLocationData: AppAction<typeof PeopledatalabsCleanLocationDataInput, typeof PeopledatalabsCleanLocationDataOutput, typeof peopledatalabs.credential>;
|
|
36
24
|
//#endregion
|
|
37
25
|
export { peopledatalabsCleanLocationData };
|
|
38
26
|
//# sourceMappingURL=clean-location-data.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-data.d.mts","names":[],"sources":["../../src/actions/clean-location-data.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-location-data.d.mts","names":[],"sources":["../../src/actions/clean-location-data.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAerC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-data.mjs","names":[],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationData = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-location-data.mjs","names":[],"sources":["../../src/actions/clean-location-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\n\nexport const PeopledatalabsCleanLocationDataInput = z.object({\n location: z.string().describe(\"The raw, unformatted location string to be cleaned and standardized. This can be a full address, a city/state pair, or just a place name.\"),\n});\nexport const PeopledatalabsCleanLocationDataOutput = z.object({\n geo: z.string().describe(\"The geolocation associated with the location object in latitude,longitude format\").nullable().optional(),\n name: z.string().describe(\"A string that appends location fields together to create a standard location field\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n metro: z.string().describe(\"The metro area associated with the location object (predefined US metro areas)\").nullable().optional(),\n region: z.string().describe(\"The administrative region (state or province) associated with the location object\").nullable().optional(),\n country: z.string().describe(\"The country associated with the location object\").nullable().optional(),\n locality: z.string().describe(\"The administrative locality (city or town) associated with the location object\").nullable().optional(),\n continent: z.string().describe(\"The continent associated with the country in the location object. Possible values are one of the seven continents\").nullable().optional(),\n subregion: z.string().describe(\"The county or district name associated with the location object\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code associated with the location object\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary street address associated with the location object\").nullable().optional(),\n street_address: z.string().describe(\"The street address associated with the location object\").nullable().optional(),\n}).passthrough();\n\nexport const peopledatalabsCleanLocationData: AppAction<\n typeof PeopledatalabsCleanLocationDataInput,\n typeof PeopledatalabsCleanLocationDataOutput,\n typeof peopledatalabs.credential\n> = action(\"PEOPLEDATALABS_CLEAN_LOCATION_DATA\", {\n slug: \"peopledatalabs-clean-location-data\",\n name: \"Clean location data\",\n description: \"Cleans and standardizes a raw, unformatted location string into a structured representation, provided the input is a recognizable geographical place.\",\n input: PeopledatalabsCleanLocationDataInput,\n output: PeopledatalabsCleanLocationDataOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BkD,EAAE,OAAO,EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAC3K,CAwBS;CACP,QAxBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-location-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanLocationPostInput,\n typeof PeopledatalabsCleanLocationPostOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACrI,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-location-post.d.ts
|
|
@@ -15,22 +17,7 @@ declare const PeopledatalabsCleanLocationPostOutput: z.ZodObject<{
|
|
|
15
17
|
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
subregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const peopledatalabsCleanLocationPost:
|
|
19
|
-
location: string;
|
|
20
|
-
pretty?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const peopledatalabsCleanLocationPost: AppAction<typeof PeopledatalabsCleanLocationPostInput, typeof PeopledatalabsCleanLocationPostOutput, typeof peopledatalabs.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { peopledatalabsCleanLocationPost };
|
|
36
23
|
//# sourceMappingURL=clean-location-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-post.d.cts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-location-post.d.cts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAWrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-location-post.d.ts
|
|
@@ -15,22 +17,7 @@ declare const PeopledatalabsCleanLocationPostOutput: z.ZodObject<{
|
|
|
15
17
|
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
subregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const peopledatalabsCleanLocationPost:
|
|
19
|
-
location: string;
|
|
20
|
-
pretty?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const peopledatalabsCleanLocationPost: AppAction<typeof PeopledatalabsCleanLocationPostInput, typeof PeopledatalabsCleanLocationPostOutput, typeof peopledatalabs.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { peopledatalabsCleanLocationPost };
|
|
36
23
|
//# sourceMappingURL=clean-location-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-post.d.mts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-location-post.d.mts","names":[],"sources":["../../src/actions/clean-location-post.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAWrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-location-post.mjs","names":[],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanLocationPostInput = z.object({\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation\").optional(),\n location: z.string().describe(\"The raw location string to clean and standardize. Can be a full address, city/state, or place name.\"),\n});\nexport const PeopledatalabsCleanLocationPostOutput = z.object({\n geo: z.string().describe(\"The geo of the location\").nullable().optional(),\n name: z.string().describe(\"The canonical name of the location\").nullable().optional(),\n type: z.string().describe(\"Classification of the location (e.g., 'locality')\").nullable().optional(),\n region: z.string().describe(\"The region of the location\").nullable().optional(),\n country: z.string().describe(\"The canonical country of the location\").nullable().optional(),\n locality: z.string().describe(\"The locality of the location\").nullable().optional(),\n continent: z.string().describe(\"The canonical continent of the location\").nullable().optional(),\n subregion: z.string().describe(\"The subregion of the location\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-location-post.mjs","names":[],"sources":["../../src/actions/clean-location-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanLocationPostInput,\n typeof PeopledatalabsCleanLocationPostOutput,\n typeof peopledatalabs.credential\n> = 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":";;;AAqBA,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkD,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,CAoBS;CACP,QApBmD,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,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanSchoolDataPostInput,\n typeof PeopledatalabsCleanSchoolDataPostOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,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,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-school-data-post.d.ts
|
|
@@ -25,24 +27,7 @@ declare const PeopledatalabsCleanSchoolDataPostOutput: z.ZodObject<{
|
|
|
25
27
|
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsCleanSchoolDataPost:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsCleanSchoolDataPost: AppAction<typeof PeopledatalabsCleanSchoolDataPostInput, typeof PeopledatalabsCleanSchoolDataPostOutput, typeof peopledatalabs.credential>;
|
|
46
31
|
//#endregion
|
|
47
32
|
export { peopledatalabsCleanSchoolDataPost };
|
|
48
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.d.cts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAavC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-school-data-post.d.ts
|
|
@@ -25,24 +27,7 @@ declare const PeopledatalabsCleanSchoolDataPostOutput: z.ZodObject<{
|
|
|
25
27
|
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsCleanSchoolDataPost:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsCleanSchoolDataPost: AppAction<typeof PeopledatalabsCleanSchoolDataPostInput, typeof PeopledatalabsCleanSchoolDataPostOutput, typeof peopledatalabs.credential>;
|
|
46
31
|
//#endregion
|
|
47
32
|
export { peopledatalabsCleanSchoolDataPost };
|
|
48
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.d.mts","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAavC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data-post.mjs","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataPostInput = z.object({\n name: z.string().describe(\"The name of the school to clean and standardize.\").optional(),\n pretty: z.boolean().default(false).describe(\"Whether the output should have human-readable indentation.\").optional(),\n profile: z.string().describe(\"A social profile used by the school (e.g. LinkedIn/Facebook/Twitter).\").optional(),\n website: z.string().describe(\"A website the school uses.\").optional(),\n});\nconst PeopledatalabsCleanSchoolDataPost_SchoolLocationPostSchema = z.object({\n name: z.string().describe(\"Full location name\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data-post.mjs","names":[],"sources":["../../src/actions/clean-school-data-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanSchoolDataPostInput,\n typeof PeopledatalabsCleanSchoolDataPostOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AAcf,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,UAAU,2DAA2D,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data.cjs","names":["z","action"],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanSchoolDataInput,\n typeof PeopledatalabsCleanSchoolDataOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-school-data.d.ts
|
|
@@ -25,24 +27,7 @@ declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
|
|
|
25
27
|
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsCleanSchoolData:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsCleanSchoolData: AppAction<typeof PeopledatalabsCleanSchoolDataInput, typeof PeopledatalabsCleanSchoolDataOutput, typeof peopledatalabs.credential>;
|
|
46
31
|
//#endregion
|
|
47
32
|
export { peopledatalabsCleanSchoolData };
|
|
48
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data.d.cts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAanC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-school-data.d.ts
|
|
@@ -25,24 +27,7 @@ declare const PeopledatalabsCleanSchoolDataOutput: z.ZodObject<{
|
|
|
25
27
|
facebook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsCleanSchoolData:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsCleanSchoolData: AppAction<typeof PeopledatalabsCleanSchoolDataInput, typeof PeopledatalabsCleanSchoolDataOutput, typeof peopledatalabs.credential>;
|
|
46
31
|
//#endregion
|
|
47
32
|
export { peopledatalabsCleanSchoolData };
|
|
48
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data.d.mts","names":[],"sources":["../../src/actions/clean-school-data.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAanC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-school-data.mjs","names":[],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsCleanSchoolDataInput = z.object({\n name: z.string().describe(\"The name of the school.\").optional(),\n pretty: z.boolean().default(false).describe(\"If true, the JSON response is pretty-printed with human-readable indentations.\").optional(),\n profile: z.string().describe(\"The social media profile URL (e.g., LinkedIn, Twitter) of the school.\").optional(),\n website: z.string().describe(\"The website URL of the school.\").optional(),\n});\nconst PeopledatalabsCleanSchoolData_SchoolLocationSchema = z.object({\n name: z.string().describe(\"Full location name (e.g., 'los angeles, california, united states')\").nullable().optional(),\n region: z.string().describe(\"State or province\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"City or primary locality\").nullable().optional(),\n continent: z.string().describe(\"Continent name\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"clean-school-data.mjs","names":[],"sources":["../../src/actions/clean-school-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsCleanSchoolDataInput,\n typeof PeopledatalabsCleanSchoolDataOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AAcf,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrich-bulk-company-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichBulkCompanyDataInput = z.object({\n requests: z.array(z.object({\n params: z.object({\n name: z.string().describe(\"Company name to search for. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n pdl_id: z.string().describe(\"People Data Labs unique ID for a company. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n region: z.string().describe(\"The state, province, or administrative region where the company is located.\").optional(),\n ticker: z.string().describe(\"Stock market ticker symbol. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n country: z.string().describe(\"The country where the company is located. Can be a full name or an ISO country code.\").optional(),\n profile: z.string().describe(\"Company social media profile URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n website: z.string().describe(\"Company website URL. At least one of pdl_id/name/profile/ticker/website must be provided.\").optional(),\n locality: z.string().describe(\"The city or locality where the company is situated.\").optional(),\n location: z.string().describe(\"A general text query for the company's location (e.g., 'San Francisco, CA' or 'London').\").optional(),\n postal_code: z.string().describe(\"The postal or ZIP code for the company's location.\").optional(),\n street_address: z.string().describe(\"The street address component of the company's location.\").optional(),\n}).describe(\"Parameters for this individual company enrichment request. Must include at least one identifier (pdl_id, name, profile, ticker, or website).\"),\n}).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":"
|
|
1
|
+
{"version":3,"file":"enrich-bulk-company-data.cjs","names":["z","action"],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { peopledatalabs } from \"../app\";\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: AppAction<\n typeof PeopledatalabsEnrichBulkCompanyDataInput,\n typeof PeopledatalabsEnrichBulkCompanyDataOutput,\n typeof peopledatalabs.credential\n> = 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":";;;;AAMA,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,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/enrich-bulk-company-data.d.ts
|
|
@@ -25,36 +27,7 @@ declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
|
|
|
25
27
|
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsEnrichBulkCompanyData:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsEnrichBulkCompanyData: AppAction<typeof PeopledatalabsEnrichBulkCompanyDataInput, typeof PeopledatalabsEnrichBulkCompanyDataOutput, typeof peopledatalabs.credential>;
|
|
58
31
|
//#endregion
|
|
59
32
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
60
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"enrich-bulk-company-data.d.cts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { peopledatalabs } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/enrich-bulk-company-data.d.ts
|
|
@@ -25,36 +27,7 @@ declare const PeopledatalabsEnrichBulkCompanyDataOutput: z.ZodObject<{
|
|
|
25
27
|
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const peopledatalabsEnrichBulkCompanyData:
|
|
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<"peopledatalabs", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"peopledatalabs", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const peopledatalabsEnrichBulkCompanyData: AppAction<typeof PeopledatalabsEnrichBulkCompanyDataInput, typeof PeopledatalabsEnrichBulkCompanyDataOutput, typeof peopledatalabs.credential>;
|
|
58
31
|
//#endregion
|
|
59
32
|
export { peopledatalabsEnrichBulkCompanyData };
|
|
60
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"enrich-bulk-company-data.d.mts","names":[],"sources":["../../src/actions/enrich-bulk-company-data.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,cAAA,CAAe,UAAA"}
|