@keystrokehq/peopledatalabs 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/clean-company-data.cjs +10 -10
- package/dist/actions/clean-company-data.cjs.map +1 -1
- package/dist/actions/clean-company-data.d.cts +10 -10
- package/dist/actions/clean-company-data.d.mts +10 -10
- package/dist/actions/clean-company-data.mjs +10 -10
- package/dist/actions/clean-company-data.mjs.map +1 -1
- package/dist/actions/clean-company-post.cjs +2 -2
- package/dist/actions/clean-company-post.cjs.map +1 -1
- package/dist/actions/clean-company-post.d.cts +2 -2
- package/dist/actions/clean-company-post.d.mts +2 -2
- package/dist/actions/clean-company-post.mjs +2 -2
- package/dist/actions/clean-company-post.mjs.map +1 -1
- package/dist/actions/clean-location-data.cjs +1 -1
- package/dist/actions/clean-location-data.cjs.map +1 -1
- package/dist/actions/clean-location-data.d.cts +1 -1
- package/dist/actions/clean-location-data.d.mts +1 -1
- package/dist/actions/clean-location-data.mjs +1 -1
- package/dist/actions/clean-location-data.mjs.map +1 -1
- package/dist/actions/clean-location-post.cjs +1 -1
- package/dist/actions/clean-location-post.cjs.map +1 -1
- package/dist/actions/clean-location-post.d.cts +1 -1
- package/dist/actions/clean-location-post.d.mts +1 -1
- package/dist/actions/clean-location-post.mjs +1 -1
- package/dist/actions/clean-location-post.mjs.map +1 -1
- package/dist/actions/clean-school-data-post.cjs +2 -2
- package/dist/actions/clean-school-data-post.cjs.map +1 -1
- package/dist/actions/clean-school-data-post.d.cts +2 -2
- package/dist/actions/clean-school-data-post.d.mts +2 -2
- package/dist/actions/clean-school-data-post.mjs +2 -2
- package/dist/actions/clean-school-data-post.mjs.map +1 -1
- package/dist/actions/clean-school-data.cjs +2 -2
- package/dist/actions/clean-school-data.cjs.map +1 -1
- package/dist/actions/clean-school-data.d.cts +2 -2
- package/dist/actions/clean-school-data.d.mts +2 -2
- package/dist/actions/clean-school-data.mjs +2 -2
- package/dist/actions/clean-school-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.cjs +3 -3
- package/dist/actions/enrich-bulk-company-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-company-data.d.cts +4 -3
- package/dist/actions/enrich-bulk-company-data.d.mts +4 -3
- package/dist/actions/enrich-bulk-company-data.mjs +3 -3
- package/dist/actions/enrich-bulk-company-data.mjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.cjs +18 -18
- package/dist/actions/enrich-bulk-person-data.cjs.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.cts +21 -20
- package/dist/actions/enrich-bulk-person-data.d.cts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.d.mts +21 -20
- package/dist/actions/enrich-bulk-person-data.d.mts.map +1 -1
- package/dist/actions/enrich-bulk-person-data.mjs +18 -18
- package/dist/actions/enrich-bulk-person-data.mjs.map +1 -1
- package/dist/actions/enrich-company-data.cjs +6 -6
- package/dist/actions/enrich-company-data.cjs.map +1 -1
- package/dist/actions/enrich-company-data.d.cts +6 -6
- package/dist/actions/enrich-company-data.d.mts +6 -6
- package/dist/actions/enrich-company-data.mjs +6 -6
- package/dist/actions/enrich-company-data.mjs.map +1 -1
- package/dist/actions/enrich-ip-data.cjs +8 -8
- package/dist/actions/enrich-ip-data.cjs.map +1 -1
- package/dist/actions/enrich-ip-data.d.cts +8 -8
- package/dist/actions/enrich-ip-data.d.mts +8 -8
- package/dist/actions/enrich-ip-data.mjs +8 -8
- 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 +1 -1
- package/dist/actions/enrich-job-title-data.d.mts +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 +14 -14
- package/dist/actions/enrich-person-data.cjs.map +1 -1
- package/dist/actions/enrich-person-data.d.cts +15 -15
- package/dist/actions/enrich-person-data.d.mts +15 -15
- package/dist/actions/enrich-person-data.mjs +14 -14
- 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 +1 -1
- package/dist/actions/enrich-skill-data.d.mts +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 +6 -6
- package/dist/actions/get-autocomplete-suggestions-post.d.mts +6 -6
- 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 +3 -3
- package/dist/actions/get-autocomplete-suggestions.cjs.map +1 -1
- package/dist/actions/get-autocomplete-suggestions.d.cts +3 -3
- package/dist/actions/get-autocomplete-suggestions.d.mts +3 -3
- package/dist/actions/get-autocomplete-suggestions.mjs +3 -3
- 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 +2 -2
- package/dist/actions/get-column-details.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-schema.cjs.map +1 -1
- package/dist/actions/get-schema.d.cts +2 -2
- package/dist/actions/get-schema.d.mts +2 -2
- package/dist/actions/get-schema.mjs +2 -2
- package/dist/actions/get-schema.mjs.map +1 -1
- package/dist/actions/get-subject-requests.cjs +1 -1
- package/dist/actions/get-subject-requests.cjs.map +1 -1
- package/dist/actions/get-subject-requests.d.cts +1 -1
- package/dist/actions/get-subject-requests.d.mts +1 -1
- package/dist/actions/get-subject-requests.mjs +1 -1
- package/dist/actions/get-subject-requests.mjs.map +1 -1
- package/dist/actions/identify-person-data.cjs +2 -2
- package/dist/actions/identify-person-data.cjs.map +1 -1
- package/dist/actions/identify-person-data.d.cts +2 -2
- package/dist/actions/identify-person-data.d.mts +2 -2
- package/dist/actions/identify-person-data.mjs +2 -2
- package/dist/actions/identify-person-data.mjs.map +1 -1
- package/dist/actions/people-search-elastic.cjs +9 -9
- package/dist/actions/people-search-elastic.cjs.map +1 -1
- package/dist/actions/people-search-elastic.d.cts +10 -10
- package/dist/actions/people-search-elastic.d.mts +10 -10
- package/dist/actions/people-search-elastic.mjs +9 -9
- package/dist/actions/people-search-elastic.mjs.map +1 -1
- package/dist/actions/query-person-changelog.cjs +3 -3
- package/dist/actions/query-person-changelog.cjs.map +1 -1
- package/dist/actions/query-person-changelog.d.cts +3 -3
- package/dist/actions/query-person-changelog.d.mts +3 -3
- package/dist/actions/query-person-changelog.mjs +3 -3
- package/dist/actions/query-person-changelog.mjs.map +1 -1
- package/dist/actions/search-company-elastic.cjs +31 -31
- package/dist/actions/search-company-elastic.cjs.map +1 -1
- package/dist/actions/search-company-elastic.d.cts +31 -31
- package/dist/actions/search-company-elastic.d.mts +31 -31
- package/dist/actions/search-company-elastic.mjs +31 -31
- package/dist/actions/search-company-elastic.mjs.map +1 -1
- package/dist/actions/search-company-post.cjs +3 -3
- package/dist/actions/search-company-post.cjs.map +1 -1
- package/dist/actions/search-company-post.d.cts +3 -3
- package/dist/actions/search-company-post.d.mts +3 -3
- package/dist/actions/search-company-post.mjs +3 -3
- package/dist/actions/search-company-post.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ declare const PeopledatalabsEnrichSkillDataOutput: z.ZodObject<{
|
|
|
8
8
|
cleaned_skill: z.ZodNullable<z.ZodString>;
|
|
9
9
|
similar_skills: z.ZodArray<z.ZodString>;
|
|
10
10
|
relevant_job_titles: z.ZodArray<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const peopledatalabsEnrichSkillData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
skill: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const PeopledatalabsEnrichSkillDataOutput: z.ZodObject<{
|
|
|
8
8
|
cleaned_skill: z.ZodNullable<z.ZodString>;
|
|
9
9
|
similar_skills: z.ZodArray<z.ZodString>;
|
|
10
10
|
relevant_job_titles: z.ZodArray<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const peopledatalabsEnrichSkillData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
skill: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const peopledatalabsEnrichSkillData = action("PEOPLEDATALABS_ENRICH_SKILL_DATA",
|
|
|
9
9
|
cleaned_skill: z.string().describe("The normalized version of the input skill matched against People Data Labs' Skill Dataset. This is the standardized form of the queried skill.").nullable(),
|
|
10
10
|
similar_skills: z.array(z.string()).describe("An array of up to 5 related skills that are similar to the queried skill. These skills are drawn from the same skill dataset."),
|
|
11
11
|
relevant_job_titles: z.array(z.string()).describe("An array of up to 5 job titles that are commonly associated with this skill. These job titles represent roles where this skill is frequently used.")
|
|
12
|
-
})
|
|
12
|
+
}).passthrough()
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { peopledatalabsEnrichSkillData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrich-skill-data.mjs","names":[],"sources":["../../src/actions/enrich-skill-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichSkillDataInput = z.object({\n skill: z.string().describe(\"The specific skill term to be enriched. This skill will be matched against a skill dataset to retrieve detailed information.\"),\n});\nexport const PeopledatalabsEnrichSkillDataOutput = z.object({\n cleaned_skill: z.string().describe(\"The normalized version of the input skill matched against People Data Labs' Skill Dataset. This is the standardized form of the queried skill.\").nullable(),\n similar_skills: z.array(z.string()).describe(\"An array of up to 5 related skills that are similar to the queried skill. These skills are drawn from the same skill dataset.\"),\n relevant_job_titles: z.array(z.string()).describe(\"An array of up to 5 job titles that are commonly associated with this skill. These job titles represent roles where this skill is frequently used.\"),\n});\n\nexport const peopledatalabsEnrichSkillData = action(\"PEOPLEDATALABS_ENRICH_SKILL_DATA\", {\n slug: \"peopledatalabs-enrich-skill-data\",\n name: \"Enrich skill data\",\n description: \"Retrieves detailed, standardized information for a given skill by querying the People Data Labs Skill Enrichment API; for best results, provide a recognized professional skill or area of expertise.\",\n input: PeopledatalabsEnrichSkillDataInput,\n output: PeopledatalabsEnrichSkillDataOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAC3J,CAWS;CACP,QAXiD,EAAE,OAAO;EAC1D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EAC9L,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+HAA+H;EAC5K,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oJAAoJ;CACxM,
|
|
1
|
+
{"version":3,"file":"enrich-skill-data.mjs","names":[],"sources":["../../src/actions/enrich-skill-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsEnrichSkillDataInput = z.object({\n skill: z.string().describe(\"The specific skill term to be enriched. This skill will be matched against a skill dataset to retrieve detailed information.\"),\n});\nexport const PeopledatalabsEnrichSkillDataOutput = z.object({\n cleaned_skill: z.string().describe(\"The normalized version of the input skill matched against People Data Labs' Skill Dataset. This is the standardized form of the queried skill.\").nullable(),\n similar_skills: z.array(z.string()).describe(\"An array of up to 5 related skills that are similar to the queried skill. These skills are drawn from the same skill dataset.\"),\n relevant_job_titles: z.array(z.string()).describe(\"An array of up to 5 job titles that are commonly associated with this skill. These job titles represent roles where this skill is frequently used.\"),\n}).passthrough();\n\nexport const peopledatalabsEnrichSkillData = action(\"PEOPLEDATALABS_ENRICH_SKILL_DATA\", {\n slug: \"peopledatalabs-enrich-skill-data\",\n name: \"Enrich skill data\",\n description: \"Retrieves detailed, standardized information for a given skill by querying the People Data Labs Skill Enrichment API; for best results, provide a recognized professional skill or area of expertise.\",\n input: PeopledatalabsEnrichSkillDataInput,\n output: PeopledatalabsEnrichSkillDataOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAC3J,CAWS;CACP,QAXiD,EAAE,OAAO;EAC1D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EAC9L,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+HAA+H;EAC5K,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oJAAoJ;CACxM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -34,17 +34,17 @@ const PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema =
|
|
|
34
34
|
location_name: zod.z.string().describe("Primary location (for company/school fields).").nullable().optional(),
|
|
35
35
|
alternative_names: zod.z.array(zod.z.string()).describe("Other associated names (for company fields).").nullable().optional(),
|
|
36
36
|
display_name_history: zod.z.array(zod.z.string()).describe("Historical primary names (for company fields).").nullable().optional()
|
|
37
|
-
}).describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
37
|
+
}).passthrough().describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
38
38
|
const PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = zod.z.object({
|
|
39
39
|
meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),
|
|
40
40
|
name: zod.z.string().describe("The plain text autocomplete suggestion matching the input prefix.").nullable(),
|
|
41
41
|
count: zod.z.number().int().describe("The number of records in the Person Dataset for this suggestion.").nullable()
|
|
42
|
-
}).describe("Individual autocomplete suggestion with metadata.");
|
|
42
|
+
}).passthrough().describe("Individual autocomplete suggestion with metadata.");
|
|
43
43
|
const PeopledatalabsGetAutocompleteSuggestionsPostOutput = zod.z.object({
|
|
44
44
|
data: zod.z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe("Array of suggestion objects, each containing autocomplete suggestions with metadata."),
|
|
45
45
|
fields: zod.z.array(zod.z.string()).describe("Fields from the Person Schema based on the field input parameter."),
|
|
46
46
|
status: zod.z.number().int().describe("HTTP response status code.").nullable()
|
|
47
|
-
}).describe("Response from the Autocomplete API POST endpoint.");
|
|
47
|
+
}).passthrough().describe("Response from the Autocomplete API POST endpoint.");
|
|
48
48
|
const peopledatalabsGetAutocompleteSuggestionsPost = require_action.action("PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST", {
|
|
49
49
|
slug: "peopledatalabs-get-autocomplete-suggestions-post",
|
|
50
50
|
name: "Get autocomplete suggestions (POST)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-suggestions-post.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-suggestions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsPostInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return. Must be between 1 and 100.\").optional(),\n text: z.string().default(\"\").describe(\"Initial text to autocomplete (e.g., 'goo' for 'google'). Empty string returns all available values for the field.\").optional(),\n field: z.enum([\"company\", \"country\", \"industry\", \"location\", \"major\", \"region\", \"role\", \"school\", \"sub_role\", \"skill\", \"title\"]).describe(\"Field for which to request autocompletion suggestions. Determines the type of suggestions returned.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsPostOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each containing autocomplete suggestions with metadata.\"),\n fields: z.array(z.string()).describe(\"Fields from the Person Schema based on the field input parameter.\"),\n status: z.number().int().describe(\"HTTP response status code.\").nullable(),\n}).describe(\"Response from the Autocomplete API POST endpoint.\");\n\nexport const peopledatalabsGetAutocompleteSuggestionsPost = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions-post\",\n name: \"Get autocomplete suggestions (POST)\",\n description: \"Tool to get autocompletion suggestions using POST method for complex query parameters. Use when building type-ahead interfaces or needing to suggest values for Search API queries. Supports company, location, skill, title, and other fields with configurable result size.\",\n input: PeopledatalabsGetAutocompleteSuggestionsPostInput,\n output: PeopledatalabsGetAutocompleteSuggestionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAY;EAAY;EAAS;EAAU;EAAQ;EAAU;EAAY;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,qGAA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A,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,6EAA6E;
|
|
1
|
+
{"version":3,"file":"get-autocomplete-suggestions-post.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-suggestions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsPostInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return. Must be between 1 and 100.\").optional(),\n text: z.string().default(\"\").describe(\"Initial text to autocomplete (e.g., 'goo' for 'google'). Empty string returns all available values for the field.\").optional(),\n field: z.enum([\"company\", \"country\", \"industry\", \"location\", \"major\", \"region\", \"role\", \"school\", \"sub_role\", \"skill\", \"title\"]).describe(\"Field for which to request autocompletion suggestions. Determines the type of suggestions returned.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).passthrough().describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).passthrough().describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsPostOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each containing autocomplete suggestions with metadata.\"),\n fields: z.array(z.string()).describe(\"Fields from the Person Schema based on the field input parameter.\"),\n status: z.number().int().describe(\"HTTP response status code.\").nullable(),\n}).passthrough().describe(\"Response from the Autocomplete API POST endpoint.\");\n\nexport const peopledatalabsGetAutocompleteSuggestionsPost = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions-post\",\n name: \"Get autocomplete suggestions (POST)\",\n description: \"Tool to get autocompletion suggestions using POST method for complex query parameters. Use when building type-ahead interfaces or needing to suggest values for Search API queries. Supports company, location, skill, title, and other fields with configurable result size.\",\n input: PeopledatalabsGetAutocompleteSuggestionsPostInput,\n output: Pe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,CAAC,SAAS,sFAAsF;CACxL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,+CAA+CC,eAAAA,OAAO,oDAAoD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,12 +10,12 @@ declare const PeopledatalabsGetAutocompleteSuggestionsPostInput: z.ZodObject<{
|
|
|
10
10
|
country: "country";
|
|
11
11
|
title: "title";
|
|
12
12
|
industry: "industry";
|
|
13
|
-
school: "school";
|
|
14
13
|
company: "company";
|
|
14
|
+
school: "school";
|
|
15
15
|
role: "role";
|
|
16
16
|
sub_role: "sub_role";
|
|
17
|
-
skill: "skill";
|
|
18
17
|
major: "major";
|
|
18
|
+
skill: "skill";
|
|
19
19
|
}>;
|
|
20
20
|
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
21
21
|
titlecase: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -36,15 +36,15 @@ declare const PeopledatalabsGetAutocompleteSuggestionsPostOutput: z.ZodObject<{
|
|
|
36
36
|
location_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
alternative_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
38
38
|
display_name_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
count: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
fields: z.ZodArray<z.ZodString>;
|
|
44
44
|
status: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const peopledatalabsGetAutocompleteSuggestionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
-
field: "location" | "region" | "country" | "title" | "industry" | "
|
|
47
|
+
field: "location" | "region" | "country" | "title" | "industry" | "company" | "school" | "role" | "sub_role" | "major" | "skill";
|
|
48
48
|
size?: number | undefined;
|
|
49
49
|
text?: string | undefined;
|
|
50
50
|
pretty?: boolean | undefined;
|
|
@@ -10,12 +10,12 @@ declare const PeopledatalabsGetAutocompleteSuggestionsPostInput: z.ZodObject<{
|
|
|
10
10
|
country: "country";
|
|
11
11
|
title: "title";
|
|
12
12
|
industry: "industry";
|
|
13
|
-
school: "school";
|
|
14
13
|
company: "company";
|
|
14
|
+
school: "school";
|
|
15
15
|
role: "role";
|
|
16
16
|
sub_role: "sub_role";
|
|
17
|
-
skill: "skill";
|
|
18
17
|
major: "major";
|
|
18
|
+
skill: "skill";
|
|
19
19
|
}>;
|
|
20
20
|
pretty: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
21
21
|
titlecase: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -36,15 +36,15 @@ declare const PeopledatalabsGetAutocompleteSuggestionsPostOutput: z.ZodObject<{
|
|
|
36
36
|
location_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
alternative_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
38
38
|
display_name_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
count: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
fields: z.ZodArray<z.ZodString>;
|
|
44
44
|
status: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const peopledatalabsGetAutocompleteSuggestionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
-
field: "location" | "region" | "country" | "title" | "industry" | "
|
|
47
|
+
field: "location" | "region" | "country" | "title" | "industry" | "company" | "school" | "role" | "sub_role" | "major" | "skill";
|
|
48
48
|
size?: number | undefined;
|
|
49
49
|
text?: string | undefined;
|
|
50
50
|
pretty?: boolean | undefined;
|
|
@@ -34,12 +34,12 @@ const PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema =
|
|
|
34
34
|
location_name: z.string().describe("Primary location (for company/school fields).").nullable().optional(),
|
|
35
35
|
alternative_names: z.array(z.string()).describe("Other associated names (for company fields).").nullable().optional(),
|
|
36
36
|
display_name_history: z.array(z.string()).describe("Historical primary names (for company fields).").nullable().optional()
|
|
37
|
-
}).describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
37
|
+
}).passthrough().describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
38
38
|
const PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = z.object({
|
|
39
39
|
meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),
|
|
40
40
|
name: z.string().describe("The plain text autocomplete suggestion matching the input prefix.").nullable(),
|
|
41
41
|
count: z.number().int().describe("The number of records in the Person Dataset for this suggestion.").nullable()
|
|
42
|
-
}).describe("Individual autocomplete suggestion with metadata.");
|
|
42
|
+
}).passthrough().describe("Individual autocomplete suggestion with metadata.");
|
|
43
43
|
const peopledatalabsGetAutocompleteSuggestionsPost = action("PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST", {
|
|
44
44
|
slug: "peopledatalabs-get-autocomplete-suggestions-post",
|
|
45
45
|
name: "Get autocomplete suggestions (POST)",
|
|
@@ -49,7 +49,7 @@ const peopledatalabsGetAutocompleteSuggestionsPost = action("PEOPLEDATALABS_GET_
|
|
|
49
49
|
data: z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe("Array of suggestion objects, each containing autocomplete suggestions with metadata."),
|
|
50
50
|
fields: z.array(z.string()).describe("Fields from the Person Schema based on the field input parameter."),
|
|
51
51
|
status: z.number().int().describe("HTTP response status code.").nullable()
|
|
52
|
-
}).describe("Response from the Autocomplete API POST endpoint.")
|
|
52
|
+
}).passthrough().describe("Response from the Autocomplete API POST endpoint.")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { peopledatalabsGetAutocompleteSuggestionsPost };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-suggestions-post.mjs","names":[],"sources":["../../src/actions/get-autocomplete-suggestions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsPostInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return. Must be between 1 and 100.\").optional(),\n text: z.string().default(\"\").describe(\"Initial text to autocomplete (e.g., 'goo' for 'google'). Empty string returns all available values for the field.\").optional(),\n field: z.enum([\"company\", \"country\", \"industry\", \"location\", \"major\", \"region\", \"role\", \"school\", \"sub_role\", \"skill\", \"title\"]).describe(\"Field for which to request autocompletion suggestions. Determines the type of suggestions returned.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsPostOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each containing autocomplete suggestions with metadata.\"),\n fields: z.array(z.string()).describe(\"Fields from the Person Schema based on the field input parameter.\"),\n status: z.number().int().describe(\"HTTP response status code.\").nullable(),\n}).describe(\"Response from the Autocomplete API POST endpoint.\");\n\nexport const peopledatalabsGetAutocompleteSuggestionsPost = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions-post\",\n name: \"Get autocomplete suggestions (POST)\",\n description: \"Tool to get autocompletion suggestions using POST method for complex query parameters. Use when building type-ahead interfaces or needing to suggest values for Search API queries. Supports company, location, skill, title, and other fields with configurable result size.\",\n input: PeopledatalabsGetAutocompleteSuggestionsPostInput,\n output: PeopledatalabsGetAutocompleteSuggestionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzI,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,OAAO,EAAE,KAAK;EAAC;EAAW;EAAW;EAAY;EAAY;EAAS;EAAU;EAAQ;EAAU;EAAY;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC/O,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzG,CAAC;AACD,MAAM,0EAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,6EAA6E;
|
|
1
|
+
{"version":3,"file":"get-autocomplete-suggestions-post.mjs","names":[],"sources":["../../src/actions/get-autocomplete-suggestions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsPostInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return. Must be between 1 and 100.\").optional(),\n text: z.string().default(\"\").describe(\"Initial text to autocomplete (e.g., 'goo' for 'google'). Empty string returns all available values for the field.\").optional(),\n field: z.enum([\"company\", \"country\", \"industry\", \"location\", \"major\", \"region\", \"role\", \"school\", \"sub_role\", \"skill\", \"title\"]).describe(\"Field for which to request autocompletion suggestions. Determines the type of suggestions returned.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).passthrough().describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).passthrough().describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsPostOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestionsPost_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each containing autocomplete suggestions with metadata.\"),\n fields: z.array(z.string()).describe(\"Fields from the Person Schema based on the field input parameter.\"),\n status: z.number().int().describe(\"HTTP response status code.\").nullable(),\n}).passthrough().describe(\"Response from the Autocomplete API POST endpoint.\");\n\nexport const peopledatalabsGetAutocompleteSuggestionsPost = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS_POST\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions-post\",\n name: \"Get autocomplete suggestions (POST)\",\n description: \"Tool to get autocompletion suggestions using POST method for complex query parameters. Use when building type-ahead interfaces or needing to suggest values for Search API queries. Supports company, location, skill, title, and other fields with configurable result size.\",\n input: PeopledatalabsGetAutocompleteSuggestionsPostInput,\n output: PeopledatalabsGetAutocompleteSuggestionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzI,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,OAAO,EAAE,KAAK;EAAC;EAAW;EAAW;EAAY;EAAY;EAAS;EAAU;EAAQ;EAAU;EAAY;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC/O,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzG,CAAC;AACD,MAAM,0EAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC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kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAO7E,MAAa,+CAA+C,OAAO,oDAAoD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgE,EAAE,OAAO;EACzE,MAAM,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,sFAAsF;EACxL,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -22,16 +22,16 @@ const PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = zod.
|
|
|
22
22
|
location_name: zod.z.string().describe("Primary location (for company/school fields).").nullable().optional(),
|
|
23
23
|
alternative_names: zod.z.array(zod.z.string()).describe("Other associated names (for company fields).").nullable().optional(),
|
|
24
24
|
display_name_history: zod.z.array(zod.z.string()).describe("Historical primary names (for company fields).").nullable().optional()
|
|
25
|
-
}).describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
25
|
+
}).passthrough().describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
26
26
|
const PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = zod.z.object({
|
|
27
27
|
meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),
|
|
28
28
|
name: zod.z.string().describe("The plain text autocomplete suggestion matching the input prefix.").nullable(),
|
|
29
29
|
count: zod.z.number().int().describe("The number of records in the Person Dataset for this suggestion.").nullable()
|
|
30
|
-
}).describe("Individual autocomplete suggestion with metadata.");
|
|
30
|
+
}).passthrough().describe("Individual autocomplete suggestion with metadata.");
|
|
31
31
|
const PeopledatalabsGetAutocompleteSuggestionsOutput = zod.z.object({
|
|
32
32
|
data: zod.z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe("Array of suggestion objects, each detailing an autocomplete suggestion."),
|
|
33
33
|
fields: zod.z.array(zod.z.string()).describe("List of fields for which suggestions were actually provided.")
|
|
34
|
-
});
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const peopledatalabsGetAutocompleteSuggestions = require_action.action("PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS", {
|
|
36
36
|
slug: "peopledatalabs-get-autocomplete-suggestions",
|
|
37
37
|
name: "Autocomplete field suggestions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return.\").optional(),\n text: z.string().describe(\"Initial text to autocomplete (e.g., 'goo' for 'google').\").optional(),\n field: z.string().describe(\"Field for which to request autocompletion suggestions. Supported values: all_location, class, company, country, industry, location, location_name, major, region, role, school, skill, sub_role, title, website.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each detailing an autocomplete suggestion.\"),\n fields: z.array(z.string()).describe(\"List of fields for which suggestions were actually provided.\"),\n});\n\nexport const peopledatalabsGetAutocompleteSuggestions = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions\",\n name: \"Autocomplete field suggestions\",\n description: \"Provides autocompletion suggestions for a specific field (e.g., company, skill, title) based on partial text input.\",\n input: PeopledatalabsGetAutocompleteSuggestionsInput,\n output: PeopledatalabsGetAutocompleteSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAA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H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,6EAA6E;
|
|
1
|
+
{"version":3,"file":"get-autocomplete-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/get-autocomplete-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return.\").optional(),\n text: z.string().describe(\"Initial text to autocomplete (e.g., 'goo' for 'google').\").optional(),\n field: z.string().describe(\"Field for which to request autocompletion suggestions. Supported values: all_location, class, company, country, industry, location, location_name, major, region, role, school, skill, sub_role, title, website.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).passthrough().describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).passthrough().describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each detailing an autocomplete suggestion.\"),\n fields: z.array(z.string()).describe(\"List of fields for which suggestions were actually provided.\"),\n}).passthrough();\n\nexport const peopledatalabsGetAutocompleteSuggestions = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions\",\n name: \"Autocomplete field suggestions\",\n description: \"Provides autocompletion suggestions for a specific field (e.g., company, skill, title) based on partial text input.\",\n input: PeopledatalabsGetAutocompleteSuggestionsInput,\n output: PeopledatalabsGetAutocompleteSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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AAQ;AACV,CAAC"}
|
|
@@ -24,12 +24,12 @@ declare const PeopledatalabsGetAutocompleteSuggestionsOutput: z.ZodObject<{
|
|
|
24
24
|
location_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
alternative_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
26
|
display_name_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
29
|
count: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
fields: z.ZodArray<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const peopledatalabsGetAutocompleteSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
field: string;
|
|
35
35
|
size?: number | undefined;
|
|
@@ -24,12 +24,12 @@ declare const PeopledatalabsGetAutocompleteSuggestionsOutput: z.ZodObject<{
|
|
|
24
24
|
location_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
alternative_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
26
|
display_name_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
29
|
count: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
fields: z.ZodArray<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const peopledatalabsGetAutocompleteSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
field: string;
|
|
35
35
|
size?: number | undefined;
|
|
@@ -22,12 +22,12 @@ const PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = z.ob
|
|
|
22
22
|
location_name: z.string().describe("Primary location (for company/school fields).").nullable().optional(),
|
|
23
23
|
alternative_names: z.array(z.string()).describe("Other associated names (for company fields).").nullable().optional(),
|
|
24
24
|
display_name_history: z.array(z.string()).describe("Historical primary names (for company fields).").nullable().optional()
|
|
25
|
-
}).describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
25
|
+
}).passthrough().describe("Metadata object containing additional context for autocomplete suggestions.");
|
|
26
26
|
const PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({
|
|
27
27
|
meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),
|
|
28
28
|
name: z.string().describe("The plain text autocomplete suggestion matching the input prefix.").nullable(),
|
|
29
29
|
count: z.number().int().describe("The number of records in the Person Dataset for this suggestion.").nullable()
|
|
30
|
-
}).describe("Individual autocomplete suggestion with metadata.");
|
|
30
|
+
}).passthrough().describe("Individual autocomplete suggestion with metadata.");
|
|
31
31
|
const peopledatalabsGetAutocompleteSuggestions = action("PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS", {
|
|
32
32
|
slug: "peopledatalabs-get-autocomplete-suggestions",
|
|
33
33
|
name: "Autocomplete field suggestions",
|
|
@@ -36,7 +36,7 @@ const peopledatalabsGetAutocompleteSuggestions = action("PEOPLEDATALABS_GET_AUTO
|
|
|
36
36
|
output: z.object({
|
|
37
37
|
data: z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe("Array of suggestion objects, each detailing an autocomplete suggestion."),
|
|
38
38
|
fields: z.array(z.string()).describe("List of fields for which suggestions were actually provided.")
|
|
39
|
-
})
|
|
39
|
+
}).passthrough()
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { peopledatalabsGetAutocompleteSuggestions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-autocomplete-suggestions.mjs","names":[],"sources":["../../src/actions/get-autocomplete-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return.\").optional(),\n text: z.string().describe(\"Initial text to autocomplete (e.g., 'goo' for 'google').\").optional(),\n field: z.string().describe(\"Field for which to request autocompletion suggestions. Supported values: all_location, class, company, country, industry, location, location_name, major, region, role, school, skill, sub_role, title, website.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each detailing an autocomplete suggestion.\"),\n fields: z.array(z.string()).describe(\"List of fields for which suggestions were actually provided.\"),\n});\n\nexport const peopledatalabsGetAutocompleteSuggestions = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions\",\n name: \"Autocomplete field suggestions\",\n description: \"Provides autocompletion suggestions for a specific field (e.g., company, skill, title) based on partial text input.\",\n input: PeopledatalabsGetAutocompleteSuggestionsInput,\n output: PeopledatalabsGetAutocompleteSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CAC7O,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzG,CAAC;AACD,MAAM,sEAAsE,EAAE,OAAO;CACnF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,C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-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetAutocompleteSuggestionsInput = z.object({\n size: z.number().int().default(10).describe(\"Maximum number of autocomplete suggestions to return.\").optional(),\n text: z.string().describe(\"Initial text to autocomplete (e.g., 'goo' for 'google').\").optional(),\n field: z.string().describe(\"Field for which to request autocompletion suggestions. Supported values: all_location, class, company, country, industry, location, location_name, major, region, role, school, skill, sub_role, title, website.\"),\n pretty: z.boolean().default(false).describe(\"If true, formats the JSON output for human readability.\").optional(),\n titlecase: z.boolean().default(false).describe(\"If true, returns suggestions in title case.\").optional(),\n});\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema = z.object({\n id: z.string().describe(\"PDL identifier (company ID or school ID depending on field type).\").nullable().optional(),\n role: z.string().describe(\"Parent role classification (for sub_role fields).\").nullable().optional(),\n metro: z.string().describe(\"Metropolitan area, US only (for location fields).\").nullable().optional(),\n region: z.string().describe(\"State/province (for location fields).\").nullable().optional(),\n country: z.string().describe(\"Country identifier (for location fields).\").nullable().optional(),\n website: z.string().describe(\"Website domain (for company/school fields).\").nullable().optional(),\n industry: z.string().describe(\"Canonical industry value (for company fields).\").nullable().optional(),\n locality: z.string().describe(\"City/locality name (for location fields).\").nullable().optional(),\n display_name: z.string().describe(\"Properly capitalized display name (for company fields).\").nullable().optional(),\n linkedin_slug: z.string().describe(\"LinkedIn URL slug (for company fields).\").nullable().optional(),\n location_name: z.string().describe(\"Primary location (for company/school fields).\").nullable().optional(),\n alternative_names: z.array(z.string()).describe(\"Other associated names (for company fields).\").nullable().optional(),\n display_name_history: z.array(z.string()).describe(\"Historical primary names (for company fields).\").nullable().optional(),\n}).passthrough().describe(\"Metadata object containing additional context for autocomplete suggestions.\");\nconst PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({\n meta: PeopledatalabsGetAutocompleteSuggestions_AutocompleteMetadataSchema.nullable().optional(),\n name: z.string().describe(\"The plain text autocomplete suggestion matching the input prefix.\").nullable(),\n count: z.number().int().describe(\"The number of records in the Person Dataset for this suggestion.\").nullable(),\n}).passthrough().describe(\"Individual autocomplete suggestion with metadata.\");\nexport const PeopledatalabsGetAutocompleteSuggestionsOutput = z.object({\n data: z.array(PeopledatalabsGetAutocompleteSuggestions_AutocompleteSuggestionSchema).describe(\"Array of suggestion objects, each detailing an autocomplete suggestion.\"),\n fields: z.array(z.string()).describe(\"List of fields for which suggestions were actually provided.\"),\n}).passthrough();\n\nexport const peopledatalabsGetAutocompleteSuggestions = action(\"PEOPLEDATALABS_GET_AUTOCOMPLETE_SUGGESTIONS\", {\n slug: \"peopledatalabs-get-autocomplete-suggestions\",\n name: \"Autocomplete field suggestions\",\n description: \"Provides autocompletion suggestions for a specific field (e.g., company, skill, title) based on partial text input.\",\n input: PeopledatalabsGetAutocompleteSuggestionsInput,\n output: PeopledatalabsGetAutocompleteSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CAC7O,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzG,CAAC;AACD,MAAM,sEAAsE,EAAE,OAAO;CACnF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDA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AAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,2CAA2C,OAAO,+CAA+C;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,MAAM,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,yEAAyE;EACvK,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACrG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,13 +5,13 @@ const PeopledatalabsGetColumnDetailsInput = zod.z.object({ column: zod.z.string(
|
|
|
5
5
|
const PeopledatalabsGetColumnDetails_EnumValueSchema = zod.z.object({
|
|
6
6
|
value: zod.z.string().describe("The enumerated value.").nullable(),
|
|
7
7
|
description: zod.z.string().default("").describe("Explanation of the meaning or context of this enum value.").nullable().optional()
|
|
8
|
-
}).describe("A possible value for an enum-type column and its description.");
|
|
8
|
+
}).passthrough().describe("A possible value for an enum-type column and its description.");
|
|
9
9
|
const PeopledatalabsGetColumnDetailsOutput = zod.z.object({
|
|
10
10
|
error: zod.z.string().describe("Details any issues encountered, like problems accessing or parsing data mappings.").nullable().optional(),
|
|
11
11
|
column: zod.z.string().describe("Column name for which details were retrieved.").nullable(),
|
|
12
12
|
is_enum: zod.z.boolean().default(false).describe("Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.").nullable().optional(),
|
|
13
13
|
enum_values: zod.z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe("List of possible enum values for the column; populated only if `is_enum` is true.").nullable().optional()
|
|
14
|
-
}).describe("Details of the requested column, including its enum values if applicable.");
|
|
14
|
+
}).passthrough().describe("Details of the requested column, including its enum values if applicable.");
|
|
15
15
|
const peopledatalabsGetColumnDetails = require_action.action("PEOPLEDATALABS_GET_COLUMN_DETAILS", {
|
|
16
16
|
slug: "peopledatalabs-get-column-details",
|
|
17
17
|
name: "Get column details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-column-details.cjs","names":["z","action"],"sources":["../../src/actions/get-column-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetColumnDetailsInput = z.object({\n column: z.string().describe(\"Name of the column to fetch enum values for; must be a key in `enum_mappings.json`.\"),\n}).describe(\"Request to retrieve enum values for a specified column.\");\nconst PeopledatalabsGetColumnDetails_EnumValueSchema = z.object({\n value: z.string().describe(\"The enumerated value.\").nullable(),\n description: z.string().default(\"\").describe(\"Explanation of the meaning or context of this enum value.\").nullable().optional(),\n}).describe(\"A possible value for an enum-type column and its description.\");\nexport const PeopledatalabsGetColumnDetailsOutput = z.object({\n error: z.string().describe(\"Details any issues encountered, like problems accessing or parsing data mappings.\").nullable().optional(),\n column: z.string().describe(\"Column name for which details were retrieved.\").nullable(),\n is_enum: z.boolean().default(false).describe(\"Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.\").nullable().optional(),\n enum_values: z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe(\"List of possible enum values for the column; populated only if `is_enum` is true.\").nullable().optional(),\n}).describe(\"Details of the requested column, including its enum values if applicable.\");\n\nexport const peopledatalabsGetColumnDetails = action(\"PEOPLEDATALABS_GET_COLUMN_DETAILS\", {\n slug: \"peopledatalabs-get-column-details\",\n name: \"Get column details\",\n description: \"Retrieves predefined enum values for a column name from `enum_mappings.json`; `is_enum` in the response will be false if the column is not found or is not an enum type.\",\n input: PeopledatalabsGetColumnDetailsInput,\n output: PeopledatalabsGetColumnDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EACnH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-column-details.cjs","names":["z","action"],"sources":["../../src/actions/get-column-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetColumnDetailsInput = z.object({\n column: z.string().describe(\"Name of the column to fetch enum values for; must be a key in `enum_mappings.json`.\"),\n}).describe(\"Request to retrieve enum values for a specified column.\");\nconst PeopledatalabsGetColumnDetails_EnumValueSchema = z.object({\n value: z.string().describe(\"The enumerated value.\").nullable(),\n description: z.string().default(\"\").describe(\"Explanation of the meaning or context of this enum value.\").nullable().optional(),\n}).passthrough().describe(\"A possible value for an enum-type column and its description.\");\nexport const PeopledatalabsGetColumnDetailsOutput = z.object({\n error: z.string().describe(\"Details any issues encountered, like problems accessing or parsing data mappings.\").nullable().optional(),\n column: z.string().describe(\"Column name for which details were retrieved.\").nullable(),\n is_enum: z.boolean().default(false).describe(\"Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.\").nullable().optional(),\n enum_values: z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe(\"List of possible enum values for the column; populated only if `is_enum` is true.\").nullable().optional(),\n}).passthrough().describe(\"Details of the requested column, including its enum values if applicable.\");\n\nexport const peopledatalabsGetColumnDetails = action(\"PEOPLEDATALABS_GET_COLUMN_DETAILS\", {\n slug: \"peopledatalabs-get-column-details\",\n name: \"Get column details\",\n description: \"Retrieves predefined enum values for a column name from `enum_mappings.json`; `is_enum` in the response will be false if the column is not found or is not an enum type.\",\n input: PeopledatalabsGetColumnDetailsInput,\n output: PeopledatalabsGetColumnDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EACnH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const PeopledatalabsGetColumnDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
enum_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
value: z.ZodNullable<z.ZodString>;
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const peopledatalabsGetColumnDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
column: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const PeopledatalabsGetColumnDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
enum_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
value: z.ZodNullable<z.ZodString>;
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const peopledatalabsGetColumnDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
column: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const PeopledatalabsGetColumnDetailsInput = z.object({ column: z.string().descri
|
|
|
5
5
|
const PeopledatalabsGetColumnDetails_EnumValueSchema = z.object({
|
|
6
6
|
value: z.string().describe("The enumerated value.").nullable(),
|
|
7
7
|
description: z.string().default("").describe("Explanation of the meaning or context of this enum value.").nullable().optional()
|
|
8
|
-
}).describe("A possible value for an enum-type column and its description.");
|
|
8
|
+
}).passthrough().describe("A possible value for an enum-type column and its description.");
|
|
9
9
|
const peopledatalabsGetColumnDetails = action("PEOPLEDATALABS_GET_COLUMN_DETAILS", {
|
|
10
10
|
slug: "peopledatalabs-get-column-details",
|
|
11
11
|
name: "Get column details",
|
|
@@ -16,7 +16,7 @@ const peopledatalabsGetColumnDetails = action("PEOPLEDATALABS_GET_COLUMN_DETAILS
|
|
|
16
16
|
column: z.string().describe("Column name for which details were retrieved.").nullable(),
|
|
17
17
|
is_enum: z.boolean().default(false).describe("Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.").nullable().optional(),
|
|
18
18
|
enum_values: z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe("List of possible enum values for the column; populated only if `is_enum` is true.").nullable().optional()
|
|
19
|
-
}).describe("Details of the requested column, including its enum values if applicable.")
|
|
19
|
+
}).passthrough().describe("Details of the requested column, including its enum values if applicable.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { peopledatalabsGetColumnDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-column-details.mjs","names":[],"sources":["../../src/actions/get-column-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetColumnDetailsInput = z.object({\n column: z.string().describe(\"Name of the column to fetch enum values for; must be a key in `enum_mappings.json`.\"),\n}).describe(\"Request to retrieve enum values for a specified column.\");\nconst PeopledatalabsGetColumnDetails_EnumValueSchema = z.object({\n value: z.string().describe(\"The enumerated value.\").nullable(),\n description: z.string().default(\"\").describe(\"Explanation of the meaning or context of this enum value.\").nullable().optional(),\n}).describe(\"A possible value for an enum-type column and its description.\");\nexport const PeopledatalabsGetColumnDetailsOutput = z.object({\n error: z.string().describe(\"Details any issues encountered, like problems accessing or parsing data mappings.\").nullable().optional(),\n column: z.string().describe(\"Column name for which details were retrieved.\").nullable(),\n is_enum: z.boolean().default(false).describe(\"Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.\").nullable().optional(),\n enum_values: z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe(\"List of possible enum values for the column; populated only if `is_enum` is true.\").nullable().optional(),\n}).describe(\"Details of the requested column, including its enum values if applicable.\");\n\nexport const peopledatalabsGetColumnDetails = action(\"PEOPLEDATALABS_GET_COLUMN_DETAILS\", {\n slug: \"peopledatalabs-get-column-details\",\n name: \"Get column details\",\n description: \"Retrieves predefined enum values for a column name from `enum_mappings.json`; `is_enum` in the response will be false if the column is not found or is not an enum type.\",\n input: PeopledatalabsGetColumnDetailsInput,\n output: PeopledatalabsGetColumnDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EACnH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-column-details.mjs","names":[],"sources":["../../src/actions/get-column-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetColumnDetailsInput = z.object({\n column: z.string().describe(\"Name of the column to fetch enum values for; must be a key in `enum_mappings.json`.\"),\n}).describe(\"Request to retrieve enum values for a specified column.\");\nconst PeopledatalabsGetColumnDetails_EnumValueSchema = z.object({\n value: z.string().describe(\"The enumerated value.\").nullable(),\n description: z.string().default(\"\").describe(\"Explanation of the meaning or context of this enum value.\").nullable().optional(),\n}).passthrough().describe(\"A possible value for an enum-type column and its description.\");\nexport const PeopledatalabsGetColumnDetailsOutput = z.object({\n error: z.string().describe(\"Details any issues encountered, like problems accessing or parsing data mappings.\").nullable().optional(),\n column: z.string().describe(\"Column name for which details were retrieved.\").nullable(),\n is_enum: z.boolean().default(false).describe(\"Indicates if the column is an enum type with predefined values based on `enum_mappings.json`.\").nullable().optional(),\n enum_values: z.array(PeopledatalabsGetColumnDetails_EnumValueSchema).describe(\"List of possible enum values for the column; populated only if `is_enum` is true.\").nullable().optional(),\n}).passthrough().describe(\"Details of the requested column, including its enum values if applicable.\");\n\nexport const peopledatalabsGetColumnDetails = action(\"PEOPLEDATALABS_GET_COLUMN_DETAILS\", {\n slug: \"peopledatalabs-get-column-details\",\n name: \"Get column details\",\n description: \"Retrieves predefined enum values for a column name from `enum_mappings.json`; `is_enum` in the response will be false if the column is not found or is not an enum type.\",\n input: PeopledatalabsGetColumnDetailsInput,\n output: PeopledatalabsGetColumnDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EACnH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAQzF,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const PeopledatalabsGetSchema_SchemaFieldSchema = zod.z.object({
|
|
|
6
6
|
type: zod.z.string().describe("Data type of the field (e.g., String, Integer, Array [Object]).").nullable(),
|
|
7
7
|
column: zod.z.string().describe("The name of the field as it appears in the entity's schema.").nullable(),
|
|
8
8
|
description: zod.z.string().describe("Textual explanation of the field's purpose and content.").nullable()
|
|
9
|
-
}).describe("Represents a single field within an entity's schema.");
|
|
9
|
+
}).passthrough().describe("Represents a single field within an entity's schema.");
|
|
10
10
|
const PeopledatalabsGetSchemaOutput = zod.z.object({
|
|
11
11
|
error: zod.z.string().describe("Error message if schema retrieval failed; will be null if the operation succeeded.").nullable().optional(),
|
|
12
12
|
fields: zod.z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe("List of SchemaField objects, each detailing a field in the entity's schema.").nullable().optional()
|
|
13
|
-
}).describe("Contains the retrieved schema for the entity type, or an error message if the operation failed.");
|
|
13
|
+
}).passthrough().describe("Contains the retrieved schema for the entity type, or an error message if the operation failed.");
|
|
14
14
|
const peopledatalabsGetSchema = require_action.action("PEOPLEDATALABS_GET_SCHEMA", {
|
|
15
15
|
slug: "peopledatalabs-get-schema",
|
|
16
16
|
name: "Get schema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetSchemaInput = z.object({\n entity_type: z.string().describe(\"The type of entity for which to retrieve the schema. Must be either 'person' or 'company'.\"),\n}).describe(\"Defines the request structure for retrieving the schema of a specified entity type, such as 'person' or 'company'.\");\nconst PeopledatalabsGetSchema_SchemaFieldSchema = z.object({\n type: z.string().describe(\"Data type of the field (e.g., String, Integer, Array [Object]).\").nullable(),\n column: z.string().describe(\"The name of the field as it appears in the entity's schema.\").nullable(),\n description: z.string().describe(\"Textual explanation of the field's purpose and content.\").nullable(),\n}).describe(\"Represents a single field within an entity's schema.\");\nexport const PeopledatalabsGetSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema retrieval failed; will be null if the operation succeeded.\").nullable().optional(),\n fields: z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe(\"List of SchemaField objects, each detailing a field in the entity's schema.\").nullable().optional(),\n}).describe(\"Contains the retrieved schema for the entity type, or an error message if the operation failed.\");\n\nexport const peopledatalabsGetSchema = action(\"PEOPLEDATALABS_GET_SCHEMA\", {\n slug: \"peopledatalabs-get-schema\",\n name: \"Get schema\",\n description: \"Retrieves the schema, including field names, descriptions, and data types, for 'person' or 'company' entity types.\",\n input: PeopledatalabsGetSchemaInput,\n output: PeopledatalabsGetSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC/H,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetSchemaInput = z.object({\n entity_type: z.string().describe(\"The type of entity for which to retrieve the schema. Must be either 'person' or 'company'.\"),\n}).describe(\"Defines the request structure for retrieving the schema of a specified entity type, such as 'person' or 'company'.\");\nconst PeopledatalabsGetSchema_SchemaFieldSchema = z.object({\n type: z.string().describe(\"Data type of the field (e.g., String, Integer, Array [Object]).\").nullable(),\n column: z.string().describe(\"The name of the field as it appears in the entity's schema.\").nullable(),\n description: z.string().describe(\"Textual explanation of the field's purpose and content.\").nullable(),\n}).passthrough().describe(\"Represents a single field within an entity's schema.\");\nexport const PeopledatalabsGetSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema retrieval failed; will be null if the operation succeeded.\").nullable().optional(),\n fields: z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe(\"List of SchemaField objects, each detailing a field in the entity's schema.\").nullable().optional(),\n}).passthrough().describe(\"Contains the retrieved schema for the entity type, or an error message if the operation failed.\");\n\nexport const peopledatalabsGetSchema = action(\"PEOPLEDATALABS_GET_SCHEMA\", {\n slug: \"peopledatalabs-get-schema\",\n name: \"Get schema\",\n description: \"Retrieves the schema, including field names, descriptions, and data types, for 'person' or 'company' entity types.\",\n input: PeopledatalabsGetSchemaInput,\n output: PeopledatalabsGetSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC/H,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iGAAiG;AAE3H,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const PeopledatalabsGetSchemaOutput: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
11
|
column: z.ZodNullable<z.ZodString>;
|
|
12
12
|
description: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const peopledatalabsGetSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
entity_type: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,8 +10,8 @@ declare const PeopledatalabsGetSchemaOutput: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
11
|
column: z.ZodNullable<z.ZodString>;
|
|
12
12
|
description: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const peopledatalabsGetSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
entity_type: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ const PeopledatalabsGetSchema_SchemaFieldSchema = z.object({
|
|
|
6
6
|
type: z.string().describe("Data type of the field (e.g., String, Integer, Array [Object]).").nullable(),
|
|
7
7
|
column: z.string().describe("The name of the field as it appears in the entity's schema.").nullable(),
|
|
8
8
|
description: z.string().describe("Textual explanation of the field's purpose and content.").nullable()
|
|
9
|
-
}).describe("Represents a single field within an entity's schema.");
|
|
9
|
+
}).passthrough().describe("Represents a single field within an entity's schema.");
|
|
10
10
|
const peopledatalabsGetSchema = action("PEOPLEDATALABS_GET_SCHEMA", {
|
|
11
11
|
slug: "peopledatalabs-get-schema",
|
|
12
12
|
name: "Get schema",
|
|
@@ -15,7 +15,7 @@ const peopledatalabsGetSchema = action("PEOPLEDATALABS_GET_SCHEMA", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
error: z.string().describe("Error message if schema retrieval failed; will be null if the operation succeeded.").nullable().optional(),
|
|
17
17
|
fields: z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe("List of SchemaField objects, each detailing a field in the entity's schema.").nullable().optional()
|
|
18
|
-
}).describe("Contains the retrieved schema for the entity type, or an error message if the operation failed.")
|
|
18
|
+
}).passthrough().describe("Contains the retrieved schema for the entity type, or an error message if the operation failed.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { peopledatalabsGetSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-schema.mjs","names":[],"sources":["../../src/actions/get-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetSchemaInput = z.object({\n entity_type: z.string().describe(\"The type of entity for which to retrieve the schema. Must be either 'person' or 'company'.\"),\n}).describe(\"Defines the request structure for retrieving the schema of a specified entity type, such as 'person' or 'company'.\");\nconst PeopledatalabsGetSchema_SchemaFieldSchema = z.object({\n type: z.string().describe(\"Data type of the field (e.g., String, Integer, Array [Object]).\").nullable(),\n column: z.string().describe(\"The name of the field as it appears in the entity's schema.\").nullable(),\n description: z.string().describe(\"Textual explanation of the field's purpose and content.\").nullable(),\n}).describe(\"Represents a single field within an entity's schema.\");\nexport const PeopledatalabsGetSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema retrieval failed; will be null if the operation succeeded.\").nullable().optional(),\n fields: z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe(\"List of SchemaField objects, each detailing a field in the entity's schema.\").nullable().optional(),\n}).describe(\"Contains the retrieved schema for the entity type, or an error message if the operation failed.\");\n\nexport const peopledatalabsGetSchema = action(\"PEOPLEDATALABS_GET_SCHEMA\", {\n slug: \"peopledatalabs-get-schema\",\n name: \"Get schema\",\n description: \"Retrieves the schema, including field names, descriptions, and data types, for 'person' or 'company' entity types.\",\n input: PeopledatalabsGetSchemaInput,\n output: PeopledatalabsGetSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC/H,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-schema.mjs","names":[],"sources":["../../src/actions/get-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PeopledatalabsGetSchemaInput = z.object({\n entity_type: z.string().describe(\"The type of entity for which to retrieve the schema. Must be either 'person' or 'company'.\"),\n}).describe(\"Defines the request structure for retrieving the schema of a specified entity type, such as 'person' or 'company'.\");\nconst PeopledatalabsGetSchema_SchemaFieldSchema = z.object({\n type: z.string().describe(\"Data type of the field (e.g., String, Integer, Array [Object]).\").nullable(),\n column: z.string().describe(\"The name of the field as it appears in the entity's schema.\").nullable(),\n description: z.string().describe(\"Textual explanation of the field's purpose and content.\").nullable(),\n}).passthrough().describe(\"Represents a single field within an entity's schema.\");\nexport const PeopledatalabsGetSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema retrieval failed; will be null if the operation succeeded.\").nullable().optional(),\n fields: z.array(PeopledatalabsGetSchema_SchemaFieldSchema).default([]).describe(\"List of SchemaField objects, each detailing a field in the entity's schema.\").nullable().optional(),\n}).passthrough().describe(\"Contains the retrieved schema for the entity type, or an error message if the operation failed.\");\n\nexport const peopledatalabsGetSchema = action(\"PEOPLEDATALABS_GET_SCHEMA\", {\n slug: \"peopledatalabs-get-schema\",\n name: \"Get schema\",\n description: \"Retrieves the schema, including field names, descriptions, and data types, for 'person' or 'company' entity types.\",\n input: PeopledatalabsGetSchemaInput,\n output: PeopledatalabsGetSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC/H,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iGAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PeopledatalabsGetSubjectRequestsInput = zod.z.object({}).describe("Request
|
|
|
5
5
|
const PeopledatalabsGetSubjectRequestsOutput = zod.z.object({
|
|
6
6
|
status_code: zod.z.number().int().describe("HTTP status code from the API response (typically 302 for redirect).").nullable(),
|
|
7
7
|
redirect_url: zod.z.string().describe("Pre-signed S3 URL containing CSV file with PDL IDs of subject requests. This URL is temporary and expires after a short period.").nullable()
|
|
8
|
-
}).describe("Response from the Subject Request API.\n\nThe API returns a 302 redirect to an AWS S3 pre-signed URL that contains\na CSV file with PDL IDs of subject requests for data privacy compliance.");
|
|
8
|
+
}).passthrough().describe("Response from the Subject Request API.\n\nThe API returns a 302 redirect to an AWS S3 pre-signed URL that contains\na CSV file with PDL IDs of subject requests for data privacy compliance.");
|
|
9
9
|
const peopledatalabsGetSubjectRequests = require_action.action("PEOPLEDATALABS_GET_SUBJECT_REQUESTS", {
|
|
10
10
|
slug: "peopledatalabs-get-subject-requests",
|
|
11
11
|
name: "Get subject requests",
|