@pipe0/base 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.d.mts +253 -306
- package/dist/index.mjs +13 -9
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{extendZodWithOpenApi as e}from"@asteasolutions/zod-to-openapi";import*as t from"zod";import{ZodError as n,z as r}from"zod";import{Drop as i,Liquid as a,TokenKind as o}from"liquidjs";import{Ajv as s}from"ajv";import c from"json-schema-traverse";import l from"xxhash-wasm";import{autocomplete as u,staticAutocomplete as d,staticOptions as f}from"@pipe0/autocomplete";import{format as ee,parse as p}from"date-fns";import{getDomain as te}from"tldts";e(r);const m={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`},ne=r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.string().url().nullable(),linkedin_url:r.string().url().nullable(),keywords:r.array(r.string()),estimated_number_of_employees:r.number().nullable(),size:r.string().nullable(),industry:r.string().nullable(),logo_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),postal_code:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),locations:r.array(r.object({is_primary:r.boolean(),address:r.string().nullable(),country:r.string().nullable(),state:r.string().nullable(),city:r.string().nullable(),postal_code:r.string().nullable()})),overview:r.string().nullable(),followers:r.number().nullable(),founded_year:r.number().nullable(),traffic_rank:r.number().nullable(),sic_codes:r.array(r.number()),naics_codes:r.array(r.number()),type:r.string().nullable(),total_funding:r.number().nullable(),latest_funding_stage:r.string().nullable(),latest_funding_date:r.string().nullable(),funding_events:r.array(r.object({date:r.string().nullable(),type:r.string().nullable(),investors:r.array(r.unknown()),amount:r.number().nullable(),currency:r.string().nullable(),amount_usd:r.number().nullable()})),is_b2b:r.boolean().nullable(),is_b2c:r.boolean().nullable(),technologies:r.array(r.unknown()),department_headcount:r.record(r.string(),r.number()),job_function_headcount:r.record(r.string(),r.record(r.string(),r.number())),estimated_revenue:r.string().nullable()}),h={id:`019b4aec-0d35-7c3d-8f91-fda409a136ed`,object:`company`,name:`A Company`,website:`https://company.com`,linkedin_url:`https://www.linkedin.com/company/company-1`,keywords:[`sales`,`ai sales`,`sales engagement`],estimated_number_of_employees:500,size:`201-500 employees`,industry:`Software Development`,logo_url:`https://assets.amplemarket.com/avatars/company/019b4aec-0d35-7c3d-8f91-fda409a136ed`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,postal_code:`94103`,lat:37.7749,long:-122.4194},locations:[{is_primary:!0,address:`123 Main St, San Francisco, CA 94103, United States`,country:`United States`,state:`California`,city:`San Francisco`,postal_code:`94103`},{is_primary:!1,address:`456 Broadway, New York, NY 10001, United States`,country:`United States`,state:`New York`,city:`New York`,postal_code:`10001`}],overview:`We're an AI company.`,followers:300,founded_year:1995,traffic_rank:50,sic_codes:[1,2,3],naics_codes:[5112,511,51],type:`Privately Held`,total_funding:0,latest_funding_stage:`series_b`,latest_funding_date:`2019-11-02`,funding_events:[{date:`2019-11-02`,type:`Series B`,investors:[],amount:4e7,currency:null,amount_usd:null}],is_b2b:!0,is_b2c:!1,technologies:[],department_headcount:{consulting:31420,design:5312,education:9063,engineering_technical:167805,finance:31894,human_resources:33265,information_technology:94657,legal:41863,marketing:38192,medical_health:11440,operations:198127,product:11077,revenue:75777,senior_leadership:1933},job_function_headcount:{finance:{accounting:12824,finance:12197,financial_planning_analysis:2468,financial_reporting:250,financial_risk:886,financial_strategy:91,financial_systems:11,internal_audit_control:850,investor_relations:129,mergers_acquisitions:259,real_estate_finance:117,shared_services:56,sourcing_procurement:3767,tax:822,treasury:179},legal:{acquisitions:8,compliance:4921,contracts:206,corporate_secretary:217,ediscovery:57,ethics:1070,governance:66,governmental_affairs_regulatory_law:518,intellectual_property_patent:63,labor_employment:96,lawyer_attorney:2014,legal:31969,legal_counsel:879,legal_operations:3777,litigation:89,privacy:198},revenue:{account_management:16253,business_development:10633,channel_sales:618,customer_retention_development:1746,customer_success:15253,field_outside_sales:5375,inside_sales:3475,partnerships:380,revenue_operations:26,sales:43809,sales_enablement:26,sales_engineering:135,sales_operations:254,sales_training:465},engineering_technical:{artificial_intelligence_machine_learning:4466,bioengineering_biometrics:2,business_intelligence:6811,chemical_engineering:3014,cloud_mobility:1144,data_science:9589,devops:502,digital_transformation:13,emerging_technology_innovation:576,engineering_technical:37540,industrial_engineering:1242,mechanic:1037,mobile_development:3282,project_management:4923,research_development:10123,scrum_master_agile_coach:173,software_development:57246,support_technical_services:8328,technician:7999,technology_operations:64,test_quality_assurance:6722,ui_ux:458,web_development:2551},operations:{call_center:2095,construction:2338,corporate_strategy:1194,customer_service_support:21434,enterprise_resource_planning:389,facilities_management:18036,leasing:33,logistics:75145,office_operations:32304,operations:27241,physical_security:3280,project_development:695,quality_management:1801,real_estate:961,safety:2794,store_operations:26641,supply_chain:2728},senior_leadership:{executive:348,finance_executive:71,founder:1128,human_resources_executive:3,information_technology_executive:35,legal_executive:2,marketing_executive:314,medical_health_executive:3,operations_executive:32,sales_executive:2},medical_health:{anesthesiology:33,chiropractics:64,clinical_systems:91,dentistry:480,dermatology:6,doctors_physicians:1214,epidemiology:1,first_responder:504,medical_administration:767,medical_education_training:19,medical_research:92,medicine:1202,neurology:1,nursing:2053,nutrition_dietetics:94,obstetrics_gynecology:50,oncology:3,ophthalmology:11,optometry:46,orthopedics:14,pathology:15,pediatrics:20,pharmacy:873,physical_therapy:342,psychiatry:383,psychology:663,public_health:803,radiology:215,social_work:2495},information_technology:{application_development:37630,business_service_management_itsm:1710,collaboration_web_app:281,data_center:597,data_warehouse:2090,database_administration:309,ecommerce_development:285,enterprise_architecture:784,help_desk_desktop_services:4164,hr_financial_erp_systems:807,information_security:1742,information_technology:9139,infrastructure:2254,it_asset_management:100,it_audit_it_compliance:50,it_operations:6941,it_procurement:866,it_strategy:439,it_training:51,networking:1528,project_program_management:15780,quality_assurance:8126,retail_store_systems:1042,servers:984,storage_disaster_recovery:111,telecommunications:186,virtualization:915},education:{principal:458,professor:694,superintendent:28,teacher:7885},marketing:{advertising:3032,brand_management:2504,content_marketing:2641,customer_experience:812,customer_marketing:8,demand_generation:507,digital_marketing:1640,ecommerce_marketing:1121,event_marketing:125,field_marketing:740,lead_generation:2937,marketing:18980,marketing_analytics_insights:716,marketing_communications:496,marketing_operations:71,product_marketing:1319,public_relations:972,search_engine_optimization_pay_per_click:974,social_media_marketing:1411,strategic_communications:709,technical_marketing:5},consulting:{consultant:31420},human_resources:{compensation_benefits:908,culture_diversity_inclusion:182,employee_labor_relations:1147,health_safety:1087,hr_business_partner:3332,human_resource_information_system:1321,human_resources:13884,learning_development:7386,organizational_development:154,people_operations:10,recruiting_talent_acquisition:5764,talent_management:911,workforce_management:571},design:{graphic_visual_brand_design:3707,product_or_ui_ux_design:2364},product:{product_development:266,product_management:10811}},estimated_revenue:`$1M-$10M`},g=r.object({id:r.string(),object:r.literal(`person`),name:r.string(),first_name:r.string(),last_name:r.string(),linkedin_url:r.url().nullable().optional(),title:r.string().nullable(),headline:r.string().nullable(),about:r.string().nullable(),current_position_start_date:r.string().nullable(),current_position_description:r.string().nullable(),image_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),experiences:r.array(r.object({object:r.literal(`experience`),title:r.string().nullable(),company_name:r.string().nullable(),company_linkedin_url:r.string().url().nullable(),start_date:r.string().nullable(),end_date:r.string().nullable()})),educations:r.array(r.object({object:r.literal(`education`),degree:r.string().nullable(),field_of_study:r.string().nullable(),school_name:r.string().nullable(),school_linkedin_url:r.string().url().nullable(),start_date:r.string().nullable(),end_date:r.string().nullable()})),languages:r.array(r.object({object:r.literal(`language`),language:r.string(),iso_code:r.string(),proficiency:r.string().nullable()})),company:r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.string().url().nullable(),linkedin_url:r.string().url().nullable(),keywords:r.array(r.string()),estimated_number_of_employees:r.number().nullable(),size:r.string().nullable(),industry:r.string().nullable(),logo_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),postal_code:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),locations:r.array(r.unknown()),overview:r.string().nullable(),followers:r.number().nullable(),founded_year:r.number().nullable(),traffic_rank:r.number().nullable(),sic_codes:r.array(r.number()),naics_codes:r.array(r.number()),type:r.string().nullable(),total_funding:r.number().nullable(),latest_funding_stage:r.string().nullable(),latest_funding_date:r.string().nullable(),is_b2b:r.boolean().nullable(),is_b2c:r.boolean().nullable(),technologies:r.array(r.unknown()),department_headcount:r.record(r.string(),r.number()),job_function_headcount:r.record(r.string(),r.record(r.string(),r.number())),estimated_revenue:r.string().nullable()}).nullable(),gender:r.string().nullable()}),_={id:`019a79fa-0858-7e5d-996e-d1b18d4d5a4f`,object:`person`,name:`Jonh Doe`,first_name:`Jonh`,last_name:`Doe`,linkedin_url:`https://www.linkedin.com/in/person-1`,title:`Founder and CEO`,headline:`CEO @ Company`,about:null,current_position_start_date:`2022-05-01`,current_position_description:null,image_url:`http://haag.example/gary`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,lat:37.7749,long:-122.4194},experiences:[{object:`experience`,title:`CEO`,company_name:`A Company`,company_linkedin_url:`https://www.linkedin.com/company/company-1`,start_date:`2023-11-01`,end_date:null}],educations:[{object:`education`,degree:`BSc`,field_of_study:`Computer Science`,school_name:`MIT`,school_linkedin_url:`https://www.linkedin.com/school/mit`,start_date:`2019-11-01`,end_date:`2023-11-01`}],languages:[{object:`language`,language:`Portuguese`,iso_code:`por`,proficiency:`Native or bilingual proficiency`},{object:`language`,language:`English`,iso_code:`eng`,proficiency:`Professional working proficiency`},{object:`language`,language:`Spanish`,iso_code:`spa`,proficiency:null}],company:{id:`019a79fa-07e3-7d74-b11f-374bf213e9ad`,object:`company`,name:`A Company`,website:`https://company.com`,linkedin_url:`https://www.linkedin.com/company/company-1`,keywords:[`sales`,`ai sales`,`sales engagement`],estimated_number_of_employees:500,size:`201-500 employees`,industry:`Software Development`,logo_url:`https://assets.amplemarket.com/avatars/company/019a79fa-07e3-7d74-b11f-374bf213e9ad`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,postal_code:`94103`,lat:37.7749,long:-122.4194},locations:[],overview:`Circle Health is a group of hospitals in the UK`,followers:0,founded_year:1995,traffic_rank:50,sic_codes:[1,2,3],naics_codes:[5112,511,51],type:`Privately Held`,total_funding:4e7,latest_funding_stage:`series_b`,latest_funding_date:`2019-11-02`,is_b2b:!0,is_b2c:!1,technologies:[],department_headcount:{consulting:31420,design:5312,education:9063,engineering_technical:167805,finance:31894,human_resources:33265,information_technology:94657,legal:41863,marketing:38192,medical_health:11440,operations:198127,product:11077,revenue:75777,senior_leadership:1933},job_function_headcount:{finance:{accounting:12824,finance:12197,financial_planning_analysis:2468,financial_reporting:250,financial_risk:886,financial_strategy:91,financial_systems:11,internal_audit_control:850,investor_relations:129,mergers_acquisitions:259,real_estate_finance:117,shared_services:56,sourcing_procurement:3767,tax:822,treasury:179},legal:{acquisitions:8,compliance:4921,contracts:206,corporate_secretary:217,ediscovery:57,ethics:1070,governance:66,governmental_affairs_regulatory_law:518,intellectual_property_patent:63,labor_employment:96,lawyer_attorney:2014,legal:31969,legal_counsel:879,legal_operations:3777,litigation:89,privacy:198},revenue:{account_management:16253,business_development:10633,channel_sales:618,customer_retention_development:1746,customer_success:15253,field_outside_sales:5375,inside_sales:3475,partnerships:380,revenue_operations:26,sales:43809,sales_enablement:26,sales_engineering:135,sales_operations:254,sales_training:465},engineering_technical:{artificial_intelligence_machine_learning:4466,bioengineering_biometrics:2,business_intelligence:6811,chemical_engineering:3014,cloud_mobility:1144,data_science:9589,devops:502,digital_transformation:13,emerging_technology_innovation:576,engineering_technical:37540,industrial_engineering:1242,mechanic:1037,mobile_development:3282,project_management:4923,research_development:10123,scrum_master_agile_coach:173,software_development:57246,support_technical_services:8328,technician:7999,technology_operations:64,test_quality_assurance:6722,ui_ux:458,web_development:2551},operations:{call_center:2095,construction:2338,corporate_strategy:1194,customer_service_support:21434,enterprise_resource_planning:389,facilities_management:18036,leasing:33,logistics:75145,office_operations:32304,operations:27241,physical_security:3280,project_development:695,quality_management:1801,real_estate:961,safety:2794,store_operations:26641,supply_chain:2728},senior_leadership:{executive:348,finance_executive:71,founder:1128,human_resources_executive:3,information_technology_executive:35,legal_executive:2,marketing_executive:314,medical_health_executive:3,operations_executive:32,sales_executive:2},medical_health:{anesthesiology:33,chiropractics:64,clinical_systems:91,dentistry:480,dermatology:6,doctors_physicians:1214,epidemiology:1,first_responder:504,medical_administration:767,medical_education_training:19,medical_research:92,medicine:1202,neurology:1,nursing:2053,nutrition_dietetics:94,obstetrics_gynecology:50,oncology:3,ophthalmology:11,optometry:46,orthopedics:14,pathology:15,pediatrics:20,pharmacy:873,physical_therapy:342,psychiatry:383,psychology:663,public_health:803,radiology:215,social_work:2495},information_technology:{application_development:37630,business_service_management_itsm:1710,collaboration_web_app:281,data_center:597,data_warehouse:2090,database_administration:309,ecommerce_development:285,enterprise_architecture:784,help_desk_desktop_services:4164,hr_financial_erp_systems:807,information_security:1742,information_technology:9139,infrastructure:2254,it_asset_management:100,it_audit_it_compliance:50,it_operations:6941,it_procurement:866,it_strategy:439,it_training:51,networking:1528,project_program_management:15780,quality_assurance:8126,retail_store_systems:1042,servers:984,storage_disaster_recovery:111,telecommunications:186,virtualization:915},education:{principal:458,professor:694,superintendent:28,teacher:7885},marketing:{advertising:3032,brand_management:2504,content_marketing:2641,customer_experience:812,customer_marketing:8,demand_generation:507,digital_marketing:1640,ecommerce_marketing:1121,event_marketing:125,field_marketing:740,lead_generation:2937,marketing:18980,marketing_analytics_insights:716,marketing_communications:496,marketing_operations:71,product_marketing:1319,public_relations:972,search_engine_optimization_pay_per_click:974,social_media_marketing:1411,strategic_communications:709,technical_marketing:5},consulting:{consultant:31420},human_resources:{compensation_benefits:908,culture_diversity_inclusion:182,employee_labor_relations:1147,health_safety:1087,hr_business_partner:3332,human_resource_information_system:1321,human_resources:13884,learning_development:7386,organizational_development:154,people_operations:10,recruiting_talent_acquisition:5764,talent_management:911,workforce_management:571},design:{graphic_visual_brand_design:3707,product_or_ui_ux_design:2364},product:{product_development:266,product_management:10811}},estimated_revenue:`$1M-$10M`},gender:`male`},re=r.array(r.string()),ie=[`1Password`,`AJAX Libraries API`,`AWS Global Accelerator`,`AWS Lambda`,`Algolia`,`Amazon`,`Amazon ALB`,`Amazon Elastic Load Balancing Sticky Session`,`Amazon Ireland Region`],ae=r.object({spend_history:r.array(r.object({date:r.string(),spend_usd:r.number()})),spending_trend:r.number(),technology_list:r.array(r.string()),technologies_by_tag:r.record(r.string(),r.array(r.string()))}),oe={spend_history:[{date:`2023-09-05`,spend_usd:480},{date:`2023-11-04`,spend_usd:780},{date:`2024-01-03`,spend_usd:1067},{date:`2024-10-29`,spend_usd:1564},{date:`2025-02-26`,spend_usd:1492},{date:`2025-04-27`,spend_usd:1571},{date:`2025-06-26`,spend_usd:1470}],spending_trend:.23,technology_list:`1Password,AJAX Libraries API,AWS Global Accelerator,AWS Lambda,Algolia,Amazon,Amazon ALB,Amazon Elastic Load Balancing Sticky Session,Amazon Ireland Region,Amazon Oregon Region,Amazon S3,Amazon S3 CDN,Amazon Tokyo Region,Amazon Virginia Region,Angular JS,Attribution,Axios,BunnyCDN General,CDN JS,Calendly,Cart Functionality,CloudFront,Cloudflare,Cloudflare Bot Manager,Cloudflare CDN,Cloudflare Hosting,Cloudflare Insights,Cloudflare JS,Cloudflare Network Error Logging,Cloudflare Radar,Cloudflare Radar Top 100k,Cloudflare Radar Top 200k,Cloudflare Radar Top 500k,Cloudflare Radar Top 50k,Cloudflare Web Analytics,Cloudinary,Cogeco Peer 1,CommonCrawl Top 500k,Content Delivery Network,ConvertKit,Cowboy,CrUX Dataset,CrUX Top 10m,CrUX Top 1m,CrUX Top 50m,CrUX Top 5m,Digital Ocean,Domain Not Resolving,DoubleClick.Net,Drata,Embedly,Euro,Express,Fastly,GStatic Google Static Content,Get Koala,GitHub Buttons,Global Site Tag,Google AdWords Conversion,Google Analytics,Google Analytics 4,Google Conversion Linker,Google Conversion Tracking,Google Font API,Google Hosted Libraries,Google Hosted Web Font Loader,Google Registrar,Google Remarketing,Google Tag Manager,Gravatar Profiles,Headless UI,Heroku Vegur Proxy,HubSpot Analytics,Hubspot,Hubspot Forms,IP API,IP API Pro,IPv6,Incident.io,Intellimize,Intercom,Intersection Observer,KaTeX,LinkedIn Ads,LinkedIn Insights,LiveIntent,Loom,Lorem Ipsum,Mandrill,Merge,Mintlify,Moment JS,My Salesforce,Netlify,Next.js,OpenResty,Plausible Analytics,PostHog,PrismJS,Product Hunt`.split(`,`),technologies_by_tag:{registrar:[`Google Registrar`],cdn:[`AJAX Libraries API`,`Amazon S3`,`BunnyCDN General`,`CDN JS`,`CloudFront`,`Cloudflare`,`Cloudflare JS`,`Cloudinary`,`Content Delivery Network`,`GStatic Google Static Content`,`UNPKG`,`jsDelivr`],analytics:`Attribution,Cloudflare Insights,Cloudflare Web Analytics,ConvertKit,Fastly,Get Koala,Global Site Tag,Google AdWords Conversion,Google Analytics,Google Analytics 4,Google Conversion Linker,Google Conversion Tracking,HubSpot Analytics,Hubspot,Hubspot Forms,Incident.io,Intellimize,LinkedIn Insights,Merge,Plausible Analytics,PostHog,Salesforce,Segment,Twitter Analytics,Twitter Conversion Tracking,Twitter Website Universal Tag`.split(`,`),widgets:`1Password.Algolia.Amazon Elastic Load Balancing Sticky Session.Calendly.Cloudflare Bot Manager.Cloudflare Radar.Cloudflare Radar Top 100k.Cloudflare Radar Top 200k.Cloudflare Radar Top 500k.Cloudflare Radar Top 50k.CommonCrawl Top 500k.CrUX Dataset.CrUX Top 10m.CrUX Top 1m.CrUX Top 50m.CrUX Top 5m.Drata.Embedly.GitHub Buttons.Google Font API.Google Tag Manager.Gravatar Profiles.Intercom.Lorem Ipsum.Product Hunt.Quora.SavvyCal.Slack.Termly.Typeform.Typekit.US Privacy User Signal Mechanism.Unsplash.flatpickr.reCAPTCHA.reCAPTCHA Enterprise`.split(`.`),media:[`Loom`],javascript:[`Angular JS`,`Axios`,`Google Hosted Libraries`,`Google Hosted Web Font Loader`,`IP API`,`IP API Pro`,`Intersection Observer`,`Moment JS`,`PrismJS`,`React`,`React Redux`,`Sentry`,`Underscore.js`,`WebFont Loader`,`Webpack`,`core-js`,`crypto browserify`,`es6 promise`,`jQuery`,`jQuery 3.5.1`,`lodash`,`matchMedia`],cms:[`KaTeX`,`Mintlify`,`My Salesforce`,`ReadMe`,`Rippling`,`Webflow`],"web-server":[`AWS Lambda`,`Amazon ALB`,`Cowboy`,`Varnish`],framework:[`Express`,`Headless UI`,`Heroku Vegur Proxy`,`Next.js`,`OpenResty`,`Pusher`],hosting:[`AWS Global Accelerator`,`Amazon`,`Amazon Ireland Region`,`Amazon Oregon Region`,`Amazon Tokyo Region`,`Amazon Virginia Region`,`Cloudflare Hosting`,`Cloudflare Network Error Logging`,`Cogeco Peer 1`,`Digital Ocean`,`Domain Not Resolving`,`Netlify`,`U.S. Server Location`,`Vercel`,`Webflow Hosting`],cdns:[`Amazon S3 CDN`,`Cloudflare CDN`],mx:[`Mandrill`],payment:[`Euro`,`Stripe`],server:[`IPv6`],ads:[`DoubleClick.Net`,`Google Remarketing`,`LinkedIn Ads`,`LiveIntent`,`SkimLinks`,`Twitter Ads`],shop:[`Cart Functionality`]}},se=r.object({profile:r.object({id:r.string().nullable().optional().describe(`Profile ID`),name:r.string().nullable().optional().describe(`Full name`),location:r.string().nullable().optional().describe(`Profile location`),location_country:r.string().nullable().optional().describe(`Country of the profile location`),location_regions:r.array(r.string()).nullable().optional().describe(`Regions associated with the profile location`),headline:r.string().nullable().optional().describe(`Profile headline`),description:r.string().nullable().optional().describe(`Profile description or summary`),linkedin_url:r.string().nullable().optional().describe(`LinkedIn profile URL`),picture_permalink:r.string().nullable().optional().describe(`URL to profile picture`),connections_count:r.number().nullable().optional().describe(`Number of LinkedIn connections`),followers_count:r.number().nullable().optional().describe(`Number of followers`),is_working:r.boolean().nullable().optional().describe(`Whether the person is currently working`),is_decision_maker:r.boolean().nullable().optional().describe(`Whether the person is a decision maker`),total_experience_duration_months:r.number().nullable().optional().describe(`Total work experience duration in months`),projected_total_salary:r.number().nullable().optional().describe(`Projected total salary`),post_count:r.number().nullable().optional().describe(`Number of posts`),posts:r.string().nullable().optional().describe(`Posts content`),liked_posts:r.string().nullable().optional().describe(`Posts liked by the user`),recommendations:r.string().nullable().optional().describe(`Recommendations received`),recommendations_count:r.number().nullable().optional().describe(`Number of recommendations`),skills:r.array(r.string()).nullable().optional().describe(`List of skills`),languages:r.array(r.string()).nullable().optional().describe(`List of spoken languages`),courses:r.array(r.any()).nullable().optional().describe(`List of courses`),github_username:r.string().nullable().optional().describe(`GitHub username`),github_contributions_count:r.number().nullable().optional().describe(`GitHub contributions count`)}).nullable().optional().describe(`Profile information`),experience:r.array(r.object({employee_position_id:r.string().nullable().optional().describe(`Position ID`),employee_title:r.string().nullable().optional().describe(`Job title`),employer_name:r.string().nullable().optional().describe(`Employer name`),employee_description:r.string().nullable().optional().describe(`Employee description`),employer_linkedin_description:r.string().nullable().optional().describe(`Employer's LinkedIn description`),employer_linkedin_id:r.string().nullable().optional().describe(`Employer's LinkedIn ID`),employer_logo_url:r.string().nullable().optional().describe(`Employer logo URL`),start_date:r.string().nullable().optional().describe(`Employment start date`),end_date:r.string().nullable().optional().describe(`Employment end date`),employee_location:r.string().nullable().optional().describe(`Employee's work location`),employer_company_ids:r.array(r.any()).nullable().optional().describe(`Employer company IDs`),employer_company_website_domains:r.array(r.any()).nullable().optional().describe(`Employer company website domains`),location:r.string().nullable().optional().describe(`Location`),is_current:r.boolean().nullable().optional().describe(`Whether this is the current position`),duration_months:r.string().nullable().optional().describe(`Duration of employment in months`),department:r.string().nullable().optional().describe(`Department`),is_public:r.boolean().nullable().optional().describe(`Whether the experience is public`),company_id:r.string().nullable().optional().describe(`Company ID`),company_annual_revenue:r.union([r.string(),r.number()]).nullable().optional().describe(`Company annual revenue`),company_employees_count:r.union([r.string(),r.number()]).nullable().optional().describe(`Number of company employees`),company_followers_count:r.union([r.string(),r.number()]).nullable().optional().describe(`Number of company followers`),company_founded_year:r.union([r.string(),r.number()]).nullable().optional().describe(`Year company was founded`),company_hq_city:r.string().nullable().optional().describe(`Company headquarters city`),company_hq_country:r.string().nullable().optional().describe(`Company headquarters country`),company_hq_regions:r.array(r.string()).nullable().optional().describe(`Company headquarters regions`),company_industry:r.string().nullable().optional().describe(`Industry`),company_is_b2b:r.boolean().nullable().optional().describe(`Whether the company is B2B`),company_linkedin_url:r.string().nullable().optional().describe(`Company LinkedIn URL`),company_name_alias:r.array(r.string()).nullable().optional().describe(`Company name aliases`),company_type:r.string().nullable().optional().describe(`Company type`),company_updates:r.array(r.string()).nullable().optional().describe(`Company updates`),company_employee_reviews_aggregate_score:r.number().nullable().optional().describe(`Average employee review score`),company_employee_reviews_count:r.number().nullable().optional().describe(`Number of employee reviews`),competitors:r.array(r.string()).nullable().optional().describe(`List of competitors`),technologies_used:r.array(r.string()).nullable().optional().describe(`Technologies used`),active_job_postings_count:r.number().nullable().optional().describe(`Active job postings count`),active_job_postings_titles:r.array(r.string()).nullable().optional().describe(`Titles of active job postings`),last_funding_round_amount_raised:r.number().nullable().optional().describe(`Amount raised in last funding round`),last_funding_round_announced_month:r.number().nullable().optional().describe(`Month last funding round was announced`),last_funding_round_announced_year:r.number().nullable().optional().describe(`Year last funding round was announced`),last_funding_round_lead_investors:r.array(r.string()).nullable().optional().describe(`Lead investors of last funding round`),last_funding_round_name:r.string().nullable().optional().describe(`Name of last funding round`),last_funding_round_num_investors:r.number().nullable().optional().describe(`Number of investors in last funding round`)})).nullable().optional().describe(`Work experience entries`),education:r.array(r.object({institute_name:r.string().nullable().optional().describe(`Institution name`),degree_name:r.string().nullable().optional().describe(`Degree name`),degrees:r.array(r.string()).nullable().optional().describe(`List of degrees`),field_of_study:r.string().nullable().optional().describe(`Field of study`),institute_linkedin_id:r.string().nullable().optional().describe(`Institution LinkedIn ID`),institute_linkedin_url:r.string().nullable().optional().describe(`Institution LinkedIn URL`),institute_logo_url:r.string().nullable().optional().describe(`Institution logo URL`),institution_city:r.string().nullable().optional().describe(`Institution city`),institution_state:r.string().nullable().optional().describe(`Institution state`),institution_country_iso2:r.string().nullable().optional().describe(`Institution country ISO2 code`),institution_country_iso3:r.string().nullable().optional().describe(`Institution country ISO3 code`),institution_regions:r.array(r.string()).nullable().optional().describe(`Institution regions`),institution_full_address:r.string().nullable().optional().describe(`Institution full address`),institution_street:r.string().nullable().optional().describe(`Institution street`),institution_zipcode:r.string().nullable().optional().describe(`Institution ZIP code`),start_date:r.union([r.string(),r.number()]).nullable().optional().describe(`Start date`),start_month:r.number().nullable().optional().describe(`Start month`),end_date:r.union([r.string(),r.number()]).nullable().optional().describe(`End date`),end_month:r.number().nullable().optional().describe(`End month`),description:r.string().nullable().optional().describe(`Description`),activities_and_societies:r.string().nullable().optional().describe(`Activities and societies`),order_in_profile:r.number().nullable().optional().describe(`Order in profile`)})).nullable().optional().describe(`Education history`),awards:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`Awards`),certifications:r.array(r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_month:r.number().nullable(),date_to_year:r.number().nullable()})).nullable().optional().describe(`Certifications`),organizations:r.array(r.object({organization_name:r.string().nullable().optional().describe(`Organization name`),position:r.string().nullable().optional().describe(`Position in organization`),description:r.string().nullable().optional().describe(`Organization description`),date_from_year:r.number().nullable().optional().describe(`Start year`),date_from_month:r.number().nullable().optional().describe(`Start month`),date_to_year:r.number().nullable().optional().describe(`End year`),date_to_month:r.number().nullable().optional().describe(`End month`)})).nullable().optional().describe(`Organizations`),patents:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`Patents`),projects:r.array(r.object({name:r.string().nullable().optional().describe(`Project name`),description:r.string().nullable().optional().describe(`Project description`),date_from_year:r.number().nullable().optional().describe(`Start year`),date_from_month:r.number().nullable().optional().describe(`Start month`),date_to_year:r.number().nullable().optional().describe(`End year`),date_to_month:r.number().nullable().optional().describe(`End month`)})).nullable().optional().describe(`Projects`),publications:r.array(r.object({title:r.string().nullable().optional().describe(`Publication title`),description:r.string().nullable().optional().describe(`Publication description`),publisher_names:r.string().nullable().optional().describe(`Publisher names`),date_year:r.number().nullable().optional().describe(`Publication year`),date_month:r.number().nullable().optional().describe(`Publication month`)})).nullable().optional().describe(`Publications`),github_repos:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`GitHub repositories`),embedding_info:r.object({similarity_score:r.number().nullable().optional().describe(`Embedding similarity score`)}).nullable().optional().describe(`Embedding metadata`)}),ce={profile:{id:`444085232`,name:`John Do`,location:``,location_country:``,location_regions:[],headline:`Full Stack Engineer at Sample Corp and Devsu`,description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Nullam in fermentum dui. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,linkedin_url:`https://www.linkedin.com/in/john-doe-xx1bb01b54`,picture_permalink:`https://i.pravatar.cc/150`,connections_count:0,followers_count:509,is_working:!1,is_decision_maker:!1,total_experience_duration_months:0,projected_total_salary:0,post_count:0,posts:``,liked_posts:``,recommendations:``,recommendations_count:0,skills:`junit.sql.collections.dsl.pruebas.angularjs.continuous delivery.spring boot.scrum.factoring.education.perl.digital.database.registration.data entry.oracle.mockito.erp.software.workflow.javascript.ux.knockoutjs.bamboo.sonar.angular.construction.auditing.gobierno.unix.api.web services.php.tax.evaluation.administration.components.android.java.glassfish.projects.middleware.spring.angular js`.split(`.`),languages:[],courses:[],github_username:``,github_contributions_count:0},experience:[{employee_position_id:``,employee_title:`Software Engineer`,employer_name:`DevShop Inc.`,employee_description:null,employer_linkedin_description:`Software Development for sameple companies`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2020-12`,end_date:``,employee_location:null,employer_company_ids:[],employer_company_website_domains:[],location:null,is_current:!0,duration_months:`53.0`,department:`Engineering and Technical`,is_public:!1,company_id:`10239632.0`,company_annual_revenue:null,company_employees_count:`231.0`,company_followers_count:`45113.0`,company_founded_year:`2010`,company_hq_city:`Orlando`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_industry:`Software Development`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-corp-xyz`,company_name_alias:[`sightx`,`sightx inc.`],company_type:`Privately Held`,company_updates:[`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Nullam in fermentum dui. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Duis varius bibendum elit et dignissim. Maecenas consectetur efficitur leo a tempus. Pellentesque sodales viverra euismod. Fusce nibh est, condimentum eu nibh et, luctus bibendum massa. Fusce pulvinar commodo dolor, in mattis lacus mattis sit amet. Pellentesque finibus aliquam enim facilisis tempor. Nulla nec dui tincidunt, consequat arcu ut, facilisis elit. Suspendisse sodales neque mauris, sollicitudin efficitur turpis tempus sit amet. Curabitur a magna non nunc finibus congue vel congue nisl. `,`Duis varius bibendum elit et dignissim. Maecenas consectetur efficitur leo a tempus. Pellentesque sodales viverra euismod. Fusce nibh est, condimentum eu nibh et, luctus bibendum massa. Fusce pulvinar commodo dolor, in mattis lacus mattis sit amet. Pellentesque finibus aliquam enim facilisis tempor. Nulla nec dui tincidunt, consequat arcu ut, facilisis elit. Suspendisse sodales neque mauris, sollicitudin efficitur turpis tempus sit amet. Curabitur a magna non nunc finibus congue vel congue nisl. `],company_employee_reviews_aggregate_score:0,company_employee_reviews_count:0,competitors:[`forsta`,`semeon analytics`,`voxco`,`optimal workshop`],technologies_used:[`well`,`git`,`react`,`impact`,`symfony`,`selenium`,`linkedin`,`mongodb`],active_job_postings_count:0,active_job_postings_titles:[],last_funding_round_amount_raised:0,last_funding_round_announced_month:9,last_funding_round_announced_year:2022,last_funding_round_lead_investors:[`Sample Ventures`],last_funding_round_name:`Seed Round - Sample VC`,last_funding_round_num_investors:1},{employee_position_id:`400964.0`,employee_title:`Senior Software Engineer`,employer_name:`Sample Corp`,employee_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2016-04`,end_date:`2017-02`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`10.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`11288.0`,company_followers_count:`391437.0`,company_founded_year:`1893`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`Banking`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`26432675.0`,employee_title:`Docente Universitario`,employer_name:`Universidad Católica de Honduras 'Nuestra Señora Reina de la Paz'`,employee_description:null,employer_linkedin_description:`Higher Education ['education', 'science and education > education', 'academic programs', 'international collaborations', 'university', 'scholarships']`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2007`,end_date:`2012`,employee_location:`Tegucigalpa Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa Honduras`,is_current:!1,duration_months:`60.0`,department:`Education`,company_annual_revenue:null,company_employees_count:`496.0`,company_followers_count:`30251.0`,company_founded_year:`1993`,company_hq_city:null,company_hq_country:`Honduras`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],company_industry:`Higher Education`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/school/universidad-cat%c3%b3lica-de-honduras-%27nuestra-se%c3%b1ora-reina-de-la-paz%27`,company_type:`Educational`},{employee_position_id:`8250581.0`,employee_title:`Software Developer`,employer_name:`Lab4U`,employee_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2013-09`,end_date:`2014-02`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`5.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`25.0`,company_followers_count:`6202.0`,company_founded_year:`2013`,company_hq_city:`San Francisco`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_industry:`Education Management`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`3634778.0`,employee_title:`Senior Software Engineer`,employer_name:`IDEATI S.A.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_id:``,employer_logo_url:``,start_date:`2019-12`,end_date:`2020-07`,employee_location:`Panama`,employer_company_ids:[],employer_company_website_domains:[],location:`Panama`,is_current:!1,duration_months:`7.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`18.0`,company_followers_count:`334.0`,company_founded_year:`2009`,company_hq_city:null,company_hq_country:`Panama`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],company_industry:`Software Development`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-corp-xyz`,company_type:`Privately Held`},{employee_position_id:null,employee_title:`Frontend Developer`,employer_name:`Acme Inc`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2009`,end_date:`2010`,employee_location:`Tegucigalpa, Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa, Honduras`,is_current:!1,duration_months:`12.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Technical Team Lead`,employer_name:`Dirección Ejecutiva de Ingresos`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2010`,end_date:`2012`,employee_location:`Tegucigalpa, Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa, Honduras`,is_current:!1,duration_months:`24.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Analista Programador líder De Proyectos`,employer_name:`Acme Inc.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2006`,end_date:`2009`,employee_location:`Tegucigalpa`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa`,is_current:!1,duration_months:`36.0`,department:null,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Senior Software Engineer`,employer_name:`Sample Crop.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2012`,end_date:`2013-09`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`20.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:`519728.0`,employee_title:`Senior Software Engineer`,employer_name:`Sample Consulting Group`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2014-03`,end_date:`2015-09`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`18.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`68.0`,company_followers_count:`1167.0`,company_founded_year:`2001`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xzy`,company_type:`Privately Held`},{employee_position_id:`519728.0`,employee_title:`Senior Software Engineer`,employer_name:`XYZ Constulting Group`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2017-03`,end_date:`2019-08`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`29.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`68.0`,company_followers_count:`1167.0`,company_founded_year:`2001`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`11914719.0`,employee_title:`Senior Software Engineer`,employer_name:`SAMPL Inc.`,employee_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2015-10`,end_date:`2016-03`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`5.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`36.0`,company_followers_count:`2746.0`,company_founded_year:`2002`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`}],education:[{institute_name:`Sample University`,degree_name:`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`,degrees:[`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`],field_of_study:`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`,institute_linkedin_id:``,institute_linkedin_url:`https://www.linkedin.com/school/usample`,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],institution_full_address:`Av. Libertador Bernardo O'Higgins 1058; Diagonal Paraguay 265, Torre 15; Santiago, 28330111, CL`,institution_street:``,institution_zipcode:``,start_date:`2012.0`,start_month:null,end_date:`2015.0`,end_month:null,description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,activities_and_societies:null,order_in_profile:0},{institute_name:`Universidad Católica de Honduras 'Nuestra Señora Reina de la Paz'`,degree_name:`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`,degrees:[`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`],field_of_study:`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`,institute_linkedin_id:``,institute_linkedin_url:`https://www.linkedin.com/school/sample-inst'`,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],institution_full_address:`San Pedro Sula Col. Zeron 12 Calle 21 Ave. Calle al Hospiral Mario Catarino Rivas; Residencial Las Colinas, Ave. Bella Vista, Calle Principal, La Ceiba, Atlantida.; TEGUCIGALPA, FRANCISCO MORAZAN 4473, HN`,institution_street:``,institution_zipcode:``,start_date:`2002.0`,start_month:null,end_date:`2006.0`,end_month:null,description:null,activities_and_societies:null,order_in_profile:0},{institute_name:`Instituto Salesiano San Miguel`,degree_name:`Bachiller en Ciencias y Letras`,degrees:[`Bachiller en Ciencias y Letras`],field_of_study:`Bachiller en Ciencias y Letras`,institute_linkedin_id:``,institute_linkedin_url:null,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[],institution_full_address:null,institution_street:``,institution_zipcode:``,start_date:`1991.0`,start_month:null,end_date:`2001.0`,end_month:null,description:null,activities_and_societies:null,order_in_profile:0}],awards:[],certifications:[{title:`Cloud Developer`,issuer:`Udacity`,date_from_year:2024,date_from_month:null,date_to_year:null,date_to_month:null},{title:`MCP - Developing and Implementing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual Studio .NET`,issuer:`Microsoft`,date_from_year:2007,date_from_month:null,date_to_year:null,date_to_month:null}],organizations:[],patents:[],projects:[],publications:[],github_repos:[]},le=r.object({recommendation:r.string().nullable(),referee_full_name:r.string().nullable(),referee_url:r.string().nullable(),order_in_profile:r.number().nullable()}),ue=r.object({department:r.string().nullable(),management_level:r.string().nullable(),total_experience_duration_months:r.number().nullable()}),de=r.object({field_name:r.string().nullable(),change_type:r.string().nullable(),last_changed_at:r.string().nullable()}),fe=r.object({field_name:r.string().nullable(),last_changed_at:r.string().nullable()}),pe=r.object({id:r.string().nullable(),name:r.string().nullable(),full_name:r.string().nullable(),first_name:r.string().nullable(),first_name_initial:r.string().nullable(),middle_name:r.string().nullable(),middle_name_initial:r.string().nullable(),last_name:r.string().nullable(),last_name_initial:r.string().nullable(),headline:r.string().nullable(),description:r.string().nullable(),summary:r.string().nullable(),picture_permalink:r.string().nullable(),picture_url:r.string().nullable(),location:r.string().nullable(),location_full:r.string().nullable(),location_country:r.string().nullable(),location_city:r.string().nullable(),location_state:r.string().nullable(),location_country_iso2:r.string().nullable(),location_country_iso3:r.string().nullable(),location_regions:r.array(r.string()).nullable(),linkedin_url:r.string().nullable(),linkedin_shorthand_names:r.array(r.string()).nullable(),connections_count:r.number().nullable(),followers_count:r.number().nullable(),post_count:r.number().nullable(),posts:r.string().nullable(),liked_posts:r.string().nullable(),recommendations:r.array(le).nullable(),recommendations_count:r.number().nullable(),is_working:r.number().nullable(),is_decision_maker:r.number().nullable(),total_experience_duration_months:r.number().nullable(),total_experience_duration_months_breakdown_department:r.array(ue).nullable(),total_experience_duration_months_breakdown_management_level:r.array(ue).nullable(),active_experience_company_id:r.number().nullable(),active_experience_title:r.string().nullable(),active_experience_description:r.string().nullable(),active_experience_department:r.string().nullable(),active_experience_management_level:r.string().nullable(),skills:r.array(r.string()).nullable(),inferred_skills:r.array(r.string()).nullable(),historical_skills:r.array(r.string()).nullable(),interests:r.array(r.string()).nullable(),services:r.unknown().nullable(),last_graduation_date:r.number().nullable(),education_degrees:r.array(r.string()).nullable(),projected_total_salary:r.number().nullable(),projected_base_salary_p25:r.number().nullable(),projected_base_salary_median:r.number().nullable(),projected_base_salary_p75:r.number().nullable(),projected_base_salary_period:r.string().nullable(),projected_base_salary_currency:r.string().nullable(),projected_base_salary_updated_at:r.string().nullable(),projected_additional_salary_period:r.string().nullable(),projected_additional_salary_currency:r.string().nullable(),projected_additional_salary_updated_at:r.string().nullable(),projected_total_salary_p25:r.number().nullable(),projected_total_salary_median:r.number().nullable(),projected_total_salary_p75:r.number().nullable(),projected_total_salary_period:r.string().nullable(),projected_total_salary_currency:r.string().nullable(),projected_total_salary_updated_at:r.string().nullable(),projected_additional_salary:r.array(r.unknown()).nullable(),patents_count:r.number().nullable(),patents_topics:r.array(r.string()).nullable(),publications_count:r.number().nullable(),publications_topics:r.array(r.string()).nullable(),projects_count:r.number().nullable(),projects_topics:r.array(r.string()).nullable(),created_at:r.string().nullable(),updated_at:r.string().nullable(),checked_at:r.string().nullable(),changed_at:r.string().nullable(),experience_change_last_identified_at:r.string().nullable(),op_created_at:r.string().nullable(),op_updated_at:r.string().nullable(),profile_root_field_changes_summary:r.array(de).nullable(),profile_collection_field_changes_summary:r.array(fe).nullable(),experience_recently_started:r.array(r.unknown()).nullable(),experience_recently_closed:r.array(r.unknown()).nullable()}),me=r.object({active_experience:r.number().nullable(),position_title:r.string().nullable(),department:r.string().nullable(),management_level:r.string().nullable(),location:r.string().nullable(),description:r.string().nullable(),date_from:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to:r.string().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable(),duration_months:r.number().nullable(),company_id:r.number().nullable(),company_name:r.string().nullable(),company_type:r.string().nullable(),company_founded_year:r.number().nullable(),company_followers_count:r.number().nullable(),company_website:r.string().nullable(),company_facebook_url:r.array(r.string()).nullable(),company_twitter_url:r.array(r.string()).nullable(),company_professional_network_url:r.string().nullable(),company_linkedin_url:r.string().nullable(),company_size_range:r.string().nullable(),company_employees_count:r.number().nullable(),company_industry:r.string().nullable(),company_categories_and_keywords:r.array(r.string()).nullable(),company_annual_revenue_source_1:r.number().nullable(),company_annual_revenue_currency_source_1:r.string().nullable(),company_annual_revenue_source_5:r.number().nullable(),company_annual_revenue_currency_source_5:r.string().nullable(),company_employees_count_change_yearly_percentage:r.number().nullable(),company_last_funding_round_date:r.string().nullable(),company_last_funding_round_amount_raised:r.number().nullable(),company_hq_full_address:r.string().nullable(),company_hq_country:r.string().nullable(),company_hq_regions:r.array(r.string()).nullable(),company_hq_country_iso2:r.string().nullable(),company_hq_country_iso3:r.string().nullable(),company_hq_city:r.string().nullable(),company_hq_state:r.string().nullable(),company_hq_street:r.string().nullable(),company_hq_zipcode:r.string().nullable(),company_last_updated_at:r.string().nullable(),company_stock_ticker:r.array(r.string()).nullable(),company_is_b2b:r.number().nullable(),order_in_profile:r.number().nullable()}),he=r.object({degree:r.string().nullable(),description:r.string().nullable(),institution_url:r.string().nullable(),institution_name:r.string().nullable(),institution_full_address:r.string().nullable(),institution_country_iso2:r.string().nullable(),institution_country_iso3:r.string().nullable(),institution_regions:r.array(r.string()).nullable(),institution_city:r.string().nullable(),institution_state:r.string().nullable(),institution_street:r.string().nullable(),institution_zipcode:r.string().nullable(),date_from_year:r.number().nullable(),date_to_year:r.number().nullable(),activities_and_societies:r.string().nullable(),order_in_profile:r.number().nullable()}),ge=r.object({language:r.string().nullable(),proficiency:r.string().nullable(),order_in_profile:r.number().nullable()}),_e=r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable()}),ve=r.object({name:r.string().nullable(),description:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable()}),ye=r.object({reasoning:r.string().nullable(),answer:r.string().nullable()}),be=r.object({profile:pe.nullable(),experience:r.array(me),education:r.array(he),languages:r.array(ge),awards:r.array(r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_year:r.int().nullable(),date_month:r.int().nullable(),order_in_profile:r.int().nullable()})),certifications:r.array(_e),organizations:r.array(r.object({organization_name:r.string().nullable(),position:r.string().nullable(),description:r.string().nullable(),date_from_year:r.int().nullable(),date_from_month:r.int().nullable(),date_to_year:r.int().nullable(),date_to_month:r.int().nullable()})),patents:r.array(r.object({title:r.string(),description:r.string().nullable(),status:r.string().nullable(),date_year:r.int().nullable(),date_month:r.int().nullable()})),projects:r.array(ve),publications:r.array(r.object({title:r.string().nullable(),description:r.string().nullable(),publisher_names:r.array(r.string()).nullable(),date_year:r.int().nullable(),date_month:r.int().nullable()})),github_repos:r.array(r.object({name:r.string().nullable(),summary:r.string().nullable(),stars:r.int().nullable(),contributions_count:r.int().nullable()})),courses:r.array(r.object({organizer:r.string().nullable(),title:r.string(),order_in_profile:r.int()})),match_data:r.record(r.string(),ye).nullable()}),xe={profile:{id:`595453327`,name:`Mat Cole`,full_name:`Mat Col`,first_name:`Mat`,first_name_initial:`M`,middle_name:null,middle_name_initial:null,last_name:`Junior`,last_name_initial:`J`,headline:`Software Engineer`,description:`🌐 Front: React, Angular, NextJs, Tailwind ⚙ Back: Golang, Node, Python, Java (Springboot) 🧱 Infra: AWS, Terraform, Ansible, CI Pipelines, Kubernetes 🎨 Arch: Microservices, Monolith, DDD, Event Driven I turn coffee into code. As a dedicated student and practitioner of modern development practices, I am capable of contributing to all development steps on any software project from source to infrastructure and from planning to deployment. I do a lot of side projects. Some of them have made into small commercial solutions. Others helped me advance my knowledge and development technique. One time I made a WhatsApp broadcasting system(it was like a mailing list but for WhatsApp). Angular and Golang were the main technologies behind it. My employer at the time got really interested and bought the idea of trying it in production. It was a real success, the customer engagement was over the roof. Occasionally I contribute to open source projects. Now if I may. It's time to code 👨🏻💻`,summary:`🌐 Front: React, Angular, NextJs, Tailwind ⚙ Back: Golang, Node, Python, Java (Springboot) 🧱 Infra: AWS, Terraform, Ansible, CI Pipelines, Kubernetes 🎨 Arch: Microservices, Monolith, DDD, Event Driven I turn coffee into code. As a dedicated student and practitioner of modern development practices, I am capable of contributing to all development steps on any software project from source to infrastructure and from planning to deployment. I do a lot of side projects. Some of them have made into small commercial solutions. Others helped me advance my knowledge and development technique. One time I made a WhatsApp broadcasting system(it was like a mailing list but for WhatsApp). Angular and Golang were the main technologies behind it. My employer at the time got really interested and bought the idea of trying it in production. It was a real success, the customer engagement was over the roof. Occasionally I contribute to open source projects. Now if I may. It's time to code 👨🏻💻`,picture_permalink:`https://media.licdn.com/dms/image/v2/C4D03AQF_1Wt7RyfYZeQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1x616980064425?e=2147483647&v=beta&t=jzbQpbwytqaKglNQwcjRsyyhS4LFXo-f-6Reco1PsEs`,picture_url:`https://media.licdn.com/dms/image/v2/C4D03AQF_1Wft7RyYZeQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1x616980064425?e=2147483647&v=beta&t=jzbQpbwytqaKglNQwcjRsyyhS4LFXo-f-6Reco1PsEs`,location:`Berlin, Berlin, Germany`,location_full:`Berlin, Berlin, Germany`,location_country:`Germany`,location_city:`Berlin`,location_state:`Berlin`,location_country_iso2:`DE`,location_country_iso3:`DEU`,location_regions:[`Europe`,`Western Europe`,`EMEA`,`EU`],linkedin_url:`https://www.linkedin.com/in/mat-cole-11a821122`,linkedin_shorthand_names:[`mat`,`ma`],connections_count:196,followers_count:200,post_count:0,posts:``,liked_posts:``,recommendations:[{recommendation:`“From the first day Mateus started on our development projects he was active and engaged and that energy was consistent until his very last day working with us. We were thrilled to have him join us because of his experience and knowledge and we are extremely grateful for his contributions to our organization. Always professional and courteous and open to ask questions or offer help to his colleagues, Mateus was one of the most productive developers on the development team during his time with us.
|
|
1
|
+
import{extendZodWithOpenApi as e}from"@asteasolutions/zod-to-openapi";import*as t from"zod";import{ZodError as n,z as r}from"zod";import{Drop as i,Liquid as a,TokenKind as o}from"liquidjs";import{Ajv as s}from"ajv";import c from"json-schema-traverse";import l from"xxhash-wasm";import{autocomplete as u,staticAutocomplete as d,staticOptions as f}from"@pipe0/autocomplete";import{format as ee,parse as p}from"date-fns";import{getDomain as te}from"tldts";e(r);const m={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`},ne=r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.string().url().nullable(),linkedin_url:r.string().url().nullable(),keywords:r.array(r.string()),estimated_number_of_employees:r.number().nullable(),size:r.string().nullable(),industry:r.string().nullable(),logo_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),postal_code:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),locations:r.array(r.object({is_primary:r.boolean(),address:r.string().nullable(),country:r.string().nullable(),state:r.string().nullable(),city:r.string().nullable(),postal_code:r.string().nullable()})),overview:r.string().nullable(),followers:r.number().nullable(),founded_year:r.number().nullable(),traffic_rank:r.number().nullable(),sic_codes:r.array(r.number()),naics_codes:r.array(r.number()),type:r.string().nullable(),total_funding:r.number().nullable(),latest_funding_stage:r.string().nullable(),latest_funding_date:r.string().nullable(),funding_events:r.array(r.object({date:r.string().nullable(),type:r.string().nullable(),investors:r.array(r.unknown()),amount:r.number().nullable(),currency:r.string().nullable(),amount_usd:r.number().nullable()})),is_b2b:r.boolean().nullable(),is_b2c:r.boolean().nullable(),technologies:r.array(r.unknown()),department_headcount:r.record(r.string(),r.number()),job_function_headcount:r.record(r.string(),r.record(r.string(),r.number())),estimated_revenue:r.string().nullable()}),h={id:`019b4aec-0d35-7c3d-8f91-fda409a136ed`,object:`company`,name:`A Company`,website:`https://company.com`,linkedin_url:`https://www.linkedin.com/company/company-1`,keywords:[`sales`,`ai sales`,`sales engagement`],estimated_number_of_employees:500,size:`201-500 employees`,industry:`Software Development`,logo_url:`https://assets.amplemarket.com/avatars/company/019b4aec-0d35-7c3d-8f91-fda409a136ed`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,postal_code:`94103`,lat:37.7749,long:-122.4194},locations:[{is_primary:!0,address:`123 Main St, San Francisco, CA 94103, United States`,country:`United States`,state:`California`,city:`San Francisco`,postal_code:`94103`},{is_primary:!1,address:`456 Broadway, New York, NY 10001, United States`,country:`United States`,state:`New York`,city:`New York`,postal_code:`10001`}],overview:`We're an AI company.`,followers:300,founded_year:1995,traffic_rank:50,sic_codes:[1,2,3],naics_codes:[5112,511,51],type:`Privately Held`,total_funding:0,latest_funding_stage:`series_b`,latest_funding_date:`2019-11-02`,funding_events:[{date:`2019-11-02`,type:`Series B`,investors:[],amount:4e7,currency:null,amount_usd:null}],is_b2b:!0,is_b2c:!1,technologies:[],department_headcount:{consulting:31420,design:5312,education:9063,engineering_technical:167805,finance:31894,human_resources:33265,information_technology:94657,legal:41863,marketing:38192,medical_health:11440,operations:198127,product:11077,revenue:75777,senior_leadership:1933},job_function_headcount:{finance:{accounting:12824,finance:12197,financial_planning_analysis:2468,financial_reporting:250,financial_risk:886,financial_strategy:91,financial_systems:11,internal_audit_control:850,investor_relations:129,mergers_acquisitions:259,real_estate_finance:117,shared_services:56,sourcing_procurement:3767,tax:822,treasury:179},legal:{acquisitions:8,compliance:4921,contracts:206,corporate_secretary:217,ediscovery:57,ethics:1070,governance:66,governmental_affairs_regulatory_law:518,intellectual_property_patent:63,labor_employment:96,lawyer_attorney:2014,legal:31969,legal_counsel:879,legal_operations:3777,litigation:89,privacy:198},revenue:{account_management:16253,business_development:10633,channel_sales:618,customer_retention_development:1746,customer_success:15253,field_outside_sales:5375,inside_sales:3475,partnerships:380,revenue_operations:26,sales:43809,sales_enablement:26,sales_engineering:135,sales_operations:254,sales_training:465},engineering_technical:{artificial_intelligence_machine_learning:4466,bioengineering_biometrics:2,business_intelligence:6811,chemical_engineering:3014,cloud_mobility:1144,data_science:9589,devops:502,digital_transformation:13,emerging_technology_innovation:576,engineering_technical:37540,industrial_engineering:1242,mechanic:1037,mobile_development:3282,project_management:4923,research_development:10123,scrum_master_agile_coach:173,software_development:57246,support_technical_services:8328,technician:7999,technology_operations:64,test_quality_assurance:6722,ui_ux:458,web_development:2551},operations:{call_center:2095,construction:2338,corporate_strategy:1194,customer_service_support:21434,enterprise_resource_planning:389,facilities_management:18036,leasing:33,logistics:75145,office_operations:32304,operations:27241,physical_security:3280,project_development:695,quality_management:1801,real_estate:961,safety:2794,store_operations:26641,supply_chain:2728},senior_leadership:{executive:348,finance_executive:71,founder:1128,human_resources_executive:3,information_technology_executive:35,legal_executive:2,marketing_executive:314,medical_health_executive:3,operations_executive:32,sales_executive:2},medical_health:{anesthesiology:33,chiropractics:64,clinical_systems:91,dentistry:480,dermatology:6,doctors_physicians:1214,epidemiology:1,first_responder:504,medical_administration:767,medical_education_training:19,medical_research:92,medicine:1202,neurology:1,nursing:2053,nutrition_dietetics:94,obstetrics_gynecology:50,oncology:3,ophthalmology:11,optometry:46,orthopedics:14,pathology:15,pediatrics:20,pharmacy:873,physical_therapy:342,psychiatry:383,psychology:663,public_health:803,radiology:215,social_work:2495},information_technology:{application_development:37630,business_service_management_itsm:1710,collaboration_web_app:281,data_center:597,data_warehouse:2090,database_administration:309,ecommerce_development:285,enterprise_architecture:784,help_desk_desktop_services:4164,hr_financial_erp_systems:807,information_security:1742,information_technology:9139,infrastructure:2254,it_asset_management:100,it_audit_it_compliance:50,it_operations:6941,it_procurement:866,it_strategy:439,it_training:51,networking:1528,project_program_management:15780,quality_assurance:8126,retail_store_systems:1042,servers:984,storage_disaster_recovery:111,telecommunications:186,virtualization:915},education:{principal:458,professor:694,superintendent:28,teacher:7885},marketing:{advertising:3032,brand_management:2504,content_marketing:2641,customer_experience:812,customer_marketing:8,demand_generation:507,digital_marketing:1640,ecommerce_marketing:1121,event_marketing:125,field_marketing:740,lead_generation:2937,marketing:18980,marketing_analytics_insights:716,marketing_communications:496,marketing_operations:71,product_marketing:1319,public_relations:972,search_engine_optimization_pay_per_click:974,social_media_marketing:1411,strategic_communications:709,technical_marketing:5},consulting:{consultant:31420},human_resources:{compensation_benefits:908,culture_diversity_inclusion:182,employee_labor_relations:1147,health_safety:1087,hr_business_partner:3332,human_resource_information_system:1321,human_resources:13884,learning_development:7386,organizational_development:154,people_operations:10,recruiting_talent_acquisition:5764,talent_management:911,workforce_management:571},design:{graphic_visual_brand_design:3707,product_or_ui_ux_design:2364},product:{product_development:266,product_management:10811}},estimated_revenue:`$1M-$10M`},re=r.object({id:r.string(),object:r.literal(`person`),name:r.string(),first_name:r.string(),last_name:r.string(),linkedin_url:r.url().nullable().optional(),title:r.string().nullable(),headline:r.string().nullable(),about:r.string().nullable(),current_position_start_date:r.string().nullable(),current_position_description:r.string().nullable(),image_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),experiences:r.array(r.object({object:r.literal(`experience`),title:r.string().nullable(),company_name:r.string().nullable(),company_linkedin_url:r.string().url().nullable(),start_date:r.string().nullable(),end_date:r.string().nullable()})),educations:r.array(r.object({object:r.literal(`education`),degree:r.string().nullable(),field_of_study:r.string().nullable(),school_name:r.string().nullable(),school_linkedin_url:r.string().url().nullable(),start_date:r.string().nullable(),end_date:r.string().nullable()})),languages:r.array(r.object({object:r.literal(`language`),language:r.string(),iso_code:r.string(),proficiency:r.string().nullable()})),company:r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.string().url().nullable(),linkedin_url:r.string().url().nullable(),keywords:r.array(r.string()),estimated_number_of_employees:r.number().nullable(),size:r.string().nullable(),industry:r.string().nullable(),logo_url:r.string().url().nullable(),location:r.string().nullable(),location_details:r.object({city:r.string().nullable(),state:r.string().nullable(),country:r.string().nullable(),postal_code:r.string().nullable(),lat:r.number().nullable(),long:r.number().nullable()}).nullable(),locations:r.array(r.unknown()),overview:r.string().nullable(),followers:r.number().nullable(),founded_year:r.number().nullable(),traffic_rank:r.number().nullable(),sic_codes:r.array(r.number()),naics_codes:r.array(r.number()),type:r.string().nullable(),total_funding:r.number().nullable(),latest_funding_stage:r.string().nullable(),latest_funding_date:r.string().nullable(),is_b2b:r.boolean().nullable(),is_b2c:r.boolean().nullable(),technologies:r.array(r.unknown()),department_headcount:r.record(r.string(),r.number()),job_function_headcount:r.record(r.string(),r.record(r.string(),r.number())),estimated_revenue:r.string().nullable()}).nullable(),gender:r.string().nullable()}),g={id:`019a79fa-0858-7e5d-996e-d1b18d4d5a4f`,object:`person`,name:`Jonh Doe`,first_name:`Jonh`,last_name:`Doe`,linkedin_url:`https://www.linkedin.com/in/person-1`,title:`Founder and CEO`,headline:`CEO @ Company`,about:null,current_position_start_date:`2022-05-01`,current_position_description:null,image_url:`http://haag.example/gary`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,lat:37.7749,long:-122.4194},experiences:[{object:`experience`,title:`CEO`,company_name:`A Company`,company_linkedin_url:`https://www.linkedin.com/company/company-1`,start_date:`2023-11-01`,end_date:null}],educations:[{object:`education`,degree:`BSc`,field_of_study:`Computer Science`,school_name:`MIT`,school_linkedin_url:`https://www.linkedin.com/school/mit`,start_date:`2019-11-01`,end_date:`2023-11-01`}],languages:[{object:`language`,language:`Portuguese`,iso_code:`por`,proficiency:`Native or bilingual proficiency`},{object:`language`,language:`English`,iso_code:`eng`,proficiency:`Professional working proficiency`},{object:`language`,language:`Spanish`,iso_code:`spa`,proficiency:null}],company:{id:`019a79fa-07e3-7d74-b11f-374bf213e9ad`,object:`company`,name:`A Company`,website:`https://company.com`,linkedin_url:`https://www.linkedin.com/company/company-1`,keywords:[`sales`,`ai sales`,`sales engagement`],estimated_number_of_employees:500,size:`201-500 employees`,industry:`Software Development`,logo_url:`https://assets.amplemarket.com/avatars/company/019a79fa-07e3-7d74-b11f-374bf213e9ad`,location:`San Francisco, California, United States`,location_details:{city:`San Francisco`,state:`California`,country:`United States`,postal_code:`94103`,lat:37.7749,long:-122.4194},locations:[],overview:`Circle Health is a group of hospitals in the UK`,followers:0,founded_year:1995,traffic_rank:50,sic_codes:[1,2,3],naics_codes:[5112,511,51],type:`Privately Held`,total_funding:4e7,latest_funding_stage:`series_b`,latest_funding_date:`2019-11-02`,is_b2b:!0,is_b2c:!1,technologies:[],department_headcount:{consulting:31420,design:5312,education:9063,engineering_technical:167805,finance:31894,human_resources:33265,information_technology:94657,legal:41863,marketing:38192,medical_health:11440,operations:198127,product:11077,revenue:75777,senior_leadership:1933},job_function_headcount:{finance:{accounting:12824,finance:12197,financial_planning_analysis:2468,financial_reporting:250,financial_risk:886,financial_strategy:91,financial_systems:11,internal_audit_control:850,investor_relations:129,mergers_acquisitions:259,real_estate_finance:117,shared_services:56,sourcing_procurement:3767,tax:822,treasury:179},legal:{acquisitions:8,compliance:4921,contracts:206,corporate_secretary:217,ediscovery:57,ethics:1070,governance:66,governmental_affairs_regulatory_law:518,intellectual_property_patent:63,labor_employment:96,lawyer_attorney:2014,legal:31969,legal_counsel:879,legal_operations:3777,litigation:89,privacy:198},revenue:{account_management:16253,business_development:10633,channel_sales:618,customer_retention_development:1746,customer_success:15253,field_outside_sales:5375,inside_sales:3475,partnerships:380,revenue_operations:26,sales:43809,sales_enablement:26,sales_engineering:135,sales_operations:254,sales_training:465},engineering_technical:{artificial_intelligence_machine_learning:4466,bioengineering_biometrics:2,business_intelligence:6811,chemical_engineering:3014,cloud_mobility:1144,data_science:9589,devops:502,digital_transformation:13,emerging_technology_innovation:576,engineering_technical:37540,industrial_engineering:1242,mechanic:1037,mobile_development:3282,project_management:4923,research_development:10123,scrum_master_agile_coach:173,software_development:57246,support_technical_services:8328,technician:7999,technology_operations:64,test_quality_assurance:6722,ui_ux:458,web_development:2551},operations:{call_center:2095,construction:2338,corporate_strategy:1194,customer_service_support:21434,enterprise_resource_planning:389,facilities_management:18036,leasing:33,logistics:75145,office_operations:32304,operations:27241,physical_security:3280,project_development:695,quality_management:1801,real_estate:961,safety:2794,store_operations:26641,supply_chain:2728},senior_leadership:{executive:348,finance_executive:71,founder:1128,human_resources_executive:3,information_technology_executive:35,legal_executive:2,marketing_executive:314,medical_health_executive:3,operations_executive:32,sales_executive:2},medical_health:{anesthesiology:33,chiropractics:64,clinical_systems:91,dentistry:480,dermatology:6,doctors_physicians:1214,epidemiology:1,first_responder:504,medical_administration:767,medical_education_training:19,medical_research:92,medicine:1202,neurology:1,nursing:2053,nutrition_dietetics:94,obstetrics_gynecology:50,oncology:3,ophthalmology:11,optometry:46,orthopedics:14,pathology:15,pediatrics:20,pharmacy:873,physical_therapy:342,psychiatry:383,psychology:663,public_health:803,radiology:215,social_work:2495},information_technology:{application_development:37630,business_service_management_itsm:1710,collaboration_web_app:281,data_center:597,data_warehouse:2090,database_administration:309,ecommerce_development:285,enterprise_architecture:784,help_desk_desktop_services:4164,hr_financial_erp_systems:807,information_security:1742,information_technology:9139,infrastructure:2254,it_asset_management:100,it_audit_it_compliance:50,it_operations:6941,it_procurement:866,it_strategy:439,it_training:51,networking:1528,project_program_management:15780,quality_assurance:8126,retail_store_systems:1042,servers:984,storage_disaster_recovery:111,telecommunications:186,virtualization:915},education:{principal:458,professor:694,superintendent:28,teacher:7885},marketing:{advertising:3032,brand_management:2504,content_marketing:2641,customer_experience:812,customer_marketing:8,demand_generation:507,digital_marketing:1640,ecommerce_marketing:1121,event_marketing:125,field_marketing:740,lead_generation:2937,marketing:18980,marketing_analytics_insights:716,marketing_communications:496,marketing_operations:71,product_marketing:1319,public_relations:972,search_engine_optimization_pay_per_click:974,social_media_marketing:1411,strategic_communications:709,technical_marketing:5},consulting:{consultant:31420},human_resources:{compensation_benefits:908,culture_diversity_inclusion:182,employee_labor_relations:1147,health_safety:1087,hr_business_partner:3332,human_resource_information_system:1321,human_resources:13884,learning_development:7386,organizational_development:154,people_operations:10,recruiting_talent_acquisition:5764,talent_management:911,workforce_management:571},design:{graphic_visual_brand_design:3707,product_or_ui_ux_design:2364},product:{product_development:266,product_management:10811}},estimated_revenue:`$1M-$10M`},gender:`male`},ie=r.array(r.string()),ae=[`1Password`,`AJAX Libraries API`,`AWS Global Accelerator`,`AWS Lambda`,`Algolia`,`Amazon`,`Amazon ALB`,`Amazon Elastic Load Balancing Sticky Session`,`Amazon Ireland Region`],oe=r.object({spend_history:r.array(r.object({date:r.string(),spend_usd:r.number()})),spending_trend:r.number(),technology_list:r.array(r.string()),technologies_by_tag:r.record(r.string(),r.array(r.string()))}),se={spend_history:[{date:`2023-09-05`,spend_usd:480},{date:`2023-11-04`,spend_usd:780},{date:`2024-01-03`,spend_usd:1067},{date:`2024-10-29`,spend_usd:1564},{date:`2025-02-26`,spend_usd:1492},{date:`2025-04-27`,spend_usd:1571},{date:`2025-06-26`,spend_usd:1470}],spending_trend:.23,technology_list:`1Password,AJAX Libraries API,AWS Global Accelerator,AWS Lambda,Algolia,Amazon,Amazon ALB,Amazon Elastic Load Balancing Sticky Session,Amazon Ireland Region,Amazon Oregon Region,Amazon S3,Amazon S3 CDN,Amazon Tokyo Region,Amazon Virginia Region,Angular JS,Attribution,Axios,BunnyCDN General,CDN JS,Calendly,Cart Functionality,CloudFront,Cloudflare,Cloudflare Bot Manager,Cloudflare CDN,Cloudflare Hosting,Cloudflare Insights,Cloudflare JS,Cloudflare Network Error Logging,Cloudflare Radar,Cloudflare Radar Top 100k,Cloudflare Radar Top 200k,Cloudflare Radar Top 500k,Cloudflare Radar Top 50k,Cloudflare Web Analytics,Cloudinary,Cogeco Peer 1,CommonCrawl Top 500k,Content Delivery Network,ConvertKit,Cowboy,CrUX Dataset,CrUX Top 10m,CrUX Top 1m,CrUX Top 50m,CrUX Top 5m,Digital Ocean,Domain Not Resolving,DoubleClick.Net,Drata,Embedly,Euro,Express,Fastly,GStatic Google Static Content,Get Koala,GitHub Buttons,Global Site Tag,Google AdWords Conversion,Google Analytics,Google Analytics 4,Google Conversion Linker,Google Conversion Tracking,Google Font API,Google Hosted Libraries,Google Hosted Web Font Loader,Google Registrar,Google Remarketing,Google Tag Manager,Gravatar Profiles,Headless UI,Heroku Vegur Proxy,HubSpot Analytics,Hubspot,Hubspot Forms,IP API,IP API Pro,IPv6,Incident.io,Intellimize,Intercom,Intersection Observer,KaTeX,LinkedIn Ads,LinkedIn Insights,LiveIntent,Loom,Lorem Ipsum,Mandrill,Merge,Mintlify,Moment JS,My Salesforce,Netlify,Next.js,OpenResty,Plausible Analytics,PostHog,PrismJS,Product Hunt`.split(`,`),technologies_by_tag:{registrar:[`Google Registrar`],cdn:[`AJAX Libraries API`,`Amazon S3`,`BunnyCDN General`,`CDN JS`,`CloudFront`,`Cloudflare`,`Cloudflare JS`,`Cloudinary`,`Content Delivery Network`,`GStatic Google Static Content`,`UNPKG`,`jsDelivr`],analytics:`Attribution,Cloudflare Insights,Cloudflare Web Analytics,ConvertKit,Fastly,Get Koala,Global Site Tag,Google AdWords Conversion,Google Analytics,Google Analytics 4,Google Conversion Linker,Google Conversion Tracking,HubSpot Analytics,Hubspot,Hubspot Forms,Incident.io,Intellimize,LinkedIn Insights,Merge,Plausible Analytics,PostHog,Salesforce,Segment,Twitter Analytics,Twitter Conversion Tracking,Twitter Website Universal Tag`.split(`,`),widgets:`1Password.Algolia.Amazon Elastic Load Balancing Sticky Session.Calendly.Cloudflare Bot Manager.Cloudflare Radar.Cloudflare Radar Top 100k.Cloudflare Radar Top 200k.Cloudflare Radar Top 500k.Cloudflare Radar Top 50k.CommonCrawl Top 500k.CrUX Dataset.CrUX Top 10m.CrUX Top 1m.CrUX Top 50m.CrUX Top 5m.Drata.Embedly.GitHub Buttons.Google Font API.Google Tag Manager.Gravatar Profiles.Intercom.Lorem Ipsum.Product Hunt.Quora.SavvyCal.Slack.Termly.Typeform.Typekit.US Privacy User Signal Mechanism.Unsplash.flatpickr.reCAPTCHA.reCAPTCHA Enterprise`.split(`.`),media:[`Loom`],javascript:[`Angular JS`,`Axios`,`Google Hosted Libraries`,`Google Hosted Web Font Loader`,`IP API`,`IP API Pro`,`Intersection Observer`,`Moment JS`,`PrismJS`,`React`,`React Redux`,`Sentry`,`Underscore.js`,`WebFont Loader`,`Webpack`,`core-js`,`crypto browserify`,`es6 promise`,`jQuery`,`jQuery 3.5.1`,`lodash`,`matchMedia`],cms:[`KaTeX`,`Mintlify`,`My Salesforce`,`ReadMe`,`Rippling`,`Webflow`],"web-server":[`AWS Lambda`,`Amazon ALB`,`Cowboy`,`Varnish`],framework:[`Express`,`Headless UI`,`Heroku Vegur Proxy`,`Next.js`,`OpenResty`,`Pusher`],hosting:[`AWS Global Accelerator`,`Amazon`,`Amazon Ireland Region`,`Amazon Oregon Region`,`Amazon Tokyo Region`,`Amazon Virginia Region`,`Cloudflare Hosting`,`Cloudflare Network Error Logging`,`Cogeco Peer 1`,`Digital Ocean`,`Domain Not Resolving`,`Netlify`,`U.S. Server Location`,`Vercel`,`Webflow Hosting`],cdns:[`Amazon S3 CDN`,`Cloudflare CDN`],mx:[`Mandrill`],payment:[`Euro`,`Stripe`],server:[`IPv6`],ads:[`DoubleClick.Net`,`Google Remarketing`,`LinkedIn Ads`,`LiveIntent`,`SkimLinks`,`Twitter Ads`],shop:[`Cart Functionality`]}},ce=r.object({profile:r.object({id:r.string().nullable().optional().describe(`Profile ID`),name:r.string().nullable().optional().describe(`Full name`),location:r.string().nullable().optional().describe(`Profile location`),location_country:r.string().nullable().optional().describe(`Country of the profile location`),location_regions:r.array(r.string()).nullable().optional().describe(`Regions associated with the profile location`),headline:r.string().nullable().optional().describe(`Profile headline`),description:r.string().nullable().optional().describe(`Profile description or summary`),linkedin_url:r.string().nullable().optional().describe(`LinkedIn profile URL`),picture_permalink:r.string().nullable().optional().describe(`URL to profile picture`),connections_count:r.number().nullable().optional().describe(`Number of LinkedIn connections`),followers_count:r.number().nullable().optional().describe(`Number of followers`),is_working:r.boolean().nullable().optional().describe(`Whether the person is currently working`),is_decision_maker:r.boolean().nullable().optional().describe(`Whether the person is a decision maker`),total_experience_duration_months:r.number().nullable().optional().describe(`Total work experience duration in months`),projected_total_salary:r.number().nullable().optional().describe(`Projected total salary`),post_count:r.number().nullable().optional().describe(`Number of posts`),posts:r.string().nullable().optional().describe(`Posts content`),liked_posts:r.string().nullable().optional().describe(`Posts liked by the user`),recommendations:r.string().nullable().optional().describe(`Recommendations received`),recommendations_count:r.number().nullable().optional().describe(`Number of recommendations`),skills:r.array(r.string()).nullable().optional().describe(`List of skills`),languages:r.array(r.string()).nullable().optional().describe(`List of spoken languages`),courses:r.array(r.any()).nullable().optional().describe(`List of courses`),github_username:r.string().nullable().optional().describe(`GitHub username`),github_contributions_count:r.number().nullable().optional().describe(`GitHub contributions count`)}).nullable().optional().describe(`Profile information`),experience:r.array(r.object({employee_position_id:r.string().nullable().optional().describe(`Position ID`),employee_title:r.string().nullable().optional().describe(`Job title`),employer_name:r.string().nullable().optional().describe(`Employer name`),employee_description:r.string().nullable().optional().describe(`Employee description`),employer_linkedin_description:r.string().nullable().optional().describe(`Employer's LinkedIn description`),employer_linkedin_id:r.string().nullable().optional().describe(`Employer's LinkedIn ID`),employer_logo_url:r.string().nullable().optional().describe(`Employer logo URL`),start_date:r.string().nullable().optional().describe(`Employment start date`),end_date:r.string().nullable().optional().describe(`Employment end date`),employee_location:r.string().nullable().optional().describe(`Employee's work location`),employer_company_ids:r.array(r.any()).nullable().optional().describe(`Employer company IDs`),employer_company_website_domains:r.array(r.any()).nullable().optional().describe(`Employer company website domains`),location:r.string().nullable().optional().describe(`Location`),is_current:r.boolean().nullable().optional().describe(`Whether this is the current position`),duration_months:r.string().nullable().optional().describe(`Duration of employment in months`),department:r.string().nullable().optional().describe(`Department`),is_public:r.boolean().nullable().optional().describe(`Whether the experience is public`),company_id:r.string().nullable().optional().describe(`Company ID`),company_annual_revenue:r.union([r.string(),r.number()]).nullable().optional().describe(`Company annual revenue`),company_employees_count:r.union([r.string(),r.number()]).nullable().optional().describe(`Number of company employees`),company_followers_count:r.union([r.string(),r.number()]).nullable().optional().describe(`Number of company followers`),company_founded_year:r.union([r.string(),r.number()]).nullable().optional().describe(`Year company was founded`),company_hq_city:r.string().nullable().optional().describe(`Company headquarters city`),company_hq_country:r.string().nullable().optional().describe(`Company headquarters country`),company_hq_regions:r.array(r.string()).nullable().optional().describe(`Company headquarters regions`),company_industry:r.string().nullable().optional().describe(`Industry`),company_is_b2b:r.boolean().nullable().optional().describe(`Whether the company is B2B`),company_linkedin_url:r.string().nullable().optional().describe(`Company LinkedIn URL`),company_name_alias:r.array(r.string()).nullable().optional().describe(`Company name aliases`),company_type:r.string().nullable().optional().describe(`Company type`),company_updates:r.array(r.string()).nullable().optional().describe(`Company updates`),company_employee_reviews_aggregate_score:r.number().nullable().optional().describe(`Average employee review score`),company_employee_reviews_count:r.number().nullable().optional().describe(`Number of employee reviews`),competitors:r.array(r.string()).nullable().optional().describe(`List of competitors`),technologies_used:r.array(r.string()).nullable().optional().describe(`Technologies used`),active_job_postings_count:r.number().nullable().optional().describe(`Active job postings count`),active_job_postings_titles:r.array(r.string()).nullable().optional().describe(`Titles of active job postings`),last_funding_round_amount_raised:r.number().nullable().optional().describe(`Amount raised in last funding round`),last_funding_round_announced_month:r.number().nullable().optional().describe(`Month last funding round was announced`),last_funding_round_announced_year:r.number().nullable().optional().describe(`Year last funding round was announced`),last_funding_round_lead_investors:r.array(r.string()).nullable().optional().describe(`Lead investors of last funding round`),last_funding_round_name:r.string().nullable().optional().describe(`Name of last funding round`),last_funding_round_num_investors:r.number().nullable().optional().describe(`Number of investors in last funding round`)})).nullable().optional().describe(`Work experience entries`),education:r.array(r.object({institute_name:r.string().nullable().optional().describe(`Institution name`),degree_name:r.string().nullable().optional().describe(`Degree name`),degrees:r.array(r.string()).nullable().optional().describe(`List of degrees`),field_of_study:r.string().nullable().optional().describe(`Field of study`),institute_linkedin_id:r.string().nullable().optional().describe(`Institution LinkedIn ID`),institute_linkedin_url:r.string().nullable().optional().describe(`Institution LinkedIn URL`),institute_logo_url:r.string().nullable().optional().describe(`Institution logo URL`),institution_city:r.string().nullable().optional().describe(`Institution city`),institution_state:r.string().nullable().optional().describe(`Institution state`),institution_country_iso2:r.string().nullable().optional().describe(`Institution country ISO2 code`),institution_country_iso3:r.string().nullable().optional().describe(`Institution country ISO3 code`),institution_regions:r.array(r.string()).nullable().optional().describe(`Institution regions`),institution_full_address:r.string().nullable().optional().describe(`Institution full address`),institution_street:r.string().nullable().optional().describe(`Institution street`),institution_zipcode:r.string().nullable().optional().describe(`Institution ZIP code`),start_date:r.union([r.string(),r.number()]).nullable().optional().describe(`Start date`),start_month:r.number().nullable().optional().describe(`Start month`),end_date:r.union([r.string(),r.number()]).nullable().optional().describe(`End date`),end_month:r.number().nullable().optional().describe(`End month`),description:r.string().nullable().optional().describe(`Description`),activities_and_societies:r.string().nullable().optional().describe(`Activities and societies`),order_in_profile:r.number().nullable().optional().describe(`Order in profile`)})).nullable().optional().describe(`Education history`),awards:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`Awards`),certifications:r.array(r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_month:r.number().nullable(),date_to_year:r.number().nullable()})).nullable().optional().describe(`Certifications`),organizations:r.array(r.object({organization_name:r.string().nullable().optional().describe(`Organization name`),position:r.string().nullable().optional().describe(`Position in organization`),description:r.string().nullable().optional().describe(`Organization description`),date_from_year:r.number().nullable().optional().describe(`Start year`),date_from_month:r.number().nullable().optional().describe(`Start month`),date_to_year:r.number().nullable().optional().describe(`End year`),date_to_month:r.number().nullable().optional().describe(`End month`)})).nullable().optional().describe(`Organizations`),patents:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`Patents`),projects:r.array(r.object({name:r.string().nullable().optional().describe(`Project name`),description:r.string().nullable().optional().describe(`Project description`),date_from_year:r.number().nullable().optional().describe(`Start year`),date_from_month:r.number().nullable().optional().describe(`Start month`),date_to_year:r.number().nullable().optional().describe(`End year`),date_to_month:r.number().nullable().optional().describe(`End month`)})).nullable().optional().describe(`Projects`),publications:r.array(r.object({title:r.string().nullable().optional().describe(`Publication title`),description:r.string().nullable().optional().describe(`Publication description`),publisher_names:r.string().nullable().optional().describe(`Publisher names`),date_year:r.number().nullable().optional().describe(`Publication year`),date_month:r.number().nullable().optional().describe(`Publication month`)})).nullable().optional().describe(`Publications`),github_repos:r.array(r.record(r.string(),r.any())).nullable().optional().describe(`GitHub repositories`),embedding_info:r.object({similarity_score:r.number().nullable().optional().describe(`Embedding similarity score`)}).nullable().optional().describe(`Embedding metadata`)}),le={profile:{id:`444085232`,name:`John Do`,location:``,location_country:``,location_regions:[],headline:`Full Stack Engineer at Sample Corp and Devsu`,description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Nullam in fermentum dui. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,linkedin_url:`https://www.linkedin.com/in/john-doe-xx1bb01b54`,picture_permalink:`https://i.pravatar.cc/150`,connections_count:0,followers_count:509,is_working:!1,is_decision_maker:!1,total_experience_duration_months:0,projected_total_salary:0,post_count:0,posts:``,liked_posts:``,recommendations:``,recommendations_count:0,skills:`junit.sql.collections.dsl.pruebas.angularjs.continuous delivery.spring boot.scrum.factoring.education.perl.digital.database.registration.data entry.oracle.mockito.erp.software.workflow.javascript.ux.knockoutjs.bamboo.sonar.angular.construction.auditing.gobierno.unix.api.web services.php.tax.evaluation.administration.components.android.java.glassfish.projects.middleware.spring.angular js`.split(`.`),languages:[],courses:[],github_username:``,github_contributions_count:0},experience:[{employee_position_id:``,employee_title:`Software Engineer`,employer_name:`DevShop Inc.`,employee_description:null,employer_linkedin_description:`Software Development for sameple companies`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2020-12`,end_date:``,employee_location:null,employer_company_ids:[],employer_company_website_domains:[],location:null,is_current:!0,duration_months:`53.0`,department:`Engineering and Technical`,is_public:!1,company_id:`10239632.0`,company_annual_revenue:null,company_employees_count:`231.0`,company_followers_count:`45113.0`,company_founded_year:`2010`,company_hq_city:`Orlando`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_industry:`Software Development`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-corp-xyz`,company_name_alias:[`sightx`,`sightx inc.`],company_type:`Privately Held`,company_updates:[`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Nullam in fermentum dui. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis. Aliquam erat volutpat. Sed lobortis massa sit amet nunc iaculis, in rutrum est imperdiet.`,`Duis varius bibendum elit et dignissim. Maecenas consectetur efficitur leo a tempus. Pellentesque sodales viverra euismod. Fusce nibh est, condimentum eu nibh et, luctus bibendum massa. Fusce pulvinar commodo dolor, in mattis lacus mattis sit amet. Pellentesque finibus aliquam enim facilisis tempor. Nulla nec dui tincidunt, consequat arcu ut, facilisis elit. Suspendisse sodales neque mauris, sollicitudin efficitur turpis tempus sit amet. Curabitur a magna non nunc finibus congue vel congue nisl. `,`Duis varius bibendum elit et dignissim. Maecenas consectetur efficitur leo a tempus. Pellentesque sodales viverra euismod. Fusce nibh est, condimentum eu nibh et, luctus bibendum massa. Fusce pulvinar commodo dolor, in mattis lacus mattis sit amet. Pellentesque finibus aliquam enim facilisis tempor. Nulla nec dui tincidunt, consequat arcu ut, facilisis elit. Suspendisse sodales neque mauris, sollicitudin efficitur turpis tempus sit amet. Curabitur a magna non nunc finibus congue vel congue nisl. `],company_employee_reviews_aggregate_score:0,company_employee_reviews_count:0,competitors:[`forsta`,`semeon analytics`,`voxco`,`optimal workshop`],technologies_used:[`well`,`git`,`react`,`impact`,`symfony`,`selenium`,`linkedin`,`mongodb`],active_job_postings_count:0,active_job_postings_titles:[],last_funding_round_amount_raised:0,last_funding_round_announced_month:9,last_funding_round_announced_year:2022,last_funding_round_lead_investors:[`Sample Ventures`],last_funding_round_name:`Seed Round - Sample VC`,last_funding_round_num_investors:1},{employee_position_id:`400964.0`,employee_title:`Senior Software Engineer`,employer_name:`Sample Corp`,employee_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2016-04`,end_date:`2017-02`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`10.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`11288.0`,company_followers_count:`391437.0`,company_founded_year:`1893`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`Banking`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`26432675.0`,employee_title:`Docente Universitario`,employer_name:`Universidad Católica de Honduras 'Nuestra Señora Reina de la Paz'`,employee_description:null,employer_linkedin_description:`Higher Education ['education', 'science and education > education', 'academic programs', 'international collaborations', 'university', 'scholarships']`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2007`,end_date:`2012`,employee_location:`Tegucigalpa Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa Honduras`,is_current:!1,duration_months:`60.0`,department:`Education`,company_annual_revenue:null,company_employees_count:`496.0`,company_followers_count:`30251.0`,company_founded_year:`1993`,company_hq_city:null,company_hq_country:`Honduras`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],company_industry:`Higher Education`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/school/universidad-cat%c3%b3lica-de-honduras-%27nuestra-se%c3%b1ora-reina-de-la-paz%27`,company_type:`Educational`},{employee_position_id:`8250581.0`,employee_title:`Software Developer`,employer_name:`Lab4U`,employee_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_description:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget semper ligula, at varius felis.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2013-09`,end_date:`2014-02`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`5.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`25.0`,company_followers_count:`6202.0`,company_founded_year:`2013`,company_hq_city:`San Francisco`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_industry:`Education Management`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`3634778.0`,employee_title:`Senior Software Engineer`,employer_name:`IDEATI S.A.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_id:``,employer_logo_url:``,start_date:`2019-12`,end_date:`2020-07`,employee_location:`Panama`,employer_company_ids:[],employer_company_website_domains:[],location:`Panama`,is_current:!1,duration_months:`7.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`18.0`,company_followers_count:`334.0`,company_founded_year:`2009`,company_hq_city:null,company_hq_country:`Panama`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],company_industry:`Software Development`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-corp-xyz`,company_type:`Privately Held`},{employee_position_id:null,employee_title:`Frontend Developer`,employer_name:`Acme Inc`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2009`,end_date:`2010`,employee_location:`Tegucigalpa, Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa, Honduras`,is_current:!1,duration_months:`12.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Technical Team Lead`,employer_name:`Dirección Ejecutiva de Ingresos`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2010`,end_date:`2012`,employee_location:`Tegucigalpa, Honduras`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa, Honduras`,is_current:!1,duration_months:`24.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Analista Programador líder De Proyectos`,employer_name:`Acme Inc.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2006`,end_date:`2009`,employee_location:`Tegucigalpa`,employer_company_ids:[],employer_company_website_domains:[],location:`Tegucigalpa`,is_current:!1,duration_months:`36.0`,department:null,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:null,employee_title:`Senior Software Engineer`,employer_name:`Sample Crop.`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem. `,employer_linkedin_description:`[]`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2012`,end_date:`2013-09`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`20.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:null,company_followers_count:null,company_founded_year:null,company_hq_city:null,company_hq_country:null,company_hq_regions:[],company_industry:null,company_is_b2b:!1,company_linkedin_url:null,company_type:null},{employee_position_id:`519728.0`,employee_title:`Senior Software Engineer`,employer_name:`Sample Consulting Group`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2014-03`,end_date:`2015-09`,employee_location:`Santiago de Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago de Chile`,is_current:!1,duration_months:`18.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`68.0`,company_followers_count:`1167.0`,company_founded_year:`2001`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xzy`,company_type:`Privately Held`},{employee_position_id:`519728.0`,employee_title:`Senior Software Engineer`,employer_name:`XYZ Constulting Group`,employee_description:`Nullam sit amet quam at lacus luctus pulvinar sit amet et urna. Vestibulum at ante lacinia, euismod leo at, rutrum sapien. Fusce consequat tempus tempus. Integer nisl nisl, luctus sed ultrices nec, egestas sed sem.`,employer_linkedin_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2017-03`,end_date:`2019-08`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`29.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`68.0`,company_followers_count:`1167.0`,company_founded_year:`2001`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`},{employee_position_id:`11914719.0`,employee_title:`Senior Software Engineer`,employer_name:`SAMPL Inc.`,employee_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,employer_linkedin_id:``,employer_logo_url:``,start_date:`2015-10`,end_date:`2016-03`,employee_location:`Santiago Province, Chile`,employer_company_ids:[],employer_company_website_domains:[],location:`Santiago Province, Chile`,is_current:!1,duration_months:`5.0`,department:`Engineering and Technical`,company_annual_revenue:null,company_employees_count:`36.0`,company_followers_count:`2746.0`,company_founded_year:`2002`,company_hq_city:null,company_hq_country:`Chile`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_industry:`IT Services and IT Consulting`,company_is_b2b:!1,company_linkedin_url:`https://www.linkedin.com/company/sample-xyz`,company_type:`Privately Held`}],education:[{institute_name:`Sample University`,degree_name:`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`,degrees:[`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`],field_of_study:`Master of Information Technology, Computer Software Engineering, Maximum Distinction.`,institute_linkedin_id:``,institute_linkedin_url:`https://www.linkedin.com/school/usample`,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],institution_full_address:`Av. Libertador Bernardo O'Higgins 1058; Diagonal Paraguay 265, Torre 15; Santiago, 28330111, CL`,institution_street:``,institution_zipcode:``,start_date:`2012.0`,start_month:null,end_date:`2015.0`,end_month:null,description:`Sed elementum, mi nec euismod molestie, dui nulla luctus neque, ac tempor erat nibh quis odio. Curabitur volutpat lectus semper, laoreet nunc elementum, cursus diam. Sed porttitor justo nunc, in imperdiet arcu rhoncus et.`,activities_and_societies:null,order_in_profile:0},{institute_name:`Universidad Católica de Honduras 'Nuestra Señora Reina de la Paz'`,degree_name:`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`,degrees:[`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`],field_of_study:`Ingeniero en Ciencias de la Computación, Ingeniero en Ciencias de la Computación`,institute_linkedin_id:``,institute_linkedin_url:`https://www.linkedin.com/school/sample-inst'`,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[`Americas`,`Latin America and the Caribbean`,`Central America`,`AMER`],institution_full_address:`San Pedro Sula Col. Zeron 12 Calle 21 Ave. Calle al Hospiral Mario Catarino Rivas; Residencial Las Colinas, Ave. Bella Vista, Calle Principal, La Ceiba, Atlantida.; TEGUCIGALPA, FRANCISCO MORAZAN 4473, HN`,institution_street:``,institution_zipcode:``,start_date:`2002.0`,start_month:null,end_date:`2006.0`,end_month:null,description:null,activities_and_societies:null,order_in_profile:0},{institute_name:`Instituto Salesiano San Miguel`,degree_name:`Bachiller en Ciencias y Letras`,degrees:[`Bachiller en Ciencias y Letras`],field_of_study:`Bachiller en Ciencias y Letras`,institute_linkedin_id:``,institute_linkedin_url:null,institute_logo_url:``,institution_city:null,institution_state:null,institution_country_iso2:``,institution_country_iso3:``,institution_regions:[],institution_full_address:null,institution_street:``,institution_zipcode:``,start_date:`1991.0`,start_month:null,end_date:`2001.0`,end_month:null,description:null,activities_and_societies:null,order_in_profile:0}],awards:[],certifications:[{title:`Cloud Developer`,issuer:`Udacity`,date_from_year:2024,date_from_month:null,date_to_year:null,date_to_month:null},{title:`MCP - Developing and Implementing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual Studio .NET`,issuer:`Microsoft`,date_from_year:2007,date_from_month:null,date_to_year:null,date_to_month:null}],organizations:[],patents:[],projects:[],publications:[],github_repos:[]},ue=r.object({recommendation:r.string().nullable(),referee_full_name:r.string().nullable(),referee_url:r.string().nullable(),order_in_profile:r.number().nullable()}),de=r.object({department:r.string().nullable(),management_level:r.string().nullable(),total_experience_duration_months:r.number().nullable()}),fe=r.object({field_name:r.string().nullable(),change_type:r.string().nullable(),last_changed_at:r.string().nullable()}),pe=r.object({field_name:r.string().nullable(),last_changed_at:r.string().nullable()}),me=r.object({id:r.string().nullable(),name:r.string().nullable(),full_name:r.string().nullable(),first_name:r.string().nullable(),first_name_initial:r.string().nullable(),middle_name:r.string().nullable(),middle_name_initial:r.string().nullable(),last_name:r.string().nullable(),last_name_initial:r.string().nullable(),headline:r.string().nullable(),description:r.string().nullable(),summary:r.string().nullable(),picture_permalink:r.string().nullable(),picture_url:r.string().nullable(),location:r.string().nullable(),location_full:r.string().nullable(),location_country:r.string().nullable(),location_city:r.string().nullable(),location_state:r.string().nullable(),location_country_iso2:r.string().nullable(),location_country_iso3:r.string().nullable(),location_regions:r.array(r.string()).nullable(),linkedin_url:r.string().nullable(),linkedin_shorthand_names:r.array(r.string()).nullable(),connections_count:r.number().nullable(),followers_count:r.number().nullable(),post_count:r.number().nullable(),posts:r.string().nullable(),liked_posts:r.string().nullable(),recommendations:r.array(ue).nullable(),recommendations_count:r.number().nullable(),is_working:r.number().nullable(),is_decision_maker:r.number().nullable(),total_experience_duration_months:r.number().nullable(),total_experience_duration_months_breakdown_department:r.array(de).nullable(),total_experience_duration_months_breakdown_management_level:r.array(de).nullable(),active_experience_company_id:r.number().nullable(),active_experience_title:r.string().nullable(),active_experience_description:r.string().nullable(),active_experience_department:r.string().nullable(),active_experience_management_level:r.string().nullable(),skills:r.array(r.string()).nullable(),inferred_skills:r.array(r.string()).nullable(),historical_skills:r.array(r.string()).nullable(),interests:r.array(r.string()).nullable(),services:r.unknown().nullable(),last_graduation_date:r.number().nullable(),education_degrees:r.array(r.string()).nullable(),projected_total_salary:r.number().nullable(),projected_base_salary_p25:r.number().nullable(),projected_base_salary_median:r.number().nullable(),projected_base_salary_p75:r.number().nullable(),projected_base_salary_period:r.string().nullable(),projected_base_salary_currency:r.string().nullable(),projected_base_salary_updated_at:r.string().nullable(),projected_additional_salary_period:r.string().nullable(),projected_additional_salary_currency:r.string().nullable(),projected_additional_salary_updated_at:r.string().nullable(),projected_total_salary_p25:r.number().nullable(),projected_total_salary_median:r.number().nullable(),projected_total_salary_p75:r.number().nullable(),projected_total_salary_period:r.string().nullable(),projected_total_salary_currency:r.string().nullable(),projected_total_salary_updated_at:r.string().nullable(),projected_additional_salary:r.array(r.unknown()).nullable(),patents_count:r.number().nullable(),patents_topics:r.array(r.string()).nullable(),publications_count:r.number().nullable(),publications_topics:r.array(r.string()).nullable(),projects_count:r.number().nullable(),projects_topics:r.array(r.string()).nullable(),created_at:r.string().nullable(),updated_at:r.string().nullable(),checked_at:r.string().nullable(),changed_at:r.string().nullable(),experience_change_last_identified_at:r.string().nullable(),op_created_at:r.string().nullable(),op_updated_at:r.string().nullable(),profile_root_field_changes_summary:r.array(fe).nullable(),profile_collection_field_changes_summary:r.array(pe).nullable(),experience_recently_started:r.array(r.unknown()).nullable(),experience_recently_closed:r.array(r.unknown()).nullable()}),he=r.object({active_experience:r.number().nullable(),position_title:r.string().nullable(),department:r.string().nullable(),management_level:r.string().nullable(),location:r.string().nullable(),description:r.string().nullable(),date_from:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to:r.string().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable(),duration_months:r.number().nullable(),company_id:r.number().nullable(),company_name:r.string().nullable(),company_type:r.string().nullable(),company_founded_year:r.number().nullable(),company_followers_count:r.number().nullable(),company_website:r.string().nullable(),company_facebook_url:r.array(r.string()).nullable(),company_twitter_url:r.array(r.string()).nullable(),company_professional_network_url:r.string().nullable(),company_linkedin_url:r.string().nullable(),company_size_range:r.string().nullable(),company_employees_count:r.number().nullable(),company_industry:r.string().nullable(),company_categories_and_keywords:r.array(r.string()).nullable(),company_annual_revenue_source_1:r.number().nullable(),company_annual_revenue_currency_source_1:r.string().nullable(),company_annual_revenue_source_5:r.number().nullable(),company_annual_revenue_currency_source_5:r.string().nullable(),company_employees_count_change_yearly_percentage:r.number().nullable(),company_last_funding_round_date:r.string().nullable(),company_last_funding_round_amount_raised:r.number().nullable(),company_hq_full_address:r.string().nullable(),company_hq_country:r.string().nullable(),company_hq_regions:r.array(r.string()).nullable(),company_hq_country_iso2:r.string().nullable(),company_hq_country_iso3:r.string().nullable(),company_hq_city:r.string().nullable(),company_hq_state:r.string().nullable(),company_hq_street:r.string().nullable(),company_hq_zipcode:r.string().nullable(),company_last_updated_at:r.string().nullable(),company_stock_ticker:r.array(r.string()).nullable(),company_is_b2b:r.number().nullable(),order_in_profile:r.number().nullable()}),ge=r.object({degree:r.string().nullable(),description:r.string().nullable(),institution_url:r.string().nullable(),institution_name:r.string().nullable(),institution_full_address:r.string().nullable(),institution_country_iso2:r.string().nullable(),institution_country_iso3:r.string().nullable(),institution_regions:r.array(r.string()).nullable(),institution_city:r.string().nullable(),institution_state:r.string().nullable(),institution_street:r.string().nullable(),institution_zipcode:r.string().nullable(),date_from_year:r.number().nullable(),date_to_year:r.number().nullable(),activities_and_societies:r.string().nullable(),order_in_profile:r.number().nullable()}),_e=r.object({language:r.string().nullable(),proficiency:r.string().nullable(),order_in_profile:r.number().nullable()}),ve=r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable()}),ye=r.object({name:r.string().nullable(),description:r.string().nullable(),date_from_year:r.number().nullable(),date_from_month:r.number().nullable(),date_to_year:r.number().nullable(),date_to_month:r.number().nullable()}),be=r.object({reasoning:r.string().nullable(),answer:r.string().nullable()}),xe=r.object({profile:me.nullable(),experience:r.array(he),education:r.array(ge),languages:r.array(_e),awards:r.array(r.object({title:r.string().nullable(),issuer:r.string().nullable(),date_year:r.int().nullable(),date_month:r.int().nullable(),order_in_profile:r.int().nullable()})),certifications:r.array(ve),organizations:r.array(r.object({organization_name:r.string().nullable(),position:r.string().nullable(),description:r.string().nullable(),date_from_year:r.int().nullable(),date_from_month:r.int().nullable(),date_to_year:r.int().nullable(),date_to_month:r.int().nullable()})),patents:r.array(r.object({title:r.string(),description:r.string().nullable(),status:r.string().nullable(),date_year:r.int().nullable(),date_month:r.int().nullable()})),projects:r.array(ye),publications:r.array(r.object({title:r.string().nullable(),description:r.string().nullable(),publisher_names:r.array(r.string()).nullable(),date_year:r.int().nullable(),date_month:r.int().nullable()})),github_repos:r.array(r.object({name:r.string().nullable(),summary:r.string().nullable(),stars:r.int().nullable(),contributions_count:r.int().nullable()})),courses:r.array(r.object({organizer:r.string().nullable(),title:r.string(),order_in_profile:r.int()})),match_data:r.record(r.string(),be).nullable()}),Se={profile:{id:`595453327`,name:`Mat Cole`,full_name:`Mat Col`,first_name:`Mat`,first_name_initial:`M`,middle_name:null,middle_name_initial:null,last_name:`Junior`,last_name_initial:`J`,headline:`Software Engineer`,description:`🌐 Front: React, Angular, NextJs, Tailwind ⚙ Back: Golang, Node, Python, Java (Springboot) 🧱 Infra: AWS, Terraform, Ansible, CI Pipelines, Kubernetes 🎨 Arch: Microservices, Monolith, DDD, Event Driven I turn coffee into code. As a dedicated student and practitioner of modern development practices, I am capable of contributing to all development steps on any software project from source to infrastructure and from planning to deployment. I do a lot of side projects. Some of them have made into small commercial solutions. Others helped me advance my knowledge and development technique. One time I made a WhatsApp broadcasting system(it was like a mailing list but for WhatsApp). Angular and Golang were the main technologies behind it. My employer at the time got really interested and bought the idea of trying it in production. It was a real success, the customer engagement was over the roof. Occasionally I contribute to open source projects. Now if I may. It's time to code 👨🏻💻`,summary:`🌐 Front: React, Angular, NextJs, Tailwind ⚙ Back: Golang, Node, Python, Java (Springboot) 🧱 Infra: AWS, Terraform, Ansible, CI Pipelines, Kubernetes 🎨 Arch: Microservices, Monolith, DDD, Event Driven I turn coffee into code. As a dedicated student and practitioner of modern development practices, I am capable of contributing to all development steps on any software project from source to infrastructure and from planning to deployment. I do a lot of side projects. Some of them have made into small commercial solutions. Others helped me advance my knowledge and development technique. One time I made a WhatsApp broadcasting system(it was like a mailing list but for WhatsApp). Angular and Golang were the main technologies behind it. My employer at the time got really interested and bought the idea of trying it in production. It was a real success, the customer engagement was over the roof. Occasionally I contribute to open source projects. Now if I may. It's time to code 👨🏻💻`,picture_permalink:`https://media.licdn.com/dms/image/v2/C4D03AQF_1Wt7RyfYZeQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1x616980064425?e=2147483647&v=beta&t=jzbQpbwytqaKglNQwcjRsyyhS4LFXo-f-6Reco1PsEs`,picture_url:`https://media.licdn.com/dms/image/v2/C4D03AQF_1Wft7RyYZeQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1x616980064425?e=2147483647&v=beta&t=jzbQpbwytqaKglNQwcjRsyyhS4LFXo-f-6Reco1PsEs`,location:`Berlin, Berlin, Germany`,location_full:`Berlin, Berlin, Germany`,location_country:`Germany`,location_city:`Berlin`,location_state:`Berlin`,location_country_iso2:`DE`,location_country_iso3:`DEU`,location_regions:[`Europe`,`Western Europe`,`EMEA`,`EU`],linkedin_url:`https://www.linkedin.com/in/mat-cole-11a821122`,linkedin_shorthand_names:[`mat`,`ma`],connections_count:196,followers_count:200,post_count:0,posts:``,liked_posts:``,recommendations:[{recommendation:`“From the first day Mateus started on our development projects he was active and engaged and that energy was consistent until his very last day working with us. We were thrilled to have him join us because of his experience and knowledge and we are extremely grateful for his contributions to our organization. Always professional and courteous and open to ask questions or offer help to his colleagues, Mateus was one of the most productive developers on the development team during his time with us.
|
|
2
2
|
|
|
3
|
-
In addition, Mateus is exceptional at translating technical details to business customers and his attention to detail is second to none. His personality and sense of humor left both internal and external team members feeling great after interacting with him and I highly recommend his services because I'm sure you will find the same joy in working with him that I did!”`,referee_full_name:`Terrence Scoville`,referee_url:`https://www.linkedin.com/in/terrencescoville`,order_in_profile:1}],recommendations_count:1,is_working:1,is_decision_maker:0,total_experience_duration_months:98,total_experience_duration_months_breakdown_department:[{department:`C-Suite`,management_level:null,total_experience_duration_months:10},{department:`Other`,management_level:null,total_experience_duration_months:35},{department:`Engineering and Technical`,management_level:null,total_experience_duration_months:53}],total_experience_duration_months_breakdown_management_level:[{department:null,management_level:`Other`,total_experience_duration_months:35},{department:null,management_level:`Senior`,total_experience_duration_months:13},{department:null,management_level:`Founder`,total_experience_duration_months:10},{department:null,management_level:`Specialist`,total_experience_duration_months:40}],active_experience_company_id:11827332,active_experience_title:`Software Engineer`,active_experience_description:`- Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Built internal automation & compliance tools (TS, Bash, Python) and CI/CD pipelines, leveraging Kubernetes, AWS and Terraform. - Designed and maintained comprehensive E2E/integration test suites (Cypress, Karate) integrated into DevOps pipelines, boosting release confidence and quality. - Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. Show less`,active_experience_department:`Engineering and Technical`,active_experience_management_level:`Specialist`,skills:[],inferred_skills:`react.angular.golang.python.java.aws.ansible.pipelines.kubernetes.microservices.coffee.software.infrastructure.planning.deployment.projects.commercial.broadcasting.production.engagement.automation.compliance.bash.integration.karate.devops.healthcare.django.testing.bitbucket.reliability.technology.typescript.jira.marketing.rates.designs.responsiveness.css.workflow.github.heroku.safe.docker.gitlab.security.risk.cloud.spring.architecture.mobile.api.purchasing.intelligence.pricing.analysis.customer engagement.open source.consumer marketing.performance testing.evidence collection.cost analysis`.split(`.`),historical_skills:[],interests:[],services:null,last_graduation_date:2015,education_degrees:[`Computer Science`],projected_total_salary:0,projected_base_salary_p25:null,projected_base_salary_median:null,projected_base_salary_p75:null,projected_base_salary_period:null,projected_base_salary_currency:null,projected_base_salary_updated_at:null,projected_additional_salary_period:null,projected_additional_salary_currency:null,projected_additional_salary_updated_at:null,projected_total_salary_p25:null,projected_total_salary_median:null,projected_total_salary_p75:null,projected_total_salary_period:null,projected_total_salary_currency:null,projected_total_salary_updated_at:null,projected_additional_salary:[],patents_count:null,patents_topics:[],publications_count:null,publications_topics:[],projects_count:1,projects_topics:[`Outline`],created_at:`2022-10-24T05:04:06.000Z`,updated_at:`2025-10-23T10:00:59.815999Z`,checked_at:`2025-10-23T10:00:59.815999Z`,changed_at:`2025-10-23T10:00:59.815999Z`,experience_change_last_identified_at:null,op_created_at:``,op_updated_at:``,profile_root_field_changes_summary:[{field_name:`profile_photo_url`,change_type:`new`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`canonical_shorthand_name`,change_type:`updated`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`connections_count`,change_type:`updated`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`profile_photo_url`,change_type:`deleted`,last_changed_at:`2025-02-22 01:37:54.056261`},{field_name:`summary`,change_type:`new`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`follower_count`,change_type:`updated`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`summary`,change_type:`updated`,last_changed_at:`2025-05-19 03:20:24.893504`}],profile_collection_field_changes_summary:[{field_name:`education`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`experience`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`activity`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`certifications`,last_changed_at:`2025-10-23 10:00:59.815999`}],experience_recently_started:[],experience_recently_closed:[]},experience:[{active_experience:1,position_title:`Software Engineer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Berlin, Germany`,description:`- Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Built internal automation & compliance tools (TS, Bash, Python) and CI/CD pipelines, leveraging Kubernetes, AWS and Terraform. - Designed and maintained comprehensive E2E/integration test suites (Cypress, Karate) integrated into DevOps pipelines, boosting release confidence and quality. - Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. Show less`,date_from:`September 2023`,date_from_year:2023,date_from_month:9,date_to:null,date_to_year:null,date_to_month:null,duration_months:25,company_id:11827332,company_name:`Sample`,company_type:`Partnership`,company_founded_year:2013,company_followers_count:14325,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`51-200 employees`,company_employees_count:153,company_industry:`Hospitals and Health Care`,company_categories_and_keywords:`technology.health care software.vendor-neutral archives (vna) software.sample.vendor-neutral archives (vna).health > health - other (in united states).operating room integration.performance management.healthcare it.digital health.surgical workflow technology.clinical reporting.surgical content management.surgical software.medtech.software.iot.audio.video.digital or.surgery.ai.technologies.computer mouses.gadgets.keyboards.fitness bracelets.artificial-intelligence.automation.healthtech.platform.surgical-solutions.health care.hospital`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:289e5,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:-15.469613259668508,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`San Francisco, CA, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`San Francisco`,company_hq_state:`California`,company_hq_street:``,company_hq_zipcode:``,company_last_updated_at:`2025-09-07`,company_stock_ticker:[],company_is_b2b:0,order_in_profile:1},{active_experience:0,position_title:`Senior QA Automation Engineer (SDET)`,department:`Engineering and Technical`,management_level:`Senior`,location:`Fortaleza, Ceará, Brazil`,description:`- Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. - Led end-to-end automation for an AI-driven surgical platform, crafting robust Cypress and Karate automated suites integrated into DevOps pipelines, boosting release confidence and quality to 20+ microservices. - Designed and maintained GitLab CI/CD pipelines that embedded testing, security scans, and compliance gates—cutting release times and defect rates. - Conducted risk-based load, and performance testing, surfacing critical issues before production and boosting platform reliability. - Automated evidence-collection and other regulatory workflows with TypeScript and Bash, including a full on-prem-to-cloud Jira migration. - Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Authored test architecture standards and documentation aligned with healthcare regulations (e.g., HDS), ensuring audit readiness. Show less`,date_from:`August 2022`,date_from_year:2022,date_from_month:8,date_to:`September 2023`,date_to_year:2023,date_to_month:9,duration_months:13,company_id:12256598,company_name:`Sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:121642,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`501-1000 employees`,company_employees_count:519,company_industry:`Software Development`,company_categories_and_keywords:`technology/software development.staffing agencies.sample.computers electronics and technology > programming and developer software.enterprise platforms.business solutions.salesforce.adobe solutions.servicenow.digital product development.saas.custom development.team and staff augmentation services.power platform.microsoft business applications (crm.field services.marketing automation.erp).powerbi.copilot studio.genai projects.microsoft dynamics 365.adobe experience platform.adobe experience management.marketo engage.workfront.personalization.analytics.business transformation.digital transformation.custom software development.platform optimization.customer experience solutions.outsourcing.software.staffing agency`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:19e6,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:61.18012422360248,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Vine St; 1601 6th Floor; Los Angeles , California 90028, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`Los Angeles`,company_hq_state:`California`,company_hq_street:`Vine St 1601 6th Floor`,company_hq_zipcode:`90028`,company_last_updated_at:`2025-09-09`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:2},{active_experience:0,position_title:`Frontend Web Developer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Fortaleza, Ceará, Brasil`,description:`Record-time implementation of modern, conversion-focused web pages for California-based client (leader in direct-to-consumer marketing). - Delivered high-converting web pages for a leading direct-to-consumer marketing client, consistently meeting aggressive deadlines while maintaining quality standards - Engineered sophisticated animations and interactive elements using SCSS and Angular, enhancing user engagement and improving conversion rates - Translated complex Figma designs into pixel-perfect implementations with full responsiveness across all browsers and devices - Automated routine development tasks through custom Python and Shell scripts, reducing development time and improving team productivity. Technologies: - Angular & Ionic (multiple versions). - SCSS BEM for enterprise-level reusable stylesheets. - CSS and JS Animations for highly interactive designs. - AWS - Python for workflow automation and integration of JIRA, Github, Heroku, AWS. - Type-safe Python with MyPy (for automation workflow development) - Docker - PHP Show less`,date_from:`November 2021`,date_from_year:2021,date_from_month:11,date_to:`August 2022`,date_to_year:2022,date_to_month:8,duration_months:9,company_id:12256598,company_name:`sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:121642,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/_sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`501-1000 employees`,company_employees_count:519,company_industry:`Software Development`,company_categories_and_keywords:`technology/software development.staffing agencies.sample.computers electronics and technology > programming and developer software.enterprise platforms.business solutions.salesforce.adobe solutions.servicenow.digital product development.saas.custom development.team and staff augmentation services.power platform.microsoft business applications (crm.field services.marketing automation.erp).powerbi.copilot studio.genai projects.microsoft dynamics 365.adobe experience platform.adobe experience management.marketo engage.workfront.personalization.analytics.business transformation.digital transformation.custom software development.platform optimization.customer experience solutions.outsourcing.software.staffing agency`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:19e6,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:61.18012422360248,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Vine St; 1601 6th Floor; Los Angeles , California 90028, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`Los Angeles`,company_hq_state:`California`,company_hq_street:`Vine St 1601 6th Floor`,company_hq_zipcode:`90028`,company_last_updated_at:`2025-09-09`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:3},{active_experience:0,position_title:`Software Engineer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Fortaleza, Ceará, Brasil`,description:`Full stack feature development and maintenance for a major health provider in Brazil. - Engineered and implemented new features for a healthcare Angular web application with Django backend, ensuring quality through comprehensive unit and end-to-end Cypress testing - Architected and optimized AWS infrastructure deployments using Terraform and Bitbucket CI/CD pipelines, improving system reliability and deployment speed - Established and enforcedd code quality standards through rigorous code reviews, resulting in reduced defects and improved maintainability Technology: - Angular, - Python Django - Cypress - TypeScript - AWS - JIRA - Terraform - Ansible Show less`,date_from:`June 2021`,date_from_year:2021,date_from_month:6,date_to:`November 2021`,date_to_year:2021,date_to_month:11,duration_months:5,company_id:11060780,company_name:`sample`,company_type:`Privately Held`,company_founded_year:2017,company_followers_count:4283,company_website:`https://www.sample.com.br`,company_facebook_url:[],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample-software`,company_size_range:`51-200 employees`,company_employees_count:52,company_industry:`Software Development`,company_categories_and_keywords:[`technology/software`,`industry: n/a`,`innovation`,`consulting`,`design`,`technology`,`software`,`health care`,`information technology`,`innovation management`],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:-24.637681159420293,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Av. Dom Manuel, 1020 - Centro, Fortaleza - CE, 60060-090; Fortaleza, Ceará, BR`,company_hq_country:`Brazil`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_hq_country_iso2:`BR`,company_hq_country_iso3:`BRA`,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:`2025-09-08`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:4},{active_experience:0,position_title:`Software Engineer Operational Support`,department:null,management_level:null,location:`Fortaleza, Ceará, Brasil`,description:`- Generated huge revenue boosts and spectacular client engagement by writing a golang system to send personalized mass messages on WhatsApp. (it was forked from a personal project I was working at) - Developed a React NextJS PWA(Progressive Web Application) solution for mobile stock inventorying and deployed it to AWS using Terraform. - Coded a Golang service and a Python API to integrate the business's online store with its internal systems and mirror entries, prices, and stock. - Implemented a full online store using Woo-commerce, PHP, Js, Nginx, MySQL and set it up on a private VPS Show less`,date_from:`June 2018`,date_from_year:2018,date_from_month:6,date_to:`May 2021`,date_to_year:2021,date_to_month:5,duration_months:35,company_id:82003867,company_name:`sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:0,company_website:`https://www.sample.com.br`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:null,company_employees_count:10,company_industry:`Retail`,company_categories_and_keywords:[`construction`,`industry: n/a`,`tools`,`electrical materials`,`construction materials`,`hydraulic materials`],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:0,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Juiz de Fora, 36025-000, br`,company_hq_country:`Brazil`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_hq_country_iso2:`BR`,company_hq_country_iso3:`BRA`,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:`2025-09-04`,company_stock_ticker:[],company_is_b2b:0,order_in_profile:5},{active_experience:0,position_title:`CEO Founder`,department:`C-Suite`,management_level:`Founder`,location:`Fortaleza, Ceará, Av gomes de matos, 1005`,description:`- Used tech to solve diverse business problems, increasing revenue and efficiency. - Developed a system for quotation execution and purchasing intelligence. - Developed systems for pricing, cost analysis, and product profit margins. - Built the company's visual identity by carrying out several design projects including the company logo, product catalog, flyers, business cards, and others...`,date_from:`May 2016`,date_from_year:2016,date_from_month:5,date_to:`March 2017`,date_to_year:2017,date_to_month:3,duration_months:10,company_id:null,company_name:`sample`,company_type:null,company_founded_year:null,company_followers_count:null,company_website:null,company_facebook_url:[],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:null,company_size_range:null,company_employees_count:null,company_industry:null,company_categories_and_keywords:[],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:null,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:null,company_hq_country:null,company_hq_regions:[],company_hq_country_iso2:null,company_hq_country_iso3:null,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:null,company_stock_ticker:[],company_is_b2b:null,order_in_profile:6}],education:[{degree:`Computer Science`,description:null,institution_url:`https://www.linkedin.com/school/ufcinforma`,institution_name:`Universidade Federal do Ceará`,institution_full_address:`Avenida da Universidade 2853; Benfica; Fortaleza, Ceará 60020-181, BR`,institution_country_iso2:`BR`,institution_country_iso3:`BRA`,institution_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],institution_city:null,institution_state:null,institution_street:null,institution_zipcode:null,date_from_year:2013,date_to_year:2015,activities_and_societies:null,order_in_profile:1}],languages:[{language:`English`,proficiency:`Native or bilingual proficiency`,order_in_profile:1},{language:`Portuguese`,proficiency:`Native or bilingual proficiency`,order_in_profile:2}],awards:[],certifications:[{title:`Business & Executive Coaching`,issuer:`Instituto Brasileiro de Coaching - IBC`,date_from_year:2018,date_from_month:11,date_to_year:null,date_to_month:null}],organizations:[],patents:[],projects:[{name:`Outline`,description:`Me tornei contribuidor do projeto do Outline. Uma ferramenta incrível para notas estruturadas colaborativas(similar ao Notion e Confluence). Como diferencial, o Outline é código aberto e pode ser instalado nas premissas do negócio ou em uma nuvem privada.`,date_from_year:2021,date_from_month:6,date_to_year:null,date_to_month:null}],publications:[],github_repos:[],courses:[],match_data:{"Software Engineers in Berlin":{reasoning:`Profile lists current role as "Software Engineer" at sample in Berlin, Germany, with active_experience=1 and location="Berlin, Germany".`,answer:`YES`}}},Se=r.object({id:r.string(),name:r.string().nullable(),domain:r.string().nullable(),website:r.string().nullable(),type:r.string().nullable(),industry:r.string().nullable(),industries:r.array(r.string()).nullable(),categories:r.array(r.string()).nullable(),employees:r.number().nullable(),revenue:r.string().nullable(),description:r.string().nullable(),keywords:r.array(r.string()).nullable(),technologies:r.array(r.string()).nullable(),subsidiaries:r.array(r.string()).nullable(),founded_year:r.number().nullable(),naics_codes:r.array(r.string()).nullable(),location:r.object({country:r.object({code:r.string().nullable(),name:r.string().nullable(),latitude:r.number().nullable(),longitude:r.number().nullable()}).nullable(),state:r.object({id:r.number().nullable(),name:r.string().nullable(),code:r.string().nullable(),latitude:r.number().nullable(),longitude:r.number().nullable()}).nullable(),city:r.string().nullable(),address:r.string().nullable(),postal_code:r.string().nullable(),phone:r.string().nullable()}).nullable(),financial:r.object({stock_symbol:r.string().nullable(),stock_exchange:r.string().nullable(),total_funding:r.string().nullable(),funding_stage:r.string().nullable(),funding_date:r.string().nullable(),funding:r.string().nullable()}).nullable(),socials:r.object({linkedin_url:r.string().nullable(),linkedin_id:r.string().nullable(),twitter_url:r.string().nullable(),facebook_url:r.string().nullable(),instagram_url:r.string().nullable(),angellist_url:r.string().nullable(),crunchbase_url:r.string().nullable(),youtube_url:r.string().nullable(),g2_url:r.string().nullable()}).nullable(),page_rank:r.number().nullable(),logo_url:r.string().nullable(),seo_description:r.string().nullable(),updated_at:r.string().nullable()}),Ce={id:`01924e72-a5ed-78ad-a3f4-67d61ec1af48`,name:`Cucumber`,domain:`cucumber.io`,website:`https://cucumber.io`,type:null,industry:`Business Services`,industries:[`Business Services/Custom Software & IT Services`,`Software`],categories:[`b2b`,`saas`],employees:null,revenue:`1m-10m`,description:`Cucumber is a tool for running automated acceptance tests, written in plain language, improving communication, collaboration, and trust among team members.`,keywords:[`automated testing`,`acceptance testing`,`plain language testing`,`software testing`,`test automation`,`behaviour-driven development`,`software training`,`agile development`,`collaborative software`,`specification management`,`software`],technologies:[`Route 53`,`Microsoft Office 365`,`Amazon AWS`,`Marketo`,`UptimeRobot`,`StatusPage IO`,`Adroll`,`Amazon-Cloudfront`,`Crazy-Egg`,`Facebook-Social-Plugins`,`Google-Analytics`,`Google-Tag-Manager`,`Kentico`,`Microsoft-Asp-Net`,`Microsoft-Iis`,`Microsot-365`,`React`],subsidiaries:null,founded_year:2013,naics_codes:[`541511`,`511210`],location:{country:{code:`GB`,name:`United Kingdom`,latitude:54,longitude:-2},state:{id:4793,name:`Scotland`,code:`SCT`,latitude:56.490673,longitude:-4.202646},city:null,address:null,postal_code:`PA24 8AN`,phone:`+1 617-684-2600`},financial:{stock_symbol:null,stock_exchange:null,total_funding:null,funding_stage:null,funding_date:null,funding:null},socials:{linkedin_url:`https://www.linkedin.com/company/3345003`,linkedin_id:null,twitter_url:`https://twitter.com/cucumberbdd`,facebook_url:`https://facebook.com/smartbear`,instagram_url:null,angellist_url:null,crunchbase_url:null,youtube_url:`https://youtube.com/user/smartbearsoftware`,g2_url:null},page_rank:5.52,logo_url:`https://api.companyenrich.com/companies/logo/01924e72-a5ed-78ad-a3f4-67d61ec1af48`,seo_description:`Cucumber develops and delivers tools for behavior-driven development that provides open source test automation solutions for businesses.`,updated_at:`2025-10-02T10:15:16.672609Z`},we=r.object({company_id:r.number().int().positive(),year_founded:r.number().int(),crunchbase_valuation_usd:r.number().int().nonnegative(),last_funding_round_investment_usd:r.number().int().nonnegative(),estimated_revenue_lower_bound_usd:r.number().int().nonnegative(),estimated_revenue_higher_bound_usd:r.number().int().nonnegative(),crunchbase_total_investment_usd:r.number().int().nonnegative(),crunchbase_valuation_lower_bound_usd:r.number().int().nonnegative(),company_name:r.string().min(1),hq_country:r.string().min(1),hq_street_address_and_city:r.string().min(1),largest_headcount_country:r.string().min(1),crunchbase_uuid:r.string().uuid(),linkedin_profile_name:r.string().min(1),linkedin_profile_url:r.string().url(),linkedin_id:r.string().min(1),linkedin_company_description:r.string().min(1),last_funding_round_type:r.string(),hq_location:r.string().min(1),employee_count_range:r.string().regex(/^\d+-(\d+|[A-Za-z]+)$/),company_type:r.string().min(1),company_website:r.string().url(),company_website_domain:r.string().min(1),crunchbase_profile_url:r.string().url(),acquisition_status:r.string(),fiscal_year_end:r.string(),twitter_profile_url:r.string().url().optional(),twitter_handle:r.string().optional(),crunchbase_valuation_date:r.string().datetime(),ipo_date:r.string().datetime(),last_funding_date:r.string().datetime(),growth_calculation_date:r.string().datetime(),updated_at:r.string().datetime(),indexed_at:r.string().datetime(),linkedin_industries:r.array(r.string()),linkedin_categories:r.array(r.string()),office_addresses:r.array(r.string()),crunchbase_investors:r.array(r.string()),crunchbase_categories:r.array(r.string()),competitor_ids:r.array(r.string()),competitor_websites:r.array(r.string().url().or(r.string().min(1))),stock_symbols:r.array(r.string()),markets:r.array(r.string()),tracxn_investors:r.array(r.string()),employee_metrics:r.object({latest_count:r.number().int().nonnegative(),growth_1m:r.number().int(),growth_3m:r.number().int(),growth_6m:r.number().int(),growth_12m:r.number().int(),growth_1m_percent:r.number(),growth_3m_percent:r.number(),growth_6m_percent:r.number(),growth_12m_percent:r.number()}),follower_metrics:r.object({latest_count:r.number().int().nonnegative(),growth_1m:r.number().int(),growth_3m:r.number().int(),growth_6m:r.number().int(),growth_12m:r.number().int(),growth_1m_percent:r.number(),growth_3m_percent:r.number(),growth_6m_percent:r.number(),growth_12m_percent:r.number()}),skill_distribution:r.record(r.string(),r.number().int().nonnegative()),skill_distribution_percent:r.record(r.string(),r.number().int().nonnegative()),role_distribution:r.record(r.string(),r.number().int().nonnegative()),role_distribution_percent:r.record(r.string(),r.number().nonnegative()),role_growth_6m:r.record(r.string(),r.number().nullable()),role_growth_yoy:r.record(r.string(),r.number().nullable()),region_distribution:r.record(r.string(),r.number().int().nonnegative())}),Te={company_id:5870,company_name:`Tricentis`,year_founded:2007,hq_country:`USA`,hq_street_address_and_city:`5301 Southwest Parkway Building 2, Suite 200, Austin`,largest_headcount_country:`USA`,crunchbase_uuid:`499ae2f1-1bcf-eeb6-3c55-30bd78788b38`,crunchbase_valuation_usd:0,crunchbase_valuation_date:`1900-01-01T00:00:00`,linkedin_industries:[`Information Technology & Services`,`Computer Software`,`Software Development`],linkedin_profile_name:`Tricentis`,linkedin_profile_url:`https://www.linkedin.com/company/tricentis`,linkedin_id:`656215`,linkedin_categories:[`Software Testing`,`Test Automation`,`Mobile Testing`,`SAP Testing`,`Continuous Testing`,`Load Testing`,`Performance Testing`,`Test Management`,`DevOps`,`Quality Engineering`,`Generative AI`,`Artificial Intelligence`,`Quality Assurance`,`Data Integrity`,`Digital Transformation`,`Oracle Testing`,`ERP`,`Application Testing`],linkedin_company_description:`Tricentis is a global leader in continuous testing and quality engineering. The Tricentis AI-powered, continuous testing platform provides a new and fundamentally different way to perform software testing. An approach that’s totally automated, fully codeless, and intelligently driven by AI. It addresses both agile development and complex enterprise apps, enabling enterprises to accelerate their digital transformation by dramatically increasing software release speed, reducing costs, and improving software quality. Widely credited for reinventing software testing for DevOps, cloud, and enterprise applications, Tricentis has been recognized as a leader by major industry analysts, including Forrester, Gartner, and IDC. Tricentis has more than 2,500 customers, including the largest brands in the world, such as McKesson, Accenture, Allianz, Telstra, Dolby, and Vodafone.`,last_funding_round_type:``,last_funding_round_investment_usd:0,hq_location:`Austin, Texas, United States`,office_addresses:[`Leonard-Bernstein Straße 10, Vienna, 1220, AT`,`80 Cheapside, London, England, EC2V 6EE, GB`,`Flughafenstraße 52a, Hamburg, 22335, DE`,`Monarch Tower 3424 Peachtree Rd NE , Atlanta, GA, 30326, US`,`389 av. du château de Jouques, Gémenos, 13420, FR`,`Regus Spaces Richtistrasse 2-6, Wallisellen, 8304, CH`,`Tech Center, Rajiv Gandhi Infotech Park, MIDC, Hinjewadi, Pune, 411057, IN`,`109 North Bridge Road, Singapore, 228208, SG`,`200 Summit Dr, Burlington, Massachusetts, 01803, US`,`Boudníkova 2538/11, Prague 8, 180 00, CZ`,`Bos en Lommerplein 270-300, 1055 RW Amsterdam, North Holland, NL`,`University Business Park ul. Wólczańska 178, Łódź, 90-530, PL`,`Nybrogatan 17, Stockholm, Stockholm County, 114 39, SE`,`120 Spencer Street, Melbourne, Victoria, 3000, AU`,`2-12 Foveaux Street, Surry Hills, New South Wales, 2010, AU`,`Vlněna 526/7, Brno, 602 00, CZ`,`28 Haarbaa Street, Tel Aviv, IL`,`8300 Greensboro Dr Ste 250, McLean, Virginia, 22102, US`,`Regus La Defense Tour CB21 16 Place de I'lris LA DEFENSE 92400, Paris, FR`,`9 Parliament Street, Cork, IE`,`Yeouido Station #16-111 20F, 83, Uisadang-daero Yeongdeugpo-gu, Seoul, 07325, KR`,`Kaiserwetterstrasse 215, Dusseldorf, DE`,`SM Aura Office Tower, 11th Floor, SM Aura Premier Office Tower, McKinley Parkway, Bonifacio Global City, Taguig City, PH`],estimated_revenue_lower_bound_usd:5e8,estimated_revenue_higher_bound_usd:1e9,employee_count_range:`1001-5000`,company_type:`Privately Held`,company_website:`http://www.tricentis.com`,company_website_domain:`tricentis.com`,crunchbase_total_investment_usd:1502e6,crunchbase_profile_url:`https://crunchbase.com/organization/tricentis`,acquisition_status:``,ipo_date:`1900-01-01T00:00:00`,crunchbase_valuation_lower_bound_usd:0,crunchbase_investors:[`Wipro Ventures`,`GTCR`,`ViewPoint Capital Partners`,`Claret Capital Partners`,`Insight Partners`],crunchbase_categories:[`Artificial Intelligence (AI)`,`Information Technology`,`Artificial Intelligence`,`Business Process Automation (BPA)`,`DevOps`,`Software`,`Enterprise Software`,`Virtualization`,`Quality Assurance`],twitter_profile_url:`http://twitter.com/tricentis`,twitter_handle:`tricentis`,last_funding_date:`2024-11-26T00:00:00`,competitor_ids:[`792404`,`904228`,`13819`,`10348`,`680066`,`896959`,`783605`,`25518`,`663396`,`667267`,`635996`,`719315`,`689401`,`634796`,`783942`],competitor_websites:[`http://www.cenzic.com`,`https://testifi.io`,`http://www.testvagrant.com`,`https://www.simplify3x.com`,`https://www.agilitest.com`,`euro-testing.com`,`http://www.parasoft.com`,`http://www.insonix.com`,`http://www.quali.com/`,`https://bit.ly/3sWIw9Z`,`https://testim.io/`,`http://www.agitar.com`,`https://testsigma.com`,`http://www.getzephyr.com/`,`https://cyclelabs.io`],stock_symbols:[`TRICENTIS`],markets:[`PRIVATE`],tracxn_investors:[``],fiscal_year_end:``,growth_calculation_date:`2025-09-05T00:00:00`,employee_metrics:{latest_count:1628,growth_1m:-2,growth_3m:45,growth_6m:61,growth_12m:113,growth_1m_percent:-.1226993865030675,growth_3m_percent:2.8427037271004423,growth_6m_percent:3.89278876834716,growth_12m_percent:7.45874587458746},follower_metrics:{latest_count:107809,growth_1m:107809,growth_3m:2887,growth_6m:107809,growth_12m:107809,growth_1m_percent:0,growth_3m_percent:2.751567831341377,growth_6m_percent:0,growth_12m_percent:0},skill_distribution:{"Enterprise Software":285,Leadership:427,Sales:340,Communication:330,"Project Management":424,"Software as a Service (SaaS)":339,"Business Development":293,"Microsoft Excel":268,"Customer Relationship Management (CRM)":307,"Microsoft Office":362,"Customer Service":301,Management:478,"Agile Methodologies":318,"Cloud Computing":306,"Software Development":263,SQL:337},skill_distribution_percent:{"Enterprise Software":5,Leadership:8,Sales:6,Communication:6,"Project Management":8,"Software as a Service (SaaS)":6,"Business Development":5,"Microsoft Excel":5,"Customer Relationship Management (CRM)":6,"Microsoft Office":7,"Customer Service":6,Management:9,"Agile Methodologies":6,"Cloud Computing":6,"Software Development":5,SQL:6},role_distribution:{Engineering:411,"Customer Success and Support":156,Legal:19,Operations:45,Consulting:54,Sales:306,"Military and Protective Services":4,Administrative:29,"Arts and Design":33,"Business Development":113,Research:17,Support:83,Marketing:84,"Product Management":43,Purchasing:6,"Program and Project Management":23,"Community and Social Services":2,"Information Technology":186,Entrepreneurship:9,"Human Resources":50,Education:19,"Quality Assurance":26,Accounting:21,Finance:34,"Media and Communication":34},role_distribution_percent:{Engineering:23,"Customer Success and Support":9,Legal:1,Operations:2,Consulting:3,Sales:17,"Military and Protective Services":0,Administrative:2,"Arts and Design":2,"Business Development":6,Research:1,Support:5,Marketing:5,"Product Management":2,Purchasing:0,"Program and Project Management":1,"Community and Social Services":0,"Information Technology":10,Entrepreneurship:0,"Human Resources":3,Education:1,"Quality Assurance":1,Accounting:1,Finance:2,"Media and Communication":2},role_growth_6m:{Engineering:7.310704960835509,"Customer Success and Support":100,Legal:18.75,Operations:-4.25531914893617,Consulting:-14.285714285714285,Sales:15.471698113207546,"Military and Protective Services":0,Administrative:-9.375,"Arts and Design":10,"Business Development":-11.71875,Research:70,Support:null,Marketing:6.329113924050633,"Product Management":2.380952380952381,Purchasing:20,"Program and Project Management":4.545454545454546,"Community and Social Services":0,"Information Technology":5.681818181818182,Entrepreneurship:-18.181818181818183,"Human Resources":6.382978723404255,Education:18.75,"Quality Assurance":18.181818181818183,Accounting:0,Finance:78.94736842105263,"Media and Communication":100},role_growth_yoy:{Engineering:12.602739726027398,"Customer Success and Support":81.3953488372093,Legal:26.666666666666668,Operations:4.651162790697675,Consulting:-22.857142857142858,Sales:35.39823008849557,"Military and Protective Services":33.33333333333333,Administrative:-6.451612903225806,"Arts and Design":22.22222222222222,"Business Development":-5.833333333333333,Research:54.54545454545454,Support:null,Marketing:15.068493150684931,"Product Management":-2.272727272727273,Purchasing:50,"Program and Project Management":-11.538461538461538,"Community and Social Services":0,"Information Technology":-1.0638297872340425,Entrepreneurship:0,"Human Resources":16.27906976744186,Education:46.15384615384615,"Quality Assurance":13.043478260869565,Accounting:0,Finance:88.88888888888889,"Media and Communication":78.94736842105263},region_distribution:{"Austin, TX":119,Philippines:85,"Atlanta, GA":81,"United States":570,"England, United Kingdom":95,Czechia:151,"Georgia, United States":137,"United Kingdom":103,"Prague Metropolitan Area":87,India:112,"Austin, Texas Metropolitan Area":152,"Atlanta Metropolitan Area":139,Austria:208,"Maharashtra, India":88,"Texas, United States":180,"Vienna, Austria":177},updated_at:`2025-09-08T12:04:58`,indexed_at:`2025-09-08T12:04:58`},Ee=r.object({company_id:r.number(),company_name:r.string(),linkedin_profile_name:r.string(),linkedin_profile_url:r.string().url(),crunchbase_profile_url:r.string().url(),crunchbase_profile_uuid:r.string(),linkedin_id:r.string(),linkedin_logo_url:r.string().url(),linkedin_logo_permalink:r.string().url(),company_twitter_url:r.string().url(),company_website_domain:r.string(),domains:r.array(r.string()),hq_country:r.string(),hq_state:r.string(),headquarters:r.string(),largest_headcount_country:r.string(),hq_street_address:r.string(),company_website:r.string().url(),year_founded:r.string(),fiscal_year_end:r.string(),employee_count_range:r.string(),company_type:r.string(),linkedin_company_description:r.string(),acquisition_status:r.string(),ipo_date:r.string().nullable(),markets:r.array(r.string()),stock_symbols:r.array(r.string()),all_office_addresses:r.array(r.string()),estimated_revenue_lower_bound_usd:r.number(),estimated_revenue_higher_bound_usd:r.number(),taxonomy:r.object({linkedin_specialities:r.array(r.string()),linkedin_industry:r.string(),linkedin_industries:r.array(r.string()),crunchbase_categories:r.array(r.string()),primary_naics_detail:r.object({naics_code:r.string(),year:r.number(),sector:r.string(),sub_sector:r.string(),industry_group:r.string(),industry:r.string()}),sic_detail_list:r.array(r.object({sic_code:r.string(),year:r.number(),industry:r.string()}))}),headcount:r.object({linkedin_headcount:r.number(),linkedin_headcount_total_growth_percent:r.object({mom:r.number(),qoq:r.number(),six_months:r.number(),yoy:r.number(),two_years:r.number()}),linkedin_headcount_total_growth_absolute:r.object({mom:r.number(),qoq:r.number(),six_months:r.number(),yoy:r.number(),two_years:r.number()}),linkedin_headcount_by_role_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_role_percent:r.record(r.string(),r.number()),linkedin_headcount_by_role_six_months_growth_percent:r.record(r.string(),r.number()),linkedin_headcount_by_role_yoy_growth_percent:r.record(r.string(),r.number()),linkedin_headcount_by_region_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_region_percent:r.record(r.string(),r.number()),linkedin_headcount_by_skill_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_skill_percent:r.record(r.string(),r.number())}),web_traffic:r.object({monthly_visitors:r.number(),monthly_visitor_mom_pct:r.number(),monthly_visitor_qoq_pct:r.number(),traffic_source_social_pct:r.number(),traffic_source_search_pct:r.number(),traffic_source_direct_pct:r.number(),traffic_source_paid_referral_pct:r.number(),traffic_source_referral_pct:r.number()}),glassdoor:r.object({glassdoor_overall_rating:r.number().nullable(),glassdoor_ceo_approval_pct:r.number().nullable(),glassdoor_business_outlook_pct:r.number().nullable(),glassdoor_review_count:r.number().nullable(),glassdoor_senior_management_rating:r.number().nullable(),glassdoor_compensation_rating:r.number().nullable(),glassdoor_career_opportunities_rating:r.number().nullable(),glassdoor_culture_rating:r.number().nullable(),glassdoor_diversity_rating:r.number().nullable(),glassdoor_work_life_balance_rating:r.number().nullable(),glassdoor_recommend_to_friend_pct:r.number().nullable(),glassdoor_ceo_approval_growth_percent:r.record(r.string(),r.number()),glassdoor_review_count_growth_percent:r.record(r.string(),r.number())}),g2:r.object({g2_review_count:r.number(),g2_average_rating:r.number(),g2_review_count_mom_pct:r.number().nullable(),g2_review_count_qoq_pct:r.number().nullable(),g2_review_count_yoy_pct:r.number().nullable()}),linkedin_followers:r.object({linkedin_followers:r.number(),linkedin_followers_mom_percent:r.number(),linkedin_followers_qoq_percent:r.number(),linkedin_followers_six_months_growth_percent:r.number(),linkedin_followers_yoy_percent:r.number()}),funding_and_investment:r.object({crunchbase_total_investment_usd:r.number(),days_since_last_fundraise:r.number(),last_funding_round_type:r.string(),crunchbase_investors:r.array(r.string()),last_funding_round_investment_usd:r.number(),acquired_by:r.array(r.string())}),job_openings:r.object({recent_job_openings_title:r.string(),job_openings_count:r.number(),job_openings_count_growth_percent:r.object({mom:r.number(),qoq:r.number(),yoy:r.number()}),job_openings_by_function_qoq_pct:r.record(r.string(),r.number().nullable()),job_openings_by_function_six_months_growth_pct:r.record(r.string(),r.number().nullable())}),is_full_domain_match:r.boolean(),query_identifier:r.string()}),De={company_id:2110301,company_name:`Microsoft`,linkedin_profile_name:`Microsoft`,linkedin_profile_url:`https://www.linkedin.com/company/microsoft`,crunchbase_profile_url:`https://crunchbase.com/organization/tena-care`,crunchbase_profile_uuid:`6369418f-b68e-4799-8f2a-df051914b5cc`,linkedin_id:`1035`,linkedin_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/B56ZYQ0mrGGoAU-/0/1744038948046/microsoft_logo?e=1765411200&v=beta&t=MBU_ZbA-091nRpqW-2oksj3oPhyUhwJYlV3H52tyg1A`,linkedin_logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/9324c3b16231718d7c6eb941352a0d023399e165e909e62565063a93a97dc9bb.jpg`,company_twitter_url:`https://twitter.com/MSFTImagine`,company_website_domain:`microsoft.com`,domains:[`microsoft.com`],hq_country:``,hq_state:``,headquarters:`Redmond, Washington, United States`,largest_headcount_country:`USA`,hq_street_address:`1 Microsoft Way, Redmond, Redmond, Washington, United States`,company_website:`https://news.microsoft.com/`,year_founded:`1975-04-04`,fiscal_year_end:``,employee_count_range:`10001+`,company_type:`Public Company`,linkedin_company_description:`Company description`,acquisition_status:``,ipo_date:null,markets:[`PRIVATE`,`NASDAQ`],stock_symbols:[`MICROSOFT`,`MSFT`],all_office_addresses:[`1 Denison Street , North Sydney, NSW, 2060, AU`],estimated_revenue_lower_bound_usd:1e9,estimated_revenue_higher_bound_usd:0xe8d4a51000,taxonomy:{linkedin_specialities:[`Business Software`],linkedin_industry:`Software Development`,linkedin_industries:[`Software Development`],crunchbase_categories:[`Information Services`],primary_naics_detail:{naics_code:`541512`,year:2022,sector:`Professional, Scientific, and Technical Services`,sub_sector:`Professional, Scientific, and Technical Services`,industry_group:`Computer Systems Design and Related Services`,industry:`Computer Systems Design Services`},sic_detail_list:[{sic_code:`7373`,year:1987,industry:`Computer Integrated Systems Design`},{sic_code:`7379`,year:1987,industry:`Computer Related Services, Nec`}]},headcount:{linkedin_headcount:224958,linkedin_headcount_total_growth_percent:{mom:1.8365693229093576,qoq:.47971270836683283,six_months:-2.859906469010843,yoy:-4.52953983134647,two_years:-2.2334059114199665},linkedin_headcount_total_growth_absolute:{mom:4057,qoq:1074,six_months:-6623,yoy:-10673,two_years:-5139},linkedin_headcount_by_role_absolute:{"Business Development":8175,"Human Resources":3637,"Media and Communication":2079,"Program and Project Management":16740,"Military and Protective Services":1231,Finance:2916,Purchasing:471,Accounting:853,Legal:1384,"Quality Assurance":807,"Community and Social Services":1358,Operations:7869,Consulting:3519,Entrepreneurship:449,Sales:17229,Administrative:4146,Education:3046,"Healthcare Services":436,"Customer Success and Support":4226,Support:4499,Marketing:4298,"Arts and Design":5338,"Product Management":7932,"Real Estate":125,"Information Technology":26338,Engineering:89640,Research:3849},linkedin_headcount_by_role_percent:{"Business Development":3.634011682180674,"Human Resources":1.6167462370753651,"Media and Communication":.9241725122022778,"Program and Project Management":7.441389059291067,"Military and Protective Services":.5472132575858605,Finance:1.296241965166831,Purchasing:.20937241618435443,Accounting:.3791818917309009,Legal:.6152259532890584,"Quality Assurance":.3587336302776518,"Community and Social Services":.6036682402937438,Operations:3.4979862907742776,Consulting:1.5642920011735524,Entrepreneurship:.1995928128806266,Sales:7.6587629690875625,Administrative:1.843010695329795,Education:1.3540305301434046,"Healthcare Services":.19381395638296928,"Customer Success and Support":1.8785728891615325,Support:1.9999288756123366,Marketing:1.9105788636100962,"Arts and Design":2.3728873834226833,"Product Management":3.525991518416771,"Real Estate":.05556592786208982,"Information Technology":11.707963264253772,Engineering:39.84743818846185,Research:1.7109860507294694},linkedin_headcount_by_role_six_months_growth_percent:{engineering:-5.895684233355021,sales:-6.190787324403789,operations:-7.4340230454714415,human_resource:-20.727986050566695,quality_assurance:-5.28169014084507},linkedin_headcount_by_role_yoy_growth_percent:{engineering:4.318681702335649,sales:-26.198329406725207,operations:-45.05271978213812,human_resource:-19.339099578620537,quality_assurance:-9.731543624161073},linkedin_headcount_by_region_absolute:{"Telangana, India":8511,"Greater Bengaluru Area":8835,"Delhi, India":2413,"Greater Seattle Area":55419,"Seattle, WA":14349,India:32554,"England, United Kingdom":5335,"United Kingdom":7284,"Greater Hyderabad Area":8423,"Karnataka, India":9069,"United States":100867,Hyderabad:8073,"California, United States":9876,"Washington, United States":56252,Bengaluru:8359,"Redmond, WA":18872,"Greater Delhi Area":3526},linkedin_headcount_by_region_percent:{"Telangana, India":3.783372896273971,"Greater Bengaluru Area":3.927399781292508,"Delhi, India":1.0726446714497817,"Greater Seattle Area":24.635265249513242,"Seattle, WA":6.378523991145013,India:14.471145724979776,"England, United Kingdom":2.3715538011539934,"United Kingdom":3.2379377483796974,"Greater Hyderabad Area":3.7442544830590596,"Karnataka, India":4.031419198250339,"United States":44.838147565323304,Hyderabad:3.5886698850452086,"California, United States":4.390152828527992,"Washington, United States":25.00555659278621,Bengaluru:3.7158047279936697,"Redmond, WA":8.389121524906871,"Greater Delhi Area":1.5674036931338293},linkedin_headcount_by_skill_absolute:{"Project Management":51442,JavaScript:41064,Leadership:47562,"Software Development":46660,SQL:49361,"Microsoft Office":48392,Strategy:22476,Management:44460,"Team Leadership":27656,Java:48933,"C++":45675,"Cloud Computing":41351,"Artificial Intelligence (AI)":21809,"Microsoft Azure":40261,"Business Development":21806,"C (Programming Language)":36121,"Python (Programming Language)":48882},linkedin_headcount_by_skill_percent:{"Project Management":22.867379688652992,JavaScript:18.254074093830848,Leadership:21.142613287813724,"Software Development":20.741649552360887,SQL:21.942318121604924,"Microsoft Office":21.511571048818002,Strategy:9.991198357026645,Management:19.763689221988106,"Team Leadership":12.293850407631647,Java:21.752060384605127,"C++":20.303790040807616,"Cloud Computing":18.38165346420221,"Artificial Intelligence (AI)":9.694698565954534,"Microsoft Azure":17.897118573244782,"Business Development":9.693364983685845,"C (Programming Language)":16.05677504245237,"Python (Programming Language)":21.72938948603739}},web_traffic:{monthly_visitors:1169534892,monthly_visitor_mom_pct:-.76,monthly_visitor_qoq_pct:1.3,traffic_source_social_pct:.3373025163159866,traffic_source_search_pct:35.89042683786508,traffic_source_direct_pct:55.92251604879158,traffic_source_paid_referral_pct:.5430052531009828,traffic_source_referral_pct:6.914625600875615},glassdoor:{glassdoor_overall_rating:null,glassdoor_ceo_approval_pct:null,glassdoor_business_outlook_pct:null,glassdoor_review_count:null,glassdoor_senior_management_rating:null,glassdoor_compensation_rating:null,glassdoor_career_opportunities_rating:null,glassdoor_culture_rating:null,glassdoor_diversity_rating:null,glassdoor_work_life_balance_rating:null,glassdoor_recommend_to_friend_pct:null,glassdoor_ceo_approval_growth_percent:{},glassdoor_review_count_growth_percent:{}},g2:{g2_review_count:0,g2_average_rating:0,g2_review_count_mom_pct:null,g2_review_count_qoq_pct:null,g2_review_count_yoy_pct:null},linkedin_followers:{linkedin_followers:27009682,linkedin_followers_mom_percent:.9906623853998611,linkedin_followers_qoq_percent:3.0163158635666516,linkedin_followers_six_months_growth_percent:5.75827914805515,linkedin_followers_yoy_percent:12.147060616262205},funding_and_investment:{crunchbase_total_investment_usd:0,days_since_last_fundraise:1081,last_funding_round_type:`post_ipo_equity`,crunchbase_investors:[`Google for Startups`,`MongoDB for Startups`,`Microsoft for Startups`,`Intel`,`Technology Venture Investors`,`Nvidia Inception`,`KB Securities`],last_funding_round_investment_usd:1e6,acquired_by:[]},job_openings:{recent_job_openings_title:`Senior Research Data Engineer, AI Engineer`,job_openings_count:1987,job_openings_count_growth_percent:{mom:-.5329102021626704,qoq:-.08136846971798428,yoy:.2410993129294191},job_openings_by_function_qoq_pct:{accounting:null,art_and_design:null,business_development:null,engineering:-.7404351087771943,finance:null,human_resource:null,information_technology:0,marketing:-.38235294117647056,media_and_communication:null,operations:-.8974358974358975,research:null,sales:-.8734177215189873,product_management:null},job_openings_by_function_six_months_growth_pct:{accounting:null,art_and_design:null,business_development:null,engineering:-.5592356687898089,finance:null,human_resource:null,information_technology:0,marketing:1.625,media_and_communication:null,operations:-.7714285714285715,research:null,sales:-.3333333333333333,product_management:null}},is_full_domain_match:!0,query_identifier:`microsoft.com`},Oe=r.object({person_id:r.number().int().positive(),name:r.string().min(1),first_name:r.string().min(1),last_name:r.string().min(1),region:r.string().optional(),headline:r.string().optional(),summary:r.string().optional(),skills:r.array(r.string()),languages:r.array(r.string()),emails:r.array(r.string().email()),open_to_cards:r.array(r.string()),profile_language:r.string().optional(),linkedin_profile_url:r.string().url(),linkedin_flagship_url:r.string().optional().nullable(),flagship_profile_url:r.string().url().optional(),profile_picture_url:r.string().url().optional(),profile_picture_permalink:r.string().url().optional(),twitter_handle:r.string().optional(),num_of_connections:r.number().int().nonnegative(),last_updated:r.string().datetime(),updated_at:r.string().datetime(),recently_changed_jobs:r.boolean(),years_of_experience:r.string(),years_of_experience_raw:r.number().int().nonnegative(),education_background:r.array(r.object({degree_name:r.string().optional(),institute_name:r.string().optional(),institute_linkedin_id:r.string().or(r.number().int()).optional(),institute_linkedin_url:r.string().url().or(r.string()).optional(),institute_logo_url:r.string().url().or(r.string()).optional(),field_of_study:r.string().optional(),activities_and_societies:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional()})),honors:r.array(r.any()),certifications:r.array(r.any()),current_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()})),past_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()})),all_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()}))}),ke={person_id:1022,name:`Jaideep Singh Bachher`,first_name:`Jaideep`,last_name:`Bachher`,region:`New York City Metropolitan Area`,headline:`Co-Founder and CEO at Ambee (Techstars '19, Google Launchpad '20) - Climate Tech, Pro Bono Legal`,summary:`At Ambee, we're saving the planet, one data point at a time`,skills:[`Project Management`,`Business Strategy`,`Business Development`,`Management Consulting`,`Team Management`,`Research`,`Strategic Planning`,`Marketing Strategy`,`Market Research`,`Legal Research`,`Corporate Law`,`Entrepreneurship`,`Legal Writing`,`Legal Advice`,`Management`],languages:[`English`,`Hindi`,`Telugu`,`Punjabi`],profile_language:`English`,linkedin_profile_url:`https://www.linkedin.com/in/ACoAAAzenuoB6NZ8S3iS8pfwzZRMTodnweFiAlg`,flagship_profile_url:`https://www.linkedin.com/in/jaideepbachher`,emails:[],profile_picture_url:`https://media.licdn.com/dms/image/v2/C5603AQFCAPGkgFiquA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1660976957718?e=1758758400&v=beta&t=mcwQCTsw60H0M5m5G45g7_6O0CHq5Xk2eaPf47nJIWw`,profile_picture_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/person/2ec5a7e4bd23a121cf70946589f7beba1c437d862dbcf48cfd42cdb151571dc6.jpg`,twitter_handle:``,open_to_cards:[],num_of_connections:6206,education_background:[{degree_name:`Study Abroad`,institute_name:`Griffith University`,institute_linkedin_id:`-1347443`,institute_linkedin_url:`https://www.linkedin.com/school/164056/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQFUPRPd0OOdCA/company-logo_400_400/B56ZfIhMHrGQAY-/0/1751415833791/griffith_university_logo?e=1759363200&v=beta&t=xAvw3qOKAtPJ864hLihQ6FgvhDoGshLMGKT-TIgreWA`,field_of_study:`International Law and Legal Studies`,activities_and_societies:``,start_date:`2007-01-01T00:00:00`,end_date:`2007-01-01T00:00:00`},{degree_name:`B.A.LL.B. (Hons.)`,institute_name:`National Academy of Legal Studies & Research (NALSAR) University Hyderabad`,institute_linkedin_id:`15124875`,institute_linkedin_url:`https://www.linkedin.com/school/15124875/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C560BAQEDvuXqqg1eYQ/company-logo_400_400/company-logo_400_400/0/1630645319352/national_academy_of_legal_studies__research_nalsr_university_hyderabad_logo?e=1759363200&v=beta&t=A7ivs6Nb6FnJTIlWXK32sVN2oMVbhiyfidfz-gvDxts`,field_of_study:`Law`,activities_and_societies:``,start_date:`2004-01-01T00:00:00`,end_date:`2009-01-01T00:00:00`},{degree_name:`Master of Arts (M.A.)`,institute_name:`University of Vienna`,institute_linkedin_id:`1617918`,institute_linkedin_url:`https://www.linkedin.com/school/1617918/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C4E0BAQG7cnh-00AOEg/company-logo_400_400/company-logo_400_400/0/1631304925897?e=1759363200&v=beta&t=MJN6tlU_i-HaLs_g-XqTNFhYHUStlNHRWEPBqq7IAsI`,field_of_study:`Law and Economics`,activities_and_societies:``,start_date:`2017-01-01T00:00:00`,end_date:`2017-01-01T00:00:00`},{degree_name:`LL.M. European Master in Law and Economics`,institute_name:`Erasmus University Rotterdam`,institute_linkedin_id:`269012`,institute_linkedin_url:`https://www.linkedin.com/school/269012/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C4E0BAQH6a-XX__UABw/company-logo_400_400/company-logo_400_400/0/1630595251002/erasmus_university_rotterdam_logo?e=1759363200&v=beta&t=v7TLB8ix6KoB3fCsFtueW4HTZa8Eoq87pr5mr9LUcB0`,field_of_study:`Law`,activities_and_societies:``,start_date:`2016-01-01T00:00:00`,end_date:`2016-01-01T00:00:00`},{degree_name:`The Indian School Certificate`,institute_name:`The Hyderabad Public School, Begumpet`,institute_linkedin_id:`14690264`,institute_linkedin_url:`https://www.linkedin.com/school/14690264/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQEd1LQ1BzzNow/company-logo_400_400/company-logo_400_400/0/1704183073345/hpsbegumpet_logo?e=1759363200&v=beta&t=adbYo6wD2ciugz2ejhZwIDRF3LzdtuZEm9EAvi9ugd8`,field_of_study:``,activities_and_societies:``}],honors:[],certifications:[],current_employers:[{name:`Ambee`,linkedin_id:`13349105`,company_id:6304,company_linkedin_id:`13349105`,company_website_domain:`getambee.com`,position_id:1038571016,title:`Co-Founder/CEO`,description:`Originally envisaged as an air quality device manufacturer, Ambee pivoted to environmental data in 2018
|
|
3
|
+
In addition, Mateus is exceptional at translating technical details to business customers and his attention to detail is second to none. His personality and sense of humor left both internal and external team members feeling great after interacting with him and I highly recommend his services because I'm sure you will find the same joy in working with him that I did!”`,referee_full_name:`Terrence Scoville`,referee_url:`https://www.linkedin.com/in/terrencescoville`,order_in_profile:1}],recommendations_count:1,is_working:1,is_decision_maker:0,total_experience_duration_months:98,total_experience_duration_months_breakdown_department:[{department:`C-Suite`,management_level:null,total_experience_duration_months:10},{department:`Other`,management_level:null,total_experience_duration_months:35},{department:`Engineering and Technical`,management_level:null,total_experience_duration_months:53}],total_experience_duration_months_breakdown_management_level:[{department:null,management_level:`Other`,total_experience_duration_months:35},{department:null,management_level:`Senior`,total_experience_duration_months:13},{department:null,management_level:`Founder`,total_experience_duration_months:10},{department:null,management_level:`Specialist`,total_experience_duration_months:40}],active_experience_company_id:11827332,active_experience_title:`Software Engineer`,active_experience_description:`- Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Built internal automation & compliance tools (TS, Bash, Python) and CI/CD pipelines, leveraging Kubernetes, AWS and Terraform. - Designed and maintained comprehensive E2E/integration test suites (Cypress, Karate) integrated into DevOps pipelines, boosting release confidence and quality. - Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. Show less`,active_experience_department:`Engineering and Technical`,active_experience_management_level:`Specialist`,skills:[],inferred_skills:`react.angular.golang.python.java.aws.ansible.pipelines.kubernetes.microservices.coffee.software.infrastructure.planning.deployment.projects.commercial.broadcasting.production.engagement.automation.compliance.bash.integration.karate.devops.healthcare.django.testing.bitbucket.reliability.technology.typescript.jira.marketing.rates.designs.responsiveness.css.workflow.github.heroku.safe.docker.gitlab.security.risk.cloud.spring.architecture.mobile.api.purchasing.intelligence.pricing.analysis.customer engagement.open source.consumer marketing.performance testing.evidence collection.cost analysis`.split(`.`),historical_skills:[],interests:[],services:null,last_graduation_date:2015,education_degrees:[`Computer Science`],projected_total_salary:0,projected_base_salary_p25:null,projected_base_salary_median:null,projected_base_salary_p75:null,projected_base_salary_period:null,projected_base_salary_currency:null,projected_base_salary_updated_at:null,projected_additional_salary_period:null,projected_additional_salary_currency:null,projected_additional_salary_updated_at:null,projected_total_salary_p25:null,projected_total_salary_median:null,projected_total_salary_p75:null,projected_total_salary_period:null,projected_total_salary_currency:null,projected_total_salary_updated_at:null,projected_additional_salary:[],patents_count:null,patents_topics:[],publications_count:null,publications_topics:[],projects_count:1,projects_topics:[`Outline`],created_at:`2022-10-24T05:04:06.000Z`,updated_at:`2025-10-23T10:00:59.815999Z`,checked_at:`2025-10-23T10:00:59.815999Z`,changed_at:`2025-10-23T10:00:59.815999Z`,experience_change_last_identified_at:null,op_created_at:``,op_updated_at:``,profile_root_field_changes_summary:[{field_name:`profile_photo_url`,change_type:`new`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`canonical_shorthand_name`,change_type:`updated`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`connections_count`,change_type:`updated`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`profile_photo_url`,change_type:`deleted`,last_changed_at:`2025-02-22 01:37:54.056261`},{field_name:`summary`,change_type:`new`,last_changed_at:`2025-05-11 15:33:04.771773`},{field_name:`follower_count`,change_type:`updated`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`summary`,change_type:`updated`,last_changed_at:`2025-05-19 03:20:24.893504`}],profile_collection_field_changes_summary:[{field_name:`education`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`experience`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`activity`,last_changed_at:`2025-10-23 10:00:59.815999`},{field_name:`certifications`,last_changed_at:`2025-10-23 10:00:59.815999`}],experience_recently_started:[],experience_recently_closed:[]},experience:[{active_experience:1,position_title:`Software Engineer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Berlin, Germany`,description:`- Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Built internal automation & compliance tools (TS, Bash, Python) and CI/CD pipelines, leveraging Kubernetes, AWS and Terraform. - Designed and maintained comprehensive E2E/integration test suites (Cypress, Karate) integrated into DevOps pipelines, boosting release confidence and quality. - Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. Show less`,date_from:`September 2023`,date_from_year:2023,date_from_month:9,date_to:null,date_to_year:null,date_to_month:null,duration_months:25,company_id:11827332,company_name:`Sample`,company_type:`Partnership`,company_founded_year:2013,company_followers_count:14325,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`51-200 employees`,company_employees_count:153,company_industry:`Hospitals and Health Care`,company_categories_and_keywords:`technology.health care software.vendor-neutral archives (vna) software.sample.vendor-neutral archives (vna).health > health - other (in united states).operating room integration.performance management.healthcare it.digital health.surgical workflow technology.clinical reporting.surgical content management.surgical software.medtech.software.iot.audio.video.digital or.surgery.ai.technologies.computer mouses.gadgets.keyboards.fitness bracelets.artificial-intelligence.automation.healthtech.platform.surgical-solutions.health care.hospital`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:289e5,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:-15.469613259668508,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`San Francisco, CA, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`San Francisco`,company_hq_state:`California`,company_hq_street:``,company_hq_zipcode:``,company_last_updated_at:`2025-09-07`,company_stock_ticker:[],company_is_b2b:0,order_in_profile:1},{active_experience:0,position_title:`Senior QA Automation Engineer (SDET)`,department:`Engineering and Technical`,management_level:`Senior`,location:`Fortaleza, Ceará, Brazil`,description:`- Acted as DevOps troubleshooter—deep-dive debugging of Kubernetes clusters, AWS infrastructure and containerized services—to ensure platform reliability and scalability. - Led end-to-end automation for an AI-driven surgical platform, crafting robust Cypress and Karate automated suites integrated into DevOps pipelines, boosting release confidence and quality to 20+ microservices. - Designed and maintained GitLab CI/CD pipelines that embedded testing, security scans, and compliance gates—cutting release times and defect rates. - Conducted risk-based load, and performance testing, surfacing critical issues before production and boosting platform reliability. - Automated evidence-collection and other regulatory workflows with TypeScript and Bash, including a full on-prem-to-cloud Jira migration. - Took ownership on full-stack feature delivery across a 20+ microservice landscape (Java Spring, TypeScript/Node, React, Python, ..) while hardening architecture and resolving high-priority production issues. - Authored test architecture standards and documentation aligned with healthcare regulations (e.g., HDS), ensuring audit readiness. Show less`,date_from:`August 2022`,date_from_year:2022,date_from_month:8,date_to:`September 2023`,date_to_year:2023,date_to_month:9,duration_months:13,company_id:12256598,company_name:`Sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:121642,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`501-1000 employees`,company_employees_count:519,company_industry:`Software Development`,company_categories_and_keywords:`technology/software development.staffing agencies.sample.computers electronics and technology > programming and developer software.enterprise platforms.business solutions.salesforce.adobe solutions.servicenow.digital product development.saas.custom development.team and staff augmentation services.power platform.microsoft business applications (crm.field services.marketing automation.erp).powerbi.copilot studio.genai projects.microsoft dynamics 365.adobe experience platform.adobe experience management.marketo engage.workfront.personalization.analytics.business transformation.digital transformation.custom software development.platform optimization.customer experience solutions.outsourcing.software.staffing agency`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:19e6,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:61.18012422360248,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Vine St; 1601 6th Floor; Los Angeles , California 90028, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`Los Angeles`,company_hq_state:`California`,company_hq_street:`Vine St 1601 6th Floor`,company_hq_zipcode:`90028`,company_last_updated_at:`2025-09-09`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:2},{active_experience:0,position_title:`Frontend Web Developer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Fortaleza, Ceará, Brasil`,description:`Record-time implementation of modern, conversion-focused web pages for California-based client (leader in direct-to-consumer marketing). - Delivered high-converting web pages for a leading direct-to-consumer marketing client, consistently meeting aggressive deadlines while maintaining quality standards - Engineered sophisticated animations and interactive elements using SCSS and Angular, enhancing user engagement and improving conversion rates - Translated complex Figma designs into pixel-perfect implementations with full responsiveness across all browsers and devices - Automated routine development tasks through custom Python and Shell scripts, reducing development time and improving team productivity. Technologies: - Angular & Ionic (multiple versions). - SCSS BEM for enterprise-level reusable stylesheets. - CSS and JS Animations for highly interactive designs. - AWS - Python for workflow automation and integration of JIRA, Github, Heroku, AWS. - Type-safe Python with MyPy (for automation workflow development) - Docker - PHP Show less`,date_from:`November 2021`,date_from_year:2021,date_from_month:11,date_to:`August 2022`,date_to_year:2022,date_to_month:8,duration_months:9,company_id:12256598,company_name:`sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:121642,company_website:`https://www.sample.com`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[`https://www.twitter.com/_sample`],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:`501-1000 employees`,company_employees_count:519,company_industry:`Software Development`,company_categories_and_keywords:`technology/software development.staffing agencies.sample.computers electronics and technology > programming and developer software.enterprise platforms.business solutions.salesforce.adobe solutions.servicenow.digital product development.saas.custom development.team and staff augmentation services.power platform.microsoft business applications (crm.field services.marketing automation.erp).powerbi.copilot studio.genai projects.microsoft dynamics 365.adobe experience platform.adobe experience management.marketo engage.workfront.personalization.analytics.business transformation.digital transformation.custom software development.platform optimization.customer experience solutions.outsourcing.software.staffing agency`.split(`.`),company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:19e6,company_annual_revenue_currency_source_5:`USD`,company_employees_count_change_yearly_percentage:61.18012422360248,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Vine St; 1601 6th Floor; Los Angeles , California 90028, US`,company_hq_country:`United States`,company_hq_regions:[`Americas`,`Northern America`,`AMER`],company_hq_country_iso2:`US`,company_hq_country_iso3:`USA`,company_hq_city:`Los Angeles`,company_hq_state:`California`,company_hq_street:`Vine St 1601 6th Floor`,company_hq_zipcode:`90028`,company_last_updated_at:`2025-09-09`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:3},{active_experience:0,position_title:`Software Engineer`,department:`Engineering and Technical`,management_level:`Specialist`,location:`Fortaleza, Ceará, Brasil`,description:`Full stack feature development and maintenance for a major health provider in Brazil. - Engineered and implemented new features for a healthcare Angular web application with Django backend, ensuring quality through comprehensive unit and end-to-end Cypress testing - Architected and optimized AWS infrastructure deployments using Terraform and Bitbucket CI/CD pipelines, improving system reliability and deployment speed - Established and enforcedd code quality standards through rigorous code reviews, resulting in reduced defects and improved maintainability Technology: - Angular, - Python Django - Cypress - TypeScript - AWS - JIRA - Terraform - Ansible Show less`,date_from:`June 2021`,date_from_year:2021,date_from_month:6,date_to:`November 2021`,date_to_year:2021,date_to_month:11,duration_months:5,company_id:11060780,company_name:`sample`,company_type:`Privately Held`,company_founded_year:2017,company_followers_count:4283,company_website:`https://www.sample.com.br`,company_facebook_url:[],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample-software`,company_size_range:`51-200 employees`,company_employees_count:52,company_industry:`Software Development`,company_categories_and_keywords:[`technology/software`,`industry: n/a`,`innovation`,`consulting`,`design`,`technology`,`software`,`health care`,`information technology`,`innovation management`],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:-24.637681159420293,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Av. Dom Manuel, 1020 - Centro, Fortaleza - CE, 60060-090; Fortaleza, Ceará, BR`,company_hq_country:`Brazil`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_hq_country_iso2:`BR`,company_hq_country_iso3:`BRA`,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:`2025-09-08`,company_stock_ticker:[],company_is_b2b:1,order_in_profile:4},{active_experience:0,position_title:`Software Engineer Operational Support`,department:null,management_level:null,location:`Fortaleza, Ceará, Brasil`,description:`- Generated huge revenue boosts and spectacular client engagement by writing a golang system to send personalized mass messages on WhatsApp. (it was forked from a personal project I was working at) - Developed a React NextJS PWA(Progressive Web Application) solution for mobile stock inventorying and deployed it to AWS using Terraform. - Coded a Golang service and a Python API to integrate the business's online store with its internal systems and mirror entries, prices, and stock. - Implemented a full online store using Woo-commerce, PHP, Js, Nginx, MySQL and set it up on a private VPS Show less`,date_from:`June 2018`,date_from_year:2018,date_from_month:6,date_to:`May 2021`,date_to_year:2021,date_to_month:5,duration_months:35,company_id:82003867,company_name:`sample`,company_type:`Privately Held`,company_founded_year:null,company_followers_count:0,company_website:`https://www.sample.com.br`,company_facebook_url:[`https://www.facebook.com/sample`],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:`https://www.linkedin.com/company/sample`,company_size_range:null,company_employees_count:10,company_industry:`Retail`,company_categories_and_keywords:[`construction`,`industry: n/a`,`tools`,`electrical materials`,`construction materials`,`hydraulic materials`],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:0,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:`Juiz de Fora, 36025-000, br`,company_hq_country:`Brazil`,company_hq_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],company_hq_country_iso2:`BR`,company_hq_country_iso3:`BRA`,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:`2025-09-04`,company_stock_ticker:[],company_is_b2b:0,order_in_profile:5},{active_experience:0,position_title:`CEO Founder`,department:`C-Suite`,management_level:`Founder`,location:`Fortaleza, Ceará, Av gomes de matos, 1005`,description:`- Used tech to solve diverse business problems, increasing revenue and efficiency. - Developed a system for quotation execution and purchasing intelligence. - Developed systems for pricing, cost analysis, and product profit margins. - Built the company's visual identity by carrying out several design projects including the company logo, product catalog, flyers, business cards, and others...`,date_from:`May 2016`,date_from_year:2016,date_from_month:5,date_to:`March 2017`,date_to_year:2017,date_to_month:3,duration_months:10,company_id:null,company_name:`sample`,company_type:null,company_founded_year:null,company_followers_count:null,company_website:null,company_facebook_url:[],company_twitter_url:[],company_professional_network_url:null,company_linkedin_url:null,company_size_range:null,company_employees_count:null,company_industry:null,company_categories_and_keywords:[],company_annual_revenue_source_1:null,company_annual_revenue_currency_source_1:null,company_annual_revenue_source_5:null,company_annual_revenue_currency_source_5:null,company_employees_count_change_yearly_percentage:null,company_last_funding_round_date:null,company_last_funding_round_amount_raised:null,company_hq_full_address:null,company_hq_country:null,company_hq_regions:[],company_hq_country_iso2:null,company_hq_country_iso3:null,company_hq_city:null,company_hq_state:null,company_hq_street:null,company_hq_zipcode:null,company_last_updated_at:null,company_stock_ticker:[],company_is_b2b:null,order_in_profile:6}],education:[{degree:`Computer Science`,description:null,institution_url:`https://www.linkedin.com/school/ufcinforma`,institution_name:`Universidade Federal do Ceará`,institution_full_address:`Avenida da Universidade 2853; Benfica; Fortaleza, Ceará 60020-181, BR`,institution_country_iso2:`BR`,institution_country_iso3:`BRA`,institution_regions:[`Americas`,`Latin America and the Caribbean`,`South America`,`AMER`],institution_city:null,institution_state:null,institution_street:null,institution_zipcode:null,date_from_year:2013,date_to_year:2015,activities_and_societies:null,order_in_profile:1}],languages:[{language:`English`,proficiency:`Native or bilingual proficiency`,order_in_profile:1},{language:`Portuguese`,proficiency:`Native or bilingual proficiency`,order_in_profile:2}],awards:[],certifications:[{title:`Business & Executive Coaching`,issuer:`Instituto Brasileiro de Coaching - IBC`,date_from_year:2018,date_from_month:11,date_to_year:null,date_to_month:null}],organizations:[],patents:[],projects:[{name:`Outline`,description:`Me tornei contribuidor do projeto do Outline. Uma ferramenta incrível para notas estruturadas colaborativas(similar ao Notion e Confluence). Como diferencial, o Outline é código aberto e pode ser instalado nas premissas do negócio ou em uma nuvem privada.`,date_from_year:2021,date_from_month:6,date_to_year:null,date_to_month:null}],publications:[],github_repos:[],courses:[],match_data:{"Software Engineers in Berlin":{reasoning:`Profile lists current role as "Software Engineer" at sample in Berlin, Germany, with active_experience=1 and location="Berlin, Germany".`,answer:`YES`}}},Ce=r.object({id:r.string(),name:r.string().nullable(),domain:r.string().nullable(),website:r.string().nullable(),type:r.string().nullable(),industry:r.string().nullable(),industries:r.array(r.string()).nullable(),categories:r.array(r.string()).nullable(),employees:r.number().nullable(),revenue:r.string().nullable(),description:r.string().nullable(),keywords:r.array(r.string()).nullable(),technologies:r.array(r.string()).nullable(),subsidiaries:r.array(r.string()).nullable(),founded_year:r.number().nullable(),naics_codes:r.array(r.string()).nullable(),location:r.object({country:r.object({code:r.string().nullable(),name:r.string().nullable(),latitude:r.number().nullable(),longitude:r.number().nullable()}).nullable(),state:r.object({id:r.number().nullable(),name:r.string().nullable(),code:r.string().nullable(),latitude:r.number().nullable(),longitude:r.number().nullable()}).nullable(),city:r.string().nullable(),address:r.string().nullable(),postal_code:r.string().nullable(),phone:r.string().nullable()}).nullable(),financial:r.object({stock_symbol:r.string().nullable(),stock_exchange:r.string().nullable(),total_funding:r.string().nullable(),funding_stage:r.string().nullable(),funding_date:r.string().nullable(),funding:r.string().nullable()}).nullable(),socials:r.object({linkedin_url:r.string().nullable(),linkedin_id:r.string().nullable(),twitter_url:r.string().nullable(),facebook_url:r.string().nullable(),instagram_url:r.string().nullable(),angellist_url:r.string().nullable(),crunchbase_url:r.string().nullable(),youtube_url:r.string().nullable(),g2_url:r.string().nullable()}).nullable(),page_rank:r.number().nullable(),logo_url:r.string().nullable(),seo_description:r.string().nullable(),updated_at:r.string().nullable()}),we={id:`01924e72-a5ed-78ad-a3f4-67d61ec1af48`,name:`Cucumber`,domain:`cucumber.io`,website:`https://cucumber.io`,type:null,industry:`Business Services`,industries:[`Business Services/Custom Software & IT Services`,`Software`],categories:[`b2b`,`saas`],employees:null,revenue:`1m-10m`,description:`Cucumber is a tool for running automated acceptance tests, written in plain language, improving communication, collaboration, and trust among team members.`,keywords:[`automated testing`,`acceptance testing`,`plain language testing`,`software testing`,`test automation`,`behaviour-driven development`,`software training`,`agile development`,`collaborative software`,`specification management`,`software`],technologies:[`Route 53`,`Microsoft Office 365`,`Amazon AWS`,`Marketo`,`UptimeRobot`,`StatusPage IO`,`Adroll`,`Amazon-Cloudfront`,`Crazy-Egg`,`Facebook-Social-Plugins`,`Google-Analytics`,`Google-Tag-Manager`,`Kentico`,`Microsoft-Asp-Net`,`Microsoft-Iis`,`Microsot-365`,`React`],subsidiaries:null,founded_year:2013,naics_codes:[`541511`,`511210`],location:{country:{code:`GB`,name:`United Kingdom`,latitude:54,longitude:-2},state:{id:4793,name:`Scotland`,code:`SCT`,latitude:56.490673,longitude:-4.202646},city:null,address:null,postal_code:`PA24 8AN`,phone:`+1 617-684-2600`},financial:{stock_symbol:null,stock_exchange:null,total_funding:null,funding_stage:null,funding_date:null,funding:null},socials:{linkedin_url:`https://www.linkedin.com/company/3345003`,linkedin_id:null,twitter_url:`https://twitter.com/cucumberbdd`,facebook_url:`https://facebook.com/smartbear`,instagram_url:null,angellist_url:null,crunchbase_url:null,youtube_url:`https://youtube.com/user/smartbearsoftware`,g2_url:null},page_rank:5.52,logo_url:`https://api.companyenrich.com/companies/logo/01924e72-a5ed-78ad-a3f4-67d61ec1af48`,seo_description:`Cucumber develops and delivers tools for behavior-driven development that provides open source test automation solutions for businesses.`,updated_at:`2025-10-02T10:15:16.672609Z`},Te=r.object({company_id:r.number().int().positive(),year_founded:r.number().int(),crunchbase_valuation_usd:r.number().int().nonnegative(),last_funding_round_investment_usd:r.number().int().nonnegative(),estimated_revenue_lower_bound_usd:r.number().int().nonnegative(),estimated_revenue_higher_bound_usd:r.number().int().nonnegative(),crunchbase_total_investment_usd:r.number().int().nonnegative(),crunchbase_valuation_lower_bound_usd:r.number().int().nonnegative(),company_name:r.string().min(1),hq_country:r.string().min(1),hq_street_address_and_city:r.string().min(1),largest_headcount_country:r.string().min(1),crunchbase_uuid:r.string().uuid(),linkedin_profile_name:r.string().min(1),linkedin_profile_url:r.string().url(),linkedin_id:r.string().min(1),linkedin_company_description:r.string().min(1),last_funding_round_type:r.string(),hq_location:r.string().min(1),employee_count_range:r.string().regex(/^\d+-(\d+|[A-Za-z]+)$/),company_type:r.string().min(1),company_website:r.string().url(),company_website_domain:r.string().min(1),crunchbase_profile_url:r.string().url(),acquisition_status:r.string(),fiscal_year_end:r.string(),twitter_profile_url:r.string().url().optional(),twitter_handle:r.string().optional(),crunchbase_valuation_date:r.string().datetime(),ipo_date:r.string().datetime(),last_funding_date:r.string().datetime(),growth_calculation_date:r.string().datetime(),updated_at:r.string().datetime(),indexed_at:r.string().datetime(),linkedin_industries:r.array(r.string()),linkedin_categories:r.array(r.string()),office_addresses:r.array(r.string()),crunchbase_investors:r.array(r.string()),crunchbase_categories:r.array(r.string()),competitor_ids:r.array(r.string()),competitor_websites:r.array(r.string().url().or(r.string().min(1))),stock_symbols:r.array(r.string()),markets:r.array(r.string()),tracxn_investors:r.array(r.string()),employee_metrics:r.object({latest_count:r.number().int().nonnegative(),growth_1m:r.number().int(),growth_3m:r.number().int(),growth_6m:r.number().int(),growth_12m:r.number().int(),growth_1m_percent:r.number(),growth_3m_percent:r.number(),growth_6m_percent:r.number(),growth_12m_percent:r.number()}),follower_metrics:r.object({latest_count:r.number().int().nonnegative(),growth_1m:r.number().int(),growth_3m:r.number().int(),growth_6m:r.number().int(),growth_12m:r.number().int(),growth_1m_percent:r.number(),growth_3m_percent:r.number(),growth_6m_percent:r.number(),growth_12m_percent:r.number()}),skill_distribution:r.record(r.string(),r.number().int().nonnegative()),skill_distribution_percent:r.record(r.string(),r.number().int().nonnegative()),role_distribution:r.record(r.string(),r.number().int().nonnegative()),role_distribution_percent:r.record(r.string(),r.number().nonnegative()),role_growth_6m:r.record(r.string(),r.number().nullable()),role_growth_yoy:r.record(r.string(),r.number().nullable()),region_distribution:r.record(r.string(),r.number().int().nonnegative())}),Ee={company_id:5870,company_name:`Tricentis`,year_founded:2007,hq_country:`USA`,hq_street_address_and_city:`5301 Southwest Parkway Building 2, Suite 200, Austin`,largest_headcount_country:`USA`,crunchbase_uuid:`499ae2f1-1bcf-eeb6-3c55-30bd78788b38`,crunchbase_valuation_usd:0,crunchbase_valuation_date:`1900-01-01T00:00:00`,linkedin_industries:[`Information Technology & Services`,`Computer Software`,`Software Development`],linkedin_profile_name:`Tricentis`,linkedin_profile_url:`https://www.linkedin.com/company/tricentis`,linkedin_id:`656215`,linkedin_categories:[`Software Testing`,`Test Automation`,`Mobile Testing`,`SAP Testing`,`Continuous Testing`,`Load Testing`,`Performance Testing`,`Test Management`,`DevOps`,`Quality Engineering`,`Generative AI`,`Artificial Intelligence`,`Quality Assurance`,`Data Integrity`,`Digital Transformation`,`Oracle Testing`,`ERP`,`Application Testing`],linkedin_company_description:`Tricentis is a global leader in continuous testing and quality engineering. The Tricentis AI-powered, continuous testing platform provides a new and fundamentally different way to perform software testing. An approach that’s totally automated, fully codeless, and intelligently driven by AI. It addresses both agile development and complex enterprise apps, enabling enterprises to accelerate their digital transformation by dramatically increasing software release speed, reducing costs, and improving software quality. Widely credited for reinventing software testing for DevOps, cloud, and enterprise applications, Tricentis has been recognized as a leader by major industry analysts, including Forrester, Gartner, and IDC. Tricentis has more than 2,500 customers, including the largest brands in the world, such as McKesson, Accenture, Allianz, Telstra, Dolby, and Vodafone.`,last_funding_round_type:``,last_funding_round_investment_usd:0,hq_location:`Austin, Texas, United States`,office_addresses:[`Leonard-Bernstein Straße 10, Vienna, 1220, AT`,`80 Cheapside, London, England, EC2V 6EE, GB`,`Flughafenstraße 52a, Hamburg, 22335, DE`,`Monarch Tower 3424 Peachtree Rd NE , Atlanta, GA, 30326, US`,`389 av. du château de Jouques, Gémenos, 13420, FR`,`Regus Spaces Richtistrasse 2-6, Wallisellen, 8304, CH`,`Tech Center, Rajiv Gandhi Infotech Park, MIDC, Hinjewadi, Pune, 411057, IN`,`109 North Bridge Road, Singapore, 228208, SG`,`200 Summit Dr, Burlington, Massachusetts, 01803, US`,`Boudníkova 2538/11, Prague 8, 180 00, CZ`,`Bos en Lommerplein 270-300, 1055 RW Amsterdam, North Holland, NL`,`University Business Park ul. Wólczańska 178, Łódź, 90-530, PL`,`Nybrogatan 17, Stockholm, Stockholm County, 114 39, SE`,`120 Spencer Street, Melbourne, Victoria, 3000, AU`,`2-12 Foveaux Street, Surry Hills, New South Wales, 2010, AU`,`Vlněna 526/7, Brno, 602 00, CZ`,`28 Haarbaa Street, Tel Aviv, IL`,`8300 Greensboro Dr Ste 250, McLean, Virginia, 22102, US`,`Regus La Defense Tour CB21 16 Place de I'lris LA DEFENSE 92400, Paris, FR`,`9 Parliament Street, Cork, IE`,`Yeouido Station #16-111 20F, 83, Uisadang-daero Yeongdeugpo-gu, Seoul, 07325, KR`,`Kaiserwetterstrasse 215, Dusseldorf, DE`,`SM Aura Office Tower, 11th Floor, SM Aura Premier Office Tower, McKinley Parkway, Bonifacio Global City, Taguig City, PH`],estimated_revenue_lower_bound_usd:5e8,estimated_revenue_higher_bound_usd:1e9,employee_count_range:`1001-5000`,company_type:`Privately Held`,company_website:`http://www.tricentis.com`,company_website_domain:`tricentis.com`,crunchbase_total_investment_usd:1502e6,crunchbase_profile_url:`https://crunchbase.com/organization/tricentis`,acquisition_status:``,ipo_date:`1900-01-01T00:00:00`,crunchbase_valuation_lower_bound_usd:0,crunchbase_investors:[`Wipro Ventures`,`GTCR`,`ViewPoint Capital Partners`,`Claret Capital Partners`,`Insight Partners`],crunchbase_categories:[`Artificial Intelligence (AI)`,`Information Technology`,`Artificial Intelligence`,`Business Process Automation (BPA)`,`DevOps`,`Software`,`Enterprise Software`,`Virtualization`,`Quality Assurance`],twitter_profile_url:`http://twitter.com/tricentis`,twitter_handle:`tricentis`,last_funding_date:`2024-11-26T00:00:00`,competitor_ids:[`792404`,`904228`,`13819`,`10348`,`680066`,`896959`,`783605`,`25518`,`663396`,`667267`,`635996`,`719315`,`689401`,`634796`,`783942`],competitor_websites:[`http://www.cenzic.com`,`https://testifi.io`,`http://www.testvagrant.com`,`https://www.simplify3x.com`,`https://www.agilitest.com`,`euro-testing.com`,`http://www.parasoft.com`,`http://www.insonix.com`,`http://www.quali.com/`,`https://bit.ly/3sWIw9Z`,`https://testim.io/`,`http://www.agitar.com`,`https://testsigma.com`,`http://www.getzephyr.com/`,`https://cyclelabs.io`],stock_symbols:[`TRICENTIS`],markets:[`PRIVATE`],tracxn_investors:[``],fiscal_year_end:``,growth_calculation_date:`2025-09-05T00:00:00`,employee_metrics:{latest_count:1628,growth_1m:-2,growth_3m:45,growth_6m:61,growth_12m:113,growth_1m_percent:-.1226993865030675,growth_3m_percent:2.8427037271004423,growth_6m_percent:3.89278876834716,growth_12m_percent:7.45874587458746},follower_metrics:{latest_count:107809,growth_1m:107809,growth_3m:2887,growth_6m:107809,growth_12m:107809,growth_1m_percent:0,growth_3m_percent:2.751567831341377,growth_6m_percent:0,growth_12m_percent:0},skill_distribution:{"Enterprise Software":285,Leadership:427,Sales:340,Communication:330,"Project Management":424,"Software as a Service (SaaS)":339,"Business Development":293,"Microsoft Excel":268,"Customer Relationship Management (CRM)":307,"Microsoft Office":362,"Customer Service":301,Management:478,"Agile Methodologies":318,"Cloud Computing":306,"Software Development":263,SQL:337},skill_distribution_percent:{"Enterprise Software":5,Leadership:8,Sales:6,Communication:6,"Project Management":8,"Software as a Service (SaaS)":6,"Business Development":5,"Microsoft Excel":5,"Customer Relationship Management (CRM)":6,"Microsoft Office":7,"Customer Service":6,Management:9,"Agile Methodologies":6,"Cloud Computing":6,"Software Development":5,SQL:6},role_distribution:{Engineering:411,"Customer Success and Support":156,Legal:19,Operations:45,Consulting:54,Sales:306,"Military and Protective Services":4,Administrative:29,"Arts and Design":33,"Business Development":113,Research:17,Support:83,Marketing:84,"Product Management":43,Purchasing:6,"Program and Project Management":23,"Community and Social Services":2,"Information Technology":186,Entrepreneurship:9,"Human Resources":50,Education:19,"Quality Assurance":26,Accounting:21,Finance:34,"Media and Communication":34},role_distribution_percent:{Engineering:23,"Customer Success and Support":9,Legal:1,Operations:2,Consulting:3,Sales:17,"Military and Protective Services":0,Administrative:2,"Arts and Design":2,"Business Development":6,Research:1,Support:5,Marketing:5,"Product Management":2,Purchasing:0,"Program and Project Management":1,"Community and Social Services":0,"Information Technology":10,Entrepreneurship:0,"Human Resources":3,Education:1,"Quality Assurance":1,Accounting:1,Finance:2,"Media and Communication":2},role_growth_6m:{Engineering:7.310704960835509,"Customer Success and Support":100,Legal:18.75,Operations:-4.25531914893617,Consulting:-14.285714285714285,Sales:15.471698113207546,"Military and Protective Services":0,Administrative:-9.375,"Arts and Design":10,"Business Development":-11.71875,Research:70,Support:null,Marketing:6.329113924050633,"Product Management":2.380952380952381,Purchasing:20,"Program and Project Management":4.545454545454546,"Community and Social Services":0,"Information Technology":5.681818181818182,Entrepreneurship:-18.181818181818183,"Human Resources":6.382978723404255,Education:18.75,"Quality Assurance":18.181818181818183,Accounting:0,Finance:78.94736842105263,"Media and Communication":100},role_growth_yoy:{Engineering:12.602739726027398,"Customer Success and Support":81.3953488372093,Legal:26.666666666666668,Operations:4.651162790697675,Consulting:-22.857142857142858,Sales:35.39823008849557,"Military and Protective Services":33.33333333333333,Administrative:-6.451612903225806,"Arts and Design":22.22222222222222,"Business Development":-5.833333333333333,Research:54.54545454545454,Support:null,Marketing:15.068493150684931,"Product Management":-2.272727272727273,Purchasing:50,"Program and Project Management":-11.538461538461538,"Community and Social Services":0,"Information Technology":-1.0638297872340425,Entrepreneurship:0,"Human Resources":16.27906976744186,Education:46.15384615384615,"Quality Assurance":13.043478260869565,Accounting:0,Finance:88.88888888888889,"Media and Communication":78.94736842105263},region_distribution:{"Austin, TX":119,Philippines:85,"Atlanta, GA":81,"United States":570,"England, United Kingdom":95,Czechia:151,"Georgia, United States":137,"United Kingdom":103,"Prague Metropolitan Area":87,India:112,"Austin, Texas Metropolitan Area":152,"Atlanta Metropolitan Area":139,Austria:208,"Maharashtra, India":88,"Texas, United States":180,"Vienna, Austria":177},updated_at:`2025-09-08T12:04:58`,indexed_at:`2025-09-08T12:04:58`},De=r.object({company_id:r.number(),company_name:r.string(),linkedin_profile_name:r.string(),linkedin_profile_url:r.string().url(),crunchbase_profile_url:r.string().url(),crunchbase_profile_uuid:r.string(),linkedin_id:r.string(),linkedin_logo_url:r.string().url(),linkedin_logo_permalink:r.string().url(),company_twitter_url:r.string().url(),company_website_domain:r.string(),domains:r.array(r.string()),hq_country:r.string(),hq_state:r.string(),headquarters:r.string(),largest_headcount_country:r.string(),hq_street_address:r.string(),company_website:r.string().url(),year_founded:r.string(),fiscal_year_end:r.string(),employee_count_range:r.string(),company_type:r.string(),linkedin_company_description:r.string(),acquisition_status:r.string(),ipo_date:r.string().nullable(),markets:r.array(r.string()),stock_symbols:r.array(r.string()),all_office_addresses:r.array(r.string()),estimated_revenue_lower_bound_usd:r.number(),estimated_revenue_higher_bound_usd:r.number(),taxonomy:r.object({linkedin_specialities:r.array(r.string()),linkedin_industry:r.string(),linkedin_industries:r.array(r.string()),crunchbase_categories:r.array(r.string()),primary_naics_detail:r.object({naics_code:r.string(),year:r.number(),sector:r.string(),sub_sector:r.string(),industry_group:r.string(),industry:r.string()}),sic_detail_list:r.array(r.object({sic_code:r.string(),year:r.number(),industry:r.string()}))}),headcount:r.object({linkedin_headcount:r.number(),linkedin_headcount_total_growth_percent:r.object({mom:r.number(),qoq:r.number(),six_months:r.number(),yoy:r.number(),two_years:r.number()}),linkedin_headcount_total_growth_absolute:r.object({mom:r.number(),qoq:r.number(),six_months:r.number(),yoy:r.number(),two_years:r.number()}),linkedin_headcount_by_role_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_role_percent:r.record(r.string(),r.number()),linkedin_headcount_by_role_six_months_growth_percent:r.record(r.string(),r.number()),linkedin_headcount_by_role_yoy_growth_percent:r.record(r.string(),r.number()),linkedin_headcount_by_region_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_region_percent:r.record(r.string(),r.number()),linkedin_headcount_by_skill_absolute:r.record(r.string(),r.number()),linkedin_headcount_by_skill_percent:r.record(r.string(),r.number())}),web_traffic:r.object({monthly_visitors:r.number(),monthly_visitor_mom_pct:r.number(),monthly_visitor_qoq_pct:r.number(),traffic_source_social_pct:r.number(),traffic_source_search_pct:r.number(),traffic_source_direct_pct:r.number(),traffic_source_paid_referral_pct:r.number(),traffic_source_referral_pct:r.number()}),glassdoor:r.object({glassdoor_overall_rating:r.number().nullable(),glassdoor_ceo_approval_pct:r.number().nullable(),glassdoor_business_outlook_pct:r.number().nullable(),glassdoor_review_count:r.number().nullable(),glassdoor_senior_management_rating:r.number().nullable(),glassdoor_compensation_rating:r.number().nullable(),glassdoor_career_opportunities_rating:r.number().nullable(),glassdoor_culture_rating:r.number().nullable(),glassdoor_diversity_rating:r.number().nullable(),glassdoor_work_life_balance_rating:r.number().nullable(),glassdoor_recommend_to_friend_pct:r.number().nullable(),glassdoor_ceo_approval_growth_percent:r.record(r.string(),r.number()),glassdoor_review_count_growth_percent:r.record(r.string(),r.number())}),g2:r.object({g2_review_count:r.number(),g2_average_rating:r.number(),g2_review_count_mom_pct:r.number().nullable(),g2_review_count_qoq_pct:r.number().nullable(),g2_review_count_yoy_pct:r.number().nullable()}),linkedin_followers:r.object({linkedin_followers:r.number(),linkedin_followers_mom_percent:r.number(),linkedin_followers_qoq_percent:r.number(),linkedin_followers_six_months_growth_percent:r.number(),linkedin_followers_yoy_percent:r.number()}),funding_and_investment:r.object({crunchbase_total_investment_usd:r.number(),days_since_last_fundraise:r.number(),last_funding_round_type:r.string(),crunchbase_investors:r.array(r.string()),last_funding_round_investment_usd:r.number(),acquired_by:r.array(r.string())}),job_openings:r.object({recent_job_openings_title:r.string(),job_openings_count:r.number(),job_openings_count_growth_percent:r.object({mom:r.number(),qoq:r.number(),yoy:r.number()}),job_openings_by_function_qoq_pct:r.record(r.string(),r.number().nullable()),job_openings_by_function_six_months_growth_pct:r.record(r.string(),r.number().nullable())}),is_full_domain_match:r.boolean(),query_identifier:r.string()}),Oe={company_id:2110301,company_name:`Microsoft`,linkedin_profile_name:`Microsoft`,linkedin_profile_url:`https://www.linkedin.com/company/microsoft`,crunchbase_profile_url:`https://crunchbase.com/organization/tena-care`,crunchbase_profile_uuid:`6369418f-b68e-4799-8f2a-df051914b5cc`,linkedin_id:`1035`,linkedin_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/B56ZYQ0mrGGoAU-/0/1744038948046/microsoft_logo?e=1765411200&v=beta&t=MBU_ZbA-091nRpqW-2oksj3oPhyUhwJYlV3H52tyg1A`,linkedin_logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/9324c3b16231718d7c6eb941352a0d023399e165e909e62565063a93a97dc9bb.jpg`,company_twitter_url:`https://twitter.com/MSFTImagine`,company_website_domain:`microsoft.com`,domains:[`microsoft.com`],hq_country:``,hq_state:``,headquarters:`Redmond, Washington, United States`,largest_headcount_country:`USA`,hq_street_address:`1 Microsoft Way, Redmond, Redmond, Washington, United States`,company_website:`https://news.microsoft.com/`,year_founded:`1975-04-04`,fiscal_year_end:``,employee_count_range:`10001+`,company_type:`Public Company`,linkedin_company_description:`Company description`,acquisition_status:``,ipo_date:null,markets:[`PRIVATE`,`NASDAQ`],stock_symbols:[`MICROSOFT`,`MSFT`],all_office_addresses:[`1 Denison Street , North Sydney, NSW, 2060, AU`],estimated_revenue_lower_bound_usd:1e9,estimated_revenue_higher_bound_usd:0xe8d4a51000,taxonomy:{linkedin_specialities:[`Business Software`],linkedin_industry:`Software Development`,linkedin_industries:[`Software Development`],crunchbase_categories:[`Information Services`],primary_naics_detail:{naics_code:`541512`,year:2022,sector:`Professional, Scientific, and Technical Services`,sub_sector:`Professional, Scientific, and Technical Services`,industry_group:`Computer Systems Design and Related Services`,industry:`Computer Systems Design Services`},sic_detail_list:[{sic_code:`7373`,year:1987,industry:`Computer Integrated Systems Design`},{sic_code:`7379`,year:1987,industry:`Computer Related Services, Nec`}]},headcount:{linkedin_headcount:224958,linkedin_headcount_total_growth_percent:{mom:1.8365693229093576,qoq:.47971270836683283,six_months:-2.859906469010843,yoy:-4.52953983134647,two_years:-2.2334059114199665},linkedin_headcount_total_growth_absolute:{mom:4057,qoq:1074,six_months:-6623,yoy:-10673,two_years:-5139},linkedin_headcount_by_role_absolute:{"Business Development":8175,"Human Resources":3637,"Media and Communication":2079,"Program and Project Management":16740,"Military and Protective Services":1231,Finance:2916,Purchasing:471,Accounting:853,Legal:1384,"Quality Assurance":807,"Community and Social Services":1358,Operations:7869,Consulting:3519,Entrepreneurship:449,Sales:17229,Administrative:4146,Education:3046,"Healthcare Services":436,"Customer Success and Support":4226,Support:4499,Marketing:4298,"Arts and Design":5338,"Product Management":7932,"Real Estate":125,"Information Technology":26338,Engineering:89640,Research:3849},linkedin_headcount_by_role_percent:{"Business Development":3.634011682180674,"Human Resources":1.6167462370753651,"Media and Communication":.9241725122022778,"Program and Project Management":7.441389059291067,"Military and Protective Services":.5472132575858605,Finance:1.296241965166831,Purchasing:.20937241618435443,Accounting:.3791818917309009,Legal:.6152259532890584,"Quality Assurance":.3587336302776518,"Community and Social Services":.6036682402937438,Operations:3.4979862907742776,Consulting:1.5642920011735524,Entrepreneurship:.1995928128806266,Sales:7.6587629690875625,Administrative:1.843010695329795,Education:1.3540305301434046,"Healthcare Services":.19381395638296928,"Customer Success and Support":1.8785728891615325,Support:1.9999288756123366,Marketing:1.9105788636100962,"Arts and Design":2.3728873834226833,"Product Management":3.525991518416771,"Real Estate":.05556592786208982,"Information Technology":11.707963264253772,Engineering:39.84743818846185,Research:1.7109860507294694},linkedin_headcount_by_role_six_months_growth_percent:{engineering:-5.895684233355021,sales:-6.190787324403789,operations:-7.4340230454714415,human_resource:-20.727986050566695,quality_assurance:-5.28169014084507},linkedin_headcount_by_role_yoy_growth_percent:{engineering:4.318681702335649,sales:-26.198329406725207,operations:-45.05271978213812,human_resource:-19.339099578620537,quality_assurance:-9.731543624161073},linkedin_headcount_by_region_absolute:{"Telangana, India":8511,"Greater Bengaluru Area":8835,"Delhi, India":2413,"Greater Seattle Area":55419,"Seattle, WA":14349,India:32554,"England, United Kingdom":5335,"United Kingdom":7284,"Greater Hyderabad Area":8423,"Karnataka, India":9069,"United States":100867,Hyderabad:8073,"California, United States":9876,"Washington, United States":56252,Bengaluru:8359,"Redmond, WA":18872,"Greater Delhi Area":3526},linkedin_headcount_by_region_percent:{"Telangana, India":3.783372896273971,"Greater Bengaluru Area":3.927399781292508,"Delhi, India":1.0726446714497817,"Greater Seattle Area":24.635265249513242,"Seattle, WA":6.378523991145013,India:14.471145724979776,"England, United Kingdom":2.3715538011539934,"United Kingdom":3.2379377483796974,"Greater Hyderabad Area":3.7442544830590596,"Karnataka, India":4.031419198250339,"United States":44.838147565323304,Hyderabad:3.5886698850452086,"California, United States":4.390152828527992,"Washington, United States":25.00555659278621,Bengaluru:3.7158047279936697,"Redmond, WA":8.389121524906871,"Greater Delhi Area":1.5674036931338293},linkedin_headcount_by_skill_absolute:{"Project Management":51442,JavaScript:41064,Leadership:47562,"Software Development":46660,SQL:49361,"Microsoft Office":48392,Strategy:22476,Management:44460,"Team Leadership":27656,Java:48933,"C++":45675,"Cloud Computing":41351,"Artificial Intelligence (AI)":21809,"Microsoft Azure":40261,"Business Development":21806,"C (Programming Language)":36121,"Python (Programming Language)":48882},linkedin_headcount_by_skill_percent:{"Project Management":22.867379688652992,JavaScript:18.254074093830848,Leadership:21.142613287813724,"Software Development":20.741649552360887,SQL:21.942318121604924,"Microsoft Office":21.511571048818002,Strategy:9.991198357026645,Management:19.763689221988106,"Team Leadership":12.293850407631647,Java:21.752060384605127,"C++":20.303790040807616,"Cloud Computing":18.38165346420221,"Artificial Intelligence (AI)":9.694698565954534,"Microsoft Azure":17.897118573244782,"Business Development":9.693364983685845,"C (Programming Language)":16.05677504245237,"Python (Programming Language)":21.72938948603739}},web_traffic:{monthly_visitors:1169534892,monthly_visitor_mom_pct:-.76,monthly_visitor_qoq_pct:1.3,traffic_source_social_pct:.3373025163159866,traffic_source_search_pct:35.89042683786508,traffic_source_direct_pct:55.92251604879158,traffic_source_paid_referral_pct:.5430052531009828,traffic_source_referral_pct:6.914625600875615},glassdoor:{glassdoor_overall_rating:null,glassdoor_ceo_approval_pct:null,glassdoor_business_outlook_pct:null,glassdoor_review_count:null,glassdoor_senior_management_rating:null,glassdoor_compensation_rating:null,glassdoor_career_opportunities_rating:null,glassdoor_culture_rating:null,glassdoor_diversity_rating:null,glassdoor_work_life_balance_rating:null,glassdoor_recommend_to_friend_pct:null,glassdoor_ceo_approval_growth_percent:{},glassdoor_review_count_growth_percent:{}},g2:{g2_review_count:0,g2_average_rating:0,g2_review_count_mom_pct:null,g2_review_count_qoq_pct:null,g2_review_count_yoy_pct:null},linkedin_followers:{linkedin_followers:27009682,linkedin_followers_mom_percent:.9906623853998611,linkedin_followers_qoq_percent:3.0163158635666516,linkedin_followers_six_months_growth_percent:5.75827914805515,linkedin_followers_yoy_percent:12.147060616262205},funding_and_investment:{crunchbase_total_investment_usd:0,days_since_last_fundraise:1081,last_funding_round_type:`post_ipo_equity`,crunchbase_investors:[`Google for Startups`,`MongoDB for Startups`,`Microsoft for Startups`,`Intel`,`Technology Venture Investors`,`Nvidia Inception`,`KB Securities`],last_funding_round_investment_usd:1e6,acquired_by:[]},job_openings:{recent_job_openings_title:`Senior Research Data Engineer, AI Engineer`,job_openings_count:1987,job_openings_count_growth_percent:{mom:-.5329102021626704,qoq:-.08136846971798428,yoy:.2410993129294191},job_openings_by_function_qoq_pct:{accounting:null,art_and_design:null,business_development:null,engineering:-.7404351087771943,finance:null,human_resource:null,information_technology:0,marketing:-.38235294117647056,media_and_communication:null,operations:-.8974358974358975,research:null,sales:-.8734177215189873,product_management:null},job_openings_by_function_six_months_growth_pct:{accounting:null,art_and_design:null,business_development:null,engineering:-.5592356687898089,finance:null,human_resource:null,information_technology:0,marketing:1.625,media_and_communication:null,operations:-.7714285714285715,research:null,sales:-.3333333333333333,product_management:null}},is_full_domain_match:!0,query_identifier:`microsoft.com`},ke=r.object({person_id:r.number().int().positive(),name:r.string().min(1),first_name:r.string().min(1),last_name:r.string().min(1),region:r.string().optional(),headline:r.string().optional(),summary:r.string().optional(),skills:r.array(r.string()),languages:r.array(r.string()),emails:r.array(r.string().email()),open_to_cards:r.array(r.string()),profile_language:r.string().optional(),linkedin_profile_url:r.string().url(),linkedin_flagship_url:r.string().optional().nullable(),flagship_profile_url:r.string().url().optional(),profile_picture_url:r.string().url().optional(),profile_picture_permalink:r.string().url().optional(),twitter_handle:r.string().optional(),num_of_connections:r.number().int().nonnegative(),last_updated:r.string().datetime(),updated_at:r.string().datetime(),recently_changed_jobs:r.boolean(),years_of_experience:r.string(),years_of_experience_raw:r.number().int().nonnegative(),education_background:r.array(r.object({degree_name:r.string().optional(),institute_name:r.string().optional(),institute_linkedin_id:r.string().or(r.number().int()).optional(),institute_linkedin_url:r.string().url().or(r.string()).optional(),institute_logo_url:r.string().url().or(r.string()).optional(),field_of_study:r.string().optional(),activities_and_societies:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional()})),honors:r.array(r.any()),certifications:r.array(r.any()),current_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()})),past_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()})),all_employers:r.array(r.object({name:r.string(),linkedin_id:r.string().or(r.number().int()).optional(),company_id:r.number().int().optional(),company_linkedin_id:r.string().or(r.number().int()).optional(),company_website_domain:r.string().optional(),position_id:r.number().int().optional(),title:r.string(),description:r.string().optional(),location:r.string().optional(),start_date:r.string().datetime().optional(),end_date:r.string().datetime().optional(),employer_is_default:r.boolean().optional(),seniority_level:r.string().optional(),function_category:r.string().optional(),years_at_company:r.string().optional(),years_at_company_raw:r.number().int().nonnegative().optional(),company_headquarters_country:r.string().optional(),company_headcount_range:r.string().optional(),company_industries:r.array(r.string()).optional(),company_type:r.string().optional(),company_headcount_latest:r.number().int().nonnegative().optional(),company_website:r.string().url().or(r.string()).optional(),company_linkedin_profile_url:r.string().url().or(r.string()).optional()}))}),Ae={person_id:1022,name:`Jaideep Singh Bachher`,first_name:`Jaideep`,last_name:`Bachher`,region:`New York City Metropolitan Area`,headline:`Co-Founder and CEO at Ambee (Techstars '19, Google Launchpad '20) - Climate Tech, Pro Bono Legal`,summary:`At Ambee, we're saving the planet, one data point at a time`,skills:[`Project Management`,`Business Strategy`,`Business Development`,`Management Consulting`,`Team Management`,`Research`,`Strategic Planning`,`Marketing Strategy`,`Market Research`,`Legal Research`,`Corporate Law`,`Entrepreneurship`,`Legal Writing`,`Legal Advice`,`Management`],languages:[`English`,`Hindi`,`Telugu`,`Punjabi`],profile_language:`English`,linkedin_profile_url:`https://www.linkedin.com/in/ACoAAAzenuoB6NZ8S3iS8pfwzZRMTodnweFiAlg`,flagship_profile_url:`https://www.linkedin.com/in/jaideepbachher`,emails:[],profile_picture_url:`https://media.licdn.com/dms/image/v2/C5603AQFCAPGkgFiquA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1660976957718?e=1758758400&v=beta&t=mcwQCTsw60H0M5m5G45g7_6O0CHq5Xk2eaPf47nJIWw`,profile_picture_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/person/2ec5a7e4bd23a121cf70946589f7beba1c437d862dbcf48cfd42cdb151571dc6.jpg`,twitter_handle:``,open_to_cards:[],num_of_connections:6206,education_background:[{degree_name:`Study Abroad`,institute_name:`Griffith University`,institute_linkedin_id:`-1347443`,institute_linkedin_url:`https://www.linkedin.com/school/164056/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQFUPRPd0OOdCA/company-logo_400_400/B56ZfIhMHrGQAY-/0/1751415833791/griffith_university_logo?e=1759363200&v=beta&t=xAvw3qOKAtPJ864hLihQ6FgvhDoGshLMGKT-TIgreWA`,field_of_study:`International Law and Legal Studies`,activities_and_societies:``,start_date:`2007-01-01T00:00:00`,end_date:`2007-01-01T00:00:00`},{degree_name:`B.A.LL.B. (Hons.)`,institute_name:`National Academy of Legal Studies & Research (NALSAR) University Hyderabad`,institute_linkedin_id:`15124875`,institute_linkedin_url:`https://www.linkedin.com/school/15124875/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C560BAQEDvuXqqg1eYQ/company-logo_400_400/company-logo_400_400/0/1630645319352/national_academy_of_legal_studies__research_nalsr_university_hyderabad_logo?e=1759363200&v=beta&t=A7ivs6Nb6FnJTIlWXK32sVN2oMVbhiyfidfz-gvDxts`,field_of_study:`Law`,activities_and_societies:``,start_date:`2004-01-01T00:00:00`,end_date:`2009-01-01T00:00:00`},{degree_name:`Master of Arts (M.A.)`,institute_name:`University of Vienna`,institute_linkedin_id:`1617918`,institute_linkedin_url:`https://www.linkedin.com/school/1617918/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C4E0BAQG7cnh-00AOEg/company-logo_400_400/company-logo_400_400/0/1631304925897?e=1759363200&v=beta&t=MJN6tlU_i-HaLs_g-XqTNFhYHUStlNHRWEPBqq7IAsI`,field_of_study:`Law and Economics`,activities_and_societies:``,start_date:`2017-01-01T00:00:00`,end_date:`2017-01-01T00:00:00`},{degree_name:`LL.M. European Master in Law and Economics`,institute_name:`Erasmus University Rotterdam`,institute_linkedin_id:`269012`,institute_linkedin_url:`https://www.linkedin.com/school/269012/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/C4E0BAQH6a-XX__UABw/company-logo_400_400/company-logo_400_400/0/1630595251002/erasmus_university_rotterdam_logo?e=1759363200&v=beta&t=v7TLB8ix6KoB3fCsFtueW4HTZa8Eoq87pr5mr9LUcB0`,field_of_study:`Law`,activities_and_societies:``,start_date:`2016-01-01T00:00:00`,end_date:`2016-01-01T00:00:00`},{degree_name:`The Indian School Certificate`,institute_name:`The Hyderabad Public School, Begumpet`,institute_linkedin_id:`14690264`,institute_linkedin_url:`https://www.linkedin.com/school/14690264/`,institute_logo_url:`https://media.licdn.com/dms/image/v2/D560BAQEd1LQ1BzzNow/company-logo_400_400/company-logo_400_400/0/1704183073345/hpsbegumpet_logo?e=1759363200&v=beta&t=adbYo6wD2ciugz2ejhZwIDRF3LzdtuZEm9EAvi9ugd8`,field_of_study:``,activities_and_societies:``}],honors:[],certifications:[],current_employers:[{name:`Ambee`,linkedin_id:`13349105`,company_id:6304,company_linkedin_id:`13349105`,company_website_domain:`getambee.com`,position_id:1038571016,title:`Co-Founder/CEO`,description:`Originally envisaged as an air quality device manufacturer, Ambee pivoted to environmental data in 2018
|
|
4
4
|
|
|
5
5
|
Today, we're working with companies across 4 continents and 7 industries. Not a day goes by when we are not fascinated by the myriad ways in which our data is helping people.
|
|
6
6
|
|
|
@@ -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`},
|
|
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`},je=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)})),Me=[{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,15 +58,19 @@ 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:[]}],Me=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()}))}),Ne={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`}]},Pe=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()})),Fe=[{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`}]}],Ie=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`)}),Le={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:[]},Re=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.`)}),ze={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`},Be=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()})),Ve=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],He=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),Ue=[{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`}],We=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),Ge=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],Ke=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)}),qe=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(),Je=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:qe,logo:r.url(),blurhash:r.string(),colors:r.array(Ke)}),Ye={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`}]},Xe=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unkown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),Ze={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``};function Qe(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function $e(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)&&!$e(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function et(e){return e.split(`@`)[0]}const tt=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.`)}),nt={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:Qe(),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`}]},rt=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()}),it={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`},at=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()})),ot=[{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.`}}],st=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),ct=[{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.`}],lt=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`)]),ut=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(``)]),dt=r.object({address:r.email(),status:lt,sub_status:ut,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()}),ft={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`},pt=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()}),mt={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`},ht={"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 gt(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 _t(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function vt(e){let t=_t(e);if(ht[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(ht)){let a=gt(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 yt(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function bt(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=yt(e);return t?xt(t):null}catch{return null}}function xt(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=vt(e);return t&&ht[t]||null}catch{return null}}function St(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 Ct={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:st,exampleValue:ct}},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:at,exampleValue:ot},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:se,exampleValue:ce},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:Be,exampleValue:Ve},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:Ue,zodSchema:He}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:Ge,zodSchema:We}},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:Pe,exampleValue:Fe}},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:re,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:ae,exampleValue:oe}},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_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:se,exampleValue:ce}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:be,exampleValue:xe}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Re,exampleValue:ze}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Ie,exampleValue:Le}},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:tt,exampleValue:nt}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array(pt),exampleValue:mt}},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', 'unkown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unkown'`,jsonMeta:{zodSchema:Xe,exampleValue:Ze}},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:dt,exampleValue:ft}},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:Me,exampleValue:Ne}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:Se,exampleValue:Ce}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:Oe,exampleValue:ke}},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:we,exampleValue:Te}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:Ee,exampleValue:De}},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:[]}],Ne=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()}))}),Pe={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`}]},Fe=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()})),Ie=[{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`}]}],Le=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`)}),Re={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:[]},ze=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.`)}),Be={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`},Ve=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()})),He=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],Ue=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),We=[{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`}],Ge=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),Ke=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],qe=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)}),Je=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(),Ye=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:Je,logo:r.url(),blurhash:r.string(),colors:r.array(qe)}),Xe={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`}]},Ze=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unkown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),Qe={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``};function $e(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function et(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)&&!et(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function tt(e){return e.split(`@`)[0]}const nt=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.`)}),rt={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:$e(),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`}]},it=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()}),at={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`},ot=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()})),st=[{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.`}}],ct=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),lt=[{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`)]),dt=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(``)]),ft=r.object({address:r.email(),status:ut,sub_status:dt,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()}),pt={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`},mt=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()}),ht={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`},gt={"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 _t(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 vt(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function yt(e){let t=vt(e);if(gt[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(gt)){let a=_t(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 bt(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function xt(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=bt(e);return t?St(t):null}catch{return null}}function St(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=yt(e);return t&>[t]||null}catch{return null}}function Ct(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 wt={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:ct,exampleValue:lt}},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:ot,exampleValue:st},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:ce,exampleValue:le},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:Ve,exampleValue:He},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:We,zodSchema:Ue}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:Ke,zodSchema:Ge}},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:Fe,exampleValue:Ie}},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:ie,exampleValue:ae},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:oe,exampleValue:se}},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_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:ce,exampleValue:le}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:xe,exampleValue:Se}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:ze,exampleValue:Be}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Le,exampleValue:Re}},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:nt,exampleValue:rt}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array(mt),exampleValue:ht}},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', 'unkown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unkown'`,jsonMeta:{zodSchema:Ze,exampleValue:Qe}},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:ft,exampleValue:pt}},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:Ne,exampleValue:Pe}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:Ce,exampleValue:we}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:ke,exampleValue:Ae}},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:Te,exampleValue:Ee}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:De,exampleValue:Oe}},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:Ae,exampleValue:je}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:rt,exampleValue:it}},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:g,exampleValue:_}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:ne,exampleValue:h}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(Se),exampleValue:[Ce]}},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:Ye,zodSchema:Je}},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:tt,exampleValue:nt},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},wt={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=bt(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_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=St(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=St(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=St(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},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:m.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:m.linkedin}}}},crustdata_company_match:{},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 v(e){return{...Ct[e],name:e}}function Tt(e,t){if(Dt(e,t))return wt[e]}function Et(e){return e in Ct}function Dt(e,t){return e in Ct?Ct[e].format===t:!1}const Ot={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function kt(e){return Ot[e]}const At=(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},jt=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},Mt=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},Nt=(...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 Pt(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 Ft=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],It=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],Lt=/^[A-Z][A-Z0-9_]*$/,Rt=/^[A-Z][A-Z0-9_]*$/,zt=/^[a-zA-Z_][a-zA-Z0-9_]*$/,Bt=`SECRETS`,Vt=`CONSTANTS`,Ht=new Set(Ft),Ut=new Set(It),Wt=e=>`{${e}}`;var Gt=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Lt.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]}},Kt=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Rt.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 qt(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(!zt.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 Jt(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=qt(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(Wt(n.name))}});for(let t of Object.keys(e.tags))Ht.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))Ut.has(t)||delete e.filters[t];return e}let Yt=null;function Xt(){return Yt||=Jt(),Yt}async function Zt(e,t,n={}){let r=Xt(),i=n.renderLimitMs??250,a={...t.inputs??{},[Bt]:new Gt(t.secrets??{}),[Vt]:new Kt(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 Qt(e,t,n={}){let r=Xt(),i=n.renderLimitMs??250,a={...t.inputs??{},[Bt]:new Gt(t.secrets??{}),[Vt]:new Kt(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function $t(e){return Xt().parse(e)}function en(e){let t=Xt().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};tn(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 tn(e,t){for(let n of e)nn(n,t)}function nn(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){cn(n.value,t,!1);return}if(typeof n.name==`string`){rn(n,t);return}}function rn(e,t){switch(e.name){case`for`:an(e,t);return;case`if`:case`unless`:on(e,t);return;case`output`:sn(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function an(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&&ln(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),tn(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),tn(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function on(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=fn(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&cn(i,t,!1),tn(r.templates,t),a&&t.guardStack.pop()}tn(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function sn(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=qt(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 cn(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)pn(n)&&dn(n,t,i);for(let n of e.filters)for(let e of n.args)un(e,t)}function ln(e,t,n){pn(e)&&dn(e,t,n)}function un(e,t){if(Array.isArray(e)){let n=e[1];n&&ln(n,t,!1)}else ln(e,t,!1)}function dn(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!mn(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!mn(e))throw Error(`Invalid SECRETS reference — expected SECRETS.KEY (got ${_n(r)}).`);let n=e.content;if(!Lt.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||!mn(e))throw Error(`Invalid CONSTANTS reference — expected CONSTANTS.KEY (got ${_n(r)}).`);let n=e.content;if(!Rt.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 fn(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&pn(t)&&t.props.length===1){let e=t.props[0];if(e&&mn(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&pn(t)&&t.props.length===1){let e=t.props[0];if(e&&mn(e)&&hn(n)&&gn(r,[`==`,`!=`]))return e.content}}return null}function pn(e){return e.kind===o.PropertyAccess}function mn(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function hn(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function gn(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function _n(e){let t=[];for(let n of e)n&&mn(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}const vn=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_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.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_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(`.`)),yn=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`]),bn=r.enum([`production`,`sandbox`]),xn=`prompt:run@1.company:newssummary:website@1.company:techstack:builtwith@1.company:websiteurl:email@1.company:funding:leadmagic@1.people:workemail:waterfall@1.people:email:iswork@1.people:name:split@1.people:name:join@1.people:validate:email:zerobounce@1.people:email:validate:zerobounce@2.people:mobilenumber:workemail:waterfall@1.company:overview@1.company:overview@2.json:extract@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.people:identity:amplemarket@1.company:identity@2.people:match:amplemarket@1.people:phone:profile:waterfall@1.people:personalemail:profile:waterfall@1.people:profile:waterfall@1.people:profileurl:email:waterfall@1.people:profileurl:name@1.people:email:validate:zerobounce@1.people:email:validate:millionverifier@1.people:phone: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:match:logodev@1.people:posts:crustdata@1.company:match:crustdata@1.people:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.people:identity:email: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(`.`),Sn=r.enum(xn),Cn=[`string`,`number`,`boolean`,`json`,`unknown`],wn=r.enum(Cn),Tn=r.union([r.number(),r.string()]),En=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),Dn=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),On=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),kn=r.object({}),An=kn.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),jn=kn.extend({emoji:r.string().describe(`Country flag emoji.`)}),Mn=kn.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),Nn=kn.extend({attempted_providers:r.array(r.object({provider:yn})),available_providers:r.array(yn),successful_provider:yn.optional()}),Pn=r.enum([`linkedin`,`job`]),Fn=kn.extend({key:Pn}).optional(),In=r.object({result_status:r.enum([`completed`,`failed`])}).optional(),Ln=r.object({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),Rn=r.object({numeric:r.int().min(1).max(5)}).optional(),zn=r.object({display_value:r.object({label:r.string().optional()}),entity_logo:An.optional(),location_indicator:jn.optional(),avatar:Mn.optional(),waterfall:Nn.optional(),icon:Fn,action_summary:In,sources:Ln,confidence:Rn}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Bn=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),Vn=r.object({code:r.string(),summary:r.string(),message:r.string()}),Hn=[`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`],y=r.enum(Hn);y.nullable();const Un=r.object({type:wn,label:r.string().nullable().optional(),format:y.nullable().optional(),json_metadata:On.nullable().optional()}),Wn=r.record(r.string(),Un),Gn=r.enum([...xn,`input`]).nullable(),Kn=r.enum([...xn,`input`,`system`]).nullable(),qn=r.object({ref:Gn,config_hash:r.string().nullable()}),Jn=r.object({ref:Kn,environment:bn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Yn=r.object({value:Dn,status:En,type:wn,reason:Vn.nullable(),claimed_by:qn,resolved_by:Jn.nullable(),widgets:zn.optional(),format:y.nullable()}),Xn=r.object({value:Dn,status:En,reason:Vn.nullable().optional(),type:wn.optional(),format:y.nullable().optional(),claimed_by:qn.optional(),resolved_by:Jn.nullable().optional(),widgets:zn.optional()}),Zn=r.record(r.string(),r.union([Dn,Xn])).openapi(`PipesInput`),Qn=r.object({id:Tn,fields:r.record(Tn,Yn)}),$n=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),er=r.object({type:wn,label:r.string(),added_by:r.object({ref:r.union([Sn,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:y.nullable()}),tr=r.record(r.string(),er),nr=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:y.nullable().default(null),label:r.string().optional(),type:wn})})).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)})})}),rr=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),ir={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},ar=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],or=[`eq`,`neq`],sr=r.object({type:r.literal(`vault`),connection:r.string()}),b=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(sr)}).nullable().optional(),cr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(sr).min(1,{message:`Provide your own credentials to use this object.`})}),lr=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(),ur=r.enum(ar),dr=r.enum(or),fr=r.enum([`failed`,`no_result`,`completed`,`skipped`]),pr=r.object({action:r.enum([`run`]).describe(`Always "run". The pipe runs only when conditions are met; otherwise the record is skipped.`),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:ur.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:dr.describe(`Status comparison operator: "eq" or "neq".`),value:fr.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(`Conditional trigger for a pipe. When set, the pipe only runs on records matching the conditions. Example: { "action": "run", "when": { "logic": "and", "conditions": [{ "property": "status", "field_name": "work_email", "operator": "neq", "value": "no_result" }] } }`),mr={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}};function hr(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:yn.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function gr(e){return`${e.provider}_${e.id}`}const _r=new s;function vr(e){return _r.validateSchema(e)}function yr(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 br=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],xr={"gemini-flash-latest":{provider:`gemini`,rateLimitOperation:`gemini_25_flash_preview`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`},"openai-gpt-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:1,billingMode:`always`},"openai-gpt-mini-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5-mini`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`}};function Sr(e,t){let n={};for(let r of br){let i=xr[r],a=`${r}-${e}`;n[a]={credits:t?.[r]??i.defaultCredits,allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function Cr(e){let t=xr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function wr(e,t){return`${e}-${t}`}function Tr(e){let t=xr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function Er(){let e=new Set;for(let t of br)e.add(xr[t].provider);return[...e]}function Dr(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(At(e.requires.connection));for(let n of e.requires.fields??[])t.push(jt(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]:Mt(...t)}function Or(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=Pt(e,n,t),s=Et(o.fieldName)?v(o.fieldName):null;return s?.jsonMeta?{jsonSchema:s.jsonMeta.zodSchema?r.toJSONSchema(s.jsonMeta.zodSchema):null,exampleValue:s.jsonMeta.exampleValue||null}:i}const x=r.registry();{let e=x._map,t=x.get.bind(x);x.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 S=r.registry(),C={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(),max:r.number().nullable()}),include_exclude_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),include_exclude_select_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),async_include_exclude_select_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),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()),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_trigger_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())])},kr=(e,t)=>{let n=C.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},Ar=(e,t)=>{let n=C.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},jr=(e,t)=>{let n=C.key_value_list_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{ai({value:e.key,issues:t.issues},!1,[n,`key`]),ai({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},Mr=(e,t)=>{let n=e.maxItems||200,r=C.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)`})}).default({include:[],exclude:[]});return e.description&&r.describe(e.description),t.add(r,{type:`include_exclude_input`,...e}),r},Nr=()=>{let e=nr;return x.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}=Or(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`config.extractions`}}),e},Pr=(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(e=>({value:e,label:mr[e].label,widgets:{provider_logo:{provider:e}}}));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},Fr=(e,t)=>{let n=e.maxItems||200,r=C.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)`})}).default({include:[],exclude:[]});return e.description&&r.describe(e.description),t.add(r,{type:`include_exclude_select_input`,...e}),r},Ir=(e,t)=>{let n=C.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},Lr=(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},Rr=(e,t)=>{let n=C.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},zr=(e,t)=>{let n=C.boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`boolean_input`}),n},Br=(e,t)=>{let n=C.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},Vr=(e,t)=>{let n=C.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},Hr=(e,t)=>{let n=C.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},Ur=(e,t,n=`config.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})},Wr=(e,t)=>{let n=C.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},Gr=(e,t)=>{let n=C.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},Kr=(e,t)=>{let n=C.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{vr(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{yr(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},qr=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=C.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},Jr=({billableOperations:e,...t},n)=>{let i=r.enum(br).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:br.map(t=>{let n=e[Object.keys(e).find(e=>e.startsWith(t))];if(!n)throw Error(`Unable to find billig info for model ${t}`);return{label:t,value:t,widgets:{logo:{url:mr[xr[t].provider].logoUrl},pricing:{credits:n.credits}}}}),required:!0,description:``,label:`AI Models`,...t}),i},Yr=(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(`, `)}`})})});return t.add(a,{type:`multi_select_input`,...e}),a},Xr=(e,t)=>{let n=e.required?C.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`})}):C.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??Dr(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},Zr=(e,t)=>{let n=C.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}`})}}});return t.add(n,{type:`min_max_int_input`,...e}),n},Qr=(e,t)=>{let n=C.async_multi_select_input.check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`})});return t.add(n,{type:`async_multi_select_input`,...e}),n},$r=(e,t)=>{let n=e.maxItems||200,r=C.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)`})}).default({include:[],exclude:[]});return t.add(r,{type:`async_include_exclude_select_input`,...e}),r};function ei(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 w=()=>{let e=pr.nullish();return x.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_trigger_input`,groupPath:`trigger`,path:`trigger`,sectionKey:`conditions`,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},ti={"config.pipe_io":{type:`form_section`,label:`In- and outputs`,description:`Configure output fields and reassign inputs.`,path:`config.pipe_io`},"config.input_fields":{type:`form_section`,label:`Input fields`,description:`Reassign pipe inputs.`,path:`config.input_fields`},"config.output_fields":{type:`form_section`,label:`Output fields`,description:`Rename or toggle outputs.`,path:`config.output_fields`},"config.extractions":{type:`form_section`,label:`Extractions`,description:`Use Jsonata syntax to extract nested JSON values.`,path:`config.json_extraction`},conditions:{type:`form_section`,path:`trigger`,label:`Conditions`,description:`Execute pipes when conditions are met.`,mode:`dynamic`},connector:{type:`form_section`,path:`connector`,label:`Connector`,description:`Provide your own credentials for external providers.`,mode:`dynamic`},"config.filters":{type:`form_section`,label:`Filters`,path:`config.filters`,description:`Narrow down the search output`},general:{type:`form_section`,path:`general`},pagination:{type:`form_section`,path:`pagination`}},ni={general:1,pagination:2,conditions:999,connector:998,"config.filters":3,"config.input_fields":10,"config.output_fields":11,"config.pipe_io":10,"config.extractions":1};function ri({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 ii=({schema:e,groupPathMatch:t,extractFromSchema:n,sectionOrder:i=ni,store:a,formResolvers:o})=>{let s={};function c(e){let i=n(e);if(i){s[i.sectionKey]??={type:`section`,groups:[],metadata:ti[i.sectionKey]};let e=s[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=ri({fieldMetadata:i,store:a,formResolvers:o});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=ri({fieldMetadata:i,store:a,formResolvers:o});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`&&c(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))c(t)}c(e);let l=Object.values(s);return l.forEach(e=>e.groups.sort((e,t)=>(e.order??99)-(t.order??99))),[...l].filter(e=>e.groups.length!==0).sort((e,t)=>(i?.[e.metadata?.path||``]??99)-(i?.[t.metadata?.path||``]??99))};function ai(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=en(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const oi=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>ai(e,t,[`template`])).describe(e.description||'Liquid prompt with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, 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 x.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},si=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>ai(e,!1,[])).describe(e.description||'Liquid template with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, and `{% if %}` / `{% for %}` control flow. Example: "Write to {{ name }} about {{ topic | default: \\"the project\\" }}."');return x.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},ci=e=>{let t=`${e.multiline?`Multi-line`:`Single-line`} ${e.expectedTagType} value, optionally containing \`{{ field }}\` Liquid input refs (use \`| default: ""\` for optional refs) and \`{{ SECRETS.KEY }}\` for encrypted secrets.`,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=>ai(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??Dr(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:[]},x.add(n,o),n};function li(e,t){x.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:`connector`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:gr({id:e.public_id,provider:e.provider})}))}})}const ui=()=>{let e=cr;return li(e,`required`),e},T=()=>{let e=b;return li(e,`optional`),e},E=()=>{let e=lr;return li(e,`disabled`),e};function di(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 D=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return x.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`config.pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:di(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:``})},O=e=>Pr(e,x),fi=e=>{let t=C.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([]),x.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},pi=e=>Mr(e,x),mi=e=>kr(e,x),hi=e=>Ar(e,x),gi=e=>jr(e,x),_i=e=>Fr(e,x),vi=e=>$r(e,x),yi=e=>Ir(e,x),bi=e=>Rr(e,x),k=e=>zr(e,x),A=e=>Ur(e,x),xi=e=>Vr(e,x),Si=e=>Hr(e,x),Ci=e=>qr(e,x),wi=e=>Jr(e,x),Ti=e=>Yr(e,x),Ei=e=>Wr(e,x),Di=e=>Gr(e,x),Oi=e=>Kr(e,x),ki=e=>Xr(e,x),j=e=>kr(e,S),Ai=e=>Ar(e,S),ji=e=>Zr(e,S),M=e=>Mr(e,S),N=e=>Fr(e,S),Mi=e=>Ir(e,S),Ni=e=>Lr(e,S),Pi=e=>Rr(e,S),Fi=e=>zr(e,S),Ii=e=>Br(e,S),P=e=>Ur(e,S,`config.output_fields`),Li=e=>Vr(e,S),Ri=e=>Hr(e,S),zi=e=>qr(e,S),F=e=>Yr(e,S),I=e=>Qr(e,S),L=e=>$r(e,S),R=e=>Wr(e,S),Bi=e=>Gr(e,S),z=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()),B=e=>e.optional();function Vi(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]=Vi(n[e],r));return n}const V={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 ❌`},Hi=e=>typeof e.kind==`string`,Ui=e=>Hi(e)?e:{kind:`field`,field:e},H=e=>({kind:`field`,field:e}),U=(...e)=>({kind:`all`,of:e.map(Ui)}),Wi=(...e)=>({kind:`any`,of:e.map(Ui)}),Gi=e=>({kind:`optional`,field:e});function Ki(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Ki(e,t));case`any`:return e.of.some(e=>Ki(e,t))}}function qi(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(qi)}}function Ji(e,t){let n=Yi(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Yi(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=Yi(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=Yi(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Xi(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Xi).filter(e=>!$e(e));let t={};for(let[n,r]of Object.entries(e)){let e=Xi(r);$e(e)||(t[n]=e)}return t}const Zi=await l();var Qi=class e{static hashObject(t){if(!Zi)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Zi,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 $i(e,t){let n={pipeId:e,config:Xi(t)};return Qi.hashObject(n)}function ea(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:Qi.hashObject(Xi(n))}var W=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}catalogOutput(e,{receivesMovementWidgets:t=!1,resolveFormat:n,resolveType:r}={resolveType:void 0,resolveFormat:void 0,receivesMovementWidgets:!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,receivesMovementWidgets: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 qi(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return $i(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return ea(e,this.inputFields)}};function ta(e){return qi(e).map(({field:e})=>e)}function na({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function ra({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function ia({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 aa(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 oa(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function sa(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function G(e){return e.split(`@`)[0]}function K(e){return`/docs/pipes/pipes-catalog/${G(e)}/${e.split(`@`)[1]}`}function q(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 ca=`company:funding:leadmagic@1`,la=v(`company_name`),ua=v(`company_website_url`),da=v(`funding_history`),fa=v(`funding_total_usd`),pa=v(`leadmagic_competitor_list`),ma=v(`leadmagic_acquisition_history`),ha=v(`leadmagic_company_news_list`),ga=r.object({pipe_id:r.literal(ca),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[la.name]:D({fieldName:la.name}),[ua.name]:D({fieldName:ua.name})})),output_fields:z(r.object({[da.name]:A({fieldName:da.name}),[fa.name]:A({fieldName:fa.name}),[pa.name]:A({fieldName:pa.name}),[ma.name]:A({fieldName:ma.name}),[ha.name]:A({fieldName:ha.name})}))}).optional()}),_a=e=>Wi(q(la,e),q(ua,e)),va={"get-company-funding-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},ya=class extends W{pipeId=ca;payload;payloadSchema=ga;billableOperations=va;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`get-company-funding-leadmagic`]}getInputRequirement(){return _a(this.payload.config)}getRawOutputFields(){return{[da.name]:this.catalogOutput(da),[fa.name]:this.catalogOutput(fa)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},ba=ga,xa={pipeId:ca,basePipe:G(ca),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[V.FINANCIAL_DATA],docPath:K(ca),billableOperations:va,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:_a(null),defaultPayload:{pipe_id:ca,connector:null,trigger: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:``}}}}},Sa=v(`company_name`),Ca=v(`company_profile_url`),wa=v(`company_website_url`),Ta=v(`cleaned_company_name`),Ea=`company:identity@2`,Da=r.object({pipe_id:r.literal(Ea),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[Sa.name]:D({fieldName:Sa.name})})),output_fields:z(r.object({[Ca.name]:A({fieldName:Ca.name}),[Ta.name]:A({fieldName:Ta.name}),[wa.name]:A({fieldName:wa.name})}))}).optional()}),Oa=e=>H(q(Sa,e)),ka={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},Aa=class extends W{pipeId=Ea;payload;payloadSchema=Da;billableOperations=ka;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return Oa(this.payload.config)}getRawOutputFields(){return{[Ca.name]:this.catalogOutput(Ca),[wa.name]:this.catalogOutput(wa),[Ta.name]:this.catalogOutput(Ta)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_25_flash_preview`,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}]}},ja=Da,Ma={pipeId:Ea,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Ea),label:`Find company identity`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:K(Ea),billableOperations:ka,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Oa(null),defaultPayload:{pipe_id:Ea,connector:null,trigger: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}}}}},Na=v(`company_website_url`),Pa=v(`companyenrich_matches`),Fa=`company:lookalikes:companyenrich@1`,Ia=r.object({pipe_id:r.literal(Fa),trigger:w(),connector:T(),config:r.object({limit:Ei({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:B(r.object({[Na.name]:D({fieldName:Na.name})})),output_fields:z(r.object({[Pa.name]:A({fieldName:Pa.name})}))}).optional()}),La=e=>H(q(Na,e)),Ra={companyenrich_lookalike_result:{allowManagedConnection:!0,credits:.2,mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},za=class extends W{pipeId=Fa;payload;payloadSchema=Ia;billableOperations=Ra;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`companyenrich_lookalike_result`)}getInputRequirement(){return La(this.payload.config)}getRawOutputFields(){return{[Pa.name]:this.catalogOutput(Pa)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Ba=Ia,Va={pipeId:Fa,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Fa),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[V.COMPANY_PROFILES],docPath:K(Fa),billableOperations:Ra,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:La(null),defaultPayload:{pipe_id:Fa,connector:null,trigger:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Ha=v(`company_website_url`),Ua=v(`crustdata_companyenrich_match`),Wa=`company:match:crustdata@1`,Ga=r.object({pipe_id:r.literal(Wa),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[Ha.name]:D({fieldName:Ha.name})})),output_fields:z(r.object({[Ua.name]:A({fieldName:Ua.name})}))}).optional()}),Ka=e=>H(q(Ha,e)),qa={crustdata_company_enrich:{allowManagedConnection:!0,credits:2,mode:`onSuccess`,provider:`crustdata`}},Ja=class extends W{pipeId=Wa;payload;payloadSchema=Ga;billableOperations=qa;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata_company_enrich`]}getInputRequirement(){return Ka(this.payload.config)}getRawOutputFields(){return{[Ua.name]:this.catalogOutput(Ua)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Ya=Ga,Xa={pipeId:Wa,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Wa),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:K(Wa),billableOperations:qa,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Ka(null),defaultPayload:{pipe_id:Wa,connector:null,trigger:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},Za=v(`company_website_url`),Qa=v(`company_name`),$a=v(`company_profile_url`),eo=v(`logodev_describe_match`),to=v(`logo_url`),no=`company:match:logodev@1`,ro=r.object({pipe_id:r.literal(no),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[Za.name]:D({fieldName:Za.name})})),output_fields:z(r.object({[$a.name]:A({fieldName:$a.name}),[to.name]:A({fieldName:to.name}),[Qa.name]:A({fieldName:Qa.name}),[eo.name]:A({fieldName:eo.name})}))}).optional()}),io=e=>H(q(Za,e)),ao={"logodev-company-describe":{allowManagedConnection:!0,credits:.1,mode:`onSuccess`,provider:`logodev`}},oo=class extends W{pipeId=no;payload;payloadSchema=ro;billableOperations=ao;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`logodev-company-describe`]}getInputRequirement(){return io(this.payload.config)}getRawOutputFields(){return{[$a.name]:this.catalogOutput($a),[Qa.name]:this.catalogOutput(Qa),[to.name]:this.catalogOutput(to),[eo.name]:this.catalogOutput(eo)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},so=ro,co={pipeId:no,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(no),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:[V.WEBSITE,V.LINKEDIN],docPath:K(no),billableOperations:ao,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:io(null),defaultPayload:{pipe_id:no,connector:null,trigger: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}}}}},lo=`company:newssummary:website@1`,uo=v(`company_news_summary`),fo=v(`company_website_url`),po=r.object({pipe_id:r.literal(lo),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[fo.name]:D({fieldName:fo.name})})),output_fields:z(r.object({[uo.name]:A({fieldName:uo.name})}))}).optional()}),mo=e=>H(q(fo,e)),ho={"pipe0-get-company-news-summary":{allowManagedConnection:!0,credits:1,mode:`always`,provider:`pipe0`}},go=class extends W{pipeId=lo;payloadSchema=po;billableOperations=ho;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-news-summary`]}getInputRequirement(){return mo(this.payload.config)}getRawOutputFields(){return{[uo.name]:this.catalogOutput(uo)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},_o=po,vo={pipeId:lo,basePipe:G(lo),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:[V.NEWS],docPath:K(lo),billableOperations:ho,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:mo(null),defaultPayload:{pipe_id:lo,trigger:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},yo=v(`company_website_url`),bo=v(`company_profile_url`),xo=v(`company_description`),So=v(`company_industry`),Co=v(`company_region`),wo=v(`headcount`),To=v(`estimated_revenue`),Eo=v(`founded_year`),Do=v(`company_name`),Oo=`company:overview@2`,ko=r.object({pipe_id:r.literal(Oo),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[yo.name]:D({fieldName:yo.name}),[bo.name]:D({fieldName:bo.name})})),output_fields:z(r.object({[xo.name]:A({fieldName:xo.name}),[So.name]:A({fieldName:So.name}),[Co.name]:A({fieldName:Co.name}),[wo.name]:A({fieldName:wo.name}),[To.name]:A({fieldName:To.name}),[Eo.name]:A({fieldName:Eo.name}),[Do.name]:A({fieldName:Do.name})}))}).optional()}),Ao=e=>Wi(q(yo,e),q(bo,e)),jo={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Mo=class extends W{pipeId=Oo;payloadSchema=ko;billableOperations=jo;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Ao(this.payload.config)}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),[Do.name]:this.catalogOutput(Do)}}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}]}},No=ko,Po={pipeId:Oo,basePipe:G(Oo),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:K(Oo),tags:[V.WEBSITE,V.LINKEDIN,V.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:jo,defaultInputRequirement:Ao(null),defaultPayload:{pipe_id:Oo,trigger: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}}}}},Fo=v(`company_website_url`),Io=v(`technology_list`),Lo=v(`spending_trend`),Ro=v(`technology_match_builtwith`),zo=`company:techstack:builtwith@1`,Bo=r.object({pipe_id:r.literal(zo),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[Fo.name]:D({fieldName:Fo.name})})),output_fields:z(r.object({[Io.name]:A({fieldName:Io.name}),[Ro.name]:A({fieldName:Ro.name}),[Lo.name]:A({fieldName:Lo.name})}))}).optional()}),Vo=e=>H(q(Fo,e)),Ho={"builtwith-get-technology-stack":{provider:`builtwith`,allowManagedConnection:!0,credits:2,mode:`always`}},Uo=class extends W{pipeId=zo;payload;payloadSchema=Bo;billableOperations=Ho;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`builtwith-get-technology-stack`]}getInputRequirement(){return Vo(this.payload.config)}getRawOutputFields(){return{[Io.name]:this.catalogOutput(Io),[Ro.name]:this.catalogOutput(Ro),[Lo.name]:this.catalogOutput(Lo)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Wo=Bo,Go={pipeId:zo,basePipe:G(zo),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:[V.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:K(zo),billableOperations:Ho,defaultInputRequirement:Vo(null),defaultPayload:{pipe_id:zo,connector:null,trigger: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}}}}},Ko=`company:websiteurl:email@1`,qo=v(`company_website_url`),Jo=v(`email`),Yo=r.object({pipe_id:r.literal(Ko),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[Jo.name]:D({fieldName:Jo.name})})),output_fields:z(r.object({[qo.name]:A({fieldName:qo.name})}))}).optional()}),Xo=e=>H(q(Jo,e)),Zo={"pipe0-get-website-url":{credits:0,allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},Qo=class extends W{pipeId=Ko;payload;payloadSchema=Yo;billableOperations=Zo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-website-url`]}getInputRequirement(){return Xo(this.payload.config)}getRawOutputFields(){return{[qo.name]:this.catalogOutput(qo)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},$o=Yo,es={pipeId:Ko,basePipe:G(Ko),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:[V.EMAIL,V.WORK_EMAIL,V.WEBSITE],docPath:K(Ko),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Zo,defaultInputRequirement:Xo(null),defaultPayload:{pipe_id:Ko,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},ts={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},ns=`contact:create:resend@1`,rs={"contact-create-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},is=v(`email`),as=v(`name`),os=v(`resend_contact_id`),ss=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],cs=r.object({pipe_id:r.literal(ns),connector:ui(),trigger:w(),config:r.object({segment_id:ki({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:At(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return ss;if(!t)throw new ts.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 ts.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:k({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:B(r.object({[as.name]:D({fieldName:as.name}),[is.name]:D({fieldName:is.name})})),output_fields:z(r.object({[os.name]:A({fieldName:os.name})}))})}),ls=e=>U(H(q(is,e)),H(q(as,e))),us=class extends W{pipeId=ns;payload;payloadSchema=cs;billableOperations=rs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend`]}getInputRequirement(){return ls(this.payload.config)}getRawOutputFields(){return{[os.name]:this.catalogOutput(os)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},ds=cs,fs={pipeId:ns,basePipe:G(ns),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[V.EMAIL],docPath:K(ns),billableOperations:rs,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:ls(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:ns,connector:{strategy:`first`,connections:[]},trigger:null,config:{segment_id:``,add_as_subscribed:!0,input_fields:{name:{alias:``},email:{alias:``}},output_fields:{resend_contact_id:{alias:``,enabled:!0}}}}},ps=v(`company_name`),ms=v(`company_social_url`),hs=v(`company_website_url`),gs=v(`cleaned_company_name`),_s=`company:identity@1`,vs=r.object({pipe_id:r.literal(_s),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[ps.name]:D({fieldName:ps.name})})),output_fields:z(r.object({[ms.name]:A({fieldName:ms.name}),[gs.name]:A({fieldName:gs.name}),[hs.name]:A({fieldName:hs.name})}))}).optional()}),ys=e=>H(q(ps,e)),bs={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},xs=class extends W{pipeId=_s;payload;payloadSchema=vs;billableOperations=bs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return ys(this.payload.config)}getRawOutputFields(){return{[ms.name]:this.catalogOutput(ms),[hs.name]:this.catalogOutput(hs),[gs.name]:this.catalogOutput(gs)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_25_flash_preview`,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}]}},Ss=vs,Cs={pipeId:_s,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(_s),label:`Find company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,replacedBy:`company:identity@2`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:bs,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ys(null),defaultPayload:{pipe_id:_s,connector:null,trigger: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}}}}},ws=v(`company_website_url`),Ts=v(`company_social_url`),Es=v(`company_description`),Ds=v(`company_industry`),Os=v(`company_region`),ks=v(`headcount`),As=v(`estimated_revenue`),js=v(`founded_year`),Ms=`company:overview@1`,Ns=r.object({pipe_id:r.literal(Ms),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[ws.name]:D({fieldName:ws.name}),[Ts.name]:D({fieldName:Ts.name})})),output_fields:z(r.object({[Es.name]:A({fieldName:Es.name}),[Ds.name]:A({fieldName:Ds.name}),[Os.name]:A({fieldName:Os.name}),[ks.name]:A({fieldName:ks.name}),[As.name]:A({fieldName:As.name}),[js.name]:A({fieldName:js.name})}))}).optional()}),Ps=e=>Wi(q(ws,e),q(Ts,e)),Fs={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Is=class extends W{pipeId=Ms;payloadSchema=Ns;billableOperations=Fs;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Ps(this.payload.config)}getRawOutputFields(){return{[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:G(Ms),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:[V.WEBSITE,V.LINKEDIN,V.FINANCIAL_DATA,V.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Fs,defaultInputRequirement:Ps(null),defaultPayload:{pipe_id:Ms,trigger: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}}}}},zs=`people:email:validate:zerobounce@1`,Bs=v(`work_email`),Vs=v(`is_email_valid`),Hs=r.object({pipe_id:r.literal(zs),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[Bs.name]:D({fieldName:Bs.name})})),output_fields:z(r.object({[Vs.name]:A({fieldName:Vs.name})}))}).optional()}),Us=e=>H(q(Bs,e)),Ws={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},Gs=class extends W{pipeId=zs;payload;payloadSchema=Hs;billableOperations=Ws;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Us(this.payload.config)}getRawOutputFields(){return{[Vs.name]:this.catalogOutput(Vs)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Ks=Hs,qs={pipeId:zs,basePipe:G(zs),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2025-11-01`,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:[V.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:Ws,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Us(null),defaultPayload:{pipe_id:zs,connector:null,trigger:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}};function Js(e){return(e.widgets||{}).display_value?.label}function Ys(e){console.dir(e,{depth:100})}function Xs(e){return typeof e==`object`&&e?JSON.stringify(e):e}function J(e){return e===0?1:e===1?.3:e===2?.2:.1}function Zs(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=Zs(e[n])}),t}const Qs={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 Y(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 $s=`people:mobilenumber:professionalprofile:waterfall@1`,ec=v(`professional_profile_url`),tc=v(`mobile_number`),nc=[`leadmagic`,`prospeo`],rc=[{provider:`leadmagic`},{provider:`prospeo`}],ic=r.object({pipe_id:r.literal($s),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:rc,availableProviders:nc}),input_fields:B(r.object({[ec.name]:D({fieldName:ec.name})})),output_fields:z(r.object({[tc.name]:A({fieldName:tc.name})}))}).optional()}),ac=e=>H(q(ec,e)),oc={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},sc=class extends W{pipeId=$s;payload;payloadSchema=ic;billableOperations=oc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return ac(this.payload.config)}getRawOutputFields(){return{[tc.name]:this.catalogOutput(tc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},cc=ic,lc={pipeId:$s,basePipe:G($s),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:[V.PHONE,V.WATERFALL],billableOperations:oc,defaultInputRequirement:ac(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:nc,deprecatedProviders:[],allowedUserConnectionProviders:nc,defaultPayload:{pipe_id:$s,connector:null,trigger:null,config:{providers:rc,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},uc=`people:mobilenumber:workemail:waterfall@1`,dc=v(`work_email`),fc=v(`mobile_number`),pc=[`leadmagic`],mc=[{provider:`leadmagic`}],hc=r.object({pipe_id:r.literal(uc),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:pc,defaultProviders:mc}),input_fields:B(r.object({[dc.name]:D({fieldName:dc.name})})),output_fields:z(r.object({[fc.name]:A({fieldName:fc.name})}))}).optional()}),gc=e=>H(q(dc,e)),_c={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},vc=class extends W{pipeId=uc;payload;payloadSchema=hc;billableOperations=_c;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return gc(this.payload.config)}getRawOutputFields(){return{[fc.name]:this.catalogOutput(fc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},yc=hc,bc={pipeId:uc,basePipe:G(uc),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,replacedBy:`people:phone:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[V.PHONE,V.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:_c,defaultInputRequirement:gc(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:pc,managedProviders:pc,deprecatedProviders:[],defaultPayload:{pipe_id:uc,connector:null,trigger:null,config:{providers:mc,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},xc=`people:professionalprofile:waterfall@1`,Sc=v(`professional_profile`),Cc=v(`professional_profile_url`),wc=[`prospeo`,`icypeas`],Tc=[{provider:`prospeo`},{provider:`icypeas`}],Ec=r.object({pipe_id:r.literal(xc),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:wc,defaultProviders:Tc}),input_fields:B(r.object({[Cc.name]:D({fieldName:Cc.name})})),output_fields:z(r.object({[Sc.name]:A({fieldName:Sc.name})}))}).optional()}),Dc=e=>H(q(Cc,e)),Oc={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},kc=class extends W{pipeId=xc;payload;payloadSchema=Ec;billableOperations=Oc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Dc(this.payload.config)}getRawOutputFields(){return{[Sc.name]:this.catalogOutput(Sc)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ac=Ec,jc={pipeId:xc,basePipe:G(xc),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,replacedBy:`people:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:`/resources/pipe-catalog/people:professionalprofile:waterfall/1`,tags:[V.LINKEDIN,V.WATERFALL],managedProviders:wc,deprecatedProviders:[],allowedUserConnectionProviders:wc,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Oc,defaultInputRequirement:Dc(null),defaultPayload:{pipe_id:xc,trigger:null,connector:null,config:{providers:Tc,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},Mc=`people:professionalprofileurl:email:waterfall@1`,Nc=v(`email`),Pc=v(`work_email`),Fc=v(`professional_profile_url`),Ic=[`leadmagic`],Lc=[{provider:`leadmagic`}],Rc=r.object({pipe_id:r.literal(Mc),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:Lc,availableProviders:Ic}),input_fields:B(r.object({[Nc.name]:D({fieldName:Nc.name}),[Pc.name]:D({fieldName:Pc.name})})),output_fields:z(r.object({[Fc.name]:A({fieldName:Fc.name})}))}).optional()}),zc=e=>Wi(q(Nc,e),q(Pc,e)),Bc={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Vc=class extends W{pipeId=Mc;payload;payloadSchema=Rc;billableOperations=Bc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return zc(this.payload.config)}getRawOutputFields(){return{[Fc.name]:this.catalogOutput(Fc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Hc=Rc,Uc={pipeId:Mc,basePipe:G(Mc),managedProviders:Ic,deprecatedProviders:[],allowedUserConnectionProviders:Ic,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,replacedBy:`people:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[V.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:Bc,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:zc(null),defaultPayload:{pipe_id:Mc,trigger:null,connector:null,config:{providers:Lc,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Wc=`people:professionalprofileurl:name@1`,Gc=v(`name`),Kc=v(`company_name`),qc=v(`location_hint`),Jc=v(`professional_profile_url`),Yc=r.object({pipe_id:r.literal(Wc),connector:E(),trigger:w(),config:r.object({input_fields:B(r.object({[Gc.name]:D({fieldName:Gc.name}),[Kc.name]:D({fieldName:Kc.name}),[qc.name]:D({fieldName:qc.name})})),output_fields:z(r.object({[Jc.name]:A({fieldName:Jc.name})}))}).optional()}),Xc=e=>U(H(q(Gc,e)),H(q(Kc,e)),Gi(q(qc,e))),Zc={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},Qc=class extends W{pipeId=Wc;payload;payloadSchema=Yc;billableOperations=Zc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return Xc(this.payload.config)}getRawOutputFields(){return{[Jc.name]:this.catalogOutput(Jc)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},$c=Yc,el={pipeId:Wc,basePipe:G(Wc),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,replacedBy:`people: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:[V.LINKEDIN],billableOperations:Zc,defaultInputRequirement:Xc(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Wc,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},tl=`people:validate:email:zerobounce@1`,nl=v(`work_email`),rl=v(`ip_address`),il=v(`is_email_valid`),al=r.object({pipe_id:r.literal(tl),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[nl.name]:D({fieldName:nl.name}),[rl.name]:D({fieldName:rl.name})})),output_fields:z(r.object({[il.name]:A({fieldName:il.name})}))}).optional()}),ol=e=>U(H(q(nl,e)),Gi(q(rl,e))),sl={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},cl=class extends W{pipeId=tl;payload;payloadSchema=al;billableOperations=sl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return ol(this.payload.config)}getRawOutputFields(){return{[il.name]:this.catalogOutput(il)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},ll=al,ul={pipeId:tl,basePipe:G(tl),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:[V.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:sl,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:ol(null),defaultPayload:{pipe_id:tl,connector:null,trigger:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},dl=`email:send:gmail@1`,fl=v(`email`),pl=v(`email_subject`),ml=v(`email_body`),hl=v(`gmail_email_success`),gl=r.object({pipe_id:r.literal(dl),connector:ui(),trigger:w(),config:r.object({reply_to:xi({sectionKey:`general`,inputType:`email`,groupPath:`config.general`,label:`ReplyTo`,path:`config.reply_to`,info:`Email address recipients can reply to.`}).default(``),input_fields:B(r.object({[fl.name]:D({fieldName:fl.name}),[ml.name]:D({fieldName:ml.name}),[pl.name]:D({fieldName:pl.name})})),output_fields:z(r.object({[hl.name]:A({fieldName:hl.name})}))})}),_l=e=>U(H(q(fl,e)),H(q(ml,e)),H(q(pl,e))),vl={"send-email-gmail":{allowManagedConnection:!1,provider:`gmail`,credits:null,mode:null}},yl=class extends W{pipeId=dl;payload;payloadSchema=gl;billableOperations=vl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`gmail`]}estimateBillableOperations(){return[`send-email-gmail`]}getInputRequirement(){return _l(this.payload.config)}getRawOutputFields(){return{[hl.name]:this.catalogOutput(hl)}}getConnectionsRequirements(){return[{provider:`gmail`,rateLimitRatio:1,rateLimitOperation:`gmail_send_email`,allowManagedConnection:!1}]}},bl=gl,xl={pipeId:dl,basePipe:G(dl),label:`Send email`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Gmail`,detailed_description:`Send an email via Gmail. Requires input fields: email (recipient), email_subject, email_body — typically produced by email:write@1. Requires a Gmail vault connection (call list_connections to find one).`,tags:[V.EMAIL],docPath:K(dl),billableOperations:vl,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`gmail`],defaultInputRequirement:_l(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:dl,connector:{strategy:`first`,connections:[]},trigger:null,config:{reply_to:``,input_fields:{email:{alias:``},email_body:{alias:``},email_subject:{alias:``}},output_fields:{gmail_email_success:{alias:``,enabled:!0}}}}},Sl=`email:send:resend@1`,Cl=v(`email`),wl=v(`email_subject`),Tl=v(`email_body`),El=v(`resend_email_success`),Dl=r.object({pipe_id:r.literal(Sl),connector:ui(),trigger:w(),config:r.object({from:xi({sectionKey:`general`,inputType:`email`,label:`From Email`,groupPath:`config.general`,path:`config.from`,minLength:3,info:`Email address of sender`}),reply_to:xi({sectionKey:`general`,inputType:`email`,groupPath:`config.general`,label:`ReplyTo`,path:`config.reply_to`,info:`Email address recipients can reply to.`}).default(``),input_fields:B(r.object({[Cl.name]:D({fieldName:Cl.name}),[Tl.name]:D({fieldName:Tl.name}),[wl.name]:D({fieldName:wl.name})})),output_fields:z(r.object({[El.name]:A({fieldName:El.name})}))})}),Ol=e=>U(H(q(Cl,e)),H(q(Tl,e)),H(q(wl,e))),kl={"send-email-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Al=class extends W{pipeId=Sl;payload;payloadSchema=Dl;billableOperations=kl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`send-email-resend`]}getInputRequirement(){return Ol(this.payload.config)}getRawOutputFields(){return{[El.name]:this.catalogOutput(El)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},jl=Dl,Ml={pipeId:Sl,basePipe:G(Sl),label:`Send email with Resend`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Resend`,detailed_description:`Send an email via Resend. Requires input fields: email (recipient), email_subject, email_body — typically produced by email:write@1. Requires a Resend vault connection (call list_connections to find one).`,tags:[V.EMAIL],docPath:K(Sl),billableOperations:kl,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:Ol(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Sl,connector:{strategy:`first`,connections:[]},trigger:null,config:{from:``,reply_to:``,input_fields:{email:{alias:``},email_body:{alias:``},email_subject:{alias:``}},output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},Nl={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 Nl[e]}function Pl(e,t){return typeof t==`string`?t:t(e)}function Fl(e,t){return typeof t==`string`||t===null?t:t(e)}function Il(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:Pl(e,a[r].type),format:Fl(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 Ll(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:Pl(e,r[t].type),format:Fl(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function Rl(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=en(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=>Ll(t,e)?.type||n,format:r};a.push(t.required?H(i):Gi(i))}return U(...a)}function zl(e){let t=new Set;for(let n of e)if(n)try{let e=en(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}const Bl=`email:write@1`,Vl=Sr(`write-email`),Hl=v(`email_subject`),Ul=v(`email_body`),Wl=r.object({pipe_id:r.literal(Bl),connector:T(),trigger:w(),config:r.object({template:si({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Vl}),signature:Si({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:Ci({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:z(r.object({[Hl.name]:A({fieldName:Hl.name}),[Ul.name]:A({fieldName:Ul.name})}))})}),Gl=class extends W{pipeId=Bl;payload;payloadSchema=Wl;billableOperations=Vl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Cr(this.payload.config.model)}estimateBillableOperations(){return[wr(this.payload.config.model,`write-email`)]}getInputRequirement(){return Rl([this.payload.config.template])}getSecretRequirements(){return zl([this.payload.config.template])}getRawOutputFields(){return{[Hl.name]:this.catalogOutput(Hl),[Ul.name]:this.catalogOutput(Ul)}}getConnectionsRequirements(){return Tr(this.payload.config.model)}},Kl=Wl,ql={pipeId:Bl,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(Bl),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:[V.AI],docPath:K(Bl),defaultInputRequirement:null,billableOperations:Vl,allowedUserConnectionProviders:Er(),managedProviders:Er(),deprecatedProviders:[],defaultPayload:{pipe_id:Bl,connector:null,trigger:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-gpt-latest`,signature:``}}},Jl=`field:domainify@1`,Yl=v(`url_input`),Xl=v(`domain`),Zl=r.object({pipe_id:r.literal(Jl),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[Yl.name]:D({fieldName:Yl.name})})),output_fields:z(r.object({[Xl.name]:A({fieldName:Xl.name})}))}).optional()}),Ql=e=>H(q(Yl,e)),$l={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},eu=class extends W{pipeId=Jl;payload;payloadSchema=Zl;billableOperations=$l;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Ql(this.payload.config)}getRawOutputFields(){return{[Xl.name]:this.catalogOutput(Xl)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},tu=Zl,nu={pipeId:Jl,basePipe:G(Jl),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[V.LOGIC,V.FIELDS],docPath:K(Jl),billableOperations:$l,defaultInputRequirement:Ql(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Jl,trigger:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},ru=`field:slugify@1`,iu=v(`string_input`),au=v(`slugified`),ou=r.object({pipe_id:r.literal(ru),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[iu.name]:D({fieldName:iu.name})})),output_fields:z(r.object({[au.name]:A({fieldName:au.name})}))}).optional()}),su=e=>H(q(iu,e)),cu={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},lu=class extends W{pipeId=ru;payload;payloadSchema=ou;billableOperations=cu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return su(this.payload.config)}getRawOutputFields(){return{[au.name]:this.catalogOutput(au)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},uu=ou,du={pipeId:ru,basePipe:G(ru),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[V.LOGIC,V.FIELDS],docPath:K(ru),billableOperations:cu,defaultInputRequirement:su(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ru,trigger:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function fu({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function pu(e){switch(e.kind){case`field`:return fu(e.field);case`optional`:return`[optional ${fu(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?pu(e.of[0]):`(${e.of.map(pu).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?pu(e.of[0]):`(${e.of.map(pu).join(` OR `)})`}}function mu(e){return`Pipe input requirement is not satisfied: ${pu(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var hu=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})=>({code:`RequirementUnmet`,message:mu(e)}),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 ${fu(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 gu=class extends Error{},Q=class extends gu{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 _u=`fields:merge@1`,vu=v(`merge_result`),yu=r.object({pipe_id:r.literal(_u),connector:E(),trigger:w(),config:r.object({sources:fi({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:z(r.object({[vu.name]:A({fieldName:vu.name})}))})}),bu={"pipe0-field-or":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},xu=class extends W{pipeId=_u;payload;payloadSchema=yu;billableOperations=bu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-field-or`]}getInputRequirement(){let e=this.payload.config.sources.map(e=>e.field_name),t;return Wi(...this.payload.config.sources.map(n=>H({format:null,type:r=>{let i=Il(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{[vu.name]:this.catalogOutput(vu,{resolveType:e=>{let t=Il(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}]}},Su=yu,Cu={pipeId:_u,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(_u),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:[V.FIELDS,V.LOGIC],docPath:K(_u),defaultInputRequirement:null,billableOperations:bu,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:_u,connector:null,trigger:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},wu=`http:request@1`,Tu=v(`http_response_status`),Eu=v(`http_response_body`),Du=v(`http_response_headers`),Ou=r.object({pipe_id:r.literal(wu),connector:E(),trigger:w(),config:r.object({method:Ci({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:ci({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:gi({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:ci({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:`{
|
|
67
|
+
How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,format:`json_list_string`,description:`Rich JSON post list`,jsonMeta:{zodSchema:je,exampleValue:Me}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:it,exampleValue:at}},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:re,exampleValue:g}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:ne,exampleValue:h}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(Ce),exampleValue:[we]}},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:Xe,zodSchema:Ye}},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:nt,exampleValue:rt},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},Tt={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=xt(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_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=Ct(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=Ct(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=Ct(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},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:m.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:m.linkedin}}}},crustdata_company_match:{},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{...wt[e],name:e}}function Et(e,t){if(Ot(e,t))return Tt[e]}function Dt(e){return e in wt}function Ot(e,t){return e in wt?wt[e].format===t:!1}const kt={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function At(e){return kt[e]}const jt=(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},Mt=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},Nt=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},Pt=(...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 Ft(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 It=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],Lt=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],Rt=/^[A-Z][A-Z0-9_]*$/,zt=/^[A-Z][A-Z0-9_]*$/,Bt=/^[a-zA-Z_][a-zA-Z0-9_]*$/,Vt=`SECRETS`,Ht=`CONSTANTS`,Ut=new Set(It),Wt=new Set(Lt),Gt=e=>`{${e}}`;var Kt=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Rt.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]}},qt=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!zt.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 Jt(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(!Bt.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 Yt(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=Jt(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(Gt(n.name))}});for(let t of Object.keys(e.tags))Ut.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))Wt.has(t)||delete e.filters[t];return e}let Xt=null;function Zt(){return Xt||=Yt(),Xt}async function Qt(e,t,n={}){let r=Zt(),i=n.renderLimitMs??250,a={...t.inputs??{},[Vt]:new Kt(t.secrets??{}),[Ht]:new qt(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 $t(e,t,n={}){let r=Zt(),i=n.renderLimitMs??250,a={...t.inputs??{},[Vt]:new Kt(t.secrets??{}),[Ht]:new qt(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function en(e){return Zt().parse(e)}function tn(e){let t=Zt().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};nn(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 nn(e,t){for(let n of e)rn(n,t)}function rn(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){ln(n.value,t,!1);return}if(typeof n.name==`string`){an(n,t);return}}function an(e,t){switch(e.name){case`for`:on(e,t);return;case`if`:case`unless`:sn(e,t);return;case`output`:cn(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function on(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&&un(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),nn(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),nn(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function sn(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=pn(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&ln(i,t,!1),nn(r.templates,t),a&&t.guardStack.pop()}nn(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function cn(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=Jt(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 ln(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)mn(n)&&fn(n,t,i);for(let n of e.filters)for(let e of n.args)dn(e,t)}function un(e,t,n){mn(e)&&fn(e,t,n)}function dn(e,t){if(Array.isArray(e)){let n=e[1];n&&un(n,t,!1)}else un(e,t,!1)}function fn(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!hn(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!hn(e))throw Error(`Invalid SECRETS reference — expected SECRETS.KEY (got ${vn(r)}).`);let n=e.content;if(!Rt.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||!hn(e))throw Error(`Invalid CONSTANTS reference — expected CONSTANTS.KEY (got ${vn(r)}).`);let n=e.content;if(!zt.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 pn(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&mn(t)&&t.props.length===1){let e=t.props[0];if(e&&hn(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&mn(t)&&t.props.length===1){let e=t.props[0];if(e&&hn(e)&&gn(n)&&_n(r,[`==`,`!=`]))return e.content}}return null}function mn(e){return e.kind===o.PropertyAccess}function hn(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function gn(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function _n(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function vn(e){let t=[];for(let n of e)n&&hn(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}const yn=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_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.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_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(`.`)),bn=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`]),xn=r.enum([`production`,`sandbox`]),Sn=`prompt:run@1.company:newssummary:website@1.company:techstack:builtwith@1.company:websiteurl:email@1.company:funding:leadmagic@1.people:workemail:waterfall@1.people:email:iswork@1.people:name:split@1.person:name:join@1.people:validate:email:zerobounce@1.people:email:validate:zerobounce@2.people:mobilenumber:workemail:waterfall@1.company:overview@1.company:overview@2.json:extract@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:identity:amplemarket@1.company:identity@2.person:match:amplemarket@1.people:phone:profile:waterfall@1.people:personalemail:profile:waterfall@1.people:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone: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:match:logodev@1.person:posts:crustdata@1.company:match:crustdata@1.people:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.people:identity:email: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(`.`),Cn=r.enum(Sn),wn=[`string`,`number`,`boolean`,`json`,`unknown`],Tn=r.enum(wn),En=r.union([r.number(),r.string()]),Dn=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),On=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),kn=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),An=r.object({}),jn=An.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),Mn=An.extend({emoji:r.string().describe(`Country flag emoji.`)}),Nn=An.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),Pn=An.extend({attempted_providers:r.array(r.object({provider:bn})),available_providers:r.array(bn),successful_provider:bn.optional()}),Fn=r.enum([`linkedin`,`job`]),In=An.extend({key:Fn}).optional(),Ln=r.object({result_status:r.enum([`completed`,`failed`])}).optional(),Rn=r.object({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),zn=r.object({numeric:r.int().min(1).max(5)}).optional(),Bn=r.object({display_value:r.object({label:r.string().optional()}),entity_logo:jn.optional(),location_indicator:Mn.optional(),avatar:Nn.optional(),waterfall:Pn.optional(),icon:In,action_summary:Ln,sources:Rn,confidence:zn}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Vn=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),Hn=r.object({code:r.string(),summary:r.string(),message:r.string()}),Un=[`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`],Wn=r.enum(Un);Wn.nullable();const Gn=r.object({type:Tn,label:r.string().nullable().optional(),format:Wn.nullable().optional(),json_metadata:kn.nullable().optional()}),Kn=r.record(r.string(),Gn),qn=r.enum([...Sn,`input`]).nullable(),Jn=r.enum([...Sn,`input`,`system`]).nullable(),Yn=r.object({ref:qn,config_hash:r.string().nullable()}),Xn=r.object({ref:Jn,environment:xn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Zn=r.object({value:On,status:Dn,type:Tn,reason:Hn.nullable(),claimed_by:Yn,resolved_by:Xn.nullable(),widgets:Bn.optional(),format:Wn.nullable()}),Qn=r.object({value:On,status:Dn,reason:Hn.nullable().optional(),type:Tn.optional(),format:Wn.nullable().optional(),claimed_by:Yn.optional(),resolved_by:Xn.nullable().optional(),widgets:Bn.optional()}),$n=r.record(r.string(),r.union([On,Qn])).openapi(`PipesInput`),er=r.object({id:En,fields:r.record(En,Zn)}),tr=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),nr=r.object({type:Tn,label:r.string(),added_by:r.object({ref:r.union([Cn,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:Wn.nullable()}),rr=r.record(r.string(),nr),ir=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:Wn.nullable().default(null),label:r.string().optional(),type:Tn})})).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)})})}),ar=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),or={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},sr=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],cr=[`eq`,`neq`],lr=r.object({type:r.literal(`vault`),connection:r.string()}),v=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(lr)}).nullable().optional(),ur=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(lr).min(1,{message:`Provide your own credentials to use this object.`})}),dr=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(),fr=r.enum(sr),pr=r.enum(cr),mr=r.enum([`failed`,`no_result`,`completed`,`skipped`]),hr=r.object({action:r.enum([`run`]).describe(`Always "run". The pipe runs only when conditions are met; otherwise the record is skipped.`),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:fr.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:pr.describe(`Status comparison operator: "eq" or "neq".`),value:mr.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(`Conditional trigger for a pipe. When set, the pipe only runs on records matching the conditions. Example: { "action": "run", "when": { "logic": "and", "conditions": [{ "property": "status", "field_name": "work_email", "operator": "neq", "value": "no_result" }] } }`),gr={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}};function _r(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:bn.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function vr(e){return`${e.provider}_${e.id}`}const yr=new s;function br(e){return yr.validateSchema(e)}function xr(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 Sr=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],Cr={"gemini-flash-latest":{provider:`gemini`,rateLimitOperation:`gemini_25_flash_preview`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`},"openai-gpt-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:1,billingMode:`always`},"openai-gpt-mini-latest":{provider:`openai`,rateLimitOperation:`openai_gpt-5-mini`,rateLimitRatio:1,allowManagedConnection:!0,defaultCredits:.5,billingMode:`always`}};function wr(e,t){let n={};for(let r of Sr){let i=Cr[r],a=`${r}-${e}`;n[a]={credits:t?.[r]??i.defaultCredits,allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function Tr(e){let t=Cr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function Er(e,t){return`${e}-${t}`}function Dr(e){let t=Cr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function Or(){let e=new Set;for(let t of Sr)e.add(Cr[t].provider);return[...e]}function kr(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(jt(e.requires.connection));for(let n of e.requires.fields??[])t.push(Mt(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]:Nt(...t)}function Ar(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=Ft(e,n,t),s=Dt(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(),max:r.number().nullable()}),include_exclude_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),include_exclude_select_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),async_include_exclude_select_input:r.object({include:r.array(r.string()),exclude:r.array(r.string())}),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()),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_trigger_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())])},jr=(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},Mr=(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},Nr=(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)=>{si({value:e.key,issues:t.issues},!1,[n,`key`]),si({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},Pr=(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)`})}).default({include:[],exclude:[]});return e.description&&r.describe(e.description),t.add(r,{type:`include_exclude_input`,...e}),r},Fr=()=>{let e=ir;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}=Ar(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`config.extractions`}}),e},Ir=(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(e=>({value:e,label:gr[e].label,widgets:{provider_logo:{provider:e}}}));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},Lr=(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)`})}).default({include:[],exclude:[]});return e.description&&r.describe(e.description),t.add(r,{type:`include_exclude_select_input`,...e}),r},Rr=(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},zr=(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},Br=(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},Vr=(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},Hr=(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},Ur=(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},Wr=(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},Gr=(e,t,n=`config.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})},Kr=(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},qr=(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},Jr=(e,t)=>{let n=x.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{br(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{xr(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},Yr=(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},Xr=({billableOperations:e,...t},n)=>{let i=r.enum(Sr).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:Sr.map(t=>{let n=e[Object.keys(e).find(e=>e.startsWith(t))];if(!n)throw Error(`Unable to find billig info for model ${t}`);return{label:t,value:t,widgets:{logo:{url:gr[Cr[t].provider].logoUrl},pricing:{credits:n.credits}}}}),required:!0,description:``,label:`AI Models`,...t}),i},Zr=(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(`, `)}`})})});return t.add(a,{type:`multi_select_input`,...e}),a},Qr=(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??kr(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},$r=(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}`})}}});return t.add(n,{type:`min_max_int_input`,...e}),n},ei=(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`})});return t.add(n,{type:`async_multi_select_input`,...e}),n},ti=(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)`})}).default({include:[],exclude:[]});return t.add(r,{type:`async_include_exclude_select_input`,...e}),r};function ni(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=hr.nullish();return y.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_trigger_input`,groupPath:`trigger`,path:`trigger`,sectionKey:`conditions`,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},ri={"config.pipe_io":{type:`form_section`,label:`In- and outputs`,description:`Configure output fields and reassign inputs.`,path:`config.pipe_io`},"config.input_fields":{type:`form_section`,label:`Input fields`,description:`Reassign pipe inputs.`,path:`config.input_fields`},"config.output_fields":{type:`form_section`,label:`Output fields`,description:`Rename or toggle outputs.`,path:`config.output_fields`},"config.extractions":{type:`form_section`,label:`Extractions`,description:`Use Jsonata syntax to extract nested JSON values.`,path:`config.json_extraction`},conditions:{type:`form_section`,path:`trigger`,label:`Conditions`,description:`Execute pipes when conditions are met.`,mode:`dynamic`},connector:{type:`form_section`,path:`connector`,label:`Connector`,description:`Provide your own credentials for external providers.`,mode:`dynamic`},"config.filters":{type:`form_section`,label:`Filters`,path:`config.filters`,description:`Narrow down the search output`},general:{type:`form_section`,path:`general`},pagination:{type:`form_section`,path:`pagination`}},ii={general:1,pagination:2,conditions:999,connector:998,"config.filters":3,"config.input_fields":10,"config.output_fields":11,"config.pipe_io":10,"config.extractions":1};function ai({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 oi=({schema:e,groupPathMatch:t,extractFromSchema:n,sectionOrder:i=ii,store:a,formResolvers:o})=>{let s={};function c(e){let i=n(e);if(i){s[i.sectionKey]??={type:`section`,groups:[],metadata:ri[i.sectionKey]};let e=s[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=ai({fieldMetadata:i,store:a,formResolvers:o});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=ai({fieldMetadata:i,store:a,formResolvers:o});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`&&c(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))c(t)}c(e);let l=Object.values(s);return l.forEach(e=>e.groups.sort((e,t)=>(e.order??99)-(t.order??99))),[...l].filter(e=>e.groups.length!==0).sort((e,t)=>(i?.[e.metadata?.path||``]??99)-(i?.[t.metadata?.path||``]??99))};function si(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=tn(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const ci=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>si(e,t,[`template`])).describe(e.description||'Liquid prompt with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, 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},li=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>si(e,!1,[])).describe(e.description||'Liquid template with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, 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) and \`{{ SECRETS.KEY }}\` for encrypted secrets.`,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=>si(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??kr(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 ui(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:`connector`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:vr({id:e.public_id,provider:e.provider})}))}})}const di=()=>{let e=ur;return ui(e,`required`),e},w=()=>{let e=v;return ui(e,`optional`),e},T=()=>{let e=dr;return ui(e,`disabled`),e};function fi(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:`config.pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:fi(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=>Ir(e,y),pi=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},mi=e=>Pr(e,y),hi=e=>jr(e,y),gi=e=>Mr(e,y),_i=e=>Nr(e,y),vi=e=>Lr(e,y),yi=e=>ti(e,y),bi=e=>Rr(e,y),xi=e=>Br(e,y),O=e=>Vr(e,y),k=e=>Gr(e,y),Si=e=>Ur(e,y),Ci=e=>Wr(e,y),wi=e=>Yr(e,y),Ti=e=>Xr(e,y),Ei=e=>Zr(e,y),Di=e=>Kr(e,y),Oi=e=>qr(e,y),ki=e=>Jr(e,y),Ai=e=>Qr(e,y),A=e=>jr(e,b),ji=e=>Mr(e,b),Mi=e=>$r(e,b),j=e=>Pr(e,b),M=e=>Lr(e,b),Ni=e=>Rr(e,b),Pi=e=>zr(e,b),Fi=e=>Br(e,b),Ii=e=>Vr(e,b),Li=e=>Hr(e,b),N=e=>Gr(e,b,`config.output_fields`),Ri=e=>Ur(e,b),zi=e=>Wr(e,b),Bi=e=>Yr(e,b),P=e=>Zr(e,b),F=e=>ei(e,b),I=e=>ti(e,b),L=e=>Kr(e,b),Vi=e=>qr(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 Hi(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]=Hi(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 ❌`},Ui=e=>typeof e.kind==`string`,Wi=e=>Ui(e)?e:{kind:`field`,field:e},V=e=>({kind:`field`,field:e}),Gi=(...e)=>({kind:`all`,of:e.map(Wi)}),Ki=(...e)=>({kind:`any`,of:e.map(Wi)}),qi=e=>({kind:`optional`,field:e});function Ji(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Ji(e,t));case`any`:return e.of.some(e=>Ji(e,t))}}function Yi(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(Yi)}}function Xi(e,t){let n=Zi(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Zi(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=Zi(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=Zi(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Qi(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Qi).filter(e=>!et(e));let t={};for(let[n,r]of Object.entries(e)){let e=Qi(r);et(e)||(t[n]=e)}return t}const $i=await l();var ea=class e{static hashObject(t){if(!$i)throw Error(`HashAPI not initialized`);let{h64ToString:n}=$i,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 ta(e,t){let n={pipeId:e,config:Qi(t)};return ea.hashObject(n)}function na(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:ea.hashObject(Qi(n))}var H=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}catalogOutput(e,{receivesMovementWidgets:t=!1,resolveFormat:n,resolveType:r}={resolveType:void 0,resolveFormat:void 0,receivesMovementWidgets:!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,receivesMovementWidgets: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 Yi(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return ta(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return na(e,this.inputFields)}};function ra(e){return Yi(e).map(({field:e})=>e)}function ia({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function aa({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function oa({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 sa(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 ca(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function la(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function U(e){return e.split(`@`)[0]}function W(e){return`/docs/pipes/pipes-catalog/${U(e)}/${e.split(`@`)[1]}`}function G(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 ua=`company:funding:leadmagic@1`,da=_(`company_name`),fa=_(`company_website_url`),pa=_(`funding_history`),ma=_(`funding_total_usd`),ha=_(`leadmagic_competitor_list`),ga=_(`leadmagic_acquisition_history`),_a=_(`leadmagic_company_news_list`),va=r.object({pipe_id:r.literal(ua),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[da.name]:E({fieldName:da.name}),[fa.name]:E({fieldName:fa.name})})),output_fields:R(r.object({[pa.name]:k({fieldName:pa.name}),[ma.name]:k({fieldName:ma.name}),[ha.name]:k({fieldName:ha.name}),[ga.name]:k({fieldName:ga.name}),[_a.name]:k({fieldName:_a.name})}))}).optional()}),ya=e=>Ki(G(da,e),G(fa,e)),ba={"get-company-funding-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},xa=class extends H{pipeId=ua;payload;payloadSchema=va;billableOperations=ba;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`get-company-funding-leadmagic`]}getInputRequirement(){return ya(this.payload.config)}getRawOutputFields(){return{[pa.name]:this.catalogOutput(pa),[ma.name]:this.catalogOutput(ma)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},Sa=va,Ca={pipeId:ua,basePipe:U(ua),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[B.FINANCIAL_DATA],docPath:W(ua),billableOperations:ba,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:ya(null),defaultPayload:{pipe_id:ua,connector:null,trigger: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:``}}}}},wa=_(`company_name`),Ta=_(`company_profile_url`),Ea=_(`company_website_url`),Da=_(`cleaned_company_name`),Oa=`company:identity@2`,ka=r.object({pipe_id:r.literal(Oa),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[wa.name]:E({fieldName:wa.name})})),output_fields:R(r.object({[Ta.name]:k({fieldName:Ta.name}),[Da.name]:k({fieldName:Da.name}),[Ea.name]:k({fieldName:Ea.name})}))}).optional()}),Aa=e=>V(G(wa,e)),ja={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},Ma=class extends H{pipeId=Oa;payload;payloadSchema=ka;billableOperations=ja;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return Aa(this.payload.config)}getRawOutputFields(){return{[Ta.name]:this.catalogOutput(Ta),[Ea.name]:this.catalogOutput(Ea),[Da.name]:this.catalogOutput(Da)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_25_flash_preview`,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}]}},Na=ka,Pa={pipeId:Oa,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(Oa),label:`Find 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:W(Oa),billableOperations:ja,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Aa(null),defaultPayload:{pipe_id:Oa,connector:null,trigger: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}}}}},Fa=_(`company_website_url`),Ia=_(`companyenrich_matches`),La=`company:lookalikes:companyenrich@1`,Ra=r.object({pipe_id:r.literal(La),trigger:S(),connector:w(),config:r.object({limit:Di({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({[Fa.name]:E({fieldName:Fa.name})})),output_fields:R(r.object({[Ia.name]:k({fieldName:Ia.name})}))}).optional()}),za=e=>V(G(Fa,e)),Ba={companyenrich_lookalike_result:{allowManagedConnection:!0,credits:.2,mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Va=class extends H{pipeId=La;payload;payloadSchema=Ra;billableOperations=Ba;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`companyenrich_lookalike_result`)}getInputRequirement(){return za(this.payload.config)}getRawOutputFields(){return{[Ia.name]:this.catalogOutput(Ia)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Ha=Ra,Ua={pipeId:La,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(La),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:W(La),billableOperations:Ba,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:za(null),defaultPayload:{pipe_id:La,connector:null,trigger:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Wa=_(`company_website_url`),Ga=_(`crustdata_companyenrich_match`),Ka=`company:match:crustdata@1`,qa=r.object({pipe_id:r.literal(Ka),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[Wa.name]:E({fieldName:Wa.name})})),output_fields:R(r.object({[Ga.name]:k({fieldName:Ga.name})}))}).optional()}),Ja=e=>V(G(Wa,e)),Ya={crustdata_company_enrich:{allowManagedConnection:!0,credits:2,mode:`onSuccess`,provider:`crustdata`}},Xa=class extends H{pipeId=Ka;payload;payloadSchema=qa;billableOperations=Ya;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata_company_enrich`]}getInputRequirement(){return Ja(this.payload.config)}getRawOutputFields(){return{[Ga.name]:this.catalogOutput(Ga)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Za=qa,Qa={pipeId:Ka,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(Ka),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:W(Ka),billableOperations:Ya,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Ja(null),defaultPayload:{pipe_id:Ka,connector:null,trigger:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},$a=_(`company_website_url`),eo=_(`company_name`),to=_(`company_profile_url`),no=_(`logodev_describe_match`),ro=_(`logo_url`),io=`company:match:logodev@1`,ao=r.object({pipe_id:r.literal(io),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[$a.name]:E({fieldName:$a.name})})),output_fields:R(r.object({[to.name]:k({fieldName:to.name}),[ro.name]:k({fieldName:ro.name}),[eo.name]:k({fieldName:eo.name}),[no.name]:k({fieldName:no.name})}))}).optional()}),oo=e=>V(G($a,e)),so={"logodev-company-describe":{allowManagedConnection:!0,credits:.1,mode:`onSuccess`,provider:`logodev`}},co=class extends H{pipeId=io;payload;payloadSchema=ao;billableOperations=so;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`logodev-company-describe`]}getInputRequirement(){return oo(this.payload.config)}getRawOutputFields(){return{[to.name]:this.catalogOutput(to),[eo.name]:this.catalogOutput(eo),[ro.name]:this.catalogOutput(ro),[no.name]:this.catalogOutput(no)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},lo=ao,uo={pipeId:io,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(io),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:W(io),billableOperations:so,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:oo(null),defaultPayload:{pipe_id:io,connector:null,trigger: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}}}}},fo=`company:newssummary:website@1`,po=_(`company_news_summary`),mo=_(`company_website_url`),ho=r.object({pipe_id:r.literal(fo),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[mo.name]:E({fieldName:mo.name})})),output_fields:R(r.object({[po.name]:k({fieldName:po.name})}))}).optional()}),go=e=>V(G(mo,e)),_o={"pipe0-get-company-news-summary":{allowManagedConnection:!0,credits:1,mode:`always`,provider:`pipe0`}},vo=class extends H{pipeId=fo;payloadSchema=ho;billableOperations=_o;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-news-summary`]}getInputRequirement(){return go(this.payload.config)}getRawOutputFields(){return{[po.name]:this.catalogOutput(po)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},yo=ho,bo={pipeId:fo,basePipe:U(fo),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:W(fo),billableOperations:_o,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:go(null),defaultPayload:{pipe_id:fo,trigger:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},xo=_(`company_website_url`),So=_(`company_profile_url`),Co=_(`company_description`),wo=_(`company_industry`),To=_(`company_region`),Eo=_(`headcount`),Do=_(`estimated_revenue`),Oo=_(`founded_year`),ko=_(`company_name`),Ao=`company:overview@2`,jo=r.object({pipe_id:r.literal(Ao),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[xo.name]:E({fieldName:xo.name}),[So.name]:E({fieldName:So.name})})),output_fields:R(r.object({[Co.name]:k({fieldName:Co.name}),[wo.name]:k({fieldName:wo.name}),[To.name]:k({fieldName:To.name}),[Eo.name]:k({fieldName:Eo.name}),[Do.name]:k({fieldName:Do.name}),[Oo.name]:k({fieldName:Oo.name}),[ko.name]:k({fieldName:ko.name})}))}).optional()}),Mo=e=>Ki(G(xo,e),G(So,e)),No={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Po=class extends H{pipeId=Ao;payloadSchema=jo;billableOperations=No;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Mo(this.payload.config)}getRawOutputFields(){return{[Co.name]:this.catalogOutput(Co),[wo.name]:this.catalogOutput(wo),[To.name]:this.catalogOutput(To),[Eo.name]:this.catalogOutput(Eo),[Do.name]:this.catalogOutput(Do),[Oo.name]:this.catalogOutput(Oo),[ko.name]:this.catalogOutput(ko)}}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}]}},Fo=jo,Io={pipeId:Ao,basePipe:U(Ao),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:W(Ao),tags:[B.WEBSITE,B.LINKEDIN,B.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:No,defaultInputRequirement:Mo(null),defaultPayload:{pipe_id:Ao,trigger: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}}}}},Lo=_(`company_website_url`),Ro=_(`technology_list`),zo=_(`spending_trend`),Bo=_(`technology_match_builtwith`),Vo=`company:techstack:builtwith@1`,Ho=r.object({pipe_id:r.literal(Vo),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[Lo.name]:E({fieldName:Lo.name})})),output_fields:R(r.object({[Ro.name]:k({fieldName:Ro.name}),[Bo.name]:k({fieldName:Bo.name}),[zo.name]:k({fieldName:zo.name})}))}).optional()}),Uo=e=>V(G(Lo,e)),Wo={"builtwith-get-technology-stack":{provider:`builtwith`,allowManagedConnection:!0,credits:2,mode:`always`}},Go=class extends H{pipeId=Vo;payload;payloadSchema=Ho;billableOperations=Wo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`builtwith-get-technology-stack`]}getInputRequirement(){return Uo(this.payload.config)}getRawOutputFields(){return{[Ro.name]:this.catalogOutput(Ro),[Bo.name]:this.catalogOutput(Bo),[zo.name]:this.catalogOutput(zo)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Ko=Ho,qo={pipeId:Vo,basePipe:U(Vo),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:W(Vo),billableOperations:Wo,defaultInputRequirement:Uo(null),defaultPayload:{pipe_id:Vo,connector:null,trigger: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}}}}},Jo=`company:websiteurl:email@1`,Yo=_(`company_website_url`),Xo=_(`email`),Zo=r.object({pipe_id:r.literal(Jo),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[Xo.name]:E({fieldName:Xo.name})})),output_fields:R(r.object({[Yo.name]:k({fieldName:Yo.name})}))}).optional()}),Qo=e=>V(G(Xo,e)),$o={"pipe0-get-website-url":{credits:0,allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},es=class extends H{pipeId=Jo;payload;payloadSchema=Zo;billableOperations=$o;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-website-url`]}getInputRequirement(){return Qo(this.payload.config)}getRawOutputFields(){return{[Yo.name]:this.catalogOutput(Yo)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ts=Zo,ns={pipeId:Jo,basePipe:U(Jo),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:W(Jo),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:$o,defaultInputRequirement:Qo(null),defaultPayload:{pipe_id:Jo,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},rs={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},is=`contact:create:resend@1`,as={"contact-create-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},os=_(`email`),ss=_(`name`),cs=_(`resend_contact_id`),ls=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],us=r.object({pipe_id:r.literal(is),connector:di(),trigger:S(),config:r.object({segment_id:Ai({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:jt(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return ls;if(!t)throw new rs.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 rs.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({[ss.name]:E({fieldName:ss.name}),[os.name]:E({fieldName:os.name})})),output_fields:R(r.object({[cs.name]:k({fieldName:cs.name})}))})}),ds=e=>Gi(V(G(os,e)),V(G(ss,e))),fs=class extends H{pipeId=is;payload;payloadSchema=us;billableOperations=as;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend`]}getInputRequirement(){return ds(this.payload.config)}getRawOutputFields(){return{[cs.name]:this.catalogOutput(cs)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},ps=us,ms={pipeId:is,basePipe:U(is),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[B.EMAIL],docPath:W(is),billableOperations:as,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:ds(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:is,connector:{strategy:`first`,connections:[]},trigger:null,config:{segment_id:``,add_as_subscribed:!0,input_fields:{name:{alias:``},email:{alias:``}},output_fields:{resend_contact_id:{alias:``,enabled:!0}}}}},hs=_(`company_name`),gs=_(`company_social_url`),_s=_(`company_website_url`),vs=_(`cleaned_company_name`),ys=`company:identity@1`,bs=r.object({pipe_id:r.literal(ys),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[hs.name]:E({fieldName:hs.name})})),output_fields:R(r.object({[gs.name]:k({fieldName:gs.name}),[vs.name]:k({fieldName:vs.name}),[_s.name]:k({fieldName:_s.name})}))}).optional()}),xs=e=>V(G(hs,e)),Ss={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},Cs=class extends H{pipeId=ys;payload;payloadSchema=bs;billableOperations=Ss;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return xs(this.payload.config)}getRawOutputFields(){return{[gs.name]:this.catalogOutput(gs),[_s.name]:this.catalogOutput(_s),[vs.name]:this.catalogOutput(vs)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_25_flash_preview`,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}]}},ws=bs,Ts={pipeId:ys,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(ys),label:`Find company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:Ss,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:xs(null),defaultPayload:{pipe_id:ys,connector:null,trigger: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}}}}},Es=_(`company_website_url`),Ds=_(`company_social_url`),Os=_(`company_description`),ks=_(`company_industry`),As=_(`company_region`),js=_(`headcount`),Ms=_(`estimated_revenue`),Ns=_(`founded_year`),Ps=`company:overview@1`,Fs=r.object({pipe_id:r.literal(Ps),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[Es.name]:E({fieldName:Es.name}),[Ds.name]:E({fieldName:Ds.name})})),output_fields:R(r.object({[Os.name]:k({fieldName:Os.name}),[ks.name]:k({fieldName:ks.name}),[As.name]:k({fieldName:As.name}),[js.name]:k({fieldName:js.name}),[Ms.name]:k({fieldName:Ms.name}),[Ns.name]:k({fieldName:Ns.name})}))}).optional()}),Is=e=>Ki(G(Es,e),G(Ds,e)),Ls={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Rs=class extends H{pipeId=Ps;payloadSchema=Fs;billableOperations=Ls;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Is(this.payload.config)}getRawOutputFields(){return{[Os.name]:this.catalogOutput(Os),[ks.name]:this.catalogOutput(ks),[As.name]:this.catalogOutput(As),[js.name]:this.catalogOutput(js),[Ms.name]:this.catalogOutput(Ms),[Ns.name]:this.catalogOutput(Ns)}}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}]}},zs=Fs,Bs={pipeId:Ps,basePipe:U(Ps),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:Ls,defaultInputRequirement:Is(null),defaultPayload:{pipe_id:Ps,trigger: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}}}}},Vs=`people:email:validate:zerobounce@1`,Hs=_(`work_email`),Us=_(`is_email_valid`),Ws=r.object({pipe_id:r.literal(Vs),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[Hs.name]:E({fieldName:Hs.name})})),output_fields:R(r.object({[Us.name]:k({fieldName:Us.name})}))}).optional()}),Gs=e=>V(G(Hs,e)),Ks={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},qs=class extends H{pipeId=Vs;payload;payloadSchema=Ws;billableOperations=Ks;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Gs(this.payload.config)}getRawOutputFields(){return{[Us.name]:this.catalogOutput(Us)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Js=Ws,Ys={pipeId:Vs,basePipe:U(Vs),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2025-11-01`,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:Ks,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Gs(null),defaultPayload:{pipe_id:Vs,connector:null,trigger:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}};function Xs(e){return(e.widgets||{}).display_value?.label}function Zs(e){console.dir(e,{depth:100})}function Qs(e){return typeof e==`object`&&e?JSON.stringify(e):e}function K(e){return e===0?1:e===1?.3:e===2?.2:.1}function $s(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=$s(e[n])}),t}const ec={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 q(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 tc=`people:mobilenumber:professionalprofile:waterfall@1`,nc=_(`professional_profile_url`),rc=_(`mobile_number`),ic=[`leadmagic`,`prospeo`],ac=[{provider:`leadmagic`},{provider:`prospeo`}],oc=r.object({pipe_id:r.literal(tc),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:ac,availableProviders:ic}),input_fields:z(r.object({[nc.name]:E({fieldName:nc.name})})),output_fields:R(r.object({[rc.name]:k({fieldName:rc.name})}))}).optional()}),sc=e=>V(G(nc,e)),cc={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},lc=class extends H{pipeId=tc;payload;payloadSchema=oc;billableOperations=cc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return sc(this.payload.config)}getRawOutputFields(){return{[rc.name]:this.catalogOutput(rc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},uc=oc,dc={pipeId:tc,basePipe:U(tc),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:cc,defaultInputRequirement:sc(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:ic,deprecatedProviders:[],allowedUserConnectionProviders:ic,defaultPayload:{pipe_id:tc,connector:null,trigger:null,config:{providers:ac,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},fc=`people:mobilenumber:workemail:waterfall@1`,pc=_(`work_email`),mc=_(`mobile_number`),hc=[`leadmagic`],gc=[{provider:`leadmagic`}],_c=r.object({pipe_id:r.literal(fc),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:hc,defaultProviders:gc}),input_fields:z(r.object({[pc.name]:E({fieldName:pc.name})})),output_fields:R(r.object({[mc.name]:k({fieldName:mc.name})}))}).optional()}),vc=e=>V(G(pc,e)),yc={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},bc=class extends H{pipeId=fc;payload;payloadSchema=_c;billableOperations=yc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return vc(this.payload.config)}getRawOutputFields(){return{[mc.name]:this.catalogOutput(mc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},xc=_c,Sc={pipeId:fc,basePipe:U(fc),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:yc,defaultInputRequirement:vc(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:hc,managedProviders:hc,deprecatedProviders:[],defaultPayload:{pipe_id:fc,connector:null,trigger:null,config:{providers:gc,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Cc=`people:professionalprofile:waterfall@1`,wc=_(`professional_profile`),Tc=_(`professional_profile_url`),Ec=[`prospeo`,`icypeas`],Dc=[{provider:`prospeo`},{provider:`icypeas`}],Oc=r.object({pipe_id:r.literal(Cc),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Ec,defaultProviders:Dc}),input_fields:z(r.object({[Tc.name]:E({fieldName:Tc.name})})),output_fields:R(r.object({[wc.name]:k({fieldName:wc.name})}))}).optional()}),kc=e=>V(G(Tc,e)),Ac={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},jc=class extends H{pipeId=Cc;payload;payloadSchema=Oc;billableOperations=Ac;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return kc(this.payload.config)}getRawOutputFields(){return{[wc.name]:this.catalogOutput(wc)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Mc=Oc,Nc={pipeId:Cc,basePipe:U(Cc),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:Ec,deprecatedProviders:[],allowedUserConnectionProviders:Ec,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Ac,defaultInputRequirement:kc(null),defaultPayload:{pipe_id:Cc,trigger:null,connector:null,config:{providers:Dc,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},Pc=`people:professionalprofileurl:email:waterfall@1`,Fc=_(`email`),Ic=_(`work_email`),Lc=_(`professional_profile_url`),Rc=[`leadmagic`],zc=[{provider:`leadmagic`}],Bc=r.object({pipe_id:r.literal(Pc),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:zc,availableProviders:Rc}),input_fields:z(r.object({[Fc.name]:E({fieldName:Fc.name}),[Ic.name]:E({fieldName:Ic.name})})),output_fields:R(r.object({[Lc.name]:k({fieldName:Lc.name})}))}).optional()}),Vc=e=>Ki(G(Fc,e),G(Ic,e)),Hc={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Uc=class extends H{pipeId=Pc;payload;payloadSchema=Bc;billableOperations=Hc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Vc(this.payload.config)}getRawOutputFields(){return{[Lc.name]:this.catalogOutput(Lc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Wc=Bc,Gc={pipeId:Pc,basePipe:U(Pc),managedProviders:Rc,deprecatedProviders:[],allowedUserConnectionProviders:Rc,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:Hc,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Vc(null),defaultPayload:{pipe_id:Pc,trigger:null,connector:null,config:{providers:zc,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Kc=`people:professionalprofileurl:name@1`,qc=_(`name`),Jc=_(`company_name`),Yc=_(`location_hint`),Xc=_(`professional_profile_url`),Zc=r.object({pipe_id:r.literal(Kc),connector:T(),trigger:S(),config:r.object({input_fields:z(r.object({[qc.name]:E({fieldName:qc.name}),[Jc.name]:E({fieldName:Jc.name}),[Yc.name]:E({fieldName:Yc.name})})),output_fields:R(r.object({[Xc.name]:k({fieldName:Xc.name})}))}).optional()}),Qc=e=>Gi(V(G(qc,e)),V(G(Jc,e)),qi(G(Yc,e))),$c={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},el=class extends H{pipeId=Kc;payload;payloadSchema=Zc;billableOperations=$c;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return Qc(this.payload.config)}getRawOutputFields(){return{[Xc.name]:this.catalogOutput(Xc)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},tl=Zc,nl={pipeId:Kc,basePipe:U(Kc),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:$c,defaultInputRequirement:Qc(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Kc,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},rl=`people:validate:email:zerobounce@1`,il=_(`work_email`),al=_(`ip_address`),ol=_(`is_email_valid`),sl=r.object({pipe_id:r.literal(rl),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[il.name]:E({fieldName:il.name}),[al.name]:E({fieldName:al.name})})),output_fields:R(r.object({[ol.name]:k({fieldName:ol.name})}))}).optional()}),cl=e=>Gi(V(G(il,e)),qi(G(al,e))),ll={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},ul=class extends H{pipeId=rl;payload;payloadSchema=sl;billableOperations=ll;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return cl(this.payload.config)}getRawOutputFields(){return{[ol.name]:this.catalogOutput(ol)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},dl=sl,fl={pipeId:rl,basePipe:U(rl),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2025-11-01`,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:ll,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:cl(null),defaultPayload:{pipe_id:rl,connector:null,trigger:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}};function pl(e,t){return typeof t==`string`?t:t(e)}function ml(e,t){return typeof t==`string`||t===null?t:t(e)}function hl(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:pl(e,a[r].type),format:ml(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 gl(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:pl(e,r[t].type),format:ml(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function J(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=tn(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=>gl(t,e)?.type||n,format:r};a.push(t.required?V(i):qi(i))}return Gi(...a)}function Y(e){let t=new Set;for(let n of e)if(n)try{let e=tn(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}const _l=`email:send:gmail@1`,vl=_(`gmail_email_success`),yl=r.object({pipe_id:r.literal(_l),connector:di(),trigger: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
|
+
|
|
69
|
+
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[vl.name]:k({fieldName:vl.name})}))})}),bl={"send-email-gmail":{allowManagedConnection:!1,provider:`gmail`,credits:null,mode:null}},xl=class extends H{pipeId=_l;payload;payloadSchema=yl;billableOperations=bl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`gmail`]}estimateBillableOperations(){return[`send-email-gmail`]}getTemplatedFields(){return[this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return J(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getRawOutputFields(){return{[vl.name]:this.catalogOutput(vl)}}getConnectionsRequirements(){return[{provider:`gmail`,rateLimitRatio:1,rateLimitOperation:`gmail_send_email`,allowManagedConnection:!1}]}},Sl=yl,Cl={pipeId:_l,basePipe:U(_l),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:W(_l),billableOperations:bl,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`gmail`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:_l,connector:{strategy:`first`,connections:[]},trigger:null,config:{to:``,reply_to:``,subject:``,body:``,output_fields:{gmail_email_success:{alias:``,enabled:!0}}}}},wl=`email:send:resend@1`,Tl=_(`resend_email_success`),El=r.object({pipe_id:r.literal(wl),connector:di(),trigger: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
|
+
|
|
71
|
+
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[Tl.name]:k({fieldName:Tl.name})}))})}),Dl={"send-email-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Ol=class extends H{pipeId=wl;payload;payloadSchema=El;billableOperations=Dl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`send-email-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 J(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getRawOutputFields(){return{[Tl.name]:this.catalogOutput(Tl)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},kl=El,Al={pipeId:wl,basePipe:U(wl),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:W(wl),billableOperations:Dl,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:wl,connector:{strategy:`first`,connections:[]},trigger:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},jl={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 jl[e]}const Ml=`email:write@1`,Nl=wr(`write-email`),Pl=_(`email_subject`),Fl=_(`email_body`),Il=r.object({pipe_id:r.literal(Ml),connector:w(),trigger:S(),config:r.object({template:li({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:Ti({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Nl}),signature:Ci({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:wi({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({[Pl.name]:k({fieldName:Pl.name}),[Fl.name]:k({fieldName:Fl.name})}))})}),Ll=class extends H{pipeId=Ml;payload;payloadSchema=Il;billableOperations=Nl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Tr(this.payload.config.model)}estimateBillableOperations(){return[Er(this.payload.config.model,`write-email`)]}getInputRequirement(){return J([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getRawOutputFields(){return{[Pl.name]:this.catalogOutput(Pl),[Fl.name]:this.catalogOutput(Fl)}}getConnectionsRequirements(){return Dr(this.payload.config.model)}},Rl=Il,zl={pipeId:Ml,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:U(Ml),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:W(Ml),defaultInputRequirement:null,billableOperations:Nl,allowedUserConnectionProviders:Or(),managedProviders:Or(),deprecatedProviders:[],defaultPayload:{pipe_id:Ml,connector:null,trigger:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-gpt-latest`,signature:``}}},Bl=`field:domainify@1`,Vl=_(`url_input`),Hl=_(`domain`),Ul=r.object({pipe_id:r.literal(Bl),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[Vl.name]:E({fieldName:Vl.name})})),output_fields:R(r.object({[Hl.name]:k({fieldName:Hl.name})}))}).optional()}),Wl=e=>V(G(Vl,e)),Gl={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Kl=class extends H{pipeId=Bl;payload;payloadSchema=Ul;billableOperations=Gl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Wl(this.payload.config)}getRawOutputFields(){return{[Hl.name]:this.catalogOutput(Hl)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ql=Ul,Jl={pipeId:Bl,basePipe:U(Bl),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:W(Bl),billableOperations:Gl,defaultInputRequirement:Wl(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Bl,trigger:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Yl=`field:slugify@1`,Xl=_(`string_input`),Zl=_(`slugified`),Ql=r.object({pipe_id:r.literal(Yl),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[Xl.name]:E({fieldName:Xl.name})})),output_fields:R(r.object({[Zl.name]:k({fieldName:Zl.name})}))}).optional()}),$l=e=>V(G(Xl,e)),eu={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},tu=class extends H{pipeId=Yl;payload;payloadSchema=Ql;billableOperations=eu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return $l(this.payload.config)}getRawOutputFields(){return{[Zl.name]:this.catalogOutput(Zl)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},nu=Ql,ru={pipeId:Yl,basePipe:U(Yl),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:W(Yl),billableOperations:eu,defaultInputRequirement:$l(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Yl,trigger:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function iu({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function au(e){switch(e.kind){case`field`:return iu(e.field);case`optional`:return`[optional ${iu(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?au(e.of[0]):`(${e.of.map(au).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?au(e.of[0]):`(${e.of.map(au).join(` OR `)})`}}function ou(e){return`Pipe input requirement is not satisfied: ${au(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var su=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})=>({code:`RequirementUnmet`,message:ou(e)}),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 ${iu(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 cu=class extends Error{},Q=class extends cu{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 lu=`fields:merge@1`,uu=_(`merge_result`),du=r.object({pipe_id:r.literal(lu),connector:T(),trigger:S(),config:r.object({sources:pi({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:R(r.object({[uu.name]:k({fieldName:uu.name})}))})}),fu={"pipe0-field-or":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},pu=class extends H{pipeId=lu;payload;payloadSchema=du;billableOperations=fu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-field-or`]}getInputRequirement(){let e=this.payload.config.sources.map(e=>e.field_name),t;return Ki(...this.payload.config.sources.map(n=>V({format:null,type:r=>{let i=hl(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{[uu.name]:this.catalogOutput(uu,{resolveType:e=>{let t=hl(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}]}},mu=du,hu={pipeId:lu,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:U(lu),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:W(lu),defaultInputRequirement:null,billableOperations:fu,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:lu,connector:null,trigger:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},gu=`http:request@1`,_u=_(`http_response_status`),vu=_(`http_response_body`),yu=_(`http_response_headers`),bu=r.object({pipe_id:r.literal(gu),connector:T(),trigger:S(),config:r.object({method:wi({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:_i({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:`{
|
|
68
72
|
"key": "value"
|
|
69
|
-
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}),headers:gi({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:Oi({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:z(r.object({[Tu.name]:A({fieldName:Tu.name}),[Eu.name]:A({fieldName:Eu.name}),[Du.name]:A({fieldName:Du.name})}))})}),ku={"pipe0-http-request":{provider:`pipe0`,allowManagedConnection:!0,credits:.001,mode:`always`}},Au=class extends W{pipeId=wu;payload;payloadSchema=Ou;billableOperations=ku;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-http-request`]}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 Rl(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return zl(this.getTemplatedFields())}getRawOutputFields(){return{[Tu.name]:this.catalogOutput(Tu),[Eu.name]:this.catalogOutput(Eu),[Du.name]:this.catalogOutput(Du)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ju=Ou,Mu={pipeId:wu,basePipe:G(wu),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:[V.LOGIC,V.JSON,V.NEW],docPath:K(wu),billableOperations:ku,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:wu,trigger: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}}}}},Nu=`json:extract@1`,Pu=r.object({pipe_id:r.literal(Nu),trigger:w(),connector:E(),config:r.object({json_extraction:Nr()})}),Fu={"pipe0-extract-json":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Iu=class extends W{pipeId=Nu;payload;payloadSchema=Pu;billableOperations=Fu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-extract-json`]}getInputRequirement(){return H({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,receivesMovementWidgets:!1};return e}getConnectionsRequirements(){return[]}},Lu=Pu,Ru={pipeId:Nu,basePipe:G(Nu),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:K(Nu),tags:[V.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:Fu,defaultInputRequirement:null,defaultPayload:{pipe_id:Nu,trigger:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},zu=`message:send:slack@1`,Bu=v(`message`),Vu=v(`slack_message_success`),Hu=r.object({pipe_id:r.literal(zu),connector:ui(),trigger:w(),config:r.object({channel_id:xi({sectionKey:`general`,inputType:`text`,label:`Channel ID`,groupPath:`config.general`,path:`config.channel_id`,minLength:3,info:`Your connection must be authorized to post to this channel.`}).default(``),input_fields:B(r.object({[Bu.name]:D({fieldName:Bu.name})})),output_fields:z(r.object({[Vu.name]:A({fieldName:Vu.name})}))})}),Uu=e=>H(q(Bu,e)),Wu={"send-message-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},Gu=class extends W{pipeId=zu;payload;payloadSchema=Hu;billableOperations=Wu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(){return[`send-message-slack`]}getInputRequirement(){return Uu(this.payload.config)}getRawOutputFields(){return{[Vu.name]:this.catalogOutput(Vu)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},Ku=Hu,qu={pipeId:zu,basePipe:G(zu),label:`Send message`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel by ID.`,detailed_description:`Send a Slack message. Requires input field: message — typically produced by message:write@1. Requires a Slack vault connection (call list_connections to find one).`,tags:[V.CHAT],docPath:K(zu),billableOperations:Wu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Uu(null),defaultPayload:{pipe_id:zu,connector:{strategy:`first`,connections:[]},trigger:null,config:{channel_id:``,input_fields:{message:{alias:``}},output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},Ju=`message:write@1`,Yu=v(`message`),Xu=Sr(`write-message`),Zu=r.object({pipe_id:r.literal(Ju),connector:T(),trigger:w(),config:r.object({template:si({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Xu}),output_fields:z(r.object({[Yu.name]:A({fieldName:Yu.name})}))})}),Qu=class extends W{pipeId=Ju;payload;payloadSchema=Zu;billableOperations=Xu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Cr(this.payload.config.model)}estimateBillableOperations(){return[wr(this.payload.config.model,`write-message`)]}getInputRequirement(){return Rl([this.payload.config.template])}getSecretRequirements(){return zl([this.payload.config.template])}getRawOutputFields(){return{[Yu.name]:this.catalogOutput(Yu)}}getConnectionsRequirements(){return Tr(this.payload.config.model)}},$u=Zu,ed={pipeId:Ju,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(Ju),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:[V.AI],docPath:K(Ju),defaultInputRequirement:null,billableOperations:Xu,allowedUserConnectionProviders:Er(),managedProviders:Er(),deprecatedProviders:[],defaultPayload:{pipe_id:Ju,connector:null,trigger:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},td=`people:email:iswork@1`,nd=v(`is_work_email`),rd=v(`email`),id=r.object({pipe_id:r.literal(td),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[rd.name]:D({fieldName:rd.name})})),output_fields:z(r.object({[nd.name]:A({fieldName:nd.name})}))}).optional()}),ad=e=>H(q(rd,e)),od={"pipe0-is-workemail-check":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},sd=class extends W{pipeId=td;payload;payloadSchema=id;billableOperations=od;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-is-workemail-check`]}getInputRequirement(){return ad(this.payload.config)}getRawOutputFields(){return{[nd.name]:this.catalogOutput(nd)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},cd=id,ld={pipeId:td,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[V.EMAIL,V.WORK_EMAIL],docPath:K(td),billableOperations:od,basePipe:G(td),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ad(null),defaultPayload:{pipe_id:td,trigger:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},ud=`people:email:validate:millionverifier@1`,dd=v(`email`),fd=v(`email_validation_status`),pd=v(`million_validation_match`),md=r.object({pipe_id:r.literal(ud),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[dd.name]:D({fieldName:dd.name})})),output_fields:z(r.object({[fd.name]:A({fieldName:fd.name}),[pd.name]:A({fieldName:pd.name})}))}).optional()}),hd=e=>H(q(dd,e)),gd={"millionverifier-validate-email":{provider:`millionverifier`,allowManagedConnection:!0,credits:.1,mode:`always`}},_d=class extends W{pipeId=ud;payload;payloadSchema=md;billableOperations=gd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`millionverifier-validate-email`]}getInputRequirement(){return hd(this.payload.config)}getRawOutputFields(){return{[fd.name]:this.catalogOutput(fd),[pd.name]:this.catalogOutput(pd)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},vd=md,yd={pipeId:ud,basePipe:G(ud),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[V.EMAIL],docPath:K(ud),billableOperations:gd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:hd(null),defaultPayload:{pipe_id:ud,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},bd=`people:email:validate:zerobounce@2`,xd=v(`email`),Sd=v(`zerobounce_validation_status`),Cd=v(`zerobounce_validation_match`),wd=r.object({pipe_id:r.literal(bd),connector:T(),trigger:w(),config:r.object({input_fields:B(r.object({[xd.name]:D({fieldName:xd.name})})),output_fields:z(r.object({[Cd.name]:A({fieldName:Cd.name}),[Sd.name]:A({fieldName:Sd.name})}))}).optional()}),Td=e=>H(q(xd,e)),Ed={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},Dd=class extends W{pipeId=bd;payload;payloadSchema=wd;billableOperations=Ed;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Td(this.payload.config)}getRawOutputFields(){return{[Sd.name]:this.catalogOutput(Sd),[Cd.name]:this.catalogOutput(Cd)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Od=wd,kd={pipeId:bd,basePipe:G(bd),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:[V.EMAIL],docPath:K(bd),billableOperations:Ed,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Td(null),defaultPayload:{pipe_id:bd,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},Ad=v(`email`),jd=v(`amplemarket_person_match`),Md=`people:identity:amplemarket@1`,Nd=r.object({pipe_id:r.literal(Md),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[Ad.name]:D({fieldName:Ad.name})})),output_fields:z(r.object({[jd.name]:A({fieldName:jd.name})}))}).optional()}),Pd=e=>H(q(Ad,e)),Fd={"amplemarket-people-identity":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Id=class extends W{pipeId=Md;payload;payloadSchema=Nd;billableOperations=Fd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Pd(this.payload.config)}getRawOutputFields(){return{[jd.name]:this.catalogOutput(jd)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Ld=Nd,Rd={pipeId:Md,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Md),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[V.PEOPLE_PROFILES],docPath:K(Md),billableOperations:Fd,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Pd(null),defaultPayload:{pipe_id:Md,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},zd=`people:identity:email:waterfall@1`,Bd=v(`email`),Vd=v(`company_website_url`),Hd=v(`name`),Ud=v(`job_title`),Wd=v(`profile_url`),Gd=v(`company_profile_url`),Kd=v(`company_name`),qd=[`findymail`,`hunter`,`crustdata`],Jd=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],Yd=r.object({pipe_id:r.literal(zd),connector:T(),trigger:w(),config:r.object({providers:O({availableProviders:qd,defaultProviders:Jd,sectionKey:`general`}),input_fields:B(r.object({[Bd.name]:D({fieldName:Bd.name})})),output_fields:z(r.object({[Hd.name]:A({fieldName:Hd.name}),[Wd.name]:A({fieldName:Wd.name}),[Ud.name]:A({fieldName:Ud.name}),[Vd.name]:A({fieldName:Vd.name}),[Kd.name]:A({fieldName:Kd.name}),[Gd.name]:A({fieldName:Gd.name})}))}).optional()}),Xd=e=>H(q(Bd,e)),Zd={"hunter-reverse-email-lookup":{provider:`hunter`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"findymail-reverse-email-lookup":{provider:`findymail`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"crustdata-reverse-email-lookup":{provider:`crustdata`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},Qd=class extends W{pipeId=zd;payload;payloadSchema=Yd;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=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Xd(this.payload.config)}getRawOutputFields(){return{[Hd.name]:this.catalogOutput(Hd,{receivesMovementWidgets:!0}),[Wd.name]:this.catalogOutput(Wd,{receivesMovementWidgets:!0}),[Ud.name]:this.catalogOutput(Ud,{receivesMovementWidgets:!0}),[Kd.name]:this.catalogOutput(Kd,{receivesMovementWidgets:!0}),[Gd.name]:this.catalogOutput(Gd,{receivesMovementWidgets:!0}),[Vd.name]:this.catalogOutput(Vd,{receivesMovementWidgets:!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:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$d=Yd,ef={pipeId:zd,basePipe:G(zd),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[V.EMAIL,V.PEOPLE_PROFILES],docPath:K(zd),managedProviders:qd,deprecatedProviders:[],allowedUserConnectionProviders:qd,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Zd,defaultInputRequirement:Xd(null),defaultPayload:{pipe_id:zd,connector:null,trigger:null,config:{providers:Jd,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}}}}},tf=v(`profile_url`),nf=v(`amplemarket_person_match`),rf=`people:match:amplemarket@1`,af=r.object({pipe_id:r.literal(rf),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[tf.name]:D({fieldName:tf.name})})),output_fields:z(r.object({[nf.name]:A({fieldName:nf.name})}))}).optional()}),of=e=>H(q(tf,e)),sf={"amplemarket-person-match":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},cf=class extends W{pipeId=rf;payload;payloadSchema=af;billableOperations=sf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return of(this.payload.config)}getRawOutputFields(){return{[nf.name]:this.catalogOutput(nf)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},lf=af,uf={pipeId:rf,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(rf),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[V.PEOPLE_PROFILES],docPath:K(rf),billableOperations:sf,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:of(null),defaultPayload:{pipe_id:rf,connector:null,trigger:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},df=`people:match:role:waterfall@1`,ff=v(`company_website_url`),pf=v(`role_finder_match`),mf=[`leadmagic`],hf=[{provider:`leadmagic`}],gf=r.object({pipe_id:r.literal(df),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:hf,availableProviders:mf}),roles:hi({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:B(r.object({[ff.name]:D({fieldName:ff.name})})),output_fields:z(r.object({[pf.name]:A({fieldName:pf.name})}))})}),_f=e=>Wi(q(ff,e)),vf={"leadmagic-find-role":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},yf=class extends W{pipeId=df;payload;payloadSchema=gf;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=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return _f(this.payload.config)}getRawOutputFields(){return{[pf.name]:this.catalogOutput(pf,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},bf=gf,xf={pipeId:df,basePipe:G(df),managedProviders:mf,deprecatedProviders:[],allowedUserConnectionProviders:mf,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[V.PEOPLE_PROFILES],docPath:K(df),billableOperations:vf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:_f(null),defaultPayload:{pipe_id:df,trigger:null,connector:null,config:{roles:[],providers:hf,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},Sf=`people:name:join@1`,Cf=v(`first_name`),wf=v(`last_name`),Tf=v(`name`),Ef=r.object({pipe_id:r.literal(Sf),trigger:w(),connector:E(),config:r.object({input_fields:B(r.object({[Cf.name]:D({fieldName:Cf.name}),[wf.name]:D({fieldName:wf.name})})),output_fields:z(r.object({[Tf.name]:A({fieldName:Tf.name})}))}).optional()}),Df=e=>U(q(Cf,e),q(wf,e)),Of={"pipe0-join-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},kf=class extends W{pipeId=Sf;payload;payloadSchema=Ef;billableOperations=Of;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-join-name`]}getInputRequirement(){return Df(this.payload.config)}getRawOutputFields(){return{[Tf.name]:this.catalogOutput(Tf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Af=Ef,jf={pipeId:Sf,basePipe:G(Sf),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:[V.NAMES],docPath:K(Sf),billableOperations:Of,defaultInputRequirement:Df(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Sf,trigger:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},Mf=`people:name:split@1`,Nf=v(`name`),Pf=v(`first_name`),Ff=v(`last_name`),If=r.object({pipe_id:r.literal(Mf),connector:E(),trigger:w(),config:r.object({input_fields:B(r.object({[Nf.name]:D({fieldName:Nf.name})})),output_fields:z(r.object({[Pf.name]:A({fieldName:Pf.name}),[Ff.name]:A({fieldName:Ff.name})}))}).optional()}),Lf=e=>H(q(Nf,e)),Rf={"pipe0-split-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},zf=class extends W{pipeId=Mf;payload;payloadSchema=If;billableOperations=Rf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-split-name`]}getInputRequirement(){return Lf(this.payload.config)}getRawOutputFields(){return{[Pf.name]:this.catalogOutput(Pf),[Ff.name]:this.catalogOutput(Ff)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Bf=If,Vf={pipeId:Mf,basePipe:G(Mf),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[V.NAMES],docPath:K(Mf),billableOperations:Rf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Lf(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Mf,trigger:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},Hf=`people:personalemail:profile:waterfall@1`,Uf=v(`profile_url`),Wf=v(`personal_email`),Gf=v(`alternate_personal_emails`),Kf=[`clado`,`leadmagic`,`mixrank`],qf=[{provider:`leadmagic`},{provider:`mixrank`}],Jf=r.object({pipe_id:r.literal(Hf),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:Kf,defaultProviders:qf}),input_fields:B(r.object({[Uf.name]:D({fieldName:Uf.name})})),output_fields:z(r.object({[Wf.name]:A({fieldName:Wf.name}),[Gf.name]:A({fieldName:Gf.name})}))}).optional()}),Yf=e=>H(q(Uf,e)),Xf={"clado-personal-email-from-profile":{provider:`clado`,allowManagedConnection:!0,credits:2,mode:`always`},"leadmagic-personal-email-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"mixrank-personal-email-reveal":{provider:`mixrank`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},Zf=class extends W{pipeId=Hf;payload;payloadSchema=Jf;billableOperations=Xf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yf(this.payload.config)}getRawOutputFields(){return{[Wf.name]:this.catalogOutput(Wf,{receivesMovementWidgets:!0}),[Gf.name]:this.catalogOutput(Gf)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-people-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qf=Jf,$f={pipeId:Hf,basePipe:G(Hf),allowedUserConnectionProviders:Kf,managedProviders:Kf,deprecatedProviders:[`clado`],label:`Find personal email`,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:[V.EMAIL,V.PERSONAL_EMAIL],docPath:K(Hf),billableOperations:Xf,defaultInputRequirement:Yf(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Hf,connector:null,trigger:null,config:{providers:qf,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},ep=`people:phone:profile:waterfall@1`,tp=v(`profile_url`),np=v(`mobile`),rp=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],ip=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],ap=r.object({pipe_id:r.literal(ep),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:ip,availableProviders:rp}),input_fields:B(r.object({[tp.name]:D({fieldName:tp.name})})),output_fields:z(r.object({[np.name]:A({fieldName:np.name})}))}).optional()}),op=e=>H(q(tp,e)),sp={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"clado-mobile-from-profile":{provider:`clado`,allowManagedConnection:!0,credits:5,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`},"findymail-mobile-from-profile":{provider:`findymail`,allowManagedConnection:!0,credits:6,mode:`onSuccess`},"amplemarket-phone-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},cp=class extends W{pipeId=ep;payload;payloadSchema=ap;billableOperations=sp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return op(this.payload.config)}getRawOutputFields(){return{[np.name]:this.catalogOutput(np,{receivesMovementWidgets:!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:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lp=ap,up={pipeId:ep,basePipe:G(ep),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:K(ep),tags:[V.PHONE,V.WATERFALL],billableOperations:sp,defaultInputRequirement:op(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:rp,allowedUserConnectionProviders:rp,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:ep,connector:null,trigger:null,config:{providers:ip,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},dp=`people:phone:workemail:waterfall@1`,fp=v(`work_email`),pp=v(`mobile`),mp=[`leadmagic`,`amplemarket`],hp=[{provider:`leadmagic`},{provider:`amplemarket`}],gp=r.object({pipe_id:r.literal(dp),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:mp,defaultProviders:hp}),input_fields:B(r.object({[fp.name]:D({fieldName:fp.name})})),output_fields:z(r.object({[pp.name]:A({fieldName:pp.name})}))}).optional()}),_p=e=>H(q(fp,e)),vp={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},yp=class extends W{pipeId=dp;payload;payloadSchema=gp;billableOperations=vp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return _p(this.payload.config)}getRawOutputFields(){return{[pp.name]:this.catalogOutput(pp,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},bp=gp,xp={pipeId:dp,basePipe:G(dp),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[V.PHONE,V.WATERFALL],docPath:K(dp),billableOperations:vp,defaultInputRequirement:_p(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:mp,managedProviders:mp,deprecatedProviders:[],defaultPayload:{pipe_id:dp,connector:null,trigger:null,config:{providers:hp,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Sp=v(`profile_url`),Cp=v(`post_list_string`),wp=v(`crustdata_post_list`),Tp=`people:posts:crustdata@1`,Ep=r.object({pipe_id:r.literal(Tp),trigger:w(),connector:T(),config:r.object({limit:Ei({path:`config.limit`,groupPath:`config.general`,max:100,min:1,required:!0,sectionKey:`general`,info:``,label:`Limit`,legend:`Max. 100`}),input_fields:B(r.object({[Sp.name]:D({fieldName:Sp.name})})),output_fields:z(r.object({[Cp.name]:A({fieldName:Cp.name}),[wp.name]:A({fieldName:wp.name})}))}).optional()}),Dp=e=>H(q(Sp,e)),Op={"crustdata-single-post-fetch":{allowManagedConnection:!0,credits:1.5,mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},kp=class extends W{pipeId=Tp;payload;payloadSchema=Ep;billableOperations=Op;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-single-post-fetch`]}getInputRequirement(){return Dp(this.payload.config)}getRawOutputFields(){return{[Cp.name]:this.catalogOutput(Cp),[wp.name]:this.catalogOutput(wp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},Ap=Ep,jp={pipeId:Tp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Tp),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[V.LINKEDIN],docPath:K(Tp),billableOperations:Op,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Dp(null),defaultPayload:{pipe_id:Tp,connector:null,trigger:null,config:{limit:5,input_fields:{profile_url:{alias:``}},output_fields:{crustdata_post_list:{alias:``,enabled:!0},post_list_string:{alias:``,enabled:!0}}}}},Mp=`people:profile:waterfall@1`,Np=v(`profile`),Pp=v(`profile_url`),Fp=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Ip=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Lp=r.object({pipe_id:r.literal(Mp),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:Fp,defaultProviders:Ip}),input_fields:B(r.object({[Pp.name]:D({fieldName:Pp.name})})),output_fields:z(r.object({[Np.name]:A({fieldName:Np.name})}))}).optional()}),Rp=e=>H(q(Pp,e)),zp={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"clado-get-professional-profile":{provider:`clado`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"amplemarket-person-match":{provider:`amplemarket`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},Bp=class extends W{pipeId=Mp;payload;payloadSchema=Lp;billableOperations=zp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Rp(this.payload.config)}getRawOutputFields(){return{[Np.name]:this.catalogOutput(Np,{receivesMovementWidgets:!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:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Vp=Lp,Hp={pipeId:Mp,basePipe:G(Mp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:K(Mp),tags:[V.LINKEDIN,V.WATERFALL],managedProviders:Fp,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Fp,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:zp,defaultInputRequirement:Rp(null),defaultPayload:{pipe_id:Mp,trigger:null,connector:null,config:{providers:Ip,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Up=v(`work_email`),Wp=v(`crustdata_person_match`),Gp=v(`crustdata_profile_match_score`),Kp=`people:profile:workemail:crustdata@1`,qp=r.object({pipe_id:r.literal(Kp),trigger:w(),connector:T(),config:r.object({input_fields:B(r.object({[Up.name]:D({fieldName:Up.name})})),output_fields:z(r.object({[Wp.name]:A({fieldName:Wp.name}),[Gp.name]:A({fieldName:Gp.name})}))}).optional()}),Jp=e=>H(q(Up,e)),Yp={"crustdata-profile-from-workemail":{allowManagedConnection:!0,credits:5,mode:`onSuccess`,provider:`crustdata`}},Xp=class extends W{pipeId=Kp;payload;payloadSchema=qp;billableOperations=Yp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-profile-from-workemail`]}getInputRequirement(){return Jp(this.payload.config)}getRawOutputFields(){return{[Wp.name]:this.catalogOutput(Wp),[Gp.name]:this.catalogOutput(Gp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Zp=qp,Qp={pipeId:Kp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Kp),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[V.EMAIL,V.PEOPLE_PROFILES],docPath:K(Kp),billableOperations:Yp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Jp(null),defaultPayload:{pipe_id:Kp,connector:null,trigger:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},$p=`people:profileurl:email:waterfall@1`,em=v(`email`),tm=v(`work_email`),nm=v(`profile_url`),rm=[`leadmagic`],im=[{provider:`leadmagic`}],am=r.object({pipe_id:r.literal($p),trigger:w(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:im,availableProviders:rm}),input_fields:B(r.object({[em.name]:D({fieldName:em.name}),[tm.name]:D({fieldName:tm.name})})),output_fields:z(r.object({[nm.name]:A({fieldName:nm.name})}))}).optional()}),om=e=>Wi(q(em,e),q(tm,e)),sm={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},cm=class extends W{pipeId=$p;payload;payloadSchema=am;billableOperations=sm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return om(this.payload.config)}getRawOutputFields(){return{[nm.name]:this.catalogOutput(nm,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lm=am,um={pipeId:$p,basePipe:G($p),managedProviders:rm,deprecatedProviders:[],allowedUserConnectionProviders:rm,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:[V.LINKEDIN],docPath:K($p),billableOperations:sm,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:om(null),defaultPayload:{pipe_id:$p,trigger:null,connector:null,config:{providers:im,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},dm=`people:profileurl:name@1`,fm=v(`name`),pm=v(`company_name`),mm=v(`location_hint`),hm=v(`profile_url`),gm=r.object({pipe_id:r.literal(dm),connector:E(),trigger:w(),config:r.object({input_fields:B(r.object({[fm.name]:D({fieldName:fm.name}),[pm.name]:D({fieldName:pm.name}),[mm.name]:D({fieldName:mm.name})})),output_fields:z(r.object({[hm.name]:A({fieldName:hm.name})}))}).optional()}),_m=e=>U(H(q(fm,e)),H(q(pm,e)),Gi(q(mm,e))),vm={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},ym=class extends W{pipeId=dm;payload;payloadSchema=gm;billableOperations=vm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return _m(this.payload.config)}getRawOutputFields(){return{[hm.name]:this.catalogOutput(hm)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},bm=gm,xm={pipeId:dm,basePipe:G(dm),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:K(dm),tags:[V.LINKEDIN],billableOperations:vm,defaultInputRequirement:_m(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:dm,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},Sm=`people:workemail:profileurl:waterfall@1`,Cm=v(`profile_url`),wm=v(`work_email`),Tm=v(`email_validation_status`),Em=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],Dm=[`clado`],Om=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],km=r.object({pipe_id:r.literal(Sm),connector:T(),trigger:w(),config:r.object({providers:O({availableProviders:Em,defaultProviders:Om,sectionKey:`general`}),allow_catch_all_emails:k({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:k({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:B(r.object({[Cm.name]:D({fieldName:Cm.name})})),output_fields:z(r.object({[wm.name]:A({fieldName:wm.name}),[Tm.name]:A({fieldName:Tm.name})}))}).optional()}),Am=e=>H(q(Cm,e)),jm={"hunter-workemail-profileurl":{provider:`hunter`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"leadmagic-workemail-profileurl":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"findymail-workemail-profileurl":{provider:`findymail`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"crustdata-workemail-profileurl":{provider:`crustdata`,allowManagedConnection:!0,credits:3,mode:`onSuccess`},"clado-workemail-profileurl":{provider:`clado`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:2.5,mode:`onSuccess`}},Mm=class extends W{pipeId=Sm;payload;payloadSchema=km;billableOperations=jm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Am(this.payload.config)}getRawOutputFields(){return{[wm.name]:this.catalogOutput(wm,{receivesMovementWidgets:!0}),[Tm.name]:this.catalogOutput(Tm,{receivesMovementWidgets:!0})}}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:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Nm=km,Pm={pipeId:Sm,basePipe:G(Sm),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[V.EMAIL,V.WORK_EMAIL,V.WATERFALL],docPath:K(Sm),managedProviders:Em,allowedUserConnectionProviders:Em,deprecatedProviders:Dm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:jm,defaultInputRequirement:Am(null),defaultPayload:{pipe_id:Sm,connector:null,trigger:null,config:{providers:Om,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}}}}},Fm=`people:workemail:waterfall@1`,Im=v(`name`),Lm=v(`company_website_url`),Rm=v(`company_name`),zm=v(`work_email`),Bm=v(`email_validation_status`),Vm=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Hm=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Um=r.object({pipe_id:r.literal(Fm),connector:T(),trigger:w(),config:r.object({providers:O({availableProviders:Vm,defaultProviders:Hm,sectionKey:`general`}),allow_catch_all_emails:k({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:k({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:B(r.object({[Im.name]:D({fieldName:Im.name}),[Lm.name]:D({fieldName:Lm.name}),[Rm.name]:D({fieldName:Rm.name})})),output_fields:z(r.object({[zm.name]:A({fieldName:zm.name}),[Bm.name]:A({fieldName:Bm.name})}))}).optional()}),Wm=e=>U(H(q(Im,e)),Wi(q(Lm,e),q(Rm,e))),Gm={"leadmagic-get-work-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:.5,mode:`onSuccess`},"icypeas-get-work-email":{provider:`icypeas`,allowManagedConnection:!0,credits:.5,mode:`onSuccess`},"prospeo-get-work-email":{provider:`prospeo`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"findymail-get-work-email":{provider:`findymail`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"hunter-get-work-email":{provider:`hunter`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:2.5,mode:`onSuccess`}},Km=class extends W{pipeId=Fm;payload;payloadSchema=Um;billableOperations=Gm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Wm(this.payload.config)}getRawOutputFields(){return{[zm.name]:this.catalogOutput(zm,{receivesMovementWidgets:!0}),[Bm.name]:this.catalogOutput(Bm,{receivesMovementWidgets:!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:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},qm=Um,Jm={pipeId:Fm,basePipe:G(Fm),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[V.EMAIL,V.WORK_EMAIL,V.WATERFALL],docPath:K(Fm),managedProviders:Vm,deprecatedProviders:[],allowedUserConnectionProviders:Vm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Gm,defaultInputRequirement:Wm(null),defaultPayload:{pipe_id:Fm,connector:null,trigger:null,config:{providers:Hm,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}}}}},Ym=`prompt:run@1`,Xm=Sr(`prompt`),Zm=r.object({pipe_id:r.literal(Ym),connector:T(),trigger:w(),config:r.object({prompt:oi({sectionKey:`general`,path:`config.prompt`,placeholder:X(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Xm})})}),Qm=class extends W{pipeId=Ym;payload;payloadSchema=Zm;billableOperations=Xm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Cr(this.payload.config.model)}estimateBillableOperations(){return[wr(this.payload.config.model,`prompt`)]}getInputRequirement(){return Rl([this.payload.config.prompt.template])}getSecretRequirements(){return zl([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=en(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,receivesMovementWidgets:!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,receivesMovementWidgets:!1}}return n}getConnectionsRequirements(){return Tr(this.payload.config.model)}},$m=Zm,eh={pipeId:Ym,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(Ym),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:[V.AI],docPath:K(Ym),defaultInputRequirement:null,billableOperations:Xm,allowedUserConnectionProviders:Er(),managedProviders:Er(),deprecatedProviders:[],defaultPayload:{pipe_id:Ym,connector:null,trigger:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},th=`sheet:row:append@1`,nh=v(`sheet_record_id`),rh=v(`created_sheet`),ih=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],ah=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],oh={requires:{connection:`pipe0`},enabledIf:At(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?ih: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`}}},sh={requires:{connection:`pipe0`},enabledIf:At(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?ah:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},ch=r.object({pipe_id:r.literal(th),connector:ui(),trigger:w(),config:r.object({sheet:ci({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:oh}),run:k({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:k({label:`Create unkown fields`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_field_creation`,sectionKey:`general`,description:`Add unkown fields as new sheet columns.`}),allow_sheet_creation:k({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:ki({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:sh,enabledIf:e=>e.config?.allow_sheet_creation?{disabled:!1}:{disabled:!0,message:`Turn on “Upsert sheets” to specify a team.`}}),included_fields:fi({label:`Fields`,info:`All fields are written if empty.`,groupPath:`config.general`,path:`config.included_fields`,sectionKey:`general`,disableSearch:!0}),output_fields:z(r.object({[nh.name]:A({fieldName:nh.name}),[rh.name]:A({fieldName:rh.name})}))})}),lh={"sheets-append-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},uh=class extends W{pipeId=th;payload;payloadSchema=ch;billableOperations=lh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-append-pipe0`]}getInputRequirement(){let e=[Rl([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(H({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=Ll(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 U(...e)}getSecretRequirements(){return zl([this.payload.config.sheet])}getRawOutputFields(){return{[nh.name]:this.catalogOutput(nh),[rh.name]:this.catalogOutput(rh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},dh=ch,fh={pipeId:th,basePipe:G(th),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:K(th),tags:[V.FIELDS],billableOperations:lh,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:th,connector:{strategy:`first`,connections:[]},trigger: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}}}}},ph=`sheet:row:expandappend@1`,mh=v(`sheet_record_ids`),hh=v(`input_objects`),gh=r.object({pipe_id:r.literal(ph),connector:ui(),trigger:w(),config:r.object({sheet:xi({label:`Sheet name`,info:`Unique identifier for the sheet`,groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3}),run:k({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:k({defaultValue:!0,groupPath:`config.general`,path:`config.allow_field_creation`,sectionKey:`general`,info:`Add unkown object fields to the sheet definition.`,label:`Allow field creation`}),input_fields:B(r.object({[hh.name]:D({fieldName:hh.name})})),output_fields:z(r.object({[mh.name]:A({fieldName:mh.name})}))})}),_h={"sheets-appendexpand-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},vh=e=>H(q(hh,e)),yh=class extends W{pipeId=ph;payload;payloadSchema=gh;billableOperations=_h;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-appendexpand-pipe0`]}getInputRequirement(){return vh(this.payload.config)}getRawOutputFields(){return{[mh.name]:this.catalogOutput(mh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},bh=gh,xh={pipeId:ph,basePipe:G(ph),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:K(ph),tags:[V.FIELDS],billableOperations:_h,defaultInputRequirement:vh(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:ph,connector:{strategy:`first`,connections:[]},trigger:null,config:{sheet:``,run:!0,allow_field_creation:!0,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},Sh=`template:fill@1`,Ch=v(`template_output`),wh=r.object({pipe_id:r.literal(Sh),connector:T(),trigger:w(),config:r.object({template:si({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:X(`template`),groupPath:`config.general`,required:!0}),output_fields:z(r.object({[Ch.name]:A({fieldName:Ch.name})}))})}),Th={"template-fill":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},Eh=class extends W{pipeId=Sh;payload;payloadSchema=wh;billableOperations=Th;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill`]}getInputRequirement(){return Rl([this.payload.config.template])}getSecretRequirements(){return zl([this.payload.config.template])}getRawOutputFields(){return{[Ch.name]:this.catalogOutput(Ch)}}getConnectionsRequirements(){return[]}},Dh=wh,Oh={pipeId:Sh,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(Sh),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ input name type="string" }} with actual values.`,tags:[V.TEXT],docPath:K(Sh),defaultInputRequirement:null,billableOperations:Th,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Sh,connector:null,trigger:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},kh=`website:extract:firecrawl@1`,Ah=v(`website_url`),jh=v(`firecrawl_extract_result`),Mh=r.object({pipe_id:r.literal(kh),connector:T(),trigger:w(),config:r.object({json_schema:Oi({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:Si({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:k({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:k({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:B(r.object({[Ah.name]:D({fieldName:Ah.name})})),output_fields:z(r.object({[jh.name]:A({fieldName:jh.name})}))})}),Nh=e=>H(q(Ah,e)),Ph={"firecrawl-website-extract":{allowManagedConnection:!0,provider:`firecrawl`,credits:2,mode:`onSuccess`}},Fh=class extends W{pipeId=kh;payload;payloadSchema=Mh;billableOperations=Ph;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-extract`]}getInputRequirement(){return Nh(this.payload.config)}getRawOutputFields(){return{[jh.name]:this.catalogOutput(jh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Ih=Mh,Lh={pipeId:kh,basePipe:G(kh),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:[V.SCRAPE],docPath:K(kh),billableOperations:Ph,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Nh(null),defaultPayload:{pipe_id:kh,trigger: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}}}}},Rh=`website:maplinks:firecrawl@1`,zh={"firecrawl-website-maplinks":{allowManagedConnection:!0,provider:`firecrawl`,credits:1,mode:`onSuccess`}},Bh=v(`website_url`),Vh=v(`mapped_links`),Hh=r.object({pipe_id:r.literal(Rh),connector:T(),trigger:w(),config:r.object({page_limit:Ei({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,required:!1,path:`config.page_limit`,sectionKey:`general`}),sitemap:Ci({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:xi({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).default(``),input_fields:B(r.object({[Bh.name]:D({fieldName:Bh.name})})),output_fields:z(r.object({[Vh.name]:A({fieldName:Vh.name})}))}).optional()}),Uh=e=>H(q(Bh,e)),Wh=class extends W{pipeId=Rh;payload;payloadSchema=Hh;billableOperations=zh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-maplinks`]}getInputRequirement(){return Uh(this.payload.config)}getRawOutputFields(){return{[Vh.name]:this.catalogOutput(Vh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},Gh=Hh,Kh={pipeId:Rh,basePipe:G(Rh),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:[V.SCRAPE],docPath:K(Rh),billableOperations:zh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Uh(null),defaultPayload:{pipe_id:Rh,trigger:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},qh=`website:scrape:firecrawl@1`,Jh=v(`website_url`),Yh=v(`website_markdown`),Xh=v(`website_html`),Zh=v(`website_links`),Qh=r.object({pipe_id:r.literal(qh),connector:T(),trigger:w(),config:r.object({scrape_main_only:k({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:B(r.object({[Jh.name]:D({fieldName:Jh.name})})),output_fields:z(r.object({[Yh.name]:A({fieldName:Yh.name}),[Xh.name]:A({fieldName:Xh.name}),[Zh.name]:A({fieldName:Zh.name})}))}).optional()}),$h=e=>H(q(Jh,e)),eg={"firecrawl-website-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`}},tg=class extends W{pipeId=qh;payload;payloadSchema=Qh;billableOperations=eg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-scrape`]}getInputRequirement(){return $h(this.payload.config)}getRawOutputFields(){return{[Yh.name]:this.catalogOutput(Yh),[Xh.name]:this.catalogOutput(Xh),[Zh.name]:this.catalogOutput(Zh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},ng=Qh,rg={pipeId:qh,basePipe:G(qh),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[V.SCRAPE],docPath:K(qh),billableOperations:eg,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:$h(null),defaultPayload:{pipe_id:qh,trigger: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}}}}},ig=`website:scrapelist:firecrawl@1`,ag={"firecrawl-list-url-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`,note:`You are charged per url that is scraped.`}},og=v(`urls`),sg=v(`scrape_list_response`),cg=r.object({pipe_id:r.literal(ig),connector:T(),trigger:w(),config:r.object({scrape_main_only:k({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:Ti({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:B(r.object({[og.name]:D({fieldName:og.name})})),output_fields:z(r.object({[sg.name]:A({fieldName:sg.name})}))}).optional()}),lg=e=>H(q(og,e)),ug=class extends W{pipeId=ig;payload;payloadSchema=cg;billableOperations=ag;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`firecrawl-list-url-scrape`)}getInputRequirement(){return lg(this.payload.config)}getRawOutputFields(){return{[sg.name]:this.catalogOutput(sg)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},dg=cg,fg={pipeId:ig,basePipe:G(ig),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[V.SCRAPE],docPath:K(ig),billableOperations:ag,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:lg(null),defaultPayload:{pipe_id:ig,trigger:null,connector:null,config:{scrape_main_only:!0,formats:[`html`,`markdown`,`links`],input_fields:{urls:{alias:``}},output_fields:{scrape_list_response:{alias:``,enabled:!0}}}}},pg={"prompt:run@1":Qm,"company:newssummary:website@1":go,"company:techstack:builtwith@1":Uo,"company:websiteurl:email@1":Qo,"company:funding:leadmagic@1":ya,"people:workemail:waterfall@1":Km,"people:email:iswork@1":sd,"people:name:split@1":zf,"people:validate:email:zerobounce@1":cl,"people:email:validate:zerobounce@2":Dd,"people:mobilenumber:workemail:waterfall@1":vc,"people:name:join@1":kf,"company:overview@1":Is,"company:overview@2":Mo,"json:extract@1":Iu,"company:lookalikes:companyenrich@1":za,"company:match:logodev@1":oo,"people:posts:crustdata@1":kp,"people:profile:workemail:crustdata@1":Xp,"people:identity:email:waterfall@1":Qd,"people:identity:amplemarket@1":Id,"email:send:resend@1":Al,"contact:create:resend@1":us,"email:send:gmail@1":yl,"email:write@1":Gl,"fields:merge@1":xu,"field:slugify@1":lu,"field:domainify@1":eu,"http:request@1":Au,"template:fill@1":Eh,"message:send:slack@1":Gu,"message:write@1":Qu,"people:personalemail:profile:waterfall@1":Zf,"website:scrape:firecrawl@1":tg,"website:scrapelist:firecrawl@1":ug,"website:extract:firecrawl@1":Fh,"website:maplinks:firecrawl@1":Wh,"sheet:row:append@1":uh,"sheet:row:expandappend@1":yh,"people:match:role:waterfall@1":yf,"company:match:crustdata@1":Ja,"people:match:amplemarket@1":cf,"company:identity@2":Aa,"people:phone:profile:waterfall@1":cp,"people:phone:workemail:waterfall@1":yp,"people:profile:waterfall@1":Bp,"people:profileurl:email:waterfall@1":cm,"people:profileurl:name@1":ym,"people:email:validate:zerobounce@1":Gs,"people:email:validate:millionverifier@1":_d,"people:workemail:profileurl:waterfall@1":Mm,"company:identity@1":xs,"people:professionalprofile:waterfall@1":kc,"people:professionalprofileurl:name@1":Qc,"people:professionalprofileurl:email:waterfall@1":Vc,"people:mobilenumber:professionalprofile:waterfall@1":sc},mg={"prompt:run@1":$m,"company:newssummary:website@1":_o,"company:techstack:builtwith@1":Wo,"company:websiteurl:email@1":$o,"company:funding:leadmagic@1":ba,"people:workemail:waterfall@1":qm,"people:email:iswork@1":cd,"people:name:split@1":Bf,"people:validate:email:zerobounce@1":ll,"people:email:validate:zerobounce@2":Od,"people:mobilenumber:workemail:waterfall@1":yc,"people:name:join@1":Af,"company:overview@1":Ls,"company:overview@2":No,"json:extract@1":Lu,"email:write@1":Kl,"fields:merge@1":Su,"field:slugify@1":uu,"field:domainify@1":tu,"http:request@1":ju,"email:send:resend@1":jl,"contact:create:resend@1":ds,"company:lookalikes:companyenrich@1":Ba,"company:match:logodev@1":so,"people:posts:crustdata@1":Ap,"people:profile:workemail:crustdata@1":Zp,"people:identity:email:waterfall@1":$d,"company:match:crustdata@1":Ya,"people:identity:amplemarket@1":Ld,"message:send:slack@1":Ku,"email:send:gmail@1":bl,"message:write@1":$u,"template:fill@1":Dh,"website:scrape:firecrawl@1":ng,"website:scrapelist:firecrawl@1":dg,"website:extract:firecrawl@1":Ih,"website:maplinks:firecrawl@1":Gh,"sheet:row:append@1":dh,"sheet:row:expandappend@1":bh,"people:match:role:waterfall@1":bf,"company:identity@2":ja,"people:phone:profile:waterfall@1":lp,"people:personalemail:profile:waterfall@1":Qf,"people:profile:waterfall@1":Vp,"people:profileurl:email:waterfall@1":lm,"people:profileurl:name@1":bm,"people:email:validate:zerobounce@1":Ks,"people:email:validate:millionverifier@1":vd,"people:phone:workemail:waterfall@1":bp,"people:workemail:profileurl:waterfall@1":Nm,"people:match:amplemarket@1":lf,"company:identity@1":Ss,"people:professionalprofile:waterfall@1":Ac,"people:professionalprofileurl:name@1":$c,"people:professionalprofileurl:email:waterfall@1":Hc,"people:mobilenumber:professionalprofile:waterfall@1":cc},hg={"prompt:run@1":eh,"company:newssummary:website@1":vo,"company:techstack:builtwith@1":Go,"company:websiteurl:email@1":es,"company:funding:leadmagic@1":xa,"people:workemail:waterfall@1":Jm,"people:email:iswork@1":ld,"people:name:split@1":Vf,"people:validate:email:zerobounce@1":ul,"people:mobilenumber:workemail:waterfall@1":bc,"people:name:join@1":jf,"company:overview@1":Rs,"company:overview@2":Po,"json:extract@1":Ru,"email:send:resend@1":Ml,"contact:create:resend@1":fs,"email:send:gmail@1":xl,"message:send:slack@1":qu,"message:write@1":ed,"email:write@1":ql,"template:fill@1":Oh,"fields:merge@1":Cu,"field:slugify@1":du,"field:domainify@1":nu,"http:request@1":Mu,"sheet:row:append@1":fh,"sheet:row:expandappend@1":xh,"company:lookalikes:companyenrich@1":Va,"people:match:role:waterfall@1":xf,"company:match:logodev@1":co,"people:posts:crustdata@1":jp,"people:profile:workemail:crustdata@1":Qp,"people:workemail:profileurl:waterfall@1":Pm,"people:identity:email:waterfall@1":ef,"company:match:crustdata@1":Xa,"people:identity:amplemarket@1":Rd,"people:personalemail:profile:waterfall@1":$f,"people:email:validate:zerobounce@1":qs,"people:email:validate:zerobounce@2":kd,"people:email:validate:millionverifier@1":yd,"people:phone:workemail:waterfall@1":xp,"website:scrape:firecrawl@1":rg,"website:scrapelist:firecrawl@1":fg,"website:extract:firecrawl@1":Lh,"website:maplinks:firecrawl@1":Kh,"people:match:amplemarket@1":uf,"company:identity@2":Ma,"people:phone:profile:waterfall@1":up,"people:profile:waterfall@1":Hp,"people:profileurl:email:waterfall@1":um,"people:profileurl:name@1":xm,"company:identity@1":Cs,"people:professionalprofile:waterfall@1":jc,"people:professionalprofileurl:name@1":el,"people:professionalprofileurl:email:waterfall@1":Uc,"people:mobilenumber:professionalprofile:waterfall@1":lc};function gg(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function _g(e){return pg[e]}function vg(e){return hg[e].defaultPayload}function yg(e){return mg[e]}const bg=r.discriminatedUnion(`pipe_id`,Object.values(mg)).openapi(`PipePayload`),xg=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=vg(Sn.parse(e.pipe_id));return t?{...e,config:Vi(e?.config||{},t.config)}:e}catch{return e}},bg);function Sg(e){return hg[e]}function Cg(e,t){let n=Sg(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 wg(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function Tg(){let e={};for(let t of Object.values(hg)){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=wg(e.pipeId);return wg(t.pipeId)-n})}),e}const Eg=e=>{let t=Sg(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},Dg=Tg();function Og(e){let t=[];for(let[n,r]of Object.entries(Dg)){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:wg(i.pipeId)})}return t}function kg(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=Eg(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of gg(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of qi(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:Dg}}const Ag=r.object({id:r.string(),organization_id:r.string(),order:r.array(Tn),field_definitions:tr,errors:r.array(Bn),records:r.record(Tn,Qn),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),jg=r.object({environment:bn.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`),Mg=r.object({config:jg.openapi(`PipesRequestConfig`),field_annotations:Wn.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(bg),input:r.array(Zn.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Ng(e){let t=Sg(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.credits||0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}const Pg={"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:99,label:`Custom connections`,iconKey:`plug`,defaultExpand:!0},"config.extraction":{order:0,label:`Extraction`,iconKey:`code`,defaultExpand:!0},trigger:{order:99,label:`Run pipe IF`,iconKey:`workflow`,defaultExpand:!0},"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}};function Fg(e){let t=yg(e),n=[];function i(e){let t=x.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 Ig({pipePayload:e,validationContext:t,sectionOrder:n,store:r,groupPathMatch:i=Pg,formResolvers:a}){let o=yg(e.pipe_id),s=$i(e.pipe_id,e.config||{});return ii({schema:o,groupPathMatch:i,extractFromSchema:n=>{let i=x.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:Sg(e.pipe_id),hash:s}):i},sectionOrder:n,store:r,formResolvers:a})}const Lg=[`companies:profiles:crustdata@1`,`companies:profiles:amplemarket@1`,`people:profiles:crustdata@1`,`people:profiles:amplemarket@1`],Rg=r.enum(Lg);function zg(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 Bg(e,t){let n={name:e,config:t};return Qi.hashObject(n)}var Vg=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 Bg(this.searchId,this.payload)}};function Hg(e){return e.split(`@`)[0]}function Ug(e){return`/docs/searches/searches-catalog/${Hg(e)}/${e.split(`@`)[1]}`}const Wg=`companies:profiles:amplemarket@1`,Gg=v(`company_name`),Kg=v(`company_website_url`),qg=v(`company_description`),Jg=v(`company_profile_url`),Yg=v(`amplemarket_company_match`),Xg=r.object({search_id:r.literal(Wg),connector:b.nullable().optional(),config:r.object({limit:R({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}),page_number:R({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:z(r.object({[Gg.name]:P({fieldName:Gg.name}),[Kg.name]:P({fieldName:Kg.name}),[qg.name]:P({fieldName:qg.name}),[Jg.name]:P({fieldName:Jg.name}),[Yg.name]:P({fieldName:Yg.name})})),filters:r.object({hq_locations:L({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:u(`locations`)}),company_names:M({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:X(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:u(`company_names`)}),company_website_urls:M({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),company_profile_urls:M({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:F({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:f(`amplemarket.company_types`),required:!1}),investors:I({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:u(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:X(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:N({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:d(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),customer_types:F({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:M({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:F({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:f(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:ji({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:j({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:X(`title`),suggestionsDef:u(`titles`)}),headcount:F({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:f(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_last_6_months_in_percent:ji({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=>{zg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Zg={default:{input:[{fields:[]}]}},Qg=class extends Vg{searchId=Wg;schema=Xg;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Gg.name]:this.catalogOutput(Gg),[Kg.name]:this.catalogOutput(Kg),[qg.name]:this.catalogOutput(qg),[Jg.name]:this.catalogOutput(Jg),[Yg.name]:this.catalogOutput(Yg)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Zg}},$g=Xg,e_={searchId:Wg,baseSearch:Hg(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Ug(Wg),cost:{mode:`per_page`,creditsPerPage:2},provider:`amplemarket`,defaultPayload:{search_id:Wg,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:[]}}}}},t_=`companies:profiles:crustdata@1`,n_=v(`company_name`),r_=v(`company_website_url`),i_=v(`company_description`),a_=v(`company_profile_url`),o_=v(`crustdata_company_match`),s_=r.object({search_id:r.literal(t_),connector:b.nullable().optional(),config:r.object({limit:R({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:Li({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[n_.name]:P({fieldName:n_.name}),[r_.name]:P({fieldName:n_.name}),[i_.name]:P({fieldName:i_.name}),[a_.name]:P({fieldName:a_.name}),[o_.name]:P({fieldName:o_.name})})),filters:r.object({hq_locations:L({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:X(`location`),groupPath:`config.filters.location`,optionsDef:u(`locations`)}),crunchbase_categories:L({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:X(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:u(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:L({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:u(`company.crunchbase_investors.crustdata`)}),tracxn_investors:L({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:X(`investor`),groupPath:`config.filters.investors`,optionsDef:u(`company.tracxn_investors.crustdata`)}),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:f(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:L({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:u(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:L({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:u(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:L({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:u(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:N({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:f(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:F({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:f(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Ni({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:N({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:f(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:Ni({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:F({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:f(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:F({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:f(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:M({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:M({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})})}).check(e=>{zg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),c_={default:{input:[{fields:[]}]}},l_=class extends Vg{searchId=t_;schema=s_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[n_.name]:this.catalogOutput(n_),[r_.name]:this.catalogOutput(r_),[i_.name]:this.catalogOutput(i_),[a_.name]:this.catalogOutput(a_),[o_.name]:this.catalogOutput(o_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return c_}},u_=s_,d_={searchId:t_,baseSearch:Hg(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Ug(t_),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:t_,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:[]}}}}},f_=`people:profiles:amplemarket@1`,p_=v(`name`),m_=v(`company_website_url`),h_=v(`profile_url`),g_=v(`job_title`),__=v(`amplemarket_person_match`),v_=r.object({search_id:r.literal(f_),connector:b.nullable().optional(),config:r.object({limit:R({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:R({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:z(r.object({[p_.name]:P({fieldName:p_.name}),[m_.name]:P({fieldName:m_.name}),[h_.name]:P({fieldName:h_.name}),[g_.name]:P({fieldName:g_.name}),[__.name]:P({fieldName:__.name})})),filters:r.object({person_names:j({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:L({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:u(`locations`),groupPath:`config.filters.general`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:X(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:u(`titles`)}),current_seniority_levels:F({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:f(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:F({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:X(`department`),disableSearch:!1,required:!1,options:f(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:F({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:X(`job_function`),disableSearch:!1,required:!1,options:f(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:L({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:u(`locations`),groupPath:`config.filters.current_company`,placeholder:X(`location`)}),current_employer_names:M({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`company_name`),suggestionsDef:u(`company_names`)}),current_employer_website_urls:M({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:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),current_employer_linkedin_industries:F({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:f(`linkedin.industries`)}),current_employer_estimated_revenue:F({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:f(`amplemarket.company_revenue`)}),current_employer_founded_year:ji({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:j({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:j({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`title`),suggestionsDef:u(`titles`)}),school_names:L({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:u(`schools`)})}).check(e=>{zg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),y_={default:{input:[{fields:[]}]}},b_=class extends Vg{searchId=f_;schema=v_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[p_.name]:this.catalogOutput(p_),[m_.name]:this.catalogOutput(m_),[h_.name]:this.catalogOutput(h_),[g_.name]:this.catalogOutput(g_),[__.name]:this.catalogOutput(__)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return y_}},x_=v_,S_={searchId:f_,baseSearch:Hg(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Ug(f_),cost:{mode:`per_page`,creditsPerPage:3,info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:f_,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:[]}}}},C_=`people:profiles:crustdata@1`,w_=v(`name`),T_=v(`company_website_url`),E_=v(`profile_url`),D_=v(`job_title`),O_=v(`crustdata_person_match`),k_=r.object({search_id:r.literal(C_),connector:b.nullable().optional(),config:r.object({limit:R({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:Li({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[w_.name]:P({fieldName:w_.name}),[T_.name]:P({fieldName:T_.name}),[E_.name]:P({fieldName:E_.name}),[D_.name]:P({fieldName:D_.name}),[O_.name]:P({fieldName:O_.name})})),filters:r.object({locations:L({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:u(`locations`),groupPath:`config.filters.general`}),current_job_titles:M({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:X(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:u(`titles`)}),current_employers:M({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:u(`company_names`,{widgets:{emoji:{char:`🏬`}}})}),current_employers_website_urls:M({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:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),current_employers_linkedin_industries:L({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:X(`industry`),description:``,optionsDef:u(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:F({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:f(`crustdata.years_of_experience`)}),previous_employers_website_urls:M({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:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),previous_seniority_levels:N({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:X(`seniority`),disableSearch:!0,optionsDef:d(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:M({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:u(`company_names`,{widgets:{emoji:{char:`🏬`}}})}),previous_job_titles:M({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:X(`title`),groupPath:`config.filters.experience`,suggestionsDef:u(`titles`)}),previous_employers_linkedin_industries:L({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:X(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:u(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:M({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:M({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:N({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:X(`languages`),optionsDef:d(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:N({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:X(`languages_1`),optionsDef:d(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:L({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:X(`skills`),groupPath:`config.filters.skills`,optionsDef:u(`skills`)}),years_of_experience:F({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:f(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:N({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:X(`seniority`),optionsDef:d(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:M({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:X(`certification`),description:``}),honors:M({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:X(`honor`),description:``}),recently_changed_jobs:Ii({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:L({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:X(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:u(`person.education_field_of_study.crustdata`)}),degree_names:L({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:X(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:u(`person.education_degree.crustdata`)}),school_names:L({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:u(`schools`)}),current_school_names:L({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:u(`schools`)}),extracurricular_activities:M({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:u(`person.education_activities.crustdata`)})}).check(e=>{zg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),A_={default:{input:[{fields:[]}]}},j_=class extends Vg{searchId=C_;schema=k_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[w_.name]:this.catalogOutput(w_),[T_.name]:this.catalogOutput(T_),[E_.name]:this.catalogOutput(E_),[D_.name]:this.catalogOutput(D_),[O_.name]:this.catalogOutput(O_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return A_}},M_=k_,N_={searchId:C_,baseSearch:Hg(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Ug(C_),cost:{mode:`per_page`,creditsPerPage:5,info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:C_,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:[]}}}}},P_={"people:profiles:crustdata@1":j_,"companies:profiles:crustdata@1":l_,"people:profiles:amplemarket@1":b_,"companies:profiles:amplemarket@1":Qg},F_={"people:profiles:crustdata@1":M_,"companies:profiles:crustdata@1":u_,"people:profiles:amplemarket@1":x_,"companies:profiles:amplemarket@1":$g},I_={"people:profiles:crustdata@1":N_,"companies:profiles:crustdata@1":d_,"people:profiles:amplemarket@1":S_,"companies:profiles:amplemarket@1":e_};function L_(e){return P_[e]}const R_=t.discriminatedUnion(`search_id`,Object.values(F_).map(e=>e)).openapi(`SearchPayloadSchema`);function z_(e,t){return Vi(t,I_[e].defaultPayload)}const B_=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=z_(e.search_id);return t?{...e,config:Vi(e?.config||{},t.config)}:e},R_),V_=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:B_}).openapi(`SearchRequestSchema`),H_=Bn,U_=t.object({value:Dn,status:En,type:wn.optional(),format:y.nullable().optional(),resolved_by:Jn.nullable().optional(),widgets:zn.optional()}),W_=t.record(t.string(),U_.nullable());function G_(e){return F_[e]}const K_=t.enum([`cursor`,`page_number`]),q_=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:Rg,errors:t.array(H_),results:t.array(W_),organization_id:t.string(),next_page:B_.nullable(),pagination_type:K_.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function J_(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Y_(){let e={};for(let t of Object.values(I_)){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=J_(e.searchId);return J_(t.searchId)-n})}),e}function X_(e){return I_[e]}const Z_=Y_();function Q_(e){let t=[];for(let[n,r]of Object.entries(Z_)){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:J_(i.searchId)})}return t}function $_(e){return Object.keys(I_[e].defaultPayload.config.output_fields)}function ev(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 $_(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:Z_}}function tv(e){let t=X_(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}const nv={"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}};function rv({searchPayload:e,sectionOrder:t,formContext:n,groupPathMatch:r=nv,formResolvers:i}){return ii({schema:G_(e.search_id),groupPathMatch:r,extractFromSchema:e=>S.get(e),sectionOrder:t,store:n,formResolvers:i})}const iv=new Proxy({},{get:(e,t)=>e=>e.type===t}),av=`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(`.`),ov=r.enum(av),sv=r.object({provider_logo:r.object({provider:yn}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:ov}).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()}),cv=`providers_input.fields_select_input.json_extraction_input.pipes_trigger_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.int_input.number_input.json_schema_input`.split(`.`);r.enum(cv);const lv=r.object({value:r.string(),label:r.string(),widgets:sv.optional()}),uv=r.object({field_options:r.record(r.string(),r.object({options:r.array(lv)}))}),dv=[{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}],fv=new Map(dv.map(e=>[e.id,e]));function pv(e){return fv.get(e)}function mv(){return dv}const hv={"company:funding:leadmagic@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@1`}],input:[{id:`1`,company_website_url:`https://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: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`}]}],"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`}]}],"company:techstack:builtwith@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@1`}],input:[{id:`1`,company_website_url:`https://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:_i({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:ki({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({[_u.name]:k({fieldName:_u.name}),[vu.name]:k({fieldName:vu.name}),[yu.name]:k({fieldName:yu.name})}))})}),xu={"pipe0-http-request":{provider:`pipe0`,allowManagedConnection:!0,credits:.001,mode:`always`}},Su=class extends H{pipeId=gu;payload;payloadSchema=bu;billableOperations=xu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-http-request`]}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 J(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Y(this.getTemplatedFields())}getRawOutputFields(){return{[_u.name]:this.catalogOutput(_u),[vu.name]:this.catalogOutput(vu),[yu.name]:this.catalogOutput(yu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Cu=bu,wu={pipeId:gu,basePipe:U(gu),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:W(gu),billableOperations:xu,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:gu,trigger: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}}}}},Tu=`json:extract@1`,Eu=r.object({pipe_id:r.literal(Tu),trigger:S(),connector:T(),config:r.object({json_extraction:Fr()})}),Du={"pipe0-extract-json":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Ou=class extends H{pipeId=Tu;payload;payloadSchema=Eu;billableOperations=Du;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-extract-json`]}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,receivesMovementWidgets:!1};return e}getConnectionsRequirements(){return[]}},ku=Eu,Au={pipeId:Tu,basePipe:U(Tu),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:W(Tu),tags:[B.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:Du,defaultInputRequirement:null,defaultPayload:{pipe_id:Tu,trigger:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},ju=`message:send:slack@1`,Mu=_(`slack_message_success`),Nu=r.object({pipe_id:r.literal(ju),connector:di(),trigger: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`}),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({[Mu.name]:k({fieldName:Mu.name})}))})}),Pu={"send-message-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},Fu=class extends H{pipeId=ju;payload;payloadSchema=Nu;billableOperations=Pu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(){return[`send-message-slack`]}getTemplatedFields(){return[this.payload.config.channel_id,this.payload.config.message]}getInputRequirement(){return J(this.getTemplatedFields())}getSecretRequirements(){return Y(this.getTemplatedFields())}getRawOutputFields(){return{[Mu.name]:this.catalogOutput(Mu)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},Iu=Nu,Lu={pipeId:ju,basePipe:U(ju),label:`Send message`,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:W(ju),billableOperations:Pu,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:ju,connector:{strategy:`first`,connections:[]},trigger:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},Ru=`message:write@1`,zu=_(`message`),Bu=wr(`write-message`),Vu=r.object({pipe_id:r.literal(Ru),connector:w(),trigger:S(),config:r.object({template:li({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:Ti({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Bu}),output_fields:R(r.object({[zu.name]:k({fieldName:zu.name})}))})}),Hu=class extends H{pipeId=Ru;payload;payloadSchema=Vu;billableOperations=Bu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Tr(this.payload.config.model)}estimateBillableOperations(){return[Er(this.payload.config.model,`write-message`)]}getInputRequirement(){return J([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getRawOutputFields(){return{[zu.name]:this.catalogOutput(zu)}}getConnectionsRequirements(){return Dr(this.payload.config.model)}},Uu=Vu,Wu={pipeId:Ru,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:U(Ru),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:W(Ru),defaultInputRequirement:null,billableOperations:Bu,allowedUserConnectionProviders:Or(),managedProviders:Or(),deprecatedProviders:[],defaultPayload:{pipe_id:Ru,connector:null,trigger:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Gu=`people:email:iswork@1`,Ku=_(`is_work_email`),qu=_(`email`),Ju=r.object({pipe_id:r.literal(Gu),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[qu.name]:E({fieldName:qu.name})})),output_fields:R(r.object({[Ku.name]:k({fieldName:Ku.name})}))}).optional()}),Yu=e=>V(G(qu,e)),Xu={"pipe0-is-workemail-check":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Zu=class extends H{pipeId=Gu;payload;payloadSchema=Ju;billableOperations=Xu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-is-workemail-check`]}getInputRequirement(){return Yu(this.payload.config)}getRawOutputFields(){return{[Ku.name]:this.catalogOutput(Ku)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Qu=Ju,$u={pipeId:Gu,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:W(Gu),billableOperations:Xu,basePipe:U(Gu),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Yu(null),defaultPayload:{pipe_id:Gu,trigger:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},ed=`person:email:validate:millionverifier@1`,td=_(`email`),nd=_(`email_validation_status`),rd=_(`million_validation_match`),id=r.object({pipe_id:r.literal(ed),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[td.name]:E({fieldName:td.name})})),output_fields:R(r.object({[nd.name]:k({fieldName:nd.name}),[rd.name]:k({fieldName:rd.name})}))}).optional()}),ad=e=>V(G(td,e)),od={"millionverifier-validate-email":{provider:`millionverifier`,allowManagedConnection:!0,credits:.1,mode:`always`}},sd=class extends H{pipeId=ed;payload;payloadSchema=id;billableOperations=od;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`millionverifier-validate-email`]}getInputRequirement(){return ad(this.payload.config)}getRawOutputFields(){return{[nd.name]:this.catalogOutput(nd),[rd.name]:this.catalogOutput(rd)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},cd=id,ld={pipeId:ed,basePipe:U(ed),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[B.EMAIL],docPath:W(ed),billableOperations:od,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:ad(null),defaultPayload:{pipe_id:ed,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},ud=`people:email:validate:zerobounce@2`,dd=_(`email`),fd=_(`zerobounce_validation_status`),pd=_(`zerobounce_validation_match`),md=r.object({pipe_id:r.literal(ud),connector:w(),trigger:S(),config:r.object({input_fields:z(r.object({[dd.name]:E({fieldName:dd.name})})),output_fields:R(r.object({[pd.name]:k({fieldName:pd.name}),[fd.name]:k({fieldName:fd.name})}))}).optional()}),hd=e=>V(G(dd,e)),gd={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},_d=class extends H{pipeId=ud;payload;payloadSchema=md;billableOperations=gd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return hd(this.payload.config)}getRawOutputFields(){return{[fd.name]:this.catalogOutput(fd),[pd.name]:this.catalogOutput(pd)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},vd=md,yd={pipeId:ud,basePipe:U(ud),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:W(ud),billableOperations:gd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:hd(null),defaultPayload:{pipe_id:ud,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},bd=_(`email`),xd=_(`amplemarket_person_match`),Sd=`person:identity:amplemarket@1`,Cd=r.object({pipe_id:r.literal(Sd),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[bd.name]:E({fieldName:bd.name})})),output_fields:R(r.object({[xd.name]:k({fieldName:xd.name})}))}).optional()}),wd=e=>V(G(bd,e)),Td={"amplemarket-people-identity":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Ed=class extends H{pipeId=Sd;payload;payloadSchema=Cd;billableOperations=Td;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return wd(this.payload.config)}getRawOutputFields(){return{[xd.name]:this.catalogOutput(xd)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Dd=Cd,Od={pipeId:Sd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(Sd),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:W(Sd),billableOperations:Td,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:wd(null),defaultPayload:{pipe_id:Sd,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},kd=`people:identity:email:waterfall@1`,Ad=_(`email`),jd=_(`company_website_url`),Md=_(`name`),Nd=_(`job_title`),Pd=_(`profile_url`),Fd=_(`company_profile_url`),Id=_(`company_name`),Ld=[`findymail`,`hunter`,`crustdata`],Rd=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],zd=r.object({pipe_id:r.literal(kd),connector:w(),trigger:S(),config:r.object({providers:D({availableProviders:Ld,defaultProviders:Rd,sectionKey:`general`}),input_fields:z(r.object({[Ad.name]:E({fieldName:Ad.name})})),output_fields:R(r.object({[Md.name]:k({fieldName:Md.name}),[Pd.name]:k({fieldName:Pd.name}),[Nd.name]:k({fieldName:Nd.name}),[jd.name]:k({fieldName:jd.name}),[Id.name]:k({fieldName:Id.name}),[Fd.name]:k({fieldName:Fd.name})}))}).optional()}),Bd=e=>V(G(Ad,e)),Vd={"hunter-reverse-email-lookup":{provider:`hunter`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"findymail-reverse-email-lookup":{provider:`findymail`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"crustdata-reverse-email-lookup":{provider:`crustdata`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},Hd=class extends H{pipeId=kd;payload;payloadSchema=zd;billableOperations=Vd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Bd(this.payload.config)}getRawOutputFields(){return{[Md.name]:this.catalogOutput(Md,{receivesMovementWidgets:!0}),[Pd.name]:this.catalogOutput(Pd,{receivesMovementWidgets:!0}),[Nd.name]:this.catalogOutput(Nd,{receivesMovementWidgets:!0}),[Id.name]:this.catalogOutput(Id,{receivesMovementWidgets:!0}),[Fd.name]:this.catalogOutput(Fd,{receivesMovementWidgets:!0}),[jd.name]:this.catalogOutput(jd,{receivesMovementWidgets:!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:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ud=zd,Wd={pipeId:kd,basePipe:U(kd),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:W(kd),managedProviders:Ld,deprecatedProviders:[],allowedUserConnectionProviders:Ld,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Vd,defaultInputRequirement:Bd(null),defaultPayload:{pipe_id:kd,connector:null,trigger:null,config:{providers:Rd,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}}}}},Gd=_(`profile_url`),Kd=_(`amplemarket_person_match`),qd=`person:match:amplemarket@1`,Jd=r.object({pipe_id:r.literal(qd),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[Gd.name]:E({fieldName:Gd.name})})),output_fields:R(r.object({[Kd.name]:k({fieldName:Kd.name})}))}).optional()}),Yd=e=>V(G(Gd,e)),Xd={"amplemarket-person-match":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Zd=class extends H{pipeId=qd;payload;payloadSchema=Jd;billableOperations=Xd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Yd(this.payload.config)}getRawOutputFields(){return{[Kd.name]:this.catalogOutput(Kd)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Qd=Jd,$d={pipeId:qd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(qd),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:W(qd),billableOperations:Xd,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Yd(null),defaultPayload:{pipe_id:qd,connector:null,trigger:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},ef=`people:match:role:waterfall@1`,tf=_(`company_website_url`),nf=_(`role_finder_match`),rf=[`leadmagic`],af=[{provider:`leadmagic`}],of=r.object({pipe_id:r.literal(ef),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:af,availableProviders:rf}),roles:gi({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:z(r.object({[tf.name]:E({fieldName:tf.name})})),output_fields:R(r.object({[nf.name]:k({fieldName:nf.name})}))})}),sf=e=>Ki(G(tf,e)),cf={"leadmagic-find-role":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},lf=class extends H{pipeId=ef;payload;payloadSchema=of;billableOperations=cf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return sf(this.payload.config)}getRawOutputFields(){return{[nf.name]:this.catalogOutput(nf,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},uf=of,df={pipeId:ef,basePipe:U(ef),managedProviders:rf,deprecatedProviders:[],allowedUserConnectionProviders:rf,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:W(ef),billableOperations:cf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:sf(null),defaultPayload:{pipe_id:ef,trigger:null,connector:null,config:{roles:[],providers:af,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},ff=`person:name:join@1`,pf=_(`first_name`),mf=_(`last_name`),hf=_(`name`),gf=r.object({pipe_id:r.literal(ff),trigger:S(),connector:T(),config:r.object({input_fields:z(r.object({[pf.name]:E({fieldName:pf.name}),[mf.name]:E({fieldName:mf.name})})),output_fields:R(r.object({[hf.name]:k({fieldName:hf.name})}))}).optional()}),_f=e=>Gi(G(pf,e),G(mf,e)),vf={"pipe0-join-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},yf=class extends H{pipeId=ff;payload;payloadSchema=gf;billableOperations=vf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-join-name`]}getInputRequirement(){return _f(this.payload.config)}getRawOutputFields(){return{[hf.name]:this.catalogOutput(hf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},bf=gf,xf={pipeId:ff,basePipe:U(ff),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:W(ff),billableOperations:vf,defaultInputRequirement:_f(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ff,trigger:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},Sf=`people:name:split@1`,Cf=_(`name`),wf=_(`first_name`),Tf=_(`last_name`),Ef=r.object({pipe_id:r.literal(Sf),connector:T(),trigger:S(),config:r.object({input_fields:z(r.object({[Cf.name]:E({fieldName:Cf.name})})),output_fields:R(r.object({[wf.name]:k({fieldName:wf.name}),[Tf.name]:k({fieldName:Tf.name})}))}).optional()}),Df=e=>V(G(Cf,e)),Of={"pipe0-split-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},kf=class extends H{pipeId=Sf;payload;payloadSchema=Ef;billableOperations=Of;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-split-name`]}getInputRequirement(){return Df(this.payload.config)}getRawOutputFields(){return{[wf.name]:this.catalogOutput(wf),[Tf.name]:this.catalogOutput(Tf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Af=Ef,jf={pipeId:Sf,basePipe:U(Sf),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[B.NAMES],docPath:W(Sf),billableOperations:Of,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Df(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Sf,trigger:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},Mf=`people:personalemail:profile:waterfall@1`,Nf=_(`profile_url`),Pf=_(`personal_email`),Ff=_(`alternate_personal_emails`),If=[`clado`,`leadmagic`,`mixrank`],Lf=[{provider:`leadmagic`},{provider:`mixrank`}],Rf=r.object({pipe_id:r.literal(Mf),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:If,defaultProviders:Lf}),input_fields:z(r.object({[Nf.name]:E({fieldName:Nf.name})})),output_fields:R(r.object({[Pf.name]:k({fieldName:Pf.name}),[Ff.name]:k({fieldName:Ff.name})}))}).optional()}),zf=e=>V(G(Nf,e)),Bf={"clado-personal-email-from-profile":{provider:`clado`,allowManagedConnection:!0,credits:2,mode:`always`},"leadmagic-personal-email-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"mixrank-personal-email-reveal":{provider:`mixrank`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},Vf=class extends H{pipeId=Mf;payload;payloadSchema=Rf;billableOperations=Bf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return zf(this.payload.config)}getRawOutputFields(){return{[Pf.name]:this.catalogOutput(Pf,{receivesMovementWidgets:!0}),[Ff.name]:this.catalogOutput(Ff)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-people-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Hf=Rf,Uf={pipeId:Mf,basePipe:U(Mf),allowedUserConnectionProviders:If,managedProviders:If,deprecatedProviders:[`clado`],label:`Find personal email`,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:W(Mf),billableOperations:Bf,defaultInputRequirement:zf(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Mf,connector:null,trigger:null,config:{providers:Lf,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},Wf=`people:phone:profile:waterfall@1`,Gf=_(`profile_url`),Kf=_(`mobile`),qf=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],Jf=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Yf=r.object({pipe_id:r.literal(Wf),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Jf,availableProviders:qf}),input_fields:z(r.object({[Gf.name]:E({fieldName:Gf.name})})),output_fields:R(r.object({[Kf.name]:k({fieldName:Kf.name})}))}).optional()}),Xf=e=>V(G(Gf,e)),Zf={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"clado-mobile-from-profile":{provider:`clado`,allowManagedConnection:!0,credits:5,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`},"findymail-mobile-from-profile":{provider:`findymail`,allowManagedConnection:!0,credits:6,mode:`onSuccess`},"amplemarket-phone-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},Qf=class extends H{pipeId=Wf;payload;payloadSchema=Yf;billableOperations=Zf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Xf(this.payload.config)}getRawOutputFields(){return{[Kf.name]:this.catalogOutput(Kf,{receivesMovementWidgets:!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:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$f=Yf,ep={pipeId:Wf,basePipe:U(Wf),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:W(Wf),tags:[B.PHONE,B.WATERFALL],billableOperations:Zf,defaultInputRequirement:Xf(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:qf,allowedUserConnectionProviders:qf,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:Wf,connector:null,trigger:null,config:{providers:Jf,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},tp=`people:phone:workemail:waterfall@1`,np=_(`work_email`),rp=_(`mobile`),ip=[`leadmagic`,`amplemarket`],ap=[{provider:`leadmagic`},{provider:`amplemarket`}],op=r.object({pipe_id:r.literal(tp),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:ip,defaultProviders:ap}),input_fields:z(r.object({[np.name]:E({fieldName:np.name})})),output_fields:R(r.object({[rp.name]:k({fieldName:rp.name})}))}).optional()}),sp=e=>V(G(np,e)),cp={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},lp=class extends H{pipeId=tp;payload;payloadSchema=op;billableOperations=cp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return sp(this.payload.config)}getRawOutputFields(){return{[rp.name]:this.catalogOutput(rp,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},up=op,dp={pipeId:tp,basePipe:U(tp),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:W(tp),billableOperations:cp,defaultInputRequirement:sp(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:ip,managedProviders:ip,deprecatedProviders:[],defaultPayload:{pipe_id:tp,connector:null,trigger:null,config:{providers:ap,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},fp=_(`profile_url`),pp=_(`post_list_string`),mp=_(`crustdata_post_list`),hp=`person:posts:crustdata@1`,gp=r.object({pipe_id:r.literal(hp),trigger:S(),connector:w(),config:r.object({limit:Di({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({[fp.name]:E({fieldName:fp.name})})),output_fields:R(r.object({[pp.name]:k({fieldName:pp.name}),[mp.name]:k({fieldName:mp.name})}))}).optional()}),_p=e=>V(G(fp,e)),vp={"crustdata-single-post-fetch":{allowManagedConnection:!0,credits:1.5,mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},yp=class extends H{pipeId=hp;payload;payloadSchema=gp;billableOperations=vp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-single-post-fetch`]}getInputRequirement(){return _p(this.payload.config)}getRawOutputFields(){return{[pp.name]:this.catalogOutput(pp),[mp.name]:this.catalogOutput(mp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},bp=gp,xp={pipeId:hp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(hp),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[B.LINKEDIN],docPath:W(hp),billableOperations:vp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:_p(null),defaultPayload:{pipe_id:hp,connector:null,trigger:null,config:{limit:5,input_fields:{profile_url:{alias:``}},output_fields:{crustdata_post_list:{alias:``,enabled:!0},post_list_string:{alias:``,enabled:!0}}}}},Sp=`people:profile:waterfall@1`,Cp=_(`profile`),wp=_(`profile_url`),Tp=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Ep=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Dp=r.object({pipe_id:r.literal(Sp),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Tp,defaultProviders:Ep}),input_fields:z(r.object({[wp.name]:E({fieldName:wp.name})})),output_fields:R(r.object({[Cp.name]:k({fieldName:Cp.name})}))}).optional()}),Op=e=>V(G(wp,e)),kp={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"clado-get-professional-profile":{provider:`clado`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"amplemarket-person-match":{provider:`amplemarket`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},Ap=class extends H{pipeId=Sp;payload;payloadSchema=Dp;billableOperations=kp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Op(this.payload.config)}getRawOutputFields(){return{[Cp.name]:this.catalogOutput(Cp,{receivesMovementWidgets:!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:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},jp=Dp,Mp={pipeId:Sp,basePipe:U(Sp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:W(Sp),tags:[B.LINKEDIN,B.WATERFALL],managedProviders:Tp,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Tp,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:kp,defaultInputRequirement:Op(null),defaultPayload:{pipe_id:Sp,trigger:null,connector:null,config:{providers:Ep,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Np=_(`work_email`),Pp=_(`crustdata_person_match`),Fp=_(`crustdata_profile_match_score`),Ip=`people:profile:workemail:crustdata@1`,Lp=r.object({pipe_id:r.literal(Ip),trigger:S(),connector:w(),config:r.object({input_fields:z(r.object({[Np.name]:E({fieldName:Np.name})})),output_fields:R(r.object({[Pp.name]:k({fieldName:Pp.name}),[Fp.name]:k({fieldName:Fp.name})}))}).optional()}),Rp=e=>V(G(Np,e)),zp={"crustdata-profile-from-workemail":{allowManagedConnection:!0,credits:5,mode:`onSuccess`,provider:`crustdata`}},Bp=class extends H{pipeId=Ip;payload;payloadSchema=Lp;billableOperations=zp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-profile-from-workemail`]}getInputRequirement(){return Rp(this.payload.config)}getRawOutputFields(){return{[Pp.name]:this.catalogOutput(Pp),[Fp.name]:this.catalogOutput(Fp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Vp=Lp,Hp={pipeId:Ip,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:U(Ip),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:W(Ip),billableOperations:zp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Rp(null),defaultPayload:{pipe_id:Ip,connector:null,trigger:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},Up=`people:profileurl:email:waterfall@1`,Wp=_(`email`),Gp=_(`work_email`),Kp=_(`profile_url`),qp=[`leadmagic`],Jp=[{provider:`leadmagic`}],Yp=r.object({pipe_id:r.literal(Up),trigger:S(),connector:w(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Jp,availableProviders:qp}),input_fields:z(r.object({[Wp.name]:E({fieldName:Wp.name}),[Gp.name]:E({fieldName:Gp.name})})),output_fields:R(r.object({[Kp.name]:k({fieldName:Kp.name})}))}).optional()}),Xp=e=>Ki(G(Wp,e),G(Gp,e)),Zp={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Qp=class extends H{pipeId=Up;payload;payloadSchema=Yp;billableOperations=Zp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Xp(this.payload.config)}getRawOutputFields(){return{[Kp.name]:this.catalogOutput(Kp,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$p=Yp,em={pipeId:Up,basePipe:U(Up),managedProviders:qp,deprecatedProviders:[],allowedUserConnectionProviders:qp,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:W(Up),billableOperations:Zp,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Xp(null),defaultPayload:{pipe_id:Up,trigger:null,connector:null,config:{providers:Jp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},tm=`person:profileurl:name@1`,nm=_(`name`),rm=_(`company_name`),im=_(`location_hint`),am=_(`profile_url`),om=r.object({pipe_id:r.literal(tm),connector:T(),trigger:S(),config:r.object({input_fields:z(r.object({[nm.name]:E({fieldName:nm.name}),[rm.name]:E({fieldName:rm.name}),[im.name]:E({fieldName:im.name})})),output_fields:R(r.object({[am.name]:k({fieldName:am.name})}))}).optional()}),sm=e=>Gi(V(G(nm,e)),V(G(rm,e)),qi(G(im,e))),cm={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},lm=class extends H{pipeId=tm;payload;payloadSchema=om;billableOperations=cm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return sm(this.payload.config)}getRawOutputFields(){return{[am.name]:this.catalogOutput(am)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},um=om,dm={pipeId:tm,basePipe:U(tm),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:W(tm),tags:[B.LINKEDIN],billableOperations:cm,defaultInputRequirement:sm(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:tm,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},fm=`people:workemail:profileurl:waterfall@1`,pm=_(`profile_url`),mm=_(`work_email`),hm=_(`email_validation_status`),gm=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],_m=[`clado`],vm=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],ym=r.object({pipe_id:r.literal(fm),connector:w(),trigger:S(),config:r.object({providers:D({availableProviders:gm,defaultProviders:vm,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({[pm.name]:E({fieldName:pm.name})})),output_fields:R(r.object({[mm.name]:k({fieldName:mm.name}),[hm.name]:k({fieldName:hm.name})}))}).optional()}),bm=e=>V(G(pm,e)),xm={"hunter-workemail-profileurl":{provider:`hunter`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"leadmagic-workemail-profileurl":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"findymail-workemail-profileurl":{provider:`findymail`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"crustdata-workemail-profileurl":{provider:`crustdata`,allowManagedConnection:!0,credits:3,mode:`onSuccess`},"clado-workemail-profileurl":{provider:`clado`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:2.5,mode:`onSuccess`}},Sm=class extends H{pipeId=fm;payload;payloadSchema=ym;billableOperations=xm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return bm(this.payload.config)}getRawOutputFields(){return{[mm.name]:this.catalogOutput(mm,{receivesMovementWidgets:!0}),[hm.name]:this.catalogOutput(hm,{receivesMovementWidgets:!0})}}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:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Cm=ym,wm={pipeId:fm,basePipe:U(fm),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:W(fm),managedProviders:gm,allowedUserConnectionProviders:gm,deprecatedProviders:_m,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:xm,defaultInputRequirement:bm(null),defaultPayload:{pipe_id:fm,connector:null,trigger:null,config:{providers:vm,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}}}}},Tm=`people:workemail:waterfall@1`,Em=_(`name`),Dm=_(`company_website_url`),Om=_(`company_name`),km=_(`work_email`),Am=_(`email_validation_status`),jm=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Mm=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Nm=r.object({pipe_id:r.literal(Tm),connector:w(),trigger:S(),config:r.object({providers:D({availableProviders:jm,defaultProviders:Mm,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({[Em.name]:E({fieldName:Em.name}),[Dm.name]:E({fieldName:Dm.name}),[Om.name]:E({fieldName:Om.name})})),output_fields:R(r.object({[km.name]:k({fieldName:km.name}),[Am.name]:k({fieldName:Am.name})}))}).optional()}),Pm=e=>Gi(V(G(Em,e)),Ki(G(Dm,e),G(Om,e))),Fm={"leadmagic-get-work-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:.5,mode:`onSuccess`},"icypeas-get-work-email":{provider:`icypeas`,allowManagedConnection:!0,credits:.5,mode:`onSuccess`},"prospeo-get-work-email":{provider:`prospeo`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"findymail-get-work-email":{provider:`findymail`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"hunter-get-work-email":{provider:`hunter`,allowManagedConnection:!0,credits:1,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:2.5,mode:`onSuccess`}},Im=class extends H{pipeId=Tm;payload;payloadSchema=Nm;billableOperations=Fm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>q(e,this.billableOperations).billableOperation)}getInputRequirement(){return Pm(this.payload.config)}getRawOutputFields(){return{[km.name]:this.catalogOutput(km,{receivesMovementWidgets:!0}),[Am.name]:this.catalogOutput(Am,{receivesMovementWidgets:!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:K(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Lm=Nm,Rm={pipeId:Tm,basePipe:U(Tm),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:W(Tm),managedProviders:jm,deprecatedProviders:[],allowedUserConnectionProviders:jm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Fm,defaultInputRequirement:Pm(null),defaultPayload:{pipe_id:Tm,connector:null,trigger:null,config:{providers:Mm,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}}}}},zm=`prompt:run@1`,Bm=wr(`prompt`),Vm=r.object({pipe_id:r.literal(zm),connector:w(),trigger:S(),config:r.object({prompt:ci({sectionKey:`general`,path:`config.prompt`,placeholder:X(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:Ti({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Bm})})}),Hm=class extends H{pipeId=zm;payload;payloadSchema=Vm;billableOperations=Bm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Tr(this.payload.config.model)}estimateBillableOperations(){return[Er(this.payload.config.model,`prompt`)]}getInputRequirement(){return J([this.payload.config.prompt.template])}getSecretRequirements(){return Y([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=tn(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,receivesMovementWidgets:!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,receivesMovementWidgets:!1}}return n}getConnectionsRequirements(){return Dr(this.payload.config.model)}},Um=Vm,Wm={pipeId:zm,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:U(zm),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:W(zm),defaultInputRequirement:null,billableOperations:Bm,allowedUserConnectionProviders:Or(),managedProviders:Or(),deprecatedProviders:[],defaultPayload:{pipe_id:zm,connector:null,trigger:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},Gm=`sheet:row:append@1`,Km=_(`sheet_record_id`),qm=_(`created_sheet`),Jm=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],Ym=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],Xm={requires:{connection:`pipe0`},enabledIf:jt(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Jm: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`}}},Zm={requires:{connection:`pipe0`},enabledIf:jt(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Ym:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},Qm=r.object({pipe_id:r.literal(Gm),connector:di(),trigger: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:Xm}),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 unkown fields`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_field_creation`,sectionKey:`general`,description:`Add unkown 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:Ai({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:Zm,enabledIf:e=>e.config?.allow_sheet_creation?{disabled:!1}:{disabled:!0,message:`Turn on “Upsert sheets” to specify a team.`}}),included_fields:pi({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({[Km.name]:k({fieldName:Km.name}),[qm.name]:k({fieldName:qm.name})}))})}),$m={"sheets-append-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},eh=class extends H{pipeId=Gm;payload;payloadSchema=Qm;billableOperations=$m;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-append-pipe0`]}getInputRequirement(){let e=[J([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=gl(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 Gi(...e)}getSecretRequirements(){return Y([this.payload.config.sheet])}getRawOutputFields(){return{[Km.name]:this.catalogOutput(Km),[qm.name]:this.catalogOutput(qm)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},th=Qm,nh={pipeId:Gm,basePipe:U(Gm),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:W(Gm),tags:[B.FIELDS],billableOperations:$m,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Gm,connector:{strategy:`first`,connections:[]},trigger: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}}}}},rh=`sheet:row:expandappend@1`,ih=_(`sheet_record_ids`),ah=_(`input_objects`),oh=r.object({pipe_id:r.literal(rh),connector:di(),trigger:S(),config:r.object({sheet:Si({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 unkown object fields to the sheet definition.`,label:`Allow field creation`}),input_fields:z(r.object({[ah.name]:E({fieldName:ah.name})})),output_fields:R(r.object({[ih.name]:k({fieldName:ih.name})}))})}),sh={"sheets-appendexpand-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},ch=e=>V(G(ah,e)),lh=class extends H{pipeId=rh;payload;payloadSchema=oh;billableOperations=sh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-appendexpand-pipe0`]}getInputRequirement(){return ch(this.payload.config)}getRawOutputFields(){return{[ih.name]:this.catalogOutput(ih)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},uh=oh,dh={pipeId:rh,basePipe:U(rh),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:W(rh),tags:[B.FIELDS],billableOperations:sh,defaultInputRequirement:ch(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:rh,connector:{strategy:`first`,connections:[]},trigger:null,config:{sheet:``,run:!0,allow_field_creation:!0,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},fh=`template:fill@1`,ph=_(`template_output`),mh=r.object({pipe_id:r.literal(fh),connector:w(),trigger:S(),config:r.object({template:li({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:X(`template`),groupPath:`config.general`,required:!0}),output_fields:R(r.object({[ph.name]:k({fieldName:ph.name})}))})}),hh={"template-fill":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},gh=class extends H{pipeId=fh;payload;payloadSchema=mh;billableOperations=hh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill`]}getInputRequirement(){return J([this.payload.config.template])}getSecretRequirements(){return Y([this.payload.config.template])}getRawOutputFields(){return{[ph.name]:this.catalogOutput(ph)}}getConnectionsRequirements(){return[]}},_h=mh,vh={pipeId:fh,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:U(fh),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ input name type="string" }} with actual values.`,tags:[B.TEXT],docPath:W(fh),defaultInputRequirement:null,billableOperations:hh,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:fh,connector:null,trigger:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},yh=`website:extract:firecrawl@1`,bh=_(`website_url`),xh=_(`firecrawl_extract_result`),Sh=r.object({pipe_id:r.literal(yh),connector:w(),trigger:S(),config:r.object({json_schema:ki({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:Ci({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({[bh.name]:E({fieldName:bh.name})})),output_fields:R(r.object({[xh.name]:k({fieldName:xh.name})}))})}),Ch=e=>V(G(bh,e)),wh={"firecrawl-website-extract":{allowManagedConnection:!0,provider:`firecrawl`,credits:2,mode:`onSuccess`}},Th=class extends H{pipeId=yh;payload;payloadSchema=Sh;billableOperations=wh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-extract`]}getInputRequirement(){return Ch(this.payload.config)}getRawOutputFields(){return{[xh.name]:this.catalogOutput(xh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Eh=Sh,Dh={pipeId:yh,basePipe:U(yh),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:W(yh),billableOperations:wh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Ch(null),defaultPayload:{pipe_id:yh,trigger: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}}}}},Oh=`website:maplinks:firecrawl@1`,kh={"firecrawl-website-maplinks":{allowManagedConnection:!0,provider:`firecrawl`,credits:1,mode:`onSuccess`}},Ah=_(`website_url`),jh=_(`mapped_links`),Mh=r.object({pipe_id:r.literal(Oh),connector:w(),trigger:S(),config:r.object({page_limit:Di({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,required:!1,path:`config.page_limit`,sectionKey:`general`}),sitemap:wi({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:Si({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).default(``),input_fields:z(r.object({[Ah.name]:E({fieldName:Ah.name})})),output_fields:R(r.object({[jh.name]:k({fieldName:jh.name})}))}).optional()}),Nh=e=>V(G(Ah,e)),Ph=class extends H{pipeId=Oh;payload;payloadSchema=Mh;billableOperations=kh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-maplinks`]}getInputRequirement(){return Nh(this.payload.config)}getRawOutputFields(){return{[jh.name]:this.catalogOutput(jh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},Fh=Mh,Ih={pipeId:Oh,basePipe:U(Oh),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:W(Oh),billableOperations:kh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Nh(null),defaultPayload:{pipe_id:Oh,trigger:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},Lh=`website:scrape:firecrawl@1`,Rh=_(`website_url`),zh=_(`website_markdown`),Bh=_(`website_html`),Vh=_(`website_links`),Hh=r.object({pipe_id:r.literal(Lh),connector:w(),trigger: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({[Rh.name]:E({fieldName:Rh.name})})),output_fields:R(r.object({[zh.name]:k({fieldName:zh.name}),[Bh.name]:k({fieldName:Bh.name}),[Vh.name]:k({fieldName:Vh.name})}))}).optional()}),Uh=e=>V(G(Rh,e)),Wh={"firecrawl-website-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`}},Gh=class extends H{pipeId=Lh;payload;payloadSchema=Hh;billableOperations=Wh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-scrape`]}getInputRequirement(){return Uh(this.payload.config)}getRawOutputFields(){return{[zh.name]:this.catalogOutput(zh),[Bh.name]:this.catalogOutput(Bh),[Vh.name]:this.catalogOutput(Vh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Kh=Hh,qh={pipeId:Lh,basePipe:U(Lh),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[B.SCRAPE],docPath:W(Lh),billableOperations:Wh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Uh(null),defaultPayload:{pipe_id:Lh,trigger: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}}}}},Jh=`website:scrapelist:firecrawl@1`,Yh={"firecrawl-list-url-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`,note:`You are charged per url that is scraped.`}},Xh=_(`urls`),Zh=_(`scrape_list_response`),Qh=r.object({pipe_id:r.literal(Jh),connector:w(),trigger: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:Ei({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({[Xh.name]:E({fieldName:Xh.name})})),output_fields:R(r.object({[Zh.name]:k({fieldName:Zh.name})}))}).optional()}),$h=e=>V(G(Xh,e)),eg=class extends H{pipeId=Jh;payload;payloadSchema=Qh;billableOperations=Yh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`firecrawl-list-url-scrape`)}getInputRequirement(){return $h(this.payload.config)}getRawOutputFields(){return{[Zh.name]:this.catalogOutput(Zh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},tg=Qh,ng={pipeId:Jh,basePipe:U(Jh),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[B.SCRAPE],docPath:W(Jh),billableOperations:Yh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:$h(null),defaultPayload:{pipe_id:Jh,trigger:null,connector:null,config:{scrape_main_only:!0,formats:[`html`,`markdown`,`links`],input_fields:{urls:{alias:``}},output_fields:{scrape_list_response:{alias:``,enabled:!0}}}}},rg={"prompt:run@1":Hm,"company:newssummary:website@1":vo,"company:techstack:builtwith@1":Go,"company:websiteurl:email@1":es,"company:funding:leadmagic@1":xa,"people:workemail:waterfall@1":Im,"people:email:iswork@1":Zu,"people:name:split@1":kf,"people:validate:email:zerobounce@1":ul,"people:email:validate:zerobounce@2":_d,"people:mobilenumber:workemail:waterfall@1":bc,"person:name:join@1":yf,"company:overview@1":Rs,"company:overview@2":Po,"json:extract@1":Ou,"company:lookalikes:companyenrich@1":Va,"company:match:logodev@1":co,"person:posts:crustdata@1":yp,"people:profile:workemail:crustdata@1":Bp,"people:identity:email:waterfall@1":Hd,"person:identity:amplemarket@1":Ed,"email:send:resend@1":Ol,"contact:create:resend@1":fs,"email:send:gmail@1":xl,"email:write@1":Ll,"fields:merge@1":pu,"field:slugify@1":tu,"field:domainify@1":Kl,"http:request@1":Su,"template:fill@1":gh,"message:send:slack@1":Fu,"message:write@1":Hu,"people:personalemail:profile:waterfall@1":Vf,"website:scrape:firecrawl@1":Gh,"website:scrapelist:firecrawl@1":eg,"website:extract:firecrawl@1":Th,"website:maplinks:firecrawl@1":Ph,"sheet:row:append@1":eh,"sheet:row:expandappend@1":lh,"people:match:role:waterfall@1":lf,"company:match:crustdata@1":Xa,"person:match:amplemarket@1":Zd,"company:identity@2":Ma,"people:phone:profile:waterfall@1":Qf,"people:phone:workemail:waterfall@1":lp,"people:profile:waterfall@1":Ap,"people:profileurl:email:waterfall@1":Qp,"person:profileurl:name@1":lm,"people:email:validate:zerobounce@1":qs,"person:email:validate:millionverifier@1":sd,"people:workemail:profileurl:waterfall@1":Sm,"company:identity@1":Cs,"people:professionalprofile:waterfall@1":jc,"people:professionalprofileurl:name@1":el,"people:professionalprofileurl:email:waterfall@1":Uc,"people:mobilenumber:professionalprofile:waterfall@1":lc},ig={"prompt:run@1":Um,"company:newssummary:website@1":yo,"company:techstack:builtwith@1":Ko,"company:websiteurl:email@1":ts,"company:funding:leadmagic@1":Sa,"people:workemail:waterfall@1":Lm,"people:email:iswork@1":Qu,"people:name:split@1":Af,"people:validate:email:zerobounce@1":dl,"people:email:validate:zerobounce@2":vd,"people:mobilenumber:workemail:waterfall@1":xc,"person:name:join@1":bf,"company:overview@1":zs,"company:overview@2":Fo,"json:extract@1":ku,"email:write@1":Rl,"fields:merge@1":mu,"field:slugify@1":nu,"field:domainify@1":ql,"http:request@1":Cu,"email:send:resend@1":kl,"contact:create:resend@1":ps,"company:lookalikes:companyenrich@1":Ha,"company:match:logodev@1":lo,"person:posts:crustdata@1":bp,"people:profile:workemail:crustdata@1":Vp,"people:identity:email:waterfall@1":Ud,"company:match:crustdata@1":Za,"person:identity:amplemarket@1":Dd,"message:send:slack@1":Iu,"email:send:gmail@1":Sl,"message:write@1":Uu,"template:fill@1":_h,"website:scrape:firecrawl@1":Kh,"website:scrapelist:firecrawl@1":tg,"website:extract:firecrawl@1":Eh,"website:maplinks:firecrawl@1":Fh,"sheet:row:append@1":th,"sheet:row:expandappend@1":uh,"people:match:role:waterfall@1":uf,"company:identity@2":Na,"people:phone:profile:waterfall@1":$f,"people:personalemail:profile:waterfall@1":Hf,"people:profile:waterfall@1":jp,"people:profileurl:email:waterfall@1":$p,"person:profileurl:name@1":um,"people:email:validate:zerobounce@1":Js,"person:email:validate:millionverifier@1":cd,"people:phone:workemail:waterfall@1":up,"people:workemail:profileurl:waterfall@1":Cm,"person:match:amplemarket@1":Qd,"company:identity@1":ws,"people:professionalprofile:waterfall@1":Mc,"people:professionalprofileurl:name@1":tl,"people:professionalprofileurl:email:waterfall@1":Wc,"people:mobilenumber:professionalprofile:waterfall@1":uc},ag={"prompt:run@1":Wm,"company:newssummary:website@1":bo,"company:techstack:builtwith@1":qo,"company:websiteurl:email@1":ns,"company:funding:leadmagic@1":Ca,"people:workemail:waterfall@1":Rm,"people:email:iswork@1":$u,"people:name:split@1":jf,"people:validate:email:zerobounce@1":fl,"people:mobilenumber:workemail:waterfall@1":Sc,"person:name:join@1":xf,"company:overview@1":Bs,"company:overview@2":Io,"json:extract@1":Au,"email:send:resend@1":Al,"contact:create:resend@1":ms,"email:send:gmail@1":Cl,"message:send:slack@1":Lu,"message:write@1":Wu,"email:write@1":zl,"template:fill@1":vh,"fields:merge@1":hu,"field:slugify@1":ru,"field:domainify@1":Jl,"http:request@1":wu,"sheet:row:append@1":nh,"sheet:row:expandappend@1":dh,"company:lookalikes:companyenrich@1":Ua,"people:match:role:waterfall@1":df,"company:match:logodev@1":uo,"person:posts:crustdata@1":xp,"people:profile:workemail:crustdata@1":Hp,"people:workemail:profileurl:waterfall@1":wm,"people:identity:email:waterfall@1":Wd,"company:match:crustdata@1":Qa,"person:identity:amplemarket@1":Od,"people:personalemail:profile:waterfall@1":Uf,"people:email:validate:zerobounce@1":Ys,"people:email:validate:zerobounce@2":yd,"person:email:validate:millionverifier@1":ld,"people:phone:workemail:waterfall@1":dp,"website:scrape:firecrawl@1":qh,"website:scrapelist:firecrawl@1":ng,"website:extract:firecrawl@1":Dh,"website:maplinks:firecrawl@1":Ih,"person:match:amplemarket@1":$d,"company:identity@2":Pa,"people:phone:profile:waterfall@1":ep,"people:profile:waterfall@1":Mp,"people:profileurl:email:waterfall@1":em,"person:profileurl:name@1":dm,"company:identity@1":Ts,"people:professionalprofile:waterfall@1":Nc,"people:professionalprofileurl:name@1":nl,"people:professionalprofileurl:email:waterfall@1":Gc,"people:mobilenumber:professionalprofile:waterfall@1":dc};function og(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function sg(e){return rg[e]}function cg(e){return ag[e].defaultPayload}function lg(e){return ig[e]}const ug=r.discriminatedUnion(`pipe_id`,Object.values(ig)).openapi(`PipePayload`),dg=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=cg(Cn.parse(e.pipe_id));return t?{...e,config:Hi(e?.config||{},t.config)}:e}catch{return e}},ug);function fg(e){return ag[e]}function pg(e,t){let n=fg(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 mg(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function hg(){let e={};for(let t of Object.values(ag)){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=mg(e.pipeId);return mg(t.pipeId)-n})}),e}const gg=e=>{let t=fg(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},_g=hg();function vg(e){let t=[];for(let[n,r]of Object.entries(_g)){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:mg(i.pipeId)})}return t}function yg(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=gg(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of og(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of Yi(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:_g}}const bg=r.object({id:r.string(),organization_id:r.string(),order:r.array(En),field_definitions:rr,errors:r.array(Vn),records:r.record(En,er),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),xg=r.object({environment:xn.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`),Sg=r.object({config:xg.openapi(`PipesRequestConfig`),field_annotations:Kn.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(ug),input:r.array($n.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Cg(e){let t=fg(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.credits||0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}const wg={"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:99,label:`Custom connections`,iconKey:`plug`,defaultExpand:!0},"config.extraction":{order:0,label:`Extraction`,iconKey:`code`,defaultExpand:!0},trigger:{order:99,label:`Run pipe IF`,iconKey:`workflow`,defaultExpand:!0},"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}};function Tg(e){let t=lg(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 Eg({pipePayload:e,validationContext:t,sectionOrder:n,store:r,groupPathMatch:i=wg,formResolvers:a}){let o=lg(e.pipe_id),s=ta(e.pipe_id,e.config||{});return oi({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:fg(e.pipe_id),hash:s}):i},sectionOrder:n,store:r,formResolvers:a})}const Dg=[`companies:profiles:crustdata@1`,`companies:profiles:amplemarket@1`,`people:profiles:crustdata@1`,`people:profiles:amplemarket@1`],Og=r.enum(Dg);function kg(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 Ag(e,t){let n={name:e,config:t};return ea.hashObject(n)}var jg=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 Ag(this.searchId,this.payload)}};function Mg(e){return e.split(`@`)[0]}function Ng(e){return`/docs/searches/searches-catalog/${Mg(e)}/${e.split(`@`)[1]}`}const Pg=`companies:profiles:amplemarket@1`,Fg=_(`company_name`),Ig=_(`company_website_url`),Lg=_(`company_description`),Rg=_(`company_profile_url`),zg=_(`amplemarket_company_match`),Bg=r.object({search_id:r.literal(Pg),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({[Fg.name]:N({fieldName:Fg.name}),[Ig.name]:N({fieldName:Ig.name}),[Lg.name]:N({fieldName:Lg.name}),[Rg.name]:N({fieldName:Rg.name}),[zg.name]:N({fieldName:zg.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:u(`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:u(`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:u(`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:f(`amplemarket.company_types`),required:!1}),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:u(`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:d(`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:f(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:Mi({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:u(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:f(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_last_6_months_in_percent:Mi({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=>{kg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Vg={default:{input:[{fields:[]}]}},Hg=class extends jg{searchId=Pg;schema=Bg;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Fg.name]:this.catalogOutput(Fg),[Ig.name]:this.catalogOutput(Ig),[Lg.name]:this.catalogOutput(Lg),[Rg.name]:this.catalogOutput(Rg),[zg.name]:this.catalogOutput(zg)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Vg}},Ug=Bg,Wg={searchId:Pg,baseSearch:Mg(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:Ng(Pg),cost:{mode:`per_page`,creditsPerPage:2},provider:`amplemarket`,defaultPayload:{search_id:Pg,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:[]}}}}},Gg=`companies:profiles:crustdata@1`,Kg=_(`company_name`),qg=_(`company_website_url`),Jg=_(`company_description`),Yg=_(`company_profile_url`),Xg=_(`crustdata_company_match`),Zg=r.object({search_id:r.literal(Gg),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:Ri({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[Kg.name]:N({fieldName:Kg.name}),[qg.name]:N({fieldName:Kg.name}),[Jg.name]:N({fieldName:Jg.name}),[Yg.name]:N({fieldName:Yg.name}),[Xg.name]:N({fieldName:Xg.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:u(`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:u(`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:u(`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:u(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:f(`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:u(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:u(`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:u(`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:f(`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:f(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Pi({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:f(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:Pi({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:f(`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:f(`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:u(`company_domains`,{widgets:{emoji:{char:`🌐`}}})})}).check(e=>{kg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Qg={default:{input:[{fields:[]}]}},$g=class extends jg{searchId=Gg;schema=Zg;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Kg.name]:this.catalogOutput(Kg),[qg.name]:this.catalogOutput(qg),[Jg.name]:this.catalogOutput(Jg),[Yg.name]:this.catalogOutput(Yg),[Xg.name]:this.catalogOutput(Xg)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Qg}},e_=Zg,t_={searchId:Gg,baseSearch:Mg(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[B.COMPANY_PROFILES],docPath:Ng(Gg),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:Gg,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:[]}}}}},n_=`people:profiles:amplemarket@1`,r_=_(`name`),i_=_(`company_website_url`),a_=_(`profile_url`),o_=_(`job_title`),s_=_(`amplemarket_person_match`),c_=r.object({search_id:r.literal(n_),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({[r_.name]:N({fieldName:r_.name}),[i_.name]:N({fieldName:i_.name}),[a_.name]:N({fieldName:a_.name}),[o_.name]:N({fieldName:o_.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:u(`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:u(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:f(`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:f(`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:f(`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:u(`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:u(`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:u(`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:f(`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:f(`amplemarket.company_revenue`)}),current_employer_founded_year:Mi({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:u(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:u(`schools`)})}).check(e=>{kg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),l_={default:{input:[{fields:[]}]}},u_=class extends jg{searchId=n_;schema=c_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[r_.name]:this.catalogOutput(r_),[i_.name]:this.catalogOutput(i_),[a_.name]:this.catalogOutput(a_),[o_.name]:this.catalogOutput(o_),[s_.name]:this.catalogOutput(s_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return l_}},d_=c_,f_={searchId:n_,baseSearch:Mg(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:Ng(n_),cost:{mode:`per_page`,creditsPerPage:3,info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:n_,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:[]}}}},p_=`people:profiles:crustdata@1`,m_=_(`name`),h_=_(`company_website_url`),g_=_(`profile_url`),__=_(`job_title`),v_=_(`crustdata_person_match`),y_=r.object({search_id:r.literal(p_),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:Ri({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:R(r.object({[m_.name]:N({fieldName:m_.name}),[h_.name]:N({fieldName:h_.name}),[g_.name]:N({fieldName:g_.name}),[__.name]:N({fieldName:__.name}),[v_.name]:N({fieldName:v_.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:u(`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:u(`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:u(`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:u(`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:u(`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:f(`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:u(`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:d(`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:u(`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:u(`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:u(`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:d(`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:d(`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:u(`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:f(`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:d(`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:Li({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:u(`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:u(`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:u(`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:u(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:u(`person.education_activities.crustdata`)})}).check(e=>{kg(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),b_={default:{input:[{fields:[]}]}},x_=class extends jg{searchId=p_;schema=y_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[m_.name]:this.catalogOutput(m_),[h_.name]:this.catalogOutput(h_),[g_.name]:this.catalogOutput(g_),[__.name]:this.catalogOutput(__),[v_.name]:this.catalogOutput(v_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return b_}},S_=y_,C_={searchId:p_,baseSearch:Mg(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[B.PEOPLE_PROFILES],docPath:Ng(p_),cost:{mode:`per_page`,creditsPerPage:5,info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:p_,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:[]}}}}},w_={"people:profiles:crustdata@1":x_,"companies:profiles:crustdata@1":$g,"people:profiles:amplemarket@1":u_,"companies:profiles:amplemarket@1":Hg},T_={"people:profiles:crustdata@1":S_,"companies:profiles:crustdata@1":e_,"people:profiles:amplemarket@1":d_,"companies:profiles:amplemarket@1":Ug},E_={"people:profiles:crustdata@1":C_,"companies:profiles:crustdata@1":t_,"people:profiles:amplemarket@1":f_,"companies:profiles:amplemarket@1":Wg};function D_(e){return w_[e]}const O_=t.discriminatedUnion(`search_id`,Object.values(T_).map(e=>e)).openapi(`SearchPayloadSchema`);function k_(e,t){return Hi(t,E_[e].defaultPayload)}const A_=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=k_(e.search_id);return t?{...e,config:Hi(e?.config||{},t.config)}:e},O_),j_=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:A_}).openapi(`SearchRequestSchema`),M_=Vn,N_=t.object({value:On,status:Dn,type:Tn.optional(),format:Wn.nullable().optional(),resolved_by:Xn.nullable().optional(),widgets:Bn.optional()}),P_=t.record(t.string(),N_.nullable());function F_(e){return T_[e]}const I_=t.enum([`cursor`,`page_number`]),L_=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:Og,errors:t.array(M_),results:t.array(P_),organization_id:t.string(),next_page:A_.nullable(),pagination_type:I_.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function R_(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function z_(){let e={};for(let t of Object.values(E_)){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=R_(e.searchId);return R_(t.searchId)-n})}),e}function B_(e){return E_[e]}const V_=z_();function H_(e){let t=[];for(let[n,r]of Object.entries(V_)){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:R_(i.searchId)})}return t}function U_(e){return Object.keys(E_[e].defaultPayload.config.output_fields)}function W_(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 U_(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:V_}}function G_(e){let t=B_(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}const K_={"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}};function q_({searchPayload:e,sectionOrder:t,formContext:n,groupPathMatch:r=K_,formResolvers:i}){return oi({schema:F_(e.search_id),groupPathMatch:r,extractFromSchema:e=>b.get(e),sectionOrder:t,store:n,formResolvers:i})}const J_=new Proxy({},{get:(e,t)=>e=>e.type===t}),Y_=`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(`.`),X_=r.enum(Y_),Z_=r.object({provider_logo:r.object({provider:bn}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:X_}).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()}),Q_=`providers_input.fields_select_input.json_extraction_input.pipes_trigger_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.int_input.number_input.json_schema_input`.split(`.`);r.enum(Q_);const $_=r.object({value:r.string(),label:r.string(),widgets:Z_.optional()}),ev=r.object({field_options:r.record(r.string(),r.object({options:r.array($_)}))}),tv=[{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}],nv=new Map(tv.map(e=>[e.id,e]));function rv(e){return nv.get(e)}function iv(){return tv}const av={"company:funding:leadmagic@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@1`}],input:[{id:`1`,company_website_url:`https://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: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`}]}],"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`}]}],"company:techstack:builtwith@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"prompt:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`prompt:run@1`,config:{model:`openai-gpt-latest`,prompt:{template:`
|
|
70
74
|
Tell me if {{ input name required="true" type="string" }} fits the ICP criteria for my company <YOUR_COMPANY_NAME>.
|
|
71
75
|
|
|
72
76
|
My company, <YOUR_COMPANY_NAME>, can be described as follows: <ADD_COMPANY_DESCRIPTION>.
|
|
@@ -84,7 +88,7 @@ How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,f
|
|
|
84
88
|
{{ output reason type="string" description="A text explanation of your decision process" }}
|
|
85
89
|
|
|
86
90
|
{{ output json_summary type="json" schema="summary" description="A JSON object that combines both fields" }}
|
|
87
|
-
`,json_schemas:{summary:{type:`object`,properties:{is_icp_fit:{type:`boolean`,description:`A boolean flag indicating if the user is a good ICP fit for us`},reason:{type:`string`,description:`A text explanation of the decision process`}},required:[`is_icp_fit`,`reason`]}}}}}],input:[{id:`1`,name:`John Doe`,job_title:`Founder`},{id:`2`,name:`Jane Doe`,job_title:`CTO`,profile_headline:`CTO for a big tech company.`}]}],"people:email:iswork@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:email:iswork@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:name:split@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:name:split@1`}],input:[{id:`1`,name:`John Doe`}]}],"
|
|
91
|
+
`,json_schemas:{summary:{type:`object`,properties:{is_icp_fit:{type:`boolean`,description:`A boolean flag indicating if the user is a good ICP fit for us`},reason:{type:`string`,description:`A text explanation of the decision process`}},required:[`is_icp_fit`,`reason`]}}}}}],input:[{id:`1`,name:`John Doe`,job_title:`Founder`},{id:`2`,name:`Jane Doe`,job_title:`CTO`,profile_headline:`CTO for a big tech company.`}]}],"people:email:iswork@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:email:iswork@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:name:split@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:name:split@1`}],input:[{id:`1`,name:`John Doe`}]}],"person:name:join@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:name:join@1`}],input:[{id:`1`,first_name:`John`,last_name:`Doe`}]}],"people:personalemail:profile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:personalemail:profile:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/in/jane-doe-uth6-dk`}]}],"people:email:validate:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:email:validate:zerobounce@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"people:email:validate:zerobounce@2":[{config:{environment:`production`},pipes:[{pipe_id:`people:email:validate:zerobounce@2`}],input:[{id:`1`,email:`jane@pipe0.com`}]}],"people:phone:profile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:phone:profile:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/jane-doe-456j`}]}],"people:profile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/jane-doe-456j`}]}],"company:newssummary:website@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:newssummary:website@1`,config:{}}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:websiteurl:email@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:websiteurl:email@1`}],input:[{id:`1`,email:`https://pipe0.com`}]}],"json:extract@1":[{config:{environment:`production`},pipes:[{pipe_id:`json:extract@1`,config:{json_extraction:{field_name:`example_json`,extractions:[{path:`name`,output_field:{format:null,name:`extracted_name`,label:`Simple Example Using Jsonata Path`,type:`string`}},{path:`{ "fullName": name, "count": $count(nested) }`,output_field:{format:null,name:`reshaped_object`,label:`Complex Transformation Using Jasonata`,type:`json`}}]}}}],input:[{id:`1`,example_json:{name:`John Doe`,nested:[1,2,3]}}]}],"message:write@1":[{config:{environment:`production`},pipes:[{pipe_id:`message:write@1`,config:{model:`openai-gpt-latest`,template:`
|
|
88
92
|
Write an internal slack message that notifies the team about a high value signup
|
|
89
93
|
that customer success should reach out to personally.
|
|
90
94
|
|
|
@@ -108,7 +112,7 @@ use data enrichment and GTM professionals.
|
|
|
108
112
|
Use the job title of the user to figure out which function the new user has: {{ input job_title type="string" required="true" }}.
|
|
109
113
|
|
|
110
114
|
Customize the message using the name of the user: {{ input name type="string" required="true" }}.
|
|
111
|
-
`}}],input:[{id:`1`,job_title:`GTM Engineer`,name:`Pipe Piper`}]}],"
|
|
115
|
+
`}}],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:
|
|
112
116
|
**Name**: {{ input name type="string" }}
|
|
113
117
|
**Email**: {{ input email type="string" }}
|
|
114
|
-
`}}],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:{reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,from:`<FROM_EMAIL_ADDRESS>`}}],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:{reply_to:`<REPLY_TO_EMAIL_ADDRESS>`}}],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>`}}],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>`}]}],"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`}]}],"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`}]}],"people:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`people: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`}]}],"company:match:logodev@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@1`}],input:[{id:`1`,company_website_url:`https://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`}]}],"people:posts:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people: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`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people: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`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"people:identity:amplemarket@1":[{pipes:[{pipe_id:`people:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"people:match:amplemarket@1":[{pipes:[{pipe_id:`people: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 gv(e){let t=[];for(let n of e){if(n instanceof W){t.push(n);continue}let e=xg.parse(n);if(!Sg(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(_g(n.pipe_id))(e);t.push(r)}return t}function _v(e,t){let n=gv(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 vv(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})}function yv(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 bv(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 xv(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(bv(e))return`https://${e}`;if(!yv(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 Sv(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(bv(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!yv(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(yv(i)||bv(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function Cv(e){try{return xv(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function wv(e,t){if(t)switch(e){case`website_url`:return Cv(t);default:return}}function Tv(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function Ev(e,t){return e==null?void 0:t(e)}function Dv(){return Ov({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function Ov({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:Tv(e),entity:t||e}}function kv(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 Av(e){let t;if(jv(e))return Av(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function jv(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&En.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&jv(e.value,t++))throw new Q([Z.RecursiveExpandedValue()]);return!0}return!1}function Mv(e){let t=jv(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function Nv(e){return jv(e)?Nv(e.value):e}function Pv(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=Tt(e,n.format)?.getStaticWidgets?.(t),i=wv(n.format,t);return kv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Fv(e,t,n){if(t==null)return{};try{let r=Tt(e,n)?.getStaticWidgets?.(t),i=wv(n,t);return kv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Iv(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 Lv=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}=Mv(n),c;c=s&&o.type?o.type:Av(e);let l;Et(t)&&(l=v(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]=Iv(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function Rv(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 zv(e){let t=Rv(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of qi(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.trigger){let n=i.payload.trigger.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 Bv({config:e,pipes:t,input:n,field_annotations:r}){try{let i=Wv({config:e,pipes:t,input:n,fieldAnnotations:r});return Vv(i),i}catch(e){throw e instanceof Q?e:new Q([Z.ValidationFailed({error:e})])}}function Vv(e){for(let t of e.orderedPipeInstances)for(let{field:n}of qi(t.getInputRequirement()))Pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),Fl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function Hv(e,t){if(!e&&!t)throw new Q([Z.MustDefineAnnotations()]);return new Lv(t||{}).merge(Lv.fromInput(e||[]))}function Uv(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:Pl(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:Fl(e,a.format)}}}),n}function Wv(e){let t=gv(e.pipes),n=Hv(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)}),qv(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},!i.has(e)&&(a[e]={addedBy:`input`,required:!1,type:t.type,label:t.label||e});let[s,c,l]=Gv(t,n),u=Uv({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 Gv(e,t){let n=zv(e),r=Kv(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 Kv(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?qi(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 d=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];Object.values(n.getOutputFields()).forEach(e=>d.add(e.resolvedName))}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Ki(a,d)||s.push(Z.RequirementUnmet({requirement:a}));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.trigger&&r.payload.trigger.when.conditions.map(e=>e.field_name).forEach(e=>{if(!d.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 qv(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 hr(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 Jv=[`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`],Yv=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],Xv=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})}),Zv=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 Qv(e){return!isNaN(e.getTime())}const $v=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of Jv){let n=p(t,e,new Date(0));if(Qv(n))return ee(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),ey=r.coerce.string().trim().transform(e=>{for(let t of Yv){let n=p(e,t,new Date(0));if(Qv(n))return ee(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),ty=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`}),ny=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()),ry=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function iy(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return Xv.parse(e);case`email`:return Zv.parse(e);case`datetime`:return $v.parse(e);case`date`:return ey.parse(e);case`decimal`:return ty.parse(e);case`int`:return ny.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return ry.parse(e);case`website_url`:return Xv.parse(e);case`profile_url`:return Xv.parse(e);case`zip_code`:return ry.parse(e);case`markdown`:case`phone`:case`text`:return ry.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 ${Xs(e)} into format ${t}: ${r.message}`):r}}function ay(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(jv(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:iy(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 oy(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:ay(e,n,i)}}}function sy({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{oy(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=cy(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,ly(e,r,n?.queue?.enabled),hy(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 cy(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}=my(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function ly(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 ${fu(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 ${fu(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}=Ji(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function uy({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 dy({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function fy({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return uy({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||dy({status:n.status,config:r})}function py({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 my(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:d}=a,f=Pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},d),ee=Fl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:p,isExpanded:te,expandedValue:m}=Mv(t[c]?.[l]??null),ne=u.fields[l],h=n.getConfigHashKey(),g=n.getInputHashKey(u),_={type:f,format:ee,claimed_by:{ref:n.pipeId,config_hash:h}};if(r.errors.length>0&&p===null){u.fields[l]={..._,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:p===void 0?n.pipeId:`input`,config_hash:p===void 0?h:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let re=Av(p);if(re!==`unknown`&&re!==f){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={..._,value:t?null:p,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:h,input_hash:g}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:m?.widgets||ne?.widgets||{},format:t?ee:m?.format||ee};continue}if(p==null){let t=te&&i.queue?.enabled&&(m.status===`pending`||m.status===`skipped`),n=te&&!t;if(te&&i.adopt?.enabled===!0){let{didAdopt:e}=py({inputHashKey:g,configHashKey:h,expandedValue:m});e&&s.push(u.id)}if(te&&m.status!==`pending`&&fy({inputHashKey:g,configHashKey:h,config:i,expandedValue:m})&&i.queue?.enabled)o.push(u.id),u.fields[l]={..._,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:h,input_hash:g},widgets:{}};else if(n)u.fields[l]={..._,value:null,status:m.status,type:m.type||f,reason:m.reason||null,resolved_by:m.resolved_by||null,widgets:m.widgets||{},format:m.format||ee};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={..._,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:h,input_hash:g}:null,widgets:{}}}continue}if(te){if(te&&i.adopt?.enabled===!0){let{didAdopt:e}=py({inputHashKey:g,configHashKey:h,expandedValue:m});e&&s.push(u.id)}fy({inputHashKey:g,configHashKey:h,expandedValue:m,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={..._,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={..._,value:p,status:`completed`,type:m.type||f,reason:m.reason||null,resolved_by:m.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:m.widgets||ne?.widgets||{},format:m.format||ee}}else try{let e=iy(p,ee);u.fields[l]={..._,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ne?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={..._,value:p,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:h,input_hash:g},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function hy(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=Pv(i,r.value,r);r.widgets=kv(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function gy(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 _y(e,t={}){return Object.values(e).map(e=>gy(e.fields,t))}function vy(e,t={}){return e.map(e=>gy(e.fields,t))}function yy(e,t={}){return gy(e.fields,t)}function by(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=Mv(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function xy(e){let t=mr[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const Sy=[`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`],Cy=r.enum(Sy);function wy(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 Ty(e,t){let n={name:e,config:t};return Qi.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 Ty(this.searchId,this.payload)}};function Ey(e){return e.split(`@`)[0]}function Dy(e){return`/docs/searches/searches-catalog/${Ey(e)}/${e.split(`@`)[1]}`}const Oy=`companies:profiles:crustdata@1`,ky=v(`company_name`),Ay=v(`company_website_url`),jy=v(`company_description`),My=v(`company_profile_url`),Ny=v(`crustdata_company_match`),Py=r.object({search_id:r.literal(Oy),connector:b.nullable().optional(),config:r.object({limit:R({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),cursor:Li({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:z(r.object({[ky.name]:P({fieldName:ky.name}),[Ay.name]:P({fieldName:ky.name}),[jy.name]:P({fieldName:jy.name}),[My.name]:P({fieldName:My.name}),[Ny.name]:P({fieldName:Ny.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:u(`locations`)}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:u(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:u(`company.crunchbase_investors.crustdata`)}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:u(`company.tracxn_investors.crustdata`)}),company_types:F({sectionKey:`config.filters`,path:`config.filters.company_types`,options:f(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:u(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:u(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:u(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),headcount:F({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:f(`crustdata.company_size`),groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:F({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:f(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Ni({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:F({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,disableSearch:!0,required:!1,options:f(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}),last_funding_amount:Ni({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:F({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:f(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:F({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:f(`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`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:j({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:`Ex. 'google.com'`,groupPath:`config.filters.competitors`})}).check(e=>{wy(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Fy={default:{input:[{fields:[]}]}},Iy=class extends ${searchId=Oy;schema=Py;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ky.name]:this.catalogOutput(ky),[Ay.name]:this.catalogOutput(Ay),[jy.name]:this.catalogOutput(jy),[My.name]:this.catalogOutput(My),[Ny.name]:this.catalogOutput(Ny)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Fy}},Ly=Py,Ry={searchId:Oy,baseSearch:Ey(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Dy(Oy),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:Oy,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:[]}}}},zy=`companies:profiles:exa@1`,By=v(`company_name`),Vy=v(`company_website_url`),Hy=v(`company_description`),Uy=v(`company_industry`),Wy=v(`headcount`),Gy=v(`exa_match_evaluation`),Ky=r.object({search_id:r.literal(zy),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({[By.name]:P({fieldName:By.name}),[Vy.name]:P({fieldName:By.name}),[Hy.name]:P({fieldName:Hy.name}),[Uy.name]:P({fieldName:Uy.name}),[Wy.name]:P({fieldName:Wy.name}),[Gy.name]:P({fieldName:Gy.name})})),filters:r.object({query:Ri({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})})})}),qy={default:{input:[{fields:[]}]}},Jy=class extends ${searchId=zy;schema=Ky;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[By.name]:this.catalogOutput(By),[Vy.name]:this.catalogOutput(Vy),[Hy.name]:this.catalogOutput(Hy),[Uy.name]:this.catalogOutput(Uy),[Wy.name]:this.catalogOutput(Wy),[Gy.name]:this.catalogOutput(Gy)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return qy}},Yy=Ky,Xy={searchId:zy,baseSearch:Ey(`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:[V.COMPANY_PROFILES],docPath:Dy(zy),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:zy,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:``}}}},Zy=`companies:profiles:icypeas@1`,Qy=v(`company_industry`),$y=v(`company_name`),eb=v(`company_description`),tb=v(`company_website_url`),nb=v(`headcount`),rb=v(`company_region`),ib=v(`company_profile_url`),ab=v(`icypeas_company_match`),ob=r.object({search_id:r.literal(Zy),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({company_name:P({fieldName:$y.name}),company_industry:P({fieldName:Qy.name}),company_description:P({fieldName:eb.name}),company_website_url:P({fieldName:tb.name}),headcount:P({fieldName:nb.name}),company_region:P({fieldName:rb.name}),company_profile_url:P({fieldName:ib.name}),icypeas_company_match:P({fieldName:ab.name})})),filters:r.object({name:M({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:N({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:N({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:d(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:M({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:Ni({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:M({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:M({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=>{wy(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),sb={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},cb=class extends ${searchId=Zy;schema=ob;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[$y.name]:this.catalogOutput($y),[Qy.name]:this.catalogOutput(Qy),[ib.name]:this.catalogOutput(ib),[tb.name]:this.catalogOutput(tb),[eb.name]:this.catalogOutput(eb),[nb.name]:this.catalogOutput(nb),[rb.name]:this.catalogOutput(rb),[ab.name]:this.catalogOutput(ab)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return sb}},lb=ob,ub={searchId:Zy,baseSearch:Ey(`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:[V.COMPANY_PROFILES],docPath:Dy(Zy),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:Zy,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:[]}}}}},db=`people:profiles:clado@1`,fb=v(`name`),pb=v(`job_title`),mb=v(`company_name`),hb=v(`company_profile_url`),gb=v(`profile_url`),_b=v(`clado_person_match`),vb=r.object({search_id:r.literal(db),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({[fb.name]:P({fieldName:fb.name}),[pb.name]:P({fieldName:pb.name}),[hb.name]:P({fieldName:hb.name}),[mb.name]:P({fieldName:mb.name}),[gb.name]:P({fieldName:gb.name}),[_b.name]:P({fieldName:_b.name})})),filters:r.object({query:Ri({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})})})}),yb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},bb=class extends ${searchId=db;schema=vb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[fb.name]:this.catalogOutput(fb),[pb.name]:this.catalogOutput(pb),[mb.name]:this.catalogOutput(mb),[gb.name]:this.catalogOutput(gb),[hb.name]:this.catalogOutput(hb),[_b.name]:this.catalogOutput(_b)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return yb}},xb=vb,Sb={searchId:db,baseSearch:et(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2025-11-01`,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:[V.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:db,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:``}}}},Cb=`people:profiles:clado@2`,wb=v(`name`),Tb=v(`job_title`),Eb=v(`company_name`),Db=v(`company_profile_url`),Ob=v(`profile_url`),kb=v(`clado_person_match_v2`),Ab=r.object({search_id:r.literal(Cb),connector:b.nullable().optional(),config:r.object({limit:R({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:Li({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:R({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:z(r.object({[wb.name]:P({fieldName:wb.name}),[Tb.name]:P({fieldName:Tb.name}),[Db.name]:P({fieldName:Db.name}),[Eb.name]:P({fieldName:Eb.name}),[Ob.name]:P({fieldName:Ob.name}),[kb.name]:P({fieldName:kb.name})})),filters:r.object({query:Ri({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`]})}),jb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},Mb=class extends ${searchId=Cb;schema=Ab;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[wb.name]:this.catalogOutput(wb),[Tb.name]:this.catalogOutput(Tb),[Eb.name]:this.catalogOutput(Eb),[Ob.name]:this.catalogOutput(Ob),[Db.name]:this.catalogOutput(Db),[kb.name]:this.catalogOutput(kb)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return jb}},Nb=Ab,Pb={searchId:Cb,baseSearch:et(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2025-12-15`,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:Cb,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:``}}}},Fb=`people:employees:leadmagic@1`,Ib=v(`name`),Lb=v(`job_title`),Rb=v(`company_website_url`),zb=v(`company_name`),Bb=r.object({search_id:r.literal(Fb),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({[Ib.name]:P({fieldName:Ib.name}),[zb.name]:P({fieldName:zb.name}),[Rb.name]:P({fieldName:Rb.name}),[Lb.name]:P({fieldName:Lb.name})})),filters:r.object({company_website_url:Li({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`})})})}),Vb={default:{input:[{fields:[{outputField:Rb.name}]}]}},Hb=class extends ${searchId=Fb;schema=Bb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Ib.name]:this.catalogOutput(Ib),[Lb.name]:this.catalogOutput(Lb),[Rb.name]:this.catalogOutput(Rb),[zb.name]:this.catalogOutput(zb)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Vb}},Ub=Bb,Wb={searchId:Fb,baseSearch:Ey(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[V.PEOPLE_PROFILES],docPath:Dy(Fb),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:Fb,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:``}}}},Gb=`people:profiles:crustdata@1`,Kb=v(`name`),qb=v(`company_website_url`),Jb=v(`profile_url`),Yb=v(`job_title`),Xb=v(`crustdata_person_match`),Zb=r.object({search_id:r.literal(Gb),connector:b.nullable().optional(),config:r.object({limit:R({sectionKey:`general`,required:!0,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of results`}).default(100),cursor:Li({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:z(r.object({[Kb.name]:P({fieldName:Kb.name}),[qb.name]:P({fieldName:qb.name}),[Jb.name]:P({fieldName:Jb.name}),[Yb.name]:P({fieldName:Yb.name}),[Xb.name]:P({fieldName:Xb.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:u(`locations`),groupPath:`config.filters.general`}),profile_headline_keywords:Ai({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:Ai({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_languages:F({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:f(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),languages:F({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:f(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:u(`skills`)}),years_of_experience:F({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:f(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:N({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:d(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),current_employers:j({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:u(`person.current_employer_names.crustdata`)}),current_employers_website_urls:j({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:u(`titles`)}),current_employers_linkedin_industries:I({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:u(`linkedin_industries.crustdata`)}),years_at_current_company:F({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:f(`crustdata.years_of_experience`)}),previous_employers_website_urls:j({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:N({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:d(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:j({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:u(`person.past_employer_names.crustdata`)}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:u(`titles`)}),previous_employers_linkedin_industries:I({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:u(`linkedin_industries.crustdata`)}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,description:``}),recently_changed_jobs:Ii({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`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:u(`person.education_field_of_study.crustdata`)}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:u(`person.education_degree.crustdata`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:u(`schools`)}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:u(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:u(`person.education_activities.crustdata`)})}).check(e=>{wy(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Qb={default:{input:[{fields:[]}]}},$b=class extends ${searchId=Gb;schema=Zb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Kb.name]:this.catalogOutput(Kb),[qb.name]:this.catalogOutput(qb),[Jb.name]:this.catalogOutput(Jb),[Yb.name]:this.catalogOutput(Yb),[Xb.name]:this.catalogOutput(Xb)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Qb}},ex=Zb,tx={searchId:Gb,baseSearch:Ey(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Dy(Gb),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:Gb,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:[]}}}},nx=`people:profiles:exa@1`,rx=v(`name`),ix=v(`profile_url`),ax=v(`job_title`),ox=v(`company_name`),sx=v(`company_region`),cx=v(`exa_match_evaluation`),lx=r.object({search_id:r.literal(nx),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({[rx.name]:P({fieldName:rx.name}),[ix.name]:P({fieldName:ix.name}),[ax.name]:P({fieldName:ax.name}),[ox.name]:P({fieldName:ox.name}),[sx.name]:P({fieldName:sx.name}),[cx.name]:P({fieldName:cx.name})})),filters:r.object({query:Ri({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})})})}),ux={default:{input:[{fields:[]}]}},dx=class extends ${searchId=nx;schema=lx;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[rx.name]:this.catalogOutput(rx),[ix.name]:this.catalogOutput(ix),[ax.name]:this.catalogOutput(ax),[ox.name]:this.catalogOutput(ox),[sx.name]:this.catalogOutput(sx),[cx.name]:this.catalogOutput(cx)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return ux}},fx=lx,px={searchId:nx,baseSearch:Ey(`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:[V.COMPANY_PROFILES],docPath:Dy(nx),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:nx,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:``}}}},mx=`people:profiles:icypeas@1`,hx=v(`name`),gx=v(`job_title`),_x=v(`profile_headline`),vx=v(`company_website_url`),yx=v(`company_profile_url`),bx=v(`profile_url`),xx=v(`icypeas_person_match`),Sx=r.object({search_id:r.literal(mx),connector:b.nullable().optional(),config:r.object({limit:R({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:z(r.object({[hx.name]:P({fieldName:hx.name}),[gx.name]:P({fieldName:gx.name}),[_x.name]:P({fieldName:_x.name}),[vx.name]:P({fieldName:vx.name}),[yx.name]:P({fieldName:yx.name}),[bx.name]:P({fieldName:bx.name}),[xx.name]:P({fieldName:xx.name})})),filters:r.object({firstname:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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:M({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=>{wy(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),Cx={default:{input:[{fields:[{outputField:`profile_url`}]}]}},wx=class extends ${searchId=mx;schema=Sx;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[hx.name]:this.catalogOutput(hx),[gx.name]:this.catalogOutput(gx),[_x.name]:this.catalogOutput(_x),[vx.name]:this.catalogOutput(vx),[yx.name]:this.catalogOutput(yx),[bx.name]:this.catalogOutput(bx),[xx.name]:this.catalogOutput(xx)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Cx}},Tx=Sx,Ex={searchId:mx,provider:`icypeas`,baseSearch:Ey(mx),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:[V.PEOPLE_PROFILES],docPath:Dy(mx),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:mx,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:[]}}}}},Dx={"people:profiles:crustdata@1":$b,"companies:profiles:crustdata@1":Iy,"companies:profiles:exa@1":Jy,"people:profiles:exa@1":dx,"people:profiles:icypeas@1":wx,"companies:profiles:icypeas@1":cb,"people:employees:leadmagic@1":Hb,"people:profiles:clado@1":bb,"people:profiles:clado@2":Mb},Ox={"people:profiles:crustdata@1":ex,"companies:profiles:crustdata@1":Ly,"companies:profiles:exa@1":Yy,"people:profiles:exa@1":fx,"people:profiles:icypeas@1":Tx,"companies:profiles:icypeas@1":lb,"people:employees:leadmagic@1":Ub,"people:profiles:clado@1":xb,"people:profiles:clado@2":Nb},kx={"people:profiles:crustdata@1":tx,"companies:profiles:crustdata@1":Ry,"companies:profiles:exa@1":Xy,"people:profiles:exa@1":px,"people:profiles:icypeas@1":Ex,"companies:profiles:icypeas@1":ub,"people:employees:leadmagic@1":Wb,"people:profiles:clado@1":Sb,"people:profiles:clado@2":Pb};function Ax(e){return Dx[e]}function jx(e){return Ox[e]}function Mx(e){return kx[e].defaultPayload}const Nx=t.discriminatedUnion(`search_id`,Object.values(Ox).map(e=>e)),Px=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=Mx(e.search_id);return t?{...e,config:Vi(e?.config||{},t.config)}:e},Nx);function Fx(e){return Object.keys(kx[e].defaultPayload.config.output_fields)}const Ix=Bn,Lx=t.object({value:Dn,status:En,type:wn.optional(),format:y.nullable().optional(),resolved_by:Jn.nullable().optional(),widgets:zn.optional()}),Rx=t.record(t.string(),Lx.nullable()),zx=t.object({search:t.object({ref:Cy}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(Ix),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()})}),Bx=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(Rx),search_statuses:t.array(zx),organizationId:t.string()}).openapi(`SearchesResponseSchema`),Vx=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),Hx=Vx.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),Ux=t.object({config:Hx.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(Px)}).openapi(`SearchesRequestSchema`);function Wx(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Gx(){let e={};for(let t of Object.values(kx)){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=Wx(e.searchId);return Wx(t.searchId)-n})}),e}const Kx=Gx();function qx(e){let t=[];for(let[n,r]of Object.entries(Kx)){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:Wx(i.searchId)})}return t}function Jx(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 Fx(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:Kx}}function Yx(e){return kx[e]}function Xx(e){let t=Yx(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function Zx(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function Qx(e){return Zx(Sg(e).allowedUserConnectionProviders)}function $x(e){return Zx([X_(e).provider])}function eS(e){return Zx([Yx(e).provider])}const tS=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],nS=new Map(tS.map(e=>[e.id,e]));function rS(e){return nS.get(e)}function iS(){return tS}const aS={"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_positions_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_website_urls:{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_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:[]}}}}],"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_last_6m_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_last_6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_websites:{include:[`https://google.com`],exclude:[]}}}}]};function oS(e,t,n){if(t==null)return{};try{let r=Tt(e,n)?.getStaticWidgets?.(t),i=wv(n,t);return kv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function sS(e){if(e instanceof Vg)return e;let t=e.search_id,n=L_(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(B_.parse(e))}var cS=class extends gu{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function lS(e){let t=[];for(let n of e){if(n instanceof $){t.push(n);continue}let e=n.search_id,r=Ax(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(Px.parse(n));t.push(i)}return t}function uS(e){try{return lS(e.searches)}catch(e){throw e instanceof cS?e:new Q([Z.ValidationFailed({error:e})])}}const dS=/[\\^$.+()|[\]{}]/g,fS=new Map;function pS(e){let t=fS.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(dS,`\\$&`)}let r=RegExp(`^${n}$`);return fS.set(e,r),r}function mS(e,t){return pS(t).test(e)}function hS(e,t){if(!t||t.length===0)return!1;for(let n of t)if(mS(e,n))return!0;return!1}function gS(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!hS(e,n)||r&&r.length>0&&hS(e,r))}function _S(e,t){return gS(e,t?.providers)}function vS(e,t){if(!t)return!0;if(!gS(e,t.pipes))return!1;if(t.providers){let n=Eg(e);if(n.length===0)return!0;if(!n.some(e=>_S(e,t)))return!1}return!0}function yS(e,t,n){return t?!(!gS(e,t.searches)||n!==void 0&&!_S(n,t)):!0}function bS(e,t,n){return t?!(!gS(e,t.searchesMulti)||n!==void 0&&!_S(n,t)):!0}function xS(e,t){return t?e.filter(e=>vS(e.pipeId,t)):e.slice()}function SS(e,t){return t?e.filter(e=>yS(e.searchId,t,e.provider)):e.slice()}function CS(e,t){return t?e.filter(e=>bS(e.searchId,t,e.provider)):e.slice()}function wS(e){let t=Object.values(e.billableOperations).map(e=>e.credits||0);return Math.min(...t)}function TS(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function ES(e){let t=e.cost;return Math.min(t.mode===`per_result`?t.creditsPerResult:t.mode===`per_search`?t.creditsPerSearch:t.creditsPerPage)}function DS(e){let t=Sv(e);return te(t)||new URL(t).hostname}const OS=[`http://`,`https://`,`mailto:`],kS=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function AS(e){return e?jS(e):[]}function jS(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&&kS.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=MS(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=MS(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:jS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=MS(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:jS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=MS(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:jS(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=MS(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=MS(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(OS.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:jS(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function MS(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(NS(e,r,n))return r;r+=1}return-1}function NS(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{br as AI_MODELS,xr as AI_MODEL_CATALOG,$n as CatalogSchemaRefSchema,rr as ConditionOperatorsSchema,Xn as ExpandedFieldValueSchema,Nl as FIELD_PLACEHOLDERS,Un as FieldAnnotationSchema,Lv as FieldAnnotations,Wn as FieldAnnotationsSchema,vn as FieldNameSchema,Vn as FieldReasonSchema,Dn as FieldValueSchema,uv as FormStoreSchema,nr as JSONExtractSchema,On as JSONMetaSchema,lr as NoConnectorSchema,b as OptionalConnectorSchema,xn as PIPE_IDS,K_ as PaginationTypeSchema,Jm as PeopleWorkEmailWaterfallEntry1,W as Pipe,gu as Pipe0Error,Sn as PipeIdSchema,bg as PipePayloadSchema,pr as PipeTriggerSchema,Q as PipelineValidationError,bn as PipesEnvironmentSchema,Bn as PipesErrorSchema,er as PipesFieldDefinitionSchema,tr as PipesFieldDefinitionsSchema,Zn as PipesInputSchema,jg as PipesRequestConfigSchema,Mg as PipesRequestSchema,Ag as PipesResponseSchema,qm as PoepleWorkEmailWaterfallPayloadSchema1,Km as PoepleWorkEmailWaterfallPipeClass1,xg as ProcessedPipePayloadSchema,B_ as ProcessedSearchPayloadSchema,Px as ProcessedSearchesPayloadSchema,yn as ProviderNameSchema,Hn as RECORD_FIELD_FORMATS,Cn as RECORD_FIELD_TYPES,qn as RecordClaimedBySchema,y as RecordFieldFormatSchema,Yn as RecordFieldSchema,En as RecordFieldStatusSchema,wn as RecordFieldTypeSchema,Tn as RecordIdSchema,Jn as RecordResolvedBySchema,Qn as RecordSchema,hu as RequestValidationError,cr as RequiredConnectorSchema,Sy as SEARCHES_IDS,Lg as SEARCH_IDS,Vg as Search,H_ as SearchErrorSchema,Rg as SearchIdSchema,R_ as SearchPayloadSchema,V_ as SearchRequestSchema,q_ as SearchResponseSchema,U_ as SearchResultFieldSchema,W_ as SearchResultSchema,Ix as SearchesErrorSchema,Cy as SearchesIdSchema,Nx as SearchesPayloadSchema,Vx as SearchesRequestBaseConfigSchema,Ux as SearchesRequestSchema,Bx as SearchesResponseSchema,Lx as SearchesResultFieldSchema,Rx as SearchesResultSchema,$ as SearchesSearch,zx as SearchesStatusSchema,ir as TRIGGER_OPERATOR_LABELS,or as TRIGGER_STATUS_OPERATORS,ar as TRIGGER_VALUE_OPERATORS,Qs as TYPES_TO_FORMATS,dr as TriggerStatusOperatorsSchema,fr as TriggerStatusValueSchema,ur as TriggerValueOperatorsSchema,sv as WidgetsByKindSchema,zn as WidgetsSchema,U as all,en as analyzeLiquidTemplate,Mt as and,Wi as any,Sr as buildAiModelBillableOperations,zv as buildDependencyGraph,Rl as buildInputRequirementFromTemplates,q as catalogInput,Xi as cleanObject,Sv as cleanUrl,xv as cleanWebsiteUrl,Fg as collectPipeContextSelectFields,qi as collectRequirementFields,zl as collectSecretReferencesFromTemplates,pS as compilePattern,Vi as configDefaults,ei as convertIntermediateFieldsIntoGroups,pu as describeRequirement,Ov as entityLogoFavicon,Dv as entityLogoProfessionalProfileUrl,ii as extractFormMetadata,H as field,wt as fieldBehaviorCatalog,Ct as fieldCatalog,fu as fieldNameStr,Av as fieldTypeFromValue,gy as fieldsToObject,xS as filterPipeEntries,SS as filterSearchEntries,CS as filterSearchesEntries,wr as getAiModelBillingKey,Tr as getAiModelConnectionRequirements,Cr as getAiModelProviders,Er as getAllAiModelProviders,G as getBasePipeName,gg as getDefaultOutputFields,Eg as getDefaultPipeProviders,$_ as getDefaultSearchOutputFields,Fx as getDefaultSearchesOutputFields,_v as getDependentPipeNamesForInputProperty,vv as getDependentPipeNamesForPipe,DS as getDomain,Mv as getExpansionState,Tv as getFaviconUrlGoogle,v as getField,Tt as getFieldBehavior,Js as getFieldDisplayLabel,Pv as getFieldWidgets,Q_ as getInitialSearchTableData,qx as getInitialSearchesTableData,Og as getInitialTableData,ea as getInputHash,Or as getJsonMetaForFieldDef,ES as getLoweestSearchCreditAmount,TS as getLoweestSearchesCreditAmount,wS as getLowestPipeCreditAmount,Pt as getOutputFieldInfoFromDef,Cg as getPipeBillableOperationDef,mv as getPipeCategoryEntries,pv as getPipeCategoryEntry,_g as getPipeClass,$i as getPipeConfigHash,vg as getPipeDefaultPayload,K as getPipeDocsURI,Sg as getPipeEntry,gv as getPipeInstances,Ig as getPipePayloadFormConfig,yg as getPipePayloadSchema,wg as getPipeVersion,Y as getProviderBillableOperation,xy as getProviderEntry,kt as getReadableFieldStatus,Zx as getSandboxConnections,Qx as getSandboxConnectionsForPipe,$x as getSandboxConnectionsForSearch,eS as getSandboxConnectionsForSearches,iS as getSearchCategoryEntries,rS as getSearchCategoryEntry,L_ as getSearchClass,z_ as getSearchDefaultPayload,X_ as getSearchEntry,oS as getSearchFieldWidgets,sS as getSearchInstance,rv as getSearchPayloadFormConfig,G_ as getSearchPayloadSchema,ev as getSearchTableDataAggregates,J_ as getSearchVersion,Ax as getSearchesClass,Mx as getSearchesDefaultPayload,Yx as getSearchesEntry,Fv as getSearchesFieldWidgets,lS as getSearchesInstances,jx as getSearchesPayloadSchema,Jx as getSearchesTableDataAggregates,Wx as getSearchesVersion,Ng as getStartingCostPerPipesProvider,tv as getStartingCostPerSearchProvider,Xx as getStartingCostPerSearchesProvider,kg as getTableDataAggregates,Nv as getUnexpandedValue,Ev as ifDefined,B as inputFields,yy as inputFromRecord,vy as inputFromRecordArr,_y as inputFromRecords,iv as inputGuards,Dt as isCatalogField,$e as isEmptyValue,Et as isFieldName,vS as isPipeAllowed,_S as isProviderAllowed,Ki as isRequirementMet,Ji as isRequirementSatisfiedByRecord,yS as isSearchAllowed,bS as isSearchesAllowed,gr as joinConnectionString,na as markRecordFieldAsComplete,aa as markRecordFieldAsFailed,ia as markRecordFieldAsNoResult,ra as markRecordFieldAsPending,sa as markRecordFieldAsProcessing,oa as markRecordFieldAsSkipped,hS as matchesAny,mS as matchesPattern,kv as mergeWidgets,E as noConnectorInput,Gi as optional,T as optionalConnectorInput,Nt as or,z as outputFields,$t as parseLiquidTemplate,qt as parseOutputTagArgs,iy as parseRecordValueOrError,AS as parseRichText,hg as pipeCatalog,dv as pipeCategoryCatalog,pg as pipeClassCatalog,mg as pipePayloadSchemaCatalog,vi as pipesAsyncIncludeExcludeSelectInput,ki as pipesContextSelectInput,bi as pipesDateRangeInput,fi as pipesFieldsSelectInput,pi as pipesIncludeExcludeInput,_i as pipesIncludeExcludeSelectInput,D as pipesInputField,Ei as pipesIntInput,Nr as pipesJsonExtractionInput,Oi as pipesJsonSchemaField,gi as pipesKeyValueListInput,wi as pipesLLMSelectInput,mi as pipesMultiCreateInput,Ti as pipesMultiSelectInput,Di as pipesNumberInput,k as pipesOptionalBooleanInput,hi as pipesOrderedMultiCreateInput,A as pipesOutputField,x as pipesPayloadRegistry,oi as pipesPromptInput,O as pipesProviderInput,yi as pipesRangeInput,Ci as pipesSelectInput,hv as pipesSnippetCatalog,ci as pipesTaggedTextInput,si as pipesTemplateInput,xi as pipesTextInput,Si as pipesTextareaInput,w as pipesTriggerInput,X as placeholder,by as processInputObjects,mr as providerCatalog,J as rateLimitRationFallingProgression,Zt as renderLiquidTemplate,Qt as renderLiquidTemplateSync,ui as requiredConnectorInput,ta as requirementToInputFields,mu as requirementUnmetMessage,At as requiresConnection,jt as requiresField,I_ as searchCatalog,tS as searchCategoryCatalog,P_ as searchClassCatalog,F_ as searchPayloadSchemaCatalog,aS as searchSnippetCatalog,L as searchesAsyncIncludeExcludeSelectInput,I as searchesAsyncMultiSelectInput,kx as searchesCatalog,Dx as searchesClassCatalog,Pi as searchesDateRangeInput,Mi as searchesExactRangeInput,M as searchesIncludeExcludeInput,N as searchesIncludeExcludeSelectInput,R as searchesIntInput,ji as searchesMinMaxIntInput,j as searchesMultiCreateInput,F as searchesMultiSelectInput,Bi as searchesNumberField,Fi as searchesOptionalBooleanInput,Ii as searchesOptionalNullableBooleanInput,Ai as searchesOrderedMultiCreateInput,P as searchesOutputField,S as searchesPayloadRegistry,Ox as searchesPayloadSchemaCatalog,Ni as searchesRangeInput,zi as searchesSelectInput,Li as searchesTextInput,Ri as searchesTextareaField,Zs as sortObjectKeys,Tg as sortPipeCatalogByBasePipe,Y_ as sortSearchCatalogByBaseSearch,Gx as sortSearchesCatalogByBaseSearch,hr as splitConnectionString,Xs as stringify,Ys as testPrint,sy as transformIntoResponse,Bv as validatePipesOrError,uS as validateSearches,Z as validationErrorMessages};
|
|
118
|
+
`}}],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>`}]}],"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`}]}],"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`}]}],"company:match:logodev@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@1`}],input:[{id:`1`,company_website_url:`https://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`}]}],"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`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people: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`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"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 ov(e){let t=[];for(let n of e){if(n instanceof H){t.push(n);continue}let e=dg.parse(n);if(!fg(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(sg(n.pipe_id))(e);t.push(r)}return t}function sv(e,t){let n=ov(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 cv(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})}function lv(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 uv(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 dv(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(uv(e))return`https://${e}`;if(!lv(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 fv(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(uv(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!lv(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(lv(i)||uv(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function pv(e){try{return dv(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function mv(e,t){if(t)switch(e){case`website_url`:return pv(t);default:return}}function hv(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function gv(e,t){return e==null?void 0:t(e)}function _v(){return vv({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function vv({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:hv(e),entity:t||e}}function yv(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 bv(e){let t;if(xv(e))return bv(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function xv(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&Dn.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&xv(e.value,t++))throw new Q([Z.RecursiveExpandedValue()]);return!0}return!1}function Sv(e){let t=xv(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function Cv(e){return xv(e)?Cv(e.value):e}function wv(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=Et(e,n.format)?.getStaticWidgets?.(t),i=mv(n.format,t);return yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Tv(e,t,n){if(t==null)return{};try{let r=Et(e,n)?.getStaticWidgets?.(t),i=mv(n,t);return yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Ev(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 Dv=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}=Sv(n),c;c=s&&o.type?o.type:bv(e);let l;Dt(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]=Ev(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function Ov(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 kv(e){let t=Ov(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of Yi(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.trigger){let n=i.payload.trigger.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 Av({config:e,pipes:t,input:n,field_annotations:r}){try{let i=Pv({config:e,pipes:t,input:n,fieldAnnotations:r});return jv(i),i}catch(e){throw e instanceof Q?e:new Q([Z.ValidationFailed({error:e})])}}function jv(e){for(let t of e.orderedPipeInstances)for(let{field:n}of Yi(t.getInputRequirement()))pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),ml({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function Mv(e,t){if(!e&&!t)throw new Q([Z.MustDefineAnnotations()]);return new Dv(t||{}).merge(Dv.fromInput(e||[]))}function Nv(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:pl(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:ml(e,a.format)}}}),n}function Pv(e){let t=ov(e.pipes),n=Mv(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)}),Lv(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},!i.has(e)&&(a[e]={addedBy:`input`,required:!1,type:t.type,label:t.label||e});let[s,c,l]=Fv(t,n),u=Nv({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 Fv(e,t){let n=kv(e),r=Iv(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 Iv(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?Yi(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 d=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=>{d.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Ji(a,d)||s.push(Z.RequirementUnmet({requirement:a}));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.trigger&&r.payload.trigger.when.conditions.map(e=>e.field_name).forEach(e=>{if(!d.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 Lv(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 _r(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 Rv=[`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`],zv=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],Bv=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})}),Vv=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 Hv(e){return!isNaN(e.getTime())}const Uv=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of Rv){let n=p(t,e,new Date(0));if(Hv(n))return ee(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),Wv=r.coerce.string().trim().transform(e=>{for(let t of zv){let n=p(e,t,new Date(0));if(Hv(n))return ee(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),Gv=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`}),Kv=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()),qv=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function Jv(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return Bv.parse(e);case`email`:return Vv.parse(e);case`datetime`:return Uv.parse(e);case`date`:return Wv.parse(e);case`decimal`:return Gv.parse(e);case`int`:return Kv.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return qv.parse(e);case`website_url`:return Bv.parse(e);case`profile_url`:return Bv.parse(e);case`zip_code`:return qv.parse(e);case`markdown`:case`phone`:case`text`:return qv.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 ${Qs(e)} into format ${t}: ${r.message}`):r}}function Yv(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(xv(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:Jv(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 Xv(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:Yv(e,n,i)}}}function Zv({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{Xv(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=Qv(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,$v(e,r,n?.queue?.enabled),ay(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 Qv(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}=iy(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function $v(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 ${iu(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 ${iu(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}=Xi(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function ey({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 ty({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function ny({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return ey({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||ty({status:n.status,config:r})}function ry({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 iy(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:d}=a,f=pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},d),ee=ml({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:p,isExpanded:te,expandedValue:m}=Sv(t[c]?.[l]??null),ne=u.fields[l],h=n.getConfigHashKey(),re=n.getInputHashKey(u),g={type:f,format:ee,claimed_by:{ref:n.pipeId,config_hash:h}};if(r.errors.length>0&&p===null){u.fields[l]={...g,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:p===void 0?n.pipeId:`input`,config_hash:p===void 0?h:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let ie=bv(p);if(ie!==`unknown`&&ie!==f){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={...g,value:t?null:p,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:h,input_hash:re}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:m?.widgets||ne?.widgets||{},format:t?ee:m?.format||ee};continue}if(p==null){let t=te&&i.queue?.enabled&&(m.status===`pending`||m.status===`skipped`),n=te&&!t;if(te&&i.adopt?.enabled===!0){let{didAdopt:e}=ry({inputHashKey:re,configHashKey:h,expandedValue:m});e&&s.push(u.id)}if(te&&m.status!==`pending`&&ny({inputHashKey:re,configHashKey:h,config:i,expandedValue:m})&&i.queue?.enabled)o.push(u.id),u.fields[l]={...g,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:h,input_hash:re},widgets:{}};else if(n)u.fields[l]={...g,value:null,status:m.status,type:m.type||f,reason:m.reason||null,resolved_by:m.resolved_by||null,widgets:m.widgets||{},format:m.format||ee};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={...g,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:h,input_hash:re}:null,widgets:{}}}continue}if(te){if(te&&i.adopt?.enabled===!0){let{didAdopt:e}=ry({inputHashKey:re,configHashKey:h,expandedValue:m});e&&s.push(u.id)}ny({inputHashKey:re,configHashKey:h,expandedValue:m,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={...g,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={...g,value:p,status:`completed`,type:m.type||f,reason:m.reason||null,resolved_by:m.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:m.widgets||ne?.widgets||{},format:m.format||ee}}else try{let e=Jv(p,ee);u.fields[l]={...g,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ne?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={...g,value:p,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:h,input_hash:re},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function ay(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=wv(i,r.value,r);r.widgets=yv(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function oy(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 sy(e,t={}){return Object.values(e).map(e=>oy(e.fields,t))}function cy(e,t={}){return e.map(e=>oy(e.fields,t))}function ly(e,t={}){return oy(e.fields,t)}function uy(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=Sv(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function dy(e){let t=gr[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const fy=[`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`],py=r.enum(fy);function my(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 hy(e,t){let n={name:e,config:t};return ea.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 hy(this.searchId,this.payload)}};function gy(e){return e.split(`@`)[0]}function _y(e){return`/docs/searches/searches-catalog/${gy(e)}/${e.split(`@`)[1]}`}const vy=`companies:profiles:crustdata@1`,yy=_(`company_name`),by=_(`company_website_url`),xy=_(`company_description`),Sy=_(`company_profile_url`),Cy=_(`crustdata_company_match`),wy=r.object({search_id:r.literal(vy),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:Ri({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[yy.name]:N({fieldName:yy.name}),[by.name]:N({fieldName:yy.name}),[xy.name]:N({fieldName:xy.name}),[Sy.name]:N({fieldName:Sy.name}),[Cy.name]:N({fieldName:Cy.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:u(`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:u(`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:u(`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:u(`company.tracxn_investors.crustdata`)}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,options:f(`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:u(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:u(`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:u(`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:f(`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:f(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:Pi({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:f(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}),last_funding_amount:Pi({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:f(`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:f(`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=>{my(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Ty={default:{input:[{fields:[]}]}},Ey=class extends ${searchId=vy;schema=wy;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[yy.name]:this.catalogOutput(yy),[by.name]:this.catalogOutput(by),[xy.name]:this.catalogOutput(xy),[Sy.name]:this.catalogOutput(Sy),[Cy.name]:this.catalogOutput(Cy)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Ty}},Dy=wy,Oy={searchId:vy,baseSearch:gy(`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:_y(vy),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:vy,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:[]}}}},ky=`companies:profiles:exa@1`,Ay=_(`company_name`),jy=_(`company_website_url`),My=_(`company_description`),Ny=_(`company_industry`),Py=_(`headcount`),Fy=_(`exa_match_evaluation`),Iy=r.object({search_id:r.literal(ky),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({[Ay.name]:N({fieldName:Ay.name}),[jy.name]:N({fieldName:Ay.name}),[My.name]:N({fieldName:My.name}),[Ny.name]:N({fieldName:Ny.name}),[Py.name]:N({fieldName:Py.name}),[Fy.name]:N({fieldName:Fy.name})})),filters:r.object({query:zi({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})})})}),Ly={default:{input:[{fields:[]}]}},Ry=class extends ${searchId=ky;schema=Iy;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Ay.name]:this.catalogOutput(Ay),[jy.name]:this.catalogOutput(jy),[My.name]:this.catalogOutput(My),[Ny.name]:this.catalogOutput(Ny),[Py.name]:this.catalogOutput(Py),[Fy.name]:this.catalogOutput(Fy)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Ly}},zy=Iy,By={searchId:ky,baseSearch:gy(`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:_y(ky),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:ky,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:``}}}},Vy=`companies:profiles:icypeas@1`,Hy=_(`company_industry`),Uy=_(`company_name`),Wy=_(`company_description`),Gy=_(`company_website_url`),Ky=_(`headcount`),qy=_(`company_region`),Jy=_(`company_profile_url`),Yy=_(`icypeas_company_match`),Xy=r.object({search_id:r.literal(Vy),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:Uy.name}),company_industry:N({fieldName:Hy.name}),company_description:N({fieldName:Wy.name}),company_website_url:N({fieldName:Gy.name}),headcount:N({fieldName:Ky.name}),company_region:N({fieldName:qy.name}),company_profile_url:N({fieldName:Jy.name}),icypeas_company_match:N({fieldName:Yy.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:d(`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:Pi({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=>{my(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Zy={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},Qy=class extends ${searchId=Vy;schema=Xy;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Uy.name]:this.catalogOutput(Uy),[Hy.name]:this.catalogOutput(Hy),[Jy.name]:this.catalogOutput(Jy),[Gy.name]:this.catalogOutput(Gy),[Wy.name]:this.catalogOutput(Wy),[Ky.name]:this.catalogOutput(Ky),[qy.name]:this.catalogOutput(qy),[Yy.name]:this.catalogOutput(Yy)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Zy}},$y=Xy,eb={searchId:Vy,baseSearch:gy(`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:_y(Vy),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:Vy,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:[]}}}}},tb=`people:profiles:clado@1`,nb=_(`name`),rb=_(`job_title`),ib=_(`company_name`),ab=_(`company_profile_url`),ob=_(`profile_url`),sb=_(`clado_person_match`),cb=r.object({search_id:r.literal(tb),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({[nb.name]:N({fieldName:nb.name}),[rb.name]:N({fieldName:rb.name}),[ab.name]:N({fieldName:ab.name}),[ib.name]:N({fieldName:ib.name}),[ob.name]:N({fieldName:ob.name}),[sb.name]:N({fieldName:sb.name})})),filters:r.object({query:zi({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})})})}),lb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},ub=class extends ${searchId=tb;schema=cb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[nb.name]:this.catalogOutput(nb),[rb.name]:this.catalogOutput(rb),[ib.name]:this.catalogOutput(ib),[ob.name]:this.catalogOutput(ob),[ab.name]:this.catalogOutput(ab),[sb.name]:this.catalogOutput(sb)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return lb}},db=cb,fb={searchId:tb,baseSearch:tt(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2025-11-01`,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:tb,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:``}}}},pb=`people:profiles:clado@2`,mb=_(`name`),hb=_(`job_title`),gb=_(`company_name`),_b=_(`company_profile_url`),vb=_(`profile_url`),yb=_(`clado_person_match_v2`),bb=r.object({search_id:r.literal(pb),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:Ri({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({[mb.name]:N({fieldName:mb.name}),[hb.name]:N({fieldName:hb.name}),[_b.name]:N({fieldName:_b.name}),[gb.name]:N({fieldName:gb.name}),[vb.name]:N({fieldName:vb.name}),[yb.name]:N({fieldName:yb.name})})),filters:r.object({query:zi({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`]})}),xb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},Sb=class extends ${searchId=pb;schema=bb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[mb.name]:this.catalogOutput(mb),[hb.name]:this.catalogOutput(hb),[gb.name]:this.catalogOutput(gb),[vb.name]:this.catalogOutput(vb),[_b.name]:this.catalogOutput(_b),[yb.name]:this.catalogOutput(yb)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return xb}},Cb=bb,wb={searchId:pb,baseSearch:tt(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2025-12-15`,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:pb,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:``}}}},Tb=`people:employees:leadmagic@1`,Eb=_(`name`),Db=_(`job_title`),Ob=_(`company_website_url`),kb=_(`company_name`),Ab=r.object({search_id:r.literal(Tb),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({[Eb.name]:N({fieldName:Eb.name}),[kb.name]:N({fieldName:kb.name}),[Ob.name]:N({fieldName:Ob.name}),[Db.name]:N({fieldName:Db.name})})),filters:r.object({company_website_url:Ri({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`})})})}),jb={default:{input:[{fields:[{outputField:Ob.name}]}]}},Mb=class extends ${searchId=Tb;schema=Ab;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Eb.name]:this.catalogOutput(Eb),[Db.name]:this.catalogOutput(Db),[Ob.name]:this.catalogOutput(Ob),[kb.name]:this.catalogOutput(kb)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return jb}},Nb=Ab,Pb={searchId:Tb,baseSearch:gy(`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:_y(Tb),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:Tb,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:``}}}},Fb=`people:profiles:crustdata@1`,Ib=_(`name`),Lb=_(`company_website_url`),Rb=_(`profile_url`),zb=_(`job_title`),Bb=_(`crustdata_person_match`),Vb=r.object({search_id:r.literal(Fb),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:Ri({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:R(r.object({[Ib.name]:N({fieldName:Ib.name}),[Lb.name]:N({fieldName:Lb.name}),[Rb.name]:N({fieldName:Rb.name}),[zb.name]:N({fieldName:zb.name}),[Bb.name]:N({fieldName:Bb.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:u(`locations`),groupPath:`config.filters.general`}),profile_headline_keywords:ji({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:ji({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:f(`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:f(`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:u(`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:f(`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:d(`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:u(`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:u(`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:u(`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:f(`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:d(`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:u(`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:u(`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:u(`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:Li({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:u(`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:u(`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:u(`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:u(`schools`)}),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:u(`person.education_activities.crustdata`)})}).check(e=>{my(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Hb={default:{input:[{fields:[]}]}},Ub=class extends ${searchId=Fb;schema=Vb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Ib.name]:this.catalogOutput(Ib),[Lb.name]:this.catalogOutput(Lb),[Rb.name]:this.catalogOutput(Rb),[zb.name]:this.catalogOutput(zb),[Bb.name]:this.catalogOutput(Bb)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Hb}},Wb=Vb,Gb={searchId:Fb,baseSearch:gy(`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:_y(Fb),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:Fb,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:[]}}}},Kb=`people:profiles:exa@1`,qb=_(`name`),Jb=_(`profile_url`),Yb=_(`job_title`),Xb=_(`company_name`),Zb=_(`company_region`),Qb=_(`exa_match_evaluation`),$b=r.object({search_id:r.literal(Kb),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({[qb.name]:N({fieldName:qb.name}),[Jb.name]:N({fieldName:Jb.name}),[Yb.name]:N({fieldName:Yb.name}),[Xb.name]:N({fieldName:Xb.name}),[Zb.name]:N({fieldName:Zb.name}),[Qb.name]:N({fieldName:Qb.name})})),filters:r.object({query:zi({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})})})}),ex={default:{input:[{fields:[]}]}},tx=class extends ${searchId=Kb;schema=$b;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[qb.name]:this.catalogOutput(qb),[Jb.name]:this.catalogOutput(Jb),[Yb.name]:this.catalogOutput(Yb),[Xb.name]:this.catalogOutput(Xb),[Zb.name]:this.catalogOutput(Zb),[Qb.name]:this.catalogOutput(Qb)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return ex}},nx=$b,rx={searchId:Kb,baseSearch:gy(`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:_y(Kb),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:Kb,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:``}}}},ix=`people:profiles:icypeas@1`,ax=_(`name`),ox=_(`job_title`),sx=_(`profile_headline`),cx=_(`company_website_url`),lx=_(`company_profile_url`),ux=_(`profile_url`),dx=_(`icypeas_person_match`),fx=r.object({search_id:r.literal(ix),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({[ax.name]:N({fieldName:ax.name}),[ox.name]:N({fieldName:ox.name}),[sx.name]:N({fieldName:sx.name}),[cx.name]:N({fieldName:cx.name}),[lx.name]:N({fieldName:lx.name}),[ux.name]:N({fieldName:ux.name}),[dx.name]:N({fieldName:dx.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=>{my(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),px={default:{input:[{fields:[{outputField:`profile_url`}]}]}},mx=class extends ${searchId=ix;schema=fx;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ax.name]:this.catalogOutput(ax),[ox.name]:this.catalogOutput(ox),[sx.name]:this.catalogOutput(sx),[cx.name]:this.catalogOutput(cx),[lx.name]:this.catalogOutput(lx),[ux.name]:this.catalogOutput(ux),[dx.name]:this.catalogOutput(dx)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return px}},hx=fx,gx={searchId:ix,provider:`icypeas`,baseSearch:gy(ix),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:_y(ix),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:ix,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:[]}}}}},_x={"people:profiles:crustdata@1":Ub,"companies:profiles:crustdata@1":Ey,"companies:profiles:exa@1":Ry,"people:profiles:exa@1":tx,"people:profiles:icypeas@1":mx,"companies:profiles:icypeas@1":Qy,"people:employees:leadmagic@1":Mb,"people:profiles:clado@1":ub,"people:profiles:clado@2":Sb},vx={"people:profiles:crustdata@1":Wb,"companies:profiles:crustdata@1":Dy,"companies:profiles:exa@1":zy,"people:profiles:exa@1":nx,"people:profiles:icypeas@1":hx,"companies:profiles:icypeas@1":$y,"people:employees:leadmagic@1":Nb,"people:profiles:clado@1":db,"people:profiles:clado@2":Cb},yx={"people:profiles:crustdata@1":Gb,"companies:profiles:crustdata@1":Oy,"companies:profiles:exa@1":By,"people:profiles:exa@1":rx,"people:profiles:icypeas@1":gx,"companies:profiles:icypeas@1":eb,"people:employees:leadmagic@1":Pb,"people:profiles:clado@1":fb,"people:profiles:clado@2":wb};function bx(e){return _x[e]}function xx(e){return vx[e]}function Sx(e){return yx[e].defaultPayload}const Cx=t.discriminatedUnion(`search_id`,Object.values(vx).map(e=>e)),wx=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=Sx(e.search_id);return t?{...e,config:Hi(e?.config||{},t.config)}:e},Cx);function Tx(e){return Object.keys(yx[e].defaultPayload.config.output_fields)}const Ex=Vn,Dx=t.object({value:On,status:Dn,type:Tn.optional(),format:Wn.nullable().optional(),resolved_by:Xn.nullable().optional(),widgets:Bn.optional()}),Ox=t.record(t.string(),Dx.nullable()),kx=t.object({search:t.object({ref:py}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(Ex),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()})}),Ax=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(Ox),search_statuses:t.array(kx),organizationId:t.string()}).openapi(`SearchesResponseSchema`),jx=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),Mx=jx.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),Nx=t.object({config:Mx.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(wx)}).openapi(`SearchesRequestSchema`);function Px(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Fx(){let e={};for(let t of Object.values(yx)){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=Px(e.searchId);return Px(t.searchId)-n})}),e}const Ix=Fx();function Lx(e){let t=[];for(let[n,r]of Object.entries(Ix)){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:Px(i.searchId)})}return t}function Rx(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 Tx(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:Ix}}function zx(e){return yx[e]}function Bx(e){let t=zx(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function Vx(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function Hx(e){return Vx(fg(e).allowedUserConnectionProviders)}function Ux(e){return Vx([B_(e).provider])}function Wx(e){return Vx([zx(e).provider])}const Gx=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],Kx=new Map(Gx.map(e=>[e.id,e]));function qx(e){return Kx.get(e)}function Jx(){return Gx}const Yx={"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_positions_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_website_urls:{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_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:[]}}}}],"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_last_6m_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_last_6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_websites:{include:[`https://google.com`],exclude:[]}}}}]};function Xx(e,t,n){if(t==null)return{};try{let r=Et(e,n)?.getStaticWidgets?.(t),i=mv(n,t);return yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Zx(e){if(e instanceof jg)return e;let t=e.search_id,n=D_(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(A_.parse(e))}var Qx=class extends cu{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function $x(e){let t=[];for(let n of e){if(n instanceof $){t.push(n);continue}let e=n.search_id,r=bx(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(wx.parse(n));t.push(i)}return t}function eS(e){try{return $x(e.searches)}catch(e){throw e instanceof Qx?e:new Q([Z.ValidationFailed({error:e})])}}const tS=/[\\^$.+()|[\]{}]/g,nS=new Map;function rS(e){let t=nS.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(tS,`\\$&`)}let r=RegExp(`^${n}$`);return nS.set(e,r),r}function iS(e,t){return rS(t).test(e)}function aS(e,t){if(!t||t.length===0)return!1;for(let n of t)if(iS(e,n))return!0;return!1}function oS(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!aS(e,n)||r&&r.length>0&&aS(e,r))}function sS(e,t){return oS(e,t?.providers)}function cS(e,t){if(!t)return!0;if(!oS(e,t.pipes))return!1;if(t.providers){let n=gg(e);if(n.length===0)return!0;if(!n.some(e=>sS(e,t)))return!1}return!0}function lS(e,t,n){return t?!(!oS(e,t.searches)||n!==void 0&&!sS(n,t)):!0}function uS(e,t,n){return t?!(!oS(e,t.searchesMulti)||n!==void 0&&!sS(n,t)):!0}function dS(e,t){return t?e.filter(e=>cS(e.pipeId,t)):e.slice()}function fS(e,t){return t?e.filter(e=>lS(e.searchId,t,e.provider)):e.slice()}function pS(e,t){return t?e.filter(e=>uS(e.searchId,t,e.provider)):e.slice()}function mS(e){let t=Object.values(e.billableOperations).map(e=>e.credits||0);return Math.min(...t)}function hS(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function gS(e){let t=e.cost;return Math.min(t.mode===`per_result`?t.creditsPerResult:t.mode===`per_search`?t.creditsPerSearch:t.creditsPerPage)}function _S(e){let t=fv(e);return te(t)||new URL(t).hostname}const vS=[`http://`,`https://`,`mailto:`],yS=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function bS(e){return e?xS(e):[]}function xS(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&&yS.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=SS(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=SS(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:xS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=SS(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:xS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=SS(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:xS(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=SS(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=SS(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(vS.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:xS(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function SS(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(CS(e,r,n))return r;r+=1}return-1}function CS(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{Sr as AI_MODELS,Cr as AI_MODEL_CATALOG,tr as CatalogSchemaRefSchema,ar as ConditionOperatorsSchema,Qn as ExpandedFieldValueSchema,jl as FIELD_PLACEHOLDERS,Gn as FieldAnnotationSchema,Dv as FieldAnnotations,Kn as FieldAnnotationsSchema,yn as FieldNameSchema,Hn as FieldReasonSchema,On as FieldValueSchema,ev as FormStoreSchema,ir as JSONExtractSchema,kn as JSONMetaSchema,dr as NoConnectorSchema,v as OptionalConnectorSchema,Sn as PIPE_IDS,I_ as PaginationTypeSchema,Rm as PeopleWorkEmailWaterfallEntry1,H as Pipe,cu as Pipe0Error,Cn as PipeIdSchema,ug as PipePayloadSchema,hr as PipeTriggerSchema,Q as PipelineValidationError,xn as PipesEnvironmentSchema,Vn as PipesErrorSchema,nr as PipesFieldDefinitionSchema,rr as PipesFieldDefinitionsSchema,$n as PipesInputSchema,xg as PipesRequestConfigSchema,Sg as PipesRequestSchema,bg as PipesResponseSchema,Lm as PoepleWorkEmailWaterfallPayloadSchema1,Im as PoepleWorkEmailWaterfallPipeClass1,dg as ProcessedPipePayloadSchema,A_ as ProcessedSearchPayloadSchema,wx as ProcessedSearchesPayloadSchema,bn as ProviderNameSchema,Un as RECORD_FIELD_FORMATS,wn as RECORD_FIELD_TYPES,Yn as RecordClaimedBySchema,Wn as RecordFieldFormatSchema,Zn as RecordFieldSchema,Dn as RecordFieldStatusSchema,Tn as RecordFieldTypeSchema,En as RecordIdSchema,Xn as RecordResolvedBySchema,er as RecordSchema,su as RequestValidationError,ur as RequiredConnectorSchema,fy as SEARCHES_IDS,Dg as SEARCH_IDS,jg as Search,M_ as SearchErrorSchema,Og as SearchIdSchema,O_ as SearchPayloadSchema,j_ as SearchRequestSchema,L_ as SearchResponseSchema,N_ as SearchResultFieldSchema,P_ as SearchResultSchema,Ex as SearchesErrorSchema,py as SearchesIdSchema,Cx as SearchesPayloadSchema,jx as SearchesRequestBaseConfigSchema,Nx as SearchesRequestSchema,Ax as SearchesResponseSchema,Dx as SearchesResultFieldSchema,Ox as SearchesResultSchema,$ as SearchesSearch,kx as SearchesStatusSchema,or as TRIGGER_OPERATOR_LABELS,cr as TRIGGER_STATUS_OPERATORS,sr as TRIGGER_VALUE_OPERATORS,ec as TYPES_TO_FORMATS,pr as TriggerStatusOperatorsSchema,mr as TriggerStatusValueSchema,fr as TriggerValueOperatorsSchema,Z_ as WidgetsByKindSchema,Bn as WidgetsSchema,Gi as all,tn as analyzeLiquidTemplate,Nt as and,Ki as any,wr as buildAiModelBillableOperations,kv as buildDependencyGraph,J as buildInputRequirementFromTemplates,G as catalogInput,Qi as cleanObject,fv as cleanUrl,dv as cleanWebsiteUrl,Tg as collectPipeContextSelectFields,Yi as collectRequirementFields,Y as collectSecretReferencesFromTemplates,rS as compilePattern,Hi as configDefaults,ni as convertIntermediateFieldsIntoGroups,au as describeRequirement,vv as entityLogoFavicon,_v as entityLogoProfessionalProfileUrl,oi as extractFormMetadata,V as field,Tt as fieldBehaviorCatalog,wt as fieldCatalog,iu as fieldNameStr,bv as fieldTypeFromValue,oy as fieldsToObject,dS as filterPipeEntries,fS as filterSearchEntries,pS as filterSearchesEntries,Er as getAiModelBillingKey,Dr as getAiModelConnectionRequirements,Tr as getAiModelProviders,Or as getAllAiModelProviders,U as getBasePipeName,og as getDefaultOutputFields,gg as getDefaultPipeProviders,U_ as getDefaultSearchOutputFields,Tx as getDefaultSearchesOutputFields,sv as getDependentPipeNamesForInputProperty,cv as getDependentPipeNamesForPipe,_S as getDomain,Sv as getExpansionState,hv as getFaviconUrlGoogle,_ as getField,Et as getFieldBehavior,Xs as getFieldDisplayLabel,wv as getFieldWidgets,H_ as getInitialSearchTableData,Lx as getInitialSearchesTableData,vg as getInitialTableData,na as getInputHash,Ar as getJsonMetaForFieldDef,gS as getLoweestSearchCreditAmount,hS as getLoweestSearchesCreditAmount,mS as getLowestPipeCreditAmount,Ft as getOutputFieldInfoFromDef,pg as getPipeBillableOperationDef,iv as getPipeCategoryEntries,rv as getPipeCategoryEntry,sg as getPipeClass,ta as getPipeConfigHash,cg as getPipeDefaultPayload,W as getPipeDocsURI,fg as getPipeEntry,ov as getPipeInstances,Eg as getPipePayloadFormConfig,lg as getPipePayloadSchema,mg as getPipeVersion,q as getProviderBillableOperation,dy as getProviderEntry,At as getReadableFieldStatus,Vx as getSandboxConnections,Hx as getSandboxConnectionsForPipe,Ux as getSandboxConnectionsForSearch,Wx as getSandboxConnectionsForSearches,Jx as getSearchCategoryEntries,qx as getSearchCategoryEntry,D_ as getSearchClass,k_ as getSearchDefaultPayload,B_ as getSearchEntry,Xx as getSearchFieldWidgets,Zx as getSearchInstance,q_ as getSearchPayloadFormConfig,F_ as getSearchPayloadSchema,W_ as getSearchTableDataAggregates,R_ as getSearchVersion,bx as getSearchesClass,Sx as getSearchesDefaultPayload,zx as getSearchesEntry,Tv as getSearchesFieldWidgets,$x as getSearchesInstances,xx as getSearchesPayloadSchema,Rx as getSearchesTableDataAggregates,Px as getSearchesVersion,Cg as getStartingCostPerPipesProvider,G_ as getStartingCostPerSearchProvider,Bx as getStartingCostPerSearchesProvider,yg as getTableDataAggregates,Cv as getUnexpandedValue,gv as ifDefined,z as inputFields,ly as inputFromRecord,cy as inputFromRecordArr,sy as inputFromRecords,J_ as inputGuards,Ot as isCatalogField,et as isEmptyValue,Dt as isFieldName,cS as isPipeAllowed,sS as isProviderAllowed,Ji as isRequirementMet,Xi as isRequirementSatisfiedByRecord,lS as isSearchAllowed,uS as isSearchesAllowed,vr as joinConnectionString,ia as markRecordFieldAsComplete,sa as markRecordFieldAsFailed,oa as markRecordFieldAsNoResult,aa as markRecordFieldAsPending,la as markRecordFieldAsProcessing,ca as markRecordFieldAsSkipped,aS as matchesAny,iS as matchesPattern,yv as mergeWidgets,T as noConnectorInput,qi as optional,w as optionalConnectorInput,Pt as or,R as outputFields,en as parseLiquidTemplate,Jt as parseOutputTagArgs,Jv as parseRecordValueOrError,bS as parseRichText,ag as pipeCatalog,tv as pipeCategoryCatalog,rg as pipeClassCatalog,ig as pipePayloadSchemaCatalog,yi as pipesAsyncIncludeExcludeSelectInput,Ai as pipesContextSelectInput,xi as pipesDateRangeInput,pi as pipesFieldsSelectInput,mi as pipesIncludeExcludeInput,vi as pipesIncludeExcludeSelectInput,E as pipesInputField,Di as pipesIntInput,Fr as pipesJsonExtractionInput,ki as pipesJsonSchemaField,_i as pipesKeyValueListInput,Ti as pipesLLMSelectInput,hi as pipesMultiCreateInput,Ei as pipesMultiSelectInput,Oi as pipesNumberInput,O as pipesOptionalBooleanInput,gi as pipesOrderedMultiCreateInput,k as pipesOutputField,y as pipesPayloadRegistry,ci as pipesPromptInput,D as pipesProviderInput,bi as pipesRangeInput,wi as pipesSelectInput,av as pipesSnippetCatalog,C as pipesTaggedTextInput,li as pipesTemplateInput,Si as pipesTextInput,Ci as pipesTextareaInput,S as pipesTriggerInput,X as placeholder,uy as processInputObjects,gr as providerCatalog,K as rateLimitRationFallingProgression,Qt as renderLiquidTemplate,$t as renderLiquidTemplateSync,di as requiredConnectorInput,ra as requirementToInputFields,ou as requirementUnmetMessage,jt as requiresConnection,Mt as requiresField,E_ as searchCatalog,Gx as searchCategoryCatalog,w_ as searchClassCatalog,T_ as searchPayloadSchemaCatalog,Yx as searchSnippetCatalog,I as searchesAsyncIncludeExcludeSelectInput,F as searchesAsyncMultiSelectInput,yx as searchesCatalog,_x as searchesClassCatalog,Fi as searchesDateRangeInput,Ni as searchesExactRangeInput,j as searchesIncludeExcludeInput,M as searchesIncludeExcludeSelectInput,L as searchesIntInput,Mi as searchesMinMaxIntInput,A as searchesMultiCreateInput,P as searchesMultiSelectInput,Vi as searchesNumberField,Ii as searchesOptionalBooleanInput,Li as searchesOptionalNullableBooleanInput,ji as searchesOrderedMultiCreateInput,N as searchesOutputField,b as searchesPayloadRegistry,vx as searchesPayloadSchemaCatalog,Pi as searchesRangeInput,Bi as searchesSelectInput,Ri as searchesTextInput,zi as searchesTextareaField,$s as sortObjectKeys,hg as sortPipeCatalogByBasePipe,z_ as sortSearchCatalogByBaseSearch,Fx as sortSearchesCatalogByBaseSearch,_r as splitConnectionString,Qs as stringify,Zs as testPrint,Zv as transformIntoResponse,Av as validatePipesOrError,eS as validateSearches,Z as validationErrorMessages};
|