@pipe0/base 0.1.7 โ 0.2.0
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/CHANGELOG.md +20 -0
- package/dist/index.d.mts +920 -204
- package/dist/index.mjs +8 -8
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ Handled sales and operations across 4 cities with multiple direct reportees.
|
|
|
36
36
|
|
|
37
37
|
Profitably exited by way of stake sale in 2014 but continued to act as advisor until 2017`,location:`Hyderabad Area, India`,start_date:`2011-07-01T00:00:00`,end_date:`2017-07-01T00:00:00`,employer_is_default:!1,seniority_level:`Owner / Partner`,function_category:``,years_at_company:`6 to 10 years`,years_at_company_raw:6,company_headquarters_country:`IND`,company_headcount_range:`51-200`,company_industries:[`Spectator Sports`],company_type:`Educational Institution`,company_headcount_latest:14,company_website:`http://schoolsportsprogram.com`,company_linkedin_profile_url:`https://www.linkedin.com/school/school-sports-program-pvt-ltd-/`},{name:`Mylan`,linkedin_id:`14264`,company_id:1136020,company_linkedin_id:`14264`,company_website_domain:`viatris.com`,position_id:761752838,title:`Manager - Legal`,description:`Oversaw a $ 1.6 billion integration of Agila Pharma. Worked across multiple departments at both companies in Hyderabad and Bangalore as well as external stakeholders such as consultants and lawyers.
|
|
38
38
|
|
|
39
|
-
Led contract negotiations for $ 5 million EPC contract with a large German multinational`,location:``,start_date:`2014-01-01T00:00:00`,end_date:`2016-01-01T00:00:00`,employer_is_default:!1,seniority_level:`Entry Level Manager`,function_category:`Legal`,years_at_company:`1 to 2 years`,years_at_company_raw:2,company_headquarters_country:`USA`,company_headcount_range:`10001+`,company_industries:[`Pharmaceutical Manufacturing`],company_type:`Public Company`,company_headcount_latest:15226,company_website:`http://www.viatris.com`,company_linkedin_profile_url:`https://www.linkedin.com/company/mylan`}],updated_at:`2025-09-15T18:02:52`},ut=r.array(r.object({backend_urn:r.string(),actor_backend_urn:r.string().nullable(),share_urn:r.string(),share_url:r.string().url(),text:r.string(),actor_name:r.string(),hyperlinks:r.object({company_linkedin_urls:r.array(r.string().url()),person_linkedin_urls:r.array(r.string().url()),other_urls:r.array(r.string().url())}),date_posted:r.string().regex(/^\d{4}-\d{2}-\d{2}$/),total_reactions:r.number().int().min(0),total_comments:r.number().int().min(0),reactions_by_type:r.object({LIKE:r.number().int().min(0).optional(),EMPATHY:r.number().int().min(0).optional(),PRAISE:r.number().int().min(0).optional(),INTEREST:r.number().int().min(0).optional()}),num_shares:r.number().int().min(0),is_repost_without_thoughts:r.boolean(),reactors:r.array(r.unknown()).length(0)})),
|
|
39
|
+
Led contract negotiations for $ 5 million EPC contract with a large German multinational`,location:``,start_date:`2014-01-01T00:00:00`,end_date:`2016-01-01T00:00:00`,employer_is_default:!1,seniority_level:`Entry Level Manager`,function_category:`Legal`,years_at_company:`1 to 2 years`,years_at_company_raw:2,company_headquarters_country:`USA`,company_headcount_range:`10001+`,company_industries:[`Pharmaceutical Manufacturing`],company_type:`Public Company`,company_headcount_latest:15226,company_website:`http://www.viatris.com`,company_linkedin_profile_url:`https://www.linkedin.com/company/mylan`}],updated_at:`2025-09-15T18:02:52`},ut=r.object({sector:r.string().nullable().optional(),subsector:r.string().nullable().optional(),country:r.string().nullable().optional(),state:r.string().nullable().optional(),city:r.string().nullable().optional(),founded_year:r.number().int().nonnegative().nullable().optional(),stage:r.string().nullable().optional(),special_flags:r.array(r.string()).nullable().optional()}),dt={sector:`Auto Tech`,subsector:`Auto IT`,country:`Germany`,state:`Baden-wurttemberg`,city:`Schwenningen`,founded_year:2018,stage:`Acquired`,special_flags:[`Tech`,`Enterprise`,`Software`]},ft=r.array(r.object({url:r.string(),title:r.string().nullable(),publish_date:r.string().nullable(),excerpts:r.array(r.string())})),pt=[{url:`https://www.un.org/en/about-us/history-of-the-un`,title:`History of the United Nations | United Nations`,publish_date:`2001-01-01`,excerpts:[`As World War II was about to end in 1945, nations were in ruins, and the world wanted peace. Representatives of 50 countries gathered at the United Nations Conference on International Organization in San Francisco, California from 25 April to 26 June 1945.`]}],mt=r.object({current_company:r.string().nullable().optional(),headline:r.string().nullable().optional(),connection_count:r.number().int().nonnegative().nullable().optional(),follower_count:r.number().int().nonnegative().nullable().optional(),experience_raw:r.string().nullable().optional()}),ht={current_company:`On`,headline:`Engineering leadership`,connection_count:2396,follower_count:2419,experience_raw:`On 2025-03-01 Head of Engineering Google 2019-04-01 2025-02-01 Staff Software Engineer`},gt=r.array(r.object({backend_urn:r.string(),actor_backend_urn:r.string().nullable(),share_urn:r.string(),share_url:r.string().url(),text:r.string(),actor_name:r.string(),hyperlinks:r.object({company_linkedin_urls:r.array(r.string().url()),person_linkedin_urls:r.array(r.string().url()),other_urls:r.array(r.string().url())}),date_posted:r.string().regex(/^\d{4}-\d{2}-\d{2}$/),total_reactions:r.number().int().min(0),total_comments:r.number().int().min(0),reactions_by_type:r.object({LIKE:r.number().int().min(0).optional(),EMPATHY:r.number().int().min(0).optional(),PRAISE:r.number().int().min(0).optional(),INTEREST:r.number().int().min(0).optional()}),num_shares:r.number().int().min(0),is_repost_without_thoughts:r.boolean(),reactors:r.array(r.unknown()).length(0)})),_t=[{backend_urn:`urn:li:activity:7236812027275419648`,actor_backend_urn:null,share_urn:`urn:li:share:7236812026038083584`,share_url:`https://www.linkedin.com/posts/crustdata_y-combinators-most-popular-startups-from-activity-7236812027275419648-4fyw?utm_source=combined_share_message&utm_medium=member_desktop`,text:`Y Combinator's most popular startups.
|
|
40
40
|
From the current S24 batch.
|
|
41
41
|
|
|
42
42
|
How do you gauge the buzz around these startups when most are pre-product?
|
|
@@ -58,20 +58,20 @@ Here are the most popular startups from YC S24:
|
|
|
58
58
|
|
|
59
59
|
๐ค Interested in reading more about the YC S24 batch?
|
|
60
60
|
|
|
61
|
-
Read our full breakdown from the link in the comments ๐`,actor_name:`Crustdata`,hyperlinks:{company_linkedin_urls:[],person_linkedin_urls:[`https://www.linkedin.com/in/ACoAAAKoldoBqSsiXY_DHsXdSk1slibabeTvDDY`],other_urls:[]},date_posted:`2024-09-03`,total_reactions:37,total_comments:7,reactions_by_type:{LIKE:28,EMPATHY:4,PRAISE:4,INTEREST:1},num_shares:5,is_repost_without_thoughts:!1,reactors:[]}],ft=r.object({criterion:r.string(),reasoning:r.string(),satisfied:r.enum([`yes`,`no`,`partial`]),references:r.array(r.object({title:r.string(),snippet:r.string(),url:r.url()}))}),pt={criterion:`Company is recognized as a leading AI research lab (e.g., through significant publications, awards, or industry recognition) and has a primary research focus on large language models`,reasoning:`MIT is recognized as a leading AI research lab, particularly through the MIT-IBM Watson AI Lab. They have significant publications and research focused on large language models, as evidenced by news articles and publications from the Media Lab. This satisfies the criterion.`,satisfied:`yes`,references:[{title:`How to build AI scaling laws for efficient LLM training and budget ...`,snippet:`MIT-IBM Watson AI Lab researchers have developed a universal guide for estimating how large language models will perform based on smaller models ...`,url:`https://news.mit.edu/2025/how-build-ai-scaling-laws-efficient-llm-training-budget-maximization-0916`},{title:`Can large language models figure out the real world? | MIT News`,snippet:`Researchers at MIT and Harvard University have devised a new approach to assessing how deeply predictive AI systems understand their subject ...`,url:`https://news.mit.edu/2025/can-large-language-models-figure-out-real-world-0825`},{title:`Like human brains, large language models reason about diverse ...`,snippet:`MIT researchers find large language models process diverse types of data, like different languages, audio inputs, images, etc., similarly to ...`,url:`https://news.mit.edu/2025/large-language-models-reason-about-diverse-data-general-way-0219`},{title:`MIT 6.S191 (Liquid AI): Large Language Models - YouTube`,snippet:`... lab materials: http://introtodeeplearning.comโโ Subscribe to stay up to date with new deep learning lectures at MIT, or follow us ...`,url:`https://www.youtube.com/watch?v=_HfdncCbMOE&pp=0gcJCfwAo7VqN5tD`},{title:`Latent Lab: Large Language Models for Knowledge Exploration`,snippet:`This paper investigates the potential of AI models, particularly large language models (LLMs), to support knowledge exploration and augment human creativity ...`,url:`https://www.media.mit.edu/publications/latent-lab-large-language-models-for-knowledge-exploration`},{title:`MIT | LinkedIn`,snippet:`MIT is a Higher Education company (Nonprofit) with 90 (10001+ category) employees, founded in 1861. The MIT community is driven by a shared purpose: to make a better world through education, research, and innovation. We are fun and quirky, elite but ...`,url:`https://www.linkedin.com/company/school-mit`},{title:`Massachusetts Institute of Technology (MIT)`,snippet:`MIT is a Higher Education company (Nonprofit) with 90 (10001+ category) employees, founded in 1861. The MIT community is driven by a shared purpose: to make a better world through education, research, and innovation. We are fun and quirky, elite but ...`,url:`https://mit.edu`}]},mt=r.array(r.object({round:r.string().nullable(),date:r.string().nullable(),amount:r.string().nullable(),investors:r.array(r.object({name:r.string()})).nullable()})),ht=[{round:`Series A`,date:`2021-05-01`,amount:`$250,000,000`,investors:[{name:`Franklin Templeton`},{name:`Coatue`},{name:`Sequoia`},{name:`Thrive Capital`},{name:`Tiger Global`}]},{round:`Series B`,date:`2023-05-01`,amount:`$250,000,000`,investors:[{name:`Franklin Templeton`},{name:`Coatue`},{name:`Sequoia`},{name:`Thrive Capital`},{name:`Tiger Global`}]}],gt=r.object({name:r.string().describe(`Company name`),lid:r.string().nullable().optional().describe(`LinkedIn ID`),urn:r.string().nullable().optional().describe(`Uniform Resource Name identifier`),type:r.string().nullable().optional().describe(`Type of company`),industry:r.string().nullable().optional().describe(`Industry sector`),location:r.string().nullable().optional().describe(`Company location`),numberOfEmployees:r.number().describe(`Number of employees`),website:r.string().nullable().optional().describe(`Company website URL`),url:r.string().nullable().optional().describe(`General company URL`),description:r.string().nullable().optional().describe(`Company description`),specialties:r.array(r.string()).describe(`List of company specialties`),employeeGrowth:r.array(r.unknown()).describe(`Employee growth data`)}),_t={name:`Acme Innovations Inc.`,lid:`12345`,urn:`urn:li:company:12345`,type:`Private`,industry:`Information Technology`,location:`Berlin, Germany`,numberOfEmployees:250,website:`https://www.acme-innovations.com`,url:`https://linkedin.com/company/acme-innovations`,description:`Acme Innovations is a leader in enterprise software solutions, specializing in cloud-based tools for modern businesses.`,specialties:[`Cloud Computing`,`Machine Learning`,`Cybersecurity`],employeeGrowth:[]},vt=r.object({firstname:r.string().nullable().optional().describe(`The person's first name.`),lastname:r.string().nullable().optional().describe(`The person's last name.`),headline:r.string().nullable().optional().describe(`A short professional headline.`),description:r.string().nullable().optional().describe(`A summary or description of the person.`),profileUrl:r.string().nullable().optional().describe(`URL to the person's profile.`),lastJobTitle:r.string().nullable().optional().describe(`Title of the most recent job.`),lastJobDescription:r.string().nullable().optional().describe(`Description of the most recent job.`),lastJobStartDate:r.string().nullable().optional().describe(`Start date of the most recent job.`),address:r.string().nullable().optional().describe(`The person's address.`),lastCompanyName:r.string().nullable().optional().describe(`Name of the most recent company.`),lastCompanyUrn:r.string().nullable().optional().describe(`URN (unique resource name) of the most recent company.`),lastCompanyUrl:r.string().nullable().optional().describe(`URL of the most recent company.`),lastCompanyWebsite:r.string().nullable().optional().describe(`Website of the most recent company.`),lastCompanyDescription:r.string().nullable().optional().describe(`Description of the most recent company.`),lastCompanySize:r.number().nullable().optional().describe(`Size of the most recent company.`),lastCompanyIndustry:r.string().nullable().optional().describe(`Industry of the most recent company.`),lastCompanyAddress:r.string().nullable().optional().describe(`Address of the most recent company.`)}),yt={firstname:`Jane`,lastname:`Doe`,headline:`Software Engineer at Sample`,description:`Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?`,profileUrl:`https://www.linkedin.com/in/mayuri2307`,lastJobTitle:`Software Engineer`,lastJobDescription:``,lastJobStartDate:`06-2024`,address:``,lastCompanyName:`Google`,lastCompanyUrn:`urn:li:fs_xxxxCompany:1111`,lastCompanyUrl:`https://www.linkedin.com/company/sample/`,lastCompanyWebsite:`https://sample.com`,lastCompanyDescription:`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`,lastCompanySize:183446,lastCompanyIndustry:`Software Development`,lastCompanyAddress:`Mountain View, California, United States`},bt=r.array(r.object({company_name:r.string().nullable(),revenue:r.string().nullable(),headquarters_region:r.string().nullable(),company_website_url:r.url().nullable(),company_type:r.string().nullable()})),xt=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],St=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),Ct=[{company_name:`Vayo`,date:`2020-09-01`,company_description:`Vayo is a SaaS-based firm that analyzes, integrates and converts customer data into actionable insights for business`,source_url:`https://techcrunch.com/2020/09/01/fresh-off-200m-series-d-gong-acquires-early-stage-startup-vayo`}],wt=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),Tt=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],Et=r.object({r:r.number().int().min(0).max(255),g:r.number().int().min(0).max(255),b:r.number().int().min(0).max(255),hex:r.string().regex(/^#[0-9a-f]{6}$/i)}),Dt=r.object({facebook:r.url().optional(),github:r.url().optional(),instagram:r.url().optional(),linkedin:r.url().optional(),pinterest:r.url().optional(),reddit:r.url().optional(),snapchat:r.url().optional(),telegram:r.url().optional(),tumblr:r.url().optional(),twitter:r.url().optional(),wechat:r.url().optional(),whatsapp:r.url().optional(),youtube:r.url().optional()}).optional(),Ot=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:Dt,logo:r.url(),blurhash:r.string(),colors:r.array(Et)}),kt={name:`sweetgreen`,domain:`sweetgreen.com`,description:`Simple, seasonal, healthy salads and grain bowls made in-house from scratch, using whole produce delivered that morning.`,indexed_at:`2025-03-10T11:36:23.885238001Z`,socials:{facebook:`http://facebook.com/sweetgreen`,instagram:`https://www.instagram.com/sweetgreen/`,twitter:`https://x.com/sweetgreen`,linkedin:`https://linkedin.com/company/acmeinc`,pinterest:`https://pinterest.com/`,reddit:`https://reddit.com`},logo:`https://img.logo.dev/sweetgreen.com?token=YOUR_TOKEN_HERE`,blurhash:`UJPanPxr?Vj[oxazj@od_FWDDoodxrodagWD`,colors:[{r:228,g:255,b:85,hex:`#e4ff55`},{r:10,g:75,b:43,hex:`#0a4b2b`},{r:125,g:173,b:80,hex:`#7dad50`}]},At=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unknown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),jt={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``};function Mt(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function Nt(e,{isNullEmpty:t}={isNullEmpty:!1}){if(e===null)return!!t;if(e==null||typeof e==`string`&&e.trim()===``||Array.isArray(e)&&e.length===0)return!0;if(typeof e==`object`){for(let n in e)if(Object.hasOwn(e,n)&&!Nt(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function Pt(e){return e.split(`@`)[0]}const Ft=r.object({object:r.literal(`linkedin_profile`).describe(`String representing the objectโs type.`),name:r.string().nullable().describe(`The full name of the profile owner.`),headline:r.string().nullable().describe(`The current headline/tagline of the profile owner.`),profile_url:r.string().nullable().describe(`The URL of the LinkedIn profile.`),profile_picture_url:r.string().nullable().describe(`Url of profile picture`),languages:r.array(r.object({language:r.string().describe(`The name of the language`),level:r.string().nullable().describe(`Level of proficiency`)}).describe(`Language entry object`)).nullable().describe(`A list of languages spoken by the profile owner, with proficiency levels.`),skills:r.array(r.object({name:r.string().describe(`The name of the skill.`),level:r.enum([`beginner`,`intermediate`,`advanced`]).nullable().describe(`The proficiency level of the skill.`)}).describe(`Skill entry object`)).describe(`A list of skills listed on the profile, with optional proficiency levels.`),current_jobs:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The name of the company.`),company_website:r.string().nullable().describe(`The website URL of the company.`),company_social_url:r.string().nullable().describe(`LinkedIn URL of the company.`),job_description:r.string().nullable().describe(`Description of the role or responsibilities.`),start_date:r.string().nullable().describe(`The start date of the job (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the job (YYYY-MM-DD). Null if 'Present' or ongoing.`),headcount:r.string().nullable().describe(`The size of the company (e.g., '1001-5000', '1-10'). Null if not available.`),company_industry:r.string().nullable().describe(`The industry of the company. Null if not available.`),tenure_in_days:r.number().int().nullable().describe(`The total tenure for this job in days. Null if not calculable.`),tenure_in_years:r.number().nullable().describe(`The total tenure for this job in years, as a decimal. Null if not calculable.`),region:r.string().nullable().describe(`The specific location of this job (e.g., 'Seattle, Washington, United States'). Null if not available.`),country:r.string().nullable().describe(`The country where this job is located (ISO 3166-1 alpha-2 code). Null if not available.`)}).describe(`Job entry object`)).describe(`A list of the user's current primary jobs. Can be an empty array if no current jobs.`),connections_count:r.number().int().nullable().describe(`The number of connections the profile has. Null if not available or visible.`),country:r.string().nullable().describe(`The country of the profile owner's primary location.`),region:r.string().nullable().describe(`The specific region of the profile owner (e.g., 'Seattle, Washington, United States'). Null if not available.`),about:r.string().nullable().describe(`The 'About' section content from the profile. Null if empty.`),job_history:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The name of the company.`),company_website:r.string().nullable().describe(`The website URL of the company.`),company_social_url:r.string().nullable().describe(`LinkedIn URL of the company.`),job_description:r.string().nullable().describe(`Description of the role or responsibilities.`),start_date:r.string().nullable().describe(`The start date of the job (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the job (YYYY-MM-DD). Null if 'Present' or ongoing.`),headcount:r.string().nullable().describe(`The size of the company (e.g., '1001-5000', '1-10'). Null if not available.`),company_industry:r.string().nullable().describe(`The industry of the company. Null if not available.`),tenure_in_days:r.number().int().nullable().describe(`The total tenure for this job in days. Null if not calculable.`),tenure_in_years:r.number().nullable().describe(`The total tenure for this job in years, as a decimal. Null if not calculable.`),region:r.string().nullable().describe(`The specific location of this job (e.g., 'Seattle, Washington, United States'). Null if not available.`),country:r.string().nullable().describe(`The country where this job is located (ISO 3166-1 alpha-2 code). Null if not available.`)}).describe(`Job entry object`)).describe(`A list of past and current work experiences.`),current_educations:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),field_of_study:r.string().nullable().describe(`The specific field of study (e.g., 'Computer Science', 'Business Administration').`),institution_name:r.string().describe(`The name of the educational institution.`),start_date:r.string().nullable().describe(`The start date of the education (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the education (YYYY-MM-DD). Null if 'Present' or ongoing.`),tenure_in_years:r.number().nullable().describe(`Duration at instituation in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at instituation in days. Null if not available.`),grade:r.string().nullable().describe(`The grade, GPA, or other academic achievement (e.g., '3.8/4.0', 'Distinction'). Null if not available.`),description:r.string().nullable().describe(`A description of the education, including relevant coursework or honors. Null if empty.`),activities_and_societies:r.string().nullable().describe(`A summary of activities and societies participated in. Null if empty.`)}).describe(`Education entry object`)).describe(`A list of the user's current primary educational enrollments. Can be an empty array if no current education.`),education_history:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),field_of_study:r.string().nullable().describe(`The specific field of study (e.g., 'Computer Science', 'Business Administration').`),institution_name:r.string().describe(`The name of the educational institution.`),start_date:r.string().nullable().describe(`The start date of the education (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the education (YYYY-MM-DD). Null if 'Present' or ongoing.`),tenure_in_years:r.number().nullable().describe(`Duration at instituation in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at instituation in days. Null if not available.`),grade:r.string().nullable().describe(`The grade, GPA, or other academic achievement (e.g., '3.8/4.0', 'Distinction'). Null if not available.`),description:r.string().nullable().describe(`A description of the education, including relevant coursework or honors. Null if empty.`),activities_and_societies:r.string().nullable().describe(`A summary of activities and societies participated in. Null if empty.`)}).describe(`Education entry object`)).describe(`A list of past and current educational experiences.`)}),It={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:Mt(),languages:[{language:`English`,level:`Native`},{language:`Spanish`,level:`Conversational`}],name:`Jane Doe`,headline:`Senior Software Engineer at Tech Solutions | Cloud & AI Enthusiast`,skills:[{name:`JavaScript`,level:`advanced`},{name:`React`,level:`advanced`},{name:`Node.js`,level:`advanced`},{name:`AWS`,level:`intermediate`},{name:`Python`,level:`intermediate`},{name:`Machine Learning`,level:`beginner`}],current_jobs:[{job_title:`Senior Software Engineer`,company_name:`Tech Solutions`,company_website:`https://www.techsolutions.com`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,contract_type:`Full-time`,start_date:`2023-01-15`,end_date:null,headcount:`1001-5000`,company_social_url:`https://www.linkedin.com/company/tech-solutions`,company_industry:`Information Technology & Services`,tenure_in_days:870,tenure_in_years:2.38,region:`Berlin, Berlin, Germany`,country:`DE`}],connections_count:850,country:`DE`,region:`Berlin, Berlin, Germany`,about:`Experienced Senior Software Engineer with a passion for building innovative and efficient software solutions. Proven ability to lead projects, mentor junior developers, and deliver high-quality code. Always eager to learn new technologies and contribute to challenging projects.`,job_history:[{job_title:`Senior Software Engineer`,company_name:`Tech Solutions`,company_website:`https://www.techsolutions.com`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,contract_type:`Full-time`,start_date:`2023-01-15`,end_date:null,headcount:`1001-5000`,company_social_url:`https://www.linkedin.com/company/tech-solutions`,company_industry:`Information Technology & Services`,tenure_in_days:870,tenure_in_years:2.38,region:`Berlin, Berlin, Germany`,country:`DE`},{job_title:`Software Developer`,company_name:`Innovate Corp`,company_website:`https://www.innovatecorp.com`,job_description:`Contributed to the development of enterprise-level applications and collaborated with cross-functional teams.`,contract_type:`Full-time`,start_date:`2019-06-01`,end_date:`2022-12-31`,headcount:`501-1000`,company_social_url:`https://www.linkedin.com/company/innovate-corp`,company_industry:`Software Development`,tenure_in_days:1300,tenure_in_years:3.56,region:`Munich, Bavaria, Germany`,country:`DE`}],current_educations:[],education_history:[{degree_name:`Master of Science`,field_of_study:`Computer Science`,institution_name:`Technical University of Berlin`,start_date:`2017-10-01`,end_date:`2019-09-30`,tenure_in_days:730,tenure_in_years:2,grade:`1.3`,description:`Specialized in distributed systems and artificial intelligence.`,activities_and_societies:`AI Research Group, Student Mentorship Program`},{degree_name:`Bachelor of Science`,field_of_study:`Computer Engineering`,institution_name:`University of Applied Sciences Berlin`,start_date:`2014-09-01`,end_date:`2017-08-31`,tenure_in_days:1095,tenure_in_years:3,grade:`1.8`,description:`Focused on software design and embedded systems.`,activities_and_societies:`Robotics Club, Programming Competition Team`}]},Lt=r.object({name:r.string().nullable(),profile_url:r.string().nullable(),company_name:r.string().nullable(),company_website_url:r.string().nullable(),job_title:r.string().nullable()}),Rt={name:`John Doe`,profile_url:`https://linkedin.com/in/john-doe-123`,company_name:`Acme Inc.`,company_website_url:`https://acme.com`,job_title:`CEO`},zt=r.array(r.object({markdown:r.string().nullable(),html:r.string().nullable(),links:r.array(r.string()).nullable(),metadata:r.object({title:r.string().nullable(),description:r.string().nullable()}).nullable()})),Bt=[{markdown:`[Pipe Docs home page!...`,html:`<!DOCTYPE html><html lang="en" class="js-focus-visible lg:[--scroll-mt:9.5rem]" data-js-focus-visible="">...`,links:[`https://pip0.com`],metadata:{title:`A framework for data enrichment`,description:`Learn how to use Firecrawl, Groq Llama 3, and Langchain to build a 'Chat with your website' bot.`}}],Vt=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),Ht=[{url:`https://pipe0.com/resources/documentation`,title:`Pipe0 | Docs`,description:`A modern data enrichment framework`},{url:`https://pipe0.com/resources/documentation/pipes`,title:`Pipe0 Docs | Pipe Docs`,description:`Documentation for pipe0 pipes.`}],Ut=r.union([r.literal(`valid`),r.literal(`invalid`),r.literal(`catch-all`),r.literal(`unknown`),r.literal(`spamtrap`),r.literal(`abuse`),r.literal(`do_not_mail`)]),Wt=r.union([r.literal(`alternate`),r.literal(`antispam_system`),r.literal(`greylisted`),r.literal(`mail_server_temporary_error`),r.literal(`forcible_disconnect`),r.literal(`mail_server_did_not_respond`),r.literal(`timeout_exceeded`),r.literal(`failed_smtp_connection`),r.literal(`mailbox_quota_exceeded`),r.literal(`exception_occurred`),r.literal(`possible_trap`),r.literal(`role_based`),r.literal(`global_suppression`),r.literal(`mailbox_not_found`),r.literal(`no_dns_entries`),r.literal(`failed_syntax_check`),r.literal(`possible_typo`),r.literal(`unroutable_ip_address`),r.literal(`leading_period_removed`),r.literal(`does_not_accept_mail`),r.literal(`alias_address`),r.literal(`role_based_catch_all`),r.literal(`disposable`),r.literal(`toxic`),r.literal(`accept_all`),r.literal(``)]),Gt=r.object({address:r.email(),status:Ut,sub_status:Wt,account:r.string(),domain:r.string(),did_you_mean:r.string().nullable(),domain_age_days:r.string().nullable().optional(),active_in_days:r.union([r.literal(`30`),r.literal(`60`),r.literal(`90`),r.literal(`180`),r.literal(`365`),r.literal(`365+`),r.literal(``)]).nullable().optional(),free_email:r.boolean(),mx_found:r.enum([`true`,`false`]).nullable(),mx_record:r.string(),smtp_provider:r.string().nullable(),firstname:r.string().nullable(),lastname:r.string().nullable(),gender:r.string().nullable(),city:r.string().nullable(),region:r.string().nullable(),zipcode:r.string().nullable(),country:r.string().nullable(),processed_at:r.string()}),Kt={address:`flowerjill@aol.com`,status:`valid`,sub_status:``,free_email:!0,did_you_mean:null,account:`flowerjill`,domain:`aol.com`,domain_age_days:`8426`,active_in_days:`365`,smtp_provider:`yahoo`,mx_record:`mx-aol.mail.gm0.yahoodns.net`,mx_found:`true`,firstname:`Jill`,lastname:`Stein`,gender:`female`,country:`United States`,region:`Florida`,city:`West Palm Beach`,zipcode:`33401`,processed_at:`2017-04-01 02:48:02.592`},qt=r.object({text:r.string(),url:r.url(),created_at:r.iso.datetime().nullable(),urn:r.string().nullable(),like_count:r.number().nullable(),comment_count:r.number().nullable()}),Jt={text:`Example post text`,url:`https://www.linkedin.com/feed/update/urn:li:activity:7276799456982007552/`,like_count:12,comment_count:3,created_at:new Date().toISOString(),urn:`7276733769981007542`},Yt={"united states":`๐บ๐ธ`,usa:`๐บ๐ธ`,us:`๐บ๐ธ`,america:`๐บ๐ธ`,"united kingdom":`๐ฌ๐ง`,uk:`๐ฌ๐ง`,britain:`๐ฌ๐ง`,england:`๐ฌ๐ง`,scotland:`๐ด๓ ง๓ ข๓ ณ๓ ฃ๓ ด๓ ฟ`,wales:`๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ`,canada:`๐จ๐ฆ`,australia:`๐ฆ๐บ`,germany:`๐ฉ๐ช`,france:`๐ซ๐ท`,italy:`๐ฎ๐น`,spain:`๐ช๐ธ`,japan:`๐ฏ๐ต`,china:`๐จ๐ณ`,india:`๐ฎ๐ณ`,brazil:`๐ง๐ท`,russia:`๐ท๐บ`,mexico:`๐ฒ๐ฝ`,netherlands:`๐ณ๐ฑ`,holland:`๐ณ๐ฑ`,belgium:`๐ง๐ช`,switzerland:`๐จ๐ญ`,austria:`๐ฆ๐น`,sweden:`๐ธ๐ช`,norway:`๐ณ๐ด`,denmark:`๐ฉ๐ฐ`,finland:`๐ซ๐ฎ`,poland:`๐ต๐ฑ`,portugal:`๐ต๐น`,greece:`๐ฌ๐ท`,turkey:`๐น๐ท`,"south korea":`๐ฐ๐ท`,"south africa":`๐ฟ๐ฆ`,argentina:`๐ฆ๐ท`,chile:`๐จ๐ฑ`,colombia:`๐จ๐ด`,peru:`๐ต๐ช`,venezuela:`๐ป๐ช`,egypt:`๐ช๐ฌ`,israel:`๐ฎ๐ฑ`,"saudi arabia":`๐ธ๐ฆ`,iran:`๐ฎ๐ท`,iraq:`๐ฎ๐ถ`,pakistan:`๐ต๐ฐ`,bangladesh:`๐ง๐ฉ`,thailand:`๐น๐ญ`,vietnam:`๐ป๐ณ`,philippines:`๐ต๐ญ`,indonesia:`๐ฎ๐ฉ`,malaysia:`๐ฒ๐พ`,singapore:`๐ธ๐ฌ`,"new zealand":`๐ณ๐ฟ`,ireland:`๐ฎ๐ช`,ukraine:`๐บ๐ฆ`,"czech republic":`๐จ๐ฟ`,hungary:`๐ญ๐บ`,romania:`๐ท๐ด`,bulgaria:`๐ง๐ฌ`,croatia:`๐ญ๐ท`,serbia:`๐ท๐ธ`,slovenia:`๐ธ๐ฎ`,slovakia:`๐ธ๐ฐ`,estonia:`๐ช๐ช`,latvia:`๐ฑ๐ป`,lithuania:`๐ฑ๐น`,iceland:`๐ฎ๐ธ`,luxembourg:`๐ฑ๐บ`,malta:`๐ฒ๐น`,cyprus:`๐จ๐พ`,albania:`๐ฆ๐ฑ`,"bosnia and herzegovina":`๐ง๐ฆ`,montenegro:`๐ฒ๐ช`,"north macedonia":`๐ฒ๐ฐ`,macedonia:`๐ฒ๐ฐ`,moldova:`๐ฒ๐ฉ`,belarus:`๐ง๐พ`,georgia:`๐ฌ๐ช`,armenia:`๐ฆ๐ฒ`,azerbaijan:`๐ฆ๐ฟ`,kazakhstan:`๐ฐ๐ฟ`,uzbekistan:`๐บ๐ฟ`,kyrgyzstan:`๐ฐ๐ฌ`,tajikistan:`๐น๐ฏ`,turkmenistan:`๐น๐ฒ`,afghanistan:`๐ฆ๐ซ`,mongolia:`๐ฒ๐ณ`,"north korea":`๐ฐ๐ต`,myanmar:`๐ฒ๐ฒ`,burma:`๐ฒ๐ฒ`,laos:`๐ฑ๐ฆ`,cambodia:`๐ฐ๐ญ`,brunei:`๐ง๐ณ`,"sri lanka":`๐ฑ๐ฐ`,maldives:`๐ฒ๐ป`,nepal:`๐ณ๐ต`,bhutan:`๐ง๐น`,oman:`๐ด๐ฒ`,uae:`๐ฆ๐ช`,"united arab emirates":`๐ฆ๐ช`,qatar:`๐ถ๐ฆ`,bahrain:`๐ง๐ญ`,kuwait:`๐ฐ๐ผ`,jordan:`๐ฏ๐ด`,lebanon:`๐ฑ๐ง`,syria:`๐ธ๐พ`,yemen:`๐พ๐ช`,libya:`๐ฑ๐พ`,tunisia:`๐น๐ณ`,algeria:`๐ฉ๐ฟ`,morocco:`๐ฒ๐ฆ`,sudan:`๐ธ๐ฉ`,ethiopia:`๐ช๐น`,kenya:`๐ฐ๐ช`,uganda:`๐บ๐ฌ`,tanzania:`๐น๐ฟ`,rwanda:`๐ท๐ผ`,burundi:`๐ง๐ฎ`,somalia:`๐ธ๐ด`,djibouti:`๐ฉ๐ฏ`,eritrea:`๐ช๐ท`,ghana:`๐ฌ๐ญ`,nigeria:`๐ณ๐ฌ`,senegal:`๐ธ๐ณ`,mali:`๐ฒ๐ฑ`,"burkina faso":`๐ง๐ซ`,niger:`๐ณ๐ช`,chad:`๐น๐ฉ`,cameroon:`๐จ๐ฒ`,"central african republic":`๐จ๐ซ`,"democratic republic of congo":`๐จ๐ฉ`,congo:`๐จ๐ฌ`,gabon:`๐ฌ๐ฆ`,"equatorial guinea":`๐ฌ๐ถ`,"sao tome and principe":`๐ธ๐น`,"cape verde":`๐จ๐ป`,guinea:`๐ฌ๐ณ`,"guinea-bissau":`๐ฌ๐ผ`,"sierra leone":`๐ธ๐ฑ`,liberia:`๐ฑ๐ท`,"ivory coast":`๐จ๐ฎ`,"cote d'ivoire":`๐จ๐ฎ`,togo:`๐น๐ฌ`,benin:`๐ง๐ฏ`,mauritania:`๐ฒ๐ท`,gambia:`๐ฌ๐ฒ`,botswana:`๐ง๐ผ`,namibia:`๐ณ๐ฆ`,zimbabwe:`๐ฟ๐ผ`,zambia:`๐ฟ๐ฒ`,malawi:`๐ฒ๐ผ`,mozambique:`๐ฒ๐ฟ`,madagascar:`๐ฒ๐ฌ`,mauritius:`๐ฒ๐บ`,seychelles:`๐ธ๐จ`,comoros:`๐ฐ๐ฒ`,lesotho:`๐ฑ๐ธ`,swaziland:`๐ธ๐ฟ`,eswatini:`๐ธ๐ฟ`,angola:`๐ฆ๐ด`,bermuda:`๐ง๐ฒ`,"cayman islands":`๐ฐ๐พ`,"british virgin islands":`๐ป๐ฌ`,"turks and caicos":`๐น๐จ`,anguilla:`๐ฆ๐ฎ`,montserrat:`๐ฒ๐ธ`,"falkland islands":`๐ซ๐ฐ`,gibraltar:`๐ฌ๐ฎ`,jersey:`๐ฏ๐ช`,guernsey:`๐ฌ๐ฌ`,"isle of man":`๐ฎ๐ฒ`,"faroe islands":`๐ซ๐ด`,greenland:`๐ฌ๐ฑ`,"french polynesia":`๐ต๐ซ`,"new caledonia":`๐ณ๐จ`,"wallis and futuna":`๐ผ๐ซ`,"french guiana":`๐ฌ๐ซ`,martinique:`๐ฒ๐ถ`,guadeloupe:`๐ฌ๐ต`,reunion:`๐ท๐ช`,mayotte:`๐พ๐น`,"saint pierre and miquelon":`๐ต๐ฒ`,"puerto rico":`๐ต๐ท`,"us virgin islands":`๐ป๐ฎ`,"american samoa":`๐ฆ๐ธ`,guam:`๐ฌ๐บ`,"northern mariana islands":`๐ฒ๐ต`,"united states minor outlying islands":`๐บ๐ฒ`,"cook islands":`๐จ๐ฐ`,niue:`๐ณ๐บ`,tokelau:`๐น๐ฐ`,"christmas island":`๐จ๐ฝ`,"cocos islands":`๐จ๐จ`,"norfolk island":`๐ณ๐ซ`,"hong kong":`๐ญ๐ฐ`,macau:`๐ฒ๐ด`,macao:`๐ฒ๐ด`,taiwan:`๐น๐ผ`,"san marino":`๐ธ๐ฒ`,vatican:`๐ป๐ฆ`,"vatican city":`๐ป๐ฆ`,liechtenstein:`๐ฑ๐ฎ`,monaco:`๐ฒ๐จ`,andorra:`๐ฆ๐ฉ`,jamaica:`๐ฏ๐ฒ`,cuba:`๐จ๐บ`,haiti:`๐ญ๐น`,"dominican republic":`๐ฉ๐ด`,bahamas:`๐ง๐ธ`,barbados:`๐ง๐ง`,"trinidad and tobago":`๐น๐น`,"saint lucia":`๐ฑ๐จ`,"saint vincent and the grenadines":`๐ป๐จ`,grenada:`๐ฌ๐ฉ`,dominica:`๐ฉ๐ฒ`,"antigua and barbuda":`๐ฆ๐ฌ`,"saint kitts and nevis":`๐ฐ๐ณ`,fiji:`๐ซ๐ฏ`,"papua new guinea":`๐ต๐ฌ`,"solomon islands":`๐ธ๐ง`,vanuatu:`๐ป๐บ`,samoa:`๐ผ๐ธ`,tonga:`๐น๐ด`,kiribati:`๐ฐ๐ฎ`,tuvalu:`๐น๐ป`,nauru:`๐ณ๐ท`,palau:`๐ต๐ผ`,"marshall islands":`๐ฒ๐ญ`,micronesia:`๐ซ๐ฒ`,uruguay:`๐บ๐พ`,paraguay:`๐ต๐พ`,bolivia:`๐ง๐ด`,ecuador:`๐ช๐จ`,guyana:`๐ฌ๐พ`,suriname:`๐ธ๐ท`,guatemala:`๐ฌ๐น`,belize:`๐ง๐ฟ`,honduras:`๐ญ๐ณ`,"el salvador":`๐ธ๐ป`,nicaragua:`๐ณ๐ฎ`,"costa rica":`๐จ๐ท`,panama:`๐ต๐ฆ`};function Xt(e,t){let n=[];for(let e=0;e<=t.length;e++)n[e]=[e];for(let t=0;t<=e.length;t++)n[0][t]=t;for(let r=1;r<=t.length;r++)for(let i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?n[r][i]=n[r-1][i-1]:n[r][i]=Math.min(n[r-1][i-1]+1,n[r][i-1]+1,n[r-1][i]+1);return n[t.length][e.length]}function Zt(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function Qt(e){let t=Zt(e);if(Yt[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(Yt)){let a=Xt(t,e),o=e.includes(t)||t.includes(e);(a<=i&&a<r||o&&a<r*1.5)&&(n=e,r=a)}return n}function $t(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function en(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=$t(e);return t?tn(t):null}catch{return null}}function tn(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Qt(e);return t&&Yt[t]||null}catch{return null}}function nn(e){try{let t=new URL(e);if(!t.hostname.includes(`linkedin.com`))return console.warn(`Provided URL is not a LinkedIn URL: ${e}`),``;let n=t.pathname;n.endsWith(`/`)&&(n=n.slice(0,-1));let r=n.split(`/`).filter(e=>e.length>0);return r.length>0&&r[r.length-1]||``}catch{return``}}const rn={company_description:{label:`Company description`,type:`string`,description:`A summary of the main business purpose and objectives.`,jsonMeta:null,format:`markdown`},cleaned_company_name:{label:`Cleaned company name`,type:`string`,description:`The standardized and cleaned version of the company name, ensuring consistency across different entries.`,jsonMeta:null,format:`text`},website_markdown:{label:`Scrape result - Markdown`,type:`string`,description:`Markdown-formatted scrape of a website.`,jsonMeta:null,format:`markdown`},mapped_links:{label:`Website internal links`,type:`json`,format:`json_list`,description:`A list of website links.`,jsonMeta:{zodSchema:Vt,exampleValue:Ht}},website_html:{label:`Scrape result - HTML`,type:`string`,description:`HTML-formatted scrape of a website.`,jsonMeta:null,format:null},website_url:{label:`Website URL`,type:`string`,description:`Generic URL of a website.`,jsonMeta:null,format:`url`},scrape_list_response:{label:`URLs`,type:`json`,description:`List of URLs`,jsonMeta:{zodSchema:zt,exampleValue:Bt},format:null},urls:{label:`URLs`,type:`json`,description:`List of URLs`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://pipe0.com`,`https://pipe0.com/resources/documentation`]},format:`json_list_string`},website_links:{label:`URLs`,type:`json`,description:`List of URLs scraped from a website`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://pipe0.com`,`https://pipe0.com/resources/documentation`]},format:`json_list_string`},clado_person_profile:{label:`Clado person profile`,type:`json`,description:`Fully enriched people profile`,jsonMeta:{zodSchema:ze,exampleValue:Be},format:`json_object`},company_industry:{label:`Company industry`,type:`string`,description:`The industry in which the company operates.`,jsonMeta:null,format:`text`},company_region:{label:`Company region`,type:`string`,description:`The region corresponding to the company's country.`,jsonMeta:null,format:`text`},location_hint:{label:`Location hint`,type:`string`,description:`An optional hint to help pinpoint a person's or company's location.`,jsonMeta:null,format:`text`},leadmagic_competitor_list:{label:`Competitor list`,type:`json`,description:`A list of the top competitors for a given company as provided by LeadMagic`,jsonMeta:{zodSchema:bt,exampleValue:xt},format:`json_list`},leadmagic_acquisition_history:{label:`Acquisition history`,type:`json`,description:`A list of acquisitions by a given company`,format:`json_list`,jsonMeta:{exampleValue:Ct,zodSchema:St}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:Tt,zodSchema:wt}},estimated_revenue:{label:`Estimated Annual Revenue`,type:`string`,description:`The estimated annual revenue of the company.`,jsonMeta:null,format:`text`},funding_history:{label:`Funding history`,type:`json`,description:`List of corporate funding rounds.`,format:null,jsonMeta:{zodSchema:mt,exampleValue:ht}},funding_total_usd:{label:`Total funding (USD)`,type:`number`,description:`Amount of total known funding`,jsonMeta:null,format:`currency`},founded_year:{label:`Founding year`,type:`string`,description:`The year the company was founded.`,jsonMeta:null,format:`text`},technology_list:{type:`json`,label:`Technology list`,description:`A flat list of technologies used by a company`,jsonMeta:{zodSchema:Fe,exampleValue:Ie},format:`json_list`},spending_trend:{type:`number`,label:`Spending Trend`,description:`Technology spending trend over the last 2 years. Average deviation between measuring points in %.`,jsonMeta:null,format:`percent`},technology_match_builtwith:{type:`json`,label:`Builtwith technology response`,description:`A datastructure containing the technologies used by this company`,format:`json_object`,jsonMeta:{zodSchema:Le,exampleValue:Re}},number_of_social_followers:{label:`Follower count`,type:`number`,description:`Social followers (or zero if not found).`,jsonMeta:null,format:`int`},mobile:{label:`Mobile`,type:`string`,description:`Mobile telephone number of a person.`,jsonMeta:null,format:`phone`},phone:{label:`Phone`,type:`string`,description:`A generic field for phone numbers. Can be mobile or landline.`,jsonMeta:null,format:`phone`},landline:{label:`Landline`,type:`string`,description:`A landline phone number`,jsonMeta:null,format:`phone`},job_title:{label:`Job title`,type:`string`,description:`Current job title of a person`,jsonMeta:null,format:`text`},job_description:{label:`Job description`,type:`string`,description:`Description of current job`,jsonMeta:null,format:`text`},email:{label:`Email address`,type:`string`,description:`A union field that can contain both professional and personal email addresses.`,jsonMeta:null,format:`email`},personal_email:{label:`Personal email`,type:`string`,description:`The personal email address of a prospect.`,jsonMeta:null,format:`email`},alternate_personal_emails:{label:`Alternate personal email`,type:`json`,description:`The personal email addresses that are associated with a prospect but less likely to be the primary email address of a prospect.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`john@pipe0.com`,`jane@pipe0.com`]},format:`json_list_string`},company_news_summary:{label:`Latest news`,type:`string`,description:`Latest company news.`,jsonMeta:null,format:`markdown`},work_email:{label:`Work email`,type:`string`,jsonMeta:null,description:`Email address of a person connection to their place of employment.`,format:`email`},headcount:{label:`Headcount`,type:`string`,jsonMeta:null,description:`Total number of people employed in a particular organization`,format:`text`},company_website_url:{label:`Company website URL`,type:`string`,description:`Website URL of a related company.`,jsonMeta:null,format:`website_url`},company_domain:{label:`Company domain`,type:`string`,description:`Bare domain of a related company. Example: stripe.com (no scheme, no path).`,jsonMeta:null,format:`text`},company_name:{label:`Company name`,type:`string`,description:`Name of a company.`,jsonMeta:null,format:`text`},clado_person_match:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:ze,exampleValue:Be}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Qe,exampleValue:$e}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:vt,exampleValue:yt}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:gt,exampleValue:_t}},first_name:{label:`First name`,type:`string`,description:`First name of a person.`,jsonMeta:null,format:`text`},addressee_name:{label:`Addressee name`,type:`string`,description:`Recipient name in the format required by postal services.`,jsonMeta:null,format:`text`},avatar_url:{label:`Avatar URL`,type:`string`,description:`URL for profile picture`,jsonMeta:null,format:`url`},address_line_1:{label:`Address line 1`,type:`string`,description:`First line of an address (e.g. street address)`,jsonMeta:null,format:`address_line_1`},address_line_2:{label:`Address line 2`,type:`string`,description:`The formatted address of a companyโs headquarters.`,jsonMeta:null,format:`text`},address_city:{label:`Address city`,type:`string`,description:`Name of a city as needed for an address.`,jsonMeta:null,format:`text`},address_country:{label:`Address country`,type:`string`,description:`Name of a country as needed for an address.`,jsonMeta:null,format:`text`},address_state:{label:`State`,type:`string`,description:`Name of a state.`,jsonMeta:null,format:`text`},zip_code:{label:`Zip code`,type:`string`,description:`A postal zip code. Usually a combination of numbers and letters.`,jsonMeta:null,format:`zip_code`},last_name:{label:`Last name`,type:`string`,description:`Last name of a person.`,jsonMeta:null,format:`text`},estimated_salary:{label:`Estimated salary`,type:`string`,description:`Estimated total salary in USD.`,jsonMeta:null,format:`text`},skills:{label:`Skills`,type:`string`,description:`List of professional skills`,jsonMeta:null,format:`text`},is_work_email:{label:`Is work email result`,type:`boolean`,description:`Check if a given email is a work email.`,jsonMeta:null,format:null},name:{label:`Full name`,type:`string`,description:`The full name of a person. Usually a combination of first and last name.`,jsonMeta:null,format:`text`},ip_address:{label:`IP address`,type:`string`,description:`IP Address of a person`,jsonMeta:null,format:`text`},is_email_valid:{label:`Email validation`,type:`boolean`,description:`Check if an email address is valid and can receive emails.`,jsonMeta:null,format:null},profile:{label:`Professional profile`,type:`json`,description:`A standardized format for returning LinkedIn profile data.`,format:null,jsonMeta:{zodSchema:Ft,exampleValue:It}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},developer_profile_url:{label:`Developer profile URL`,type:`string`,format:`profile_url`,description:`A person's primary developer profile URL (e.g. GitHub).`,jsonMeta:null},alternative_developer_profile_urls:{label:`Alternative developer profile URLs`,type:`json`,format:`json_list_string`,description:`Additional developer profile URLs (GitHub, GitLab, etc.) discovered for the person.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://github.com/mxschmitt`]}},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array(qt),exampleValue:Jt}},profile_headline:{label:`Profile headline`,type:`string`,format:`text`,description:`Professional profile headline`,jsonMeta:null},company_profile_url:{label:`Company LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`Company LinkedIn URL.`,jsonMeta:null},resend_email_success:{label:`Resend mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Resend`},resend_contact_id:{label:`Resend contact id`,type:`string`,format:`text`,description:`Id of a single resend contact`,jsonMeta:null},sheet:{label:`Sheet name`,type:`string`,format:`text`,description:`Name of a pipe0 sheet`,jsonMeta:null},string_input:{label:`String input`,type:`string`,format:`text`,description:`Input field of type string`,jsonMeta:null},domain:{label:`Domain`,type:`string`,format:`text`,description:`A domain field.`,jsonMeta:null},url_input:{label:`URL input`,type:`string`,format:`url`,description:`Input field of type string and URL format`,jsonMeta:null},slugified:{label:`Slugified value`,type:`string`,format:`text`,description:`A value that has been stripped of characters not found in slugs.`,jsonMeta:null},http_response_status:{label:`HTTP response status`,type:`number`,format:`int`,description:`HTTP status code returned by the upstream endpoint.`,jsonMeta:null},http_response_body:{label:`HTTP response body`,type:`json`,format:`json_object`,description:`Parsed JSON body returned by the upstream endpoint.`,jsonMeta:null},http_response_headers:{label:`HTTP response headers`,type:`json`,format:`json_object`,description:`Response headers returned by the upstream endpoint as a flat key-value map.`,jsonMeta:null},sheet_record_id:{label:`Record ID`,type:`string`,format:`text`,description:`ID of sheet record`,jsonMeta:null},sheet_record_ids:{label:`Record IDs`,type:`json`,format:`json_list_string`,description:`IDs sheet records`,jsonMeta:null},gmail_email_success:{label:`Gmail e-mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Gmail`},slack_message_success:{label:`Slack message success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of sending a message using Slack`},email_body:{label:`A markdown email`,type:`string`,format:`markdown`,jsonMeta:null,description:`The test of an email formatted as markdown`},message:{label:`Message`,type:`string`,format:`markdown`,jsonMeta:null,description:`A markdown message that be send to any chat app.`},email_subject:{label:`Subject Line`,type:`string`,format:`text`,jsonMeta:null,description:`Subject line for email`},template_output:{label:`Template Output`,type:`string`,format:`text`,jsonMeta:null,description:`Template value where the tags are replaces with real values`},email_validation_status:{label:`Validation status`,type:`string`,format:`text`,jsonMeta:null,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`,jsonMeta:{zodSchema:At,exampleValue:jt}},zerobounce_validation_status:{label:`ZeroBounce Validation Status`,type:`string`,format:`text`,jsonMeta:null,description:`Validation status as returned from ZeroBounce single validation`},zerobounce_validation_match:{label:`ZeroBounce Validation Match`,type:`json`,format:`json_object`,description:`Full validation object as returned by ZeroBounce`,jsonMeta:{zodSchema:Gt,exampleValue:Kt}},input_objects:{label:`Input objects`,type:`json`,format:`json_list`,description:`List of unstructured input objects`,jsonMeta:null},created_sheet:{label:`Created sheet`,type:`string`,format:null,description:`Reference to a created sheet`,jsonMeta:null},merge_result:{label:`Merge Result`,type:`unknown`,format:null,description:`Full validation object as returned by ZeroBounce`,jsonMeta:null},firecrawl_extract_result:{label:`Extract Result`,type:`json`,format:null,description:`Result of a firecrawl extract operation`,jsonMeta:null},exa_match_evaluation:{label:`Exa Match Evaluation`,type:`json`,format:`json_object`,description:`Exa search result.`,jsonMeta:{zodSchema:ft,exampleValue:pt}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:et,exampleValue:tt}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:ct,exampleValue:lt}},crustdata_profile_match_score:{label:`Match score`,type:`number`,format:`decimal`,description:`A number between 1 and 0 indicating the confidence that the profile belongs to the input email address.`,jsonMeta:null},crustdata_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:nt,exampleValue:rt}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:it,exampleValue:at}},crustdata_company_identity_matches:{label:`Company identity matches`,type:`json`,format:`json_list`,description:`List of Crustdata company candidates matched by name or domain.`,jsonMeta:{zodSchema:ot,exampleValue:st}},post_list_string:{label:`Post list`,type:`json`,format:`json_list_string`,description:`LinkedIn post list`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`Y Combinator's most popular startups.
|
|
61
|
+
Read our full breakdown from the link in the comments ๐`,actor_name:`Crustdata`,hyperlinks:{company_linkedin_urls:[],person_linkedin_urls:[`https://www.linkedin.com/in/ACoAAAKoldoBqSsiXY_DHsXdSk1slibabeTvDDY`],other_urls:[]},date_posted:`2024-09-03`,total_reactions:37,total_comments:7,reactions_by_type:{LIKE:28,EMPATHY:4,PRAISE:4,INTEREST:1},num_shares:5,is_repost_without_thoughts:!1,reactors:[]}],vt=r.object({criterion:r.string(),reasoning:r.string(),satisfied:r.enum([`yes`,`no`,`partial`]),references:r.array(r.object({title:r.string(),snippet:r.string(),url:r.url()}))}),yt={criterion:`Company is recognized as a leading AI research lab (e.g., through significant publications, awards, or industry recognition) and has a primary research focus on large language models`,reasoning:`MIT is recognized as a leading AI research lab, particularly through the MIT-IBM Watson AI Lab. They have significant publications and research focused on large language models, as evidenced by news articles and publications from the Media Lab. This satisfies the criterion.`,satisfied:`yes`,references:[{title:`How to build AI scaling laws for efficient LLM training and budget ...`,snippet:`MIT-IBM Watson AI Lab researchers have developed a universal guide for estimating how large language models will perform based on smaller models ...`,url:`https://news.mit.edu/2025/how-build-ai-scaling-laws-efficient-llm-training-budget-maximization-0916`},{title:`Can large language models figure out the real world? | MIT News`,snippet:`Researchers at MIT and Harvard University have devised a new approach to assessing how deeply predictive AI systems understand their subject ...`,url:`https://news.mit.edu/2025/can-large-language-models-figure-out-real-world-0825`},{title:`Like human brains, large language models reason about diverse ...`,snippet:`MIT researchers find large language models process diverse types of data, like different languages, audio inputs, images, etc., similarly to ...`,url:`https://news.mit.edu/2025/large-language-models-reason-about-diverse-data-general-way-0219`},{title:`MIT 6.S191 (Liquid AI): Large Language Models - YouTube`,snippet:`... lab materials: http://introtodeeplearning.comโโ Subscribe to stay up to date with new deep learning lectures at MIT, or follow us ...`,url:`https://www.youtube.com/watch?v=_HfdncCbMOE&pp=0gcJCfwAo7VqN5tD`},{title:`Latent Lab: Large Language Models for Knowledge Exploration`,snippet:`This paper investigates the potential of AI models, particularly large language models (LLMs), to support knowledge exploration and augment human creativity ...`,url:`https://www.media.mit.edu/publications/latent-lab-large-language-models-for-knowledge-exploration`},{title:`MIT | LinkedIn`,snippet:`MIT is a Higher Education company (Nonprofit) with 90 (10001+ category) employees, founded in 1861. The MIT community is driven by a shared purpose: to make a better world through education, research, and innovation. We are fun and quirky, elite but ...`,url:`https://www.linkedin.com/company/school-mit`},{title:`Massachusetts Institute of Technology (MIT)`,snippet:`MIT is a Higher Education company (Nonprofit) with 90 (10001+ category) employees, founded in 1861. The MIT community is driven by a shared purpose: to make a better world through education, research, and innovation. We are fun and quirky, elite but ...`,url:`https://mit.edu`}]},bt=r.array(r.object({round:r.string().nullable(),date:r.string().nullable(),amount:r.string().nullable(),investors:r.array(r.object({name:r.string()})).nullable()})),xt=[{round:`Series A`,date:`2021-05-01`,amount:`$250,000,000`,investors:[{name:`Franklin Templeton`},{name:`Coatue`},{name:`Sequoia`},{name:`Thrive Capital`},{name:`Tiger Global`}]},{round:`Series B`,date:`2023-05-01`,amount:`$250,000,000`,investors:[{name:`Franklin Templeton`},{name:`Coatue`},{name:`Sequoia`},{name:`Thrive Capital`},{name:`Tiger Global`}]}],St=r.object({name:r.string().describe(`Company name`),lid:r.string().nullable().optional().describe(`LinkedIn ID`),urn:r.string().nullable().optional().describe(`Uniform Resource Name identifier`),type:r.string().nullable().optional().describe(`Type of company`),industry:r.string().nullable().optional().describe(`Industry sector`),location:r.string().nullable().optional().describe(`Company location`),numberOfEmployees:r.number().describe(`Number of employees`),website:r.string().nullable().optional().describe(`Company website URL`),url:r.string().nullable().optional().describe(`General company URL`),description:r.string().nullable().optional().describe(`Company description`),specialties:r.array(r.string()).describe(`List of company specialties`),employeeGrowth:r.array(r.unknown()).describe(`Employee growth data`)}),Ct={name:`Acme Innovations Inc.`,lid:`12345`,urn:`urn:li:company:12345`,type:`Private`,industry:`Information Technology`,location:`Berlin, Germany`,numberOfEmployees:250,website:`https://www.acme-innovations.com`,url:`https://linkedin.com/company/acme-innovations`,description:`Acme Innovations is a leader in enterprise software solutions, specializing in cloud-based tools for modern businesses.`,specialties:[`Cloud Computing`,`Machine Learning`,`Cybersecurity`],employeeGrowth:[]},wt=r.object({firstname:r.string().nullable().optional().describe(`The person's first name.`),lastname:r.string().nullable().optional().describe(`The person's last name.`),headline:r.string().nullable().optional().describe(`A short professional headline.`),description:r.string().nullable().optional().describe(`A summary or description of the person.`),profileUrl:r.string().nullable().optional().describe(`URL to the person's profile.`),lastJobTitle:r.string().nullable().optional().describe(`Title of the most recent job.`),lastJobDescription:r.string().nullable().optional().describe(`Description of the most recent job.`),lastJobStartDate:r.string().nullable().optional().describe(`Start date of the most recent job.`),address:r.string().nullable().optional().describe(`The person's address.`),lastCompanyName:r.string().nullable().optional().describe(`Name of the most recent company.`),lastCompanyUrn:r.string().nullable().optional().describe(`URN (unique resource name) of the most recent company.`),lastCompanyUrl:r.string().nullable().optional().describe(`URL of the most recent company.`),lastCompanyWebsite:r.string().nullable().optional().describe(`Website of the most recent company.`),lastCompanyDescription:r.string().nullable().optional().describe(`Description of the most recent company.`),lastCompanySize:r.number().nullable().optional().describe(`Size of the most recent company.`),lastCompanyIndustry:r.string().nullable().optional().describe(`Industry of the most recent company.`),lastCompanyAddress:r.string().nullable().optional().describe(`Address of the most recent company.`)}),Tt={firstname:`Jane`,lastname:`Doe`,headline:`Software Engineer at Sample`,description:`Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?`,profileUrl:`https://www.linkedin.com/in/mayuri2307`,lastJobTitle:`Software Engineer`,lastJobDescription:``,lastJobStartDate:`06-2024`,address:``,lastCompanyName:`Google`,lastCompanyUrn:`urn:li:fs_xxxxCompany:1111`,lastCompanyUrl:`https://www.linkedin.com/company/sample/`,lastCompanyWebsite:`https://sample.com`,lastCompanyDescription:`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`,lastCompanySize:183446,lastCompanyIndustry:`Software Development`,lastCompanyAddress:`Mountain View, California, United States`},Et=r.array(r.object({company_name:r.string().nullable(),revenue:r.string().nullable(),headquarters_region:r.string().nullable(),company_website_url:r.url().nullable(),company_type:r.string().nullable()})),Dt=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],Ot=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),kt=[{company_name:`Vayo`,date:`2020-09-01`,company_description:`Vayo is a SaaS-based firm that analyzes, integrates and converts customer data into actionable insights for business`,source_url:`https://techcrunch.com/2020/09/01/fresh-off-200m-series-d-gong-acquires-early-stage-startup-vayo`}],At=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),jt=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],Mt=r.object({r:r.number().int().min(0).max(255),g:r.number().int().min(0).max(255),b:r.number().int().min(0).max(255),hex:r.string().regex(/^#[0-9a-f]{6}$/i)}),Nt=r.object({facebook:r.url().optional(),github:r.url().optional(),instagram:r.url().optional(),linkedin:r.url().optional(),pinterest:r.url().optional(),reddit:r.url().optional(),snapchat:r.url().optional(),telegram:r.url().optional(),tumblr:r.url().optional(),twitter:r.url().optional(),wechat:r.url().optional(),whatsapp:r.url().optional(),youtube:r.url().optional()}).optional(),Pt=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:Nt,logo:r.url(),blurhash:r.string(),colors:r.array(Mt)}),Ft={name:`sweetgreen`,domain:`sweetgreen.com`,description:`Simple, seasonal, healthy salads and grain bowls made in-house from scratch, using whole produce delivered that morning.`,indexed_at:`2025-03-10T11:36:23.885238001Z`,socials:{facebook:`http://facebook.com/sweetgreen`,instagram:`https://www.instagram.com/sweetgreen/`,twitter:`https://x.com/sweetgreen`,linkedin:`https://linkedin.com/company/acmeinc`,pinterest:`https://pinterest.com/`,reddit:`https://reddit.com`},logo:`https://img.logo.dev/sweetgreen.com?token=YOUR_TOKEN_HERE`,blurhash:`UJPanPxr?Vj[oxazj@od_FWDDoodxrodagWD`,colors:[{r:228,g:255,b:85,hex:`#e4ff55`},{r:10,g:75,b:43,hex:`#0a4b2b`},{r:125,g:173,b:80,hex:`#7dad50`}]},It=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unknown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),Lt={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``};function Rt(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function zt(e,{isNullEmpty:t}={isNullEmpty:!1}){if(e===null)return!!t;if(e==null||typeof e==`string`&&e.trim()===``||Array.isArray(e)&&e.length===0)return!0;if(typeof e==`object`){for(let n in e)if(Object.hasOwn(e,n)&&!zt(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function Bt(e){return e.split(`@`)[0]}const Vt=r.object({object:r.literal(`linkedin_profile`).describe(`String representing the objectโs type.`),name:r.string().nullable().describe(`The full name of the profile owner.`),headline:r.string().nullable().describe(`The current headline/tagline of the profile owner.`),profile_url:r.string().nullable().describe(`The URL of the LinkedIn profile.`),profile_picture_url:r.string().nullable().describe(`Url of profile picture`),languages:r.array(r.object({language:r.string().describe(`The name of the language`),level:r.string().nullable().describe(`Level of proficiency`)}).describe(`Language entry object`)).nullable().describe(`A list of languages spoken by the profile owner, with proficiency levels.`),skills:r.array(r.object({name:r.string().describe(`The name of the skill.`),level:r.enum([`beginner`,`intermediate`,`advanced`]).nullable().describe(`The proficiency level of the skill.`)}).describe(`Skill entry object`)).describe(`A list of skills listed on the profile, with optional proficiency levels.`),current_jobs:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The name of the company.`),company_website:r.string().nullable().describe(`The website URL of the company.`),company_social_url:r.string().nullable().describe(`LinkedIn URL of the company.`),job_description:r.string().nullable().describe(`Description of the role or responsibilities.`),start_date:r.string().nullable().describe(`The start date of the job (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the job (YYYY-MM-DD). Null if 'Present' or ongoing.`),headcount:r.string().nullable().describe(`The size of the company (e.g., '1001-5000', '1-10'). Null if not available.`),company_industry:r.string().nullable().describe(`The industry of the company. Null if not available.`),tenure_in_days:r.number().int().nullable().describe(`The total tenure for this job in days. Null if not calculable.`),tenure_in_years:r.number().nullable().describe(`The total tenure for this job in years, as a decimal. Null if not calculable.`),region:r.string().nullable().describe(`The specific location of this job (e.g., 'Seattle, Washington, United States'). Null if not available.`),country:r.string().nullable().describe(`The country where this job is located (ISO 3166-1 alpha-2 code). Null if not available.`)}).describe(`Job entry object`)).describe(`A list of the user's current primary jobs. Can be an empty array if no current jobs.`),connections_count:r.number().int().nullable().describe(`The number of connections the profile has. Null if not available or visible.`),country:r.string().nullable().describe(`The country of the profile owner's primary location.`),region:r.string().nullable().describe(`The specific region of the profile owner (e.g., 'Seattle, Washington, United States'). Null if not available.`),about:r.string().nullable().describe(`The 'About' section content from the profile. Null if empty.`),job_history:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The name of the company.`),company_website:r.string().nullable().describe(`The website URL of the company.`),company_social_url:r.string().nullable().describe(`LinkedIn URL of the company.`),job_description:r.string().nullable().describe(`Description of the role or responsibilities.`),start_date:r.string().nullable().describe(`The start date of the job (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the job (YYYY-MM-DD). Null if 'Present' or ongoing.`),headcount:r.string().nullable().describe(`The size of the company (e.g., '1001-5000', '1-10'). Null if not available.`),company_industry:r.string().nullable().describe(`The industry of the company. Null if not available.`),tenure_in_days:r.number().int().nullable().describe(`The total tenure for this job in days. Null if not calculable.`),tenure_in_years:r.number().nullable().describe(`The total tenure for this job in years, as a decimal. Null if not calculable.`),region:r.string().nullable().describe(`The specific location of this job (e.g., 'Seattle, Washington, United States'). Null if not available.`),country:r.string().nullable().describe(`The country where this job is located (ISO 3166-1 alpha-2 code). Null if not available.`)}).describe(`Job entry object`)).describe(`A list of past and current work experiences.`),current_educations:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),field_of_study:r.string().nullable().describe(`The specific field of study (e.g., 'Computer Science', 'Business Administration').`),institution_name:r.string().describe(`The name of the educational institution.`),start_date:r.string().nullable().describe(`The start date of the education (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the education (YYYY-MM-DD). Null if 'Present' or ongoing.`),tenure_in_years:r.number().nullable().describe(`Duration at instituation in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at instituation in days. Null if not available.`),grade:r.string().nullable().describe(`The grade, GPA, or other academic achievement (e.g., '3.8/4.0', 'Distinction'). Null if not available.`),description:r.string().nullable().describe(`A description of the education, including relevant coursework or honors. Null if empty.`),activities_and_societies:r.string().nullable().describe(`A summary of activities and societies participated in. Null if empty.`)}).describe(`Education entry object`)).describe(`A list of the user's current primary educational enrollments. Can be an empty array if no current education.`),education_history:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),field_of_study:r.string().nullable().describe(`The specific field of study (e.g., 'Computer Science', 'Business Administration').`),institution_name:r.string().describe(`The name of the educational institution.`),start_date:r.string().nullable().describe(`The start date of the education (YYYY-MM-DD).`),end_date:r.string().nullable().describe(`The end date of the education (YYYY-MM-DD). Null if 'Present' or ongoing.`),tenure_in_years:r.number().nullable().describe(`Duration at instituation in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at instituation in days. Null if not available.`),grade:r.string().nullable().describe(`The grade, GPA, or other academic achievement (e.g., '3.8/4.0', 'Distinction'). Null if not available.`),description:r.string().nullable().describe(`A description of the education, including relevant coursework or honors. Null if empty.`),activities_and_societies:r.string().nullable().describe(`A summary of activities and societies participated in. Null if empty.`)}).describe(`Education entry object`)).describe(`A list of past and current educational experiences.`)}),Ht={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:Rt(),languages:[{language:`English`,level:`Native`},{language:`Spanish`,level:`Conversational`}],name:`Jane Doe`,headline:`Senior Software Engineer at Tech Solutions | Cloud & AI Enthusiast`,skills:[{name:`JavaScript`,level:`advanced`},{name:`React`,level:`advanced`},{name:`Node.js`,level:`advanced`},{name:`AWS`,level:`intermediate`},{name:`Python`,level:`intermediate`},{name:`Machine Learning`,level:`beginner`}],current_jobs:[{job_title:`Senior Software Engineer`,company_name:`Tech Solutions`,company_website:`https://www.techsolutions.com`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,contract_type:`Full-time`,start_date:`2023-01-15`,end_date:null,headcount:`1001-5000`,company_social_url:`https://www.linkedin.com/company/tech-solutions`,company_industry:`Information Technology & Services`,tenure_in_days:870,tenure_in_years:2.38,region:`Berlin, Berlin, Germany`,country:`DE`}],connections_count:850,country:`DE`,region:`Berlin, Berlin, Germany`,about:`Experienced Senior Software Engineer with a passion for building innovative and efficient software solutions. Proven ability to lead projects, mentor junior developers, and deliver high-quality code. Always eager to learn new technologies and contribute to challenging projects.`,job_history:[{job_title:`Senior Software Engineer`,company_name:`Tech Solutions`,company_website:`https://www.techsolutions.com`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,contract_type:`Full-time`,start_date:`2023-01-15`,end_date:null,headcount:`1001-5000`,company_social_url:`https://www.linkedin.com/company/tech-solutions`,company_industry:`Information Technology & Services`,tenure_in_days:870,tenure_in_years:2.38,region:`Berlin, Berlin, Germany`,country:`DE`},{job_title:`Software Developer`,company_name:`Innovate Corp`,company_website:`https://www.innovatecorp.com`,job_description:`Contributed to the development of enterprise-level applications and collaborated with cross-functional teams.`,contract_type:`Full-time`,start_date:`2019-06-01`,end_date:`2022-12-31`,headcount:`501-1000`,company_social_url:`https://www.linkedin.com/company/innovate-corp`,company_industry:`Software Development`,tenure_in_days:1300,tenure_in_years:3.56,region:`Munich, Bavaria, Germany`,country:`DE`}],current_educations:[],education_history:[{degree_name:`Master of Science`,field_of_study:`Computer Science`,institution_name:`Technical University of Berlin`,start_date:`2017-10-01`,end_date:`2019-09-30`,tenure_in_days:730,tenure_in_years:2,grade:`1.3`,description:`Specialized in distributed systems and artificial intelligence.`,activities_and_societies:`AI Research Group, Student Mentorship Program`},{degree_name:`Bachelor of Science`,field_of_study:`Computer Engineering`,institution_name:`University of Applied Sciences Berlin`,start_date:`2014-09-01`,end_date:`2017-08-31`,tenure_in_days:1095,tenure_in_years:3,grade:`1.8`,description:`Focused on software design and embedded systems.`,activities_and_societies:`Robotics Club, Programming Competition Team`}]},Ut=r.object({name:r.string().nullable(),profile_url:r.string().nullable(),company_name:r.string().nullable(),company_website_url:r.string().nullable(),job_title:r.string().nullable()}),Wt={name:`John Doe`,profile_url:`https://linkedin.com/in/john-doe-123`,company_name:`Acme Inc.`,company_website_url:`https://acme.com`,job_title:`CEO`},Gt=r.array(r.object({markdown:r.string().nullable(),html:r.string().nullable(),links:r.array(r.string()).nullable(),metadata:r.object({title:r.string().nullable(),description:r.string().nullable()}).nullable()})),Kt=[{markdown:`[Pipe Docs home page!...`,html:`<!DOCTYPE html><html lang="en" class="js-focus-visible lg:[--scroll-mt:9.5rem]" data-js-focus-visible="">...`,links:[`https://pip0.com`],metadata:{title:`A framework for data enrichment`,description:`Learn how to use Firecrawl, Groq Llama 3, and Langchain to build a 'Chat with your website' bot.`}}],qt=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),Jt=[{url:`https://pipe0.com/resources/documentation`,title:`Pipe0 | Docs`,description:`A modern data enrichment framework`},{url:`https://pipe0.com/resources/documentation/pipes`,title:`Pipe0 Docs | Pipe Docs`,description:`Documentation for pipe0 pipes.`}],Yt=r.union([r.literal(`valid`),r.literal(`invalid`),r.literal(`catch-all`),r.literal(`unknown`),r.literal(`spamtrap`),r.literal(`abuse`),r.literal(`do_not_mail`)]),Xt=r.union([r.literal(`alternate`),r.literal(`antispam_system`),r.literal(`greylisted`),r.literal(`mail_server_temporary_error`),r.literal(`forcible_disconnect`),r.literal(`mail_server_did_not_respond`),r.literal(`timeout_exceeded`),r.literal(`failed_smtp_connection`),r.literal(`mailbox_quota_exceeded`),r.literal(`exception_occurred`),r.literal(`possible_trap`),r.literal(`role_based`),r.literal(`global_suppression`),r.literal(`mailbox_not_found`),r.literal(`no_dns_entries`),r.literal(`failed_syntax_check`),r.literal(`possible_typo`),r.literal(`unroutable_ip_address`),r.literal(`leading_period_removed`),r.literal(`does_not_accept_mail`),r.literal(`alias_address`),r.literal(`role_based_catch_all`),r.literal(`disposable`),r.literal(`toxic`),r.literal(`accept_all`),r.literal(``)]),Zt=r.object({address:r.email(),status:Yt,sub_status:Xt,account:r.string(),domain:r.string(),did_you_mean:r.string().nullable(),domain_age_days:r.string().nullable().optional(),active_in_days:r.union([r.literal(`30`),r.literal(`60`),r.literal(`90`),r.literal(`180`),r.literal(`365`),r.literal(`365+`),r.literal(``)]).nullable().optional(),free_email:r.boolean(),mx_found:r.enum([`true`,`false`]).nullable(),mx_record:r.string(),smtp_provider:r.string().nullable(),firstname:r.string().nullable(),lastname:r.string().nullable(),gender:r.string().nullable(),city:r.string().nullable(),region:r.string().nullable(),zipcode:r.string().nullable(),country:r.string().nullable(),processed_at:r.string()}),Qt={address:`flowerjill@aol.com`,status:`valid`,sub_status:``,free_email:!0,did_you_mean:null,account:`flowerjill`,domain:`aol.com`,domain_age_days:`8426`,active_in_days:`365`,smtp_provider:`yahoo`,mx_record:`mx-aol.mail.gm0.yahoodns.net`,mx_found:`true`,firstname:`Jill`,lastname:`Stein`,gender:`female`,country:`United States`,region:`Florida`,city:`West Palm Beach`,zipcode:`33401`,processed_at:`2017-04-01 02:48:02.592`},$t=r.object({text:r.string(),url:r.url(),created_at:r.iso.datetime().nullable(),urn:r.string().nullable(),like_count:r.number().nullable(),comment_count:r.number().nullable()}),en={text:`Example post text`,url:`https://www.linkedin.com/feed/update/urn:li:activity:7276799456982007552/`,like_count:12,comment_count:3,created_at:new Date().toISOString(),urn:`7276733769981007542`},tn={"united states":`๐บ๐ธ`,usa:`๐บ๐ธ`,us:`๐บ๐ธ`,america:`๐บ๐ธ`,"united kingdom":`๐ฌ๐ง`,uk:`๐ฌ๐ง`,britain:`๐ฌ๐ง`,england:`๐ฌ๐ง`,scotland:`๐ด๓ ง๓ ข๓ ณ๓ ฃ๓ ด๓ ฟ`,wales:`๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ`,canada:`๐จ๐ฆ`,australia:`๐ฆ๐บ`,germany:`๐ฉ๐ช`,france:`๐ซ๐ท`,italy:`๐ฎ๐น`,spain:`๐ช๐ธ`,japan:`๐ฏ๐ต`,china:`๐จ๐ณ`,india:`๐ฎ๐ณ`,brazil:`๐ง๐ท`,russia:`๐ท๐บ`,mexico:`๐ฒ๐ฝ`,netherlands:`๐ณ๐ฑ`,holland:`๐ณ๐ฑ`,belgium:`๐ง๐ช`,switzerland:`๐จ๐ญ`,austria:`๐ฆ๐น`,sweden:`๐ธ๐ช`,norway:`๐ณ๐ด`,denmark:`๐ฉ๐ฐ`,finland:`๐ซ๐ฎ`,poland:`๐ต๐ฑ`,portugal:`๐ต๐น`,greece:`๐ฌ๐ท`,turkey:`๐น๐ท`,"south korea":`๐ฐ๐ท`,"south africa":`๐ฟ๐ฆ`,argentina:`๐ฆ๐ท`,chile:`๐จ๐ฑ`,colombia:`๐จ๐ด`,peru:`๐ต๐ช`,venezuela:`๐ป๐ช`,egypt:`๐ช๐ฌ`,israel:`๐ฎ๐ฑ`,"saudi arabia":`๐ธ๐ฆ`,iran:`๐ฎ๐ท`,iraq:`๐ฎ๐ถ`,pakistan:`๐ต๐ฐ`,bangladesh:`๐ง๐ฉ`,thailand:`๐น๐ญ`,vietnam:`๐ป๐ณ`,philippines:`๐ต๐ญ`,indonesia:`๐ฎ๐ฉ`,malaysia:`๐ฒ๐พ`,singapore:`๐ธ๐ฌ`,"new zealand":`๐ณ๐ฟ`,ireland:`๐ฎ๐ช`,ukraine:`๐บ๐ฆ`,"czech republic":`๐จ๐ฟ`,hungary:`๐ญ๐บ`,romania:`๐ท๐ด`,bulgaria:`๐ง๐ฌ`,croatia:`๐ญ๐ท`,serbia:`๐ท๐ธ`,slovenia:`๐ธ๐ฎ`,slovakia:`๐ธ๐ฐ`,estonia:`๐ช๐ช`,latvia:`๐ฑ๐ป`,lithuania:`๐ฑ๐น`,iceland:`๐ฎ๐ธ`,luxembourg:`๐ฑ๐บ`,malta:`๐ฒ๐น`,cyprus:`๐จ๐พ`,albania:`๐ฆ๐ฑ`,"bosnia and herzegovina":`๐ง๐ฆ`,montenegro:`๐ฒ๐ช`,"north macedonia":`๐ฒ๐ฐ`,macedonia:`๐ฒ๐ฐ`,moldova:`๐ฒ๐ฉ`,belarus:`๐ง๐พ`,georgia:`๐ฌ๐ช`,armenia:`๐ฆ๐ฒ`,azerbaijan:`๐ฆ๐ฟ`,kazakhstan:`๐ฐ๐ฟ`,uzbekistan:`๐บ๐ฟ`,kyrgyzstan:`๐ฐ๐ฌ`,tajikistan:`๐น๐ฏ`,turkmenistan:`๐น๐ฒ`,afghanistan:`๐ฆ๐ซ`,mongolia:`๐ฒ๐ณ`,"north korea":`๐ฐ๐ต`,myanmar:`๐ฒ๐ฒ`,burma:`๐ฒ๐ฒ`,laos:`๐ฑ๐ฆ`,cambodia:`๐ฐ๐ญ`,brunei:`๐ง๐ณ`,"sri lanka":`๐ฑ๐ฐ`,maldives:`๐ฒ๐ป`,nepal:`๐ณ๐ต`,bhutan:`๐ง๐น`,oman:`๐ด๐ฒ`,uae:`๐ฆ๐ช`,"united arab emirates":`๐ฆ๐ช`,qatar:`๐ถ๐ฆ`,bahrain:`๐ง๐ญ`,kuwait:`๐ฐ๐ผ`,jordan:`๐ฏ๐ด`,lebanon:`๐ฑ๐ง`,syria:`๐ธ๐พ`,yemen:`๐พ๐ช`,libya:`๐ฑ๐พ`,tunisia:`๐น๐ณ`,algeria:`๐ฉ๐ฟ`,morocco:`๐ฒ๐ฆ`,sudan:`๐ธ๐ฉ`,ethiopia:`๐ช๐น`,kenya:`๐ฐ๐ช`,uganda:`๐บ๐ฌ`,tanzania:`๐น๐ฟ`,rwanda:`๐ท๐ผ`,burundi:`๐ง๐ฎ`,somalia:`๐ธ๐ด`,djibouti:`๐ฉ๐ฏ`,eritrea:`๐ช๐ท`,ghana:`๐ฌ๐ญ`,nigeria:`๐ณ๐ฌ`,senegal:`๐ธ๐ณ`,mali:`๐ฒ๐ฑ`,"burkina faso":`๐ง๐ซ`,niger:`๐ณ๐ช`,chad:`๐น๐ฉ`,cameroon:`๐จ๐ฒ`,"central african republic":`๐จ๐ซ`,"democratic republic of congo":`๐จ๐ฉ`,congo:`๐จ๐ฌ`,gabon:`๐ฌ๐ฆ`,"equatorial guinea":`๐ฌ๐ถ`,"sao tome and principe":`๐ธ๐น`,"cape verde":`๐จ๐ป`,guinea:`๐ฌ๐ณ`,"guinea-bissau":`๐ฌ๐ผ`,"sierra leone":`๐ธ๐ฑ`,liberia:`๐ฑ๐ท`,"ivory coast":`๐จ๐ฎ`,"cote d'ivoire":`๐จ๐ฎ`,togo:`๐น๐ฌ`,benin:`๐ง๐ฏ`,mauritania:`๐ฒ๐ท`,gambia:`๐ฌ๐ฒ`,botswana:`๐ง๐ผ`,namibia:`๐ณ๐ฆ`,zimbabwe:`๐ฟ๐ผ`,zambia:`๐ฟ๐ฒ`,malawi:`๐ฒ๐ผ`,mozambique:`๐ฒ๐ฟ`,madagascar:`๐ฒ๐ฌ`,mauritius:`๐ฒ๐บ`,seychelles:`๐ธ๐จ`,comoros:`๐ฐ๐ฒ`,lesotho:`๐ฑ๐ธ`,swaziland:`๐ธ๐ฟ`,eswatini:`๐ธ๐ฟ`,angola:`๐ฆ๐ด`,bermuda:`๐ง๐ฒ`,"cayman islands":`๐ฐ๐พ`,"british virgin islands":`๐ป๐ฌ`,"turks and caicos":`๐น๐จ`,anguilla:`๐ฆ๐ฎ`,montserrat:`๐ฒ๐ธ`,"falkland islands":`๐ซ๐ฐ`,gibraltar:`๐ฌ๐ฎ`,jersey:`๐ฏ๐ช`,guernsey:`๐ฌ๐ฌ`,"isle of man":`๐ฎ๐ฒ`,"faroe islands":`๐ซ๐ด`,greenland:`๐ฌ๐ฑ`,"french polynesia":`๐ต๐ซ`,"new caledonia":`๐ณ๐จ`,"wallis and futuna":`๐ผ๐ซ`,"french guiana":`๐ฌ๐ซ`,martinique:`๐ฒ๐ถ`,guadeloupe:`๐ฌ๐ต`,reunion:`๐ท๐ช`,mayotte:`๐พ๐น`,"saint pierre and miquelon":`๐ต๐ฒ`,"puerto rico":`๐ต๐ท`,"us virgin islands":`๐ป๐ฎ`,"american samoa":`๐ฆ๐ธ`,guam:`๐ฌ๐บ`,"northern mariana islands":`๐ฒ๐ต`,"united states minor outlying islands":`๐บ๐ฒ`,"cook islands":`๐จ๐ฐ`,niue:`๐ณ๐บ`,tokelau:`๐น๐ฐ`,"christmas island":`๐จ๐ฝ`,"cocos islands":`๐จ๐จ`,"norfolk island":`๐ณ๐ซ`,"hong kong":`๐ญ๐ฐ`,macau:`๐ฒ๐ด`,macao:`๐ฒ๐ด`,taiwan:`๐น๐ผ`,"san marino":`๐ธ๐ฒ`,vatican:`๐ป๐ฆ`,"vatican city":`๐ป๐ฆ`,liechtenstein:`๐ฑ๐ฎ`,monaco:`๐ฒ๐จ`,andorra:`๐ฆ๐ฉ`,jamaica:`๐ฏ๐ฒ`,cuba:`๐จ๐บ`,haiti:`๐ญ๐น`,"dominican republic":`๐ฉ๐ด`,bahamas:`๐ง๐ธ`,barbados:`๐ง๐ง`,"trinidad and tobago":`๐น๐น`,"saint lucia":`๐ฑ๐จ`,"saint vincent and the grenadines":`๐ป๐จ`,grenada:`๐ฌ๐ฉ`,dominica:`๐ฉ๐ฒ`,"antigua and barbuda":`๐ฆ๐ฌ`,"saint kitts and nevis":`๐ฐ๐ณ`,fiji:`๐ซ๐ฏ`,"papua new guinea":`๐ต๐ฌ`,"solomon islands":`๐ธ๐ง`,vanuatu:`๐ป๐บ`,samoa:`๐ผ๐ธ`,tonga:`๐น๐ด`,kiribati:`๐ฐ๐ฎ`,tuvalu:`๐น๐ป`,nauru:`๐ณ๐ท`,palau:`๐ต๐ผ`,"marshall islands":`๐ฒ๐ญ`,micronesia:`๐ซ๐ฒ`,uruguay:`๐บ๐พ`,paraguay:`๐ต๐พ`,bolivia:`๐ง๐ด`,ecuador:`๐ช๐จ`,guyana:`๐ฌ๐พ`,suriname:`๐ธ๐ท`,guatemala:`๐ฌ๐น`,belize:`๐ง๐ฟ`,honduras:`๐ญ๐ณ`,"el salvador":`๐ธ๐ป`,nicaragua:`๐ณ๐ฎ`,"costa rica":`๐จ๐ท`,panama:`๐ต๐ฆ`};function nn(e,t){let n=[];for(let e=0;e<=t.length;e++)n[e]=[e];for(let t=0;t<=e.length;t++)n[0][t]=t;for(let r=1;r<=t.length;r++)for(let i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?n[r][i]=n[r-1][i-1]:n[r][i]=Math.min(n[r-1][i-1]+1,n[r][i-1]+1,n[r-1][i]+1);return n[t.length][e.length]}function rn(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function an(e){let t=rn(e);if(tn[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(tn)){let a=nn(t,e),o=e.includes(t)||t.includes(e);(a<=i&&a<r||o&&a<r*1.5)&&(n=e,r=a)}return n}function on(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function sn(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=on(e);return t?cn(t):null}catch{return null}}function cn(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=an(e);return t&&tn[t]||null}catch{return null}}function ln(e){try{let t=new URL(e);if(!t.hostname.includes(`linkedin.com`))return console.warn(`Provided URL is not a LinkedIn URL: ${e}`),``;let n=t.pathname;n.endsWith(`/`)&&(n=n.slice(0,-1));let r=n.split(`/`).filter(e=>e.length>0);return r.length>0&&r[r.length-1]||``}catch{return``}}const un={company_description:{label:`Company description`,type:`string`,description:`A summary of the main business purpose and objectives.`,jsonMeta:null,format:`markdown`},cleaned_company_name:{label:`Cleaned company name`,type:`string`,description:`The standardized and cleaned version of the company name, ensuring consistency across different entries.`,jsonMeta:null,format:`text`},website_markdown:{label:`Scrape result - Markdown`,type:`string`,description:`Markdown-formatted scrape of a website.`,jsonMeta:null,format:`markdown`},mapped_links:{label:`Website internal links`,type:`json`,format:`json_list`,description:`A list of website links.`,jsonMeta:{zodSchema:qt,exampleValue:Jt}},website_html:{label:`Scrape result - HTML`,type:`string`,description:`HTML-formatted scrape of a website.`,jsonMeta:null,format:null},website_url:{label:`Website URL`,type:`string`,description:`Generic URL of a website.`,jsonMeta:null,format:`url`},scrape_list_response:{label:`URLs`,type:`json`,description:`List of URLs`,jsonMeta:{zodSchema:Gt,exampleValue:Kt},format:null},urls:{label:`URLs`,type:`json`,description:`List of URLs`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://pipe0.com`,`https://pipe0.com/resources/documentation`]},format:`json_list_string`},website_links:{label:`URLs`,type:`json`,description:`List of URLs scraped from a website`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://pipe0.com`,`https://pipe0.com/resources/documentation`]},format:`json_list_string`},clado_person_profile:{label:`Clado person profile`,type:`json`,description:`Fully enriched people profile`,jsonMeta:{zodSchema:ze,exampleValue:Be},format:`json_object`},company_industry:{label:`Company industry`,type:`string`,description:`The industry in which the company operates.`,jsonMeta:null,format:`text`},company_region:{label:`Company region`,type:`string`,description:`The region corresponding to the company's country.`,jsonMeta:null,format:`text`},location_hint:{label:`Location hint`,type:`string`,description:`An optional hint to help pinpoint a person's or company's location.`,jsonMeta:null,format:`text`},leadmagic_competitor_list:{label:`Competitor list`,type:`json`,description:`A list of the top competitors for a given company as provided by LeadMagic`,jsonMeta:{zodSchema:Et,exampleValue:Dt},format:`json_list`},leadmagic_acquisition_history:{label:`Acquisition history`,type:`json`,description:`A list of acquisitions by a given company`,format:`json_list`,jsonMeta:{exampleValue:kt,zodSchema:Ot}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:jt,zodSchema:At}},estimated_revenue:{label:`Estimated Annual Revenue`,type:`string`,description:`The estimated annual revenue of the company.`,jsonMeta:null,format:`text`},funding_history:{label:`Funding history`,type:`json`,description:`List of corporate funding rounds.`,format:null,jsonMeta:{zodSchema:bt,exampleValue:xt}},funding_total_usd:{label:`Total funding (USD)`,type:`number`,description:`Amount of total known funding`,jsonMeta:null,format:`currency`},founded_year:{label:`Founding year`,type:`string`,description:`The year the company was founded.`,jsonMeta:null,format:`text`},technology_list:{type:`json`,label:`Technology list`,description:`A flat list of technologies used by a company`,jsonMeta:{zodSchema:Fe,exampleValue:Ie},format:`json_list`},spending_trend:{type:`number`,label:`Spending Trend`,description:`Technology spending trend over the last 2 years. Average deviation between measuring points in %.`,jsonMeta:null,format:`percent`},technology_match_builtwith:{type:`json`,label:`Builtwith technology response`,description:`A datastructure containing the technologies used by this company`,format:`json_object`,jsonMeta:{zodSchema:Le,exampleValue:Re}},number_of_social_followers:{label:`Follower count`,type:`number`,description:`Social followers (or zero if not found).`,jsonMeta:null,format:`int`},mobile:{label:`Mobile`,type:`string`,description:`Mobile telephone number of a person.`,jsonMeta:null,format:`phone`},phone:{label:`Phone`,type:`string`,description:`A generic field for phone numbers. Can be mobile or landline.`,jsonMeta:null,format:`phone`},landline:{label:`Landline`,type:`string`,description:`A landline phone number`,jsonMeta:null,format:`phone`},job_title:{label:`Job title`,type:`string`,description:`Current job title of a person`,jsonMeta:null,format:`text`},job_description:{label:`Job description`,type:`string`,description:`Description of current job`,jsonMeta:null,format:`text`},email:{label:`Email address`,type:`string`,description:`A union field that can contain both professional and personal email addresses.`,jsonMeta:null,format:`email`},personal_email:{label:`Personal email`,type:`string`,description:`The personal email address of a prospect.`,jsonMeta:null,format:`email`},alternate_personal_emails:{label:`Alternate personal email`,type:`json`,description:`The personal email addresses that are associated with a prospect but less likely to be the primary email address of a prospect.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`john@pipe0.com`,`jane@pipe0.com`]},format:`json_list_string`},company_news_summary:{label:`Latest news`,type:`string`,description:`Latest company news.`,jsonMeta:null,format:`markdown`},work_email:{label:`Work email`,type:`string`,jsonMeta:null,description:`Email address of a person connection to their place of employment.`,format:`email`},headcount:{label:`Headcount`,type:`string`,jsonMeta:null,description:`Total number of people employed in a particular organization`,format:`text`},company_website_url:{label:`Company website URL`,type:`string`,description:`Website URL of a related company.`,jsonMeta:null,format:`website_url`},company_domain:{label:`Company domain`,type:`string`,description:`Bare domain of a related company. Example: stripe.com (no scheme, no path).`,jsonMeta:null,format:`text`},company_name:{label:`Company name`,type:`string`,description:`Name of a company.`,jsonMeta:null,format:`text`},clado_person_match:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:ze,exampleValue:Be}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Qe,exampleValue:$e}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:wt,exampleValue:Tt}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:St,exampleValue:Ct}},first_name:{label:`First name`,type:`string`,description:`First name of a person.`,jsonMeta:null,format:`text`},addressee_name:{label:`Addressee name`,type:`string`,description:`Recipient name in the format required by postal services.`,jsonMeta:null,format:`text`},avatar_url:{label:`Avatar URL`,type:`string`,description:`URL for profile picture`,jsonMeta:null,format:`url`},address_line_1:{label:`Address line 1`,type:`string`,description:`First line of an address (e.g. street address)`,jsonMeta:null,format:`address_line_1`},address_line_2:{label:`Address line 2`,type:`string`,description:`The formatted address of a companyโs headquarters.`,jsonMeta:null,format:`text`},address_city:{label:`Address city`,type:`string`,description:`Name of a city as needed for an address.`,jsonMeta:null,format:`text`},address_country:{label:`Address country`,type:`string`,description:`Name of a country as needed for an address.`,jsonMeta:null,format:`text`},address_state:{label:`State`,type:`string`,description:`Name of a state.`,jsonMeta:null,format:`text`},zip_code:{label:`Zip code`,type:`string`,description:`A postal zip code. Usually a combination of numbers and letters.`,jsonMeta:null,format:`zip_code`},last_name:{label:`Last name`,type:`string`,description:`Last name of a person.`,jsonMeta:null,format:`text`},estimated_salary:{label:`Estimated salary`,type:`string`,description:`Estimated total salary in USD.`,jsonMeta:null,format:`text`},skills:{label:`Skills`,type:`string`,description:`List of professional skills`,jsonMeta:null,format:`text`},is_work_email:{label:`Is work email result`,type:`boolean`,description:`Check if a given email is a work email.`,jsonMeta:null,format:null},name:{label:`Full name`,type:`string`,description:`The full name of a person. Usually a combination of first and last name.`,jsonMeta:null,format:`text`},ip_address:{label:`IP address`,type:`string`,description:`IP Address of a person`,jsonMeta:null,format:`text`},is_email_valid:{label:`Email validation`,type:`boolean`,description:`Check if an email address is valid and can receive emails.`,jsonMeta:null,format:null},profile:{label:`Professional profile`,type:`json`,description:`A standardized format for returning LinkedIn profile data.`,format:null,jsonMeta:{zodSchema:Vt,exampleValue:Ht}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},developer_profile_url:{label:`Developer profile URL`,type:`string`,format:`profile_url`,description:`A person's primary developer profile URL (e.g. GitHub).`,jsonMeta:null},alternative_developer_profile_urls:{label:`Alternative developer profile URLs`,type:`json`,format:`json_list_string`,description:`Additional developer profile URLs (GitHub, GitLab, etc.) discovered for the person.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://github.com/mxschmitt`]}},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array($t),exampleValue:en}},profile_headline:{label:`Profile headline`,type:`string`,format:`text`,description:`Professional profile headline`,jsonMeta:null},company_profile_url:{label:`Company LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`Company LinkedIn URL.`,jsonMeta:null},resend_email_success:{label:`Resend mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Resend`},resend_contact_id:{label:`Resend contact id`,type:`string`,format:`text`,description:`Id of a single resend contact`,jsonMeta:null},sheet:{label:`Sheet name`,type:`string`,format:`text`,description:`Name of a pipe0 sheet`,jsonMeta:null},string_input:{label:`String input`,type:`string`,format:`text`,description:`Input field of type string`,jsonMeta:null},domain:{label:`Domain`,type:`string`,format:`text`,description:`A domain field.`,jsonMeta:null},url_input:{label:`URL input`,type:`string`,format:`url`,description:`Input field of type string and URL format`,jsonMeta:null},slugified:{label:`Slugified value`,type:`string`,format:`text`,description:`A value that has been stripped of characters not found in slugs.`,jsonMeta:null},http_response_status:{label:`HTTP response status`,type:`number`,format:`int`,description:`HTTP status code returned by the upstream endpoint.`,jsonMeta:null},http_response_body:{label:`HTTP response body`,type:`json`,format:`json_object`,description:`Parsed JSON body returned by the upstream endpoint.`,jsonMeta:null},http_response_headers:{label:`HTTP response headers`,type:`json`,format:`json_object`,description:`Response headers returned by the upstream endpoint as a flat key-value map.`,jsonMeta:null},sheet_record_id:{label:`Record ID`,type:`string`,format:`text`,description:`ID of sheet record`,jsonMeta:null},sheet_record_ids:{label:`Record IDs`,type:`json`,format:`json_list_string`,description:`IDs sheet records`,jsonMeta:null},gmail_email_success:{label:`Gmail e-mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Gmail`},slack_message_success:{label:`Slack message success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of sending a message using Slack`},email_body:{label:`A markdown email`,type:`string`,format:`markdown`,jsonMeta:null,description:`The test of an email formatted as markdown`},message:{label:`Message`,type:`string`,format:`markdown`,jsonMeta:null,description:`A markdown message that be send to any chat app.`},email_subject:{label:`Subject Line`,type:`string`,format:`text`,jsonMeta:null,description:`Subject line for email`},template_output:{label:`Template Output`,type:`string`,format:`text`,jsonMeta:null,description:`Template value where the tags are replaces with real values`},email_validation_status:{label:`Validation status`,type:`string`,format:`text`,jsonMeta:null,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`,jsonMeta:{zodSchema:It,exampleValue:Lt}},zerobounce_validation_status:{label:`ZeroBounce Validation Status`,type:`string`,format:`text`,jsonMeta:null,description:`Validation status as returned from ZeroBounce single validation`},zerobounce_validation_match:{label:`ZeroBounce Validation Match`,type:`json`,format:`json_object`,description:`Full validation object as returned by ZeroBounce`,jsonMeta:{zodSchema:Zt,exampleValue:Qt}},input_objects:{label:`Input objects`,type:`json`,format:`json_list`,description:`List of unstructured input objects`,jsonMeta:null},created_sheet:{label:`Created sheet`,type:`string`,format:null,description:`Reference to a created sheet`,jsonMeta:null},merge_result:{label:`Merge Result`,type:`unknown`,format:null,description:`Full validation object as returned by ZeroBounce`,jsonMeta:null},firecrawl_extract_result:{label:`Extract Result`,type:`json`,format:null,description:`Result of a firecrawl extract operation`,jsonMeta:null},parallel_extract_result:{label:`Extract Result`,type:`json`,format:`json_list`,description:`Flat list of Parallel Extract results (url, title, publish_date, excerpts).`,jsonMeta:{zodSchema:ft,exampleValue:pt}},exa_match_evaluation:{label:`Exa Match Evaluation`,type:`json`,format:`json_object`,description:`Exa search result.`,jsonMeta:{zodSchema:vt,exampleValue:yt}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:et,exampleValue:tt}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:ct,exampleValue:lt}},parallel_person_entity_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Parallel person match object parsed from the entity description`,jsonMeta:{zodSchema:mt,exampleValue:ht}},parallel_company_entity_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Parallel company match object parsed from the entity description`,jsonMeta:{zodSchema:ut,exampleValue:dt}},crustdata_profile_match_score:{label:`Match score`,type:`number`,format:`decimal`,description:`A number between 1 and 0 indicating the confidence that the profile belongs to the input email address.`,jsonMeta:null},crustdata_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:nt,exampleValue:rt}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:it,exampleValue:at}},crustdata_company_identity_matches:{label:`Company identity matches`,type:`json`,format:`json_list`,description:`List of Crustdata company candidates matched by name or domain.`,jsonMeta:{zodSchema:ot,exampleValue:st}},post_list_string:{label:`Post list`,type:`json`,format:`json_list_string`,description:`LinkedIn post list`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`Y Combinator's most popular startups.
|
|
62
62
|
From the current S24 batch.
|
|
63
63
|
|
|
64
64
|
How do you...`,`Y Combinator's most popular startups.
|
|
65
65
|
From the current S24 batch.
|
|
66
66
|
|
|
67
|
-
How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,format:`json_list_string`,description:`Rich JSON post list`,jsonMeta:{zodSchema:ut,exampleValue:dt}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:Lt,exampleValue:Rt}},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:Ne,exampleValue:Pe}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:je,exampleValue:Me}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(et),exampleValue:[tt]}},logo_url:{label:`Logo URL`,type:`string`,format:`text`,description:`Company or organization logo`,jsonMeta:null},logodev_describe_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Get company logos & brand data`,jsonMeta:{exampleValue:kt,zodSchema:Ot}},mobile_number:{label:`Mobile`,type:`string`,description:`Mobile telephone number of a person.`,jsonMeta:null,format:`phone`},company_social_url:{label:`Company Social URL`,type:`string`,description:`Social Media URL for a given company (e.g. LinkedIn profile URL).`,jsonMeta:null,format:`profile_url`},professional_profile:{label:`Professional profile (LinkedIn)`,type:`json`,description:`A standardized format for returning LinkedIn profile data.`,jsonMeta:{zodSchema:Ft,exampleValue:It},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},an={company_description:{},cleaned_company_name:{},company_industry:{},icypeas_person_match:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.firstname} ${t.lastname} profile`}}}},icypeas_company_match:{getStaticWidgets(e){return e?{display_value:{label:`${e.name} profile`}}:{}}},company_region:{getStaticWidgets:e=>{let t={},n=en(e);return n&&(t.location_indicator={emoji:n}),t}},location_hint:{},estimated_revenue:{},founded_year:{},technology_list:{},spending_trend:{getStaticWidgets(e){let t=e;return{display_value:{label:`${t>3?`๐ผ๐ผ๐ผ`:t>1?`๐ผ๐ผ`:t>0?`๐ผ`:t<-3?`๐ฝ๐ฝ๐ฝ`:t<-1?`๐ฝ๐ฝ`:t<0?`๐ฝ`:``} ${Math.round(t*100)}%`}}}},technology_match_builtwith:{getStaticWidgets(e){return{display_value:{label:`Technology profile`}}}},number_of_social_followers:{},email:{},personal_email:{},alternate_personal_emails:{},company_news_summary:{},work_email:{},headcount:{},company_website_url:{},company_domain:{},company_name:{},first_name:{},addressee_name:{},address_line_1:{},address_line_2:{},job_title:{getStaticWidgets(){return{icon:{key:`job`}}}},job_description:{},profile_headline:{},address_city:{},address_country:{},address_state:{},zip_code:{},last_name:{},is_work_email:{},name:{},ip_address:{},skills:{},avatar_url:{},string_input:{},domain:{},url_input:{},slugified:{},http_response_status:{},http_response_body:{},http_response_headers:{},estimated_salary:{},scrape_list_response:{},clado_person_match:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},clado_person_match_v2:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},company_social_url:{getStaticWidgets(e){let t=nn(e);return{display_value:t?{label:t}:void 0}}},crustdata_profile_match_score:{},is_email_valid:{},amplemarket_person_match:{getStaticWidgets(){return{display_value:{label:`Person match`}}}},amplemarket_company_match:{getStaticWidgets(){return{display_value:{label:`Company match`}}}},profile_url:{getStaticWidgets(e){let t=nn(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=nn(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},developer_profile_url:{},alternative_developer_profile_urls:{},profile_posts:{getStaticWidgets(){return{display_value:{label:`LinkedIn posts`}}}},profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.name||`Person`} LinkedIn profile`}}:{}}},clado_person_profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} match`}}:{}}},email_subject:{},message:{},slack_message_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},resend_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},email_body:{},mobile:{},landline:{},phone:{},funding_history:{},funding_total_usd:{},leadmagic_competitor_list:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_acquisition_history:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_company_news_list:{getStaticWidgets(e){return e?{display_value:{label:`${e.length} news sources`}}:{}}},merge_result:{},website_markdown:{getStaticWidgets(e){return e?{display_value:{label:`๐ Markdown result`}}:{}}},urls:{},website_html:{},website_url:{},website_links:{},mapped_links:{},firecrawl_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},exa_match_evaluation:{getStaticWidgets(){return{display_value:{label:`Exa match`}}}},email_validation_status:{},million_validation_match:{getStaticWidgets(){return{display_value:{label:`Validation result`}}}},post_list_string:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Ae.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Ae.linkedin}}}},crustdata_company_match:{},crustdata_company_identity_matches:{},crustdata_person_match:{},resend_contact_id:{},sheet_record_id:{},sheet_record_ids:{},companyenrich_match:{},companyenrich_matches:{},input_objects:{},role_finder_match:{},sheet:{},logodev_describe_match:{getStaticWidgets(){return{display_value:{label:`Match`}}}},logo_url:{getStaticWidgets(){return{display_value:{label:`Logo URL`}}}},mobile_number:{},created_sheet:{},professional_profile:{},professional_profile_url:{},crustdata_companyenrich_match:{},template_output:{},zerobounce_validation_match:{},zerobounce_validation_status:{getStaticWidgets(e){return{display_value:{label:e===`valid`?`โ
Valid`:e===`invalid`?`โ Invalid`:e===`catch-all`?`โพ๏ธ Catch All`:e===`abuse`?`โ ๏ธ Abuse`:e===`do_not_mail`?`โโ Do not mail`:e===`spamtrap`?`โโโ Spam Trap`:e}}}},gmail_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}}};function _(e){return{...rn[e],name:e}}function on(e,t){if(cn(e,t))return an[e]}function sn(e){return e in rn}function cn(e,t){return e in rn?rn[e].format===t:!1}const ln={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function un(e){return ln[e]}const dn=(e,t=`Set a ${e} connection to enable this`)=>n=>(n.connector?.connections??[]).some(t=>t?.connection?.startsWith(`${e}_`))?{disabled:!1}:{disabled:!0,message:t},fn=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},pn=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},mn=(...e)=>t=>{let n={disabled:!0,message:`No condition matched`};for(let r of e){let e=r(t);if(!e.disabled)return e;n=e}return n};function hn(e,t,n){if(!t.added_by||t.added_by.ref===`input`||t.added_by.pipe_index==null)throw Error(`Tried to find output field info for field not generated by pipe: ${e}, added_by: ${t.added_by}`);let r=n.orderedPipeInstances[t.added_by.pipe_index];if(!r)throw Error(`Unable to find pipe instance at index ${t.added_by.pipe_index} for resolved field ${e}`);let i=Object.entries(r.getOutputFields()).find(([t,n])=>n.resolvedName===e);if(!i)throw Error(`Resolved pipe output field '${e}' not found for pipe ${t.added_by.ref}`);let[a,o]=i;return{fieldName:a,...o}}const gn=r.enum(`company_description.cleaned_company_name.company_industry.company_region.location_hint.estimated_revenue.founded_year.technology_list.spending_trend.technology_match_builtwith.number_of_social_followers.email.personal_email.alternate_personal_emails.company_news_summary.work_email.headcount.company_website_url.company_domain.company_name.first_name.addressee_name.address_line_1.address_line_2.job_title.job_description.profile_headline.address_city.address_country.address_state.zip_code.last_name.is_work_email.companyenrich_match.companyenrich_matches.name.ip_address.skills.avatar_url.estimated_salary.is_email_valid.profile_url.developer_profile_url.alternative_developer_profile_urls.company_profile_url.profile_posts.clado_person_match.clado_person_match_v2.icypeas_person_match.icypeas_company_match.clado_person_profile.resend_email_success.email_body.email_subject.profile.mobile.landline.phone.message.slack_message_success.funding_history.funding_total_usd.template_output.gmail_email_success.zerobounce_validation_status.zerobounce_validation_match.leadmagic_competitor_list.leadmagic_acquisition_history.leadmagic_company_news_list.merge_result.mapped_links.website_markdown.website_html.website_url.urls.website_links.firecrawl_extract_result.exa_match_evaluation.email_validation_status.million_validation_match.scrape_list_response.resend_contact_id.sheet_record_id.sheet_record_ids.input_objects.role_finder_match.logodev_describe_match.logo_url.crustdata_company_match.crustdata_companyenrich_match.crustdata_company_identity_matches.crustdata_person_match.post_list_string.crustdata_post_list.crustdata_profile_match_score.amplemarket_person_match.amplemarket_company_match.created_sheet.sheet.string_input.domain.url_input.slugified.http_response_status.http_response_body.http_response_headers.professional_profile_url.professional_profile.company_social_url.mobile_number`.split(`.`)),_n=r.enum(`pipe0.findymail.crustdata.hunter.zerobounce.millionverifier.googlemaps.gemini.leadmagic.mixrank.builtwith.perplexity.serper.icypeas.prospeo.clado.resend.slack.gmail.firecrawl.exa.openai.companyenrich.logodev.amplemarket.parallel`.split(`.`)),vn=r.enum([`production`,`sandbox`]),yn=`prompt:run@1.company:newssummary:website@1.company:newssummary:domain@1.company:techstack:builtwith@1.company:techstack:builtwith@2.company:websiteurl:email@1.company:domain:workemail@1.company:funding:leadmagic@1.company:funding:leadmagic@2.people:workemail:waterfall@1.person:workemail:waterfall@1.people:email:iswork@1.email:iswork@1.people:name:split@1.person:name:split@1.person:name:join@1.people:validate:email:zerobounce@1.people:email:validate:zerobounce@2.email:validate:zerobounce@1.people:mobilenumber:workemail:waterfall@1.company:overview@1.company:overview@2.company:overview@3.json:extract:multi@1.email:write@1.message:write@1.email:send:resend@1.email:send:gmail@1.message:send:slack@1.template:fill@1.contact:create:resend@1.people:match:role:waterfall@1.person:match:role:waterfall@1.person:identity:amplemarket@1.company:identity@2.company:identity@3.company:identity:crustdata@1.person:match:amplemarket@1.people:phone:profile:waterfall@1.person:mobile:profileurl:waterfall@1.people:personalemail:profile:waterfall@1.person:personalemail:profileurl:waterfall@1.people:profile:waterfall@1.person:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone:workemail:waterfall@1.person:mobile:workemail:waterfall@1.fields:merge@1.field:slugify@1.field:domainify@1.website:scrape:firecrawl@1.website:scrapelist:firecrawl@1.website:extract:firecrawl@1.website:maplinks:firecrawl@1.sheet:row:append@1.sheet:row:expandappend@1.company:lookalikes:companyenrich@1.company:lookalikes:companyenrich@2.company:match:logodev@1.company:match:logodev@2.person:posts:crustdata@1.company:match:crustdata@1.company:match:crustdata@2.people:profile:workemail:crustdata@1.person:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.person:workemail:profileurl:waterfall@1.people:identity:email:waterfall@1.person:identity:email:waterfall@1.person:devprofileurl:profileurl:waterfall@1.http:request@1.company:identity@1.people:professionalprofile:waterfall@1.people:professionalprofileurl:name@1.people:professionalprofileurl:email:waterfall@1.people:mobilenumber:professionalprofile:waterfall@1`.split(`.`),bn=r.enum(yn),xn=[`string`,`number`,`boolean`,`json`,`unknown`],Sn=r.enum(xn),Cn=r.union([r.number(),r.string()]),wn=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),Tn=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),En=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),Dn=r.object({}),On=Dn.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),kn=Dn.extend({emoji:r.string().describe(`Country flag emoji.`)}),An=Dn.extend({image_url:r.url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),jn=Dn.extend({attempted_providers:r.array(r.object({provider:_n})),available_providers:r.array(_n),successful_provider:_n.optional()}),Mn=r.enum([`linkedin`,`job`]),Nn=Dn.extend({key:Mn}).optional(),Pn=r.object({result_status:r.enum([`completed`,`failed`])}).optional(),Fn=r.object({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),In=r.object({numeric:r.int().min(1).max(5)}).optional(),Ln=r.object({display_value:r.object({label:r.string().optional()}),entity_logo:On.optional(),location_indicator:kn.optional(),avatar:An.optional(),waterfall:jn.optional(),icon:Nn,action_summary:Pn,sources:Fn,confidence:In}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Rn=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),zn=r.object({code:r.string(),summary:r.string(),message:r.string()}),Bn=[`json_object`,`json_list`,`json_list_string`,`url`,`website_url`,`profile_url`,`email`,`datetime`,`currency`,`date`,`phone`,`markdown`,`text`,`int`,`decimal`,`address_line_1`,`zip_code`,`percent`],Vn=r.enum(Bn);Vn.nullable();const Hn=r.object({type:Sn,label:r.string().nullable().optional(),format:Vn.nullable().optional(),json_metadata:En.nullable().optional()}),Un=r.record(r.string(),Hn),Wn=r.enum([...yn,`input`]).nullable(),Gn=r.enum([...yn,`input`,`system`]).nullable(),Kn=r.object({ref:Wn,config_hash:r.string().nullable()}),qn=r.object({ref:Gn,environment:vn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Jn=r.object({value:Tn,status:wn,type:Sn,reason:zn.nullable(),claimed_by:Kn,resolved_by:qn.nullable(),widgets:Ln.optional(),format:Vn.nullable()}),Yn=r.object({value:Tn,status:wn,reason:zn.nullable().optional(),type:Sn.optional(),format:Vn.nullable().optional(),claimed_by:Kn.optional(),resolved_by:qn.nullable().optional(),widgets:Ln.optional()}),Xn=r.record(r.string(),r.union([Tn,Yn])).openapi(`PipesInput`),Zn=r.object({id:Cn,fields:r.record(Cn,Jn)}),Qn=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),$n=r.object({type:Sn,label:r.string(),added_by:r.object({ref:r.union([bn,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:Vn.nullable(),is_primary_output:r.boolean()}),er=r.record(r.string(),$n),tr=r.object({field_name:r.string().min(1),extractions:r.array(r.object({path:r.string().min(1),output_field:r.object({name:r.string().min(1),format:Vn.nullable().default(null),label:r.string().optional(),type:Sn})})).min(1).check(e=>{let t=new Set;Object.values(e.value).forEach(n=>{t.has(n.output_field.name)?e.issues.push({code:`custom`,message:`Output field names must be unique. The name ${n.output_field.name} exists more than once in your config.`,input:e.value}):t.add(n.output_field.name)})})}),nr=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),rr={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},ir=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],ar=[`eq`,`neq`],or=r.object({type:r.literal(`vault`),connection:r.string()}),v=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(or)}).nullable().optional(),sr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(or).min(1,{message:`Provide your own credentials to use this object.`})}),cr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(r.object({type:r.literal(`vault`),connection:r.string()})).max(0,{message:`This pipe does not support custom connectors.`})}).optional().nullable(),lr=r.enum(ir),ur=r.enum(ar),dr=r.enum([`failed`,`no_result`,`completed`,`skipped`]),fr=r.object({action:r.enum([`run`]).default(`run`).describe(`What to do when conditions match. Defaults to "run" (run the pipe only on matching records). Reserved for future extension.`),when:r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(r.discriminatedUnion(`property`,[r.object({property:r.literal(`value`).describe(`Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains.`),field_name:r.string().min(1,{message:`Select a target field for the condition.`}).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:lr.describe(`Comparison operator: "eq", "neq", "gt", "gte", "lt", "lte", "contains".`),value:r.union([r.number(),r.string(),r.boolean(),r.null()]).describe(`The value to compare the field against. Must be a primitive (string, number, boolean, or null).`).check(e=>{(e.value===void 0||e.value===``)&&e.issues.push({code:`custom`,input:e.value,message:`Provide a value to compare against.`}),typeof e.value==`object`&&e.value!==null&&e.issues.push({code:`custom`,input:e.value,message:`Conditions can only be defined on primitive fields. To apply a condition on a JSON value, expand it into an object first.`})})}),r.object({property:r.literal(`status`).describe(`Compare the field resolution status instead of its value. Use operators: eq, neq.`),field_name:r.string().min(1).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:ur.describe(`Status comparison operator: "eq" or "neq".`),value:dr.describe(`Field status to compare against: "completed", "no_result", "failed", or "skipped".`)})])).min(1).describe(`Array of conditions to evaluate. Each condition checks either a field value or its resolution status.`)}).describe(`Condition block. All conditions are combined with the chosen logic (and/or).`)}).describe(`Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { "when": { "logic": "and", "conditions": [{ "property": "status", "field_name": "work_email", "operator": "neq", "value": "no_result" }] } }`),pr={pipe0:{name:`pipe0`,label:`pipe0`,description:`A framework for lead and company data enrichment.`,url:`https://pipe0.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/52f2d955-d9f3-4139-2c13-63cfd568ed00/icon`,background:{light:`#F4F4F5`,dark:`#1F1F23`},oAuthConfig:null},findymail:{name:`findymail`,label:`FindyMail`,description:`Find verified emails.`,url:`https://findymail.com`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,oAuthConfig:null,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/9e8ce38d-a49d-42a3-4317-506f7fbec900/icon`,background:{light:`#D4F4DD`,dark:`#143822`}},hunter:{name:`hunter`,label:`HunterMail`,description:`Find email addresses and send cold emails`,url:`https://hunter.io`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,oAuthConfig:null,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fc66b052-6b1e-4c91-a239-6bbce08f1b00/icon`,background:{light:`#FFE4D4`,dark:`#3D1F0C`}},zerobounce:{name:`zerobounce`,label:`ZeroBounce`,description:`Email validation tools and email list cleaning`,url:`https://www.zerobounce.net`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/db8e9e41-0bda-4f2c-de42-cf8ce61ee500/icon`,background:{light:`#D6F5E5`,dark:`#0E3823`},oAuthConfig:null},googlemaps:{name:`googlemaps`,label:`Google Maps`,description:`A map service by Google`,url:`https://www.google.com/maps`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1796d3c1-dfb0-4555-b2bf-0ca4930e8f00/icon`,background:{light:`#D8E8FF`,dark:`#0E2447`},oAuthConfig:null},leadmagic:{name:`leadmagic`,label:`LeadMagic`,description:`Enrichment provider`,url:`https://leadmagic.io`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/508cb23a-47d4-40ee-1645-b5a8bf994c00/icon`,background:{light:`#EBD8FF`,dark:`#2A1247`},oAuthConfig:null},builtwith:{name:`builtwith`,label:`BuiltWith`,description:`BuiltWith tracks over 2500 eCommerce technologies across over 26 million eCommerce websites.`,url:`https://builtwith.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e675cb72-6dc2-43c8-972e-0fc9c3b73c00/icon`,background:{light:`#FFF0D4`,dark:`#3D2806`},oAuthConfig:null},perplexity:{name:`perplexity`,label:`Perplexity`,description:`AI search company`,public:!1,url:`https://perplexity.com`,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/d17d3ba0-5c9e-43d8-17ee-3e4a70404e00/icon`,background:{light:`#D3F1EE`,dark:`#0E3633`},oAuthConfig:null},serper:{name:`serper`,label:`Serper`,description:`The World's Fastest & Cheapest Google Search API`,url:`https://serper.dev/`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/04e720cd-56ea-44d3-3a31-cfc516c6f800/icon`,background:{light:`#D8E6FF`,dark:`#0C2554`},oAuthConfig:null},icypeas:{name:`icypeas`,label:`Icypeas`,description:`A popular data catalog`,url:`https://www.icypeas.com/`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/d635119e-08ae-40cb-78bc-34161d422400/icon`,background:{light:`#D8EFFF`,dark:`#0C2A4A`},oAuthConfig:null},prospeo:{name:`prospeo`,label:`Prospeo`,description:`Find anyoneโs contact data.`,url:`https://prospeo.io/`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/9446f572-d08c-4d48-a5a5-04747fe66000/icon`,background:{light:`#D6E2FF`,dark:`#0C2052`},oAuthConfig:null},gemini:{name:`gemini`,label:`Gemini`,description:`Google's AI service`,url:`https://gemini.google.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/417de5dd-a8a8-4210-d7dc-6f40e54ece00/icon`,background:{light:`#DDE7FF`,dark:`#1A2C5C`},oAuthConfig:null},slack:{name:`slack`,label:`Slack`,description:`A modern business chat application.`,url:`https://slack.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/676e823c-c926-4b0b-465c-121b9d1c3300/icon`,background:{light:`#F1E0FF`,dark:`#2A0E44`},oAuthConfig:{}},companyenrich:{name:`companyenrich`,label:`CompanyEnrich`,description:`A company enrichment service.`,url:`https://companyenrich.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e80b3a16-7b36-4733-bcbe-46f471d33100/icon`,background:{light:`#DCEEFF`,dark:`#0E2C4A`},oAuthConfig:{}},mixrank:{name:`mixrank`,label:`MixRank`,description:`Ultra-high-frequency technographic and people data for your data teams.`,url:`https://mixrank.com/`,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,oAuthConfig:{},public:!0,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a29f3095-b3f9-4b12-d21b-1c506ccd7200/icon`,background:{light:`#FFE5D4`,dark:`#3A1D08`}},clado:{name:`clado`,label:`Clado`,description:`A data provider deploying 10^5 AI agents to find contact information.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,url:`https://clado.ai`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fdf3d2d0-70be-45c3-2fe5-a8c5cac55a00/icon`,background:{light:`#E8E8EC`,dark:`#1A1A1F`},oAuthConfig:null},gmail:{name:`gmail`,label:`Gmail`,description:`Google's email service`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token_bundle`,url:`https://mail.google.com`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8da8ab6b-7f7e-4c42-6abf-212ea537db00/icon`,background:{light:`#FFD8D8`,dark:`#45100F`},oAuthConfig:{}},resend:{name:`resend`,label:`Resend`,description:`An email platform built for developers.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://clado.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7c88f71b-8472-40f4-4bec-0e77eac30400/icon`,background:{light:`#EDEDEE`,dark:`#1A1A1C`},oAuthConfig:null},firecrawl:{name:`firecrawl`,label:`Firecrawl`,description:`Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown. Firecrawl crawls all accessible subpages and gives you clean markdown for each. No sitemap required.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.firecrawl.dev`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5c318569-7bf4-4276-a3f2-1f25530f7f00/icon`,background:{light:`#FFE5CC`,dark:`#3A1A05`},oAuthConfig:null},exa:{name:`exa`,label:`Exa`,description:`Exa is a search engine built for AI.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://exa.ai/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8ae69780-4506-4952-a90e-02e70b06af00/icon`,background:{light:`#D8DCFF`,dark:`#14154A`},oAuthConfig:null},openai:{name:`openai`,label:`OpenAI`,description:`Foundational AI company based out of San Francisco.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://openai.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7ac79c3a-bccb-4ed4-d6e5-7b300b2fd300/icon`,background:{light:`#D8EFE4`,dark:`#0C2A1C`},oAuthConfig:null},millionverifier:{name:`millionverifier`,label:`MillionVerifier`,description:`E-Mail validation service.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.millionverifier.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7a8bd9cb-efeb-492e-3f4c-311c9492b800/icon`,background:{light:`#D8F0DB`,dark:`#0E3215`},oAuthConfig:null},logodev:{name:`logodev`,label:`Logo.dev`,description:`Every company logo, one simple API.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.logo.dev/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1defa51b-5c01-4034-1030-60f68aa46400/icon`,background:{light:`#F4ECD4`,dark:`#2C2406`},oAuthConfig:null},crustdata:{name:`crustdata`,label:`Crustdata`,description:`Real-time company & people data`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://crustdata.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fa05be24-d174-40f0-69c2-4fdb43c6be00/icon`,background:{light:`#FFE2D2`,dark:`#3C1A08`},oAuthConfig:null},amplemarket:{name:`amplemarket`,label:`Amplemarket`,description:`Sales data platform`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.amplemarket.com`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/adecf16b-4187-409b-d77f-16fc07fc6100/icon`,background:{light:`#FFD8E1`,dark:`#45102A`},oAuthConfig:null},parallel:{name:`parallel`,label:`Parallel`,description:`Agentic web search & research APIs purpose-built for AI agents.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://parallel.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/adecf16b-4187-409b-d77f-16fc07fc6100/icon`,background:{light:`#E0E5FF`,dark:`#0F1A3D`},oAuthConfig:null}},mr=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],hr=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],gr=/^[A-Z][A-Z0-9_]*$/,_r=/^[A-Z][A-Z0-9_]*$/,vr=/^[a-zA-Z_][a-zA-Z0-9_]*$/,yr=`SECRETS`,br=`CONSTANTS`,xr=new Set(mr),Sr=new Set(hr),Cr=e=>`{${e}}`;var wr=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!gr.test(t))throw Error(`Secret key "${t}" must be uppercase letters, digits, and underscores (e.g. SECRETS.API_KEY).`);if(!(t in this.values))throw Error(`Missing secret: SECRETS.${t}`);return this.values[t]}},Tr=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!_r.test(t))throw Error(`Constant key "${t}" must be uppercase letters, digits, and underscores (e.g. CONSTANTS.PROMO).`);if(!(t in this.values))throw Error(`Missing constant: CONSTANTS.${t}`);return this.values[t]}};function Er(e){let t=e.trim();if(!t)throw Error(`Empty {% output %} tag โ expected at least a name (e.g. {% output rec, type: "string", description: "..." %}).`);let n=t.match(/^([a-zA-Z_][a-zA-Z0-9_]*)\s*(?:,|$)/);if(!n||!n[1])throw Error(`Invalid {% output %} tag โ expected a name as the first argument, got: ${t}`);let r=n[1];if(!vr.test(r))throw Error(`Invalid {% output %} tag name "${r}" โ must start with a letter or underscore and contain only letters, digits, and underscores.`);let i=t.slice(n[0].length).trim(),a={},o=/([a-zA-Z_][a-zA-Z0-9_]*)\s*:\s*(?:"((?:\\.|[^"\\])*)"|'((?:\\.|[^'\\])*)'|(true|false))\s*(?:,|$)/g,s=0,c;for(;(c=o.exec(i))!==null;){s=c.index+c[0].length;let e=c[1],t=c[2]??c[3]??c[4];c[4]===void 0?a[e]=t:a[e]=t===`true`}if(i&&s<i.length)throw Error(`Invalid {% output %} tag โ could not parse arguments after "${i.slice(s)}". Expected key: "value" pairs.`);let l=a.type;if(typeof l!=`string`||!l)throw Error(`{% output ${r} %} tag is missing required "type" argument (e.g. type: "string").`);let u=a.description;if(typeof u!=`string`||!u)throw Error(`{% output ${r} %} tag is missing required "description" argument (e.g. description: "What this means.").`);return{name:r,type:l,description:u,required:typeof a.required==`boolean`?a.required:!0,format:typeof a.format==`string`?a.format:null,schemaRef:typeof a.schema==`string`?a.schema:null}}function Dr(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=Er(e.args);this.outputDecl=n},render(e,t){let n=this.outputDecl;if(!(e.globals&&e.globals.__outputAllowed))throw Error(`{% output %} is not allowed in this template (referenced output "${n.name}").`);t.write(Cr(n.name))}});for(let t of Object.keys(e.tags))xr.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))Sr.has(t)||delete e.filters[t];return e}let Or=null;function kr(){return Or||=Dr(),Or}async function Ar(e,t,n={}){let r=kr(),i=n.renderLimitMs??250,a={...t.inputs??{},[yr]:new wr(t.secrets??{}),[br]:new Tr(t.constants??{})},o={globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i},s=await Promise.race([r.parseAndRender(e,a,o),new Promise((e,t)=>setTimeout(()=>t(Error(`Liquid render exceeded ${i}ms.`)),i))]);return String(s)}function jr(e,t,n={}){let r=kr(),i=n.renderLimitMs??250,a={...t.inputs??{},[yr]:new wr(t.secrets??{}),[br]:new Tr(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function Mr(e){return kr().parse(e)}function Nr(e){let t=kr().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};Pr(t,n);let r={};for(let[e,t]of n.inputs)r[e]={required:t.unguardedRefs>0};return{inputs:r,secrets:[...n.secrets],constants:[...n.constants],outputs:n.outputs}}function Pr(e,t){for(let n of e)Fr(n,t)}function Fr(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){Br(n.value,t,!1);return}if(typeof n.name==`string`){Ir(n,t);return}}function Ir(e,t){switch(e.name){case`for`:Lr(e,t);return;case`if`:case`unless`:Rr(e,t);return;case`output`:zr(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function Lr(e,t){if(t.forDepth+=1,t.forDepth>3)throw Error(`Liquid template exceeds maximum nested {% for %} depth of 3.`);e.collection!==void 0&&e.collection!==null&&Vr(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),Pr(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),Pr(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function Rr(e,t){let n=Array.isArray(e.branches)?e.branches:[];e.name;for(let e=0;e<n.length;e++){let r=n[e],i=r.value,a=null;e===0&&i&&typeof i==`object`&&(a=Wr(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&Br(i,t,!1),Pr(r.templates,t),a&&t.guardStack.pop()}Pr(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function zr(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=Er(t))}if(!n)throw Error(`Internal: {% output %} tag missing parsed declaration.`);t.outputs.push({name:n.name,type:n.type,description:n.description,required:n.required,format:n.format,schemaRef:n.schemaRef??void 0})}function Br(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)Gr(n)&&Ur(n,t,i);for(let n of e.filters)for(let e of n.args)Hr(e,t)}function Vr(e,t,n){Gr(e)&&Ur(e,t,n)}function Hr(e,t){if(Array.isArray(e)){let n=e[1];n&&Vr(n,t,!1)}else Vr(e,t,!1)}function Ur(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!Kr(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!Kr(e))throw Error(`Invalid SECRETS reference โ expected SECRETS.KEY (got ${Yr(r)}).`);let n=e.content;if(!gr.test(n))throw Error(`Invalid SECRETS key "${n}" โ must be uppercase letters, digits, and underscores (e.g. SECRETS.API_KEY).`);t.secrets.add(n);return}if(a===`CONSTANTS`){let e=r[1];if(!e||!Kr(e))throw Error(`Invalid CONSTANTS reference โ expected CONSTANTS.KEY (got ${Yr(r)}).`);let n=e.content;if(!_r.test(n))throw Error(`Invalid CONSTANTS key "${n}" โ must be uppercase letters, digits, and underscores (e.g. CONSTANTS.PROMO).`);t.constants.add(n);return}let o=n||t.guardStack.includes(a),s=t.inputs.get(a)??{unguardedRefs:0,guardedRefs:0};o?s.guardedRefs+=1:s.unguardedRefs+=1,t.inputs.set(a,s)}function Wr(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&Gr(t)&&t.props.length===1){let e=t.props[0];if(e&&Kr(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&Gr(t)&&t.props.length===1){let e=t.props[0];if(e&&Kr(e)&&qr(n)&&Jr(r,[`==`,`!=`]))return e.content}}return null}function Gr(e){return e.kind===o.PropertyAccess}function Kr(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function qr(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function Jr(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function Yr(e){let t=[];for(let n of e)n&&Kr(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}function Xr(e){let t=e.split(`_`),n=t[0],r=t.slice(1).join(`_`);if(!n)throw Error(`connection string of invalid format`);try{return{provider:_n.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function Zr(e){return`${e.provider}_${e.id}`}const Qr=new s;function $r(e){return Qr.validateSchema(e)}function ei(e){let t=!1;return c(e,{},e=>{e.type&&[`string`,`number`,`boolean`,`integer`,`null`].includes(e.type)&&(t=!0),e.type===`object`&&e.properties&&Object.keys(e.properties).length>0&&(t=!0),e.type===`array`&&e.items&&(t=!0)}),!t}const ti=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],ni={"gemini-flash-latest":{provider:`gemini`,rateLimitOperation:`gemini_35_flash`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.2,billingMode:`always`},"openai-gpt-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`},"openai-gpt-mini-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5-mini`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.3,billingMode:`always`}};function ri(e,t){let n={};for(let r of ti){let i=ni[r],a=`${e}-${r}`;n[a]={credits:{default:t?.[r]??i.defaultCredits},allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function ii(e,t){return`${t}-${e}`}function ai(e){let t=ni[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function oi(e){let t=ni[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function si(){let e=new Set;for(let t of ti)e.add(ni[t].provider);return[...e]}function ci(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(dn(e.requires.connection));for(let n of e.requires.fields??[])t.push(fn(e=>n.split(`.`).reduce((e,t)=>e==null?e:e[t],e),`Set ${n} first`));if(t.length!==0)return t.length===1?t[0]:pn(...t)}function li(e,t,n){let i={exampleValue:null,jsonSchema:null},a=t.fieldAnnotations.annotations[e];if(a?.json_metadata?.example_value&&(i.exampleValue=a.json_metadata.example_value||null),a?.json_metadata?.schema&&(i.jsonSchema=a.json_metadata.schema||null),i.exampleValue&&i.jsonSchema||!t.resolvedFieldNames[e])return i;let o=hn(e,n,t),s=sn(o.fieldName)?_(o.fieldName):null;return s?.jsonMeta?{jsonSchema:s.jsonMeta.zodSchema?r.toJSONSchema(s.jsonMeta.zodSchema):null,exampleValue:s.jsonMeta.exampleValue||null}:i}const y=r.registry();{let e=y._map,t=y.get.bind(y);y.get=n=>{let r=n;for(;r;){let t=e.get(r);if(typeof t==`function`)return t;r=r?._zod?.parent}return t(n)}}const b=r.registry(),x={text_input:r.coerce.string(),textarea_input:r.string(),prompt_input:r.object({template:r.string(),json_schemas:r.record(r.string(),r.record(r.string(),r.unknown()))}),template_input:r.string(),tagged_text_input:r.coerce.string().nullable(),boolean_input:r.boolean(),nullable_boolean_input:r.boolean().nullable(),select_input:r.string(),multi_select_input:r.array(r.string()),async_multi_select_input:r.array(r.string()),int_input:r.coerce.number().int().nullable(),number_input:r.coerce.number().optional(),min_max_int_input:r.object({min:r.number().nullable().default(null),max:r.number().nullable().default(null)}),include_exclude_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),async_include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),exact_range_input:r.record(r.string(),r.number().nullable()),range_input:r.object({from:r.number().nullable(),to:r.number().nullable()}),date_range_input:r.record(r.string(),r.string()),multi_create_input:r.array(r.string()),ordered_multi_create_input:r.array(r.string()),tagged_ordered_multi_create_input:r.array(r.string()),key_value_list_input:r.array(r.object({key:r.string(),value:r.string()})),connector_input:r.object({connections:r.array(r.object({type:r.string(),connection:r.string()}))}).nullable(),providers_input:r.array(r.object({provider:r.string()})),json_extraction_input:r.record(r.string(),r.unknown()),pipes_run_if_input:r.record(r.string(),r.unknown()).nullable(),fields_select_input:r.array(r.object({field_name:r.string()})),output_field_input:r.object({alias:r.string(),enabled:r.boolean()}),json_schema_input:r.record(r.string(),r.unknown()),cursor_pagination_metadata:r.object({limit:r.number()}),context_select_input:r.union([r.string(),r.array(r.string())])},ui=(e,t)=>{let n=x.multi_create_input;return e.maxItems&&(n=n.max(e.maxItems)),n=e.minItems?n.min(e.minItems):n.default([]),t.add(n,{type:`multi_create_input`,...e}),n},di=(e,t)=>{let n=x.ordered_multi_create_input;return e.maxItems&&(n=n.max(e.maxItems)),n=e.minItems?n.min(e.minItems):n.default([]),t.add(n,{type:`ordered_multi_create_input`,...e}),n},fi=/^\s*\{\{\s*[a-zA-Z_][a-zA-Z0-9_.]*(?:\s*\|\s*[^}]+)?\s*\}\}\s*$/,pi=/\{\{|\{%/,mi=(e,t)=>{let n=x.tagged_ordered_multi_create_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{let r=fi.test(e),i=pi.test(e);!r&&i&&t.issues.push({code:`custom`,input:e,path:[n],message:`Each entry must be either plain text or a single field reference โ not mixed.`})})}),n=e.minItems?n.min(e.minItems):n.default([]);let r={type:`tagged_ordered_multi_create_input`,...e};if(t===y){let i=t=>{let n=t.validationContext,i=n?Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>!e.expectedTagType||n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:i}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n}return t.add(n,r),n},hi=(e,t)=>{let n=x.key_value_list_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{Ui({value:e.key,issues:t.issues},!1,[n,`key`]),Ui({value:e.value,issues:t.issues},!1,[n,`value`])})}),n=n.default([]);let r={type:`key_value_list_input`,...e},i=e=>{let t=e.validationContext,n=t?Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e.hash).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:n}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n},gi=(e,t)=>{let n=e.maxItems||200,r=x.include_exclude_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return e.description&&i.describe(e.description),t.add(i,{type:`include_exclude_input`,...e}),i},_i=()=>{let e=tr;return y.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`json_extraction_input`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>e.toLowerCase()!==`id`&&t.type===`json`).map(([e,n])=>{let{jsonSchema:r,exampleValue:i}=li(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`general`}}),e},vi=(e,t)=>{let n=r.array(r.object({provider:r.enum(e.availableProviders)})).max(e.maxItems||99).min(1).default(e.defaultProviders),i=e.availableProviders.map(t=>{let n=e.providerCredits?.[t];return{value:t,label:pr[t].label,widgets:{provider_logo:{provider:t},...typeof n==`number`?{pricing:{credits:n}}:{}}}});return t.add(n,{label:`Provider sequence`,description:``,path:`config.providers`,groupPath:`config.providers`,type:`providers_input`,options:i,defaultProviders:e.defaultProviders,maxItems:e.maxItems,sectionKey:e.sectionKey}),n},yi=(e,t)=>{let n=e.maxItems||200,r=x.include_exclude_select_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return e.description&&i.describe(e.description),t.add(i,{type:`include_exclude_select_input`,...e}),i},bi=(e,t)=>{let n=x.exact_range_input.check(t=>{e.min===void 0&&e.max===void 0||Object.values(t.value).filter(e=>e!==null).some(t=>e.min!=null&&t<e.min||e.max!=null&&t>e.max)&&t.issues.push({code:`custom`,input:t.value,message:`Values must be between ${e.min??`any`} and ${e.max??`any`}`})});return e.description&&n.describe(e.description),t.add(n,{type:`exact_range_input`,...e}),n},xi=(e,t)=>{let n=r.object({from:r.number().optional().nullable(),to:r.number().optional().nullable()}).default({from:null,to:null}),i=n;return(e.min!==void 0||e.max!==void 0)&&(i=n.check(t=>{Object.values(t.value).filter(e=>e!=null).every(t=>(e?.min==null||t>=e.min)&&(e.max==null||t<=e.max))||t.issues.push({code:`custom`,input:t.value,message:`Values must be between ${e.min??`any`} and ${e.max??`any`}`}),t.value.from&&t.value.to&&t.value.from>t.value.to&&t.issues.push({code:`custom`,input:t.value,message:`'From' value must be smaller than 'to' value.`})})),e.description&&i.describe(e.description),t.add(i,{type:`range_input`,...e}),i},Si=(e,t)=>{let n=x.date_range_input.check(e=>{let t=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/;for(let[n,r]of Object.entries(e.value))r&&!t.test(r)&&e.issues.push({code:`custom`,input:r,path:[n],message:`Must be an ISO datetime string`})});return e.description&&n.describe(e.description),t.add(n,{type:`date_range_input`,...e}),n},Ci=(e,t)=>{let n=x.boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`boolean_input`}),n},wi=(e,t)=>{let n=x.nullable_boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`nullable_boolean_input`,defaultValue:e.defaultValue}),n},Ti=(e,t)=>{let n=x.text_input;return e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),e.minLength||(n=n.nullable()),e.description&&n.describe(e.description),t.add(n,{type:`text_input`,...e}),n},Ei=(e,t)=>{let n=x.textarea_input;return e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.description&&n.describe(e.description),t.add(n,{type:`textarea_input`,...e}),n},Di=(e,t,n=`pipe_io`)=>{let i=r.object({alias:r.string().default(``).describe(`Rename this output field. Leave empty to use default name.`),enabled:r.boolean().default(!0).describe(`Whether to include this field in the output.`)}).describe(`Output field '${e.fieldName}'`);return t.add(i,{type:`output_field_input`,label:`Rename *${e.fieldName}*`,placeholder:e.fieldName,path:`config.output_fields.${e.fieldName}`,description:void 0,groupPath:`config.output_fields`,sectionKey:n}),i.default({alias:``,enabled:!0})},Oi=(e,t)=>{let n=x.int_input.optional().check(t=>{if(t.value==null){e.required!==!1&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}e.min!=null&&t.value<e.min&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at least ${e.min}`}),e.max!=null&&t.value>e.max&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at most ${e.max}`})});return e.description&&n.describe(e.description),t.add(n,{...e,type:`int_input`}),n},ki=(e,t)=>{let n=x.number_input.check(t=>{if(t.value===void 0){e.required&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}e.min!=null&&t.value<e.min&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at least ${e.min}`}),e.max!=null&&t.value>e.max&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at most ${e.max}`})});return e.description&&n.describe(e.description),t.add(n,{...e,type:`number_input`}),n},Ai=(e,t)=>{let n=x.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{$r(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{ei(e.value)&&e.issues.push({code:`custom`,message:`JSON Schema must define a meaningful value. Can not be an empty object or array.`,input:e.value})})),t.add(r,{...e,type:`json_schema_input`}),r},ji=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=x.select_input.check(t=>{if(t.value===``){e.required&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}r.has(t.value)||t.issues.push({code:`custom`,input:t.value,message:`Must be one of: ${[...r].filter(e=>e).join(`, `)}`})}),a=e.defaultValue?i.default(e.defaultValue):i;return e.description&&a.describe(e.description),t.add(a,{type:`select_input`,...e}),a},Mi=({billableOperations:e,...t},n)=>{let i=r.enum(ti).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:ti.map(t=>{let n=e[Object.keys(e).find(e=>e.endsWith(`-${t}`))];if(!n)throw Error(`Unable to find billing info for model ${t}`);return{label:t,value:t,widgets:{logo:{url:pr[ni[t].provider].logoUrl},pricing:{credits:n.credits.default}}}}),required:!0,description:``,label:`AI Models`,...t}),i},Ni=(e,t)=>{let n=e.options.map(e=>e.value),i=new Set(n),a=r.array(r.enum(Array.from(i))).check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`}),t.value.forEach((e,r)=>{i.has(e)||t.issues.push({code:`custom`,input:e,path:[r],message:`Must be one of: ${n.join(`, `)}`})})}),o=e.required?a:a.default([]);return t.add(o,{type:`multi_select_input`,...e}),o},Pi=(e,t)=>{let n=e.required?x.context_select_input.check(e=>{(e.value===``||Array.isArray(e.value)&&e.value.length===0)&&e.issues.push({code:`custom`,input:e.value,message:`Required`})}):x.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??ci(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},Fi=(e,t)=>{let n=x.min_max_int_input.check(t=>{for(let n of[`min`,`max`]){let r=t.value[n];if(r!=null){if(!Number.isInteger(r)){t.issues.push({code:`custom`,input:r,path:[n],message:`Must be an integer`});continue}(r<e.min||r>e.max)&&t.issues.push({code:`custom`,input:r,path:[n],message:`Must be between ${e.min} and ${e.max}`})}}}),r=e.required?n:n.default({min:null,max:null});return t.add(r,{type:`min_max_int_input`,...e}),r},Ii=(e,t)=>{let n=x.async_multi_select_input.check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`})}),r=e.required?n:n.default([]);return t.add(r,{type:`async_multi_select_input`,...e}),r},Li=(e,t)=>{let n=e.maxItems||200,r=x.async_include_exclude_select_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return t.add(i,{type:`async_include_exclude_select_input`,...e}),i};function Ri(e,t){let n=e.reduce((e,t)=>{let n=t.groupPath||``;return e[n]??=[],e[n].push(t),e},{});return Object.entries(n).map(([e,n])=>({type:`group`,groupPath:e,description:t[e]?.description,label:t[e]?.label,iconKey:t[e]?.iconKey,defaultExpand:!!t[e]?.defaultExpand,order:t[e]?.order??99,fields:n.sort((e,t)=>(e.order||0)-(t.order||0))})).sort((e,t)=>e.order-t.order)}const S=()=>{let e=fr.nullish();return y.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_run_if_input`,groupPath:`run_if`,path:`run_if`,sectionKey:`pipe_io`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),e},zi={pipe_io:{type:`form_section`,label:`In- and outputs`,description:`Configure output fields and reassign inputs.`,path:`config.pipe_io`},"config.filters":{type:`form_section`,label:`Filters`,path:`config.filters`,description:`Narrow down the search output`},general:{type:`form_section`,path:`general`,label:`Behavior`},pagination:{type:`form_section`,path:`pagination`}},Bi={general:1,pagination:2,"config.filters":3,pipe_io:10};function Vi({fieldMetadata:e,store:t}){if(e.type===`context_select_input`||e.type===`tagged_text_input`){t.field_options??={};let n=t.field_options[e.path]?.options||[],r=e.optionsDef?.widgets;e.options=r?n.map(e=>({...e,widgets:{...r,...e.widgets??{}}})):n}return e}const Hi=({schema:e,groupPathMatch:t,extractFromSchema:n,sectionOrder:i=Bi,sectionMap:a=zi,store:o,formResolvers:s})=>{let c={};function l(e){let i=n(e);if(i){c[i.sectionKey]??={type:`section`,groups:[],metadata:a[i.sectionKey]};let e=c[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=Vi({fieldMetadata:i,store:o,formResolvers:s});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=Vi({fieldMetadata:i,store:o,formResolvers:s});r&&e.groups.push({groupPath:i.groupPath,fields:[r],type:`group`,label:n?.label,defaultExpand:!!n?.defaultExpand,description:n?.description,iconKey:n?.iconKey,order:n?.order})}}if(typeof e==`object`&&`unwrap`in e&&typeof e.unwrap==`function`&&l(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))l(t)}l(e);let u=Object.values(c);return u.forEach(e=>{e.groups.sort((e,t)=>(e.order??99)-(t.order??99))}),[...u].filter(e=>e.groups.length!==0).sort((e,t)=>(i?.[e.metadata?.path||``]??99)-(i?.[t.metadata?.path||``]??99))};function Ui(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=Nr(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`}),t&&i.outputs.length===0&&e.issues.push({code:`custom`,input:r,path:n,message:`At least one {% output %} tag is required, e.g. {% output result, type: "string", description: "..." %}`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const Wi=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>Ui(e,t,[])).describe(e.description||'Liquid prompt with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: "string", description: "..." %}` to declare model outputs. Supports `{% if %}` / `{% for %}` control flow. Example: "Summarize {{ name }}. {% output summary, type: \\"string\\", description: \\"One-line summary\\" %}"'),json_schemas:r.record(r.string().min(1,`Schema name cannot be empty`),r.record(r.string(),r.any())).optional().describe(`JSON schemas for output fields with type="json". Keys are referenced via schema="<name>" in output tags.`)});return y.add(n,t=>{let n=t.validationContext;return{type:`prompt_input`,inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),...e}}),n},Gi=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>Ui(e,!1,[])).describe(e.description||'Liquid template with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Example: "Write to {{ name }} about {{ topic | default: \\"the project\\" }}."');return y.add(n,t=>{let n=t.validationContext;return{type:`template_input`,inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),rows:e.rows||10,...e}}),n},C=e=>{let t=`${e.multiline?`Multi-line`:`Single-line`} ${e.expectedTagType} value, optionally containing \`{{ field }}\` Liquid input refs (use \`| default: ""\` for optional refs), \`{{ SECRETS.KEY }}\` for encrypted secrets, and \`{{ CONSTANTS.KEY }}\` for plaintext constants.`,n=r.coerce.string();e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),e.minLength||(n=n.nullable()),n=n.check(e=>Ui(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??ci(e.optionsDef)}:void 0,a={type:`tagged_text_input`,...e,optionsDef:i,options:[]},o=t=>{let n=t.validationContext,r=Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e}));return{...a,inputFields:r}};return o.staticMeta={...a,inputFields:[]},y.add(n,o),n};function Ki(e,t){y.add(e,({userConnections:e,pipeEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:``,description:``,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:Zr({id:e.public_id,provider:e.provider})}))}})}const qi=()=>{let e=sr;return Ki(e,`required`),e},w=()=>{let e=v;return Ki(e,`optional`),e},T=()=>{let e=cr;return Ki(e,`disabled`),e};function Ji(e,t){return Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e&&t.toLowerCase()!==`id`).map(([e,t])=>({label:e,value:e,type:t.type,format:t.format}))}const E=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return y.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:Ji(t.hash,n),path:`config.input_fields.${e.fieldName}.alias`,label:`Assign *${e.fieldName}* to:`,description:``,groupPath:`config.input_fields`,multiple:!1}}),t.default({alias:``})},D=e=>vi(e,y),Yi=e=>{let t=x.fields_select_input.check(e=>{e.value.forEach((t,n)=>{t.field_name.length<1&&e.issues.push({code:`custom`,input:t.field_name,path:[n,`field_name`],message:`field_name must not be empty`})})});return t=e.minItems?t.min(e.minItems):t.default([]),y.add(t,t=>{let n=t.validationContext;return{type:`fields_select_input`,options:Object.entries(n.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:e,type:t.type})).map(e=>({value:e.fieldName,label:e.fieldLabel,widgets:{field_type:{type:e.type}}})),...e}}),t},Xi=e=>gi(e,y),Zi=e=>ui(e,y),Qi=e=>di(e,y),$i=e=>mi(e,y),ea=e=>hi(e,y),ta=e=>yi(e,y),na=e=>Li(e,y),ra=e=>bi(e,y),ia=e=>Si(e,y),O=e=>Ci(e,y),k=e=>Di(e,y),aa=e=>Ti(e,y),oa=e=>Ei(e,y),sa=e=>ji(e,y),ca=e=>Mi(e,y),la=e=>Ni(e,y),ua=e=>Oi(e,y),da=e=>ki(e,y),fa=e=>Ai(e,y),pa=e=>Pi(e,y),A=e=>ui(e,b),ma=e=>di(e,b),ha=e=>Fi(e,b),j=e=>gi(e,b),M=e=>yi(e,b),ga=e=>bi(e,b),_a=e=>xi(e,b),va=e=>Si(e,b),ya=e=>Ci(e,b),ba=e=>wi(e,b),N=e=>Di(e,b,`pipe_io`),xa=e=>Ti(e,b),Sa=e=>Ei(e,b),Ca=e=>ji(e,b),P=e=>Ni(e,b),F=e=>Ii(e,b),I=e=>Li(e,b),L=e=>Oi(e,b),wa=e=>ki(e,b),R=e=>(e=e.check(e=>{let t=e.value,n=!1;for(let e in t)if(t[e]?.enabled){n=!0;break}n||e.issues.push({code:`custom`,input:e.value,message:`All output fields are disabled. Enable at least one output.`})}),e.optional()),z=e=>e.optional();function Ta(e,t){if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]===void 0?n[e]=r:n[e]!==null&&typeof n[e]==`object`&&!Array.isArray(n[e])&&typeof r==`object`&&r&&!Array.isArray(r)&&(n[e]=Ta(n[e],r));return n}const B={EMAIL:`Email`,TEXT:`Text`,CHAT:`Chat`,PERSONAL_EMAIL:`Personal Email`,NAMES:`Names`,WORK_EMAIL:`Work Email`,WATERFALL:`Waterfall`,WEBSITE:`Website`,SCRAPE:`Scrape`,ADDRESS:`Address`,NEWS:`News`,LINKEDIN:`LinkedIn`,FINANCIAL_DATA:`Financial Data`,AI:`AI`,PHONE:`Phone Number`,NEW:`New`,BETA:`Beta`,PEOPLE_PROFILES:`People Profiles`,COMPANY_PROFILES:`Company Profiles`,JSON:`Json`,FIELDS:`Fields`,LOGIC:`Logic`,DEPRECATED:`Deprecated โ`},Ea=e=>typeof e.kind==`string`,Da=e=>Ea(e)?e:{kind:`field`,field:e},V=e=>({kind:`field`,field:e}),Oa=(...e)=>({kind:`all`,of:e.map(Da)}),H=(...e)=>({kind:`any`,of:e.map(Da)}),ka=e=>({kind:`optional`,field:e});function Aa(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Aa(e,t));case`any`:return e.of.some(e=>Aa(e,t))}}function ja(e){switch(e.kind){case`field`:return[{field:e.field,required:!0}];case`optional`:return[{field:e.field,required:!1}];case`all`:case`any`:return e.of.flatMap(ja)}}function Ma(e,t){let n=Na(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Na(e,t){switch(e.kind){case`optional`:return{ok:!0};case`field`:{let n=t.fields[e.field.resolvedName];if(!n)throw Error(`Record field does not exist ${e.field.name} for requirement.`);return n.status===`completed`||n.status===`queued`?{ok:!0}:{ok:!1,field:e.field,recordField:n}}case`all`:for(let n of e.of){let e=Na(n,t);if(!e.ok)return e}return{ok:!0};case`any`:{let n=null,r=!1;for(let i of e.of)try{let e=Na(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Pa(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Pa).filter(e=>!Nt(e));let t={};for(let[n,r]of Object.entries(e)){let e=Pa(r);Nt(e)||(t[n]=e)}return t}const Fa=await l();var Ia=class e{static hashObject(t){if(!Fa)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Fa,r=e.normalizeObject(t);return n(JSON.stringify(r))}static normalizeObject(t){if(typeof t!=`object`||!t)return t;if(Array.isArray(t))return t.map(t=>e.normalizeObject(t));let n={},r=Object.keys(t).sort();for(let i of r)n[i]=e.normalizeObject(t[i]);return n}};function La(e,t){let n={pipeId:e,config:Pa(t)};return Ia.hashObject(n)}function Ra(e,t){let n={};return Object.values(t).forEach(t=>{let r=t,i=e.fields[r.resolvedName];i?.value!=null&&(n[r.resolvedName]=i.value)}),Object.keys(n).length===0?null:Ia.hashObject(Pa(n))}var U=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}catalogOutput(e,{isPrimaryOutput:t=!1,resolveFormat:n,resolveType:r}={resolveType:void 0,resolveFormat:void 0,isPrimaryOutput:!1}){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:r||e.type,format:n||e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0,isPrimaryOutput:t}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}get inputFields(){let e={};for(let{field:t}of ja(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return La(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return Ra(e,this.inputFields)}};function za(e,t){let n={};for(let r of t)for(let t of Object.values(e))if(t&&t.provider===r&&t.allowManagedConnection){n[r]=t.credits.default;break}return n}function Ba(e){return ja(e).map(({field:e})=>e)}function Va({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function Ha({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function Ua({recordField:e,reason:t,resolvedBy:n,widgets:r={}}){return e.value=null,e.status=`no_result`,e.resolved_by=n,e.reason=t,e.widgets=r,e}function Wa(e,t,n){return e.value=null,e.status=`failed`,e.resolved_by=null,e.reason=t,e.resolved_by=n,e.widgets={},e}function Ga(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function Ka(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function W(e){return e.split(`@`)[0]}function G(e){return`/docs/pipe-catalog/${W(e)}/${e.split(`@`)[1]}`}function K(e,t){return{name:e.name,description:e.description,resolvedName:t?.input_fields?.[e.name]?.alias||e.name,type:e.type,label:e.label,format:e.format}}const qa=`company:domain:workemail@1`,Ja=_(`company_domain`),Ya=_(`work_email`),Xa=r.object({pipe_id:r.literal(qa),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Ya.name]:E({fieldName:Ya.name})})),output_fields:R(r.object({[Ja.name]:k({fieldName:Ja.name})}))}).optional()}),Za=e=>V(K(Ya,e)),Qa={"company-domain-workemail-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},$a=class extends U{pipeId=qa;payload;payloadSchema=Xa;billableOperations=Qa;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-domain-workemail-v1-pipe0`]}getInputRequirement(){return Za(this.payload.config)}getRawOutputFields(){return{[Ja.name]:this.catalogOutput(Ja)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},eo=Xa,to={pipeId:qa,basePipe:W(qa),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Extract the company website URL from a work email address.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WEBSITE],docPath:G(qa),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Qa,defaultInputRequirement:Za(null),defaultPayload:{pipe_id:qa,connector:null,run_if:null,config:{input_fields:{[Ya.name]:{alias:``}},output_fields:{[Ja.name]:{alias:``,enabled:!0}}}}},no=`company:funding:leadmagic@2`,ro=_(`company_name`),io=_(`company_domain`),ao=_(`funding_history`),oo=_(`funding_total_usd`),so=_(`leadmagic_competitor_list`),co=_(`leadmagic_acquisition_history`),lo=_(`leadmagic_company_news_list`),uo=r.object({pipe_id:r.literal(no),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[ro.name]:E({fieldName:ro.name}),[io.name]:E({fieldName:io.name})})),output_fields:R(r.object({[ao.name]:k({fieldName:ao.name}),[oo.name]:k({fieldName:oo.name}),[so.name]:k({fieldName:so.name}),[co.name]:k({fieldName:co.name}),[lo.name]:k({fieldName:lo.name})}))}).optional()}),fo=e=>H(K(ro,e),K(io,e)),po={"company-funding-leadmagic-v2-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},mo=class extends U{pipeId=no;payload;payloadSchema=uo;billableOperations=po;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`company-funding-leadmagic-v2-leadmagic`]}getInputRequirement(){return fo(this.payload.config)}getRawOutputFields(){return{[ao.name]:this.catalogOutput(ao),[oo.name]:this.catalogOutput(oo),[co.name]:this.catalogOutput(co),[lo.name]:this.catalogOutput(lo),[so.name]:this.catalogOutput(so)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},ho=uo,go={pipeId:no,basePipe:W(no),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[B.FINANCIAL_DATA],docPath:G(no),billableOperations:po,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:fo(null),defaultPayload:{pipe_id:no,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_domain:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},_o=_(`company_name`),vo=_(`company_profile_url`),yo=_(`company_domain`),bo=_(`cleaned_company_name`),xo=`company:identity@3`,So=r.object({pipe_id:r.literal(xo),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[_o.name]:E({fieldName:_o.name})})),output_fields:R(r.object({[vo.name]:k({fieldName:vo.name}),[bo.name]:k({fieldName:bo.name}),[yo.name]:k({fieldName:yo.name})}))}).optional()}),Co=e=>V(K(_o,e)),wo={"company-identity-v3-pipe0":{allowManagedConnection:!0,credits:{default:.3,level1:{credits:.2,weight:1}},mode:`always`,provider:`pipe0`}},To=class extends U{pipeId=xo;payload;payloadSchema=So;billableOperations=wo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v3-pipe0`]}getInputRequirement(){return Co(this.payload.config)}getRawOutputFields(){return{[vo.name]:this.catalogOutput(vo),[yo.name]:this.catalogOutput(yo),[bo.name]:this.catalogOutput(bo)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Eo=So,Do={pipeId:xo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(xo),label:`Company identity`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(xo),billableOperations:wo,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Co(null),defaultPayload:{pipe_id:xo,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},Oo=_(`company_domain`),ko=_(`company_name`),Ao=_(`crustdata_company_identity_matches`),jo=`company:identity:crustdata@1`,Mo=r.object({pipe_id:r.literal(jo),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Oo.name]:E({fieldName:Oo.name}),[ko.name]:E({fieldName:ko.name})})),output_fields:R(r.object({[Ao.name]:k({fieldName:Ao.name})}))}).optional()}),No=e=>H(K(Oo,e),K(ko,e)),Po={"company-identity-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:.001},mode:`onSuccess`,provider:`crustdata`}},Fo=class extends U{pipeId=jo;payload;payloadSchema=Mo;billableOperations=Po;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-identity-crustdata-v1-crustdata`]}getInputRequirement(){return No(this.payload.config)}getRawOutputFields(){return{[Ao.name]:this.catalogOutput(Ao)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_identify`,allowManagedConnection:!0}]}},Io=Mo,Lo={pipeId:jo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(jo),label:`Company identity`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Resolve a company to Crustdata's matching candidates by domain or name. Returns the full list of matches.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(jo),billableOperations:Po,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:No(null),defaultPayload:{pipe_id:jo,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``},company_name:{alias:``}},output_fields:{crustdata_company_identity_matches:{alias:``,enabled:!0}}}}},Ro=_(`company_domain`),zo=_(`companyenrich_matches`),Bo=`company:lookalikes:companyenrich@2`,Vo=r.object({pipe_id:r.literal(Bo),run_if:S(),connector:w(),config:r.object({limit:ua({groupPath:`config.general`,max:50,min:1,path:`config.limit`,required:!0,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[Ro.name]:E({fieldName:Ro.name})})),output_fields:R(r.object({[zo.name]:k({fieldName:zo.name})}))}).optional()}),Ho=e=>V(K(Ro,e)),Uo={"company-lookalikes-companyenrich-v2-companyenrich":{allowManagedConnection:!0,credits:{default:.2,level1:{credits:.1,weight:1}},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Wo=class extends U{pipeId=Bo;payload;payloadSchema=Vo;billableOperations=Uo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`lookalikes-companyenrich`)}getInputRequirement(){return Ho(this.payload.config)}getRawOutputFields(){return{[zo.name]:this.catalogOutput(zo)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Go=Vo,Ko={pipeId:Bo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Bo),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[B.COMPANY_PROFILES],docPath:G(Bo),billableOperations:Uo,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:Ho(null),defaultPayload:{pipe_id:Bo,connector:null,run_if:null,config:{limit:20,input_fields:{company_domain:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},qo=_(`company_domain`),Jo=_(`crustdata_companyenrich_match`),Yo=`company:match:crustdata@2`,Xo=r.object({pipe_id:r.literal(Yo),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[qo.name]:E({fieldName:qo.name})})),output_fields:R(r.object({[Jo.name]:k({fieldName:Jo.name})}))}).optional()}),Zo=e=>V(K(qo,e)),Qo={"company-match-crustdata-v2-crustdata":{allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.2,weight:1}},mode:`onSuccess`,provider:`crustdata`}},$o=class extends U{pipeId=Yo;payload;payloadSchema=Xo;billableOperations=Qo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-match-crustdata-v2-crustdata`]}getInputRequirement(){return Zo(this.payload.config)}getRawOutputFields(){return{[Jo.name]:this.catalogOutput(Jo)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},es=Xo,ts={pipeId:Yo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Yo),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(Yo),billableOperations:Qo,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Zo(null),defaultPayload:{pipe_id:Yo,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},ns=_(`company_domain`),rs=_(`company_name`),is=_(`company_profile_url`),as=_(`logodev_describe_match`),os=_(`logo_url`),ss=`company:match:logodev@2`,cs=r.object({pipe_id:r.literal(ss),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[ns.name]:E({fieldName:ns.name})})),output_fields:R(r.object({[is.name]:k({fieldName:is.name}),[os.name]:k({fieldName:os.name}),[rs.name]:k({fieldName:rs.name}),[as.name]:k({fieldName:as.name})}))}).optional()}),ls=e=>V(K(ns,e)),us={"company-match-logodev-v2-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},ds=class extends U{pipeId=ss;payload;payloadSchema=cs;billableOperations=us;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`company-match-logodev-v2-logodev`]}getInputRequirement(){return ls(this.payload.config)}getRawOutputFields(){return{[is.name]:this.catalogOutput(is),[rs.name]:this.catalogOutput(rs),[os.name]:this.catalogOutput(os),[as.name]:this.catalogOutput(as)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},fs=cs,ps={pipeId:ss,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(ss),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(ss),billableOperations:us,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:ls(null),defaultPayload:{pipe_id:ss,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},ms=`company:newssummary:domain@1`,hs=_(`company_news_summary`),gs=_(`company_domain`),_s=r.object({pipe_id:r.literal(ms),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[gs.name]:E({fieldName:gs.name})})),output_fields:R(r.object({[hs.name]:k({fieldName:hs.name})}))}).optional()}),vs=e=>V(K(gs,e)),ys={"company-newssummary-domain-v1-pipe0":{allowManagedConnection:!0,credits:{default:2},mode:`always`,provider:`pipe0`}},bs=class extends U{pipeId=ms;payloadSchema=_s;billableOperations=ys;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-newssummary-domain-v1-pipe0`]}getInputRequirement(){return vs(this.payload.config)}getRawOutputFields(){return{[hs.name]:this.catalogOutput(hs)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0}]}},xs=_s,Ss={pipeId:ms,basePipe:W(ms),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find recent company news by performing a search and scrape.`,tags:[B.NEWS],docPath:G(ms),billableOperations:ys,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:vs(null),defaultPayload:{pipe_id:ms,run_if:null,connector:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},Cs=_(`company_domain`),ws=_(`company_profile_url`),Ts=_(`company_description`),Es=_(`company_industry`),Ds=_(`company_region`),Os=_(`headcount`),ks=_(`estimated_revenue`),As=_(`founded_year`),js=_(`company_name`),Ms=`company:overview@3`,Ns=r.object({pipe_id:r.literal(Ms),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Cs.name]:E({fieldName:Cs.name}),[ws.name]:E({fieldName:ws.name})})),output_fields:R(r.object({[Ts.name]:k({fieldName:Ts.name}),[Es.name]:k({fieldName:Es.name}),[Ds.name]:k({fieldName:Ds.name}),[Os.name]:k({fieldName:Os.name}),[ks.name]:k({fieldName:ks.name}),[As.name]:k({fieldName:As.name}),[js.name]:k({fieldName:js.name})}))}).optional()}),Ps=e=>H(K(Cs,e),K(ws,e)),Fs={"company-overview-v3-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`always`}},Is=class extends U{pipeId=Ms;payloadSchema=Ns;billableOperations=Fs;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v3-pipe0`]}getInputRequirement(){return Ps(this.payload.config)}getRawOutputFields(){return{[Ts.name]:this.catalogOutput(Ts),[Es.name]:this.catalogOutput(Es),[Ds.name]:this.catalogOutput(Ds),[Os.name]:this.catalogOutput(Os),[ks.name]:this.catalogOutput(ks),[As.name]:this.catalogOutput(As),[js.name]:this.catalogOutput(js)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},Ls=Ns,Rs={pipeId:Ms,basePipe:W(Ms),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:G(Ms),tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Fs,defaultInputRequirement:Ps(null),defaultPayload:{pipe_id:Ms,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_domain:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},zs=_(`company_domain`),Bs=_(`technology_list`),Vs=_(`spending_trend`),Hs=_(`technology_match_builtwith`),Us=`company:techstack:builtwith@2`,Ws=r.object({pipe_id:r.literal(Us),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[zs.name]:E({fieldName:zs.name})})),output_fields:R(r.object({[Bs.name]:k({fieldName:Bs.name}),[Hs.name]:k({fieldName:Hs.name}),[Vs.name]:k({fieldName:Vs.name})}))}).optional()}),Gs=e=>V(K(zs,e)),Ks={"company-techstack-builtwith-v2-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},qs=class extends U{pipeId=Us;payload;payloadSchema=Ws;billableOperations=Ks;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`company-techstack-builtwith-v2-builtwith`]}getInputRequirement(){return Gs(this.payload.config)}getRawOutputFields(){return{[Bs.name]:this.catalogOutput(Bs),[Hs.name]:this.catalogOutput(Hs),[Vs.name]:this.catalogOutput(Vs)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Js=Ws,Ys={pipeId:Us,basePipe:W(Us),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`All technologies and frameworks powering a given website.`,tags:[B.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:G(Us),billableOperations:Ks,defaultInputRequirement:Gs(null),defaultPayload:{pipe_id:Us,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},Xs={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},Zs=`contact:create:resend@1`,Qs={"contact-create-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},$s=_(`email`),ec=_(`name`),tc=_(`resend_contact_id`),nc=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],rc=r.object({pipe_id:r.literal(Zs),connector:qi(),run_if:S(),config:r.object({segment_id:pa({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:dn(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return nc;if(!t)throw new Xs.MissingSecretError({providerName:`resend`});let r=await fetch(`https://api.resend.com/segments?limit=100`,{headers:{Authorization:`Bearer ${t}`}});if(!r.ok){let e=await r.text();throw new Xs.HttpError({msg:e})}let i=(await r.json()).data.map(e=>({label:e.name,value:e.id}));return e?i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):i}}}),add_as_subscribed:O({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:z(r.object({[ec.name]:E({fieldName:ec.name}),[$s.name]:E({fieldName:$s.name})})),output_fields:R(r.object({[tc.name]:k({fieldName:tc.name})}))})}),ic=e=>Oa(V(K($s,e)),V(K(ec,e))),ac=class extends U{pipeId=Zs;payload;payloadSchema=rc;billableOperations=Qs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend-v1-resend`]}getInputRequirement(){return ic(this.payload.config)}getRawOutputFields(){return{[tc.name]:this.catalogOutput(tc)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},oc=rc,sc={pipeId:Zs,basePipe:W(Zs),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[B.EMAIL],docPath:G(Zs),billableOperations:Qs,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:ic(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Zs,connector:{strategy:`first`,connections:[]},run_if:null,config:{segment_id:``,add_as_subscribed:!0,input_fields:{name:{alias:``},email:{alias:``}},output_fields:{resend_contact_id:{alias:``,enabled:!0}}}}},cc=`company:funding:leadmagic@1`,lc=_(`company_name`),uc=_(`company_website_url`),dc=_(`funding_history`),fc=_(`funding_total_usd`),pc=_(`leadmagic_competitor_list`),mc=_(`leadmagic_acquisition_history`),hc=_(`leadmagic_company_news_list`),gc=r.object({pipe_id:r.literal(cc),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[lc.name]:E({fieldName:lc.name}),[uc.name]:E({fieldName:uc.name})})),output_fields:R(r.object({[dc.name]:k({fieldName:dc.name}),[fc.name]:k({fieldName:fc.name}),[pc.name]:k({fieldName:pc.name}),[mc.name]:k({fieldName:mc.name}),[hc.name]:k({fieldName:hc.name})}))}).optional()}),_c=e=>H(K(lc,e),K(uc,e)),vc={"company-funding-leadmagic-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},yc=class extends U{pipeId=cc;payload;payloadSchema=gc;billableOperations=vc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`company-funding-leadmagic-v1-leadmagic`]}getInputRequirement(){return _c(this.payload.config)}getRawOutputFields(){return{[dc.name]:this.catalogOutput(dc),[fc.name]:this.catalogOutput(fc)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},bc=gc,xc={pipeId:cc,basePipe:W(cc),label:`Funding history`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:funding:leadmagic@2`},description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[B.FINANCIAL_DATA],docPath:G(cc),billableOperations:vc,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:_c(null),defaultPayload:{pipe_id:cc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_website_url:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},Sc=_(`company_name`),Cc=_(`company_social_url`),wc=_(`company_website_url`),Tc=_(`cleaned_company_name`),Ec=`company:identity@1`,Dc=r.object({pipe_id:r.literal(Ec),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Sc.name]:E({fieldName:Sc.name})})),output_fields:R(r.object({[Cc.name]:k({fieldName:Cc.name}),[Tc.name]:k({fieldName:Tc.name}),[wc.name]:k({fieldName:wc.name})}))}).optional()}),Oc=e=>V(K(Sc,e)),kc={"company-identity-v1-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Ac=class extends U{pipeId=Ec;payload;payloadSchema=Dc;billableOperations=kc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v1-pipe0`]}getInputRequirement(){return Oc(this.payload.config)}getRawOutputFields(){return{[Cc.name]:this.catalogOutput(Cc),[wc.name]:this.catalogOutput(wc),[Tc.name]:this.catalogOutput(Tc)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},jc=Dc,Mc={pipeId:Ec,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Ec),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:kc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Oc(null),defaultPayload:{pipe_id:Ec,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_social_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},Nc=_(`company_name`),Pc=_(`company_profile_url`),Fc=_(`company_website_url`),Ic=_(`cleaned_company_name`),Lc=`company:identity@2`,Rc=r.object({pipe_id:r.literal(Lc),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Nc.name]:E({fieldName:Nc.name})})),output_fields:R(r.object({[Pc.name]:k({fieldName:Pc.name}),[Ic.name]:k({fieldName:Ic.name}),[Fc.name]:k({fieldName:Fc.name})}))}).optional()}),zc=e=>V(K(Nc,e)),Bc={"company-identity-v2-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Vc=class extends U{pipeId=Lc;payload;payloadSchema=Rc;billableOperations=Bc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v2-pipe0`]}getInputRequirement(){return zc(this.payload.config)}getRawOutputFields(){return{[Pc.name]:this.catalogOutput(Pc),[Fc.name]:this.catalogOutput(Fc),[Ic.name]:this.catalogOutput(Ic)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Hc=Rc,Uc={pipeId:Lc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Lc),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@3`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(Lc),billableOperations:Bc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:zc(null),defaultPayload:{pipe_id:Lc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},Wc=_(`company_website_url`),Gc=_(`companyenrich_matches`),Kc=`company:lookalikes:companyenrich@1`,qc=r.object({pipe_id:r.literal(Kc),run_if:S(),connector:w(),config:r.object({limit:ua({groupPath:`config.general`,max:50,min:1,path:`config.limit`,required:!0,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[Wc.name]:E({fieldName:Wc.name})})),output_fields:R(r.object({[Gc.name]:k({fieldName:Gc.name})}))}).optional()}),Jc=e=>V(K(Wc,e)),Yc={"company-lookalikes-companyenrich-v1-companyenrich":{allowManagedConnection:!0,credits:{default:.2},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Xc=class extends U{pipeId=Kc;payload;payloadSchema=qc;billableOperations=Yc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`lookalikes-companyenrich`)}getInputRequirement(){return Jc(this.payload.config)}getRawOutputFields(){return{[Gc.name]:this.catalogOutput(Gc)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Zc=qc,Qc={pipeId:Kc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Kc),label:`Find company lookalikes`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:lookalikes:companyenrich@2`},description:`Find companies similar to the company you provide as input.`,tags:[B.COMPANY_PROFILES],docPath:G(Kc),billableOperations:Yc,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:Jc(null),defaultPayload:{pipe_id:Kc,connector:null,run_if:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},$c=_(`company_website_url`),el=_(`crustdata_companyenrich_match`),tl=`company:match:crustdata@1`,nl=r.object({pipe_id:r.literal(tl),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[$c.name]:E({fieldName:$c.name})})),output_fields:R(r.object({[el.name]:k({fieldName:el.name})}))}).optional()}),rl=e=>V(K($c,e)),il={"company-match-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`,provider:`crustdata`}},al=class extends U{pipeId=tl;payload;payloadSchema=nl;billableOperations=il;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-match-crustdata-v1-crustdata`]}getInputRequirement(){return rl(this.payload.config)}getRawOutputFields(){return{[el.name]:this.catalogOutput(el)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},ol=nl,sl={pipeId:tl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(tl),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:crustdata@2`},description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(tl),billableOperations:il,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:rl(null),defaultPayload:{pipe_id:tl,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},cl=_(`company_website_url`),ll=_(`company_name`),ul=_(`company_profile_url`),dl=_(`logodev_describe_match`),fl=_(`logo_url`),pl=`company:match:logodev@1`,ml=r.object({pipe_id:r.literal(pl),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[cl.name]:E({fieldName:cl.name})})),output_fields:R(r.object({[ul.name]:k({fieldName:ul.name}),[fl.name]:k({fieldName:fl.name}),[ll.name]:k({fieldName:ll.name}),[dl.name]:k({fieldName:dl.name})}))}).optional()}),hl=e=>V(K(cl,e)),gl={"company-match-logodev-v1-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},_l=class extends U{pipeId=pl;payload;payloadSchema=ml;billableOperations=gl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`company-match-logodev-v1-logodev`]}getInputRequirement(){return hl(this.payload.config)}getRawOutputFields(){return{[ul.name]:this.catalogOutput(ul),[ll.name]:this.catalogOutput(ll),[fl.name]:this.catalogOutput(fl),[dl.name]:this.catalogOutput(dl)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},vl=ml,yl={pipeId:pl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(pl),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:logodev@2`},description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(pl),billableOperations:gl,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:hl(null),defaultPayload:{pipe_id:pl,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},bl=`company:newssummary:website@1`,xl=_(`company_news_summary`),Sl=_(`company_website_url`),Cl=r.object({pipe_id:r.literal(bl),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Sl.name]:E({fieldName:Sl.name})})),output_fields:R(r.object({[xl.name]:k({fieldName:xl.name})}))}).optional()}),wl=e=>V(K(Sl,e)),Tl={"company-newssummary-website-v1-pipe0":{allowManagedConnection:!0,credits:{default:1},mode:`always`,provider:`pipe0`}},El=class extends U{pipeId=bl;payloadSchema=Cl;billableOperations=Tl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-newssummary-website-v1-pipe0`]}getInputRequirement(){return wl(this.payload.config)}getRawOutputFields(){return{[xl.name]:this.catalogOutput(xl)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},Dl=Cl,Ol={pipeId:bl,basePipe:W(bl),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:newssummary:domain@1`},description:`Find recent company news by performing a search and scrape.`,tags:[B.NEWS],docPath:G(bl),billableOperations:Tl,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:wl(null),defaultPayload:{pipe_id:bl,run_if:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},kl=_(`company_website_url`),Al=_(`company_social_url`),jl=_(`company_description`),Ml=_(`company_industry`),Nl=_(`company_region`),Pl=_(`headcount`),Fl=_(`estimated_revenue`),Il=_(`founded_year`),Ll=`company:overview@1`,Rl=r.object({pipe_id:r.literal(Ll),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[kl.name]:E({fieldName:kl.name}),[Al.name]:E({fieldName:Al.name})})),output_fields:R(r.object({[jl.name]:k({fieldName:jl.name}),[Ml.name]:k({fieldName:Ml.name}),[Nl.name]:k({fieldName:Nl.name}),[Pl.name]:k({fieldName:Pl.name}),[Fl.name]:k({fieldName:Fl.name}),[Il.name]:k({fieldName:Il.name})}))}).optional()}),zl=e=>H(K(kl,e),K(Al,e)),Bl={"company-overview-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},Vl=class extends U{pipeId=Ll;payloadSchema=Rl;billableOperations=Bl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v1-pipe0`]}getInputRequirement(){return zl(this.payload.config)}getRawOutputFields(){return{[jl.name]:this.catalogOutput(jl),[Ml.name]:this.catalogOutput(Ml),[Nl.name]:this.catalogOutput(Nl),[Pl.name]:this.catalogOutput(Pl),[Fl.name]:this.catalogOutput(Fl),[Il.name]:this.catalogOutput(Il)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},Hl=Rl,Ul={pipeId:Ll,basePipe:W(Ll),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find high-level business and financial information like company description, estimated revenue, and headcount.`,docPath:`/resources/pipe-catalog/company:overview/1`,tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA,B.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Bl,defaultInputRequirement:zl(null),defaultPayload:{pipe_id:Ll,run_if:null,connector:void 0,config:{input_fields:{company_social_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0}}}}},Wl=_(`company_website_url`),Gl=_(`company_profile_url`),Kl=_(`company_description`),ql=_(`company_industry`),Jl=_(`company_region`),Yl=_(`headcount`),Xl=_(`estimated_revenue`),Zl=_(`founded_year`),Ql=_(`company_name`),$l=`company:overview@2`,eu=r.object({pipe_id:r.literal($l),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Wl.name]:E({fieldName:Wl.name}),[Gl.name]:E({fieldName:Gl.name})})),output_fields:R(r.object({[Kl.name]:k({fieldName:Kl.name}),[ql.name]:k({fieldName:ql.name}),[Jl.name]:k({fieldName:Jl.name}),[Yl.name]:k({fieldName:Yl.name}),[Xl.name]:k({fieldName:Xl.name}),[Zl.name]:k({fieldName:Zl.name}),[Ql.name]:k({fieldName:Ql.name})}))}).optional()}),tu=e=>H(K(Wl,e),K(Gl,e)),nu={"company-overview-v2-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},ru=class extends U{pipeId=$l;payloadSchema=eu;billableOperations=nu;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v2-pipe0`]}getInputRequirement(){return tu(this.payload.config)}getRawOutputFields(){return{[Kl.name]:this.catalogOutput(Kl),[ql.name]:this.catalogOutput(ql),[Jl.name]:this.catalogOutput(Jl),[Yl.name]:this.catalogOutput(Yl),[Xl.name]:this.catalogOutput(Xl),[Zl.name]:this.catalogOutput(Zl),[Ql.name]:this.catalogOutput(Ql)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},iu=eu,au={pipeId:$l,basePipe:W($l),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:overview@3`},description:`Business description, industry, and financial information.`,docPath:G($l),tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:nu,defaultInputRequirement:tu(null),defaultPayload:{pipe_id:$l,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},ou=_(`company_website_url`),su=_(`technology_list`),cu=_(`spending_trend`),lu=_(`technology_match_builtwith`),uu=`company:techstack:builtwith@1`,du=r.object({pipe_id:r.literal(uu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[ou.name]:E({fieldName:ou.name})})),output_fields:R(r.object({[su.name]:k({fieldName:su.name}),[lu.name]:k({fieldName:lu.name}),[cu.name]:k({fieldName:cu.name})}))}).optional()}),fu=e=>V(K(ou,e)),pu={"company-techstack-builtwith-v1-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},mu=class extends U{pipeId=uu;payload;payloadSchema=du;billableOperations=pu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`company-techstack-builtwith-v1-builtwith`]}getInputRequirement(){return fu(this.payload.config)}getRawOutputFields(){return{[su.name]:this.catalogOutput(su),[lu.name]:this.catalogOutput(lu),[cu.name]:this.catalogOutput(cu)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},hu=du,gu={pipeId:uu,basePipe:W(uu),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:techstack:builtwith@2`},description:`All technologies and frameworks powering a given website.`,tags:[B.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:G(uu),billableOperations:pu,defaultInputRequirement:fu(null),defaultPayload:{pipe_id:uu,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},_u=`company:websiteurl:email@1`,vu=_(`company_website_url`),yu=_(`email`),bu=r.object({pipe_id:r.literal(_u),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[yu.name]:E({fieldName:yu.name})})),output_fields:R(r.object({[vu.name]:k({fieldName:vu.name})}))}).optional()}),xu=e=>V(K(yu,e)),Su={"company-websiteurl-email-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},Cu=class extends U{pipeId=_u;payload;payloadSchema=bu;billableOperations=Su;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-websiteurl-email-v1-pipe0`]}getInputRequirement(){return xu(this.payload.config)}getRawOutputFields(){return{[vu.name]:this.catalogOutput(vu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},wu=bu,Tu={pipeId:_u,basePipe:W(_u),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:domain:workemail@1`},description:`Extract the company website URL from a work email address.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WEBSITE],docPath:G(_u),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Su,defaultInputRequirement:xu(null),defaultPayload:{pipe_id:_u,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},Eu=`people:email:iswork@1`,Du=_(`is_work_email`),Ou=_(`email`),ku=r.object({pipe_id:r.literal(Eu),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Ou.name]:E({fieldName:Ou.name})})),output_fields:R(r.object({[Du.name]:k({fieldName:Du.name})}))}).optional()}),Au=e=>V(K(Ou,e)),ju={"people-email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Mu=class extends U{pipeId=Eu;payload;payloadSchema=ku;billableOperations=ju;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-email-iswork-v1-pipe0`]}getInputRequirement(){return Au(this.payload.config)}getRawOutputFields(){return{[Du.name]:this.catalogOutput(Du)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Nu=ku,Pu={pipeId:Eu,label:`Work email checker`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:iswork@1`},description:`Check if a given email address is personal or professional.`,tags:[B.EMAIL,B.WORK_EMAIL],docPath:G(Eu),billableOperations:ju,basePipe:W(Eu),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Au(null),defaultPayload:{pipe_id:Eu,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},Fu=`people:email:validate:zerobounce@1`,Iu=_(`work_email`),Lu=_(`is_email_valid`),Ru=r.object({pipe_id:r.literal(Fu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Iu.name]:E({fieldName:Iu.name})})),output_fields:R(r.object({[Lu.name]:k({fieldName:Lu.name})}))}).optional()}),zu=e=>V(K(Iu,e)),Bu={"people-email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},Vu=class extends U{pipeId=Fu;payload;payloadSchema=Ru;billableOperations=Bu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-email-validate-zerobounce-v1-zerobounce`]}getInputRequirement(){return zu(this.payload.config)}getRawOutputFields(){return{[Lu.name]:this.catalogOutput(Lu)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Hu=Ru,Uu={pipeId:Fu,basePipe:W(Fu),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@2`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:Bu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:zu(null),defaultPayload:{pipe_id:Fu,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},Wu=`people:email:validate:zerobounce@2`,Gu=_(`email`),Ku=_(`zerobounce_validation_status`),qu=_(`zerobounce_validation_match`),Ju=r.object({pipe_id:r.literal(Wu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Gu.name]:E({fieldName:Gu.name})})),output_fields:R(r.object({[qu.name]:k({fieldName:qu.name}),[Ku.name]:k({fieldName:Ku.name})}))}).optional()}),Yu=e=>V(K(Gu,e)),Xu={"people-email-validate-zerobounce-v2-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},Zu=class extends U{pipeId=Wu;payload;payloadSchema=Ju;billableOperations=Xu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-email-validate-zerobounce-v2-zerobounce`]}getInputRequirement(){return Yu(this.payload.config)}getRawOutputFields(){return{[Ku.name]:this.catalogOutput(Ku),[qu.name]:this.catalogOutput(qu)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Qu=Ju,$u={pipeId:Wu,basePipe:W(Wu),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:G(Wu),billableOperations:Xu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Yu(null),defaultPayload:{pipe_id:Wu,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}};function ed(e){return(e.widgets||{}).display_value?.label}function td(e){console.dir(e,{depth:100})}function nd(e){return typeof e==`object`&&e?JSON.stringify(e):e}function q(e){return e===0?1:e===1?.3:e===2?.2:.1}function rd(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=rd(e[n])}),t}const id={string:[`address_line_1`,`email`,`url`,`website_url`,`markdown`,`zip_code`,`date`,`datetime`,`phone`,`text`,`profile_url`],json:[`json_object`,`json_list`],number:[`int`,`decimal`],boolean:[],unknown:[]};function J(e,t){let n=Object.entries(t).filter(([t,n])=>n.provider===e);if(n.length!==1)throw Error(`Found ${n.length} billing operations for provider ${e}. This is not allowed. There must be exactly 1 billing operation per provider.`);let[r,i]=n[0];return{billableOperation:r,billableOperationDef:i}}const ad=`people:identity:email:waterfall@1`,od=_(`email`),sd=_(`company_website_url`),cd=_(`name`),ld=_(`job_title`),ud=_(`profile_url`),dd=_(`company_profile_url`),fd=_(`company_name`),pd=[`findymail`,`hunter`,`crustdata`],md=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],hd=r.object({pipe_id:r.literal(ad),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:pd,defaultProviders:md,sectionKey:`general`}),input_fields:z(r.object({[od.name]:E({fieldName:od.name})})),output_fields:R(r.object({[cd.name]:k({fieldName:cd.name}),[ud.name]:k({fieldName:ud.name}),[ld.name]:k({fieldName:ld.name}),[sd.name]:k({fieldName:sd.name}),[fd.name]:k({fieldName:fd.name}),[dd.name]:k({fieldName:dd.name})}))}).optional()}),gd=e=>V(K(od,e)),_d={"people-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},vd=class extends U{pipeId=ad;payload;payloadSchema=hd;billableOperations=_d;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return gd(this.payload.config)}getRawOutputFields(){return{[cd.name]:this.catalogOutput(cd,{isPrimaryOutput:!0}),[ud.name]:this.catalogOutput(ud,{isPrimaryOutput:!0}),[ld.name]:this.catalogOutput(ld,{isPrimaryOutput:!0}),[fd.name]:this.catalogOutput(fd,{isPrimaryOutput:!0}),[dd.name]:this.catalogOutput(dd,{isPrimaryOutput:!0}),[sd.name]:this.catalogOutput(sd,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},yd=hd,bd={pipeId:ad,basePipe:W(ad),label:`Person identity from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:identity:email:waterfall@1`},description:`Find identity of a person from their email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(ad),managedProviders:pd,deprecatedProviders:[],allowedUserConnectionProviders:pd,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:_d,defaultInputRequirement:gd(null),defaultPayload:{pipe_id:ad,connector:null,run_if:null,config:{providers:md,input_fields:{email:{alias:``}},output_fields:{name:{alias:``,enabled:!0},profile_url:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},xd=`people:match:role:waterfall@1`,Sd=_(`company_website_url`),Cd=_(`role_finder_match`),wd=[`leadmagic`],Td=[{provider:`leadmagic`}],Ed=r.object({pipe_id:r.literal(xd),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Td,availableProviders:wd}),roles:Qi({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:z(r.object({[Sd.name]:E({fieldName:Sd.name})})),output_fields:R(r.object({[Cd.name]:k({fieldName:Cd.name})}))})}),Dd=e=>H(K(Sd,e)),Od={"people-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},kd=class extends U{pipeId=xd;payload;payloadSchema=Ed;billableOperations=Od;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Dd(this.payload.config)}getRawOutputFields(){return{[Cd.name]:this.catalogOutput(Cd,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ad=Ed,jd={pipeId:xd,basePipe:W(xd),managedProviders:wd,deprecatedProviders:[],allowedUserConnectionProviders:wd,label:`Role finder`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:match:role:waterfall@1`},description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[B.PEOPLE_PROFILES],docPath:G(xd),billableOperations:Od,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Dd(null),defaultPayload:{pipe_id:xd,run_if:null,connector:null,config:{roles:[],providers:Td,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},Md=`people:mobilenumber:professionalprofile:waterfall@1`,Nd=_(`professional_profile_url`),Pd=_(`mobile_number`),Fd=[`leadmagic`,`prospeo`],Id=[{provider:`leadmagic`},{provider:`prospeo`}],Ld=r.object({pipe_id:r.literal(Md),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Id,availableProviders:Fd}),input_fields:z(r.object({[Nd.name]:E({fieldName:Nd.name})})),output_fields:R(r.object({[Pd.name]:k({fieldName:Pd.name})}))}).optional()}),Rd=e=>V(K(Nd,e)),zd={"people-mobilenumber-professionalprofile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-mobilenumber-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},Bd=class extends U{pipeId=Md;payload;payloadSchema=Ld;billableOperations=zd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Rd(this.payload.config)}getRawOutputFields(){return{[Pd.name]:this.catalogOutput(Pd)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Vd=Ld,Hd={pipeId:Md,basePipe:W(Md),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:profile:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:`/resources/pipe-catalog/people:mobilenumber:professionalprofile:waterfall/1`,tags:[B.PHONE,B.WATERFALL],billableOperations:zd,defaultInputRequirement:Rd(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Fd,deprecatedProviders:[],allowedUserConnectionProviders:Fd,defaultPayload:{pipe_id:Md,connector:null,run_if:null,config:{providers:Id,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Ud=`people:mobilenumber:workemail:waterfall@1`,Wd=_(`work_email`),Gd=_(`mobile_number`),Kd=[`leadmagic`],qd=[{provider:`leadmagic`}],Jd=r.object({pipe_id:r.literal(Ud),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Kd,defaultProviders:qd}),input_fields:z(r.object({[Wd.name]:E({fieldName:Wd.name})})),output_fields:R(r.object({[Gd.name]:k({fieldName:Gd.name})}))}).optional()}),Yd=e=>V(K(Wd,e)),Xd={"people-mobilenumber-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},Zd=class extends U{pipeId=Ud;payload;payloadSchema=Jd;billableOperations=Xd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yd(this.payload.config)}getRawOutputFields(){return{[Gd.name]:this.catalogOutput(Gd)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qd=Jd,$d={pipeId:Ud,basePipe:W(Ud),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:Xd,defaultInputRequirement:Yd(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Kd,managedProviders:Kd,deprecatedProviders:[],defaultPayload:{pipe_id:Ud,connector:null,run_if:null,config:{providers:qd,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},ef=`people:name:split@1`,tf=_(`name`),nf=_(`first_name`),rf=_(`last_name`),af=r.object({pipe_id:r.literal(ef),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[tf.name]:E({fieldName:tf.name})})),output_fields:R(r.object({[nf.name]:k({fieldName:nf.name}),[rf.name]:k({fieldName:rf.name})}))}).optional()}),of=e=>V(K(tf,e)),sf={"people-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},cf=class extends U{pipeId=ef;payload;payloadSchema=af;billableOperations=sf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-name-split-v1-pipe0`]}getInputRequirement(){return of(this.payload.config)}getRawOutputFields(){return{[nf.name]:this.catalogOutput(nf),[rf.name]:this.catalogOutput(rf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},lf=af,uf={pipeId:ef,basePipe:W(ef),label:`Split name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:name:split@1`},description:`Split a full name into first and last name.`,tags:[B.NAMES],docPath:G(ef),billableOperations:sf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:of(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ef,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},df=`people:personalemail:profile:waterfall@1`,ff=_(`profile_url`),pf=_(`personal_email`),mf=_(`alternate_personal_emails`),hf=[`clado`,`leadmagic`,`mixrank`],gf=[{provider:`leadmagic`},{provider:`mixrank`}],_f=r.object({pipe_id:r.literal(df),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:hf,defaultProviders:gf}),input_fields:z(r.object({[ff.name]:E({fieldName:ff.name})})),output_fields:R(r.object({[pf.name]:k({fieldName:pf.name}),[mf.name]:k({fieldName:mf.name})}))}).optional()}),vf=e=>V(K(ff,e)),yf={"people-personalemail-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:2},mode:`always`},"people-personalemail-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-personalemail-profile-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},bf=class extends U{pipeId=df;payload;payloadSchema=_f;billableOperations=yf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return vf(this.payload.config)}getRawOutputFields(){return{[pf.name]:this.catalogOutput(pf,{isPrimaryOutput:!0}),[mf.name]:this.catalogOutput(mf)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},xf=_f,Sf={pipeId:df,basePipe:W(df),allowedUserConnectionProviders:hf,managedProviders:hf,deprecatedProviders:[`clado`],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:personalemail:profileurl:waterfall@1`},description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[B.EMAIL,B.PERSONAL_EMAIL],docPath:G(df),billableOperations:yf,defaultInputRequirement:vf(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:df,connector:null,run_if:null,config:{providers:gf,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},Cf=`people:phone:profile:waterfall@1`,wf=_(`profile_url`),Tf=_(`mobile`),Ef=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],Df=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Of=r.object({pipe_id:r.literal(Cf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Df,availableProviders:Ef}),input_fields:z(r.object({[wf.name]:E({fieldName:wf.name})})),output_fields:R(r.object({[Tf.name]:k({fieldName:Tf.name})}))}).optional()}),kf=e=>V(K(wf,e)),Af={"people-phone-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6},mode:`onSuccess`},"people-phone-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},jf=class extends U{pipeId=Cf;payload;payloadSchema=Of;billableOperations=Af;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return kf(this.payload.config)}getRawOutputFields(){return{[Tf.name]:this.catalogOutput(Tf,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,clado:`clado_contact_information`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Mf=Of,Nf={pipeId:Cf,basePipe:W(Cf),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:profileurl:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:G(Cf),tags:[B.PHONE,B.WATERFALL],billableOperations:Af,defaultInputRequirement:kf(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Ef,allowedUserConnectionProviders:Ef,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:Cf,connector:null,run_if:null,config:{providers:Df,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Pf=`people:phone:workemail:waterfall@1`,Ff=_(`work_email`),If=_(`mobile`),Lf=[`leadmagic`,`amplemarket`],Rf=[{provider:`leadmagic`},{provider:`amplemarket`}],zf=r.object({pipe_id:r.literal(Pf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Lf,defaultProviders:Rf}),input_fields:z(r.object({[Ff.name]:E({fieldName:Ff.name})})),output_fields:R(r.object({[If.name]:k({fieldName:If.name})}))}).optional()}),Bf=e=>V(K(Ff,e)),Vf={"people-phone-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},Hf=class extends U{pipeId=Pf;payload;payloadSchema=zf;billableOperations=Vf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Bf(this.payload.config)}getRawOutputFields(){return{[If.name]:this.catalogOutput(If,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Uf=zf,Wf={pipeId:Pf,basePipe:W(Pf),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:G(Pf),billableOperations:Vf,defaultInputRequirement:Bf(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Lf,managedProviders:Lf,deprecatedProviders:[],defaultPayload:{pipe_id:Pf,connector:null,run_if:null,config:{providers:Rf,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Gf=`people:professionalprofile:waterfall@1`,Kf=_(`professional_profile`),qf=_(`professional_profile_url`),Jf=[`prospeo`,`icypeas`],Yf=[{provider:`prospeo`},{provider:`icypeas`}],Xf=r.object({pipe_id:r.literal(Gf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Jf,defaultProviders:Yf}),input_fields:z(r.object({[qf.name]:E({fieldName:qf.name})})),output_fields:R(r.object({[Kf.name]:k({fieldName:Kf.name})}))}).optional()}),Zf=e=>V(K(qf,e)),Qf={"people-professionalprofile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},$f=class extends U{pipeId=Gf;payload;payloadSchema=Xf;billableOperations=Qf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Zf(this.payload.config)}getRawOutputFields(){return{[Kf.name]:this.catalogOutput(Kf)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},ep=Xf,tp={pipeId:Gf,basePipe:W(Gf),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:`/resources/pipe-catalog/people:professionalprofile:waterfall/1`,tags:[B.LINKEDIN,B.WATERFALL],managedProviders:Jf,deprecatedProviders:[],allowedUserConnectionProviders:Jf,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Qf,defaultInputRequirement:Zf(null),defaultPayload:{pipe_id:Gf,run_if:null,connector:null,config:{providers:Yf,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},np=`people:professionalprofileurl:email:waterfall@1`,rp=_(`email`),ip=_(`work_email`),ap=_(`professional_profile_url`),op=[`leadmagic`],sp=[{provider:`leadmagic`}],cp=r.object({pipe_id:r.literal(np),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:sp,availableProviders:op}),input_fields:z(r.object({[rp.name]:E({fieldName:rp.name}),[ip.name]:E({fieldName:ip.name})})),output_fields:R(r.object({[ap.name]:k({fieldName:ap.name})}))}).optional()}),lp=e=>H(K(rp,e),K(ip,e)),up={"people-professionalprofileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},dp=class extends U{pipeId=np;payload;payloadSchema=cp;billableOperations=up;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return lp(this.payload.config)}getRawOutputFields(){return{[ap.name]:this.catalogOutput(ap)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},fp=cp,pp={pipeId:np,basePipe:W(np),managedProviders:op,deprecatedProviders:[],allowedUserConnectionProviders:op,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:up,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:lp(null),defaultPayload:{pipe_id:np,run_if:null,connector:null,config:{providers:sp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},mp=`people:professionalprofileurl:name@1`,hp=_(`name`),gp=_(`company_name`),_p=_(`location_hint`),vp=_(`professional_profile_url`),yp=r.object({pipe_id:r.literal(mp),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[hp.name]:E({fieldName:hp.name}),[gp.name]:E({fieldName:gp.name}),[_p.name]:E({fieldName:_p.name})})),output_fields:R(r.object({[vp.name]:k({fieldName:vp.name})}))}).optional()}),bp=e=>Oa(V(K(hp,e)),V(K(gp,e)),ka(K(_p,e))),xp={"people-professionalprofileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},Sp=class extends U{pipeId=mp;payload;payloadSchema=yp;billableOperations=xp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-professionalprofileurl-name-v1-pipe0`]}getInputRequirement(){return bp(this.payload.config)}getRawOutputFields(){return{[vp.name]:this.catalogOutput(vp)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},Cp=yp,wp={pipeId:mp,basePipe:W(mp),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:name@1`},allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:`/resources/pipe-catalog/people:professionalprofileurl:name/1`,tags:[B.LINKEDIN],billableOperations:xp,defaultInputRequirement:bp(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:mp,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Tp=`people:profile:waterfall@1`,Ep=_(`profile`),Dp=_(`profile_url`),Op=[`prospeo`,`icypeas`,`amplemarket`,`clado`],kp=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Ap=r.object({pipe_id:r.literal(Tp),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Op,defaultProviders:kp}),input_fields:z(r.object({[Dp.name]:E({fieldName:Dp.name})})),output_fields:R(r.object({[Ep.name]:k({fieldName:Ep.name})}))}).optional()}),jp=e=>V(K(Dp,e)),Mp={"people-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-clado":{provider:`clado`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},Np=class extends U{pipeId=Tp;payload;payloadSchema=Ap;billableOperations=Mp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return jp(this.payload.config)}getRawOutputFields(){return{[Ep.name]:this.catalogOutput(Ep,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,clado:`clado_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Pp=Ap,Fp={pipeId:Tp,basePipe:W(Tp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:G(Tp),tags:[B.LINKEDIN,B.WATERFALL],managedProviders:Op,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Op,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Mp,defaultInputRequirement:jp(null),defaultPayload:{pipe_id:Tp,run_if:null,connector:null,config:{providers:kp,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Ip=_(`work_email`),Lp=_(`crustdata_person_match`),Rp=_(`crustdata_profile_match_score`),zp=`people:profile:workemail:crustdata@1`,Bp=r.object({pipe_id:r.literal(zp),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Ip.name]:E({fieldName:Ip.name})})),output_fields:R(r.object({[Lp.name]:k({fieldName:Lp.name}),[Rp.name]:k({fieldName:Rp.name})}))}).optional()}),Vp=e=>V(K(Ip,e)),Hp={"people-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},Up=class extends U{pipeId=zp;payload;payloadSchema=Bp;billableOperations=Hp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`people-profile-workemail-crustdata-v1-crustdata`]}getInputRequirement(){return Vp(this.payload.config)}getRawOutputFields(){return{[Lp.name]:this.catalogOutput(Lp),[Rp.name]:this.catalogOutput(Rp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Wp=Bp,Gp={pipeId:zp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(zp),label:`Profile from work email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:workemail:crustdata@1`},description:`Find person profile by their work email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(zp),billableOperations:Hp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Vp(null),defaultPayload:{pipe_id:zp,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},Kp=`people:profileurl:email:waterfall@1`,qp=_(`email`),Jp=_(`work_email`),Yp=_(`profile_url`),Xp=[`leadmagic`],Zp=[{provider:`leadmagic`}],Qp=r.object({pipe_id:r.literal(Kp),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Zp,availableProviders:Xp}),input_fields:z(r.object({[qp.name]:E({fieldName:qp.name}),[Jp.name]:E({fieldName:Jp.name})})),output_fields:R(r.object({[Yp.name]:k({fieldName:Yp.name})}))}).optional()}),$p=e=>H(K(qp,e),K(Jp,e)),em={"people-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},tm=class extends U{pipeId=Kp;payload;payloadSchema=Qp;billableOperations=em;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return $p(this.payload.config)}getRawOutputFields(){return{[Yp.name]:this.catalogOutput(Yp,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},nm=Qp,rm={pipeId:Kp,basePipe:W(Kp),managedProviders:Xp,deprecatedProviders:[],allowedUserConnectionProviders:Xp,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:G(Kp),billableOperations:em,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:$p(null),defaultPayload:{pipe_id:Kp,run_if:null,connector:null,config:{providers:Zp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},im=`people:validate:email:zerobounce@1`,am=_(`work_email`),om=_(`ip_address`),sm=_(`is_email_valid`),cm=r.object({pipe_id:r.literal(im),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[am.name]:E({fieldName:am.name}),[om.name]:E({fieldName:om.name})})),output_fields:R(r.object({[sm.name]:k({fieldName:sm.name})}))}).optional()}),lm=e=>Oa(V(K(am,e)),ka(K(om,e))),um={"people-validate-email-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.5},mode:`always`}},dm=class extends U{pipeId=im;payload;payloadSchema=cm;billableOperations=um;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-validate-email-zerobounce-v1-zerobounce`]}getInputRequirement(){return lm(this.payload.config)}getRawOutputFields(){return{[sm.name]:this.catalogOutput(sm)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},fm=cm,pm={pipeId:im,basePipe:W(im),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:um,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:lm(null),defaultPayload:{pipe_id:im,connector:null,run_if:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},mm=`people:workemail:profileurl:waterfall@1`,hm=_(`profile_url`),gm=_(`work_email`),_m=_(`email_validation_status`),vm=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],ym=[`clado`],bm=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],xm=r.object({pipe_id:r.literal(mm),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:vm,defaultProviders:bm,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[hm.name]:E({fieldName:hm.name})})),output_fields:R(r.object({[gm.name]:k({fieldName:gm.name}),[_m.name]:k({fieldName:_m.name})}))}).optional()}),Sm=e=>V(K(hm,e)),Cm={"people-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},wm=class extends U{pipeId=mm;payload;payloadSchema=xm;billableOperations=Cm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Sm(this.payload.config)}getRawOutputFields(){return{[gm.name]:this.catalogOutput(gm,{isPrimaryOutput:!0}),[_m.name]:this.catalogOutput(_m,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`,clado:`clado_contact_information`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Tm=xm,Em={pipeId:mm,basePipe:W(mm),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:profileurl:waterfall@1`},description:`Find work email addresses from B2B profile.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(mm),managedProviders:vm,allowedUserConnectionProviders:vm,deprecatedProviders:ym,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Cm,defaultInputRequirement:Sm(null),defaultPayload:{pipe_id:mm,connector:null,run_if:null,config:{providers:bm,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{profile_url:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!0}}}}},Dm=`people:workemail:waterfall@1`,Om=_(`name`),km=_(`company_website_url`),Am=_(`company_name`),jm=_(`work_email`),Mm=_(`email_validation_status`),Nm=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Pm=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Fm=r.object({pipe_id:r.literal(Dm),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:Nm,defaultProviders:Pm,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[Om.name]:E({fieldName:Om.name}),[km.name]:E({fieldName:km.name}),[Am.name]:E({fieldName:Am.name})})),output_fields:R(r.object({[jm.name]:k({fieldName:jm.name}),[Mm.name]:k({fieldName:Mm.name})}))}).optional()}),Im=e=>Oa(V(K(Om,e)),H(K(km,e),K(Am,e))),Lm={"people-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"people-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},Rm=class extends U{pipeId=Dm;payload;payloadSchema=Fm;billableOperations=Lm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Im(this.payload.config)}getRawOutputFields(){return{[jm.name]:this.catalogOutput(jm,{isPrimaryOutput:!0}),[Mm.name]:this.catalogOutput(Mm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},zm=Fm,Bm={pipeId:Dm,basePipe:W(Dm),label:`Work email from name`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:waterfall@1`},description:`Find work email addresses in a waterfall motion.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(Dm),managedProviders:Nm,deprecatedProviders:[],allowedUserConnectionProviders:Nm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Lm,defaultInputRequirement:Im(null),defaultPayload:{pipe_id:Dm,connector:null,run_if:null,config:{providers:Pm,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{company_name:{alias:``},company_website_url:{alias:``},name:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},Vm=`email:iswork@1`,Hm=_(`is_work_email`),Um=_(`email`),Wm=r.object({pipe_id:r.literal(Vm),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Um.name]:E({fieldName:Um.name})})),output_fields:R(r.object({[Hm.name]:k({fieldName:Hm.name})}))}).optional()}),Gm=e=>V(K(Um,e)),Km={"email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},qm=class extends U{pipeId=Vm;payload;payloadSchema=Wm;billableOperations=Km;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`email-iswork-v1-pipe0`]}getInputRequirement(){return Gm(this.payload.config)}getRawOutputFields(){return{[Hm.name]:this.catalogOutput(Hm)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Jm=Wm,Ym={pipeId:Vm,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[B.EMAIL,B.WORK_EMAIL],docPath:G(Vm),billableOperations:Km,basePipe:W(Vm),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Gm(null),defaultPayload:{pipe_id:Vm,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}};function Xm(e,t){return typeof t==`string`?t:t(e)}function Zm(e,t){return typeof t==`string`||t===null?t:t(e)}function Qm(e,t){let n={};for(let r of t){let t=!1;for(let i of e.pipes){let a=i.getOutputFields();if(a[r]){n[r]??={type:Xm(e,a[r].type),format:Zm(e,a[r].format)},t=!0;break}}if(t)continue;let i=e.derivedInputFields[r];i&&(n[r]??={type:i.type,format:null})}return n}function $m(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:Xm(e,r[t].type),format:Zm(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function eh(e,t={}){let n=t.expectedType??`string`,r=t.expectedFormat??`text`,i=new Map;for(let t of e){if(!t)continue;let e;try{e=Nr(t)}catch{continue}for(let[t,n]of Object.entries(e.inputs)){let e=i.get(t);i.set(t,{required:e&&e.required||n.required})}}let a=[];for(let[e,t]of i){let i={name:e,resolvedName:e,label:e,description:``,type:t=>$m(t,e)?.type||n,format:r};a.push(t.required?V(i):ka(i))}return Oa(...a)}function Y(e){let t=new Set;for(let n of e)if(n)try{let e=Nr(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}function X(e){let t=new Set;for(let n of e)if(n)try{let e=Nr(n);for(let n of e.constants)t.add(n)}catch{}return[...t]}const th=`email:send:gmail@1`,nh=_(`gmail_email_success`),rh=r.object({pipe_id:r.literal(th),connector:qi(),run_if:S(),config:r.object({to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.to`,label:`To`,info:"Recipient address. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`{{ email }}`,inputType:`email`,minLength:1,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),reply_to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.reply_to`,label:`Reply-To`,info:"Optional address recipients can reply to. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`support@example.com`,inputType:`email`,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),subject:C({sectionKey:`general`,groupPath:`config.general`,path:`config.subject`,label:`Subject`,info:"Email subject line. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }}`,inputType:`text`,minLength:1,maxLength:998,expectedTagType:`string`,expectedTagFormat:`text`}),body:C({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
67
|
+
How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,format:`json_list_string`,description:`Rich JSON post list`,jsonMeta:{zodSchema:gt,exampleValue:_t}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:Ut,exampleValue:Wt}},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:Ne,exampleValue:Pe}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:je,exampleValue:Me}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(et),exampleValue:[tt]}},logo_url:{label:`Logo URL`,type:`string`,format:`text`,description:`Company or organization logo`,jsonMeta:null},logodev_describe_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Get company logos & brand data`,jsonMeta:{exampleValue:Ft,zodSchema:Pt}},mobile_number:{label:`Mobile`,type:`string`,description:`Mobile telephone number of a person.`,jsonMeta:null,format:`phone`},company_social_url:{label:`Company Social URL`,type:`string`,description:`Social Media URL for a given company (e.g. LinkedIn profile URL).`,jsonMeta:null,format:`profile_url`},professional_profile:{label:`Professional profile (LinkedIn)`,type:`json`,description:`A standardized format for returning LinkedIn profile data.`,jsonMeta:{zodSchema:Vt,exampleValue:Ht},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},dn={company_description:{},cleaned_company_name:{},company_industry:{},icypeas_person_match:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.firstname} ${t.lastname} profile`}}}},icypeas_company_match:{getStaticWidgets(e){return e?{display_value:{label:`${e.name} profile`}}:{}}},company_region:{getStaticWidgets:e=>{let t={},n=sn(e);return n&&(t.location_indicator={emoji:n}),t}},location_hint:{},estimated_revenue:{},founded_year:{},technology_list:{},spending_trend:{getStaticWidgets(e){let t=e;return{display_value:{label:`${t>3?`๐ผ๐ผ๐ผ`:t>1?`๐ผ๐ผ`:t>0?`๐ผ`:t<-3?`๐ฝ๐ฝ๐ฝ`:t<-1?`๐ฝ๐ฝ`:t<0?`๐ฝ`:``} ${Math.round(t*100)}%`}}}},technology_match_builtwith:{getStaticWidgets(e){return{display_value:{label:`Technology profile`}}}},number_of_social_followers:{},email:{},personal_email:{},alternate_personal_emails:{},company_news_summary:{},work_email:{},headcount:{},company_website_url:{},company_domain:{},company_name:{},first_name:{},addressee_name:{},address_line_1:{},address_line_2:{},job_title:{getStaticWidgets(){return{icon:{key:`job`}}}},job_description:{},profile_headline:{},address_city:{},address_country:{},address_state:{},zip_code:{},last_name:{},is_work_email:{},name:{},ip_address:{},skills:{},avatar_url:{},string_input:{},domain:{},url_input:{},slugified:{},http_response_status:{},http_response_body:{},http_response_headers:{},estimated_salary:{},scrape_list_response:{},clado_person_match:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},clado_person_match_v2:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},company_social_url:{getStaticWidgets(e){let t=ln(e);return{display_value:t?{label:t}:void 0}}},crustdata_profile_match_score:{},is_email_valid:{},amplemarket_person_match:{getStaticWidgets(){return{display_value:{label:`Person match`}}}},amplemarket_company_match:{getStaticWidgets(){return{display_value:{label:`Company match`}}}},profile_url:{getStaticWidgets(e){let t=ln(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=ln(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},developer_profile_url:{},alternative_developer_profile_urls:{},profile_posts:{getStaticWidgets(){return{display_value:{label:`LinkedIn posts`}}}},profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.name||`Person`} LinkedIn profile`}}:{}}},clado_person_profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} match`}}:{}}},email_subject:{},message:{},slack_message_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},resend_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},email_body:{},mobile:{},landline:{},phone:{},funding_history:{},funding_total_usd:{},leadmagic_competitor_list:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_acquisition_history:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_company_news_list:{getStaticWidgets(e){return e?{display_value:{label:`${e.length} news sources`}}:{}}},merge_result:{},website_markdown:{getStaticWidgets(e){return e?{display_value:{label:`๐ Markdown result`}}:{}}},urls:{},website_html:{},website_url:{},website_links:{},mapped_links:{},firecrawl_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},parallel_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},exa_match_evaluation:{getStaticWidgets(){return{display_value:{label:`Exa match`}}}},email_validation_status:{},million_validation_match:{getStaticWidgets(){return{display_value:{label:`Validation result`}}}},post_list_string:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Ae.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Ae.linkedin}}}},crustdata_company_match:{},crustdata_company_identity_matches:{},crustdata_person_match:{},parallel_person_entity_match:{},parallel_company_entity_match:{},resend_contact_id:{},sheet_record_id:{},sheet_record_ids:{},companyenrich_match:{},companyenrich_matches:{},input_objects:{},role_finder_match:{},sheet:{},logodev_describe_match:{getStaticWidgets(){return{display_value:{label:`Match`}}}},logo_url:{getStaticWidgets(){return{display_value:{label:`Logo URL`}}}},mobile_number:{},created_sheet:{},professional_profile:{},professional_profile_url:{},crustdata_companyenrich_match:{},template_output:{},zerobounce_validation_match:{},zerobounce_validation_status:{getStaticWidgets(e){return{display_value:{label:e===`valid`?`โ
Valid`:e===`invalid`?`โ Invalid`:e===`catch-all`?`โพ๏ธ Catch All`:e===`abuse`?`โ ๏ธ Abuse`:e===`do_not_mail`?`โโ Do not mail`:e===`spamtrap`?`โโโ Spam Trap`:e}}}},gmail_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}}};function _(e){return{...un[e],name:e}}function fn(e,t){if(mn(e,t))return dn[e]}function pn(e){return e in un}function mn(e,t){return e in un?un[e].format===t:!1}const hn={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function gn(e){return hn[e]}const _n=(e,t=`Set a ${e} connection to enable this`)=>n=>(n.connector?.connections??[]).some(t=>t?.connection?.startsWith(`${e}_`))?{disabled:!1}:{disabled:!0,message:t},vn=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},yn=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},bn=(...e)=>t=>{let n={disabled:!0,message:`No condition matched`};for(let r of e){let e=r(t);if(!e.disabled)return e;n=e}return n};function xn(e,t,n){if(!t.added_by||t.added_by.ref===`input`||t.added_by.pipe_index==null)throw Error(`Tried to find output field info for field not generated by pipe: ${e}, added_by: ${t.added_by}`);let r=n.orderedPipeInstances[t.added_by.pipe_index];if(!r)throw Error(`Unable to find pipe instance at index ${t.added_by.pipe_index} for resolved field ${e}`);let i=Object.entries(r.getOutputFields()).find(([t,n])=>n.resolvedName===e);if(!i)throw Error(`Resolved pipe output field '${e}' not found for pipe ${t.added_by.ref}`);let[a,o]=i;return{fieldName:a,...o}}const Sn=r.enum(`company_description.cleaned_company_name.company_industry.company_region.location_hint.estimated_revenue.founded_year.technology_list.spending_trend.technology_match_builtwith.number_of_social_followers.email.personal_email.alternate_personal_emails.company_news_summary.work_email.headcount.company_website_url.company_domain.company_name.first_name.addressee_name.address_line_1.address_line_2.job_title.job_description.profile_headline.address_city.address_country.address_state.zip_code.last_name.is_work_email.companyenrich_match.companyenrich_matches.name.ip_address.skills.avatar_url.estimated_salary.is_email_valid.profile_url.developer_profile_url.alternative_developer_profile_urls.company_profile_url.profile_posts.clado_person_match.clado_person_match_v2.icypeas_person_match.icypeas_company_match.clado_person_profile.resend_email_success.email_body.email_subject.profile.mobile.landline.phone.message.slack_message_success.funding_history.funding_total_usd.template_output.gmail_email_success.zerobounce_validation_status.zerobounce_validation_match.leadmagic_competitor_list.leadmagic_acquisition_history.leadmagic_company_news_list.merge_result.mapped_links.website_markdown.website_html.website_url.urls.website_links.firecrawl_extract_result.parallel_extract_result.exa_match_evaluation.email_validation_status.million_validation_match.scrape_list_response.resend_contact_id.sheet_record_id.sheet_record_ids.input_objects.role_finder_match.logodev_describe_match.logo_url.crustdata_company_match.crustdata_companyenrich_match.crustdata_company_identity_matches.crustdata_person_match.parallel_person_entity_match.parallel_company_entity_match.post_list_string.crustdata_post_list.crustdata_profile_match_score.amplemarket_person_match.amplemarket_company_match.created_sheet.sheet.string_input.domain.url_input.slugified.http_response_status.http_response_body.http_response_headers.professional_profile_url.professional_profile.company_social_url.mobile_number`.split(`.`)),Cn=r.enum(`pipe0.findymail.crustdata.hunter.zerobounce.millionverifier.googlemaps.gemini.leadmagic.mixrank.builtwith.perplexity.serper.icypeas.prospeo.clado.resend.slack.gmail.firecrawl.exa.openai.companyenrich.logodev.amplemarket.parallel`.split(`.`)),wn=r.enum([`production`,`sandbox`]),Tn=`prompt:run@1.company:newssummary:website@1.company:newssummary:domain@1.company:techstack:builtwith@1.company:techstack:builtwith@2.company:websiteurl:email@1.company:domain:workemail@1.company:funding:leadmagic@1.company:funding:leadmagic@2.people:workemail:waterfall@1.person:workemail:waterfall@1.people:email:iswork@1.email:iswork@1.people:name:split@1.person:name:split@1.person:name:join@1.people:validate:email:zerobounce@1.people:email:validate:zerobounce@2.email:validate:zerobounce@1.people:mobilenumber:workemail:waterfall@1.company:overview@1.company:overview@2.company:overview@3.json:extract:multi@1.email:write@1.message:write@1.email:send:resend@1.email:send:gmail@1.message:send:slack@1.template:fill@1.contact:create:resend@1.people:match:role:waterfall@1.person:match:role:waterfall@1.person:identity:amplemarket@1.company:identity@2.company:identity@3.company:identity:crustdata@1.person:match:amplemarket@1.people:phone:profile:waterfall@1.person:mobile:profileurl:waterfall@1.people:personalemail:profile:waterfall@1.person:personalemail:profileurl:waterfall@1.people:profile:waterfall@1.person:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone:workemail:waterfall@1.person:mobile:workemail:waterfall@1.fields:merge@1.field:slugify@1.field:domainify@1.website:scrape:firecrawl@1.website:scrapelist:firecrawl@1.website:extract:firecrawl@1.website:extract:parallel@1.website:maplinks:firecrawl@1.sheet:row:append@1.sheet:row:expandappend@1.company:lookalikes:companyenrich@1.company:lookalikes:companyenrich@2.company:match:logodev@1.company:match:logodev@2.person:posts:crustdata@1.company:match:crustdata@1.company:match:crustdata@2.people:profile:workemail:crustdata@1.person:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.person:workemail:profileurl:waterfall@1.people:identity:email:waterfall@1.person:identity:email:waterfall@1.person:devprofileurl:profileurl:waterfall@1.http:request@1.company:identity@1.people:professionalprofile:waterfall@1.people:professionalprofileurl:name@1.people:professionalprofileurl:email:waterfall@1.people:mobilenumber:professionalprofile:waterfall@1`.split(`.`),En=r.enum(Tn),Dn=[`string`,`number`,`boolean`,`json`,`unknown`],On=r.enum(Dn),kn=r.union([r.number(),r.string()]),An=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),jn=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),Mn=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),Nn=r.object({}),Pn=Nn.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),Fn=Nn.extend({emoji:r.string().describe(`Country flag emoji.`)}),In=Nn.extend({image_url:r.url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),Ln=Nn.extend({attempted_providers:r.array(r.object({provider:Cn})),available_providers:r.array(Cn),successful_provider:Cn.optional()}),Rn=r.enum([`linkedin`,`job`]),zn=Nn.extend({key:Rn}).optional(),Bn=r.object({result_status:r.enum([`completed`,`failed`])}).optional(),Vn=r.object({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),Hn=r.object({numeric:r.int().min(1).max(5)}).optional(),Un=r.object({display_value:r.object({label:r.string().optional()}),entity_logo:Pn.optional(),location_indicator:Fn.optional(),avatar:In.optional(),waterfall:Ln.optional(),icon:zn,action_summary:Bn,sources:Vn,confidence:Hn}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Wn=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),Gn=r.object({code:r.string(),summary:r.string(),message:r.string()}),Kn=[`json_object`,`json_list`,`json_list_string`,`url`,`website_url`,`profile_url`,`email`,`datetime`,`currency`,`date`,`phone`,`markdown`,`text`,`int`,`decimal`,`address_line_1`,`zip_code`,`percent`],qn=r.enum(Kn);qn.nullable();const Jn=r.object({type:On,label:r.string().nullable().optional(),format:qn.nullable().optional(),json_metadata:Mn.nullable().optional()}),Yn=r.record(r.string(),Jn),Xn=r.enum([...Tn,`input`]).nullable(),Zn=r.enum([...Tn,`input`,`system`]).nullable(),Qn=r.object({ref:Xn,config_hash:r.string().nullable()}),$n=r.object({ref:Zn,environment:wn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),er=r.object({value:jn,status:An,type:On,reason:Gn.nullable(),claimed_by:Qn,resolved_by:$n.nullable(),widgets:Un.optional(),format:qn.nullable()}),tr=r.object({value:jn,status:An,reason:Gn.nullable().optional(),type:On.optional(),format:qn.nullable().optional(),claimed_by:Qn.optional(),resolved_by:$n.nullable().optional(),widgets:Un.optional()}),nr=r.record(r.string(),r.union([jn,tr])).openapi(`PipesInput`),rr=r.object({id:kn,fields:r.record(kn,er)}),ir=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),ar=r.object({type:On,label:r.string(),added_by:r.object({ref:r.union([En,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:qn.nullable(),is_primary_output:r.boolean()}),or=r.record(r.string(),ar),sr=r.object({field_name:r.string().min(1),extractions:r.array(r.object({path:r.string().min(1),output_field:r.object({name:r.string().min(1),format:qn.nullable().default(null),label:r.string().optional(),type:On})})).min(1).check(e=>{let t=new Set;Object.values(e.value).forEach(n=>{t.has(n.output_field.name)?e.issues.push({code:`custom`,message:`Output field names must be unique. The name ${n.output_field.name} exists more than once in your config.`,input:e.value}):t.add(n.output_field.name)})})}),cr=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),lr={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},ur=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],dr=[`eq`,`neq`],fr=r.object({type:r.literal(`vault`),connection:r.string()}),v=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(fr)}).nullable().optional(),pr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(fr).min(1,{message:`Provide your own credentials to use this object.`})}),mr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(r.object({type:r.literal(`vault`),connection:r.string()})).max(0,{message:`This pipe does not support custom connectors.`})}).optional().nullable(),hr=r.enum(ur),gr=r.enum(dr),_r=r.enum([`failed`,`no_result`,`completed`,`skipped`]),vr=r.object({action:r.enum([`run`]).default(`run`).describe(`What to do when conditions match. Defaults to "run" (run the pipe only on matching records). Reserved for future extension.`),when:r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(r.discriminatedUnion(`property`,[r.object({property:r.literal(`value`).describe(`Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains.`),field_name:r.string().min(1,{message:`Select a target field for the condition.`}).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:hr.describe(`Comparison operator: "eq", "neq", "gt", "gte", "lt", "lte", "contains".`),value:r.union([r.number(),r.string(),r.boolean(),r.null()]).describe(`The value to compare the field against. Must be a primitive (string, number, boolean, or null).`).check(e=>{(e.value===void 0||e.value===``)&&e.issues.push({code:`custom`,input:e.value,message:`Provide a value to compare against.`}),typeof e.value==`object`&&e.value!==null&&e.issues.push({code:`custom`,input:e.value,message:`Conditions can only be defined on primitive fields. To apply a condition on a JSON value, expand it into an object first.`})})}),r.object({property:r.literal(`status`).describe(`Compare the field resolution status instead of its value. Use operators: eq, neq.`),field_name:r.string().min(1).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:gr.describe(`Status comparison operator: "eq" or "neq".`),value:_r.describe(`Field status to compare against: "completed", "no_result", "failed", or "skipped".`)})])).min(1).describe(`Array of conditions to evaluate. Each condition checks either a field value or its resolution status.`)}).describe(`Condition block. All conditions are combined with the chosen logic (and/or).`)}).describe(`Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { "when": { "logic": "and", "conditions": [{ "property": "status", "field_name": "work_email", "operator": "neq", "value": "no_result" }] } }`),yr={pipe0:{name:`pipe0`,label:`pipe0`,description:`A framework for lead and company data enrichment.`,url:`https://pipe0.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/52f2d955-d9f3-4139-2c13-63cfd568ed00/icon`,background:{light:`#F4F4F5`,dark:`#1F1F23`},oAuthConfig:null},findymail:{name:`findymail`,label:`FindyMail`,description:`Find verified emails.`,url:`https://findymail.com`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,oAuthConfig:null,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/9e8ce38d-a49d-42a3-4317-506f7fbec900/icon`,background:{light:`#D4F4DD`,dark:`#143822`}},hunter:{name:`hunter`,label:`HunterMail`,description:`Find email addresses and send cold emails`,url:`https://hunter.io`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,oAuthConfig:null,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fc66b052-6b1e-4c91-a239-6bbce08f1b00/icon`,background:{light:`#FFE4D4`,dark:`#3D1F0C`}},zerobounce:{name:`zerobounce`,label:`ZeroBounce`,description:`Email validation tools and email list cleaning`,url:`https://www.zerobounce.net`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/db8e9e41-0bda-4f2c-de42-cf8ce61ee500/icon`,background:{light:`#D6F5E5`,dark:`#0E3823`},oAuthConfig:null},googlemaps:{name:`googlemaps`,label:`Google Maps`,description:`A map service by Google`,url:`https://www.google.com/maps`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1796d3c1-dfb0-4555-b2bf-0ca4930e8f00/icon`,background:{light:`#D8E8FF`,dark:`#0E2447`},oAuthConfig:null},leadmagic:{name:`leadmagic`,label:`LeadMagic`,description:`Enrichment provider`,url:`https://leadmagic.io`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/508cb23a-47d4-40ee-1645-b5a8bf994c00/icon`,background:{light:`#EBD8FF`,dark:`#2A1247`},oAuthConfig:null},builtwith:{name:`builtwith`,label:`BuiltWith`,description:`BuiltWith tracks over 2500 eCommerce technologies across over 26 million eCommerce websites.`,url:`https://builtwith.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e675cb72-6dc2-43c8-972e-0fc9c3b73c00/icon`,background:{light:`#FFF0D4`,dark:`#3D2806`},oAuthConfig:null},perplexity:{name:`perplexity`,label:`Perplexity`,description:`AI search company`,public:!1,url:`https://perplexity.com`,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/d17d3ba0-5c9e-43d8-17ee-3e4a70404e00/icon`,background:{light:`#D3F1EE`,dark:`#0E3633`},oAuthConfig:null},serper:{name:`serper`,label:`Serper`,description:`The World's Fastest & Cheapest Google Search API`,url:`https://serper.dev/`,public:!1,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/04e720cd-56ea-44d3-3a31-cfc516c6f800/icon`,background:{light:`#D8E6FF`,dark:`#0C2554`},oAuthConfig:null},icypeas:{name:`icypeas`,label:`Icypeas`,description:`A popular data catalog`,url:`https://www.icypeas.com/`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/d635119e-08ae-40cb-78bc-34161d422400/icon`,background:{light:`#D8EFFF`,dark:`#0C2A4A`},oAuthConfig:null},prospeo:{name:`prospeo`,label:`Prospeo`,description:`Find anyoneโs contact data.`,url:`https://prospeo.io/`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/9446f572-d08c-4d48-a5a5-04747fe66000/icon`,background:{light:`#D6E2FF`,dark:`#0C2052`},oAuthConfig:null},gemini:{name:`gemini`,label:`Gemini`,description:`Google's AI service`,url:`https://gemini.google.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/417de5dd-a8a8-4210-d7dc-6f40e54ece00/icon`,background:{light:`#DDE7FF`,dark:`#1A2C5C`},oAuthConfig:null},slack:{name:`slack`,label:`Slack`,description:`A modern business chat application.`,url:`https://slack.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/676e823c-c926-4b0b-465c-121b9d1c3300/icon`,background:{light:`#F1E0FF`,dark:`#2A0E44`},oAuthConfig:{}},companyenrich:{name:`companyenrich`,label:`CompanyEnrich`,description:`A company enrichment service.`,url:`https://companyenrich.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e80b3a16-7b36-4733-bcbe-46f471d33100/icon`,background:{light:`#DCEEFF`,dark:`#0E2C4A`},oAuthConfig:{}},mixrank:{name:`mixrank`,label:`MixRank`,description:`Ultra-high-frequency technographic and people data for your data teams.`,url:`https://mixrank.com/`,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,oAuthConfig:{},public:!0,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a29f3095-b3f9-4b12-d21b-1c506ccd7200/icon`,background:{light:`#FFE5D4`,dark:`#3A1D08`}},clado:{name:`clado`,label:`Clado`,description:`A data provider deploying 10^5 AI agents to find contact information.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,url:`https://clado.ai`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fdf3d2d0-70be-45c3-2fe5-a8c5cac55a00/icon`,background:{light:`#E8E8EC`,dark:`#1A1A1F`},oAuthConfig:null},gmail:{name:`gmail`,label:`Gmail`,description:`Google's email service`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token_bundle`,url:`https://mail.google.com`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8da8ab6b-7f7e-4c42-6abf-212ea537db00/icon`,background:{light:`#FFD8D8`,dark:`#45100F`},oAuthConfig:{}},resend:{name:`resend`,label:`Resend`,description:`An email platform built for developers.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://clado.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7c88f71b-8472-40f4-4bec-0e77eac30400/icon`,background:{light:`#EDEDEE`,dark:`#1A1A1C`},oAuthConfig:null},firecrawl:{name:`firecrawl`,label:`Firecrawl`,description:`Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown. Firecrawl crawls all accessible subpages and gives you clean markdown for each. No sitemap required.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.firecrawl.dev`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5c318569-7bf4-4276-a3f2-1f25530f7f00/icon`,background:{light:`#FFE5CC`,dark:`#3A1A05`},oAuthConfig:null},exa:{name:`exa`,label:`Exa`,description:`Exa is a search engine built for AI.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://exa.ai/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8ae69780-4506-4952-a90e-02e70b06af00/icon`,background:{light:`#D8DCFF`,dark:`#14154A`},oAuthConfig:null},openai:{name:`openai`,label:`OpenAI`,description:`Foundational AI company based out of San Francisco.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://openai.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7ac79c3a-bccb-4ed4-d6e5-7b300b2fd300/icon`,background:{light:`#D8EFE4`,dark:`#0C2A1C`},oAuthConfig:null},millionverifier:{name:`millionverifier`,label:`MillionVerifier`,description:`E-Mail validation service.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.millionverifier.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7a8bd9cb-efeb-492e-3f4c-311c9492b800/icon`,background:{light:`#D8F0DB`,dark:`#0E3215`},oAuthConfig:null},logodev:{name:`logodev`,label:`Logo.dev`,description:`Every company logo, one simple API.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.logo.dev/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1defa51b-5c01-4034-1030-60f68aa46400/icon`,background:{light:`#F4ECD4`,dark:`#2C2406`},oAuthConfig:null},crustdata:{name:`crustdata`,label:`Crustdata`,description:`Real-time company & people data`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://crustdata.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fa05be24-d174-40f0-69c2-4fdb43c6be00/icon`,background:{light:`#FFE2D2`,dark:`#3C1A08`},oAuthConfig:null},amplemarket:{name:`amplemarket`,label:`Amplemarket`,description:`Sales data platform`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.amplemarket.com`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/adecf16b-4187-409b-d77f-16fc07fc6100/icon`,background:{light:`#FFD8E1`,dark:`#45102A`},oAuthConfig:null},parallel:{name:`parallel`,label:`Parallel`,description:`Agentic web search & research APIs purpose-built for AI agents.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://parallel.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/13d4ae54-9400-4577-8fbf-c96021fb0000/icon`,background:{light:`#E0E5FF`,dark:`#0F1A3D`},oAuthConfig:null}},br=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],xr=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],Sr=/^[A-Z][A-Z0-9_]*$/,Cr=/^[A-Z][A-Z0-9_]*$/,wr=/^[a-zA-Z_][a-zA-Z0-9_]*$/,Tr=`SECRETS`,Er=`CONSTANTS`,Dr=new Set(br),Or=new Set(xr),kr=e=>`{${e}}`;var Ar=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Sr.test(t))throw Error(`Secret key "${t}" must be uppercase letters, digits, and underscores (e.g. SECRETS.API_KEY).`);if(!(t in this.values))throw Error(`Missing secret: SECRETS.${t}`);return this.values[t]}},jr=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Cr.test(t))throw Error(`Constant key "${t}" must be uppercase letters, digits, and underscores (e.g. CONSTANTS.PROMO).`);if(!(t in this.values))throw Error(`Missing constant: CONSTANTS.${t}`);return this.values[t]}};function Mr(e){let t=e.trim();if(!t)throw Error(`Empty {% output %} tag โ expected at least a name (e.g. {% output rec, type: "string", description: "..." %}).`);let n=t.match(/^([a-zA-Z_][a-zA-Z0-9_]*)\s*(?:,|$)/);if(!n||!n[1])throw Error(`Invalid {% output %} tag โ expected a name as the first argument, got: ${t}`);let r=n[1];if(!wr.test(r))throw Error(`Invalid {% output %} tag name "${r}" โ must start with a letter or underscore and contain only letters, digits, and underscores.`);let i=t.slice(n[0].length).trim(),a={},o=/([a-zA-Z_][a-zA-Z0-9_]*)\s*:\s*(?:"((?:\\.|[^"\\])*)"|'((?:\\.|[^'\\])*)'|(true|false))\s*(?:,|$)/g,s=0,c;for(;(c=o.exec(i))!==null;){s=c.index+c[0].length;let e=c[1],t=c[2]??c[3]??c[4];c[4]===void 0?a[e]=t:a[e]=t===`true`}if(i&&s<i.length)throw Error(`Invalid {% output %} tag โ could not parse arguments after "${i.slice(s)}". Expected key: "value" pairs.`);let l=a.type;if(typeof l!=`string`||!l)throw Error(`{% output ${r} %} tag is missing required "type" argument (e.g. type: "string").`);let u=a.description;if(typeof u!=`string`||!u)throw Error(`{% output ${r} %} tag is missing required "description" argument (e.g. description: "What this means.").`);return{name:r,type:l,description:u,required:typeof a.required==`boolean`?a.required:!0,format:typeof a.format==`string`?a.format:null,schemaRef:typeof a.schema==`string`?a.schema:null}}function Nr(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=Mr(e.args);this.outputDecl=n},render(e,t){let n=this.outputDecl;if(!(e.globals&&e.globals.__outputAllowed))throw Error(`{% output %} is not allowed in this template (referenced output "${n.name}").`);t.write(kr(n.name))}});for(let t of Object.keys(e.tags))Dr.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))Or.has(t)||delete e.filters[t];return e}let Pr=null;function Fr(){return Pr||=Nr(),Pr}async function Ir(e,t,n={}){let r=Fr(),i=n.renderLimitMs??250,a={...t.inputs??{},[Tr]:new Ar(t.secrets??{}),[Er]:new jr(t.constants??{})},o={globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i},s=await Promise.race([r.parseAndRender(e,a,o),new Promise((e,t)=>setTimeout(()=>t(Error(`Liquid render exceeded ${i}ms.`)),i))]);return String(s)}function Lr(e,t,n={}){let r=Fr(),i=n.renderLimitMs??250,a={...t.inputs??{},[Tr]:new Ar(t.secrets??{}),[Er]:new jr(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function Rr(e){return Fr().parse(e)}function zr(e){let t=Fr().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};Br(t,n);let r={};for(let[e,t]of n.inputs)r[e]={required:t.unguardedRefs>0};return{inputs:r,secrets:[...n.secrets],constants:[...n.constants],outputs:n.outputs}}function Br(e,t){for(let n of e)Vr(n,t)}function Vr(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){Kr(n.value,t,!1);return}if(typeof n.name==`string`){Hr(n,t);return}}function Hr(e,t){switch(e.name){case`for`:Ur(e,t);return;case`if`:case`unless`:Wr(e,t);return;case`output`:Gr(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function Ur(e,t){if(t.forDepth+=1,t.forDepth>3)throw Error(`Liquid template exceeds maximum nested {% for %} depth of 3.`);e.collection!==void 0&&e.collection!==null&&qr(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),Br(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),Br(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function Wr(e,t){let n=Array.isArray(e.branches)?e.branches:[];e.name;for(let e=0;e<n.length;e++){let r=n[e],i=r.value,a=null;e===0&&i&&typeof i==`object`&&(a=Xr(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&Kr(i,t,!1),Br(r.templates,t),a&&t.guardStack.pop()}Br(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function Gr(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=Mr(t))}if(!n)throw Error(`Internal: {% output %} tag missing parsed declaration.`);t.outputs.push({name:n.name,type:n.type,description:n.description,required:n.required,format:n.format,schemaRef:n.schemaRef??void 0})}function Kr(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)Zr(n)&&Yr(n,t,i);for(let n of e.filters)for(let e of n.args)Jr(e,t)}function qr(e,t,n){Zr(e)&&Yr(e,t,n)}function Jr(e,t){if(Array.isArray(e)){let n=e[1];n&&qr(n,t,!1)}else qr(e,t,!1)}function Yr(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!Qr(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!Qr(e))throw Error(`Invalid SECRETS reference โ expected SECRETS.KEY (got ${ti(r)}).`);let n=e.content;if(!Sr.test(n))throw Error(`Invalid SECRETS key "${n}" โ must be uppercase letters, digits, and underscores (e.g. SECRETS.API_KEY).`);t.secrets.add(n);return}if(a===`CONSTANTS`){let e=r[1];if(!e||!Qr(e))throw Error(`Invalid CONSTANTS reference โ expected CONSTANTS.KEY (got ${ti(r)}).`);let n=e.content;if(!Cr.test(n))throw Error(`Invalid CONSTANTS key "${n}" โ must be uppercase letters, digits, and underscores (e.g. CONSTANTS.PROMO).`);t.constants.add(n);return}let o=n||t.guardStack.includes(a),s=t.inputs.get(a)??{unguardedRefs:0,guardedRefs:0};o?s.guardedRefs+=1:s.unguardedRefs+=1,t.inputs.set(a,s)}function Xr(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&Zr(t)&&t.props.length===1){let e=t.props[0];if(e&&Qr(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&Zr(t)&&t.props.length===1){let e=t.props[0];if(e&&Qr(e)&&$r(n)&&ei(r,[`==`,`!=`]))return e.content}}return null}function Zr(e){return e.kind===o.PropertyAccess}function Qr(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function $r(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function ei(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function ti(e){let t=[];for(let n of e)n&&Qr(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}function ni(e){let t=e.split(`_`),n=t[0],r=t.slice(1).join(`_`);if(!n)throw Error(`connection string of invalid format`);try{return{provider:Cn.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function ri(e){return`${e.provider}_${e.id}`}const ii=new s;function ai(e){return ii.validateSchema(e)}function oi(e){let t=!1;return c(e,{},e=>{e.type&&[`string`,`number`,`boolean`,`integer`,`null`].includes(e.type)&&(t=!0),e.type===`object`&&e.properties&&Object.keys(e.properties).length>0&&(t=!0),e.type===`array`&&e.items&&(t=!0)}),!t}const si=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],ci={"gemini-flash-latest":{provider:`gemini`,rateLimitOperation:`gemini_35_flash`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.2,billingMode:`always`},"openai-gpt-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`},"openai-gpt-mini-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5-mini`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.3,billingMode:`always`}};function li(e,t){let n={};for(let r of si){let i=ci[r],a=`${e}-${r}`;n[a]={credits:{default:t?.[r]??i.defaultCredits},allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function ui(e,t){return`${t}-${e}`}function di(e){let t=ci[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function fi(e){let t=ci[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function pi(){let e=new Set;for(let t of si)e.add(ci[t].provider);return[...e]}function mi(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(_n(e.requires.connection));for(let n of e.requires.fields??[])t.push(vn(e=>n.split(`.`).reduce((e,t)=>e==null?e:e[t],e),`Set ${n} first`));if(t.length!==0)return t.length===1?t[0]:yn(...t)}function hi(e,t,n){let i={exampleValue:null,jsonSchema:null},a=t.fieldAnnotations.annotations[e];if(a?.json_metadata?.example_value&&(i.exampleValue=a.json_metadata.example_value||null),a?.json_metadata?.schema&&(i.jsonSchema=a.json_metadata.schema||null),i.exampleValue&&i.jsonSchema||!t.resolvedFieldNames[e])return i;let o=xn(e,n,t),s=pn(o.fieldName)?_(o.fieldName):null;return s?.jsonMeta?{jsonSchema:s.jsonMeta.zodSchema?r.toJSONSchema(s.jsonMeta.zodSchema):null,exampleValue:s.jsonMeta.exampleValue||null}:i}const y=r.registry();{let e=y._map,t=y.get.bind(y);y.get=n=>{let r=n;for(;r;){let t=e.get(r);if(typeof t==`function`)return t;r=r?._zod?.parent}return t(n)}}const b=r.registry(),x={text_input:r.coerce.string(),textarea_input:r.string(),prompt_input:r.object({template:r.string(),json_schemas:r.record(r.string(),r.record(r.string(),r.unknown()))}),template_input:r.string(),tagged_text_input:r.coerce.string().nullable(),boolean_input:r.boolean(),nullable_boolean_input:r.boolean().nullable(),select_input:r.string(),multi_select_input:r.array(r.string()),async_multi_select_input:r.array(r.string()),int_input:r.coerce.number().int().nullable(),number_input:r.coerce.number().optional(),min_max_int_input:r.object({min:r.number().nullable().default(null),max:r.number().nullable().default(null)}),include_exclude_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),async_include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),exact_range_input:r.record(r.string(),r.number().nullable()),range_input:r.object({from:r.number().nullable(),to:r.number().nullable()}),date_range_input:r.record(r.string(),r.string()),multi_create_input:r.array(r.string()),ordered_multi_create_input:r.array(r.string()),tagged_ordered_multi_create_input:r.array(r.string()),key_value_list_input:r.array(r.object({key:r.string(),value:r.string()})),connector_input:r.object({connections:r.array(r.object({type:r.string(),connection:r.string()}))}).nullable(),providers_input:r.array(r.object({provider:r.string()})),json_extraction_input:r.record(r.string(),r.unknown()),pipes_run_if_input:r.record(r.string(),r.unknown()).nullable(),fields_select_input:r.array(r.object({field_name:r.string()})),output_field_input:r.object({alias:r.string(),enabled:r.boolean()}),json_schema_input:r.record(r.string(),r.unknown()),cursor_pagination_metadata:r.object({limit:r.number()}),context_select_input:r.union([r.string(),r.array(r.string())])},gi=(e,t)=>{let n=x.multi_create_input;return e.maxItems&&(n=n.max(e.maxItems)),n=e.minItems?n.min(e.minItems):n.default([]),t.add(n,{type:`multi_create_input`,...e}),n},_i=(e,t)=>{let n=x.ordered_multi_create_input;return e.maxItems&&(n=n.max(e.maxItems)),n=e.minItems?n.min(e.minItems):n.default([]),t.add(n,{type:`ordered_multi_create_input`,...e}),n},vi=/^\s*\{\{\s*[a-zA-Z_][a-zA-Z0-9_.]*(?:\s*\|\s*[^}]+)?\s*\}\}\s*$/,yi=/\{\{|\{%/,bi=(e,t)=>{let n=x.tagged_ordered_multi_create_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{let r=vi.test(e),i=yi.test(e);!r&&i&&t.issues.push({code:`custom`,input:e,path:[n],message:`Each entry must be either plain text or a single field reference โ not mixed.`})})}),n=e.minItems?n.min(e.minItems):n.default([]);let r={type:`tagged_ordered_multi_create_input`,...e};if(t===y){let i=t=>{let n=t.validationContext,i=n?Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>!e.expectedTagType||n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:i}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n}return t.add(n,r),n},xi=(e,t)=>{let n=x.key_value_list_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{Yi({value:e.key,issues:t.issues},!1,[n,`key`]),Yi({value:e.value,issues:t.issues},!1,[n,`value`])})}),n=n.default([]);let r={type:`key_value_list_input`,...e},i=e=>{let t=e.validationContext,n=t?Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e.hash).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:n}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n},Si=(e,t)=>{let n=e.maxItems||200,r=x.include_exclude_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return e.description&&i.describe(e.description),t.add(i,{type:`include_exclude_input`,...e}),i},Ci=()=>{let e=sr;return y.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`json_extraction_input`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>e.toLowerCase()!==`id`&&t.type===`json`).map(([e,n])=>{let{jsonSchema:r,exampleValue:i}=hi(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`general`}}),e},wi=(e,t)=>{let n=r.array(r.object({provider:r.enum(e.availableProviders)})).max(e.maxItems||99).min(1).default(e.defaultProviders),i=e.availableProviders.map(t=>{let n=e.providerCredits?.[t];return{value:t,label:yr[t].label,widgets:{provider_logo:{provider:t},...typeof n==`number`?{pricing:{credits:n}}:{}}}});return t.add(n,{label:`Provider sequence`,description:``,path:`config.providers`,groupPath:`config.providers`,type:`providers_input`,options:i,defaultProviders:e.defaultProviders,maxItems:e.maxItems,sectionKey:e.sectionKey}),n},Ti=(e,t)=>{let n=e.maxItems||200,r=x.include_exclude_select_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return e.description&&i.describe(e.description),t.add(i,{type:`include_exclude_select_input`,...e}),i},Ei=(e,t)=>{let n=x.exact_range_input.check(t=>{e.min===void 0&&e.max===void 0||Object.values(t.value).filter(e=>e!==null).some(t=>e.min!=null&&t<e.min||e.max!=null&&t>e.max)&&t.issues.push({code:`custom`,input:t.value,message:`Values must be between ${e.min??`any`} and ${e.max??`any`}`})});return e.description&&n.describe(e.description),t.add(n,{type:`exact_range_input`,...e}),n},Di=(e,t)=>{let n=r.object({from:r.number().optional().nullable(),to:r.number().optional().nullable()}).default({from:null,to:null}),i=n;return(e.min!==void 0||e.max!==void 0)&&(i=n.check(t=>{Object.values(t.value).filter(e=>e!=null).every(t=>(e?.min==null||t>=e.min)&&(e.max==null||t<=e.max))||t.issues.push({code:`custom`,input:t.value,message:`Values must be between ${e.min??`any`} and ${e.max??`any`}`}),t.value.from&&t.value.to&&t.value.from>t.value.to&&t.issues.push({code:`custom`,input:t.value,message:`'From' value must be smaller than 'to' value.`})})),e.description&&i.describe(e.description),t.add(i,{type:`range_input`,...e}),i},Oi=(e,t)=>{let n=x.date_range_input.check(e=>{let t=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/;for(let[n,r]of Object.entries(e.value))r&&!t.test(r)&&e.issues.push({code:`custom`,input:r,path:[n],message:`Must be an ISO datetime string`})});return e.description&&n.describe(e.description),t.add(n,{type:`date_range_input`,...e}),n},ki=(e,t)=>{let n=x.boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`boolean_input`}),n},Ai=(e,t)=>{let n=x.nullable_boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`nullable_boolean_input`,defaultValue:e.defaultValue}),n},ji=(e,t)=>{let n=x.text_input;return e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),e.minLength||(n=n.nullable()),e.description&&n.describe(e.description),t.add(n,{type:`text_input`,...e}),n},Mi=(e,t)=>{let n=x.textarea_input;return e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.description&&n.describe(e.description),t.add(n,{type:`textarea_input`,...e}),n},Ni=(e,t,n=`pipe_io`)=>{let i=r.object({alias:r.string().default(``).describe(`Rename this output field. Leave empty to use default name.`),enabled:r.boolean().default(!0).describe(`Whether to include this field in the output.`)}).describe(`Output field '${e.fieldName}'`);return t.add(i,{type:`output_field_input`,label:`Rename *${e.fieldName}*`,placeholder:e.fieldName,path:`config.output_fields.${e.fieldName}`,description:void 0,groupPath:`config.output_fields`,sectionKey:n}),i.default({alias:``,enabled:!0})},Pi=(e,t)=>{let n=x.int_input.optional().check(t=>{if(t.value==null){e.required!==!1&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}e.min!=null&&t.value<e.min&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at least ${e.min}`}),e.max!=null&&t.value>e.max&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at most ${e.max}`})});return e.description&&n.describe(e.description),t.add(n,{...e,type:`int_input`}),n},Fi=(e,t)=>{let n=x.number_input.check(t=>{if(t.value===void 0){e.required&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}e.min!=null&&t.value<e.min&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at least ${e.min}`}),e.max!=null&&t.value>e.max&&t.issues.push({code:`custom`,input:t.value,message:`Value must be at most ${e.max}`})});return e.description&&n.describe(e.description),t.add(n,{...e,type:`number_input`}),n},Ii=(e,t)=>{let n=x.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{ai(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{oi(e.value)&&e.issues.push({code:`custom`,message:`JSON Schema must define a meaningful value. Can not be an empty object or array.`,input:e.value})})),t.add(r,{...e,type:`json_schema_input`}),r},Li=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=x.select_input.check(t=>{if(t.value===``){e.required&&t.issues.push({code:`custom`,input:t.value,message:`Required`});return}r.has(t.value)||t.issues.push({code:`custom`,input:t.value,message:`Must be one of: ${[...r].filter(e=>e).join(`, `)}`})}),a=e.defaultValue?i.default(e.defaultValue):i;return e.description&&a.describe(e.description),t.add(a,{type:`select_input`,...e}),a},Ri=({billableOperations:e,...t},n)=>{let i=r.enum(si).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:si.map(t=>{let n=e[Object.keys(e).find(e=>e.endsWith(`-${t}`))];if(!n)throw Error(`Unable to find billing info for model ${t}`);return{label:t,value:t,widgets:{logo:{url:yr[ci[t].provider].logoUrl},pricing:{credits:n.credits.default}}}}),required:!0,description:``,label:`AI Models`,...t}),i},zi=(e,t)=>{let n=e.options.map(e=>e.value),i=new Set(n),a=r.array(r.enum(Array.from(i))).check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`}),t.value.forEach((e,r)=>{i.has(e)||t.issues.push({code:`custom`,input:e,path:[r],message:`Must be one of: ${n.join(`, `)}`})})}),o=e.required?a:a.default([]);return t.add(o,{type:`multi_select_input`,...e}),o},Bi=(e,t)=>{let n=e.required?x.context_select_input.check(e=>{(e.value===``||Array.isArray(e.value)&&e.value.length===0)&&e.issues.push({code:`custom`,input:e.value,message:`Required`})}):x.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??mi(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},Vi=(e,t)=>{let n=x.min_max_int_input.check(t=>{for(let n of[`min`,`max`]){let r=t.value[n];if(r!=null){if(!Number.isInteger(r)){t.issues.push({code:`custom`,input:r,path:[n],message:`Must be an integer`});continue}(r<e.min||r>e.max)&&t.issues.push({code:`custom`,input:r,path:[n],message:`Must be between ${e.min} and ${e.max}`})}}}),r=e.required?n:n.default({min:null,max:null});return t.add(r,{type:`min_max_int_input`,...e}),r},Hi=(e,t)=>{let n=x.async_multi_select_input.check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`})}),r=e.required?n:n.default([]);return t.add(r,{type:`async_multi_select_input`,...e}),r},Ui=(e,t)=>{let n=e.maxItems||200,r=x.async_include_exclude_select_input.check(e=>{e.value.include.length>n&&e.issues.push({code:`custom`,input:e.value.include,path:[`include`],message:`Array must contain at most ${n} element(s)`}),e.value.exclude.length>n&&e.issues.push({code:`custom`,input:e.value.exclude,path:[`exclude`],message:`Array must contain at most ${n} element(s)`})}),i=e.required?r:r.default({include:[],exclude:[]});return t.add(i,{type:`async_include_exclude_select_input`,...e}),i};function Wi(e,t){let n=e.reduce((e,t)=>{let n=t.groupPath||``;return e[n]??=[],e[n].push(t),e},{});return Object.entries(n).map(([e,n])=>({type:`group`,groupPath:e,description:t[e]?.description,label:t[e]?.label,iconKey:t[e]?.iconKey,defaultExpand:!!t[e]?.defaultExpand,order:t[e]?.order??99,fields:n.sort((e,t)=>(e.order||0)-(t.order||0))})).sort((e,t)=>e.order-t.order)}const S=()=>{let e=vr.nullish();return y.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_run_if_input`,groupPath:`run_if`,path:`run_if`,sectionKey:`pipe_io`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),e},Gi={pipe_io:{type:`form_section`,label:`In- and outputs`,description:`Configure output fields and reassign inputs.`,path:`config.pipe_io`},pagination:{type:`form_section`,path:`pagination`},"config.filters":{type:`form_section`,label:`Filters`,path:`config.filters`,description:`Narrow down the search output`},general:{type:`form_section`,path:`general`,label:`Behavior`}},Ki={general:1,pagination:2,"config.filters":3,pipe_io:10};function qi({fieldMetadata:e,store:t}){if(e.type===`context_select_input`||e.type===`tagged_text_input`){t.field_options??={};let n=t.field_options[e.path]?.options||[],r=e.optionsDef?.widgets;e.options=r?n.map(e=>({...e,widgets:{...r,...e.widgets??{}}})):n}return e}const Ji=({schema:e,groupPathMatch:t,extractFromSchema:n,sectionOrder:i=Ki,sectionMap:a=Gi,store:o,formResolvers:s})=>{let c={};function l(e){let i=n(e);if(i){c[i.sectionKey]??={type:`section`,groups:[],metadata:a[i.sectionKey]};let e=c[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=qi({fieldMetadata:i,store:o,formResolvers:s});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=qi({fieldMetadata:i,store:o,formResolvers:s});r&&e.groups.push({groupPath:i.groupPath,fields:[r],type:`group`,label:n?.label,defaultExpand:!!n?.defaultExpand,description:n?.description,iconKey:n?.iconKey,order:n?.order})}}if(typeof e==`object`&&`unwrap`in e&&typeof e.unwrap==`function`&&l(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))l(t)}l(e);let u=Object.values(c);return u.forEach(e=>{e.groups.sort((e,t)=>(e.order??99)-(t.order??99))}),[...u].filter(e=>e.groups.length!==0).sort((e,t)=>(i?.[e.metadata?.path||``]??99)-(i?.[t.metadata?.path||``]??99))};function Yi(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=zr(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`}),t&&i.outputs.length===0&&e.issues.push({code:`custom`,input:r,path:n,message:`At least one {% output %} tag is required, e.g. {% output result, type: "string", description: "..." %}`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const Xi=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>Yi(e,t,[])).describe(e.description||'Liquid prompt with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: "string", description: "..." %}` to declare model outputs. Supports `{% if %}` / `{% for %}` control flow. Example: "Summarize {{ name }}. {% output summary, type: \\"string\\", description: \\"One-line summary\\" %}"'),json_schemas:r.record(r.string().min(1,`Schema name cannot be empty`),r.record(r.string(),r.any())).optional().describe(`JSON schemas for output fields with type="json". Keys are referenced via schema="<name>" in output tags.`)});return y.add(n,t=>{let n=t.validationContext;return{type:`prompt_input`,inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),...e}}),n},Zi=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>Yi(e,!1,[])).describe(e.description||'Liquid template with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Example: "Write to {{ name }} about {{ topic | default: \\"the project\\" }}."');return y.add(n,t=>{let n=t.validationContext;return{type:`template_input`,inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),rows:e.rows||10,...e}}),n},C=e=>{let t=`${e.multiline?`Multi-line`:`Single-line`} ${e.expectedTagType} value, optionally containing \`{{ field }}\` Liquid input refs (use \`| default: ""\` for optional refs), \`{{ SECRETS.KEY }}\` for encrypted secrets, and \`{{ CONSTANTS.KEY }}\` for plaintext constants.`,n=r.coerce.string();e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),e.minLength||(n=n.nullable()),n=n.check(e=>Yi(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??mi(e.optionsDef)}:void 0,a={type:`tagged_text_input`,...e,optionsDef:i,options:[]},o=t=>{let n=t.validationContext,r=Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e}));return{...a,inputFields:r}};return o.staticMeta={...a,inputFields:[]},y.add(n,o),n};function Qi(e,t){y.add(e,({userConnections:e,pipeEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:``,description:``,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:ri({id:e.public_id,provider:e.provider})}))}})}const $i=()=>{let e=pr;return Qi(e,`required`),e},w=()=>{let e=v;return Qi(e,`optional`),e},T=()=>{let e=mr;return Qi(e,`disabled`),e};function ea(e,t){return Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e&&t.toLowerCase()!==`id`).map(([e,t])=>({label:e,value:e,type:t.type,format:t.format}))}const E=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return y.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:ea(t.hash,n),path:`config.input_fields.${e.fieldName}.alias`,label:`Assign *${e.fieldName}* to:`,description:``,groupPath:`config.input_fields`,multiple:!1}}),t.default({alias:``})},D=e=>wi(e,y),ta=e=>{let t=x.fields_select_input.check(e=>{e.value.forEach((t,n)=>{t.field_name.length<1&&e.issues.push({code:`custom`,input:t.field_name,path:[n,`field_name`],message:`field_name must not be empty`})})});return t=e.minItems?t.min(e.minItems):t.default([]),y.add(t,t=>{let n=t.validationContext;return{type:`fields_select_input`,options:Object.entries(n.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:e,type:t.type})).map(e=>({value:e.fieldName,label:e.fieldLabel,widgets:{field_type:{type:e.type}}})),...e}}),t},na=e=>Si(e,y),ra=e=>gi(e,y),ia=e=>_i(e,y),aa=e=>bi(e,y),oa=e=>xi(e,y),sa=e=>Ti(e,y),ca=e=>Ui(e,y),la=e=>Ei(e,y),ua=e=>Oi(e,y),O=e=>ki(e,y),k=e=>Ni(e,y),da=e=>ji(e,y),fa=e=>Mi(e,y),pa=e=>Li(e,y),ma=e=>Ri(e,y),ha=e=>zi(e,y),ga=e=>Pi(e,y),_a=e=>Fi(e,y),va=e=>Ii(e,y),ya=e=>Bi(e,y),A=e=>gi(e,b),ba=e=>_i(e,b),xa=e=>Vi(e,b),j=e=>Si(e,b),M=e=>Ti(e,b),Sa=e=>Ei(e,b),Ca=e=>Di(e,b),wa=e=>Oi(e,b),Ta=e=>ki(e,b),Ea=e=>Ai(e,b),N=e=>Ni(e,b,`pipe_io`),Da=e=>ji(e,b),Oa=e=>Mi(e,b),ka=e=>Li(e,b),P=e=>zi(e,b),F=e=>Hi(e,b),I=e=>Ui(e,b),L=e=>Pi(e,b),Aa=e=>Fi(e,b),R=e=>(e=e.check(e=>{let t=e.value,n=!1;for(let e in t)if(t[e]?.enabled){n=!0;break}n||e.issues.push({code:`custom`,input:e.value,message:`All output fields are disabled. Enable at least one output.`})}),e.optional()),z=e=>e.optional();function ja(e,t){if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]===void 0?n[e]=r:n[e]!==null&&typeof n[e]==`object`&&!Array.isArray(n[e])&&typeof r==`object`&&r&&!Array.isArray(r)&&(n[e]=ja(n[e],r));return n}const B={EMAIL:`Email`,TEXT:`Text`,CHAT:`Chat`,PERSONAL_EMAIL:`Personal Email`,NAMES:`Names`,WORK_EMAIL:`Work Email`,WATERFALL:`Waterfall`,WEBSITE:`Website`,SCRAPE:`Scrape`,ADDRESS:`Address`,NEWS:`News`,LINKEDIN:`LinkedIn`,FINANCIAL_DATA:`Financial Data`,AI:`AI`,PHONE:`Phone Number`,NEW:`New`,BETA:`Beta`,PEOPLE_PROFILES:`People Profiles`,COMPANY_PROFILES:`Company Profiles`,JSON:`Json`,FIELDS:`Fields`,LOGIC:`Logic`,DEPRECATED:`Deprecated โ`},Ma=e=>typeof e.kind==`string`,Na=e=>Ma(e)?e:{kind:`field`,field:e},V=e=>({kind:`field`,field:e}),Pa=(...e)=>({kind:`all`,of:e.map(Na)}),H=(...e)=>({kind:`any`,of:e.map(Na)}),Fa=e=>({kind:`optional`,field:e});function Ia(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Ia(e,t));case`any`:return e.of.some(e=>Ia(e,t))}}function La(e){switch(e.kind){case`field`:return[{field:e.field,required:!0}];case`optional`:return[{field:e.field,required:!1}];case`all`:case`any`:return e.of.flatMap(La)}}function Ra(e,t){let n=za(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function za(e,t){switch(e.kind){case`optional`:return{ok:!0};case`field`:{let n=t.fields[e.field.resolvedName];if(!n)throw Error(`Record field does not exist ${e.field.name} for requirement.`);return n.status===`completed`||n.status===`queued`?{ok:!0}:{ok:!1,field:e.field,recordField:n}}case`all`:for(let n of e.of){let e=za(n,t);if(!e.ok)return e}return{ok:!0};case`any`:{let n=null,r=!1;for(let i of e.of)try{let e=za(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Ba(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Ba).filter(e=>!zt(e));let t={};for(let[n,r]of Object.entries(e)){let e=Ba(r);zt(e)||(t[n]=e)}return t}const Va=await l();var Ha=class e{static hashObject(t){if(!Va)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Va,r=e.normalizeObject(t);return n(JSON.stringify(r))}static normalizeObject(t){if(typeof t!=`object`||!t)return t;if(Array.isArray(t))return t.map(t=>e.normalizeObject(t));let n={},r=Object.keys(t).sort();for(let i of r)n[i]=e.normalizeObject(t[i]);return n}};function Ua(e,t){let n={pipeId:e,config:Ba(t)};return Ha.hashObject(n)}function Wa(e,t){let n={};return Object.values(t).forEach(t=>{let r=t,i=e.fields[r.resolvedName];i?.value!=null&&(n[r.resolvedName]=i.value)}),Object.keys(n).length===0?null:Ha.hashObject(Ba(n))}var U=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}catalogOutput(e,{isPrimaryOutput:t=!1,resolveFormat:n,resolveType:r}={resolveType:void 0,resolveFormat:void 0,isPrimaryOutput:!1}){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:r||e.type,format:n||e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0,isPrimaryOutput:t}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}get inputFields(){let e={};for(let{field:t}of La(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return Ua(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return Wa(e,this.inputFields)}};function Ga(e,t){let n={};for(let r of t)for(let t of Object.values(e))if(t&&t.provider===r&&t.allowManagedConnection){n[r]=t.credits.default;break}return n}function Ka(e){return La(e).map(({field:e})=>e)}function qa({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function Ja({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function Ya({recordField:e,reason:t,resolvedBy:n,widgets:r={}}){return e.value=null,e.status=`no_result`,e.resolved_by=n,e.reason=t,e.widgets=r,e}function Xa(e,t,n){return e.value=null,e.status=`failed`,e.resolved_by=null,e.reason=t,e.resolved_by=n,e.widgets={},e}function Za(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function Qa(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function W(e){return e.split(`@`)[0]}function G(e){return`/docs/pipe-catalog/${W(e)}/${e.split(`@`)[1]}`}function K(e,t){return{name:e.name,description:e.description,resolvedName:t?.input_fields?.[e.name]?.alias||e.name,type:e.type,label:e.label,format:e.format}}const $a=`company:domain:workemail@1`,eo=_(`company_domain`),to=_(`work_email`),no=r.object({pipe_id:r.literal($a),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[to.name]:E({fieldName:to.name})})),output_fields:R(r.object({[eo.name]:k({fieldName:eo.name})}))}).optional()}),ro=e=>V(K(to,e)),io={"company-domain-workemail-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},ao=class extends U{pipeId=$a;payload;payloadSchema=no;billableOperations=io;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-domain-workemail-v1-pipe0`]}getInputRequirement(){return ro(this.payload.config)}getRawOutputFields(){return{[eo.name]:this.catalogOutput(eo)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},oo=no,so={pipeId:$a,basePipe:W($a),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Extract the company website URL from a work email address.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WEBSITE],docPath:G($a),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:io,defaultInputRequirement:ro(null),defaultPayload:{pipe_id:$a,connector:null,run_if:null,config:{input_fields:{[to.name]:{alias:``}},output_fields:{[eo.name]:{alias:``,enabled:!0}}}}},co=`company:funding:leadmagic@2`,lo=_(`company_name`),uo=_(`company_domain`),fo=_(`funding_history`),po=_(`funding_total_usd`),mo=_(`leadmagic_competitor_list`),ho=_(`leadmagic_acquisition_history`),go=_(`leadmagic_company_news_list`),_o=r.object({pipe_id:r.literal(co),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[lo.name]:E({fieldName:lo.name}),[uo.name]:E({fieldName:uo.name})})),output_fields:R(r.object({[fo.name]:k({fieldName:fo.name}),[po.name]:k({fieldName:po.name}),[mo.name]:k({fieldName:mo.name}),[ho.name]:k({fieldName:ho.name}),[go.name]:k({fieldName:go.name})}))}).optional()}),vo=e=>H(K(lo,e),K(uo,e)),yo={"company-funding-leadmagic-v2-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},bo=class extends U{pipeId=co;payload;payloadSchema=_o;billableOperations=yo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`company-funding-leadmagic-v2-leadmagic`]}getInputRequirement(){return vo(this.payload.config)}getRawOutputFields(){return{[fo.name]:this.catalogOutput(fo),[po.name]:this.catalogOutput(po),[ho.name]:this.catalogOutput(ho),[go.name]:this.catalogOutput(go),[mo.name]:this.catalogOutput(mo)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},xo=_o,So={pipeId:co,basePipe:W(co),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[B.FINANCIAL_DATA],docPath:G(co),billableOperations:yo,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:vo(null),defaultPayload:{pipe_id:co,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_domain:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},Co=_(`company_name`),wo=_(`company_profile_url`),To=_(`company_domain`),Eo=_(`cleaned_company_name`),Do=`company:identity@3`,Oo=r.object({pipe_id:r.literal(Do),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Co.name]:E({fieldName:Co.name})})),output_fields:R(r.object({[wo.name]:k({fieldName:wo.name}),[Eo.name]:k({fieldName:Eo.name}),[To.name]:k({fieldName:To.name})}))}).optional()}),ko=e=>V(K(Co,e)),Ao={"company-identity-v3-pipe0":{allowManagedConnection:!0,credits:{default:.3,level1:{credits:.2,weight:1}},mode:`always`,provider:`pipe0`}},jo=class extends U{pipeId=Do;payload;payloadSchema=Oo;billableOperations=Ao;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v3-pipe0`]}getInputRequirement(){return ko(this.payload.config)}getRawOutputFields(){return{[wo.name]:this.catalogOutput(wo),[To.name]:this.catalogOutput(To),[Eo.name]:this.catalogOutput(Eo)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Mo=Oo,No={pipeId:Do,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Do),label:`Company identity`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(Do),billableOperations:Ao,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ko(null),defaultPayload:{pipe_id:Do,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},Po=_(`company_domain`),Fo=_(`company_name`),Io=_(`crustdata_company_identity_matches`),Lo=`company:identity:crustdata@1`,Ro=r.object({pipe_id:r.literal(Lo),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Po.name]:E({fieldName:Po.name}),[Fo.name]:E({fieldName:Fo.name})})),output_fields:R(r.object({[Io.name]:k({fieldName:Io.name})}))}).optional()}),zo=e=>H(K(Po,e),K(Fo,e)),Bo={"company-identity-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:.001},mode:`onSuccess`,provider:`crustdata`}},Vo=class extends U{pipeId=Lo;payload;payloadSchema=Ro;billableOperations=Bo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-identity-crustdata-v1-crustdata`]}getInputRequirement(){return zo(this.payload.config)}getRawOutputFields(){return{[Io.name]:this.catalogOutput(Io)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_identify`,allowManagedConnection:!0}]}},Ho=Ro,Uo={pipeId:Lo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Lo),label:`Company identity`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Resolve a company to Crustdata's matching candidates by domain or name. Returns the full list of matches.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(Lo),billableOperations:Bo,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:zo(null),defaultPayload:{pipe_id:Lo,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``},company_name:{alias:``}},output_fields:{crustdata_company_identity_matches:{alias:``,enabled:!0}}}}},Wo=_(`company_domain`),Go=_(`companyenrich_matches`),Ko=`company:lookalikes:companyenrich@2`,qo=r.object({pipe_id:r.literal(Ko),run_if:S(),connector:w(),config:r.object({limit:ga({groupPath:`config.general`,max:50,min:1,path:`config.limit`,required:!0,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[Wo.name]:E({fieldName:Wo.name})})),output_fields:R(r.object({[Go.name]:k({fieldName:Go.name})}))}).optional()}),Jo=e=>V(K(Wo,e)),Yo={"company-lookalikes-companyenrich-v2-companyenrich":{allowManagedConnection:!0,credits:{default:.2,level1:{credits:.1,weight:1}},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Xo=class extends U{pipeId=Ko;payload;payloadSchema=qo;billableOperations=Yo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`lookalikes-companyenrich`)}getInputRequirement(){return Jo(this.payload.config)}getRawOutputFields(){return{[Go.name]:this.catalogOutput(Go)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Zo=qo,Qo={pipeId:Ko,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Ko),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[B.COMPANY_PROFILES],docPath:G(Ko),billableOperations:Yo,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:Jo(null),defaultPayload:{pipe_id:Ko,connector:null,run_if:null,config:{limit:20,input_fields:{company_domain:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},$o=_(`company_domain`),es=_(`crustdata_companyenrich_match`),ts=`company:match:crustdata@2`,ns=r.object({pipe_id:r.literal(ts),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[$o.name]:E({fieldName:$o.name})})),output_fields:R(r.object({[es.name]:k({fieldName:es.name})}))}).optional()}),rs=e=>V(K($o,e)),is={"company-match-crustdata-v2-crustdata":{allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.2,weight:1}},mode:`onSuccess`,provider:`crustdata`}},as=class extends U{pipeId=ts;payload;payloadSchema=ns;billableOperations=is;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-match-crustdata-v2-crustdata`]}getInputRequirement(){return rs(this.payload.config)}getRawOutputFields(){return{[es.name]:this.catalogOutput(es)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},os=ns,ss={pipeId:ts,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(ts),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(ts),billableOperations:is,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:rs(null),defaultPayload:{pipe_id:ts,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},cs=_(`company_domain`),ls=_(`company_name`),us=_(`company_profile_url`),ds=_(`logodev_describe_match`),fs=_(`logo_url`),ps=`company:match:logodev@2`,ms=r.object({pipe_id:r.literal(ps),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[cs.name]:E({fieldName:cs.name})})),output_fields:R(r.object({[us.name]:k({fieldName:us.name}),[fs.name]:k({fieldName:fs.name}),[ls.name]:k({fieldName:ls.name}),[ds.name]:k({fieldName:ds.name})}))}).optional()}),hs=e=>V(K(cs,e)),gs={"company-match-logodev-v2-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},_s=class extends U{pipeId=ps;payload;payloadSchema=ms;billableOperations=gs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`company-match-logodev-v2-logodev`]}getInputRequirement(){return hs(this.payload.config)}getRawOutputFields(){return{[us.name]:this.catalogOutput(us),[ls.name]:this.catalogOutput(ls),[fs.name]:this.catalogOutput(fs),[ds.name]:this.catalogOutput(ds)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},vs=ms,ys={pipeId:ps,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(ps),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(ps),billableOperations:gs,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:hs(null),defaultPayload:{pipe_id:ps,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},bs=`company:newssummary:domain@1`,xs=_(`company_news_summary`),Ss=_(`company_domain`),Cs=r.object({pipe_id:r.literal(bs),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Ss.name]:E({fieldName:Ss.name})})),output_fields:R(r.object({[xs.name]:k({fieldName:xs.name})}))}).optional()}),ws=e=>V(K(Ss,e)),Ts={"company-newssummary-domain-v1-pipe0":{allowManagedConnection:!0,credits:{default:2},mode:`always`,provider:`pipe0`}},Es=class extends U{pipeId=bs;payloadSchema=Cs;billableOperations=Ts;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-newssummary-domain-v1-pipe0`]}getInputRequirement(){return ws(this.payload.config)}getRawOutputFields(){return{[xs.name]:this.catalogOutput(xs)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0}]}},Ds=Cs,Os={pipeId:bs,basePipe:W(bs),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find recent company news by performing a search and scrape.`,tags:[B.NEWS],docPath:G(bs),billableOperations:Ts,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ws(null),defaultPayload:{pipe_id:bs,run_if:null,connector:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},ks=_(`company_domain`),As=_(`company_profile_url`),js=_(`company_description`),Ms=_(`company_industry`),Ns=_(`company_region`),Ps=_(`headcount`),Fs=_(`estimated_revenue`),Is=_(`founded_year`),Ls=_(`company_name`),Rs=`company:overview@3`,zs=r.object({pipe_id:r.literal(Rs),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[ks.name]:E({fieldName:ks.name}),[As.name]:E({fieldName:As.name})})),output_fields:R(r.object({[js.name]:k({fieldName:js.name}),[Ms.name]:k({fieldName:Ms.name}),[Ns.name]:k({fieldName:Ns.name}),[Ps.name]:k({fieldName:Ps.name}),[Fs.name]:k({fieldName:Fs.name}),[Is.name]:k({fieldName:Is.name}),[Ls.name]:k({fieldName:Ls.name})}))}).optional()}),Bs=e=>H(K(ks,e),K(As,e)),Vs={"company-overview-v3-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`always`}},Hs=class extends U{pipeId=Rs;payloadSchema=zs;billableOperations=Vs;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v3-pipe0`]}getInputRequirement(){return Bs(this.payload.config)}getRawOutputFields(){return{[js.name]:this.catalogOutput(js),[Ms.name]:this.catalogOutput(Ms),[Ns.name]:this.catalogOutput(Ns),[Ps.name]:this.catalogOutput(Ps),[Fs.name]:this.catalogOutput(Fs),[Is.name]:this.catalogOutput(Is),[Ls.name]:this.catalogOutput(Ls)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},Us=zs,Ws={pipeId:Rs,basePipe:W(Rs),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:G(Rs),tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Vs,defaultInputRequirement:Bs(null),defaultPayload:{pipe_id:Rs,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_domain:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},Gs=_(`company_domain`),Ks=_(`technology_list`),qs=_(`spending_trend`),Js=_(`technology_match_builtwith`),Ys=`company:techstack:builtwith@2`,Xs=r.object({pipe_id:r.literal(Ys),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Gs.name]:E({fieldName:Gs.name})})),output_fields:R(r.object({[Ks.name]:k({fieldName:Ks.name}),[Js.name]:k({fieldName:Js.name}),[qs.name]:k({fieldName:qs.name})}))}).optional()}),Zs=e=>V(K(Gs,e)),Qs={"company-techstack-builtwith-v2-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},$s=class extends U{pipeId=Ys;payload;payloadSchema=Xs;billableOperations=Qs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`company-techstack-builtwith-v2-builtwith`]}getInputRequirement(){return Zs(this.payload.config)}getRawOutputFields(){return{[Ks.name]:this.catalogOutput(Ks),[Js.name]:this.catalogOutput(Js),[qs.name]:this.catalogOutput(qs)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},ec=Xs,tc={pipeId:Ys,basePipe:W(Ys),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`All technologies and frameworks powering a given website.`,tags:[B.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:G(Ys),billableOperations:Qs,defaultInputRequirement:Zs(null),defaultPayload:{pipe_id:Ys,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},nc={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},rc=`contact:create:resend@1`,ic={"contact-create-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},ac=_(`email`),oc=_(`name`),sc=_(`resend_contact_id`),cc=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],lc=r.object({pipe_id:r.literal(rc),connector:$i(),run_if:S(),config:r.object({segment_id:ya({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:_n(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return cc;if(!t)throw new nc.MissingSecretError({providerName:`resend`});let r=await fetch(`https://api.resend.com/segments?limit=100`,{headers:{Authorization:`Bearer ${t}`}});if(!r.ok){let e=await r.text();throw new nc.HttpError({msg:e})}let i=(await r.json()).data.map(e=>({label:e.name,value:e.id}));return e?i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):i}}}),add_as_subscribed:O({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:z(r.object({[oc.name]:E({fieldName:oc.name}),[ac.name]:E({fieldName:ac.name})})),output_fields:R(r.object({[sc.name]:k({fieldName:sc.name})}))})}),uc=e=>Pa(V(K(ac,e)),V(K(oc,e))),dc=class extends U{pipeId=rc;payload;payloadSchema=lc;billableOperations=ic;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend-v1-resend`]}getInputRequirement(){return uc(this.payload.config)}getRawOutputFields(){return{[sc.name]:this.catalogOutput(sc)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},fc=lc,pc={pipeId:rc,basePipe:W(rc),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[B.EMAIL],docPath:G(rc),billableOperations:ic,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:uc(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:rc,connector:{strategy:`first`,connections:[]},run_if:null,config:{segment_id:``,add_as_subscribed:!0,input_fields:{name:{alias:``},email:{alias:``}},output_fields:{resend_contact_id:{alias:``,enabled:!0}}}}},mc=`company:funding:leadmagic@1`,hc=_(`company_name`),gc=_(`company_website_url`),_c=_(`funding_history`),vc=_(`funding_total_usd`),yc=_(`leadmagic_competitor_list`),bc=_(`leadmagic_acquisition_history`),xc=_(`leadmagic_company_news_list`),Sc=r.object({pipe_id:r.literal(mc),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[hc.name]:E({fieldName:hc.name}),[gc.name]:E({fieldName:gc.name})})),output_fields:R(r.object({[_c.name]:k({fieldName:_c.name}),[vc.name]:k({fieldName:vc.name}),[yc.name]:k({fieldName:yc.name}),[bc.name]:k({fieldName:bc.name}),[xc.name]:k({fieldName:xc.name})}))}).optional()}),Cc=e=>H(K(hc,e),K(gc,e)),wc={"company-funding-leadmagic-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},Tc=class extends U{pipeId=mc;payload;payloadSchema=Sc;billableOperations=wc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`company-funding-leadmagic-v1-leadmagic`]}getInputRequirement(){return Cc(this.payload.config)}getRawOutputFields(){return{[_c.name]:this.catalogOutput(_c),[vc.name]:this.catalogOutput(vc)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},Ec=Sc,Dc={pipeId:mc,basePipe:W(mc),label:`Funding history`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:funding:leadmagic@2`},description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[B.FINANCIAL_DATA],docPath:G(mc),billableOperations:wc,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:Cc(null),defaultPayload:{pipe_id:mc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_website_url:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},Oc=_(`company_name`),kc=_(`company_social_url`),Ac=_(`company_website_url`),jc=_(`cleaned_company_name`),Mc=`company:identity@1`,Nc=r.object({pipe_id:r.literal(Mc),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Oc.name]:E({fieldName:Oc.name})})),output_fields:R(r.object({[kc.name]:k({fieldName:kc.name}),[jc.name]:k({fieldName:jc.name}),[Ac.name]:k({fieldName:Ac.name})}))}).optional()}),Pc=e=>V(K(Oc,e)),Fc={"company-identity-v1-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Ic=class extends U{pipeId=Mc;payload;payloadSchema=Nc;billableOperations=Fc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v1-pipe0`]}getInputRequirement(){return Pc(this.payload.config)}getRawOutputFields(){return{[kc.name]:this.catalogOutput(kc),[Ac.name]:this.catalogOutput(Ac),[jc.name]:this.catalogOutput(jc)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Lc=Nc,Rc={pipeId:Mc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Mc),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:Fc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Pc(null),defaultPayload:{pipe_id:Mc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_social_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},zc=_(`company_name`),Bc=_(`company_profile_url`),Vc=_(`company_website_url`),Hc=_(`cleaned_company_name`),Uc=`company:identity@2`,Wc=r.object({pipe_id:r.literal(Uc),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[zc.name]:E({fieldName:zc.name})})),output_fields:R(r.object({[Bc.name]:k({fieldName:Bc.name}),[Hc.name]:k({fieldName:Hc.name}),[Vc.name]:k({fieldName:Vc.name})}))}).optional()}),Gc=e=>V(K(zc,e)),Kc={"company-identity-v2-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},qc=class extends U{pipeId=Uc;payload;payloadSchema=Wc;billableOperations=Kc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-identity-v2-pipe0`]}getInputRequirement(){return Gc(this.payload.config)}getRawOutputFields(){return{[Bc.name]:this.catalogOutput(Bc),[Vc.name]:this.catalogOutput(Vc),[Hc.name]:this.catalogOutput(Hc)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Jc=Wc,Yc={pipeId:Uc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Uc),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@3`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(Uc),billableOperations:Kc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Gc(null),defaultPayload:{pipe_id:Uc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},Xc=_(`company_website_url`),Zc=_(`companyenrich_matches`),Qc=`company:lookalikes:companyenrich@1`,$c=r.object({pipe_id:r.literal(Qc),run_if:S(),connector:w(),config:r.object({limit:ga({groupPath:`config.general`,max:50,min:1,path:`config.limit`,required:!0,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[Xc.name]:E({fieldName:Xc.name})})),output_fields:R(r.object({[Zc.name]:k({fieldName:Zc.name})}))}).optional()}),el=e=>V(K(Xc,e)),tl={"company-lookalikes-companyenrich-v1-companyenrich":{allowManagedConnection:!0,credits:{default:.2},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},nl=class extends U{pipeId=Qc;payload;payloadSchema=$c;billableOperations=tl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`lookalikes-companyenrich`)}getInputRequirement(){return el(this.payload.config)}getRawOutputFields(){return{[Zc.name]:this.catalogOutput(Zc)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},rl=$c,il={pipeId:Qc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Qc),label:`Find company lookalikes`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:lookalikes:companyenrich@2`},description:`Find companies similar to the company you provide as input.`,tags:[B.COMPANY_PROFILES],docPath:G(Qc),billableOperations:tl,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:el(null),defaultPayload:{pipe_id:Qc,connector:null,run_if:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},al=_(`company_website_url`),ol=_(`crustdata_companyenrich_match`),sl=`company:match:crustdata@1`,cl=r.object({pipe_id:r.literal(sl),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[al.name]:E({fieldName:al.name})})),output_fields:R(r.object({[ol.name]:k({fieldName:ol.name})}))}).optional()}),ll=e=>V(K(al,e)),ul={"company-match-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`,provider:`crustdata`}},dl=class extends U{pipeId=sl;payload;payloadSchema=cl;billableOperations=ul;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`company-match-crustdata-v1-crustdata`]}getInputRequirement(){return ll(this.payload.config)}getRawOutputFields(){return{[ol.name]:this.catalogOutput(ol)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},fl=cl,pl={pipeId:sl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(sl),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:crustdata@2`},description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(sl),billableOperations:ul,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:ll(null),defaultPayload:{pipe_id:sl,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},ml=_(`company_website_url`),hl=_(`company_name`),gl=_(`company_profile_url`),_l=_(`logodev_describe_match`),vl=_(`logo_url`),yl=`company:match:logodev@1`,bl=r.object({pipe_id:r.literal(yl),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[ml.name]:E({fieldName:ml.name})})),output_fields:R(r.object({[gl.name]:k({fieldName:gl.name}),[vl.name]:k({fieldName:vl.name}),[hl.name]:k({fieldName:hl.name}),[_l.name]:k({fieldName:_l.name})}))}).optional()}),xl=e=>V(K(ml,e)),Sl={"company-match-logodev-v1-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},Cl=class extends U{pipeId=yl;payload;payloadSchema=bl;billableOperations=Sl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`company-match-logodev-v1-logodev`]}getInputRequirement(){return xl(this.payload.config)}getRawOutputFields(){return{[gl.name]:this.catalogOutput(gl),[hl.name]:this.catalogOutput(hl),[vl.name]:this.catalogOutput(vl),[_l.name]:this.catalogOutput(_l)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},wl=bl,Tl={pipeId:yl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(yl),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:logodev@2`},description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[B.WEBSITE,B.LINKEDIN],docPath:G(yl),billableOperations:Sl,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:xl(null),defaultPayload:{pipe_id:yl,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},El=`company:newssummary:website@1`,Dl=_(`company_news_summary`),Ol=_(`company_website_url`),kl=r.object({pipe_id:r.literal(El),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Ol.name]:E({fieldName:Ol.name})})),output_fields:R(r.object({[Dl.name]:k({fieldName:Dl.name})}))}).optional()}),Al=e=>V(K(Ol,e)),jl={"company-newssummary-website-v1-pipe0":{allowManagedConnection:!0,credits:{default:1},mode:`always`,provider:`pipe0`}},Ml=class extends U{pipeId=El;payloadSchema=kl;billableOperations=jl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-newssummary-website-v1-pipe0`]}getInputRequirement(){return Al(this.payload.config)}getRawOutputFields(){return{[Dl.name]:this.catalogOutput(Dl)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},Nl=kl,Pl={pipeId:El,basePipe:W(El),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:newssummary:domain@1`},description:`Find recent company news by performing a search and scrape.`,tags:[B.NEWS],docPath:G(El),billableOperations:jl,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Al(null),defaultPayload:{pipe_id:El,run_if:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},Fl=_(`company_website_url`),Il=_(`company_social_url`),Ll=_(`company_description`),Rl=_(`company_industry`),zl=_(`company_region`),Bl=_(`headcount`),Vl=_(`estimated_revenue`),Hl=_(`founded_year`),Ul=`company:overview@1`,Wl=r.object({pipe_id:r.literal(Ul),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Fl.name]:E({fieldName:Fl.name}),[Il.name]:E({fieldName:Il.name})})),output_fields:R(r.object({[Ll.name]:k({fieldName:Ll.name}),[Rl.name]:k({fieldName:Rl.name}),[zl.name]:k({fieldName:zl.name}),[Bl.name]:k({fieldName:Bl.name}),[Vl.name]:k({fieldName:Vl.name}),[Hl.name]:k({fieldName:Hl.name})}))}).optional()}),Gl=e=>H(K(Fl,e),K(Il,e)),Kl={"company-overview-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},ql=class extends U{pipeId=Ul;payloadSchema=Wl;billableOperations=Kl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v1-pipe0`]}getInputRequirement(){return Gl(this.payload.config)}getRawOutputFields(){return{[Ll.name]:this.catalogOutput(Ll),[Rl.name]:this.catalogOutput(Rl),[zl.name]:this.catalogOutput(zl),[Bl.name]:this.catalogOutput(Bl),[Vl.name]:this.catalogOutput(Vl),[Hl.name]:this.catalogOutput(Hl)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},Jl=Wl,Yl={pipeId:Ul,basePipe:W(Ul),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find high-level business and financial information like company description, estimated revenue, and headcount.`,docPath:`/resources/pipe-catalog/company:overview/1`,tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA,B.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Kl,defaultInputRequirement:Gl(null),defaultPayload:{pipe_id:Ul,run_if:null,connector:void 0,config:{input_fields:{company_social_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0}}}}},Xl=_(`company_website_url`),Zl=_(`company_profile_url`),Ql=_(`company_description`),$l=_(`company_industry`),eu=_(`company_region`),tu=_(`headcount`),nu=_(`estimated_revenue`),ru=_(`founded_year`),iu=_(`company_name`),au=`company:overview@2`,ou=r.object({pipe_id:r.literal(au),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Xl.name]:E({fieldName:Xl.name}),[Zl.name]:E({fieldName:Zl.name})})),output_fields:R(r.object({[Ql.name]:k({fieldName:Ql.name}),[$l.name]:k({fieldName:$l.name}),[eu.name]:k({fieldName:eu.name}),[tu.name]:k({fieldName:tu.name}),[nu.name]:k({fieldName:nu.name}),[ru.name]:k({fieldName:ru.name}),[iu.name]:k({fieldName:iu.name})}))}).optional()}),su=e=>H(K(Xl,e),K(Zl,e)),cu={"company-overview-v2-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},lu=class extends U{pipeId=au;payloadSchema=ou;billableOperations=cu;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-overview-v2-pipe0`]}getInputRequirement(){return su(this.payload.config)}getRawOutputFields(){return{[Ql.name]:this.catalogOutput(Ql),[$l.name]:this.catalogOutput($l),[eu.name]:this.catalogOutput(eu),[tu.name]:this.catalogOutput(tu),[nu.name]:this.catalogOutput(nu),[ru.name]:this.catalogOutput(ru),[iu.name]:this.catalogOutput(iu)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_email_lookup`,allowManagedConnection:!0},{provider:`gemini`,rateLimitOperation:`gemini_20_flash`,rateLimitRatio:.1,allowManagedConnection:!0}]}},uu=ou,du={pipeId:au,basePipe:W(au),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:overview@3`},description:`Business description, industry, and financial information.`,docPath:G(au),tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:cu,defaultInputRequirement:su(null),defaultPayload:{pipe_id:au,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},fu=_(`company_website_url`),pu=_(`technology_list`),mu=_(`spending_trend`),hu=_(`technology_match_builtwith`),gu=`company:techstack:builtwith@1`,_u=r.object({pipe_id:r.literal(gu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[fu.name]:E({fieldName:fu.name})})),output_fields:R(r.object({[pu.name]:k({fieldName:pu.name}),[hu.name]:k({fieldName:hu.name}),[mu.name]:k({fieldName:mu.name})}))}).optional()}),vu=e=>V(K(fu,e)),yu={"company-techstack-builtwith-v1-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},bu=class extends U{pipeId=gu;payload;payloadSchema=_u;billableOperations=yu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`company-techstack-builtwith-v1-builtwith`]}getInputRequirement(){return vu(this.payload.config)}getRawOutputFields(){return{[pu.name]:this.catalogOutput(pu),[hu.name]:this.catalogOutput(hu),[mu.name]:this.catalogOutput(mu)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},xu=_u,Su={pipeId:gu,basePipe:W(gu),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:techstack:builtwith@2`},description:`All technologies and frameworks powering a given website.`,tags:[B.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:G(gu),billableOperations:yu,defaultInputRequirement:vu(null),defaultPayload:{pipe_id:gu,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},Cu=`company:websiteurl:email@1`,wu=_(`company_website_url`),Tu=_(`email`),Eu=r.object({pipe_id:r.literal(Cu),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Tu.name]:E({fieldName:Tu.name})})),output_fields:R(r.object({[wu.name]:k({fieldName:wu.name})}))}).optional()}),Du=e=>V(K(Tu,e)),Ou={"company-websiteurl-email-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},ku=class extends U{pipeId=Cu;payload;payloadSchema=Eu;billableOperations=Ou;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`company-websiteurl-email-v1-pipe0`]}getInputRequirement(){return Du(this.payload.config)}getRawOutputFields(){return{[wu.name]:this.catalogOutput(wu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Au=Eu,ju={pipeId:Cu,basePipe:W(Cu),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:domain:workemail@1`},description:`Extract the company website URL from a work email address.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WEBSITE],docPath:G(Cu),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Ou,defaultInputRequirement:Du(null),defaultPayload:{pipe_id:Cu,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},Mu=`people:email:iswork@1`,Nu=_(`is_work_email`),Pu=_(`email`),Fu=r.object({pipe_id:r.literal(Mu),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Pu.name]:E({fieldName:Pu.name})})),output_fields:R(r.object({[Nu.name]:k({fieldName:Nu.name})}))}).optional()}),Iu=e=>V(K(Pu,e)),Lu={"people-email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Ru=class extends U{pipeId=Mu;payload;payloadSchema=Fu;billableOperations=Lu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-email-iswork-v1-pipe0`]}getInputRequirement(){return Iu(this.payload.config)}getRawOutputFields(){return{[Nu.name]:this.catalogOutput(Nu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},zu=Fu,Bu={pipeId:Mu,label:`Work email checker`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:iswork@1`},description:`Check if a given email address is personal or professional.`,tags:[B.EMAIL,B.WORK_EMAIL],docPath:G(Mu),billableOperations:Lu,basePipe:W(Mu),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Iu(null),defaultPayload:{pipe_id:Mu,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},Vu=`people:email:validate:zerobounce@1`,Hu=_(`work_email`),Uu=_(`is_email_valid`),Wu=r.object({pipe_id:r.literal(Vu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Hu.name]:E({fieldName:Hu.name})})),output_fields:R(r.object({[Uu.name]:k({fieldName:Uu.name})}))}).optional()}),Gu=e=>V(K(Hu,e)),Ku={"people-email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},qu=class extends U{pipeId=Vu;payload;payloadSchema=Wu;billableOperations=Ku;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-email-validate-zerobounce-v1-zerobounce`]}getInputRequirement(){return Gu(this.payload.config)}getRawOutputFields(){return{[Uu.name]:this.catalogOutput(Uu)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Ju=Wu,Yu={pipeId:Vu,basePipe:W(Vu),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@2`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:Ku,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Gu(null),defaultPayload:{pipe_id:Vu,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},Xu=`people:email:validate:zerobounce@2`,Zu=_(`email`),Qu=_(`zerobounce_validation_status`),$u=_(`zerobounce_validation_match`),ed=r.object({pipe_id:r.literal(Xu),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Zu.name]:E({fieldName:Zu.name})})),output_fields:R(r.object({[$u.name]:k({fieldName:$u.name}),[Qu.name]:k({fieldName:Qu.name})}))}).optional()}),td=e=>V(K(Zu,e)),nd={"people-email-validate-zerobounce-v2-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},rd=class extends U{pipeId=Xu;payload;payloadSchema=ed;billableOperations=nd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-email-validate-zerobounce-v2-zerobounce`]}getInputRequirement(){return td(this.payload.config)}getRawOutputFields(){return{[Qu.name]:this.catalogOutput(Qu),[$u.name]:this.catalogOutput($u)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},id=ed,ad={pipeId:Xu,basePipe:W(Xu),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:G(Xu),billableOperations:nd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:td(null),defaultPayload:{pipe_id:Xu,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}};function od(e){return(e.widgets||{}).display_value?.label}function sd(e){console.dir(e,{depth:100})}function cd(e){return typeof e==`object`&&e?JSON.stringify(e):e}function q(e){return e===0?1:e===1?.3:e===2?.2:.1}function ld(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=ld(e[n])}),t}const ud={string:[`address_line_1`,`email`,`url`,`website_url`,`markdown`,`zip_code`,`date`,`datetime`,`phone`,`text`,`profile_url`],json:[`json_object`,`json_list`],number:[`int`,`decimal`],boolean:[],unknown:[]};function J(e,t){let n=Object.entries(t).filter(([t,n])=>n.provider===e);if(n.length!==1)throw Error(`Found ${n.length} billing operations for provider ${e}. This is not allowed. There must be exactly 1 billing operation per provider.`);let[r,i]=n[0];return{billableOperation:r,billableOperationDef:i}}const dd=`people:identity:email:waterfall@1`,fd=_(`email`),pd=_(`company_website_url`),md=_(`name`),hd=_(`job_title`),gd=_(`profile_url`),_d=_(`company_profile_url`),vd=_(`company_name`),yd=[`findymail`,`hunter`,`crustdata`],bd=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],xd=r.object({pipe_id:r.literal(dd),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:yd,defaultProviders:bd,sectionKey:`general`}),input_fields:z(r.object({[fd.name]:E({fieldName:fd.name})})),output_fields:R(r.object({[md.name]:k({fieldName:md.name}),[gd.name]:k({fieldName:gd.name}),[hd.name]:k({fieldName:hd.name}),[pd.name]:k({fieldName:pd.name}),[vd.name]:k({fieldName:vd.name}),[_d.name]:k({fieldName:_d.name})}))}).optional()}),Sd=e=>V(K(fd,e)),Cd={"people-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},wd=class extends U{pipeId=dd;payload;payloadSchema=xd;billableOperations=Cd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Sd(this.payload.config)}getRawOutputFields(){return{[md.name]:this.catalogOutput(md,{isPrimaryOutput:!0}),[gd.name]:this.catalogOutput(gd,{isPrimaryOutput:!0}),[hd.name]:this.catalogOutput(hd,{isPrimaryOutput:!0}),[vd.name]:this.catalogOutput(vd,{isPrimaryOutput:!0}),[_d.name]:this.catalogOutput(_d,{isPrimaryOutput:!0}),[pd.name]:this.catalogOutput(pd,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Td=xd,Ed={pipeId:dd,basePipe:W(dd),label:`Person identity from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:identity:email:waterfall@1`},description:`Find identity of a person from their email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(dd),managedProviders:yd,deprecatedProviders:[],allowedUserConnectionProviders:yd,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Cd,defaultInputRequirement:Sd(null),defaultPayload:{pipe_id:dd,connector:null,run_if:null,config:{providers:bd,input_fields:{email:{alias:``}},output_fields:{name:{alias:``,enabled:!0},profile_url:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},Dd=`people:match:role:waterfall@1`,Od=_(`company_website_url`),kd=_(`role_finder_match`),Ad=[`leadmagic`],jd=[{provider:`leadmagic`}],Md=r.object({pipe_id:r.literal(Dd),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:jd,availableProviders:Ad}),roles:ia({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:z(r.object({[Od.name]:E({fieldName:Od.name})})),output_fields:R(r.object({[kd.name]:k({fieldName:kd.name})}))})}),Nd=e=>H(K(Od,e)),Pd={"people-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Fd=class extends U{pipeId=Dd;payload;payloadSchema=Md;billableOperations=Pd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Nd(this.payload.config)}getRawOutputFields(){return{[kd.name]:this.catalogOutput(kd,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Id=Md,Ld={pipeId:Dd,basePipe:W(Dd),managedProviders:Ad,deprecatedProviders:[],allowedUserConnectionProviders:Ad,label:`Role finder`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:match:role:waterfall@1`},description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[B.PEOPLE_PROFILES],docPath:G(Dd),billableOperations:Pd,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Nd(null),defaultPayload:{pipe_id:Dd,run_if:null,connector:null,config:{roles:[],providers:jd,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},Rd=`people:mobilenumber:professionalprofile:waterfall@1`,zd=_(`professional_profile_url`),Bd=_(`mobile_number`),Vd=[`leadmagic`,`prospeo`],Hd=[{provider:`leadmagic`},{provider:`prospeo`}],Ud=r.object({pipe_id:r.literal(Rd),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Hd,availableProviders:Vd}),input_fields:z(r.object({[zd.name]:E({fieldName:zd.name})})),output_fields:R(r.object({[Bd.name]:k({fieldName:Bd.name})}))}).optional()}),Wd=e=>V(K(zd,e)),Gd={"people-mobilenumber-professionalprofile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-mobilenumber-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},Kd=class extends U{pipeId=Rd;payload;payloadSchema=Ud;billableOperations=Gd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Wd(this.payload.config)}getRawOutputFields(){return{[Bd.name]:this.catalogOutput(Bd)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},qd=Ud,Jd={pipeId:Rd,basePipe:W(Rd),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:profile:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:`/resources/pipe-catalog/people:mobilenumber:professionalprofile:waterfall/1`,tags:[B.PHONE,B.WATERFALL],billableOperations:Gd,defaultInputRequirement:Wd(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Vd,deprecatedProviders:[],allowedUserConnectionProviders:Vd,defaultPayload:{pipe_id:Rd,connector:null,run_if:null,config:{providers:Hd,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Yd=`people:mobilenumber:workemail:waterfall@1`,Xd=_(`work_email`),Zd=_(`mobile_number`),Qd=[`leadmagic`],$d=[{provider:`leadmagic`}],ef=r.object({pipe_id:r.literal(Yd),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Qd,defaultProviders:$d}),input_fields:z(r.object({[Xd.name]:E({fieldName:Xd.name})})),output_fields:R(r.object({[Zd.name]:k({fieldName:Zd.name})}))}).optional()}),tf=e=>V(K(Xd,e)),nf={"people-mobilenumber-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},rf=class extends U{pipeId=Yd;payload;payloadSchema=ef;billableOperations=nf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return tf(this.payload.config)}getRawOutputFields(){return{[Zd.name]:this.catalogOutput(Zd)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},af=ef,of={pipeId:Yd,basePipe:W(Yd),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:nf,defaultInputRequirement:tf(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Qd,managedProviders:Qd,deprecatedProviders:[],defaultPayload:{pipe_id:Yd,connector:null,run_if:null,config:{providers:$d,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},sf=`people:name:split@1`,cf=_(`name`),lf=_(`first_name`),uf=_(`last_name`),df=r.object({pipe_id:r.literal(sf),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[cf.name]:E({fieldName:cf.name})})),output_fields:R(r.object({[lf.name]:k({fieldName:lf.name}),[uf.name]:k({fieldName:uf.name})}))}).optional()}),ff=e=>V(K(cf,e)),pf={"people-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},mf=class extends U{pipeId=sf;payload;payloadSchema=df;billableOperations=pf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-name-split-v1-pipe0`]}getInputRequirement(){return ff(this.payload.config)}getRawOutputFields(){return{[lf.name]:this.catalogOutput(lf),[uf.name]:this.catalogOutput(uf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},hf=df,gf={pipeId:sf,basePipe:W(sf),label:`Split name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:name:split@1`},description:`Split a full name into first and last name.`,tags:[B.NAMES],docPath:G(sf),billableOperations:pf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:ff(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:sf,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},_f=`people:personalemail:profile:waterfall@1`,vf=_(`profile_url`),yf=_(`personal_email`),bf=_(`alternate_personal_emails`),xf=[`clado`,`leadmagic`,`mixrank`],Sf=[{provider:`leadmagic`},{provider:`mixrank`}],Cf=r.object({pipe_id:r.literal(_f),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:xf,defaultProviders:Sf}),input_fields:z(r.object({[vf.name]:E({fieldName:vf.name})})),output_fields:R(r.object({[yf.name]:k({fieldName:yf.name}),[bf.name]:k({fieldName:bf.name})}))}).optional()}),wf=e=>V(K(vf,e)),Tf={"people-personalemail-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:2},mode:`always`},"people-personalemail-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-personalemail-profile-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Ef=class extends U{pipeId=_f;payload;payloadSchema=Cf;billableOperations=Tf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return wf(this.payload.config)}getRawOutputFields(){return{[yf.name]:this.catalogOutput(yf,{isPrimaryOutput:!0}),[bf.name]:this.catalogOutput(bf)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Df=Cf,Of={pipeId:_f,basePipe:W(_f),allowedUserConnectionProviders:xf,managedProviders:xf,deprecatedProviders:[`clado`],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:personalemail:profileurl:waterfall@1`},description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[B.EMAIL,B.PERSONAL_EMAIL],docPath:G(_f),billableOperations:Tf,defaultInputRequirement:wf(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:_f,connector:null,run_if:null,config:{providers:Sf,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},kf=`people:phone:profile:waterfall@1`,Af=_(`profile_url`),jf=_(`mobile`),Mf=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],Nf=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Pf=r.object({pipe_id:r.literal(kf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Nf,availableProviders:Mf}),input_fields:z(r.object({[Af.name]:E({fieldName:Af.name})})),output_fields:R(r.object({[jf.name]:k({fieldName:jf.name})}))}).optional()}),Ff=e=>V(K(Af,e)),If={"people-phone-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6},mode:`onSuccess`},"people-phone-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},Lf=class extends U{pipeId=kf;payload;payloadSchema=Pf;billableOperations=If;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Ff(this.payload.config)}getRawOutputFields(){return{[jf.name]:this.catalogOutput(jf,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,clado:`clado_contact_information`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Rf=Pf,zf={pipeId:kf,basePipe:W(kf),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:profileurl:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:G(kf),tags:[B.PHONE,B.WATERFALL],billableOperations:If,defaultInputRequirement:Ff(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Mf,allowedUserConnectionProviders:Mf,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:kf,connector:null,run_if:null,config:{providers:Nf,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Bf=`people:phone:workemail:waterfall@1`,Vf=_(`work_email`),Hf=_(`mobile`),Uf=[`leadmagic`,`amplemarket`],Wf=[{provider:`leadmagic`},{provider:`amplemarket`}],Gf=r.object({pipe_id:r.literal(Bf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Uf,defaultProviders:Wf}),input_fields:z(r.object({[Vf.name]:E({fieldName:Vf.name})})),output_fields:R(r.object({[Hf.name]:k({fieldName:Hf.name})}))}).optional()}),Kf=e=>V(K(Vf,e)),qf={"people-phone-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},Jf=class extends U{pipeId=Bf;payload;payloadSchema=Gf;billableOperations=qf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Kf(this.payload.config)}getRawOutputFields(){return{[Hf.name]:this.catalogOutput(Hf,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Yf=Gf,Xf={pipeId:Bf,basePipe:W(Bf),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:G(Bf),billableOperations:qf,defaultInputRequirement:Kf(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Uf,managedProviders:Uf,deprecatedProviders:[],defaultPayload:{pipe_id:Bf,connector:null,run_if:null,config:{providers:Wf,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Zf=`people:professionalprofile:waterfall@1`,Qf=_(`professional_profile`),$f=_(`professional_profile_url`),ep=[`prospeo`,`icypeas`],tp=[{provider:`prospeo`},{provider:`icypeas`}],np=r.object({pipe_id:r.literal(Zf),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:ep,defaultProviders:tp}),input_fields:z(r.object({[$f.name]:E({fieldName:$f.name})})),output_fields:R(r.object({[Qf.name]:k({fieldName:Qf.name})}))}).optional()}),rp=e=>V(K($f,e)),ip={"people-professionalprofile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},ap=class extends U{pipeId=Zf;payload;payloadSchema=np;billableOperations=ip;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return rp(this.payload.config)}getRawOutputFields(){return{[Qf.name]:this.catalogOutput(Qf)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},op=np,sp={pipeId:Zf,basePipe:W(Zf),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:`/resources/pipe-catalog/people:professionalprofile:waterfall/1`,tags:[B.LINKEDIN,B.WATERFALL],managedProviders:ep,deprecatedProviders:[],allowedUserConnectionProviders:ep,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:ip,defaultInputRequirement:rp(null),defaultPayload:{pipe_id:Zf,run_if:null,connector:null,config:{providers:tp,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},cp=`people:professionalprofileurl:email:waterfall@1`,lp=_(`email`),up=_(`work_email`),dp=_(`professional_profile_url`),fp=[`leadmagic`],pp=[{provider:`leadmagic`}],mp=r.object({pipe_id:r.literal(cp),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:pp,availableProviders:fp}),input_fields:z(r.object({[lp.name]:E({fieldName:lp.name}),[up.name]:E({fieldName:up.name})})),output_fields:R(r.object({[dp.name]:k({fieldName:dp.name})}))}).optional()}),hp=e=>H(K(lp,e),K(up,e)),gp={"people-professionalprofileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},_p=class extends U{pipeId=cp;payload;payloadSchema=mp;billableOperations=gp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return hp(this.payload.config)}getRawOutputFields(){return{[dp.name]:this.catalogOutput(dp)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},vp=mp,yp={pipeId:cp,basePipe:W(cp),managedProviders:fp,deprecatedProviders:[],allowedUserConnectionProviders:fp,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:gp,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:hp(null),defaultPayload:{pipe_id:cp,run_if:null,connector:null,config:{providers:pp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},bp=`people:professionalprofileurl:name@1`,xp=_(`name`),Sp=_(`company_name`),Cp=_(`location_hint`),wp=_(`professional_profile_url`),Tp=r.object({pipe_id:r.literal(bp),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[xp.name]:E({fieldName:xp.name}),[Sp.name]:E({fieldName:Sp.name}),[Cp.name]:E({fieldName:Cp.name})})),output_fields:R(r.object({[wp.name]:k({fieldName:wp.name})}))}).optional()}),Ep=e=>Pa(V(K(xp,e)),V(K(Sp,e)),Fa(K(Cp,e))),Dp={"people-professionalprofileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},Op=class extends U{pipeId=bp;payload;payloadSchema=Tp;billableOperations=Dp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`people-professionalprofileurl-name-v1-pipe0`]}getInputRequirement(){return Ep(this.payload.config)}getRawOutputFields(){return{[wp.name]:this.catalogOutput(wp)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},kp=Tp,Ap={pipeId:bp,basePipe:W(bp),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:name@1`},allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:`/resources/pipe-catalog/people:professionalprofileurl:name/1`,tags:[B.LINKEDIN],billableOperations:Dp,defaultInputRequirement:Ep(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:bp,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},jp=`people:profile:waterfall@1`,Mp=_(`profile`),Np=_(`profile_url`),Pp=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Fp=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Ip=r.object({pipe_id:r.literal(jp),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Pp,defaultProviders:Fp}),input_fields:z(r.object({[Np.name]:E({fieldName:Np.name})})),output_fields:R(r.object({[Mp.name]:k({fieldName:Mp.name})}))}).optional()}),Lp=e=>V(K(Np,e)),Rp={"people-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-clado":{provider:`clado`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},zp=class extends U{pipeId=jp;payload;payloadSchema=Ip;billableOperations=Rp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Lp(this.payload.config)}getRawOutputFields(){return{[Mp.name]:this.catalogOutput(Mp,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,clado:`clado_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Bp=Ip,Vp={pipeId:jp,basePipe:W(jp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:G(jp),tags:[B.LINKEDIN,B.WATERFALL],managedProviders:Pp,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Pp,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Rp,defaultInputRequirement:Lp(null),defaultPayload:{pipe_id:jp,run_if:null,connector:null,config:{providers:Fp,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Hp=_(`work_email`),Up=_(`crustdata_person_match`),Wp=_(`crustdata_profile_match_score`),Gp=`people:profile:workemail:crustdata@1`,Kp=r.object({pipe_id:r.literal(Gp),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Hp.name]:E({fieldName:Hp.name})})),output_fields:R(r.object({[Up.name]:k({fieldName:Up.name}),[Wp.name]:k({fieldName:Wp.name})}))}).optional()}),qp=e=>V(K(Hp,e)),Jp={"people-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},Yp=class extends U{pipeId=Gp;payload;payloadSchema=Kp;billableOperations=Jp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`people-profile-workemail-crustdata-v1-crustdata`]}getInputRequirement(){return qp(this.payload.config)}getRawOutputFields(){return{[Up.name]:this.catalogOutput(Up),[Wp.name]:this.catalogOutput(Wp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Xp=Kp,Zp={pipeId:Gp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Gp),label:`Profile from work email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:workemail:crustdata@1`},description:`Find person profile by their work email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(Gp),billableOperations:Jp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:qp(null),defaultPayload:{pipe_id:Gp,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},Qp=`people:profileurl:email:waterfall@1`,$p=_(`email`),em=_(`work_email`),tm=_(`profile_url`),nm=[`leadmagic`],rm=[{provider:`leadmagic`}],im=r.object({pipe_id:r.literal(Qp),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:rm,availableProviders:nm}),input_fields:z(r.object({[$p.name]:E({fieldName:$p.name}),[em.name]:E({fieldName:em.name})})),output_fields:R(r.object({[tm.name]:k({fieldName:tm.name})}))}).optional()}),am=e=>H(K($p,e),K(em,e)),om={"people-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},sm=class extends U{pipeId=Qp;payload;payloadSchema=im;billableOperations=om;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return am(this.payload.config)}getRawOutputFields(){return{[tm.name]:this.catalogOutput(tm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},cm=im,lm={pipeId:Qp,basePipe:W(Qp),managedProviders:nm,deprecatedProviders:[],allowedUserConnectionProviders:nm,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:G(Qp),billableOperations:om,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:am(null),defaultPayload:{pipe_id:Qp,run_if:null,connector:null,config:{providers:rm,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},um=`people:validate:email:zerobounce@1`,dm=_(`work_email`),fm=_(`ip_address`),pm=_(`is_email_valid`),mm=r.object({pipe_id:r.literal(um),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[dm.name]:E({fieldName:dm.name}),[fm.name]:E({fieldName:fm.name})})),output_fields:R(r.object({[pm.name]:k({fieldName:pm.name})}))}).optional()}),hm=e=>Pa(V(K(dm,e)),Fa(K(fm,e))),gm={"people-validate-email-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.5},mode:`always`}},_m=class extends U{pipeId=um;payload;payloadSchema=mm;billableOperations=gm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`people-validate-email-zerobounce-v1-zerobounce`]}getInputRequirement(){return hm(this.payload.config)}getRawOutputFields(){return{[pm.name]:this.catalogOutput(pm)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},vm=mm,ym={pipeId:um,basePipe:W(um),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:gm,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:hm(null),defaultPayload:{pipe_id:um,connector:null,run_if:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},bm=`people:workemail:profileurl:waterfall@1`,xm=_(`profile_url`),Sm=_(`work_email`),Cm=_(`email_validation_status`),wm=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],Tm=[`clado`],Em=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],Dm=r.object({pipe_id:r.literal(bm),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:wm,defaultProviders:Em,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[xm.name]:E({fieldName:xm.name})})),output_fields:R(r.object({[Sm.name]:k({fieldName:Sm.name}),[Cm.name]:k({fieldName:Cm.name})}))}).optional()}),Om=e=>V(K(xm,e)),km={"people-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},Am=class extends U{pipeId=bm;payload;payloadSchema=Dm;billableOperations=km;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Om(this.payload.config)}getRawOutputFields(){return{[Sm.name]:this.catalogOutput(Sm,{isPrimaryOutput:!0}),[Cm.name]:this.catalogOutput(Cm,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`,clado:`clado_contact_information`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},jm=Dm,Mm={pipeId:bm,basePipe:W(bm),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:profileurl:waterfall@1`},description:`Find work email addresses from B2B profile.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(bm),managedProviders:wm,allowedUserConnectionProviders:wm,deprecatedProviders:Tm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:km,defaultInputRequirement:Om(null),defaultPayload:{pipe_id:bm,connector:null,run_if:null,config:{providers:Em,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{profile_url:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!0}}}}},Nm=`people:workemail:waterfall@1`,Pm=_(`name`),Fm=_(`company_website_url`),Im=_(`company_name`),Lm=_(`work_email`),Rm=_(`email_validation_status`),zm=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Bm=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Vm=r.object({pipe_id:r.literal(Nm),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:zm,defaultProviders:Bm,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[Pm.name]:E({fieldName:Pm.name}),[Fm.name]:E({fieldName:Fm.name}),[Im.name]:E({fieldName:Im.name})})),output_fields:R(r.object({[Lm.name]:k({fieldName:Lm.name}),[Rm.name]:k({fieldName:Rm.name})}))}).optional()}),Hm=e=>Pa(V(K(Pm,e)),H(K(Fm,e),K(Im,e))),Um={"people-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"people-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},Wm=class extends U{pipeId=Nm;payload;payloadSchema=Vm;billableOperations=Um;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Hm(this.payload.config)}getRawOutputFields(){return{[Lm.name]:this.catalogOutput(Lm,{isPrimaryOutput:!0}),[Rm.name]:this.catalogOutput(Rm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Gm=Vm,Km={pipeId:Nm,basePipe:W(Nm),label:`Work email from name`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:waterfall@1`},description:`Find work email addresses in a waterfall motion.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(Nm),managedProviders:zm,deprecatedProviders:[],allowedUserConnectionProviders:zm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Um,defaultInputRequirement:Hm(null),defaultPayload:{pipe_id:Nm,connector:null,run_if:null,config:{providers:Bm,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{company_name:{alias:``},company_website_url:{alias:``},name:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},qm=`email:iswork@1`,Jm=_(`is_work_email`),Ym=_(`email`),Xm=r.object({pipe_id:r.literal(qm),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Ym.name]:E({fieldName:Ym.name})})),output_fields:R(r.object({[Jm.name]:k({fieldName:Jm.name})}))}).optional()}),Zm=e=>V(K(Ym,e)),Qm={"email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},$m=class extends U{pipeId=qm;payload;payloadSchema=Xm;billableOperations=Qm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`email-iswork-v1-pipe0`]}getInputRequirement(){return Zm(this.payload.config)}getRawOutputFields(){return{[Jm.name]:this.catalogOutput(Jm)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},eh=Xm,th={pipeId:qm,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[B.EMAIL,B.WORK_EMAIL],docPath:G(qm),billableOperations:Qm,basePipe:W(qm),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Zm(null),defaultPayload:{pipe_id:qm,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}};function nh(e,t){return typeof t==`string`?t:t(e)}function rh(e,t){return typeof t==`string`||t===null?t:t(e)}function ih(e,t){let n={};for(let r of t){let t=!1;for(let i of e.pipes){let a=i.getOutputFields();if(a[r]){n[r]??={type:nh(e,a[r].type),format:rh(e,a[r].format)},t=!0;break}}if(t)continue;let i=e.derivedInputFields[r];i&&(n[r]??={type:i.type,format:null})}return n}function ah(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:nh(e,r[t].type),format:rh(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function oh(e,t={}){let n=t.expectedType??`string`,r=t.expectedFormat??`text`,i=new Map;for(let t of e){if(!t)continue;let e;try{e=zr(t)}catch{continue}for(let[t,n]of Object.entries(e.inputs)){let e=i.get(t);i.set(t,{required:e&&e.required||n.required})}}let a=[];for(let[e,t]of i){let i={name:e,resolvedName:e,label:e,description:``,type:t=>ah(t,e)?.type||n,format:r};a.push(t.required?V(i):Fa(i))}return Pa(...a)}function Y(e){let t=new Set;for(let n of e)if(n)try{let e=zr(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}function sh(e){let t=new Set;for(let n of e)if(n)try{let e=zr(n);for(let n of e.constants)t.add(n)}catch{}return[...t]}const ch=`email:send:gmail@1`,lh=_(`gmail_email_success`),uh=r.object({pipe_id:r.literal(ch),connector:$i(),run_if:S(),config:r.object({to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.to`,label:`To`,info:"Recipient address. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`{{ email }}`,inputType:`email`,minLength:1,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),reply_to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.reply_to`,label:`Reply-To`,info:"Optional address recipients can reply to. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`support@example.com`,inputType:`email`,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),subject:C({sectionKey:`general`,groupPath:`config.general`,path:`config.subject`,label:`Subject`,info:"Email subject line. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }}`,inputType:`text`,minLength:1,maxLength:998,expectedTagType:`string`,expectedTagFormat:`text`}),body:C({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
68
68
|
|
|
69
|
-
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[
|
|
69
|
+
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[lh.name]:k({fieldName:lh.name})}))})}),dh={"email-send-gmail-v1-gmail":{allowManagedConnection:!1,provider:`gmail`,credits:null,mode:null}},fh=class extends U{pipeId=ch;payload;payloadSchema=uh;billableOperations=dh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`gmail`]}estimateBillableOperations(){return[`email-send-gmail-v1-gmail`]}getTemplatedFields(){return[this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return oh(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return sh(this.getTemplatedFields())}getRawOutputFields(){return{[lh.name]:this.catalogOutput(lh)}}getConnectionsRequirements(){return[{provider:`gmail`,rateLimitRatio:1,rateLimitOperation:`gmail_send_email`,allowManagedConnection:!1}]}},ph=uh,mh={pipeId:ch,basePipe:W(ch),label:`Send email`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Gmail.`,detailed_description:"Send an email via Gmail. To, Reply-To, Subject and Body are templated config fields โ reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Gmail vault connection (call list_connections to find one).",tags:[B.EMAIL],docPath:G(ch),billableOperations:dh,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`gmail`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:ch,connector:{strategy:`first`,connections:[]},run_if:null,config:{to:``,reply_to:``,subject:``,body:``,output_fields:{gmail_email_success:{alias:``,enabled:!0}}}}},hh=`email:send:resend@1`,gh=_(`resend_email_success`),_h=r.object({pipe_id:r.literal(hh),connector:$i(),run_if:S(),config:r.object({from:C({sectionKey:`general`,groupPath:`config.general`,path:`config.from`,label:`From`,info:"Sender address. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`noreply@example.com`,inputType:`email`,minLength:3,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.to`,label:`To`,info:"Recipient address. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`{{ email }}`,inputType:`email`,minLength:1,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),reply_to:C({sectionKey:`general`,groupPath:`config.general`,path:`config.reply_to`,label:`Reply-To`,info:"Optional address recipients can reply to. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`support@example.com`,inputType:`email`,maxLength:320,expectedTagType:`string`,expectedTagFormat:`email`}),subject:C({sectionKey:`general`,groupPath:`config.general`,path:`config.subject`,label:`Subject`,info:"Email subject line. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }}`,inputType:`text`,minLength:1,maxLength:998,expectedTagType:`string`,expectedTagFormat:`text`}),body:C({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
70
70
|
|
|
71
|
-
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[lh.name]:k({fieldName:lh.name})}))})}),dh={"email-send-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},fh=class extends U{pipeId=ch;payload;payloadSchema=uh;billableOperations=dh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`email-send-resend-v1-resend`]}getTemplatedFields(){return[this.payload.config.from,this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return eh(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return X(this.getTemplatedFields())}getRawOutputFields(){return{[lh.name]:this.catalogOutput(lh)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},ph=uh,mh={pipeId:ch,basePipe:W(ch),label:`Send email with Resend`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Resend.`,detailed_description:"Send an email via Resend. From, To, Reply-To, Subject and Body are templated config fields โ reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Resend vault connection (call list_connections to find one).",tags:[B.EMAIL],docPath:G(ch),billableOperations:dh,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:ch,connector:{strategy:`first`,connections:[]},run_if:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},hh=`email:validate:zerobounce@1`,gh=_(`email`),_h=_(`zerobounce_validation_status`),vh=_(`zerobounce_validation_match`),yh=r.object({pipe_id:r.literal(hh),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[gh.name]:E({fieldName:gh.name})})),output_fields:R(r.object({[vh.name]:k({fieldName:vh.name}),[_h.name]:k({fieldName:_h.name})}))}).optional()}),bh=e=>V(K(gh,e)),xh={"email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.4,level1:{credits:.3,weight:1},level2:{credits:.15,weight:6}},mode:`always`}},Sh=class extends U{pipeId=hh;payload;payloadSchema=yh;billableOperations=xh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`email-validate-zerobounce-v1-zerobounce`]}getInputRequirement(){return bh(this.payload.config)}getRawOutputFields(){return{[_h.name]:this.catalogOutput(_h),[vh.name]:this.catalogOutput(vh)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Ch=yh,wh={pipeId:hh,basePipe:W(hh),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:G(hh),billableOperations:xh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:bh(null),defaultPayload:{pipe_id:hh,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},Th={title:`Software Engineer, CEO, ...`,seniority:`C-Suite, Senior, ...`,department:`Consulting, Finance, ...`,certification:`CISSP, AWS, ...`,crunchbase_category:`3D Printing, Big Date, ...`,honor:`Cum Laude, 40 Under 40, ...`,field_of_study:`Engineering, Computer Science, ...`,degree_name:`Bachelor of Science, ...`,extracurricular:`Athelete, Debate Team, ...`,job_function:`Accounting, Advertising, ...`,location:`USA, Germany, France, ...`,company_name:`Google, Anthropic, ...`,company_domain:`google.com, openai.com, ...`,company_profile_keyword:`B2B, Software, ...`,headline_keywords:`Founder, JavaScript, ...`,profile_keywords:`Coach, Scrum, ...`,languages:`German, English, ...`,languages_1:`Spanish, Italian, ...`,skills:`TypeScript, Playwright, ...`,industry:`IT, Agriculture, ...`,investor:`a16z, Inside Partners, ...`,school:`MIT, Harvard, ...`,prompt:`Enter prompt here...`,template:`Enter template here...`};function Z(e){return Th[e]}const Eh=`email:write@1`,Dh=`email-write-v1`,Oh=ri(Dh),kh=_(`email_subject`),Ah=_(`email_body`),jh=r.object({pipe_id:r.literal(Eh),connector:w(),run_if:S(),config:r.object({template:Gi({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:Z(`prompt`),groupPath:`config.prompt`,required:!0}),model:ca({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Oh}),signature:oa({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:sa({sectionKey:`general`,label:`Persona`,info:`Define the unique tone of your email`,path:`config.persona`,groupPath:`config.prompt`,required:!1,options:[{label:`Sales`,value:`sales`},{label:`Human Resources`,value:`human_resources`},{label:`Customer Success`,value:`customer_success`}]}),output_fields:R(r.object({[kh.name]:k({fieldName:kh.name}),[Ah.name]:k({fieldName:Ah.name})}))})}),Mh=class extends U{pipeId=Eh;payload;payloadSchema=jh;billableOperations=Oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ai(this.payload.config.model)}estimateBillableOperations(){return[ii(this.payload.config.model,Dh)]}getInputRequirement(){return eh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return X([this.payload.config.template])}getRawOutputFields(){return{[kh.name]:this.catalogOutput(kh),[Ah.name]:this.catalogOutput(Ah)}}getConnectionsRequirements(){return oi(this.payload.config.model)}},Nh=jh,Ph={pipeId:Eh,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(Eh),label:`Email writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing emails.`,detailed_description:`AI email composer. Outputs: email_subject, email_body. Pair with email:send:gmail@1 or email:send:resend@1 to send the composed email. Requires 'email' field in input records for the sender pipe.`,tags:[B.AI],docPath:G(Eh),defaultInputRequirement:null,billableOperations:Oh,allowedUserConnectionProviders:si(),managedProviders:si(),deprecatedProviders:[],defaultPayload:{pipe_id:Eh,connector:null,run_if:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-gpt-latest`,signature:``}}},Fh=`field:domainify@1`,Ih=_(`url_input`),Lh=_(`domain`),Rh=r.object({pipe_id:r.literal(Fh),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Ih.name]:E({fieldName:Ih.name})})),output_fields:R(r.object({[Lh.name]:k({fieldName:Lh.name})}))}).optional()}),zh=e=>V(K(Ih,e)),Bh={"field-domainify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Vh=class extends U{pipeId=Fh;payload;payloadSchema=Rh;billableOperations=Bh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return zh(this.payload.config)}getRawOutputFields(){return{[Lh.name]:this.catalogOutput(Lh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Hh=Rh,Uh={pipeId:Fh,basePipe:W(Fh),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[B.LOGIC,B.FIELDS],docPath:G(Fh),billableOperations:Bh,defaultInputRequirement:zh(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Fh,run_if:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Wh=`field:slugify@1`,Gh=_(`string_input`),Kh=_(`slugified`),qh=r.object({pipe_id:r.literal(Wh),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Gh.name]:E({fieldName:Gh.name})})),output_fields:R(r.object({[Kh.name]:k({fieldName:Kh.name})}))}).optional()}),Jh=e=>V(K(Gh,e)),Yh={"field-slugify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Xh=class extends U{pipeId=Wh;payload;payloadSchema=qh;billableOperations=Yh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Jh(this.payload.config)}getRawOutputFields(){return{[Kh.name]:this.catalogOutput(Kh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Zh=qh,Qh={pipeId:Wh,basePipe:W(Wh),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[B.LOGIC,B.FIELDS],docPath:G(Wh),billableOperations:Yh,defaultInputRequirement:Jh(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Wh,run_if:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function $h({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function eg(e){switch(e.kind){case`field`:return $h(e.field);case`optional`:return`[optional ${$h(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?eg(e.of[0]):`(${e.of.map(eg).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?eg(e.of[0]):`(${e.of.map(eg).join(` OR `)})`}}function tg(e,t){return`Pipe input requirement is not satisfied${t?.pipeId!==void 0||t?.index!==void 0?` for pipe${t.index===void 0?``:` at index ${t.index}`}${t.pipeId===void 0?``:` (${t.pipeId})`}`:``}: ${eg(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var ng=class extends Error{constructor(e){super(`Request validation failed (${e.length} errors): ${e.join(`, `)}`),this.errors=e,this.name=`RequestValidationError`,Object.setPrototypeOf(this,new.target.prototype)}};const Q={ConditionTargetFieldNotFound:({fieldName:e,pipeId:t,pipeIdx:n})=>({code:`ConditionTargetFieldNotFound`,message:`${t} (idx: ${n}) has an invalid condition. Field '${e}' not found.`}),FaultyEnrichmentOrder:()=>({code:`FaultyEnrichmentOrder`,message:`Enrichment not found while ordering. Was the request invalid?`}),MustDefineAnnotations:()=>({code:`MustDefineAnnotations`,message:`Must define either input or field annoations to validate pipes payload.`}),CircularDependency:({currentPipe:e,circularPipe:t})=>({code:`CircularDependency`,message:`'${e.pipe_id}' (${e.idx}) and '${t.pipeId}' (${t.idx}) create a dependency loop. They both need the other's output to complete. Neither can complete. You can map the pipe outputs or input to fields with different names if you want the pipes to be independent or each other.`}),ValidationFailed:({error:e})=>({code:`ValidationFailed`,message:`Failed to validate task request: ${e instanceof Error?e.message:String(e)}`}),MissingCustomConnections:({pipeId:e,index:t,missingProviders:n})=>({code:`MissingCustomConnections`,message:`Pipe ${e} (index ${t}) requires you to specify custom connections for the providers ${n.join(`, `)}. Create the custom connections in the dashbard and reference them in your request.`}),ResponseGenerationFailed:({error:e})=>({code:`ResponseGenerationFailed`,message:`Failed to generate response: ${e instanceof Error?e.message:String(e)}`}),InputValuesMustHaveSameType:({pipeId:e,fieldNames:t})=>({code:`InputValuesMustHaveSameType`,message:`Pipe ${e} requires all input values to have the same type. But values ${t.join(`, `)} have different types.`}),NotValidated:()=>({code:`NotValidated`,message:`PipelineRequest must be validated before accessing results`}),MissingIdInInput:()=>({code:`MissingIdInInput`,message:`Inputs missing 'id' property.`}),InputDataTypeMismatch:({key:e,derivedInputFieldType:t,fieldType:n})=>({code:`InputDataTypeMismatch`,message:`Input data has values with matching keys '${e}' but different types. Expected type: '${t}'. Actual: '${n}'.`}),UnresolvableDependency:({index:e,dependencyIndex:t})=>({code:`UnresolvableDependency`,message:`Unresolvable dependency at index ${e} to ${t}`}),RequirementUnmet:({requirement:e,pipeId:t,index:n})=>({code:`RequirementUnmet`,message:tg(e,{pipeId:t,index:n})}),HardInputDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardInputDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) must come after pipe at idx: ${n} (${r})`}),HardConditionDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardConditionDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) has a condition that points to pipe at idx: ${n} (${r}). But pipe index: ${e} (${t}) is always must be processed after pipe at index ${n} (${r}). This is due to input requirements or other conditions.`}),DuplicateInitialField:({name:e})=>({code:`DuplicateInitialField`,message:`Duplicate initial field '${e}' detected. Each field must be defined only once.`}),MissingInputId:({index:e})=>({code:`MissingInputId`,message:`Input record at index ${e} is missing a required ID field.`}),InvalidId:()=>({code:`InvalidId`,message:`Cell IDs must be numbers or strings`}),IDConflict:({index:e,id:t})=>({code:`IDConflict`,message:`Input data at index ${e} has Id conflict. Id '${t}' is not unique.`}),UnknownResolver:({pipeId:e,index:t})=>({code:`UnknownResolver`,message:`Unknown pipe '${e}' specified at position ${t}.`}),DuplicatePipeOutput:({pipeId:e,outputField:t})=>({code:`DuplicateEnrichmentOutput`,message:`Field conflict for '${e}'. Cannot add output field ${$h(t)} to pipeline because it already exists. Try renaming it.`}),InputDataDoesNotMatchOutputField:({index:e,resolvedName:t,type:n,inputValueType:r})=>({code:`InputDataDoesNotMatchOutputField`,message:`Input at position ${e} provided data for field '${t}' that did not match expected type. Expected: '${n}', Actual: '${r}'.`}),AmbiguousDependency:({fieldName:e})=>({code:`AmbiguousDependency`,message:`Found more than one pipe that produces field: ${e}. Rename or disable the field to add it.`}),EmptyObjectProperty:()=>({code:`EmptyObjectProperty`,message:`Input data contains empty object property "". This is not allowed.`}),JSONSchemaMissing:({schemaRef:e,outputName:t})=>({code:`JSONSchemaMissing`,message:`Missing jsonSchema '${e}' for output with name '${t}'.`}),InvalidJSONSchema:({schemaRef:e})=>({code:`InvalidJSONSchema`,message:`JSON Schema (ref: ${e}) is invalid.`}),MissingOutputFieldDescription:({outputName:e})=>({code:`MissingOutputFieldDescription`,message:`The output field ${e} is missing a "description" property. Define it {{ ${e} description="Foo bar" }}`}),InvalidFormatTag:({outputName:e,format:t})=>({code:`InvalidFormatTag`,message:`The output field ${e} has an invalid format tag ${t}.`}),RecursiveExpandedValue:()=>({code:`RecursiveExpandedValue`,message:`Your input values contain a recursive expanded valuetype `})};var rg=class extends Error{},$=class extends rg{codes;appErrors;constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e,this.codes=e.map(e=>e.code),this.appErrors=e}};const ig=`fields:merge@1`,ag=_(`merge_result`),og=r.object({pipe_id:r.literal(ig),connector:T(),run_if:S(),config:r.object({sources:Yi({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:R(r.object({[ag.name]:k({fieldName:ag.name})}))})}),sg={"fields-merge-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},cg=class extends U{pipeId=ig;payload;payloadSchema=og;billableOperations=sg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`fields-merge-v1-pipe0`]}getInputRequirement(){let e=this.payload.config.sources.map(e=>e.field_name),t;return H(...this.payload.config.sources.map(n=>V({format:null,type:r=>{let i=Qm(r,e)[n.field_name],a=i?.type?i.type:`unknown`;if(a!==`unknown`){if(t&&t!==a)throw new $([Q.InputValuesMustHaveSameType({pipeId:this.pipeId,fieldNames:e})]);t=a}return i?.type?i.type:`unknown`},label:``,description:``,name:n.field_name,resolvedName:n.field_name})))}getRawOutputFields(){return{[ag.name]:this.catalogOutput(ag,{resolveType:e=>{let t=Qm(e,this.payload.config.sources.map(e=>e.field_name));return Object.values(t).find(e=>!!e.type)?.type||`string`}})}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},lg=og,ug={pipeId:ig,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(ig),label:`Merge fields`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Join multiple fields into one field. The final result will be the first defined field.`,tags:[B.FIELDS,B.LOGIC],docPath:G(ig),defaultInputRequirement:null,billableOperations:sg,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ig,connector:null,run_if:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},dg=`http:request@1`,fg=_(`http_response_status`),pg=_(`http_response_body`),mg=_(`http_response_headers`),hg=r.object({pipe_id:r.literal(dg),connector:T(),run_if:S(),config:r.object({method:sa({sectionKey:`general`,groupPath:`config.general`,path:`config.method`,label:`Method`,defaultValue:`GET`,options:[...[{value:`GET`,label:`GET`},{value:`POST`,label:`POST`},{value:`PUT`,label:`PUT`},{value:`PATCH`,label:`PATCH`},{value:`DELETE`,label:`DELETE`}]],required:!0}),url:C({sectionKey:`general`,groupPath:`config.general`,path:`config.url`,label:`Endpoint`,info:"Target URL. Only http/https. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`https://api.example.com/v1/things`,inputType:`text`,minLength:1,maxLength:2048,expectedTagType:`string`,expectedTagFormat:`text`}),query_params:ea({sectionKey:`general`,groupPath:`config.general`,path:`config.query_params`,label:`Query parameters`,info:"Appended to the URL. Type `@` to insert a field reference or `$` to insert a secret reference in either column.",keyLabel:`Key`,valueLabel:`Value`,keyPlaceholder:`page`,valuePlaceholder:`1`,maxItems:50}),body:C({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Sent verbatim as the request body. Type `@` to insert a field reference or `$` to insert a secret reference. Set Content-Type via Headers.",placeholder:`{
|
|
71
|
+
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[gh.name]:k({fieldName:gh.name})}))})}),vh={"email-send-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},yh=class extends U{pipeId=hh;payload;payloadSchema=_h;billableOperations=vh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`email-send-resend-v1-resend`]}getTemplatedFields(){return[this.payload.config.from,this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return oh(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return sh(this.getTemplatedFields())}getRawOutputFields(){return{[gh.name]:this.catalogOutput(gh)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},bh=_h,xh={pipeId:hh,basePipe:W(hh),label:`Send email with Resend`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Resend.`,detailed_description:"Send an email via Resend. From, To, Reply-To, Subject and Body are templated config fields โ reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Resend vault connection (call list_connections to find one).",tags:[B.EMAIL],docPath:G(hh),billableOperations:vh,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:hh,connector:{strategy:`first`,connections:[]},run_if:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},Sh=`email:validate:zerobounce@1`,Ch=_(`email`),wh=_(`zerobounce_validation_status`),Th=_(`zerobounce_validation_match`),Eh=r.object({pipe_id:r.literal(Sh),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[Ch.name]:E({fieldName:Ch.name})})),output_fields:R(r.object({[Th.name]:k({fieldName:Th.name}),[wh.name]:k({fieldName:wh.name})}))}).optional()}),Dh=e=>V(K(Ch,e)),Oh={"email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.4,level1:{credits:.3,weight:1},level2:{credits:.15,weight:6}},mode:`always`}},kh=class extends U{pipeId=Sh;payload;payloadSchema=Eh;billableOperations=Oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`email-validate-zerobounce-v1-zerobounce`]}getInputRequirement(){return Dh(this.payload.config)}getRawOutputFields(){return{[wh.name]:this.catalogOutput(wh),[Th.name]:this.catalogOutput(Th)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Ah=Eh,jh={pipeId:Sh,basePipe:W(Sh),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[B.EMAIL],docPath:G(Sh),billableOperations:Oh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Dh(null),defaultPayload:{pipe_id:Sh,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},Mh={title:`Software Engineer, CEO, ...`,seniority:`C-Suite, Senior, ...`,department:`Consulting, Finance, ...`,certification:`CISSP, AWS, ...`,crunchbase_category:`3D Printing, Big Date, ...`,honor:`Cum Laude, 40 Under 40, ...`,field_of_study:`Engineering, Computer Science, ...`,degree_name:`Bachelor of Science, ...`,extracurricular:`Athelete, Debate Team, ...`,job_function:`Accounting, Advertising, ...`,location:`USA, Germany, France, ...`,company_name:`Google, Anthropic, ...`,company_domain:`google.com, openai.com, ...`,company_profile_keyword:`B2B, Software, ...`,headline_keywords:`Founder, JavaScript, ...`,profile_keywords:`Coach, Scrum, ...`,languages:`German, English, ...`,languages_1:`Spanish, Italian, ...`,skills:`TypeScript, Playwright, ...`,industry:`IT, Agriculture, ...`,investor:`a16z, Inside Partners, ...`,school:`MIT, Harvard, ...`,prompt:`Enter prompt here...`,template:`Enter template here...`};function X(e){return Mh[e]}const Nh=`email:write@1`,Ph=`email-write-v1`,Fh=li(Ph),Ih=_(`email_subject`),Lh=_(`email_body`),Rh=r.object({pipe_id:r.literal(Nh),connector:w(),run_if:S(),config:r.object({template:Zi({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:ma({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Fh}),signature:fa({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:pa({sectionKey:`general`,label:`Persona`,info:`Define the unique tone of your email`,path:`config.persona`,groupPath:`config.prompt`,required:!1,options:[{label:`Sales`,value:`sales`},{label:`Human Resources`,value:`human_resources`},{label:`Customer Success`,value:`customer_success`}]}),output_fields:R(r.object({[Ih.name]:k({fieldName:Ih.name}),[Lh.name]:k({fieldName:Lh.name})}))})}),zh=class extends U{pipeId=Nh;payload;payloadSchema=Rh;billableOperations=Fh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return di(this.payload.config.model)}estimateBillableOperations(){return[ui(this.payload.config.model,Ph)]}getInputRequirement(){return oh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return sh([this.payload.config.template])}getRawOutputFields(){return{[Ih.name]:this.catalogOutput(Ih),[Lh.name]:this.catalogOutput(Lh)}}getConnectionsRequirements(){return fi(this.payload.config.model)}},Bh=Rh,Vh={pipeId:Nh,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(Nh),label:`Email writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing emails.`,detailed_description:`AI email composer. Outputs: email_subject, email_body. Pair with email:send:gmail@1 or email:send:resend@1 to send the composed email. Requires 'email' field in input records for the sender pipe.`,tags:[B.AI],docPath:G(Nh),defaultInputRequirement:null,billableOperations:Fh,allowedUserConnectionProviders:pi(),managedProviders:pi(),deprecatedProviders:[],defaultPayload:{pipe_id:Nh,connector:null,run_if:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-gpt-latest`,signature:``}}},Hh=`field:domainify@1`,Uh=_(`url_input`),Wh=_(`domain`),Gh=r.object({pipe_id:r.literal(Hh),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Uh.name]:E({fieldName:Uh.name})})),output_fields:R(r.object({[Wh.name]:k({fieldName:Wh.name})}))}).optional()}),Kh=e=>V(K(Uh,e)),qh={"field-domainify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Jh=class extends U{pipeId=Hh;payload;payloadSchema=Gh;billableOperations=qh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Kh(this.payload.config)}getRawOutputFields(){return{[Wh.name]:this.catalogOutput(Wh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Yh=Gh,Xh={pipeId:Hh,basePipe:W(Hh),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[B.LOGIC,B.FIELDS],docPath:G(Hh),billableOperations:qh,defaultInputRequirement:Kh(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Hh,run_if:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Zh=`field:slugify@1`,Qh=_(`string_input`),$h=_(`slugified`),eg=r.object({pipe_id:r.literal(Zh),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[Qh.name]:E({fieldName:Qh.name})})),output_fields:R(r.object({[$h.name]:k({fieldName:$h.name})}))}).optional()}),tg=e=>V(K(Qh,e)),ng={"field-slugify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},rg=class extends U{pipeId=Zh;payload;payloadSchema=eg;billableOperations=ng;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return tg(this.payload.config)}getRawOutputFields(){return{[$h.name]:this.catalogOutput($h)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ig=eg,ag={pipeId:Zh,basePipe:W(Zh),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[B.LOGIC,B.FIELDS],docPath:G(Zh),billableOperations:ng,defaultInputRequirement:tg(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Zh,run_if:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function og({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function sg(e){switch(e.kind){case`field`:return og(e.field);case`optional`:return`[optional ${og(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?sg(e.of[0]):`(${e.of.map(sg).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?sg(e.of[0]):`(${e.of.map(sg).join(` OR `)})`}}function cg(e,t){return`Pipe input requirement is not satisfied${t?.pipeId!==void 0||t?.index!==void 0?` for pipe${t.index===void 0?``:` at index ${t.index}`}${t.pipeId===void 0?``:` (${t.pipeId})`}`:``}: ${sg(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var lg=class extends Error{constructor(e){super(`Request validation failed (${e.length} errors): ${e.join(`, `)}`),this.errors=e,this.name=`RequestValidationError`,Object.setPrototypeOf(this,new.target.prototype)}};const Z={ConditionTargetFieldNotFound:({fieldName:e,pipeId:t,pipeIdx:n})=>({code:`ConditionTargetFieldNotFound`,message:`${t} (idx: ${n}) has an invalid condition. Field '${e}' not found.`}),FaultyEnrichmentOrder:()=>({code:`FaultyEnrichmentOrder`,message:`Enrichment not found while ordering. Was the request invalid?`}),MustDefineAnnotations:()=>({code:`MustDefineAnnotations`,message:`Must define either input or field annoations to validate pipes payload.`}),CircularDependency:({currentPipe:e,circularPipe:t})=>({code:`CircularDependency`,message:`'${e.pipe_id}' (${e.idx}) and '${t.pipeId}' (${t.idx}) create a dependency loop. They both need the other's output to complete. Neither can complete. You can map the pipe outputs or input to fields with different names if you want the pipes to be independent or each other.`}),ValidationFailed:({error:e})=>({code:`ValidationFailed`,message:`Failed to validate task request: ${e instanceof Error?e.message:String(e)}`}),MissingCustomConnections:({pipeId:e,index:t,missingProviders:n})=>({code:`MissingCustomConnections`,message:`Pipe ${e} (index ${t}) requires you to specify custom connections for the providers ${n.join(`, `)}. Create the custom connections in the dashbard and reference them in your request.`}),ResponseGenerationFailed:({error:e})=>({code:`ResponseGenerationFailed`,message:`Failed to generate response: ${e instanceof Error?e.message:String(e)}`}),InputValuesMustHaveSameType:({pipeId:e,fieldNames:t})=>({code:`InputValuesMustHaveSameType`,message:`Pipe ${e} requires all input values to have the same type. But values ${t.join(`, `)} have different types.`}),NotValidated:()=>({code:`NotValidated`,message:`PipelineRequest must be validated before accessing results`}),MissingIdInInput:()=>({code:`MissingIdInInput`,message:`Inputs missing 'id' property.`}),InputDataTypeMismatch:({key:e,derivedInputFieldType:t,fieldType:n})=>({code:`InputDataTypeMismatch`,message:`Input data has values with matching keys '${e}' but different types. Expected type: '${t}'. Actual: '${n}'.`}),UnresolvableDependency:({index:e,dependencyIndex:t})=>({code:`UnresolvableDependency`,message:`Unresolvable dependency at index ${e} to ${t}`}),RequirementUnmet:({requirement:e,pipeId:t,index:n})=>({code:`RequirementUnmet`,message:cg(e,{pipeId:t,index:n})}),HardInputDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardInputDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) must come after pipe at idx: ${n} (${r})`}),HardConditionDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardConditionDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) has a condition that points to pipe at idx: ${n} (${r}). But pipe index: ${e} (${t}) is always must be processed after pipe at index ${n} (${r}). This is due to input requirements or other conditions.`}),DuplicateInitialField:({name:e})=>({code:`DuplicateInitialField`,message:`Duplicate initial field '${e}' detected. Each field must be defined only once.`}),MissingInputId:({index:e})=>({code:`MissingInputId`,message:`Input record at index ${e} is missing a required ID field.`}),InvalidId:()=>({code:`InvalidId`,message:`Cell IDs must be numbers or strings`}),IDConflict:({index:e,id:t})=>({code:`IDConflict`,message:`Input data at index ${e} has Id conflict. Id '${t}' is not unique.`}),UnknownResolver:({pipeId:e,index:t})=>({code:`UnknownResolver`,message:`Unknown pipe '${e}' specified at position ${t}.`}),DuplicatePipeOutput:({pipeId:e,outputField:t})=>({code:`DuplicateEnrichmentOutput`,message:`Field conflict for '${e}'. Cannot add output field ${og(t)} to pipeline because it already exists. Try renaming it.`}),InputDataDoesNotMatchOutputField:({index:e,resolvedName:t,type:n,inputValueType:r})=>({code:`InputDataDoesNotMatchOutputField`,message:`Input at position ${e} provided data for field '${t}' that did not match expected type. Expected: '${n}', Actual: '${r}'.`}),AmbiguousDependency:({fieldName:e})=>({code:`AmbiguousDependency`,message:`Found more than one pipe that produces field: ${e}. Rename or disable the field to add it.`}),EmptyObjectProperty:()=>({code:`EmptyObjectProperty`,message:`Input data contains empty object property "". This is not allowed.`}),JSONSchemaMissing:({schemaRef:e,outputName:t})=>({code:`JSONSchemaMissing`,message:`Missing jsonSchema '${e}' for output with name '${t}'.`}),InvalidJSONSchema:({schemaRef:e})=>({code:`InvalidJSONSchema`,message:`JSON Schema (ref: ${e}) is invalid.`}),MissingOutputFieldDescription:({outputName:e})=>({code:`MissingOutputFieldDescription`,message:`The output field ${e} is missing a "description" property. Define it {{ ${e} description="Foo bar" }}`}),InvalidFormatTag:({outputName:e,format:t})=>({code:`InvalidFormatTag`,message:`The output field ${e} has an invalid format tag ${t}.`}),RecursiveExpandedValue:()=>({code:`RecursiveExpandedValue`,message:`Your input values contain a recursive expanded valuetype `})};var ug=class extends Error{},Q=class extends ug{codes;appErrors;constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e,this.codes=e.map(e=>e.code),this.appErrors=e}};const dg=`fields:merge@1`,fg=_(`merge_result`),pg=r.object({pipe_id:r.literal(dg),connector:T(),run_if:S(),config:r.object({sources:ta({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:R(r.object({[fg.name]:k({fieldName:fg.name})}))})}),mg={"fields-merge-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},hg=class extends U{pipeId=dg;payload;payloadSchema=pg;billableOperations=mg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`fields-merge-v1-pipe0`]}getInputRequirement(){let e=this.payload.config.sources.map(e=>e.field_name),t;return H(...this.payload.config.sources.map(n=>V({format:null,type:r=>{let i=ih(r,e)[n.field_name],a=i?.type?i.type:`unknown`;if(a!==`unknown`){if(t&&t!==a)throw new Q([Z.InputValuesMustHaveSameType({pipeId:this.pipeId,fieldNames:e})]);t=a}return i?.type?i.type:`unknown`},label:``,description:``,name:n.field_name,resolvedName:n.field_name})))}getRawOutputFields(){return{[fg.name]:this.catalogOutput(fg,{resolveType:e=>{let t=ih(e,this.payload.config.sources.map(e=>e.field_name));return Object.values(t).find(e=>!!e.type)?.type||`string`}})}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},gg=pg,_g={pipeId:dg,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(dg),label:`Merge fields`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Join multiple fields into one field. The final result will be the first defined field.`,tags:[B.FIELDS,B.LOGIC],docPath:G(dg),defaultInputRequirement:null,billableOperations:mg,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:dg,connector:null,run_if:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},vg=`http:request@1`,yg=_(`http_response_status`),bg=_(`http_response_body`),xg=_(`http_response_headers`),Sg=r.object({pipe_id:r.literal(vg),connector:T(),run_if:S(),config:r.object({method:pa({sectionKey:`general`,groupPath:`config.general`,path:`config.method`,label:`Method`,defaultValue:`GET`,options:[...[{value:`GET`,label:`GET`},{value:`POST`,label:`POST`},{value:`PUT`,label:`PUT`},{value:`PATCH`,label:`PATCH`},{value:`DELETE`,label:`DELETE`}]],required:!0}),url:C({sectionKey:`general`,groupPath:`config.general`,path:`config.url`,label:`Endpoint`,info:"Target URL. Only http/https. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`https://api.example.com/v1/things`,inputType:`text`,minLength:1,maxLength:2048,expectedTagType:`string`,expectedTagFormat:`text`}),query_params:oa({sectionKey:`general`,groupPath:`config.general`,path:`config.query_params`,label:`Query parameters`,info:"Appended to the URL. Type `@` to insert a field reference or `$` to insert a secret reference in either column.",keyLabel:`Key`,valueLabel:`Value`,keyPlaceholder:`page`,valuePlaceholder:`1`,maxItems:50}),body:C({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Sent verbatim as the request body. Type `@` to insert a field reference or `$` to insert a secret reference. Set Content-Type via Headers.",placeholder:`{
|
|
72
72
|
"key": "value"
|
|
73
|
-
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}),headers:ea({sectionKey:`general`,groupPath:`config.general`,path:`config.headers`,label:`Headers`,info:"Type `@` to insert a field reference or `$` to insert a secret reference in either column (e.g. `Bearer $token`).",keyLabel:`Header`,valueLabel:`Value`,keyPlaceholder:`Authorization`,valuePlaceholder:`Bearer {{ secret โฆ }}`,maxItems:50}),expected_response_schema:fa({sectionKey:`general`,groupPath:`config.advanced`,path:`config.expected_response_schema`,label:`Expected response shape`,description:`Optional JSON Schema. Successful responses that don't satisfy it are marked failed. Extra properties are always tolerated (whitelist).`,required:!1,allowEmpty:!0}),output_fields:R(r.object({[fg.name]:k({fieldName:fg.name}),[pg.name]:k({fieldName:pg.name}),[mg.name]:k({fieldName:mg.name})}))})}),gg={"http-request-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.001},mode:`always`}},_g=class extends U{pipeId=dg;payload;payloadSchema=hg;billableOperations=gg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`http-request-v1-pipe0`]}getTemplatedFields(){let e=[this.payload.config.url,this.payload.config.body];for(let t of this.payload.config.query_params??[])e.push(t.key,t.value);for(let t of this.payload.config.headers??[])e.push(t.key,t.value);return e}getInputRequirement(){return eh(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return X(this.getTemplatedFields())}getRawOutputFields(){return{[fg.name]:this.catalogOutput(fg),[pg.name]:this.catalogOutput(pg),[mg.name]:this.catalogOutput(mg)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},vg=hg,yg={pipeId:dg,basePipe:W(dg),label:`HTTP request`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Make a generic GET/POST/PUT/PATCH/DELETE HTTP request and capture the JSON response. Optionally validate the response against a JSON schema.`,tags:[B.LOGIC,B.JSON,B.NEW],docPath:G(dg),billableOperations:gg,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:dg,run_if:null,connector:null,config:{method:`GET`,url:``,query_params:[],body:``,headers:[],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}},bg=`json:extract:multi@1`,xg=r.object({pipe_id:r.literal(bg),run_if:S(),connector:T(),config:r.object({json_extraction:_i()})}),Sg={"json-extract-multi-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Cg=class extends U{pipeId=bg;payload;payloadSchema=xg;billableOperations=Sg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`json-extract-multi-v1-pipe0`]}getInputRequirement(){return V({description:``,name:this.payload.config.json_extraction.field_name,format:null,label:``,type:`json`,resolvedName:this.payload.config.json_extraction.field_name})}getRawOutputFields(){let e={};for(let t of this.payload.config.json_extraction.extractions)e[t.output_field.name||t.output_field.name]={description:`Extracted value from JSON input field ${this.payload.config.json_extraction.field_name}.`,enabled:!0,format:t.output_field.format||null,label:t.output_field.label||`Extract JSON`,name:t.output_field.name,resolvedName:t.output_field.name,jsonMeta:null,type:t.output_field.type,isCatalogFIeld:!1,isPrimaryOutput:!1};return e}getConnectionsRequirements(){return[]}},wg=xg,Tg={pipeId:bg,basePipe:W(bg),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:G(bg),tags:[B.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:Sg,defaultInputRequirement:null,defaultPayload:{pipe_id:bg,run_if:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},Eg=`message:send:slack@1`,Dg=_(`slack_message_success`),Og=[{label:`#demo-general`,value:`C0SANDBOX001`},{label:`#demo-alerts`,value:`C0SANDBOX002`}],kg=r.object({pipe_id:r.literal(Eg),connector:qi(),run_if:S(),config:r.object({channel_id:C({sectionKey:`general`,groupPath:`config.general`,path:`config.channel_id`,label:`Channel ID`,info:"Your connection must be authorized to post to this channel. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`C0123456789`,inputType:`text`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:{requires:{connection:`slack`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return Og;if(!t)throw new Xs.MissingSecretError({providerName:`slack`});let r=await fetch(`https://slack.com/api/conversations.list?limit=200&exclude_archived=true&types=public_channel,private_channel`,{headers:{Authorization:`Bearer ${t}`}});if(!r.ok){let e=await r.text();throw new Xs.HttpError({msg:e})}let i=await r.json();if(!i.ok)throw new Xs.HttpError({msg:i.error??`slack_error`});let a=(i.channels??[]).map(e=>({label:`#${e.name}`,value:e.id}));return e?a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):a},widgets:{provider_logo:{provider:`slack`}}}}),message:C({sectionKey:`general`,groupPath:`config.general`,path:`config.message`,label:`Message`,info:"The message body. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ name }}, โฆ`,inputType:`text`,minLength:1,maxLength:4e4,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[Dg.name]:k({fieldName:Dg.name})}))})}),Ag={"message-send-slack-v1-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},jg=class extends U{pipeId=Eg;payload;payloadSchema=kg;billableOperations=Ag;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(){return[`message-send-slack-v1-slack`]}getTemplatedFields(){return[this.payload.config.channel_id,this.payload.config.message]}getInputRequirement(){return eh(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return X(this.getTemplatedFields())}getRawOutputFields(){return{[Dg.name]:this.catalogOutput(Dg)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},Mg=kg,Ng={pipeId:Eg,basePipe:W(Eg),label:`Send message into channel`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel.`,detailed_description:"Send a Slack message. The channel ID and message body are templated config fields โ reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Slack vault connection (call list_connections to find one).",tags:[B.CHAT],docPath:G(Eg),billableOperations:Ag,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:Eg,connector:{strategy:`first`,connections:[]},run_if:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},Pg=`message:write@1`,Fg=_(`message`),Ig=`message-write-v1`,Lg=ri(Ig),Rg=r.object({pipe_id:r.literal(Pg),connector:w(),run_if:S(),config:r.object({template:Gi({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:Z(`prompt`),groupPath:`config.prompt`,required:!0}),model:ca({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Lg}),output_fields:R(r.object({[Fg.name]:k({fieldName:Fg.name})}))})}),zg=class extends U{pipeId=Pg;payload;payloadSchema=Rg;billableOperations=Lg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ai(this.payload.config.model)}estimateBillableOperations(){return[ii(this.payload.config.model,Ig)]}getInputRequirement(){return eh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return X([this.payload.config.template])}getRawOutputFields(){return{[Fg.name]:this.catalogOutput(Fg)}}getConnectionsRequirements(){return oi(this.payload.config.model)}},Bg=Rg,Vg={pipeId:Pg,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(Pg),label:`Message writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing messages for modern workplace communication platforms (Slack, Teams, Discord, etc.)`,detailed_description:`AI message composer for Slack/Teams/Discord. Outputs: message. Pair with message:send:slack@1 to send.`,tags:[B.AI],docPath:G(Pg),defaultInputRequirement:null,billableOperations:Lg,allowedUserConnectionProviders:si(),managedProviders:si(),deprecatedProviders:[],defaultPayload:{pipe_id:Pg,connector:null,run_if:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Hg=`person:devprofileurl:profileurl:waterfall@1`,Ug=_(`profile_url`),Wg=_(`developer_profile_url`),Gg=_(`alternative_developer_profile_urls`),Kg=[`crustdata`],qg=[{provider:`crustdata`}],Jg=r.object({pipe_id:r.literal(Hg),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:qg,availableProviders:Kg}),input_fields:z(r.object({[Ug.name]:E({fieldName:Ug.name})})),output_fields:R(r.object({[Wg.name]:k({fieldName:Wg.name}),[Gg.name]:k({fieldName:Gg.name})}))}).optional()}),Yg=e=>V(K(Ug,e)),Xg={"person-devprofileurl-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1.3,weight:1}},mode:`onSuccess`}},Zg=class extends U{pipeId=Hg;payload;payloadSchema=Jg;billableOperations=Xg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yg(this.payload.config)}getRawOutputFields(){return{[Wg.name]:this.catalogOutput(Wg,{isPrimaryOutput:!0}),[Gg.name]:this.catalogOutput(Gg,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qg=Jg,$g={pipeId:Hg,basePipe:W(Hg),label:`GitHub profile from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a developer profile URL (e.g. GitHub) for any prospect using multiple data providers in a waterfall motion.`,docPath:G(Hg),tags:[B.LINKEDIN,B.WATERFALL,B.NEW],billableOperations:Xg,defaultInputRequirement:Yg(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Kg,allowedUserConnectionProviders:Kg,deprecatedProviders:[],defaultPayload:{pipe_id:Hg,connector:null,run_if:null,config:{providers:qg,input_fields:{profile_url:{alias:``}},output_fields:{developer_profile_url:{alias:``,enabled:!0},alternative_developer_profile_urls:{alias:``,enabled:!1}}}}},e_=`person:email:validate:millionverifier@1`,t_=_(`email`),n_=_(`email_validation_status`),r_=_(`million_validation_match`),i_=r.object({pipe_id:r.literal(e_),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[t_.name]:E({fieldName:t_.name})})),output_fields:R(r.object({[n_.name]:k({fieldName:n_.name}),[r_.name]:k({fieldName:r_.name})}))}).optional()}),a_=e=>V(K(t_,e)),o_={"person-email-validate-millionverifier-v1-millionverifier":{provider:`millionverifier`,allowManagedConnection:!0,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`always`}},s_=class extends U{pipeId=e_;payload;payloadSchema=i_;billableOperations=o_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`person-email-validate-millionverifier-v1-millionverifier`]}getInputRequirement(){return a_(this.payload.config)}getRawOutputFields(){return{[n_.name]:this.catalogOutput(n_),[r_.name]:this.catalogOutput(r_)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},c_=i_,l_={pipeId:e_,basePipe:W(e_),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[B.EMAIL],docPath:G(e_),billableOperations:o_,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:a_(null),defaultPayload:{pipe_id:e_,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},u_=_(`email`),d_=_(`amplemarket_person_match`),f_=`person:identity:amplemarket@1`,p_=r.object({pipe_id:r.literal(f_),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[u_.name]:E({fieldName:u_.name})})),output_fields:R(r.object({[d_.name]:k({fieldName:d_.name})}))}).optional()}),m_=e=>V(K(u_,e)),h_={"person-identity-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},g_=class extends U{pipeId=f_;payload;payloadSchema=p_;billableOperations=h_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return m_(this.payload.config)}getRawOutputFields(){return{[d_.name]:this.catalogOutput(d_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},__=p_,v_={pipeId:f_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(f_),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[B.PEOPLE_PROFILES],docPath:G(f_),billableOperations:h_,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:m_(null),defaultPayload:{pipe_id:f_,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},y_=`person:identity:email:waterfall@1`,b_=_(`email`),x_=_(`company_domain`),S_=_(`name`),C_=_(`job_title`),w_=_(`profile_url`),T_=_(`company_profile_url`),E_=_(`company_name`),D_=[`findymail`,`hunter`,`crustdata`],O_=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],k_=r.object({pipe_id:r.literal(y_),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:D_,defaultProviders:O_,sectionKey:`general`}),input_fields:z(r.object({[b_.name]:E({fieldName:b_.name})})),output_fields:R(r.object({[S_.name]:k({fieldName:S_.name}),[w_.name]:k({fieldName:w_.name}),[C_.name]:k({fieldName:C_.name}),[x_.name]:k({fieldName:x_.name}),[E_.name]:k({fieldName:E_.name}),[T_.name]:k({fieldName:T_.name})}))}).optional()}),A_=e=>V(K(b_,e)),j_={"person-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},M_=class extends U{pipeId=y_;payload;payloadSchema=k_;billableOperations=j_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return A_(this.payload.config)}getRawOutputFields(){return{[S_.name]:this.catalogOutput(S_,{isPrimaryOutput:!0}),[w_.name]:this.catalogOutput(w_,{isPrimaryOutput:!0}),[C_.name]:this.catalogOutput(C_,{isPrimaryOutput:!0}),[E_.name]:this.catalogOutput(E_,{isPrimaryOutput:!0}),[T_.name]:this.catalogOutput(T_,{isPrimaryOutput:!0}),[x_.name]:this.catalogOutput(x_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},N_=k_,P_={pipeId:y_,basePipe:W(y_),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(y_),managedProviders:D_,deprecatedProviders:[],allowedUserConnectionProviders:D_,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:j_,defaultInputRequirement:A_(null),defaultPayload:{pipe_id:y_,connector:null,run_if:null,config:{providers:O_,input_fields:{email:{alias:``}},output_fields:{name:{alias:``,enabled:!0},profile_url:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},F_=_(`profile_url`),I_=_(`amplemarket_person_match`),L_=`person:match:amplemarket@1`,R_=r.object({pipe_id:r.literal(L_),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[F_.name]:E({fieldName:F_.name})})),output_fields:R(r.object({[I_.name]:k({fieldName:I_.name})}))}).optional()}),z_=e=>V(K(F_,e)),B_={"person-match-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},V_=class extends U{pipeId=L_;payload;payloadSchema=R_;billableOperations=B_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return z_(this.payload.config)}getRawOutputFields(){return{[I_.name]:this.catalogOutput(I_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},H_=R_,U_={pipeId:L_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(L_),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[B.PEOPLE_PROFILES],docPath:G(L_),billableOperations:B_,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:z_(null),defaultPayload:{pipe_id:L_,connector:null,run_if:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},W_=`person:match:role:waterfall@1`,G_=_(`company_domain`),K_=_(`role_finder_match`),q_=[`leadmagic`],J_=[{provider:`leadmagic`}],Y_=r.object({pipe_id:r.literal(W_),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:J_,availableProviders:q_}),roles:$i({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1,suggestionsDef:g(`titles`),expectedTagType:`string`}),input_fields:z(r.object({[G_.name]:E({fieldName:G_.name})})),output_fields:R(r.object({[K_.name]:k({fieldName:K_.name})}))})}),X_=e=>H(K(G_,e)),Z_={"person-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Q_=class extends U{pipeId=W_;payload;payloadSchema=Y_;billableOperations=Z_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return X_(this.payload.config)}getSecretRequirements(){return Y(this.payload.config?.roles??[])}getConstantRequirements(){return X(this.payload.config?.roles??[])}getRawOutputFields(){return{[K_.name]:this.catalogOutput(K_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$_=Y_,ev={pipeId:W_,basePipe:W(W_),managedProviders:q_,deprecatedProviders:[],allowedUserConnectionProviders:q_,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[B.PEOPLE_PROFILES],docPath:G(W_),billableOperations:Z_,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:X_(null),defaultPayload:{pipe_id:W_,run_if:null,connector:null,config:{roles:[],providers:J_,input_fields:{company_domain:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},tv=`person:mobile:profileurl:waterfall@1`,nv=_(`profile_url`),rv=_(`mobile`),iv=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`],av=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],ov=r.object({pipe_id:r.literal(tv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:av,availableProviders:iv}),input_fields:z(r.object({[nv.name]:E({fieldName:nv.name})})),output_fields:R(r.object({[rv.name]:k({fieldName:rv.name})}))}).optional()}),sv=e=>V(K(nv,e)),cv={"person-mobile-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5,level1:{credits:3,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6,level1:{credits:4,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4,level1:{credits:3,weight:1}},mode:`onSuccess`}},lv=class extends U{pipeId=tv;payload;payloadSchema=ov;billableOperations=cv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return sv(this.payload.config)}getRawOutputFields(){return{[rv.name]:this.catalogOutput(rv,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},uv=ov,dv={pipeId:tv,basePipe:W(tv),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:G(tv),tags:[B.PHONE,B.WATERFALL],billableOperations:cv,defaultInputRequirement:sv(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:iv,allowedUserConnectionProviders:iv,deprecatedProviders:[],defaultPayload:{pipe_id:tv,connector:null,run_if:null,config:{providers:av,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},fv=`person:mobile:workemail:waterfall@1`,pv=_(`work_email`),mv=_(`mobile`),hv=[`leadmagic`,`amplemarket`],gv=[{provider:`leadmagic`},{provider:`amplemarket`}],_v=r.object({pipe_id:r.literal(fv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:hv,defaultProviders:gv}),input_fields:z(r.object({[pv.name]:E({fieldName:pv.name})})),output_fields:R(r.object({[mv.name]:k({fieldName:mv.name})}))}).optional()}),vv=e=>V(K(pv,e)),yv={"person-mobile-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:5,level1:{credits:4,weight:1}},mode:`onSuccess`}},bv=class extends U{pipeId=fv;payload;payloadSchema=_v;billableOperations=yv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return vv(this.payload.config)}getRawOutputFields(){return{[mv.name]:this.catalogOutput(mv,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},xv=_v,Sv={pipeId:fv,basePipe:W(fv),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:G(fv),billableOperations:yv,defaultInputRequirement:vv(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:hv,managedProviders:hv,deprecatedProviders:[],defaultPayload:{pipe_id:fv,connector:null,run_if:null,config:{providers:gv,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Cv=`person:name:join@1`,wv=_(`first_name`),Tv=_(`last_name`),Ev=_(`name`),Dv=r.object({pipe_id:r.literal(Cv),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[wv.name]:E({fieldName:wv.name}),[Tv.name]:E({fieldName:Tv.name})})),output_fields:R(r.object({[Ev.name]:k({fieldName:Ev.name})}))}).optional()}),Ov=e=>Oa(K(wv,e),K(Tv,e)),kv={"person-name-join-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Av=class extends U{pipeId=Cv;payload;payloadSchema=Dv;billableOperations=kv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-name-join-v1-pipe0`]}getInputRequirement(){return Ov(this.payload.config)}getRawOutputFields(){return{[Ev.name]:this.catalogOutput(Ev)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},jv=Dv,Mv={pipeId:Cv,basePipe:W(Cv),label:`Join name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Combine the first and last names of a prospect into a full name field.`,tags:[B.NAMES],docPath:G(Cv),billableOperations:kv,defaultInputRequirement:Ov(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Cv,run_if:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},Nv=`person:name:split@1`,Pv=_(`name`),Fv=_(`first_name`),Iv=_(`last_name`),Lv=r.object({pipe_id:r.literal(Nv),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[Pv.name]:E({fieldName:Pv.name})})),output_fields:R(r.object({[Fv.name]:k({fieldName:Fv.name}),[Iv.name]:k({fieldName:Iv.name})}))}).optional()}),Rv=e=>V(K(Pv,e)),zv={"person-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Bv=class extends U{pipeId=Nv;payload;payloadSchema=Lv;billableOperations=zv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-name-split-v1-pipe0`]}getInputRequirement(){return Rv(this.payload.config)}getRawOutputFields(){return{[Fv.name]:this.catalogOutput(Fv),[Iv.name]:this.catalogOutput(Iv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Vv=Lv,Hv={pipeId:Nv,basePipe:W(Nv),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[B.NAMES],docPath:G(Nv),billableOperations:zv,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Rv(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Nv,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},Uv=`person:personalemail:profileurl:waterfall@1`,Wv=_(`profile_url`),Gv=_(`personal_email`),Kv=_(`alternate_personal_emails`),qv=[`leadmagic`,`mixrank`],Jv=[{provider:`leadmagic`},{provider:`mixrank`}],Yv=r.object({pipe_id:r.literal(Uv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:qv,defaultProviders:Jv}),input_fields:z(r.object({[Wv.name]:E({fieldName:Wv.name})})),output_fields:R(r.object({[Gv.name]:k({fieldName:Gv.name}),[Kv.name]:k({fieldName:Kv.name})}))}).optional()}),Xv=e=>V(K(Wv,e)),Zv={"person-personalemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-personalemail-profileurl-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Qv=class extends U{pipeId=Uv;payload;payloadSchema=Yv;billableOperations=Zv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Xv(this.payload.config)}getRawOutputFields(){return{[Gv.name]:this.catalogOutput(Gv,{isPrimaryOutput:!0}),[Kv.name]:this.catalogOutput(Kv)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$v=Yv,ey={pipeId:Uv,basePipe:W(Uv),allowedUserConnectionProviders:qv,managedProviders:qv,deprecatedProviders:[],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[B.EMAIL,B.PERSONAL_EMAIL],docPath:G(Uv),billableOperations:Zv,defaultInputRequirement:Xv(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Uv,connector:null,run_if:null,config:{providers:Jv,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!1}}}}},ty=_(`profile_url`),ny=_(`post_list_string`),ry=_(`crustdata_post_list`),iy=`person:posts:crustdata@1`,ay=r.object({pipe_id:r.literal(iy),run_if:S(),connector:w(),config:r.object({limit:ua({path:`config.limit`,groupPath:`config.general`,max:100,min:1,required:!0,sectionKey:`general`,info:``,label:`Limit`,legend:`Max. 100`}),input_fields:z(r.object({[ty.name]:E({fieldName:ty.name})})),output_fields:R(r.object({[ny.name]:k({fieldName:ny.name}),[ry.name]:k({fieldName:ry.name})}))}).optional()}),oy=e=>V(K(ty,e)),sy={"person-posts-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},cy=class extends U{pipeId=iy;payload;payloadSchema=ay;billableOperations=sy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`person-posts-crustdata-v1-crustdata`]}getInputRequirement(){return oy(this.payload.config)}getRawOutputFields(){return{[ny.name]:this.catalogOutput(ny),[ry.name]:this.catalogOutput(ry)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},ly=ay,uy={pipeId:iy,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(iy),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[B.LINKEDIN],docPath:G(iy),billableOperations:sy,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:oy(null),defaultPayload:{pipe_id:iy,connector:null,run_if:null,config:{limit:5,input_fields:{profile_url:{alias:``}},output_fields:{crustdata_post_list:{alias:``,enabled:!0},post_list_string:{alias:``,enabled:!0}}}}},dy=`person:profile:waterfall@1`,fy=_(`profile`),py=_(`profile_url`),my=[`prospeo`,`icypeas`,`amplemarket`],hy=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],gy=r.object({pipe_id:r.literal(dy),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:my,defaultProviders:hy}),input_fields:z(r.object({[py.name]:E({fieldName:py.name})})),output_fields:R(r.object({[fy.name]:k({fieldName:fy.name})}))}).optional()}),_y=e=>V(K(py,e)),vy={"person-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0}},yy=class extends U{pipeId=dy;payload;payloadSchema=gy;billableOperations=vy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return _y(this.payload.config)}getRawOutputFields(){return{[fy.name]:this.catalogOutput(fy,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},by=gy,xy={pipeId:dy,basePipe:W(dy),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:G(dy),tags:[B.LINKEDIN,B.WATERFALL],managedProviders:my,deprecatedProviders:[],allowedUserConnectionProviders:my,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:vy,defaultInputRequirement:_y(null),defaultPayload:{pipe_id:dy,run_if:null,connector:null,config:{providers:hy,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Sy=_(`work_email`),Cy=_(`crustdata_person_match`),wy=_(`crustdata_profile_match_score`),Ty=`person:profile:workemail:crustdata@1`,Ey=r.object({pipe_id:r.literal(Ty),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[Sy.name]:E({fieldName:Sy.name})})),output_fields:R(r.object({[Cy.name]:k({fieldName:Cy.name}),[wy.name]:k({fieldName:wy.name})}))}).optional()}),Dy=e=>V(K(Sy,e)),Oy={"person-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},ky=class extends U{pipeId=Ty;payload;payloadSchema=Ey;billableOperations=Oy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`person-profile-workemail-crustdata-v1-crustdata`]}getInputRequirement(){return Dy(this.payload.config)}getRawOutputFields(){return{[Cy.name]:this.catalogOutput(Cy),[wy.name]:this.catalogOutput(wy)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Ay=Ey,jy={pipeId:Ty,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(Ty),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(Ty),billableOperations:Oy,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Dy(null),defaultPayload:{pipe_id:Ty,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},My=`person:profileurl:email:waterfall@1`,Ny=_(`email`),Py=_(`work_email`),Fy=_(`profile_url`),Iy=[`leadmagic`],Ly=[{provider:`leadmagic`}],Ry=r.object({pipe_id:r.literal(My),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Ly,availableProviders:Iy}),input_fields:z(r.object({[Ny.name]:E({fieldName:Ny.name}),[Py.name]:E({fieldName:Py.name})})),output_fields:R(r.object({[Fy.name]:k({fieldName:Fy.name})}))}).optional()}),zy=e=>H(K(Ny,e),K(Py,e)),By={"person-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},Vy=class extends U{pipeId=My;payload;payloadSchema=Ry;billableOperations=By;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return zy(this.payload.config)}getRawOutputFields(){return{[Fy.name]:this.catalogOutput(Fy,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Hy=Ry,Uy={pipeId:My,basePipe:W(My),managedProviders:Iy,deprecatedProviders:[],allowedUserConnectionProviders:Iy,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:G(My),billableOperations:By,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:zy(null),defaultPayload:{pipe_id:My,run_if:null,connector:null,config:{providers:Ly,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},Wy=`person:profileurl:name@1`,Gy=_(`name`),Ky=_(`company_name`),qy=_(`location_hint`),Jy=_(`profile_url`),Yy=r.object({pipe_id:r.literal(Wy),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[Gy.name]:E({fieldName:Gy.name}),[Ky.name]:E({fieldName:Ky.name}),[qy.name]:E({fieldName:qy.name})})),output_fields:R(r.object({[Jy.name]:k({fieldName:Jy.name})}))}).optional()}),Xy=e=>Oa(V(K(Gy,e)),V(K(Ky,e)),ka(K(qy,e))),Zy={"person-profileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},Qy=class extends U{pipeId=Wy;payload;payloadSchema=Yy;billableOperations=Zy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-profileurl-name-v1-pipe0`]}getInputRequirement(){return Xy(this.payload.config)}getRawOutputFields(){return{[Jy.name]:this.catalogOutput(Jy)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},$y=Yy,eb={pipeId:Wy,basePipe:W(Wy),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:G(Wy),tags:[B.LINKEDIN],billableOperations:Zy,defaultInputRequirement:Xy(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Wy,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},tb=`person:workemail:profileurl:waterfall@1`,nb=_(`profile_url`),rb=_(`work_email`),ib=_(`email_validation_status`),ab=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`],ob=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],sb=r.object({pipe_id:r.literal(tb),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:ab,defaultProviders:ob,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[nb.name]:E({fieldName:nb.name})})),output_fields:R(r.object({[rb.name]:k({fieldName:rb.name}),[ib.name]:k({fieldName:ib.name})}))}).optional()}),cb=e=>V(K(nb,e)),lb={"person-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2,level1:{credits:.7,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.5,weight:1}},mode:`onSuccess`}},ub=class extends U{pipeId=tb;payload;payloadSchema=sb;billableOperations=lb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return cb(this.payload.config)}getRawOutputFields(){return{[rb.name]:this.catalogOutput(rb,{isPrimaryOutput:!0}),[ib.name]:this.catalogOutput(ib,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},db=sb,fb={pipeId:tb,basePipe:W(tb),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(tb),managedProviders:ab,allowedUserConnectionProviders:ab,deprecatedProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:lb,defaultInputRequirement:cb(null),defaultPayload:{pipe_id:tb,connector:null,run_if:null,config:{providers:ob,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{profile_url:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},pb=`person:workemail:waterfall@1`,mb=_(`name`),hb=_(`company_domain`),gb=_(`company_name`),_b=_(`work_email`),vb=_(`email_validation_status`),yb=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],bb=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],xb={"person-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1.5,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1.3,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`}},Sb=r.object({pipe_id:r.literal(pb),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:yb,defaultProviders:bb,sectionKey:`general`,providerCredits:za(xb,yb)}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[mb.name]:E({fieldName:mb.name}),[hb.name]:E({fieldName:hb.name}),[gb.name]:E({fieldName:gb.name})})),output_fields:R(r.object({[_b.name]:k({fieldName:_b.name}),[vb.name]:k({fieldName:vb.name})}))}).optional()}),Cb=e=>Oa(V(K(mb,e)),H(K(hb,e),K(gb,e))),wb=class extends U{pipeId=pb;payload;payloadSchema=Sb;billableOperations=xb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Cb(this.payload.config)}getRawOutputFields(){return{[_b.name]:this.catalogOutput(_b,{isPrimaryOutput:!0}),[vb.name]:this.catalogOutput(vb,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Tb=Sb,Eb={pipeId:pb,basePipe:W(pb),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(pb),managedProviders:yb,deprecatedProviders:[],allowedUserConnectionProviders:yb,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:xb,defaultInputRequirement:Cb(null),defaultPayload:{pipe_id:pb,connector:null,run_if:null,config:{providers:bb,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{company_name:{alias:``},company_domain:{alias:``},name:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},Db=`prompt:run@1`,Ob=`prompt-run-v1`,kb=ri(Ob),Ab=r.object({pipe_id:r.literal(Db),connector:w(),run_if:S(),config:r.object({prompt:Wi({sectionKey:`general`,path:`config.prompt`,placeholder:Z(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:ca({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:kb})})}),jb=class extends U{pipeId=Db;payload;payloadSchema=Ab;billableOperations=kb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ai(this.payload.config.model)}estimateBillableOperations(){return[ii(this.payload.config.model,Ob)]}getInputRequirement(){return eh([this.payload.config.prompt.template])}getSecretRequirements(){return Y([this.payload.config.prompt.template])}getConstantRequirements(){return X([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=Nr(e)}catch{return n}for(let e of r.outputs){let r=e.type;if(r===`json`){let i=e.schemaRef?t[e.schemaRef]:void 0;n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:{zodSchema:i,exampleValue:null},format:null,isCatalogFIeld:!1,isPrimaryOutput:!1}}else n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:null,format:e.format??null,isCatalogFIeld:!1,isPrimaryOutput:!1}}return n}getConnectionsRequirements(){return oi(this.payload.config.model)}},Mb=Ab,Nb={pipeId:Db,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:W(Db),label:`AI prompt`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Executes configurable AI prompts with structured output fields.`,detailed_description:`General-purpose AI prompt runner. Inputs and outputs are fully dynamic โ defined by the tags in the prompt template.`,tags:[B.AI],docPath:G(Db),defaultInputRequirement:null,billableOperations:kb,allowedUserConnectionProviders:si(),managedProviders:si(),deprecatedProviders:[],defaultPayload:{pipe_id:Db,connector:null,run_if:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},Pb=`sheet:row:append@1`,Fb=_(`sheet_record_id`),Ib=_(`created_sheet`),Lb=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],Rb=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],zb={requires:{connection:`pipe0`},enabledIf:dn(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Lb:t?(await t.sheets.list({query:e})).map(e=>({label:e.name&&e.name!==e.slug?`${e.name} (${e.slug})`:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},Bb={requires:{connection:`pipe0`},enabledIf:dn(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Rb:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},Vb=r.object({pipe_id:r.literal(Pb),connector:qi(),run_if:S(),config:r.object({sheet:C({label:`Destination sheet`,info:"Sheet identifier. Either a literal slug, or type `@` to insert a field reference / `$` to insert a secret reference.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:zb}),run:O({defaultValue:!0,groupPath:`config.advanced`,path:`config.run`,sectionKey:`general`,description:`Auto-run sheet row after append action.`,label:`Run after append`}),allow_field_creation:O({label:`Create unknown fields`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_field_creation`,sectionKey:`general`,description:`Add unknown fields as new sheet columns.`}),allow_sheet_creation:O({label:`Create missing sheets`,description:`Create new sheet if none exists with the provided name`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_sheet_creation`,sectionKey:`general`}),new_sheet_team_id:pa({label:`Team`,info:`Optional hint for the team where the sheet should be created. Only used when a new sheet is created.`,placeholder:`Select a teamโฆ`,required:!1,groupPath:`config.advanced`,path:`config.new_sheet_team_id`,sectionKey:`general`,optionsDef:Bb,enabledIf:e=>e.config?.allow_sheet_creation?{disabled:!1}:{disabled:!0,message:`Turn on โUpsert sheetsโ to specify a team.`}}),included_fields:Yi({label:`Fields`,info:`All fields are written if empty.`,groupPath:`config.general`,path:`config.included_fields`,sectionKey:`general`,disableSearch:!0}),output_fields:R(r.object({[Fb.name]:k({fieldName:Fb.name}),[Ib.name]:k({fieldName:Ib.name})}))})}),Hb={"sheet-row-append-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},Ub=class extends U{pipeId=Pb;payload;payloadSchema=Vb;billableOperations=Hb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheet-row-append-v1-pipe0`]}getInputRequirement(){let e=[eh([this.payload.config.sheet],{expectedType:`string`,expectedFormat:`text`})];if(this.payload.config.included_fields?.length)for(let t of this.payload.config.included_fields)e.push(V({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=$m(e,t.field_name);if(!n)throw Error(`Unable to find field with name ${t.field_name}. But needed by prompt parser.`);return n.type||`unknown`},format:null}));return Oa(...e)}getSecretRequirements(){return Y([this.payload.config.sheet])}getConstantRequirements(){return X([this.payload.config.sheet])}getRawOutputFields(){return{[Fb.name]:this.catalogOutput(Fb),[Ib.name]:this.catalogOutput(Ib)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},Wb=Vb,Gb={pipeId:Pb,basePipe:W(Pb),label:`Append row to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Add rows to a pipe0 sheet. The sheet identifier may be a literal slug or a `{{ field_name }}` tag.",docPath:G(Pb),tags:[B.FIELDS],billableOperations:Hb,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Pb,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[],output_fields:{sheet_record_id:{alias:``,enabled:!0},created_sheet:{alias:``,enabled:!0}}}}},Kb=`sheet:row:expandappend@1`,qb=_(`sheet_record_ids`),Jb=_(`input_objects`),Yb=r.object({pipe_id:r.literal(Kb),connector:qi(),run_if:S(),config:r.object({sheet:aa({label:`Sheet name`,info:`Unique identifier for the sheet`,groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3}),run:O({defaultValue:!0,groupPath:`config.general`,path:`config.run`,sectionKey:`general`,info:`Enrich record after write. Ignored if target sheet writes to other sheets.`,label:`Run`}),allow_field_creation:O({defaultValue:!0,groupPath:`config.general`,path:`config.allow_field_creation`,sectionKey:`general`,info:`Add unknown object fields to the sheet definition.`,label:`Allow field creation`}),input_fields:z(r.object({[Jb.name]:E({fieldName:Jb.name})})),output_fields:R(r.object({[qb.name]:k({fieldName:qb.name})}))})}),Xb={"sheet-row-expandappend-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},Zb=e=>V(K(Jb,e)),Qb=class extends U{pipeId=Kb;payload;payloadSchema=Yb;billableOperations=Xb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheet-row-expandappend-v1-pipe0`]}getInputRequirement(){return Zb(this.payload.config)}getRawOutputFields(){return{[qb.name]:this.catalogOutput(qb)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},$b=Yb,ex={pipeId:Kb,basePipe:W(Kb),label:`Object list to sheet rows`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Expand a list of nested objects into sheet rows.`,docPath:G(Kb),tags:[B.FIELDS],billableOperations:Xb,defaultInputRequirement:Zb(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Kb,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},tx=`template:fill@1`,nx=_(`template_output`),rx=r.object({pipe_id:r.literal(tx),connector:w(),run_if:S(),config:r.object({template:Gi({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:Z(`template`),groupPath:`config.general`,required:!0}),output_fields:R(r.object({[nx.name]:k({fieldName:nx.name})}))})}),ix={"template-fill-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},ax=class extends U{pipeId=tx;payload;payloadSchema=rx;billableOperations=ix;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill-v1-pipe0`]}getInputRequirement(){return eh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return X([this.payload.config.template])}getRawOutputFields(){return{[nx.name]:this.catalogOutput(nx)}}getConnectionsRequirements(){return[]}},ox=rx,sx={pipeId:tx,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:W(tx),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ name }} with actual values.`,tags:[B.TEXT],docPath:G(tx),defaultInputRequirement:null,billableOperations:ix,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:tx,connector:null,run_if:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},cx=`website:extract:firecrawl@1`,lx=_(`website_url`),ux=_(`firecrawl_extract_result`),dx=r.object({pipe_id:r.literal(cx),connector:w(),run_if:S(),config:r.object({json_schema:fa({sectionKey:`general`,groupPath:`config.extraction`,path:`config.json_schema`,label:`Output JSON schema`,info:`Specify the data you want to extract as a JSON schema.`,allowEmpty:!1,required:!0}),extraction_prompt:oa({sectionKey:`general`,groupPath:`config.extraction`,path:`config.extraction_prompt`,label:`Extraction Prompt`,info:`Prompt the scraper on what it should extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. Extract the company missing and latest news.`}),enable_full_domain_crawl:O({sectionKey:`general`,groupPath:`config.extraction`,defaultValue:!1,path:`config.enable_full_domain_crawl`,info:`If this option is enabled all URLs from this domain will be scraped.`,label:`Crawl full domain`}),enable_web_search:O({sectionKey:`general`,groupPath:`config.extraction`,label:`Enable web search`,path:`enable_web_search`,defaultValue:!1,info:`When 'true', the extraction will follow links outside the specified domain.`}),input_fields:z(r.object({[lx.name]:E({fieldName:lx.name})})),output_fields:R(r.object({[ux.name]:k({fieldName:ux.name})}))})}),fx=e=>V(K(lx,e)),px={"website-extract-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`}},mx=class extends U{pipeId=cx;payload;payloadSchema=dx;billableOperations=px;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-extract-firecrawl-v1-firecrawl`]}getInputRequirement(){return fx(this.payload.config)}getRawOutputFields(){return{[ux.name]:this.catalogOutput(ux)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},hx=dx,gx={pipeId:cx,basePipe:W(cx),label:`Extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Perform advanced AI scraping to extract data from any website. Search all subdomains and combine scraped data with search results.`,tags:[B.SCRAPE],docPath:G(cx),billableOperations:px,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:fx(null),defaultPayload:{pipe_id:cx,run_if:null,connector:null,config:{json_schema:{type:`object`},enable_full_domain_crawl:!1,enable_web_search:!1,extraction_prompt:``,input_fields:{website_url:{alias:``}},output_fields:{firecrawl_extract_result:{alias:``,enabled:!0}}}}},_x=`website:maplinks:firecrawl@1`,vx={"website-maplinks-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:1},mode:`onSuccess`}},yx=_(`website_url`),bx=_(`mapped_links`),xx=r.object({pipe_id:r.literal(_x),connector:w(),run_if:S(),config:r.object({page_limit:ua({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,required:!1,path:`config.page_limit`,sectionKey:`general`}),sitemap:sa({label:`Sitemap`,info:`Include sitemap links`,sectionKey:`general`,groupPath:`config.general`,path:`config.sitemap`,defaultValue:`include`,required:!1,options:[{value:`include`,label:`Include`},{value:`skip`,label:`Skip`},{value:`only`,label:`Only`}]}),search:aa({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).default(``),input_fields:z(r.object({[yx.name]:E({fieldName:yx.name})})),output_fields:R(r.object({[bx.name]:k({fieldName:bx.name})}))}).optional()}),Sx=e=>V(K(yx,e)),Cx=class extends U{pipeId=_x;payload;payloadSchema=xx;billableOperations=vx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-maplinks-firecrawl-v1-firecrawl`]}getInputRequirement(){return Sx(this.payload.config)}getRawOutputFields(){return{[bx.name]:this.catalogOutput(bx)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},wx=xx,Tx={pipeId:_x,basePipe:W(_x),label:`Map domain links`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Input a website and get all internal URLs on the website. Results do not include links to external pages.`,tags:[B.SCRAPE],docPath:G(_x),billableOperations:vx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Sx(null),defaultPayload:{pipe_id:_x,run_if:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},Ex=`website:scrape:firecrawl@1`,Dx=_(`website_url`),Ox=_(`website_markdown`),kx=_(`website_html`),Ax=_(`website_links`),jx=r.object({pipe_id:r.literal(Ex),connector:w(),run_if:S(),config:r.object({scrape_main_only:O({defaultValue:!1,label:`Scrape main content only?`,info:`If selected, content like headers, footers, and sidebars are excluded from the scrape results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),input_fields:z(r.object({[Dx.name]:E({fieldName:Dx.name})})),output_fields:R(r.object({[Ox.name]:k({fieldName:Ox.name}),[kx.name]:k({fieldName:kx.name}),[Ax.name]:k({fieldName:Ax.name})}))}).optional()}),Mx=e=>V(K(Dx,e)),Nx={"website-scrape-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`}},Px=class extends U{pipeId=Ex;payload;payloadSchema=jx;billableOperations=Nx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-scrape-firecrawl-v1-firecrawl`]}getInputRequirement(){return Mx(this.payload.config)}getRawOutputFields(){return{[Ox.name]:this.catalogOutput(Ox),[kx.name]:this.catalogOutput(kx),[Ax.name]:this.catalogOutput(Ax)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Fx=jx,Ix={pipeId:Ex,basePipe:W(Ex),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[B.SCRAPE],docPath:G(Ex),billableOperations:Nx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Mx(null),defaultPayload:{pipe_id:Ex,run_if:null,connector:null,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}},output_fields:{website_markdown:{alias:``,enabled:!0},website_html:{alias:``,enabled:!1},website_links:{alias:``,enabled:!1}}}}},Lx=`website:scrapelist:firecrawl@1`,Rx={"website-scrapelist-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`,note:`You are charged per url that is scraped.`}},zx=_(`urls`),Bx=_(`scrape_list_response`),Vx=r.object({pipe_id:r.literal(Lx),connector:w(),run_if:S(),config:r.object({scrape_main_only:O({label:`Scrape main content only?`,defaultValue:!1,info:`If selected headers, footers, and sidebars will be excluded from the results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),formats:la({options:[{label:`Markdown`,value:`markdown`},{label:`HTML`,value:`html`},{label:`Links`,value:`links`}],disableSearch:!0,info:`Choose what you want to scrape from the website`,required:!1,label:`Formats`,sectionKey:`general`,groupPath:`config.general`,path:`config.formats`}),input_fields:z(r.object({[zx.name]:E({fieldName:zx.name})})),output_fields:R(r.object({[Bx.name]:k({fieldName:Bx.name})}))}).optional()}),Hx=e=>V(K(zx,e)),Ux=class extends U{pipeId=Lx;payload;payloadSchema=Vx;billableOperations=Rx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`list-url-scrape-firecrawl`)}getInputRequirement(){return Hx(this.payload.config)}getRawOutputFields(){return{[Bx.name]:this.catalogOutput(Bx)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Wx=Vx,Gx={pipeId:Lx,basePipe:W(Lx),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[B.SCRAPE],docPath:G(Lx),billableOperations:Rx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Hx(null),defaultPayload:{pipe_id:Lx,run_if:null,connector:null,config:{scrape_main_only:!0,formats:[`html`,`markdown`,`links`],input_fields:{urls:{alias:``}},output_fields:{scrape_list_response:{alias:``,enabled:!0}}}}},Kx=[`companies:profiles:crustdata@1`,`companies:profiles:crustdata@2`,`companies:profiles:amplemarket@1`,`companies:profiles:amplemarket@2`,`people:profiles:crustdata@1`,`people:profiles:crustdata@2`,`people:profiles:amplemarket@1`,`people:profiles:amplemarket@2`],qx=r.enum(Kx);function Jx(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function Yx(e,t){return e==null?void 0:t(e)}function Xx(){return Zx({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function Zx({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:Jx(e),entity:t||e}}function Qx(e,t){let n=JSON.parse(JSON.stringify({...e}));if(!t)return n;for(let e in t)!(e in n)&&t[e]!=null&&(n[e]=t[e]);return n}function $x(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}function eS(e,t){let n={name:e,config:t};return Ia.hashObject(n)}var tS=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}catalogOutput(e){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:e.type,format:e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}getHashKey(){return eS(this.searchId,this.payload)}};function nS(e){return e.split(`@`)[0]}function rS(e){return`/docs/search-catalog/${nS(e)}/${e.split(`@`)[1]}`}const iS=`companies:profiles:amplemarket@2`,aS=_(`company_name`),oS=_(`company_domain`),sS=_(`company_description`),cS=_(`company_profile_url`),lS=_(`amplemarket_company_match`),uS=r.object({search_id:r.literal(iS),connector:v.nullable().optional(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}).default(100),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[aS.name]:N({fieldName:aS.name}),[oS.name]:N({fieldName:oS.name}),[sS.name]:N({fieldName:sS.name}),[cS.name]:N({fieldName:cS.name}),[lS.name]:N({fieldName:lS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:Z(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:Z(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_names`)}),company_domains:j({sectionKey:`config.filters`,path:`config.filters.company_domains`,label:`Company domains`,description:``,placeholder:Z(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:Jx(e.value)}})})}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:g(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:Z(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:h(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:Z(`industry`),groupPath:`config.filters.industry`}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:ha({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,required:!1,description:``}),open_position_titles:A({path:`config.filters.open_position_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:Z(`title`),suggestionsDef:g(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.headcount`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Company sizes`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:ha({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months (in %)`,groupPath:`config.filters.company_size`,description:``,max:1e4,min:0,required:!1})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),dS={default:{input:[{fields:[]}]}},fS=class extends tS{searchId=iS;schema=uS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[aS.name]:this.catalogOutput(aS),[oS.name]:this.catalogOutput(oS),[sS.name]:this.catalogOutput(sS),[cS.name]:this.catalogOutput(cS),[lS.name]:this.catalogOutput(lS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return dS}},pS=uS,mS={searchId:iS,billableOperation:`companies-profiles-amplemarket-v2`,baseSearch:nS(`companies:profiles:amplemarket@2`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:rS(iS),cost:{mode:`per_page`,credits:{default:2}},provider:`amplemarket`,defaultPayload:{search_id:iS,connector:null,config:{limit:100,page_number:1,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},amplemarket_company_match:{enabled:!0,alias:``}},filters:{company_industries:{include:[],exclude:[]},company_names:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}},hS=`companies:profiles:crustdata@2`,gS=_(`company_name`),_S=_(`company_domain`),vS=_(`company_description`),yS=_(`company_profile_url`),bS=_(`crustdata_company_match`),xS=r.object({search_id:r.literal(hS),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:xa({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[gS.name]:N({fieldName:gS.name}),[_S.name]:N({fieldName:_S.name}),[vS.name]:N({fieldName:vS.name}),[yS.name]:N({fieldName:yS.name}),[bS.name]:N({fieldName:bS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:Z(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:Z(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:Z(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:Z(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:Z(`industry`),groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:P({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:_a({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:_a({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_l6m_in_percent:P({path:`config.filters.follower_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:Z(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}),competitor_domains:j({path:`config.filters.competitor_domains`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domain`,description:``,placeholder:Z(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:Jx(e.value)}})})})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),SS={default:{input:[{fields:[]}]}},CS=class extends tS{searchId=hS;schema=xS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[gS.name]:this.catalogOutput(gS),[_S.name]:this.catalogOutput(_S),[vS.name]:this.catalogOutput(vS),[yS.name]:this.catalogOutput(yS),[bS.name]:this.catalogOutput(bS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return SS}},wS=xS,TS={searchId:hS,billableOperation:`companies-profiles-crustdata-v2`,baseSearch:nS(`companies:profiles:crustdata@2`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:rS(hS),cost:{mode:`per_page`,credits:{default:2}},provider:`crustdata`,defaultPayload:{search_id:hS,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:{include:[],exclude:[]},linkedin_industries:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},crunchbase_categories:{include:[],exclude:[]},markets:{include:[],exclude:[]},revenue_in_usd:{from:null,to:null},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},follower_growth_l6m_in_percent:[],headcount:{include:[],exclude:[]},hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[],exclude:[]}}}}},ES=`companies:profiles:amplemarket@1`,DS=_(`company_name`),OS=_(`company_website_url`),kS=_(`company_description`),AS=_(`company_profile_url`),jS=_(`amplemarket_company_match`),MS=r.object({search_id:r.literal(ES),connector:v.nullable().optional(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[DS.name]:N({fieldName:DS.name}),[OS.name]:N({fieldName:OS.name}),[kS.name]:N({fieldName:kS.name}),[AS.name]:N({fieldName:AS.name}),[jS.name]:N({fieldName:jS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:Z(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:Z(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_names`)}),company_website_urls:j({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:Z(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:g(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:Z(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:h(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:Z(`industry`),groupPath:`config.filters.industry`}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:ha({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,required:!1,description:``}),open_positions_titles:A({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:Z(`title`),suggestionsDef:g(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_last_6_months_in_percent:ha({path:`config.filters.headcount_growth_last_6_months_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months (in %)`,groupPath:`config.filters.company_size`,description:``,max:1e4,min:0,required:!1})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),NS={default:{input:[{fields:[]}]}},PS=class extends tS{searchId=ES;schema=MS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[DS.name]:this.catalogOutput(DS),[OS.name]:this.catalogOutput(OS),[kS.name]:this.catalogOutput(kS),[AS.name]:this.catalogOutput(AS),[jS.name]:this.catalogOutput(jS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return NS}},FS=MS,IS={searchId:ES,billableOperation:`companies-profiles-amplemarket-v1`,baseSearch:nS(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`deprecated`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:amplemarket@2`},description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:rS(ES),cost:{mode:`per_page`,credits:{default:2}},provider:`amplemarket`,defaultPayload:{search_id:ES,connector:null,config:{limit:100,page_number:1,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},amplemarket_company_match:{enabled:!0,alias:``}},filters:{company_industries:{include:[],exclude:[]},company_names:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_website_urls:{include:[],exclude:[]},customer_types:[],headcount_growth_last_6_months_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_positions_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}},LS=`companies:profiles:crustdata@1`,RS=_(`company_name`),zS=_(`company_website_url`),BS=_(`company_description`),VS=_(`company_profile_url`),HS=_(`crustdata_company_match`),US=r.object({search_id:r.literal(LS),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:xa({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[RS.name]:N({fieldName:RS.name}),[zS.name]:N({fieldName:RS.name}),[BS.name]:N({fieldName:BS.name}),[VS.name]:N({fieldName:VS.name}),[HS.name]:N({fieldName:HS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:Z(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:Z(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:Z(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:Z(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:Z(`industry`),groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:_a({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:_a({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:Z(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}),competitor_websites:j({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:Z(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),WS={default:{input:[{fields:[]}]}},GS=class extends tS{searchId=LS;schema=US;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[RS.name]:this.catalogOutput(RS),[zS.name]:this.catalogOutput(zS),[BS.name]:this.catalogOutput(BS),[VS.name]:this.catalogOutput(VS),[HS.name]:this.catalogOutput(HS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return WS}},KS=US,qS={searchId:LS,billableOperation:`companies-profiles-crustdata-v1`,baseSearch:nS(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`deprecated`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:crustdata@2`},description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:rS(LS),cost:{mode:`per_page`,credits:{default:2}},provider:`crustdata`,defaultPayload:{search_id:LS,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:{include:[],exclude:[]},headcount_growth_last_6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:{include:[],exclude:[]},linkedin_industries:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},crunchbase_categories:{include:[],exclude:[]},markets:{include:[],exclude:[]},revenue_in_usd:{from:null,to:null},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},follower_growth_last_6m_in_percent:[],headcount:{include:[],exclude:[]},hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_websites:{include:[],exclude:[]}}}}},JS=`people:profiles:amplemarket@1`,YS=_(`name`),XS=_(`company_website_url`),ZS=_(`profile_url`),QS=_(`job_title`),$S=_(`amplemarket_person_match`),eC=r.object({search_id:r.literal(JS),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[YS.name]:N({fieldName:YS.name}),[XS.name]:N({fieldName:XS.name}),[ZS.name]:N({fieldName:ZS.name}),[QS.name]:N({fieldName:QS.name}),[$S.name]:N({fieldName:$S.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:Z(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:Z(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:Z(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:Z(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:g(`locations`),groupPath:`config.filters.current_company`,placeholder:Z(`location`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`company_name`),suggestionsDef:g(`company_names`)}),current_employer_website_urls:j({path:`config.filters.current_employer_website_urls`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:Z(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`industry`),required:!1,options:m(`linkedin.industries`)}),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}),current_employer_founded_year:ha({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,required:!1,description:``}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:Z(`investor`),description:``}),current_employer_open_positions_titles:A({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`title`),suggestionsDef:g(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),tC={default:{input:[{fields:[]}]}},nC=class extends tS{searchId=JS;schema=eC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[YS.name]:this.catalogOutput(YS),[XS.name]:this.catalogOutput(XS),[ZS.name]:this.catalogOutput(ZS),[QS.name]:this.catalogOutput(QS),[$S.name]:this.catalogOutput($S)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return tC}},rC=eC,iC={searchId:JS,billableOperation:`people-profiles-amplemarket-v1`,baseSearch:nS(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:amplemarket@2`},description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:rS(JS),cost:{mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:JS,connector:null,config:{limit:50,page_number:1,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},amplemarket_person_match:{enabled:!0,alias:``}},filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_positions_titles:[],current_job_functions:[],current_locations:{include:[],exclude:[]},current_employer_linkedin_industries:[],current_employer_website_urls:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}},aC=`people:profiles:crustdata@1`,oC=_(`name`),sC=_(`company_website_url`),cC=_(`profile_url`),lC=_(`job_title`),uC=_(`crustdata_person_match`),dC=r.object({search_id:r.literal(aC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:xa({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[oC.name]:N({fieldName:oC.name}),[sC.name]:N({fieldName:sC.name}),[cC.name]:N({fieldName:cC.name}),[lC.name]:N({fieldName:lC.name}),[uC.name]:N({fieldName:uC.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:Z(`location`),optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:Z(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_employers:j({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:Z(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),current_employers_website_urls:j({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Company domain`,placeholder:Z(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),current_employers_linkedin_industries:I({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:Z(`industry`),description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employers_website_urls:j({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:Z(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:Z(`seniority`),disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:j({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:Z(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:Z(`title`),groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employers_linkedin_industries:I({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:Z(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:Z(`headline_keywords`)}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:Z(`profile_keywords`)}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:Z(`languages`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:Z(`languages_1`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:Z(`skills`),groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:Z(`seniority`),optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:Z(`certification`),description:``}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:Z(`honor`),description:``}),recently_changed_jobs:ba({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:Z(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:Z(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:Z(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),fC={default:{input:[{fields:[]}]}},pC=class extends tS{searchId=aC;schema=dC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[oC.name]:this.catalogOutput(oC),[sC.name]:this.catalogOutput(sC),[cC.name]:this.catalogOutput(cC),[lC.name]:this.catalogOutput(lC),[uC.name]:this.catalogOutput(uC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return fC}},mC=dC,hC={searchId:aC,billableOperation:`people-profiles-crustdata-v1`,baseSearch:nS(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:crustdata@2`},description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:rS(aC),cost:{mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:aC,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:{include:[],exclude:[]},languages:{include:[],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},current_employers:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},years_at_current_company:[],certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employers_linkedin_industries:{include:[],exclude:[]},current_employers_website_urls:{include:[],exclude:[]},previous_employers_website_urls:{include:[],exclude:[]},current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},locations:{include:[],exclude:[]},profile_languages:{include:[],exclude:[]},recently_changed_jobs:null,extracurricular_activities:{include:[],exclude:[]},school_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},previous_employers:{include:[],exclude:[]},current_job_titles:{include:[],exclude:[]},skills:{include:[],exclude:[]},years_of_experience:[],previous_employers_linkedin_industries:{include:[],exclude:[]}}}}},gC=`people:profiles:amplemarket@2`,_C=_(`name`),vC=_(`company_domain`),yC=_(`profile_url`),bC=_(`job_title`),xC=_(`amplemarket_person_match`),SC=r.object({search_id:r.literal(gC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}).default(50),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[_C.name]:N({fieldName:_C.name}),[vC.name]:N({fieldName:vC.name}),[yC.name]:N({fieldName:yC.name}),[bC.name]:N({fieldName:bC.name}),[xC.name]:N({fieldName:xC.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:Z(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:Z(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:Z(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:Z(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:g(`locations`),groupPath:`config.filters.current_company`,placeholder:Z(`location`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`company_name`),suggestionsDef:g(`company_names`)}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:Z(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:Jx(e.value)}})})}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`industry`),required:!1,options:m(`linkedin.industries`)}),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}),current_employer_founded_year:ha({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,required:!1,description:``}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:Z(`investor`),description:``}),current_employer_open_position_titles:A({path:`config.filters.current_employer_open_position_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:Z(`title`),suggestionsDef:g(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),CC={default:{input:[{fields:[]}]}},wC=class extends tS{searchId=gC;schema=SC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[_C.name]:this.catalogOutput(_C),[vC.name]:this.catalogOutput(vC),[yC.name]:this.catalogOutput(yC),[bC.name]:this.catalogOutput(bC),[xC.name]:this.catalogOutput(xC)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return CC}},TC=SC,EC={searchId:gC,billableOperation:`people-profiles-amplemarket-v2`,baseSearch:nS(`people:profiles:amplemarket@2`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:rS(gC),cost:{mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:gC,connector:null,config:{limit:50,page_number:1,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},amplemarket_person_match:{enabled:!0,alias:``}},filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}},DC=`people:profiles:crustdata@2`,OC=_(`name`),kC=_(`company_domain`),AC=_(`profile_url`),jC=_(`job_title`),MC=_(`crustdata_person_match`),NC=r.object({search_id:r.literal(DC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:xa({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[OC.name]:N({fieldName:OC.name}),[kC.name]:N({fieldName:kC.name}),[AC.name]:N({fieldName:AC.name}),[jC.name]:N({fieldName:jC.name}),[MC.name]:N({fieldName:MC.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:Z(`location`),optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:Z(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:Z(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:Z(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:Jx(e.value)}})})}),current_employer_industries:I({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:Z(`industry`),description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employer_domains:j({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:Z(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:Jx(e.value)}})})}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:Z(`seniority`),disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employer_names:j({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:Z(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:Z(`title`),groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employer_industries:I({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:Z(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:Z(`headline_keywords`)}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:Z(`profile_keywords`)}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:Z(`languages`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:Z(`languages_1`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:Z(`skills`),groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:Z(`seniority`),optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:Z(`certification`),description:``}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:Z(`honor`),description:``}),recently_changed_jobs:ba({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:Z(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:Z(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:Z(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:Z(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{$x(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),PC={default:{input:[{fields:[]}]}},FC=class extends tS{searchId=DC;schema=NC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[OC.name]:this.catalogOutput(OC),[kC.name]:this.catalogOutput(kC),[AC.name]:this.catalogOutput(AC),[jC.name]:this.catalogOutput(jC),[MC.name]:this.catalogOutput(MC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return PC}},IC=NC,LC={searchId:DC,billableOperation:`people-profiles-crustdata-v2`,baseSearch:nS(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:rS(DC),cost:{mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:DC,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:{include:[],exclude:[]},languages:{include:[],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},current_employer_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},years_at_current_company:[],certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employer_industries:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},locations:{include:[],exclude:[]},profile_languages:{include:[],exclude:[]},recently_changed_jobs:null,extracurricular_activities:{include:[],exclude:[]},school_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},current_job_titles:{include:[],exclude:[]},skills:{include:[],exclude:[]},years_of_experience:[],previous_employer_industries:{include:[],exclude:[]}}}}},RC={"people:profiles:crustdata@1":pC,"people:profiles:crustdata@2":FC,"companies:profiles:crustdata@1":GS,"companies:profiles:crustdata@2":CS,"people:profiles:amplemarket@1":nC,"people:profiles:amplemarket@2":wC,"companies:profiles:amplemarket@1":PS,"companies:profiles:amplemarket@2":fS},zC={"people:profiles:crustdata@1":mC,"people:profiles:crustdata@2":IC,"companies:profiles:crustdata@1":KS,"companies:profiles:crustdata@2":wS,"people:profiles:amplemarket@1":rC,"people:profiles:amplemarket@2":TC,"companies:profiles:amplemarket@1":FS,"companies:profiles:amplemarket@2":pS},BC={"people:profiles:crustdata@1":hC,"people:profiles:crustdata@2":LC,"companies:profiles:crustdata@1":qS,"companies:profiles:crustdata@2":TS,"people:profiles:amplemarket@1":iC,"people:profiles:amplemarket@2":EC,"companies:profiles:amplemarket@1":IS,"companies:profiles:amplemarket@2":mS};function VC(e){return RC[e]}const HC=t.discriminatedUnion(`search_id`,Object.values(zC).map(e=>e)).openapi(`SearchPayloadSchema`);function UC(e,t){return Ta(t,BC[e].defaultPayload)}const WC=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=UC(e.search_id);return t?{...e,config:Ta(e?.config||{},t.config)}:e},HC),GC=t.object({config:t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}).default({environment:`production`,widgets:{enabled:!1}}),search:WC}).openapi(`SearchRequestSchema`),KC=Rn,qC=t.object({value:Tn,status:wn,type:Sn.optional(),format:Vn.nullable().optional(),resolved_by:qn.nullable().optional(),widgets:Ln.optional()}),JC=t.record(t.string(),qC.nullable());function YC(e){return zC[e]}const XC=t.enum([`cursor`,`page_number`]),ZC=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:qx,errors:t.array(KC),results:t.array(JC),organization_id:t.string(),next_page:WC.nullable(),pagination_type:XC.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function QC(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function $C(){let e={};for(let t of Object.values(BC)){let{baseSearch:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=QC(e.searchId);return QC(t.searchId)-n})}),e}function ew(e){return BC[e]}const tw=$C();function nw(e){let t=[];for(let[n,r]of Object.entries(tw)){let i=r[0];if(!i)throw Error(`Found empty entry`);i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||i.categories.includes(e))&&t.push({...i,baseSearch:n,latestVersion:QC(i.searchId)})}return t}function rw(e){return Object.keys(BC[e].defaultPayload.config.output_fields)}function iw(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={};for(let e of n){if(e.lifecycle&&e.lifecycle.deprecatedOn){i.Deprecated??=[],i.Deprecated.push(e.searchId);continue}a[e.provider]??=[],a[e.provider].push(e.searchId);for(let t of rw(e.searchId))r[t]??=[],r[t].push(e.searchId);for(let t of e.tags)i[t]??=[],i[t].push(e.searchId)}return{searchIdsByOutputField:r,searchIdsByTag:i,searchIdsByProvider:a,sortedTagEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),searchEntriesByBaseSearch:tw}}function aw(e){let t=ew(e);return{[t.provider]:t.cost.credits.default}}const ow={"prompt:run@1":jb,"company:newssummary:website@1":El,"company:newssummary:domain@1":bs,"company:techstack:builtwith@1":mu,"company:techstack:builtwith@2":qs,"company:websiteurl:email@1":Cu,"company:domain:workemail@1":$a,"company:funding:leadmagic@1":yc,"company:funding:leadmagic@2":mo,"people:workemail:waterfall@1":Rm,"person:workemail:waterfall@1":wb,"people:email:iswork@1":Mu,"email:iswork@1":qm,"people:name:split@1":cf,"person:name:split@1":Bv,"people:validate:email:zerobounce@1":dm,"people:email:validate:zerobounce@2":Zu,"email:validate:zerobounce@1":Sh,"people:mobilenumber:workemail:waterfall@1":Zd,"person:name:join@1":Av,"company:overview@1":Vl,"company:overview@2":ru,"company:overview@3":Is,"json:extract:multi@1":Cg,"company:lookalikes:companyenrich@1":Xc,"company:lookalikes:companyenrich@2":Wo,"company:match:logodev@1":_l,"company:match:logodev@2":ds,"person:posts:crustdata@1":cy,"people:profile:workemail:crustdata@1":Up,"person:profile:workemail:crustdata@1":ky,"people:identity:email:waterfall@1":vd,"person:identity:email:waterfall@1":M_,"person:identity:amplemarket@1":g_,"email:send:resend@1":fh,"contact:create:resend@1":ac,"email:send:gmail@1":ah,"email:write@1":Mh,"fields:merge@1":cg,"field:slugify@1":Xh,"field:domainify@1":Vh,"http:request@1":_g,"template:fill@1":ax,"message:send:slack@1":jg,"message:write@1":zg,"people:personalemail:profile:waterfall@1":bf,"person:personalemail:profileurl:waterfall@1":Qv,"website:scrape:firecrawl@1":Px,"website:scrapelist:firecrawl@1":Ux,"website:extract:firecrawl@1":mx,"website:maplinks:firecrawl@1":Cx,"sheet:row:append@1":Ub,"sheet:row:expandappend@1":Qb,"people:match:role:waterfall@1":kd,"person:match:role:waterfall@1":Q_,"company:match:crustdata@1":al,"company:match:crustdata@2":$o,"person:match:amplemarket@1":V_,"company:identity@2":Vc,"company:identity@3":To,"company:identity:crustdata@1":Fo,"people:phone:profile:waterfall@1":jf,"person:mobile:profileurl:waterfall@1":lv,"person:devprofileurl:profileurl:waterfall@1":Zg,"people:phone:workemail:waterfall@1":Hf,"person:mobile:workemail:waterfall@1":bv,"people:profile:waterfall@1":Np,"person:profile:waterfall@1":yy,"people:profileurl:email:waterfall@1":tm,"person:profileurl:email:waterfall@1":Vy,"person:profileurl:name@1":Qy,"people:email:validate:zerobounce@1":Vu,"person:email:validate:millionverifier@1":s_,"people:workemail:profileurl:waterfall@1":wm,"person:workemail:profileurl:waterfall@1":ub,"company:identity@1":Ac,"people:professionalprofile:waterfall@1":$f,"people:professionalprofileurl:name@1":Sp,"people:professionalprofileurl:email:waterfall@1":dp,"people:mobilenumber:professionalprofile:waterfall@1":Bd},sw={"prompt:run@1":Mb,"company:newssummary:website@1":Dl,"company:newssummary:domain@1":xs,"company:techstack:builtwith@1":hu,"company:techstack:builtwith@2":Js,"company:websiteurl:email@1":wu,"company:domain:workemail@1":eo,"company:funding:leadmagic@1":bc,"company:funding:leadmagic@2":ho,"people:workemail:waterfall@1":zm,"person:workemail:waterfall@1":Tb,"people:email:iswork@1":Nu,"email:iswork@1":Jm,"people:name:split@1":lf,"person:name:split@1":Vv,"people:validate:email:zerobounce@1":fm,"people:email:validate:zerobounce@2":Qu,"email:validate:zerobounce@1":Ch,"people:mobilenumber:workemail:waterfall@1":Qd,"person:name:join@1":jv,"company:overview@1":Hl,"company:overview@2":iu,"company:overview@3":Ls,"json:extract:multi@1":wg,"email:write@1":Nh,"fields:merge@1":lg,"field:slugify@1":Zh,"field:domainify@1":Hh,"http:request@1":vg,"email:send:resend@1":ph,"contact:create:resend@1":oc,"company:lookalikes:companyenrich@1":Zc,"company:lookalikes:companyenrich@2":Go,"company:match:logodev@1":vl,"company:match:logodev@2":fs,"person:posts:crustdata@1":ly,"people:profile:workemail:crustdata@1":Wp,"person:profile:workemail:crustdata@1":Ay,"people:identity:email:waterfall@1":yd,"person:identity:email:waterfall@1":N_,"company:match:crustdata@1":ol,"company:match:crustdata@2":es,"person:identity:amplemarket@1":__,"message:send:slack@1":Mg,"email:send:gmail@1":oh,"message:write@1":Bg,"template:fill@1":ox,"website:scrape:firecrawl@1":Fx,"website:scrapelist:firecrawl@1":Wx,"website:extract:firecrawl@1":hx,"website:maplinks:firecrawl@1":wx,"sheet:row:append@1":Wb,"sheet:row:expandappend@1":$b,"people:match:role:waterfall@1":Ad,"person:match:role:waterfall@1":$_,"company:identity@2":Hc,"company:identity@3":Eo,"company:identity:crustdata@1":Io,"people:phone:profile:waterfall@1":Mf,"person:mobile:profileurl:waterfall@1":uv,"person:devprofileurl:profileurl:waterfall@1":Qg,"people:personalemail:profile:waterfall@1":xf,"person:personalemail:profileurl:waterfall@1":$v,"people:profile:waterfall@1":Pp,"person:profile:waterfall@1":by,"people:profileurl:email:waterfall@1":nm,"person:profileurl:email:waterfall@1":Hy,"person:profileurl:name@1":$y,"people:email:validate:zerobounce@1":Hu,"person:email:validate:millionverifier@1":c_,"people:phone:workemail:waterfall@1":Uf,"person:mobile:workemail:waterfall@1":xv,"people:workemail:profileurl:waterfall@1":Tm,"person:workemail:profileurl:waterfall@1":db,"person:match:amplemarket@1":H_,"company:identity@1":jc,"people:professionalprofile:waterfall@1":ep,"people:professionalprofileurl:name@1":Cp,"people:professionalprofileurl:email:waterfall@1":fp,"people:mobilenumber:professionalprofile:waterfall@1":Vd},cw={"prompt:run@1":Nb,"company:newssummary:website@1":Ol,"company:newssummary:domain@1":Ss,"company:techstack:builtwith@1":gu,"company:techstack:builtwith@2":Ys,"company:websiteurl:email@1":Tu,"company:domain:workemail@1":to,"company:funding:leadmagic@1":xc,"company:funding:leadmagic@2":go,"people:workemail:waterfall@1":Bm,"person:workemail:waterfall@1":Eb,"people:email:iswork@1":Pu,"email:iswork@1":Ym,"people:name:split@1":uf,"person:name:split@1":Hv,"people:validate:email:zerobounce@1":pm,"people:mobilenumber:workemail:waterfall@1":$d,"person:name:join@1":Mv,"company:overview@1":Ul,"company:overview@2":au,"company:overview@3":Rs,"json:extract:multi@1":Tg,"email:send:resend@1":mh,"contact:create:resend@1":sc,"email:send:gmail@1":sh,"message:send:slack@1":Ng,"message:write@1":Vg,"email:write@1":Ph,"template:fill@1":sx,"fields:merge@1":ug,"field:slugify@1":Qh,"field:domainify@1":Uh,"http:request@1":yg,"sheet:row:append@1":Gb,"sheet:row:expandappend@1":ex,"company:lookalikes:companyenrich@1":Qc,"company:lookalikes:companyenrich@2":Ko,"people:match:role:waterfall@1":jd,"person:match:role:waterfall@1":ev,"company:match:logodev@1":yl,"company:match:logodev@2":ps,"person:posts:crustdata@1":uy,"people:profile:workemail:crustdata@1":Gp,"person:profile:workemail:crustdata@1":jy,"people:workemail:profileurl:waterfall@1":Em,"person:workemail:profileurl:waterfall@1":fb,"people:identity:email:waterfall@1":bd,"person:identity:email:waterfall@1":P_,"company:match:crustdata@1":sl,"company:match:crustdata@2":ts,"person:identity:amplemarket@1":v_,"email:validate:zerobounce@1":wh,"person:email:validate:millionverifier@1":l_,"people:personalemail:profile:waterfall@1":Sf,"person:personalemail:profileurl:waterfall@1":ey,"people:email:validate:zerobounce@1":Uu,"people:email:validate:zerobounce@2":$u,"people:phone:workemail:waterfall@1":Wf,"person:mobile:workemail:waterfall@1":Sv,"website:scrape:firecrawl@1":Ix,"website:scrapelist:firecrawl@1":Gx,"website:extract:firecrawl@1":gx,"website:maplinks:firecrawl@1":Tx,"person:match:amplemarket@1":U_,"company:identity@2":Uc,"company:identity@3":Do,"company:identity:crustdata@1":Lo,"people:phone:profile:waterfall@1":Nf,"person:mobile:profileurl:waterfall@1":dv,"person:devprofileurl:profileurl:waterfall@1":$g,"people:profile:waterfall@1":Fp,"person:profile:waterfall@1":xy,"people:profileurl:email:waterfall@1":rm,"person:profileurl:email:waterfall@1":Uy,"person:profileurl:name@1":eb,"company:identity@1":Mc,"people:professionalprofile:waterfall@1":tp,"people:professionalprofileurl:name@1":wp,"people:professionalprofileurl:email:waterfall@1":pp,"people:mobilenumber:professionalprofile:waterfall@1":Hd};function lw(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function uw(e){return ow[e]}function dw(e){return cw[e].defaultPayload}function fw(e){return sw[e]}const pw=r.discriminatedUnion(`pipe_id`,Object.values(sw)).openapi(`PipePayload`),mw=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=dw(bn.parse(e.pipe_id));return t?{...e,config:Ta(e?.config||{},t.config)}:e}catch{return e}},pw);function hw(e){return cw[e]}function gw(e,t){let n=hw(e);if(t in n.billableOperations)return n.billableOperations[t];throw Error(`Unable to find billable operation definition for pipeId '${e}' and operation '${t}'`)}function _w(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function vw(){let e={};for(let t of Object.values(cw)){let{basePipe:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=_w(e.pipeId);return _w(t.pipeId)-n})}),e}const yw=e=>{let t=hw(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},bw=vw();function xw(e,t){let n=new Map;for(let[t,r]of Object.entries(e))for(let e of Object.keys(r.billableOperations)){let r=n.get(e)??[];r.push(`pipe ${t}`),n.set(e,r)}for(let[e,r]of Object.entries(t)){let t=r.billableOperation,i=n.get(t)??[];i.push(`search ${e}`),n.set(t,i)}let r=[...n.entries()].filter(([,e])=>e.length>1);if(r.length>0){let e=r.map(([e,t])=>` "${e}" used by ${t.join(`, `)}`).join(`
|
|
74
|
-
`);throw Error(`Catalog has ${r.length} duplicate billable-operation key(s):\n${e}`)}}xw(cw,BC);function Sw(e){let t=[];for(let[n,r]of Object.entries(bw)){let i=r[0];if(!i)throw Error(`Found empty entry`);let a=i.categories;i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||a.includes(e))&&t.push({...i,basePipe:n,latestVersion:_w(i.pipeId)})}return t}function Cw(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={},o={};for(let e of n){let t=yw(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of lw(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of ja(e.defaultInputRequirement))r[t.name]??=[],r[t.name]?.push(e.defaultPayload.pipe_id);for(let t of e.tags)a[t]??=[],a[t].push(e.defaultPayload.pipe_id)}return{pipeIdsByInputField:r,pipeIdsByOutputField:i,pipeIdsByTag:a,pipeIdsByProvider:o,sortedTagEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),sortedInputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(o).sort((e,t)=>e[0].localeCompare(t[0])),pipeEntriesByBasePipe:bw}}const ww=r.object({id:r.string(),organization_id:r.string(),order:r.array(Cn),field_definitions:er,errors:r.array(Rn),records:r.record(Cn,Zn),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),Tw=r.object({environment:vn.default(`production`),widgets:r.object({enabled:r.boolean().default(!1)}).default({enabled:!1}),field_definitions:r.object({enabled:r.boolean()}).default({enabled:!1}),transform:r.object({include_fields:r.enum([`input`,`annotated`])}).default({include_fields:`input`})}).default({environment:`production`,transform:{include_fields:`input`},widgets:{enabled:!1},field_definitions:{enabled:!1}}).openapi(`PipesRequestConfig`),Ew=r.object({config:Tw.openapi(`PipesRequestConfig`),field_annotations:Un.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(pw),input:r.array(Xn.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Dw(e){let t=hw(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.allowManagedConnection?t.credits.default:0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}const Ow={"config.prompt":{order:1,label:`Prompt`,iconKey:`sparkles`,defaultExpand:!0},"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:0,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},"config.input_fields":{order:0,label:`Input config`,description:`Point pipe inputs to new fields.`,iconKey:`input`,defaultExpand:!1},connector:{order:100,label:`Custom connections`,iconKey:`plug`,defaultExpand:!1},"config.extraction":{order:0,label:`Extraction`,iconKey:`code`,defaultExpand:!0},run_if:{order:99,label:`Run IF`,iconKey:`workflow`,defaultExpand:!1},"config.email":{order:3,label:`Email`,iconKey:`mail`,defaultExpand:!0},"config.json_extraction":{order:1,label:`Extract fields`,iconKey:`braces`,defaultExpand:!0},"config.providers":{order:1,label:`Providers`,iconKey:`tags`,defaultExpand:!0},"config.output_fields":{order:10,label:`Output config`,description:`Toggle or rename output fields.`,iconKey:`output`,defaultExpand:!1}},kw={general:{type:`form_section`,path:`general`,label:`Behavior`,description:`How this pipe runs and selects providers.`},pagination:{type:`form_section`,path:`pagination`,label:`Behavior`},pipe_io:{type:`form_section`,path:``,label:`I/O & conditions`},"config.filters":{type:`form_section`,path:`config.filters`,label:`I/O & conditions`}},Aw={general:1,pagination:2,"config.input_fields":10,"config.pipe_io":11,"config.output_fields":12,"config.extractions":13,"config.filters":14,conditions:15,connector:16};function jw(e){let t=fw(e),n=[];function i(e){let t=y.get(e);if(t&&typeof t!=`function`)(t.type===`context_select_input`||t.type===`tagged_text_input`)&&t.optionsDef&&n.push(t);else if(typeof t==`function`){let e=t.staticMeta;e&&e.type===`tagged_text_input`&&e.optionsDef&&n.push(e)}if(typeof e==`object`&&e&&`unwrap`in e&&typeof e.unwrap==`function`&&i(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))i(t)}return i(t),n}function Mw({pipePayload:e,validationContext:t,sectionOrder:n=Aw,store:r,groupPathMatch:i=Ow,formResolvers:a}){let o=fw(e.pipe_id),s=La(e.pipe_id,e.config||{});return Hi({schema:o,groupPathMatch:i,extractFromSchema:n=>{let i=y.get(n);if(r.field_options??={},i)return i&&typeof i==`function`?i({validationContext:t,pipePayload:e,userConnections:`connections`in r.field_options?(r.field_options.connections.options||[]).map(e=>{let t=e.widgets?.provider_logo?.provider;if(!t)throw Error(`Option is missing provider type'`);return{public_id:e.value,provider:t}}):[],pipeEntry:hw(e.pipe_id),hash:s}):i},sectionOrder:n,sectionMap:kw,store:r,formResolvers:a})}const Nw={"config.pagination":{order:0,label:`Pagination`,iconKey:`list`,defaultExpand:!0},"config.prompt":{order:1,label:`Prompt`,iconKey:`sparkles`,defaultExpand:!0},"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:0,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},"config.continue_existing_search":{order:0,label:`Continue existing search`,iconKey:`history`,defaultExpand:!1},"config.output_fields":{order:10,label:`Outputs`,iconKey:`output`,defaultExpand:!1},"config.filters.query":{order:2,label:`Query`,iconKey:`text`,defaultExpand:!0},"config.filters.personal_information":{label:`Personal information`,order:6,iconKey:`user`,defaultExpand:!1},"config.filters.job_information":{label:`Job information`,order:6,iconKey:`job`,defaultExpand:!1},"config.filters.company_information":{order:1,label:`Company information`,iconKey:`office`,defaultExpand:!1},"config.filters.education":{label:`Education`,iconKey:`school`,defaultExpand:!1},"config.filters.geografic":{label:`Location`,iconKey:`location`,defaultExpand:!1},"config.filters.location":{label:`Location`,iconKey:`location`,defaultExpand:!1},"config.filters.general":{label:`General`,iconKey:`filter`,defaultExpand:!1,order:1},"config.filters.job_openings":{label:`Job openings`,iconKey:`calendar`,defaultExpand:!1},"config.filters.website":{label:`Website`,iconKey:`web`,defaultExpand:!1},"config.filters.web_presence":{label:`Web presence`,iconKey:`web`,defaultExpand:!1},"config.filters.keywords":{label:`Keywords`,iconKey:`tags`,defaultExpand:!1},"config.filters.competitors":{label:`Competitors`,iconKey:`cometition`,defaultExpand:!1},"config.filters.categories":{label:`Categories`,iconKey:`boxes`,defaultExpand:!1},"config.filters.investors":{label:`Investors`,iconKey:`handshake`,defaultExpand:!1},"config.filters.account_activities":{label:`Account Activities`,iconKey:`activity`,defaultExpand:!1},"config.filters.financials":{label:`Financials`,iconKey:`chart`,defaultExpand:!1},"config.filters.languages":{label:`Languages`,iconKey:`language`,defaultExpand:!1},"config.filters.company_size":{label:`Company size`,iconKey:`office`,defaultExpand:!1},"config.filters.linkedin":{label:`LinkedIn`,iconKey:`linkedin`,defaultExpand:!1},"config.filters.skills":{label:`Skills`,iconKey:`brain`,defaultExpand:!1},"config.filters.activities":{label:`Activities`,iconKey:`bolt`,defaultExpand:!1},"config.filters.certifications_honors":{label:`Certifications & honors`,iconKey:`award`,defaultExpand:!1},"config.filters.profile":{label:`Profile`,iconKey:`contact`,defaultExpand:!1},"config.filters.experience":{label:`Employment history`,iconKey:`history`,defaultExpand:!1},"config.filters.current_employer":{label:`Current job`,iconKey:`briefcase`,defaultExpand:!1},"config.filters.current_company":{label:`Current Company`,iconKey:`office`,defaultExpand:!1},"config.filters.industry":{label:`Industries`,iconKey:`factory`,defaultExpand:!1},"config.filters.general_search":{label:`General search`,iconKey:`search`,defaultExpand:!1}},Pw={general:{type:`form_section`,path:`general`,label:`General`,description:`Search settings and pagination.`},pagination:{type:`form_section`,path:`pagination`,label:`General`},"config.filters":{type:`form_section`,path:`config.filters`,label:`Filters`,description:`Narrow the search results.`},pipe_io:{type:`form_section`,path:``,label:`Output fields`}},Fw={general:1,pagination:2,"config.filters":10,"config.output_fields":20,"config.input_fields":21,"config.pipe_io":22,"config.extractions":23,conditions:90,connector:91};function Iw({searchPayload:e,sectionOrder:t=Fw,formContext:n,groupPathMatch:r=Nw,formResolvers:i}){return Hi({schema:YC(e.search_id),groupPathMatch:r,extractFromSchema:e=>b.get(e),sectionOrder:t,sectionMap:Pw,store:n,formResolvers:i})}const Lw=new Proxy({},{get:(e,t)=>e=>e.type===t}),Rw=`school.user.location.language.brain.book.web.plug.money.office.job.search.output.input.mix.bill.linkedin.text.workflow.letter.source.activity.boxes.cometition.bolt.star.scholar.briefcase.history.sparkles.list.sliders.factory.award.tags.handshake.contact.mail.calendar.chart.code.braces.filter`.split(`.`),zw=r.enum(Rw),Bw=r.object({provider_logo:r.object({provider:_n}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:zw}).optional(),logo_url:r.object({url:r.string(),alt:r.string().optional()}).optional(),pricing:r.object({credits:r.number()}).optional(),field_type:r.object({type:r.string(),format:r.string().optional()}).optional()}),Vw=`providers_input.fields_select_input.json_extraction_input.pipes_run_if_input.connector_input.include_exclude_input.include_exclude_select_input.exact_range_input.range_input.date_range_input.boolean_input.nullable_boolean_input.text_input.template_input.output_field_input.textarea_input.prompt_input.select_input.context_select_input.multi_select_input.min_max_int_input.async_multi_select_input.async_include_exclude_select_input.multi_create_input.ordered_multi_create_input.tagged_ordered_multi_create_input.int_input.number_input.json_schema_input`.split(`.`);r.enum(Vw);const Hw=r.object({value:r.string(),label:r.string(),widgets:Bw.optional()}),Uw=r.object({field_options:r.record(r.string(),r.object({options:r.array(Hw)}))}),Ww=[{id:`people_data`,label:`People`,color:`#8B7DFF`,order:0},{id:`find_people`,label:`Find People`,color:`#A78BFA`,order:1},{id:`company_data`,label:`Company`,color:`#10B981`,order:2},{id:`find_comapnies`,label:`Find Companies`,color:`#34D399`,order:3},{id:`tools`,label:`Tools`,color:`#EAB308`,order:4},{id:`integrations`,label:`Integrations`,color:`#06B6D4`,order:5},{id:`actions`,label:`Actions`,color:`#F97316`,order:6},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:7}],Gw=new Map(Ww.map(e=>[e.id,e]));function Kw(e){return Gw.get(e)}function qw(){return Ww}const Jw={"company:funding:leadmagic@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:funding:leadmagic@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"company:identity@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@1`}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@2`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@3`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:overview@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@1`}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"people:phone:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:phone:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"person:mobile:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:mobile:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"people:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_website_url:`https://pipe0.com`}]}],"person:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_domain:`pipe0.com`}]}],"company:techstack:builtwith@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:techstack:builtwith@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"prompt:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`prompt:run@1`,config:{model:`openai-gpt-latest`,prompt:{template:`
|
|
73
|
+
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}),headers:oa({sectionKey:`general`,groupPath:`config.general`,path:`config.headers`,label:`Headers`,info:"Type `@` to insert a field reference or `$` to insert a secret reference in either column (e.g. `Bearer $token`).",keyLabel:`Header`,valueLabel:`Value`,keyPlaceholder:`Authorization`,valuePlaceholder:`Bearer {{ secret โฆ }}`,maxItems:50}),expected_response_schema:va({sectionKey:`general`,groupPath:`config.advanced`,path:`config.expected_response_schema`,label:`Expected response shape`,description:`Optional JSON Schema. Successful responses that don't satisfy it are marked failed. Extra properties are always tolerated (whitelist).`,required:!1,allowEmpty:!0}),output_fields:R(r.object({[yg.name]:k({fieldName:yg.name}),[bg.name]:k({fieldName:bg.name}),[xg.name]:k({fieldName:xg.name})}))})}),Cg={"http-request-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.001},mode:`always`}},wg=class extends U{pipeId=vg;payload;payloadSchema=Sg;billableOperations=Cg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`http-request-v1-pipe0`]}getTemplatedFields(){let e=[this.payload.config.url,this.payload.config.body];for(let t of this.payload.config.query_params??[])e.push(t.key,t.value);for(let t of this.payload.config.headers??[])e.push(t.key,t.value);return e}getInputRequirement(){return oh(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return sh(this.getTemplatedFields())}getRawOutputFields(){return{[yg.name]:this.catalogOutput(yg),[bg.name]:this.catalogOutput(bg),[xg.name]:this.catalogOutput(xg)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Tg=Sg,Eg={pipeId:vg,basePipe:W(vg),label:`HTTP request`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Make a generic GET/POST/PUT/PATCH/DELETE HTTP request and capture the JSON response. Optionally validate the response against a JSON schema.`,tags:[B.LOGIC,B.JSON,B.NEW],docPath:G(vg),billableOperations:Cg,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:vg,run_if:null,connector:null,config:{method:`GET`,url:``,query_params:[],body:``,headers:[],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}},Dg=`json:extract:multi@1`,Og=r.object({pipe_id:r.literal(Dg),run_if:S(),connector:T(),config:r.object({json_extraction:Ci()})}),kg={"json-extract-multi-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Ag=class extends U{pipeId=Dg;payload;payloadSchema=Og;billableOperations=kg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`json-extract-multi-v1-pipe0`]}getInputRequirement(){return V({description:``,name:this.payload.config.json_extraction.field_name,format:null,label:``,type:`json`,resolvedName:this.payload.config.json_extraction.field_name})}getRawOutputFields(){let e={};for(let t of this.payload.config.json_extraction.extractions)e[t.output_field.name||t.output_field.name]={description:`Extracted value from JSON input field ${this.payload.config.json_extraction.field_name}.`,enabled:!0,format:t.output_field.format||null,label:t.output_field.label||`Extract JSON`,name:t.output_field.name,resolvedName:t.output_field.name,jsonMeta:null,type:t.output_field.type,isCatalogFIeld:!1,isPrimaryOutput:!1};return e}getConnectionsRequirements(){return[]}},jg=Og,Mg={pipeId:Dg,basePipe:W(Dg),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:G(Dg),tags:[B.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:kg,defaultInputRequirement:null,defaultPayload:{pipe_id:Dg,run_if:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},Ng=`message:send:slack@1`,Pg=_(`slack_message_success`),Fg=[{label:`#demo-general`,value:`C0SANDBOX001`},{label:`#demo-alerts`,value:`C0SANDBOX002`}],Ig=r.object({pipe_id:r.literal(Ng),connector:$i(),run_if:S(),config:r.object({channel_id:C({sectionKey:`general`,groupPath:`config.general`,path:`config.channel_id`,label:`Channel ID`,info:"Your connection must be authorized to post to this channel. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`C0123456789`,inputType:`text`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:{requires:{connection:`slack`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return Fg;if(!t)throw new nc.MissingSecretError({providerName:`slack`});let r=await fetch(`https://slack.com/api/conversations.list?limit=200&exclude_archived=true&types=public_channel,private_channel`,{headers:{Authorization:`Bearer ${t}`}});if(!r.ok){let e=await r.text();throw new nc.HttpError({msg:e})}let i=await r.json();if(!i.ok)throw new nc.HttpError({msg:i.error??`slack_error`});let a=(i.channels??[]).map(e=>({label:`#${e.name}`,value:e.id}));return e?a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):a},widgets:{provider_logo:{provider:`slack`}}}}),message:C({sectionKey:`general`,groupPath:`config.general`,path:`config.message`,label:`Message`,info:"The message body. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ name }}, โฆ`,inputType:`text`,minLength:1,maxLength:4e4,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[Pg.name]:k({fieldName:Pg.name})}))})}),Lg={"message-send-slack-v1-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},Rg=class extends U{pipeId=Ng;payload;payloadSchema=Ig;billableOperations=Lg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(){return[`message-send-slack-v1-slack`]}getTemplatedFields(){return[this.payload.config.channel_id,this.payload.config.message]}getInputRequirement(){return oh(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getConstantRequirements(){return sh(this.getTemplatedFields())}getRawOutputFields(){return{[Pg.name]:this.catalogOutput(Pg)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},zg=Ig,Bg={pipeId:Ng,basePipe:W(Ng),label:`Send message into channel`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel.`,detailed_description:"Send a Slack message. The channel ID and message body are templated config fields โ reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Slack vault connection (call list_connections to find one).",tags:[B.CHAT],docPath:G(Ng),billableOperations:Lg,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:Ng,connector:{strategy:`first`,connections:[]},run_if:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},Vg=`message:write@1`,Hg=_(`message`),Ug=`message-write-v1`,Wg=li(Ug),Gg=r.object({pipe_id:r.literal(Vg),connector:w(),run_if:S(),config:r.object({template:Zi({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:ma({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Wg}),output_fields:R(r.object({[Hg.name]:k({fieldName:Hg.name})}))})}),Kg=class extends U{pipeId=Vg;payload;payloadSchema=Gg;billableOperations=Wg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return di(this.payload.config.model)}estimateBillableOperations(){return[ui(this.payload.config.model,Ug)]}getInputRequirement(){return oh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return sh([this.payload.config.template])}getRawOutputFields(){return{[Hg.name]:this.catalogOutput(Hg)}}getConnectionsRequirements(){return fi(this.payload.config.model)}},qg=Gg,Jg={pipeId:Vg,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:W(Vg),label:`Message writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing messages for modern workplace communication platforms (Slack, Teams, Discord, etc.)`,detailed_description:`AI message composer for Slack/Teams/Discord. Outputs: message. Pair with message:send:slack@1 to send.`,tags:[B.AI],docPath:G(Vg),defaultInputRequirement:null,billableOperations:Wg,allowedUserConnectionProviders:pi(),managedProviders:pi(),deprecatedProviders:[],defaultPayload:{pipe_id:Vg,connector:null,run_if:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Yg=`person:devprofileurl:profileurl:waterfall@1`,Xg=_(`profile_url`),Zg=_(`developer_profile_url`),Qg=_(`alternative_developer_profile_urls`),$g=[`crustdata`],e_=[{provider:`crustdata`}],t_=r.object({pipe_id:r.literal(Yg),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:e_,availableProviders:$g}),input_fields:z(r.object({[Xg.name]:E({fieldName:Xg.name})})),output_fields:R(r.object({[Zg.name]:k({fieldName:Zg.name}),[Qg.name]:k({fieldName:Qg.name})}))}).optional()}),n_=e=>V(K(Xg,e)),r_={"person-devprofileurl-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1.3,weight:1}},mode:`onSuccess`}},i_=class extends U{pipeId=Yg;payload;payloadSchema=t_;billableOperations=r_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return n_(this.payload.config)}getRawOutputFields(){return{[Zg.name]:this.catalogOutput(Zg,{isPrimaryOutput:!0}),[Qg.name]:this.catalogOutput(Qg,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},a_=t_,o_={pipeId:Yg,basePipe:W(Yg),label:`GitHub profile from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a developer profile URL (e.g. GitHub) for any prospect using multiple data providers in a waterfall motion.`,docPath:G(Yg),tags:[B.LINKEDIN,B.WATERFALL,B.NEW],billableOperations:r_,defaultInputRequirement:n_(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:$g,allowedUserConnectionProviders:$g,deprecatedProviders:[],defaultPayload:{pipe_id:Yg,connector:null,run_if:null,config:{providers:e_,input_fields:{profile_url:{alias:``}},output_fields:{developer_profile_url:{alias:``,enabled:!0},alternative_developer_profile_urls:{alias:``,enabled:!1}}}}},s_=`person:email:validate:millionverifier@1`,c_=_(`email`),l_=_(`email_validation_status`),u_=_(`million_validation_match`),d_=r.object({pipe_id:r.literal(s_),connector:w(),run_if:S(),config:r.object({input_fields:z(r.object({[c_.name]:E({fieldName:c_.name})})),output_fields:R(r.object({[l_.name]:k({fieldName:l_.name}),[u_.name]:k({fieldName:u_.name})}))}).optional()}),f_=e=>V(K(c_,e)),p_={"person-email-validate-millionverifier-v1-millionverifier":{provider:`millionverifier`,allowManagedConnection:!0,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`always`}},m_=class extends U{pipeId=s_;payload;payloadSchema=d_;billableOperations=p_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`person-email-validate-millionverifier-v1-millionverifier`]}getInputRequirement(){return f_(this.payload.config)}getRawOutputFields(){return{[l_.name]:this.catalogOutput(l_),[u_.name]:this.catalogOutput(u_)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},h_=d_,g_={pipeId:s_,basePipe:W(s_),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[B.EMAIL],docPath:G(s_),billableOperations:p_,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:f_(null),defaultPayload:{pipe_id:s_,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},__=_(`email`),v_=_(`amplemarket_person_match`),y_=`person:identity:amplemarket@1`,b_=r.object({pipe_id:r.literal(y_),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[__.name]:E({fieldName:__.name})})),output_fields:R(r.object({[v_.name]:k({fieldName:v_.name})}))}).optional()}),x_=e=>V(K(__,e)),S_={"person-identity-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},C_=class extends U{pipeId=y_;payload;payloadSchema=b_;billableOperations=S_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return x_(this.payload.config)}getRawOutputFields(){return{[v_.name]:this.catalogOutput(v_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},w_=b_,T_={pipeId:y_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(y_),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[B.PEOPLE_PROFILES],docPath:G(y_),billableOperations:S_,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:x_(null),defaultPayload:{pipe_id:y_,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},E_=`person:identity:email:waterfall@1`,D_=_(`email`),O_=_(`company_domain`),k_=_(`name`),A_=_(`job_title`),j_=_(`profile_url`),M_=_(`company_profile_url`),N_=_(`company_name`),P_=[`findymail`,`hunter`,`crustdata`],F_=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],I_=r.object({pipe_id:r.literal(E_),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:P_,defaultProviders:F_,sectionKey:`general`}),input_fields:z(r.object({[D_.name]:E({fieldName:D_.name})})),output_fields:R(r.object({[k_.name]:k({fieldName:k_.name}),[j_.name]:k({fieldName:j_.name}),[A_.name]:k({fieldName:A_.name}),[O_.name]:k({fieldName:O_.name}),[N_.name]:k({fieldName:N_.name}),[M_.name]:k({fieldName:M_.name})}))}).optional()}),L_=e=>V(K(D_,e)),R_={"person-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},z_=class extends U{pipeId=E_;payload;payloadSchema=I_;billableOperations=R_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return L_(this.payload.config)}getRawOutputFields(){return{[k_.name]:this.catalogOutput(k_,{isPrimaryOutput:!0}),[j_.name]:this.catalogOutput(j_,{isPrimaryOutput:!0}),[A_.name]:this.catalogOutput(A_,{isPrimaryOutput:!0}),[N_.name]:this.catalogOutput(N_,{isPrimaryOutput:!0}),[M_.name]:this.catalogOutput(M_,{isPrimaryOutput:!0}),[O_.name]:this.catalogOutput(O_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},B_=I_,V_={pipeId:E_,basePipe:W(E_),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(E_),managedProviders:P_,deprecatedProviders:[],allowedUserConnectionProviders:P_,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:R_,defaultInputRequirement:L_(null),defaultPayload:{pipe_id:E_,connector:null,run_if:null,config:{providers:F_,input_fields:{email:{alias:``}},output_fields:{name:{alias:``,enabled:!0},profile_url:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},H_=_(`profile_url`),U_=_(`amplemarket_person_match`),W_=`person:match:amplemarket@1`,G_=r.object({pipe_id:r.literal(W_),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[H_.name]:E({fieldName:H_.name})})),output_fields:R(r.object({[U_.name]:k({fieldName:U_.name})}))}).optional()}),K_=e=>V(K(H_,e)),q_={"person-match-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},J_=class extends U{pipeId=W_;payload;payloadSchema=G_;billableOperations=q_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return K_(this.payload.config)}getRawOutputFields(){return{[U_.name]:this.catalogOutput(U_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Y_=G_,X_={pipeId:W_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(W_),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[B.PEOPLE_PROFILES],docPath:G(W_),billableOperations:q_,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:K_(null),defaultPayload:{pipe_id:W_,connector:null,run_if:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},Z_=`person:match:role:waterfall@1`,Q_=_(`company_domain`),$_=_(`role_finder_match`),ev=[`leadmagic`],tv=[{provider:`leadmagic`}],nv=r.object({pipe_id:r.literal(Z_),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:tv,availableProviders:ev}),roles:aa({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1,suggestionsDef:g(`titles`),expectedTagType:`string`}),input_fields:z(r.object({[Q_.name]:E({fieldName:Q_.name})})),output_fields:R(r.object({[$_.name]:k({fieldName:$_.name})}))})}),rv=e=>H(K(Q_,e)),iv={"person-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},av=class extends U{pipeId=Z_;payload;payloadSchema=nv;billableOperations=iv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return rv(this.payload.config)}getSecretRequirements(){return Y(this.payload.config?.roles??[])}getConstantRequirements(){return sh(this.payload.config?.roles??[])}getRawOutputFields(){return{[$_.name]:this.catalogOutput($_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},ov=nv,sv={pipeId:Z_,basePipe:W(Z_),managedProviders:ev,deprecatedProviders:[],allowedUserConnectionProviders:ev,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[B.PEOPLE_PROFILES],docPath:G(Z_),billableOperations:iv,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:rv(null),defaultPayload:{pipe_id:Z_,run_if:null,connector:null,config:{roles:[],providers:tv,input_fields:{company_domain:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},cv=`person:mobile:profileurl:waterfall@1`,lv=_(`profile_url`),uv=_(`mobile`),dv=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`],fv=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],pv=r.object({pipe_id:r.literal(cv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:fv,availableProviders:dv}),input_fields:z(r.object({[lv.name]:E({fieldName:lv.name})})),output_fields:R(r.object({[uv.name]:k({fieldName:uv.name})}))}).optional()}),mv=e=>V(K(lv,e)),hv={"person-mobile-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5,level1:{credits:3,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6,level1:{credits:4,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4,level1:{credits:3,weight:1}},mode:`onSuccess`}},gv=class extends U{pipeId=cv;payload;payloadSchema=pv;billableOperations=hv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return mv(this.payload.config)}getRawOutputFields(){return{[uv.name]:this.catalogOutput(uv,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},_v=pv,vv={pipeId:cv,basePipe:W(cv),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:G(cv),tags:[B.PHONE,B.WATERFALL],billableOperations:hv,defaultInputRequirement:mv(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:dv,allowedUserConnectionProviders:dv,deprecatedProviders:[],defaultPayload:{pipe_id:cv,connector:null,run_if:null,config:{providers:fv,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},yv=`person:mobile:workemail:waterfall@1`,bv=_(`work_email`),xv=_(`mobile`),Sv=[`leadmagic`,`amplemarket`],Cv=[{provider:`leadmagic`},{provider:`amplemarket`}],wv=r.object({pipe_id:r.literal(yv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Sv,defaultProviders:Cv}),input_fields:z(r.object({[bv.name]:E({fieldName:bv.name})})),output_fields:R(r.object({[xv.name]:k({fieldName:xv.name})}))}).optional()}),Tv=e=>V(K(bv,e)),Ev={"person-mobile-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:5,level1:{credits:4,weight:1}},mode:`onSuccess`}},Dv=class extends U{pipeId=yv;payload;payloadSchema=wv;billableOperations=Ev;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Tv(this.payload.config)}getRawOutputFields(){return{[xv.name]:this.catalogOutput(xv,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ov=wv,kv={pipeId:yv,basePipe:W(yv),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[B.PHONE,B.WATERFALL],docPath:G(yv),billableOperations:Ev,defaultInputRequirement:Tv(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Sv,managedProviders:Sv,deprecatedProviders:[],defaultPayload:{pipe_id:yv,connector:null,run_if:null,config:{providers:Cv,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Av=`person:name:join@1`,jv=_(`first_name`),Mv=_(`last_name`),Nv=_(`name`),Pv=r.object({pipe_id:r.literal(Av),run_if:S(),connector:T(),config:r.object({input_fields:z(r.object({[jv.name]:E({fieldName:jv.name}),[Mv.name]:E({fieldName:Mv.name})})),output_fields:R(r.object({[Nv.name]:k({fieldName:Nv.name})}))}).optional()}),Fv=e=>Pa(K(jv,e),K(Mv,e)),Iv={"person-name-join-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Lv=class extends U{pipeId=Av;payload;payloadSchema=Pv;billableOperations=Iv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-name-join-v1-pipe0`]}getInputRequirement(){return Fv(this.payload.config)}getRawOutputFields(){return{[Nv.name]:this.catalogOutput(Nv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Rv=Pv,zv={pipeId:Av,basePipe:W(Av),label:`Join name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Combine the first and last names of a prospect into a full name field.`,tags:[B.NAMES],docPath:G(Av),billableOperations:Iv,defaultInputRequirement:Fv(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Av,run_if:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},Bv=`person:name:split@1`,Vv=_(`name`),Hv=_(`first_name`),Uv=_(`last_name`),Wv=r.object({pipe_id:r.literal(Bv),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[Vv.name]:E({fieldName:Vv.name})})),output_fields:R(r.object({[Hv.name]:k({fieldName:Hv.name}),[Uv.name]:k({fieldName:Uv.name})}))}).optional()}),Gv=e=>V(K(Vv,e)),Kv={"person-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},qv=class extends U{pipeId=Bv;payload;payloadSchema=Wv;billableOperations=Kv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-name-split-v1-pipe0`]}getInputRequirement(){return Gv(this.payload.config)}getRawOutputFields(){return{[Hv.name]:this.catalogOutput(Hv),[Uv.name]:this.catalogOutput(Uv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Jv=Wv,Yv={pipeId:Bv,basePipe:W(Bv),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[B.NAMES],docPath:G(Bv),billableOperations:Kv,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Gv(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Bv,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},Xv=`person:personalemail:profileurl:waterfall@1`,Zv=_(`profile_url`),Qv=_(`personal_email`),$v=_(`alternate_personal_emails`),ey=[`leadmagic`,`mixrank`],ty=[{provider:`leadmagic`},{provider:`mixrank`}],ny=r.object({pipe_id:r.literal(Xv),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:ey,defaultProviders:ty}),input_fields:z(r.object({[Zv.name]:E({fieldName:Zv.name})})),output_fields:R(r.object({[Qv.name]:k({fieldName:Qv.name}),[$v.name]:k({fieldName:$v.name})}))}).optional()}),ry=e=>V(K(Zv,e)),iy={"person-personalemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-personalemail-profileurl-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},ay=class extends U{pipeId=Xv;payload;payloadSchema=ny;billableOperations=iy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return ry(this.payload.config)}getRawOutputFields(){return{[Qv.name]:this.catalogOutput(Qv,{isPrimaryOutput:!0}),[$v.name]:this.catalogOutput($v)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},oy=ny,sy={pipeId:Xv,basePipe:W(Xv),allowedUserConnectionProviders:ey,managedProviders:ey,deprecatedProviders:[],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[B.EMAIL,B.PERSONAL_EMAIL],docPath:G(Xv),billableOperations:iy,defaultInputRequirement:ry(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Xv,connector:null,run_if:null,config:{providers:ty,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!1}}}}},cy=_(`profile_url`),ly=_(`post_list_string`),uy=_(`crustdata_post_list`),dy=`person:posts:crustdata@1`,fy=r.object({pipe_id:r.literal(dy),run_if:S(),connector:w(),config:r.object({limit:ga({path:`config.limit`,groupPath:`config.general`,max:100,min:1,required:!0,sectionKey:`general`,info:``,label:`Limit`,legend:`Max. 100`}),input_fields:z(r.object({[cy.name]:E({fieldName:cy.name})})),output_fields:R(r.object({[ly.name]:k({fieldName:ly.name}),[uy.name]:k({fieldName:uy.name})}))}).optional()}),py=e=>V(K(cy,e)),my={"person-posts-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},hy=class extends U{pipeId=dy;payload;payloadSchema=fy;billableOperations=my;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`person-posts-crustdata-v1-crustdata`]}getInputRequirement(){return py(this.payload.config)}getRawOutputFields(){return{[ly.name]:this.catalogOutput(ly),[uy.name]:this.catalogOutput(uy)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},gy=fy,_y={pipeId:dy,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(dy),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[B.LINKEDIN],docPath:G(dy),billableOperations:my,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:py(null),defaultPayload:{pipe_id:dy,connector:null,run_if:null,config:{limit:5,input_fields:{profile_url:{alias:``}},output_fields:{crustdata_post_list:{alias:``,enabled:!0},post_list_string:{alias:``,enabled:!0}}}}},vy=`person:profile:waterfall@1`,yy=_(`profile`),by=_(`profile_url`),xy=[`prospeo`,`icypeas`,`amplemarket`],Sy=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Cy=r.object({pipe_id:r.literal(vy),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:xy,defaultProviders:Sy}),input_fields:z(r.object({[by.name]:E({fieldName:by.name})})),output_fields:R(r.object({[yy.name]:k({fieldName:yy.name})}))}).optional()}),wy=e=>V(K(by,e)),Ty={"person-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0}},Ey=class extends U{pipeId=vy;payload;payloadSchema=Cy;billableOperations=Ty;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return wy(this.payload.config)}getRawOutputFields(){return{[yy.name]:this.catalogOutput(yy,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Dy=Cy,Oy={pipeId:vy,basePipe:W(vy),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:G(vy),tags:[B.LINKEDIN,B.WATERFALL],managedProviders:xy,deprecatedProviders:[],allowedUserConnectionProviders:xy,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Ty,defaultInputRequirement:wy(null),defaultPayload:{pipe_id:vy,run_if:null,connector:null,config:{providers:Sy,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},ky=_(`work_email`),Ay=_(`crustdata_person_match`),jy=_(`crustdata_profile_match_score`),My=`person:profile:workemail:crustdata@1`,Ny=r.object({pipe_id:r.literal(My),run_if:S(),connector:w(),config:r.object({input_fields:z(r.object({[ky.name]:E({fieldName:ky.name})})),output_fields:R(r.object({[Ay.name]:k({fieldName:Ay.name}),[jy.name]:k({fieldName:jy.name})}))}).optional()}),Py=e=>V(K(ky,e)),Fy={"person-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},Iy=class extends U{pipeId=My;payload;payloadSchema=Ny;billableOperations=Fy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`person-profile-workemail-crustdata-v1-crustdata`]}getInputRequirement(){return Py(this.payload.config)}getRawOutputFields(){return{[Ay.name]:this.catalogOutput(Ay),[jy.name]:this.catalogOutput(jy)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Ly=Ny,Ry={pipeId:My,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:W(My),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[B.EMAIL,B.PEOPLE_PROFILES],docPath:G(My),billableOperations:Fy,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Py(null),defaultPayload:{pipe_id:My,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},zy=`person:profileurl:email:waterfall@1`,By=_(`email`),Vy=_(`work_email`),Hy=_(`profile_url`),Uy=[`leadmagic`],Wy=[{provider:`leadmagic`}],Gy=r.object({pipe_id:r.literal(zy),run_if:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Wy,availableProviders:Uy}),input_fields:z(r.object({[By.name]:E({fieldName:By.name}),[Vy.name]:E({fieldName:Vy.name})})),output_fields:R(r.object({[Hy.name]:k({fieldName:Hy.name})}))}).optional()}),Ky=e=>H(K(By,e),K(Vy,e)),qy={"person-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},Jy=class extends U{pipeId=zy;payload;payloadSchema=Gy;billableOperations=qy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Ky(this.payload.config)}getRawOutputFields(){return{[Hy.name]:this.catalogOutput(Hy,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Yy=Gy,Xy={pipeId:zy,basePipe:W(zy),managedProviders:Uy,deprecatedProviders:[],allowedUserConnectionProviders:Uy,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[B.LINKEDIN],docPath:G(zy),billableOperations:qy,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Ky(null),defaultPayload:{pipe_id:zy,run_if:null,connector:null,config:{providers:Wy,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},Zy=`person:profileurl:name@1`,Qy=_(`name`),$y=_(`company_name`),eb=_(`location_hint`),tb=_(`profile_url`),nb=r.object({pipe_id:r.literal(Zy),connector:T(),run_if:S(),config:r.object({input_fields:z(r.object({[Qy.name]:E({fieldName:Qy.name}),[$y.name]:E({fieldName:$y.name}),[eb.name]:E({fieldName:eb.name})})),output_fields:R(r.object({[tb.name]:k({fieldName:tb.name})}))}).optional()}),rb=e=>Pa(V(K(Qy,e)),V(K($y,e)),Fa(K(eb,e))),ib={"person-profileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},ab=class extends U{pipeId=Zy;payload;payloadSchema=nb;billableOperations=ib;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`person-profileurl-name-v1-pipe0`]}getInputRequirement(){return rb(this.payload.config)}getRawOutputFields(){return{[tb.name]:this.catalogOutput(tb)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},ob=nb,sb={pipeId:Zy,basePipe:W(Zy),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:G(Zy),tags:[B.LINKEDIN],billableOperations:ib,defaultInputRequirement:rb(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Zy,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},cb=`person:workemail:profileurl:waterfall@1`,lb=_(`profile_url`),ub=_(`work_email`),db=_(`email_validation_status`),fb=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`],pb=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],mb=r.object({pipe_id:r.literal(cb),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:fb,defaultProviders:pb,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[lb.name]:E({fieldName:lb.name})})),output_fields:R(r.object({[ub.name]:k({fieldName:ub.name}),[db.name]:k({fieldName:db.name})}))}).optional()}),hb=e=>V(K(lb,e)),gb={"person-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2,level1:{credits:.7,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.5,weight:1}},mode:`onSuccess`}},_b=class extends U{pipeId=cb;payload;payloadSchema=mb;billableOperations=gb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return hb(this.payload.config)}getRawOutputFields(){return{[ub.name]:this.catalogOutput(ub,{isPrimaryOutput:!0}),[db.name]:this.catalogOutput(db,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},vb=mb,yb={pipeId:cb,basePipe:W(cb),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(cb),managedProviders:fb,allowedUserConnectionProviders:fb,deprecatedProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:gb,defaultInputRequirement:hb(null),defaultPayload:{pipe_id:cb,connector:null,run_if:null,config:{providers:pb,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{profile_url:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},bb=`person:workemail:waterfall@1`,xb=_(`name`),Sb=_(`company_domain`),Cb=_(`company_name`),wb=_(`work_email`),Tb=_(`email_validation_status`),Eb=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Db=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Ob={"person-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1.5,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1.3,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`}},kb=r.object({pipe_id:r.literal(bb),connector:w(),run_if:S(),config:r.object({providers:D({availableProviders:Eb,defaultProviders:Db,sectionKey:`general`,providerCredits:Ga(Ob,Eb)}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[xb.name]:E({fieldName:xb.name}),[Sb.name]:E({fieldName:Sb.name}),[Cb.name]:E({fieldName:Cb.name})})),output_fields:R(r.object({[wb.name]:k({fieldName:wb.name}),[Tb.name]:k({fieldName:Tb.name})}))}).optional()}),Ab=e=>Pa(V(K(xb,e)),H(K(Sb,e),K(Cb,e))),jb=class extends U{pipeId=bb;payload;payloadSchema=kb;billableOperations=Ob;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>J(e,this.billableOperations).billableOperation)}getInputRequirement(){return Ab(this.payload.config)}getRawOutputFields(){return{[wb.name]:this.catalogOutput(wb,{isPrimaryOutput:!0}),[Tb.name]:this.catalogOutput(Tb,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:q(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Mb=kb,Nb={pipeId:bb,basePipe:W(bb),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[B.EMAIL,B.WORK_EMAIL,B.WATERFALL],docPath:G(bb),managedProviders:Eb,deprecatedProviders:[],allowedUserConnectionProviders:Eb,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Ob,defaultInputRequirement:Ab(null),defaultPayload:{pipe_id:bb,connector:null,run_if:null,config:{providers:Db,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{company_name:{alias:``},company_domain:{alias:``},name:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},Pb=`prompt:run@1`,Fb=`prompt-run-v1`,Ib=li(Fb),Lb=r.object({pipe_id:r.literal(Pb),connector:w(),run_if:S(),config:r.object({prompt:Xi({sectionKey:`general`,path:`config.prompt`,placeholder:X(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:ma({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Ib})})}),Rb=class extends U{pipeId=Pb;payload;payloadSchema=Lb;billableOperations=Ib;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return di(this.payload.config.model)}estimateBillableOperations(){return[ui(this.payload.config.model,Fb)]}getInputRequirement(){return oh([this.payload.config.prompt.template])}getSecretRequirements(){return Y([this.payload.config.prompt.template])}getConstantRequirements(){return sh([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=zr(e)}catch{return n}for(let e of r.outputs){let r=e.type;if(r===`json`){let i=e.schemaRef?t[e.schemaRef]:void 0;n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:{zodSchema:i,exampleValue:null},format:null,isCatalogFIeld:!1,isPrimaryOutput:!1}}else n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:null,format:e.format??null,isCatalogFIeld:!1,isPrimaryOutput:!1}}return n}getConnectionsRequirements(){return fi(this.payload.config.model)}},zb=Lb,Bb={pipeId:Pb,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:W(Pb),label:`AI prompt`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Executes configurable AI prompts with structured output fields.`,detailed_description:`General-purpose AI prompt runner. Inputs and outputs are fully dynamic โ defined by the tags in the prompt template.`,tags:[B.AI],docPath:G(Pb),defaultInputRequirement:null,billableOperations:Ib,allowedUserConnectionProviders:pi(),managedProviders:pi(),deprecatedProviders:[],defaultPayload:{pipe_id:Pb,connector:null,run_if:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},Vb=`sheet:row:append@1`,Hb=_(`sheet_record_id`),Ub=_(`created_sheet`),Wb=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],Gb=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],Kb={requires:{connection:`pipe0`},enabledIf:_n(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Wb:t?(await t.sheets.list({query:e})).map(e=>({label:e.name&&e.name!==e.slug?`${e.name} (${e.slug})`:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},qb={requires:{connection:`pipe0`},enabledIf:_n(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Gb:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},Jb=r.object({pipe_id:r.literal(Vb),connector:$i(),run_if:S(),config:r.object({sheet:C({label:`Destination sheet`,info:"Sheet identifier. Either a literal slug, or type `@` to insert a field reference / `$` to insert a secret reference.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:Kb}),run:O({defaultValue:!0,groupPath:`config.advanced`,path:`config.run`,sectionKey:`general`,description:`Auto-run sheet row after append action.`,label:`Run after append`}),allow_field_creation:O({label:`Create unknown fields`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_field_creation`,sectionKey:`general`,description:`Add unknown fields as new sheet columns.`}),allow_sheet_creation:O({label:`Create missing sheets`,description:`Create new sheet if none exists with the provided name`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_sheet_creation`,sectionKey:`general`}),new_sheet_team_id:ya({label:`Team`,info:`Optional hint for the team where the sheet should be created. Only used when a new sheet is created.`,placeholder:`Select a teamโฆ`,required:!1,groupPath:`config.advanced`,path:`config.new_sheet_team_id`,sectionKey:`general`,optionsDef:qb,enabledIf:e=>e.config?.allow_sheet_creation?{disabled:!1}:{disabled:!0,message:`Turn on โUpsert sheetsโ to specify a team.`}}),included_fields:ta({label:`Fields`,info:`All fields are written if empty.`,groupPath:`config.general`,path:`config.included_fields`,sectionKey:`general`,disableSearch:!0}),output_fields:R(r.object({[Hb.name]:k({fieldName:Hb.name}),[Ub.name]:k({fieldName:Ub.name})}))})}),Yb={"sheet-row-append-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},Xb=class extends U{pipeId=Vb;payload;payloadSchema=Jb;billableOperations=Yb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheet-row-append-v1-pipe0`]}getInputRequirement(){let e=[oh([this.payload.config.sheet],{expectedType:`string`,expectedFormat:`text`})];if(this.payload.config.included_fields?.length)for(let t of this.payload.config.included_fields)e.push(V({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=ah(e,t.field_name);if(!n)throw Error(`Unable to find field with name ${t.field_name}. But needed by prompt parser.`);return n.type||`unknown`},format:null}));return Pa(...e)}getSecretRequirements(){return Y([this.payload.config.sheet])}getConstantRequirements(){return sh([this.payload.config.sheet])}getRawOutputFields(){return{[Hb.name]:this.catalogOutput(Hb),[Ub.name]:this.catalogOutput(Ub)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},Zb=Jb,Qb={pipeId:Vb,basePipe:W(Vb),label:`Append row to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Add rows to a pipe0 sheet. The sheet identifier may be a literal slug or a `{{ field_name }}` tag.",docPath:G(Vb),tags:[B.FIELDS],billableOperations:Yb,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Vb,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[],output_fields:{sheet_record_id:{alias:``,enabled:!0},created_sheet:{alias:``,enabled:!0}}}}},$b=`sheet:row:expandappend@1`,ex=_(`sheet_record_ids`),tx=_(`input_objects`),nx=r.object({pipe_id:r.literal($b),connector:$i(),run_if:S(),config:r.object({sheet:da({label:`Sheet name`,info:`Unique identifier for the sheet`,groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3}),run:O({defaultValue:!0,groupPath:`config.general`,path:`config.run`,sectionKey:`general`,info:`Enrich record after write. Ignored if target sheet writes to other sheets.`,label:`Run`}),allow_field_creation:O({defaultValue:!0,groupPath:`config.general`,path:`config.allow_field_creation`,sectionKey:`general`,info:`Add unknown object fields to the sheet definition.`,label:`Allow field creation`}),input_fields:z(r.object({[tx.name]:E({fieldName:tx.name})})),output_fields:R(r.object({[ex.name]:k({fieldName:ex.name})}))})}),rx={"sheet-row-expandappend-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},ix=e=>V(K(tx,e)),ax=class extends U{pipeId=$b;payload;payloadSchema=nx;billableOperations=rx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheet-row-expandappend-v1-pipe0`]}getInputRequirement(){return ix(this.payload.config)}getRawOutputFields(){return{[ex.name]:this.catalogOutput(ex)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},ox=nx,sx={pipeId:$b,basePipe:W($b),label:`Object list to sheet rows`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Expand a list of nested objects into sheet rows.`,docPath:G($b),tags:[B.FIELDS],billableOperations:rx,defaultInputRequirement:ix(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:$b,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},cx=`template:fill@1`,lx=_(`template_output`),ux=r.object({pipe_id:r.literal(cx),connector:w(),run_if:S(),config:r.object({template:Zi({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:X(`template`),groupPath:`config.general`,required:!0}),output_fields:R(r.object({[lx.name]:k({fieldName:lx.name})}))})}),dx={"template-fill-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},fx=class extends U{pipeId=cx;payload;payloadSchema=ux;billableOperations=dx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill-v1-pipe0`]}getInputRequirement(){return oh([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getConstantRequirements(){return sh([this.payload.config.template])}getRawOutputFields(){return{[lx.name]:this.catalogOutput(lx)}}getConnectionsRequirements(){return[]}},px=ux,mx={pipeId:cx,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:W(cx),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ name }} with actual values.`,tags:[B.TEXT],docPath:G(cx),defaultInputRequirement:null,billableOperations:dx,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:cx,connector:null,run_if:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},hx=`website:extract:firecrawl@1`,gx=_(`website_url`),_x=_(`firecrawl_extract_result`),vx=r.object({pipe_id:r.literal(hx),connector:w(),run_if:S(),config:r.object({json_schema:va({sectionKey:`general`,groupPath:`config.extraction`,path:`config.json_schema`,label:`Output JSON schema`,info:`Specify the data you want to extract as a JSON schema.`,allowEmpty:!1,required:!0}),extraction_prompt:fa({sectionKey:`general`,groupPath:`config.extraction`,path:`config.extraction_prompt`,label:`Extraction Prompt`,info:`Prompt the scraper on what it should extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. Extract the company missing and latest news.`}),enable_full_domain_crawl:O({sectionKey:`general`,groupPath:`config.extraction`,defaultValue:!1,path:`config.enable_full_domain_crawl`,info:`If this option is enabled all URLs from this domain will be scraped.`,label:`Crawl full domain`}),enable_web_search:O({sectionKey:`general`,groupPath:`config.extraction`,label:`Enable web search`,path:`enable_web_search`,defaultValue:!1,info:`When 'true', the extraction will follow links outside the specified domain.`}),input_fields:z(r.object({[gx.name]:E({fieldName:gx.name})})),output_fields:R(r.object({[_x.name]:k({fieldName:_x.name})}))})}),yx=e=>V(K(gx,e)),bx={"website-extract-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`}},xx=class extends U{pipeId=hx;payload;payloadSchema=vx;billableOperations=bx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-extract-firecrawl-v1-firecrawl`]}getInputRequirement(){return yx(this.payload.config)}getRawOutputFields(){return{[_x.name]:this.catalogOutput(_x)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Sx=vx,Cx={pipeId:hx,basePipe:W(hx),label:`Extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Perform advanced AI scraping to extract data from any website. Search all subdomains and combine scraped data with search results.`,tags:[B.SCRAPE],docPath:G(hx),billableOperations:bx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:yx(null),defaultPayload:{pipe_id:hx,run_if:null,connector:null,config:{json_schema:{type:`object`},enable_full_domain_crawl:!1,enable_web_search:!1,extraction_prompt:``,input_fields:{website_url:{alias:``}},output_fields:{firecrawl_extract_result:{alias:``,enabled:!0}}}}},wx=`website:extract:parallel@1`,Tx=_(`website_url`),Ex=_(`parallel_extract_result`),Dx=r.object({pipe_id:r.literal(wx),connector:w(),run_if:S(),config:r.object({objective:fa({sectionKey:`general`,groupPath:`config.extraction`,path:`config.objective`,label:`Objective`,info:`Natural-language description of what to extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. When was the company founded and what does it do?`}),input_fields:z(r.object({[Tx.name]:E({fieldName:Tx.name})})),output_fields:R(r.object({[Ex.name]:k({fieldName:Ex.name})}))})}),Ox=e=>V(K(Tx,e)),kx={"website-extract-parallel-v1-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.1},mode:`onSuccess`}},Ax=class extends U{pipeId=wx;payload;payloadSchema=Dx;billableOperations=kx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`parallel`]}estimateBillableOperations(){return[`website-extract-parallel-v1-parallel`]}getInputRequirement(){return Ox(this.payload.config)}getRawOutputFields(){return{[Ex.name]:this.catalogOutput(Ex,{isPrimaryOutput:!0})}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:1,rateLimitOperation:`parallel_extract`,allowManagedConnection:!0}]}},jx=Dx,Mx={pipeId:wx,basePipe:W(wx),label:`Extract (Parallel)`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract relevant content from a website using Parallel's Extract API. Returns a flat list of results โ page title, publish date and the excerpts most relevant to your objective.`,tags:[B.SCRAPE],docPath:G(wx),billableOperations:kx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`parallel`],managedProviders:[`parallel`],deprecatedProviders:[],defaultInputRequirement:Ox(null),defaultPayload:{pipe_id:wx,run_if:null,connector:null,config:{objective:``,input_fields:{website_url:{alias:``}},output_fields:{parallel_extract_result:{alias:``,enabled:!0}}}}},Nx=`website:maplinks:firecrawl@1`,Px={"website-maplinks-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:1},mode:`onSuccess`}},Fx=_(`website_url`),Ix=_(`mapped_links`),Lx=r.object({pipe_id:r.literal(Nx),connector:w(),run_if:S(),config:r.object({page_limit:ga({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,required:!1,path:`config.page_limit`,sectionKey:`general`}),sitemap:pa({label:`Sitemap`,info:`Include sitemap links`,sectionKey:`general`,groupPath:`config.general`,path:`config.sitemap`,defaultValue:`include`,required:!1,options:[{value:`include`,label:`Include`},{value:`skip`,label:`Skip`},{value:`only`,label:`Only`}]}),search:da({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).default(``),input_fields:z(r.object({[Fx.name]:E({fieldName:Fx.name})})),output_fields:R(r.object({[Ix.name]:k({fieldName:Ix.name})}))}).optional()}),Rx=e=>V(K(Fx,e)),zx=class extends U{pipeId=Nx;payload;payloadSchema=Lx;billableOperations=Px;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-maplinks-firecrawl-v1-firecrawl`]}getInputRequirement(){return Rx(this.payload.config)}getRawOutputFields(){return{[Ix.name]:this.catalogOutput(Ix)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},Bx=Lx,Vx={pipeId:Nx,basePipe:W(Nx),label:`Map domain links`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Input a website and get all internal URLs on the website. Results do not include links to external pages.`,tags:[B.SCRAPE],docPath:G(Nx),billableOperations:Px,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Rx(null),defaultPayload:{pipe_id:Nx,run_if:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},Hx=`website:scrape:firecrawl@1`,Ux=_(`website_url`),Wx=_(`website_markdown`),Gx=_(`website_html`),Kx=_(`website_links`),qx=r.object({pipe_id:r.literal(Hx),connector:w(),run_if:S(),config:r.object({scrape_main_only:O({defaultValue:!1,label:`Scrape main content only?`,info:`If selected, content like headers, footers, and sidebars are excluded from the scrape results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),input_fields:z(r.object({[Ux.name]:E({fieldName:Ux.name})})),output_fields:R(r.object({[Wx.name]:k({fieldName:Wx.name}),[Gx.name]:k({fieldName:Gx.name}),[Kx.name]:k({fieldName:Kx.name})}))}).optional()}),Jx=e=>V(K(Ux,e)),Yx={"website-scrape-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`}},Xx=class extends U{pipeId=Hx;payload;payloadSchema=qx;billableOperations=Yx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`website-scrape-firecrawl-v1-firecrawl`]}getInputRequirement(){return Jx(this.payload.config)}getRawOutputFields(){return{[Wx.name]:this.catalogOutput(Wx),[Gx.name]:this.catalogOutput(Gx),[Kx.name]:this.catalogOutput(Kx)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Zx=qx,Qx={pipeId:Hx,basePipe:W(Hx),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[B.SCRAPE],docPath:G(Hx),billableOperations:Yx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Jx(null),defaultPayload:{pipe_id:Hx,run_if:null,connector:null,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}},output_fields:{website_markdown:{alias:``,enabled:!0},website_html:{alias:``,enabled:!1},website_links:{alias:``,enabled:!1}}}}},$x=`website:scrapelist:firecrawl@1`,eS={"website-scrapelist-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`,note:`You are charged per url that is scraped.`}},tS=_(`urls`),nS=_(`scrape_list_response`),rS=r.object({pipe_id:r.literal($x),connector:w(),run_if:S(),config:r.object({scrape_main_only:O({label:`Scrape main content only?`,defaultValue:!1,info:`If selected headers, footers, and sidebars will be excluded from the results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),formats:ha({options:[{label:`Markdown`,value:`markdown`},{label:`HTML`,value:`html`},{label:`Links`,value:`links`}],disableSearch:!0,info:`Choose what you want to scrape from the website`,required:!1,label:`Formats`,sectionKey:`general`,groupPath:`config.general`,path:`config.formats`}),input_fields:z(r.object({[tS.name]:E({fieldName:tS.name})})),output_fields:R(r.object({[nS.name]:k({fieldName:nS.name})}))}).optional()}),iS=e=>V(K(tS,e)),aS=class extends U{pipeId=$x;payload;payloadSchema=rS;billableOperations=eS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`list-url-scrape-firecrawl`)}getInputRequirement(){return iS(this.payload.config)}getRawOutputFields(){return{[nS.name]:this.catalogOutput(nS)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},oS=rS,sS={pipeId:$x,basePipe:W($x),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[B.SCRAPE],docPath:G($x),billableOperations:eS,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:iS(null),defaultPayload:{pipe_id:$x,run_if:null,connector:null,config:{scrape_main_only:!0,formats:[`html`,`markdown`,`links`],input_fields:{urls:{alias:``}},output_fields:{scrape_list_response:{alias:``,enabled:!0}}}}},cS=[`companies:profiles:crustdata@1`,`companies:profiles:crustdata@2`,`companies:profiles:amplemarket@1`,`companies:profiles:amplemarket@2`,`people:profiles:crustdata@1`,`people:profiles:crustdata@2`,`people:profiles:amplemarket@1`,`people:profiles:amplemarket@2`,`companies:entitysearch:parallel@1`,`people:entitysearch:parallel@1`],lS=r.enum(cS);function uS(e,t){let n={name:e,config:t};return Ha.hashObject(n)}var $=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}catalogOutput(e){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:e.type,format:e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}getHashKey(){return uS(this.searchId,this.payload)}};function dS(e){return e.split(`@`)[0]}function fS(e){return`/docs/search-catalog/${dS(e)}/${e.split(`@`)[1]}`}const pS=`companies:entitysearch:parallel@1`,mS=_(`company_name`),hS=_(`company_domain`),gS=_(`company_description`),_S=_(`company_profile_url`),vS=_(`parallel_company_entity_match`),yS=r.object({search_id:r.literal(pS),connector:v.nullable().optional(),config:r.object({objective:Oa({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`AI startups in Europe that raised a Series A in 2024`,description:`Plain-text natural-language description of the companies to find.`}),limit:L({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:R(r.object({[mS.name]:N({fieldName:mS.name}),[hS.name]:N({fieldName:hS.name}),[gS.name]:N({fieldName:gS.name}),[_S.name]:N({fieldName:_S.name}),[vS.name]:N({fieldName:vS.name})}))})}),bS={default:{input:[{fields:[]}]}},xS=class extends ${searchId=pS;schema=yS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[mS.name]:this.catalogOutput(mS),[hS.name]:this.catalogOutput(hS),[gS.name]:this.catalogOutput(gS),[_S.name]:this.catalogOutput(_S),[vS.name]:this.catalogOutput(vS)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return bS}},SS=yS,CS={searchId:pS,billableOperation:`companies-entitysearch-parallel-v1`,baseSearch:dS(pS),label:`Company search (AI)`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language company search powered by Parallel Entity Search.`,tags:[B.COMPANY_PROFILES],docPath:fS(pS),cost:{mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},provider:`parallel`,defaultPayload:{search_id:pS,connector:null,config:{objective:``,limit:100,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},parallel_company_entity_match:{enabled:!1,alias:``}}}}};function wS(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function TS(e,t){return e==null?void 0:t(e)}function ES(){return DS({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function DS({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:wS(e),entity:t||e}}function OS(e,t){let n=JSON.parse(JSON.stringify({...e}));if(!t)return n;for(let e in t)!(e in n)&&t[e]!=null&&(n[e]=t[e]);return n}function kS(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}const AS=`companies:profiles:amplemarket@2`,jS=_(`company_name`),MS=_(`company_domain`),NS=_(`company_description`),PS=_(`company_profile_url`),FS=_(`amplemarket_company_match`),IS=r.object({search_id:r.literal(AS),connector:v.nullable().optional(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}).default(100),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[jS.name]:N({fieldName:jS.name}),[MS.name]:N({fieldName:MS.name}),[NS.name]:N({fieldName:NS.name}),[PS.name]:N({fieldName:PS.name}),[FS.name]:N({fieldName:FS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:X(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_names`)}),company_domains:j({sectionKey:`config.filters`,path:`config.filters.company_domains`,label:`Company domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:wS(e.value)}})})}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:g(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:X(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:h(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:xa({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,required:!1,description:``}),open_position_titles:A({path:`config.filters.open_position_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:X(`title`),suggestionsDef:g(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.headcount`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Company sizes`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:xa({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months (in %)`,groupPath:`config.filters.company_size`,description:``,max:1e4,min:0,required:!1})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),LS={default:{input:[{fields:[]}]}},RS=class extends ${searchId=AS;schema=IS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[jS.name]:this.catalogOutput(jS),[MS.name]:this.catalogOutput(MS),[NS.name]:this.catalogOutput(NS),[PS.name]:this.catalogOutput(PS),[FS.name]:this.catalogOutput(FS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return LS}},zS=IS,BS={searchId:AS,billableOperation:`companies-profiles-amplemarket-v2`,baseSearch:dS(`companies:profiles:amplemarket@2`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:fS(AS),cost:{mode:`per_page`,credits:{default:2}},provider:`amplemarket`,defaultPayload:{search_id:AS,connector:null,config:{limit:100,page_number:1,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},amplemarket_company_match:{enabled:!0,alias:``}},filters:{company_industries:{include:[],exclude:[]},company_names:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}},VS=`companies:profiles:crustdata@2`,HS=_(`company_name`),US=_(`company_domain`),WS=_(`company_description`),GS=_(`company_profile_url`),KS=_(`crustdata_company_match`),qS=r.object({search_id:r.literal(VS),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:Da({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[HS.name]:N({fieldName:HS.name}),[US.name]:N({fieldName:US.name}),[WS.name]:N({fieldName:WS.name}),[GS.name]:N({fieldName:GS.name}),[KS.name]:N({fieldName:KS.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:X(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:P({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Ca({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:Ca({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_l6m_in_percent:P({path:`config.filters.follower_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:X(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}),competitor_domains:j({path:`config.filters.competitor_domains`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domain`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:wS(e.value)}})})})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),JS={default:{input:[{fields:[]}]}},YS=class extends ${searchId=VS;schema=qS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[HS.name]:this.catalogOutput(HS),[US.name]:this.catalogOutput(US),[WS.name]:this.catalogOutput(WS),[GS.name]:this.catalogOutput(GS),[KS.name]:this.catalogOutput(KS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return JS}},XS=qS,ZS={searchId:VS,billableOperation:`companies-profiles-crustdata-v2`,baseSearch:dS(`companies:profiles:crustdata@2`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:fS(VS),cost:{mode:`per_page`,credits:{default:2}},provider:`crustdata`,defaultPayload:{search_id:VS,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:{include:[],exclude:[]},linkedin_industries:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},crunchbase_categories:{include:[],exclude:[]},markets:{include:[],exclude:[]},revenue_in_usd:{from:null,to:null},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},follower_growth_l6m_in_percent:[],headcount:{include:[],exclude:[]},hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[],exclude:[]}}}}},QS=`companies:profiles:amplemarket@1`,$S=_(`company_name`),eC=_(`company_website_url`),tC=_(`company_description`),nC=_(`company_profile_url`),rC=_(`amplemarket_company_match`),iC=r.object({search_id:r.literal(QS),connector:v.nullable().optional(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[$S.name]:N({fieldName:$S.name}),[eC.name]:N({fieldName:eC.name}),[tC.name]:N({fieldName:tC.name}),[nC.name]:N({fieldName:nC.name}),[rC.name]:N({fieldName:rC.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:X(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_names`)}),company_website_urls:j({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:g(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:X(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:h(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:xa({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,required:!1,description:``}),open_positions_titles:A({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:X(`title`),suggestionsDef:g(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_last_6_months_in_percent:xa({path:`config.filters.headcount_growth_last_6_months_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months (in %)`,groupPath:`config.filters.company_size`,description:``,max:1e4,min:0,required:!1})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),aC={default:{input:[{fields:[]}]}},oC=class extends ${searchId=QS;schema=iC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[$S.name]:this.catalogOutput($S),[eC.name]:this.catalogOutput(eC),[tC.name]:this.catalogOutput(tC),[nC.name]:this.catalogOutput(nC),[rC.name]:this.catalogOutput(rC)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aC}},sC=iC,cC={searchId:QS,billableOperation:`companies-profiles-amplemarket-v1`,baseSearch:dS(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`deprecated`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:amplemarket@2`},description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:fS(QS),cost:{mode:`per_page`,credits:{default:2}},provider:`amplemarket`,defaultPayload:{search_id:QS,connector:null,config:{limit:100,page_number:1,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},amplemarket_company_match:{enabled:!0,alias:``}},filters:{company_industries:{include:[],exclude:[]},company_names:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_website_urls:{include:[],exclude:[]},customer_types:[],headcount_growth_last_6_months_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_positions_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}},lC=`companies:profiles:crustdata@1`,uC=_(`company_name`),dC=_(`company_website_url`),fC=_(`company_description`),pC=_(`company_profile_url`),mC=_(`crustdata_company_match`),hC=r.object({search_id:r.literal(lC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:Da({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[uC.name]:N({fieldName:uC.name}),[dC.name]:N({fieldName:uC.name}),[fC.name]:N({fieldName:fC.name}),[pC.name]:N({fieldName:pC.name}),[mC.name]:N({fieldName:mC.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:X(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Ca({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:Ca({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:X(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}),competitor_websites:j({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),gC={default:{input:[{fields:[]}]}},_C=class extends ${searchId=lC;schema=hC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[uC.name]:this.catalogOutput(uC),[dC.name]:this.catalogOutput(dC),[fC.name]:this.catalogOutput(fC),[pC.name]:this.catalogOutput(pC),[mC.name]:this.catalogOutput(mC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return gC}},vC=hC,yC={searchId:lC,billableOperation:`companies-profiles-crustdata-v1`,baseSearch:dS(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`deprecated`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:crustdata@2`},description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:fS(lC),cost:{mode:`per_page`,credits:{default:2}},provider:`crustdata`,defaultPayload:{search_id:lC,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:{include:[],exclude:[]},headcount_growth_last_6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:{include:[],exclude:[]},linkedin_industries:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},crunchbase_categories:{include:[],exclude:[]},markets:{include:[],exclude:[]},revenue_in_usd:{from:null,to:null},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},follower_growth_last_6m_in_percent:[],headcount:{include:[],exclude:[]},hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_websites:{include:[],exclude:[]}}}}},bC=`people:profiles:amplemarket@1`,xC=_(`name`),SC=_(`company_website_url`),CC=_(`profile_url`),wC=_(`job_title`),TC=_(`amplemarket_person_match`),EC=r.object({search_id:r.literal(bC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[xC.name]:N({fieldName:xC.name}),[SC.name]:N({fieldName:SC.name}),[CC.name]:N({fieldName:CC.name}),[wC.name]:N({fieldName:wC.name}),[TC.name]:N({fieldName:TC.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:X(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:X(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:X(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:g(`locations`),groupPath:`config.filters.current_company`,placeholder:X(`location`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`company_name`),suggestionsDef:g(`company_names`)}),current_employer_website_urls:j({path:`config.filters.current_employer_website_urls`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:X(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:X(`industry`),required:!1,options:m(`linkedin.industries`)}),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}),current_employer_founded_year:xa({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,required:!1,description:``}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:X(`investor`),description:``}),current_employer_open_positions_titles:A({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`title`),suggestionsDef:g(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),DC={default:{input:[{fields:[]}]}},OC=class extends ${searchId=bC;schema=EC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[xC.name]:this.catalogOutput(xC),[SC.name]:this.catalogOutput(SC),[CC.name]:this.catalogOutput(CC),[wC.name]:this.catalogOutput(wC),[TC.name]:this.catalogOutput(TC)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return DC}},kC=EC,AC={searchId:bC,billableOperation:`people-profiles-amplemarket-v1`,baseSearch:dS(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:amplemarket@2`},description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:fS(bC),cost:{mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:bC,connector:null,config:{limit:50,page_number:1,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},amplemarket_person_match:{enabled:!0,alias:``}},filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_positions_titles:[],current_job_functions:[],current_locations:{include:[],exclude:[]},current_employer_linkedin_industries:[],current_employer_website_urls:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}},jC=`people:profiles:crustdata@1`,MC=_(`name`),NC=_(`company_website_url`),PC=_(`profile_url`),FC=_(`job_title`),IC=_(`crustdata_person_match`),LC=r.object({search_id:r.literal(jC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:Da({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[MC.name]:N({fieldName:MC.name}),[NC.name]:N({fieldName:NC.name}),[PC.name]:N({fieldName:PC.name}),[FC.name]:N({fieldName:FC.name}),[IC.name]:N({fieldName:IC.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:X(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_employers:j({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),current_employers_website_urls:j({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Company domain`,placeholder:X(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),current_employers_linkedin_industries:I({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:X(`industry`),description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employers_website_urls:j({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:X(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_domains`,{widgets:{emoji:{char:`๐`}}})}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:X(`seniority`),disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:j({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:X(`title`),groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employers_linkedin_industries:I({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:X(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:X(`headline_keywords`)}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:X(`profile_keywords`)}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:X(`languages`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:X(`languages_1`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:X(`skills`),groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:X(`seniority`),optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:X(`certification`),description:``}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:X(`honor`),description:``}),recently_changed_jobs:Ea({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:X(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:X(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),RC={default:{input:[{fields:[]}]}},zC=class extends ${searchId=jC;schema=LC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[MC.name]:this.catalogOutput(MC),[NC.name]:this.catalogOutput(NC),[PC.name]:this.catalogOutput(PC),[FC.name]:this.catalogOutput(FC),[IC.name]:this.catalogOutput(IC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return RC}},BC=LC,VC={searchId:jC,billableOperation:`people-profiles-crustdata-v1`,baseSearch:dS(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:crustdata@2`},description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:fS(jC),cost:{mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:jC,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:{include:[],exclude:[]},languages:{include:[],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},current_employers:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},years_at_current_company:[],certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employers_linkedin_industries:{include:[],exclude:[]},current_employers_website_urls:{include:[],exclude:[]},previous_employers_website_urls:{include:[],exclude:[]},current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},locations:{include:[],exclude:[]},profile_languages:{include:[],exclude:[]},recently_changed_jobs:null,extracurricular_activities:{include:[],exclude:[]},school_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},previous_employers:{include:[],exclude:[]},current_job_titles:{include:[],exclude:[]},skills:{include:[],exclude:[]},years_of_experience:[],previous_employers_linkedin_industries:{include:[],exclude:[]}}}}},HC=`people:entitysearch:parallel@1`,UC=_(`name`),WC=_(`job_title`),GC=_(`profile_url`),KC=_(`parallel_person_entity_match`),qC=r.object({search_id:r.literal(HC),connector:v.nullable().optional(),config:r.object({objective:Oa({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`Heads of Engineering at Series B fintech companies in the US`,description:`Plain-text natural-language description of the people to find.`}),limit:L({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:R(r.object({[UC.name]:N({fieldName:UC.name}),[WC.name]:N({fieldName:WC.name}),[GC.name]:N({fieldName:GC.name}),[KC.name]:N({fieldName:KC.name})}))})}),JC={default:{input:[{fields:[]}]}},YC=class extends ${searchId=HC;schema=qC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[UC.name]:this.catalogOutput(UC),[WC.name]:this.catalogOutput(WC),[GC.name]:this.catalogOutput(GC),[KC.name]:this.catalogOutput(KC)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return JC}},XC=qC,ZC={searchId:HC,billableOperation:`people-entitysearch-parallel-v1`,baseSearch:dS(HC),label:`People search (AI)`,categories:[`people`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language people search powered by Parallel Entity Search.`,tags:[B.PEOPLE_PROFILES],docPath:fS(HC),cost:{mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},provider:`parallel`,defaultPayload:{search_id:HC,connector:null,config:{objective:``,limit:100,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},parallel_person_entity_match:{enabled:!1,alias:``}}}}},QC=`people:profiles:amplemarket@2`,$C=_(`name`),ew=_(`company_domain`),tw=_(`profile_url`),nw=_(`job_title`),rw=_(`amplemarket_person_match`),iw=r.object({search_id:r.literal(QC),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}).default(50),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:R(r.object({[$C.name]:N({fieldName:$C.name}),[ew.name]:N({fieldName:ew.name}),[tw.name]:N({fieldName:tw.name}),[nw.name]:N({fieldName:nw.name}),[rw.name]:N({fieldName:rw.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:X(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:X(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:X(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:g(`locations`),groupPath:`config.filters.current_company`,placeholder:X(`location`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`company_name`),suggestionsDef:g(`company_names`)}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:X(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:wS(e.value)}})})}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:X(`industry`),required:!1,options:m(`linkedin.industries`)}),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}),current_employer_founded_year:xa({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,required:!1,description:``}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:X(`investor`),description:``}),current_employer_open_position_titles:A({path:`config.filters.current_employer_open_position_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`title`),suggestionsDef:g(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),aw={default:{input:[{fields:[]}]}},ow=class extends ${searchId=QC;schema=iw;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[$C.name]:this.catalogOutput($C),[ew.name]:this.catalogOutput(ew),[tw.name]:this.catalogOutput(tw),[nw.name]:this.catalogOutput(nw),[rw.name]:this.catalogOutput(rw)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aw}},sw=iw,cw={searchId:QC,billableOperation:`people-profiles-amplemarket-v2`,baseSearch:dS(`people:profiles:amplemarket@2`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:fS(QC),cost:{mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:QC,connector:null,config:{limit:50,page_number:1,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},amplemarket_person_match:{enabled:!0,alias:``}},filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}},lw=`people:profiles:crustdata@2`,uw=_(`name`),dw=_(`company_domain`),fw=_(`profile_url`),pw=_(`job_title`),mw=_(`crustdata_person_match`),hw=r.object({search_id:r.literal(lw),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:Da({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[uw.name]:N({fieldName:uw.name}),[dw.name]:N({fieldName:dw.name}),[fw.name]:N({fieldName:fw.name}),[pw.name]:N({fieldName:pw.name}),[mw.name]:N({fieldName:mw.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:g(`locations`),groupPath:`config.filters.general`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:X(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:g(`titles`)}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:X(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:wS(e.value)}})})}),current_employer_industries:I({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:X(`industry`),description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employer_domains:j({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:X(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_domains`,{widgets:e=>({logo_url:{url:wS(e.value)}})})}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:X(`seniority`),disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employer_names:j({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:X(`title`),groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employer_industries:I({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:X(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:X(`headline_keywords`)}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:X(`profile_keywords`)}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:X(`languages`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:X(`languages_1`),optionsDef:h(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:X(`skills`),groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:X(`seniority`),optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:X(`certification`),description:``}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:X(`honor`),description:``}),recently_changed_jobs:Ea({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:X(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:X(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{kS(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),gw={default:{input:[{fields:[]}]}},_w=class extends ${searchId=lw;schema=hw;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[uw.name]:this.catalogOutput(uw),[dw.name]:this.catalogOutput(dw),[fw.name]:this.catalogOutput(fw),[pw.name]:this.catalogOutput(pw),[mw.name]:this.catalogOutput(mw)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return gw}},vw=hw,yw={searchId:lw,billableOperation:`people-profiles-crustdata-v2`,baseSearch:dS(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:fS(lw),cost:{mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:lw,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:{include:[],exclude:[]},languages:{include:[],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},current_employer_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},years_at_current_company:[],certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employer_industries:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},locations:{include:[],exclude:[]},profile_languages:{include:[],exclude:[]},recently_changed_jobs:null,extracurricular_activities:{include:[],exclude:[]},school_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},current_job_titles:{include:[],exclude:[]},skills:{include:[],exclude:[]},years_of_experience:[],previous_employer_industries:{include:[],exclude:[]}}}}},bw={"people:profiles:crustdata@1":zC,"people:profiles:crustdata@2":_w,"companies:profiles:crustdata@1":_C,"companies:profiles:crustdata@2":YS,"people:profiles:amplemarket@1":OC,"people:profiles:amplemarket@2":ow,"companies:profiles:amplemarket@1":oC,"companies:profiles:amplemarket@2":RS,"companies:entitysearch:parallel@1":xS,"people:entitysearch:parallel@1":YC},xw={"people:profiles:crustdata@1":BC,"people:profiles:crustdata@2":vw,"companies:profiles:crustdata@1":vC,"companies:profiles:crustdata@2":XS,"people:profiles:amplemarket@1":kC,"people:profiles:amplemarket@2":sw,"companies:profiles:amplemarket@1":sC,"companies:profiles:amplemarket@2":zS,"companies:entitysearch:parallel@1":SS,"people:entitysearch:parallel@1":XC},Sw={"people:profiles:crustdata@1":VC,"people:profiles:crustdata@2":yw,"companies:profiles:crustdata@1":yC,"companies:profiles:crustdata@2":ZS,"people:profiles:amplemarket@1":AC,"people:profiles:amplemarket@2":cw,"companies:profiles:amplemarket@1":cC,"companies:profiles:amplemarket@2":BS,"companies:entitysearch:parallel@1":CS,"people:entitysearch:parallel@1":ZC};function Cw(e){return bw[e]}const ww=t.discriminatedUnion(`search_id`,Object.values(xw).map(e=>e)).openapi(`SearchPayloadSchema`);function Tw(e,t){return ja(t,Sw[e].defaultPayload)}const Ew=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=Tw(e.search_id);return t?{...e,config:ja(e?.config||{},t.config)}:e},ww),Dw=t.object({config:t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}).default({environment:`production`,widgets:{enabled:!1}}),search:Ew}).openapi(`SearchRequestSchema`),Ow=Wn,kw=t.object({value:jn,status:An,type:On.optional(),format:qn.nullable().optional(),resolved_by:$n.nullable().optional(),widgets:Un.optional()}),Aw=t.record(t.string(),kw.nullable());function jw(e){return xw[e]}const Mw=t.enum([`cursor`,`page_number`]),Nw=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:lS,errors:t.array(Ow),results:t.array(Aw),organization_id:t.string(),next_page:Ew.nullable(),pagination_type:Mw.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function Pw(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Fw(){let e={};for(let t of Object.values(Sw)){let{baseSearch:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=Pw(e.searchId);return Pw(t.searchId)-n})}),e}function Iw(e){return Sw[e]}const Lw=Fw();function Rw(e){let t=[];for(let[n,r]of Object.entries(Lw)){let i=r[0];if(!i)throw Error(`Found empty entry`);i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||i.categories.includes(e))&&t.push({...i,baseSearch:n,latestVersion:Pw(i.searchId)})}return t}function zw(e){return Object.keys(Sw[e].defaultPayload.config.output_fields)}function Bw(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={};for(let e of n){if(e.lifecycle&&e.lifecycle.deprecatedOn){i.Deprecated??=[],i.Deprecated.push(e.searchId);continue}a[e.provider]??=[],a[e.provider].push(e.searchId);for(let t of zw(e.searchId))r[t]??=[],r[t].push(e.searchId);for(let t of e.tags)i[t]??=[],i[t].push(e.searchId)}return{searchIdsByOutputField:r,searchIdsByTag:i,searchIdsByProvider:a,sortedTagEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),searchEntriesByBaseSearch:Lw}}function Vw(e){let t=Iw(e);return{[t.provider]:t.cost.credits.default}}const Hw={"prompt:run@1":Rb,"company:newssummary:website@1":Ml,"company:newssummary:domain@1":Es,"company:techstack:builtwith@1":bu,"company:techstack:builtwith@2":$s,"company:websiteurl:email@1":ku,"company:domain:workemail@1":ao,"company:funding:leadmagic@1":Tc,"company:funding:leadmagic@2":bo,"people:workemail:waterfall@1":Wm,"person:workemail:waterfall@1":jb,"people:email:iswork@1":Ru,"email:iswork@1":$m,"people:name:split@1":mf,"person:name:split@1":qv,"people:validate:email:zerobounce@1":_m,"people:email:validate:zerobounce@2":rd,"email:validate:zerobounce@1":kh,"people:mobilenumber:workemail:waterfall@1":rf,"person:name:join@1":Lv,"company:overview@1":ql,"company:overview@2":lu,"company:overview@3":Hs,"json:extract:multi@1":Ag,"company:lookalikes:companyenrich@1":nl,"company:lookalikes:companyenrich@2":Xo,"company:match:logodev@1":Cl,"company:match:logodev@2":_s,"person:posts:crustdata@1":hy,"people:profile:workemail:crustdata@1":Yp,"person:profile:workemail:crustdata@1":Iy,"people:identity:email:waterfall@1":wd,"person:identity:email:waterfall@1":z_,"person:identity:amplemarket@1":C_,"email:send:resend@1":yh,"contact:create:resend@1":dc,"email:send:gmail@1":fh,"email:write@1":zh,"fields:merge@1":hg,"field:slugify@1":rg,"field:domainify@1":Jh,"http:request@1":wg,"template:fill@1":fx,"message:send:slack@1":Rg,"message:write@1":Kg,"people:personalemail:profile:waterfall@1":Ef,"person:personalemail:profileurl:waterfall@1":ay,"website:scrape:firecrawl@1":Xx,"website:scrapelist:firecrawl@1":aS,"website:extract:firecrawl@1":xx,"website:extract:parallel@1":Ax,"website:maplinks:firecrawl@1":zx,"sheet:row:append@1":Xb,"sheet:row:expandappend@1":ax,"people:match:role:waterfall@1":Fd,"person:match:role:waterfall@1":av,"company:match:crustdata@1":dl,"company:match:crustdata@2":as,"person:match:amplemarket@1":J_,"company:identity@2":qc,"company:identity@3":jo,"company:identity:crustdata@1":Vo,"people:phone:profile:waterfall@1":Lf,"person:mobile:profileurl:waterfall@1":gv,"person:devprofileurl:profileurl:waterfall@1":i_,"people:phone:workemail:waterfall@1":Jf,"person:mobile:workemail:waterfall@1":Dv,"people:profile:waterfall@1":zp,"person:profile:waterfall@1":Ey,"people:profileurl:email:waterfall@1":sm,"person:profileurl:email:waterfall@1":Jy,"person:profileurl:name@1":ab,"people:email:validate:zerobounce@1":qu,"person:email:validate:millionverifier@1":m_,"people:workemail:profileurl:waterfall@1":Am,"person:workemail:profileurl:waterfall@1":_b,"company:identity@1":Ic,"people:professionalprofile:waterfall@1":ap,"people:professionalprofileurl:name@1":Op,"people:professionalprofileurl:email:waterfall@1":_p,"people:mobilenumber:professionalprofile:waterfall@1":Kd},Uw={"prompt:run@1":zb,"company:newssummary:website@1":Nl,"company:newssummary:domain@1":Ds,"company:techstack:builtwith@1":xu,"company:techstack:builtwith@2":ec,"company:websiteurl:email@1":Au,"company:domain:workemail@1":oo,"company:funding:leadmagic@1":Ec,"company:funding:leadmagic@2":xo,"people:workemail:waterfall@1":Gm,"person:workemail:waterfall@1":Mb,"people:email:iswork@1":zu,"email:iswork@1":eh,"people:name:split@1":hf,"person:name:split@1":Jv,"people:validate:email:zerobounce@1":vm,"people:email:validate:zerobounce@2":id,"email:validate:zerobounce@1":Ah,"people:mobilenumber:workemail:waterfall@1":af,"person:name:join@1":Rv,"company:overview@1":Jl,"company:overview@2":uu,"company:overview@3":Us,"json:extract:multi@1":jg,"email:write@1":Bh,"fields:merge@1":gg,"field:slugify@1":ig,"field:domainify@1":Yh,"http:request@1":Tg,"email:send:resend@1":bh,"contact:create:resend@1":fc,"company:lookalikes:companyenrich@1":rl,"company:lookalikes:companyenrich@2":Zo,"company:match:logodev@1":wl,"company:match:logodev@2":vs,"person:posts:crustdata@1":gy,"people:profile:workemail:crustdata@1":Xp,"person:profile:workemail:crustdata@1":Ly,"people:identity:email:waterfall@1":Td,"person:identity:email:waterfall@1":B_,"company:match:crustdata@1":fl,"company:match:crustdata@2":os,"person:identity:amplemarket@1":w_,"message:send:slack@1":zg,"email:send:gmail@1":ph,"message:write@1":qg,"template:fill@1":px,"website:scrape:firecrawl@1":Zx,"website:scrapelist:firecrawl@1":oS,"website:extract:firecrawl@1":Sx,"website:extract:parallel@1":jx,"website:maplinks:firecrawl@1":Bx,"sheet:row:append@1":Zb,"sheet:row:expandappend@1":ox,"people:match:role:waterfall@1":Id,"person:match:role:waterfall@1":ov,"company:identity@2":Jc,"company:identity@3":Mo,"company:identity:crustdata@1":Ho,"people:phone:profile:waterfall@1":Rf,"person:mobile:profileurl:waterfall@1":_v,"person:devprofileurl:profileurl:waterfall@1":a_,"people:personalemail:profile:waterfall@1":Df,"person:personalemail:profileurl:waterfall@1":oy,"people:profile:waterfall@1":Bp,"person:profile:waterfall@1":Dy,"people:profileurl:email:waterfall@1":cm,"person:profileurl:email:waterfall@1":Yy,"person:profileurl:name@1":ob,"people:email:validate:zerobounce@1":Ju,"person:email:validate:millionverifier@1":h_,"people:phone:workemail:waterfall@1":Yf,"person:mobile:workemail:waterfall@1":Ov,"people:workemail:profileurl:waterfall@1":jm,"person:workemail:profileurl:waterfall@1":vb,"person:match:amplemarket@1":Y_,"company:identity@1":Lc,"people:professionalprofile:waterfall@1":op,"people:professionalprofileurl:name@1":kp,"people:professionalprofileurl:email:waterfall@1":vp,"people:mobilenumber:professionalprofile:waterfall@1":qd},Ww={"prompt:run@1":Bb,"company:newssummary:website@1":Pl,"company:newssummary:domain@1":Os,"company:techstack:builtwith@1":Su,"company:techstack:builtwith@2":tc,"company:websiteurl:email@1":ju,"company:domain:workemail@1":so,"company:funding:leadmagic@1":Dc,"company:funding:leadmagic@2":So,"people:workemail:waterfall@1":Km,"person:workemail:waterfall@1":Nb,"people:email:iswork@1":Bu,"email:iswork@1":th,"people:name:split@1":gf,"person:name:split@1":Yv,"people:validate:email:zerobounce@1":ym,"people:mobilenumber:workemail:waterfall@1":of,"person:name:join@1":zv,"company:overview@1":Yl,"company:overview@2":du,"company:overview@3":Ws,"json:extract:multi@1":Mg,"email:send:resend@1":xh,"contact:create:resend@1":pc,"email:send:gmail@1":mh,"message:send:slack@1":Bg,"message:write@1":Jg,"email:write@1":Vh,"template:fill@1":mx,"fields:merge@1":_g,"field:slugify@1":ag,"field:domainify@1":Xh,"http:request@1":Eg,"sheet:row:append@1":Qb,"sheet:row:expandappend@1":sx,"company:lookalikes:companyenrich@1":il,"company:lookalikes:companyenrich@2":Qo,"people:match:role:waterfall@1":Ld,"person:match:role:waterfall@1":sv,"company:match:logodev@1":Tl,"company:match:logodev@2":ys,"person:posts:crustdata@1":_y,"people:profile:workemail:crustdata@1":Zp,"person:profile:workemail:crustdata@1":Ry,"people:workemail:profileurl:waterfall@1":Mm,"person:workemail:profileurl:waterfall@1":yb,"people:identity:email:waterfall@1":Ed,"person:identity:email:waterfall@1":V_,"company:match:crustdata@1":pl,"company:match:crustdata@2":ss,"person:identity:amplemarket@1":T_,"email:validate:zerobounce@1":jh,"person:email:validate:millionverifier@1":g_,"people:personalemail:profile:waterfall@1":Of,"person:personalemail:profileurl:waterfall@1":sy,"people:email:validate:zerobounce@1":Yu,"people:email:validate:zerobounce@2":ad,"people:phone:workemail:waterfall@1":Xf,"person:mobile:workemail:waterfall@1":kv,"website:scrape:firecrawl@1":Qx,"website:scrapelist:firecrawl@1":sS,"website:extract:firecrawl@1":Cx,"website:extract:parallel@1":Mx,"website:maplinks:firecrawl@1":Vx,"person:match:amplemarket@1":X_,"company:identity@2":Yc,"company:identity@3":No,"company:identity:crustdata@1":Uo,"people:phone:profile:waterfall@1":zf,"person:mobile:profileurl:waterfall@1":vv,"person:devprofileurl:profileurl:waterfall@1":o_,"people:profile:waterfall@1":Vp,"person:profile:waterfall@1":Oy,"people:profileurl:email:waterfall@1":lm,"person:profileurl:email:waterfall@1":Xy,"person:profileurl:name@1":sb,"company:identity@1":Rc,"people:professionalprofile:waterfall@1":sp,"people:professionalprofileurl:name@1":Ap,"people:professionalprofileurl:email:waterfall@1":yp,"people:mobilenumber:professionalprofile:waterfall@1":Jd};function Gw(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function Kw(e){return Hw[e]}function qw(e){return Ww[e].defaultPayload}function Jw(e){return Uw[e]}const Yw=r.discriminatedUnion(`pipe_id`,Object.values(Uw)).openapi(`PipePayload`),Xw=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=qw(En.parse(e.pipe_id));return t?{...e,config:ja(e?.config||{},t.config)}:e}catch{return e}},Yw);function Zw(e){return Ww[e]}function Qw(e,t){let n=Zw(e);if(t in n.billableOperations)return n.billableOperations[t];throw Error(`Unable to find billable operation definition for pipeId '${e}' and operation '${t}'`)}function $w(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function eT(){let e={};for(let t of Object.values(Ww)){let{basePipe:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=$w(e.pipeId);return $w(t.pipeId)-n})}),e}const tT=e=>{let t=Zw(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},nT=eT();function rT(e,t){let n=new Map;for(let[t,r]of Object.entries(e))for(let e of Object.keys(r.billableOperations)){let r=n.get(e)??[];r.push(`pipe ${t}`),n.set(e,r)}for(let[e,r]of Object.entries(t)){let t=r.billableOperation,i=n.get(t)??[];i.push(`search ${e}`),n.set(t,i)}let r=[...n.entries()].filter(([,e])=>e.length>1);if(r.length>0){let e=r.map(([e,t])=>` "${e}" used by ${t.join(`, `)}`).join(`
|
|
74
|
+
`);throw Error(`Catalog has ${r.length} duplicate billable-operation key(s):\n${e}`)}}rT(Ww,Sw);function iT(e){let t=[];for(let[n,r]of Object.entries(nT)){let i=r[0];if(!i)throw Error(`Found empty entry`);let a=i.categories;i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||a.includes(e))&&t.push({...i,basePipe:n,latestVersion:$w(i.pipeId)})}return t}function aT(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={},o={};for(let e of n){let t=tT(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of Gw(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of La(e.defaultInputRequirement))r[t.name]??=[],r[t.name]?.push(e.defaultPayload.pipe_id);for(let t of e.tags)a[t]??=[],a[t].push(e.defaultPayload.pipe_id)}return{pipeIdsByInputField:r,pipeIdsByOutputField:i,pipeIdsByTag:a,pipeIdsByProvider:o,sortedTagEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),sortedInputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(o).sort((e,t)=>e[0].localeCompare(t[0])),pipeEntriesByBasePipe:nT}}const oT=r.object({id:r.string(),organization_id:r.string(),order:r.array(kn),field_definitions:or,errors:r.array(Wn),records:r.record(kn,rr),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),sT=r.object({environment:wn.default(`production`),widgets:r.object({enabled:r.boolean().default(!1)}).default({enabled:!1}),field_definitions:r.object({enabled:r.boolean()}).default({enabled:!1}),transform:r.object({include_fields:r.enum([`input`,`annotated`])}).default({include_fields:`input`})}).default({environment:`production`,transform:{include_fields:`input`},widgets:{enabled:!1},field_definitions:{enabled:!1}}).openapi(`PipesRequestConfig`),cT=r.object({config:sT.openapi(`PipesRequestConfig`),field_annotations:Yn.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(Yw),input:r.array(nr.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function lT(e){let t=Zw(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.allowManagedConnection?t.credits.default:0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}const uT={"config.prompt":{order:1,label:`Prompt`,iconKey:`sparkles`,defaultExpand:!0},"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:0,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},"config.input_fields":{order:0,label:`Input config`,description:`Point pipe inputs to new fields.`,iconKey:`input`,defaultExpand:!1},connector:{order:100,label:`Custom connections`,iconKey:`plug`,defaultExpand:!1},"config.extraction":{order:0,label:`Extraction`,iconKey:`code`,defaultExpand:!0},run_if:{order:99,label:`Run IF`,iconKey:`workflow`,defaultExpand:!1},"config.email":{order:3,label:`Email`,iconKey:`mail`,defaultExpand:!0},"config.json_extraction":{order:1,label:`Extract fields`,iconKey:`braces`,defaultExpand:!0},"config.providers":{order:1,label:`Providers`,iconKey:`tags`,defaultExpand:!0},"config.output_fields":{order:10,label:`Output config`,description:`Toggle or rename output fields.`,iconKey:`output`,defaultExpand:!1}},dT={general:{type:`form_section`,path:`general`,label:`Behavior`,description:`How this pipe runs and selects providers.`},pagination:{type:`form_section`,path:`pagination`,label:`Behavior`},pipe_io:{type:`form_section`,path:``,label:`I/O & conditions`},"config.filters":{type:`form_section`,path:`config.filters`,label:`I/O & conditions`}},fT={general:1,pagination:2,"config.input_fields":10,"config.pipe_io":11,"config.output_fields":12,"config.extractions":13,"config.filters":14,conditions:15,connector:16};function pT(e){let t=Jw(e),n=[];function i(e){let t=y.get(e);if(t&&typeof t!=`function`)(t.type===`context_select_input`||t.type===`tagged_text_input`)&&t.optionsDef&&n.push(t);else if(typeof t==`function`){let e=t.staticMeta;e&&e.type===`tagged_text_input`&&e.optionsDef&&n.push(e)}if(typeof e==`object`&&e&&`unwrap`in e&&typeof e.unwrap==`function`&&i(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))i(t)}return i(t),n}function mT({pipePayload:e,validationContext:t,sectionOrder:n=fT,store:r,groupPathMatch:i=uT,formResolvers:a}){let o=Jw(e.pipe_id),s=Ua(e.pipe_id,e.config||{});return Ji({schema:o,groupPathMatch:i,extractFromSchema:n=>{let i=y.get(n);if(r.field_options??={},i)return i&&typeof i==`function`?i({validationContext:t,pipePayload:e,userConnections:`connections`in r.field_options?(r.field_options.connections.options||[]).map(e=>{let t=e.widgets?.provider_logo?.provider;if(!t)throw Error(`Option is missing provider type'`);return{public_id:e.value,provider:t}}):[],pipeEntry:Zw(e.pipe_id),hash:s}):i},sectionOrder:n,sectionMap:dT,store:r,formResolvers:a})}const hT={"config.pagination":{order:0,label:`Pagination`,iconKey:`list`,defaultExpand:!0},"config.prompt":{order:1,label:`Prompt`,iconKey:`sparkles`,defaultExpand:!0},"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:0,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},"config.continue_existing_search":{order:0,label:`Continue existing search`,iconKey:`history`,defaultExpand:!1},"config.output_fields":{order:10,label:`Outputs`,iconKey:`output`,defaultExpand:!1},"config.filters.query":{order:2,label:`Query`,iconKey:`text`,defaultExpand:!0},"config.filters.personal_information":{label:`Personal information`,order:6,iconKey:`user`,defaultExpand:!1},"config.filters.job_information":{label:`Job information`,order:6,iconKey:`job`,defaultExpand:!1},"config.filters.company_information":{order:1,label:`Company information`,iconKey:`office`,defaultExpand:!1},"config.filters.education":{label:`Education`,iconKey:`school`,defaultExpand:!1},"config.filters.geografic":{label:`Location`,iconKey:`location`,defaultExpand:!1},"config.filters.location":{label:`Location`,iconKey:`location`,defaultExpand:!1},"config.filters.general":{label:`General`,iconKey:`filter`,defaultExpand:!1,order:1},"config.filters.job_openings":{label:`Job openings`,iconKey:`calendar`,defaultExpand:!1},"config.filters.website":{label:`Website`,iconKey:`web`,defaultExpand:!1},"config.filters.web_presence":{label:`Web presence`,iconKey:`web`,defaultExpand:!1},"config.filters.keywords":{label:`Keywords`,iconKey:`tags`,defaultExpand:!1},"config.filters.competitors":{label:`Competitors`,iconKey:`cometition`,defaultExpand:!1},"config.filters.categories":{label:`Categories`,iconKey:`boxes`,defaultExpand:!1},"config.filters.investors":{label:`Investors`,iconKey:`handshake`,defaultExpand:!1},"config.filters.account_activities":{label:`Account Activities`,iconKey:`activity`,defaultExpand:!1},"config.filters.financials":{label:`Financials`,iconKey:`chart`,defaultExpand:!1},"config.filters.languages":{label:`Languages`,iconKey:`language`,defaultExpand:!1},"config.filters.company_size":{label:`Company size`,iconKey:`office`,defaultExpand:!1},"config.filters.linkedin":{label:`LinkedIn`,iconKey:`linkedin`,defaultExpand:!1},"config.filters.skills":{label:`Skills`,iconKey:`brain`,defaultExpand:!1},"config.filters.activities":{label:`Activities`,iconKey:`bolt`,defaultExpand:!1},"config.filters.certifications_honors":{label:`Certifications & honors`,iconKey:`award`,defaultExpand:!1},"config.filters.profile":{label:`Profile`,iconKey:`contact`,defaultExpand:!1},"config.filters.experience":{label:`Employment history`,iconKey:`history`,defaultExpand:!1},"config.filters.current_employer":{label:`Current job`,iconKey:`briefcase`,defaultExpand:!1},"config.filters.current_company":{label:`Current Company`,iconKey:`office`,defaultExpand:!1},"config.filters.industry":{label:`Industries`,iconKey:`factory`,defaultExpand:!1},"config.filters.general_search":{label:`General search`,iconKey:`search`,defaultExpand:!1}},gT={general:{type:`form_section`,path:`general`,label:`General`,description:`Search settings and pagination.`},pagination:{type:`form_section`,path:`pagination`,label:`General`},"config.filters":{type:`form_section`,path:`config.filters`,label:`Filters`,description:`Narrow the search results.`},pipe_io:{type:`form_section`,path:``,label:`Output fields`}},_T={general:1,pagination:2,"config.filters":10,"config.output_fields":20,"config.input_fields":21,"config.pipe_io":22,"config.extractions":23,conditions:90,connector:91};function vT({searchPayload:e,sectionOrder:t=_T,formContext:n,groupPathMatch:r=hT,formResolvers:i}){return Ji({schema:jw(e.search_id),groupPathMatch:r,extractFromSchema:e=>b.get(e),sectionOrder:t,sectionMap:gT,store:n,formResolvers:i})}const yT=new Proxy({},{get:(e,t)=>e=>e.type===t}),bT=`school.user.location.language.brain.book.web.plug.money.office.job.search.output.input.mix.bill.linkedin.text.workflow.letter.source.activity.boxes.cometition.bolt.star.scholar.briefcase.history.sparkles.list.sliders.factory.award.tags.handshake.contact.mail.calendar.chart.code.braces.filter`.split(`.`),xT=r.enum(bT),ST=r.object({provider_logo:r.object({provider:Cn}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:xT}).optional(),logo_url:r.object({url:r.string(),alt:r.string().optional()}).optional(),pricing:r.object({credits:r.number()}).optional(),field_type:r.object({type:r.string(),format:r.string().optional()}).optional()}),CT=`providers_input.fields_select_input.json_extraction_input.pipes_run_if_input.connector_input.include_exclude_input.include_exclude_select_input.exact_range_input.range_input.date_range_input.boolean_input.nullable_boolean_input.text_input.template_input.output_field_input.textarea_input.prompt_input.select_input.context_select_input.multi_select_input.min_max_int_input.async_multi_select_input.async_include_exclude_select_input.multi_create_input.ordered_multi_create_input.tagged_ordered_multi_create_input.int_input.number_input.json_schema_input`.split(`.`);r.enum(CT);const wT=r.object({value:r.string(),label:r.string(),widgets:ST.optional()}),TT=r.object({field_options:r.record(r.string(),r.object({options:r.array(wT)}))}),ET=[{id:`people_data`,label:`People`,color:`#8B7DFF`,order:0},{id:`find_people`,label:`Find People`,color:`#A78BFA`,order:1},{id:`company_data`,label:`Company`,color:`#10B981`,order:2},{id:`find_comapnies`,label:`Find Companies`,color:`#34D399`,order:3},{id:`tools`,label:`Tools`,color:`#EAB308`,order:4},{id:`integrations`,label:`Integrations`,color:`#06B6D4`,order:5},{id:`actions`,label:`Actions`,color:`#F97316`,order:6},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:7}],DT=new Map(ET.map(e=>[e.id,e]));function OT(e){return DT.get(e)}function kT(){return ET}const AT={"company:funding:leadmagic@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:funding:leadmagic@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"company:identity@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@1`}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@2`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@3`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:overview@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@1`}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"people:phone:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:phone:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"person:mobile:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:mobile:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"people:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_website_url:`https://pipe0.com`}]}],"person:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_domain:`pipe0.com`}]}],"company:techstack:builtwith@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:techstack:builtwith@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"prompt:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`prompt:run@1`,config:{model:`openai-gpt-latest`,prompt:{template:`
|
|
75
75
|
Tell me if {{ name }} fits the ICP criteria for my company <YOUR_COMPANY_NAME>.
|
|
76
76
|
|
|
77
77
|
My company, <YOUR_COMPANY_NAME>, can be described as follows: <ADD_COMPANY_DESCRIPTION>.
|
|
@@ -116,4 +116,4 @@ Customize the message using the name of the user: {{ name }}.
|
|
|
116
116
|
`}}],input:[{id:`1`,job_title:`GTM Engineer`,name:`Pipe Piper`}]}],"person:profileurl:name@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profileurl:name@1`}],input:[{id:`1`,name:`John`,company_name:`Pipe0`}]}],"template:fill@1":[{config:{environment:`production`},pipes:[{pipe_id:`template:fill@1`,config:{template:`Hey team: A new user has just signed up. Here's the info:
|
|
117
117
|
**Name**: {{ name }}
|
|
118
118
|
**Email**: {{ email }}
|
|
119
|
-
`}}],input:[{id:`1`,name:`John`,email:`john@pipe0.com`}]}],"email:send:resend@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`resend_123`,type:`vault`}]},pipe_id:`email:send:resend@1`,config:{from:`<FROM_EMAIL_ADDRESS>`,to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"email:send:gmail@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`gmail_123`,type:`vault`}]},pipe_id:`email:send:gmail@1`,config:{to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"message:send:slack@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`slack_123`,type:`vault`}]},pipe_id:`message:send:slack@1`,config:{channel_id:`<SLACK_CHANNEL_ID>`,message:`{{ message }}`}}],input:[{id:`1`,message:`<MESSAGE_TEXT>`}]}],"people:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"person:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"people:validate:email:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:validate:email:zerobounce@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:mobilenumber:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:workemail:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`john@pipe0.com`}]}],"people:professionalprofileurl:name@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:name@1`}],input:[{id:`1`,name:`John`,company_name:`Pipe0`,location_int:`Berlin`}]}],"people:professionalprofileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:email:waterfall@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:mobilenumber:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`https://linkedin.com/li/john`}]}],"company:overview@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@2`,config:{}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"company:overview@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@3`,config:{}}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"fields:merge@1":[{config:{environment:`production`},pipes:[{pipe_id:`fields:merge@1`,config:{sources:[{field_name:`field_1`},{field_name:`field_2`}]}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:scrape:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrape:firecrawl@1`,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:firecrawl@1`,config:{extraction_prompt:`Extract the company mission as well as the latest news.`,enable_full_domain_crawl:!0,enable_web_search:!0,json_schema:{type:`object`,required:[`company_mission`,`latest_news`],properties:{company_mission:{type:`string`},latest_news:{type:`string`}}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"person:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:email:validate:millionverifier@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"website:scrapelist:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrapelist:firecrawl@1`,config:{scrape_main_only:!0,formats:[`markdown`,`links`]}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"website:maplinks:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:maplinks:firecrawl@1`,config:{sitemap:`include`,page_limit:20,search:``}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"contact:create:resend@1":[{config:{environment:`production`},pipes:[{pipe_id:`contact:create:resend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`resend_123`}]},config:{segment_id:`segment_id_12xeeb12`,add_as_subscribed:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:append@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:append@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[{field_name:`field_name`}]}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:expandappend@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:expandappend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"people:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"person:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:match:logodev@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:match:logodev@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:lookalikes:companyenrich@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:lookalikes:companyenrich@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"person:posts:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:posts:crustdata@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-doe-3445`}]}],"people:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"person:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"company:match:crustdata@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@2`}],input:[{id:`1`,company_domain:`microsoft.com`}]}],"company:identity:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity:crustdata@1`}],input:[{id:`1`,company_domain:`samsung.com`},{id:`2`,company_name:`Samsung`}]}],"person:identity:amplemarket@1":[{pipes:[{pipe_id:`person:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"person:match:amplemarket@1":[{pipes:[{pipe_id:`person:match:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,profile_url:`https://linkedin.com/li/johndoe`}]}],"field:domainify@1":[{pipes:[{pipe_id:`field:domainify@1`}],input:[{id:`1`,url_input:`https://google.com`}]}],"field:slugify@1":[{pipes:[{pipe_id:`field:slugify@1`}],input:[{id:`1`,string_input:`input value`}]}],"http:request@1":[{pipes:[{pipe_id:`http:request@1`,config:{method:`GET`,url:`https://api.example.com/v1/companies/{{ company_name }}`,query_params:[{key:`limit`,value:`10`}],body:``,headers:[{key:`Authorization`,value:`Bearer SECRET`}],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}],input:[{id:`1`,company_name:`Acme`}]}]};function Yw(e){let t=[];for(let n of e){if(n instanceof U){t.push(n);continue}let e=mw.parse(n);if(!hw(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(uw(n.pipe_id))(e);t.push(r)}return t}function Xw(e,t){let n=Yw(e),r=new Set;return n.forEach(e=>Object.entries(e.inputFields).forEach(([n,i])=>{i.resolvedName===t&&r.add(e.pipeId)})),Array.from(r)}function Zw(e,t){let n=e.dependencyGraph,r=new Set;return n.forEach((e,n)=>e.forEach(e=>{e.index===t&&r.add(n)})),Array.from(r).map(t=>{let n=e.orderedPipeInstances[t];if(!n)throw Error(`Internal: Pipe with index ${t} not found.`);return n.pipeId})}const Qw=.1,$w=[`level1`,`level2`,`level3`];function eT(e,t){let n=$w[t-1];if(n)return e[n]}function tT(e,t){for(let n=t;n>=1;n--){let t=eT(e,n);if(t)return{level:n,tier:t}}}function nT(e){let t=[];for(let n=1;n<=3;n++){let r=eT(e,n);r&&t.push({level:n,credits:r.credits,weight:r.weight})}return t}function rT(e){if(e.default<.1)return!1;let t=nT(e);if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t[e].level!==e+1)return!1;let n=e.default,r=0;for(let e of t){if(!(e.credits<n)||!Number.isInteger(e.weight)||e.weight<=r)return!1;n=e.credits,r=e.weight}return!0}function iT(){let e=new Map;for(let t of Object.values(cw))for(let[n,r]of Object.entries(t.billableOperations)){let i=r;if(!i?.allowManagedConnection||!rT(i.credits))continue;let a=n,o={kind:`pipe`,id:t.pipeId,label:t.label,categories:[...t.categories]},s=e.get(a);if(s){s.standardCredits=Math.min(s.standardCredits,i.credits.default),s.usedBy.push(o);continue}e.set(a,{billableOperation:a,provider:i.provider,kind:`pipe`,standardCredits:i.credits.default,tiers:nT(i.credits),usedBy:[o]})}for(let t of Object.values(BC)){let{cost:n}=t;if(!rT(n.credits))continue;let r=t.billableOperation,i={kind:`search`,id:t.searchId,label:t.label,categories:[...t.categories]},a=e.get(r);if(a){a.standardCredits=Math.min(a.standardCredits,n.credits.default),a.usedBy.push(i);continue}e.set(r,{billableOperation:r,provider:t.provider,kind:`search`,standardCredits:n.credits.default,tiers:nT(n.credits),usedBy:[i]})}return[...e.values()].sort((e,t)=>e.billableOperation.localeCompare(t.billableOperation))}function aT(e){return e===`localhost`?!0:/^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)&&e.includes(`.`)}function oT(e){return/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.test(e)?e.split(`.`).every(e=>{let t=parseInt(e,10);return t>=0&&t<=255}):/:/.test(e)}function sT(e){if(!e||typeof e!=`string`)return``;let t=e.trim();t.match(/^[a-zA-Z]+:\/\//)||(t=`https://${t}`);try{let e=new URL(t).hostname;if(oT(e))return`https://${e}`;if(!aT(e))throw Error(`Invalid domain`);return`https://${e}`}catch{let t=e.match(/([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}/i);return t?`https://${t[0]}`:``}}function cT(e){if(!e||typeof e!=`string`)return``;let t=e.trim();t.match(/^[a-zA-Z]+:\/\//)||(t=`https://${t}`);try{let e=new URL(t),n=e.hostname;if(oT(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!aT(n))throw Error(`Invalid domain`);return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`}catch{let t=e.match(/^(https?:\/\/)?([^/\s]+)(\/.*)?$/i);if(t){let[,e,n,r=``]=t,i=n?.split(`:`)[0]||``;if(aT(i)||oT(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function lT(e){try{return sT(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function uT(e,t){if(t)switch(e){case`website_url`:return lT(t);default:return}}function dT(e){let t;if(fT(e))return dT(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function fT(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&wn.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&fT(e.value,t++))throw new $([Q.RecursiveExpandedValue()]);return!0}return!1}function pT(e){let t=fT(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function mT(e){return fT(e)?mT(e.value):e}function hT(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=on(e,n.format)?.getStaticWidgets?.(t),i=uT(n.format,t);return Qx(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function gT(e,t,n){if(t==null)return{};try{let r=on(e,n)?.getStaticWidgets?.(t),i=uT(n,t);return Qx(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function _T(e,t){for(let[n,r]of Object.entries(t)){let i=n;i===`type`&&e.type===`unknown`&&t.type!==`unknown`&&(e.type=t.type),i!==`type`&&i!==`json_metadata`&&(e[i]===void 0||e[i]===null||e[i]===``)&&t[i]&&(e[i]=r),i===`json_metadata`&&e.type===`json`&&!e.json_metadata&&t.json_metadata&&(e.json_metadata=t.json_metadata)}return e}var vT=class e{annotations;constructor(e){this.annotations=e||{}}getAnnotation(e){return this.annotations[e]}static fromInput(t,{probeCount:n=1e5,inferCatalogFields:i=!0}={probeCount:1e5,inferCatalogFields:!0}){let a={},o=0;for(let e of t){if(o++,o>n)break;for(let[t,n]of Object.entries(e)){if(t===``||t==null)continue;let{resolvedInputValue:e,expandedValue:o,isExpanded:s}=pT(n),c;c=s&&o.type?o.type:dT(e);let l;sn(t)&&(l=_(t));let u=l&&(l.type===c||c===`unknown`);(!a[t]||a[t].type===`unknown`&&c!==`unknown`)&&(a[t]={type:c===`unknown`&&u&&i&&l?.type?l.type:c,format:u&&i&&l?.format||null,label:l&&i?l.label:null,json_metadata:u&&i&&l?.jsonMeta?{schema:l.jsonMeta.zodSchema?r.toJSONSchema(l.jsonMeta.zodSchema):null,example_value:l.jsonMeta.exampleValue||null}:null})}}return a.id||={format:null,type:`string`,json_metadata:null,label:null},new e(a)}merge(t,n=!1){let r=structuredClone(this.annotations),i=t instanceof e?t.annotations:t;for(let[e,t]of Object.entries(i))if(r[e]===void 0||n)r[e]=t;else{let n=r[e];r[e]=_T(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function yT(e){let t={};for(let n=0;n<e.length;n++){let r=e[n];Object.values(r.getOutputFields()).forEach(e=>{if(t[e.resolvedName])throw new $([Q.AmbiguousDependency({fieldName:e.resolvedName})]);t[e.resolvedName]=n})}return t}function bT(e){let t=yT(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of ja(i.getInputRequirement())){let o=t[n.resolvedName];if(r===o)throw new $([{code:`SelfReference`,message:`Pipe '${i.pipeId} has an input requirement that points to a field that is produced by itself.'`}]);if(o==null)continue;let s=e.find(e=>e.index===o);s?(s.reason??=[],s.reason=Array.from(new Set([...s.reason,`input`])),s.required=a||s.required):e.push({index:o,required:a,reason:[`input`]})}if(i.payload.run_if){let n=i.payload.run_if.when.conditions.map(e=>e.field_name);for(let r of n){let n=t[r];if(n==null)continue;let i=e.find(e=>e.index===n);i?(i.reason??=[],i.reason=Array.from(new Set([...i.reason,`input`])),i.required=!0):e.push({index:n,required:!0,reason:[`input`]})}}n.push(e)}return n}function xT({config:e,pipes:t,input:n,field_annotations:r}){try{let i=TT({config:e,pipes:t,input:n,fieldAnnotations:r});return ST(i),i}catch(e){throw e instanceof $?e:new $([Q.ValidationFailed({error:e})])}}function ST(e){for(let t of e.orderedPipeInstances)for(let{field:n}of ja(t.getInputRequirement()))Xm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),Zm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function CT(e,t){if(!e&&!t)throw new $([Q.MustDefineAnnotations()]);return new vT(t||{}).merge(vT.fromInput(e||[]))}function wT(e,t){let n={...t};return e.pipes.forEach((t,r)=>{for(let[i,a]of Object.entries(t.getOutputFields())){let i=n[a.resolvedName];if(i&&i.added_by.ref!==`input`)throw new $([Q.DuplicatePipeOutput({pipeId:t.pipeId,outputField:a})]);n[a.resolvedName]={type:Xm(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:Zm(e,a.format),is_primary_output:a.isPrimaryOutput}}}),n}function TT(e){let t=Yw(e.pipes),n=CT(e.input,e.fieldAnnotations),r={},i=new Set;t.forEach((e,t)=>{Object.entries(e.getOutputFields()).forEach(([e,t])=>{r[t.resolvedName]=e,i.add(t.resolvedName)}),OT(e,t)});let a={},o={};for(let[e,t]of Object.entries(n.annotations))o[e]={type:t.type,added_by:{ref:`input`,config_hash:null,pipe_index:null},label:t.label||``,format:t.format?t.format:null,is_primary_output:!1},!i.has(e)&&(a[e]={addedBy:`input`,required:!1,type:t.type,label:t.label||e});let[s,c,l]=ET(t,n),u=wT({pipes:c,derivedInputFields:a},o);for(let e in u){let t=u[e];r[e]&&(n=n.merge({[e]:{type:t.type,format:t.format,json_metadata:null,label:n.annotations[e]?.label?n.annotations[e]?.label:null}},!0))}return{environment:e.config.environment,dependencyGraph:l,derivedInputFields:a,fieldAnnotations:n,orderedPipePayloads:s,orderedPipeInstances:c,resolvedFieldNames:r,fieldDefinitions:u}}function ET(e,t){let n=bT(e),r=DT(n,e,t),i=[],a=[];return r.forEach(t=>{let n=e[t];if(!n)throw new $([Q.FaultyEnrichmentOrder()]);i.push(n.payload),a.push(n)}),[i,a,n]}function DT(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?ja(n.getInputRequirement()).length>0:!1},l=(n,r=[])=>{if(o.has(n)){let e=n,i=r[r.length-1]||0,a={idx:i,pipe_id:t[i]?.pipeId},o={idx:e,pipeId:t[e]?.pipeId};throw new $([Q.CircularDependency({currentPipe:a,circularPipe:o})])}if(a.has(n))return;o.add(n),r.push(n);let s=e[n]||[];for(let e of s)l(e.index,r);r.pop(),o.delete(n),a.add(n),i.push(n)};function u(t){if(a.has(t))return;o.add(t);let n=e[t]||[];for(let e of n){if(!a.has(e.index)&&e.required)throw new $([Q.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let ee=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{ee.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Aa(a,ee)||s.push(Q.RequirementUnmet({requirement:a,pipeId:r.pipeId,index:n}));let o=e[n]||[],c=i.indexOf(n);for(let e of o){let r=i.indexOf(e.index);e.required&&r>c&&s.push(e.reason.includes(`input`)?Q.HardInputDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}):Q.HardConditionDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}))}r.payload.run_if&&r.payload.run_if.when.conditions.map(e=>e.field_name).forEach(e=>{if(!ee.has(e))throw new $([Q.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new $(s);return i}function OT(e,t){let n=new Set(e.getConnectionsRequirements().filter(e=>e.allowManagedConnection===!1).map(e=>e.provider));if(n.size>0){let r=e.payload.connector;if(!r||(r.connections.map(e=>{if(e.type===`vault`)return Xr(e.connection).provider;e.type}).forEach(e=>{e&&n.delete(e)}),n.size>0))throw new $([Q.MissingCustomConnections({index:t,pipeId:e.pipeId,missingProviders:Array.from(n)})])}}const kT=[`yyyy-MM-dd`,`yyyy/MM/dd`,`yyyy-MM-dd HH:mm:ss`,`MM/dd/yyyy`,`MM/dd/yyyy HH:mm:ss`,`MM-dd-yyyy`,`MM-dd-yyyy HH:mm:ss`,`yyyyMMdd`],AT=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],jT=r.string().trim().transform(e=>{if(!/\./.test(e)&&!/^[a-zA-Z0-9_-]*$/.test(e))throw Error(`Invalid URL format`);let t=String(e).trim();if(/^https?:\/\//i.test(t)||(t=`https://${t}`),t=t.replace(/^http:\/\//i,`https://`),t=t.replace(/^https:\/\/[w]{4,}\./i,`https://www.`),t=t.endsWith(`/`)?t.slice(0,-1):t,!t.includes(`.`))throw Error(`Invalid URL format - no TLD`);return t}).check(e=>{r.url(e.value).safeParse(e.value).success||e.issues.push({code:`custom`,message:`Invalid URL`,input:e.value})}),MT=r.coerce.string().trim().toLowerCase().transform(e=>{let t=e.replace(/^mailto:/i,``),[n,r]=t.split(`@`);return!r||!n?t:`${n.replace(/[^a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]/g,``)}@${r.replace(/\s+/g,``)}`}).check(e=>{r.email().safeParse(e.value).success||e.issues.push({code:`custom`,input:e.value,message:`Invalid email format`})});function NT(e){return!isNaN(e.getTime())}const PT=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of kT){let n=ee(t,e,new Date(0));if(NT(n))return u(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),FT=r.coerce.string().trim().transform(e=>{for(let t of AT){let n=ee(e,t,new Date(0));if(NT(n))return u(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),IT=r.union([r.number(),r.string().transform(e=>{let t=e.replace(/[^0-9.]/g,``),n=parseFloat(t);if(isNaN(n))throw Error(`Invalid decimal format`);return n})]).refine(e=>!isNaN(e),{message:`Value must be a valid number`}),LT=r.union([r.number().transform(e=>Math.trunc(e)),r.string().transform(e=>{let t=e.replace(/[^0-9]/g,``),n=parseInt(t,10);if(isNaN(n))throw Error(`Invalid integer format`);return n})]).check(r.int()),RT=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function zT(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return jT.parse(e);case`email`:return MT.parse(e);case`datetime`:return PT.parse(e);case`date`:return FT.parse(e);case`decimal`:return IT.parse(e);case`int`:return LT.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return RT.parse(e);case`website_url`:return jT.parse(e);case`profile_url`:return jT.parse(e);case`zip_code`:return RT.parse(e);case`markdown`:case`phone`:case`text`:return RT.parse(e);case`json_object`:return r.record(r.any(),r.any()).parse(e);case`json_list`:return r.array(r.any()).parse(e);case`json_list_string`:return r.array(r.string()).parse(e);default:throw Error(`Unknown format: ${t}`)}}catch(r){throw r instanceof n?Error(`Unable to parse value ${nd(e)} into format ${t}: ${r.message}`):r}}function BT(e,t,n){let r={};for(let[i,a]of Object.entries(e.derivedInputFields)){let e=t.field_definitions[i]?.format||null,o=n[i]??null;if(fT(o))o.resolved_by?.ref===`input`?r[i]={value:o.value,type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:o.value==null?null:{ref:`input`,config_hash:null,input_hash:null,environment:o.resolved_by.environment||null},reason:null,status:o.value===null?`pending`:`completed`,widgets:o.widgets||{},format:o.format||e}:r[i]={value:o.value,type:a.type,claimed_by:o.claimed_by||{ref:`input`,config_hash:null},resolved_by:o.resolved_by?o.resolved_by:o.value==null?null:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:o.reason||null,status:o.status,widgets:o.widgets||{},format:o.format||e};else if(o!=null)try{r[i]={value:zT(o,e),type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:null,status:`completed`,widgets:{},format:e}}catch{r[i]={value:o,type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:{code:`InvalidValue`,summary:`Invalid`,message:`This field expects a value of format ${e}.`},status:`failed`,widgets:{},format:e}}else r[i]={type:a.type,value:o,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:null,config_hash:null,input_hash:null,environment:null},reason:null,status:`pending`,widgets:{},format:e}}return r}function VT(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];i.id||=crypto.randomUUID();let{id:a}=i;if(typeof a!=`string`&&typeof a!=`number`){n.errors.push(Q.InvalidId());continue}if(n.records[a]){n.errors.push(Q.IDConflict({index:r,id:a}));continue}n.order.push(a),n.records[a]={id:a,fields:BT(e,n,i)}}}function HT({context:e,input:t,config:n={}}){let r={field_definitions:e.fieldDefinitions,order:[],errors:[],records:{},queued_record_ids:new Set,adopted_record_ids:new Set};try{VT(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=UT(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,WT(e,r,n?.queue?.enabled),XT(e,r),r.errors.length>0)throw new $(r.errors);return r}catch(e){throw e instanceof $?e:new $([Q.ResponseGenerationFailed({error:e})])}}function UT(e,t,n,r){let i=[],a=[];for(let o=0;o<e.orderedPipePayloads.length;o++){let s=e.orderedPipePayloads[o],c=e.orderedPipeInstances[o];if(!c){n.errors.push(Q.UnknownResolver({pipeId:s.pipe_id,index:o}));continue}let{queuedRecordIds:l,adoptedRecordIds:u}=YT(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function WT(e,t,n){if(!n)return;let r=(t,n,r,i)=>{Object.values(t.getOutputFields()).forEach(a=>{let o=i.fields[a.resolvedName];if(!o)throw Error(`Internal: Output field ${$h(a)} not found`);o.status===`queued`&&(o.status=`skipped`,o.resolved_by={ref:`system`,environment:e.environment,config_hash:t.getConfigHashKey(),input_hash:t.getInputHashKey(i)},o.value=null,o.reason={code:`InputError`,message:`Field ${$h(n)} is missing but required (${r.value?`the value is`:`it has status`}: '${r.value?r.value:r.status}').`,summary:`Missing input`})})};for(let n=0;n<e.orderedPipePayloads.length;n++){let i=e.orderedPipePayloads[n],a=e.orderedPipeInstances[n];if(!a){t.errors.push(Q.UnknownResolver({pipeId:i.pipe_id,index:n}));continue}Object.values(t.records).forEach(e=>{let{valid:t,failedPipeInputField:n,failedRecordField:i}=Ma(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function GT({inputHashKey:e,configHashKey:t,config:n,expandedValue:r}){return!!(n.queue?.triggers?.configHashMismatch&&n.queue.enabled&&r.resolved_by?.config_hash&&t&&r.resolved_by.config_hash!==t||n.queue?.triggers?.inputHashMismatch&&n.queue.enabled&&r.resolved_by?.input_hash&&e&&r.resolved_by.input_hash!==e)}function KT({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function qT({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return GT({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||KT({status:n.status,config:r})}function JT({inputHashKey:e,configHashKey:t,expandedValue:n}){let r=!1;return n.resolved_by?.config_hash&&t&&n.resolved_by.config_hash!==t&&(n.resolved_by.config_hash=t,r=!0),n.resolved_by?.input_hash&&e&&n.resolved_by.input_hash!==e&&(n.resolved_by.input_hash=e,r=!0),{didAdopt:r}}function YT(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let[l,u]=a[c];for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:ee}=a,te=Xm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},ee),ne=Zm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:d,isExpanded:re,expandedValue:f}=pT(t[c]?.[l]??null),ie=u.fields[l],p=n.getConfigHashKey(),ae=n.getInputHashKey(u),oe={type:te,format:ne,claimed_by:{ref:n.pipeId,config_hash:p}};if(r.errors.length>0&&d===null){u.fields[l]={...oe,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:d===void 0?n.pipeId:`input`,config_hash:d===void 0?p:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let se=dT(d);if(se!==`unknown`&&se!==te){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={...oe,value:t?null:d,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:f?.widgets||ie?.widgets||{},format:t?ne:f?.format||ne};continue}if(d==null){let t=re&&i.queue?.enabled&&(f.status===`pending`||f.status===`skipped`),n=re&&!t;if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=JT({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}if(re&&f.status!==`pending`&&qT({inputHashKey:ae,configHashKey:p,config:i,expandedValue:f})&&i.queue?.enabled)o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae},widgets:{}};else if(n)u.fields[l]={...oe,value:null,status:f.status,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||null,widgets:f.widgets||{},format:f.format||ne};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:null,widgets:{}}}continue}if(re){if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=JT({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}qT({inputHashKey:ae,configHashKey:p,expandedValue:f,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={...oe,value:d,status:`completed`,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:f.widgets||ie?.widgets||{},format:f.format||ne}}else try{let e=zT(d,ne);u.fields[l]={...oe,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ie?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:d,status:t,reason:{code:`InvalidFormat`,message:`Field is of invalid format. Expected: ${a.format}`,summary:`Invalid Format`},resolved_by:{ref:`system`,environment:e.environment,config_hash:p,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function XT(e,t){Object.values(t.records).forEach(n=>{Object.entries(n.fields).forEach(([n,r])=>{let i=e.resolvedFieldNames[n]||n;if(r.status===`completed`){let e=hT(i,r.value,r);r.widgets=Qx(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function ZT(e,t){let{expandAllStatuses:n=!1,expandStatuses:r=[]}=t||{},i={};for(let[t,a]of Object.entries(e))(r.includes(a.status)||n)&&t!==`id`?i[t]={...a}:i[t]=a.value;return i}function QT(e,t={}){return Object.values(e).map(e=>ZT(e.fields,t))}function $T(e,t={}){return e.map(e=>ZT(e.fields,t))}function eE(e,t={}){return ZT(e.fields,t)}function tE(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=pT(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function nE(e){let t=pr[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const rE=[`people:profiles:icypeas@1`,`companies:profiles:icypeas@1`,`people:profiles:clado@1`,`people:profiles:clado@2`,`people:employees:leadmagic@1`,`companies:profiles:exa@1`,`people:profiles:exa@1`,`companies:profiles:crustdata@1`,`people:profiles:crustdata@1`],iE=r.enum(rE);function aE(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}function oE(e,t){let n={name:e,config:t};return Ia.hashObject(n)}var sE=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}catalogOutput(e){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:e.type,format:e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}getHashKey(){return oE(this.searchId,this.payload)}};function cE(e){return e.split(`@`)[0]}function lE(e){return`/docs/search-catalog/${cE(e)}/${e.split(`@`)[1]}`}const uE=`companies:profiles:crustdata@1`,dE=_(`company_name`),fE=_(`company_website_url`),pE=_(`company_description`),mE=_(`company_profile_url`),hE=_(`crustdata_company_match`),gE=r.object({search_id:r.literal(uE),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),cursor:xa({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[dE.name]:N({fieldName:dE.name}),[fE.name]:N({fieldName:dE.name}),[pE.name]:N({fieldName:pE.name}),[mE.name]:N({fieldName:mE.name}),[hE.name]:N({fieldName:hE.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:F({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:F({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:F({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,options:m(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),linkedin_industries:F({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),linkedin_categories:F({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),headcount:P({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:_a({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:P({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,disableSearch:!0,required:!1,options:m(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}),last_funding_amount:_a({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:A({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:`Ex. 'google.com'`,groupPath:`config.filters.competitors`})}).check(e=>{aE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),_E={default:{input:[{fields:[]}]}},vE=class extends sE{searchId=uE;schema=gE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[dE.name]:this.catalogOutput(dE),[fE.name]:this.catalogOutput(fE),[pE.name]:this.catalogOutput(pE),[mE.name]:this.catalogOutput(mE),[hE.name]:this.catalogOutput(hE)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return _E}},yE=gE,bE={searchId:uE,billableOperation:`companies-profiles-crustdata`,baseSearch:cE(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:lE(uE),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:uE,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:[],headcount_growth_last_6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:[],linkedin_industries:[],linkedin_categories:[],crunchbase_categories:[],markets:[],revenue_in_usd:{from:null,to:null},crunchbase_investors:[],tracxn_investors:[],follower_growth_last_6m_in_percent:[],headcount:[],hq_locations:[],number_of_followers:[],profile_summary_keywords:[],competitor_websites:[]}}}},xE=`companies:profiles:exa@1`,SE=_(`company_name`),CE=_(`company_website_url`),wE=_(`company_description`),TE=_(`company_industry`),EE=_(`headcount`),DE=_(`exa_match_evaluation`),OE=r.object({search_id:r.literal(xE),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[SE.name]:N({fieldName:SE.name}),[CE.name]:N({fieldName:SE.name}),[wE.name]:N({fieldName:wE.name}),[TE.name]:N({fieldName:TE.name}),[EE.name]:N({fieldName:EE.name}),[DE.name]:N({fieldName:DE.name})})),filters:r.object({query:Sa({sectionKey:`config.filters`,path:`config.filters.query`,placeholder:`e.g. Top AI research labs focusing on large language models`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),kE={default:{input:[{fields:[]}]}},AE=class extends sE{searchId=xE;schema=OE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[SE.name]:this.catalogOutput(SE),[CE.name]:this.catalogOutput(CE),[wE.name]:this.catalogOutput(wE),[TE.name]:this.catalogOutput(TE),[EE.name]:this.catalogOutput(EE),[DE.name]:this.catalogOutput(DE)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return kE}},jE=OE,ME={searchId:xE,billableOperation:`companies-profiles-exa`,baseSearch:cE(`companies:profiles:exa@1`),label:`Company finder (websets)`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Semantic AI search to find company profiles. This search can take several minutes.`,tags:[B.COMPANY_PROFILES],docPath:lE(xE),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:xE,connector:null,config:{limit:10,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_industry:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},headcount:{enabled:!0,alias:``},exa_match_evaluation:{enabled:!1,alias:``}},filters:{query:``}}}},NE=`companies:profiles:icypeas@1`,PE=_(`company_industry`),FE=_(`company_name`),IE=_(`company_description`),LE=_(`company_website_url`),RE=_(`headcount`),zE=_(`company_region`),BE=_(`company_profile_url`),VE=_(`icypeas_company_match`),HE=r.object({search_id:r.literal(NE),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:5e4,min:1,path:`config.limit`,required:!0,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({company_name:N({fieldName:FE.name}),company_industry:N({fieldName:PE.name}),company_description:N({fieldName:IE.name}),company_website_url:N({fieldName:LE.name}),headcount:N({fieldName:RE.name}),company_region:N({fieldName:zE.name}),company_profile_url:N({fieldName:BE.name}),icypeas_company_match:N({fieldName:VE.name})})),filters:r.object({name:j({path:`config.filters.name`,sectionKey:`config.filters`,includeLabel:`Company names to include`,excludeLabel:`Company names to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:100}).optional(),type:M({path:`config.filters.type`,sectionKey:`config.filters`,label:``,description:``,placeholder:``,includeLabel:`Company types to include`,excludeLabel:`Company types to exclude`,optionsDef:{type:`static`,options:[{value:`Privately Held`,label:`Privately Held`},{value:`Public Company`,label:`Public Company`},{value:`Sole Proprietorship`,label:`Sole Proprietorship`},{value:`Self-Employed`,label:`Self-Employed`},{value:`Partnership`,label:`Partnership`},{value:`Nonprofit`,label:`Nonprofit`},{value:`Educational Institution`,label:`Educational Institution`},{value:`Government Agency`,label:`Government Agency`}]},groupPath:`config.filters.company_information`}).optional(),industry:M({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:h(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:``,placeholder:`US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:20}).optional(),headcount:_a({path:`config.filters.headcount`,sectionKey:`config.filters`,legend:`1-1M`,label:`Headcount`,description:``,min:1,max:1e6,unit:`employees`,groupPath:`config.filters.company_size`}).optional(),urn:j({path:`config.filters.urn`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,excludeLabel:`URNs to exclude`,includeLabel:`URNs to include`,maxItems:200}).optional(),lid:j({path:`config.filters.lid`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,includeLabel:`LinkedIn IDs to include`,excludeLabel:`LinkedIn IDs to exclude`,maxItems:200}).optional()}).check(e=>{aE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),UE={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},WE=class extends sE{searchId=NE;schema=HE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[FE.name]:this.catalogOutput(FE),[PE.name]:this.catalogOutput(PE),[BE.name]:this.catalogOutput(BE),[LE.name]:this.catalogOutput(LE),[IE.name]:this.catalogOutput(IE),[RE.name]:this.catalogOutput(RE),[zE.name]:this.catalogOutput(zE),[VE.name]:this.catalogOutput(VE)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return UE}},GE=HE,KE={searchId:NE,billableOperation:`companies-profiles-icypeas`,baseSearch:cE(`companies:profiles:icypeas@1`),label:`Find company profiles`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search a filter-based, general-purpose company database.`,tags:[B.COMPANY_PROFILES],docPath:lE(NE),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:NE,connector:null,config:{limit:100,output_fields:{company_name:{alias:``,enabled:!0},icypeas_company_match:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0},company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0}},filters:{name:{include:[],exclude:[]},type:{include:[],exclude:[]},industry:{include:[],exclude:[]},location:{include:[],exclude:[]},headcount:{},urn:{include:[],exclude:[]},lid:{include:[],exclude:[]}}}}},qE=`people:profiles:clado@1`,JE=_(`name`),YE=_(`job_title`),XE=_(`company_name`),ZE=_(`company_profile_url`),QE=_(`profile_url`),$E=_(`clado_person_match`),eD=r.object({search_id:r.literal(qE),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,required:!0,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(20),output_fields:R(r.object({[JE.name]:N({fieldName:JE.name}),[YE.name]:N({fieldName:YE.name}),[ZE.name]:N({fieldName:ZE.name}),[XE.name]:N({fieldName:XE.name}),[QE.name]:N({fieldName:QE.name}),[$E.name]:N({fieldName:$E.name})})),filters:r.object({query:Sa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),tD={default:{input:[{fields:[{outputField:`profile_url`}]}]}},nD=class extends sE{searchId=qE;schema=eD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[JE.name]:this.catalogOutput(JE),[YE.name]:this.catalogOutput(YE),[XE.name]:this.catalogOutput(XE),[QE.name]:this.catalogOutput(QE),[ZE.name]:this.catalogOutput(ZE),[$E.name]:this.catalogOutput($E)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return tD}},rD=eD,iD={searchId:qE,billableOperation:`people-profiles-clado`,baseSearch:Pt(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search through millions of LinkedIn profiles using natural language queries. This endpoint provides fast searching with AI-powered relevance matching.`,tags:[B.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:qE,connector:null,config:{limit:20,output_fields:{company_name:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},clado_person_match:{enabled:!0,alias:``}},filters:{query:``}}}},aD=`people:profiles:clado@2`,oD=_(`name`),sD=_(`job_title`),cD=_(`company_name`),lD=_(`company_profile_url`),uD=_(`profile_url`),dD=_(`clado_person_match_v2`),fD=r.object({search_id:r.literal(aD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,required:!0,max:1e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),search_id:xa({sectionKey:`general`,path:`config.search_id`,inputType:`text`,groupPath:`config.continue_existing_search`,label:`Search id`,description:`The id of the search you want to continue`}).default(``),offset:L({sectionKey:`general`,path:`config.offset`,required:!1,groupPath:`config.continue_existing_search`,label:`Offset`,max:1e5,min:1,description:`To continue the previous search, provide both the search_id and the last offset.`}),output_fields:R(r.object({[oD.name]:N({fieldName:oD.name}),[sD.name]:N({fieldName:sD.name}),[lD.name]:N({fieldName:lD.name}),[cD.name]:N({fieldName:cD.name}),[uD.name]:N({fieldName:uD.name}),[dD.name]:N({fieldName:dD.name})})),filters:r.object({query:Sa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:0,maxLength:2e4}).default(``)}).optional()})}).check(e=>{let t=!!e.value.config.filters?.query,n=!!e.value.config.search_id&&!!e.value.config.offset;!t&&!n&&e.issues.push({code:`custom`,input:``,message:`Must define either 'query' or both 'searchId' AND 'offset'.`,path:[`config.filters.query`]})}),pD={default:{input:[{fields:[{outputField:`profile_url`}]}]}},mD=class extends sE{searchId=aD;schema=fD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[oD.name]:this.catalogOutput(oD),[sD.name]:this.catalogOutput(sD),[cD.name]:this.catalogOutput(cD),[uD.name]:this.catalogOutput(uD),[lD.name]:this.catalogOutput(lD),[dD.name]:this.catalogOutput(dD)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return pD}},hD=fD,gD={searchId:aD,billableOperation:`people-profiles-clado`,baseSearch:Pt(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search a growing dataset with semantic queries.`,tags:[],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_page`,creditsPerPage:3},provider:`clado`,defaultPayload:{search_id:aD,connector:null,config:{limit:100,search_id:``,offset:void 0,output_fields:{company_name:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},clado_person_match_v2:{enabled:!0,alias:``}},filters:{query:``}}}},_D=`people:employees:leadmagic@1`,vD=_(`name`),yD=_(`job_title`),bD=_(`company_website_url`),xD=_(`company_name`),SD=r.object({search_id:r.literal(_D),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:500,min:1,required:!0,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(50),output_fields:R(r.object({[vD.name]:N({fieldName:vD.name}),[xD.name]:N({fieldName:xD.name}),[bD.name]:N({fieldName:bD.name}),[yD.name]:N({fieldName:yD.name})})),filters:r.object({company_website_url:xa({path:`config.filters.company_website_url`,sectionKey:`config.filters`,groupPath:`config.filters.website`,inputType:`text`,description:`URL of the employer company.`,label:`Company Website URL`})})})}),CD={default:{input:[{fields:[{outputField:bD.name}]}]}},wD=class extends sE{searchId=_D;schema=SD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[vD.name]:this.catalogOutput(vD),[yD.name]:this.catalogOutput(yD),[bD.name]:this.catalogOutput(bD),[xD.name]:this.catalogOutput(xD)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return CD}},TD=SD,ED={searchId:_D,billableOperation:`people-employees-leadmagic`,baseSearch:cE(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[B.PEOPLE_PROFILES],docPath:lE(_D),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:_D,connector:null,config:{limit:50,output_fields:{name:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0}},filters:{company_website_url:``}}}},DD=`people:profiles:crustdata@1`,OD=_(`name`),kD=_(`company_website_url`),AD=_(`profile_url`),jD=_(`job_title`),MD=_(`crustdata_person_match`),ND=r.object({search_id:r.literal(DD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of results`}).default(100),cursor:xa({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[OD.name]:N({fieldName:OD.name}),[kD.name]:N({fieldName:kD.name}),[AD.name]:N({fieldName:AD.name}),[jD.name]:N({fieldName:jD.name}),[MD.name]:N({fieldName:MD.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:g(`locations`),groupPath:`config.filters.general`}),profile_headline_keywords:ma({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:ma({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_languages:P({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),languages:P({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),current_employers:A({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`person.current_employer_names.crustdata`)}),current_employers_website_urls:A({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),current_employers_linkedin_industries:F({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`)}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employers_website_urls:A({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:A({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`person.past_employer_names.crustdata`)}),previous_job_titles:A({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employers_linkedin_industries:F({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`)}),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,description:``}),recently_changed_jobs:ba({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{aE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),PD={default:{input:[{fields:[]}]}},FD=class extends sE{searchId=DD;schema=ND;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[OD.name]:this.catalogOutput(OD),[kD.name]:this.catalogOutput(kD),[AD.name]:this.catalogOutput(AD),[jD.name]:this.catalogOutput(jD),[MD.name]:this.catalogOutput(MD)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return PD}},ID=ND,LD={searchId:DD,billableOperation:`people-profiles-crustdata`,baseSearch:cE(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:lE(DD),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:DD,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:[],languages:[],profile_summary_keywords:[],previous_job_titles:[],current_employers:[],current_school_names:[],years_at_current_company:[],certifications:[],honors:[],current_employers_linkedin_industries:[],current_employers_website_urls:[],previous_employers_website_urls:[],current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:[],locations:[],profile_languages:[],recently_changed_jobs:null,extracurricular_activities:[],school_names:[],fields_of_study:[],previous_employers:[],current_job_titles:[],skills:[],years_of_experience:[],previous_employers_linkedin_industries:[]}}}},RD=`people:profiles:exa@1`,zD=_(`name`),BD=_(`profile_url`),VD=_(`job_title`),HD=_(`company_name`),UD=_(`company_region`),WD=_(`exa_match_evaluation`),GD=r.object({search_id:r.literal(RD),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,required:!0,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[zD.name]:N({fieldName:zD.name}),[BD.name]:N({fieldName:BD.name}),[VD.name]:N({fieldName:VD.name}),[HD.name]:N({fieldName:HD.name}),[UD.name]:N({fieldName:UD.name}),[WD.name]:N({fieldName:WD.name})})),filters:r.object({query:Sa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),KD={default:{input:[{fields:[]}]}},qD=class extends sE{searchId=RD;schema=GD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[zD.name]:this.catalogOutput(zD),[BD.name]:this.catalogOutput(BD),[VD.name]:this.catalogOutput(VD),[HD.name]:this.catalogOutput(HD),[UD.name]:this.catalogOutput(UD),[WD.name]:this.catalogOutput(WD)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return KD}},JD=GD,YD={searchId:RD,billableOperation:`people-profiles-exa`,baseSearch:cE(`people:profiles:exa@1`),label:`People finder (websets)`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Semantic AI search for people profiles. This search can take several minutes.`,tags:[B.COMPANY_PROFILES],docPath:lE(RD),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:RD,connector:null,config:{limit:10,output_fields:{name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},company_name:{enabled:!0,alias:``},company_region:{enabled:!0,alias:``},exa_match_evaluation:{enabled:!1,alias:``}},filters:{query:``}}}},XD=`people:profiles:icypeas@1`,ZD=_(`name`),QD=_(`job_title`),$D=_(`profile_headline`),eO=_(`company_website_url`),tO=_(`company_profile_url`),nO=_(`profile_url`),rO=_(`icypeas_person_match`),iO=r.object({search_id:r.literal(XD),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,required:!0,max:5e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({[ZD.name]:N({fieldName:ZD.name}),[QD.name]:N({fieldName:QD.name}),[$D.name]:N({fieldName:$D.name}),[eO.name]:N({fieldName:eO.name}),[tO.name]:N({fieldName:tO.name}),[nO.name]:N({fieldName:nO.name}),[rO.name]:N({fieldName:rO.name})})),filters:r.object({firstname:j({path:`config.filters.firstname`,sectionKey:`config.filters`,includeLabel:`First names to include`,excludeLabel:`First names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),lastname:j({path:`config.filters.lastname`,sectionKey:`config.filters`,includeLabel:`Last names to include`,excludeLabel:`Last names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),currentJobTitle:j({path:`config.filters.currentJobTitle`,sectionKey:`config.filters`,includeLabel:`Current job titles to include`,excludeLabel:`Current job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.currentEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Include current employer domains`,excludeLabel:`Exclude current employer domains`,maxItems:100}).optional(),pastEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.pastEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Past employers website URLs to include`,excludeLabel:`Past employers website URLs to exclude`,maxItems:100}).optional(),pastJobTitle:j({path:`config.filters.pastJobTitle`,sectionKey:`config.filters`,includeLabel:`Past job titles to include`,excludeLabel:`Past job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentCompanyName:j({path:`config.filters.currentCompanyName`,sectionKey:`config.filters`,includeLabel:`Companies to include`,excludeLabel:`Companies to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),pastCompanyName:j({path:`config.filters.pastCompanyName`,sectionKey:`config.filters`,includeLabel:`Past employers to include`,excludeLabel:`Past employers to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),school:j({path:`config.filters.school`,sectionKey:`config.filters`,includeLabel:`Schools to include`,excludeLabel:`Schools to exclude`,label:``,description:``,placeholder:``,groupPath:`config.filters.education`,maxItems:200}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:`Filter by location`,placeholder:`e.g., US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:200}).optional(),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,includeLabel:`Languages to include`,excludeLabel:`Languages to exclude`,description:`ex. EN, ES`,groupPath:`config.filters.languages`,maxItems:200}).optional(),skills:j({path:`config.filters.skills`,sectionKey:`config.filters`,includeLabel:`Skills to include`,excludeLabel:`Skills to exclude`,description:``,placeholder:``,groupPath:`config.filters.skills`,maxItems:200}).optional(),keyword:j({path:`config.filters.keyword`,sectionKey:`config.filters`,includeLabel:`Keywords to include`,excludeLabel:`Keywords to exclude`,description:``,placeholder:`CEO, Sales, Scrum`,groupPath:`config.filters.general_search`,maxItems:200}).optional()}).check(e=>{aE(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),aO={default:{input:[{fields:[{outputField:`profile_url`}]}]}},oO=class extends sE{searchId=XD;schema=iO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ZD.name]:this.catalogOutput(ZD),[QD.name]:this.catalogOutput(QD),[$D.name]:this.catalogOutput($D),[eO.name]:this.catalogOutput(eO),[tO.name]:this.catalogOutput(tO),[nO.name]:this.catalogOutput(nO),[rO.name]:this.catalogOutput(rO)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aO}},sO=iO,cO={searchId:XD,billableOperation:`people-profiles-icypeas`,provider:`icypeas`,baseSearch:cE(XD),label:`Find people profiles`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search a filter-based, general-purpose lead database with people profiles.`,tags:[B.PEOPLE_PROFILES],docPath:lE(XD),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:XD,connector:null,config:{limit:100,output_fields:{company_profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_headline:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},icypeas_person_match:{enabled:!0,alias:``}},filters:{currentCompanyName:{include:[],exclude:[]},currentEmployersWebsiteUrls:{include:[],exclude:[]},pastEmployersWebsiteUrls:{include:[],exclude:[]},currentJobTitle:{include:[],exclude:[]},firstname:{include:[],exclude:[]},keyword:{include:[],exclude:[]},languages:{include:[],exclude:[]},lastname:{include:[],exclude:[]},location:{include:[],exclude:[]},pastCompanyName:{include:[],exclude:[]},pastJobTitle:{include:[],exclude:[]},school:{include:[],exclude:[]},skills:{include:[],exclude:[]}}}}},lO={"people:profiles:crustdata@1":FD,"companies:profiles:crustdata@1":vE,"companies:profiles:exa@1":AE,"people:profiles:exa@1":qD,"people:profiles:icypeas@1":oO,"companies:profiles:icypeas@1":WE,"people:employees:leadmagic@1":wD,"people:profiles:clado@1":nD,"people:profiles:clado@2":mD},uO={"people:profiles:crustdata@1":ID,"companies:profiles:crustdata@1":yE,"companies:profiles:exa@1":jE,"people:profiles:exa@1":JD,"people:profiles:icypeas@1":sO,"companies:profiles:icypeas@1":GE,"people:employees:leadmagic@1":TD,"people:profiles:clado@1":rD,"people:profiles:clado@2":hD},dO={"people:profiles:crustdata@1":LD,"companies:profiles:crustdata@1":bE,"companies:profiles:exa@1":ME,"people:profiles:exa@1":YD,"people:profiles:icypeas@1":cO,"companies:profiles:icypeas@1":KE,"people:employees:leadmagic@1":ED,"people:profiles:clado@1":iD,"people:profiles:clado@2":gD};function fO(e){return lO[e]}function pO(e){return uO[e]}function mO(e){return dO[e].defaultPayload}const hO=t.discriminatedUnion(`search_id`,Object.values(uO).map(e=>e)),gO=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=mO(e.search_id);return t?{...e,config:Ta(e?.config||{},t.config)}:e},hO);function _O(e){return Object.keys(dO[e].defaultPayload.config.output_fields)}const vO=Rn,yO=t.object({value:Tn,status:wn,type:Sn.optional(),format:Vn.nullable().optional(),resolved_by:qn.nullable().optional(),widgets:Ln.optional()}),bO=t.record(t.string(),yO.nullable()),xO=t.object({search:t.object({ref:iE}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(vO),meta:t.object({providers:t.object({clado:t.object({pagination:t.object({search_id:t.string().optional(),offset:t.number().optional()})}).optional(),crustdata:t.object({pagination:t.object({cursor:t.string().nullable()})}).optional()}).optional()})}),SO=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(bO),search_statuses:t.array(xO),organizationId:t.string()}).openapi(`SearchesResponseSchema`),CO=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),wO=CO.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),TO=t.object({config:wO.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(gO)}).openapi(`SearchesRequestSchema`);function EO(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function DO(){let e={};for(let t of Object.values(dO)){let{baseSearch:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=EO(e.searchId);return EO(t.searchId)-n})}),e}const OO=DO();function kO(e){let t=[];for(let[n,r]of Object.entries(OO)){let i=r[0];if(!i)throw Error(`Found empty entry`);i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||i.categories.includes(e))&&t.push({...i,baseSearch:n,latestVersion:EO(i.searchId)})}return t}function AO(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={};for(let e of n){if(e.lifecycle&&e.lifecycle.deprecatedOn){i.Deprecated??=[],i.Deprecated.push(e.searchId);continue}a[e.provider]??=[],a[e.provider].push(e.searchId);for(let t of _O(e.searchId))r[t]??=[],r[t].push(e.searchId);for(let t of e.tags)i[t]??=[],i[t].push(e.searchId)}return{searchIdsByOutputField:r,searchIdsByTag:i,searchIdsByProvider:a,sortedTagEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),searchEntriesByBaseSearch:OO}}function jO(e){return dO[e]}function MO(e){let t=jO(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function NO(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function PO(e){return NO(hw(e).allowedUserConnectionProviders)}function FO(e){return NO([ew(e).provider])}function IO(e){return NO([jO(e).provider])}const LO=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],RO=new Map(LO.map(e=>[e.id,e]));function zO(e){return RO.get(e)}function BO(){return LO}const VO={"people:profiles:amplemarket@1":[{search_id:`people:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@1":[{search_id:`companies:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@1":[{search_id:`people:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employers:{include:[],exclude:[]},current_employers_website_urls:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employers_linkedin_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employers:{include:[],exclude:[]},previous_employers_website_urls:{include:[],exclude:[]},previous_employers_linkedin_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@1":[{search_id:`companies:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}],"people:profiles:amplemarket@2":[{search_id:`people:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@2":[{search_id:`companies:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@2":[{search_id:`people:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employer_names:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employer_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},previous_employer_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@2":[{search_id:`companies:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}]};function HO(e,t,n){if(t==null)return{};try{let r=on(e,n)?.getStaticWidgets?.(t),i=uT(n,t);return Qx(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function UO(e){if(e instanceof tS)return e;let t=e.search_id,n=VC(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(WC.parse(e))}var WO=class extends rg{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function GO(e){let t=[];for(let n of e){if(n instanceof sE){t.push(n);continue}let e=n.search_id,r=fO(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(gO.parse(n));t.push(i)}return t}function KO(e){try{return GO(e.searches)}catch(e){throw e instanceof WO?e:new $([Q.ValidationFailed({error:e})])}}const qO=/[\\^$.+()|[\]{}]/g,JO=new Map;function YO(e){let t=JO.get(e);if(t)return t;let n=``;for(let t=0;t<e.length;t++){let r=e[t];r===`*`?n+=`.*`:r===`?`?n+=`.`:n+=r.replace(qO,`\\$&`)}let r=RegExp(`^${n}$`);return JO.set(e,r),r}function XO(e,t){return YO(t).test(e)}function ZO(e,t){if(!t||t.length===0)return!1;for(let n of t)if(XO(e,n))return!0;return!1}function QO(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!ZO(e,n)||r&&r.length>0&&ZO(e,r))}function $O(e,t){return QO(e,t?.providers)}function ek(e,t){if(!t)return!0;if(!QO(e,t.pipes))return!1;if(t.providers){let n=yw(e);if(n.length===0)return!0;if(!n.some(e=>$O(e,t)))return!1}return!0}function tk(e,t,n){return t?!(!QO(e,t.searches)||n!==void 0&&!$O(n,t)):!0}function nk(e,t,n){return t?!(!QO(e,t.searchesMulti)||n!==void 0&&!$O(n,t)):!0}function rk(e,t){return t?e.filter(e=>ek(e.pipeId,t)):e.slice()}function ik(e,t){return t?e.filter(e=>tk(e.searchId,t,e.provider)):e.slice()}function ak(e,t){return t?e.filter(e=>nk(e.searchId,t,e.provider)):e.slice()}function ok(e){let t=Object.values(e.billableOperations).map(e=>e.allowManagedConnection?e.credits.default:0);return Math.min(...t)}function sk(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function ck(e){return e.cost.credits.default}function lk(e){let t=cT(e);return te(t)||new URL(t).hostname}const uk=[`http://`,`https://`,`mailto:`],dk=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function fk(e){return e?pk(e):[]}function pk(e){let t=[],n=``,r=0,i=()=>{n&&=(t.push({type:`text`,value:n}),``)};for(;r<e.length;){let a=e[r],o=e[r+1];if(a===`\\`&&o!==void 0&&dk.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=mk(e,r+1,"`");if(n>-1){i(),t.push({type:`code`,value:e.slice(r+1,n)}),r=n+1;continue}}if(a===`*`&&o===`*`){let n=mk(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:pk(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=mk(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:pk(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=mk(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:pk(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=mk(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=mk(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(uk.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:pk(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function mk(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(hk(e,r,n))return r;r+=1}return-1}function hk(e,t,n){if(t+n.length>e.length)return!1;for(let r=0;r<n.length;r++)if(e[t+r]!==n[r])return!1;return!0}export{ti as AI_MODELS,ni as AI_MODEL_CATALOG,Qn as CatalogSchemaRefSchema,nr as ConditionOperatorsSchema,Yn as ExpandedFieldValueSchema,Th as FIELD_PLACEHOLDERS,Hn as FieldAnnotationSchema,vT as FieldAnnotations,Un as FieldAnnotationsSchema,gn as FieldNameSchema,zn as FieldReasonSchema,Tn as FieldValueSchema,Uw as FormStoreSchema,Qw as HIGH_VOLUME_PRICING_MIN_CREDITS,tr as JSONExtractSchema,En as JSONMetaSchema,cr as NoConnectorSchema,v as OptionalConnectorSchema,yn as PIPE_IDS,XC as PaginationTypeSchema,Eb as PersonWorkemailWaterfall1Entry,Tb as PersonWorkemailWaterfall1PayloadSchema,wb as PersonWorkemailWaterfall1PipeClass,U as Pipe,rg as Pipe0Error,bn as PipeIdSchema,pw as PipePayloadSchema,fr as PipeRunIfSchema,$ as PipelineValidationError,vn as PipesEnvironmentSchema,Rn as PipesErrorSchema,$n as PipesFieldDefinitionSchema,er as PipesFieldDefinitionsSchema,Xn as PipesInputSchema,Tw as PipesRequestConfigSchema,Ew as PipesRequestSchema,ww as PipesResponseSchema,mw as ProcessedPipePayloadSchema,WC as ProcessedSearchPayloadSchema,gO as ProcessedSearchesPayloadSchema,_n as ProviderNameSchema,Bn as RECORD_FIELD_FORMATS,xn as RECORD_FIELD_TYPES,rr as RUN_IF_OPERATOR_LABELS,ar as RUN_IF_STATUS_OPERATORS,ir as RUN_IF_VALUE_OPERATORS,Kn as RecordClaimedBySchema,Vn as RecordFieldFormatSchema,Jn as RecordFieldSchema,wn as RecordFieldStatusSchema,Sn as RecordFieldTypeSchema,Cn as RecordIdSchema,qn as RecordResolvedBySchema,Zn as RecordSchema,ng as RequestValidationError,sr as RequiredConnectorSchema,ur as RunIfStatusOperatorsSchema,dr as RunIfStatusValueSchema,lr as RunIfValueOperatorsSchema,rE as SEARCHES_IDS,Kx as SEARCH_IDS,tS as Search,KC as SearchErrorSchema,qx as SearchIdSchema,HC as SearchPayloadSchema,GC as SearchRequestSchema,ZC as SearchResponseSchema,qC as SearchResultFieldSchema,JC as SearchResultSchema,vO as SearchesErrorSchema,iE as SearchesIdSchema,hO as SearchesPayloadSchema,CO as SearchesRequestBaseConfigSchema,TO as SearchesRequestSchema,SO as SearchesResponseSchema,yO as SearchesResultFieldSchema,bO as SearchesResultSchema,sE as SearchesSearch,xO as SearchesStatusSchema,id as TYPES_TO_FORMATS,Bw as WidgetsByKindSchema,Ln as WidgetsSchema,Oa as all,Nr as analyzeLiquidTemplate,pn as and,H as any,xw as assertUniqueBillableOperations,g as autocomplete,ri as buildAiModelBillableOperations,bT as buildDependencyGraph,eh as buildInputRequirementFromTemplates,K as catalogInput,Pa as cleanObject,cT as cleanUrl,sT as cleanWebsiteUrl,X as collectConstantReferencesFromTemplates,jw as collectPipeContextSelectFields,ja as collectRequirementFields,Y as collectSecretReferencesFromTemplates,YO as compilePattern,Ta as configDefaults,Ri as convertIntermediateFieldsIntoGroups,zi as defaultSectionMap,eg as describeRequirement,Zx as entityLogoFavicon,Xx as entityLogoProfessionalProfileUrl,Hi as extractFormMetadata,V as field,an as fieldBehaviorCatalog,rn as fieldCatalog,$h as fieldNameStr,dT as fieldTypeFromValue,ZT as fieldsToObject,rk as filterPipeEntries,ik as filterSearchEntries,ak as filterSearchesEntries,ii as getAiModelBillingKey,oi as getAiModelConnectionRequirements,ai as getAiModelProviders,si as getAllAiModelProviders,W as getBasePipeName,lw as getDefaultOutputFields,yw as getDefaultPipeProviders,rw as getDefaultSearchOutputFields,_O as getDefaultSearchesOutputFields,Xw as getDependentPipeNamesForInputProperty,Zw as getDependentPipeNamesForPipe,lk as getDomain,pT as getExpansionState,Jx as getFaviconUrlGoogle,_ as getField,on as getFieldBehavior,ed as getFieldDisplayLabel,hT as getFieldWidgets,nw as getInitialSearchTableData,kO as getInitialSearchesTableData,Sw as getInitialTableData,Ra as getInputHash,li as getJsonMetaForFieldDef,ck as getLoweestSearchCreditAmount,sk as getLoweestSearchesCreditAmount,ok as getLowestPipeCreditAmount,hn as getOutputFieldInfoFromDef,gw as getPipeBillableOperationDef,qw as getPipeCategoryEntries,Kw as getPipeCategoryEntry,uw as getPipeClass,La as getPipeConfigHash,dw as getPipeDefaultPayload,G as getPipeDocsURI,hw as getPipeEntry,Yw as getPipeInstances,Mw as getPipePayloadFormConfig,fw as getPipePayloadSchema,_w as getPipeVersion,J as getProviderBillableOperation,za as getProviderCreditsFromBillableOperations,nE as getProviderEntry,un as getReadableFieldStatus,NO as getSandboxConnections,PO as getSandboxConnectionsForPipe,FO as getSandboxConnectionsForSearch,IO as getSandboxConnectionsForSearches,BO as getSearchCategoryEntries,zO as getSearchCategoryEntry,VC as getSearchClass,UC as getSearchDefaultPayload,ew as getSearchEntry,HO as getSearchFieldWidgets,UO as getSearchInstance,Iw as getSearchPayloadFormConfig,YC as getSearchPayloadSchema,iw as getSearchTableDataAggregates,QC as getSearchVersion,fO as getSearchesClass,mO as getSearchesDefaultPayload,jO as getSearchesEntry,gT as getSearchesFieldWidgets,GO as getSearchesInstances,pO as getSearchesPayloadSchema,AO as getSearchesTableDataAggregates,EO as getSearchesVersion,Dw as getStartingCostPerPipesProvider,aw as getStartingCostPerSearchProvider,MO as getStartingCostPerSearchesProvider,Cw as getTableDataAggregates,eT as getTier,mT as getUnexpandedValue,Yx as ifDefined,z as inputFields,eE as inputFromRecord,$T as inputFromRecordArr,QT as inputFromRecords,Lw as inputGuards,cn as isCatalogField,Nt as isEmptyValue,sn as isFieldName,rT as isHighVolumeEligible,ek as isPipeAllowed,$O as isProviderAllowed,Aa as isRequirementMet,Ma as isRequirementSatisfiedByRecord,tk as isSearchAllowed,nk as isSearchesAllowed,Zr as joinConnectionString,iT as listHighVolumeEligibleOperations,nT as listTiers,Va as markRecordFieldAsComplete,Wa as markRecordFieldAsFailed,Ua as markRecordFieldAsNoResult,Ha as markRecordFieldAsPending,Ka as markRecordFieldAsProcessing,Ga as markRecordFieldAsSkipped,ZO as matchesAny,XO as matchesPattern,Qx as mergeWidgets,T as noConnectorInput,ka as optional,w as optionalConnectorInput,mn as or,R as outputFields,Mr as parseLiquidTemplate,Er as parseOutputTagArgs,zT as parseRecordValueOrError,fk as parseRichText,cw as pipeCatalog,Ww as pipeCategoryCatalog,ow as pipeClassCatalog,sw as pipePayloadSchemaCatalog,na as pipesAsyncIncludeExcludeSelectInput,pa as pipesContextSelectInput,ia as pipesDateRangeInput,Yi as pipesFieldsSelectInput,Xi as pipesIncludeExcludeInput,ta as pipesIncludeExcludeSelectInput,E as pipesInputField,ua as pipesIntInput,_i as pipesJsonExtractionInput,fa as pipesJsonSchemaField,ea as pipesKeyValueListInput,ca as pipesLLMSelectInput,Zi as pipesMultiCreateInput,la as pipesMultiSelectInput,da as pipesNumberInput,O as pipesOptionalBooleanInput,Qi as pipesOrderedMultiCreateInput,k as pipesOutputField,y as pipesPayloadRegistry,Wi as pipesPromptInput,D as pipesProviderInput,ra as pipesRangeInput,S as pipesRunIfInput,sa as pipesSelectInput,Jw as pipesSnippetCatalog,$i as pipesTaggedOrderedMultiCreateInput,C as pipesTaggedTextInput,Gi as pipesTemplateInput,aa as pipesTextInput,oa as pipesTextareaInput,Z as placeholder,tE as processInputObjects,pr as providerCatalog,q as rateLimitRatioFallingProgression,Ar as renderLiquidTemplate,jr as renderLiquidTemplateSync,qi as requiredConnectorInput,Ba as requirementToInputFields,tg as requirementUnmetMessage,dn as requiresConnection,fn as requiresField,BC as searchCatalog,LO as searchCategoryCatalog,RC as searchClassCatalog,zC as searchPayloadSchemaCatalog,VO as searchSnippetCatalog,I as searchesAsyncIncludeExcludeSelectInput,F as searchesAsyncMultiSelectInput,dO as searchesCatalog,lO as searchesClassCatalog,va as searchesDateRangeInput,ga as searchesExactRangeInput,j as searchesIncludeExcludeInput,M as searchesIncludeExcludeSelectInput,L as searchesIntInput,ha as searchesMinMaxIntInput,A as searchesMultiCreateInput,P as searchesMultiSelectInput,wa as searchesNumberField,ya as searchesOptionalBooleanInput,ba as searchesOptionalNullableBooleanInput,ma as searchesOrderedMultiCreateInput,N as searchesOutputField,b as searchesPayloadRegistry,uO as searchesPayloadSchemaCatalog,_a as searchesRangeInput,Ca as searchesSelectInput,xa as searchesTextInput,Sa as searchesTextareaField,rd as sortObjectKeys,vw as sortPipeCatalogByBasePipe,$C as sortSearchCatalogByBaseSearch,DO as sortSearchesCatalogByBaseSearch,Xr as splitConnectionString,h as staticAutocomplete,m as staticOptions,nd as stringify,td as testPrint,tT as tierAtOrBelow,HT as transformIntoResponse,xT as validatePipesOrError,KO as validateSearches,Q as validationErrorMessages};
|
|
119
|
+
`}}],input:[{id:`1`,name:`John`,email:`john@pipe0.com`}]}],"email:send:resend@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`resend_123`,type:`vault`}]},pipe_id:`email:send:resend@1`,config:{from:`<FROM_EMAIL_ADDRESS>`,to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"email:send:gmail@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`gmail_123`,type:`vault`}]},pipe_id:`email:send:gmail@1`,config:{to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"message:send:slack@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`slack_123`,type:`vault`}]},pipe_id:`message:send:slack@1`,config:{channel_id:`<SLACK_CHANNEL_ID>`,message:`{{ message }}`}}],input:[{id:`1`,message:`<MESSAGE_TEXT>`}]}],"people:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"person:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"people:validate:email:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:validate:email:zerobounce@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:mobilenumber:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:workemail:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`john@pipe0.com`}]}],"people:professionalprofileurl:name@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:name@1`}],input:[{id:`1`,name:`John`,company_name:`Pipe0`,location_int:`Berlin`}]}],"people:professionalprofileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:email:waterfall@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:mobilenumber:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`https://linkedin.com/li/john`}]}],"company:overview@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@2`,config:{}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"company:overview@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@3`,config:{}}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"fields:merge@1":[{config:{environment:`production`},pipes:[{pipe_id:`fields:merge@1`,config:{sources:[{field_name:`field_1`},{field_name:`field_2`}]}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:scrape:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrape:firecrawl@1`,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:firecrawl@1`,config:{extraction_prompt:`Extract the company mission as well as the latest news.`,enable_full_domain_crawl:!0,enable_web_search:!0,json_schema:{type:`object`,required:[`company_mission`,`latest_news`],properties:{company_mission:{type:`string`},latest_news:{type:`string`}}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:parallel@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:parallel@1`,config:{objective:`When was the company founded and what does it do?`}}],input:[{id:`1`,website_url:`https://pipe0.com`}]}],"person:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:email:validate:millionverifier@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"website:scrapelist:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrapelist:firecrawl@1`,config:{scrape_main_only:!0,formats:[`markdown`,`links`]}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"website:maplinks:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:maplinks:firecrawl@1`,config:{sitemap:`include`,page_limit:20,search:``}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"contact:create:resend@1":[{config:{environment:`production`},pipes:[{pipe_id:`contact:create:resend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`resend_123`}]},config:{segment_id:`segment_id_12xeeb12`,add_as_subscribed:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:append@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:append@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[{field_name:`field_name`}]}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:expandappend@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:expandappend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"people:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"person:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:match:logodev@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:match:logodev@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:lookalikes:companyenrich@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:lookalikes:companyenrich@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"person:posts:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:posts:crustdata@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-doe-3445`}]}],"people:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"person:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"company:match:crustdata@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@2`}],input:[{id:`1`,company_domain:`microsoft.com`}]}],"company:identity:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity:crustdata@1`}],input:[{id:`1`,company_domain:`samsung.com`},{id:`2`,company_name:`Samsung`}]}],"person:identity:amplemarket@1":[{pipes:[{pipe_id:`person:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"person:match:amplemarket@1":[{pipes:[{pipe_id:`person:match:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,profile_url:`https://linkedin.com/li/johndoe`}]}],"field:domainify@1":[{pipes:[{pipe_id:`field:domainify@1`}],input:[{id:`1`,url_input:`https://google.com`}]}],"field:slugify@1":[{pipes:[{pipe_id:`field:slugify@1`}],input:[{id:`1`,string_input:`input value`}]}],"http:request@1":[{pipes:[{pipe_id:`http:request@1`,config:{method:`GET`,url:`https://api.example.com/v1/companies/{{ company_name }}`,query_params:[{key:`limit`,value:`10`}],body:``,headers:[{key:`Authorization`,value:`Bearer SECRET`}],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}],input:[{id:`1`,company_name:`Acme`}]}]};function jT(e){let t=[];for(let n of e){if(n instanceof U){t.push(n);continue}let e=Xw.parse(n);if(!Zw(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(Kw(n.pipe_id))(e);t.push(r)}return t}function MT(e,t){let n=jT(e),r=new Set;return n.forEach(e=>Object.entries(e.inputFields).forEach(([n,i])=>{i.resolvedName===t&&r.add(e.pipeId)})),Array.from(r)}function NT(e,t){let n=e.dependencyGraph,r=new Set;return n.forEach((e,n)=>e.forEach(e=>{e.index===t&&r.add(n)})),Array.from(r).map(t=>{let n=e.orderedPipeInstances[t];if(!n)throw Error(`Internal: Pipe with index ${t} not found.`);return n.pipeId})}const PT=.1,FT=[`level1`,`level2`,`level3`];function IT(e,t){let n=FT[t-1];if(n)return e[n]}function LT(e,t){for(let n=t;n>=1;n--){let t=IT(e,n);if(t)return{level:n,tier:t}}}function RT(e){let t=[];for(let n=1;n<=3;n++){let r=IT(e,n);r&&t.push({level:n,credits:r.credits,weight:r.weight})}return t}function zT(e){if(e.default<.1)return!1;let t=RT(e);if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t[e].level!==e+1)return!1;let n=e.default,r=0;for(let e of t){if(!(e.credits<n)||!Number.isInteger(e.weight)||e.weight<=r)return!1;n=e.credits,r=e.weight}return!0}function BT(){let e=new Map;for(let t of Object.values(Ww))for(let[n,r]of Object.entries(t.billableOperations)){let i=r;if(!i?.allowManagedConnection||!zT(i.credits))continue;let a=n,o={kind:`pipe`,id:t.pipeId,label:t.label,categories:[...t.categories]},s=e.get(a);if(s){s.standardCredits=Math.min(s.standardCredits,i.credits.default),s.usedBy.push(o);continue}e.set(a,{billableOperation:a,provider:i.provider,kind:`pipe`,standardCredits:i.credits.default,tiers:RT(i.credits),usedBy:[o]})}for(let t of Object.values(Sw)){let{cost:n}=t;if(!zT(n.credits))continue;let r=t.billableOperation,i={kind:`search`,id:t.searchId,label:t.label,categories:[...t.categories]},a=e.get(r);if(a){a.standardCredits=Math.min(a.standardCredits,n.credits.default),a.usedBy.push(i);continue}e.set(r,{billableOperation:r,provider:t.provider,kind:`search`,standardCredits:n.credits.default,tiers:RT(n.credits),usedBy:[i]})}return[...e.values()].sort((e,t)=>e.billableOperation.localeCompare(t.billableOperation))}function VT(e){return e===`localhost`?!0:/^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)&&e.includes(`.`)}function HT(e){return/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.test(e)?e.split(`.`).every(e=>{let t=parseInt(e,10);return t>=0&&t<=255}):/:/.test(e)}function UT(e){if(!e||typeof e!=`string`)return``;let t=e.trim();t.match(/^[a-zA-Z]+:\/\//)||(t=`https://${t}`);try{let e=new URL(t).hostname;if(HT(e))return`https://${e}`;if(!VT(e))throw Error(`Invalid domain`);return`https://${e}`}catch{let t=e.match(/([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}/i);return t?`https://${t[0]}`:``}}function WT(e){if(!e||typeof e!=`string`)return``;let t=e.trim();t.match(/^[a-zA-Z]+:\/\//)||(t=`https://${t}`);try{let e=new URL(t),n=e.hostname;if(HT(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!VT(n))throw Error(`Invalid domain`);return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`}catch{let t=e.match(/^(https?:\/\/)?([^/\s]+)(\/.*)?$/i);if(t){let[,e,n,r=``]=t,i=n?.split(`:`)[0]||``;if(VT(i)||HT(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function GT(e){try{return UT(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function KT(e,t){if(t)switch(e){case`website_url`:return GT(t);default:return}}function qT(e){let t;if(JT(e))return qT(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function JT(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&An.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&JT(e.value,t++))throw new Q([Z.RecursiveExpandedValue()]);return!0}return!1}function YT(e){let t=JT(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function XT(e){return JT(e)?XT(e.value):e}function ZT(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=fn(e,n.format)?.getStaticWidgets?.(t),i=KT(n.format,t);return OS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function QT(e,t,n){if(t==null)return{};try{let r=fn(e,n)?.getStaticWidgets?.(t),i=KT(n,t);return OS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function $T(e,t){for(let[n,r]of Object.entries(t)){let i=n;i===`type`&&e.type===`unknown`&&t.type!==`unknown`&&(e.type=t.type),i!==`type`&&i!==`json_metadata`&&(e[i]===void 0||e[i]===null||e[i]===``)&&t[i]&&(e[i]=r),i===`json_metadata`&&e.type===`json`&&!e.json_metadata&&t.json_metadata&&(e.json_metadata=t.json_metadata)}return e}var eE=class e{annotations;constructor(e){this.annotations=e||{}}getAnnotation(e){return this.annotations[e]}static fromInput(t,{probeCount:n=1e5,inferCatalogFields:i=!0}={probeCount:1e5,inferCatalogFields:!0}){let a={},o=0;for(let e of t){if(o++,o>n)break;for(let[t,n]of Object.entries(e)){if(t===``||t==null)continue;let{resolvedInputValue:e,expandedValue:o,isExpanded:s}=YT(n),c;c=s&&o.type?o.type:qT(e);let l;pn(t)&&(l=_(t));let u=l&&(l.type===c||c===`unknown`);(!a[t]||a[t].type===`unknown`&&c!==`unknown`)&&(a[t]={type:c===`unknown`&&u&&i&&l?.type?l.type:c,format:u&&i&&l?.format||null,label:l&&i?l.label:null,json_metadata:u&&i&&l?.jsonMeta?{schema:l.jsonMeta.zodSchema?r.toJSONSchema(l.jsonMeta.zodSchema):null,example_value:l.jsonMeta.exampleValue||null}:null})}}return a.id||={format:null,type:`string`,json_metadata:null,label:null},new e(a)}merge(t,n=!1){let r=structuredClone(this.annotations),i=t instanceof e?t.annotations:t;for(let[e,t]of Object.entries(i))if(r[e]===void 0||n)r[e]=t;else{let n=r[e];r[e]=$T(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function tE(e){let t={};for(let n=0;n<e.length;n++){let r=e[n];Object.values(r.getOutputFields()).forEach(e=>{if(t[e.resolvedName])throw new Q([Z.AmbiguousDependency({fieldName:e.resolvedName})]);t[e.resolvedName]=n})}return t}function nE(e){let t=tE(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of La(i.getInputRequirement())){let o=t[n.resolvedName];if(r===o)throw new Q([{code:`SelfReference`,message:`Pipe '${i.pipeId} has an input requirement that points to a field that is produced by itself.'`}]);if(o==null)continue;let s=e.find(e=>e.index===o);s?(s.reason??=[],s.reason=Array.from(new Set([...s.reason,`input`])),s.required=a||s.required):e.push({index:o,required:a,reason:[`input`]})}if(i.payload.run_if){let n=i.payload.run_if.when.conditions.map(e=>e.field_name);for(let r of n){let n=t[r];if(n==null)continue;let i=e.find(e=>e.index===n);i?(i.reason??=[],i.reason=Array.from(new Set([...i.reason,`input`])),i.required=!0):e.push({index:n,required:!0,reason:[`input`]})}}n.push(e)}return n}function rE({config:e,pipes:t,input:n,field_annotations:r}){try{let i=sE({config:e,pipes:t,input:n,fieldAnnotations:r});return iE(i),i}catch(e){throw e instanceof Q?e:new Q([Z.ValidationFailed({error:e})])}}function iE(e){for(let t of e.orderedPipeInstances)for(let{field:n}of La(t.getInputRequirement()))nh({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),rh({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function aE(e,t){if(!e&&!t)throw new Q([Z.MustDefineAnnotations()]);return new eE(t||{}).merge(eE.fromInput(e||[]))}function oE(e,t){let n={...t};return e.pipes.forEach((t,r)=>{for(let[i,a]of Object.entries(t.getOutputFields())){let i=n[a.resolvedName];if(i&&i.added_by.ref!==`input`)throw new Q([Z.DuplicatePipeOutput({pipeId:t.pipeId,outputField:a})]);n[a.resolvedName]={type:nh(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:rh(e,a.format),is_primary_output:a.isPrimaryOutput}}}),n}function sE(e){let t=jT(e.pipes),n=aE(e.input,e.fieldAnnotations),r={},i=new Set;t.forEach((e,t)=>{Object.entries(e.getOutputFields()).forEach(([e,t])=>{r[t.resolvedName]=e,i.add(t.resolvedName)}),uE(e,t)});let a={},o={};for(let[e,t]of Object.entries(n.annotations))o[e]={type:t.type,added_by:{ref:`input`,config_hash:null,pipe_index:null},label:t.label||``,format:t.format?t.format:null,is_primary_output:!1},!i.has(e)&&(a[e]={addedBy:`input`,required:!1,type:t.type,label:t.label||e});let[s,c,l]=cE(t,n),u=oE({pipes:c,derivedInputFields:a},o);for(let e in u){let t=u[e];r[e]&&(n=n.merge({[e]:{type:t.type,format:t.format,json_metadata:null,label:n.annotations[e]?.label?n.annotations[e]?.label:null}},!0))}return{environment:e.config.environment,dependencyGraph:l,derivedInputFields:a,fieldAnnotations:n,orderedPipePayloads:s,orderedPipeInstances:c,resolvedFieldNames:r,fieldDefinitions:u}}function cE(e,t){let n=nE(e),r=lE(n,e,t),i=[],a=[];return r.forEach(t=>{let n=e[t];if(!n)throw new Q([Z.FaultyEnrichmentOrder()]);i.push(n.payload),a.push(n)}),[i,a,n]}function lE(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?La(n.getInputRequirement()).length>0:!1},l=(n,r=[])=>{if(o.has(n)){let e=n,i=r[r.length-1]||0,a={idx:i,pipe_id:t[i]?.pipeId},o={idx:e,pipeId:t[e]?.pipeId};throw new Q([Z.CircularDependency({currentPipe:a,circularPipe:o})])}if(a.has(n))return;o.add(n),r.push(n);let s=e[n]||[];for(let e of s)l(e.index,r);r.pop(),o.delete(n),a.add(n),i.push(n)};function u(t){if(a.has(t))return;o.add(t);let n=e[t]||[];for(let e of n){if(!a.has(e.index)&&e.required)throw new Q([Z.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let ee=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{ee.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Ia(a,ee)||s.push(Z.RequirementUnmet({requirement:a,pipeId:r.pipeId,index:n}));let o=e[n]||[],c=i.indexOf(n);for(let e of o){let r=i.indexOf(e.index);e.required&&r>c&&s.push(e.reason.includes(`input`)?Z.HardInputDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}):Z.HardConditionDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}))}r.payload.run_if&&r.payload.run_if.when.conditions.map(e=>e.field_name).forEach(e=>{if(!ee.has(e))throw new Q([Z.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new Q(s);return i}function uE(e,t){let n=new Set(e.getConnectionsRequirements().filter(e=>e.allowManagedConnection===!1).map(e=>e.provider));if(n.size>0){let r=e.payload.connector;if(!r||(r.connections.map(e=>{if(e.type===`vault`)return ni(e.connection).provider;e.type}).forEach(e=>{e&&n.delete(e)}),n.size>0))throw new Q([Z.MissingCustomConnections({index:t,pipeId:e.pipeId,missingProviders:Array.from(n)})])}}const dE=[`yyyy-MM-dd`,`yyyy/MM/dd`,`yyyy-MM-dd HH:mm:ss`,`MM/dd/yyyy`,`MM/dd/yyyy HH:mm:ss`,`MM-dd-yyyy`,`MM-dd-yyyy HH:mm:ss`,`yyyyMMdd`],fE=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],pE=r.string().trim().transform(e=>{if(!/\./.test(e)&&!/^[a-zA-Z0-9_-]*$/.test(e))throw Error(`Invalid URL format`);let t=String(e).trim();if(/^https?:\/\//i.test(t)||(t=`https://${t}`),t=t.replace(/^http:\/\//i,`https://`),t=t.replace(/^https:\/\/[w]{4,}\./i,`https://www.`),t=t.endsWith(`/`)?t.slice(0,-1):t,!t.includes(`.`))throw Error(`Invalid URL format - no TLD`);return t}).check(e=>{r.url(e.value).safeParse(e.value).success||e.issues.push({code:`custom`,message:`Invalid URL`,input:e.value})}),mE=r.coerce.string().trim().toLowerCase().transform(e=>{let t=e.replace(/^mailto:/i,``),[n,r]=t.split(`@`);return!r||!n?t:`${n.replace(/[^a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]/g,``)}@${r.replace(/\s+/g,``)}`}).check(e=>{r.email().safeParse(e.value).success||e.issues.push({code:`custom`,input:e.value,message:`Invalid email format`})});function hE(e){return!isNaN(e.getTime())}const gE=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of dE){let n=ee(t,e,new Date(0));if(hE(n))return u(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),_E=r.coerce.string().trim().transform(e=>{for(let t of fE){let n=ee(e,t,new Date(0));if(hE(n))return u(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),vE=r.union([r.number(),r.string().transform(e=>{let t=e.replace(/[^0-9.]/g,``),n=parseFloat(t);if(isNaN(n))throw Error(`Invalid decimal format`);return n})]).refine(e=>!isNaN(e),{message:`Value must be a valid number`}),yE=r.union([r.number().transform(e=>Math.trunc(e)),r.string().transform(e=>{let t=e.replace(/[^0-9]/g,``),n=parseInt(t,10);if(isNaN(n))throw Error(`Invalid integer format`);return n})]).check(r.int()),bE=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function xE(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return pE.parse(e);case`email`:return mE.parse(e);case`datetime`:return gE.parse(e);case`date`:return _E.parse(e);case`decimal`:return vE.parse(e);case`int`:return yE.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return bE.parse(e);case`website_url`:return pE.parse(e);case`profile_url`:return pE.parse(e);case`zip_code`:return bE.parse(e);case`markdown`:case`phone`:case`text`:return bE.parse(e);case`json_object`:return r.record(r.any(),r.any()).parse(e);case`json_list`:return r.array(r.any()).parse(e);case`json_list_string`:return r.array(r.string()).parse(e);default:throw Error(`Unknown format: ${t}`)}}catch(r){throw r instanceof n?Error(`Unable to parse value ${cd(e)} into format ${t}: ${r.message}`):r}}function SE(e,t,n){let r={};for(let[i,a]of Object.entries(e.derivedInputFields)){let e=t.field_definitions[i]?.format||null,o=n[i]??null;if(JT(o))o.resolved_by?.ref===`input`?r[i]={value:o.value,type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:o.value==null?null:{ref:`input`,config_hash:null,input_hash:null,environment:o.resolved_by.environment||null},reason:null,status:o.value===null?`pending`:`completed`,widgets:o.widgets||{},format:o.format||e}:r[i]={value:o.value,type:a.type,claimed_by:o.claimed_by||{ref:`input`,config_hash:null},resolved_by:o.resolved_by?o.resolved_by:o.value==null?null:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:o.reason||null,status:o.status,widgets:o.widgets||{},format:o.format||e};else if(o!=null)try{r[i]={value:xE(o,e),type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:null,status:`completed`,widgets:{},format:e}}catch{r[i]={value:o,type:a.type,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},reason:{code:`InvalidValue`,summary:`Invalid`,message:`This field expects a value of format ${e}.`},status:`failed`,widgets:{},format:e}}else r[i]={type:a.type,value:o,claimed_by:{ref:`input`,config_hash:null},resolved_by:{ref:null,config_hash:null,input_hash:null,environment:null},reason:null,status:`pending`,widgets:{},format:e}}return r}function CE(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];i.id||=crypto.randomUUID();let{id:a}=i;if(typeof a!=`string`&&typeof a!=`number`){n.errors.push(Z.InvalidId());continue}if(n.records[a]){n.errors.push(Z.IDConflict({index:r,id:a}));continue}n.order.push(a),n.records[a]={id:a,fields:SE(e,n,i)}}}function wE({context:e,input:t,config:n={}}){let r={field_definitions:e.fieldDefinitions,order:[],errors:[],records:{},queued_record_ids:new Set,adopted_record_ids:new Set};try{CE(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=TE(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,EE(e,r,n?.queue?.enabled),ME(e,r),r.errors.length>0)throw new Q(r.errors);return r}catch(e){throw e instanceof Q?e:new Q([Z.ResponseGenerationFailed({error:e})])}}function TE(e,t,n,r){let i=[],a=[];for(let o=0;o<e.orderedPipePayloads.length;o++){let s=e.orderedPipePayloads[o],c=e.orderedPipeInstances[o];if(!c){n.errors.push(Z.UnknownResolver({pipeId:s.pipe_id,index:o}));continue}let{queuedRecordIds:l,adoptedRecordIds:u}=jE(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function EE(e,t,n){if(!n)return;let r=(t,n,r,i)=>{Object.values(t.getOutputFields()).forEach(a=>{let o=i.fields[a.resolvedName];if(!o)throw Error(`Internal: Output field ${og(a)} not found`);o.status===`queued`&&(o.status=`skipped`,o.resolved_by={ref:`system`,environment:e.environment,config_hash:t.getConfigHashKey(),input_hash:t.getInputHashKey(i)},o.value=null,o.reason={code:`InputError`,message:`Field ${og(n)} is missing but required (${r.value?`the value is`:`it has status`}: '${r.value?r.value:r.status}').`,summary:`Missing input`})})};for(let n=0;n<e.orderedPipePayloads.length;n++){let i=e.orderedPipePayloads[n],a=e.orderedPipeInstances[n];if(!a){t.errors.push(Z.UnknownResolver({pipeId:i.pipe_id,index:n}));continue}Object.values(t.records).forEach(e=>{let{valid:t,failedPipeInputField:n,failedRecordField:i}=Ra(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function DE({inputHashKey:e,configHashKey:t,config:n,expandedValue:r}){return!!(n.queue?.triggers?.configHashMismatch&&n.queue.enabled&&r.resolved_by?.config_hash&&t&&r.resolved_by.config_hash!==t||n.queue?.triggers?.inputHashMismatch&&n.queue.enabled&&r.resolved_by?.input_hash&&e&&r.resolved_by.input_hash!==e)}function OE({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function kE({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return DE({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||OE({status:n.status,config:r})}function AE({inputHashKey:e,configHashKey:t,expandedValue:n}){let r=!1;return n.resolved_by?.config_hash&&t&&n.resolved_by.config_hash!==t&&(n.resolved_by.config_hash=t,r=!0),n.resolved_by?.input_hash&&e&&n.resolved_by.input_hash!==e&&(n.resolved_by.input_hash=e,r=!0),{didAdopt:r}}function jE(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let[l,u]=a[c];for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:ee}=a,te=nh({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},ee),ne=rh({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:d,isExpanded:re,expandedValue:f}=YT(t[c]?.[l]??null),ie=u.fields[l],p=n.getConfigHashKey(),ae=n.getInputHashKey(u),oe={type:te,format:ne,claimed_by:{ref:n.pipeId,config_hash:p}};if(r.errors.length>0&&d===null){u.fields[l]={...oe,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:d===void 0?n.pipeId:`input`,config_hash:d===void 0?p:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let se=qT(d);if(se!==`unknown`&&se!==te){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={...oe,value:t?null:d,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:f?.widgets||ie?.widgets||{},format:t?ne:f?.format||ne};continue}if(d==null){let t=re&&i.queue?.enabled&&(f.status===`pending`||f.status===`skipped`),n=re&&!t;if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=AE({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}if(re&&f.status!==`pending`&&kE({inputHashKey:ae,configHashKey:p,config:i,expandedValue:f})&&i.queue?.enabled)o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae},widgets:{}};else if(n)u.fields[l]={...oe,value:null,status:f.status,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||null,widgets:f.widgets||{},format:f.format||ne};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:null,widgets:{}}}continue}if(re){if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=AE({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}kE({inputHashKey:ae,configHashKey:p,expandedValue:f,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={...oe,value:d,status:`completed`,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:f.widgets||ie?.widgets||{},format:f.format||ne}}else try{let e=xE(d,ne);u.fields[l]={...oe,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ie?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:d,status:t,reason:{code:`InvalidFormat`,message:`Field is of invalid format. Expected: ${a.format}`,summary:`Invalid Format`},resolved_by:{ref:`system`,environment:e.environment,config_hash:p,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function ME(e,t){Object.values(t.records).forEach(n=>{Object.entries(n.fields).forEach(([n,r])=>{let i=e.resolvedFieldNames[n]||n;if(r.status===`completed`){let e=ZT(i,r.value,r);r.widgets=OS(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function NE(e,t){let{expandAllStatuses:n=!1,expandStatuses:r=[]}=t||{},i={};for(let[t,a]of Object.entries(e))(r.includes(a.status)||n)&&t!==`id`?i[t]={...a}:i[t]=a.value;return i}function PE(e,t={}){return Object.values(e).map(e=>NE(e.fields,t))}function FE(e,t={}){return e.map(e=>NE(e.fields,t))}function IE(e,t={}){return NE(e.fields,t)}function LE(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=YT(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function RE(e){let t=yr[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const zE=[`people:profiles:icypeas@1`,`companies:profiles:icypeas@1`,`people:profiles:clado@1`,`people:profiles:clado@2`,`people:employees:leadmagic@1`,`companies:profiles:exa@1`,`people:profiles:exa@1`,`companies:profiles:crustdata@1`,`people:profiles:crustdata@1`],BE=r.enum(zE);function VE(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}function HE(e,t){let n={name:e,config:t};return Ha.hashObject(n)}var UE=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}catalogOutput(e){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:e.type,format:e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}getHashKey(){return HE(this.searchId,this.payload)}};function WE(e){return e.split(`@`)[0]}function GE(e){return`/docs/search-catalog/${WE(e)}/${e.split(`@`)[1]}`}const KE=`companies:profiles:crustdata@1`,qE=_(`company_name`),JE=_(`company_website_url`),YE=_(`company_description`),XE=_(`company_profile_url`),ZE=_(`crustdata_company_match`),QE=r.object({search_id:r.literal(KE),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),cursor:Da({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[qE.name]:N({fieldName:qE.name}),[JE.name]:N({fieldName:qE.name}),[YE.name]:N({fieldName:YE.name}),[XE.name]:N({fieldName:XE.name}),[ZE.name]:N({fieldName:ZE.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:g(`locations`)}),crunchbase_categories:F({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:g(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:F({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:g(`company.crunchbase_investors.crustdata`)}),tracxn_investors:F({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:g(`company.tracxn_investors.crustdata`)}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,options:m(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),linkedin_industries:F({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:g(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:g(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),linkedin_categories:F({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:g(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),headcount:P({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Ca({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:P({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,disableSearch:!0,required:!1,options:m(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}),last_funding_amount:Ca({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:A({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:`Ex. 'google.com'`,groupPath:`config.filters.competitors`})}).check(e=>{VE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),$E={default:{input:[{fields:[]}]}},eD=class extends UE{searchId=KE;schema=QE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[qE.name]:this.catalogOutput(qE),[JE.name]:this.catalogOutput(JE),[YE.name]:this.catalogOutput(YE),[XE.name]:this.catalogOutput(XE),[ZE.name]:this.catalogOutput(ZE)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return $E}},tD=QE,nD={searchId:KE,billableOperation:`companies-profiles-crustdata`,baseSearch:WE(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:GE(KE),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:KE,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:[],headcount_growth_last_6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:[],linkedin_industries:[],linkedin_categories:[],crunchbase_categories:[],markets:[],revenue_in_usd:{from:null,to:null},crunchbase_investors:[],tracxn_investors:[],follower_growth_last_6m_in_percent:[],headcount:[],hq_locations:[],number_of_followers:[],profile_summary_keywords:[],competitor_websites:[]}}}},rD=`companies:profiles:exa@1`,iD=_(`company_name`),aD=_(`company_website_url`),oD=_(`company_description`),sD=_(`company_industry`),cD=_(`headcount`),lD=_(`exa_match_evaluation`),uD=r.object({search_id:r.literal(rD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[iD.name]:N({fieldName:iD.name}),[aD.name]:N({fieldName:iD.name}),[oD.name]:N({fieldName:oD.name}),[sD.name]:N({fieldName:sD.name}),[cD.name]:N({fieldName:cD.name}),[lD.name]:N({fieldName:lD.name})})),filters:r.object({query:Oa({sectionKey:`config.filters`,path:`config.filters.query`,placeholder:`e.g. Top AI research labs focusing on large language models`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),dD={default:{input:[{fields:[]}]}},fD=class extends UE{searchId=rD;schema=uD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[iD.name]:this.catalogOutput(iD),[aD.name]:this.catalogOutput(aD),[oD.name]:this.catalogOutput(oD),[sD.name]:this.catalogOutput(sD),[cD.name]:this.catalogOutput(cD),[lD.name]:this.catalogOutput(lD)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return dD}},pD=uD,mD={searchId:rD,billableOperation:`companies-profiles-exa`,baseSearch:WE(`companies:profiles:exa@1`),label:`Company finder (websets)`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Semantic AI search to find company profiles. This search can take several minutes.`,tags:[B.COMPANY_PROFILES],docPath:GE(rD),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:rD,connector:null,config:{limit:10,output_fields:{company_name:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},company_industry:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},headcount:{enabled:!0,alias:``},exa_match_evaluation:{enabled:!1,alias:``}},filters:{query:``}}}},hD=`companies:profiles:icypeas@1`,gD=_(`company_industry`),_D=_(`company_name`),vD=_(`company_description`),yD=_(`company_website_url`),bD=_(`headcount`),xD=_(`company_region`),SD=_(`company_profile_url`),CD=_(`icypeas_company_match`),wD=r.object({search_id:r.literal(hD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:5e4,min:1,path:`config.limit`,required:!0,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({company_name:N({fieldName:_D.name}),company_industry:N({fieldName:gD.name}),company_description:N({fieldName:vD.name}),company_website_url:N({fieldName:yD.name}),headcount:N({fieldName:bD.name}),company_region:N({fieldName:xD.name}),company_profile_url:N({fieldName:SD.name}),icypeas_company_match:N({fieldName:CD.name})})),filters:r.object({name:j({path:`config.filters.name`,sectionKey:`config.filters`,includeLabel:`Company names to include`,excludeLabel:`Company names to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:100}).optional(),type:M({path:`config.filters.type`,sectionKey:`config.filters`,label:``,description:``,placeholder:``,includeLabel:`Company types to include`,excludeLabel:`Company types to exclude`,optionsDef:{type:`static`,options:[{value:`Privately Held`,label:`Privately Held`},{value:`Public Company`,label:`Public Company`},{value:`Sole Proprietorship`,label:`Sole Proprietorship`},{value:`Self-Employed`,label:`Self-Employed`},{value:`Partnership`,label:`Partnership`},{value:`Nonprofit`,label:`Nonprofit`},{value:`Educational Institution`,label:`Educational Institution`},{value:`Government Agency`,label:`Government Agency`}]},groupPath:`config.filters.company_information`}).optional(),industry:M({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:h(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:``,placeholder:`US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:20}).optional(),headcount:Ca({path:`config.filters.headcount`,sectionKey:`config.filters`,legend:`1-1M`,label:`Headcount`,description:``,min:1,max:1e6,unit:`employees`,groupPath:`config.filters.company_size`}).optional(),urn:j({path:`config.filters.urn`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,excludeLabel:`URNs to exclude`,includeLabel:`URNs to include`,maxItems:200}).optional(),lid:j({path:`config.filters.lid`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,includeLabel:`LinkedIn IDs to include`,excludeLabel:`LinkedIn IDs to exclude`,maxItems:200}).optional()}).check(e=>{VE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),TD={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},ED=class extends UE{searchId=hD;schema=wD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[_D.name]:this.catalogOutput(_D),[gD.name]:this.catalogOutput(gD),[SD.name]:this.catalogOutput(SD),[yD.name]:this.catalogOutput(yD),[vD.name]:this.catalogOutput(vD),[bD.name]:this.catalogOutput(bD),[xD.name]:this.catalogOutput(xD),[CD.name]:this.catalogOutput(CD)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return TD}},DD=wD,OD={searchId:hD,billableOperation:`companies-profiles-icypeas`,baseSearch:WE(`companies:profiles:icypeas@1`),label:`Find company profiles`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search a filter-based, general-purpose company database.`,tags:[B.COMPANY_PROFILES],docPath:GE(hD),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:hD,connector:null,config:{limit:100,output_fields:{company_name:{alias:``,enabled:!0},icypeas_company_match:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0},company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0}},filters:{name:{include:[],exclude:[]},type:{include:[],exclude:[]},industry:{include:[],exclude:[]},location:{include:[],exclude:[]},headcount:{},urn:{include:[],exclude:[]},lid:{include:[],exclude:[]}}}}},kD=`people:profiles:clado@1`,AD=_(`name`),jD=_(`job_title`),MD=_(`company_name`),ND=_(`company_profile_url`),PD=_(`profile_url`),FD=_(`clado_person_match`),ID=r.object({search_id:r.literal(kD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,required:!0,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(20),output_fields:R(r.object({[AD.name]:N({fieldName:AD.name}),[jD.name]:N({fieldName:jD.name}),[ND.name]:N({fieldName:ND.name}),[MD.name]:N({fieldName:MD.name}),[PD.name]:N({fieldName:PD.name}),[FD.name]:N({fieldName:FD.name})})),filters:r.object({query:Oa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),LD={default:{input:[{fields:[{outputField:`profile_url`}]}]}},RD=class extends UE{searchId=kD;schema=ID;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[AD.name]:this.catalogOutput(AD),[jD.name]:this.catalogOutput(jD),[MD.name]:this.catalogOutput(MD),[PD.name]:this.catalogOutput(PD),[ND.name]:this.catalogOutput(ND),[FD.name]:this.catalogOutput(FD)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return LD}},zD=ID,BD={searchId:kD,billableOperation:`people-profiles-clado`,baseSearch:Bt(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search through millions of LinkedIn profiles using natural language queries. This endpoint provides fast searching with AI-powered relevance matching.`,tags:[B.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:kD,connector:null,config:{limit:20,output_fields:{company_name:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},clado_person_match:{enabled:!0,alias:``}},filters:{query:``}}}},VD=`people:profiles:clado@2`,HD=_(`name`),UD=_(`job_title`),WD=_(`company_name`),GD=_(`company_profile_url`),KD=_(`profile_url`),qD=_(`clado_person_match_v2`),JD=r.object({search_id:r.literal(VD),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,required:!0,max:1e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),search_id:Da({sectionKey:`general`,path:`config.search_id`,inputType:`text`,groupPath:`config.continue_existing_search`,label:`Search id`,description:`The id of the search you want to continue`}).default(``),offset:L({sectionKey:`general`,path:`config.offset`,required:!1,groupPath:`config.continue_existing_search`,label:`Offset`,max:1e5,min:1,description:`To continue the previous search, provide both the search_id and the last offset.`}),output_fields:R(r.object({[HD.name]:N({fieldName:HD.name}),[UD.name]:N({fieldName:UD.name}),[GD.name]:N({fieldName:GD.name}),[WD.name]:N({fieldName:WD.name}),[KD.name]:N({fieldName:KD.name}),[qD.name]:N({fieldName:qD.name})})),filters:r.object({query:Oa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:0,maxLength:2e4}).default(``)}).optional()})}).check(e=>{let t=!!e.value.config.filters?.query,n=!!e.value.config.search_id&&!!e.value.config.offset;!t&&!n&&e.issues.push({code:`custom`,input:``,message:`Must define either 'query' or both 'searchId' AND 'offset'.`,path:[`config.filters.query`]})}),YD={default:{input:[{fields:[{outputField:`profile_url`}]}]}},XD=class extends UE{searchId=VD;schema=JD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[HD.name]:this.catalogOutput(HD),[UD.name]:this.catalogOutput(UD),[WD.name]:this.catalogOutput(WD),[KD.name]:this.catalogOutput(KD),[GD.name]:this.catalogOutput(GD),[qD.name]:this.catalogOutput(qD)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return YD}},ZD=JD,QD={searchId:VD,billableOperation:`people-profiles-clado`,baseSearch:Bt(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search a growing dataset with semantic queries.`,tags:[],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_page`,creditsPerPage:3},provider:`clado`,defaultPayload:{search_id:VD,connector:null,config:{limit:100,search_id:``,offset:void 0,output_fields:{company_name:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},clado_person_match_v2:{enabled:!0,alias:``}},filters:{query:``}}}},$D=`people:employees:leadmagic@1`,eO=_(`name`),tO=_(`job_title`),nO=_(`company_website_url`),rO=_(`company_name`),iO=r.object({search_id:r.literal($D),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:500,min:1,required:!0,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(50),output_fields:R(r.object({[eO.name]:N({fieldName:eO.name}),[rO.name]:N({fieldName:rO.name}),[nO.name]:N({fieldName:nO.name}),[tO.name]:N({fieldName:tO.name})})),filters:r.object({company_website_url:Da({path:`config.filters.company_website_url`,sectionKey:`config.filters`,groupPath:`config.filters.website`,inputType:`text`,description:`URL of the employer company.`,label:`Company Website URL`})})})}),aO={default:{input:[{fields:[{outputField:nO.name}]}]}},oO=class extends UE{searchId=$D;schema=iO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[eO.name]:this.catalogOutput(eO),[tO.name]:this.catalogOutput(tO),[nO.name]:this.catalogOutput(nO),[rO.name]:this.catalogOutput(rO)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aO}},sO=iO,cO={searchId:$D,billableOperation:`people-employees-leadmagic`,baseSearch:WE(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[B.PEOPLE_PROFILES],docPath:GE($D),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:$D,connector:null,config:{limit:50,output_fields:{name:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0}},filters:{company_website_url:``}}}},lO=`people:profiles:crustdata@1`,uO=_(`name`),dO=_(`company_website_url`),fO=_(`profile_url`),pO=_(`job_title`),mO=_(`crustdata_person_match`),hO=r.object({search_id:r.literal(lO),connector:v.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of results`}).default(100),cursor:Da({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[uO.name]:N({fieldName:uO.name}),[dO.name]:N({fieldName:dO.name}),[fO.name]:N({fieldName:fO.name}),[pO.name]:N({fieldName:pO.name}),[mO.name]:N({fieldName:mO.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:g(`locations`),groupPath:`config.filters.general`}),profile_headline_keywords:ba({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:ba({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_languages:P({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),languages:P({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:g(`skills`)}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),current_employers:A({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`person.current_employer_names.crustdata`)}),current_employers_website_urls:A({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),current_employers_linkedin_industries:F({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`)}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}),previous_employers_website_urls:A({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:h(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:A({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:g(`person.past_employer_names.crustdata`)}),previous_job_titles:A({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:g(`titles`)}),previous_employers_linkedin_industries:F({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:g(`linkedin_industries.crustdata`)}),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,description:``}),recently_changed_jobs:Ea({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`person.education_field_of_study.crustdata`)}),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`person.education_degree.crustdata`)}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`schools`)}),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:g(`schools`)}),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:g(`person.education_activities.crustdata`)})}).check(e=>{VE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),gO={default:{input:[{fields:[]}]}},_O=class extends UE{searchId=lO;schema=hO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[uO.name]:this.catalogOutput(uO),[dO.name]:this.catalogOutput(dO),[fO.name]:this.catalogOutput(fO),[pO.name]:this.catalogOutput(pO),[mO.name]:this.catalogOutput(mO)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return gO}},vO=hO,yO={searchId:lO,billableOperation:`people-profiles-crustdata`,baseSearch:WE(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:GE(lO),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:lO,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:[],languages:[],profile_summary_keywords:[],previous_job_titles:[],current_employers:[],current_school_names:[],years_at_current_company:[],certifications:[],honors:[],current_employers_linkedin_industries:[],current_employers_website_urls:[],previous_employers_website_urls:[],current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:[],locations:[],profile_languages:[],recently_changed_jobs:null,extracurricular_activities:[],school_names:[],fields_of_study:[],previous_employers:[],current_job_titles:[],skills:[],years_of_experience:[],previous_employers_linkedin_industries:[]}}}},bO=`people:profiles:exa@1`,xO=_(`name`),SO=_(`profile_url`),CO=_(`job_title`),wO=_(`company_name`),TO=_(`company_region`),EO=_(`exa_match_evaluation`),DO=r.object({search_id:r.literal(bO),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,required:!0,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[xO.name]:N({fieldName:xO.name}),[SO.name]:N({fieldName:SO.name}),[CO.name]:N({fieldName:CO.name}),[wO.name]:N({fieldName:wO.name}),[TO.name]:N({fieldName:TO.name}),[EO.name]:N({fieldName:EO.name})})),filters:r.object({query:Oa({path:`config.filters.query`,sectionKey:`config.filters`,placeholder:`e.g. Software engineers in San Francisco`,groupPath:`config.filters.query`,rows:5,label:`Search description in natural language`,minLength:10,maxLength:2e4})})})}),OO={default:{input:[{fields:[]}]}},kO=class extends UE{searchId=bO;schema=DO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[xO.name]:this.catalogOutput(xO),[SO.name]:this.catalogOutput(SO),[CO.name]:this.catalogOutput(CO),[wO.name]:this.catalogOutput(wO),[TO.name]:this.catalogOutput(TO),[EO.name]:this.catalogOutput(EO)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return OO}},AO=DO,jO={searchId:bO,billableOperation:`people-profiles-exa`,baseSearch:WE(`people:profiles:exa@1`),label:`People finder (websets)`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Semantic AI search for people profiles. This search can take several minutes.`,tags:[B.COMPANY_PROFILES],docPath:GE(bO),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:bO,connector:null,config:{limit:10,output_fields:{name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},company_name:{enabled:!0,alias:``},company_region:{enabled:!0,alias:``},exa_match_evaluation:{enabled:!1,alias:``}},filters:{query:``}}}},MO=`people:profiles:icypeas@1`,NO=_(`name`),PO=_(`job_title`),FO=_(`profile_headline`),IO=_(`company_website_url`),LO=_(`company_profile_url`),RO=_(`profile_url`),zO=_(`icypeas_person_match`),BO=r.object({search_id:r.literal(MO),connector:v.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,required:!0,max:5e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({[NO.name]:N({fieldName:NO.name}),[PO.name]:N({fieldName:PO.name}),[FO.name]:N({fieldName:FO.name}),[IO.name]:N({fieldName:IO.name}),[LO.name]:N({fieldName:LO.name}),[RO.name]:N({fieldName:RO.name}),[zO.name]:N({fieldName:zO.name})})),filters:r.object({firstname:j({path:`config.filters.firstname`,sectionKey:`config.filters`,includeLabel:`First names to include`,excludeLabel:`First names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),lastname:j({path:`config.filters.lastname`,sectionKey:`config.filters`,includeLabel:`Last names to include`,excludeLabel:`Last names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),currentJobTitle:j({path:`config.filters.currentJobTitle`,sectionKey:`config.filters`,includeLabel:`Current job titles to include`,excludeLabel:`Current job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.currentEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Include current employer domains`,excludeLabel:`Exclude current employer domains`,maxItems:100}).optional(),pastEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.pastEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Past employers website URLs to include`,excludeLabel:`Past employers website URLs to exclude`,maxItems:100}).optional(),pastJobTitle:j({path:`config.filters.pastJobTitle`,sectionKey:`config.filters`,includeLabel:`Past job titles to include`,excludeLabel:`Past job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentCompanyName:j({path:`config.filters.currentCompanyName`,sectionKey:`config.filters`,includeLabel:`Companies to include`,excludeLabel:`Companies to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),pastCompanyName:j({path:`config.filters.pastCompanyName`,sectionKey:`config.filters`,includeLabel:`Past employers to include`,excludeLabel:`Past employers to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),school:j({path:`config.filters.school`,sectionKey:`config.filters`,includeLabel:`Schools to include`,excludeLabel:`Schools to exclude`,label:``,description:``,placeholder:``,groupPath:`config.filters.education`,maxItems:200}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:`Filter by location`,placeholder:`e.g., US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:200}).optional(),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,includeLabel:`Languages to include`,excludeLabel:`Languages to exclude`,description:`ex. EN, ES`,groupPath:`config.filters.languages`,maxItems:200}).optional(),skills:j({path:`config.filters.skills`,sectionKey:`config.filters`,includeLabel:`Skills to include`,excludeLabel:`Skills to exclude`,description:``,placeholder:``,groupPath:`config.filters.skills`,maxItems:200}).optional(),keyword:j({path:`config.filters.keyword`,sectionKey:`config.filters`,includeLabel:`Keywords to include`,excludeLabel:`Keywords to exclude`,description:``,placeholder:`CEO, Sales, Scrum`,groupPath:`config.filters.general_search`,maxItems:200}).optional()}).check(e=>{VE(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),VO={default:{input:[{fields:[{outputField:`profile_url`}]}]}},HO=class extends UE{searchId=MO;schema=BO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[NO.name]:this.catalogOutput(NO),[PO.name]:this.catalogOutput(PO),[FO.name]:this.catalogOutput(FO),[IO.name]:this.catalogOutput(IO),[LO.name]:this.catalogOutput(LO),[RO.name]:this.catalogOutput(RO),[zO.name]:this.catalogOutput(zO)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return VO}},UO=BO,WO={searchId:MO,billableOperation:`people-profiles-icypeas`,provider:`icypeas`,baseSearch:WE(MO),label:`Find people profiles`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search a filter-based, general-purpose lead database with people profiles.`,tags:[B.PEOPLE_PROFILES],docPath:GE(MO),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:MO,connector:null,config:{limit:100,output_fields:{company_profile_url:{enabled:!0,alias:``},company_website_url:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},name:{enabled:!0,alias:``},profile_headline:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},icypeas_person_match:{enabled:!0,alias:``}},filters:{currentCompanyName:{include:[],exclude:[]},currentEmployersWebsiteUrls:{include:[],exclude:[]},pastEmployersWebsiteUrls:{include:[],exclude:[]},currentJobTitle:{include:[],exclude:[]},firstname:{include:[],exclude:[]},keyword:{include:[],exclude:[]},languages:{include:[],exclude:[]},lastname:{include:[],exclude:[]},location:{include:[],exclude:[]},pastCompanyName:{include:[],exclude:[]},pastJobTitle:{include:[],exclude:[]},school:{include:[],exclude:[]},skills:{include:[],exclude:[]}}}}},GO={"people:profiles:crustdata@1":_O,"companies:profiles:crustdata@1":eD,"companies:profiles:exa@1":fD,"people:profiles:exa@1":kO,"people:profiles:icypeas@1":HO,"companies:profiles:icypeas@1":ED,"people:employees:leadmagic@1":oO,"people:profiles:clado@1":RD,"people:profiles:clado@2":XD},KO={"people:profiles:crustdata@1":vO,"companies:profiles:crustdata@1":tD,"companies:profiles:exa@1":pD,"people:profiles:exa@1":AO,"people:profiles:icypeas@1":UO,"companies:profiles:icypeas@1":DD,"people:employees:leadmagic@1":sO,"people:profiles:clado@1":zD,"people:profiles:clado@2":ZD},qO={"people:profiles:crustdata@1":yO,"companies:profiles:crustdata@1":nD,"companies:profiles:exa@1":mD,"people:profiles:exa@1":jO,"people:profiles:icypeas@1":WO,"companies:profiles:icypeas@1":OD,"people:employees:leadmagic@1":cO,"people:profiles:clado@1":BD,"people:profiles:clado@2":QD};function JO(e){return GO[e]}function YO(e){return KO[e]}function XO(e){return qO[e].defaultPayload}const ZO=t.discriminatedUnion(`search_id`,Object.values(KO).map(e=>e)),QO=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=XO(e.search_id);return t?{...e,config:ja(e?.config||{},t.config)}:e},ZO);function $O(e){return Object.keys(qO[e].defaultPayload.config.output_fields)}const ek=Wn,tk=t.object({value:jn,status:An,type:On.optional(),format:qn.nullable().optional(),resolved_by:$n.nullable().optional(),widgets:Un.optional()}),nk=t.record(t.string(),tk.nullable()),rk=t.object({search:t.object({ref:BE}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(ek),meta:t.object({providers:t.object({clado:t.object({pagination:t.object({search_id:t.string().optional(),offset:t.number().optional()})}).optional(),crustdata:t.object({pagination:t.object({cursor:t.string().nullable()})}).optional()}).optional()})}),ik=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(nk),search_statuses:t.array(rk),organizationId:t.string()}).openapi(`SearchesResponseSchema`),ak=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),ok=ak.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),sk=t.object({config:ok.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(QO)}).openapi(`SearchesRequestSchema`);function ck(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function lk(){let e={};for(let t of Object.values(qO)){let{baseSearch:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=ck(e.searchId);return ck(t.searchId)-n})}),e}const uk=lk();function dk(e){let t=[];for(let[n,r]of Object.entries(uk)){let i=r[0];if(!i)throw Error(`Found empty entry`);i.lifecycle?.deprecatedOn&&e!==`deprecated`||(e===null||i.categories.includes(e))&&t.push({...i,baseSearch:n,latestVersion:ck(i.searchId)})}return t}function fk(e,t){let n=e.filter(e=>t===null?!0:e.categories.some(e=>e===t)),r={},i={},a={};for(let e of n){if(e.lifecycle&&e.lifecycle.deprecatedOn){i.Deprecated??=[],i.Deprecated.push(e.searchId);continue}a[e.provider]??=[],a[e.provider].push(e.searchId);for(let t of $O(e.searchId))r[t]??=[],r[t].push(e.searchId);for(let t of e.tags)i[t]??=[],i[t].push(e.searchId)}return{searchIdsByOutputField:r,searchIdsByTag:i,searchIdsByProvider:a,sortedTagEntries:Object.entries(i).sort((e,t)=>e[0].localeCompare(t[0])),sortedOutputFieldEntries:Object.entries(r).sort((e,t)=>e[0].localeCompare(t[0])),sortedProviderEntries:Object.entries(a).sort((e,t)=>e[0].localeCompare(t[0])),searchEntriesByBaseSearch:uk}}function pk(e){return qO[e]}function mk(e){let t=pk(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function hk(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function gk(e){return hk(Zw(e).allowedUserConnectionProviders)}function _k(e){return hk([Iw(e).provider])}function vk(e){return hk([pk(e).provider])}const yk=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],bk=new Map(yk.map(e=>[e.id,e]));function xk(e){return bk.get(e)}function Sk(){return yk}const Ck={"people:profiles:amplemarket@1":[{search_id:`people:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@1":[{search_id:`companies:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@1":[{search_id:`people:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employers:{include:[],exclude:[]},current_employers_website_urls:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employers_linkedin_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employers:{include:[],exclude:[]},previous_employers_website_urls:{include:[],exclude:[]},previous_employers_linkedin_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@1":[{search_id:`companies:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}],"people:profiles:amplemarket@2":[{search_id:`people:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@2":[{search_id:`companies:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@2":[{search_id:`people:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employer_names:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employer_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},previous_employer_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@2":[{search_id:`companies:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}],"companies:entitysearch:parallel@1":[{search_id:`companies:entitysearch:parallel@1`,config:{objective:`AI startups in Europe that raised a Series A in 2024`,limit:100}}],"people:entitysearch:parallel@1":[{search_id:`people:entitysearch:parallel@1`,config:{objective:`Heads of Engineering at Series B fintech companies in the US`,limit:100}}]};function wk(e,t,n){if(t==null)return{};try{let r=fn(e,n)?.getStaticWidgets?.(t),i=KT(n,t);return OS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Tk(e){if(e instanceof $)return e;let t=e.search_id,n=Cw(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(Ew.parse(e))}var Ek=class extends ug{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function Dk(e){let t=[];for(let n of e){if(n instanceof UE){t.push(n);continue}let e=n.search_id,r=JO(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(QO.parse(n));t.push(i)}return t}function Ok(e){try{return Dk(e.searches)}catch(e){throw e instanceof Ek?e:new Q([Z.ValidationFailed({error:e})])}}const kk=/[\\^$.+()|[\]{}]/g,Ak=new Map;function jk(e){let t=Ak.get(e);if(t)return t;let n=``;for(let t=0;t<e.length;t++){let r=e[t];r===`*`?n+=`.*`:r===`?`?n+=`.`:n+=r.replace(kk,`\\$&`)}let r=RegExp(`^${n}$`);return Ak.set(e,r),r}function Mk(e,t){return jk(t).test(e)}function Nk(e,t){if(!t||t.length===0)return!1;for(let n of t)if(Mk(e,n))return!0;return!1}function Pk(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!Nk(e,n)||r&&r.length>0&&Nk(e,r))}function Fk(e,t){return Pk(e,t?.providers)}function Ik(e,t){if(!t)return!0;if(!Pk(e,t.pipes))return!1;if(t.providers){let n=tT(e);if(n.length===0)return!0;if(!n.some(e=>Fk(e,t)))return!1}return!0}function Lk(e,t,n){return t?!(!Pk(e,t.searches)||n!==void 0&&!Fk(n,t)):!0}function Rk(e,t,n){return t?!(!Pk(e,t.searchesMulti)||n!==void 0&&!Fk(n,t)):!0}function zk(e,t){return t?e.filter(e=>Ik(e.pipeId,t)):e.slice()}function Bk(e,t){return t?e.filter(e=>Lk(e.searchId,t,e.provider)):e.slice()}function Vk(e,t){return t?e.filter(e=>Rk(e.searchId,t,e.provider)):e.slice()}function Hk(e){let t=Object.values(e.billableOperations).map(e=>e.allowManagedConnection?e.credits.default:0);return Math.min(...t)}function Uk(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function Wk(e){return e.cost.credits.default}function Gk(e){let t=WT(e);if(!t)return``;try{return te(t)||new URL(t).hostname}catch{return``}}const Kk=[`http://`,`https://`,`mailto:`],qk=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function Jk(e){return e?Yk(e):[]}function Yk(e){let t=[],n=``,r=0,i=()=>{n&&=(t.push({type:`text`,value:n}),``)};for(;r<e.length;){let a=e[r],o=e[r+1];if(a===`\\`&&o!==void 0&&qk.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=Xk(e,r+1,"`");if(n>-1){i(),t.push({type:`code`,value:e.slice(r+1,n)}),r=n+1;continue}}if(a===`*`&&o===`*`){let n=Xk(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:Yk(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=Xk(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:Yk(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=Xk(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:Yk(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=Xk(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=Xk(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(Kk.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:Yk(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function Xk(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(Zk(e,r,n))return r;r+=1}return-1}function Zk(e,t,n){if(t+n.length>e.length)return!1;for(let r=0;r<n.length;r++)if(e[t+r]!==n[r])return!1;return!0}export{si as AI_MODELS,ci as AI_MODEL_CATALOG,ir as CatalogSchemaRefSchema,cr as ConditionOperatorsSchema,tr as ExpandedFieldValueSchema,Mh as FIELD_PLACEHOLDERS,Jn as FieldAnnotationSchema,eE as FieldAnnotations,Yn as FieldAnnotationsSchema,Sn as FieldNameSchema,Gn as FieldReasonSchema,jn as FieldValueSchema,TT as FormStoreSchema,PT as HIGH_VOLUME_PRICING_MIN_CREDITS,sr as JSONExtractSchema,Mn as JSONMetaSchema,mr as NoConnectorSchema,v as OptionalConnectorSchema,Tn as PIPE_IDS,Mw as PaginationTypeSchema,Nb as PersonWorkemailWaterfall1Entry,Mb as PersonWorkemailWaterfall1PayloadSchema,jb as PersonWorkemailWaterfall1PipeClass,U as Pipe,ug as Pipe0Error,En as PipeIdSchema,Yw as PipePayloadSchema,vr as PipeRunIfSchema,Q as PipelineValidationError,wn as PipesEnvironmentSchema,Wn as PipesErrorSchema,ar as PipesFieldDefinitionSchema,or as PipesFieldDefinitionsSchema,nr as PipesInputSchema,sT as PipesRequestConfigSchema,cT as PipesRequestSchema,oT as PipesResponseSchema,Xw as ProcessedPipePayloadSchema,Ew as ProcessedSearchPayloadSchema,QO as ProcessedSearchesPayloadSchema,Cn as ProviderNameSchema,Kn as RECORD_FIELD_FORMATS,Dn as RECORD_FIELD_TYPES,lr as RUN_IF_OPERATOR_LABELS,dr as RUN_IF_STATUS_OPERATORS,ur as RUN_IF_VALUE_OPERATORS,Qn as RecordClaimedBySchema,qn as RecordFieldFormatSchema,er as RecordFieldSchema,An as RecordFieldStatusSchema,On as RecordFieldTypeSchema,kn as RecordIdSchema,$n as RecordResolvedBySchema,rr as RecordSchema,lg as RequestValidationError,pr as RequiredConnectorSchema,gr as RunIfStatusOperatorsSchema,_r as RunIfStatusValueSchema,hr as RunIfValueOperatorsSchema,zE as SEARCHES_IDS,cS as SEARCH_IDS,$ as Search,Ow as SearchErrorSchema,lS as SearchIdSchema,ww as SearchPayloadSchema,Dw as SearchRequestSchema,Nw as SearchResponseSchema,kw as SearchResultFieldSchema,Aw as SearchResultSchema,ek as SearchesErrorSchema,BE as SearchesIdSchema,ZO as SearchesPayloadSchema,ak as SearchesRequestBaseConfigSchema,sk as SearchesRequestSchema,ik as SearchesResponseSchema,tk as SearchesResultFieldSchema,nk as SearchesResultSchema,UE as SearchesSearch,rk as SearchesStatusSchema,ud as TYPES_TO_FORMATS,ST as WidgetsByKindSchema,Un as WidgetsSchema,Pa as all,zr as analyzeLiquidTemplate,yn as and,H as any,rT as assertUniqueBillableOperations,g as autocomplete,li as buildAiModelBillableOperations,nE as buildDependencyGraph,oh as buildInputRequirementFromTemplates,K as catalogInput,Ba as cleanObject,WT as cleanUrl,UT as cleanWebsiteUrl,sh as collectConstantReferencesFromTemplates,pT as collectPipeContextSelectFields,La as collectRequirementFields,Y as collectSecretReferencesFromTemplates,jk as compilePattern,ja as configDefaults,Wi as convertIntermediateFieldsIntoGroups,Gi as defaultSectionMap,sg as describeRequirement,DS as entityLogoFavicon,ES as entityLogoProfessionalProfileUrl,Ji as extractFormMetadata,V as field,dn as fieldBehaviorCatalog,un as fieldCatalog,og as fieldNameStr,qT as fieldTypeFromValue,NE as fieldsToObject,zk as filterPipeEntries,Bk as filterSearchEntries,Vk as filterSearchesEntries,ui as getAiModelBillingKey,fi as getAiModelConnectionRequirements,di as getAiModelProviders,pi as getAllAiModelProviders,W as getBasePipeName,Gw as getDefaultOutputFields,tT as getDefaultPipeProviders,zw as getDefaultSearchOutputFields,$O as getDefaultSearchesOutputFields,MT as getDependentPipeNamesForInputProperty,NT as getDependentPipeNamesForPipe,Gk as getDomain,YT as getExpansionState,wS as getFaviconUrlGoogle,_ as getField,fn as getFieldBehavior,od as getFieldDisplayLabel,ZT as getFieldWidgets,Rw as getInitialSearchTableData,dk as getInitialSearchesTableData,iT as getInitialTableData,Wa as getInputHash,hi as getJsonMetaForFieldDef,Wk as getLoweestSearchCreditAmount,Uk as getLoweestSearchesCreditAmount,Hk as getLowestPipeCreditAmount,xn as getOutputFieldInfoFromDef,Qw as getPipeBillableOperationDef,kT as getPipeCategoryEntries,OT as getPipeCategoryEntry,Kw as getPipeClass,Ua as getPipeConfigHash,qw as getPipeDefaultPayload,G as getPipeDocsURI,Zw as getPipeEntry,jT as getPipeInstances,mT as getPipePayloadFormConfig,Jw as getPipePayloadSchema,$w as getPipeVersion,J as getProviderBillableOperation,Ga as getProviderCreditsFromBillableOperations,RE as getProviderEntry,gn as getReadableFieldStatus,hk as getSandboxConnections,gk as getSandboxConnectionsForPipe,_k as getSandboxConnectionsForSearch,vk as getSandboxConnectionsForSearches,Sk as getSearchCategoryEntries,xk as getSearchCategoryEntry,Cw as getSearchClass,Tw as getSearchDefaultPayload,Iw as getSearchEntry,wk as getSearchFieldWidgets,Tk as getSearchInstance,vT as getSearchPayloadFormConfig,jw as getSearchPayloadSchema,Bw as getSearchTableDataAggregates,Pw as getSearchVersion,JO as getSearchesClass,XO as getSearchesDefaultPayload,pk as getSearchesEntry,QT as getSearchesFieldWidgets,Dk as getSearchesInstances,YO as getSearchesPayloadSchema,fk as getSearchesTableDataAggregates,ck as getSearchesVersion,lT as getStartingCostPerPipesProvider,Vw as getStartingCostPerSearchProvider,mk as getStartingCostPerSearchesProvider,aT as getTableDataAggregates,IT as getTier,XT as getUnexpandedValue,TS as ifDefined,z as inputFields,IE as inputFromRecord,FE as inputFromRecordArr,PE as inputFromRecords,yT as inputGuards,mn as isCatalogField,zt as isEmptyValue,pn as isFieldName,zT as isHighVolumeEligible,Ik as isPipeAllowed,Fk as isProviderAllowed,Ia as isRequirementMet,Ra as isRequirementSatisfiedByRecord,Lk as isSearchAllowed,Rk as isSearchesAllowed,ri as joinConnectionString,BT as listHighVolumeEligibleOperations,RT as listTiers,qa as markRecordFieldAsComplete,Xa as markRecordFieldAsFailed,Ya as markRecordFieldAsNoResult,Ja as markRecordFieldAsPending,Qa as markRecordFieldAsProcessing,Za as markRecordFieldAsSkipped,Nk as matchesAny,Mk as matchesPattern,OS as mergeWidgets,T as noConnectorInput,Fa as optional,w as optionalConnectorInput,bn as or,R as outputFields,Rr as parseLiquidTemplate,Mr as parseOutputTagArgs,xE as parseRecordValueOrError,Jk as parseRichText,Ww as pipeCatalog,ET as pipeCategoryCatalog,Hw as pipeClassCatalog,Uw as pipePayloadSchemaCatalog,ca as pipesAsyncIncludeExcludeSelectInput,ya as pipesContextSelectInput,ua as pipesDateRangeInput,ta as pipesFieldsSelectInput,na as pipesIncludeExcludeInput,sa as pipesIncludeExcludeSelectInput,E as pipesInputField,ga as pipesIntInput,Ci as pipesJsonExtractionInput,va as pipesJsonSchemaField,oa as pipesKeyValueListInput,ma as pipesLLMSelectInput,ra as pipesMultiCreateInput,ha as pipesMultiSelectInput,_a as pipesNumberInput,O as pipesOptionalBooleanInput,ia as pipesOrderedMultiCreateInput,k as pipesOutputField,y as pipesPayloadRegistry,Xi as pipesPromptInput,D as pipesProviderInput,la as pipesRangeInput,S as pipesRunIfInput,pa as pipesSelectInput,AT as pipesSnippetCatalog,aa as pipesTaggedOrderedMultiCreateInput,C as pipesTaggedTextInput,Zi as pipesTemplateInput,da as pipesTextInput,fa as pipesTextareaInput,X as placeholder,LE as processInputObjects,yr as providerCatalog,q as rateLimitRatioFallingProgression,Ir as renderLiquidTemplate,Lr as renderLiquidTemplateSync,$i as requiredConnectorInput,Ka as requirementToInputFields,cg as requirementUnmetMessage,_n as requiresConnection,vn as requiresField,Sw as searchCatalog,yk as searchCategoryCatalog,bw as searchClassCatalog,xw as searchPayloadSchemaCatalog,Ck as searchSnippetCatalog,I as searchesAsyncIncludeExcludeSelectInput,F as searchesAsyncMultiSelectInput,qO as searchesCatalog,GO as searchesClassCatalog,wa as searchesDateRangeInput,Sa as searchesExactRangeInput,j as searchesIncludeExcludeInput,M as searchesIncludeExcludeSelectInput,L as searchesIntInput,xa as searchesMinMaxIntInput,A as searchesMultiCreateInput,P as searchesMultiSelectInput,Aa as searchesNumberField,Ta as searchesOptionalBooleanInput,Ea as searchesOptionalNullableBooleanInput,ba as searchesOrderedMultiCreateInput,N as searchesOutputField,b as searchesPayloadRegistry,KO as searchesPayloadSchemaCatalog,Ca as searchesRangeInput,ka as searchesSelectInput,Da as searchesTextInput,Oa as searchesTextareaField,ld as sortObjectKeys,eT as sortPipeCatalogByBasePipe,Fw as sortSearchCatalogByBaseSearch,lk as sortSearchesCatalogByBaseSearch,ni as splitConnectionString,h as staticAutocomplete,m as staticOptions,cd as stringify,sd as testPrint,LT as tierAtOrBelow,wE as transformIntoResponse,rE as validatePipesOrError,Ok as validateSearches,Z as validationErrorMessages};
|